@devtron-labs/devtron-fe-common-lib 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/Common/CodeEditor/types.d.ts +2 -2
  2. package/dist/Common/Constants.d.ts +12 -2
  3. package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -1
  4. package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +1 -1
  5. package/dist/Common/CustomTagSelector/Types.d.ts +2 -0
  6. package/dist/Common/RJSF/constants.d.ts +0 -5
  7. package/dist/Common/RJSF/index.d.ts +0 -1
  8. package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +1 -1
  9. package/dist/Common/Security/types.d.ts +4 -0
  10. package/dist/Common/Types.d.ts +2 -2
  11. package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
  12. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +1 -1
  13. package/dist/Shared/Components/CICDHistory/types.d.ts +3 -1
  14. package/dist/Shared/Components/Collapse/Collapse.d.ts +3 -0
  15. package/dist/Shared/Components/Collapse/index.d.ts +2 -0
  16. package/dist/Shared/Components/Collapse/types.d.ts +7 -0
  17. package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +3 -0
  18. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +96 -0
  19. package/dist/Shared/Components/CollapsibleList/index.d.ts +2 -0
  20. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +3 -0
  21. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +38 -0
  22. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +3 -0
  23. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +3 -0
  24. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +3 -0
  25. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +3 -0
  26. package/dist/Shared/Components/DeploymentConfigDiff/types.d.ts +69 -0
  27. package/dist/Shared/Components/FilterButton/FilterButton.d.ts +5 -0
  28. package/dist/Shared/Components/FilterButton/index.d.ts +1 -0
  29. package/dist/Shared/Components/FilterButton/types.d.ts +12 -0
  30. package/dist/Shared/Components/FilterButton/utils.d.ts +15 -0
  31. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  32. package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +24 -1
  33. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  34. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  35. package/dist/Shared/Components/SelectPicker/index.d.ts +1 -0
  36. package/dist/Shared/Components/SelectPicker/type.d.ts +16 -0
  37. package/dist/Shared/Components/SelectPicker/utils.d.ts +11 -2
  38. package/dist/Shared/Components/Vulnerabilities/utils.d.ts +1 -0
  39. package/dist/Shared/Components/index.d.ts +4 -1
  40. package/dist/Shared/Helpers.d.ts +2 -1
  41. package/dist/Shared/Services/app.service.d.ts +3 -1
  42. package/dist/Shared/Services/app.types.d.ts +116 -0
  43. package/dist/Shared/types.d.ts +19 -7
  44. package/dist/Shared/validations.d.ts +3 -1
  45. package/dist/assets/index.css +1 -1
  46. package/dist/{cssMode-3a640c3a.js → cssMode-48c0f680.js} +1 -1
  47. package/dist/{freemarker2-7fcef7e9.js → freemarker2-abeb240d.js} +1 -1
  48. package/dist/{handlebars-bb8d8c8f.js → handlebars-a1d03281.js} +1 -1
  49. package/dist/{html-d9d12fbc.js → html-b2ac7b3c.js} +1 -1
  50. package/dist/{htmlMode-6f5e366b.js → htmlMode-9921d4db.js} +1 -1
  51. package/dist/{index-50b1e60a.js → index-55f67c02.js} +30273 -29861
  52. package/dist/index.d.ts +2 -0
  53. package/dist/index.js +494 -480
  54. package/dist/{javascript-ee21afc6.js → javascript-459ec784.js} +1 -1
  55. package/dist/{jsonMode-f243ae3a.js → jsonMode-61b52ed6.js} +1 -1
  56. package/dist/{liquid-210197a2.js → liquid-9d8a221e.js} +1 -1
  57. package/dist/{mdx-47b9f654.js → mdx-dc4f9b48.js} +1 -1
  58. package/dist/{python-d072ae6f.js → python-6e74db51.js} +1 -1
  59. package/dist/{razor-bbc7aba8.js → razor-a92b516d.js} +1 -1
  60. package/dist/{tsMode-e3a0b064.js → tsMode-89890d25.js} +1 -1
  61. package/dist/{typescript-e0f3eca9.js → typescript-119d98cc.js} +1 -1
  62. package/dist/{xml-1408e523.js → xml-05861ac3.js} +1 -1
  63. package/dist/{yaml-81fab749.js → yaml-137573e5.js} +1 -1
  64. package/package.json +1 -1
  65. package/dist/Pages/GlobalConfigurations/DeploymentCharts/basicViewSchema.json.d.ts +0 -273
  66. package/dist/Pages/GlobalConfigurations/DeploymentCharts/fallbackJobsNCronJobGuiSchema.json.d.ts +0 -157
  67. package/dist/Pages/GlobalConfigurations/DeploymentCharts/index.d.ts +0 -2
  68. package/dist/Pages/GlobalConfigurations/DeploymentCharts/types.d.ts +0 -24
  69. package/dist/Pages/GlobalConfigurations/DeploymentCharts/utils.d.ts +0 -4
  70. package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +0 -4
  71. package/dist/Shared/Components/ScannedObjectBar/index.d.ts +0 -1
  72. package/dist/Shared/Components/ScannedObjectBar/types.d.ts +0 -7
  73. package/dist/assets/editor.worker-60ba9509.js +0 -12
  74. package/dist/assets/yaml.worker-3bbe780a.js +0 -472
@@ -1,472 +0,0 @@
1
- var bA=Object.defineProperty;var vA=(Is,es,Os)=>es in Is?bA(Is,es,{enumerable:!0,configurable:!0,writable:!0,value:Os}):Is[es]=Os;var Ms=(Is,es,Os)=>(vA(Is,typeof es!="symbol"?es+"":es,Os),Os);(function(){"use strict";function Is(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(e)}class es{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?la.isErrorNoTelemetry(t)?new la(t.message+`
2
-
3
- `+t.stack):new Error(t.message+`
4
-
5
- `+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const Os=new es;function vp(e){bg(e)||Os.onUnexpectedError(e)}function Ep(e){if(e instanceof Error){const{name:t,message:n}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:la.isErrorNoTelemetry(e)}}return e}const Tl="Canceled";function bg(e){return e instanceof vg?!0:e instanceof Error&&e.name===Tl&&e.message===Tl}class vg extends Error{constructor(){super(Tl),this.name=this.message}}class la extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof la)return t;const n=new la;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class ms extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,ms.prototype)}}function Eg(e){const t=this;let n=!1,r;return function(){return n||(n=!0,r=e.apply(t,arguments)),r}}var zo;(function(e){function t(ve){return ve&&typeof ve=="object"&&typeof ve[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*i(ve){yield ve}e.single=i;function s(ve){return t(ve)?ve:i(ve)}e.wrap=s;function a(ve){return ve||n}e.from=a;function*o(ve){for(let Fe=ve.length-1;Fe>=0;Fe--)yield ve[Fe]}e.reverse=o;function u(ve){return!ve||ve[Symbol.iterator]().next().done===!0}e.isEmpty=u;function l(ve){return ve[Symbol.iterator]().next().value}e.first=l;function b(ve,Fe){for(const Ve of ve)if(Fe(Ve))return!0;return!1}e.some=b;function c(ve,Fe){for(const Ve of ve)if(Fe(Ve))return Ve}e.find=c;function*N(ve,Fe){for(const Ve of ve)Fe(Ve)&&(yield Ve)}e.filter=N;function*B(ve,Fe){let Ve=0;for(const he of ve)yield Fe(he,Ve++)}e.map=B;function*ne(...ve){for(const Fe of ve)for(const Ve of Fe)yield Ve}e.concat=ne;function Q(ve,Fe,Ve){let he=Ve;for(const we of ve)he=Fe(he,we);return he}e.reduce=Q;function*M(ve,Fe,Ve=ve.length){for(Fe<0&&(Fe+=ve.length),Ve<0?Ve+=ve.length:Ve>ve.length&&(Ve=ve.length);Fe<Ve;Fe++)yield ve[Fe]}e.slice=M;function de(ve,Fe=Number.POSITIVE_INFINITY){const Ve=[];if(Fe===0)return[Ve,ve];const he=ve[Symbol.iterator]();for(let we=0;we<Fe;we++){const Ye=he.next();if(Ye.done)return[Ve,e.empty()];Ve.push(Ye.value)}return[Ve,{[Symbol.iterator](){return he}}]}e.consume=de})(zo||(zo={}));function EA(e){return e}function AA(e,t){}function Ap(e){if(zo.is(e)){const t=[];for(const n of e)if(n)try{n.dispose()}catch(r){t.push(r)}if(t.length===1)throw t[0];if(t.length>1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function Ag(...e){return uo(()=>Ap(e))}function uo(e){return{dispose:Eg(()=>{e()})}}class ca{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Ap(this._toDispose)}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?ca.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}deleteAndLeak(t){t&&this._toDispose.has(t)&&this._toDispose.delete(t)}}ca.DISABLE_DISPOSED_WARNING=!1;class lo{constructor(){this._store=new ca,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}}lo.None=Object.freeze({dispose(){}});class br{constructor(t){this.element=t,this.next=br.Undefined,this.prev=br.Undefined}}br.Undefined=new br(void 0);class Cg{constructor(){this._first=br.Undefined,this._last=br.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===br.Undefined}clear(){let t=this._first;for(;t!==br.Undefined;){const n=t.next;t.prev=br.Undefined,t.next=br.Undefined,t=n}this._first=br.Undefined,this._last=br.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const r=new br(t);if(this._first===br.Undefined)this._first=r,this._last=r;else if(n){const s=this._last;this._last=r,r.prev=s,s.next=r}else{const s=this._first;this._first=r,r.next=s,s.prev=r}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(r))}}shift(){if(this._first!==br.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==br.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==br.Undefined&&t.next!==br.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===br.Undefined&&t.next===br.Undefined?(this._first=br.Undefined,this._last=br.Undefined):t.next===br.Undefined?(this._last=this._last.prev,this._last.next=br.Undefined):t.prev===br.Undefined&&(this._first=this._first.next,this._first.prev=br.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==br.Undefined;)yield t.element,t=t.next}}const xg=globalThis.performance&&typeof globalThis.performance.now=="function";class Qo{static create(t){return new Qo(t)}constructor(t){this._now=xg&&t===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var _l;(function(e){e.None=()=>lo.None;function t(xe,Xe){return c(xe,()=>{},0,void 0,!0,void 0,Xe)}e.defer=t;function n(xe){return(Xe,tt=null,kt)=>{let $t=!1,Zt;return Zt=xe(Cn=>{if(!$t)return Zt?Zt.dispose():$t=!0,Xe.call(tt,Cn)},null,kt),$t&&Zt.dispose(),Zt}}e.once=n;function r(xe,Xe,tt){return l((kt,$t=null,Zt)=>xe(Cn=>kt.call($t,Xe(Cn)),null,Zt),tt)}e.map=r;function i(xe,Xe,tt){return l((kt,$t=null,Zt)=>xe(Cn=>{Xe(Cn),kt.call($t,Cn)},null,Zt),tt)}e.forEach=i;function s(xe,Xe,tt){return l((kt,$t=null,Zt)=>xe(Cn=>Xe(Cn)&&kt.call($t,Cn),null,Zt),tt)}e.filter=s;function a(xe){return xe}e.signal=a;function o(...xe){return(Xe,tt=null,kt)=>{const $t=Ag(...xe.map(Zt=>Zt(Cn=>Xe.call(tt,Cn))));return b($t,kt)}}e.any=o;function u(xe,Xe,tt,kt){let $t=tt;return r(xe,Zt=>($t=Xe($t,Zt),$t),kt)}e.reduce=u;function l(xe,Xe){let tt;const kt={onWillAddFirstListener(){tt=xe($t.fire,$t)},onDidRemoveLastListener(){tt?.dispose()}},$t=new Bi(kt);return Xe?.add($t),$t.event}function b(xe,Xe){return Xe instanceof Array?Xe.push(xe):Xe&&Xe.add(xe),xe}function c(xe,Xe,tt=100,kt=!1,$t=!1,Zt,Cn){let Zn,Un,$r,ks=0,vi;const jo={leakWarningThreshold:Zt,onWillAddFirstListener(){Zn=xe(Ja=>{ks++,Un=Xe(Un,Ja),kt&&!$r&&(us.fire(Un),Un=void 0),vi=()=>{const Ps=Un;Un=void 0,$r=void 0,(!kt||ks>1)&&us.fire(Ps),ks=0},typeof tt=="number"?(clearTimeout($r),$r=setTimeout(vi,tt)):$r===void 0&&($r=0,queueMicrotask(vi))})},onWillRemoveListener(){$t&&ks>0&&vi?.()},onDidRemoveLastListener(){vi=void 0,Zn.dispose()}},us=new Bi(jo);return Cn?.add(us),us.event}e.debounce=c;function N(xe,Xe=0,tt){return e.debounce(xe,(kt,$t)=>kt?(kt.push($t),kt):[$t],Xe,void 0,!0,void 0,tt)}e.accumulate=N;function B(xe,Xe=(kt,$t)=>kt===$t,tt){let kt=!0,$t;return s(xe,Zt=>{const Cn=kt||!Xe(Zt,$t);return kt=!1,$t=Zt,Cn},tt)}e.latch=B;function ne(xe,Xe,tt){return[e.filter(xe,Xe,tt),e.filter(xe,kt=>!Xe(kt),tt)]}e.split=ne;function Q(xe,Xe=!1,tt=[],kt){let $t=tt.slice(),Zt=xe(Un=>{$t?$t.push(Un):Zn.fire(Un)});kt&&kt.add(Zt);const Cn=()=>{$t?.forEach(Un=>Zn.fire(Un)),$t=null},Zn=new Bi({onWillAddFirstListener(){Zt||(Zt=xe(Un=>Zn.fire(Un)),kt&&kt.add(Zt))},onDidAddFirstListener(){$t&&(Xe?setTimeout(Cn):Cn())},onDidRemoveLastListener(){Zt&&Zt.dispose(),Zt=null}});return kt&&kt.add(Zn),Zn.event}e.buffer=Q;function M(xe,Xe){return(kt,$t,Zt)=>{const Cn=Xe(new ve);return xe(function(Zn){const Un=Cn.evaluate(Zn);Un!==de&&kt.call($t,Un)},void 0,Zt)}}e.chain=M;const de=Symbol("HaltChainable");class ve{constructor(){this.steps=[]}map(Xe){return this.steps.push(Xe),this}forEach(Xe){return this.steps.push(tt=>(Xe(tt),tt)),this}filter(Xe){return this.steps.push(tt=>Xe(tt)?tt:de),this}reduce(Xe,tt){let kt=tt;return this.steps.push($t=>(kt=Xe(kt,$t),kt)),this}latch(Xe=(tt,kt)=>tt===kt){let tt=!0,kt;return this.steps.push($t=>{const Zt=tt||!Xe($t,kt);return tt=!1,kt=$t,Zt?$t:de}),this}evaluate(Xe){for(const tt of this.steps)if(Xe=tt(Xe),Xe===de)break;return Xe}}function Fe(xe,Xe,tt=kt=>kt){const kt=(...Zn)=>Cn.fire(tt(...Zn)),$t=()=>xe.on(Xe,kt),Zt=()=>xe.removeListener(Xe,kt),Cn=new Bi({onWillAddFirstListener:$t,onDidRemoveLastListener:Zt});return Cn.event}e.fromNodeEventEmitter=Fe;function Ve(xe,Xe,tt=kt=>kt){const kt=(...Zn)=>Cn.fire(tt(...Zn)),$t=()=>xe.addEventListener(Xe,kt),Zt=()=>xe.removeEventListener(Xe,kt),Cn=new Bi({onWillAddFirstListener:$t,onDidRemoveLastListener:Zt});return Cn.event}e.fromDOMEventEmitter=Ve;function he(xe){return new Promise(Xe=>n(xe)(Xe))}e.toPromise=he;function we(xe){const Xe=new Bi;return xe.then(tt=>{Xe.fire(tt)},()=>{Xe.fire(void 0)}).finally(()=>{Xe.dispose()}),Xe.event}e.fromPromise=we;function Ye(xe,Xe){return Xe(void 0),xe(tt=>Xe(tt))}e.runAndSubscribe=Ye;function ze(xe,Xe){let tt=null;function kt(Zt){tt?.dispose(),tt=new ca,Xe(Zt,tt)}kt(void 0);const $t=xe(Zt=>kt(Zt));return uo(()=>{$t.dispose(),tt?.dispose()})}e.runAndSubscribeWithStore=ze;class Oe{constructor(Xe,tt){this._observable=Xe,this._counter=0,this._hasChanged=!1;const kt={onWillAddFirstListener:()=>{Xe.addObserver(this)},onDidRemoveLastListener:()=>{Xe.removeObserver(this)}};this.emitter=new Bi(kt),tt&&tt.add(this.emitter)}beginUpdate(Xe){this._counter++}handlePossibleChange(Xe){}handleChange(Xe,tt){this._hasChanged=!0}endUpdate(Xe){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function Ke(xe,Xe){return new Oe(xe,Xe).emitter.event}e.fromObservable=Ke;function Qe(xe){return Xe=>{let tt=0,kt=!1;const $t={beginUpdate(){tt++},endUpdate(){tt--,tt===0&&(xe.reportChanges(),kt&&(kt=!1,Xe()))},handlePossibleChange(){},handleChange(){kt=!0}};return xe.addObserver($t),xe.reportChanges(),{dispose(){xe.removeObserver($t)}}}}e.fromObservableLight=Qe})(_l||(_l={}));class fa{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${fa._idPool++}`,fa.all.add(this)}start(t){this._stopWatch=new Qo,this.listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}}fa.all=new Set,fa._idPool=0;let Sg=-1;class wg{constructor(t,n=Math.random().toString(18).slice(2,5)){this.threshold=t,this.name=n,this._warnCountdown=0}dispose(){var t;(t=this._stacks)===null||t===void 0||t.clear()}check(t,n){const r=this.threshold;if(r<=0||n<r)return;this._stacks||(this._stacks=new Map);const i=this._stacks.get(t.value)||0;if(this._stacks.set(t.value,i+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=r*.5;let s,a=0;for(const[o,u]of this._stacks)(!s||a<u)&&(s=o,a=u);console.warn(`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${a}):`),console.warn(s)}return()=>{const s=this._stacks.get(t.value)||0;this._stacks.set(t.value,s-1)}}}class Ll{static create(){var t;return new Ll((t=new Error().stack)!==null&&t!==void 0?t:"")}constructor(t){this.value=t}print(){console.warn(this.value.split(`
6
- `).slice(2).join(`
7
- `))}}class kl{constructor(t){this.value=t}}const Fg=2;class Bi{constructor(t){var n,r,i,s,a;this._size=0,this._options=t,this._leakageMon=!((n=this._options)===null||n===void 0)&&n.leakWarningThreshold?new wg((i=(r=this._options)===null||r===void 0?void 0:r.leakWarningThreshold)!==null&&i!==void 0?i:Sg):void 0,this._perfMon=!((s=this._options)===null||s===void 0)&&s._profName?new fa(this._options._profName):void 0,this._deliveryQueue=(a=this._options)===null||a===void 0?void 0:a.deliveryQueue}dispose(){var t,n,r,i;this._disposed||(this._disposed=!0,((t=this._deliveryQueue)===null||t===void 0?void 0:t.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),(r=(n=this._options)===null||n===void 0?void 0:n.onDidRemoveLastListener)===null||r===void 0||r.call(n),(i=this._leakageMon)===null||i===void 0||i.dispose())}get event(){var t;return(t=this._event)!==null&&t!==void 0||(this._event=(n,r,i)=>{var s,a,o,u,l;if(this._leakageMon&&this._size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),lo.None;if(this._disposed)return lo.None;r&&(n=n.bind(r));const b=new kl(n);let c;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(b.stack=Ll.create(),c=this._leakageMon.check(b.stack,this._size+1)),this._listeners?this._listeners instanceof kl?((l=this._deliveryQueue)!==null&&l!==void 0||(this._deliveryQueue=new Ng),this._listeners=[this._listeners,b]):this._listeners.push(b):((a=(s=this._options)===null||s===void 0?void 0:s.onWillAddFirstListener)===null||a===void 0||a.call(s,this),this._listeners=b,(u=(o=this._options)===null||o===void 0?void 0:o.onDidAddFirstListener)===null||u===void 0||u.call(o,this)),this._size++;const N=uo(()=>{c?.(),this._removeListener(b)});return i instanceof ca?i.add(N):Array.isArray(i)&&i.push(N),N}),this._event}_removeListener(t){var n,r,i,s;if((r=(n=this._options)===null||n===void 0?void 0:n.onWillRemoveListener)===null||r===void 0||r.call(n,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(s=(i=this._options)===null||i===void 0?void 0:i.onDidRemoveLastListener)===null||s===void 0||s.call(i,this),this._size=0;return}const a=this._listeners,o=a.indexOf(t);if(o===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,a[o]=void 0;const u=this._deliveryQueue.current===this;if(this._size*Fg<=a.length){let l=0;for(let b=0;b<a.length;b++)a[b]?a[l++]=a[b]:u&&(this._deliveryQueue.end--,l<this._deliveryQueue.i&&this._deliveryQueue.i--);a.length=l}}_deliver(t,n){var r;if(!t)return;const i=((r=this._options)===null||r===void 0?void 0:r.onListenerError)||vp;if(!i){t.value(n);return}try{t.value(n)}catch(s){i(s)}}_deliverQueue(t){const n=t.current._listeners;for(;t.i<t.end;)this._deliver(n[t.i++],t.value);t.reset()}fire(t){var n,r,i,s;if(!((n=this._deliveryQueue)===null||n===void 0)&&n.current&&(this._deliverQueue(this._deliveryQueue),(r=this._perfMon)===null||r===void 0||r.stop()),(i=this._perfMon)===null||i===void 0||i.start(this._size),this._listeners)if(this._listeners instanceof kl)this._deliver(this._listeners,t);else{const a=this._deliveryQueue;a.enqueue(this,t,this._listeners.length),this._deliverQueue(a)}(s=this._perfMon)===null||s===void 0||s.stop()}hasListeners(){return this._size>0}}class Ng{constructor(){this.i=-1,this.end=0}enqueue(t,n,r){this.i=0,this.end=r,this.current=t,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function Tg(e){return typeof e=="string"}function _g(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function Pl(e){const t=[];for(const n of _g(e))typeof e[n]=="function"&&t.push(n);return t}function Lg(e,t){const n=i=>function(){const s=Array.prototype.slice.call(arguments,0);return t(i,s)},r={};for(const i of e)r[i]=n(i);return r}let kg=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function Pg(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(r,i)=>{const s=i[0],a=t[s];let o=r;return typeof a=="string"?o=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(o=String(a)),o}),kg&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function vr(e,t,...n){return Pg(t,n)}function CA(e){}var Bl;const pa="en";let Ml=!1,Il=!1,Ol=!1,Cp=!1,Xo,jl=pa,xp=pa,Bg,Mi;const Ii=typeof self=="object"?self:typeof global=="object"?global:{};let Xr;typeof Ii.vscode<"u"&&typeof Ii.vscode.process<"u"?Xr=Ii.vscode.process:typeof process<"u"&&(Xr=process);const Mg=typeof((Bl=Xr?.versions)===null||Bl===void 0?void 0:Bl.electron)=="string"&&Xr?.type==="renderer";if(typeof navigator=="object"&&!Mg)Mi=navigator.userAgent,Ml=Mi.indexOf("Windows")>=0,Il=Mi.indexOf("Macintosh")>=0,(Mi.indexOf("Macintosh")>=0||Mi.indexOf("iPad")>=0||Mi.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Ol=Mi.indexOf("Linux")>=0,Mi?.indexOf("Mobi")>=0,Cp=!0,vr({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),Xo=pa,jl=Xo,xp=navigator.language;else if(typeof Xr=="object"){Ml=Xr.platform==="win32",Il=Xr.platform==="darwin",Ol=Xr.platform==="linux",Ol&&Xr.env.SNAP&&Xr.env.SNAP_REVISION,Xr.env.CI||Xr.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Xo=pa,jl=pa;const e=Xr.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];Xo=t.locale,xp=t.osLocale,jl=n||pa,Bg=t._translationsConfigFile}catch{}}else console.error("Unable to resolve platform.");const co=Ml,Ig=Il;Cp&&Ii.importScripts;const Gi=Mi,Og=typeof Ii.postMessage=="function"&&!Ii.importScripts;(()=>{if(Og){const e=[];Ii.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let r=0,i=e.length;r<i;r++){const s=e[r];if(s.id===n.data.vscodeScheduleAsyncWork){e.splice(r,1),s.callback();return}}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),Ii.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();const jg=!!(Gi&&Gi.indexOf("Chrome")>=0);Gi&&Gi.indexOf("Firefox")>=0,!jg&&Gi&&Gi.indexOf("Safari")>=0,Gi&&Gi.indexOf("Edg/")>=0,Gi&&Gi.indexOf("Android")>=0;class Rg{constructor(t){this.fn=t,this.lastCache=void 0,this.lastArgKey=void 0}get(t){const n=JSON.stringify(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this.fn(t)),this.lastCache}}class Sp{constructor(t){this.executor=t,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var da;function $g(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Vg(e){return e.split(/\r\n|\r|\n/)}function qg(e){for(let t=0,n=e.length;t<n;t++){const r=e.charCodeAt(t);if(r!==32&&r!==9)return t}return-1}function Ug(e,t=e.length-1){for(let n=t;n>=0;n--){const r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return-1}function wp(e){return e>=65&&e<=90}function Rl(e){return 55296<=e&&e<=56319}function Wg(e){return 56320<=e&&e<=57343}function Gg(e,t){return(e-55296<<10)+(t-56320)+65536}function Jg(e,t,n){const r=e.charCodeAt(n);if(Rl(r)&&n+1<t){const i=e.charCodeAt(n+1);if(Wg(i))return Gg(r,i)}return r}const Yg=/^[\t\n\r\x20-\x7E]*$/;function Hg(e){return Yg.test(e)}class js{static getInstance(t){return da.cache.get(Array.from(t))}static getLocales(){return da._locales.value}constructor(t){this.confusableDictionary=t}isAmbiguous(t){return this.confusableDictionary.has(t)}getPrimaryConfusable(t){return this.confusableDictionary.get(t)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}da=js,js.ambiguousCharacterData=new Sp(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),js.cache=new Rg(e=>{function t(l){const b=new Map;for(let c=0;c<l.length;c+=2)b.set(l[c],l[c+1]);return b}function n(l,b){const c=new Map(l);for(const[N,B]of b)c.set(N,B);return c}function r(l,b){if(!l)return b;const c=new Map;for(const[N,B]of l)b.has(N)&&c.set(N,B);return c}const i=da.ambiguousCharacterData.value;let s=e.filter(l=>!l.startsWith("_")&&l in i);s.length===0&&(s=["_default"]);let a;for(const l of s){const b=t(i[l]);a=r(a,b)}const o=t(i._common),u=n(o,a);return new da(u)}),js._locales=new Sp(()=>Object.keys(da.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class gs{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(gs.getRawData())),this._data}static isInvisibleCharacter(t){return gs.getData().has(t)}static get codePoints(){return gs.getData()}}gs._data=void 0;const zg="$initialize";class Qg{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.method=r,this.args=i,this.type=0}}class Fp{constructor(t,n,r,i){this.vsWorker=t,this.seq=n,this.res=r,this.err=i,this.type=1}}class Xg{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.eventName=r,this.arg=i,this.type=2}}class Kg{constructor(t,n,r){this.vsWorker=t,this.req=n,this.event=r,this.type=3}}class Zg{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class e1{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,n){const r=String(++this._lastSentReq);return new Promise((i,s)=>{this._pendingReplies[r]={resolve:i,reject:s},this._send(new Qg(this._workerId,r,t,n))})}listen(t,n){let r=null;const i=new Bi({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,i),this._send(new Xg(this._workerId,r,t,n))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new Zg(this._workerId,r)),r=null}});return i.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let r=t.err;t.err.$isError&&(r=new Error,r.name=t.err.name,r.message=t.err.message,r.stack=t.err.stack),n.reject(r);return}n.resolve(t.res)}_handleRequestMessage(t){const n=t.req;this._handler.handleMessage(t.method,t.args).then(i=>{this._send(new Fp(this._workerId,n,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=Ep(i.detail)),this._send(new Fp(this._workerId,n,void 0,Ep(i)))})}_handleSubscribeEventMessage(t){const n=t.req,r=this._handler.handleEvent(t.eventName,t.arg)(i=>{this._send(new Kg(this._workerId,n,i))});this._pendingEvents.set(n,r)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){const n=[];if(t.type===0)for(let r=0;r<t.args.length;r++)t.args[r]instanceof ArrayBuffer&&n.push(t.args[r]);else t.type===1&&t.res instanceof ArrayBuffer&&n.push(t.res);this._handler.sendMessage(t,n)}}function Np(e){return e[0]==="o"&&e[1]==="n"&&wp(e.charCodeAt(2))}function Tp(e){return/^onDynamic/.test(e)&&wp(e.charCodeAt(9))}function t1(e,t,n){const r=a=>function(){const o=Array.prototype.slice.call(arguments,0);return t(a,o)},i=a=>function(o){return n(a,o)},s={};for(const a of e){if(Tp(a)){s[a]=i(a);continue}if(Np(a)){s[a]=n(a,void 0);continue}s[a]=r(a)}return s}class n1{constructor(t,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new e1({sendMessage:(r,i)=>{t(r,i)},handleMessage:(r,i)=>this._handleMessage(r,i),handleEvent:(r,i)=>this._handleEvent(r,i)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n){if(t===zg)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||typeof this._requestHandler[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._requestHandler[t].apply(this._requestHandler,n))}catch(r){return Promise.reject(r)}}_handleEvent(t,n){if(!this._requestHandler)throw new Error("Missing requestHandler");if(Tp(t)){const r=this._requestHandler[t].call(this._requestHandler,n);if(typeof r!="function")throw new Error(`Missing dynamic event ${t} on request handler.`);return r}if(Np(t)){const r=this._requestHandler[t];if(typeof r!="function")throw new Error(`Missing event ${t} on request handler.`);return r}throw new Error(`Malformed event name ${t}`)}initialize(t,n,r,i){this._protocol.setWorkerId(t);const o=t1(i,(u,l)=>this._protocol.sendMessage(u,l),(u,l)=>this._protocol.listen(u,l));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(o),Promise.resolve(Pl(this._requestHandler))):(n&&(typeof n.baseUrl<"u"&&delete n.baseUrl,typeof n.paths<"u"&&typeof n.paths.vs<"u"&&delete n.paths.vs,typeof n.trustedTypesPolicy!==void 0&&delete n.trustedTypesPolicy,n.catchError=!0,globalThis.require.config(n)),new Promise((u,l)=>{const b=globalThis.require;b([r],c=>{if(this._requestHandler=c.create(o),!this._requestHandler){l(new Error("No RequestHandler!"));return}u(Pl(this._requestHandler))},l)}))}}class ys{constructor(t,n,r,i){this.originalStart=t,this.originalLength=n,this.modifiedStart=r,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function _p(e,t){return(t<<5)-t+e|0}function r1(e,t){t=_p(149417,t);for(let n=0,r=e.length;n<r;n++)t=_p(e.charCodeAt(n),t);return t}class Lp{constructor(t){this.source=t}getElements(){const t=this.source,n=new Int32Array(t.length);for(let r=0,i=t.length;r<i;r++)n[r]=t.charCodeAt(r);return n}}function i1(e,t,n){return new Ds(new Lp(e),new Lp(t)).ComputeDiff(n).changes}class ha{static Assert(t,n){if(!t)throw new Error(n)}}class ma{static Copy(t,n,r,i,s){for(let a=0;a<s;a++)r[i+a]=t[n+a]}static Copy2(t,n,r,i,s){for(let a=0;a<s;a++)r[i+a]=t[n+a]}}class kp{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new ys(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Ds{constructor(t,n,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=t,this._modifiedSequence=n;const[i,s,a]=Ds._getElements(t),[o,u,l]=Ds._getElements(n);this._hasStrings=a&&l,this._originalStringElements=i,this._originalElementsOrHash=s,this._modifiedStringElements=o,this._modifiedElementsOrHash=u,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const n=t.getElements();if(Ds._isStringArray(n)){const r=new Int32Array(n.length);for(let i=0,s=n.length;i<s;i++)r[i]=r1(n[i],0);return[n,r,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(t,n){if(!this.ElementsAreEqual(t,n))return!1;const r=Ds._getStrictElement(this._originalSequence,t),i=Ds._getStrictElement(this._modifiedSequence,n);return r===i}static _getStrictElement(t,n){return typeof t.getStrictElement=="function"?t.getStrictElement(n):null}OriginalElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(t,n){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[n]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,n,r,i,s){const a=[!1];let o=this.ComputeDiffRecursive(t,n,r,i,a);return s&&(o=this.PrettifyChanges(o)),{quitEarly:a[0],changes:o}}ComputeDiffRecursive(t,n,r,i,s){for(s[0]=!1;t<=n&&r<=i&&this.ElementsAreEqual(t,r);)t++,r++;for(;n>=t&&i>=r&&this.ElementsAreEqual(n,i);)n--,i--;if(t>n||r>i){let c;return r<=i?(ha.Assert(t===n+1,"originalStart should only be one more than originalEnd"),c=[new ys(t,0,r,i-r+1)]):t<=n?(ha.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),c=[new ys(t,n-t+1,r,0)]):(ha.Assert(t===n+1,"originalStart should only be one more than originalEnd"),ha.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),c=[]),c}const a=[0],o=[0],u=this.ComputeRecursionPoint(t,n,r,i,a,o,s),l=a[0],b=o[0];if(u!==null)return u;if(!s[0]){const c=this.ComputeDiffRecursive(t,l,r,b,s);let N=[];return s[0]?N=[new ys(l+1,n-(l+1)+1,b+1,i-(b+1)+1)]:N=this.ComputeDiffRecursive(l+1,n,b+1,i,s),this.ConcatenateChanges(c,N)}return[new ys(t,n-t+1,r,i-r+1)]}WALKTRACE(t,n,r,i,s,a,o,u,l,b,c,N,B,ne,Q,M,de,ve){let Fe=null,Ve=null,he=new kp,we=n,Ye=r,ze=B[0]-M[0]-i,Oe=-1073741824,Ke=this.m_forwardHistory.length-1;do{const Qe=ze+t;Qe===we||Qe<Ye&&l[Qe-1]<l[Qe+1]?(c=l[Qe+1],ne=c-ze-i,c<Oe&&he.MarkNextChange(),Oe=c,he.AddModifiedElement(c+1,ne),ze=Qe+1-t):(c=l[Qe-1]+1,ne=c-ze-i,c<Oe&&he.MarkNextChange(),Oe=c-1,he.AddOriginalElement(c,ne+1),ze=Qe-1-t),Ke>=0&&(l=this.m_forwardHistory[Ke],t=l[0],we=1,Ye=l.length-1)}while(--Ke>=-1);if(Fe=he.getReverseChanges(),ve[0]){let Qe=B[0]+1,xe=M[0]+1;if(Fe!==null&&Fe.length>0){const Xe=Fe[Fe.length-1];Qe=Math.max(Qe,Xe.getOriginalEnd()),xe=Math.max(xe,Xe.getModifiedEnd())}Ve=[new ys(Qe,N-Qe+1,xe,Q-xe+1)]}else{he=new kp,we=a,Ye=o,ze=B[0]-M[0]-u,Oe=1073741824,Ke=de?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const Qe=ze+s;Qe===we||Qe<Ye&&b[Qe-1]>=b[Qe+1]?(c=b[Qe+1]-1,ne=c-ze-u,c>Oe&&he.MarkNextChange(),Oe=c+1,he.AddOriginalElement(c+1,ne+1),ze=Qe+1-s):(c=b[Qe-1],ne=c-ze-u,c>Oe&&he.MarkNextChange(),Oe=c,he.AddModifiedElement(c+1,ne+1),ze=Qe-1-s),Ke>=0&&(b=this.m_reverseHistory[Ke],s=b[0],we=1,Ye=b.length-1)}while(--Ke>=-1);Ve=he.getChanges()}return this.ConcatenateChanges(Fe,Ve)}ComputeRecursionPoint(t,n,r,i,s,a,o){let u=0,l=0,b=0,c=0,N=0,B=0;t--,r--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const ne=n-t+(i-r),Q=ne+1,M=new Int32Array(Q),de=new Int32Array(Q),ve=i-r,Fe=n-t,Ve=t-r,he=n-i,Ye=(Fe-ve)%2===0;M[ve]=t,de[Fe]=n,o[0]=!1;for(let ze=1;ze<=ne/2+1;ze++){let Oe=0,Ke=0;b=this.ClipDiagonalBound(ve-ze,ze,ve,Q),c=this.ClipDiagonalBound(ve+ze,ze,ve,Q);for(let xe=b;xe<=c;xe+=2){xe===b||xe<c&&M[xe-1]<M[xe+1]?u=M[xe+1]:u=M[xe-1]+1,l=u-(xe-ve)-Ve;const Xe=u;for(;u<n&&l<i&&this.ElementsAreEqual(u+1,l+1);)u++,l++;if(M[xe]=u,u+l>Oe+Ke&&(Oe=u,Ke=l),!Ye&&Math.abs(xe-Fe)<=ze-1&&u>=de[xe])return s[0]=u,a[0]=l,Xe<=de[xe]&&1447>0&&ze<=1447+1?this.WALKTRACE(ve,b,c,Ve,Fe,N,B,he,M,de,u,n,s,l,i,a,Ye,o):null}const Qe=(Oe-t+(Ke-r)-ze)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(Oe,Qe))return o[0]=!0,s[0]=Oe,a[0]=Ke,Qe>0&&1447>0&&ze<=1447+1?this.WALKTRACE(ve,b,c,Ve,Fe,N,B,he,M,de,u,n,s,l,i,a,Ye,o):(t++,r++,[new ys(t,n-t+1,r,i-r+1)]);N=this.ClipDiagonalBound(Fe-ze,ze,Fe,Q),B=this.ClipDiagonalBound(Fe+ze,ze,Fe,Q);for(let xe=N;xe<=B;xe+=2){xe===N||xe<B&&de[xe-1]>=de[xe+1]?u=de[xe+1]-1:u=de[xe-1],l=u-(xe-Fe)-he;const Xe=u;for(;u>t&&l>r&&this.ElementsAreEqual(u,l);)u--,l--;if(de[xe]=u,Ye&&Math.abs(xe-ve)<=ze&&u<=M[xe])return s[0]=u,a[0]=l,Xe>=M[xe]&&1447>0&&ze<=1447+1?this.WALKTRACE(ve,b,c,Ve,Fe,N,B,he,M,de,u,n,s,l,i,a,Ye,o):null}if(ze<=1447){let xe=new Int32Array(c-b+2);xe[0]=ve-b+1,ma.Copy2(M,b,xe,1,c-b+1),this.m_forwardHistory.push(xe),xe=new Int32Array(B-N+2),xe[0]=Fe-N+1,ma.Copy2(de,N,xe,1,B-N+1),this.m_reverseHistory.push(xe)}}return this.WALKTRACE(ve,b,c,Ve,Fe,N,B,he,M,de,u,n,s,l,i,a,Ye,o)}PrettifyChanges(t){for(let n=0;n<t.length;n++){const r=t[n],i=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,s=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=r.originalLength>0,o=r.modifiedLength>0;for(;r.originalStart+r.originalLength<i&&r.modifiedStart+r.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(r.originalStart,r.originalStart+r.originalLength))&&(!o||this.ModifiedElementsAreEqual(r.modifiedStart,r.modifiedStart+r.modifiedLength));){const l=this.ElementsAreStrictEqual(r.originalStart,r.modifiedStart);if(this.ElementsAreStrictEqual(r.originalStart+r.originalLength,r.modifiedStart+r.modifiedLength)&&!l)break;r.originalStart++,r.modifiedStart++}const u=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],u)){t[n]=u[0],t.splice(n+1,1),n--;continue}}for(let n=t.length-1;n>=0;n--){const r=t[n];let i=0,s=0;if(n>0){const c=t[n-1];i=c.originalStart+c.originalLength,s=c.modifiedStart+c.modifiedLength}const a=r.originalLength>0,o=r.modifiedLength>0;let u=0,l=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength);for(let c=1;;c++){const N=r.originalStart-c,B=r.modifiedStart-c;if(N<i||B<s||a&&!this.OriginalElementsAreEqual(N,N+r.originalLength)||o&&!this.ModifiedElementsAreEqual(B,B+r.modifiedLength))break;const Q=(N===i&&B===s?5:0)+this._boundaryScore(N,r.originalLength,B,r.modifiedLength);Q>l&&(l=Q,u=c)}r.originalStart-=u,r.modifiedStart-=u;const b=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],b)){t[n-1]=b[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,r=t.length;n<r;n++){const i=t[n-1],s=t[n],a=s.originalStart-i.originalStart-i.originalLength,o=i.originalStart,u=s.originalStart+s.originalLength,l=u-o,b=i.modifiedStart,c=s.modifiedStart+s.modifiedLength,N=c-b;if(a<5&&l<20&&N<20){const B=this._findBetterContiguousSequence(o,l,b,N,a);if(B){const[ne,Q]=B;(ne!==i.originalStart+i.originalLength||Q!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=ne-i.originalStart,i.modifiedLength=Q-i.modifiedStart,s.originalStart=ne+a,s.modifiedStart=Q+a,s.originalLength=u-s.originalStart,s.modifiedLength=c-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,n,r,i,s){if(n<s||i<s)return null;const a=t+n-s+1,o=r+i-s+1;let u=0,l=0,b=0;for(let c=t;c<a;c++)for(let N=r;N<o;N++){const B=this._contiguousSequenceScore(c,N,s);B>0&&B>u&&(u=B,l=c,b=N)}return u>0?[l,b]:null}_contiguousSequenceScore(t,n,r){let i=0;for(let s=0;s<r;s++){if(!this.ElementsAreEqual(t+s,n+s))return 0;i+=this._originalStringElements[t+s].length}return i}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1}_boundaryScore(t,n,r,i){const s=this._OriginalRegionIsBoundary(t,n)?1:0,a=this._ModifiedRegionIsBoundary(r,i)?1:0;return s+a}ConcatenateChanges(t,n){const r=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],r)){const i=new Array(t.length+n.length-1);return ma.Copy(t,0,i,0,t.length-1),i[t.length-1]=r[0],ma.Copy(n,1,i,t.length,n.length-1),i}else{const i=new Array(t.length+n.length);return ma.Copy(t,0,i,0,t.length),ma.Copy(n,0,i,t.length,n.length),i}}ChangesOverlap(t,n,r){if(ha.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),ha.Assert(t.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const i=t.originalStart;let s=t.originalLength;const a=t.modifiedStart;let o=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(o=n.modifiedStart+n.modifiedLength-t.modifiedStart),r[0]=new ys(i,s,a,o),!0}else return r[0]=null,!1}ClipDiagonalBound(t,n,r,i){if(t>=0&&t<i)return t;const s=r,a=i-r-1,o=n%2===0;if(t<0){const u=s%2===0;return o===u?0:1}else{const u=a%2===0;return o===u?i-1:i-2}}}let ga;if(typeof Ii.vscode<"u"&&typeof Ii.vscode.process<"u"){const e=Ii.vscode.process;ga={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"?ga={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:ga={get platform(){return co?"win32":Ig?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Ko=ga.cwd,s1=ga.env,a1=ga.platform,o1=65,u1=97,l1=90,c1=122,bs=46,Yr=47,li=92,vs=58,f1=63;class Pp extends Error{constructor(t,n,r){let i;typeof n=="string"&&n.indexOf("not ")===0?(i="must not be",n=n.replace(/^not /,"")):i="must be";const s=t.indexOf(".")!==-1?"property":"argument";let a=`The "${t}" ${s} ${i} of type ${n}`;a+=`. Received type ${typeof r}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function p1(e,t){if(e===null||typeof e!="object")throw new Pp(t,"Object",e)}function _r(e,t){if(typeof e!="string")throw new Pp(t,"string",e)}const Es=a1==="win32";function zn(e){return e===Yr||e===li}function $l(e){return e===Yr}function As(e){return e>=o1&&e<=l1||e>=u1&&e<=c1}function Zo(e,t,n,r){let i="",s=0,a=-1,o=0,u=0;for(let l=0;l<=e.length;++l){if(l<e.length)u=e.charCodeAt(l);else{if(r(u))break;u=Yr}if(r(u)){if(!(a===l-1||o===1))if(o===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==bs||i.charCodeAt(i.length-2)!==bs){if(i.length>2){const b=i.lastIndexOf(n);b===-1?(i="",s=0):(i=i.slice(0,b),s=i.length-1-i.lastIndexOf(n)),a=l,o=0;continue}else if(i.length!==0){i="",s=0,a=l,o=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",s=2)}else i.length>0?i+=`${n}${e.slice(a+1,l)}`:i=e.slice(a+1,l),s=l-a-1;a=l,o=0}else u===bs&&o!==-1?++o:o=-1}return i}function Bp(e,t){p1(t,"pathObject");const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const ri={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(s=e[i],_r(s,"path"),s.length===0)continue}else t.length===0?s=Ko():(s=s1[`=${t}`]||Ko(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===li)&&(s=`${t}\\`));const a=s.length;let o=0,u="",l=!1;const b=s.charCodeAt(0);if(a===1)zn(b)&&(o=1,l=!0);else if(zn(b))if(l=!0,zn(s.charCodeAt(1))){let c=2,N=c;for(;c<a&&!zn(s.charCodeAt(c));)c++;if(c<a&&c!==N){const B=s.slice(N,c);for(N=c;c<a&&zn(s.charCodeAt(c));)c++;if(c<a&&c!==N){for(N=c;c<a&&!zn(s.charCodeAt(c));)c++;(c===a||c!==N)&&(u=`\\\\${B}\\${s.slice(N,c)}`,o=c)}}}else o=1;else As(b)&&s.charCodeAt(1)===vs&&(u=s.slice(0,2),o=2,a>2&&zn(s.charCodeAt(2))&&(l=!0,o=3));if(u.length>0)if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u;if(r){if(t.length>0)break}else if(n=`${s.slice(o)}\\${n}`,r=l,l&&t.length>0)break}return n=Zo(n,!r,"\\",zn),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){_r(e,"path");const t=e.length;if(t===0)return".";let n=0,r,i=!1;const s=e.charCodeAt(0);if(t===1)return $l(s)?"\\":e;if(zn(s))if(i=!0,zn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!zn(e.charCodeAt(o));)o++;if(o<t&&o!==u){const l=e.slice(u,o);for(u=o;o<t&&zn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!zn(e.charCodeAt(o));)o++;if(o===t)return`\\\\${l}\\${e.slice(u)}\\`;o!==u&&(r=`\\\\${l}\\${e.slice(u,o)}`,n=o)}}}else n=1;else As(s)&&e.charCodeAt(1)===vs&&(r=e.slice(0,2),n=2,t>2&&zn(e.charCodeAt(2))&&(i=!0,n=3));let a=n<t?Zo(e.slice(n),!i,"\\",zn):"";return a.length===0&&!i&&(a="."),a.length>0&&zn(e.charCodeAt(t-1))&&(a+="\\"),r===void 0?i?`\\${a}`:a:i?`${r}\\${a}`:`${r}${a}`},isAbsolute(e){_r(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return zn(n)||t>2&&As(n)&&e.charCodeAt(1)===vs&&zn(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let s=0;s<e.length;++s){const a=e[s];_r(a,"path"),a.length>0&&(t===void 0?t=n=a:t+=`\\${a}`)}if(t===void 0)return".";let r=!0,i=0;if(typeof n=="string"&&zn(n.charCodeAt(0))){++i;const s=n.length;s>1&&zn(n.charCodeAt(1))&&(++i,s>2&&(zn(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&zn(t.charCodeAt(i));)i++;i>=2&&(t=`\\${t.slice(i)}`)}return ri.normalize(t)},relative(e,t){if(_r(e,"from"),_r(t,"to"),e===t)return"";const n=ri.resolve(e),r=ri.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===li;)i++;let s=e.length;for(;s-1>i&&e.charCodeAt(s-1)===li;)s--;const a=s-i;let o=0;for(;o<t.length&&t.charCodeAt(o)===li;)o++;let u=t.length;for(;u-1>o&&t.charCodeAt(u-1)===li;)u--;const l=u-o,b=a<l?a:l;let c=-1,N=0;for(;N<b;N++){const ne=e.charCodeAt(i+N);if(ne!==t.charCodeAt(o+N))break;ne===li&&(c=N)}if(N!==b){if(c===-1)return r}else{if(l>b){if(t.charCodeAt(o+N)===li)return r.slice(o+N+1);if(N===2)return r.slice(o+N)}a>b&&(e.charCodeAt(i+N)===li?c=N:N===2&&(c=3)),c===-1&&(c=0)}let B="";for(N=i+c+1;N<=s;++N)(N===s||e.charCodeAt(N)===li)&&(B+=B.length===0?"..":"\\..");return o+=c,B.length>0?`${B}${r.slice(o,u)}`:(r.charCodeAt(o)===li&&++o,r.slice(o,u))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=ri.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===li){if(t.charCodeAt(1)===li){const n=t.charCodeAt(2);if(n!==f1&&n!==bs)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(As(t.charCodeAt(0))&&t.charCodeAt(1)===vs&&t.charCodeAt(2)===li)return`\\\\?\\${t}`;return e},dirname(e){_r(e,"path");const t=e.length;if(t===0)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(t===1)return zn(i)?e:".";if(zn(i)){if(n=r=1,zn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!zn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&zn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!zn(e.charCodeAt(o));)o++;if(o===t)return e;o!==u&&(n=r=o+1)}}}}else As(i)&&e.charCodeAt(1)===vs&&(n=t>2&&zn(e.charCodeAt(2))?3:2,r=n);let s=-1,a=!0;for(let o=t-1;o>=r;--o)if(zn(e.charCodeAt(o))){if(!a){s=o;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return e.slice(0,s)},basename(e,t){t!==void 0&&_r(t,"ext"),_r(e,"path");let n=0,r=-1,i=!0,s;if(e.length>=2&&As(e.charCodeAt(0))&&e.charCodeAt(1)===vs&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,o=-1;for(s=e.length-1;s>=n;--s){const u=e.charCodeAt(s);if(zn(u)){if(!i){n=s+1;break}}else o===-1&&(i=!1,o=s+1),a>=0&&(u===t.charCodeAt(a)?--a===-1&&(r=s):(a=-1,r=o))}return n===r?r=o:r===-1&&(r=e.length),e.slice(n,r)}for(s=e.length-1;s>=n;--s)if(zn(e.charCodeAt(s))){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?"":e.slice(n,r)},extname(e){_r(e,"path");let t=0,n=-1,r=0,i=-1,s=!0,a=0;e.length>=2&&e.charCodeAt(1)===vs&&As(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const u=e.charCodeAt(o);if(zn(u)){if(!s){r=o+1;break}continue}i===-1&&(s=!1,i=o+1),u===bs?n===-1?n=o:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||i===-1||a===0||a===1&&n===i-1&&n===r+1?"":e.slice(n,i)},format:Bp.bind(null,"\\"),parse(e){_r(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(n===1)return zn(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(zn(i)){if(r=1,zn(e.charCodeAt(1))){let c=2,N=c;for(;c<n&&!zn(e.charCodeAt(c));)c++;if(c<n&&c!==N){for(N=c;c<n&&zn(e.charCodeAt(c));)c++;if(c<n&&c!==N){for(N=c;c<n&&!zn(e.charCodeAt(c));)c++;c===n?r=c:c!==N&&(r=c+1)}}}}else if(As(i)&&e.charCodeAt(1)===vs){if(n<=2)return t.root=t.dir=e,t;if(r=2,zn(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let s=-1,a=r,o=-1,u=!0,l=e.length-1,b=0;for(;l>=r;--l){if(i=e.charCodeAt(l),zn(i)){if(!u){a=l+1;break}continue}o===-1&&(u=!1,o=l+1),i===bs?s===-1?s=l:b!==1&&(b=1):s!==-1&&(b=-1)}return o!==-1&&(s===-1||b===0||b===1&&s===o-1&&s===a+1?t.base=t.name=e.slice(a,o):(t.name=e.slice(a,s),t.base=e.slice(a,o),t.ext=e.slice(s,o))),a>0&&a!==r?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},d1=(()=>{if(Es){const e=/\\/g;return()=>{const t=Ko().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>Ko()})(),ci={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:d1();_r(i,"path"),i.length!==0&&(t=`${i}/${t}`,n=i.charCodeAt(0)===Yr)}return t=Zo(t,!n,"/",$l),n?`/${t}`:t.length>0?t:"."},normalize(e){if(_r(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Yr,n=e.charCodeAt(e.length-1)===Yr;return e=Zo(e,!t,"/",$l),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return _r(e,"path"),e.length>0&&e.charCodeAt(0)===Yr},join(...e){if(e.length===0)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];_r(r,"path"),r.length>0&&(t===void 0?t=r:t+=`/${r}`)}return t===void 0?".":ci.normalize(t)},relative(e,t){if(_r(e,"from"),_r(t,"to"),e===t||(e=ci.resolve(e),t=ci.resolve(t),e===t))return"";const n=1,r=e.length,i=r-n,s=1,a=t.length-s,o=i<a?i:a;let u=-1,l=0;for(;l<o;l++){const c=e.charCodeAt(n+l);if(c!==t.charCodeAt(s+l))break;c===Yr&&(u=l)}if(l===o)if(a>o){if(t.charCodeAt(s+l)===Yr)return t.slice(s+l+1);if(l===0)return t.slice(s+l)}else i>o&&(e.charCodeAt(n+l)===Yr?u=l:l===0&&(u=0));let b="";for(l=n+u+1;l<=r;++l)(l===r||e.charCodeAt(l)===Yr)&&(b+=b.length===0?"..":"/..");return`${b}${t.slice(s+u)}`},toNamespacedPath(e){return e},dirname(e){if(_r(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Yr;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===Yr){if(!r){n=i;break}}else r=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&_r(t,"ext"),_r(e,"path");let n=0,r=-1,i=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,o=-1;for(s=e.length-1;s>=0;--s){const u=e.charCodeAt(s);if(u===Yr){if(!i){n=s+1;break}}else o===-1&&(i=!1,o=s+1),a>=0&&(u===t.charCodeAt(a)?--a===-1&&(r=s):(a=-1,r=o))}return n===r?r=o:r===-1&&(r=e.length),e.slice(n,r)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===Yr){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?"":e.slice(n,r)},extname(e){_r(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let a=e.length-1;a>=0;--a){const o=e.charCodeAt(a);if(o===Yr){if(!i){n=a+1;break}continue}r===-1&&(i=!1,r=a+1),o===bs?t===-1?t=a:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||r===-1||s===0||s===1&&t===r-1&&t===n+1?"":e.slice(t,r)},format:Bp.bind(null,"/"),parse(e){_r(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===Yr;let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,a=-1,o=!0,u=e.length-1,l=0;for(;u>=r;--u){const b=e.charCodeAt(u);if(b===Yr){if(!o){s=u+1;break}continue}a===-1&&(o=!1,a=u+1),b===bs?i===-1?i=u:l!==1&&(l=1):i!==-1&&(l=-1)}if(a!==-1){const b=s===0&&n?1:s;i===-1||l===0||l===1&&i===a-1&&i===s+1?t.base=t.name=e.slice(b,a):(t.name=e.slice(b,i),t.base=e.slice(b,a),t.ext=e.slice(i,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};ci.win32=ri.win32=ri,ci.posix=ri.posix=ci,Es?ri.normalize:ci.normalize,Es?ri.resolve:ci.resolve,Es?ri.relative:ci.relative,Es?ri.dirname:ci.dirname,Es?ri.basename:ci.basename,Es?ri.extname:ci.extname,Es?ri.sep:ci.sep;const h1=/^\w[\w\d+.-]*$/,m1=/^\//,g1=/^\/\//;function y1(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!h1.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!m1.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(g1.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function D1(e,t){return!e&&!t?"file":e}function b1(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==Oi&&(t=Oi+t):t=Oi;break}return t}const Er="",Oi="/",v1=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;let Vl=class Nl{static isUri(t){return t instanceof Nl?!0:t?typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="string"&&typeof t.with=="function"&&typeof t.toString=="function":!1}constructor(t,n,r,i,s,a=!1){typeof t=="object"?(this.scheme=t.scheme||Er,this.authority=t.authority||Er,this.path=t.path||Er,this.query=t.query||Er,this.fragment=t.fragment||Er):(this.scheme=D1(t,a),this.authority=n||Er,this.path=b1(this.scheme,r||Er),this.query=i||Er,this.fragment=s||Er,y1(this,a))}get fsPath(){return ql(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:r,path:i,query:s,fragment:a}=t;return n===void 0?n=this.scheme:n===null&&(n=Er),r===void 0?r=this.authority:r===null&&(r=Er),i===void 0?i=this.path:i===null&&(i=Er),s===void 0?s=this.query:s===null&&(s=Er),a===void 0?a=this.fragment:a===null&&(a=Er),n===this.scheme&&r===this.authority&&i===this.path&&s===this.query&&a===this.fragment?this:new ya(n,r,i,s,a)}static parse(t,n=!1){const r=v1.exec(t);return r?new ya(r[2]||Er,eu(r[4]||Er),eu(r[5]||Er),eu(r[7]||Er),eu(r[9]||Er),n):new ya(Er,Er,Er,Er,Er)}static file(t){let n=Er;if(co&&(t=t.replace(/\\/g,Oi)),t[0]===Oi&&t[1]===Oi){const r=t.indexOf(Oi,2);r===-1?(n=t.substring(2),t=Oi):(n=t.substring(2,r),t=t.substring(r)||Oi)}return new ya("file",n,t,Er,Er)}static from(t,n){return new ya(t.scheme,t.authority,t.path,t.query,t.fragment,n)}static joinPath(t,...n){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let r;return co&&t.scheme==="file"?r=Nl.file(ri.join(ql(t,!0),...n)).path:r=ci.join(t.path,...n),t.with({path:r})}toString(t=!1){return Ul(this,t)}toJSON(){return this}static revive(t){var n,r;if(t){if(t instanceof Nl)return t;{const i=new ya(t);return i._formatted=(n=t.external)!==null&&n!==void 0?n:null,i._fsPath=t._sep===Mp&&(r=t.fsPath)!==null&&r!==void 0?r:null,i}}else return t}};const Mp=co?1:void 0;class ya extends Vl{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=ql(this,!1)),this._fsPath}toString(t=!1){return t?Ul(this,!0):(this._formatted||(this._formatted=Ul(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=Mp),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const Ip={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function Op(e,t,n){let r,i=-1;for(let s=0;s<e.length;s++){const a=e.charCodeAt(s);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||t&&a===47||n&&a===91||n&&a===93||n&&a===58)i!==-1&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r!==void 0&&(r+=e.charAt(s));else{r===void 0&&(r=e.substr(0,s));const o=Ip[a];o!==void 0?(i!==-1&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=o):i===-1&&(i=s)}}return i!==-1&&(r+=encodeURIComponent(e.substring(i))),r!==void 0?r:e}function E1(e){let t;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r===35||r===63?(t===void 0&&(t=e.substr(0,n)),t+=Ip[r]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function ql(e,t){let n;return e.authority&&e.path.length>1&&e.scheme==="file"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,co&&(n=n.replace(/\//g,"\\")),n}function Ul(e,t){const n=t?E1:Op;let r="",{scheme:i,authority:s,path:a,query:o,fragment:u}=e;if(i&&(r+=i,r+=":"),(s||i==="file")&&(r+=Oi,r+=Oi),s){let l=s.indexOf("@");if(l!==-1){const b=s.substr(0,l);s=s.substr(l+1),l=b.lastIndexOf(":"),l===-1?r+=n(b,!1,!1):(r+=n(b.substr(0,l),!1,!1),r+=":",r+=n(b.substr(l+1),!1,!0)),r+="@"}s=s.toLowerCase(),l=s.lastIndexOf(":"),l===-1?r+=n(s,!1,!0):(r+=n(s.substr(0,l),!1,!0),r+=s.substr(l))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const l=a.charCodeAt(1);l>=65&&l<=90&&(a=`/${String.fromCharCode(l+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const l=a.charCodeAt(0);l>=65&&l<=90&&(a=`${String.fromCharCode(l+32)}:${a.substr(2)}`)}r+=n(a,!0,!1)}return o&&(r+="?",r+=n(o,!1,!1)),u&&(r+="#",r+=t?u:Op(u,!1,!1)),r}function jp(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+jp(e.substr(3)):e}}const Rp=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function eu(e){return e.match(Rp)?e.replace(Rp,t=>jp(t)):e}let Ji=class ua{constructor(t,n){this.lineNumber=t,this.column=n}with(t=this.lineNumber,n=this.column){return t===this.lineNumber&&n===this.column?this:new ua(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return ua.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return ua.isBefore(this,t)}static isBefore(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<n.column}isBeforeOrEqual(t){return ua.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<=n.column}static compare(t,n){const r=t.lineNumber|0,i=n.lineNumber|0;if(r===i){const s=t.column|0,a=n.column|0;return s-a}return r-i}clone(){return new ua(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new ua(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"}},Ur=class jr{constructor(t,n,r,i){t>r||t===r&&n>i?(this.startLineNumber=r,this.startColumn=i,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=r,this.endColumn=i)}isEmpty(){return jr.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return jr.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<t.startColumn||n.lineNumber===t.endLineNumber&&n.column>t.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return jr.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>t.endColumn)}strictContainsRange(t){return jr.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return jr.plusRange(this,t)}static plusRange(t,n){let r,i,s,a;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(s=t.endLineNumber,a=t.endColumn),new jr(r,i,s,a)}intersectRanges(t){return jr.intersectRanges(this,t)}static intersectRanges(t,n){let r=t.startLineNumber,i=t.startColumn,s=t.endLineNumber,a=t.endColumn;const o=n.startLineNumber,u=n.startColumn,l=n.endLineNumber,b=n.endColumn;return r<o?(r=o,i=u):r===o&&(i=Math.max(i,u)),s>l?(s=l,a=b):s===l&&(a=Math.min(a,b)),r>s||r===s&&i>a?null:new jr(r,i,s,a)}equalsRange(t){return jr.equalsRange(this,t)}static equalsRange(t,n){return!t&&!n?!0:!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return jr.getEndPosition(this)}static getEndPosition(t){return new Ji(t.endLineNumber,t.endColumn)}getStartPosition(){return jr.getStartPosition(this)}static getStartPosition(t){return new Ji(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new jr(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new jr(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return jr.collapseToStart(this)}static collapseToStart(t){return new jr(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return jr.collapseToEnd(this)}static collapseToEnd(t){return new jr(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new jr(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new jr(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new jr(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"}static areIntersectingOrTouching(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn)}static areIntersecting(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<=n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<=t.startColumn)}static compareRangesUsingStarts(t,n){if(t&&n){const s=t.startLineNumber|0,a=n.startLineNumber|0;if(s===a){const o=t.startColumn|0,u=n.startColumn|0;if(o===u){const l=t.endLineNumber|0,b=n.endLineNumber|0;if(l===b){const c=t.endColumn|0,N=n.endColumn|0;return c-N}return l-b}return o-u}return s-a}return(t?1:0)-(n?1:0)}static compareRangesUsingEnds(t,n){return t.endLineNumber===n.endLineNumber?t.endColumn===n.endColumn?t.startLineNumber===n.startLineNumber?t.startColumn-n.startColumn:t.startLineNumber-n.startLineNumber:t.endColumn-n.endColumn:t.endLineNumber-n.endLineNumber}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}toJSON(){return this}};function A1(e,t,n=(r,i)=>r===i){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function*C1(e,t){let n,r;for(const i of e)r!==void 0&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}function x1(e,t){for(let n=0;n<=e.length;n++)t(n===0?void 0:e[n-1],n===e.length?void 0:e[n])}function S1(e,t){for(let n=0;n<e.length;n++)t(n===0?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function w1(e,t){for(const n of t)e.push(n)}var $p;(function(e){function t(s){return s<0}e.isLessThan=t;function n(s){return s<=0}e.isLessThanOrEqual=n;function r(s){return s>0}e.isGreaterThan=r;function i(s){return s===0}e.isNeitherLessOrGreaterThan=i,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})($p||($p={}));function tu(e,t){return(n,r)=>t(e(n),e(r))}const nu=(e,t)=>e-t;function F1(e){return(t,n)=>-e(t,n)}function Vp(e){return e<0?0:e>255?255:e|0}function Da(e){return e<0?0:e>4294967295?4294967295:e|0}class N1{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=Da(t);const r=this.values,i=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(r.length+s),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t),t+s),this.values.set(n,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=Da(t),n=Da(n),this.values[t]===n?!1:(this.values[t]=n,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,n){t=Da(t),n=Da(n);const r=this.values,i=this.prefixSum;if(t>=r.length)return!1;const s=r.length-t;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(r.length-n),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=Da(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(let r=n;r<=t;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,r=this.values.length-1,i=0,s=0,a=0;for(;n<=r;)if(i=n+(r-n)/2|0,s=this.prefixSum[i],a=s-this.values[i],t<a)r=i-1;else if(t>=s)n=i+1;else break;return new T1(i,t-a)}}class T1{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class _1{constructor(t,n,r,i){this._uri=t,this._lines=n,this._eol=r,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const n=t.changes;for(const r of n)this._acceptDeleteRange(r.range),this._acceptInsertText(new Ji(r.range.startLineNumber,r.range.startColumn),r.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,n=this._lines.length,r=new Uint32Array(n);for(let i=0;i<n;i++)r[i]=this._lines[i].length+t;this._lineStarts=new N1(r)}}_setLineText(t,n){this._lines[t]=n,this._lineStarts&&this._lineStarts.setValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)}_acceptInsertText(t,n){if(n.length===0)return;const r=Vg(n);if(r.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}r[r.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]);const i=new Uint32Array(r.length-1);for(let s=1;s<r.length;s++)this._lines.splice(t.lineNumber+s-1,0,r[s]),i[s-1]=r[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)}}const L1="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function k1(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of L1)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const qp=k1();function P1(e){let t=qp;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const Up=new Cg;Up.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Wl(e,t,n,r,i){if(i||(i=zo.first(Up)),n.length>i.maxLen){let l=e-i.maxLen/2;return l<0?l=0:r+=l,n=n.substring(l,e+i.maxLen/2),Wl(e,t,n,r,i)}const s=Date.now(),a=e-1-r;let o=-1,u=null;for(let l=1;!(Date.now()-s>=i.timeBudget);l++){const b=a-i.windowSize*l;t.lastIndex=Math.max(0,b);const c=B1(t,n,a,o);if(!c&&u||(u=c,b<=0))break;o=b}if(u){const l={word:u[0],startColumn:r+1+u.index,endColumn:r+1+u.index+u[0].length};return t.lastIndex=0,l}return null}function B1(e,t,n,r){let i;for(;i=e.exec(t);){const s=i.index||0;if(s<=n&&e.lastIndex>=n)return i;if(r>0&&s>r)return null}return null}class Gl{constructor(t){const n=Vp(t);this._defaultValue=n,this._asciiMap=Gl._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);return n.fill(t),n}set(t,n){const r=Vp(n);t>=0&&t<256?this._asciiMap[t]=r:this._map.set(t,r)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class M1{constructor(t,n,r){const i=new Uint8Array(t*n);for(let s=0,a=t*n;s<a;s++)i[s]=r;this._data=i,this.rows=t,this.cols=n}get(t,n){return this._data[t*this.cols+n]}set(t,n,r){this._data[t*this.cols+n]=r}}class I1{constructor(t){let n=0,r=0;for(let s=0,a=t.length;s<a;s++){const[o,u,l]=t[s];u>n&&(n=u),o>r&&(r=o),l>r&&(r=l)}n++,r++;const i=new M1(r,n,0);for(let s=0,a=t.length;s<a;s++){const[o,u,l]=t[s];i.set(o,u,l)}this._states=i,this._maxCharCode=n}nextState(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)}}let Jl=null;function O1(){return Jl===null&&(Jl=new I1([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Jl}let fo=null;function j1(){if(fo===null){fo=new Gl(0);const e=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let n=0;n<e.length;n++)fo.set(e.charCodeAt(n),1);const t=".,;:";for(let n=0;n<t.length;n++)fo.set(t.charCodeAt(n),2)}return fo}class ru{static _createLink(t,n,r,i,s){let a=s-1;do{const o=n.charCodeAt(a);if(t.get(o)!==2)break;a--}while(a>i);if(i>0){const o=n.charCodeAt(i-1),u=n.charCodeAt(a);(o===40&&u===41||o===91&&u===93||o===123&&u===125)&&a--}return{range:{startLineNumber:r,startColumn:i+1,endLineNumber:r,endColumn:a+2},url:n.substring(i,a+1)}}static computeLinks(t,n=O1()){const r=j1(),i=[];for(let s=1,a=t.getLineCount();s<=a;s++){const o=t.getLineContent(s),u=o.length;let l=0,b=0,c=0,N=1,B=!1,ne=!1,Q=!1,M=!1;for(;l<u;){let de=!1;const ve=o.charCodeAt(l);if(N===13){let Fe;switch(ve){case 40:B=!0,Fe=0;break;case 41:Fe=B?0:1;break;case 91:Q=!0,ne=!0,Fe=0;break;case 93:Q=!1,Fe=ne?0:1;break;case 123:M=!0,Fe=0;break;case 125:Fe=M?0:1;break;case 39:case 34:case 96:c===ve?Fe=1:c===39||c===34||c===96?Fe=0:Fe=1;break;case 42:Fe=c===42?1:0;break;case 124:Fe=c===124?1:0;break;case 32:Fe=Q?0:1;break;default:Fe=r.get(ve)}Fe===1&&(i.push(ru._createLink(r,o,s,b,l)),de=!0)}else if(N===12){let Fe;ve===91?(ne=!0,Fe=0):Fe=r.get(ve),Fe===1?de=!0:N=13}else N=n.nextState(N,ve),N===0&&(de=!0);de&&(N=1,B=!1,ne=!1,M=!1,b=l+1,c=ve),l++}N===13&&i.push(ru._createLink(r,o,s,b,u))}return i}}function R1(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:ru.computeLinks(e)}class Yl{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(t,n,r,i,s){if(t&&n){const a=this.doNavigateValueSet(n,s);if(a)return{range:t,value:a}}if(r&&i){const a=this.doNavigateValueSet(i,s);if(a)return{range:r,value:a}}return null}doNavigateValueSet(t,n){const r=this.numberReplace(t,n);return r!==null?r:this.textReplace(t,n)}numberReplace(t,n){const r=Math.pow(10,t.length-(t.lastIndexOf(".")+1));let i=Number(t);const s=parseFloat(t);return!isNaN(i)&&!isNaN(s)&&i===s?i===0&&!n?null:(i=Math.floor(i*r),i+=n?r:-r,String(i/r)):null}textReplace(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)}valueSetsReplace(t,n,r){let i=null;for(let s=0,a=t.length;i===null&&s<a;s++)i=this.valueSetReplace(t[s],n,r);return i}valueSetReplace(t,n,r){let i=t.indexOf(n);return i>=0?(i+=r?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null}}Yl.INSTANCE=new Yl;const Wp=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var iu;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof su?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:_l.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Wp})})(iu||(iu={}));class su{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Wp:(this._emitter||(this._emitter=new Bi),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class $1{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new su),this._token}cancel(){this._token?this._token instanceof su&&this._token.cancel():this._token=iu.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)===null||n===void 0||n.dispose(),this._token?this._token instanceof su&&this._token.dispose():this._token=iu.None}}class Hl{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const au=new Hl,zl=new Hl,Ql=new Hl,V1=new Array(230),q1=Object.create(null),U1=Object.create(null);(function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const i of t){const[s,a,o,u,l,b,c,N,B]=i;if(r[a]||(r[a]=!0,q1[o]=a,U1[o.toLowerCase()]=a),!n[u]){if(n[u]=!0,!l)throw new Error(`String representation missing for key code ${u} around scan code ${o}`);au.define(u,l),zl.define(u,N||l),Ql.define(u,B||N||l)}b&&(V1[b]=u)}})();var Gp;(function(e){function t(o){return au.keyCodeToStr(o)}e.toString=t;function n(o){return au.strToKeyCode(o)}e.fromString=n;function r(o){return zl.keyCodeToStr(o)}e.toUserSettingsUS=r;function i(o){return Ql.keyCodeToStr(o)}e.toUserSettingsGeneral=i;function s(o){return zl.strToKeyCode(o)||Ql.strToKeyCode(o)}e.fromUserSettings=s;function a(o){if(o>=98&&o<=113)return null;switch(o){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return au.keyCodeToStr(o)}e.toElectronAccelerator=a})(Gp||(Gp={}));function W1(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}class gi extends Ur{constructor(t,n,r,i){super(t,n,r,i),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=r,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return gi.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new gi(this.startLineNumber,this.startColumn,t,n):new gi(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Ji(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Ji(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new gi(t,n,this.endLineNumber,this.endColumn):new gi(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new gi(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new gi(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new gi(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new gi(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let r=0,i=t.length;r<i;r++)if(!this.selectionsEqual(t[r],n[r]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber=="number"&&typeof t.selectionStartColumn=="number"&&typeof t.positionLineNumber=="number"&&typeof t.positionColumn=="number"}static createWithDirection(t,n,r,i,s){return s===0?new gi(t,n,r,i):new gi(r,i,t,n)}}const Jp=Object.create(null);function L(e,t){if(Tg(t)){const n=Jp[t];if(n===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return Jp[e]=t,{id:e}}const Nn={add:L("add",6e4),plus:L("plus",6e4),gistNew:L("gist-new",6e4),repoCreate:L("repo-create",6e4),lightbulb:L("lightbulb",60001),lightBulb:L("light-bulb",60001),repo:L("repo",60002),repoDelete:L("repo-delete",60002),gistFork:L("gist-fork",60003),repoForked:L("repo-forked",60003),gitPullRequest:L("git-pull-request",60004),gitPullRequestAbandoned:L("git-pull-request-abandoned",60004),recordKeys:L("record-keys",60005),keyboard:L("keyboard",60005),tag:L("tag",60006),tagAdd:L("tag-add",60006),tagRemove:L("tag-remove",60006),gitPullRequestLabel:L("git-pull-request-label",60006),person:L("person",60007),personFollow:L("person-follow",60007),personOutline:L("person-outline",60007),personFilled:L("person-filled",60007),gitBranch:L("git-branch",60008),gitBranchCreate:L("git-branch-create",60008),gitBranchDelete:L("git-branch-delete",60008),sourceControl:L("source-control",60008),mirror:L("mirror",60009),mirrorPublic:L("mirror-public",60009),star:L("star",60010),starAdd:L("star-add",60010),starDelete:L("star-delete",60010),starEmpty:L("star-empty",60010),comment:L("comment",60011),commentAdd:L("comment-add",60011),alert:L("alert",60012),warning:L("warning",60012),search:L("search",60013),searchSave:L("search-save",60013),logOut:L("log-out",60014),signOut:L("sign-out",60014),logIn:L("log-in",60015),signIn:L("sign-in",60015),eye:L("eye",60016),eyeUnwatch:L("eye-unwatch",60016),eyeWatch:L("eye-watch",60016),circleFilled:L("circle-filled",60017),primitiveDot:L("primitive-dot",60017),closeDirty:L("close-dirty",60017),debugBreakpoint:L("debug-breakpoint",60017),debugBreakpointDisabled:L("debug-breakpoint-disabled",60017),debugHint:L("debug-hint",60017),primitiveSquare:L("primitive-square",60018),edit:L("edit",60019),pencil:L("pencil",60019),info:L("info",60020),issueOpened:L("issue-opened",60020),gistPrivate:L("gist-private",60021),gitForkPrivate:L("git-fork-private",60021),lock:L("lock",60021),mirrorPrivate:L("mirror-private",60021),close:L("close",60022),removeClose:L("remove-close",60022),x:L("x",60022),repoSync:L("repo-sync",60023),sync:L("sync",60023),clone:L("clone",60024),desktopDownload:L("desktop-download",60024),beaker:L("beaker",60025),microscope:L("microscope",60025),vm:L("vm",60026),deviceDesktop:L("device-desktop",60026),file:L("file",60027),fileText:L("file-text",60027),more:L("more",60028),ellipsis:L("ellipsis",60028),kebabHorizontal:L("kebab-horizontal",60028),mailReply:L("mail-reply",60029),reply:L("reply",60029),organization:L("organization",60030),organizationFilled:L("organization-filled",60030),organizationOutline:L("organization-outline",60030),newFile:L("new-file",60031),fileAdd:L("file-add",60031),newFolder:L("new-folder",60032),fileDirectoryCreate:L("file-directory-create",60032),trash:L("trash",60033),trashcan:L("trashcan",60033),history:L("history",60034),clock:L("clock",60034),folder:L("folder",60035),fileDirectory:L("file-directory",60035),symbolFolder:L("symbol-folder",60035),logoGithub:L("logo-github",60036),markGithub:L("mark-github",60036),github:L("github",60036),terminal:L("terminal",60037),console:L("console",60037),repl:L("repl",60037),zap:L("zap",60038),symbolEvent:L("symbol-event",60038),error:L("error",60039),stop:L("stop",60039),variable:L("variable",60040),symbolVariable:L("symbol-variable",60040),array:L("array",60042),symbolArray:L("symbol-array",60042),symbolModule:L("symbol-module",60043),symbolPackage:L("symbol-package",60043),symbolNamespace:L("symbol-namespace",60043),symbolObject:L("symbol-object",60043),symbolMethod:L("symbol-method",60044),symbolFunction:L("symbol-function",60044),symbolConstructor:L("symbol-constructor",60044),symbolBoolean:L("symbol-boolean",60047),symbolNull:L("symbol-null",60047),symbolNumeric:L("symbol-numeric",60048),symbolNumber:L("symbol-number",60048),symbolStructure:L("symbol-structure",60049),symbolStruct:L("symbol-struct",60049),symbolParameter:L("symbol-parameter",60050),symbolTypeParameter:L("symbol-type-parameter",60050),symbolKey:L("symbol-key",60051),symbolText:L("symbol-text",60051),symbolReference:L("symbol-reference",60052),goToFile:L("go-to-file",60052),symbolEnum:L("symbol-enum",60053),symbolValue:L("symbol-value",60053),symbolRuler:L("symbol-ruler",60054),symbolUnit:L("symbol-unit",60054),activateBreakpoints:L("activate-breakpoints",60055),archive:L("archive",60056),arrowBoth:L("arrow-both",60057),arrowDown:L("arrow-down",60058),arrowLeft:L("arrow-left",60059),arrowRight:L("arrow-right",60060),arrowSmallDown:L("arrow-small-down",60061),arrowSmallLeft:L("arrow-small-left",60062),arrowSmallRight:L("arrow-small-right",60063),arrowSmallUp:L("arrow-small-up",60064),arrowUp:L("arrow-up",60065),bell:L("bell",60066),bold:L("bold",60067),book:L("book",60068),bookmark:L("bookmark",60069),debugBreakpointConditionalUnverified:L("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:L("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:L("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:L("debug-breakpoint-data-unverified",60072),debugBreakpointData:L("debug-breakpoint-data",60073),debugBreakpointDataDisabled:L("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:L("debug-breakpoint-log-unverified",60074),debugBreakpointLog:L("debug-breakpoint-log",60075),debugBreakpointLogDisabled:L("debug-breakpoint-log-disabled",60075),briefcase:L("briefcase",60076),broadcast:L("broadcast",60077),browser:L("browser",60078),bug:L("bug",60079),calendar:L("calendar",60080),caseSensitive:L("case-sensitive",60081),check:L("check",60082),checklist:L("checklist",60083),chevronDown:L("chevron-down",60084),dropDownButton:L("drop-down-button",60084),chevronLeft:L("chevron-left",60085),chevronRight:L("chevron-right",60086),chevronUp:L("chevron-up",60087),chromeClose:L("chrome-close",60088),chromeMaximize:L("chrome-maximize",60089),chromeMinimize:L("chrome-minimize",60090),chromeRestore:L("chrome-restore",60091),circle:L("circle",60092),circleOutline:L("circle-outline",60092),debugBreakpointUnverified:L("debug-breakpoint-unverified",60092),circleSlash:L("circle-slash",60093),circuitBoard:L("circuit-board",60094),clearAll:L("clear-all",60095),clippy:L("clippy",60096),closeAll:L("close-all",60097),cloudDownload:L("cloud-download",60098),cloudUpload:L("cloud-upload",60099),code:L("code",60100),collapseAll:L("collapse-all",60101),colorMode:L("color-mode",60102),commentDiscussion:L("comment-discussion",60103),compareChanges:L("compare-changes",60157),creditCard:L("credit-card",60105),dash:L("dash",60108),dashboard:L("dashboard",60109),database:L("database",60110),debugContinue:L("debug-continue",60111),debugDisconnect:L("debug-disconnect",60112),debugPause:L("debug-pause",60113),debugRestart:L("debug-restart",60114),debugStart:L("debug-start",60115),debugStepInto:L("debug-step-into",60116),debugStepOut:L("debug-step-out",60117),debugStepOver:L("debug-step-over",60118),debugStop:L("debug-stop",60119),debug:L("debug",60120),deviceCameraVideo:L("device-camera-video",60121),deviceCamera:L("device-camera",60122),deviceMobile:L("device-mobile",60123),diffAdded:L("diff-added",60124),diffIgnored:L("diff-ignored",60125),diffModified:L("diff-modified",60126),diffRemoved:L("diff-removed",60127),diffRenamed:L("diff-renamed",60128),diff:L("diff",60129),discard:L("discard",60130),editorLayout:L("editor-layout",60131),emptyWindow:L("empty-window",60132),exclude:L("exclude",60133),extensions:L("extensions",60134),eyeClosed:L("eye-closed",60135),fileBinary:L("file-binary",60136),fileCode:L("file-code",60137),fileMedia:L("file-media",60138),filePdf:L("file-pdf",60139),fileSubmodule:L("file-submodule",60140),fileSymlinkDirectory:L("file-symlink-directory",60141),fileSymlinkFile:L("file-symlink-file",60142),fileZip:L("file-zip",60143),files:L("files",60144),filter:L("filter",60145),flame:L("flame",60146),foldDown:L("fold-down",60147),foldUp:L("fold-up",60148),fold:L("fold",60149),folderActive:L("folder-active",60150),folderOpened:L("folder-opened",60151),gear:L("gear",60152),gift:L("gift",60153),gistSecret:L("gist-secret",60154),gist:L("gist",60155),gitCommit:L("git-commit",60156),gitCompare:L("git-compare",60157),gitMerge:L("git-merge",60158),githubAction:L("github-action",60159),githubAlt:L("github-alt",60160),globe:L("globe",60161),grabber:L("grabber",60162),graph:L("graph",60163),gripper:L("gripper",60164),heart:L("heart",60165),home:L("home",60166),horizontalRule:L("horizontal-rule",60167),hubot:L("hubot",60168),inbox:L("inbox",60169),issueClosed:L("issue-closed",60324),issueReopened:L("issue-reopened",60171),issues:L("issues",60172),italic:L("italic",60173),jersey:L("jersey",60174),json:L("json",60175),bracket:L("bracket",60175),kebabVertical:L("kebab-vertical",60176),key:L("key",60177),law:L("law",60178),lightbulbAutofix:L("lightbulb-autofix",60179),linkExternal:L("link-external",60180),link:L("link",60181),listOrdered:L("list-ordered",60182),listUnordered:L("list-unordered",60183),liveShare:L("live-share",60184),loading:L("loading",60185),location:L("location",60186),mailRead:L("mail-read",60187),mail:L("mail",60188),markdown:L("markdown",60189),megaphone:L("megaphone",60190),mention:L("mention",60191),milestone:L("milestone",60192),gitPullRequestMilestone:L("git-pull-request-milestone",60192),mortarBoard:L("mortar-board",60193),move:L("move",60194),multipleWindows:L("multiple-windows",60195),mute:L("mute",60196),noNewline:L("no-newline",60197),note:L("note",60198),octoface:L("octoface",60199),openPreview:L("open-preview",60200),package:L("package",60201),paintcan:L("paintcan",60202),pin:L("pin",60203),play:L("play",60204),run:L("run",60204),plug:L("plug",60205),preserveCase:L("preserve-case",60206),preview:L("preview",60207),project:L("project",60208),pulse:L("pulse",60209),question:L("question",60210),quote:L("quote",60211),radioTower:L("radio-tower",60212),reactions:L("reactions",60213),references:L("references",60214),refresh:L("refresh",60215),regex:L("regex",60216),remoteExplorer:L("remote-explorer",60217),remote:L("remote",60218),remove:L("remove",60219),replaceAll:L("replace-all",60220),replace:L("replace",60221),repoClone:L("repo-clone",60222),repoForcePush:L("repo-force-push",60223),repoPull:L("repo-pull",60224),repoPush:L("repo-push",60225),report:L("report",60226),requestChanges:L("request-changes",60227),rocket:L("rocket",60228),rootFolderOpened:L("root-folder-opened",60229),rootFolder:L("root-folder",60230),rss:L("rss",60231),ruby:L("ruby",60232),saveAll:L("save-all",60233),saveAs:L("save-as",60234),save:L("save",60235),screenFull:L("screen-full",60236),screenNormal:L("screen-normal",60237),searchStop:L("search-stop",60238),server:L("server",60240),settingsGear:L("settings-gear",60241),settings:L("settings",60242),shield:L("shield",60243),smiley:L("smiley",60244),sortPrecedence:L("sort-precedence",60245),splitHorizontal:L("split-horizontal",60246),splitVertical:L("split-vertical",60247),squirrel:L("squirrel",60248),starFull:L("star-full",60249),starHalf:L("star-half",60250),symbolClass:L("symbol-class",60251),symbolColor:L("symbol-color",60252),symbolCustomColor:L("symbol-customcolor",60252),symbolConstant:L("symbol-constant",60253),symbolEnumMember:L("symbol-enum-member",60254),symbolField:L("symbol-field",60255),symbolFile:L("symbol-file",60256),symbolInterface:L("symbol-interface",60257),symbolKeyword:L("symbol-keyword",60258),symbolMisc:L("symbol-misc",60259),symbolOperator:L("symbol-operator",60260),symbolProperty:L("symbol-property",60261),wrench:L("wrench",60261),wrenchSubaction:L("wrench-subaction",60261),symbolSnippet:L("symbol-snippet",60262),tasklist:L("tasklist",60263),telescope:L("telescope",60264),textSize:L("text-size",60265),threeBars:L("three-bars",60266),thumbsdown:L("thumbsdown",60267),thumbsup:L("thumbsup",60268),tools:L("tools",60269),triangleDown:L("triangle-down",60270),triangleLeft:L("triangle-left",60271),triangleRight:L("triangle-right",60272),triangleUp:L("triangle-up",60273),twitter:L("twitter",60274),unfold:L("unfold",60275),unlock:L("unlock",60276),unmute:L("unmute",60277),unverified:L("unverified",60278),verified:L("verified",60279),versions:L("versions",60280),vmActive:L("vm-active",60281),vmOutline:L("vm-outline",60282),vmRunning:L("vm-running",60283),watch:L("watch",60284),whitespace:L("whitespace",60285),wholeWord:L("whole-word",60286),window:L("window",60287),wordWrap:L("word-wrap",60288),zoomIn:L("zoom-in",60289),zoomOut:L("zoom-out",60290),listFilter:L("list-filter",60291),listFlat:L("list-flat",60292),listSelection:L("list-selection",60293),selection:L("selection",60293),listTree:L("list-tree",60294),debugBreakpointFunctionUnverified:L("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:L("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:L("debug-breakpoint-function-disabled",60296),debugStackframeActive:L("debug-stackframe-active",60297),circleSmallFilled:L("circle-small-filled",60298),debugStackframeDot:L("debug-stackframe-dot",60298),debugStackframe:L("debug-stackframe",60299),debugStackframeFocused:L("debug-stackframe-focused",60299),debugBreakpointUnsupported:L("debug-breakpoint-unsupported",60300),symbolString:L("symbol-string",60301),debugReverseContinue:L("debug-reverse-continue",60302),debugStepBack:L("debug-step-back",60303),debugRestartFrame:L("debug-restart-frame",60304),callIncoming:L("call-incoming",60306),callOutgoing:L("call-outgoing",60307),menu:L("menu",60308),expandAll:L("expand-all",60309),feedback:L("feedback",60310),gitPullRequestReviewer:L("git-pull-request-reviewer",60310),groupByRefType:L("group-by-ref-type",60311),ungroupByRefType:L("ungroup-by-ref-type",60312),account:L("account",60313),gitPullRequestAssignee:L("git-pull-request-assignee",60313),bellDot:L("bell-dot",60314),debugConsole:L("debug-console",60315),library:L("library",60316),output:L("output",60317),runAll:L("run-all",60318),syncIgnored:L("sync-ignored",60319),pinned:L("pinned",60320),githubInverted:L("github-inverted",60321),debugAlt:L("debug-alt",60305),serverProcess:L("server-process",60322),serverEnvironment:L("server-environment",60323),pass:L("pass",60324),stopCircle:L("stop-circle",60325),playCircle:L("play-circle",60326),record:L("record",60327),debugAltSmall:L("debug-alt-small",60328),vmConnect:L("vm-connect",60329),cloud:L("cloud",60330),merge:L("merge",60331),exportIcon:L("export",60332),graphLeft:L("graph-left",60333),magnet:L("magnet",60334),notebook:L("notebook",60335),redo:L("redo",60336),checkAll:L("check-all",60337),pinnedDirty:L("pinned-dirty",60338),passFilled:L("pass-filled",60339),circleLargeFilled:L("circle-large-filled",60340),circleLarge:L("circle-large",60341),circleLargeOutline:L("circle-large-outline",60341),combine:L("combine",60342),gather:L("gather",60342),table:L("table",60343),variableGroup:L("variable-group",60344),typeHierarchy:L("type-hierarchy",60345),typeHierarchySub:L("type-hierarchy-sub",60346),typeHierarchySuper:L("type-hierarchy-super",60347),gitPullRequestCreate:L("git-pull-request-create",60348),runAbove:L("run-above",60349),runBelow:L("run-below",60350),notebookTemplate:L("notebook-template",60351),debugRerun:L("debug-rerun",60352),workspaceTrusted:L("workspace-trusted",60353),workspaceUntrusted:L("workspace-untrusted",60354),workspaceUnspecified:L("workspace-unspecified",60355),terminalCmd:L("terminal-cmd",60356),terminalDebian:L("terminal-debian",60357),terminalLinux:L("terminal-linux",60358),terminalPowershell:L("terminal-powershell",60359),terminalTmux:L("terminal-tmux",60360),terminalUbuntu:L("terminal-ubuntu",60361),terminalBash:L("terminal-bash",60362),arrowSwap:L("arrow-swap",60363),copy:L("copy",60364),personAdd:L("person-add",60365),filterFilled:L("filter-filled",60366),wand:L("wand",60367),debugLineByLine:L("debug-line-by-line",60368),inspect:L("inspect",60369),layers:L("layers",60370),layersDot:L("layers-dot",60371),layersActive:L("layers-active",60372),compass:L("compass",60373),compassDot:L("compass-dot",60374),compassActive:L("compass-active",60375),azure:L("azure",60376),issueDraft:L("issue-draft",60377),gitPullRequestClosed:L("git-pull-request-closed",60378),gitPullRequestDraft:L("git-pull-request-draft",60379),debugAll:L("debug-all",60380),debugCoverage:L("debug-coverage",60381),runErrors:L("run-errors",60382),folderLibrary:L("folder-library",60383),debugContinueSmall:L("debug-continue-small",60384),beakerStop:L("beaker-stop",60385),graphLine:L("graph-line",60386),graphScatter:L("graph-scatter",60387),pieChart:L("pie-chart",60388),bracketDot:L("bracket-dot",60389),bracketError:L("bracket-error",60390),lockSmall:L("lock-small",60391),azureDevops:L("azure-devops",60392),verifiedFilled:L("verified-filled",60393),newLine:L("newline",60394),layout:L("layout",60395),layoutActivitybarLeft:L("layout-activitybar-left",60396),layoutActivitybarRight:L("layout-activitybar-right",60397),layoutPanelLeft:L("layout-panel-left",60398),layoutPanelCenter:L("layout-panel-center",60399),layoutPanelJustify:L("layout-panel-justify",60400),layoutPanelRight:L("layout-panel-right",60401),layoutPanel:L("layout-panel",60402),layoutSidebarLeft:L("layout-sidebar-left",60403),layoutSidebarRight:L("layout-sidebar-right",60404),layoutStatusbar:L("layout-statusbar",60405),layoutMenubar:L("layout-menubar",60406),layoutCentered:L("layout-centered",60407),layoutSidebarRightOff:L("layout-sidebar-right-off",60416),layoutPanelOff:L("layout-panel-off",60417),layoutSidebarLeftOff:L("layout-sidebar-left-off",60418),target:L("target",60408),indent:L("indent",60409),recordSmall:L("record-small",60410),errorSmall:L("error-small",60411),arrowCircleDown:L("arrow-circle-down",60412),arrowCircleLeft:L("arrow-circle-left",60413),arrowCircleRight:L("arrow-circle-right",60414),arrowCircleUp:L("arrow-circle-up",60415),heartFilled:L("heart-filled",60420),map:L("map",60421),mapFilled:L("map-filled",60422),circleSmall:L("circle-small",60423),bellSlash:L("bell-slash",60424),bellSlashDot:L("bell-slash-dot",60425),commentUnresolved:L("comment-unresolved",60426),gitPullRequestGoToChanges:L("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:L("git-pull-request-new-changes",60428),searchFuzzy:L("search-fuzzy",60429),commentDraft:L("comment-draft",60430),send:L("send",60431),sparkle:L("sparkle",60432),insert:L("insert",60433),mic:L("mic",60434),dialogError:L("dialog-error","error"),dialogWarning:L("dialog-warning","warning"),dialogInfo:L("dialog-info","info"),dialogClose:L("dialog-close","close"),treeItemExpanded:L("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:L("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:L("tree-filter-on-type-off","list-selection"),treeFilterClear:L("tree-filter-clear","close"),treeItemLoading:L("tree-item-loading","loading"),menuSelection:L("menu-selection","check"),menuSubmenu:L("menu-submenu","chevron-right"),menuBarMore:L("menubar-more","more"),scrollbarButtonLeft:L("scrollbar-button-left","triangle-left"),scrollbarButtonRight:L("scrollbar-button-right","triangle-right"),scrollbarButtonUp:L("scrollbar-button-up","triangle-up"),scrollbarButtonDown:L("scrollbar-button-down","triangle-down"),toolBarMore:L("toolbar-more","more"),quickInputBack:L("quick-input-back","arrow-left")};var Xl=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function o(b){try{l(r.next(b))}catch(c){a(c)}}function u(b){try{l(r.throw(b))}catch(c){a(c)}}function l(b){b.done?s(b.value):i(b.value).then(o,u)}l((r=r.apply(e,t||[])).next())})};class G1{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new Bi,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(t){this._onDidChange.fire({changedLanguages:t,changedColorMap:!1})}register(t,n){return this._tokenizationSupports.set(t,n),this.handleChange([t]),uo(()=>{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){var r;(r=this._factories.get(t))===null||r===void 0||r.dispose();const i=new J1(this,t,n);return this._factories.set(t,i),uo(()=>{const s=this._factories.get(t);!s||s!==i||(this._factories.delete(t),s.dispose())})}getOrCreate(t){return Xl(this,void 0,void 0,function*(){const n=this.get(t);if(n)return n;const r=this._factories.get(t);return!r||r.isResolved?null:(yield r.resolve(),this.get(t))})}isResolved(t){if(this.get(t))return!0;const r=this._factories.get(t);return!!(!r||r.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class J1 extends lo{get isResolved(){return this._isResolved}constructor(t,n,r){super(),this._registry=t,this._languageId=n,this._factory=r,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return Xl(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return Xl(this,void 0,void 0,function*(){const t=yield this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))})}}class Y1{constructor(t,n,r){this.offset=t,this.type=n,this.language=r,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var Yp;(function(e){const t=new Map;t.set(0,Nn.symbolMethod),t.set(1,Nn.symbolFunction),t.set(2,Nn.symbolConstructor),t.set(3,Nn.symbolField),t.set(4,Nn.symbolVariable),t.set(5,Nn.symbolClass),t.set(6,Nn.symbolStruct),t.set(7,Nn.symbolInterface),t.set(8,Nn.symbolModule),t.set(9,Nn.symbolProperty),t.set(10,Nn.symbolEvent),t.set(11,Nn.symbolOperator),t.set(12,Nn.symbolUnit),t.set(13,Nn.symbolValue),t.set(15,Nn.symbolEnum),t.set(14,Nn.symbolConstant),t.set(15,Nn.symbolEnum),t.set(16,Nn.symbolEnumMember),t.set(17,Nn.symbolKeyword),t.set(27,Nn.symbolSnippet),t.set(18,Nn.symbolText),t.set(19,Nn.symbolColor),t.set(20,Nn.symbolFile),t.set(21,Nn.symbolReference),t.set(22,Nn.symbolCustomColor),t.set(23,Nn.symbolFolder),t.set(24,Nn.symbolTypeParameter),t.set(25,Nn.account),t.set(26,Nn.issues);function n(s){let a=t.get(s);return a||(console.info("No codicon found for CompletionItemKind "+s),a=Nn.symbolProperty),a}e.toIcon=n;const r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",27),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26);function i(s,a){let o=r.get(s);return typeof o>"u"&&!a&&(o=9),o}e.fromString=i})(Yp||(Yp={}));var Hp;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Hp||(Hp={}));var zp;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(zp||(zp={}));var Qp;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Qp||(Qp={})),vr("Array","array"),vr("Boolean","boolean"),vr("Class","class"),vr("Constant","constant"),vr("Constructor","constructor"),vr("Enum","enumeration"),vr("EnumMember","enumeration member"),vr("Event","event"),vr("Field","field"),vr("File","file"),vr("Function","function"),vr("Interface","interface"),vr("Key","key"),vr("Method","method"),vr("Module","module"),vr("Namespace","namespace"),vr("Null","null"),vr("Number","number"),vr("Object","object"),vr("Operator","operator"),vr("Package","package"),vr("Property","property"),vr("String","string"),vr("Struct","struct"),vr("TypeParameter","type parameter"),vr("Variable","variable");var Xp;(function(e){const t=new Map;t.set(0,Nn.symbolFile),t.set(1,Nn.symbolModule),t.set(2,Nn.symbolNamespace),t.set(3,Nn.symbolPackage),t.set(4,Nn.symbolClass),t.set(5,Nn.symbolMethod),t.set(6,Nn.symbolProperty),t.set(7,Nn.symbolField),t.set(8,Nn.symbolConstructor),t.set(9,Nn.symbolEnum),t.set(10,Nn.symbolInterface),t.set(11,Nn.symbolFunction),t.set(12,Nn.symbolVariable),t.set(13,Nn.symbolConstant),t.set(14,Nn.symbolString),t.set(15,Nn.symbolNumber),t.set(16,Nn.symbolBoolean),t.set(17,Nn.symbolArray),t.set(18,Nn.symbolObject),t.set(19,Nn.symbolKey),t.set(20,Nn.symbolNull),t.set(21,Nn.symbolEnumMember),t.set(22,Nn.symbolStruct),t.set(23,Nn.symbolEvent),t.set(24,Nn.symbolOperator),t.set(25,Nn.symbolTypeParameter);function n(r){let i=t.get(r);return i||(console.info("No codicon found for SymbolKind "+r),i=Nn.symbolProperty),i}e.toIcon=n})(Xp||(Xp={}));var Kp;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(Kp||(Kp={}));var Zp;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Zp||(Zp={})),new G1;var ed;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(ed||(ed={}));var td;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(td||(td={}));var nd;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(nd||(nd={}));var rd;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"})(rd||(rd={}));var id;(function(e){e[e.Deprecated=1]="Deprecated"})(id||(id={}));var sd;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(sd||(sd={}));var ad;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(ad||(ad={}));var od;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})(od||(od={}));var ud;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(ud||(ud={}));var ld;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(ld||(ld={}));var cd;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(cd||(cd={}));var fd;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.letterSpacing=63]="letterSpacing",e[e.lightbulb=64]="lightbulb",e[e.lineDecorationsWidth=65]="lineDecorationsWidth",e[e.lineHeight=66]="lineHeight",e[e.lineNumbers=67]="lineNumbers",e[e.lineNumbersMinChars=68]="lineNumbersMinChars",e[e.linkedEditing=69]="linkedEditing",e[e.links=70]="links",e[e.matchBrackets=71]="matchBrackets",e[e.minimap=72]="minimap",e[e.mouseStyle=73]="mouseStyle",e[e.mouseWheelScrollSensitivity=74]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=75]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=76]="multiCursorMergeOverlapping",e[e.multiCursorModifier=77]="multiCursorModifier",e[e.multiCursorPaste=78]="multiCursorPaste",e[e.multiCursorLimit=79]="multiCursorLimit",e[e.occurrencesHighlight=80]="occurrencesHighlight",e[e.overviewRulerBorder=81]="overviewRulerBorder",e[e.overviewRulerLanes=82]="overviewRulerLanes",e[e.padding=83]="padding",e[e.pasteAs=84]="pasteAs",e[e.parameterHints=85]="parameterHints",e[e.peekWidgetDefaultFocus=86]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=87]="definitionLinkOpensInPeek",e[e.quickSuggestions=88]="quickSuggestions",e[e.quickSuggestionsDelay=89]="quickSuggestionsDelay",e[e.readOnly=90]="readOnly",e[e.readOnlyMessage=91]="readOnlyMessage",e[e.renameOnType=92]="renameOnType",e[e.renderControlCharacters=93]="renderControlCharacters",e[e.renderFinalNewline=94]="renderFinalNewline",e[e.renderLineHighlight=95]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=96]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=97]="renderValidationDecorations",e[e.renderWhitespace=98]="renderWhitespace",e[e.revealHorizontalRightPadding=99]="revealHorizontalRightPadding",e[e.roundedSelection=100]="roundedSelection",e[e.rulers=101]="rulers",e[e.scrollbar=102]="scrollbar",e[e.scrollBeyondLastColumn=103]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=104]="scrollBeyondLastLine",e[e.scrollPredominantAxis=105]="scrollPredominantAxis",e[e.selectionClipboard=106]="selectionClipboard",e[e.selectionHighlight=107]="selectionHighlight",e[e.selectOnLineNumbers=108]="selectOnLineNumbers",e[e.showFoldingControls=109]="showFoldingControls",e[e.showUnused=110]="showUnused",e[e.snippetSuggestions=111]="snippetSuggestions",e[e.smartSelect=112]="smartSelect",e[e.smoothScrolling=113]="smoothScrolling",e[e.stickyScroll=114]="stickyScroll",e[e.stickyTabStops=115]="stickyTabStops",e[e.stopRenderingLineAfter=116]="stopRenderingLineAfter",e[e.suggest=117]="suggest",e[e.suggestFontSize=118]="suggestFontSize",e[e.suggestLineHeight=119]="suggestLineHeight",e[e.suggestOnTriggerCharacters=120]="suggestOnTriggerCharacters",e[e.suggestSelection=121]="suggestSelection",e[e.tabCompletion=122]="tabCompletion",e[e.tabIndex=123]="tabIndex",e[e.unicodeHighlighting=124]="unicodeHighlighting",e[e.unusualLineTerminators=125]="unusualLineTerminators",e[e.useShadowDOM=126]="useShadowDOM",e[e.useTabStops=127]="useTabStops",e[e.wordBreak=128]="wordBreak",e[e.wordSeparators=129]="wordSeparators",e[e.wordWrap=130]="wordWrap",e[e.wordWrapBreakAfterCharacters=131]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=132]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=133]="wordWrapColumn",e[e.wordWrapOverride1=134]="wordWrapOverride1",e[e.wordWrapOverride2=135]="wordWrapOverride2",e[e.wrappingIndent=136]="wrappingIndent",e[e.wrappingStrategy=137]="wrappingStrategy",e[e.showDeprecated=138]="showDeprecated",e[e.inlayHints=139]="inlayHints",e[e.editorClassName=140]="editorClassName",e[e.pixelRatio=141]="pixelRatio",e[e.tabFocusMode=142]="tabFocusMode",e[e.layoutInfo=143]="layoutInfo",e[e.wrappingInfo=144]="wrappingInfo",e[e.defaultColorDecorators=145]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=146]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=147]="inlineCompletionsAccessibilityVerbose"})(fd||(fd={}));var pd;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(pd||(pd={}));var dd;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(dd||(dd={}));var hd;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(hd||(hd={}));var md;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(md||(md={}));var gd;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(gd||(gd={}));var yd;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(yd||(yd={}));var Dd;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Dd||(Dd={}));var Kl;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"})(Kl||(Kl={}));var Zl;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(Zl||(Zl={}));var ec;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(ec||(ec={}));var bd;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(bd||(bd={}));var vd;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(vd||(vd={}));var Ed;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(Ed||(Ed={}));var Ad;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Ad||(Ad={}));var Cd;(function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"})(Cd||(Cd={}));var xd;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(xd||(xd={}));var Sd;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(Sd||(Sd={}));var wd;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(wd||(wd={}));var Fd;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(Fd||(Fd={}));var tc;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(tc||(tc={}));var Nd;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Nd||(Nd={}));var Td;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(Td||(Td={}));var _d;(function(e){e[e.Deprecated=1]="Deprecated"})(_d||(_d={}));var Ld;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(Ld||(Ld={}));var kd;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(kd||(kd={}));var Pd;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Pd||(Pd={}));var Bd;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(Bd||(Bd={}));class po{static chord(t,n){return W1(t,n)}}po.CtrlCmd=2048,po.Shift=1024,po.Alt=512,po.WinCtrl=256;function H1(){return{editor:void 0,languages:void 0,CancellationTokenSource:$1,Emitter:Bi,KeyCode:Kl,KeyMod:po,Position:Ji,Range:Ur,Selection:gi,SelectionDirection:tc,MarkerSeverity:Zl,MarkerTag:ec,Uri:Vl,Token:Y1}}var Md;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Md||(Md={}));var Id;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(Id||(Id={}));var Od;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(Od||(Od={}));var jd;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(jd||(jd={}));function z1(e,t,n,r,i){if(r===0)return!0;const s=t.charCodeAt(r-1);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const a=t.charCodeAt(r);if(e.get(a)!==0)return!0}return!1}function Q1(e,t,n,r,i){if(r+i===n)return!0;const s=t.charCodeAt(r+i);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const a=t.charCodeAt(r+i-1);if(e.get(a)!==0)return!0}return!1}function X1(e,t,n,r,i){return z1(e,t,n,r,i)&&Q1(e,t,n,r,i)}class K1{constructor(t,n){this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const n=t.length;let r;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(r=this._searchRegex.exec(t),!r))return null;const i=r.index,s=r[0].length;if(i===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){Jg(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=s,!this._wordSeparators||X1(this._wordSeparators,t,n,i,s))return r}while(r);return null}}function Z1(e,t="Unreachable"){throw new Error(t)}function ou(e){if(!e()){debugger;e(),vp(new ms("Assertion Failed"))}}function Rd(e,t){let n=0;for(;n<e.length-1;){const r=e[n],i=e[n+1];if(!t(r,i))return!1;n++}return!0}class ey{static computeUnicodeHighlights(t,n,r){const i=r?r.startLineNumber:1,s=r?r.endLineNumber:t.getLineCount(),a=new $d(n),o=a.getCandidateCodePoints();let u;o==="allNonBasicAscii"?u=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):u=new RegExp(`${ty(Array.from(o))}`,"g");const l=new K1(null,u),b=[];let c=!1,N,B=0,ne=0,Q=0;e:for(let M=i,de=s;M<=de;M++){const ve=t.getLineContent(M),Fe=ve.length;l.reset(0);do if(N=l.next(ve),N){let Ve=N.index,he=N.index+N[0].length;if(Ve>0){const Oe=ve.charCodeAt(Ve-1);Rl(Oe)&&Ve--}if(he+1<Fe){const Oe=ve.charCodeAt(he-1);Rl(Oe)&&he++}const we=ve.substring(Ve,he);let Ye=Wl(Ve+1,qp,ve,0);Ye&&Ye.endColumn<=Ve+1&&(Ye=null);const ze=a.shouldHighlightNonBasicASCII(we,Ye?Ye.word:null);if(ze!==0){ze===3?B++:ze===2?ne++:ze===1?Q++:Z1();const Oe=1e3;if(b.length>=Oe){c=!0;break e}b.push(new Ur(M,Ve+1,M,he+1))}}while(N)}return{ranges:b,hasMore:c,ambiguousCharacterCount:B,invisibleCharacterCount:ne,nonBasicAsciiCharacterCount:Q}}static computeUnicodeHighlightReason(t,n){const r=new $d(n);switch(r.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=t.codePointAt(0),a=r.ambiguousCharacters.getPrimaryConfusable(s),o=js.getLocales().filter(u=>!js.getInstance(new Set([...n.allowedLocales,u])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}function ty(e,t){return`[${$g(e.map(r=>String.fromCodePoint(r)).join(""))}]`}class $d{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=js.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const t=new Set;if(this.options.invisibleCharacters)for(const n of gs.codePoints)Vd(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(const n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){const r=t.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,s=!1;if(n)for(const a of n){const o=a.codePointAt(0),u=Hg(a);i=i||u,!u&&!this.ambiguousCharacters.isAmbiguous(o)&&!gs.isInvisibleCharacter(o)&&(s=!0)}return!i&&s?0:this.options.invisibleCharacters&&!Vd(t)&&gs.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function Vd(e){return e===" "||e===`
8
- `||e===" "}class uu{constructor(t,n,r){this.changes=t,this.moves=n,this.hitTimeout=r}}class ny{constructor(t,n){this.lineRangeMapping=t,this.changes=n}}class Kn{static addRange(t,n){let r=0;for(;r<n.length&&n[r].endExclusive<t.start;)r++;let i=r;for(;i<n.length&&n[i].start<=t.endExclusive;)i++;if(r===i)n.splice(r,0,t);else{const s=Math.min(t.start,n[r].start),a=Math.max(t.endExclusive,n[i-1].endExclusive);n.splice(r,i-r,new Kn(s,a))}}static tryCreate(t,n){if(!(t>n))return new Kn(t,n)}static ofLength(t){return new Kn(0,t)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new ms(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new Kn(this.start+t,this.endExclusive+t)}deltaStart(t){return new Kn(this.start+t,this.endExclusive)}deltaEnd(t){return new Kn(this.start,this.endExclusive+t)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(t){return this.start===t.start&&this.endExclusive===t.endExclusive}containsRange(t){return this.start<=t.start&&t.endExclusive<=this.endExclusive}contains(t){return this.start<=t&&t<this.endExclusive}join(t){return new Kn(Math.min(this.start,t.start),Math.max(this.endExclusive,t.endExclusive))}intersect(t){const n=Math.max(this.start,t.start),r=Math.min(this.endExclusive,t.endExclusive);if(n<=r)return new Kn(n,r)}slice(t){return t.slice(this.start,this.endExclusive)}clip(t){if(this.isEmpty)throw new ms(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,t))}clipCyclic(t){if(this.isEmpty)throw new ms(`Invalid clipping range: ${this.toString()}`);return t<this.start?this.endExclusive-(this.start-t)%this.length:t>=this.endExclusive?this.start+(t-this.start)%this.length:t}forEach(t){for(let n=this.start;n<this.endExclusive;n++)t(n)}}function ho(e,t){const n=mo(e,t);return n===-1?void 0:e[n]}function mo(e,t,n=0,r=e.length){let i=n,s=r;for(;i<s;){const a=Math.floor((i+s)/2);t(e[a])?i=a+1:s=a}return i-1}function ry(e,t){const n=nc(e,t);return n===e.length?void 0:e[n]}function nc(e,t,n=0,r=e.length){let i=n,s=r;for(;i<s;){const a=Math.floor((i+s)/2);t(e[a])?s=a:i=a+1}return i}class go{constructor(t){this._array=t,this._findLastMonotonousLastIdx=0}findLastMonotonous(t){if(go.assertInvariants){if(this._prevFindLastPredicate){for(const r of this._array)if(this._prevFindLastPredicate(r)&&!t(r))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=t}const n=mo(this._array,t,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=n+1,n===-1?void 0:this._array[n]}}go.assertInvariants=!1;class rr{static fromRange(t){return new rr(t.startLineNumber,t.endLineNumber)}static joinMany(t){if(t.length===0)return[];let n=new Yi(t[0].slice());for(let r=1;r<t.length;r++)n=n.getUnion(new Yi(t[r].slice()));return n.ranges}static ofLength(t,n){return new rr(t,t+n)}static deserialize(t){return new rr(t[0],t[1])}constructor(t,n){if(t>n)throw new ms(`startLineNumber ${t} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=t,this.endLineNumberExclusive=n}contains(t){return this.startLineNumber<=t&&t<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(t){return new rr(this.startLineNumber+t,this.endLineNumberExclusive+t)}deltaLength(t){return new rr(this.startLineNumber,this.endLineNumberExclusive+t)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(t){return new rr(Math.min(this.startLineNumber,t.startLineNumber),Math.max(this.endLineNumberExclusive,t.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(t){const n=Math.max(this.startLineNumber,t.startLineNumber),r=Math.min(this.endLineNumberExclusive,t.endLineNumberExclusive);if(n<=r)return new rr(n,r)}intersectsStrict(t){return this.startLineNumber<t.endLineNumberExclusive&&t.startLineNumber<this.endLineNumberExclusive}overlapOrTouch(t){return this.startLineNumber<=t.endLineNumberExclusive&&t.startLineNumber<=this.endLineNumberExclusive}equals(t){return this.startLineNumber===t.startLineNumber&&this.endLineNumberExclusive===t.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new Ur(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new Ur(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(t){const n=[];for(let r=this.startLineNumber;r<this.endLineNumberExclusive;r++)n.push(t(r));return n}forEach(t){for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)t(n)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}includes(t){return this.startLineNumber<=t&&t<this.endLineNumberExclusive}toOffsetRange(){return new Kn(this.startLineNumber-1,this.endLineNumberExclusive-1)}}class Yi{constructor(t=[]){this._normalizedRanges=t}get ranges(){return this._normalizedRanges}addRange(t){if(t.length===0)return;const n=nc(this._normalizedRanges,i=>i.endLineNumberExclusive>=t.startLineNumber),r=mo(this._normalizedRanges,i=>i.startLineNumber<=t.endLineNumberExclusive)+1;if(n===r)this._normalizedRanges.splice(n,0,t);else if(n===r-1){const i=this._normalizedRanges[n];this._normalizedRanges[n]=i.join(t)}else{const i=this._normalizedRanges[n].join(this._normalizedRanges[r-1]).join(t);this._normalizedRanges.splice(n,r-n,i)}}contains(t){const n=ho(this._normalizedRanges,r=>r.startLineNumber<=t);return!!n&&n.endLineNumberExclusive>t}getUnion(t){if(this._normalizedRanges.length===0)return t;if(t._normalizedRanges.length===0)return this;const n=[];let r=0,i=0,s=null;for(;r<this._normalizedRanges.length||i<t._normalizedRanges.length;){let a=null;if(r<this._normalizedRanges.length&&i<t._normalizedRanges.length){const o=this._normalizedRanges[r],u=t._normalizedRanges[i];o.startLineNumber<u.startLineNumber?(a=o,r++):(a=u,i++)}else r<this._normalizedRanges.length?(a=this._normalizedRanges[r],r++):(a=t._normalizedRanges[i],i++);s===null?s=a:s.endLineNumberExclusive>=a.startLineNumber?s=new rr(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(n.push(s),s=a)}return s!==null&&n.push(s),new Yi(n)}subtractFrom(t){const n=nc(this._normalizedRanges,a=>a.endLineNumberExclusive>=t.startLineNumber),r=mo(this._normalizedRanges,a=>a.startLineNumber<=t.endLineNumberExclusive)+1;if(n===r)return new Yi([t]);const i=[];let s=t.startLineNumber;for(let a=n;a<r;a++){const o=this._normalizedRanges[a];o.startLineNumber>s&&i.push(new rr(s,o.startLineNumber)),s=o.endLineNumberExclusive}return s<t.endLineNumberExclusive&&i.push(new rr(s,t.endLineNumberExclusive)),new Yi(i)}toString(){return this._normalizedRanges.map(t=>t.toString()).join(", ")}getIntersection(t){const n=[];let r=0,i=0;for(;r<this._normalizedRanges.length&&i<t._normalizedRanges.length;){const s=this._normalizedRanges[r],a=t._normalizedRanges[i],o=s.intersect(a);o&&!o.isEmpty&&n.push(o),s.endLineNumberExclusive<a.endLineNumberExclusive?r++:i++}return new Yi(n)}getWithDelta(t){return new Yi(this._normalizedRanges.map(n=>n.delta(t)))}}class Cs{static inverse(t,n,r){const i=[];let s=1,a=1;for(const u of t){const l=new ts(new rr(s,u.original.startLineNumber),new rr(a,u.modified.startLineNumber),void 0);l.modified.isEmpty||i.push(l),s=u.original.endLineNumberExclusive,a=u.modified.endLineNumberExclusive}const o=new ts(new rr(s,n+1),new rr(a,r+1),void 0);return o.modified.isEmpty||i.push(o),i}constructor(t,n){this.original=t,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new Cs(this.modified,this.original)}join(t){return new Cs(this.original.join(t.original),this.modified.join(t.modified))}}class ts extends Cs{constructor(t,n,r){super(t,n),this.innerChanges=r}flip(){var t;return new ts(this.modified,this.original,(t=this.innerChanges)===null||t===void 0?void 0:t.map(n=>n.flip()))}}class yo{constructor(t,n){this.originalRange=t,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new yo(this.modifiedRange,this.originalRange)}}const iy=3;class sy{computeDiff(t,n,r){var i;const a=new uy(t,n,{maxComputationTime:r.maxComputationTimeMs,shouldIgnoreTrimWhitespace:r.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),o=[];let u=null;for(const l of a.changes){let b;l.originalEndLineNumber===0?b=new rr(l.originalStartLineNumber+1,l.originalStartLineNumber+1):b=new rr(l.originalStartLineNumber,l.originalEndLineNumber+1);let c;l.modifiedEndLineNumber===0?c=new rr(l.modifiedStartLineNumber+1,l.modifiedStartLineNumber+1):c=new rr(l.modifiedStartLineNumber,l.modifiedEndLineNumber+1);let N=new ts(b,c,(i=l.charChanges)===null||i===void 0?void 0:i.map(B=>new yo(new Ur(B.originalStartLineNumber,B.originalStartColumn,B.originalEndLineNumber,B.originalEndColumn),new Ur(B.modifiedStartLineNumber,B.modifiedStartColumn,B.modifiedEndLineNumber,B.modifiedEndColumn))));u&&(u.modified.endLineNumberExclusive===N.modified.startLineNumber||u.original.endLineNumberExclusive===N.original.startLineNumber)&&(N=new ts(u.original.join(N.original),u.modified.join(N.modified),u.innerChanges&&N.innerChanges?u.innerChanges.concat(N.innerChanges):void 0),o.pop()),o.push(N),u=N}return ou(()=>Rd(o,(l,b)=>b.original.startLineNumber-l.original.endLineNumberExclusive===b.modified.startLineNumber-l.modified.endLineNumberExclusive&&l.original.endLineNumberExclusive<b.original.startLineNumber&&l.modified.endLineNumberExclusive<b.modified.startLineNumber)),new uu(o,[],a.quitEarly)}}function qd(e,t,n,r){return new Ds(e,t,n).ComputeDiff(r)}let Ud=class{constructor(t){const n=[],r=[];for(let i=0,s=t.length;i<s;i++)n[i]=rc(t[i],1),r[i]=ic(t[i],1);this.lines=t,this._startColumns=n,this._endColumns=r}getElements(){const t=[];for(let n=0,r=this.lines.length;n<r;n++)t[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,n,r){const i=[],s=[],a=[];let o=0;for(let u=n;u<=r;u++){const l=this.lines[u],b=t?this._startColumns[u]:1,c=t?this._endColumns[u]:l.length+1;for(let N=b;N<c;N++)i[o]=l.charCodeAt(N-1),s[o]=u+1,a[o]=N,o++;!t&&u<r&&(i[o]=10,s[o]=u+1,a[o]=l.length+1,o++)}return new ay(i,s,a)}};class ay{constructor(t,n,r){this._charCodes=t,this._lineNumbers=n,this._columns=r}toString(){return"["+this._charCodes.map((t,n)=>(t===10?"\\n":String.fromCharCode(t))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(t,n){if(t<0||t>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(t){return t>0&&t===this._lineNumbers.length?this.getEndLineNumber(t-1):(this._assertIndex(t,this._lineNumbers),this._lineNumbers[t])}getEndLineNumber(t){return t===-1?this.getStartLineNumber(t+1):(this._assertIndex(t,this._lineNumbers),this._charCodes[t]===10?this._lineNumbers[t]+1:this._lineNumbers[t])}getStartColumn(t){return t>0&&t===this._columns.length?this.getEndColumn(t-1):(this._assertIndex(t,this._columns),this._columns[t])}getEndColumn(t){return t===-1?this.getStartColumn(t+1):(this._assertIndex(t,this._columns),this._charCodes[t]===10?1:this._columns[t]+1)}}class ba{constructor(t,n,r,i,s,a,o,u){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=r,this.originalEndColumn=i,this.modifiedStartLineNumber=s,this.modifiedStartColumn=a,this.modifiedEndLineNumber=o,this.modifiedEndColumn=u}static createFromDiffChange(t,n,r){const i=n.getStartLineNumber(t.originalStart),s=n.getStartColumn(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1),o=n.getEndColumn(t.originalStart+t.originalLength-1),u=r.getStartLineNumber(t.modifiedStart),l=r.getStartColumn(t.modifiedStart),b=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),c=r.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new ba(i,s,a,o,u,l,b,c)}}function oy(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const s=e[r],a=s.originalStart-(n.originalStart+n.originalLength),o=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(a,o)<iy?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(t.push(s),n=s)}return t}class Do{constructor(t,n,r,i,s){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=i,this.charChanges=s}static createFromDiffResult(t,n,r,i,s,a,o){let u,l,b,c,N;if(n.originalLength===0?(u=r.getStartLineNumber(n.originalStart)-1,l=0):(u=r.getStartLineNumber(n.originalStart),l=r.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(b=i.getStartLineNumber(n.modifiedStart)-1,c=0):(b=i.getStartLineNumber(n.modifiedStart),c=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){const B=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),ne=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(B.getElements().length>0&&ne.getElements().length>0){let Q=qd(B,ne,s,!0).changes;o&&(Q=oy(Q)),N=[];for(let M=0,de=Q.length;M<de;M++)N.push(ba.createFromDiffChange(Q[M],B,ne))}}return new Do(u,l,b,c,N)}}class uy{constructor(t,n,r){this.shouldComputeCharChanges=r.shouldComputeCharChanges,this.shouldPostProcessCharChanges=r.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=r.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=r.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new Ud(t),this.modified=new Ud(n),this.continueLineDiff=Wd(r.maxComputationTime),this.continueCharDiff=Wd(r.maxComputationTime===0?0:Math.min(r.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};const t=qd(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,r=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const o=[];for(let u=0,l=n.length;u<l;u++)o.push(Do.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[u],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:r,changes:o}}const i=[];let s=0,a=0;for(let o=-1,u=n.length;o<u;o++){const l=o+1<u?n[o+1]:null,b=l?l.originalStart:this.originalLines.length,c=l?l.modifiedStart:this.modifiedLines.length;for(;s<b&&a<c;){const N=this.originalLines[s],B=this.modifiedLines[a];if(N!==B){{let ne=rc(N,1),Q=rc(B,1);for(;ne>1&&Q>1;){const M=N.charCodeAt(ne-2),de=B.charCodeAt(Q-2);if(M!==de)break;ne--,Q--}(ne>1||Q>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,ne,a+1,1,Q)}{let ne=ic(N,1),Q=ic(B,1);const M=N.length+1,de=B.length+1;for(;ne<M&&Q<de;){const ve=N.charCodeAt(ne-1),Fe=N.charCodeAt(Q-1);if(ve!==Fe)break;ne++,Q++}(ne<M||Q<de)&&this._pushTrimWhitespaceCharChange(i,s+1,ne,M,a+1,Q,de)}}s++,a++}l&&(i.push(Do.createFromDiffResult(this.shouldIgnoreTrimWhitespace,l,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=l.originalLength,a+=l.modifiedLength)}return{quitEarly:r,changes:i}}_pushTrimWhitespaceCharChange(t,n,r,i,s,a,o){if(this._mergeTrimWhitespaceCharChange(t,n,r,i,s,a,o))return;let u;this.shouldComputeCharChanges&&(u=[new ba(n,r,n,i,s,a,s,o)]),t.push(new Do(n,n,s,s,u))}_mergeTrimWhitespaceCharChange(t,n,r,i,s,a,o){const u=t.length;if(u===0)return!1;const l=t[u-1];return l.originalEndLineNumber===0||l.modifiedEndLineNumber===0?!1:l.originalEndLineNumber===n&&l.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new ba(n,r,n,i,s,a,s,o)),!0):l.originalEndLineNumber+1===n&&l.modifiedEndLineNumber+1===s?(l.originalEndLineNumber=n,l.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new ba(n,r,n,i,s,a,s,o)),!0):!1}}function rc(e,t){const n=qg(e);return n===-1?t:n+1}function ic(e,t){const n=Ug(e);return n===-1?t:n+2}function Wd(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}class ns{static trivial(t,n){return new ns([new kr(Kn.ofLength(t.length),Kn.ofLength(n.length))],!1)}static trivialTimedOut(t,n){return new ns([new kr(Kn.ofLength(t.length),Kn.ofLength(n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}}class kr{static invert(t,n){const r=[];return x1(t,(i,s)=>{r.push(kr.fromOffsetPairs(i?i.getEndExclusives():Hi.zero,s?s.getStarts():new Hi(n,(i?i.seq2Range.endExclusive-i.seq1Range.endExclusive:0)+n)))}),r}static fromOffsetPairs(t,n){return new kr(new Kn(t.offset1,n.offset1),new Kn(t.offset2,n.offset2))}constructor(t,n){this.seq1Range=t,this.seq2Range=n}swap(){return new kr(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new kr(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}delta(t){return t===0?this:new kr(this.seq1Range.delta(t),this.seq2Range.delta(t))}deltaStart(t){return t===0?this:new kr(this.seq1Range.deltaStart(t),this.seq2Range.deltaStart(t))}deltaEnd(t){return t===0?this:new kr(this.seq1Range.deltaEnd(t),this.seq2Range.deltaEnd(t))}intersect(t){const n=this.seq1Range.intersect(t.seq1Range),r=this.seq2Range.intersect(t.seq2Range);if(!(!n||!r))return new kr(n,r)}getStarts(){return new Hi(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new Hi(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class Hi{constructor(t,n){this.offset1=t,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}}Hi.zero=new Hi(0,0),Hi.max=new Hi(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);class bo{isValid(){return!0}}bo.instance=new bo;class ly{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new ms("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime<this.timeout)&&this.valid){this.valid=!1;debugger}return this.valid}}class sc{constructor(t,n){this.width=t,this.height=n,this.array=[],this.array=new Array(t*n)}get(t,n){return this.array[t+n*this.width]}set(t,n,r){this.array[t+n*this.width]=r}}function ac(e){return e===32||e===9}class va{static getKey(t){let n=this.chrKeys.get(t);return n===void 0&&(n=this.chrKeys.size,this.chrKeys.set(t,n)),n}constructor(t,n,r){this.range=t,this.lines=n,this.source=r,this.histogram=[];let i=0;for(let s=t.startLineNumber-1;s<t.endLineNumberExclusive-1;s++){const a=n[s];for(let u=0;u<a.length;u++){i++;const l=a[u],b=va.getKey(l);this.histogram[b]=(this.histogram[b]||0)+1}i++;const o=va.getKey(`
9
- `);this.histogram[o]=(this.histogram[o]||0)+1}this.totalCount=i}computeSimilarity(t){var n,r;let i=0;const s=Math.max(this.histogram.length,t.histogram.length);for(let a=0;a<s;a++)i+=Math.abs(((n=this.histogram[a])!==null&&n!==void 0?n:0)-((r=t.histogram[a])!==null&&r!==void 0?r:0));return 1-i/(this.totalCount+t.totalCount)}}va.chrKeys=new Map;class cy{compute(t,n,r=bo.instance,i){if(t.length===0||n.length===0)return ns.trivial(t,n);const s=new sc(t.length,n.length),a=new sc(t.length,n.length),o=new sc(t.length,n.length);for(let ne=0;ne<t.length;ne++)for(let Q=0;Q<n.length;Q++){if(!r.isValid())return ns.trivialTimedOut(t,n);const M=ne===0?0:s.get(ne-1,Q),de=Q===0?0:s.get(ne,Q-1);let ve;t.getElement(ne)===n.getElement(Q)?(ne===0||Q===0?ve=0:ve=s.get(ne-1,Q-1),ne>0&&Q>0&&a.get(ne-1,Q-1)===3&&(ve+=o.get(ne-1,Q-1)),ve+=i?i(ne,Q):1):ve=-1;const Fe=Math.max(M,de,ve);if(Fe===ve){const Ve=ne>0&&Q>0?o.get(ne-1,Q-1):0;o.set(ne,Q,Ve+1),a.set(ne,Q,3)}else Fe===M?(o.set(ne,Q,0),a.set(ne,Q,1)):Fe===de&&(o.set(ne,Q,0),a.set(ne,Q,2));s.set(ne,Q,Fe)}const u=[];let l=t.length,b=n.length;function c(ne,Q){(ne+1!==l||Q+1!==b)&&u.push(new kr(new Kn(ne+1,l),new Kn(Q+1,b))),l=ne,b=Q}let N=t.length-1,B=n.length-1;for(;N>=0&&B>=0;)a.get(N,B)===3?(c(N,B),N--,B--):a.get(N,B)===1?N--:B--;return c(-1,-1),u.reverse(),new ns(u,!1)}}class Gd{compute(t,n,r=bo.instance){if(t.length===0||n.length===0)return ns.trivial(t,n);const i=t,s=n;function a(Q,M){for(;Q<i.length&&M<s.length&&i.getElement(Q)===s.getElement(M);)Q++,M++;return Q}let o=0;const u=new fy;u.set(0,a(0,0));const l=new py;l.set(0,u.get(0)===0?null:new Jd(null,0,0,u.get(0)));let b=0;e:for(;;){if(o++,!r.isValid())return ns.trivialTimedOut(i,s);const Q=-Math.min(o,s.length+o%2),M=Math.min(o,i.length+o%2);for(b=Q;b<=M;b+=2){const de=b===M?-1:u.get(b+1),ve=b===Q?-1:u.get(b-1)+1,Fe=Math.min(Math.max(de,ve),i.length),Ve=Fe-b;if(Fe>i.length||Ve>s.length)continue;const he=a(Fe,Ve);u.set(b,he);const we=Fe===de?l.get(b+1):l.get(b-1);if(l.set(b,he!==Fe?new Jd(we,Fe,Ve,he-Fe):we),u.get(b)===i.length&&u.get(b)-b===s.length)break e}}let c=l.get(b);const N=[];let B=i.length,ne=s.length;for(;;){const Q=c?c.x+c.length:0,M=c?c.y+c.length:0;if((Q!==B||M!==ne)&&N.push(new kr(new Kn(Q,B),new Kn(M,ne))),!c)break;B=c.x,ne=c.y,c=c.prev}return N.reverse(),new ns(N,!1)}}class Jd{constructor(t,n,r,i){this.prev=t,this.x=n,this.y=r,this.length=i}}class fy{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){if(t<0){if(t=-t-1,t>=this.negativeArr.length){const r=this.negativeArr;this.negativeArr=new Int32Array(r.length*2),this.negativeArr.set(r)}this.negativeArr[t]=n}else{if(t>=this.positiveArr.length){const r=this.positiveArr;this.positiveArr=new Int32Array(r.length*2),this.positiveArr.set(r)}this.positiveArr[t]=n}}}class py{constructor(){this.positiveArr=[],this.negativeArr=[]}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){t<0?(t=-t-1,this.negativeArr[t]=n):this.positiveArr[t]=n}}class dy{constructor(){this.map=new Map}add(t,n){let r=this.map.get(t);r||(r=new Set,this.map.set(t,r)),r.add(n)}delete(t,n){const r=this.map.get(t);r&&(r.delete(n),r.size===0&&this.map.delete(t))}forEach(t,n){const r=this.map.get(t);r&&r.forEach(n)}get(t){const n=this.map.get(t);return n||new Set}}class lu{constructor(t,n,r){this.lines=t,this.considerWhitespaceChanges=r,this.elements=[],this.firstCharOffsetByLine=[],this.additionalOffsetByLine=[];let i=!1;n.start>0&&n.endExclusive>=t.length&&(n=new Kn(n.start-1,n.endExclusive),i=!0),this.lineRange=n,this.firstCharOffsetByLine[0]=0;for(let s=this.lineRange.start;s<this.lineRange.endExclusive;s++){let a=t[s],o=0;if(i)o=a.length,a="",i=!1;else if(!r){const u=a.trimStart();o=a.length-u.length,a=u.trimEnd()}this.additionalOffsetByLine.push(o);for(let u=0;u<a.length;u++)this.elements.push(a.charCodeAt(u));s<t.length-1&&(this.elements.push(`
10
- `.charCodeAt(0)),this.firstCharOffsetByLine[s-this.lineRange.start+1]=this.elements.length)}this.additionalOffsetByLine.push(0)}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new Kn(0,this.length))}getText(t){return this.elements.slice(t.start,t.endExclusive).map(n=>String.fromCharCode(n)).join("")}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=Hd(t>0?this.elements[t-1]:-1),r=Hd(t<this.elements.length?this.elements[t]:-1);if(n===6&&r===7)return 0;let i=0;return n!==r&&(i+=10,n===0&&r===1&&(i+=1)),i+=Yd(n),i+=Yd(r),i}translateOffset(t){if(this.lineRange.isEmpty)return new Ji(this.lineRange.start+1,1);const n=mo(this.firstCharOffsetByLine,r=>r<=t);return new Ji(this.lineRange.start+n+1,t-this.firstCharOffsetByLine[n]+this.additionalOffsetByLine[n]+1)}translateRange(t){return Ur.fromPositions(this.translateOffset(t.start),this.translateOffset(t.endExclusive))}findWordContaining(t){if(t<0||t>=this.elements.length||!oc(this.elements[t]))return;let n=t;for(;n>0&&oc(this.elements[n-1]);)n--;let r=t;for(;r<this.elements.length&&oc(this.elements[r]);)r++;return new Kn(n,r)}countLinesIn(t){return this.translateOffset(t.endExclusive).lineNumber-this.translateOffset(t.start).lineNumber}isStronglyEqual(t,n){return this.elements[t]===this.elements[n]}extendToFullLines(t){var n,r;const i=(n=ho(this.firstCharOffsetByLine,a=>a<=t.start))!==null&&n!==void 0?n:0,s=(r=ry(this.firstCharOffsetByLine,a=>t.endExclusive<=a))!==null&&r!==void 0?r:this.elements.length;return new Kn(i,s)}}function oc(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const hy={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function Yd(e){return hy[e]}function Hd(e){return e===10?7:e===13?6:ac(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:4}function my(e,t,n,r,i,s){let{moves:a,excludedChanges:o}=gy(e,t,n,s);if(!s.isValid())return[];const u=e.filter(b=>!o.has(b)),l=yy(u,r,i,t,n,s);return w1(a,l),a=Dy(a),a=a.filter(b=>b.original.toOffsetRange().slice(t).map(N=>N.trim()).join(`
11
- `).length>=10),a=by(e,a),a}function gy(e,t,n,r){const i=[],s=e.filter(u=>u.modified.isEmpty&&u.original.length>=3).map(u=>new va(u.original,t,u)),a=new Set(e.filter(u=>u.original.isEmpty&&u.modified.length>=3).map(u=>new va(u.modified,n,u))),o=new Set;for(const u of s){let l=-1,b;for(const c of a){const N=u.computeSimilarity(c);N>l&&(l=N,b=c)}if(l>.9&&b&&(a.delete(b),i.push(new Cs(u.range,b.range)),o.add(u.source),o.add(b.source)),!r.isValid())return{moves:i,excludedChanges:o}}return{moves:i,excludedChanges:o}}function yy(e,t,n,r,i,s){const a=[],o=new dy;for(const N of e)for(let B=N.original.startLineNumber;B<N.original.endLineNumberExclusive-2;B++){const ne=`${t[B-1]}:${t[B+1-1]}:${t[B+2-1]}`;o.add(ne,{range:new rr(B,B+3)})}const u=[];e.sort(tu(N=>N.modified.startLineNumber,nu));for(const N of e){let B=[];for(let ne=N.modified.startLineNumber;ne<N.modified.endLineNumberExclusive-2;ne++){const Q=`${n[ne-1]}:${n[ne+1-1]}:${n[ne+2-1]}`,M=new rr(ne,ne+3),de=[];o.forEach(Q,({range:ve})=>{for(const Ve of B)if(Ve.originalLineRange.endLineNumberExclusive+1===ve.endLineNumberExclusive&&Ve.modifiedLineRange.endLineNumberExclusive+1===M.endLineNumberExclusive){Ve.originalLineRange=new rr(Ve.originalLineRange.startLineNumber,ve.endLineNumberExclusive),Ve.modifiedLineRange=new rr(Ve.modifiedLineRange.startLineNumber,M.endLineNumberExclusive),de.push(Ve);return}const Fe={modifiedLineRange:M,originalLineRange:ve};u.push(Fe),de.push(Fe)}),B=de}if(!s.isValid())return[]}u.sort(F1(tu(N=>N.modifiedLineRange.length,nu)));const l=new Yi,b=new Yi;for(const N of u){const B=N.modifiedLineRange.startLineNumber-N.originalLineRange.startLineNumber,ne=l.subtractFrom(N.modifiedLineRange),Q=b.subtractFrom(N.originalLineRange).getWithDelta(B),M=ne.getIntersection(Q);for(const de of M.ranges){if(de.length<3)continue;const ve=de,Fe=de.delta(-B);a.push(new Cs(Fe,ve)),l.addRange(ve),b.addRange(Fe)}}a.sort(tu(N=>N.original.startLineNumber,nu));const c=new go(e);for(let N=0;N<a.length;N++){const B=a[N],ne=c.findLastMonotonous(we=>we.original.startLineNumber<=B.original.startLineNumber),Q=ho(e,we=>we.modified.startLineNumber<=B.modified.startLineNumber),M=Math.max(B.original.startLineNumber-ne.original.startLineNumber,B.modified.startLineNumber-Q.modified.startLineNumber),de=c.findLastMonotonous(we=>we.original.startLineNumber<B.original.endLineNumberExclusive),ve=ho(e,we=>we.modified.startLineNumber<B.modified.endLineNumberExclusive),Fe=Math.max(de.original.endLineNumberExclusive-B.original.endLineNumberExclusive,ve.modified.endLineNumberExclusive-B.modified.endLineNumberExclusive);let Ve;for(Ve=0;Ve<M;Ve++){const we=B.original.startLineNumber-Ve-1,Ye=B.modified.startLineNumber-Ve-1;if(we>r.length||Ye>i.length||l.contains(Ye)||b.contains(we)||!zd(r[we-1],i[Ye-1],s))break}Ve>0&&(b.addRange(new rr(B.original.startLineNumber-Ve,B.original.startLineNumber)),l.addRange(new rr(B.modified.startLineNumber-Ve,B.modified.startLineNumber)));let he;for(he=0;he<Fe;he++){const we=B.original.endLineNumberExclusive+he,Ye=B.modified.endLineNumberExclusive+he;if(we>r.length||Ye>i.length||l.contains(Ye)||b.contains(we)||!zd(r[we-1],i[Ye-1],s))break}he>0&&(b.addRange(new rr(B.original.endLineNumberExclusive,B.original.endLineNumberExclusive+he)),l.addRange(new rr(B.modified.endLineNumberExclusive,B.modified.endLineNumberExclusive+he))),(Ve>0||he>0)&&(a[N]=new Cs(new rr(B.original.startLineNumber-Ve,B.original.endLineNumberExclusive+he),new rr(B.modified.startLineNumber-Ve,B.modified.endLineNumberExclusive+he)))}return a}function zd(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;const i=new Gd().compute(new lu([e],new Kn(0,1),!1),new lu([t],new Kn(0,1),!1),n);let s=0;const a=kr.invert(i.diffs,e.length);for(const b of a)b.seq1Range.forEach(c=>{ac(e.charCodeAt(c))||s++});function o(b){let c=0;for(let N=0;N<e.length;N++)ac(b.charCodeAt(N))||c++;return c}const u=o(e.length>t.length?e:t);return s/u>.6&&u>10}function Dy(e){if(e.length===0)return e;e.sort(tu(n=>n.original.startLineNumber,nu));const t=[e[0]];for(let n=1;n<e.length;n++){const r=t[t.length-1],i=e[n],s=i.original.startLineNumber-r.original.endLineNumberExclusive,a=i.modified.startLineNumber-r.modified.endLineNumberExclusive;if(s>=0&&a>=0&&s+a<=2){t[t.length-1]=r.join(i);continue}t.push(i)}return t}function by(e,t){const n=new go(e);return t=t.filter(r=>{const i=n.findLastMonotonous(o=>o.original.endLineNumberExclusive<r.original.endLineNumberExclusive)||new Cs(new rr(1,1),new rr(1,1)),s=ho(e,o=>o.modified.endLineNumberExclusive<r.modified.endLineNumberExclusive);return i!==s}),t}function Qd(e,t,n){let r=n;return r=vy(e,t,r),r=Ey(e,t,r),r}function vy(e,t,n){if(n.length===0)return n;const r=[];r.push(n[0]);for(let s=1;s<n.length;s++){const a=r[r.length-1];let o=n[s];if(o.seq1Range.isEmpty||o.seq2Range.isEmpty){const u=o.seq1Range.start-a.seq1Range.endExclusive;let l;for(l=1;l<=u&&!(e.getElement(o.seq1Range.start-l)!==e.getElement(o.seq1Range.endExclusive-l)||t.getElement(o.seq2Range.start-l)!==t.getElement(o.seq2Range.endExclusive-l));l++);if(l--,l===u){r[r.length-1]=new kr(new Kn(a.seq1Range.start,o.seq1Range.endExclusive-u),new Kn(a.seq2Range.start,o.seq2Range.endExclusive-u));continue}o=o.delta(-l)}r.push(o)}const i=[];for(let s=0;s<r.length-1;s++){const a=r[s+1];let o=r[s];if(o.seq1Range.isEmpty||o.seq2Range.isEmpty){const u=a.seq1Range.start-o.seq1Range.endExclusive;let l;for(l=0;l<u&&!(!e.isStronglyEqual(o.seq1Range.start+l,o.seq1Range.endExclusive+l)||!t.isStronglyEqual(o.seq2Range.start+l,o.seq2Range.endExclusive+l));l++);if(l===u){r[s+1]=new kr(new Kn(o.seq1Range.start+u,a.seq1Range.endExclusive),new Kn(o.seq2Range.start+u,a.seq2Range.endExclusive));continue}l>0&&(o=o.delta(l))}i.push(o)}return r.length>0&&i.push(r[r.length-1]),i}function Ey(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r<n.length;r++){const i=r>0?n[r-1]:void 0,s=n[r],a=r+1<n.length?n[r+1]:void 0,o=new Kn(i?i.seq1Range.start+1:0,a?a.seq1Range.endExclusive-1:e.length),u=new Kn(i?i.seq2Range.start+1:0,a?a.seq2Range.endExclusive-1:t.length);s.seq1Range.isEmpty?n[r]=Xd(s,e,t,o,u):s.seq2Range.isEmpty&&(n[r]=Xd(s.swap(),t,e,u,o).swap())}return n}function Xd(e,t,n,r,i){let a=1;for(;e.seq1Range.start-a>=r.start&&e.seq2Range.start-a>=i.start&&n.isStronglyEqual(e.seq2Range.start-a,e.seq2Range.endExclusive-a)&&a<100;)a++;a--;let o=0;for(;e.seq1Range.start+o<r.endExclusive&&e.seq2Range.endExclusive+o<i.endExclusive&&n.isStronglyEqual(e.seq2Range.start+o,e.seq2Range.endExclusive+o)&&o<100;)o++;if(a===0&&o===0)return e;let u=0,l=-1;for(let b=-a;b<=o;b++){const c=e.seq2Range.start+b,N=e.seq2Range.endExclusive+b,B=e.seq1Range.start+b,ne=t.getBoundaryScore(B)+n.getBoundaryScore(c)+n.getBoundaryScore(N);ne>l&&(l=ne,u=b)}return e.delta(u)}function Ay(e,t,n){const r=[];for(const i of n){const s=r[r.length-1];if(!s){r.push(i);continue}i.seq1Range.start-s.seq1Range.endExclusive<=2||i.seq2Range.start-s.seq2Range.endExclusive<=2?r[r.length-1]=new kr(s.seq1Range.join(i.seq1Range),s.seq2Range.join(i.seq2Range)):r.push(i)}return r}function Cy(e,t,n){const r=[];let i;function s(){if(!i)return;const o=i.s1Range.length-i.deleted;i.s2Range.length-i.added,Math.max(i.deleted,i.added)+(i.count-1)>o&&r.push(new kr(i.s1Range,i.s2Range)),i=void 0}for(const o of n){let u=function(B,ne){var Q,M,de,ve;if(!i||!i.s1Range.containsRange(B)||!i.s2Range.containsRange(ne))if(i&&!(i.s1Range.endExclusive<B.start&&i.s2Range.endExclusive<ne.start)){const he=Kn.tryCreate(i.s1Range.endExclusive,B.start),we=Kn.tryCreate(i.s2Range.endExclusive,ne.start);i.deleted+=(Q=he?.length)!==null&&Q!==void 0?Q:0,i.added+=(M=we?.length)!==null&&M!==void 0?M:0,i.s1Range=i.s1Range.join(B),i.s2Range=i.s2Range.join(ne)}else s(),i={added:0,deleted:0,count:0,s1Range:B,s2Range:ne};const Fe=B.intersect(o.seq1Range),Ve=ne.intersect(o.seq2Range);i.count++,i.deleted+=(de=Fe?.length)!==null&&de!==void 0?de:0,i.added+=(ve=Ve?.length)!==null&&ve!==void 0?ve:0};const l=e.findWordContaining(o.seq1Range.start-1),b=t.findWordContaining(o.seq2Range.start-1),c=e.findWordContaining(o.seq1Range.endExclusive),N=t.findWordContaining(o.seq2Range.endExclusive);l&&c&&b&&N&&l.equals(c)&&b.equals(N)?u(l,b):(l&&b&&u(l,b),c&&N&&u(c,N))}return s(),xy(n,r)}function xy(e,t){const n=[];for(;e.length>0||t.length>0;){const r=e[0],i=t[0];let s;r&&(!i||r.seq1Range.start<i.seq1Range.start)?s=e.shift():s=t.shift(),n.length>0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}function Sy(e,t,n){let r=n;if(r.length===0)return r;let i=0,s;do{s=!1;const a=[r[0]];for(let o=1;o<r.length;o++){let b=function(N,B){const ne=new Kn(l.seq1Range.endExclusive,u.seq1Range.start);return e.getText(ne).replace(/\s/g,"").length<=4&&(N.seq1Range.length+N.seq2Range.length>5||B.seq1Range.length+B.seq2Range.length>5)};const u=r[o],l=a[a.length-1];b(l,u)?(s=!0,a[a.length-1]=a[a.length-1].join(u)):a.push(u)}r=a}while(i++<10&&s);return r}function wy(e,t,n){let r=n;if(r.length===0)return r;let i=0,s;do{s=!1;const o=[r[0]];for(let u=1;u<r.length;u++){let c=function(B,ne){const Q=new Kn(b.seq1Range.endExclusive,l.seq1Range.start);if(e.countLinesIn(Q)>5||Q.length>500)return!1;const de=e.getText(Q).trim();if(de.length>20||de.split(/\r\n|\r|\n/).length>1)return!1;const ve=e.countLinesIn(B.seq1Range),Fe=B.seq1Range.length,Ve=t.countLinesIn(B.seq2Range),he=B.seq2Range.length,we=e.countLinesIn(ne.seq1Range),Ye=ne.seq1Range.length,ze=t.countLinesIn(ne.seq2Range),Oe=ne.seq2Range.length,Ke=2*40+50;function Qe(xe){return Math.min(xe,Ke)}return Math.pow(Math.pow(Qe(ve*40+Fe),1.5)+Math.pow(Qe(Ve*40+he),1.5),1.5)+Math.pow(Math.pow(Qe(we*40+Ye),1.5)+Math.pow(Qe(ze*40+Oe),1.5),1.5)>Math.pow(Math.pow(Ke,1.5),1.5)*1.3};const l=r[u],b=o[o.length-1];c(b,l)?(s=!0,o[o.length-1]=o[o.length-1].join(l)):o.push(l)}r=o}while(i++<10&&s);const a=[];return S1(r,(o,u,l)=>{let b=u;function c(de){return de.length>0&&de.trim().length<=3&&u.seq1Range.length+u.seq2Range.length>100}const N=e.extendToFullLines(u.seq1Range),B=e.getText(new Kn(N.start,u.seq1Range.start));c(B)&&(b=b.deltaStart(-B.length));const ne=e.getText(new Kn(u.seq1Range.endExclusive,N.endExclusive));c(ne)&&(b=b.deltaEnd(ne.length));const Q=kr.fromOffsetPairs(o?o.getEndExclusives():Hi.zero,l?l.getStarts():Hi.max),M=b.intersect(Q);a.push(M)}),a}class Kd{constructor(t,n){this.trimmedHash=t,this.lines=n}getElement(t){return this.trimmedHash[t]}get length(){return this.trimmedHash.length}getBoundaryScore(t){const n=t===0?0:Zd(this.lines[t-1]),r=t===this.lines.length?0:Zd(this.lines[t]);return 1e3-(n+r)}getText(t){return this.lines.slice(t.start,t.endExclusive).join(`
12
- `)}isStronglyEqual(t,n){return this.lines[t]===this.lines[n]}}function Zd(e){let t=0;for(;t<e.length&&(e.charCodeAt(t)===32||e.charCodeAt(t)===9);)t++;return t}class Fy{constructor(){this.dynamicProgrammingDiffing=new cy,this.myersDiffingAlgorithm=new Gd}computeDiff(t,n,r){if(t.length<=1&&A1(t,n,(he,we)=>he===we))return new uu([],[],!1);if(t.length===1&&t[0].length===0||n.length===1&&n[0].length===0)return new uu([new ts(new rr(1,t.length+1),new rr(1,n.length+1),[new yo(new Ur(1,1,t.length,t[0].length+1),new Ur(1,1,n.length,n[0].length+1))])],[],!1);const i=r.maxComputationTimeMs===0?bo.instance:new ly(r.maxComputationTimeMs),s=!r.ignoreTrimWhitespace,a=new Map;function o(he){let we=a.get(he);return we===void 0&&(we=a.size,a.set(he,we)),we}const u=t.map(he=>o(he.trim())),l=n.map(he=>o(he.trim())),b=new Kd(u,t),c=new Kd(l,n),N=(()=>b.length+c.length<1700?this.dynamicProgrammingDiffing.compute(b,c,i,(he,we)=>t[he]===n[we]?n[we].length===0?.1:1+Math.log(1+n[we].length):.99):this.myersDiffingAlgorithm.compute(b,c))();let B=N.diffs,ne=N.hitTimeout;B=Qd(b,c,B),B=Sy(b,c,B);const Q=[],M=he=>{if(s)for(let we=0;we<he;we++){const Ye=de+we,ze=ve+we;if(t[Ye]!==n[ze]){const Oe=this.refineDiff(t,n,new kr(new Kn(Ye,Ye+1),new Kn(ze,ze+1)),i,s);for(const Ke of Oe.mappings)Q.push(Ke);Oe.hitTimeout&&(ne=!0)}}};let de=0,ve=0;for(const he of B){ou(()=>he.seq1Range.start-de===he.seq2Range.start-ve);const we=he.seq1Range.start-de;M(we),de=he.seq1Range.endExclusive,ve=he.seq2Range.endExclusive;const Ye=this.refineDiff(t,n,he,i,s);Ye.hitTimeout&&(ne=!0);for(const ze of Ye.mappings)Q.push(ze)}M(t.length-de);const Fe=eh(Q,t,n);let Ve=[];return r.computeMoves&&(Ve=this.computeMoves(Fe,t,n,u,l,i,s)),ou(()=>{function he(Ye,ze){if(Ye.lineNumber<1||Ye.lineNumber>ze.length)return!1;const Oe=ze[Ye.lineNumber-1];return!(Ye.column<1||Ye.column>Oe.length+1)}function we(Ye,ze){return!(Ye.startLineNumber<1||Ye.startLineNumber>ze.length+1||Ye.endLineNumberExclusive<1||Ye.endLineNumberExclusive>ze.length+1)}for(const Ye of Fe){if(!Ye.innerChanges)return!1;for(const ze of Ye.innerChanges)if(!(he(ze.modifiedRange.getStartPosition(),n)&&he(ze.modifiedRange.getEndPosition(),n)&&he(ze.originalRange.getStartPosition(),t)&&he(ze.originalRange.getEndPosition(),t)))return!1;if(!we(Ye.modified,n)||!we(Ye.original,t))return!1}return!0}),new uu(Fe,Ve,ne)}computeMoves(t,n,r,i,s,a,o){return my(t,n,r,i,s,a).map(b=>{const c=this.refineDiff(n,r,new kr(b.original.toOffsetRange(),b.modified.toOffsetRange()),a,o),N=eh(c.mappings,n,r,!0);return new ny(b,N)})}refineDiff(t,n,r,i,s){const a=new lu(t,r.seq1Range,s),o=new lu(n,r.seq2Range,s),u=a.length+o.length<500?this.dynamicProgrammingDiffing.compute(a,o,i):this.myersDiffingAlgorithm.compute(a,o,i);let l=u.diffs;return l=Qd(a,o,l),l=Cy(a,o,l),l=Ay(a,o,l),l=wy(a,o,l),{mappings:l.map(c=>new yo(a.translateRange(c.seq1Range),o.translateRange(c.seq2Range))),hitTimeout:u.hitTimeout}}}function eh(e,t,n,r=!1){const i=[];for(const s of C1(e.map(a=>Ny(a,t,n)),(a,o)=>a.original.overlapOrTouch(o.original)||a.modified.overlapOrTouch(o.modified))){const a=s[0],o=s[s.length-1];i.push(new ts(a.original.join(o.original),a.modified.join(o.modified),s.map(u=>u.innerChanges[0])))}return ou(()=>!r&&i.length>0&&i[0].original.startLineNumber!==i[0].modified.startLineNumber?!1:Rd(i,(s,a)=>a.original.startLineNumber-s.original.endLineNumberExclusive===a.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive<a.original.startLineNumber&&s.modified.endLineNumberExclusive<a.modified.startLineNumber)),i}function Ny(e,t,n){let r=0,i=0;e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1),e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);const s=new rr(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),a=new rr(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i);return new ts(s,a,[e])}const th={getLegacy:()=>new sy,getDefault:()=>new Fy};function xs(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class Wr{constructor(t,n,r,i=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,t))|0,this.g=Math.min(255,Math.max(0,n))|0,this.b=Math.min(255,Math.max(0,r))|0,this.a=xs(Math.max(Math.min(1,i),0),3)}static equals(t,n){return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a}}class Si{constructor(t,n,r,i){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=xs(Math.max(Math.min(1,n),0),3),this.l=xs(Math.max(Math.min(1,r),0),3),this.a=xs(Math.max(Math.min(1,i),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.l===n.l&&t.a===n.a}static fromRGBA(t){const n=t.r/255,r=t.g/255,i=t.b/255,s=t.a,a=Math.max(n,r,i),o=Math.min(n,r,i);let u=0,l=0;const b=(o+a)/2,c=a-o;if(c>0){switch(l=Math.min(b<=.5?c/(2*b):c/(2-2*b),1),a){case n:u=(r-i)/c+(r<i?6:0);break;case r:u=(i-n)/c+2;break;case i:u=(n-r)/c+4;break}u*=60,u=Math.round(u)}return new Si(u,l,b,s)}static _hue2rgb(t,n,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(n-t)*6*r:r<1/2?n:r<2/3?t+(n-t)*(2/3-r)*6:t}static toRGBA(t){const n=t.h/360,{s:r,l:i,a:s}=t;let a,o,u;if(r===0)a=o=u=i;else{const l=i<.5?i*(1+r):i+r-i*r,b=2*i-l;a=Si._hue2rgb(b,l,n+1/3),o=Si._hue2rgb(b,l,n),u=Si._hue2rgb(b,l,n-1/3)}return new Wr(Math.round(a*255),Math.round(o*255),Math.round(u*255),s)}}class Ea{constructor(t,n,r,i){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=xs(Math.max(Math.min(1,n),0),3),this.v=xs(Math.max(Math.min(1,r),0),3),this.a=xs(Math.max(Math.min(1,i),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.v===n.v&&t.a===n.a}static fromRGBA(t){const n=t.r/255,r=t.g/255,i=t.b/255,s=Math.max(n,r,i),a=Math.min(n,r,i),o=s-a,u=s===0?0:o/s;let l;return o===0?l=0:s===n?l=((r-i)/o%6+6)%6:s===r?l=(i-n)/o+2:l=(n-r)/o+4,new Ea(Math.round(l*60),u,s,t.a)}static toRGBA(t){const{h:n,s:r,v:i,a:s}=t,a=i*r,o=a*(1-Math.abs(n/60%2-1)),u=i-a;let[l,b,c]=[0,0,0];return n<60?(l=a,b=o):n<120?(l=o,b=a):n<180?(b=a,c=o):n<240?(b=o,c=a):n<300?(l=o,c=a):n<=360&&(l=a,c=o),l=Math.round((l+u)*255),b=Math.round((b+u)*255),c=Math.round((c+u)*255),new Wr(l,b,c,s)}}let Rr=class Pi{static fromHex(t){return Pi.Format.CSS.parseHex(t)||Pi.red}static equals(t,n){return!t&&!n?!0:!t||!n?!1:t.equals(n)}get hsla(){return this._hsla?this._hsla:Si.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:Ea.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof Wr)this.rgba=t;else if(t instanceof Si)this._hsla=t,this.rgba=Si.toRGBA(t);else if(t instanceof Ea)this._hsva=t,this.rgba=Ea.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&Wr.equals(this.rgba,t.rgba)&&Si.equals(this.hsla,t.hsla)&&Ea.equals(this.hsva,t.hsva)}getRelativeLuminance(){const t=Pi._relativeLuminanceForComponent(this.rgba.r),n=Pi._relativeLuminanceForComponent(this.rgba.g),r=Pi._relativeLuminanceForComponent(this.rgba.b),i=.2126*t+.7152*n+.0722*r;return xs(i,4)}static _relativeLuminanceForComponent(t){const n=t/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(t){const n=this.getRelativeLuminance(),r=t.getRelativeLuminance();return n>r}isDarkerThan(t){const n=this.getRelativeLuminance(),r=t.getRelativeLuminance();return n<r}lighten(t){return new Pi(new Si(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))}darken(t){return new Pi(new Si(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))}transparent(t){const{r:n,g:r,b:i,a:s}=this.rgba;return new Pi(new Wr(n,r,i,s*t))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new Pi(new Wr(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}makeOpaque(t){if(this.isOpaque()||t.rgba.a!==1)return this;const{r:n,g:r,b:i,a:s}=this.rgba;return new Pi(new Wr(t.rgba.r-s*(t.rgba.r-n),t.rgba.g-s*(t.rgba.g-r),t.rgba.b-s*(t.rgba.b-i),1))}toString(){return this._toString||(this._toString=Pi.Format.CSS.format(this)),this._toString}static getLighterColor(t,n,r){if(t.isLighterThan(n))return t;r=r||.5;const i=t.getRelativeLuminance(),s=n.getRelativeLuminance();return r=r*(s-i)/s,t.lighten(r)}static getDarkerColor(t,n,r){if(t.isDarkerThan(n))return t;r=r||.5;const i=t.getRelativeLuminance(),s=n.getRelativeLuminance();return r=r*(i-s)/i,t.darken(r)}};Rr.white=new Rr(new Wr(255,255,255,1)),Rr.black=new Rr(new Wr(0,0,0,1)),Rr.red=new Rr(new Wr(255,0,0,1)),Rr.blue=new Rr(new Wr(0,0,255,1)),Rr.green=new Rr(new Wr(0,255,0,1)),Rr.cyan=new Rr(new Wr(0,255,255,1)),Rr.lightgrey=new Rr(new Wr(211,211,211,1)),Rr.transparent=new Rr(new Wr(0,0,0,0)),function(e){(function(t){(function(n){function r(B){return B.rgba.a===1?`rgb(${B.rgba.r}, ${B.rgba.g}, ${B.rgba.b})`:e.Format.CSS.formatRGBA(B)}n.formatRGB=r;function i(B){return`rgba(${B.rgba.r}, ${B.rgba.g}, ${B.rgba.b}, ${+B.rgba.a.toFixed(2)})`}n.formatRGBA=i;function s(B){return B.hsla.a===1?`hsl(${B.hsla.h}, ${(B.hsla.s*100).toFixed(2)}%, ${(B.hsla.l*100).toFixed(2)}%)`:e.Format.CSS.formatHSLA(B)}n.formatHSL=s;function a(B){return`hsla(${B.hsla.h}, ${(B.hsla.s*100).toFixed(2)}%, ${(B.hsla.l*100).toFixed(2)}%, ${B.hsla.a.toFixed(2)})`}n.formatHSLA=a;function o(B){const ne=B.toString(16);return ne.length!==2?"0"+ne:ne}function u(B){return`#${o(B.rgba.r)}${o(B.rgba.g)}${o(B.rgba.b)}`}n.formatHex=u;function l(B,ne=!1){return ne&&B.rgba.a===1?e.Format.CSS.formatHex(B):`#${o(B.rgba.r)}${o(B.rgba.g)}${o(B.rgba.b)}${o(Math.round(B.rgba.a*255))}`}n.formatHexA=l;function b(B){return B.isOpaque()?e.Format.CSS.formatHex(B):e.Format.CSS.formatRGBA(B)}n.format=b;function c(B){const ne=B.length;if(ne===0||B.charCodeAt(0)!==35)return null;if(ne===7){const Q=16*N(B.charCodeAt(1))+N(B.charCodeAt(2)),M=16*N(B.charCodeAt(3))+N(B.charCodeAt(4)),de=16*N(B.charCodeAt(5))+N(B.charCodeAt(6));return new e(new Wr(Q,M,de,1))}if(ne===9){const Q=16*N(B.charCodeAt(1))+N(B.charCodeAt(2)),M=16*N(B.charCodeAt(3))+N(B.charCodeAt(4)),de=16*N(B.charCodeAt(5))+N(B.charCodeAt(6)),ve=16*N(B.charCodeAt(7))+N(B.charCodeAt(8));return new e(new Wr(Q,M,de,ve/255))}if(ne===4){const Q=N(B.charCodeAt(1)),M=N(B.charCodeAt(2)),de=N(B.charCodeAt(3));return new e(new Wr(16*Q+Q,16*M+M,16*de+de))}if(ne===5){const Q=N(B.charCodeAt(1)),M=N(B.charCodeAt(2)),de=N(B.charCodeAt(3)),ve=N(B.charCodeAt(4));return new e(new Wr(16*Q+Q,16*M+M,16*de+de,(16*ve+ve)/255))}return null}n.parseHex=c;function N(B){switch(B){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(t.CSS||(t.CSS={}))})(e.Format||(e.Format={}))}(Rr||(Rr={}));function nh(e){const t=[];for(const n of e){const r=Number(n);(r||r===0&&n.replace(/\s/g,"")!=="")&&t.push(r)}return t}function uc(e,t,n,r){return{red:e/255,blue:n/255,green:t/255,alpha:r}}function vo(e,t){const n=t.index,r=t[0].length;if(!n)return;const i=e.positionAt(n);return{startLineNumber:i.lineNumber,startColumn:i.column,endLineNumber:i.lineNumber,endColumn:i.column+r}}function Ty(e,t){if(!e)return;const n=Rr.Format.CSS.parseHex(t);if(n)return{range:e,color:uc(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function rh(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=nh(i);return{range:e,color:uc(s[0],s[1],s[2],n?s[3]:1)}}function ih(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=nh(i),a=new Rr(new Si(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:e,color:uc(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function Eo(e,t){return typeof e=="string"?[...e.matchAll(t)]:e.findMatches(t)}function _y(e){const t=[],r=Eo(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(r.length>0)for(const i of r){const s=i.filter(l=>l!==void 0),a=s[1],o=s[2];if(!o)continue;let u;if(a==="rgb"){const l=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;u=rh(vo(e,i),Eo(o,l),!1)}else if(a==="rgba"){const l=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;u=rh(vo(e,i),Eo(o,l),!0)}else if(a==="hsl"){const l=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;u=ih(vo(e,i),Eo(o,l),!1)}else if(a==="hsla"){const l=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;u=ih(vo(e,i),Eo(o,l),!0)}else a==="#"&&(u=Ty(vo(e,i),a+o));u&&t.push(u)}return t}function Ly(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:_y(e)}var Ss=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function o(b){try{l(r.next(b))}catch(c){a(c)}}function u(b){try{l(r.throw(b))}catch(c){a(c)}}function l(b){b.done?s(b.value):i(b.value).then(o,u)}l((r=r.apply(e,t||[])).next())})};class ky extends _1{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(t){const n=[];for(let r=0;r<this._lines.length;r++){const i=this._lines[r],s=this.offsetAt(new Ji(r+1,1)),a=i.matchAll(t);for(const o of a)(o.index||o.index===0)&&(o.index=o.index+s),n.push(o)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){const r=Wl(t.column,P1(n),this._lines[t.lineNumber-1],0);return r?new Ur(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):null}words(t){const n=this._lines,r=this._wordenize.bind(this);let i=0,s="",a=0,o=[];return{*[Symbol.iterator](){for(;;)if(a<o.length){const u=s.substring(o[a].start,o[a].end);a+=1,yield u}else if(i<n.length)s=n[i],o=r(s,t),a=0,i+=1;else break}}}getLineWords(t,n){const r=this._lines[t-1],i=this._wordenize(r,n),s=[];for(const a of i)s.push({word:r.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return s}_wordenize(t,n){const r=[];let i;for(n.lastIndex=0;(i=n.exec(t))&&i[0].length!==0;)r.push({start:i.index,end:i.index+i[0].length});return r}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const n=this._eol,r=t.startLineNumber-1,i=t.endLineNumber-1,s=[];s.push(this._lines[r].substring(t.startColumn-1));for(let a=r+1;a<i;a++)s.push(this._lines[a]);return s.push(this._lines[i].substring(0,t.endColumn-1)),s.join(n)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const n=this._lineStarts.getIndexOf(t),r=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,r)}}_validateRange(t){const n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),r=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||r.lineNumber!==t.endLineNumber||r.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:r.lineNumber,endColumn:r.column}:t}_validatePosition(t){if(!Ji.isIPosition(t))throw new Error("bad position");let{lineNumber:n,column:r}=t,i=!1;if(n<1)n=1,r=1,i=!0;else if(n>this._lines.length)n=this._lines.length,r=this._lines[n-1].length+1,i=!0;else{const s=this._lines[n-1].length+1;r<1?(r=1,i=!0):r>s&&(r=s,i=!0)}return i?{lineNumber:n,column:r}:t}}class Rs{constructor(t,n){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(t){return this._models[t]}_getModels(){const t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}acceptNewModel(t){this._models[t.url]=new ky(Vl.parse(t.url),t.lines,t.EOL,t.versionId)}acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}acceptRemovedModel(t){this._models[t]&&delete this._models[t]}computeUnicodeHighlights(t,n,r){return Ss(this,void 0,void 0,function*(){const i=this._getModel(t);return i?ey.computeUnicodeHighlights(i,n,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(t,n,r,i){return Ss(this,void 0,void 0,function*(){const s=this._getModel(t),a=this._getModel(n);return!s||!a?null:Rs.computeDiff(s,a,r,i)})}static computeDiff(t,n,r,i){const s=i==="advanced"?th.getDefault():th.getLegacy(),a=t.getLinesContent(),o=n.getLinesContent(),u=s.computeDiff(a,o,r),l=u.changes.length>0?!1:this._modelsAreIdentical(t,n);function b(c){return c.map(N=>{var B;return[N.original.startLineNumber,N.original.endLineNumberExclusive,N.modified.startLineNumber,N.modified.endLineNumberExclusive,(B=N.innerChanges)===null||B===void 0?void 0:B.map(ne=>[ne.originalRange.startLineNumber,ne.originalRange.startColumn,ne.originalRange.endLineNumber,ne.originalRange.endColumn,ne.modifiedRange.startLineNumber,ne.modifiedRange.startColumn,ne.modifiedRange.endLineNumber,ne.modifiedRange.endColumn])]})}return{identical:l,quitEarly:u.hitTimeout,changes:b(u.changes),moves:u.moves.map(c=>[c.lineRangeMapping.original.startLineNumber,c.lineRangeMapping.original.endLineNumberExclusive,c.lineRangeMapping.modified.startLineNumber,c.lineRangeMapping.modified.endLineNumberExclusive,b(c.changes)])}}static _modelsAreIdentical(t,n){const r=t.getLineCount(),i=n.getLineCount();if(r!==i)return!1;for(let s=1;s<=r;s++){const a=t.getLineContent(s),o=n.getLineContent(s);if(a!==o)return!1}return!0}computeMoreMinimalEdits(t,n,r){return Ss(this,void 0,void 0,function*(){const i=this._getModel(t);if(!i)return n;const s=[];let a;n=n.slice(0).sort((u,l)=>{if(u.range&&l.range)return Ur.compareRangesUsingStarts(u.range,l.range);const b=u.range?0:1,c=l.range?0:1;return b-c});let o=0;for(let u=1;u<n.length;u++)Ur.getEndPosition(n[o].range).equals(Ur.getStartPosition(n[u].range))?(n[o].range=Ur.fromPositions(Ur.getStartPosition(n[o].range),Ur.getEndPosition(n[u].range)),n[o].text+=n[u].text):(o++,n[o]=n[u]);n.length=o+1;for(let{range:u,text:l,eol:b}of n){if(typeof b=="number"&&(a=b),Ur.isEmpty(u)&&!l)continue;const c=i.getValueInRange(u);if(l=l.replace(/\r\n|\n|\r/g,i.eol),c===l)continue;if(Math.max(l.length,c.length)>Rs._diffLimit){s.push({range:u,text:l});continue}const N=i1(c,l,r),B=i.offsetAt(Ur.lift(u).getStartPosition());for(const ne of N){const Q=i.positionAt(B+ne.originalStart),M=i.positionAt(B+ne.originalStart+ne.originalLength),de={text:l.substr(ne.modifiedStart,ne.modifiedLength),range:{startLineNumber:Q.lineNumber,startColumn:Q.column,endLineNumber:M.lineNumber,endColumn:M.column}};i.getValueInRange(de.range)!==de.text&&s.push(de)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(t){return Ss(this,void 0,void 0,function*(){const n=this._getModel(t);return n?R1(n):null})}computeDefaultDocumentColors(t){return Ss(this,void 0,void 0,function*(){const n=this._getModel(t);return n?Ly(n):null})}textualSuggest(t,n,r,i){return Ss(this,void 0,void 0,function*(){const s=new Qo,a=new RegExp(r,i),o=new Set;e:for(const u of t){const l=this._getModel(u);if(l){for(const b of l.words(a))if(!(b===n||!isNaN(Number(b)))&&(o.add(b),o.size>Rs._suggestionsLimit))break e}}return{words:Array.from(o),duration:s.elapsed()}})}computeWordRanges(t,n,r,i){return Ss(this,void 0,void 0,function*(){const s=this._getModel(t);if(!s)return Object.create(null);const a=new RegExp(r,i),o=Object.create(null);for(let u=n.startLineNumber;u<n.endLineNumber;u++){const l=s.getLineWords(u,a);for(const b of l){if(!isNaN(Number(b.word)))continue;let c=o[b.word];c||(c=[],o[b.word]=c),c.push({startLineNumber:u,startColumn:b.startColumn,endLineNumber:u,endColumn:b.endColumn})}}return o})}navigateValueSet(t,n,r,i,s){return Ss(this,void 0,void 0,function*(){const a=this._getModel(t);if(!a)return null;const o=new RegExp(i,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});const u=a.getValueInRange(n),l=a.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},o);if(!l)return null;const b=a.getValueInRange(l);return Yl.INSTANCE.navigateValueSet(n,u,l,b,r)})}loadForeignModule(t,n,r){const a={host:Lg(r,(o,u)=>this._host.fhr(o,u)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,n),Promise.resolve(Pl(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(r){return Promise.reject(r)}}}Rs._diffLimit=1e5,Rs._suggestionsLimit=1e4,typeof importScripts=="function"&&(globalThis.monaco=H1());let lc=!1;function sh(e){if(lc)return;lc=!0;const t=new n1(n=>{globalThis.postMessage(n)},n=>new Rs(n,e));globalThis.onmessage=n=>{t.onmessage(n.data)}}globalThis.onmessage=e=>{lc||sh(null)};function Py(e){self.onmessage=()=>{sh((t,n)=>Object.create(e(t,n)))}}let ah=class bp{constructor(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){const n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content}update(t,n){for(let r of t)if(bp.isIncremental(r)){const i=uh(r.range),s=this.offsetAt(i.start),a=this.offsetAt(i.end);this._content=this._content.substring(0,s)+r.text+this._content.substring(a,this._content.length);const o=Math.max(i.start.line,0),u=Math.max(i.end.line,0);let l=this._lineOffsets;const b=oh(r.text,!1,s);if(u-o===b.length)for(let N=0,B=b.length;N<B;N++)l[N+o+1]=b[N];else b.length<1e4?l.splice(o+1,u-o,...b):this._lineOffsets=l=l.slice(0,o+1).concat(b,l.slice(u+1));const c=r.text.length-(a-s);if(c!==0)for(let N=o+1+b.length,B=l.length;N<B;N++)l[N]=l[N]+c}else if(bp.isFull(r))this._content=r.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=oh(this._content,!0)),this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return{line:0,character:t};for(;r<i;){let a=Math.floor((r+i)/2);n[a]>t?i=a:r=a+1}let s=r-1;return{line:s,character:t-n[s]}}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let r=n[t.line],i=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(r+t.character,i),r)}get lineCount(){return this.getLineOffsets().length}static isIncremental(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}};var cc;(function(e){function t(i,s,a,o){return new ah(i,s,a,o)}e.create=t;function n(i,s,a){if(i instanceof ah)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=n;function r(i,s){let a=i.getText(),o=fc(s.map(By),(b,c)=>{let N=b.range.start.line-c.range.start.line;return N===0?b.range.start.character-c.range.start.character:N}),u=0;const l=[];for(const b of o){let c=i.offsetAt(b.range.start);if(c<u)throw new Error("Overlapping edit");c>u&&l.push(a.substring(u,c)),b.newText.length&&l.push(b.newText),u=i.offsetAt(b.range.end)}return l.push(a.substr(u)),l.join("")}e.applyEdits=r})(cc||(cc={}));function fc(e,t){if(e.length<=1)return e;const n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);fc(r,t),fc(i,t);let s=0,a=0,o=0;for(;s<r.length&&a<i.length;)t(r[s],i[a])<=0?e[o++]=r[s++]:e[o++]=i[a++];for(;s<r.length;)e[o++]=r[s++];for(;a<i.length;)e[o++]=i[a++];return e}function oh(e,t,n=0){const r=t?[n]:[];for(let i=0;i<e.length;i++){let s=e.charCodeAt(i);(s===13||s===10)&&(s===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,r.push(n+i+1))}return r}function uh(e){const t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function By(e){const t=uh(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function My(e,t=!1){const n=e.length;let r=0,i="",s=0,a=16,o=0,u=0,l=0,b=0,c=0;function N(Fe,Ve){let he=0,we=0;for(;he<Fe||!Ve;){let Ye=e.charCodeAt(r);if(Ye>=48&&Ye<=57)we=we*16+Ye-48;else if(Ye>=65&&Ye<=70)we=we*16+Ye-65+10;else if(Ye>=97&&Ye<=102)we=we*16+Ye-97+10;else break;r++,he++}return he<Fe&&(we=-1),we}function B(Fe){r=Fe,i="",s=0,a=16,c=0}function ne(){let Fe=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&Aa(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&Aa(e.charCodeAt(r)))for(r++;r<e.length&&Aa(e.charCodeAt(r));)r++;else return c=3,e.substring(Fe,r);let Ve=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&Aa(e.charCodeAt(r))){for(r++;r<e.length&&Aa(e.charCodeAt(r));)r++;Ve=r}else c=3;return e.substring(Fe,Ve)}function Q(){let Fe="",Ve=r;for(;;){if(r>=n){Fe+=e.substring(Ve,r),c=2;break}const he=e.charCodeAt(r);if(he===34){Fe+=e.substring(Ve,r),r++;break}if(he===92){if(Fe+=e.substring(Ve,r),r++,r>=n){c=2;break}switch(e.charCodeAt(r++)){case 34:Fe+='"';break;case 92:Fe+="\\";break;case 47:Fe+="/";break;case 98:Fe+="\b";break;case 102:Fe+="\f";break;case 110:Fe+=`
13
- `;break;case 114:Fe+="\r";break;case 116:Fe+=" ";break;case 117:const Ye=N(4,!0);Ye>=0?Fe+=String.fromCharCode(Ye):c=4;break;default:c=5}Ve=r;continue}if(he>=0&&he<=31)if(Ao(he)){Fe+=e.substring(Ve,r),c=2;break}else c=6;r++}return Fe}function M(){if(i="",c=0,s=r,u=o,b=l,r>=n)return s=n,a=17;let Fe=e.charCodeAt(r);if(pc(Fe)){do r++,i+=String.fromCharCode(Fe),Fe=e.charCodeAt(r);while(pc(Fe));return a=15}if(Ao(Fe))return r++,i+=String.fromCharCode(Fe),Fe===13&&e.charCodeAt(r)===10&&(r++,i+=`
14
- `),o++,l=r,a=14;switch(Fe){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=Q(),a=10;case 47:const Ve=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!Ao(e.charCodeAt(r));)r++;return i=e.substring(Ve,r),a=12}if(e.charCodeAt(r+1)===42){r+=2;const he=n-1;let we=!1;for(;r<he;){const Ye=e.charCodeAt(r);if(Ye===42&&e.charCodeAt(r+1)===47){r+=2,we=!0;break}r++,Ao(Ye)&&(Ye===13&&e.charCodeAt(r)===10&&r++,o++,l=r)}return we||(r++,c=1),i=e.substring(Ve,r),a=13}return i+=String.fromCharCode(Fe),r++,a=16;case 45:if(i+=String.fromCharCode(Fe),r++,r===n||!Aa(e.charCodeAt(r)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=ne(),a=11;default:for(;r<n&&de(Fe);)r++,Fe=e.charCodeAt(r);if(s!==r){switch(i=e.substring(s,r),i){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return i+=String.fromCharCode(Fe),r++,a=16}}function de(Fe){if(pc(Fe)||Ao(Fe))return!1;switch(Fe){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function ve(){let Fe;do Fe=M();while(Fe>=12&&Fe<=15);return Fe}return{setPosition:B,getPosition:()=>r,scan:t?ve:M,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>s,getTokenLength:()=>r-s,getTokenStartLine:()=>u,getTokenStartCharacter:()=>s-b,getTokenError:()=>c}}function pc(e){return e===32||e===9}function Ao(e){return e===10||e===13}function Aa(e){return e>=48&&e<=57}var lh;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(lh||(lh={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const Ca=200;new Array(Ca).fill(0).map((e,t)=>`
15
- `+" ".repeat(t)),new Array(Ca).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(Ca).fill(0).map((e,t)=>`\r
16
- `+" ".repeat(t)),new Array(Ca).fill(0).map((e,t)=>`
17
- `+" ".repeat(t)),new Array(Ca).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(Ca).fill(0).map((e,t)=>`\r
18
- `+" ".repeat(t));var cu;(function(e){e.DEFAULT={allowTrailingComma:!1}})(cu||(cu={}));function Iy(e,t=[],n=cu.DEFAULT){let r=null,i=[];const s=[];function a(u){Array.isArray(i)?i.push(u):r!==null&&(i[r]=u)}return Oy(e,{onObjectBegin:()=>{const u={};a(u),s.push(i),i=u,r=null},onObjectProperty:u=>{r=u},onObjectEnd:()=>{i=s.pop()},onArrayBegin:()=>{const u=[];a(u),s.push(i),i=u,r=null},onArrayEnd:()=>{i=s.pop()},onLiteralValue:a,onError:(u,l,b)=>{t.push({error:u,offset:l,length:b})}},n),i[0]}function dc(e){switch(e.type){case"array":return e.children.map(dc);case"object":const t=Object.create(null);for(let n of e.children){const r=n.children[1];r&&(t[n.children[0].value]=dc(r))}return t;case"null":case"string":case"number":case"boolean":return e.value;default:return}}function Oy(e,t,n=cu.DEFAULT){const r=My(e,!1),i=[];let s=0;function a(tt){return tt?()=>s===0&&tt(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function o(tt){return tt?kt=>s===0&&tt(kt,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function u(tt){return tt?kt=>s===0&&tt(kt,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function l(tt){return tt?()=>{s>0?s++:tt(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice())===!1&&(s=1)}:()=>!0}function b(tt){return tt?()=>{s>0&&s--,s===0&&tt(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:()=>!0}const c=l(t.onObjectBegin),N=u(t.onObjectProperty),B=b(t.onObjectEnd),ne=l(t.onArrayBegin),Q=b(t.onArrayEnd),M=u(t.onLiteralValue),de=o(t.onSeparator),ve=a(t.onComment),Fe=o(t.onError),Ve=n&&n.disallowComments,he=n&&n.allowTrailingComma;function we(){for(;;){const tt=r.scan();switch(r.getTokenError()){case 4:Ye(14);break;case 5:Ye(15);break;case 3:Ye(13);break;case 1:Ve||Ye(11);break;case 2:Ye(12);break;case 6:Ye(16);break}switch(tt){case 12:case 13:Ve?Ye(10):ve();break;case 16:Ye(1);break;case 15:case 14:break;default:return tt}}}function Ye(tt,kt=[],$t=[]){if(Fe(tt),kt.length+$t.length>0){let Zt=r.getToken();for(;Zt!==17;){if(kt.indexOf(Zt)!==-1){we();break}else if($t.indexOf(Zt)!==-1)break;Zt=we()}}}function ze(tt){const kt=r.getTokenValue();return tt?M(kt):(N(kt),i.push(kt)),we(),!0}function Oe(){switch(r.getToken()){case 11:const tt=r.getTokenValue();let kt=Number(tt);isNaN(kt)&&(Ye(2),kt=0),M(kt);break;case 7:M(null);break;case 8:M(!0);break;case 9:M(!1);break;default:return!1}return we(),!0}function Ke(){return r.getToken()!==10?(Ye(3,[],[2,5]),!1):(ze(!1),r.getToken()===6?(de(":"),we(),Xe()||Ye(4,[],[2,5])):Ye(5,[],[2,5]),i.pop(),!0)}function Qe(){c(),we();let tt=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(tt||Ye(4,[],[]),de(","),we(),r.getToken()===2&&he)break}else tt&&Ye(6,[],[]);Ke()||Ye(4,[],[2,5]),tt=!0}return B(),r.getToken()!==2?Ye(7,[2],[]):we(),!0}function xe(){ne(),we();let tt=!0,kt=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(kt||Ye(4,[],[]),de(","),we(),r.getToken()===4&&he)break}else kt&&Ye(6,[],[]);tt?(i.push(0),tt=!1):i[i.length-1]++,Xe()||Ye(4,[],[4,5]),kt=!0}return Q(),tt||i.pop(),r.getToken()!==4?Ye(8,[4],[]):we(),!0}function Xe(){switch(r.getToken()){case 3:return xe();case 1:return Qe();case 10:return ze(!0);default:return Oe()}}return we(),r.getToken()===17?n.allowEmptyContent?!0:(Ye(4,[],[]),!1):Xe()?(r.getToken()!==17&&Ye(9,[],[]),!0):(Ye(4,[],[]),!1)}var ch;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(ch||(ch={}));var fh;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(fh||(fh={}));const jy=Iy,Ry=dc;var ph;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(ph||(ph={}));var dh;(()=>{var e={470:i=>{function s(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}function a(u,l){for(var b,c="",N=0,B=-1,ne=0,Q=0;Q<=u.length;++Q){if(Q<u.length)b=u.charCodeAt(Q);else{if(b===47)break;b=47}if(b===47){if(!(B===Q-1||ne===1))if(B!==Q-1&&ne===2){if(c.length<2||N!==2||c.charCodeAt(c.length-1)!==46||c.charCodeAt(c.length-2)!==46){if(c.length>2){var M=c.lastIndexOf("/");if(M!==c.length-1){M===-1?(c="",N=0):N=(c=c.slice(0,M)).length-1-c.lastIndexOf("/"),B=Q,ne=0;continue}}else if(c.length===2||c.length===1){c="",N=0,B=Q,ne=0;continue}}l&&(c.length>0?c+="/..":c="..",N=2)}else c.length>0?c+="/"+u.slice(B+1,Q):c=u.slice(B+1,Q),N=Q-B-1;B=Q,ne=0}else b===46&&ne!==-1?++ne:ne=-1}return c}var o={resolve:function(){for(var u,l="",b=!1,c=arguments.length-1;c>=-1&&!b;c--){var N;c>=0?N=arguments[c]:(u===void 0&&(u=process.cwd()),N=u),s(N),N.length!==0&&(l=N+"/"+l,b=N.charCodeAt(0)===47)}return l=a(l,!b),b?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(u){if(s(u),u.length===0)return".";var l=u.charCodeAt(0)===47,b=u.charCodeAt(u.length-1)===47;return(u=a(u,!l)).length!==0||l||(u="."),u.length>0&&b&&(u+="/"),l?"/"+u:u},isAbsolute:function(u){return s(u),u.length>0&&u.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var u,l=0;l<arguments.length;++l){var b=arguments[l];s(b),b.length>0&&(u===void 0?u=b:u+="/"+b)}return u===void 0?".":o.normalize(u)},relative:function(u,l){if(s(u),s(l),u===l||(u=o.resolve(u))===(l=o.resolve(l)))return"";for(var b=1;b<u.length&&u.charCodeAt(b)===47;++b);for(var c=u.length,N=c-b,B=1;B<l.length&&l.charCodeAt(B)===47;++B);for(var ne=l.length-B,Q=N<ne?N:ne,M=-1,de=0;de<=Q;++de){if(de===Q){if(ne>Q){if(l.charCodeAt(B+de)===47)return l.slice(B+de+1);if(de===0)return l.slice(B+de)}else N>Q&&(u.charCodeAt(b+de)===47?M=de:de===0&&(M=0));break}var ve=u.charCodeAt(b+de);if(ve!==l.charCodeAt(B+de))break;ve===47&&(M=de)}var Fe="";for(de=b+M+1;de<=c;++de)de!==c&&u.charCodeAt(de)!==47||(Fe.length===0?Fe+="..":Fe+="/..");return Fe.length>0?Fe+l.slice(B+M):(B+=M,l.charCodeAt(B)===47&&++B,l.slice(B))},_makeLong:function(u){return u},dirname:function(u){if(s(u),u.length===0)return".";for(var l=u.charCodeAt(0),b=l===47,c=-1,N=!0,B=u.length-1;B>=1;--B)if((l=u.charCodeAt(B))===47){if(!N){c=B;break}}else N=!1;return c===-1?b?"/":".":b&&c===1?"//":u.slice(0,c)},basename:function(u,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');s(u);var b,c=0,N=-1,B=!0;if(l!==void 0&&l.length>0&&l.length<=u.length){if(l.length===u.length&&l===u)return"";var ne=l.length-1,Q=-1;for(b=u.length-1;b>=0;--b){var M=u.charCodeAt(b);if(M===47){if(!B){c=b+1;break}}else Q===-1&&(B=!1,Q=b+1),ne>=0&&(M===l.charCodeAt(ne)?--ne==-1&&(N=b):(ne=-1,N=Q))}return c===N?N=Q:N===-1&&(N=u.length),u.slice(c,N)}for(b=u.length-1;b>=0;--b)if(u.charCodeAt(b)===47){if(!B){c=b+1;break}}else N===-1&&(B=!1,N=b+1);return N===-1?"":u.slice(c,N)},extname:function(u){s(u);for(var l=-1,b=0,c=-1,N=!0,B=0,ne=u.length-1;ne>=0;--ne){var Q=u.charCodeAt(ne);if(Q!==47)c===-1&&(N=!1,c=ne+1),Q===46?l===-1?l=ne:B!==1&&(B=1):l!==-1&&(B=-1);else if(!N){b=ne+1;break}}return l===-1||c===-1||B===0||B===1&&l===c-1&&l===b+1?"":u.slice(l,c)},format:function(u){if(u===null||typeof u!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof u);return function(l,b){var c=b.dir||b.root,N=b.base||(b.name||"")+(b.ext||"");return c?c===b.root?c+N:c+"/"+N:N}(0,u)},parse:function(u){s(u);var l={root:"",dir:"",base:"",ext:"",name:""};if(u.length===0)return l;var b,c=u.charCodeAt(0),N=c===47;N?(l.root="/",b=1):b=0;for(var B=-1,ne=0,Q=-1,M=!0,de=u.length-1,ve=0;de>=b;--de)if((c=u.charCodeAt(de))!==47)Q===-1&&(M=!1,Q=de+1),c===46?B===-1?B=de:ve!==1&&(ve=1):B!==-1&&(ve=-1);else if(!M){ne=de+1;break}return B===-1||Q===-1||ve===0||ve===1&&B===Q-1&&B===ne+1?Q!==-1&&(l.base=l.name=ne===0&&N?u.slice(1,Q):u.slice(ne,Q)):(ne===0&&N?(l.name=u.slice(1,B),l.base=u.slice(1,Q)):(l.name=u.slice(ne,B),l.base=u.slice(ne,Q)),l.ext=u.slice(B,Q)),ne>0?l.dir=u.slice(0,ne-1):N&&(l.dir="/"),l},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,i.exports=o}},t={};function n(i){var s=t[i];if(s!==void 0)return s.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.d=(i,s)=>{for(var a in s)n.o(s,a)&&!n.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:s[a]})},n.o=(i,s)=>Object.prototype.hasOwnProperty.call(i,s),n.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{let i;n.r(r),n.d(r,{URI:()=>N,Utils:()=>Ke}),typeof process=="object"?i=process.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,o=/^\/\//;function u(Qe,xe){if(!Qe.scheme&&xe)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${Qe.authority}", path: "${Qe.path}", query: "${Qe.query}", fragment: "${Qe.fragment}"}`);if(Qe.scheme&&!s.test(Qe.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Qe.path){if(Qe.authority){if(!a.test(Qe.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(o.test(Qe.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const l="",b="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class N{constructor(xe,Xe,tt,kt,$t,Zt=!1){Ms(this,"scheme");Ms(this,"authority");Ms(this,"path");Ms(this,"query");Ms(this,"fragment");typeof xe=="object"?(this.scheme=xe.scheme||l,this.authority=xe.authority||l,this.path=xe.path||l,this.query=xe.query||l,this.fragment=xe.fragment||l):(this.scheme=function(Cn,Zn){return Cn||Zn?Cn:"file"}(xe,Zt),this.authority=Xe||l,this.path=function(Cn,Zn){switch(Cn){case"https":case"http":case"file":Zn?Zn[0]!==b&&(Zn=b+Zn):Zn=b}return Zn}(this.scheme,tt||l),this.query=kt||l,this.fragment=$t||l,u(this,Zt))}static isUri(xe){return xe instanceof N||!!xe&&typeof xe.authority=="string"&&typeof xe.fragment=="string"&&typeof xe.path=="string"&&typeof xe.query=="string"&&typeof xe.scheme=="string"&&typeof xe.fsPath=="string"&&typeof xe.with=="function"&&typeof xe.toString=="function"}get fsPath(){return ve(this,!1)}with(xe){if(!xe)return this;let{scheme:Xe,authority:tt,path:kt,query:$t,fragment:Zt}=xe;return Xe===void 0?Xe=this.scheme:Xe===null&&(Xe=l),tt===void 0?tt=this.authority:tt===null&&(tt=l),kt===void 0?kt=this.path:kt===null&&(kt=l),$t===void 0?$t=this.query:$t===null&&($t=l),Zt===void 0?Zt=this.fragment:Zt===null&&(Zt=l),Xe===this.scheme&&tt===this.authority&&kt===this.path&&$t===this.query&&Zt===this.fragment?this:new ne(Xe,tt,kt,$t,Zt)}static parse(xe,Xe=!1){const tt=c.exec(xe);return tt?new ne(tt[2]||l,we(tt[4]||l),we(tt[5]||l),we(tt[7]||l),we(tt[9]||l),Xe):new ne(l,l,l,l,l)}static file(xe){let Xe=l;if(i&&(xe=xe.replace(/\\/g,b)),xe[0]===b&&xe[1]===b){const tt=xe.indexOf(b,2);tt===-1?(Xe=xe.substring(2),xe=b):(Xe=xe.substring(2,tt),xe=xe.substring(tt)||b)}return new ne("file",Xe,xe,l,l)}static from(xe){const Xe=new ne(xe.scheme,xe.authority,xe.path,xe.query,xe.fragment);return u(Xe,!0),Xe}toString(xe=!1){return Fe(this,xe)}toJSON(){return this}static revive(xe){if(xe){if(xe instanceof N)return xe;{const Xe=new ne(xe);return Xe._formatted=xe.external,Xe._fsPath=xe._sep===B?xe.fsPath:null,Xe}}return xe}}const B=i?1:void 0;class ne extends N{constructor(){super(...arguments);Ms(this,"_formatted",null);Ms(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=ve(this,!1)),this._fsPath}toString(Xe=!1){return Xe?Fe(this,!0):(this._formatted||(this._formatted=Fe(this,!1)),this._formatted)}toJSON(){const Xe={$mid:1};return this._fsPath&&(Xe.fsPath=this._fsPath,Xe._sep=B),this._formatted&&(Xe.external=this._formatted),this.path&&(Xe.path=this.path),this.scheme&&(Xe.scheme=this.scheme),this.authority&&(Xe.authority=this.authority),this.query&&(Xe.query=this.query),this.fragment&&(Xe.fragment=this.fragment),Xe}}const Q={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function M(Qe,xe,Xe){let tt,kt=-1;for(let $t=0;$t<Qe.length;$t++){const Zt=Qe.charCodeAt($t);if(Zt>=97&&Zt<=122||Zt>=65&&Zt<=90||Zt>=48&&Zt<=57||Zt===45||Zt===46||Zt===95||Zt===126||xe&&Zt===47||Xe&&Zt===91||Xe&&Zt===93||Xe&&Zt===58)kt!==-1&&(tt+=encodeURIComponent(Qe.substring(kt,$t)),kt=-1),tt!==void 0&&(tt+=Qe.charAt($t));else{tt===void 0&&(tt=Qe.substr(0,$t));const Cn=Q[Zt];Cn!==void 0?(kt!==-1&&(tt+=encodeURIComponent(Qe.substring(kt,$t)),kt=-1),tt+=Cn):kt===-1&&(kt=$t)}}return kt!==-1&&(tt+=encodeURIComponent(Qe.substring(kt))),tt!==void 0?tt:Qe}function de(Qe){let xe;for(let Xe=0;Xe<Qe.length;Xe++){const tt=Qe.charCodeAt(Xe);tt===35||tt===63?(xe===void 0&&(xe=Qe.substr(0,Xe)),xe+=Q[tt]):xe!==void 0&&(xe+=Qe[Xe])}return xe!==void 0?xe:Qe}function ve(Qe,xe){let Xe;return Xe=Qe.authority&&Qe.path.length>1&&Qe.scheme==="file"?`//${Qe.authority}${Qe.path}`:Qe.path.charCodeAt(0)===47&&(Qe.path.charCodeAt(1)>=65&&Qe.path.charCodeAt(1)<=90||Qe.path.charCodeAt(1)>=97&&Qe.path.charCodeAt(1)<=122)&&Qe.path.charCodeAt(2)===58?xe?Qe.path.substr(1):Qe.path[1].toLowerCase()+Qe.path.substr(2):Qe.path,i&&(Xe=Xe.replace(/\//g,"\\")),Xe}function Fe(Qe,xe){const Xe=xe?de:M;let tt="",{scheme:kt,authority:$t,path:Zt,query:Cn,fragment:Zn}=Qe;if(kt&&(tt+=kt,tt+=":"),($t||kt==="file")&&(tt+=b,tt+=b),$t){let Un=$t.indexOf("@");if(Un!==-1){const $r=$t.substr(0,Un);$t=$t.substr(Un+1),Un=$r.lastIndexOf(":"),Un===-1?tt+=Xe($r,!1,!1):(tt+=Xe($r.substr(0,Un),!1,!1),tt+=":",tt+=Xe($r.substr(Un+1),!1,!0)),tt+="@"}$t=$t.toLowerCase(),Un=$t.lastIndexOf(":"),Un===-1?tt+=Xe($t,!1,!0):(tt+=Xe($t.substr(0,Un),!1,!0),tt+=$t.substr(Un))}if(Zt){if(Zt.length>=3&&Zt.charCodeAt(0)===47&&Zt.charCodeAt(2)===58){const Un=Zt.charCodeAt(1);Un>=65&&Un<=90&&(Zt=`/${String.fromCharCode(Un+32)}:${Zt.substr(3)}`)}else if(Zt.length>=2&&Zt.charCodeAt(1)===58){const Un=Zt.charCodeAt(0);Un>=65&&Un<=90&&(Zt=`${String.fromCharCode(Un+32)}:${Zt.substr(2)}`)}tt+=Xe(Zt,!0,!1)}return Cn&&(tt+="?",tt+=Xe(Cn,!1,!1)),Zn&&(tt+="#",tt+=xe?Zn:M(Zn,!1,!1)),tt}function Ve(Qe){try{return decodeURIComponent(Qe)}catch{return Qe.length>3?Qe.substr(0,3)+Ve(Qe.substr(3)):Qe}}const he=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function we(Qe){return Qe.match(he)?Qe.replace(he,xe=>Ve(xe)):Qe}var Ye=n(470);const ze=Ye.posix||Ye,Oe="/";var Ke;(function(Qe){Qe.joinPath=function(xe,...Xe){return xe.with({path:ze.join(xe.path,...Xe)})},Qe.resolvePath=function(xe,...Xe){let tt=xe.path,kt=!1;tt[0]!==Oe&&(tt=Oe+tt,kt=!0);let $t=ze.resolve(tt,...Xe);return kt&&$t[0]===Oe&&!xe.authority&&($t=$t.substring(1)),xe.with({path:$t})},Qe.dirname=function(xe){if(xe.path.length===0||xe.path===Oe)return xe;let Xe=ze.dirname(xe.path);return Xe.length===1&&Xe.charCodeAt(0)===46&&(Xe=""),xe.with({path:Xe})},Qe.basename=function(xe){return ze.basename(xe.path)},Qe.extname=function(xe){return ze.extname(xe.path)}})(Ke||(Ke={}))})(),dh=r})();const{URI:yi,Utils:SA}=dh;var hh;(function(e){function t(n){return typeof n=="string"}e.is=t})(hh||(hh={}));var hc;(function(e){function t(n){return typeof n=="string"}e.is=t})(hc||(hc={}));var mh;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(mh||(mh={}));var fu;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(fu||(fu={}));var Hr;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=fu.MAX_VALUE),i===Number.MAX_VALUE&&(i=fu.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&Ft.uinteger(i.line)&&Ft.uinteger(i.character)}e.is=n})(Hr||(Hr={}));var In;(function(e){function t(r,i,s,a){if(Ft.uinteger(r)&&Ft.uinteger(i)&&Ft.uinteger(s)&&Ft.uinteger(a))return{start:Hr.create(r,i),end:Hr.create(s,a)};if(Hr.is(r)&&Hr.is(i))return{start:r,end:i};throw new Error(`Range#create called with invalid arguments[${r}, ${i}, ${s}, ${a}]`)}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&Hr.is(i.start)&&Hr.is(i.end)}e.is=n})(In||(In={}));var xa;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&In.is(i.range)&&(Ft.string(i.uri)||Ft.undefined(i.uri))}e.is=n})(xa||(xa={}));var mc;(function(e){function t(r,i,s,a){return{targetUri:r,targetRange:i,targetSelectionRange:s,originSelectionRange:a}}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&In.is(i.targetRange)&&Ft.string(i.targetUri)&&In.is(i.targetSelectionRange)&&(In.is(i.originSelectionRange)||Ft.undefined(i.originSelectionRange))}e.is=n})(mc||(mc={}));var gc;(function(e){function t(r,i,s,a){return{red:r,green:i,blue:s,alpha:a}}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Ft.numberRange(i.red,0,1)&&Ft.numberRange(i.green,0,1)&&Ft.numberRange(i.blue,0,1)&&Ft.numberRange(i.alpha,0,1)}e.is=n})(gc||(gc={}));var gh;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&In.is(i.range)&&gc.is(i.color)}e.is=n})(gh||(gh={}));var yh;(function(e){function t(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Ft.string(i.label)&&(Ft.undefined(i.textEdit)||Nr.is(i))&&(Ft.undefined(i.additionalTextEdits)||Ft.typedArray(i.additionalTextEdits,Nr.is))}e.is=n})(yh||(yh={}));var Dh;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(Dh||(Dh={}));var yc;(function(e){function t(r,i,s,a,o,u){const l={startLine:r,endLine:i};return Ft.defined(s)&&(l.startCharacter=s),Ft.defined(a)&&(l.endCharacter=a),Ft.defined(o)&&(l.kind=o),Ft.defined(u)&&(l.collapsedText=u),l}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Ft.uinteger(i.startLine)&&Ft.uinteger(i.startLine)&&(Ft.undefined(i.startCharacter)||Ft.uinteger(i.startCharacter))&&(Ft.undefined(i.endCharacter)||Ft.uinteger(i.endCharacter))&&(Ft.undefined(i.kind)||Ft.string(i.kind))}e.is=n})(yc||(yc={}));var Dc;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&xa.is(i.location)&&Ft.string(i.message)}e.is=n})(Dc||(Dc={}));var Hn;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Hn||(Hn={}));var bc;(function(e){e.Unnecessary=1,e.Deprecated=2})(bc||(bc={}));var bh;(function(e){function t(n){const r=n;return Ft.objectLiteral(r)&&Ft.string(r.href)}e.is=t})(bh||(bh={}));var Di;(function(e){function t(r,i,s,a,o,u){let l={range:r,message:i};return Ft.defined(s)&&(l.severity=s),Ft.defined(a)&&(l.code=a),Ft.defined(o)&&(l.source=o),Ft.defined(u)&&(l.relatedInformation=u),l}e.create=t;function n(r){var i;let s=r;return Ft.defined(s)&&In.is(s.range)&&Ft.string(s.message)&&(Ft.number(s.severity)||Ft.undefined(s.severity))&&(Ft.integer(s.code)||Ft.string(s.code)||Ft.undefined(s.code))&&(Ft.undefined(s.codeDescription)||Ft.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(Ft.string(s.source)||Ft.undefined(s.source))&&(Ft.undefined(s.relatedInformation)||Ft.typedArray(s.relatedInformation,Dc.is))}e.is=n})(Di||(Di={}));var $s;(function(e){function t(r,i,...s){let a={title:r,command:i};return Ft.defined(s)&&s.length>0&&(a.arguments=s),a}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.title)&&Ft.string(i.command)}e.is=n})($s||($s={}));var Nr;(function(e){function t(s,a){return{range:s,newText:a}}e.replace=t;function n(s,a){return{range:{start:s,end:s},newText:a}}e.insert=n;function r(s){return{range:s,newText:""}}e.del=r;function i(s){const a=s;return Ft.objectLiteral(a)&&Ft.string(a.newText)&&In.is(a.range)}e.is=i})(Nr||(Nr={}));var vc;(function(e){function t(r,i,s){const a={label:r};return i!==void 0&&(a.needsConfirmation=i),s!==void 0&&(a.description=s),a}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Ft.string(i.label)&&(Ft.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(Ft.string(i.description)||i.description===void 0)}e.is=n})(vc||(vc={}));var Sa;(function(e){function t(n){const r=n;return Ft.string(r)}e.is=t})(Sa||(Sa={}));var vh;(function(e){function t(s,a,o){return{range:s,newText:a,annotationId:o}}e.replace=t;function n(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}e.insert=n;function r(s,a){return{range:s,newText:"",annotationId:a}}e.del=r;function i(s){const a=s;return Nr.is(a)&&(vc.is(a.annotationId)||Sa.is(a.annotationId))}e.is=i})(vh||(vh={}));var Ec;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&wc.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(Ec||(Ec={}));var Ac;(function(e){function t(r,i,s){let a={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(r){let i=r;return i&&i.kind==="create"&&Ft.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||Ft.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||Ft.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Sa.is(i.annotationId))}e.is=n})(Ac||(Ac={}));var Cc;(function(e){function t(r,i,s,a){let o={kind:"rename",oldUri:r,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}e.create=t;function n(r){let i=r;return i&&i.kind==="rename"&&Ft.string(i.oldUri)&&Ft.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||Ft.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||Ft.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Sa.is(i.annotationId))}e.is=n})(Cc||(Cc={}));var xc;(function(e){function t(r,i,s){let a={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(r){let i=r;return i&&i.kind==="delete"&&Ft.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||Ft.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||Ft.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Sa.is(i.annotationId))}e.is=n})(xc||(xc={}));var Sc;(function(e){function t(n){let r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(i=>Ft.string(i.kind)?Ac.is(i)||Cc.is(i)||xc.is(i):Ec.is(i)))}e.is=t})(Sc||(Sc={}));var Eh;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.uri)}e.is=n})(Eh||(Eh={}));var Ah;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.uri)&&Ft.integer(i.version)}e.is=n})(Ah||(Ah={}));var wc;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.uri)&&(i.version===null||Ft.integer(i.version))}e.is=n})(wc||(wc={}));var Ch;(function(e){function t(r,i,s,a){return{uri:r,languageId:i,version:s,text:a}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.uri)&&Ft.string(i.languageId)&&Ft.integer(i.version)&&Ft.string(i.text)}e.is=n})(Ch||(Ch={}));var rs;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const r=n;return r===e.PlainText||r===e.Markdown}e.is=t})(rs||(rs={}));var Co;(function(e){function t(n){const r=n;return Ft.objectLiteral(n)&&rs.is(r.kind)&&Ft.string(r.value)}e.is=t})(Co||(Co={}));var bi;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(bi||(bi={}));var Kr;(function(e){e.PlainText=1,e.Snippet=2})(Kr||(Kr={}));var xh;(function(e){e.Deprecated=1})(xh||(xh={}));var Sh;(function(e){function t(r,i,s){return{newText:r,insert:i,replace:s}}e.create=t;function n(r){const i=r;return i&&Ft.string(i.newText)&&In.is(i.insert)&&In.is(i.replace)}e.is=n})(Sh||(Sh={}));var Fc;(function(e){e.asIs=1,e.adjustIndentation=2})(Fc||(Fc={}));var wh;(function(e){function t(n){const r=n;return r&&(Ft.string(r.detail)||r.detail===void 0)&&(Ft.string(r.description)||r.description===void 0)}e.is=t})(wh||(wh={}));var Nc;(function(e){function t(n){return{label:n}}e.create=t})(Nc||(Nc={}));var Tc;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(Tc||(Tc={}));var pu;(function(e){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(r){const i=r;return Ft.string(i)||Ft.objectLiteral(i)&&Ft.string(i.language)&&Ft.string(i.value)}e.is=n})(pu||(pu={}));var Fh;(function(e){function t(n){let r=n;return!!r&&Ft.objectLiteral(r)&&(Co.is(r.contents)||pu.is(r.contents)||Ft.typedArray(r.contents,pu.is))&&(n.range===void 0||In.is(n.range))}e.is=t})(Fh||(Fh={}));var Nh;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(Nh||(Nh={}));var Th;(function(e){function t(n,r,...i){let s={label:n};return Ft.defined(r)&&(s.documentation=r),Ft.defined(i)?s.parameters=i:s.parameters=[],s}e.create=t})(Th||(Th={}));var _h;(function(e){e.Text=1,e.Read=2,e.Write=3})(_h||(_h={}));var Lh;(function(e){function t(n,r){let i={range:n};return Ft.number(r)&&(i.kind=r),i}e.create=t})(Lh||(Lh={}));var zi;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(zi||(zi={}));var kh;(function(e){e.Deprecated=1})(kh||(kh={}));var Ph;(function(e){function t(n,r,i,s,a){let o={name:n,kind:r,location:{uri:s,range:i}};return a&&(o.containerName=a),o}e.create=t})(Ph||(Ph={}));var Bh;(function(e){function t(n,r,i,s){return s!==void 0?{name:n,kind:r,location:{uri:i,range:s}}:{name:n,kind:r,location:{uri:i}}}e.create=t})(Bh||(Bh={}));var Mh;(function(e){function t(r,i,s,a,o,u){let l={name:r,detail:i,kind:s,range:a,selectionRange:o};return u!==void 0&&(l.children=u),l}e.create=t;function n(r){let i=r;return i&&Ft.string(i.name)&&Ft.number(i.kind)&&In.is(i.range)&&In.is(i.selectionRange)&&(i.detail===void 0||Ft.string(i.detail))&&(i.deprecated===void 0||Ft.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(Mh||(Mh={}));var ws;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(ws||(ws={}));var du;(function(e){e.Invoked=1,e.Automatic=2})(du||(du={}));var Ih;(function(e){function t(r,i,s){let a={diagnostics:r};return i!=null&&(a.only=i),s!=null&&(a.triggerKind=s),a}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.typedArray(i.diagnostics,Di.is)&&(i.only===void 0||Ft.typedArray(i.only,Ft.string))&&(i.triggerKind===void 0||i.triggerKind===du.Invoked||i.triggerKind===du.Automatic)}e.is=n})(Ih||(Ih={}));var is;(function(e){function t(r,i,s){let a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):$s.is(i)?a.command=i:a.edit=i,o&&s!==void 0&&(a.kind=s),a}e.create=t;function n(r){let i=r;return i&&Ft.string(i.title)&&(i.diagnostics===void 0||Ft.typedArray(i.diagnostics,Di.is))&&(i.kind===void 0||Ft.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||$s.is(i.command))&&(i.isPreferred===void 0||Ft.boolean(i.isPreferred))&&(i.edit===void 0||Sc.is(i.edit))}e.is=n})(is||(is={}));var _c;(function(e){function t(r,i){let s={range:r};return Ft.defined(i)&&(s.data=i),s}e.create=t;function n(r){let i=r;return Ft.defined(i)&&In.is(i.range)&&(Ft.undefined(i.command)||$s.is(i.command))}e.is=n})(_c||(_c={}));var Oh;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.uinteger(i.tabSize)&&Ft.boolean(i.insertSpaces)}e.is=n})(Oh||(Oh={}));var jh;(function(e){function t(r,i,s){return{range:r,target:i,data:s}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&In.is(i.range)&&(Ft.undefined(i.target)||Ft.string(i.target))}e.is=n})(jh||(jh={}));var hu;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&In.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(hu||(hu={}));var Rh;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(Rh||(Rh={}));var $h;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})($h||($h={}));var Vh;(function(e){function t(n){const r=n;return Ft.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}e.is=t})(Vh||(Vh={}));var qh;(function(e){function t(r,i){return{range:r,text:i}}e.create=t;function n(r){const i=r;return i!=null&&In.is(i.range)&&Ft.string(i.text)}e.is=n})(qh||(qh={}));var Uh;(function(e){function t(r,i,s){return{range:r,variableName:i,caseSensitiveLookup:s}}e.create=t;function n(r){const i=r;return i!=null&&In.is(i.range)&&Ft.boolean(i.caseSensitiveLookup)&&(Ft.string(i.variableName)||i.variableName===void 0)}e.is=n})(Uh||(Uh={}));var Wh;(function(e){function t(r,i){return{range:r,expression:i}}e.create=t;function n(r){const i=r;return i!=null&&In.is(i.range)&&(Ft.string(i.expression)||i.expression===void 0)}e.is=n})(Wh||(Wh={}));var Gh;(function(e){function t(r,i){return{frameId:r,stoppedLocation:i}}e.create=t;function n(r){const i=r;return Ft.defined(i)&&In.is(r.stoppedLocation)}e.is=n})(Gh||(Gh={}));var Lc;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(Lc||(Lc={}));var kc;(function(e){function t(r){return{value:r}}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&(i.tooltip===void 0||Ft.string(i.tooltip)||Co.is(i.tooltip))&&(i.location===void 0||xa.is(i.location))&&(i.command===void 0||$s.is(i.command))}e.is=n})(kc||(kc={}));var Jh;(function(e){function t(r,i,s){const a={position:r,label:i};return s!==void 0&&(a.kind=s),a}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Hr.is(i.position)&&(Ft.string(i.label)||Ft.typedArray(i.label,kc.is))&&(i.kind===void 0||Lc.is(i.kind))&&i.textEdits===void 0||Ft.typedArray(i.textEdits,Nr.is)&&(i.tooltip===void 0||Ft.string(i.tooltip)||Co.is(i.tooltip))&&(i.paddingLeft===void 0||Ft.boolean(i.paddingLeft))&&(i.paddingRight===void 0||Ft.boolean(i.paddingRight))}e.is=n})(Jh||(Jh={}));var Yh;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(Yh||(Yh={}));var Hh;(function(e){function t(n,r,i,s){return{insertText:n,filterText:r,range:i,command:s}}e.create=t})(Hh||(Hh={}));var zh;(function(e){function t(n){return{items:n}}e.create=t})(zh||(zh={}));var Qh;(function(e){e.Invoked=0,e.Automatic=1})(Qh||(Qh={}));var Xh;(function(e){function t(n,r){return{range:n,text:r}}e.create=t})(Xh||(Xh={}));var Kh;(function(e){function t(n,r){return{triggerKind:n,selectedCompletionInfo:r}}e.create=t})(Kh||(Kh={}));var Zh;(function(e){function t(n){const r=n;return Ft.objectLiteral(r)&&hc.is(r.uri)&&Ft.string(r.name)}e.is=t})(Zh||(Zh={}));var em;(function(e){function t(s,a,o,u){return new $y(s,a,o,u)}e.create=t;function n(s){let a=s;return!!(Ft.defined(a)&&Ft.string(a.uri)&&(Ft.undefined(a.languageId)||Ft.string(a.languageId))&&Ft.uinteger(a.lineCount)&&Ft.func(a.getText)&&Ft.func(a.positionAt)&&Ft.func(a.offsetAt))}e.is=n;function r(s,a){let o=s.getText(),u=i(a,(b,c)=>{let N=b.range.start.line-c.range.start.line;return N===0?b.range.start.character-c.range.start.character:N}),l=o.length;for(let b=u.length-1;b>=0;b--){let c=u[b],N=s.offsetAt(c.range.start),B=s.offsetAt(c.range.end);if(B<=l)o=o.substring(0,N)+c.newText+o.substring(B,o.length);else throw new Error("Overlapping edit");l=N}return o}e.applyEdits=r;function i(s,a){if(s.length<=1)return s;const o=s.length/2|0,u=s.slice(0,o),l=s.slice(o);i(u,a),i(l,a);let b=0,c=0,N=0;for(;b<u.length&&c<l.length;)a(u[b],l[c])<=0?s[N++]=u[b++]:s[N++]=l[c++];for(;b<u.length;)s[N++]=u[b++];for(;c<l.length;)s[N++]=l[c++];return s}})(em||(em={}));class $y{constructor(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content}update(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],n=this._content,r=!0;for(let i=0;i<n.length;i++){r&&(t.push(i),r=!1);let s=n.charAt(i);r=s==="\r"||s===`
19
- `,s==="\r"&&i+1<n.length&&n.charAt(i+1)===`
20
- `&&i++}r&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return Hr.create(0,t);for(;r<i;){let a=Math.floor((r+i)/2);n[a]>t?i=a:r=a+1}let s=r-1;return Hr.create(s,t-n[s])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let r=n[t.line],i=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(r+t.character,i),r)}get lineCount(){return this.getLineOffsets().length}}var Ft;(function(e){const t=Object.prototype.toString;function n(B){return typeof B<"u"}e.defined=n;function r(B){return typeof B>"u"}e.undefined=r;function i(B){return B===!0||B===!1}e.boolean=i;function s(B){return t.call(B)==="[object String]"}e.string=s;function a(B){return t.call(B)==="[object Number]"}e.number=a;function o(B,ne,Q){return t.call(B)==="[object Number]"&&ne<=B&&B<=Q}e.numberRange=o;function u(B){return t.call(B)==="[object Number]"&&-2147483648<=B&&B<=2147483647}e.integer=u;function l(B){return t.call(B)==="[object Number]"&&0<=B&&B<=2147483647}e.uinteger=l;function b(B){return t.call(B)==="[object Function]"}e.func=b;function c(B){return B!==null&&typeof B=="object"}e.objectLiteral=c;function N(B,ne){return Array.isArray(B)&&B.every(ne)}e.typedArray=N})(Ft||(Ft={}));const Pc=Symbol.for("yaml.alias"),Bc=Symbol.for("yaml.document"),Fs=Symbol.for("yaml.map"),tm=Symbol.for("yaml.pair"),ss=Symbol.for("yaml.scalar"),wa=Symbol.for("yaml.seq"),wi=Symbol.for("yaml.node.type"),Qi=e=>!!e&&typeof e=="object"&&e[wi]===Pc,xo=e=>!!e&&typeof e=="object"&&e[wi]===Bc,Pr=e=>!!e&&typeof e=="object"&&e[wi]===Fs,dr=e=>!!e&&typeof e=="object"&&e[wi]===tm,qn=e=>!!e&&typeof e=="object"&&e[wi]===ss,Br=e=>!!e&&typeof e=="object"&&e[wi]===wa;function Lr(e){if(e&&typeof e=="object")switch(e[wi]){case Fs:case wa:return!0}return!1}function hr(e){if(e&&typeof e=="object")switch(e[wi]){case Pc:case Fs:case ss:case wa:return!0}return!1}const Vy=e=>(qn(e)||Lr(e))&&!!e.anchor,Vs=Symbol("break visit"),qy=Symbol("skip children"),So=Symbol("remove node");function wr(e,t){const n=Uy(t);xo(e)?Fa(null,e.contents,n,Object.freeze([e]))===So&&(e.contents=null):Fa(null,e,n,Object.freeze([]))}wr.BREAK=Vs,wr.SKIP=qy,wr.REMOVE=So;function Fa(e,t,n,r){const i=Wy(e,t,n,r);if(hr(i)||dr(i))return Gy(e,r,i),Fa(e,i,n,r);if(typeof i!="symbol"){if(Lr(t)){r=Object.freeze(r.concat(t));for(let s=0;s<t.items.length;++s){const a=Fa(s,t.items[s],n,r);if(typeof a=="number")s=a-1;else{if(a===Vs)return Vs;a===So&&(t.items.splice(s,1),s-=1)}}}else if(dr(t)){r=Object.freeze(r.concat(t));const s=Fa("key",t.key,n,r);if(s===Vs)return Vs;s===So&&(t.key=null);const a=Fa("value",t.value,n,r);if(a===Vs)return Vs;a===So&&(t.value=null)}}return i}function Uy(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function Wy(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(Pr(t))return n.Map?.(e,t,r);if(Br(t))return n.Seq?.(e,t,r);if(dr(t))return n.Pair?.(e,t,r);if(qn(t))return n.Scalar?.(e,t,r);if(Qi(t))return n.Alias?.(e,t,r)}function Gy(e,t,n){const r=t[t.length-1];if(Lr(r))r.items[e]=n;else if(dr(r))e==="key"?r.key=n:r.value=n;else if(xo(r))r.contents=n;else{const i=Qi(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const Jy={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Yy=e=>e.replace(/[!,[\]{}]/g,t=>Jy[t]);class ii{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},ii.defaultYaml,t),this.tags=Object.assign({},ii.defaultTags,n)}clone(){const t=new ii(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new ii(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:ii.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},ii.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:ii.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},ii.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[s,a]=r;return this.tags[s]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[s]=r;if(s==="1.1"||s==="1.2")return this.yaml.version=s,!0;{const a=/^\d+\.\d+$/.test(s);return n(6,`Unsupported YAML version ${s}`,a),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const a=t.slice(2,-1);return a==="!"||a==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),a)}const[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);const s=this.tags[r];if(s)try{return s+decodeURIComponent(i)}catch(a){return n(String(a)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+Yy(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let i;if(t&&r.length>0&&hr(t.contents)){const s={};wr(t.contents,(a,o)=>{hr(o)&&o.tag&&(s[o.tag]=!0)}),i=Object.keys(s)}else i=[];for(const[s,a]of r)s==="!!"&&a==="tag:yaml.org,2002:"||(!t||i.some(o=>o.startsWith(a)))&&n.push(`%TAG ${s} ${a}`);return n.join(`
21
- `)}}ii.defaultYaml={explicit:!1,version:"1.2"},ii.defaultTags={"!!":"tag:yaml.org,2002:"};function nm(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function rm(e){const t=new Set;return wr(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function im(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function Hy(e,t){const n=[],r=new Map;let i=null;return{onAnchor:s=>{n.push(s),i||(i=rm(e));const a=im(t,i);return i.add(a),a},setAnchors:()=>{for(const s of n){const a=r.get(s);if(typeof a=="object"&&a.anchor&&(qn(a.node)||Lr(a.node)))a.node.anchor=a.anchor;else{const o=new Error("Failed to resolve repeated object (this should not happen)");throw o.source=s,o}}},sourceObjects:r}}function Na(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,s=r.length;i<s;++i){const a=r[i],o=Na(e,r,String(i),a);o===void 0?delete r[i]:o!==a&&(r[i]=o)}else if(r instanceof Map)for(const i of Array.from(r.keys())){const s=r.get(i),a=Na(e,r,i,s);a===void 0?r.delete(i):a!==s&&r.set(i,a)}else if(r instanceof Set)for(const i of Array.from(r)){const s=Na(e,r,i,i);s===void 0?r.delete(i):s!==i&&(r.delete(i),r.add(s))}else for(const[i,s]of Object.entries(r)){const a=Na(e,r,i,s);a===void 0?delete r[i]:a!==s&&(r[i]=a)}return e.call(t,n,r)}function Fi(e,t,n){if(Array.isArray(e))return e.map((r,i)=>Fi(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!Vy(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=s=>{r.res=s,delete n.onCreate};const i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!n?.keep?Number(e):e}class Mc{constructor(t){Object.defineProperty(this,wi,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:s}={}){if(!xo(t))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},o=Fi(this,"",a);if(typeof i=="function")for(const{count:u,res:l}of a.anchors.values())i(l,u);return typeof s=="function"?Na(s,{"":o},"",o):o}}class Ic extends Mc{constructor(t){super(Pc),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return wr(t,{Node:(r,i)=>{if(i===this)return wr.BREAK;i.anchor===this.source&&(n=i)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:i,maxAliasCount:s}=n,a=this.resolve(i);if(!a){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(u)}let o=r.get(a);if(o||(Fi(a,null,n),o=r.get(a)),!o||o.res===void 0){const u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(s>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=mu(i,a,r)),o.count*o.aliasCount>s)){const u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}return o.res}toString(t,n,r){const i=`*${this.source}`;if(t){if(nm(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const s=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(s)}if(t.implicitKey)return`${i} `}return i}}function mu(e,t,n){if(Qi(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(Lr(t)){let r=0;for(const i of t.items){const s=mu(e,i,n);s>r&&(r=s)}return r}else if(dr(t)){const r=mu(e,t.key,n),i=mu(e,t.value,n);return Math.max(r,i)}return 1}const sm=e=>!e||typeof e!="function"&&typeof e!="object";class Qn extends Mc{constructor(t){super(ss),this.value=t}toJSON(t,n){return n?.keep?this.value:Fi(this.value,t,n)}toString(){return String(this.value)}}Qn.BLOCK_FOLDED="BLOCK_FOLDED",Qn.BLOCK_LITERAL="BLOCK_LITERAL",Qn.PLAIN="PLAIN",Qn.QUOTE_DOUBLE="QUOTE_DOUBLE",Qn.QUOTE_SINGLE="QUOTE_SINGLE";const zy="tag:yaml.org,2002:";function Qy(e,t,n){if(t){const r=n.filter(s=>s.tag===t),i=r.find(s=>!s.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>r.identify?.(e)&&!r.format)}function wo(e,t,n){if(xo(e)&&(e=e.contents),hr(e))return e;if(dr(e)){const c=n.schema[Fs].createNode?.(n.schema,null,n);return c.items.push(e),c}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:i,onTagObj:s,schema:a,sourceObjects:o}=n;let u;if(r&&e&&typeof e=="object"){if(u=o.get(e),u)return u.anchor||(u.anchor=i(e)),new Ic(u.anchor);u={anchor:null,node:null},o.set(e,u)}t?.startsWith("!!")&&(t=zy+t.slice(2));let l=Qy(e,t,a.tags);if(!l){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const c=new Qn(e);return u&&(u.node=c),c}l=e instanceof Map?a[Fs]:Symbol.iterator in Object(e)?a[wa]:a[Fs]}s&&(s(l),delete n.onTagObj);const b=l?.createNode?l.createNode(n.schema,e,n):typeof l?.nodeClass?.from=="function"?l.nodeClass.from(n.schema,e,n):new Qn(e);return t?b.tag=t:l.default||(b.tag=l.tag),u&&(u.node=b),b}function gu(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){const s=t[i];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){const a=[];a[s]=r,r=a}else r=new Map([[s,r]])}return wo(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const Fo=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class Oc extends Mc{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>hr(r)||dr(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Fo(t))this.add(n);else{const[r,...i]=t,s=this.get(r,!0);if(Lr(s))s.addIn(i,n);else if(s===void 0&&this.schema)this.set(r,gu(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const i=this.get(n,!0);if(Lr(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...i]=t,s=this.get(r,!0);return i.length===0?!n&&qn(s)?s.value:s:Lr(s)?s.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!dr(n))return!1;const r=n.value;return r==null||t&&qn(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const i=this.get(n,!0);return Lr(i)?i.hasIn(r):!1}setIn(t,n){const[r,...i]=t;if(i.length===0)this.set(r,n);else{const s=this.get(r,!0);if(Lr(s))s.setIn(i,n);else if(s===void 0&&this.schema)this.set(r,gu(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}Oc.maxFlowStringSingleLineLength=60;const Xy=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function as(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const qs=(e,t,n)=>e.endsWith(`
22
- `)?as(n,t):n.includes(`
23
- `)?`
24
- `+as(n,t):(e.endsWith(" ")?"":" ")+n,am="flow",jc="block",yu="quoted";function Du(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:s=20,onFold:a,onOverflow:o}={}){if(!i||i<0)return e;const u=Math.max(1+s,1+i-t.length);if(e.length<=u)return e;const l=[],b={};let c=i-t.length;typeof r=="number"&&(r>i-Math.max(2,s)?l.push(0):c=i-r);let N,B,ne=!1,Q=-1,M=-1,de=-1;n===jc&&(Q=om(e,Q,t.length),Q!==-1&&(c=Q+u));for(let Fe;Fe=e[Q+=1];){if(n===yu&&Fe==="\\"){switch(M=Q,e[Q+1]){case"x":Q+=3;break;case"u":Q+=5;break;case"U":Q+=9;break;default:Q+=1}de=Q}if(Fe===`
25
- `)n===jc&&(Q=om(e,Q,t.length)),c=Q+t.length+u,N=void 0;else{if(Fe===" "&&B&&B!==" "&&B!==`
26
- `&&B!==" "){const Ve=e[Q+1];Ve&&Ve!==" "&&Ve!==`
27
- `&&Ve!==" "&&(N=Q)}if(Q>=c)if(N)l.push(N),c=N+u,N=void 0;else if(n===yu){for(;B===" "||B===" ";)B=Fe,Fe=e[Q+=1],ne=!0;const Ve=Q>de+1?Q-2:M-1;if(b[Ve])return e;l.push(Ve),b[Ve]=!0,c=Ve+u,N=void 0}else ne=!0}B=Fe}if(ne&&o&&o(),l.length===0)return e;a&&a();let ve=e.slice(0,l[0]);for(let Fe=0;Fe<l.length;++Fe){const Ve=l[Fe],he=l[Fe+1]||e.length;Ve===0?ve=`
28
- ${t}${e.slice(0,he)}`:(n===yu&&b[Ve]&&(ve+=`${e[Ve]}\\`),ve+=`
29
- ${t}${e.slice(Ve+1,he)}`)}return ve}function om(e,t,n){let r=t,i=t+1,s=e[i];for(;s===" "||s===" ";)if(t<i+n)s=e[++t];else{do s=e[++t];while(s&&s!==`
30
- `);r=t,i=t+1,s=e[i]}return r}const bu=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),vu=e=>/^(%|---|\.\.\.)/m.test(e);function Ky(e,t,n){if(!t||t<0)return!1;const r=t-n,i=e.length;if(i<=r)return!1;for(let s=0,a=0;s<i;++s)if(e[s]===`
31
- `){if(s-a>r)return!0;if(a=s+1,i-a<=r)return!1}return!0}function No(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(vu(e)?" ":"");let a="",o=0;for(let u=0,l=n[u];l;l=n[++u])if(l===" "&&n[u+1]==="\\"&&n[u+2]==="n"&&(a+=n.slice(o,u)+"\\ ",u+=1,o=u,l="\\"),l==="\\")switch(n[u+1]){case"u":{a+=n.slice(o,u);const b=n.substr(u+2,4);switch(b){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:b.substr(0,2)==="00"?a+="\\x"+b.substr(2):a+=n.substr(u,6)}u+=5,o=u+1}break;case"n":if(r||n[u+2]==='"'||n.length<i)u+=1;else{for(a+=n.slice(o,u)+`
32
-
33
- `;n[u+2]==="\\"&&n[u+3]==="n"&&n[u+4]!=='"';)a+=`
34
- `,u+=2;a+=s,n[u+2]===" "&&(a+="\\"),u+=1,o=u+1}break;default:u+=1}return a=o?a+n.slice(o):n,r?a:Du(a,s,yu,bu(t,!1))}function Rc(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
35
- `)||/[ \t]\n|\n[ \t]/.test(e))return No(e,t);const n=t.indent||(vu(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
36
- ${n}`)+"'";return t.implicitKey?r:Du(r,n,am,bu(t,!1))}function Ta(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=No;else{const i=e.includes('"'),s=e.includes("'");i&&!s?r=Rc:s&&!i?r=No:r=n?Rc:No}return r(e,t)}let $c;try{$c=new RegExp(`(^|(?<!
37
- ))
38
- +(?!
39
- |$)`,"g")}catch{$c=/\n+(?!\n|$)/g}function Eu({comment:e,type:t,value:n},r,i,s){const{blockQuote:a,commentString:o,lineWidth:u}=r.options;if(!a||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return Ta(n,r);const l=r.indent||(r.forceBlockIndent||vu(n)?" ":""),b=a==="literal"?!0:a==="folded"||t===Qn.BLOCK_FOLDED?!1:t===Qn.BLOCK_LITERAL?!0:!Ky(n,u,l.length);if(!n)return b?`|
40
- `:`>
41
- `;let c,N;for(N=n.length;N>0;--N){const we=n[N-1];if(we!==`
42
- `&&we!==" "&&we!==" ")break}let B=n.substring(N);const ne=B.indexOf(`
43
- `);ne===-1?c="-":n===B||ne!==B.length-1?(c="+",s&&s()):c="",B&&(n=n.slice(0,-B.length),B[B.length-1]===`
44
- `&&(B=B.slice(0,-1)),B=B.replace($c,`$&${l}`));let Q=!1,M,de=-1;for(M=0;M<n.length;++M){const we=n[M];if(we===" ")Q=!0;else if(we===`
45
- `)de=M;else break}let ve=n.substring(0,de<M?de+1:M);ve&&(n=n.substring(ve.length),ve=ve.replace(/\n+/g,`$&${l}`));let Ve=(b?"|":">")+(Q?l?"2":"1":"")+c;if(e&&(Ve+=" "+o(e.replace(/ ?[\r\n]+/g," ")),i&&i()),b)return n=n.replace(/\n+/g,`$&${l}`),`${Ve}
46
- ${l}${ve}${n}${B}`;n=n.replace(/\n+/g,`
47
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);const he=Du(`${ve}${n}${B}`,l,jc,bu(r,!0));return`${Ve}
48
- ${l}${he}`}function Zy(e,t,n,r){const{type:i,value:s}=e,{actualString:a,implicitKey:o,indent:u,indentStep:l,inFlow:b}=t;if(o&&s.includes(`
49
- `)||b&&/[[\]{},]/.test(s))return Ta(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return o||b||!s.includes(`
50
- `)?Ta(s,t):Eu(e,t,n,r);if(!o&&!b&&i!==Qn.PLAIN&&s.includes(`
51
- `))return Eu(e,t,n,r);if(vu(s)){if(u==="")return t.forceBlockIndent=!0,Eu(e,t,n,r);if(o&&u===l)return Ta(s,t)}const c=s.replace(/\n+/g,`$&
52
- ${u}`);if(a){const N=Q=>Q.default&&Q.tag!=="tag:yaml.org,2002:str"&&Q.test?.test(c),{compat:B,tags:ne}=t.doc.schema;if(ne.some(N)||B?.some(N))return Ta(s,t)}return o?c:Du(c,u,am,bu(t,!1))}function Vc(e,t,n,r){const{implicitKey:i,inFlow:s}=t,a=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:o}=e;o!==Qn.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(o=Qn.QUOTE_DOUBLE);const u=b=>{switch(b){case Qn.BLOCK_FOLDED:case Qn.BLOCK_LITERAL:return i||s?Ta(a.value,t):Eu(a,t,n,r);case Qn.QUOTE_DOUBLE:return No(a.value,t);case Qn.QUOTE_SINGLE:return Rc(a.value,t);case Qn.PLAIN:return Zy(a,t,n,r);default:return null}};let l=u(o);if(l===null){const{defaultKeyType:b,defaultStringType:c}=t.options,N=i&&b||c;if(l=u(N),l===null)throw new Error(`Unsupported default string type ${N}`)}return l}function um(e,t){const n=Object.assign({blockQuote:!0,commentString:Xy,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}function eD(e,t){if(t.tag){const i=e.filter(s=>s.tag===t.tag);if(i.length>0)return i.find(s=>s.format===t.format)??i[0]}let n,r;if(qn(t)){r=t.value;const i=e.filter(s=>s.identify?.(r));n=i.find(s=>s.format===t.format)??i.find(s=>!s.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){const i=r?.constructor?.name??typeof r;throw new Error(`Tag not resolved for ${i} value`)}return n}function tD(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],s=(qn(e)||Lr(e))&&e.anchor;s&&nm(s)&&(n.add(s),i.push(`&${s}`));const a=e.tag?e.tag:t.default?null:t.tag;return a&&i.push(r.directives.tagString(a)),i.join(" ")}function _a(e,t,n,r){if(dr(e))return e.toString(t,n,r);if(Qi(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i;const s=hr(e)?e:t.doc.createNode(e,{onTagObj:u=>i=u});i||(i=eD(t.doc.schema.tags,s));const a=tD(s,i,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);const o=typeof i.stringify=="function"?i.stringify(s,t,n,r):qn(s)?Vc(s,t,n,r):s.toString(t,n,r);return a?qn(s)||o[0]==="{"||o[0]==="["?`${a} ${o}`:`${a}
53
- ${t.indent}${o}`:o}function nD({key:e,value:t},n,r,i){const{allNullValues:s,doc:a,indent:o,indentStep:u,options:{commentString:l,indentSeq:b,simpleKeys:c}}=n;let N=hr(e)&&e.comment||null;if(c){if(N)throw new Error("With simple keys, key nodes cannot have comments");if(Lr(e)||!hr(e)&&typeof e=="object"){const Ye="With simple keys, collection cannot be used as a key value";throw new Error(Ye)}}let B=!c&&(!e||N&&t==null&&!n.inFlow||Lr(e)||(qn(e)?e.type===Qn.BLOCK_FOLDED||e.type===Qn.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!B&&(c||!s),indent:o+u});let ne=!1,Q=!1,M=_a(e,n,()=>ne=!0,()=>Q=!0);if(!B&&!n.inFlow&&M.length>1024){if(c)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");B=!0}if(n.inFlow){if(s||t==null)return ne&&r&&r(),M===""?"?":B?`? ${M}`:M}else if(s&&!c||t==null&&B)return M=`? ${M}`,N&&!ne?M+=qs(M,n.indent,l(N)):Q&&i&&i(),M;ne&&(N=null),B?(N&&(M+=qs(M,n.indent,l(N))),M=`? ${M}
54
- ${o}:`):(M=`${M}:`,N&&(M+=qs(M,n.indent,l(N))));let de,ve,Fe;hr(t)?(de=!!t.spaceBefore,ve=t.commentBefore,Fe=t.comment):(de=!1,ve=null,Fe=null,t&&typeof t=="object"&&(t=a.createNode(t))),n.implicitKey=!1,!B&&!N&&qn(t)&&(n.indentAtStart=M.length+1),Q=!1,!b&&u.length>=2&&!n.inFlow&&!B&&Br(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let Ve=!1;const he=_a(t,n,()=>Ve=!0,()=>Q=!0);let we=" ";if(N||de||ve){if(we=de?`
55
- `:"",ve){const Ye=l(ve);we+=`
56
- ${as(Ye,n.indent)}`}he===""&&!n.inFlow?we===`
57
- `&&(we=`
58
-
59
- `):we+=`
60
- ${n.indent}`}else if(!B&&Lr(t)){const Ye=he[0],ze=he.indexOf(`
61
- `),Oe=ze!==-1,Ke=n.inFlow??t.flow??t.items.length===0;if(Oe||!Ke){let Qe=!1;if(Oe&&(Ye==="&"||Ye==="!")){let xe=he.indexOf(" ");Ye==="&"&&xe!==-1&&xe<ze&&he[xe+1]==="!"&&(xe=he.indexOf(" ",xe+1)),(xe===-1||ze<xe)&&(Qe=!0)}Qe||(we=`
62
- ${n.indent}`)}}else(he===""||he[0]===`
63
- `)&&(we="");return M+=we+he,n.inFlow?Ve&&r&&r():Fe&&!Ve?M+=qs(M,n.indent,l(Fe)):Q&&i&&i(),M}function lm(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}const cm="<<";function fm(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&rD(n))if(r=Qi(r)?r.resolve(e.doc):r,Br(r))for(const i of r.items)qc(e,t,i);else if(Array.isArray(r))for(const i of r)qc(e,t,i);else qc(e,t,r);else{const i=Fi(n,"",e);if(t instanceof Map)t.set(i,Fi(r,i,e));else if(t instanceof Set)t.add(i);else{const s=iD(n,i,e),a=Fi(r,s,e);s in t?Object.defineProperty(t,s,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[s]=a}}return t}const rD=e=>e===cm||qn(e)&&e.value===cm&&(!e.type||e.type===Qn.PLAIN);function qc(e,t,n){const r=e&&Qi(n)?n.resolve(e.doc):n;if(!Pr(r))throw new Error("Merge sources must be maps or map aliases");const i=r.toJSON(null,e,Map);for(const[s,a]of i)t instanceof Map?t.has(s)||t.set(s,a):t instanceof Set?t.add(s):Object.prototype.hasOwnProperty.call(t,s)||Object.defineProperty(t,s,{value:a,writable:!0,enumerable:!0,configurable:!0});return t}function iD(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(hr(e)&&n?.doc){const r=um(n.doc,{});r.anchors=new Set;for(const s of n.anchors.keys())r.anchors.add(s.anchor);r.inFlow=!0,r.inStringifyKey=!0;const i=e.toString(r);if(!n.mapKeyWarned){let s=JSON.stringify(i);s.length>40&&(s=s.substring(0,36)+'..."'),lm(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${s}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}function Uc(e,t,n){const r=wo(e,void 0,n),i=wo(t,void 0,n);return new si(r,i)}class si{constructor(t,n=null){Object.defineProperty(this,wi,{value:tm}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return hr(n)&&(n=n.clone(t)),hr(r)&&(r=r.clone(t)),new si(n,r)}toJSON(t,n){const r=n?.mapAsMap?new Map:{};return fm(n,r,this)}toString(t,n,r){return t?.doc?nD(this,t,n,r):JSON.stringify(this)}}function pm(e,t,n){return(t.inFlow??e.flow?aD:sD)(e,t,n)}function sD({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:a,onComment:o}){const{indent:u,options:{commentString:l}}=n,b=Object.assign({},n,{indent:s,type:null});let c=!1;const N=[];for(let ne=0;ne<t.length;++ne){const Q=t[ne];let M=null;if(hr(Q))!c&&Q.spaceBefore&&N.push(""),Au(n,N,Q.commentBefore,c),Q.comment&&(M=Q.comment);else if(dr(Q)){const ve=hr(Q.key)?Q.key:null;ve&&(!c&&ve.spaceBefore&&N.push(""),Au(n,N,ve.commentBefore,c))}c=!1;let de=_a(Q,b,()=>M=null,()=>c=!0);M&&(de+=qs(de,s,l(M))),c&&M&&(c=!1),N.push(r+de)}let B;if(N.length===0)B=i.start+i.end;else{B=N[0];for(let ne=1;ne<N.length;++ne){const Q=N[ne];B+=Q?`
64
- ${u}${Q}`:`
65
- `}}return e?(B+=`
66
- `+as(l(e),u),o&&o()):c&&a&&a(),B}function aD({items:e},t,{flowChars:n,itemIndent:r}){const{indent:i,indentStep:s,flowCollectionPadding:a,options:{commentString:o}}=t;r+=s;const u=Object.assign({},t,{indent:r,inFlow:!0,type:null});let l=!1,b=0;const c=[];for(let ne=0;ne<e.length;++ne){const Q=e[ne];let M=null;if(hr(Q))Q.spaceBefore&&c.push(""),Au(t,c,Q.commentBefore,!1),Q.comment&&(M=Q.comment);else if(dr(Q)){const ve=hr(Q.key)?Q.key:null;ve&&(ve.spaceBefore&&c.push(""),Au(t,c,ve.commentBefore,!1),ve.comment&&(l=!0));const Fe=hr(Q.value)?Q.value:null;Fe?(Fe.comment&&(M=Fe.comment),Fe.commentBefore&&(l=!0)):Q.value==null&&ve?.comment&&(M=ve.comment)}M&&(l=!0);let de=_a(Q,u,()=>M=null);ne<e.length-1&&(de+=","),M&&(de+=qs(de,r,o(M))),!l&&(c.length>b||de.includes(`
67
- `))&&(l=!0),c.push(de),b=c.length}const{start:N,end:B}=n;if(c.length===0)return N+B;if(!l){const ne=c.reduce((Q,M)=>Q+M.length+2,2);l=t.options.lineWidth>0&&ne>t.options.lineWidth}if(l){let ne=N;for(const Q of c)ne+=Q?`
68
- ${s}${i}${Q}`:`
69
- `;return`${ne}
70
- ${i}${B}`}else return`${N}${a}${c.join(" ")}${a}${B}`}function Au({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const s=as(t(r),e);n.push(s.trimStart())}}function Us(e,t){const n=qn(t)?t.value:t;for(const r of e)if(dr(r)&&(r.key===t||r.key===n||qn(r.key)&&r.key.value===n))return r}class Ni extends Oc{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Fs,t),this.items=[]}static from(t,n,r){const{keepUndefined:i,replacer:s}=r,a=new this(t),o=(u,l)=>{if(typeof s=="function")l=s.call(n,u,l);else if(Array.isArray(s)&&!s.includes(u))return;(l!==void 0||i)&&a.items.push(Uc(u,l,r))};if(n instanceof Map)for(const[u,l]of n)o(u,l);else if(n&&typeof n=="object")for(const u of Object.keys(n))o(u,n[u]);return typeof t.sortMapEntries=="function"&&a.items.sort(t.sortMapEntries),a}add(t,n){let r;dr(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new si(t,t?.value):r=new si(t.key,t.value);const i=Us(this.items,r.key),s=this.schema?.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);qn(i.value)&&sm(r.value)?i.value.value=r.value:i.value=r.value}else if(s){const a=this.items.findIndex(o=>s(r,o)<0);a===-1?this.items.push(r):this.items.splice(a,0,r)}else this.items.push(r)}delete(t){const n=Us(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const i=Us(this.items,t)?.value;return(!n&&qn(i)?i.value:i)??void 0}has(t){return!!Us(this.items,t)}set(t,n){this.add(new si(t,n),!0)}toJSON(t,n,r){const i=r?new r:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(i);for(const s of this.items)fm(n,i,s);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!dr(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),pm(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const La={collection:"map",default:!0,nodeClass:Ni,tag:"tag:yaml.org,2002:map",resolve(e,t){return Pr(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Ni.from(e,t,n)};class Ws extends Oc{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(wa,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=Cu(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=Cu(t);if(typeof r!="number")return;const i=this.items[r];return!n&&qn(i)?i.value:i}has(t){const n=Cu(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=Cu(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];qn(i)&&sm(n)?i.value=n:this.items[r]=n}toJSON(t,n){const r=[];n?.onCreate&&n.onCreate(r);let i=0;for(const s of this.items)r.push(Fi(s,String(i++),n));return r}toString(t,n,r){return t?pm(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n)){let a=0;for(let o of n){if(typeof i=="function"){const u=n instanceof Set?o:String(a++);o=i.call(n,u,o)}s.items.push(wo(o,void 0,r))}}return s}}function Cu(e){let t=qn(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const ka={collection:"seq",default:!0,nodeClass:Ws,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Br(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Ws.from(e,t,n)},xu={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),Vc(e,t,n,r)}},Su={identify:e=>e==null,createNode:()=>new Qn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Qn(null),stringify:({source:e},t)=>typeof e=="string"&&Su.test.test(e)?e:t.options.nullStr},Wc={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Qn(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&Wc.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function ji({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const i=typeof r=="number"?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let a=s.indexOf(".");a<0&&(a=s.length,s+=".");let o=t-(s.length-a-1);for(;o-- >0;)s+="0"}return s}const dm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ji},hm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():ji(e)}},mm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Qn(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:ji},wu=e=>typeof e=="bigint"||Number.isInteger(e),Gc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function gm(e,t,n){const{value:r}=e;return wu(r)&&r>=0?n+r.toString(t):ji(e)}const ym={identify:e=>wu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Gc(e,2,8,n),stringify:e=>gm(e,8,"0o")},Dm={identify:wu,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Gc(e,0,10,n),stringify:ji},bm={identify:e=>wu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Gc(e,2,16,n),stringify:e=>gm(e,16,"0x")},oD=[La,ka,xu,Su,Wc,ym,Dm,bm,dm,hm,mm];function vm(e){return typeof e=="bigint"||Number.isInteger(e)}const Fu=({value:e})=>JSON.stringify(e),uD=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Fu},{identify:e=>e==null,createNode:()=>new Qn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Fu},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:Fu},{identify:vm,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>vm(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Fu}],lD={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},cD=[La,ka].concat(uD,lD),Jc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof Buffer=="function")return Buffer.from(e,"base64");if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,i,s){const a=n;let o;if(typeof Buffer=="function")o=a instanceof Buffer?a.toString("base64"):Buffer.from(a.buffer).toString("base64");else if(typeof btoa=="function"){let u="";for(let l=0;l<a.length;++l)u+=String.fromCharCode(a[l]);o=btoa(u)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=Qn.BLOCK_LITERAL),t!==Qn.QUOTE_DOUBLE){const u=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),l=Math.ceil(o.length/u),b=new Array(l);for(let c=0,N=0;c<l;++c,N+=u)b[c]=o.substr(N,u);o=b.join(t===Qn.BLOCK_LITERAL?`
71
- `:" ")}return Vc({comment:e,type:t,value:o},r,i,s)}};function Em(e,t){if(Br(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!dr(r)){if(Pr(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new si(new Qn(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
72
- ${i.key.commentBefore}`:r.commentBefore),r.comment){const s=i.value??i.key;s.comment=s.comment?`${r.comment}
73
- ${s.comment}`:r.comment}r=i}e.items[n]=dr(r)?r:new si(r)}}else t("Expected a sequence for this tag");return e}function Am(e,t,n){const{replacer:r}=n,i=new Ws(e);i.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let a of t){typeof r=="function"&&(a=r.call(t,String(s++),a));let o,u;if(Array.isArray(a))if(a.length===2)o=a[0],u=a[1];else throw new TypeError(`Expected [key, value] tuple: ${a}`);else if(a&&a instanceof Object){const l=Object.keys(a);if(l.length===1)o=l[0],u=a[o];else throw new TypeError(`Expected tuple with one key, not ${l.length} keys`)}else o=a;i.items.push(Uc(o,u,n))}return i}const Yc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Em,createNode:Am};class Pa extends Ws{constructor(){super(),this.add=Ni.prototype.add.bind(this),this.delete=Ni.prototype.delete.bind(this),this.get=Ni.prototype.get.bind(this),this.has=Ni.prototype.has.bind(this),this.set=Ni.prototype.set.bind(this),this.tag=Pa.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n?.onCreate&&n.onCreate(r);for(const i of this.items){let s,a;if(dr(i)?(s=Fi(i.key,"",n),a=Fi(i.value,s,n)):s=Fi(i,"",n),r.has(s))throw new Error("Ordered maps must not include duplicate keys");r.set(s,a)}return r}static from(t,n,r){const i=Am(t,n,r),s=new this;return s.items=i.items,s}}Pa.tag="tag:yaml.org,2002:omap";const Hc={collection:"seq",identify:e=>e instanceof Map,nodeClass:Pa,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Em(e,t),r=[];for(const{key:i}of n.items)qn(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new Pa,n)},createNode:(e,t,n)=>Pa.from(e,t,n)};function Cm({value:e,source:t},n){return t&&(e?xm:Sm).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const xm={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Qn(!0),stringify:Cm},Sm={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Qn(!1),stringify:Cm},fD={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ji},pD={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():ji(e)}},dD={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Qn(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:ji},To=e=>typeof e=="bigint"||Number.isInteger(e);function Nu(e,t,n,{intAsBigInt:r}){const i=e[0];if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const a=BigInt(e);return i==="-"?BigInt(-1)*a:a}const s=parseInt(e,n);return i==="-"?-1*s:s}function zc(e,t,n){const{value:r}=e;if(To(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return ji(e)}const hD={identify:To,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>Nu(e,2,2,n),stringify:e=>zc(e,2,"0b")},mD={identify:To,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>Nu(e,1,8,n),stringify:e=>zc(e,8,"0")},gD={identify:To,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>Nu(e,0,10,n),stringify:ji},yD={identify:To,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>Nu(e,2,16,n),stringify:e=>zc(e,16,"0x")};class Ba extends Ni{constructor(t){super(t),this.tag=Ba.tag}add(t){let n;dr(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new si(t.key,null):n=new si(t,null),Us(this.items,n.key)||this.items.push(n)}get(t,n){const r=Us(this.items,t);return!n&&dr(r)?qn(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=Us(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new si(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n))for(let a of n)typeof i=="function"&&(a=i.call(n,a,a)),s.items.push(Uc(a,null,r));return s}}Ba.tag="tag:yaml.org,2002:set";const Qc={collection:"map",identify:e=>e instanceof Set,nodeClass:Ba,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Ba.from(e,t,n),resolve(e,t){if(Pr(e)){if(e.hasAllNullValues(!0))return Object.assign(new Ba,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Xc(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=a=>t?BigInt(a):Number(a),s=r.replace(/_/g,"").split(":").reduce((a,o)=>a*i(60)+i(o),i(0));return n==="-"?i(-1)*s:s}function wm(e){let{value:t}=e,n=a=>a;if(typeof t=="bigint")n=a=>BigInt(a);else if(isNaN(t)||!isFinite(t))return ji(e);let r="";t<0&&(r="-",t*=n(-1));const i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),r+s.map(a=>String(a).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const Fm={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Xc(e,n),stringify:wm},Nm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Xc(e,!1),stringify:wm},Tu={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Tu.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,s,a,o]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,i,s||0,a||0,o||0,u);const b=t[8];if(b&&b!=="Z"){let c=Xc(b,!1);Math.abs(c)<30&&(c*=60),l-=6e4*c}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},Tm=[La,ka,xu,Su,xm,Sm,hD,mD,gD,yD,fD,pD,dD,Jc,Hc,Yc,Qc,Fm,Nm,Tu],_m=new Map([["core",oD],["failsafe",[La,ka,xu]],["json",cD],["yaml11",Tm],["yaml-1.1",Tm]]),Lm={binary:Jc,bool:Wc,float:mm,floatExp:hm,floatNaN:dm,floatTime:Nm,int:Dm,intHex:bm,intOct:ym,intTime:Fm,map:La,null:Su,omap:Hc,pairs:Yc,seq:ka,set:Qc,timestamp:Tu},DD={"tag:yaml.org,2002:binary":Jc,"tag:yaml.org,2002:omap":Hc,"tag:yaml.org,2002:pairs":Yc,"tag:yaml.org,2002:set":Qc,"tag:yaml.org,2002:timestamp":Tu};function Kc(e,t){let n=_m.get(t);if(!n)if(Array.isArray(e))n=[];else{const r=Array.from(_m.keys()).filter(i=>i!=="yaml11").map(i=>JSON.stringify(i)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${r} or define customTags array`)}if(Array.isArray(e))for(const r of e)n=n.concat(r);else typeof e=="function"&&(n=e(n.slice()));return n.map(r=>{if(typeof r!="string")return r;const i=Lm[r];if(i)return i;const s=Object.keys(Lm).map(a=>JSON.stringify(a)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${s}`)})}const bD=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class Zc{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:s,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(t)?Kc(t,"compat"):t?Kc(null,t):null,this.merge=!!r,this.name=typeof s=="string"&&s||"core",this.knownTags=i?DD:{},this.tags=Kc(n,this.name),this.toStringOptions=o??null,Object.defineProperty(this,Fs,{value:La}),Object.defineProperty(this,ss,{value:xu}),Object.defineProperty(this,wa,{value:ka}),this.sortMapEntries=typeof a=="function"?a:a===!0?bD:null}clone(){const t=Object.create(Zc.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function vD(e,t){const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const u=e.directives.toString(e);u?(n.push(u),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const i=um(e,t),{commentString:s}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const u=s(e.commentBefore);n.unshift(as(u,""))}let a=!1,o=null;if(e.contents){if(hr(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const b=s(e.contents.commentBefore);n.push(as(b,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}const u=o?void 0:()=>a=!0;let l=_a(e.contents,i,()=>o=null,u);o&&(l+=qs(l,"",s(o))),(l[0]==="|"||l[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${l}`:n.push(l)}else n.push(_a(e.contents,i));if(e.directives?.docEnd)if(e.comment){const u=s(e.comment);u.includes(`
74
- `)?(n.push("..."),n.push(as(u,""))):n.push(`... ${u}`)}else n.push("...");else{let u=e.comment;u&&a&&(u=u.replace(/^\n+/,"")),u&&((!a||o)&&n[n.length-1]!==""&&n.push(""),n.push(as(s(u),"")))}return n.join(`
75
- `)+`
76
- `}class _u{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,wi,{value:Bc});let i=null;typeof n=="function"||Array.isArray(n)?i=n:r===void 0&&n&&(r=n,n=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},r);this.options=s;let{version:a}=s;r?._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new ii({version:a}),this.setSchema(a,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(_u.prototype,{[wi]:{value:Bc}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=hr(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Ma(this.contents)&&this.contents.add(t)}addIn(t,n){Ma(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=rm(this);t.anchor=!n||r.has(n)?im(n||"a",r):n}return new Ic(t.anchor)}createNode(t,n,r){let i;if(typeof n=="function")t=n.call({"":t},"",t),i=n;else if(Array.isArray(n)){const M=ve=>typeof ve=="number"||ve instanceof String||ve instanceof Number,de=n.filter(M).map(String);de.length>0&&(n=n.concat(de)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:s,anchorPrefix:a,flow:o,keepUndefined:u,onTagObj:l,tag:b}=r??{},{onAnchor:c,setAnchors:N,sourceObjects:B}=Hy(this,a||"a"),ne={aliasDuplicateObjects:s??!0,keepUndefined:u??!1,onAnchor:c,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:B},Q=wo(t,b,ne);return o&&Lr(Q)&&(Q.flow=!0),N(),Q}createPair(t,n,r={}){const i=this.createNode(t,null,r),s=this.createNode(n,null,r);return new si(i,s)}delete(t){return Ma(this.contents)?this.contents.delete(t):!1}deleteIn(t){return Fo(t)?this.contents==null?!1:(this.contents=null,!0):Ma(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Lr(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return Fo(t)?!n&&qn(this.contents)?this.contents.value:this.contents:Lr(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Lr(this.contents)?this.contents.has(t):!1}hasIn(t){return Fo(t)?this.contents!==void 0:Lr(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=gu(this.schema,[t],n):Ma(this.contents)&&this.contents.set(t,n)}setIn(t,n){Fo(t)?this.contents=n:this.contents==null?this.contents=gu(this.schema,Array.from(t),n):Ma(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new ii({version:"1.1"}),r={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new ii({version:t}),r={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const i=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new Zc(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:i,onAnchor:s,reviver:a}={}){const o={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},u=Fi(this.contents,n??"",o);if(typeof s=="function")for(const{count:l,res:b}of o.anchors.values())s(b,l);return typeof a=="function"?Na(a,{"":u},"",u):u}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return vD(this,t)}}function Ma(e){if(Lr(e))return!0;throw new Error("Expected a YAML collection as document contents")}class km extends Error{constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class _o extends km{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class ED extends km{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const Pm=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(o=>t.linePos(o));const{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let s=i-1,a=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(s>=60&&a.length>80){const o=Math.min(s-39,a.length-79);a="…"+a.substring(o),s-=o-1}if(a.length>80&&(a=a.substring(0,79)+"…"),r>1&&/^ *$/.test(a.substring(0,s))){let o=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);o.length>80&&(o=o.substring(0,79)+`…
77
- `),a=o+a}if(/[^ ]/.test(a)){let o=1;const u=n.linePos[1];u&&u.line===r&&u.col>i&&(o=Math.max(1,Math.min(u.col-i,80-s)));const l=" ".repeat(s)+"^".repeat(o);n.message+=`:
78
-
79
- ${a}
80
- ${l}
81
- `}};function Ia(e,{flow:t,indicator:n,next:r,offset:i,onError:s,parentIndent:a,startOnNewline:o}){let u=!1,l=o,b=o,c="",N="",B=!1,ne=!1,Q=!1,M=null,de=null,ve=null,Fe=null,Ve=null,he=null;for(const ze of e)switch(Q&&(ze.type!=="space"&&ze.type!=="newline"&&ze.type!=="comma"&&s(ze.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),Q=!1),M&&(l&&ze.type!=="comment"&&ze.type!=="newline"&&s(M,"TAB_AS_INDENT","Tabs are not allowed as indentation"),M=null),ze.type){case"space":!t&&(n!=="doc-start"||r?.type!=="flow-collection")&&ze.source.includes(" ")&&(M=ze),b=!0;break;case"comment":{b||s(ze,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const Oe=ze.source.substring(1)||" ";c?c+=N+Oe:c=Oe,N="",l=!1;break}case"newline":l?c?c+=ze.source:u=!0:N+=ze.source,l=!0,B=!0,(de||ve)&&(ne=!0),b=!0;break;case"anchor":de&&s(ze,"MULTIPLE_ANCHORS","A node can have at most one anchor"),ze.source.endsWith(":")&&s(ze.offset+ze.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),de=ze,he===null&&(he=ze.offset),l=!1,b=!1,Q=!0;break;case"tag":{ve&&s(ze,"MULTIPLE_TAGS","A node can have at most one tag"),ve=ze,he===null&&(he=ze.offset),l=!1,b=!1,Q=!0;break}case n:(de||ve)&&s(ze,"BAD_PROP_ORDER",`Anchors and tags must be after the ${ze.source} indicator`),Ve&&s(ze,"UNEXPECTED_TOKEN",`Unexpected ${ze.source} in ${t??"collection"}`),Ve=ze,l=n==="seq-item-ind"||n==="explicit-key-ind",b=!1;break;case"comma":if(t){Fe&&s(ze,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),Fe=ze,l=!1,b=!1;break}default:s(ze,"UNEXPECTED_TOKEN",`Unexpected ${ze.type} token`),l=!1,b=!1}const we=e[e.length-1],Ye=we?we.offset+we.source.length:i;return Q&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),M&&(l&&M.indent<=a||r?.type==="block-map"||r?.type==="block-seq")&&s(M,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:Fe,found:Ve,spaceBefore:u,comment:c,hasNewline:B,hasNewlineAfterProp:ne,anchor:de,tag:ve,end:Ye,start:he??Ye}}function Lo(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
82
- `))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(Lo(t.key)||Lo(t.value))return!0}return!1;default:return!0}}function ef(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&Lo(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Bm(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(s,a)=>s===a||qn(s)&&qn(a)&&s.value===a.value&&!(s.value==="<<"&&e.schema.merge);return t.some(s=>i(s.key,n))}const Mm="All mapping items must start at the same column";function AD({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=s?.nodeClass??Ni,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,l=null;for(const b of r.items){const{start:c,key:N,sep:B,value:ne}=b,Q=Ia(c,{indicator:"explicit-key-ind",next:N??B?.[0],offset:u,onError:i,parentIndent:r.indent,startOnNewline:!0}),M=!Q.found;if(M){if(N&&(N.type==="block-seq"?i(u,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in N&&N.indent!==r.indent&&i(u,"BAD_INDENT",Mm)),!Q.anchor&&!Q.tag&&!B){l=Q.end,Q.comment&&(o.comment?o.comment+=`
83
- `+Q.comment:o.comment=Q.comment);continue}(Q.hasNewlineAfterProp||Lo(N))&&i(N??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else Q.found?.indent!==r.indent&&i(u,"BAD_INDENT",Mm);const de=Q.end,ve=N?e(n,N,Q,i):t(n,de,c,null,Q,i);n.schema.compat&&ef(r.indent,N,i),Bm(n,o.items,ve)&&i(de,"DUPLICATE_KEY","Map keys must be unique");const Fe=Ia(B??[],{indicator:"map-value-ind",next:ne,offset:ve.range[2],onError:i,parentIndent:r.indent,startOnNewline:!N||N.type==="block-scalar"});if(u=Fe.end,Fe.found){M&&(ne?.type==="block-map"&&!Fe.hasNewline&&i(u,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&Q.start<Fe.found.offset-1024&&i(ve.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const Ve=ne?e(n,ne,Fe,i):t(n,u,B,null,Fe,i);n.schema.compat&&ef(r.indent,ne,i),u=Ve.range[2];const he=new si(ve,Ve);n.options.keepSourceTokens&&(he.srcToken=b),o.items.push(he)}else{M&&i(ve.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),Fe.comment&&(ve.comment?ve.comment+=`
84
- `+Fe.comment:ve.comment=Fe.comment);const Ve=new si(ve);n.options.keepSourceTokens&&(Ve.srcToken=b),o.items.push(Ve)}}return l&&l<u&&i(l,"IMPOSSIBLE","Map comment with trailing content"),o.range=[r.offset,u,l??u],o}function CD({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=s?.nodeClass??Ws,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,l=null;for(const{start:b,value:c}of r.items){const N=Ia(b,{indicator:"seq-item-ind",next:c,offset:u,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!N.found)if(N.anchor||N.tag||c)c&&c.type==="block-seq"?i(N.end,"BAD_INDENT","All sequence items must start at the same column"):i(u,"MISSING_CHAR","Sequence item without - indicator");else{l=N.end,N.comment&&(o.comment=N.comment);continue}const B=c?e(n,c,N,i):t(n,N.end,b,null,N,i);n.schema.compat&&ef(r.indent,c,i),u=B.range[2],o.items.push(B)}return o.range=[r.offset,u,l??u],o}function ko(e,t,n,r){let i="";if(e){let s=!1,a="";for(const o of e){const{source:u,type:l}=o;switch(l){case"space":s=!0;break;case"comment":{n&&!s&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const b=u.substring(1)||" ";i?i+=a+b:i=b,a="";break}case"newline":i&&(a+=u),s=!0;break;default:r(o,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=u.length}}return{comment:i,offset:t}}const tf="Block collections are not allowed within flow collections",nf=e=>e&&(e.type==="block-map"||e.type==="block-seq");function xD({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=r.start.source==="{",o=a?"flow map":"flow sequence",u=s?.nodeClass??(a?Ni:Ws),l=new u(n.schema);l.flow=!0;const b=n.atRoot;b&&(n.atRoot=!1);let c=r.offset+r.start.source.length;for(let M=0;M<r.items.length;++M){const de=r.items[M],{start:ve,key:Fe,sep:Ve,value:he}=de,we=Ia(ve,{flow:o,indicator:"explicit-key-ind",next:Fe??Ve?.[0],offset:c,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!we.found){if(!we.anchor&&!we.tag&&!Ve&&!he){M===0&&we.comma?i(we.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):M<r.items.length-1&&i(we.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),we.comment&&(l.comment?l.comment+=`
85
- `+we.comment:l.comment=we.comment),c=we.end;continue}!a&&n.options.strict&&Lo(Fe)&&i(Fe,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(M===0)we.comma&&i(we.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(we.comma||i(we.start,"MISSING_CHAR",`Missing , between ${o} items`),we.comment){let Ye="";e:for(const ze of ve)switch(ze.type){case"comma":case"space":break;case"comment":Ye=ze.source.substring(1);break e;default:break e}if(Ye){let ze=l.items[l.items.length-1];dr(ze)&&(ze=ze.value??ze.key),ze.comment?ze.comment+=`
86
- `+Ye:ze.comment=Ye,we.comment=we.comment.substring(Ye.length+1)}}if(!a&&!Ve&&!we.found){const Ye=he?e(n,he,we,i):t(n,we.end,Ve,null,we,i);l.items.push(Ye),c=Ye.range[2],nf(he)&&i(Ye.range,"BLOCK_IN_FLOW",tf)}else{const Ye=we.end,ze=Fe?e(n,Fe,we,i):t(n,Ye,ve,null,we,i);nf(Fe)&&i(ze.range,"BLOCK_IN_FLOW",tf);const Oe=Ia(Ve??[],{flow:o,indicator:"map-value-ind",next:he,offset:ze.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(Oe.found){if(!a&&!we.found&&n.options.strict){if(Ve)for(const xe of Ve){if(xe===Oe.found)break;if(xe.type==="newline"){i(xe,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}we.start<Oe.found.offset-1024&&i(Oe.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else he&&("source"in he&&he.source&&he.source[0]===":"?i(he,"MISSING_CHAR",`Missing space after : in ${o}`):i(Oe.start,"MISSING_CHAR",`Missing , or : between ${o} items`));const Ke=he?e(n,he,Oe,i):Oe.found?t(n,Oe.end,Ve,null,Oe,i):null;Ke?nf(he)&&i(Ke.range,"BLOCK_IN_FLOW",tf):Oe.comment&&(ze.comment?ze.comment+=`
87
- `+Oe.comment:ze.comment=Oe.comment);const Qe=new si(ze,Ke);if(n.options.keepSourceTokens&&(Qe.srcToken=de),a){const xe=l;Bm(n,xe.items,ze)&&i(Ye,"DUPLICATE_KEY","Map keys must be unique"),xe.items.push(Qe)}else{const xe=new Ni(n.schema);xe.flow=!0,xe.items.push(Qe),l.items.push(xe)}c=Ke?Ke.range[2]:Oe.end}}const N=a?"}":"]",[B,...ne]=r.end;let Q=c;if(B&&B.source===N)Q=B.offset+B.source.length;else{const M=o[0].toUpperCase()+o.substring(1),de=b?`${M} must end with a ${N}`:`${M} in block collection must be sufficiently indented and end with a ${N}`;i(c,b?"MISSING_CHAR":"BAD_INDENT",de),B&&B.source.length!==1&&ne.unshift(B)}if(ne.length>0){const M=ko(ne,Q,n.options.strict,i);M.comment&&(l.comment?l.comment+=`
88
- `+M.comment:l.comment=M.comment),l.range=[r.offset,Q,M.offset]}else l.range=[r.offset,Q,Q];return l}function rf(e,t,n,r,i,s){const a=n.type==="block-map"?AD(e,t,n,r,s):n.type==="block-seq"?CD(e,t,n,r,s):xD(e,t,n,r,s),o=a.constructor;return i==="!"||i===o.tagName?(a.tag=o.tagName,a):(i&&(a.tag=i),a)}function SD(e,t,n,r,i){const s=r?t.directives.tagName(r.source,c=>i(r,"TAG_RESOLVE_FAILED",c)):null,a=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!r||!s||s==="!"||s===Ni.tagName&&a==="map"||s===Ws.tagName&&a==="seq"||!a)return rf(e,t,n,i,s);let o=t.schema.tags.find(c=>c.tag===s&&c.collection===a);if(!o){const c=t.schema.knownTags[s];if(c&&c.collection===a)t.schema.tags.push(Object.assign({},c,{default:!1})),o=c;else return c?.collection?i(r,"BAD_COLLECTION_TYPE",`${c.tag} used for ${a} collection, but expects ${c.collection}`,!0):i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),rf(e,t,n,i,s)}const u=rf(e,t,n,i,s,o),l=o.resolve?.(u,c=>i(r,"TAG_RESOLVE_FAILED",c),t.options)??u,b=hr(l)?l:new Qn(l);return b.range=u.range,b.tag=s,o?.format&&(b.format=o.format),b}function wD(e,t,n){const r=t.offset,i=FD(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const s=i.mode===">"?Qn.BLOCK_FOLDED:Qn.BLOCK_LITERAL,a=t.source?ND(t.source):[];let o=a.length;for(let Q=a.length-1;Q>=0;--Q){const M=a[Q][1];if(M===""||M==="\r")o=Q;else break}if(o===0){const Q=i.chomp==="+"&&a.length>0?`
89
- `.repeat(Math.max(1,a.length-1)):"";let M=r+i.length;return t.source&&(M+=t.source.length),{value:Q,type:s,comment:i.comment,range:[r,M,M]}}let u=t.indent+i.indent,l=t.offset+i.length,b=0;for(let Q=0;Q<o;++Q){const[M,de]=a[Q];if(de===""||de==="\r")i.indent===0&&M.length>u&&(u=M.length);else{if(M.length<u){const ve="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(l+M.length,"MISSING_CHAR",ve)}i.indent===0&&(u=M.length),b=Q,u===0&&!e.atRoot&&n(l,"BAD_INDENT","Block scalar values in collections must be indented");break}l+=M.length+de.length+1}for(let Q=a.length-1;Q>=o;--Q)a[Q][0].length>u&&(o=Q+1);let c="",N="",B=!1;for(let Q=0;Q<b;++Q)c+=a[Q][0].slice(u)+`
90
- `;for(let Q=b;Q<o;++Q){let[M,de]=a[Q];l+=M.length+de.length+1;const ve=de[de.length-1]==="\r";if(ve&&(de=de.slice(0,-1)),de&&M.length<u){const Ve=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(l-de.length-(ve?2:1),"BAD_INDENT",Ve),M=""}s===Qn.BLOCK_LITERAL?(c+=N+M.slice(u)+de,N=`
91
- `):M.length>u||de[0]===" "?(N===" "?N=`
92
- `:!B&&N===`
93
- `&&(N=`
94
-
95
- `),c+=N+M.slice(u)+de,N=`
96
- `,B=!0):de===""?N===`
97
- `?c+=`
98
- `:N=`
99
- `:(c+=N+de,N=" ",B=!1)}switch(i.chomp){case"-":break;case"+":for(let Q=o;Q<a.length;++Q)c+=`
100
- `+a[Q][0].slice(u);c[c.length-1]!==`
101
- `&&(c+=`
102
- `);break;default:c+=`
103
- `}const ne=r+i.length+t.source.length;return{value:c,type:s,comment:i.comment,range:[r,ne,ne]}}function FD({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],s=i[0];let a=0,o="",u=-1;for(let N=1;N<i.length;++N){const B=i[N];if(!o&&(B==="-"||B==="+"))o=B;else{const ne=Number(B);!a&&ne?a=ne:u===-1&&(u=e+N)}}u!==-1&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let l=!1,b="",c=i.length;for(let N=1;N<t.length;++N){const B=t[N];switch(B.type){case"space":l=!0;case"newline":c+=B.source.length;break;case"comment":n&&!l&&r(B,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),c+=B.source.length,b=B.source.substring(1);break;case"error":r(B,"UNEXPECTED_TOKEN",B.message),c+=B.source.length;break;default:{const ne=`Unexpected token in block scalar header: ${B.type}`;r(B,"UNEXPECTED_TOKEN",ne);const Q=B.source;Q&&typeof Q=="string"&&(c+=Q.length)}}}return{mode:s,indent:a,chomp:o,comment:b,length:c}}function ND(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),s=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let a=1;a<t.length;a+=2)s.push([t[a],t[a+1]]);return s}function TD(e,t,n){const{offset:r,type:i,source:s,end:a}=e;let o,u;const l=(N,B,ne)=>n(r+N,B,ne);switch(i){case"scalar":o=Qn.PLAIN,u=_D(s,l);break;case"single-quoted-scalar":o=Qn.QUOTE_SINGLE,u=LD(s,l);break;case"double-quoted-scalar":o=Qn.QUOTE_DOUBLE,u=kD(s,l);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[r,r+s.length,r+s.length]}}const b=r+s.length,c=ko(a,b,t,n);return{value:u,type:o,comment:c.comment,range:[r,b,c.offset]}}function _D(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),Im(e)}function LD(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),Im(e.slice(1,-1)).replace(/''/g,"'")}function Im(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
104
- `,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
105
- `,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],s=" ",a=t.lastIndex;for(n.lastIndex=a;r=n.exec(e);)r[1]===""?s===`
106
- `?i+=s:s=`
107
- `:(i+=s+r[1],s=" "),a=n.lastIndex;const o=/[ \t]*(.*)/sy;return o.lastIndex=a,r=o.exec(e),i+s+(r?.[1]??"")}function kD(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
108
- `))if(i===`
109
- `){const{fold:s,offset:a}=PD(e,r);n+=s,r=a}else if(i==="\\"){let s=e[++r];const a=BD[s];if(a)n+=a;else if(s===`
110
- `)for(s=e[r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="\r"&&e[r+1]===`
111
- `)for(s=e[++r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="x"||s==="u"||s==="U"){const o={x:2,u:4,U:8}[s];n+=MD(e,r+1,o,t),r+=o}else{const o=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}}else if(i===" "||i===" "){const s=r;let a=e[r+1];for(;a===" "||a===" ";)a=e[++r+1];a!==`
112
- `&&!(a==="\r"&&e[r+2]===`
113
- `)&&(n+=r>s?e.slice(s,r+1):i)}else n+=i}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function PD(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===`
114
- `||r==="\r")&&!(r==="\r"&&e[t+2]!==`
115
- `);)r===`
116
- `&&(n+=`
117
- `),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const BD={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
118
- `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function MD(e,t,n,r){const i=e.substr(t,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(a)){const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}return String.fromCodePoint(a)}function Om(e,t,n,r){const{value:i,type:s,comment:a,range:o}=t.type==="block-scalar"?wD(e,t,r):TD(t,e.options.strict,r),u=n?e.directives.tagName(n.source,c=>r(n,"TAG_RESOLVE_FAILED",c)):null,l=n&&u?ID(e.schema,i,u,n,r):t.type==="scalar"?OD(e,i,t,r):e.schema[ss];let b;try{const c=l.resolve(i,N=>r(n??t,"TAG_RESOLVE_FAILED",N),e.options);b=qn(c)?c:new Qn(c)}catch(c){const N=c instanceof Error?c.message:String(c);r(n??t,"TAG_RESOLVE_FAILED",N),b=new Qn(i)}return b.range=o,b.source=i,s&&(b.type=s),u&&(b.tag=u),l.format&&(b.format=l.format),a&&(b.comment=a),b}function ID(e,t,n,r,i){if(n==="!")return e[ss];const s=[];for(const o of e.tags)if(!o.collection&&o.tag===n)if(o.default&&o.test)s.push(o);else return o;for(const o of s)if(o.test?.test(t))return o;const a=e.knownTags[n];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[ss])}function OD({directives:e,schema:t},n,r,i){const s=t.tags.find(a=>a.default&&a.test?.test(n))||t[ss];if(t.compat){const a=t.compat.find(o=>o.default&&o.test?.test(n))??t[ss];if(s.tag!==a.tag){const o=e.tagString(s.tag),u=e.tagString(a.tag),l=`Value may be parsed as either ${o} or ${u}`;i(r,"TAG_RESOLVE_FAILED",l,!0)}}return s}function jD(e,t,n){if(t){n===null&&(n=t.length);for(let r=n-1;r>=0;--r){let i=t[r];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++r];i?.type==="space";)e+=i.source.length,i=t[++r];break}}return e}const RD={composeNode:jm,composeEmptyNode:sf};function jm(e,t,n,r){const{spaceBefore:i,comment:s,anchor:a,tag:o}=n;let u,l=!0;switch(t.type){case"alias":u=$D(e,t,r),(a||o)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Om(e,t,o,r),a&&(u.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=SD(RD,e,t,o,r),a&&(u.anchor=a.source.substring(1));break;default:{const b=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",b),u=sf(e,t.offset,void 0,null,n,r),l=!1}}return a&&u.anchor===""&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),i&&(u.spaceBefore=!0),s&&(t.type==="scalar"&&t.source===""?u.comment=s:u.commentBefore=s),e.options.keepSourceTokens&&l&&(u.srcToken=t),u}function sf(e,t,n,r,{spaceBefore:i,comment:s,anchor:a,tag:o,end:u},l){const b={type:"scalar",offset:jD(t,n,r),indent:-1,source:""},c=Om(e,b,o,l);return a&&(c.anchor=a.source.substring(1),c.anchor===""&&l(a,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(c.spaceBefore=!0),s&&(c.comment=s,c.range[2]=u),c}function $D({options:e},{offset:t,source:n,end:r},i){const s=new Ic(n.substring(1));s.source===""&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const a=t+n.length,o=ko(r,a,e.strict,i);return s.range=[t,a,o.offset],o.comment&&(s.comment=o.comment),s}function VD(e,t,{offset:n,start:r,value:i,end:s},a){const o=Object.assign({_directives:t},e),u=new _u(void 0,o),l={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},b=Ia(r,{indicator:"doc-start",next:i??s?.[0],offset:n,onError:a,parentIndent:0,startOnNewline:!0});b.found&&(u.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!b.hasNewline&&a(b.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=i?jm(l,i,b,a):sf(l,b.end,r,null,b,a);const c=u.contents.range[2],N=ko(s,c,!1,a);return N.comment&&(u.comment=N.comment),u.range=[n,c,N.offset],u}function Po(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function Rm(e){let t="",n=!1,r=!1;for(let i=0;i<e.length;++i){const s=e[i];switch(s[0]){case"#":t+=(t===""?"":r?`
119
-
120
- `:`
121
- `)+(s.substring(1)||" "),n=!0,r=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class $m{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,i,s)=>{const a=Po(n);s?this.warnings.push(new ED(a,r,i)):this.errors.push(new _o(a,r,i))},this.directives=new ii({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=Rm(this.prelude);if(r){const s=t.contents;if(n)t.comment=t.comment?`${t.comment}
122
- ${r}`:r;else if(i||t.directives.docStart||!s)t.commentBefore=r;else if(Lr(s)&&!s.flow&&s.items.length>0){let a=s.items[0];dr(a)&&(a=a.key);const o=a.commentBefore;a.commentBefore=o?`${r}
123
- ${o}`:r}else{const a=s.commentBefore;s.commentBefore=a?`${r}
124
- ${a}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Rm(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const i of t)yield*this.next(i);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,i)=>{const s=Po(t);s[0]+=n,this.onError(s,"BAD_DIRECTIVE",r,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=VD(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new _o(Po(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new _o(Po(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=ko(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
125
- ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new _o(Po(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),i=new _u(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,n,n],this.decorate(i,!1),yield i}}}const Vm=e=>"type"in e?Lu(e):ku(e);function Lu(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=Lu(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=ku(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=ku(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=ku(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function ku({start:e,key:t,sep:n,value:r}){let i="";for(const s of e)i+=s.source;if(t&&(i+=Lu(t)),n)for(const s of n)i+=s.source;return r&&(i+=Lu(r)),i}const af=Symbol("break visit"),qD=Symbol("skip children"),qm=Symbol("remove item");function Gs(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),Um(Object.freeze([]),e,t)}Gs.BREAK=af,Gs.SKIP=qD,Gs.REMOVE=qm,Gs.itemAtPath=(e,t)=>{let n=e;for(const[r,i]of t){const s=n?.[r];if(s&&"items"in s)n=s.items[i];else return}return n},Gs.parentCollection=(e,t)=>{const n=Gs.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function Um(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(const i of["key","value"]){const s=t[i];if(s&&"items"in s){for(let a=0;a<s.items.length;++a){const o=Um(Object.freeze(e.concat([[i,a]])),s.items[a],n);if(typeof o=="number")a=o-1;else{if(o===af)return af;o===qm&&(s.items.splice(a,1),a-=1)}}typeof r=="function"&&i==="key"&&(r=r(t,e))}}return typeof r=="function"?r(t,e):r}const Wm="\uFEFF",Gm="",Jm="",of="",UD=e=>!!e&&"items"in e,uf=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function WD(e){switch(e){case Wm:return"byte-order-mark";case Gm:return"doc-mode";case Jm:return"flow-error-end";case of:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
126
- `:case`\r
127
- `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function Ti(e){switch(e){case void 0:case" ":case`
128
- `:case"\r":case" ":return!0;default:return!1}}const Ym=new Set("0123456789ABCDEFabcdef"),GD=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Pu=new Set(",[]{}"),JD=new Set(` ,[]{}
129
- \r `),lf=e=>!e||JD.has(e);class YD{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===`
130
- `?!0:n==="\r"?this.buffer[t+1]===`
131
- `:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const i=this.buffer[r+t+1];if(i===`
132
- `||!i&&!this.atEnd)return t+r+1}return n===`
133
- `||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Ti(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
134
- `,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===Wm&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,r=t.indexOf("#");for(;r!==-1;){const s=t[r-1];if(s===" "||s===" "){n=r-1;break}else r=t.indexOf("#",r+1)}for(;;){const s=t[n-1];if(s===" "||s===" ")n-=1;else break}const i=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield Gm,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if(n==="---"&&Ti(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(n==="..."&&Ti(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Ti(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Ti(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(lf),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&i[0]!=="#"||r===0&&(i.startsWith("---")||i.startsWith("..."))&&Ti(i[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield Jm,yield*this.parseLineStart();let s=0;for(;i[s]===",";)s+=yield*this.pushCount(1),s+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(s+=yield*this.pushIndicators(),i[s]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-s),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(lf),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const a=this.charAt(1);if(this.flowKey||Ti(a)||a===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let s=0;for(;this.buffer[n-1-s]==="\\";)s+=1;if(s%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let i=r.indexOf(`
135
- `,this.pos);if(i!==-1){for(;i!==-1;){const s=this.continueScalar(i+1);if(s===-1)break;i=r.indexOf(`
136
- `,s)}i!==-1&&(n=i-(r[i-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Ti(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let s=this.pos;r=this.buffer[s];++s)switch(r){case" ":n+=1;break;case`
137
- `:t=s,n=0;break;case"\r":{const a=this.buffer[s+1];if(!a&&!this.atEnd)return this.setNext("block-scalar");if(a===`
138
- `)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const s=this.continueScalar(t+1);if(s===-1)break;t=this.buffer.indexOf(`
139
- `,s)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let i=t+1;for(r=this.buffer[i];r===" ";)r=this.buffer[++i];if(r===" "){for(;r===" "||r===" "||r==="\r"||r===`
140
- `;)r=this.buffer[++i];t=i-1}else if(!this.blockScalarKeep)do{let s=t-1,a=this.buffer[s];a==="\r"&&(a=this.buffer[--s]);const o=s;for(;a===" ";)a=this.buffer[--s];if(a===`
141
- `&&s>=this.pos&&s+1+n>o)t=s;else break}while(!0);return yield of,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,i;for(;i=this.buffer[++r];)if(i===":"){const s=this.buffer[r+1];if(Ti(s)||t&&Pu.has(s))break;n=r}else if(Ti(i)){let s=this.buffer[r+1];if(i==="\r"&&(s===`
142
- `?(r+=1,i=`
143
- `,s=this.buffer[r+1]):n=r),s==="#"||t&&Pu.has(s))break;if(i===`
144
- `){const a=this.continueScalar(r+1);if(a===-1)break;r=Math.max(r,a-2)}}else{if(t&&Pu.has(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield of,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(lf))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Ti(n)||t&&Pu.has(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Ti(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(GD.has(n))n=this.buffer[++t];else if(n==="%"&&Ym.has(this.buffer[t+1])&&Ym.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
145
- `?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
146
- `?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const i=n-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=n),i}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class Hm{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const s=n+r>>1;this.lineStarts[s]<t?n=s+1:r=s}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const i=this.lineStarts[n-1];return{line:n,col:t-i+1}}}}function Js(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function zm(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function Qm(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Bu(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function Oa(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function Xm(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Js(t.start,"explicit-key-ind")&&!Js(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Qm(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class cf{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new YD,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=WD(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(n)if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&Xm(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const i=r.items[r.items.length-1];if(i.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=n;else{Object.assign(i,{key:n,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{const i=r.items[r.items.length-1];i.value?r.items.push({start:[],value:n}):i.value=n;break}case"flow-collection":{const i=r.items[r.items.length-1];!i||i.value?r.items.push({start:[],key:n,sep:[]}):i.sep?i.value=n:Object.assign(i,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const i=n.items[n.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&zm(i.start)===-1&&(n.indent===0||i.start.every(s=>s.type!=="comment"||s.indent<n.indent))&&(r.type==="document"?r.end=i.start:r.items.push({start:i.start}),n.items.splice(-1,1))}}else{const r="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:r}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{zm(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=Bu(this.peek(2)),r=Oa(n);let i;t.end?(i=t.end,i.push(this.sourceToken),delete t.end):i=[this.sourceToken];const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
147
- `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
148
- `,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const r=!this.onKeyLine&&this.indent===t.indent,i=r&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let s=[];if(i&&n.sep&&!n.value){const a=[];for(let o=0;o<n.sep.length;++o){const u=n.sep[o];switch(u.type){case"newline":a.push(o);break;case"space":break;case"comment":u.indent>t.indent&&(a.length=0);break;default:a.length=0}}a.length>=2&&(s=n.sep.splice(a[1]))}switch(this.type){case"anchor":case"tag":i||n.value?(s.push(this.sourceToken),t.items.push({start:s}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):i||n.value?(s.push(this.sourceToken),t.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Js(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(Qm(n.key)&&!Js(n.sep,"newline")){const a=Oa(n.start),o=n.key,u=n.sep;u.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:o,sep:u}]})}else s.length>0?n.sep=n.sep.concat(s,this.sourceToken):n.sep.push(this.sourceToken);else if(Js(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const a=Oa(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:s,key:null,sep:[this.sourceToken]}):Js(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const a=this.flowScalar(this.type);i||n.value?(t.items.push({start:s,key:a,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(a):(Object.assign(n,{key:a,sep:[]}),this.onKeyLine=!0);return}default:{const a=this.startBlockValue(t);if(a){r&&a.type!=="block-seq"&&t.items.push({start:s}),this.stack.push(a);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||Js(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const r=this.startBlockValue(t);if(r){this.stack.push(r);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r&&r.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:i,sep:[]}):n.sep?this.stack.push(i):Object.assign(n,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const i=Bu(r),s=Oa(i);Xm(t);const a=t.end.splice(1,t.end.length);a.push(this.sourceToken);const o={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:s,key:t,sep:a}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
149
- `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
150
- `,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Bu(t),r=Oa(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Bu(t),r=Oa(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function HD(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Hm||null,prettyErrors:t}}function zD(e,t={}){const{lineCounter:n,prettyErrors:r}=HD(t),i=new cf(n?.addNewLine),s=new $m(t);let a=null;for(const o of s.compose(i.parse(e),!0,e.length))if(!a)a=o;else if(a.options.logLevel!=="silent"){a.errors.push(new _o(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(a.errors.forEach(Pm(e,n)),a.warnings.forEach(Pm(e,n))),a}function QD(e,t,n){let r;typeof t=="function"?r=t:n===void 0&&t&&typeof t=="object"&&(n=t);const i=zD(e,n);if(!i)return null;if(i.warnings.forEach(s=>lm(i.options.logLevel,s)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}var Km=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function XD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Xi(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Zm(e,t){for(var n="",r=0,i=-1,s=0,a,o=0;o<=e.length;++o){if(o<e.length)a=e.charCodeAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var u=n.lastIndexOf("/");if(u!==n.length-1){u===-1?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=o,s=0;continue}}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else a===46&&s!==-1?++s:s=-1}return n}function KD(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}var ja={resolve:function(){for(var t="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var s;i>=0?s=arguments[i]:(r===void 0&&(r=process.cwd()),s=r),Xi(s),s.length!==0&&(t=s+"/"+t,n=s.charCodeAt(0)===47)}return t=Zm(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(Xi(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Zm(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},isAbsolute:function(t){return Xi(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];Xi(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":ja.normalize(t)},relative:function(t,n){if(Xi(t),Xi(n),t===n||(t=ja.resolve(t),n=ja.resolve(n),t===n))return"";for(var r=1;r<t.length&&t.charCodeAt(r)===47;++r);for(var i=t.length,s=i-r,a=1;a<n.length&&n.charCodeAt(a)===47;++a);for(var o=n.length,u=o-a,l=s<u?s:u,b=-1,c=0;c<=l;++c){if(c===l){if(u>l){if(n.charCodeAt(a+c)===47)return n.slice(a+c+1);if(c===0)return n.slice(a+c)}else s>l&&(t.charCodeAt(r+c)===47?b=c:c===0&&(b=0));break}var N=t.charCodeAt(r+c),B=n.charCodeAt(a+c);if(N!==B)break;N===47&&(b=c)}var ne="";for(c=r+b+1;c<=i;++c)(c===i||t.charCodeAt(c)===47)&&(ne.length===0?ne+="..":ne+="/..");return ne.length>0?ne+n.slice(a+b):(a+=b,n.charCodeAt(a)===47&&++a,n.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(Xi(t),t.length===0)return".";for(var n=t.charCodeAt(0),r=n===47,i=-1,s=!0,a=t.length-1;a>=1;--a)if(n=t.charCodeAt(a),n===47){if(!s){i=a;break}}else s=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},basename:function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Xi(t);var r=0,i=-1,s=!0,a;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var o=n.length-1,u=-1;for(a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(l===47){if(!s){r=a+1;break}}else u===-1&&(s=!1,u=a+1),o>=0&&(l===n.charCodeAt(o)?--o===-1&&(i=a):(o=-1,i=u))}return r===i?i=u:i===-1&&(i=t.length),t.slice(r,i)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!s){r=a+1;break}}else i===-1&&(s=!1,i=a+1);return i===-1?"":t.slice(r,i)}},extname:function(t){Xi(t);for(var n=-1,r=0,i=-1,s=!0,a=0,o=t.length-1;o>=0;--o){var u=t.charCodeAt(o);if(u===47){if(!s){r=o+1;break}continue}i===-1&&(s=!1,i=o+1),u===46?n===-1?n=o:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||i===-1||a===0||a===1&&n===i-1&&n===r+1?"":t.slice(n,i)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return KD("/",t)},parse:function(t){Xi(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var r=t.charCodeAt(0),i=r===47,s;i?(n.root="/",s=1):s=0;for(var a=-1,o=0,u=-1,l=!0,b=t.length-1,c=0;b>=s;--b){if(r=t.charCodeAt(b),r===47){if(!l){o=b+1;break}continue}u===-1&&(l=!1,u=b+1),r===46?a===-1?a=b:c!==1&&(c=1):a!==-1&&(c=-1)}return a===-1||u===-1||c===0||c===1&&a===u-1&&a===o+1?u!==-1&&(o===0&&i?n.base=n.name=t.slice(1,u):n.base=n.name=t.slice(o,u)):(o===0&&i?(n.name=t.slice(1,a),n.base=t.slice(1,u)):(n.name=t.slice(o,a),n.base=t.slice(o,u)),n.ext=t.slice(a,u)),o>0?n.dir=t.slice(0,o-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};ja.posix=ja;var Ys=ja,e0={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=(Qt,lt)=>()=>(lt||Qt((lt={exports:{}}).exports,lt),lt.exports),r=n((Qt,lt)=>{var et=function(ft){return ft&&ft.Math==Math&&ft};lt.exports=et(typeof globalThis=="object"&&globalThis)||et(typeof window=="object"&&window)||et(typeof self=="object"&&self)||et(typeof Km=="object"&&Km)||function(){return this}()||Function("return this")()}),i=n((Qt,lt)=>{lt.exports=function(et){try{return!!et()}catch{return!0}}}),s=n((Qt,lt)=>{var et=i();lt.exports=!et(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=n((Qt,lt)=>{var et=i();lt.exports=!et(function(){var ft=function(){}.bind();return typeof ft!="function"||ft.hasOwnProperty("prototype")})}),o=n((Qt,lt)=>{var et=a(),ft=Function.prototype.call;lt.exports=et?ft.bind(ft):function(){return ft.apply(ft,arguments)}}),u=n(Qt=>{var lt={}.propertyIsEnumerable,et=Object.getOwnPropertyDescriptor,ft=et&&!lt.call({1:2},1);Qt.f=ft?function(ot){var wt=et(this,ot);return!!wt&&wt.enumerable}:lt}),l=n((Qt,lt)=>{lt.exports=function(et,ft){return{enumerable:!(et&1),configurable:!(et&2),writable:!(et&4),value:ft}}}),b=n((Qt,lt)=>{var et=a(),ft=Function.prototype,ot=ft.call,wt=et&&ft.bind.bind(ot,ot);lt.exports=et?wt:function(Bt){return function(){return ot.apply(Bt,arguments)}}}),c=n((Qt,lt)=>{var et=b(),ft=et({}.toString),ot=et("".slice);lt.exports=function(wt){return ot(ft(wt),8,-1)}}),N=n((Qt,lt)=>{var et=b(),ft=i(),ot=c(),wt=Object,Bt=et("".split);lt.exports=ft(function(){return!wt("z").propertyIsEnumerable(0)})?function(Yt){return ot(Yt)=="String"?Bt(Yt,""):wt(Yt)}:wt}),B=n((Qt,lt)=>{lt.exports=function(et){return et==null}}),ne=n((Qt,lt)=>{var et=B(),ft=TypeError;lt.exports=function(ot){if(et(ot))throw ft("Can't call method on "+ot);return ot}}),Q=n((Qt,lt)=>{var et=N(),ft=ne();lt.exports=function(ot){return et(ft(ot))}}),M=n((Qt,lt)=>{var et=typeof document=="object"&&document.all,ft=typeof et>"u"&&et!==void 0;lt.exports={all:et,IS_HTMLDDA:ft}}),de=n((Qt,lt)=>{var et=M(),ft=et.all;lt.exports=et.IS_HTMLDDA?function(ot){return typeof ot=="function"||ot===ft}:function(ot){return typeof ot=="function"}}),ve=n((Qt,lt)=>{var et=de(),ft=M(),ot=ft.all;lt.exports=ft.IS_HTMLDDA?function(wt){return typeof wt=="object"?wt!==null:et(wt)||wt===ot}:function(wt){return typeof wt=="object"?wt!==null:et(wt)}}),Fe=n((Qt,lt)=>{var et=r(),ft=de(),ot=function(wt){return ft(wt)?wt:void 0};lt.exports=function(wt,Bt){return arguments.length<2?ot(et[wt]):et[wt]&&et[wt][Bt]}}),Ve=n((Qt,lt)=>{var et=b();lt.exports=et({}.isPrototypeOf)}),he=n((Qt,lt)=>{var et=Fe();lt.exports=et("navigator","userAgent")||""}),we=n((Qt,lt)=>{var et=r(),ft=he(),ot=et.process,wt=et.Deno,Bt=ot&&ot.versions||wt&&wt.version,Yt=Bt&&Bt.v8,qt,Ht;Yt&&(qt=Yt.split("."),Ht=qt[0]>0&&qt[0]<4?1:+(qt[0]+qt[1])),!Ht&&ft&&(qt=ft.match(/Edge\/(\d+)/),(!qt||qt[1]>=74)&&(qt=ft.match(/Chrome\/(\d+)/),qt&&(Ht=+qt[1]))),lt.exports=Ht}),Ye=n((Qt,lt)=>{var et=we(),ft=i();lt.exports=!!Object.getOwnPropertySymbols&&!ft(function(){var ot=Symbol();return!String(ot)||!(Object(ot)instanceof Symbol)||!Symbol.sham&&et&&et<41})}),ze=n((Qt,lt)=>{var et=Ye();lt.exports=et&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Oe=n((Qt,lt)=>{var et=Fe(),ft=de(),ot=Ve(),wt=ze(),Bt=Object;lt.exports=wt?function(Yt){return typeof Yt=="symbol"}:function(Yt){var qt=et("Symbol");return ft(qt)&&ot(qt.prototype,Bt(Yt))}}),Ke=n((Qt,lt)=>{var et=String;lt.exports=function(ft){try{return et(ft)}catch{return"Object"}}}),Qe=n((Qt,lt)=>{var et=de(),ft=Ke(),ot=TypeError;lt.exports=function(wt){if(et(wt))return wt;throw ot(ft(wt)+" is not a function")}}),xe=n((Qt,lt)=>{var et=Qe(),ft=B();lt.exports=function(ot,wt){var Bt=ot[wt];return ft(Bt)?void 0:et(Bt)}}),Xe=n((Qt,lt)=>{var et=o(),ft=de(),ot=ve(),wt=TypeError;lt.exports=function(Bt,Yt){var qt,Ht;if(Yt==="string"&&ft(qt=Bt.toString)&&!ot(Ht=et(qt,Bt))||ft(qt=Bt.valueOf)&&!ot(Ht=et(qt,Bt))||Yt!=="string"&&ft(qt=Bt.toString)&&!ot(Ht=et(qt,Bt)))return Ht;throw wt("Can't convert object to primitive value")}}),tt=n((Qt,lt)=>{lt.exports=!1}),kt=n((Qt,lt)=>{var et=r(),ft=Object.defineProperty;lt.exports=function(ot,wt){try{ft(et,ot,{value:wt,configurable:!0,writable:!0})}catch{et[ot]=wt}return wt}}),$t=n((Qt,lt)=>{var et=r(),ft=kt(),ot="__core-js_shared__",wt=et[ot]||ft(ot,{});lt.exports=wt}),Zt=n((Qt,lt)=>{var et=tt(),ft=$t();(lt.exports=function(ot,wt){return ft[ot]||(ft[ot]=wt!==void 0?wt:{})})("versions",[]).push({version:"3.26.1",mode:et?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Cn=n((Qt,lt)=>{var et=ne(),ft=Object;lt.exports=function(ot){return ft(et(ot))}}),Zn=n((Qt,lt)=>{var et=b(),ft=Cn(),ot=et({}.hasOwnProperty);lt.exports=Object.hasOwn||function(wt,Bt){return ot(ft(wt),Bt)}}),Un=n((Qt,lt)=>{var et=b(),ft=0,ot=Math.random(),wt=et(1 .toString);lt.exports=function(Bt){return"Symbol("+(Bt===void 0?"":Bt)+")_"+wt(++ft+ot,36)}}),$r=n((Qt,lt)=>{var et=r(),ft=Zt(),ot=Zn(),wt=Un(),Bt=Ye(),Yt=ze(),qt=ft("wks"),Ht=et.Symbol,fn=Ht&&Ht.for,gn=Yt?Ht:Ht&&Ht.withoutSetter||wt;lt.exports=function(bn){if(!ot(qt,bn)||!(Bt||typeof qt[bn]=="string")){var pn="Symbol."+bn;Bt&&ot(Ht,bn)?qt[bn]=Ht[bn]:Yt&&fn?qt[bn]=fn(pn):qt[bn]=gn(pn)}return qt[bn]}}),ks=n((Qt,lt)=>{var et=o(),ft=ve(),ot=Oe(),wt=xe(),Bt=Xe(),Yt=$r(),qt=TypeError,Ht=Yt("toPrimitive");lt.exports=function(fn,gn){if(!ft(fn)||ot(fn))return fn;var bn=wt(fn,Ht),pn;if(bn){if(gn===void 0&&(gn="default"),pn=et(bn,fn,gn),!ft(pn)||ot(pn))return pn;throw qt("Can't convert object to primitive value")}return gn===void 0&&(gn="number"),Bt(fn,gn)}}),vi=n((Qt,lt)=>{var et=ks(),ft=Oe();lt.exports=function(ot){var wt=et(ot,"string");return ft(wt)?wt:wt+""}}),jo=n((Qt,lt)=>{var et=r(),ft=ve(),ot=et.document,wt=ft(ot)&&ft(ot.createElement);lt.exports=function(Bt){return wt?ot.createElement(Bt):{}}}),us=n((Qt,lt)=>{var et=s(),ft=i(),ot=jo();lt.exports=!et&&!ft(function(){return Object.defineProperty(ot("div"),"a",{get:function(){return 7}}).a!=7})}),Ja=n(Qt=>{var lt=s(),et=o(),ft=u(),ot=l(),wt=Q(),Bt=vi(),Yt=Zn(),qt=us(),Ht=Object.getOwnPropertyDescriptor;Qt.f=lt?Ht:function(fn,gn){if(fn=wt(fn),gn=Bt(gn),qt)try{return Ht(fn,gn)}catch{}if(Yt(fn,gn))return ot(!et(ft.f,fn,gn),fn[gn])}}),Ps=n((Qt,lt)=>{var et=s(),ft=i();lt.exports=et&&ft(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),qi=n((Qt,lt)=>{var et=ve(),ft=String,ot=TypeError;lt.exports=function(wt){if(et(wt))return wt;throw ot(ft(wt)+" is not an object")}}),tr=n(Qt=>{var lt=s(),et=us(),ft=Ps(),ot=qi(),wt=vi(),Bt=TypeError,Yt=Object.defineProperty,qt=Object.getOwnPropertyDescriptor,Ht="enumerable",fn="configurable",gn="writable";Qt.f=lt?ft?function(bn,pn,Te){if(ot(bn),pn=wt(pn),ot(Te),typeof bn=="function"&&pn==="prototype"&&"value"in Te&&gn in Te&&!Te[gn]){var Sn=qt(bn,pn);Sn&&Sn[gn]&&(bn[pn]=Te.value,Te={configurable:fn in Te?Te[fn]:Sn[fn],enumerable:Ht in Te?Te[Ht]:Sn[Ht],writable:!1})}return Yt(bn,pn,Te)}:Yt:function(bn,pn,Te){if(ot(bn),pn=wt(pn),ot(Te),et)try{return Yt(bn,pn,Te)}catch{}if("get"in Te||"set"in Te)throw Bt("Accessors not supported");return"value"in Te&&(bn[pn]=Te.value),bn}}),Zu=n((Qt,lt)=>{var et=s(),ft=tr(),ot=l();lt.exports=et?function(wt,Bt,Yt){return ft.f(wt,Bt,ot(1,Yt))}:function(wt,Bt,Yt){return wt[Bt]=Yt,wt}}),Cf=n((Qt,lt)=>{var et=s(),ft=Zn(),ot=Function.prototype,wt=et&&Object.getOwnPropertyDescriptor,Bt=ft(ot,"name"),Yt=Bt&&function(){}.name==="something",qt=Bt&&(!et||et&&wt(ot,"name").configurable);lt.exports={EXISTS:Bt,PROPER:Yt,CONFIGURABLE:qt}}),Ya=n((Qt,lt)=>{var et=b(),ft=de(),ot=$t(),wt=et(Function.toString);ft(ot.inspectSource)||(ot.inspectSource=function(Bt){return wt(Bt)}),lt.exports=ot.inspectSource}),xf=n((Qt,lt)=>{var et=r(),ft=de(),ot=et.WeakMap;lt.exports=ft(ot)&&/native code/.test(String(ot))}),Tr=n((Qt,lt)=>{var et=Zt(),ft=Un(),ot=et("keys");lt.exports=function(wt){return ot[wt]||(ot[wt]=ft(wt))}}),el=n((Qt,lt)=>{lt.exports={}}),Sf=n((Qt,lt)=>{var et=xf(),ft=r(),ot=ve(),wt=Zu(),Bt=Zn(),Yt=$t(),qt=Tr(),Ht=el(),fn="Object already initialized",gn=ft.TypeError,bn=ft.WeakMap,pn,Te,Sn,Bn=function(Re){return Sn(Re)?Te(Re):pn(Re,{})},Xn=function(Re){return function(Zr){var hs;if(!ot(Zr)||(hs=Te(Zr)).type!==Re)throw gn("Incompatible receiver, "+Re+" required");return hs}};et||Yt.state?(Yn=Yt.state||(Yt.state=new bn),Yn.get=Yn.get,Yn.has=Yn.has,Yn.set=Yn.set,pn=function(Re,Zr){if(Yn.has(Re))throw gn(fn);return Zr.facade=Re,Yn.set(Re,Zr),Zr},Te=function(Re){return Yn.get(Re)||{}},Sn=function(Re){return Yn.has(Re)}):(Cr=qt("state"),Ht[Cr]=!0,pn=function(Re,Zr){if(Bt(Re,Cr))throw gn(fn);return Zr.facade=Re,wt(Re,Cr,Zr),Zr},Te=function(Re){return Bt(Re,Cr)?Re[Cr]:{}},Sn=function(Re){return Bt(Re,Cr)});var Yn,Cr;lt.exports={set:pn,get:Te,has:Sn,enforce:Bn,getterFor:Xn}}),ls=n((Qt,lt)=>{var et=i(),ft=de(),ot=Zn(),wt=s(),Bt=Cf().CONFIGURABLE,Yt=Ya(),qt=Sf(),Ht=qt.enforce,fn=qt.get,gn=Object.defineProperty,bn=wt&&!et(function(){return gn(function(){},"length",{value:8}).length!==8}),pn=String(String).split("String"),Te=lt.exports=function(Sn,Bn,Xn){String(Bn).slice(0,7)==="Symbol("&&(Bn="["+String(Bn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Xn&&Xn.getter&&(Bn="get "+Bn),Xn&&Xn.setter&&(Bn="set "+Bn),(!ot(Sn,"name")||Bt&&Sn.name!==Bn)&&(wt?gn(Sn,"name",{value:Bn,configurable:!0}):Sn.name=Bn),bn&&Xn&&ot(Xn,"arity")&&Sn.length!==Xn.arity&&gn(Sn,"length",{value:Xn.arity});try{Xn&&ot(Xn,"constructor")&&Xn.constructor?wt&&gn(Sn,"prototype",{writable:!1}):Sn.prototype&&(Sn.prototype=void 0)}catch{}var Yn=Ht(Sn);return ot(Yn,"source")||(Yn.source=pn.join(typeof Bn=="string"?Bn:"")),Sn};Function.prototype.toString=Te(function(){return ft(this)&&fn(this).source||Yt(this)},"toString")}),Ha=n((Qt,lt)=>{var et=de(),ft=tr(),ot=ls(),wt=kt();lt.exports=function(Bt,Yt,qt,Ht){Ht||(Ht={});var fn=Ht.enumerable,gn=Ht.name!==void 0?Ht.name:Yt;if(et(qt)&&ot(qt,gn,Ht),Ht.global)fn?Bt[Yt]=qt:wt(Yt,qt);else{try{Ht.unsafe?Bt[Yt]&&(fn=!0):delete Bt[Yt]}catch{}fn?Bt[Yt]=qt:ft.f(Bt,Yt,{value:qt,enumerable:!1,configurable:!Ht.nonConfigurable,writable:!Ht.nonWritable})}return Bt}}),cs=n((Qt,lt)=>{var et=Math.ceil,ft=Math.floor;lt.exports=Math.trunc||function(ot){var wt=+ot;return(wt>0?ft:et)(wt)}}),Ro=n((Qt,lt)=>{var et=cs();lt.exports=function(ft){var ot=+ft;return ot!==ot||ot===0?0:et(ot)}}),wf=n((Qt,lt)=>{var et=Ro(),ft=Math.max,ot=Math.min;lt.exports=function(wt,Bt){var Yt=et(wt);return Yt<0?ft(Yt+Bt,0):ot(Yt,Bt)}}),Ff=n((Qt,lt)=>{var et=Ro(),ft=Math.min;lt.exports=function(ot){return ot>0?ft(et(ot),9007199254740991):0}}),ea=n((Qt,lt)=>{var et=Ff();lt.exports=function(ft){return et(ft.length)}}),tl=n((Qt,lt)=>{var et=Q(),ft=wf(),ot=ea(),wt=function(Bt){return function(Yt,qt,Ht){var fn=et(Yt),gn=ot(fn),bn=ft(Ht,gn),pn;if(Bt&&qt!=qt){for(;gn>bn;)if(pn=fn[bn++],pn!=pn)return!0}else for(;gn>bn;bn++)if((Bt||bn in fn)&&fn[bn]===qt)return Bt||bn||0;return!Bt&&-1}};lt.exports={includes:wt(!0),indexOf:wt(!1)}}),Nf=n((Qt,lt)=>{var et=b(),ft=Zn(),ot=Q(),wt=tl().indexOf,Bt=el(),Yt=et([].push);lt.exports=function(qt,Ht){var fn=ot(qt),gn=0,bn=[],pn;for(pn in fn)!ft(Bt,pn)&&ft(fn,pn)&&Yt(bn,pn);for(;Ht.length>gn;)ft(fn,pn=Ht[gn++])&&(~wt(bn,pn)||Yt(bn,pn));return bn}}),$o=n((Qt,lt)=>{lt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Tf=n(Qt=>{var lt=Nf(),et=$o(),ft=et.concat("length","prototype");Qt.f=Object.getOwnPropertyNames||function(ot){return lt(ot,ft)}}),_f=n(Qt=>{Qt.f=Object.getOwnPropertySymbols}),nl=n((Qt,lt)=>{var et=Fe(),ft=b(),ot=Tf(),wt=_f(),Bt=qi(),Yt=ft([].concat);lt.exports=et("Reflect","ownKeys")||function(qt){var Ht=ot.f(Bt(qt)),fn=wt.f;return fn?Yt(Ht,fn(qt)):Ht}}),rl=n((Qt,lt)=>{var et=Zn(),ft=nl(),ot=Ja(),wt=tr();lt.exports=function(Bt,Yt,qt){for(var Ht=ft(Yt),fn=wt.f,gn=ot.f,bn=0;bn<Ht.length;bn++){var pn=Ht[bn];!et(Bt,pn)&&!(qt&&et(qt,pn))&&fn(Bt,pn,gn(Yt,pn))}}}),Lf=n((Qt,lt)=>{var et=i(),ft=de(),ot=/#|\.prototype\./,wt=function(fn,gn){var bn=Yt[Bt(fn)];return bn==Ht?!0:bn==qt?!1:ft(gn)?et(gn):!!gn},Bt=wt.normalize=function(fn){return String(fn).replace(ot,".").toLowerCase()},Yt=wt.data={},qt=wt.NATIVE="N",Ht=wt.POLYFILL="P";lt.exports=wt}),za=n((Qt,lt)=>{var et=r(),ft=Ja().f,ot=Zu(),wt=Ha(),Bt=kt(),Yt=rl(),qt=Lf();lt.exports=function(Ht,fn){var gn=Ht.target,bn=Ht.global,pn=Ht.stat,Te,Sn,Bn,Xn,Yn,Cr;if(bn?Sn=et:pn?Sn=et[gn]||Bt(gn,{}):Sn=(et[gn]||{}).prototype,Sn)for(Bn in fn){if(Yn=fn[Bn],Ht.dontCallGetSet?(Cr=ft(Sn,Bn),Xn=Cr&&Cr.value):Xn=Sn[Bn],Te=qt(bn?Bn:gn+(pn?".":"#")+Bn,Ht.forced),!Te&&Xn!==void 0){if(typeof Yn==typeof Xn)continue;Yt(Yn,Xn)}(Ht.sham||Xn&&Xn.sham)&&ot(Yn,"sham",!0),wt(Sn,Bn,Yn,Ht)}}}),il=n((Qt,lt)=>{var et=c();lt.exports=Array.isArray||function(ft){return et(ft)=="Array"}}),kf=n((Qt,lt)=>{var et=TypeError,ft=9007199254740991;lt.exports=function(ot){if(ot>ft)throw et("Maximum allowed index exceeded");return ot}}),Pf=n((Qt,lt)=>{var et=c(),ft=b();lt.exports=function(ot){if(et(ot)==="Function")return ft(ot)}}),Qa=n((Qt,lt)=>{var et=Pf(),ft=Qe(),ot=a(),wt=et(et.bind);lt.exports=function(Bt,Yt){return ft(Bt),Yt===void 0?Bt:ot?wt(Bt,Yt):function(){return Bt.apply(Yt,arguments)}}}),sl=n((Qt,lt)=>{var et=il(),ft=ea(),ot=kf(),wt=Qa(),Bt=function(Yt,qt,Ht,fn,gn,bn,pn,Te){for(var Sn=gn,Bn=0,Xn=pn?wt(pn,Te):!1,Yn,Cr;Bn<fn;)Bn in Ht&&(Yn=Xn?Xn(Ht[Bn],Bn,qt):Ht[Bn],bn>0&&et(Yn)?(Cr=ft(Yn),Sn=Bt(Yt,qt,Yn,Cr,Sn,bn-1)-1):(ot(Sn+1),Yt[Sn]=Yn),Sn++),Bn++;return Sn};lt.exports=Bt}),Bf=n((Qt,lt)=>{var et=$r(),ft=et("toStringTag"),ot={};ot[ft]="z",lt.exports=String(ot)==="[object z]"}),fs=n((Qt,lt)=>{var et=Bf(),ft=de(),ot=c(),wt=$r(),Bt=wt("toStringTag"),Yt=Object,qt=ot(function(){return arguments}())=="Arguments",Ht=function(fn,gn){try{return fn[gn]}catch{}};lt.exports=et?ot:function(fn){var gn,bn,pn;return fn===void 0?"Undefined":fn===null?"Null":typeof(bn=Ht(gn=Yt(fn),Bt))=="string"?bn:qt?ot(gn):(pn=ot(gn))=="Object"&&ft(gn.callee)?"Arguments":pn}}),ps=n((Qt,lt)=>{var et=b(),ft=i(),ot=de(),wt=fs(),Bt=Fe(),Yt=Ya(),qt=function(){},Ht=[],fn=Bt("Reflect","construct"),gn=/^\s*(?:class|function)\b/,bn=et(gn.exec),pn=!gn.exec(qt),Te=function(Bn){if(!ot(Bn))return!1;try{return fn(qt,Ht,Bn),!0}catch{return!1}},Sn=function(Bn){if(!ot(Bn))return!1;switch(wt(Bn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return pn||!!bn(gn,Yt(Bn))}catch{return!0}};Sn.sham=!0,lt.exports=!fn||ft(function(){var Bn;return Te(Te.call)||!Te(Object)||!Te(function(){Bn=!0})||Bn})?Sn:Te}),Mf=n((Qt,lt)=>{var et=il(),ft=ps(),ot=ve(),wt=$r(),Bt=wt("species"),Yt=Array;lt.exports=function(qt){var Ht;return et(qt)&&(Ht=qt.constructor,ft(Ht)&&(Ht===Yt||et(Ht.prototype))?Ht=void 0:ot(Ht)&&(Ht=Ht[Bt],Ht===null&&(Ht=void 0))),Ht===void 0?Yt:Ht}}),ds=n((Qt,lt)=>{var et=Mf();lt.exports=function(ft,ot){return new(et(ft))(ot===0?0:ot)}}),al=n(()=>{var Qt=za(),lt=sl(),et=Qe(),ft=Cn(),ot=ea(),wt=ds();Qt({target:"Array",proto:!0},{flatMap:function(Bt){var Yt=ft(this),qt=ot(Yt),Ht;return et(Bt),Ht=wt(Yt,0),Ht.length=lt(Ht,Yt,Yt,qt,0,1,Bt,arguments.length>1?arguments[1]:void 0),Ht}})}),ol=n((Qt,lt)=>{lt.exports={}}),If=n((Qt,lt)=>{var et=$r(),ft=ol(),ot=et("iterator"),wt=Array.prototype;lt.exports=function(Bt){return Bt!==void 0&&(ft.Array===Bt||wt[ot]===Bt)}}),ul=n((Qt,lt)=>{var et=fs(),ft=xe(),ot=B(),wt=ol(),Bt=$r(),Yt=Bt("iterator");lt.exports=function(qt){if(!ot(qt))return ft(qt,Yt)||ft(qt,"@@iterator")||wt[et(qt)]}}),Of=n((Qt,lt)=>{var et=o(),ft=Qe(),ot=qi(),wt=Ke(),Bt=ul(),Yt=TypeError;lt.exports=function(qt,Ht){var fn=arguments.length<2?Bt(qt):Ht;if(ft(fn))return ot(et(fn,qt));throw Yt(wt(qt)+" is not iterable")}}),ll=n((Qt,lt)=>{var et=o(),ft=qi(),ot=xe();lt.exports=function(wt,Bt,Yt){var qt,Ht;ft(wt);try{if(qt=ot(wt,"return"),!qt){if(Bt==="throw")throw Yt;return Yt}qt=et(qt,wt)}catch(fn){Ht=!0,qt=fn}if(Bt==="throw")throw Yt;if(Ht)throw qt;return ft(qt),Yt}}),jf=n((Qt,lt)=>{var et=Qa(),ft=o(),ot=qi(),wt=Ke(),Bt=If(),Yt=ea(),qt=Ve(),Ht=Of(),fn=ul(),gn=ll(),bn=TypeError,pn=function(Sn,Bn){this.stopped=Sn,this.result=Bn},Te=pn.prototype;lt.exports=function(Sn,Bn,Xn){var Yn=Xn&&Xn.that,Cr=!!(Xn&&Xn.AS_ENTRIES),Re=!!(Xn&&Xn.IS_RECORD),Zr=!!(Xn&&Xn.IS_ITERATOR),hs=!!(Xn&&Xn.INTERRUPTED),Bs=et(Bn,Yn),pi,Ki,Vr,Ka,Gr,Za,Zi,ta=function(ti){return pi&&gn(pi,"normal",ti),new pn(!0,ti)},na=function(ti){return Cr?(ot(ti),hs?Bs(ti[0],ti[1],ta):Bs(ti[0],ti[1])):hs?Bs(ti,ta):Bs(ti)};if(Re)pi=Sn.iterator;else if(Zr)pi=Sn;else{if(Ki=fn(Sn),!Ki)throw bn(wt(Sn)+" is not iterable");if(Bt(Ki)){for(Vr=0,Ka=Yt(Sn);Ka>Vr;Vr++)if(Gr=na(Sn[Vr]),Gr&&qt(Te,Gr))return Gr;return new pn(!1)}pi=Ht(Sn,Ki)}for(Za=Re?Sn.next:pi.next;!(Zi=ft(Za,pi)).done;){try{Gr=na(Zi.value)}catch(ti){gn(pi,"throw",ti)}if(typeof Gr=="object"&&Gr&&qt(Te,Gr))return Gr}return new pn(!1)}}),cl=n((Qt,lt)=>{var et=vi(),ft=tr(),ot=l();lt.exports=function(wt,Bt,Yt){var qt=et(Bt);qt in wt?ft.f(wt,qt,ot(0,Yt)):wt[qt]=Yt}}),Xa=n(()=>{var Qt=za(),lt=jf(),et=cl();Qt({target:"Object",stat:!0},{fromEntries:function(ft){var ot={};return lt(ft,function(wt,Bt){et(ot,wt,Bt)},{AS_ENTRIES:!0}),ot}})}),fl=n((Qt,lt)=>{var et=ls(),ft=tr();lt.exports=function(ot,wt,Bt){return Bt.get&&et(Bt.get,wt,{getter:!0}),Bt.set&&et(Bt.set,wt,{setter:!0}),ft.f(ot,wt,Bt)}}),pl=n((Qt,lt)=>{var et=qi();lt.exports=function(){var ft=et(this),ot="";return ft.hasIndices&&(ot+="d"),ft.global&&(ot+="g"),ft.ignoreCase&&(ot+="i"),ft.multiline&&(ot+="m"),ft.dotAll&&(ot+="s"),ft.unicode&&(ot+="u"),ft.unicodeSets&&(ot+="v"),ft.sticky&&(ot+="y"),ot}}),dl=n(()=>{var Qt=r(),lt=s(),et=fl(),ft=pl(),ot=i(),wt=Qt.RegExp,Bt=wt.prototype,Yt=lt&&ot(function(){var qt=!0;try{wt(".","d")}catch{qt=!1}var Ht={},fn="",gn=qt?"dgimsy":"gimsy",bn=function(Bn,Xn){Object.defineProperty(Ht,Bn,{get:function(){return fn+=Xn,!0}})},pn={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};qt&&(pn.hasIndices="d");for(var Te in pn)bn(Te,pn[Te]);var Sn=Object.getOwnPropertyDescriptor(Bt,"flags").get.call(Ht);return Sn!==gn||fn!==gn});Yt&&et(Bt,"flags",{configurable:!0,get:ft})}),Rf=n(()=>{var Qt=za(),lt=r();Qt({global:!0,forced:lt.globalThis!==lt},{globalThis:lt})}),$f=n(()=>{Rf()}),Vo=n(()=>{var Qt=za(),lt=sl(),et=Cn(),ft=ea(),ot=Ro(),wt=ds();Qt({target:"Array",proto:!0},{flat:function(){var Bt=arguments.length?arguments[0]:void 0,Yt=et(this),qt=ft(Yt),Ht=wt(Yt,0);return Ht.length=lt(Ht,Yt,Yt,qt,0,Bt===void 0?1:ot(Bt)),Ht}})}),Vf=n((Qt,lt)=>{var et=["cliName","cliCategory","cliDescription"],ft=["_"],ot=["languageId"];function wt(m,A){if(m==null)return{};var p=Bt(m,A),v,D;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(m);for(D=0;D<f.length;D++)v=f[D],!(A.indexOf(v)>=0)&&Object.prototype.propertyIsEnumerable.call(m,v)&&(p[v]=m[v])}return p}function Bt(m,A){if(m==null)return{};var p={},v=Object.keys(m),D,f;for(f=0;f<v.length;f++)D=v[f],!(A.indexOf(D)>=0)&&(p[D]=m[D]);return p}al(),Xa(),dl(),$f(),Vo();var Yt=Object.create,qt=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,fn=Object.getOwnPropertyNames,gn=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty,pn=(m,A)=>function(){return m&&(A=(0,m[fn(m)[0]])(m=0)),A},Te=(m,A)=>function(){return A||(0,m[fn(m)[0]])((A={exports:{}}).exports,A),A.exports},Sn=(m,A)=>{for(var p in A)qt(m,p,{get:A[p],enumerable:!0})},Bn=(m,A,p,v)=>{if(A&&typeof A=="object"||typeof A=="function")for(let D of fn(A))!bn.call(m,D)&&D!==p&&qt(m,D,{get:()=>A[D],enumerable:!(v=Ht(A,D))||v.enumerable});return m},Xn=(m,A,p)=>(p=m!=null?Yt(gn(m)):{},Bn(A||!m||!m.__esModule?qt(p,"default",{value:m,enumerable:!0}):p,m)),Yn=m=>Bn(qt({},"__esModule",{value:!0}),m),Cr,Re=pn({"<define:process>"(){Cr={env:{},argv:[]}}}),Zr=Te({"package.json"(m,A){A.exports={version:"2.8.8"}}}),hs=Te({"node_modules/diff/lib/diff/base.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=A;function A(){}A.prototype={diff:function(D,f){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=d.callback;typeof d=="function"&&(h=d,d={}),this.options=d;var E=this;function x($){return h?(setTimeout(function(){h(void 0,$)},0),!0):$}D=this.castInput(D),f=this.castInput(f),D=this.removeEmpty(this.tokenize(D)),f=this.removeEmpty(this.tokenize(f));var P=f.length,T=D.length,k=1,C=P+T,S=[{newPos:-1,components:[]}],j=this.extractCommon(S[0],f,D,0);if(S[0].newPos+1>=P&&j+1>=T)return x([{value:this.join(f),count:f.length}]);function X(){for(var $=-1*k;$<=k;$+=2){var K=void 0,G=S[$-1],re=S[$+1],ee=(re?re.newPos:0)-$;G&&(S[$-1]=void 0);var De=G&&G.newPos+1<P,F=re&&0<=ee&&ee<T;if(!De&&!F){S[$]=void 0;continue}if(!De||F&&G.newPos<re.newPos?(K=v(re),E.pushComponent(K.components,void 0,!0)):(K=G,K.newPos++,E.pushComponent(K.components,!0,void 0)),ee=E.extractCommon(K,f,D,$),K.newPos+1>=P&&ee+1>=T)return x(p(E,K.components,f,D,E.useLongestToken));S[$]=K}k++}if(h)(function $(){setTimeout(function(){if(k>C)return h();X()||$()},0)})();else for(;k<=C;){var te=X();if(te)return te}},pushComponent:function(D,f,d){var h=D[D.length-1];h&&h.added===f&&h.removed===d?D[D.length-1]={count:h.count+1,added:f,removed:d}:D.push({count:1,added:f,removed:d})},extractCommon:function(D,f,d,h){for(var E=f.length,x=d.length,P=D.newPos,T=P-h,k=0;P+1<E&&T+1<x&&this.equals(f[P+1],d[T+1]);)P++,T++,k++;return k&&D.components.push({count:k}),D.newPos=P,T},equals:function(D,f){return this.options.comparator?this.options.comparator(D,f):D===f||this.options.ignoreCase&&D.toLowerCase()===f.toLowerCase()},removeEmpty:function(D){for(var f=[],d=0;d<D.length;d++)D[d]&&f.push(D[d]);return f},castInput:function(D){return D},tokenize:function(D){return D.split("")},join:function(D){return D.join("")}};function p(D,f,d,h,E){for(var x=0,P=f.length,T=0,k=0;x<P;x++){var C=f[x];if(C.removed){if(C.value=D.join(h.slice(k,k+C.count)),k+=C.count,x&&f[x-1].added){var S=f[x-1];f[x-1]=f[x],f[x]=S}}else{if(!C.added&&E){var j=d.slice(T,T+C.count);j=j.map(function(te,$){var K=h[k+$];return K.length>te.length?K:te}),C.value=D.join(j)}else C.value=D.join(d.slice(T,T+C.count));T+=C.count,C.added||(k+=C.count)}}var X=f[P-1];return P>1&&typeof X.value=="string"&&(X.added||X.removed)&&D.equals("",X.value)&&(f[P-2].value+=X.value,f.pop()),f}function v(D){return{newPos:D.newPos,components:D.components.slice(0)}}}}),Bs=Te({"node_modules/diff/lib/diff/array.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=D,m.arrayDiff=void 0;var A=p(hs());function p(f){return f&&f.__esModule?f:{default:f}}var v=new A.default;m.arrayDiff=v,v.tokenize=function(f){return f.slice()},v.join=v.removeEmpty=function(f){return f};function D(f,d,h){return v.diff(f,d,h)}}}),pi=Te({"src/document/doc-builders.js"(m,A){Re();function p(R){return{type:"concat",parts:R}}function v(R){return{type:"indent",contents:R}}function D(R,y){return{type:"align",contents:y,n:R}}function f(R){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:y.id,contents:R,break:!!y.shouldBreak,expandedStates:y.expandedStates}}function d(R){return D(Number.NEGATIVE_INFINITY,R)}function h(R){return D({type:"root"},R)}function E(R){return D(-1,R)}function x(R,y){return f(R[0],Object.assign(Object.assign({},y),{},{expandedStates:R}))}function P(R){return{type:"fill",parts:R}}function T(R,y){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:R,flatContents:y,groupId:_.groupId}}function k(R,y){return{type:"indent-if-break",contents:R,groupId:y.groupId,negate:y.negate}}function C(R){return{type:"line-suffix",contents:R}}var S={type:"line-suffix-boundary"},j={type:"break-parent"},X={type:"trim"},te={type:"line",hard:!0},$={type:"line",hard:!0,literal:!0},K={type:"line"},G={type:"line",soft:!0},re=p([te,j]),ee=p([$,j]),De={type:"cursor",placeholder:Symbol("cursor")};function F(R,y){let _=[];for(let I=0;I<y.length;I++)I!==0&&_.push(R),_.push(y[I]);return p(_)}function J(R,y,_){let I=R;if(y>0){for(let q=0;q<Math.floor(y/_);++q)I=v(I);I=D(y%_,I),I=D(Number.NEGATIVE_INFINITY,I)}return I}function w(R,y){return{type:"label",label:R,contents:y}}A.exports={concat:p,join:F,line:K,softline:G,hardline:re,literalline:ee,group:f,conditionalGroup:x,fill:P,lineSuffix:C,lineSuffixBoundary:S,cursor:De,breakParent:j,ifBreak:T,trim:X,indent:v,indentIfBreak:k,align:D,addAlignmentToDoc:J,markAsRoot:h,dedentToRoot:d,dedent:E,hardlineWithoutBreakParent:te,literallineWithoutBreakParent:$,label:w}}}),Ki=Te({"src/common/end-of-line.js"(m,A){Re();function p(d){let h=d.indexOf("\r");return h>=0?d.charAt(h+1)===`
151
- `?"crlf":"cr":"lf"}function v(d){switch(d){case"cr":return"\r";case"crlf":return`\r
152
- `;default:return`
153
- `}}function D(d,h){let E;switch(h){case`
154
- `:E=/\n/g;break;case"\r":E=/\r/g;break;case`\r
155
- `:E=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(h)}.`)}let x=d.match(E);return x?x.length:0}function f(d){return d.replace(/\r\n?/g,`
156
- `)}A.exports={guessEndOfLine:p,convertEndOfLineToChars:v,countEndOfLineChars:D,normalizeEndOfLine:f}}}),Vr=Te({"src/utils/get-last.js"(m,A){Re();var p=v=>v[v.length-1];A.exports=p}});function Ka(){let{onlyFirst:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(A,m?void 0:"g")}var Gr=pn({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Re()}});function Za(m){if(typeof m!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof m}\``);return m.replace(Ka(),"")}var Zi=pn({"node_modules/strip-ansi/index.js"(){Re(),Gr()}});function ta(m){return Number.isInteger(m)?m>=4352&&(m<=4447||m===9001||m===9002||11904<=m&&m<=12871&&m!==12351||12880<=m&&m<=19903||19968<=m&&m<=42182||43360<=m&&m<=43388||44032<=m&&m<=55203||63744<=m&&m<=64255||65040<=m&&m<=65049||65072<=m&&m<=65131||65281<=m&&m<=65376||65504<=m&&m<=65510||110592<=m&&m<=110593||127488<=m&&m<=127569||131072<=m&&m<=262141):!1}var na=pn({"node_modules/is-fullwidth-code-point/index.js"(){Re()}}),ti=Te({"node_modules/emoji-regex/index.js"(m,A){Re(),A.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),hl={};Sn(hl,{default:()=>ml});function ml(m){if(typeof m!="string"||m.length===0||(m=Za(m),m.length===0))return 0;m=m.replace((0,gl.default)()," ");let A=0;for(let p=0;p<m.length;p++){let v=m.codePointAt(p);v<=31||v>=127&&v<=159||v>=768&&v<=879||(v>65535&&p++,A+=ta(v)?2:1)}return A}var gl,qf=pn({"node_modules/string-width/index.js"(){Re(),Zi(),na(),gl=Xn(ti())}}),yl=Te({"src/utils/get-string-width.js"(m,A){Re();var p=(qf(),Yn(hl)).default,v=/[^\x20-\x7F]/;function D(f){return f?v.test(f)?p(f):f.length:0}A.exports=D}}),ra=Te({"src/document/doc-utils.js"(m,A){Re();var p=Vr(),{literalline:v,join:D}=pi(),f=y=>Array.isArray(y)||y&&y.type==="concat",d=y=>{if(Array.isArray(y))return y;if(y.type!=="concat"&&y.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return y.parts},h={};function E(y,_,I,q){let U=[y];for(;U.length>0;){let z=U.pop();if(z===h){I(U.pop());continue}if(I&&U.push(z,h),!_||_(z)!==!1)if(f(z)||z.type==="fill"){let ie=d(z);for(let le=ie.length,ge=le-1;ge>=0;--ge)U.push(ie[ge])}else if(z.type==="if-break")z.flatContents&&U.push(z.flatContents),z.breakContents&&U.push(z.breakContents);else if(z.type==="group"&&z.expandedStates)if(q)for(let ie=z.expandedStates.length,le=ie-1;le>=0;--le)U.push(z.expandedStates[le]);else U.push(z.contents);else z.contents&&U.push(z.contents)}}function x(y,_){let I=new Map;return q(y);function q(z){if(I.has(z))return I.get(z);let ie=U(z);return I.set(z,ie),ie}function U(z){if(Array.isArray(z))return _(z.map(q));if(z.type==="concat"||z.type==="fill"){let ie=z.parts.map(q);return _(Object.assign(Object.assign({},z),{},{parts:ie}))}if(z.type==="if-break"){let ie=z.breakContents&&q(z.breakContents),le=z.flatContents&&q(z.flatContents);return _(Object.assign(Object.assign({},z),{},{breakContents:ie,flatContents:le}))}if(z.type==="group"&&z.expandedStates){let ie=z.expandedStates.map(q),le=ie[0];return _(Object.assign(Object.assign({},z),{},{contents:le,expandedStates:ie}))}if(z.contents){let ie=q(z.contents);return _(Object.assign(Object.assign({},z),{},{contents:ie}))}return _(z)}}function P(y,_,I){let q=I,U=!1;function z(ie){let le=_(ie);if(le!==void 0&&(U=!0,q=le),U)return!1}return E(y,z),q}function T(y){if(y.type==="group"&&y.break||y.type==="line"&&y.hard||y.type==="break-parent")return!0}function k(y){return P(y,T,!1)}function C(y){if(y.length>0){let _=p(y);!_.expandedStates&&!_.break&&(_.break="propagated")}return null}function S(y){let _=new Set,I=[];function q(z){if(z.type==="break-parent"&&C(I),z.type==="group"){if(I.push(z),_.has(z))return!1;_.add(z)}}function U(z){z.type==="group"&&I.pop().break&&C(I)}E(y,q,U,!0)}function j(y){return y.type==="line"&&!y.hard?y.soft?"":" ":y.type==="if-break"?y.flatContents||"":y}function X(y){return x(y,j)}var te=(y,_)=>y&&y.type==="line"&&y.hard&&_&&_.type==="break-parent";function $(y){if(!y)return y;if(f(y)||y.type==="fill"){let _=d(y);for(;_.length>1&&te(..._.slice(-2));)_.length-=2;if(_.length>0){let I=$(p(_));_[_.length-1]=I}return Array.isArray(y)?_:Object.assign(Object.assign({},y),{},{parts:_})}switch(y.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let _=$(y.contents);return Object.assign(Object.assign({},y),{},{contents:_})}case"if-break":{let _=$(y.breakContents),I=$(y.flatContents);return Object.assign(Object.assign({},y),{},{breakContents:_,flatContents:I})}}return y}function K(y){return $(re(y))}function G(y){switch(y.type){case"fill":if(y.parts.every(I=>I===""))return"";break;case"group":if(!y.contents&&!y.id&&!y.break&&!y.expandedStates)return"";if(y.contents.type==="group"&&y.contents.id===y.id&&y.contents.break===y.break&&y.contents.expandedStates===y.expandedStates)return y.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!y.contents)return"";break;case"if-break":if(!y.flatContents&&!y.breakContents)return"";break}if(!f(y))return y;let _=[];for(let I of d(y)){if(!I)continue;let[q,...U]=f(I)?d(I):[I];typeof q=="string"&&typeof p(_)=="string"?_[_.length-1]+=q:_.push(q),_.push(...U)}return _.length===0?"":_.length===1?_[0]:Array.isArray(y)?_:Object.assign(Object.assign({},y),{},{parts:_})}function re(y){return x(y,_=>G(_))}function ee(y){let _=[],I=y.filter(Boolean);for(;I.length>0;){let q=I.shift();if(q){if(f(q)){I.unshift(...d(q));continue}if(_.length>0&&typeof p(_)=="string"&&typeof q=="string"){_[_.length-1]+=q;continue}_.push(q)}}return _}function De(y){return x(y,_=>Array.isArray(_)?ee(_):_.parts?Object.assign(Object.assign({},_),{},{parts:ee(_.parts)}):_)}function F(y){return x(y,_=>typeof _=="string"&&_.includes(`
157
- `)?J(_):_)}function J(y){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v;return D(_,y.split(`
158
- `)).parts}function w(y){if(y.type==="line")return!0}function R(y){return P(y,w,!1)}A.exports={isConcat:f,getDocParts:d,willBreak:k,traverseDoc:E,findInDoc:P,mapDoc:x,propagateBreaks:S,removeLines:X,stripTrailingHardline:K,normalizeParts:ee,normalizeDoc:De,cleanDoc:re,replaceTextEndOfLine:J,replaceEndOfLine:F,canBreak:R}}}),Uf=Te({"src/document/doc-printer.js"(m,A){Re();var{convertEndOfLineToChars:p}=Ki(),v=Vr(),D=yl(),{fill:f,cursor:d,indent:h}=pi(),{isConcat:E,getDocParts:x}=ra(),P,T=1,k=2;function C(){return{value:"",length:0,queue:[]}}function S(G,re){return X(G,{type:"indent"},re)}function j(G,re,ee){return re===Number.NEGATIVE_INFINITY?G.root||C():re<0?X(G,{type:"dedent"},ee):re?re.type==="root"?Object.assign(Object.assign({},G),{},{root:G}):X(G,{type:typeof re=="string"?"stringAlign":"numberAlign",n:re},ee):G}function X(G,re,ee){let De=re.type==="dedent"?G.queue.slice(0,-1):[...G.queue,re],F="",J=0,w=0,R=0;for(let ie of De)switch(ie.type){case"indent":I(),ee.useTabs?y(1):_(ee.tabWidth);break;case"stringAlign":I(),F+=ie.n,J+=ie.n.length;break;case"numberAlign":w+=1,R+=ie.n;break;default:throw new Error(`Unexpected type '${ie.type}'`)}return U(),Object.assign(Object.assign({},G),{},{value:F,length:J,queue:De});function y(ie){F+=" ".repeat(ie),J+=ee.tabWidth*ie}function _(ie){F+=" ".repeat(ie),J+=ie}function I(){ee.useTabs?q():U()}function q(){w>0&&y(w),z()}function U(){R>0&&_(R),z()}function z(){w=0,R=0}}function te(G){if(G.length===0)return 0;let re=0;for(;G.length>0&&typeof v(G)=="string"&&/^[\t ]*$/.test(v(G));)re+=G.pop().length;if(G.length>0&&typeof v(G)=="string"){let ee=v(G).replace(/[\t ]*$/,"");re+=v(G).length-ee.length,G[G.length-1]=ee}return re}function $(G,re,ee,De,F){let J=re.length,w=[G],R=[];for(;ee>=0;){if(w.length===0){if(J===0)return!0;w.push(re[--J]);continue}let{mode:y,doc:_}=w.pop();if(typeof _=="string")R.push(_),ee-=D(_);else if(E(_)||_.type==="fill"){let I=x(_);for(let q=I.length-1;q>=0;q--)w.push({mode:y,doc:I[q]})}else switch(_.type){case"indent":case"align":case"indent-if-break":case"label":w.push({mode:y,doc:_.contents});break;case"trim":ee+=te(R);break;case"group":{if(F&&_.break)return!1;let I=_.break?T:y,q=_.expandedStates&&I===T?v(_.expandedStates):_.contents;w.push({mode:I,doc:q});break}case"if-break":{let I=(_.groupId?P[_.groupId]||k:y)===T?_.breakContents:_.flatContents;I&&w.push({mode:y,doc:I});break}case"line":if(y===T||_.hard)return!0;_.soft||(R.push(" "),ee--);break;case"line-suffix":De=!0;break;case"line-suffix-boundary":if(De)return!1;break}}return!1}function K(G,re){P={};let ee=re.printWidth,De=p(re.endOfLine),F=0,J=[{ind:C(),mode:T,doc:G}],w=[],R=!1,y=[];for(;J.length>0;){let{ind:I,mode:q,doc:U}=J.pop();if(typeof U=="string"){let z=De!==`
159
- `?U.replace(/\n/g,De):U;w.push(z),F+=D(z)}else if(E(U)){let z=x(U);for(let ie=z.length-1;ie>=0;ie--)J.push({ind:I,mode:q,doc:z[ie]})}else switch(U.type){case"cursor":w.push(d.placeholder);break;case"indent":J.push({ind:S(I,re),mode:q,doc:U.contents});break;case"align":J.push({ind:j(I,U.n,re),mode:q,doc:U.contents});break;case"trim":F-=te(w);break;case"group":switch(q){case k:if(!R){J.push({ind:I,mode:U.break?T:k,doc:U.contents});break}case T:{R=!1;let z={ind:I,mode:k,doc:U.contents},ie=ee-F,le=y.length>0;if(!U.break&&$(z,J,ie,le))J.push(z);else if(U.expandedStates){let ge=v(U.expandedStates);if(U.break){J.push({ind:I,mode:T,doc:ge});break}else for(let ce=1;ce<U.expandedStates.length+1;ce++)if(ce>=U.expandedStates.length){J.push({ind:I,mode:T,doc:ge});break}else{let _e=U.expandedStates[ce],se={ind:I,mode:k,doc:_e};if($(se,J,ie,le)){J.push(se);break}}}else J.push({ind:I,mode:T,doc:U.contents});break}}U.id&&(P[U.id]=v(J).mode);break;case"fill":{let z=ee-F,{parts:ie}=U;if(ie.length===0)break;let[le,ge]=ie,ce={ind:I,mode:k,doc:le},_e={ind:I,mode:T,doc:le},se=$(ce,[],z,y.length>0,!0);if(ie.length===1){se?J.push(ce):J.push(_e);break}let Ue={ind:I,mode:k,doc:ge},me={ind:I,mode:T,doc:ge};if(ie.length===2){se?J.push(Ue,ce):J.push(me,_e);break}ie.splice(0,2);let oe={ind:I,mode:q,doc:f(ie)},qe=ie[0];$({ind:I,mode:k,doc:[le,ge,qe]},[],z,y.length>0,!0)?J.push(oe,Ue,ce):se?J.push(oe,me,ce):J.push(oe,me,_e);break}case"if-break":case"indent-if-break":{let z=U.groupId?P[U.groupId]:q;if(z===T){let ie=U.type==="if-break"?U.breakContents:U.negate?U.contents:h(U.contents);ie&&J.push({ind:I,mode:q,doc:ie})}if(z===k){let ie=U.type==="if-break"?U.flatContents:U.negate?h(U.contents):U.contents;ie&&J.push({ind:I,mode:q,doc:ie})}break}case"line-suffix":y.push({ind:I,mode:q,doc:U.contents});break;case"line-suffix-boundary":y.length>0&&J.push({ind:I,mode:q,doc:{type:"line",hard:!0}});break;case"line":switch(q){case k:if(U.hard)R=!0;else{U.soft||(w.push(" "),F+=1);break}case T:if(y.length>0){J.push({ind:I,mode:q,doc:U},...y.reverse()),y.length=0;break}U.literal?I.root?(w.push(De,I.root.value),F=I.root.length):(w.push(De),F=0):(F-=te(w),w.push(De+I.value),F=I.length);break}break;case"label":J.push({ind:I,mode:q,doc:U.contents});break}J.length===0&&y.length>0&&(J.push(...y.reverse()),y.length=0)}let _=w.indexOf(d.placeholder);if(_!==-1){let I=w.indexOf(d.placeholder,_+1),q=w.slice(0,_).join(""),U=w.slice(_+1,I).join(""),z=w.slice(I+1).join("");return{formatted:q+U+z,cursorNodeStart:q.length,cursorNodeText:U}}return{formatted:w.join("")}}A.exports={printDocToString:K}}}),Wf=Te({"src/document/doc-debug.js"(m,A){Re();var{isConcat:p,getDocParts:v}=ra();function D(d){if(!d)return"";if(p(d)){let h=[];for(let E of v(d))if(p(E))h.push(...D(E).parts);else{let x=D(E);x!==""&&h.push(x)}return{type:"concat",parts:h}}return d.type==="if-break"?Object.assign(Object.assign({},d),{},{breakContents:D(d.breakContents),flatContents:D(d.flatContents)}):d.type==="group"?Object.assign(Object.assign({},d),{},{contents:D(d.contents),expandedStates:d.expandedStates&&d.expandedStates.map(D)}):d.type==="fill"?{type:"fill",parts:d.parts.map(D)}:d.contents?Object.assign(Object.assign({},d),{},{contents:D(d.contents)}):d}function f(d){let h=Object.create(null),E=new Set;return x(D(d));function x(T,k,C){if(typeof T=="string")return JSON.stringify(T);if(p(T)){let S=v(T).map(x).filter(Boolean);return S.length===1?S[0]:`[${S.join(", ")}]`}if(T.type==="line"){let S=Array.isArray(C)&&C[k+1]&&C[k+1].type==="break-parent";return T.literal?S?"literalline":"literallineWithoutBreakParent":T.hard?S?"hardline":"hardlineWithoutBreakParent":T.soft?"softline":"line"}if(T.type==="break-parent")return Array.isArray(C)&&C[k-1]&&C[k-1].type==="line"&&C[k-1].hard?void 0:"breakParent";if(T.type==="trim")return"trim";if(T.type==="indent")return"indent("+x(T.contents)+")";if(T.type==="align")return T.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+x(T.contents)+")":T.n<0?"dedent("+x(T.contents)+")":T.n.type==="root"?"markAsRoot("+x(T.contents)+")":"align("+JSON.stringify(T.n)+", "+x(T.contents)+")";if(T.type==="if-break")return"ifBreak("+x(T.breakContents)+(T.flatContents?", "+x(T.flatContents):"")+(T.groupId?(T.flatContents?"":', ""')+`, { groupId: ${P(T.groupId)} }`:"")+")";if(T.type==="indent-if-break"){let S=[];T.negate&&S.push("negate: true"),T.groupId&&S.push(`groupId: ${P(T.groupId)}`);let j=S.length>0?`, { ${S.join(", ")} }`:"";return`indentIfBreak(${x(T.contents)}${j})`}if(T.type==="group"){let S=[];T.break&&T.break!=="propagated"&&S.push("shouldBreak: true"),T.id&&S.push(`id: ${P(T.id)}`);let j=S.length>0?`, { ${S.join(", ")} }`:"";return T.expandedStates?`conditionalGroup([${T.expandedStates.map(X=>x(X)).join(",")}]${j})`:`group(${x(T.contents)}${j})`}if(T.type==="fill")return`fill([${T.parts.map(S=>x(S)).join(", ")}])`;if(T.type==="line-suffix")return"lineSuffix("+x(T.contents)+")";if(T.type==="line-suffix-boundary")return"lineSuffixBoundary";if(T.type==="label")return`label(${JSON.stringify(T.label)}, ${x(T.contents)})`;throw new Error("Unknown doc type "+T.type)}function P(T){if(typeof T!="symbol")return JSON.stringify(String(T));if(T in h)return h[T];let k=String(T).slice(7,-1)||"symbol";for(let C=0;;C++){let S=k+(C>0?` #${C}`:"");if(!E.has(S))return E.add(S),h[T]=`Symbol.for(${JSON.stringify(S)})`}}}A.exports={printDocToDebug:f}}}),wn=Te({"src/document/index.js"(m,A){Re(),A.exports={builders:pi(),printer:Uf(),utils:ra(),debug:Wf()}}}),Dl={};Sn(Dl,{default:()=>Gf});function Gf(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Jf=pn({"node_modules/escape-string-regexp/index.js"(){Re()}}),bl=Te({"node_modules/semver/internal/debug.js"(m,A){Re();var p=typeof Cr=="object"&&Cr.env&&Cr.env.NODE_DEBUG&&/\bsemver\b/i.test(Cr.env.NODE_DEBUG)?function(){for(var v=arguments.length,D=new Array(v),f=0;f<v;f++)D[f]=arguments[f];return console.error("SEMVER",...D)}:()=>{};A.exports=p}}),Y=Te({"node_modules/semver/internal/constants.js"(m,A){Re();var p="2.0.0",v=256,D=Number.MAX_SAFE_INTEGER||9007199254740991,f=16;A.exports={SEMVER_SPEC_VERSION:p,MAX_LENGTH:v,MAX_SAFE_INTEGER:D,MAX_SAFE_COMPONENT_LENGTH:f}}}),g=Te({"node_modules/semver/internal/re.js"(m,A){Re();var{MAX_SAFE_COMPONENT_LENGTH:p}=Y(),v=bl();m=A.exports={};var D=m.re=[],f=m.src=[],d=m.t={},h=0,E=(x,P,T)=>{let k=h++;v(x,k,P),d[x]=k,f[k]=P,D[k]=new RegExp(P,T?"g":void 0)};E("NUMERICIDENTIFIER","0|[1-9]\\d*"),E("NUMERICIDENTIFIERLOOSE","[0-9]+"),E("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),E("MAINVERSION",`(${f[d.NUMERICIDENTIFIER]})\\.(${f[d.NUMERICIDENTIFIER]})\\.(${f[d.NUMERICIDENTIFIER]})`),E("MAINVERSIONLOOSE",`(${f[d.NUMERICIDENTIFIERLOOSE]})\\.(${f[d.NUMERICIDENTIFIERLOOSE]})\\.(${f[d.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASEIDENTIFIER",`(?:${f[d.NUMERICIDENTIFIER]}|${f[d.NONNUMERICIDENTIFIER]})`),E("PRERELEASEIDENTIFIERLOOSE",`(?:${f[d.NUMERICIDENTIFIERLOOSE]}|${f[d.NONNUMERICIDENTIFIER]})`),E("PRERELEASE",`(?:-(${f[d.PRERELEASEIDENTIFIER]}(?:\\.${f[d.PRERELEASEIDENTIFIER]})*))`),E("PRERELEASELOOSE",`(?:-?(${f[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${f[d.PRERELEASEIDENTIFIERLOOSE]})*))`),E("BUILDIDENTIFIER","[0-9A-Za-z-]+"),E("BUILD",`(?:\\+(${f[d.BUILDIDENTIFIER]}(?:\\.${f[d.BUILDIDENTIFIER]})*))`),E("FULLPLAIN",`v?${f[d.MAINVERSION]}${f[d.PRERELEASE]}?${f[d.BUILD]}?`),E("FULL",`^${f[d.FULLPLAIN]}$`),E("LOOSEPLAIN",`[v=\\s]*${f[d.MAINVERSIONLOOSE]}${f[d.PRERELEASELOOSE]}?${f[d.BUILD]}?`),E("LOOSE",`^${f[d.LOOSEPLAIN]}$`),E("GTLT","((?:<|>)?=?)"),E("XRANGEIDENTIFIERLOOSE",`${f[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),E("XRANGEIDENTIFIER",`${f[d.NUMERICIDENTIFIER]}|x|X|\\*`),E("XRANGEPLAIN",`[v=\\s]*(${f[d.XRANGEIDENTIFIER]})(?:\\.(${f[d.XRANGEIDENTIFIER]})(?:\\.(${f[d.XRANGEIDENTIFIER]})(?:${f[d.PRERELEASE]})?${f[d.BUILD]}?)?)?`),E("XRANGEPLAINLOOSE",`[v=\\s]*(${f[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${f[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${f[d.XRANGEIDENTIFIERLOOSE]})(?:${f[d.PRERELEASELOOSE]})?${f[d.BUILD]}?)?)?`),E("XRANGE",`^${f[d.GTLT]}\\s*${f[d.XRANGEPLAIN]}$`),E("XRANGELOOSE",`^${f[d.GTLT]}\\s*${f[d.XRANGEPLAINLOOSE]}$`),E("COERCE",`(^|[^\\d])(\\d{1,${p}})(?:\\.(\\d{1,${p}}))?(?:\\.(\\d{1,${p}}))?(?:$|[^\\d])`),E("COERCERTL",f[d.COERCE],!0),E("LONETILDE","(?:~>?)"),E("TILDETRIM",`(\\s*)${f[d.LONETILDE]}\\s+`,!0),m.tildeTrimReplace="$1~",E("TILDE",`^${f[d.LONETILDE]}${f[d.XRANGEPLAIN]}$`),E("TILDELOOSE",`^${f[d.LONETILDE]}${f[d.XRANGEPLAINLOOSE]}$`),E("LONECARET","(?:\\^)"),E("CARETTRIM",`(\\s*)${f[d.LONECARET]}\\s+`,!0),m.caretTrimReplace="$1^",E("CARET",`^${f[d.LONECARET]}${f[d.XRANGEPLAIN]}$`),E("CARETLOOSE",`^${f[d.LONECARET]}${f[d.XRANGEPLAINLOOSE]}$`),E("COMPARATORLOOSE",`^${f[d.GTLT]}\\s*(${f[d.LOOSEPLAIN]})$|^$`),E("COMPARATOR",`^${f[d.GTLT]}\\s*(${f[d.FULLPLAIN]})$|^$`),E("COMPARATORTRIM",`(\\s*)${f[d.GTLT]}\\s*(${f[d.LOOSEPLAIN]}|${f[d.XRANGEPLAIN]})`,!0),m.comparatorTrimReplace="$1$2$3",E("HYPHENRANGE",`^\\s*(${f[d.XRANGEPLAIN]})\\s+-\\s+(${f[d.XRANGEPLAIN]})\\s*$`),E("HYPHENRANGELOOSE",`^\\s*(${f[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${f[d.XRANGEPLAINLOOSE]})\\s*$`),E("STAR","(<|>)?=?\\s*\\*"),E("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),E("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),W=Te({"node_modules/semver/internal/parse-options.js"(m,A){Re();var p=["includePrerelease","loose","rtl"],v=D=>D?typeof D!="object"?{loose:!0}:p.filter(f=>D[f]).reduce((f,d)=>(f[d]=!0,f),{}):{};A.exports=v}}),Ce=Te({"node_modules/semver/internal/identifiers.js"(m,A){Re();var p=/^[0-9]+$/,v=(f,d)=>{let h=p.test(f),E=p.test(d);return h&&E&&(f=+f,d=+d),f===d?0:h&&!E?-1:E&&!h?1:f<d?-1:1},D=(f,d)=>v(d,f);A.exports={compareIdentifiers:v,rcompareIdentifiers:D}}}),ke=Te({"node_modules/semver/classes/semver.js"(m,A){Re();var p=bl(),{MAX_LENGTH:v,MAX_SAFE_INTEGER:D}=Y(),{re:f,t:d}=g(),h=W(),{compareIdentifiers:E}=Ce(),x=class{constructor(P,T){if(T=h(T),P instanceof x){if(P.loose===!!T.loose&&P.includePrerelease===!!T.includePrerelease)return P;P=P.version}else if(typeof P!="string")throw new TypeError(`Invalid Version: ${P}`);if(P.length>v)throw new TypeError(`version is longer than ${v} characters`);p("SemVer",P,T),this.options=T,this.loose=!!T.loose,this.includePrerelease=!!T.includePrerelease;let k=P.trim().match(T.loose?f[d.LOOSE]:f[d.FULL]);if(!k)throw new TypeError(`Invalid Version: ${P}`);if(this.raw=P,this.major=+k[1],this.minor=+k[2],this.patch=+k[3],this.major>D||this.major<0)throw new TypeError("Invalid major version");if(this.minor>D||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>D||this.patch<0)throw new TypeError("Invalid patch version");k[4]?this.prerelease=k[4].split(".").map(C=>{if(/^[0-9]+$/.test(C)){let S=+C;if(S>=0&&S<D)return S}return C}):this.prerelease=[],this.build=k[5]?k[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(P){if(p("SemVer.compare",this.version,this.options,P),!(P instanceof x)){if(typeof P=="string"&&P===this.version)return 0;P=new x(P,this.options)}return P.version===this.version?0:this.compareMain(P)||this.comparePre(P)}compareMain(P){return P instanceof x||(P=new x(P,this.options)),E(this.major,P.major)||E(this.minor,P.minor)||E(this.patch,P.patch)}comparePre(P){if(P instanceof x||(P=new x(P,this.options)),this.prerelease.length&&!P.prerelease.length)return-1;if(!this.prerelease.length&&P.prerelease.length)return 1;if(!this.prerelease.length&&!P.prerelease.length)return 0;let T=0;do{let k=this.prerelease[T],C=P.prerelease[T];if(p("prerelease compare",T,k,C),k===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(k===void 0)return-1;if(k!==C)return E(k,C)}while(++T)}compareBuild(P){P instanceof x||(P=new x(P,this.options));let T=0;do{let k=this.build[T],C=P.build[T];if(p("prerelease compare",T,k,C),k===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(k===void 0)return-1;if(k!==C)return E(k,C)}while(++T)}inc(P,T){switch(P){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",T);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",T);break;case"prepatch":this.prerelease.length=0,this.inc("patch",T),this.inc("pre",T);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",T),this.inc("pre",T);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let k=this.prerelease.length;for(;--k>=0;)typeof this.prerelease[k]=="number"&&(this.prerelease[k]++,k=-2);k===-1&&this.prerelease.push(0)}T&&(E(this.prerelease[0],T)===0?isNaN(this.prerelease[1])&&(this.prerelease=[T,0]):this.prerelease=[T,0]);break;default:throw new Error(`invalid increment argument: ${P}`)}return this.format(),this.raw=this.version,this}};A.exports=x}}),Pe=Te({"node_modules/semver/functions/compare.js"(m,A){Re();var p=ke(),v=(D,f,d)=>new p(D,d).compare(new p(f,d));A.exports=v}}),nt=Te({"node_modules/semver/functions/lt.js"(m,A){Re();var p=Pe(),v=(D,f,d)=>p(D,f,d)<0;A.exports=v}}),Dt=Te({"node_modules/semver/functions/gte.js"(m,A){Re();var p=Pe(),v=(D,f,d)=>p(D,f,d)>=0;A.exports=v}}),Rt=Te({"src/utils/arrayify.js"(m,A){Re(),A.exports=(p,v)=>Object.entries(p).map(D=>{let[f,d]=D;return Object.assign({[v]:f},d)})}}),ut=Te({"node_modules/outdent/lib/index.js"(m,A){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.outdent=void 0;function p(){for(var $=[],K=0;K<arguments.length;K++)$[K]=arguments[K]}function v(){return typeof WeakMap<"u"?new WeakMap:D()}function D(){return{add:p,delete:p,get:p,set:p,has:function($){return!1}}}var f=Object.prototype.hasOwnProperty,d=function($,K){return f.call($,K)};function h($,K){for(var G in K)d(K,G)&&($[G]=K[G]);return $}var E=/^[ \t]*(?:\r\n|\r|\n)/,x=/(?:\r\n|\r|\n)[ \t]*$/,P=/^(?:[\r\n]|$)/,T=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,k=/^[ \t]*[\r\n][ \t\r\n]*$/;function C($,K,G){var re=0,ee=$[0].match(T);ee&&(re=ee[1].length);var De="(\\r\\n|\\r|\\n).{0,"+re+"}",F=new RegExp(De,"g");K&&($=$.slice(1));var J=G.newline,w=G.trimLeadingNewline,R=G.trimTrailingNewline,y=typeof J=="string",_=$.length,I=$.map(function(q,U){return q=q.replace(F,"$1"),U===0&&w&&(q=q.replace(E,"")),U===_-1&&R&&(q=q.replace(x,"")),y&&(q=q.replace(/\r\n|\n|\r/g,function(z){return J})),q});return I}function S($,K){for(var G="",re=0,ee=$.length;re<ee;re++)G+=$[re],re<ee-1&&(G+=K[re]);return G}function j($){return d($,"raw")&&d($,"length")}function X($){var K=v(),G=v();function re(De){for(var F=[],J=1;J<arguments.length;J++)F[J-1]=arguments[J];if(j(De)){var w=De,R=(F[0]===re||F[0]===te)&&k.test(w[0])&&P.test(w[1]),y=R?G:K,_=y.get(w);if(_||(_=C(w,R,$),y.set(w,_)),F.length===0)return _[0];var I=S(_,R?F.slice(1):F);return I}else return X(h(h({},$),De||{}))}var ee=h(re,{string:function(De){return C([De],!1,$)[0]}});return ee}var te=X({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=te,m.default=te,typeof A<"u")try{A.exports=te,Object.defineProperty(te,"__esModule",{value:!0}),te.default=te,te.outdent=te}catch{}}}),vt=Te({"src/main/core-options.js"(m,A){Re();var{outdent:p}=ut(),v="Config",D="Editor",f="Format",d="Other",h="Output",E="Global",x="Special",P={cursorOffset:{since:"1.4.0",category:x,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:p`
160
- Print (to stderr) where a cursor at the given position would move to after formatting.
161
- This option cannot be used with --range-start and --range-end.
162
- `,cliCategory:D},endOfLine:{since:"1.15.0",category:E,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:p`
163
- Maintain existing
164
- (mixed values within one file are normalised by looking at what's used after the first line)
165
- `}]},filepath:{since:"1.4.0",category:x,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:d,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:x,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:d},parser:{since:"0.0.10",category:E,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:T=>typeof T=="string"||typeof T=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:E,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:T=>typeof T=="string"||typeof T=="object",cliName:"plugin",cliCategory:v},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:E,description:p`
166
- Custom directory that contains prettier plugins in node_modules subdirectory.
167
- Overrides default behavior when plugins are searched relatively to the location of Prettier.
168
- Multiple values are accepted.
169
- `,exception:T=>typeof T=="string"||typeof T=="object",cliName:"plugin-search-dir",cliCategory:v},printWidth:{since:"0.0.0",category:E,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:x,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:p`
170
- Format code ending at a given character offset (exclusive).
171
- The range will extend forwards to the end of the selected statement.
172
- This option cannot be used with --cursor-offset.
173
- `,cliCategory:D},rangeStart:{since:"1.4.0",category:x,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:p`
174
- Format code starting at a given character offset.
175
- The range will extend backwards to the start of the first line containing the selected statement.
176
- This option cannot be used with --cursor-offset.
177
- `,cliCategory:D},requirePragma:{since:"1.7.0",category:x,type:"boolean",default:!1,description:p`
178
- Require either '@prettier' or '@format' to be present in the file's first docblock comment
179
- in order for it to be formatted.
180
- `,cliCategory:d},tabWidth:{type:"int",category:E,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:E,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:E,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};A.exports={CATEGORY_CONFIG:v,CATEGORY_EDITOR:D,CATEGORY_FORMAT:f,CATEGORY_OTHER:d,CATEGORY_OUTPUT:h,CATEGORY_GLOBAL:E,CATEGORY_SPECIAL:x,options:P}}}),Tt=Te({"src/main/support.js"(m,A){Re();var p={compare:Pe(),lt:nt(),gte:Dt()},v=Rt(),D=Zr().version,f=vt().options;function d(){let{plugins:E=[],showUnreleased:x=!1,showDeprecated:P=!1,showInternal:T=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=D.split("-",1)[0],C=E.flatMap($=>$.languages||[]).filter(j),S=v(Object.assign({},...E.map($=>{let{options:K}=$;return K}),f),"name").filter($=>j($)&&X($)).sort(($,K)=>$.name===K.name?0:$.name<K.name?-1:1).map(te).map($=>{$=Object.assign({},$),Array.isArray($.default)&&($.default=$.default.length===1?$.default[0].value:$.default.filter(j).sort((G,re)=>p.compare(re.since,G.since))[0].value),Array.isArray($.choices)&&($.choices=$.choices.filter(G=>j(G)&&X(G)),$.name==="parser"&&h($,C,E));let K=Object.fromEntries(E.filter(G=>G.defaultOptions&&G.defaultOptions[$.name]!==void 0).map(G=>[G.name,G.defaultOptions[$.name]]));return Object.assign(Object.assign({},$),{},{pluginDefaults:K})});return{languages:C,options:S};function j($){return x||!("since"in $)||$.since&&p.gte(k,$.since)}function X($){return P||!("deprecated"in $)||$.deprecated&&p.lt(k,$.deprecated)}function te($){return T?$:wt($,et)}}function h(E,x,P){let T=new Set(E.choices.map(k=>k.value));for(let k of x)if(k.parsers){for(let C of k.parsers)if(!T.has(C)){T.add(C);let S=P.find(X=>X.parsers&&X.parsers[C]),j=k.name;S&&S.name&&(j+=` (plugin: ${S.name})`),E.choices.push({value:C,description:j})}}}A.exports={getSupportInfo:d}}}),Ot=Te({"src/utils/is-non-empty-array.js"(m,A){Re();function p(v){return Array.isArray(v)&&v.length>0}A.exports=p}}),Lt=Te({"src/utils/text/skip.js"(m,A){Re();function p(h){return(E,x,P)=>{let T=P&&P.backwards;if(x===!1)return!1;let{length:k}=E,C=x;for(;C>=0&&C<k;){let S=E.charAt(C);if(h instanceof RegExp){if(!h.test(S))return C}else if(!h.includes(S))return C;T?C--:C++}return C===-1||C===k?C:!1}}var v=p(/\s/),D=p(" "),f=p(",; "),d=p(/[^\n\r]/);A.exports={skipWhitespace:v,skipSpaces:D,skipToLineEnd:f,skipEverythingButNewLine:d}}}),Gt=Te({"src/utils/text/skip-inline-comment.js"(m,A){Re();function p(v,D){if(D===!1)return!1;if(v.charAt(D)==="/"&&v.charAt(D+1)==="*"){for(let f=D+2;f<v.length;++f)if(v.charAt(f)==="*"&&v.charAt(f+1)==="/")return f+2}return D}A.exports=p}}),Wt=Te({"src/utils/text/skip-trailing-comment.js"(m,A){Re();var{skipEverythingButNewLine:p}=Lt();function v(D,f){return f===!1?!1:D.charAt(f)==="/"&&D.charAt(f+1)==="/"?p(D,f):f}A.exports=v}}),Xt=Te({"src/utils/text/skip-newline.js"(m,A){Re();function p(v,D,f){let d=f&&f.backwards;if(D===!1)return!1;let h=v.charAt(D);if(d){if(v.charAt(D-1)==="\r"&&h===`
181
- `)return D-2;if(h===`
182
- `||h==="\r"||h==="\u2028"||h==="\u2029")return D-1}else{if(h==="\r"&&v.charAt(D+1)===`
183
- `)return D+2;if(h===`
184
- `||h==="\r"||h==="\u2028"||h==="\u2029")return D+1}return D}A.exports=p}}),Dn=Te({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,A){Re();var p=Gt(),v=Xt(),D=Wt(),{skipSpaces:f}=Lt();function d(h,E){let x=null,P=E;for(;P!==x;)x=P,P=f(h,P),P=p(h,P),P=D(h,P),P=v(h,P);return P}A.exports=d}}),ye=Te({"src/common/util.js"(m,A){Re();var{default:p}=(Jf(),Yn(Dl)),v=Vr(),{getSupportInfo:D}=Tt(),f=Ot(),d=yl(),{skipWhitespace:h,skipSpaces:E,skipToLineEnd:x,skipEverythingButNewLine:P}=Lt(),T=Gt(),k=Wt(),C=Xt(),S=Dn(),j=me=>me[me.length-2];function X(me){return(oe,qe,st)=>{let Ge=st&&st.backwards;if(qe===!1)return!1;let{length:yt}=oe,be=qe;for(;be>=0&&be<yt;){let Me=oe.charAt(be);if(me instanceof RegExp){if(!me.test(Me))return be}else if(!me.includes(Me))return be;Ge?be--:be++}return be===-1||be===yt?be:!1}}function te(me,oe){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},st=E(me,qe.backwards?oe-1:oe,qe),Ge=C(me,st,qe);return st!==Ge}function $(me,oe,qe){for(let st=oe;st<qe;++st)if(me.charAt(st)===`
185
- `)return!0;return!1}function K(me,oe,qe){let st=qe(oe)-1;st=E(me,st,{backwards:!0}),st=C(me,st,{backwards:!0}),st=E(me,st,{backwards:!0});let Ge=C(me,st,{backwards:!0});return st!==Ge}function G(me,oe){let qe=null,st=oe;for(;st!==qe;)qe=st,st=x(me,st),st=T(me,st),st=E(me,st);return st=k(me,st),st=C(me,st),st!==!1&&te(me,st)}function re(me,oe,qe){return G(me,qe(oe))}function ee(me,oe,qe){return S(me,qe(oe))}function De(me,oe,qe){return me.charAt(ee(me,oe,qe))}function F(me,oe){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E(me,qe.backwards?oe-1:oe,qe)!==oe}function J(me,oe){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,st=0;for(let Ge=qe;Ge<me.length;++Ge)me[Ge]===" "?st=st+oe-st%oe:st++;return st}function w(me,oe){let qe=me.lastIndexOf(`
186
- `);return qe===-1?0:J(me.slice(qe+1).match(/^[\t ]*/)[0],oe)}function R(me,oe){let qe={quote:'"',regex:/"/g,escaped:"&quot;"},st={quote:"'",regex:/'/g,escaped:"&apos;"},Ge=oe==="'"?st:qe,yt=Ge===st?qe:st,be=Ge;if(me.includes(Ge.quote)||me.includes(yt.quote)){let Me=(me.match(Ge.regex)||[]).length,ht=(me.match(yt.regex)||[]).length;be=Me>ht?yt:Ge}return be}function y(me,oe){let qe=me.slice(1,-1),st=oe.parser==="json"||oe.parser==="json5"&&oe.quoteProps==="preserve"&&!oe.singleQuote?'"':oe.__isInHtmlAttribute?"'":R(qe,oe.singleQuote?"'":'"').quote;return _(qe,st,!(oe.parser==="css"||oe.parser==="less"||oe.parser==="scss"||oe.__embeddedInHtml))}function _(me,oe,qe){let st=oe==='"'?"'":'"',Ge=/\\(.)|(["'])/gs,yt=me.replace(Ge,(be,Me,ht)=>Me===st?Me:ht===oe?"\\"+ht:ht||(qe&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Me)?Me:"\\"+Me));return oe+yt+oe}function I(me){return me.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function q(me,oe){let qe=me.match(new RegExp(`(${p(oe)})+`,"g"));return qe===null?0:qe.reduce((st,Ge)=>Math.max(st,Ge.length/oe.length),0)}function U(me,oe){let qe=me.match(new RegExp(`(${p(oe)})+`,"g"));if(qe===null)return 0;let st=new Map,Ge=0;for(let yt of qe){let be=yt.length/oe.length;st.set(be,!0),be>Ge&&(Ge=be)}for(let yt=1;yt<Ge;yt++)if(!st.get(yt))return yt;return Ge+1}function z(me,oe){(me.comments||(me.comments=[])).push(oe),oe.printed=!1,oe.nodeDescription=Ue(me)}function ie(me,oe){oe.leading=!0,oe.trailing=!1,z(me,oe)}function le(me,oe,qe){oe.leading=!1,oe.trailing=!1,qe&&(oe.marker=qe),z(me,oe)}function ge(me,oe){oe.leading=!1,oe.trailing=!0,z(me,oe)}function ce(me,oe){let{languages:qe}=D({plugins:oe.plugins}),st=qe.find(Ge=>{let{name:yt}=Ge;return yt.toLowerCase()===me})||qe.find(Ge=>{let{aliases:yt}=Ge;return Array.isArray(yt)&&yt.includes(me)})||qe.find(Ge=>{let{extensions:yt}=Ge;return Array.isArray(yt)&&yt.includes(`.${me}`)});return st&&st.parsers[0]}function _e(me){return me&&me.type==="front-matter"}function se(me){let oe=new WeakMap;return function(qe){return oe.has(qe)||oe.set(qe,Symbol(me)),oe.get(qe)}}function Ue(me){let oe=me.type||me.kind||"(unknown type)",qe=String(me.name||me.id&&(typeof me.id=="object"?me.id.name:me.id)||me.key&&(typeof me.key=="object"?me.key.name:me.key)||me.value&&(typeof me.value=="object"?"":String(me.value))||me.operator||"");return qe.length>20&&(qe=qe.slice(0,19)+"…"),oe+(qe?" "+qe:"")}A.exports={inferParserByLanguage:ce,getStringWidth:d,getMaxContinuousCount:q,getMinNotPresentContinuousCount:U,getPenultimate:j,getLast:v,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:S,getNextNonSpaceNonCommentCharacterIndex:ee,getNextNonSpaceNonCommentCharacter:De,skip:X,skipWhitespace:h,skipSpaces:E,skipToLineEnd:x,skipEverythingButNewLine:P,skipInlineComment:T,skipTrailingComment:k,skipNewline:C,isNextLineEmptyAfterIndex:G,isNextLineEmpty:re,isPreviousLineEmpty:K,hasNewline:te,hasNewlineInRange:$,hasSpaces:F,getAlignmentSize:J,getIndentSize:w,getPreferredQuote:R,printString:y,printNumber:I,makeString:_,addLeadingComment:ie,addDanglingComment:le,addTrailingComment:ge,isFrontMatterNode:_e,isNonEmptyArray:f,createGroupIdMapper:se}}}),Z={};Sn(Z,{basename:()=>xt,default:()=>xr,delimiter:()=>sr,dirname:()=>je,extname:()=>jt,isAbsolute:()=>Ne,join:()=>Be,normalize:()=>ue,relative:()=>Ee,resolve:()=>H,sep:()=>$n});function O(m,A){for(var p=0,v=m.length-1;v>=0;v--){var D=m[v];D==="."?m.splice(v,1):D===".."?(m.splice(v,1),p++):p&&(m.splice(v,1),p--)}if(A)for(;p--;p)m.unshift("..");return m}function H(){for(var m="",A=!1,p=arguments.length-1;p>=-1&&!A;p--){var v=p>=0?arguments[p]:"/";if(typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");v&&(m=v+"/"+m,A=v.charAt(0)==="/")}return m=O(zt(m.split("/"),function(D){return!!D}),!A).join("/"),(A?"/":"")+m||"."}function ue(m){var A=Ne(m),p=di(m,-1)==="/";return m=O(zt(m.split("/"),function(v){return!!v}),!A).join("/"),!m&&!A&&(m="."),m&&p&&(m+="/"),(A?"/":"")+m}function Ne(m){return m.charAt(0)==="/"}function Be(){var m=Array.prototype.slice.call(arguments,0);return ue(zt(m,function(A,p){if(typeof A!="string")throw new TypeError("Arguments to path.join must be strings");return A}).join("/"))}function Ee(m,A){m=H(m).substr(1),A=H(A).substr(1);function p(x){for(var P=0;P<x.length&&x[P]==="";P++);for(var T=x.length-1;T>=0&&x[T]==="";T--);return P>T?[]:x.slice(P,T-P+1)}for(var v=p(m.split("/")),D=p(A.split("/")),f=Math.min(v.length,D.length),d=f,h=0;h<f;h++)if(v[h]!==D[h]){d=h;break}for(var E=[],h=d;h<v.length;h++)E.push("..");return E=E.concat(D.slice(d)),E.join("/")}function je(m){var A=on(m),p=A[0],v=A[1];return!p&&!v?".":(v&&(v=v.substr(0,v.length-1)),p+v)}function xt(m,A){var p=on(m)[2];return A&&p.substr(-1*A.length)===A&&(p=p.substr(0,p.length-A.length)),p}function jt(m){return on(m)[3]}function zt(m,A){if(m.filter)return m.filter(A);for(var p=[],v=0;v<m.length;v++)A(m[v],v,m)&&p.push(m[v]);return p}var vn,on,$n,sr,xr,di,ui=pn({"node-modules-polyfills:path"(){Re(),vn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,on=function(m){return vn.exec(m).slice(1)},$n="/",sr=":",xr={extname:jt,basename:xt,dirname:je,sep:$n,delimiter:sr,relative:Ee,join:Be,isAbsolute:Ne,normalize:ue,resolve:H},di="ab".substr(-1)==="b"?function(m,A,p){return m.substr(A,p)}:function(m,A,p){return A<0&&(A=m.length+A),m.substr(A,p)}}}),Et=Te({"node-modules-polyfills-commonjs:path"(m,A){Re();var p=(ui(),Yn(Z));if(p&&p.default){A.exports=p.default;for(let v in p)A.exports[v]=p[v]}else p&&(A.exports=p)}}),tn=Te({"src/common/errors.js"(m,A){Re();var p=class extends Error{},v=class extends Error{},D=class extends Error{},f=class extends Error{};A.exports={ConfigError:p,DebugError:v,UndefinedParserError:D,ArgExpansionBailout:f}}}),hn={};Sn(hn,{__assign:()=>pe,__asyncDelegator:()=>Qf,__asyncGenerator:()=>zf,__asyncValues:()=>Xf,__await:()=>hi,__awaiter:()=>Wi,__classPrivateFieldGet:()=>tp,__classPrivateFieldSet:()=>np,__createBinding:()=>ia,__decorate:()=>or,__exportStar:()=>eo,__extends:()=>An,__generator:()=>ki,__importDefault:()=>ep,__importStar:()=>Zf,__makeTemplateObject:()=>Kf,__metadata:()=>Ui,__param:()=>Li,__read:()=>vl,__rest:()=>Wn,__spread:()=>Yf,__spreadArrays:()=>Hf,__values:()=>qo});function An(m,A){fe(m,A);function p(){this.constructor=m}m.prototype=A===null?Object.create(A):(p.prototype=A.prototype,new p)}function Wn(m,A){var p={};for(var v in m)Object.prototype.hasOwnProperty.call(m,v)&&A.indexOf(v)<0&&(p[v]=m[v]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,v=Object.getOwnPropertySymbols(m);D<v.length;D++)A.indexOf(v[D])<0&&Object.prototype.propertyIsEnumerable.call(m,v[D])&&(p[v[D]]=m[v[D]]);return p}function or(m,A,p,v){var D=arguments.length,f=D<3?A:v===null?v=Object.getOwnPropertyDescriptor(A,p):v,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(m,A,p,v);else for(var h=m.length-1;h>=0;h--)(d=m[h])&&(f=(D<3?d(f):D>3?d(A,p,f):d(A,p))||f);return D>3&&f&&Object.defineProperty(A,p,f),f}function Li(m,A){return function(p,v){A(p,v,m)}}function Ui(m,A){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,A)}function Wi(m,A,p,v){function D(f){return f instanceof p?f:new p(function(d){d(f)})}return new(p||(p=Promise))(function(f,d){function h(P){try{x(v.next(P))}catch(T){d(T)}}function E(P){try{x(v.throw(P))}catch(T){d(T)}}function x(P){P.done?f(P.value):D(P.value).then(h,E)}x((v=v.apply(m,A||[])).next())})}function ki(m,A){var p={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},v,D,f,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(x){return function(P){return E([x,P])}}function E(x){if(v)throw new TypeError("Generator is already executing.");for(;p;)try{if(v=1,D&&(f=x[0]&2?D.return:x[0]?D.throw||((f=D.return)&&f.call(D),0):D.next)&&!(f=f.call(D,x[1])).done)return f;switch(D=0,f&&(x=[x[0]&2,f.value]),x[0]){case 0:case 1:f=x;break;case 4:return p.label++,{value:x[1],done:!1};case 5:p.label++,D=x[1],x=[0];continue;case 7:x=p.ops.pop(),p.trys.pop();continue;default:if(f=p.trys,!(f=f.length>0&&f[f.length-1])&&(x[0]===6||x[0]===2)){p=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]<f[3])){p.label=x[1];break}if(x[0]===6&&p.label<f[1]){p.label=f[1],f=x;break}if(f&&p.label<f[2]){p.label=f[2],p.ops.push(x);break}f[2]&&p.ops.pop(),p.trys.pop();continue}x=A.call(m,p)}catch(P){x=[6,P],D=0}finally{v=f=0}if(x[0]&5)throw x[1];return{value:x[0]?x[1]:void 0,done:!0}}}function ia(m,A,p,v){v===void 0&&(v=p),m[v]=A[p]}function eo(m,A){for(var p in m)p!=="default"&&!A.hasOwnProperty(p)&&(A[p]=m[p])}function qo(m){var A=typeof Symbol=="function"&&Symbol.iterator,p=A&&m[A],v=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&v>=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}function vl(m,A){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var v=p.call(m),D,f=[],d;try{for(;(A===void 0||A-- >0)&&!(D=v.next()).done;)f.push(D.value)}catch(h){d={error:h}}finally{try{D&&!D.done&&(p=v.return)&&p.call(v)}finally{if(d)throw d.error}}return f}function Yf(){for(var m=[],A=0;A<arguments.length;A++)m=m.concat(vl(arguments[A]));return m}function Hf(){for(var m=0,A=0,p=arguments.length;A<p;A++)m+=arguments[A].length;for(var v=Array(m),D=0,A=0;A<p;A++)for(var f=arguments[A],d=0,h=f.length;d<h;d++,D++)v[D]=f[d];return v}function hi(m){return this instanceof hi?(this.v=m,this):new hi(m)}function zf(m,A,p){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var v=p.apply(m,A||[]),D,f=[];return D={},d("next"),d("throw"),d("return"),D[Symbol.asyncIterator]=function(){return this},D;function d(k){v[k]&&(D[k]=function(C){return new Promise(function(S,j){f.push([k,C,S,j])>1||h(k,C)})})}function h(k,C){try{E(v[k](C))}catch(S){T(f[0][3],S)}}function E(k){k.value instanceof hi?Promise.resolve(k.value.v).then(x,P):T(f[0][2],k)}function x(k){h("next",k)}function P(k){h("throw",k)}function T(k,C){k(C),f.shift(),f.length&&h(f[0][0],f[0][1])}}function Qf(m){var A,p;return A={},v("next"),v("throw",function(D){throw D}),v("return"),A[Symbol.iterator]=function(){return this},A;function v(D,f){A[D]=m[D]?function(d){return(p=!p)?{value:hi(m[D](d)),done:D==="return"}:f?f(d):d}:f}}function Xf(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=m[Symbol.asyncIterator],p;return A?A.call(m):(m=typeof qo=="function"?qo(m):m[Symbol.iterator](),p={},v("next"),v("throw"),v("return"),p[Symbol.asyncIterator]=function(){return this},p);function v(f){p[f]=m[f]&&function(d){return new Promise(function(h,E){d=m[f](d),D(h,E,d.done,d.value)})}}function D(f,d,h,E){Promise.resolve(E).then(function(x){f({value:x,done:h})},d)}}function Kf(m,A){return Object.defineProperty?Object.defineProperty(m,"raw",{value:A}):m.raw=A,m}function Zf(m){if(m&&m.__esModule)return m;var A={};if(m!=null)for(var p in m)Object.hasOwnProperty.call(m,p)&&(A[p]=m[p]);return A.default=m,A}function ep(m){return m&&m.__esModule?m:{default:m}}function tp(m,A){if(!A.has(m))throw new TypeError("attempted to get private field on non-instance");return A.get(m)}function np(m,A,p){if(!A.has(m))throw new TypeError("attempted to set private field on non-instance");return A.set(m,p),p}var fe,pe,We=pn({"node_modules/tslib/tslib.es6.js"(){Re(),fe=function(m,A){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,v){p.__proto__=v}||function(p,v){for(var D in v)v.hasOwnProperty(D)&&(p[D]=v[D])},fe(m,A)},pe=function(){return pe=Object.assign||function(m){for(var A,p=1,v=arguments.length;p<v;p++){A=arguments[p];for(var D in A)Object.prototype.hasOwnProperty.call(A,D)&&(m[D]=A[D])}return m},pe.apply(this,arguments)}}}),He=Te({"node_modules/vnopts/lib/descriptors/api.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.apiDescriptor={key:A=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(A)?A:JSON.stringify(A),value(A){if(A===null||typeof A!="object")return JSON.stringify(A);if(Array.isArray(A))return`[${A.map(v=>m.apiDescriptor.value(v)).join(", ")}]`;let p=Object.keys(A);return p.length===0?"{}":`{ ${p.map(v=>`${m.apiDescriptor.key(v)}: ${m.apiDescriptor.value(A[v])}`).join(", ")} }`},pair:A=>{let{key:p,value:v}=A;return m.apiDescriptor.value({[p]:v})}}}}),rt=Te({"node_modules/vnopts/lib/descriptors/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Yn(hn));A.__exportStar(He(),m)}}),it=Te({"scripts/build/shims/chalk.cjs"(m,A){Re();var p=v=>v;p.grey=p,p.red=p,p.bold=p,p.yellow=p,p.blue=p,p.default=p,A.exports=p}}),St=Te({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=it();m.commonDeprecatedHandler=(p,v,D)=>{let{descriptor:f}=D,d=[`${A.default.yellow(typeof p=="string"?f.key(p):f.pair(p))} is deprecated`];return v&&d.push(`we now treat it as ${A.default.blue(typeof v=="string"?f.key(v):f.pair(v))}`),d.join("; ")+"."}}}),Nt=Te({"node_modules/vnopts/lib/handlers/deprecated/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Yn(hn));A.__exportStar(St(),m)}}),Kt=Te({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=it();m.commonInvalidHandler=(p,v,D)=>[`Invalid ${A.default.red(D.descriptor.key(p))} value.`,`Expected ${A.default.blue(D.schemas[p].expected(D))},`,`but received ${A.default.red(D.descriptor.value(v))}.`].join(" ")}}),rn=Te({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Yn(hn));A.__exportStar(Kt(),m)}}),dn=Te({"node_modules/vnopts/node_modules/leven/index.js"(m,A){Re();var p=[],v=[];A.exports=function(D,f){if(D===f)return 0;var d=D;D.length>f.length&&(D=f,f=d);var h=D.length,E=f.length;if(h===0)return E;if(E===0)return h;for(;h>0&&D.charCodeAt(~-h)===f.charCodeAt(~-E);)h--,E--;if(h===0)return E;for(var x=0;x<h&&D.charCodeAt(x)===f.charCodeAt(x);)x++;if(h-=x,E-=x,h===0)return E;for(var P,T,k,C,S=0,j=0;S<h;)v[x+S]=D.charCodeAt(x+S),p[S]=++S;for(;j<E;)for(P=f.charCodeAt(x+j),k=j++,T=j,S=0;S<h;S++)C=P===v[x+S]?k:k+1,k=p[S],T=p[S]=k>T?C>T?T+1:C:C>k?k+1:C;return T}}}),kn=Te({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=it(),p=dn();m.levenUnknownHandler=(v,D,f)=>{let{descriptor:d,logger:h,schemas:E}=f,x=[`Ignored unknown option ${A.default.yellow(d.pair({key:v,value:D}))}.`],P=Object.keys(E).sort().find(T=>p(v,T)<3);P&&x.push(`Did you mean ${A.default.blue(d.key(P))}?`),h.warn(x.join(" "))}}}),lr=Te({"node_modules/vnopts/lib/handlers/unknown/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Yn(hn));A.__exportStar(kn(),m)}}),cr=Te({"node_modules/vnopts/lib/handlers/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Yn(hn));A.__exportStar(Nt(),m),A.__exportStar(rn(),m),A.__exportStar(lr(),m)}}),jn=Te({"node_modules/vnopts/lib/schema.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function p(f,d){let h=new f(d),E=Object.create(h);for(let x of A)x in d&&(E[x]=D(d[x],h,v.prototype[x].length));return E}m.createSchema=p;var v=class{constructor(f){this.name=f.name}static create(f){return p(this,f)}default(f){}expected(f){return"nothing"}validate(f,d){return!1}deprecated(f,d){return!1}forward(f,d){}redirect(f,d){}overlap(f,d,h){return f}preprocess(f,d){return f}postprocess(f,d){return f}};m.Schema=v;function D(f,d,h){return typeof f=="function"?function(){for(var E=arguments.length,x=new Array(E),P=0;P<E;P++)x[P]=arguments[P];return f(...x.slice(0,h-1),d,...x.slice(h-1))}:()=>f}}}),ir=Te({"node_modules/vnopts/lib/schemas/alias.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=jn(),p=class extends A.Schema{constructor(v){super(v),this._sourceName=v.sourceName}expected(v){return v.schemas[this._sourceName].expected(v)}validate(v,D){return D.schemas[this._sourceName].validate(v,D)}redirect(v,D){return this._sourceName}};m.AliasSchema=p}}),er=Te({"node_modules/vnopts/lib/schemas/any.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=jn(),p=class extends A.Schema{expected(){return"anything"}validate(){return!0}};m.AnySchema=p}}),qr=Te({"node_modules/vnopts/lib/schemas/array.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Yn(hn)),p=jn(),v=class extends p.Schema{constructor(f){var{valueSchema:d,name:h=d.name}=f,E=A.__rest(f,["valueSchema","name"]);super(Object.assign({},E,{name:h})),this._valueSchema=d}expected(f){return`an array of ${this._valueSchema.expected(f)}`}validate(f,d){if(!Array.isArray(f))return!1;let h=[];for(let E of f){let x=d.normalizeValidateResult(this._valueSchema.validate(E,d),E);x!==!0&&h.push(x.value)}return h.length===0?!0:{value:h}}deprecated(f,d){let h=[];for(let E of f){let x=d.normalizeDeprecatedResult(this._valueSchema.deprecated(E,d),E);x!==!1&&h.push(...x.map(P=>{let{value:T}=P;return{value:[T]}}))}return h}forward(f,d){let h=[];for(let E of f){let x=d.normalizeForwardResult(this._valueSchema.forward(E,d),E);h.push(...x.map(D))}return h}redirect(f,d){let h=[],E=[];for(let x of f){let P=d.normalizeRedirectResult(this._valueSchema.redirect(x,d),x);"remain"in P&&h.push(P.remain),E.push(...P.redirect.map(D))}return h.length===0?{redirect:E}:{redirect:E,remain:h}}overlap(f,d){return f.concat(d)}};m.ArraySchema=v;function D(f){let{from:d,to:h}=f;return{from:[d],to:h}}}}),ur=Te({"node_modules/vnopts/lib/schemas/boolean.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=jn(),p=class extends A.Schema{expected(){return"true or false"}validate(v){return typeof v=="boolean"}};m.BooleanSchema=p}}),Jr=Te({"node_modules/vnopts/lib/utils.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});function A(C,S){let j=Object.create(null);for(let X of C){let te=X[S];if(j[te])throw new Error(`Duplicate ${S} ${JSON.stringify(te)}`);j[te]=X}return j}m.recordFromArray=A;function p(C,S){let j=new Map;for(let X of C){let te=X[S];if(j.has(te))throw new Error(`Duplicate ${S} ${JSON.stringify(te)}`);j.set(te,X)}return j}m.mapFromArray=p;function v(){let C=Object.create(null);return S=>{let j=JSON.stringify(S);return C[j]?!0:(C[j]=!0,!1)}}m.createAutoChecklist=v;function D(C,S){let j=[],X=[];for(let te of C)S(te)?j.push(te):X.push(te);return[j,X]}m.partition=D;function f(C){return C===Math.floor(C)}m.isInt=f;function d(C,S){if(C===S)return 0;let j=typeof C,X=typeof S,te=["undefined","object","boolean","number","string"];return j!==X?te.indexOf(j)-te.indexOf(X):j!=="string"?Number(C)-Number(S):C.localeCompare(S)}m.comparePrimitive=d;function h(C){return C===void 0?{}:C}m.normalizeDefaultResult=h;function E(C,S){return C===!0?!0:C===!1?{value:S}:C}m.normalizeValidateResult=E;function x(C,S){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return C===!1?!1:C===!0?j?!0:[{value:S}]:"value"in C?[C]:C.length===0?!1:C}m.normalizeDeprecatedResult=x;function P(C,S){return typeof C=="string"||"key"in C?{from:S,to:C}:"from"in C?{from:C.from,to:C.to}:{from:S,to:C.to}}m.normalizeTransferResult=P;function T(C,S){return C===void 0?[]:Array.isArray(C)?C.map(j=>P(j,S)):[P(C,S)]}m.normalizeForwardResult=T;function k(C,S){let j=T(typeof C=="object"&&"redirect"in C?C.redirect:C,S);return j.length===0?{remain:S,redirect:j}:typeof C=="object"&&"remain"in C?{remain:C.remain,redirect:j}:{redirect:j}}m.normalizeRedirectResult=k}}),yr=Te({"node_modules/vnopts/lib/schemas/choice.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=jn(),p=Jr(),v=class extends A.Schema{constructor(D){super(D),this._choices=p.mapFromArray(D.choices.map(f=>f&&typeof f=="object"?f:{value:f}),"value")}expected(D){let{descriptor:f}=D,d=Array.from(this._choices.keys()).map(x=>this._choices.get(x)).filter(x=>!x.deprecated).map(x=>x.value).sort(p.comparePrimitive).map(f.value),h=d.slice(0,-2),E=d.slice(-2);return h.concat(E.join(" or ")).join(", ")}validate(D){return this._choices.has(D)}deprecated(D){let f=this._choices.get(D);return f&&f.deprecated?{value:D}:!1}forward(D){let f=this._choices.get(D);return f?f.forward:void 0}redirect(D){let f=this._choices.get(D);return f?f.redirect:void 0}};m.ChoiceSchema=v}}),Fr=Te({"node_modules/vnopts/lib/schemas/number.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=jn(),p=class extends A.Schema{expected(){return"a number"}validate(v,D){return typeof v=="number"}};m.NumberSchema=p}}),to=Te({"node_modules/vnopts/lib/schemas/integer.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=Jr(),p=Fr(),v=class extends p.NumberSchema{expected(){return"an integer"}validate(D,f){return f.normalizeValidateResult(super.validate(D,f),D)===!0&&A.isInt(D)}};m.IntegerSchema=v}}),zv=Te({"node_modules/vnopts/lib/schemas/string.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=jn(),p=class extends A.Schema{expected(){return"a string"}validate(v){return typeof v=="string"}};m.StringSchema=p}}),Qv=Te({"node_modules/vnopts/lib/schemas/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Yn(hn));A.__exportStar(ir(),m),A.__exportStar(er(),m),A.__exportStar(qr(),m),A.__exportStar(ur(),m),A.__exportStar(yr(),m),A.__exportStar(to(),m),A.__exportStar(Fr(),m),A.__exportStar(zv(),m)}}),Xv=Te({"node_modules/vnopts/lib/defaults.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=He(),p=St(),v=rn(),D=kn();m.defaultDescriptor=A.apiDescriptor,m.defaultUnknownHandler=D.levenUnknownHandler,m.defaultInvalidHandler=v.commonInvalidHandler,m.defaultDeprecatedHandler=p.commonDeprecatedHandler}}),Kv=Te({"node_modules/vnopts/lib/normalize.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=Xv(),p=Jr();m.normalize=(D,f,d)=>new v(f,d).normalize(D);var v=class{constructor(D,f){let{logger:d=console,descriptor:h=A.defaultDescriptor,unknown:E=A.defaultUnknownHandler,invalid:x=A.defaultInvalidHandler,deprecated:P=A.defaultDeprecatedHandler}=f||{};this._utils={descriptor:h,logger:d||{warn:()=>{}},schemas:p.recordFromArray(D,"name"),normalizeDefaultResult:p.normalizeDefaultResult,normalizeDeprecatedResult:p.normalizeDeprecatedResult,normalizeForwardResult:p.normalizeForwardResult,normalizeRedirectResult:p.normalizeRedirectResult,normalizeValidateResult:p.normalizeValidateResult},this._unknownHandler=E,this._invalidHandler=x,this._deprecatedHandler=P,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=p.createAutoChecklist()}normalize(D){let f={},d=[D],h=()=>{for(;d.length!==0;){let E=d.shift(),x=this._applyNormalization(E,f);d.push(...x)}};h();for(let E of Object.keys(this._utils.schemas)){let x=this._utils.schemas[E];if(!(E in f)){let P=p.normalizeDefaultResult(x.default(this._utils));"value"in P&&d.push({[E]:P.value})}}h();for(let E of Object.keys(this._utils.schemas)){let x=this._utils.schemas[E];E in f&&(f[E]=x.postprocess(f[E],this._utils))}return f}_applyNormalization(D,f){let d=[],[h,E]=p.partition(Object.keys(D),x=>x in this._utils.schemas);for(let x of h){let P=this._utils.schemas[x],T=P.preprocess(D[x],this._utils),k=p.normalizeValidateResult(P.validate(T,this._utils),T);if(k!==!0){let{value:X}=k,te=this._invalidHandler(x,X,this._utils);throw typeof te=="string"?new Error(te):te}let C=X=>{let{from:te,to:$}=X;d.push(typeof $=="string"?{[$]:te}:{[$.key]:$.value})},S=X=>{let{value:te,redirectTo:$}=X,K=p.normalizeDeprecatedResult(P.deprecated(te,this._utils),T,!0);if(K!==!1)if(K===!0)this._hasDeprecationWarned(x)||this._utils.logger.warn(this._deprecatedHandler(x,$,this._utils));else for(let{value:G}of K){let re={key:x,value:G};if(!this._hasDeprecationWarned(re)){let ee=typeof $=="string"?{key:$,value:G}:$;this._utils.logger.warn(this._deprecatedHandler(re,ee,this._utils))}}};p.normalizeForwardResult(P.forward(T,this._utils),T).forEach(C);let j=p.normalizeRedirectResult(P.redirect(T,this._utils),T);if(j.redirect.forEach(C),"remain"in j){let X=j.remain;f[x]=x in f?P.overlap(f[x],X,this._utils):X,S({value:X})}for(let{from:X,to:te}of j.redirect)S({value:X,redirectTo:te})}for(let x of E){let P=D[x],T=this._unknownHandler(x,P,this._utils);if(T)for(let k of Object.keys(T)){let C={[k]:T[k]};k in this._utils.schemas?d.push(C):Object.assign(f,C)}}return d}};m.Normalizer=v}}),Zv=Te({"node_modules/vnopts/lib/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(We(),Yn(hn));A.__exportStar(rt(),m),A.__exportStar(cr(),m),A.__exportStar(Qv(),m),A.__exportStar(Kv(),m),A.__exportStar(jn(),m)}}),e2=Te({"src/main/options-normalizer.js"(m,A){Re();var p=Zv(),v=Vr(),D={key:k=>k.length===1?`-${k}`:`--${k}`,value:k=>p.apiDescriptor.value(k),pair:k=>{let{key:C,value:S}=k;return S===!1?`--no-${C}`:S===!0?D.key(C):S===""?`${D.key(C)} without an argument`:`${D.key(C)}=${S}`}},f=k=>{let{colorsModule:C,levenshteinDistance:S}=k;return class extends p.ChoiceSchema{constructor(j){let{name:X,flags:te}=j;super({name:X,choices:te}),this._flags=[...te].sort()}preprocess(j,X){if(typeof j=="string"&&j.length>0&&!this._flags.includes(j)){let te=this._flags.find($=>S($,j)<3);if(te)return X.logger.warn([`Unknown flag ${C.yellow(X.descriptor.value(j))},`,`did you mean ${C.blue(X.descriptor.value(te))}?`].join(" ")),te}return j}expected(){return"a flag"}}},d;function h(k,C){let{logger:S=!1,isCLI:j=!1,passThrough:X=!1,colorsModule:te=null,levenshteinDistance:$=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},K=X?Array.isArray(X)?(J,w)=>X.includes(J)?{[J]:w}:void 0:(J,w)=>({[J]:w}):(J,w,R)=>{let y=R.schemas,_=wt(y,ft);return p.levenUnknownHandler(J,w,Object.assign(Object.assign({},R),{},{schemas:_}))},G=j?D:p.apiDescriptor,re=E(C,{isCLI:j,colorsModule:te,levenshteinDistance:$}),ee=new p.Normalizer(re,{logger:S,unknown:K,descriptor:G}),De=S!==!1;De&&d&&(ee._hasDeprecationWarned=d);let F=ee.normalize(k);return De&&(d=ee._hasDeprecationWarned),j&&F["plugin-search"]===!1&&(F["plugin-search-dir"]=!1),F}function E(k,C){let{isCLI:S,colorsModule:j,levenshteinDistance:X}=C,te=[];S&&te.push(p.AnySchema.create({name:"_"}));for(let $ of k)te.push(x($,{isCLI:S,optionInfos:k,colorsModule:j,levenshteinDistance:X})),$.alias&&S&&te.push(p.AliasSchema.create({name:$.alias,sourceName:$.name}));return te}function x(k,C){let{isCLI:S,optionInfos:j,colorsModule:X,levenshteinDistance:te}=C,{name:$}=k;if($==="plugin-search-dir"||$==="pluginSearchDirs")return p.AnySchema.create({name:$,preprocess(ee){return ee===!1||(ee=Array.isArray(ee)?ee:[ee]),ee},validate(ee){return ee===!1?!0:ee.every(De=>typeof De=="string")},expected(){return"false or paths to plugin search dir"}});let K={name:$},G,re={};switch(k.type){case"int":G=p.IntegerSchema,S&&(K.preprocess=Number);break;case"string":G=p.StringSchema;break;case"choice":G=p.ChoiceSchema,K.choices=k.choices.map(ee=>typeof ee=="object"&&ee.redirect?Object.assign(Object.assign({},ee),{},{redirect:{to:{key:k.name,value:ee.redirect}}}):ee);break;case"boolean":G=p.BooleanSchema;break;case"flag":G=f({colorsModule:X,levenshteinDistance:te}),K.flags=j.flatMap(ee=>[ee.alias,ee.description&&ee.name,ee.oppositeDescription&&`no-${ee.name}`].filter(Boolean));break;case"path":G=p.StringSchema;break;default:throw new Error(`Unexpected type ${k.type}`)}if(k.exception?K.validate=(ee,De,F)=>k.exception(ee)||De.validate(ee,F):K.validate=(ee,De,F)=>ee===void 0||De.validate(ee,F),k.redirect&&(re.redirect=ee=>ee?{to:{key:k.redirect.option,value:k.redirect.value}}:void 0),k.deprecated&&(re.deprecated=!0),S&&!k.array){let ee=K.preprocess||(De=>De);K.preprocess=(De,F,J)=>F.preprocess(ee(Array.isArray(De)?v(De):De),J)}return k.array?p.ArraySchema.create(Object.assign(Object.assign(Object.assign({},S?{preprocess:ee=>Array.isArray(ee)?ee:[ee]}:{}),re),{},{valueSchema:G.create(K)})):G.create(Object.assign(Object.assign({},K),re))}function P(k,C,S){return h(k,C,S)}function T(k,C,S){return h(k,C,Object.assign({isCLI:!0},S))}A.exports={normalizeApiOptions:P,normalizeCliOptions:T}}}),ni=Te({"src/language-js/loc.js"(m,A){Re();var p=Ot();function v(E){var x,P;let T=E.range?E.range[0]:E.start,k=(x=(P=E.declaration)===null||P===void 0?void 0:P.decorators)!==null&&x!==void 0?x:E.decorators;return p(k)?Math.min(v(k[0]),T):T}function D(E){return E.range?E.range[1]:E.end}function f(E,x){let P=v(E);return Number.isInteger(P)&&P===v(x)}function d(E,x){let P=D(E);return Number.isInteger(P)&&P===D(x)}function h(E,x){return f(E,x)&&d(E,x)}A.exports={locStart:v,locEnd:D,hasSameLocStart:f,hasSameLoc:h}}}),t2=Te({"src/main/load-parser.js"(m,A){Re(),A.exports=()=>{}}}),n2=Te({"scripts/build/shims/babel-highlight.cjs"(m,A){Re();var p=it(),v={shouldHighlight:()=>!1,getChalk:()=>p};A.exports=v}}),r2=Te({"node_modules/@babel/code-frame/lib/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.codeFrameColumns=d,m.default=h;var A=n2(),p=!1;function v(E){return{gutter:E.grey,marker:E.red.bold,message:E.red.bold}}var D=/\r\n|[\n\r\u2028\u2029]/;function f(E,x,P){let T=Object.assign({column:0,line:-1},E.start),k=Object.assign({},T,E.end),{linesAbove:C=2,linesBelow:S=3}=P||{},j=T.line,X=T.column,te=k.line,$=k.column,K=Math.max(j-(C+1),0),G=Math.min(x.length,te+S);j===-1&&(K=0),te===-1&&(G=x.length);let re=te-j,ee={};if(re)for(let De=0;De<=re;De++){let F=De+j;if(!X)ee[F]=!0;else if(De===0){let J=x[F-1].length;ee[F]=[X,J-X+1]}else if(De===re)ee[F]=[0,$];else{let J=x[F-De].length;ee[F]=[0,J]}}else X===$?X?ee[j]=[X,0]:ee[j]=!0:ee[j]=[X,$-X];return{start:K,end:G,markerLines:ee}}function d(E,x){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},T=(P.highlightCode||P.forceColor)&&(0,A.shouldHighlight)(P),k=(0,A.getChalk)(P),C=v(k),S=(ee,De)=>T?ee(De):De,j=E.split(D),{start:X,end:te,markerLines:$}=f(x,j,P),K=x.start&&typeof x.start.column=="number",G=String(te).length,re=(T?(0,A.default)(E,P):E).split(D,te).slice(X,te).map((ee,De)=>{let F=X+1+De,J=` ${` ${F}`.slice(-G)} |`,w=$[F],R=!$[F+1];if(w){let y="";if(Array.isArray(w)){let _=ee.slice(0,Math.max(w[0]-1,0)).replace(/[^\t]/g," "),I=w[1]||1;y=[`
187
- `,S(C.gutter,J.replace(/\d/g," "))," ",_,S(C.marker,"^").repeat(I)].join(""),R&&P.message&&(y+=" "+S(C.message,P.message))}return[S(C.marker,">"),S(C.gutter,J),ee.length>0?` ${ee}`:"",y].join("")}else return` ${S(C.gutter,J)}${ee.length>0?` ${ee}`:""}`}).join(`
188
- `);return P.message&&!K&&(re=`${" ".repeat(G+1)}${P.message}
189
- ${re}`),T?k.reset(re):re}function h(E,x,P){let T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!p){p=!0;let k="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Cr.emitWarning)Cr.emitWarning(k,"DeprecationWarning");else{let C=new Error(k);C.name="DeprecationWarning",console.warn(new Error(k))}}return P=Math.max(P,0),d(E,{start:{column:P,line:x}},T)}}}),rp=Te({"src/main/parser.js"(m,A){Re();var{ConfigError:p}=tn(),v=ni();t2();var{locStart:D,locEnd:f}=v,d=Object.getOwnPropertyNames,h=Object.getOwnPropertyDescriptor;function E(T){let k={};for(let C of T.plugins)if(C.parsers)for(let S of d(C.parsers))Object.defineProperty(k,S,h(C.parsers,S));return k}function x(T){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E(T);if(typeof T.parser=="function")return{parse:T.parser,astFormat:"estree",locStart:D,locEnd:f};if(typeof T.parser=="string"){if(Object.prototype.hasOwnProperty.call(k,T.parser))return k[T.parser];throw new p(`Couldn't resolve parser "${T.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function P(T,k){let C=E(k),S=Object.defineProperties({},Object.fromEntries(Object.keys(C).map(X=>[X,{enumerable:!0,get(){return C[X].parse}}]))),j=x(k,C);try{return j.preprocess&&(T=j.preprocess(T,k)),{text:T,ast:j.parse(T,S,k)}}catch(X){let{loc:te}=X;if(te){let{codeFrameColumns:$}=r2();throw X.codeFrame=$(T,te,{highlightCode:!0}),X.message+=`
190
- `+X.codeFrame,X}throw X}}A.exports={parse:P,resolveParser:x}}}),B0=Te({"src/main/options.js"(m,A){Re();var p=Et(),{UndefinedParserError:v}=tn(),{getSupportInfo:D}=Tt(),f=e2(),{resolveParser:d}=rp(),h={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function E(T){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=Object.assign({},T),S=D({plugins:T.plugins,showUnreleased:!0,showDeprecated:!0}).options,j=Object.assign(Object.assign({},h),Object.fromEntries(S.filter(G=>G.default!==void 0).map(G=>[G.name,G.default])));if(!C.parser){if(!C.filepath)(k.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),C.parser="babel";else if(C.parser=P(C.filepath,C.plugins),!C.parser)throw new v(`No parser could be inferred for file: ${C.filepath}`)}let X=d(f.normalizeApiOptions(C,[S.find(G=>G.name==="parser")],{passThrough:!0,logger:!1}));C.astFormat=X.astFormat,C.locEnd=X.locEnd,C.locStart=X.locStart;let te=x(C);C.printer=te.printers[C.astFormat];let $=Object.fromEntries(S.filter(G=>G.pluginDefaults&&G.pluginDefaults[te.name]!==void 0).map(G=>[G.name,G.pluginDefaults[te.name]])),K=Object.assign(Object.assign({},j),$);for(let[G,re]of Object.entries(K))(C[G]===null||C[G]===void 0)&&(C[G]=re);return C.parser==="json"&&(C.trailingComma="none"),f.normalizeApiOptions(C,S,Object.assign({passThrough:Object.keys(h)},k))}function x(T){let{astFormat:k}=T;if(!k)throw new Error("getPlugin() requires astFormat to be set");let C=T.plugins.find(S=>S.printers&&S.printers[k]);if(!C)throw new Error(`Couldn't find plugin for AST format "${k}"`);return C}function P(T,k){let C=p.basename(T).toLowerCase(),S=D({plugins:k}).languages.filter(j=>j.since!==null).find(j=>j.extensions&&j.extensions.some(X=>C.endsWith(X))||j.filenames&&j.filenames.some(X=>X.toLowerCase()===C));return S&&S.parsers[0]}A.exports={normalize:E,hiddenDefaults:h,inferParser:P}}}),i2=Te({"src/main/massage-ast.js"(m,A){Re();function p(v,D,f){if(Array.isArray(v))return v.map(x=>p(x,D,f)).filter(Boolean);if(!v||typeof v!="object")return v;let d=D.printer.massageAstNode,h;d&&d.ignoredProperties?h=d.ignoredProperties:h=new Set;let E={};for(let[x,P]of Object.entries(v))!h.has(x)&&typeof P!="function"&&(E[x]=p(P,D,v));if(d){let x=d(v,E,f);if(x===null)return;if(x)return x}return E}A.exports=p}}),Uo=Te({"scripts/build/shims/assert.cjs"(m,A){Re();var p=()=>{};p.ok=p,p.strictEqual=p,A.exports=p}}),Ir=Te({"src/main/comments.js"(m,A){Re();var p=Uo(),{builders:{line:v,hardline:D,breakParent:f,indent:d,lineSuffix:h,join:E,cursor:x}}=wn(),{hasNewline:P,skipNewline:T,skipSpaces:k,isPreviousLineEmpty:C,addLeadingComment:S,addDanglingComment:j,addTrailingComment:X}=ye(),te=new WeakMap;function $(ie,le,ge){if(!ie)return;let{printer:ce,locStart:_e,locEnd:se}=le;if(ge){if(ce.canAttachComment&&ce.canAttachComment(ie)){let me;for(me=ge.length-1;me>=0&&!(_e(ge[me])<=_e(ie)&&se(ge[me])<=se(ie));--me);ge.splice(me+1,0,ie);return}}else if(te.has(ie))return te.get(ie);let Ue=ce.getCommentChildNodes&&ce.getCommentChildNodes(ie,le)||typeof ie=="object"&&Object.entries(ie).filter(me=>{let[oe]=me;return oe!=="enclosingNode"&&oe!=="precedingNode"&&oe!=="followingNode"&&oe!=="tokens"&&oe!=="comments"&&oe!=="parent"}).map(me=>{let[,oe]=me;return oe});if(Ue){ge||(ge=[],te.set(ie,ge));for(let me of Ue)$(me,le,ge);return ge}}function K(ie,le,ge,ce){let{locStart:_e,locEnd:se}=ge,Ue=_e(le),me=se(le),oe=$(ie,ge),qe,st,Ge=0,yt=oe.length;for(;Ge<yt;){let be=Ge+yt>>1,Me=oe[be],ht=_e(Me),mt=se(Me);if(ht<=Ue&&me<=mt)return K(Me,le,ge,Me);if(mt<=Ue){qe=Me,Ge=be+1;continue}if(me<=ht){st=Me,yt=be;continue}throw new Error("Comment location overlaps with node location")}if(ce&&ce.type==="TemplateLiteral"){let{quasis:be}=ce,Me=R(be,le,ge);qe&&R(be,qe,ge)!==Me&&(qe=null),st&&R(be,st,ge)!==Me&&(st=null)}return{enclosingNode:ce,precedingNode:qe,followingNode:st}}var G=()=>!1;function re(ie,le,ge,ce){if(!Array.isArray(ie))return;let _e=[],{locStart:se,locEnd:Ue,printer:{handleComments:me={}}}=ce,{avoidAstMutation:oe,ownLine:qe=G,endOfLine:st=G,remaining:Ge=G}=me,yt=ie.map((be,Me)=>Object.assign(Object.assign({},K(le,be,ce)),{},{comment:be,text:ge,options:ce,ast:le,isLastComment:ie.length-1===Me}));for(let[be,Me]of yt.entries()){let{comment:ht,precedingNode:mt,enclosingNode:Jt,followingNode:$e,text:Se,options:Je,ast:Ze,isLastComment:At}=Me;if(Je.parser==="json"||Je.parser==="json5"||Je.parser==="__js_expression"||Je.parser==="__vue_expression"||Je.parser==="__vue_ts_expression"){if(se(ht)-se(Ze)<=0){S(Ze,ht);continue}if(Ue(ht)-Ue(Ze)>=0){X(Ze,ht);continue}}let _t;if(oe?_t=[Me]:(ht.enclosingNode=Jt,ht.precedingNode=mt,ht.followingNode=$e,_t=[ht,Se,Je,Ze,At]),De(Se,Je,yt,be))ht.placement="ownLine",qe(..._t)||($e?S($e,ht):mt?X(mt,ht):j(Jt||Ze,ht));else if(F(Se,Je,yt,be))ht.placement="endOfLine",st(..._t)||(mt?X(mt,ht):$e?S($e,ht):j(Jt||Ze,ht));else if(ht.placement="remaining",!Ge(..._t))if(mt&&$e){let Mt=_e.length;Mt>0&&_e[Mt-1].followingNode!==$e&&J(_e,Se,Je),_e.push(Me)}else mt?X(mt,ht):$e?S($e,ht):j(Jt||Ze,ht)}if(J(_e,ge,ce),!oe)for(let be of ie)delete be.precedingNode,delete be.enclosingNode,delete be.followingNode}var ee=ie=>!/[\S\n\u2028\u2029]/.test(ie);function De(ie,le,ge,ce){let{comment:_e,precedingNode:se}=ge[ce],{locStart:Ue,locEnd:me}=le,oe=Ue(_e);if(se)for(let qe=ce-1;qe>=0;qe--){let{comment:st,precedingNode:Ge}=ge[qe];if(Ge!==se||!ee(ie.slice(me(st),oe)))break;oe=Ue(st)}return P(ie,oe,{backwards:!0})}function F(ie,le,ge,ce){let{comment:_e,followingNode:se}=ge[ce],{locStart:Ue,locEnd:me}=le,oe=me(_e);if(se)for(let qe=ce+1;qe<ge.length;qe++){let{comment:st,followingNode:Ge}=ge[qe];if(Ge!==se||!ee(ie.slice(oe,Ue(st))))break;oe=me(st)}return P(ie,oe)}function J(ie,le,ge){let ce=ie.length;if(ce===0)return;let{precedingNode:_e,followingNode:se,enclosingNode:Ue}=ie[0],me=ge.printer.getGapRegex&&ge.printer.getGapRegex(Ue)||/^[\s(]*$/,oe=ge.locStart(se),qe;for(qe=ce;qe>0;--qe){let{comment:st,precedingNode:Ge,followingNode:yt}=ie[qe-1];p.strictEqual(Ge,_e),p.strictEqual(yt,se);let be=le.slice(ge.locEnd(st),oe);if(me.test(be))oe=ge.locStart(st);else break}for(let[st,{comment:Ge}]of ie.entries())st<qe?X(_e,Ge):S(se,Ge);for(let st of[_e,se])st.comments&&st.comments.length>1&&st.comments.sort((Ge,yt)=>ge.locStart(Ge)-ge.locStart(yt));ie.length=0}function w(ie,le){let ge=ie.getValue();return ge.printed=!0,le.printer.printComment(ie,le)}function R(ie,le,ge){let ce=ge.locStart(le)-1;for(let _e=1;_e<ie.length;++_e)if(ce<ge.locStart(ie[_e]))return _e-1;return 0}function y(ie,le){let ge=ie.getValue(),ce=[w(ie,le)],{printer:_e,originalText:se,locStart:Ue,locEnd:me}=le;if(_e.isBlockComment&&_e.isBlockComment(ge)){let qe=P(se,me(ge))?P(se,Ue(ge),{backwards:!0})?D:v:" ";ce.push(qe)}else ce.push(D);let oe=T(se,k(se,me(ge)));return oe!==!1&&P(se,oe)&&ce.push(D),ce}function _(ie,le){let ge=ie.getValue(),ce=w(ie,le),{printer:_e,originalText:se,locStart:Ue}=le,me=_e.isBlockComment&&_e.isBlockComment(ge);if(P(se,Ue(ge),{backwards:!0})){let qe=C(se,ge,Ue);return h([D,qe?D:"",ce])}let oe=[" ",ce];return me||(oe=[h(oe),f]),oe}function I(ie,le,ge,ce){let _e=[],se=ie.getValue();return!se||!se.comments||(ie.each(()=>{let Ue=ie.getValue();!Ue.leading&&!Ue.trailing&&(!ce||ce(Ue))&&_e.push(w(ie,le))},"comments"),_e.length===0)?"":ge?E(D,_e):d([D,E(D,_e)])}function q(ie,le,ge){let ce=ie.getValue();if(!ce)return{};let _e=ce.comments||[];ge&&(_e=_e.filter(oe=>!ge.has(oe)));let se=ce===le.cursorNode;if(_e.length===0){let oe=se?x:"";return{leading:oe,trailing:oe}}let Ue=[],me=[];return ie.each(()=>{let oe=ie.getValue();if(ge&&ge.has(oe))return;let{leading:qe,trailing:st}=oe;qe?Ue.push(y(ie,le)):st&&me.push(_(ie,le))},"comments"),se&&(Ue.unshift(x),me.push(x)),{leading:Ue,trailing:me}}function U(ie,le,ge,ce){let{leading:_e,trailing:se}=q(ie,ge,ce);return!_e&&!se?le:[_e,le,se]}function z(ie){if(ie)for(let le of ie){if(!le.printed)throw new Error('Comment "'+le.value.trim()+'" was not printed. Please report this error!');delete le.printed}}A.exports={attach:re,printComments:U,printCommentsSeparately:q,printDanglingComments:I,getSortedChildNodes:$,ensureAllCommentsPrinted:z}}}),s2=Te({"src/common/ast-path.js"(m,A){Re();var p=Vr();function v(d,h){let E=D(d.stack,h);return E===-1?null:d.stack[E]}function D(d,h){for(let E=d.length-1;E>=0;E-=2){let x=d[E];if(x&&!Array.isArray(x)&&--h<0)return E}return-1}var f=class{constructor(d){this.stack=[d]}getName(){let{stack:d}=this,{length:h}=d;return h>1?d[h-2]:null}getValue(){return p(this.stack)}getNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return v(this,d)}getParentNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return v(this,d+1)}call(d){let{stack:h}=this,{length:E}=h,x=p(h);for(var P=arguments.length,T=new Array(P>1?P-1:0),k=1;k<P;k++)T[k-1]=arguments[k];for(let S of T)x=x[S],h.push(S,x);let C=d(this);return h.length=E,C}callParent(d){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=D(this.stack,h+1),x=this.stack.splice(E+1),P=d(this);return this.stack.push(...x),P}each(d){let{stack:h}=this,{length:E}=h,x=p(h);for(var P=arguments.length,T=new Array(P>1?P-1:0),k=1;k<P;k++)T[k-1]=arguments[k];for(let C of T)x=x[C],h.push(C,x);for(let C=0;C<x.length;++C)h.push(C,x[C]),d(this,C,x),h.length-=2;h.length=E}map(d){let h=[];for(var E=arguments.length,x=new Array(E>1?E-1:0),P=1;P<E;P++)x[P-1]=arguments[P];return this.each((T,k,C)=>{h[k]=d(T,k,C)},...x),h}try(d){let{stack:h}=this,E=[...h];try{return d()}finally{h.length=0,h.push(...E)}}match(){let d=this.stack.length-1,h=null,E=this.stack[d--];for(var x=arguments.length,P=new Array(x),T=0;T<x;T++)P[T]=arguments[T];for(let k of P){if(E===void 0)return!1;let C=null;if(typeof h=="number"&&(C=h,h=this.stack[d--],E=this.stack[d--]),k&&!k(E,h,C))return!1;h=this.stack[d--],E=this.stack[d--]}return!0}findAncestor(d){let h=this.stack.length-1,E=null,x=this.stack[h--];for(;x;){let P=null;if(typeof E=="number"&&(P=E,E=this.stack[h--],x=this.stack[h--]),E!==null&&d(x,E,P))return x;E=this.stack[h--],x=this.stack[h--]}}};A.exports=f}}),a2=Te({"src/main/multiparser.js"(m,A){Re();var{utils:{stripTrailingHardline:p}}=wn(),{normalize:v}=B0(),D=Ir();function f(h,E,x,P){if(x.printer.embed&&x.embeddedLanguageFormatting==="auto")return x.printer.embed(h,E,(T,k,C)=>d(T,k,x,P,C),x)}function d(h,E,x,P){let{stripTrailingHardline:T=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},k=v(Object.assign(Object.assign(Object.assign({},x),E),{},{parentParser:x.parser,originalText:h}),{passThrough:!0}),C=rp().parse(h,k),{ast:S}=C;h=C.text;let j=S.comments;delete S.comments,D.attach(j,S,h,k),k[Symbol.for("comments")]=j||[],k[Symbol.for("tokens")]=S.tokens||[];let X=P(S,k);return D.ensureAllCommentsPrinted(j),T?typeof X=="string"?X.replace(/(?:\r?\n)*$/,""):p(X):X}A.exports={printSubtree:f}}}),o2=Te({"src/main/ast-to-doc.js"(m,A){Re();var p=s2(),{builders:{hardline:v,addAlignmentToDoc:D},utils:{propagateBreaks:f}}=wn(),{printComments:d}=Ir(),h=a2();function E(T,k){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:S}=k;S.preprocess&&(T=S.preprocess(T,k));let j=new Map,X=new p(T),te=$();return C>0&&(te=D([v,te],C,k.tabWidth)),f(te),te;function $(G,re){return G===void 0||G===X?K(re):Array.isArray(G)?X.call(()=>K(re),...G):X.call(()=>K(re),G)}function K(G){let re=X.getValue(),ee=re&&typeof re=="object"&&G===void 0;if(ee&&j.has(re))return j.get(re);let De=P(X,k,$,G);return ee&&j.set(re,De),De}}function x(T,k){let{originalText:C,[Symbol.for("comments")]:S,locStart:j,locEnd:X}=k,te=j(T),$=X(T),K=new Set;for(let G of S)j(G)>=te&&X(G)<=$&&(G.printed=!0,K.add(G));return{doc:C.slice(te,$),printedComments:K}}function P(T,k,C,S){let j=T.getValue(),{printer:X}=k,te,$;if(X.hasPrettierIgnore&&X.hasPrettierIgnore(T))({doc:te,printedComments:$}=x(j,k));else{if(j)try{te=h.printSubtree(T,C,k,E)}catch(K){if(globalThis.PRETTIER_DEBUG)throw K}te||(te=X.print(T,k,C,S))}return(!X.willPrintOwnComments||!X.willPrintOwnComments(T,k))&&(te=d(T,te,k,$)),te}A.exports=E}}),u2=Te({"src/main/range-util.js"(m,A){Re();var p=Uo(),v=Ir(),D=S=>{let{parser:j}=S;return j==="json"||j==="json5"||j==="json-stringify"};function f(S,j){let X=[S.node,...S.parentNodes],te=new Set([j.node,...j.parentNodes]);return X.find($=>P.has($.type)&&te.has($))}function d(S){let j=S.length-1;for(;;){let X=S[j];if(X&&(X.type==="Program"||X.type==="File"))j--;else break}return S.slice(0,j+1)}function h(S,j,X){let{locStart:te,locEnd:$}=X,K=S.node,G=j.node;if(K===G)return{startNode:K,endNode:G};let re=te(S.node);for(let De of d(j.parentNodes))if(te(De)>=re)G=De;else break;let ee=$(j.node);for(let De of d(S.parentNodes)){if($(De)<=ee)K=De;else break;if(K===G)break}return{startNode:K,endNode:G}}function E(S,j,X,te){let $=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],K=arguments.length>5?arguments[5]:void 0,{locStart:G,locEnd:re}=X,ee=G(S),De=re(S);if(!(j>De||j<ee||K==="rangeEnd"&&j===ee||K==="rangeStart"&&j===De)){for(let F of v.getSortedChildNodes(S,X)){let J=E(F,j,X,te,[S,...$],K);if(J)return J}if(!te||te(S,$[0]))return{node:S,parentNodes:$}}}function x(S,j){return j!=="DeclareExportDeclaration"&&S!=="TypeParameterDeclaration"&&(S==="Directive"||S==="TypeAlias"||S==="TSExportAssignment"||S.startsWith("Declare")||S.startsWith("TSDeclare")||S.endsWith("Statement")||S.endsWith("Declaration"))}var P=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),T=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function k(S,j,X){if(!j)return!1;switch(S.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return x(j.type,X&&X.type);case"json":case"json5":case"json-stringify":return P.has(j.type);case"graphql":return T.has(j.kind);case"vue":return j.tag!=="root"}return!1}function C(S,j,X){let{rangeStart:te,rangeEnd:$,locStart:K,locEnd:G}=j;p.ok($>te);let re=S.slice(te,$).search(/\S/),ee=re===-1;if(!ee)for(te+=re;$>te&&!/\S/.test(S[$-1]);--$);let De=E(X,te,j,(R,y)=>k(j,R,y),[],"rangeStart"),F=ee?De:E(X,$,j,R=>k(j,R),[],"rangeEnd");if(!De||!F)return{rangeStart:0,rangeEnd:0};let J,w;if(D(j)){let R=f(De,F);J=R,w=R}else({startNode:J,endNode:w}=h(De,F,j));return{rangeStart:Math.min(K(J),K(w)),rangeEnd:Math.max(G(J),G(w))}}A.exports={calculateRange:C,findNodeAtOffset:E}}}),l2=Te({"src/main/core.js"(m,A){Re();var{diffArrays:p}=Bs(),{printer:{printDocToString:v},debug:{printDocToDebug:D}}=wn(),{getAlignmentSize:f}=ye(),{guessEndOfLine:d,convertEndOfLineToChars:h,countEndOfLineChars:E,normalizeEndOfLine:x}=Ki(),P=B0().normalize,T=i2(),k=Ir(),C=rp(),S=o2(),j=u2(),X="\uFEFF",te=Symbol("cursor");function $(w,R,y){let _=R.comments;return _&&(delete R.comments,k.attach(_,R,w,y)),y[Symbol.for("comments")]=_||[],y[Symbol.for("tokens")]=R.tokens||[],y.originalText=w,_}function K(w,R){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!w||w.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:_,text:I}=C.parse(w,R);if(R.cursorOffset>=0){let ie=j.findNodeAtOffset(_,R.cursorOffset,R);ie&&ie.node&&(R.cursorNode=ie.node)}let q=$(I,_,R),U=S(_,R,y),z=v(U,R);if(k.ensureAllCommentsPrinted(q),y>0){let ie=z.formatted.trim();z.cursorNodeStart!==void 0&&(z.cursorNodeStart-=z.formatted.indexOf(ie)),z.formatted=ie+h(R.endOfLine)}if(R.cursorOffset>=0){let ie,le,ge,ce,_e;if(R.cursorNode&&z.cursorNodeText?(ie=R.locStart(R.cursorNode),le=I.slice(ie,R.locEnd(R.cursorNode)),ge=R.cursorOffset-ie,ce=z.cursorNodeStart,_e=z.cursorNodeText):(ie=0,le=I,ge=R.cursorOffset,ce=0,_e=z.formatted),le===_e)return{formatted:z.formatted,cursorOffset:ce+ge,comments:q};let se=[...le];se.splice(ge,0,te);let Ue=[..._e],me=p(se,Ue),oe=ce;for(let qe of me)if(qe.removed){if(qe.value.includes(te))break}else oe+=qe.count;return{formatted:z.formatted,cursorOffset:oe,comments:q}}return{formatted:z.formatted,cursorOffset:-1,comments:q}}function G(w,R){let{ast:y,text:_}=C.parse(w,R),{rangeStart:I,rangeEnd:q}=j.calculateRange(_,R,y),U=_.slice(I,q),z=Math.min(I,_.lastIndexOf(`
191
- `,I)+1),ie=_.slice(z,I).match(/^\s*/)[0],le=f(ie,R.tabWidth),ge=K(U,Object.assign(Object.assign({},R),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:R.cursorOffset>I&&R.cursorOffset<=q?R.cursorOffset-I:-1,endOfLine:"lf"}),le),ce=ge.formatted.trimEnd(),{cursorOffset:_e}=R;_e>q?_e+=ce.length-U.length:ge.cursorOffset>=0&&(_e=ge.cursorOffset+I);let se=_.slice(0,I)+ce+_.slice(q);if(R.endOfLine!=="lf"){let Ue=h(R.endOfLine);_e>=0&&Ue===`\r
192
- `&&(_e+=E(se.slice(0,_e),`
193
- `)),se=se.replace(/\n/g,Ue)}return{formatted:se,cursorOffset:_e,comments:ge.comments}}function re(w,R,y){return typeof R!="number"||Number.isNaN(R)||R<0||R>w.length?y:R}function ee(w,R){let{cursorOffset:y,rangeStart:_,rangeEnd:I}=R;return y=re(w,y,-1),_=re(w,_,0),I=re(w,I,w.length),Object.assign(Object.assign({},R),{},{cursorOffset:y,rangeStart:_,rangeEnd:I})}function De(w,R){let{cursorOffset:y,rangeStart:_,rangeEnd:I,endOfLine:q}=ee(w,R),U=w.charAt(0)===X;if(U&&(w=w.slice(1),y--,_--,I--),q==="auto"&&(q=d(w)),w.includes("\r")){let z=ie=>E(w.slice(0,Math.max(ie,0)),`\r
194
- `);y-=z(y),_-=z(_),I-=z(I),w=x(w)}return{hasBOM:U,text:w,options:ee(w,Object.assign(Object.assign({},R),{},{cursorOffset:y,rangeStart:_,rangeEnd:I,endOfLine:q}))}}function F(w,R){let y=C.resolveParser(R);return!y.hasPragma||y.hasPragma(w)}function J(w,R){let{hasBOM:y,text:_,options:I}=De(w,P(R));if(I.rangeStart>=I.rangeEnd&&_!==""||I.requirePragma&&!F(_,I))return{formatted:w,cursorOffset:R.cursorOffset,comments:[]};let q;return I.rangeStart>0||I.rangeEnd<_.length?q=G(_,I):(!I.requirePragma&&I.insertPragma&&I.printer.insertPragma&&!F(_,I)&&(_=I.printer.insertPragma(_)),q=K(_,I)),y&&(q.formatted=X+q.formatted,q.cursorOffset>=0&&q.cursorOffset++),q}A.exports={formatWithCursor:J,parse(w,R,y){let{text:_,options:I}=De(w,P(R)),q=C.parse(_,I);return y&&(q.ast=T(q.ast,I)),q},formatAST(w,R){R=P(R);let y=S(w,R);return v(y,R)},formatDoc(w,R){return J(D(w),Object.assign(Object.assign({},R),{},{parser:"__js_expression"})).formatted},printToDoc(w,R){R=P(R);let{ast:y,text:_}=C.parse(w,R);return $(_,y,R),S(y,R)},printDocToString(w,R){return v(w,P(R))}}}}),c2=Te({"src/common/util-shared.js"(m,A){Re();var{getMaxContinuousCount:p,getStringWidth:v,getAlignmentSize:D,getIndentSize:f,skip:d,skipWhitespace:h,skipSpaces:E,skipNewline:x,skipToLineEnd:P,skipEverythingButNewLine:T,skipInlineComment:k,skipTrailingComment:C,hasNewline:S,hasNewlineInRange:j,hasSpaces:X,isNextLineEmpty:te,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:K,getNextNonSpaceNonCommentCharacterIndex:G,makeString:re,addLeadingComment:ee,addDanglingComment:De,addTrailingComment:F}=ye();A.exports={getMaxContinuousCount:p,getStringWidth:v,getAlignmentSize:D,getIndentSize:f,skip:d,skipWhitespace:h,skipSpaces:E,skipNewline:x,skipToLineEnd:P,skipEverythingButNewLine:T,skipInlineComment:k,skipTrailingComment:C,hasNewline:S,hasNewlineInRange:j,hasSpaces:X,isNextLineEmpty:te,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:K,getNextNonSpaceNonCommentCharacterIndex:G,makeString:re,addLeadingComment:ee,addDanglingComment:De,addTrailingComment:F}}}),sa=Te({"src/utils/create-language.js"(m,A){Re(),A.exports=function(p,v){let{languageId:D}=p,f=wt(p,ot);return Object.assign(Object.assign({linguistLanguageId:D},f),v(p))}}}),f2=Te({"node_modules/esutils/lib/ast.js"(m,A){Re(),function(){function p(E){if(E==null)return!1;switch(E.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function v(E){if(E==null)return!1;switch(E.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function D(E){if(E==null)return!1;switch(E.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function f(E){return D(E)||E!=null&&E.type==="FunctionDeclaration"}function d(E){switch(E.type){case"IfStatement":return E.alternate!=null?E.alternate:E.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return E.body}return null}function h(E){var x;if(E.type!=="IfStatement"||E.alternate==null)return!1;x=E.consequent;do{if(x.type==="IfStatement"&&x.alternate==null)return!0;x=d(x)}while(x);return!1}A.exports={isExpression:p,isStatement:D,isIterationStatement:v,isSourceElement:f,isProblematicIfStatement:h,trailingStatement:d}}()}}),M0=Te({"node_modules/esutils/lib/code.js"(m,A){Re(),function(){var p,v,D,f,d,h;v={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},p={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function E($){return 48<=$&&$<=57}function x($){return 48<=$&&$<=57||97<=$&&$<=102||65<=$&&$<=70}function P($){return $>=48&&$<=55}D=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function T($){return $===32||$===9||$===11||$===12||$===160||$>=5760&&D.indexOf($)>=0}function k($){return $===10||$===13||$===8232||$===8233}function C($){if($<=65535)return String.fromCharCode($);var K=String.fromCharCode(Math.floor(($-65536)/1024)+55296),G=String.fromCharCode(($-65536)%1024+56320);return K+G}for(f=new Array(128),h=0;h<128;++h)f[h]=h>=97&&h<=122||h>=65&&h<=90||h===36||h===95;for(d=new Array(128),h=0;h<128;++h)d[h]=h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===36||h===95;function S($){return $<128?f[$]:v.NonAsciiIdentifierStart.test(C($))}function j($){return $<128?d[$]:v.NonAsciiIdentifierPart.test(C($))}function X($){return $<128?f[$]:p.NonAsciiIdentifierStart.test(C($))}function te($){return $<128?d[$]:p.NonAsciiIdentifierPart.test(C($))}A.exports={isDecimalDigit:E,isHexDigit:x,isOctalDigit:P,isWhiteSpace:T,isLineTerminator:k,isIdentifierStartES5:S,isIdentifierPartES5:j,isIdentifierStartES6:X,isIdentifierPartES6:te}}()}}),p2=Te({"node_modules/esutils/lib/keyword.js"(m,A){Re(),function(){var p=M0();function v(S){switch(S){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function D(S,j){return!j&&S==="yield"?!1:f(S,j)}function f(S,j){if(j&&v(S))return!0;switch(S.length){case 2:return S==="if"||S==="in"||S==="do";case 3:return S==="var"||S==="for"||S==="new"||S==="try";case 4:return S==="this"||S==="else"||S==="case"||S==="void"||S==="with"||S==="enum";case 5:return S==="while"||S==="break"||S==="catch"||S==="throw"||S==="const"||S==="yield"||S==="class"||S==="super";case 6:return S==="return"||S==="typeof"||S==="delete"||S==="switch"||S==="export"||S==="import";case 7:return S==="default"||S==="finally"||S==="extends";case 8:return S==="function"||S==="continue"||S==="debugger";case 10:return S==="instanceof";default:return!1}}function d(S,j){return S==="null"||S==="true"||S==="false"||D(S,j)}function h(S,j){return S==="null"||S==="true"||S==="false"||f(S,j)}function E(S){return S==="eval"||S==="arguments"}function x(S){var j,X,te;if(S.length===0||(te=S.charCodeAt(0),!p.isIdentifierStartES5(te)))return!1;for(j=1,X=S.length;j<X;++j)if(te=S.charCodeAt(j),!p.isIdentifierPartES5(te))return!1;return!0}function P(S,j){return(S-55296)*1024+(j-56320)+65536}function T(S){var j,X,te,$,K;if(S.length===0)return!1;for(K=p.isIdentifierStartES6,j=0,X=S.length;j<X;++j){if(te=S.charCodeAt(j),55296<=te&&te<=56319){if(++j,j>=X||($=S.charCodeAt(j),!(56320<=$&&$<=57343)))return!1;te=P(te,$)}if(!K(te))return!1;K=p.isIdentifierPartES6}return!0}function k(S,j){return x(S)&&!d(S,j)}function C(S,j){return T(S)&&!h(S,j)}A.exports={isKeywordES5:D,isKeywordES6:f,isReservedWordES5:d,isReservedWordES6:h,isRestrictedWord:E,isIdentifierNameES5:x,isIdentifierNameES6:T,isIdentifierES5:k,isIdentifierES6:C}}()}}),d2=Te({"node_modules/esutils/lib/utils.js"(m){Re(),function(){m.ast=f2(),m.code=M0(),m.keyword=p2()}()}}),aa=Te({"src/language-js/utils/is-block-comment.js"(m,A){Re();var p=new Set(["Block","CommentBlock","MultiLine"]),v=D=>p.has(D?.type);A.exports=v}}),h2=Te({"src/language-js/utils/is-node-matches.js"(m,A){Re();function p(D,f){let d=f.split(".");for(let h=d.length-1;h>=0;h--){let E=d[h];if(h===0)return D.type==="Identifier"&&D.name===E;if(D.type!=="MemberExpression"||D.optional||D.computed||D.property.type!=="Identifier"||D.property.name!==E)return!1;D=D.object}}function v(D,f){return f.some(d=>p(D,d))}A.exports=v}}),pr=Te({"src/language-js/utils/index.js"(m,A){Re();var p=d2().keyword.isIdentifierNameES5,{getLast:v,hasNewline:D,skipWhitespace:f,isNonEmptyArray:d,isNextLineEmptyAfterIndex:h,getStringWidth:E}=ye(),{locStart:x,locEnd:P,hasSameLocStart:T}=ni(),k=aa(),C=h2(),S="(?:(?=.)\\s)",j=new RegExp(`^${S}*:`),X=new RegExp(`^${S}*::`);function te(ae){var Ct,mn;return((Ct=ae.extra)===null||Ct===void 0?void 0:Ct.parenthesized)&&k((mn=ae.trailingComments)===null||mn===void 0?void 0:mn[0])&&j.test(ae.trailingComments[0].value)}function $(ae){let Ct=ae?.[0];return k(Ct)&&X.test(Ct.value)}function K(ae,Ct){if(!ae||typeof ae!="object")return!1;if(Array.isArray(ae))return ae.some(Gn=>K(Gn,Ct));let mn=Ct(ae);return typeof mn=="boolean"?mn:Object.values(ae).some(Gn=>K(Gn,Ct))}function G(ae){return ae.type==="AssignmentExpression"||ae.type==="BinaryExpression"||ae.type==="LogicalExpression"||ae.type==="NGPipeExpression"||ae.type==="ConditionalExpression"||ht(ae)||mt(ae)||ae.type==="SequenceExpression"||ae.type==="TaggedTemplateExpression"||ae.type==="BindExpression"||ae.type==="UpdateExpression"&&!ae.prefix||Ci(ae)||ae.type==="TSNonNullExpression"}function re(ae){var Ct,mn,Gn,Jn,mi,Sr;return ae.expressions?ae.expressions[0]:(Ct=(mn=(Gn=(Jn=(mi=(Sr=ae.left)!==null&&Sr!==void 0?Sr:ae.test)!==null&&mi!==void 0?mi:ae.callee)!==null&&Jn!==void 0?Jn:ae.object)!==null&&Gn!==void 0?Gn:ae.tag)!==null&&mn!==void 0?mn:ae.argument)!==null&&Ct!==void 0?Ct:ae.expression}function ee(ae,Ct){if(Ct.expressions)return["expressions",0];if(Ct.left)return["left"];if(Ct.test)return["test"];if(Ct.object)return["object"];if(Ct.callee)return["callee"];if(Ct.tag)return["tag"];if(Ct.argument)return["argument"];if(Ct.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function De(ae){return ae=new Set(ae),Ct=>ae.has(Ct?.type)}var F=De(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),J=De(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function w(ae){let Ct=ae.getParentNode();return ae.getName()==="declaration"&&J(Ct)?Ct:null}var R=De(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function y(ae){return ae.type==="NumericLiteral"||ae.type==="Literal"&&typeof ae.value=="number"}function _(ae){return ae.type==="UnaryExpression"&&(ae.operator==="+"||ae.operator==="-")&&y(ae.argument)}function I(ae){return ae.type==="StringLiteral"||ae.type==="Literal"&&typeof ae.value=="string"}var q=De(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),U=De(["FunctionExpression","ArrowFunctionExpression"]);function z(ae){return ae.type==="FunctionExpression"||ae.type==="ArrowFunctionExpression"&&ae.body.type==="BlockStatement"}function ie(ae){return ht(ae)&&ae.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(ae.callee.name)}var le=De(["JSXElement","JSXFragment"]);function ge(ae,Ct){if(ae.parentParser!=="markdown"&&ae.parentParser!=="mdx")return!1;let mn=Ct.getNode();if(!mn.expression||!le(mn.expression))return!1;let Gn=Ct.getParentNode();return Gn.type==="Program"&&Gn.body.length===1}function ce(ae){return ae.kind==="get"||ae.kind==="set"}function _e(ae){return ce(ae)||T(ae,ae.value)}function se(ae){return(ae.type==="ObjectTypeProperty"||ae.type==="ObjectTypeInternalSlot")&&ae.value.type==="FunctionTypeAnnotation"&&!ae.static&&!_e(ae)}function Ue(ae){return(ae.type==="TypeAnnotation"||ae.type==="TSTypeAnnotation")&&ae.typeAnnotation.type==="FunctionTypeAnnotation"&&!ae.static&&!T(ae,ae.typeAnnotation)}var me=De(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function oe(ae){return mt(ae)||ae.type==="BindExpression"&&!!ae.object}var qe=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function st(ae){return ae?!!((ae.type==="GenericTypeAnnotation"||ae.type==="TSTypeReference")&&!ae.typeParameters||qe.has(ae.type)):!1}function Ge(ae){let Ct=/^(?:before|after)(?:Each|All)$/;return ae.callee.type==="Identifier"&&Ct.test(ae.callee.name)&&ae.arguments.length===1}var yt=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function be(ae){return C(ae,yt)}function Me(ae,Ct){if(ae.type!=="CallExpression")return!1;if(ae.arguments.length===1){if(ie(ae)&&Ct&&Me(Ct))return U(ae.arguments[0]);if(Ge(ae))return ie(ae.arguments[0])}else if((ae.arguments.length===2||ae.arguments.length===3)&&(ae.arguments[0].type==="TemplateLiteral"||I(ae.arguments[0]))&&be(ae.callee))return ae.arguments[2]&&!y(ae.arguments[2])?!1:(ae.arguments.length===2?U(ae.arguments[1]):z(ae.arguments[1])&&It(ae.arguments[1]).length<=1)||ie(ae.arguments[1]);return!1}var ht=De(["CallExpression","OptionalCallExpression"]),mt=De(["MemberExpression","OptionalMemberExpression"]);function Jt(ae){let Ct="expressions";ae.type==="TSTemplateLiteralType"&&(Ct="types");let mn=ae[Ct];return mn.length===0?!1:mn.every(Gn=>{if(xn(Gn))return!1;if(Gn.type==="Identifier"||Gn.type==="ThisExpression")return!0;if(mt(Gn)){let Jn=Gn;for(;mt(Jn);)if(Jn.property.type!=="Identifier"&&Jn.property.type!=="Literal"&&Jn.property.type!=="StringLiteral"&&Jn.property.type!=="NumericLiteral"||(Jn=Jn.object,xn(Jn)))return!1;return Jn.type==="Identifier"||Jn.type==="ThisExpression"}return!1})}function $e(ae,Ct){return ae==="+"||ae==="-"?ae+Ct:Ct}function Se(ae,Ct){let mn=x(Ct),Gn=f(ae,P(Ct));return Gn!==!1&&ae.slice(mn,mn+2)==="/*"&&ae.slice(Gn,Gn+2)==="*/"}function Je(ae,Ct){return le(Ct)?Ln(Ct):xn(Ct,an.Leading,mn=>D(ae,P(mn)))}function Ze(ae,Ct){return Ct.parser!=="json"&&I(ae.key)&&ct(ae.key).slice(1,-1)===ae.key.value&&(p(ae.key.value)&&!(Ct.parser==="babel-ts"&&ae.type==="ClassProperty"||Ct.parser==="typescript"&&ae.type==="PropertyDefinition")||At(ae.key.value)&&String(Number(ae.key.value))===ae.key.value&&(Ct.parser==="babel"||Ct.parser==="acorn"||Ct.parser==="espree"||Ct.parser==="meriyah"||Ct.parser==="__babel_estree"))}function At(ae){return/^(?:\d+|\d+\.\d+)$/.test(ae)}function _t(ae,Ct){let mn=/^[fx]?(?:describe|it|test)$/;return Ct.type==="TaggedTemplateExpression"&&Ct.quasi===ae&&Ct.tag.type==="MemberExpression"&&Ct.tag.property.type==="Identifier"&&Ct.tag.property.name==="each"&&(Ct.tag.object.type==="Identifier"&&mn.test(Ct.tag.object.name)||Ct.tag.object.type==="MemberExpression"&&Ct.tag.object.property.type==="Identifier"&&(Ct.tag.object.property.name==="only"||Ct.tag.object.property.name==="skip")&&Ct.tag.object.object.type==="Identifier"&&mn.test(Ct.tag.object.object.name))}function Mt(ae){return ae.quasis.some(Ct=>Ct.value.raw.includes(`
195
- `))}function cn(ae,Ct){return(ae.type==="TemplateLiteral"&&Mt(ae)||ae.type==="TaggedTemplateExpression"&&Mt(ae.quasi))&&!D(Ct,x(ae),{backwards:!0})}function Pn(ae){if(!xn(ae))return!1;let Ct=v(pt(ae,an.Dangling));return Ct&&!k(Ct)}function _n(ae){if(ae.length<=1)return!1;let Ct=0;for(let mn of ae)if(U(mn)){if(Ct+=1,Ct>1)return!0}else if(ht(mn)){for(let Gn of mn.arguments)if(U(Gn))return!0}return!1}function ln(ae){let Ct=ae.getValue(),mn=ae.getParentNode();return ht(Ct)&&ht(mn)&&mn.callee===Ct&&Ct.arguments.length>mn.arguments.length&&mn.arguments.length>0}function yn(ae,Ct){if(Ct>=2)return!1;let mn=Sr=>yn(Sr,Ct+1),Gn=ae.type==="Literal"&&"regex"in ae&&ae.regex.pattern||ae.type==="RegExpLiteral"&&ae.pattern;if(Gn&&E(Gn)>5)return!1;if(ae.type==="Literal"||ae.type==="BigIntLiteral"||ae.type==="DecimalLiteral"||ae.type==="BooleanLiteral"||ae.type==="NullLiteral"||ae.type==="NumericLiteral"||ae.type==="RegExpLiteral"||ae.type==="StringLiteral"||ae.type==="Identifier"||ae.type==="ThisExpression"||ae.type==="Super"||ae.type==="PrivateName"||ae.type==="PrivateIdentifier"||ae.type==="ArgumentPlaceholder"||ae.type==="Import")return!0;if(ae.type==="TemplateLiteral")return ae.quasis.every(Sr=>!Sr.value.raw.includes(`
196
- `))&&ae.expressions.every(mn);if(ae.type==="ObjectExpression")return ae.properties.every(Sr=>!Sr.computed&&(Sr.shorthand||Sr.value&&mn(Sr.value)));if(ae.type==="ArrayExpression")return ae.elements.every(Sr=>Sr===null||mn(Sr));if(Qr(ae))return(ae.type==="ImportExpression"||yn(ae.callee,Ct))&&Dr(ae).every(mn);if(mt(ae))return yn(ae.object,Ct)&&yn(ae.property,Ct);let Jn={"!":!0,"-":!0,"+":!0,"~":!0};if(ae.type==="UnaryExpression"&&Jn[ae.operator])return yn(ae.argument,Ct);let mi={"++":!0,"--":!0};return ae.type==="UpdateExpression"&&mi[ae.operator]?yn(ae.argument,Ct):ae.type==="TSNonNullExpression"?yn(ae.expression,Ct):!1}function ct(ae){var Ct,mn;return(Ct=(mn=ae.extra)===null||mn===void 0?void 0:mn.raw)!==null&&Ct!==void 0?Ct:ae.raw}function Ae(ae){return ae}function gt(ae){return ae.filepath&&/\.tsx$/i.test(ae.filepath)}function Ie(ae){let Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return ae.trailingComma==="es5"&&Ct==="es5"||ae.trailingComma==="all"&&(Ct==="all"||Ct==="es5")}function dt(ae,Ct){switch(ae.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return dt(ae.left,Ct);case"MemberExpression":case"OptionalMemberExpression":return dt(ae.object,Ct);case"TaggedTemplateExpression":return ae.tag.type==="FunctionExpression"?!1:dt(ae.tag,Ct);case"CallExpression":case"OptionalCallExpression":return ae.callee.type==="FunctionExpression"?!1:dt(ae.callee,Ct);case"ConditionalExpression":return dt(ae.test,Ct);case"UpdateExpression":return!ae.prefix&&dt(ae.argument,Ct);case"BindExpression":return ae.object&&dt(ae.object,Ct);case"SequenceExpression":return dt(ae.expressions[0],Ct);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return dt(ae.expression,Ct);default:return Ct(ae)}}var en={"==":!0,"!=":!0,"===":!0,"!==":!0},Ut={"*":!0,"/":!0,"%":!0},bt={">>":!0,">>>":!0,"<<":!0};function V(ae,Ct){return!(at(Ct)!==at(ae)||ae==="**"||en[ae]&&en[Ct]||Ct==="%"&&Ut[ae]||ae==="%"&&Ut[Ct]||Ct!==ae&&Ut[Ct]&&Ut[ae]||bt[ae]&&bt[Ct])}var Le=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((ae,Ct)=>ae.map(mn=>[mn,Ct])));function at(ae){return Le.get(ae)}function Pt(ae){return!!bt[ae]||ae==="|"||ae==="^"||ae==="&"}function Vt(ae){var Ct;if(ae.rest)return!0;let mn=It(ae);return((Ct=v(mn))===null||Ct===void 0?void 0:Ct.type)==="RestElement"}var un=new WeakMap;function It(ae){if(un.has(ae))return un.get(ae);let Ct=[];return ae.this&&Ct.push(ae.this),Array.isArray(ae.parameters)?Ct.push(...ae.parameters):Array.isArray(ae.params)&&Ct.push(...ae.params),ae.rest&&Ct.push(ae.rest),un.set(ae,Ct),Ct}function Ar(ae,Ct){let mn=ae.getValue(),Gn=0,Jn=mi=>Ct(mi,Gn++);mn.this&&ae.call(Jn,"this"),Array.isArray(mn.parameters)?ae.each(Jn,"parameters"):Array.isArray(mn.params)&&ae.each(Jn,"params"),mn.rest&&ae.call(Jn,"rest")}var sn=new WeakMap;function Dr(ae){if(sn.has(ae))return sn.get(ae);let Ct=ae.arguments;return ae.type==="ImportExpression"&&(Ct=[ae.source],ae.attributes&&Ct.push(ae.attributes)),sn.set(ae,Ct),Ct}function nn(ae,Ct){let mn=ae.getValue();mn.type==="ImportExpression"?(ae.call(Gn=>Ct(Gn,0),"source"),mn.attributes&&ae.call(Gn=>Ct(Gn,1),"attributes")):ae.each(Ct,"arguments")}function En(ae){return ae.value.trim()==="prettier-ignore"&&!ae.unignore}function Ln(ae){return ae&&(ae.prettierIgnore||xn(ae,an.PrettierIgnore))}function ar(ae){let Ct=ae.getValue();return Ln(Ct)}var an={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Tn=(ae,Ct)=>{if(typeof ae=="function"&&(Ct=ae,ae=0),ae||Ct)return(mn,Gn,Jn)=>!(ae&an.Leading&&!mn.leading||ae&an.Trailing&&!mn.trailing||ae&an.Dangling&&(mn.leading||mn.trailing)||ae&an.Block&&!k(mn)||ae&an.Line&&!F(mn)||ae&an.First&&Gn!==0||ae&an.Last&&Gn!==Jn.length-1||ae&an.PrettierIgnore&&!En(mn)||Ct&&!Ct(mn))};function xn(ae,Ct,mn){if(!d(ae?.comments))return!1;let Gn=Tn(Ct,mn);return Gn?ae.comments.some(Gn):!0}function pt(ae,Ct,mn){if(!Array.isArray(ae?.comments))return[];let Gn=Tn(Ct,mn);return Gn?ae.comments.filter(Gn):ae.comments}var Ai=(ae,Ct)=>{let{originalText:mn}=Ct;return h(mn,P(ae))};function Qr(ae){return ht(ae)||ae.type==="NewExpression"||ae.type==="ImportExpression"}function Rn(ae){return ae&&(ae.type==="ObjectProperty"||ae.type==="Property"&&!ae.method&&ae.kind==="init")}function Vn(ae){return!!ae.__isUsingHackPipeline}var fr=Symbol("ifWithoutBlockAndSameLineComment");function Ci(ae){return ae.type==="TSAsExpression"||ae.type==="TSSatisfiesExpression"}A.exports={getFunctionParameters:It,iterateFunctionParametersPath:Ar,getCallArguments:Dr,iterateCallArgumentsPath:nn,hasRestParameter:Vt,getLeftSide:re,getLeftSidePathName:ee,getParentExportDeclaration:w,getTypeScriptMappedTypeModifier:$e,hasFlowAnnotationComment:$,hasFlowShorthandAnnotationComment:te,hasLeadingOwnLineComment:Je,hasNakedLeftSide:G,hasNode:K,hasIgnoreComment:ar,hasNodeIgnoreComment:Ln,identity:Ae,isBinaryish:me,isCallLikeExpression:Qr,isEnabledHackPipeline:Vn,isLineComment:F,isPrettierIgnoreComment:En,isCallExpression:ht,isMemberExpression:mt,isExportDeclaration:J,isFlowAnnotationComment:Se,isFunctionCompositionArgs:_n,isFunctionNotation:_e,isFunctionOrArrowExpression:U,isGetterOrSetter:ce,isJestEachTemplateLiteral:_t,isJsxNode:le,isLiteral:R,isLongCurriedCallExpression:ln,isSimpleCallArgument:yn,isMemberish:oe,isNumericLiteral:y,isSignedNumericLiteral:_,isObjectProperty:Rn,isObjectType:q,isObjectTypePropertyAFunction:se,isSimpleType:st,isSimpleNumber:At,isSimpleTemplateLiteral:Jt,isStringLiteral:I,isStringPropSafeToUnquote:Ze,isTemplateOnItsOwnLine:cn,isTestCall:Me,isTheOnlyJsxElementInMarkdown:ge,isTSXFile:gt,isTypeAnnotationAFunction:Ue,isNextLineEmpty:Ai,needsHardlineAfterDanglingComment:Pn,rawText:ct,shouldPrintComma:Ie,isBitwiseOperator:Pt,shouldFlatten:V,startsWithNoLookaheadToken:dt,getPrecedence:at,hasComment:xn,getComments:pt,CommentCheckFlags:an,markerForIfWithoutBlockAndSameLineComment:fr,isTSTypeExpression:Ci}}}),no=Te({"src/language-js/print/template-literal.js"(m,A){Re();var p=Vr(),{getStringWidth:v,getIndentSize:D}=ye(),{builders:{join:f,hardline:d,softline:h,group:E,indent:x,align:P,lineSuffixBoundary:T,addAlignmentToDoc:k},printer:{printDocToString:C},utils:{mapDoc:S}}=wn(),{isBinaryish:j,isJestEachTemplateLiteral:X,isSimpleTemplateLiteral:te,hasComment:$,isMemberExpression:K,isTSTypeExpression:G}=pr();function re(R,y,_){let I=R.getValue();if(I.type==="TemplateLiteral"&&X(I,R.getParentNode())){let le=ee(R,_,y);if(le)return le}let q="expressions";I.type==="TSTemplateLiteralType"&&(q="types");let U=[],z=R.map(y,q),ie=te(I);return ie&&(z=z.map(le=>C(le,Object.assign(Object.assign({},_),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),U.push(T,"`"),R.each(le=>{let ge=le.getName();if(U.push(y()),ge<z.length){let{tabWidth:ce}=_,_e=le.getValue(),se=D(_e.value.raw,ce),Ue=z[ge];if(!ie){let oe=I[q][ge];($(oe)||K(oe)||oe.type==="ConditionalExpression"||oe.type==="SequenceExpression"||G(oe)||j(oe))&&(Ue=[x([h,Ue]),h])}let me=se===0&&_e.value.raw.endsWith(`
197
- `)?P(Number.NEGATIVE_INFINITY,Ue):k(Ue,se,ce);U.push(E(["${",me,T,"}"]))}},"quasis"),U.push("`"),U}function ee(R,y,_){let I=R.getNode(),q=I.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(q.length>1||q.some(U=>U.length>0)){y.__inJestEach=!0;let U=R.map(_,"expressions");y.__inJestEach=!1;let z=[],ie=U.map(se=>"${"+C(se,Object.assign(Object.assign({},y),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),le=[{hasLineBreak:!1,cells:[]}];for(let se=1;se<I.quasis.length;se++){let Ue=p(le),me=ie[se-1];Ue.cells.push(me),me.includes(`
198
- `)&&(Ue.hasLineBreak=!0),I.quasis[se].value.raw.includes(`
199
- `)&&le.push({hasLineBreak:!1,cells:[]})}let ge=Math.max(q.length,...le.map(se=>se.cells.length)),ce=Array.from({length:ge}).fill(0),_e=[{cells:q},...le.filter(se=>se.cells.length>0)];for(let{cells:se}of _e.filter(Ue=>!Ue.hasLineBreak))for(let[Ue,me]of se.entries())ce[Ue]=Math.max(ce[Ue],v(me));return z.push(T,"`",x([d,f(d,_e.map(se=>f(" | ",se.cells.map((Ue,me)=>se.hasLineBreak?Ue:Ue+" ".repeat(ce[me]-v(Ue))))))]),d,"`"),z}}function De(R,y){let _=R.getValue(),I=y();return $(_)&&(I=E([x([h,I]),h])),["${",I,T,"}"]}function F(R,y){return R.map(_=>De(_,y),"expressions")}function J(R,y){return S(R,_=>typeof _=="string"?y?_.replace(/(\\*)`/g,"$1$1\\`"):w(_):_)}function w(R){return R.replace(/([\\`]|\${)/g,"\\$1")}A.exports={printTemplateLiteral:re,printTemplateExpressions:F,escapeTemplateCharacters:J,uncookTemplateElementValue:w}}}),m2=Te({"src/language-js/embed/markdown.js"(m,A){Re();var{builders:{indent:p,softline:v,literalline:D,dedentToRoot:f}}=wn(),{escapeTemplateCharacters:d}=no();function h(x,P,T){let k=x.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(X,te)=>"\\".repeat(te.length/2)+"`"),C=E(k),S=C!=="";S&&(k=k.replace(new RegExp(`^${C}`,"gm"),""));let j=d(T(k,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",S?p([v,j]):[D,f(j)],v,"`"]}function E(x){let P=x.match(/^([^\S\n]*)\S/m);return P===null?"":P[1]}A.exports=h}}),g2=Te({"src/language-js/embed/css.js"(m,A){Re();var{isNonEmptyArray:p}=ye(),{builders:{indent:v,hardline:D,softline:f},utils:{mapDoc:d,replaceEndOfLine:h,cleanDoc:E}}=wn(),{printTemplateExpressions:x}=no();function P(C,S,j){let X=C.getValue(),te=X.quasis.map(ee=>ee.value.raw),$=0,K=te.reduce((ee,De,F)=>F===0?De:ee+"@prettier-placeholder-"+$+++"-id"+De,""),G=j(K,{parser:"scss"},{stripTrailingHardline:!0}),re=x(C,S);return T(G,X,re)}function T(C,S,j){if(S.quasis.length===1&&!S.quasis[0].value.raw.trim())return"``";let X=k(C,j);if(!X)throw new Error("Couldn't insert all the expressions");return["`",v([D,X]),f,"`"]}function k(C,S){if(!p(S))return C;let j=0,X=d(E(C),te=>typeof te!="string"||!te.includes("@prettier-placeholder")?te:te.split(/@prettier-placeholder-(\d+)-id/).map(($,K)=>K%2===0?h($):(j++,S[$])));return S.length===j?X:null}A.exports=P}}),y2=Te({"src/language-js/embed/graphql.js"(m,A){Re();var{builders:{indent:p,join:v,hardline:D}}=wn(),{escapeTemplateCharacters:f,printTemplateExpressions:d}=no();function h(x,P,T){let k=x.getValue(),C=k.quasis.length;if(C===1&&k.quasis[0].value.raw.trim()==="")return"``";let S=d(x,P),j=[];for(let X=0;X<C;X++){let te=k.quasis[X],$=X===0,K=X===C-1,G=te.value.cooked,re=G.split(`
200
- `),ee=re.length,De=S[X],F=ee>2&&re[0].trim()===""&&re[1].trim()==="",J=ee>2&&re[ee-1].trim()===""&&re[ee-2].trim()==="",w=re.every(y=>/^\s*(?:#[^\n\r]*)?$/.test(y));if(!K&&/#[^\n\r]*$/.test(re[ee-1]))return null;let R=null;w?R=E(re):R=T(G,{parser:"graphql"},{stripTrailingHardline:!0}),R?(R=f(R,!1),!$&&F&&j.push(""),j.push(R),!K&&J&&j.push("")):!$&&!K&&F&&j.push(""),De&&j.push(De)}return["`",p([D,v(D,j)]),D,"`"]}function E(x){let P=[],T=!1,k=x.map(C=>C.trim());for(let[C,S]of k.entries())S!==""&&(k[C-1]===""&&T?P.push([D,S]):P.push(S),T=!0);return P.length===0?null:v(D,P)}A.exports=h}}),D2=Te({"src/language-js/embed/html.js"(m,A){Re();var{builders:{indent:p,line:v,hardline:D,group:f},utils:{mapDoc:d}}=wn(),{printTemplateExpressions:h,uncookTemplateElementValue:E}=no(),x=0;function P(T,k,C,S,j){let{parser:X}=j,te=T.getValue(),$=x;x=x+1>>>0;let K=_=>`PRETTIER_HTML_PLACEHOLDER_${_}_${$}_IN_JS`,G=te.quasis.map((_,I,q)=>I===q.length-1?_.value.cooked:_.value.cooked+K(I)).join(""),re=h(T,k);if(re.length===0&&G.trim().length===0)return"``";let ee=new RegExp(K("(\\d+)"),"g"),De=0,F=C(G,{parser:X,__onHtmlRoot(_){De=_.children.length}},{stripTrailingHardline:!0}),J=d(F,_=>{if(typeof _!="string")return _;let I=[],q=_.split(ee);for(let U=0;U<q.length;U++){let z=q[U];if(U%2===0){z&&(z=E(z),S.__embeddedInHtml&&(z=z.replace(/<\/(script)\b/gi,"<\\/$1")),I.push(z));continue}let ie=Number(z);I.push(re[ie])}return I}),w=/^\s/.test(G)?" ":"",R=/\s$/.test(G)?" ":"",y=S.htmlWhitespaceSensitivity==="ignore"?D:w&&R?v:null;return f(y?["`",p([y,f(J)]),y,"`"]:["`",w,De>1?p(f(J)):f(J),R,"`"])}A.exports=P}}),b2=Te({"src/language-js/embed.js"(m,A){Re();var{hasComment:p,CommentCheckFlags:v,isObjectProperty:D}=pr(),f=m2(),d=g2(),h=y2(),E=D2();function x(F){if(k(F)||X(F)||te(F)||C(F))return"css";if(G(F))return"graphql";if(ee(F))return"html";if(S(F))return"angular";if(T(F))return"markdown"}function P(F,J,w,R){let y=F.getValue();if(y.type!=="TemplateLiteral"||De(y))return;let _=x(F);if(_){if(_==="markdown")return f(F,J,w);if(_==="css")return d(F,J,w);if(_==="graphql")return h(F,J,w);if(_==="html"||_==="angular")return E(F,J,w,R,{parser:_})}}function T(F){let J=F.getValue(),w=F.getParentNode();return w&&w.type==="TaggedTemplateExpression"&&J.quasis.length===1&&w.tag.type==="Identifier"&&(w.tag.name==="md"||w.tag.name==="markdown")}function k(F){let J=F.getValue(),w=F.getParentNode(),R=F.getParentNode(1);return R&&J.quasis&&w.type==="JSXExpressionContainer"&&R.type==="JSXElement"&&R.openingElement.name.name==="style"&&R.openingElement.attributes.some(y=>y.name.name==="jsx")||w&&w.type==="TaggedTemplateExpression"&&w.tag.type==="Identifier"&&w.tag.name==="css"||w&&w.type==="TaggedTemplateExpression"&&w.tag.type==="MemberExpression"&&w.tag.object.name==="css"&&(w.tag.property.name==="global"||w.tag.property.name==="resolve")}function C(F){return F.match(J=>J.type==="TemplateLiteral",(J,w)=>J.type==="ArrayExpression"&&w==="elements",(J,w)=>D(J)&&J.key.type==="Identifier"&&J.key.name==="styles"&&w==="value",...j)}function S(F){return F.match(J=>J.type==="TemplateLiteral",(J,w)=>D(J)&&J.key.type==="Identifier"&&J.key.name==="template"&&w==="value",...j)}var j=[(F,J)=>F.type==="ObjectExpression"&&J==="properties",(F,J)=>F.type==="CallExpression"&&F.callee.type==="Identifier"&&F.callee.name==="Component"&&J==="arguments",(F,J)=>F.type==="Decorator"&&J==="expression"];function X(F){let J=F.getParentNode();if(!J||J.type!=="TaggedTemplateExpression")return!1;let w=J.tag.type==="ParenthesizedExpression"?J.tag.expression:J.tag;switch(w.type){case"MemberExpression":return $(w.object)||K(w);case"CallExpression":return $(w.callee)||w.callee.type==="MemberExpression"&&(w.callee.object.type==="MemberExpression"&&($(w.callee.object.object)||K(w.callee.object))||w.callee.object.type==="CallExpression"&&$(w.callee.object.callee));case"Identifier":return w.name==="css";default:return!1}}function te(F){let J=F.getParentNode(),w=F.getParentNode(1);return w&&J.type==="JSXExpressionContainer"&&w.type==="JSXAttribute"&&w.name.type==="JSXIdentifier"&&w.name.name==="css"}function $(F){return F.type==="Identifier"&&F.name==="styled"}function K(F){return/^[A-Z]/.test(F.object.name)&&F.property.name==="extend"}function G(F){let J=F.getValue(),w=F.getParentNode();return re(J,"GraphQL")||w&&(w.type==="TaggedTemplateExpression"&&(w.tag.type==="MemberExpression"&&w.tag.object.name==="graphql"&&w.tag.property.name==="experimental"||w.tag.type==="Identifier"&&(w.tag.name==="gql"||w.tag.name==="graphql"))||w.type==="CallExpression"&&w.callee.type==="Identifier"&&w.callee.name==="graphql")}function re(F,J){return p(F,v.Block|v.Leading,w=>{let{value:R}=w;return R===` ${J} `})}function ee(F){return re(F.getValue(),"HTML")||F.match(J=>J.type==="TemplateLiteral",(J,w)=>J.type==="TaggedTemplateExpression"&&J.tag.type==="Identifier"&&J.tag.name==="html"&&w==="quasi")}function De(F){let{quasis:J}=F;return J.some(w=>{let{value:{cooked:R}}=w;return R===null})}A.exports=P}}),v2=Te({"src/language-js/clean.js"(m,A){Re();var p=aa(),v=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),D=d=>{for(let h of d.quasis)delete h.value};function f(d,h,E){if(d.type==="Program"&&delete h.sourceType,(d.type==="BigIntLiteral"||d.type==="BigIntLiteralTypeAnnotation")&&h.value&&(h.value=h.value.toLowerCase()),(d.type==="BigIntLiteral"||d.type==="Literal")&&h.bigint&&(h.bigint=h.bigint.toLowerCase()),d.type==="DecimalLiteral"&&(h.value=Number(h.value)),d.type==="Literal"&&h.decimal&&(h.decimal=Number(h.decimal)),d.type==="EmptyStatement"||d.type==="JSXText"||d.type==="JSXExpressionContainer"&&(d.expression.type==="Literal"||d.expression.type==="StringLiteral")&&d.expression.value===" ")return null;if((d.type==="Property"||d.type==="ObjectProperty"||d.type==="MethodDefinition"||d.type==="ClassProperty"||d.type==="ClassMethod"||d.type==="PropertyDefinition"||d.type==="TSDeclareMethod"||d.type==="TSPropertySignature"||d.type==="ObjectTypeProperty")&&typeof d.key=="object"&&d.key&&(d.key.type==="Literal"||d.key.type==="NumericLiteral"||d.key.type==="StringLiteral"||d.key.type==="Identifier")&&delete h.key,d.type==="JSXElement"&&d.openingElement.name.name==="style"&&d.openingElement.attributes.some(T=>T.name.name==="jsx"))for(let{type:T,expression:k}of h.children)T==="JSXExpressionContainer"&&k.type==="TemplateLiteral"&&D(k);d.type==="JSXAttribute"&&d.name.name==="css"&&d.value.type==="JSXExpressionContainer"&&d.value.expression.type==="TemplateLiteral"&&D(h.value.expression),d.type==="JSXAttribute"&&d.value&&d.value.type==="Literal"&&/["']|&quot;|&apos;/.test(d.value.value)&&(h.value.value=h.value.value.replace(/["']|&quot;|&apos;/g,'"'));let x=d.expression||d.callee;if(d.type==="Decorator"&&x.type==="CallExpression"&&x.callee.name==="Component"&&x.arguments.length===1){let T=d.expression.arguments[0].properties;for(let[k,C]of h.expression.arguments[0].properties.entries())switch(T[k].key.name){case"styles":C.value.type==="ArrayExpression"&&D(C.value.elements[0]);break;case"template":C.value.type==="TemplateLiteral"&&D(C.value);break}}if(d.type==="TaggedTemplateExpression"&&(d.tag.type==="MemberExpression"||d.tag.type==="Identifier"&&(d.tag.name==="gql"||d.tag.name==="graphql"||d.tag.name==="css"||d.tag.name==="md"||d.tag.name==="markdown"||d.tag.name==="html")||d.tag.type==="CallExpression")&&D(h.quasi),d.type==="TemplateLiteral"){var P;(!((P=d.leadingComments)===null||P===void 0)&&P.some(T=>p(T)&&["GraphQL","HTML"].some(k=>T.value===` ${k} `))||E.type==="CallExpression"&&E.callee.name==="graphql"||!d.leadingComments)&&D(h)}if(d.type==="InterpreterDirective"&&(h.value=h.value.trimEnd()),(d.type==="TSIntersectionType"||d.type==="TSUnionType")&&d.types.length===1)return h.types[0]}f.ignoredProperties=v,A.exports=f}}),I0={};Sn(I0,{EOL:()=>ap,arch:()=>E2,cpus:()=>U0,default:()=>H0,endianness:()=>O0,freemem:()=>V0,getNetworkInterfaces:()=>Y0,hostname:()=>j0,loadavg:()=>R0,networkInterfaces:()=>J0,platform:()=>A2,release:()=>G0,tmpDir:()=>ip,tmpdir:()=>sp,totalmem:()=>q0,type:()=>W0,uptime:()=>$0});function O0(){if(typeof El>"u"){var m=new ArrayBuffer(2),A=new Uint8Array(m),p=new Uint16Array(m);if(A[0]=1,A[1]=2,p[0]===258)El="BE";else if(p[0]===513)El="LE";else throw new Error("unable to figure out endianess")}return El}function j0(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function R0(){return[]}function $0(){return 0}function V0(){return Number.MAX_VALUE}function q0(){return Number.MAX_VALUE}function U0(){return[]}function W0(){return"Browser"}function G0(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function J0(){}function Y0(){}function E2(){return"javascript"}function A2(){return"browser"}function ip(){return"/tmp"}var El,sp,ap,H0,C2=pn({"node-modules-polyfills:os"(){Re(),sp=ip,ap=`
201
- `,H0={EOL:ap,tmpdir:sp,tmpDir:ip,networkInterfaces:J0,getNetworkInterfaces:Y0,release:G0,type:W0,cpus:U0,totalmem:q0,freemem:V0,uptime:$0,loadavg:R0,hostname:j0,endianness:O0}}}),x2=Te({"node-modules-polyfills-commonjs:os"(m,A){Re();var p=(C2(),Yn(I0));if(p&&p.default){A.exports=p.default;for(let v in p)A.exports[v]=p[v]}else p&&(A.exports=p)}}),S2=Te({"node_modules/detect-newline/index.js"(m,A){Re();var p=v=>{if(typeof v!="string")throw new TypeError("Expected a string");let D=v.match(/(?:\r?\n)/g)||[];if(D.length===0)return;let f=D.filter(h=>h===`\r
202
- `).length,d=D.length-f;return f>d?`\r
203
- `:`
204
- `};A.exports=p,A.exports.graceful=v=>typeof v=="string"&&p(v)||`
205
- `}}),w2=Te({"node_modules/jest-docblock/build/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=C,m.parse=j,m.parseWithComments=X,m.print=te,m.strip=S;function A(){let K=x2();return A=function(){return K},K}function p(){let K=v(S2());return p=function(){return K},K}function v(K){return K&&K.__esModule?K:{default:K}}var D=/\*\/$/,f=/^\/\*\*?/,d=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,h=/(^|\s+)\/\/([^\r\n]*)/g,E=/^(\r?\n)+/,x=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,P=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,T=/(\r?\n|^) *\* ?/g,k=[];function C(K){let G=K.match(d);return G?G[0].trimLeft():""}function S(K){let G=K.match(d);return G&&G[0]?K.substring(G[0].length):K}function j(K){return X(K).pragmas}function X(K){let G=(0,p().default)(K)||A().EOL;K=K.replace(f,"").replace(D,"").replace(T,"$1");let re="";for(;re!==K;)re=K,K=K.replace(x,`${G}$1 $2${G}`);K=K.replace(E,"").trimRight();let ee=Object.create(null),De=K.replace(P,"").replace(E,"").trimRight(),F;for(;F=P.exec(K);){let J=F[2].replace(h,"");typeof ee[F[1]]=="string"||Array.isArray(ee[F[1]])?ee[F[1]]=k.concat(ee[F[1]],J):ee[F[1]]=J}return{comments:De,pragmas:ee}}function te(K){let{comments:G="",pragmas:re={}}=K,ee=(0,p().default)(G)||A().EOL,De="/**",F=" *",J=" */",w=Object.keys(re),R=w.map(_=>$(_,re[_])).reduce((_,I)=>_.concat(I),[]).map(_=>`${F} ${_}${ee}`).join("");if(!G){if(w.length===0)return"";if(w.length===1&&!Array.isArray(re[w[0]])){let _=re[w[0]];return`${De} ${$(w[0],_)[0]}${J}`}}let y=G.split(ee).map(_=>`${F} ${_}`).join(ee)+ee;return De+ee+(G?y:"")+(G&&w.length?F+ee:"")+R+J}function $(K,G){return k.concat(G).map(re=>`@${K} ${re}`.trim())}}}),F2=Te({"src/language-js/utils/get-shebang.js"(m,A){Re();function p(v){if(!v.startsWith("#!"))return"";let D=v.indexOf(`
206
- `);return D===-1?v:v.slice(0,D)}A.exports=p}}),z0=Te({"src/language-js/pragma.js"(m,A){Re();var{parseWithComments:p,strip:v,extract:D,print:f}=w2(),{normalizeEndOfLine:d}=Ki(),h=F2();function E(T){let k=h(T);k&&(T=T.slice(k.length+1));let C=D(T),{pragmas:S,comments:j}=p(C);return{shebang:k,text:T,pragmas:S,comments:j}}function x(T){let k=Object.keys(E(T).pragmas);return k.includes("prettier")||k.includes("format")}function P(T){let{shebang:k,text:C,pragmas:S,comments:j}=E(T),X=v(C),te=f({pragmas:Object.assign({format:""},S),comments:j.trimStart()});return(k?`${k}
207
- `:"")+d(te)+(X.startsWith(`
208
- `)?`
209
- `:`
210
-
211
- `)+X}A.exports={hasPragma:x,insertPragma:P}}}),N2=Te({"src/language-js/utils/is-type-cast-comment.js"(m,A){Re();var p=aa();function v(D){return p(D)&&D.value[0]==="*"&&/@(?:type|satisfies)\b/.test(D.value)}A.exports=v}}),Q0=Te({"src/language-js/comments.js"(m,A){Re();var{getLast:p,hasNewline:v,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:D,getNextNonSpaceNonCommentCharacter:f,hasNewlineInRange:d,addLeadingComment:h,addTrailingComment:E,addDanglingComment:x,getNextNonSpaceNonCommentCharacterIndex:P,isNonEmptyArray:T}=ye(),{getFunctionParameters:k,isPrettierIgnoreComment:C,isJsxNode:S,hasFlowShorthandAnnotationComment:j,hasFlowAnnotationComment:X,hasIgnoreComment:te,isCallLikeExpression:$,getCallArguments:K,isCallExpression:G,isMemberExpression:re,isObjectProperty:ee,isLineComment:De,getComments:F,CommentCheckFlags:J,markerForIfWithoutBlockAndSameLineComment:w}=pr(),{locStart:R,locEnd:y}=ni(),_=aa(),I=N2();function q(bt){return[Ae,Jt,Ue,ce,_e,se,st,Mt,Ze,_t,cn,Pn,yt,$e,Se].some(V=>V(bt))}function U(bt){return[ge,Jt,me,cn,ce,_e,se,st,$e,Je,At,_t,yn,Se,Ie].some(V=>V(bt))}function z(bt){return[Ae,ce,_e,oe,mt,yt,_t,ht,Me,gt,Se,ct].some(V=>V(bt))}function ie(bt,V){let Le=(bt.body||bt.properties).find(at=>{let{type:Pt}=at;return Pt!=="EmptyStatement"});Le?h(Le,V):x(bt,V)}function le(bt,V){bt.type==="BlockStatement"?ie(bt,V):h(bt,V)}function ge(bt){let{comment:V,followingNode:Le}=bt;return Le&&I(V)?(h(Le,V),!0):!1}function ce(bt){let{comment:V,precedingNode:Le,enclosingNode:at,followingNode:Pt,text:Vt}=bt;if(at?.type!=="IfStatement"||!Pt)return!1;if(f(Vt,V,y)===")")return E(Le,V),!0;if(Le===at.consequent&&Pt===at.alternate){if(Le.type==="BlockStatement")E(Le,V);else{let un=V.type==="SingleLine"||V.loc.start.line===V.loc.end.line,It=V.loc.start.line===Le.loc.start.line;un&&It?x(Le,V,w):x(at,V)}return!0}return Pt.type==="BlockStatement"?(ie(Pt,V),!0):Pt.type==="IfStatement"?(le(Pt.consequent,V),!0):at.consequent===Pt?(h(Pt,V),!0):!1}function _e(bt){let{comment:V,precedingNode:Le,enclosingNode:at,followingNode:Pt,text:Vt}=bt;return at?.type!=="WhileStatement"||!Pt?!1:f(Vt,V,y)===")"?(E(Le,V),!0):Pt.type==="BlockStatement"?(ie(Pt,V),!0):at.body===Pt?(h(Pt,V),!0):!1}function se(bt){let{comment:V,precedingNode:Le,enclosingNode:at,followingNode:Pt}=bt;return at?.type!=="TryStatement"&&at?.type!=="CatchClause"||!Pt?!1:at.type==="CatchClause"&&Le?(E(Le,V),!0):Pt.type==="BlockStatement"?(ie(Pt,V),!0):Pt.type==="TryStatement"?(le(Pt.finalizer,V),!0):Pt.type==="CatchClause"?(le(Pt.body,V),!0):!1}function Ue(bt){let{comment:V,enclosingNode:Le,followingNode:at}=bt;return re(Le)&&at?.type==="Identifier"?(h(Le,V),!0):!1}function me(bt){let{comment:V,precedingNode:Le,enclosingNode:at,followingNode:Pt,text:Vt}=bt,un=Le&&!d(Vt,y(Le),R(V));return(!Le||!un)&&(at?.type==="ConditionalExpression"||at?.type==="TSConditionalType")&&Pt?(h(Pt,V),!0):!1}function oe(bt){let{comment:V,precedingNode:Le,enclosingNode:at}=bt;return ee(at)&&at.shorthand&&at.key===Le&&at.value.type==="AssignmentPattern"?(E(at.value.left,V),!0):!1}var qe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function st(bt){let{comment:V,precedingNode:Le,enclosingNode:at,followingNode:Pt}=bt;if(qe.has(at?.type)){if(T(at.decorators)&&!(Pt&&Pt.type==="Decorator"))return E(p(at.decorators),V),!0;if(at.body&&Pt===at.body)return ie(at.body,V),!0;if(Pt){if(at.superClass&&Pt===at.superClass&&Le&&(Le===at.id||Le===at.typeParameters))return E(Le,V),!0;for(let Vt of["implements","extends","mixins"])if(at[Vt]&&Pt===at[Vt][0])return Le&&(Le===at.id||Le===at.typeParameters||Le===at.superClass)?E(Le,V):x(at,V,Vt),!0}}return!1}var Ge=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function yt(bt){let{comment:V,precedingNode:Le,enclosingNode:at,text:Pt}=bt;return at&&Le&&f(Pt,V,y)==="("&&(at.type==="Property"||at.type==="TSDeclareMethod"||at.type==="TSAbstractMethodDefinition")&&Le.type==="Identifier"&&at.key===Le&&f(Pt,Le,y)!==":"||Le?.type==="Decorator"&&Ge.has(at?.type)?(E(Le,V),!0):!1}var be=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Me(bt){let{comment:V,precedingNode:Le,enclosingNode:at,text:Pt}=bt;return f(Pt,V,y)!=="("?!1:Le&&be.has(at?.type)?(E(Le,V),!0):!1}function ht(bt){let{comment:V,enclosingNode:Le,text:at}=bt;if(Le?.type!=="ArrowFunctionExpression")return!1;let Pt=P(at,V,y);return Pt!==!1&&at.slice(Pt,Pt+2)==="=>"?(x(Le,V),!0):!1}function mt(bt){let{comment:V,enclosingNode:Le,text:at}=bt;return f(at,V,y)!==")"?!1:Le&&(dt(Le)&&k(Le).length===0||$(Le)&&K(Le).length===0)?(x(Le,V),!0):(Le?.type==="MethodDefinition"||Le?.type==="TSAbstractMethodDefinition")&&k(Le.value).length===0?(x(Le.value,V),!0):!1}function Jt(bt){let{comment:V,precedingNode:Le,enclosingNode:at,followingNode:Pt,text:Vt}=bt;if(Le?.type==="FunctionTypeParam"&&at?.type==="FunctionTypeAnnotation"&&Pt?.type!=="FunctionTypeParam"||(Le?.type==="Identifier"||Le?.type==="AssignmentPattern")&&at&&dt(at)&&f(Vt,V,y)===")")return E(Le,V),!0;if(at?.type==="FunctionDeclaration"&&Pt?.type==="BlockStatement"){let un=(()=>{let It=k(at);if(It.length>0)return D(Vt,y(p(It)));let Ar=D(Vt,y(at.id));return Ar!==!1&&D(Vt,Ar+1)})();if(R(V)>un)return ie(Pt,V),!0}return!1}function $e(bt){let{comment:V,enclosingNode:Le}=bt;return Le?.type==="LabeledStatement"?(h(Le,V),!0):!1}function Se(bt){let{comment:V,enclosingNode:Le}=bt;return(Le?.type==="ContinueStatement"||Le?.type==="BreakStatement")&&!Le.label?(E(Le,V),!0):!1}function Je(bt){let{comment:V,precedingNode:Le,enclosingNode:at}=bt;return G(at)&&Le&&at.callee===Le&&at.arguments.length>0?(h(at.arguments[0],V),!0):!1}function Ze(bt){let{comment:V,precedingNode:Le,enclosingNode:at,followingNode:Pt}=bt;return at?.type==="UnionTypeAnnotation"||at?.type==="TSUnionType"?(C(V)&&(Pt.prettierIgnore=!0,V.unignore=!0),Le?(E(Le,V),!0):!1):((Pt?.type==="UnionTypeAnnotation"||Pt?.type==="TSUnionType")&&C(V)&&(Pt.types[0].prettierIgnore=!0,V.unignore=!0),!1)}function At(bt){let{comment:V,enclosingNode:Le}=bt;return ee(Le)?(h(Le,V),!0):!1}function _t(bt){let{comment:V,enclosingNode:Le,followingNode:at,ast:Pt,isLastComment:Vt}=bt;return Pt&&Pt.body&&Pt.body.length===0?(Vt?x(Pt,V):h(Pt,V),!0):Le?.type==="Program"&&Le?.body.length===0&&!T(Le.directives)?(Vt?x(Le,V):h(Le,V),!0):at?.type==="Program"&&at?.body.length===0&&Le?.type==="ModuleExpression"?(x(at,V),!0):!1}function Mt(bt){let{comment:V,enclosingNode:Le}=bt;return Le?.type==="ForInStatement"||Le?.type==="ForOfStatement"?(h(Le,V),!0):!1}function cn(bt){let{comment:V,precedingNode:Le,enclosingNode:at,text:Pt}=bt;if(at?.type==="ImportSpecifier"||at?.type==="ExportSpecifier")return h(at,V),!0;let Vt=Le?.type==="ImportSpecifier"&&at?.type==="ImportDeclaration",un=Le?.type==="ExportSpecifier"&&at?.type==="ExportNamedDeclaration";return(Vt||un)&&v(Pt,y(V))?(E(Le,V),!0):!1}function Pn(bt){let{comment:V,enclosingNode:Le}=bt;return Le?.type==="AssignmentPattern"?(h(Le,V),!0):!1}var _n=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ln=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function yn(bt){let{comment:V,enclosingNode:Le,followingNode:at}=bt;return _n.has(Le?.type)&&at&&(ln.has(at.type)||_(V))?(h(at,V),!0):!1}function ct(bt){let{comment:V,enclosingNode:Le,followingNode:at,text:Pt}=bt;return!at&&(Le?.type==="TSMethodSignature"||Le?.type==="TSDeclareFunction"||Le?.type==="TSAbstractMethodDefinition")&&f(Pt,V,y)===";"?(E(Le,V),!0):!1}function Ae(bt){let{comment:V,enclosingNode:Le,followingNode:at}=bt;if(C(V)&&Le?.type==="TSMappedType"&&at?.type==="TSTypeParameter"&&at.constraint)return Le.prettierIgnore=!0,V.unignore=!0,!0}function gt(bt){let{comment:V,precedingNode:Le,enclosingNode:at,followingNode:Pt}=bt;return at?.type!=="TSMappedType"?!1:Pt?.type==="TSTypeParameter"&&Pt.name?(h(Pt.name,V),!0):Le?.type==="TSTypeParameter"&&Le.constraint?(E(Le.constraint,V),!0):!1}function Ie(bt){let{comment:V,enclosingNode:Le,followingNode:at}=bt;return!Le||Le.type!=="SwitchCase"||Le.test||!at||at!==Le.consequent[0]?!1:(at.type==="BlockStatement"&&De(V)?ie(at,V):x(Le,V),!0)}function dt(bt){return bt.type==="ArrowFunctionExpression"||bt.type==="FunctionExpression"||bt.type==="FunctionDeclaration"||bt.type==="ObjectMethod"||bt.type==="ClassMethod"||bt.type==="TSDeclareFunction"||bt.type==="TSCallSignatureDeclaration"||bt.type==="TSConstructSignatureDeclaration"||bt.type==="TSMethodSignature"||bt.type==="TSConstructorType"||bt.type==="TSFunctionType"||bt.type==="TSDeclareMethod"}function en(bt,V){if((V.parser==="typescript"||V.parser==="flow"||V.parser==="acorn"||V.parser==="espree"||V.parser==="meriyah"||V.parser==="__babel_estree")&&bt.type==="MethodDefinition"&&bt.value&&bt.value.type==="FunctionExpression"&&k(bt.value).length===0&&!bt.value.returnType&&!T(bt.value.typeParameters)&&bt.value.body)return[...bt.decorators||[],bt.key,bt.value.body]}function Ut(bt){let V=bt.getValue(),Le=bt.getParentNode(),at=Pt=>X(F(Pt,J.Leading))||X(F(Pt,J.Trailing));return(V&&(S(V)||j(V)||G(Le)&&at(V))||Le&&(Le.type==="JSXSpreadAttribute"||Le.type==="JSXSpreadChild"||Le.type==="UnionTypeAnnotation"||Le.type==="TSUnionType"||(Le.type==="ClassDeclaration"||Le.type==="ClassExpression")&&Le.superClass===V))&&(!te(bt)||Le.type==="UnionTypeAnnotation"||Le.type==="TSUnionType")}A.exports={handleOwnLineComment:q,handleEndOfLineComment:U,handleRemainingComment:z,getCommentChildNodes:en,willPrintOwnComments:Ut}}}),ro=Te({"src/language-js/needs-parens.js"(m,A){Re();var p=Vr(),v=Ot(),{getFunctionParameters:D,getLeftSidePathName:f,hasFlowShorthandAnnotationComment:d,hasNakedLeftSide:h,hasNode:E,isBitwiseOperator:x,startsWithNoLookaheadToken:P,shouldFlatten:T,getPrecedence:k,isCallExpression:C,isMemberExpression:S,isObjectProperty:j,isTSTypeExpression:X}=pr();function te(F,J){let w=F.getParentNode();if(!w)return!1;let R=F.getName(),y=F.getNode();if(J.__isInHtmlInterpolation&&!J.bracketSpacing&&re(y)&&ee(F))return!0;if($(y))return!1;if(J.parser!=="flow"&&d(F.getValue()))return!0;if(y.type==="Identifier"){if(y.extra&&y.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(y.name)||R==="left"&&(y.name==="async"&&!w.await||y.name==="let")&&w.type==="ForOfStatement")return!0;if(y.name==="let"){var _;let q=(_=F.findAncestor(U=>U.type==="ForOfStatement"))===null||_===void 0?void 0:_.left;if(q&&P(q,U=>U===y))return!0}if(R==="object"&&y.name==="let"&&w.type==="MemberExpression"&&w.computed&&!w.optional){let q=F.findAncestor(z=>z.type==="ExpressionStatement"||z.type==="ForStatement"||z.type==="ForInStatement"),U=q?q.type==="ExpressionStatement"?q.expression:q.type==="ForStatement"?q.init:q.left:void 0;if(U&&P(U,z=>z===y))return!0}return!1}if(y.type==="ObjectExpression"||y.type==="FunctionExpression"||y.type==="ClassExpression"||y.type==="DoExpression"){var I;let q=(I=F.findAncestor(U=>U.type==="ExpressionStatement"))===null||I===void 0?void 0:I.expression;if(q&&P(q,U=>U===y))return!0}switch(w.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(R==="superClass"&&(y.type==="ArrowFunctionExpression"||y.type==="AssignmentExpression"||y.type==="AwaitExpression"||y.type==="BinaryExpression"||y.type==="ConditionalExpression"||y.type==="LogicalExpression"||y.type==="NewExpression"||y.type==="ObjectExpression"||y.type==="SequenceExpression"||y.type==="TaggedTemplateExpression"||y.type==="UnaryExpression"||y.type==="UpdateExpression"||y.type==="YieldExpression"||y.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return De(F,J)||y.type==="SequenceExpression";case"Decorator":{if(R==="expression"){if(S(y)&&y.computed)return!0;let q=!1,U=!1,z=y;for(;z;)switch(z.type){case"MemberExpression":U=!0,z=z.object;break;case"CallExpression":if(U||q)return J.parser!=="typescript";q=!0,z=z.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return J.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(R==="body"&&y.type!=="SequenceExpression"&&P(y,q=>q.type==="ObjectExpression"))return!0;break}}switch(y.type){case"UpdateExpression":if(w.type==="UnaryExpression")return y.prefix&&(y.operator==="++"&&w.operator==="+"||y.operator==="--"&&w.operator==="-");case"UnaryExpression":switch(w.type){case"UnaryExpression":return y.operator===w.operator&&(y.operator==="+"||y.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"BinaryExpression":return R==="left"&&w.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(w.type==="UpdateExpression"||y.operator==="in"&&K(F))return!0;if(y.operator==="|>"&&y.extra&&y.extra.parenthesized){let q=F.getParentNode(1);if(q.type==="BinaryExpression"&&q.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(w.type){case"TSSatisfiesExpression":case"TSAsExpression":return!X(y);case"ConditionalExpression":return X(y);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return R==="callee";case"ClassExpression":case"ClassDeclaration":return R==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"AssignmentExpression":case"AssignmentPattern":return R==="left"&&(y.type==="TSTypeAssertion"||X(y));case"LogicalExpression":if(y.type==="LogicalExpression")return w.operator!==y.operator;case"BinaryExpression":{let{operator:q,type:U}=y;if(!q&&U!=="TSTypeAssertion")return!0;let z=k(q),ie=w.operator,le=k(ie);return le>z||R==="right"&&le===z||le===z&&!T(ie,q)?!0:le<z&&q==="%"?ie==="+"||ie==="-":!!x(ie)}default:return!1}case"SequenceExpression":switch(w.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return R!=="expression";case"ArrowFunctionExpression":return R!=="body";default:return!0}case"YieldExpression":if(w.type==="UnaryExpression"||w.type==="AwaitExpression"||X(w)||w.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(w.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"ConditionalExpression":return R==="test";case"BinaryExpression":return!(!y.argument&&w.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(R==="extendsType"&&w.type==="TSConditionalType"){if(y.type==="TSConditionalType")return!0;let{typeAnnotation:q}=y.returnType||y.typeAnnotation;if(q.type==="TSTypePredicate"&&q.typeAnnotation&&(q=q.typeAnnotation.typeAnnotation),q.type==="TSInferType"&&q.typeParameter.constraint)return!0}if(R==="checkType"&&w.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((w.type==="TSUnionType"||w.type==="TSIntersectionType")&&w.types.length>1&&(!y.types||y.types.length>1))return!0;case"TSInferType":if(y.type==="TSInferType"&&w.type==="TSRestType")return!1;case"TSTypeOperator":return w.type==="TSArrayType"||w.type==="TSOptionalType"||w.type==="TSRestType"||R==="objectType"&&w.type==="TSIndexedAccessType"||w.type==="TSTypeOperator"||w.type==="TSTypeAnnotation"&&F.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return R==="objectType"&&w.type==="TSIndexedAccessType"||R==="elementType"&&w.type==="TSArrayType";case"TypeofTypeAnnotation":return R==="objectType"&&(w.type==="IndexedAccessType"||w.type==="OptionalIndexedAccessType")||R==="elementType"&&w.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return w.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return w.type==="ArrayTypeAnnotation"||w.type==="NullableTypeAnnotation"||w.type==="IntersectionTypeAnnotation"||w.type==="UnionTypeAnnotation"||R==="objectType"&&(w.type==="IndexedAccessType"||w.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return w.type==="ArrayTypeAnnotation"||R==="objectType"&&(w.type==="IndexedAccessType"||w.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let q=w.type==="NullableTypeAnnotation"?F.getParentNode(1):w;return q.type==="UnionTypeAnnotation"||q.type==="IntersectionTypeAnnotation"||q.type==="ArrayTypeAnnotation"||R==="objectType"&&(q.type==="IndexedAccessType"||q.type==="OptionalIndexedAccessType")||q.type==="NullableTypeAnnotation"||w.type==="FunctionTypeParam"&&w.name===null&&D(y).some(U=>U.typeAnnotation&&U.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return R==="objectType"&&w.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof y.value=="string"&&w.type==="ExpressionStatement"&&!w.directive){let q=F.getParentNode(1);return q.type==="Program"||q.type==="BlockStatement"}return R==="object"&&w.type==="MemberExpression"&&typeof y.value=="number";case"AssignmentExpression":{let q=F.getParentNode(1);return R==="body"&&w.type==="ArrowFunctionExpression"?!0:R==="key"&&(w.type==="ClassProperty"||w.type==="PropertyDefinition")&&w.computed||(R==="init"||R==="update")&&w.type==="ForStatement"?!1:w.type==="ExpressionStatement"?y.left.type==="ObjectPattern":!(R==="key"&&w.type==="TSPropertySignature"||w.type==="AssignmentExpression"||w.type==="SequenceExpression"&&q&&q.type==="ForStatement"&&(q.init===w||q.update===w)||R==="value"&&w.type==="Property"&&q&&q.type==="ObjectPattern"&&q.properties.includes(w)||w.type==="NGChainedExpression")}case"ConditionalExpression":switch(w.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"ConditionalExpression":return R==="test";case"MemberExpression":case"OptionalMemberExpression":return R==="object";default:return!1}case"FunctionExpression":switch(w.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(w.type){case"BinaryExpression":return w.operator!=="|>"||y.extra&&y.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return R==="test";default:return!1}case"ClassExpression":if(v(y.decorators))return!0;switch(w.type){case"NewExpression":return R==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let q=F.getParentNode(1);if(R==="object"&&w.type==="MemberExpression"||R==="callee"&&(w.type==="CallExpression"||w.type==="NewExpression")||w.type==="TSNonNullExpression"&&q.type==="MemberExpression"&&q.object===w)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(R==="callee"&&(w.type==="BindExpression"||w.type==="NewExpression")){let q=y;for(;q;)switch(q.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":q=q.object;break;case"TaggedTemplateExpression":q=q.tag;break;case"TSNonNullExpression":q=q.expression;break;default:return!1}}return!1;case"BindExpression":return R==="callee"&&(w.type==="BindExpression"||w.type==="NewExpression")||R==="object"&&S(w);case"NGPipeExpression":return!(w.type==="NGRoot"||w.type==="NGMicrosyntaxExpression"||w.type==="ObjectProperty"&&!(y.extra&&y.extra.parenthesized)||w.type==="ArrayExpression"||C(w)&&w.arguments[R]===y||R==="right"&&w.type==="NGPipeExpression"||R==="property"&&w.type==="MemberExpression"||w.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return R==="callee"||R==="left"&&w.type==="BinaryExpression"&&w.operator==="<"||w.type!=="ArrayExpression"&&w.type!=="ArrowFunctionExpression"&&w.type!=="AssignmentExpression"&&w.type!=="AssignmentPattern"&&w.type!=="BinaryExpression"&&w.type!=="NewExpression"&&w.type!=="ConditionalExpression"&&w.type!=="ExpressionStatement"&&w.type!=="JsExpressionRoot"&&w.type!=="JSXAttribute"&&w.type!=="JSXElement"&&w.type!=="JSXExpressionContainer"&&w.type!=="JSXFragment"&&w.type!=="LogicalExpression"&&!C(w)&&!j(w)&&w.type!=="ReturnStatement"&&w.type!=="ThrowStatement"&&w.type!=="TypeCastExpression"&&w.type!=="VariableDeclarator"&&w.type!=="YieldExpression";case"TypeAnnotation":return R==="returnType"&&w.type==="ArrowFunctionExpression"&&G(y)}return!1}function $(F){return F.type==="BlockStatement"||F.type==="BreakStatement"||F.type==="ClassBody"||F.type==="ClassDeclaration"||F.type==="ClassMethod"||F.type==="ClassProperty"||F.type==="PropertyDefinition"||F.type==="ClassPrivateProperty"||F.type==="ContinueStatement"||F.type==="DebuggerStatement"||F.type==="DeclareClass"||F.type==="DeclareExportAllDeclaration"||F.type==="DeclareExportDeclaration"||F.type==="DeclareFunction"||F.type==="DeclareInterface"||F.type==="DeclareModule"||F.type==="DeclareModuleExports"||F.type==="DeclareVariable"||F.type==="DoWhileStatement"||F.type==="EnumDeclaration"||F.type==="ExportAllDeclaration"||F.type==="ExportDefaultDeclaration"||F.type==="ExportNamedDeclaration"||F.type==="ExpressionStatement"||F.type==="ForInStatement"||F.type==="ForOfStatement"||F.type==="ForStatement"||F.type==="FunctionDeclaration"||F.type==="IfStatement"||F.type==="ImportDeclaration"||F.type==="InterfaceDeclaration"||F.type==="LabeledStatement"||F.type==="MethodDefinition"||F.type==="ReturnStatement"||F.type==="SwitchStatement"||F.type==="ThrowStatement"||F.type==="TryStatement"||F.type==="TSDeclareFunction"||F.type==="TSEnumDeclaration"||F.type==="TSImportEqualsDeclaration"||F.type==="TSInterfaceDeclaration"||F.type==="TSModuleDeclaration"||F.type==="TSNamespaceExportDeclaration"||F.type==="TypeAlias"||F.type==="VariableDeclaration"||F.type==="WhileStatement"||F.type==="WithStatement"}function K(F){let J=0,w=F.getValue();for(;w;){let R=F.getParentNode(J++);if(R&&R.type==="ForStatement"&&R.init===w)return!0;w=R}return!1}function G(F){return E(F,J=>J.type==="ObjectTypeAnnotation"&&E(J,w=>w.type==="FunctionTypeAnnotation"||void 0)||void 0)}function re(F){switch(F.type){case"ObjectExpression":return!0;default:return!1}}function ee(F){let J=F.getValue(),w=F.getParentNode(),R=F.getName();switch(w.type){case"NGPipeExpression":if(typeof R=="number"&&w.arguments[R]===J&&w.arguments.length-1===R)return F.callParent(ee);break;case"ObjectProperty":if(R==="value"){let y=F.getParentNode(1);return p(y.properties)===w}break;case"BinaryExpression":case"LogicalExpression":if(R==="right")return F.callParent(ee);break;case"ConditionalExpression":if(R==="alternate")return F.callParent(ee);break;case"UnaryExpression":if(w.prefix)return F.callParent(ee);break}return!1}function De(F,J){let w=F.getValue(),R=F.getParentNode();return w.type==="FunctionExpression"||w.type==="ClassExpression"?R.type==="ExportDefaultDeclaration"||!te(F,J):!h(w)||R.type!=="ExportDefaultDeclaration"&&te(F,J)?!1:F.call(y=>De(y,J),...f(F,w))}A.exports=te}}),X0=Te({"src/language-js/print-preprocess.js"(m,A){Re();function p(v,D){switch(D.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},v),{},{type:D.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:v,comments:[],rootMarker:D.rootMarker});default:return v}}A.exports=p}}),T2=Te({"src/language-js/print/html-binding.js"(m,A){Re();var{builders:{join:p,line:v,group:D,softline:f,indent:d}}=wn();function h(x,P,T){let k=x.getValue();if(P.__onHtmlBindingRoot&&x.getName()===null&&P.__onHtmlBindingRoot(k,P),k.type==="File"){if(P.__isVueForBindingLeft)return x.call(C=>{let S=p([",",v],C.map(T,"params")),{params:j}=C.getValue();return j.length===1?S:["(",d([f,D(S)]),f,")"]},"program","body",0);if(P.__isVueBindings)return x.call(C=>p([",",v],C.map(T,"params")),"program","body",0)}}function E(x){switch(x.type){case"MemberExpression":switch(x.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return E(x.object)}return!1;case"Identifier":return!0;default:return!1}}A.exports={isVueEventBindingExpression:E,printHtmlBinding:h}}}),op=Te({"src/language-js/print/binaryish.js"(m,A){Re();var{printComments:p}=Ir(),{getLast:v}=ye(),{builders:{join:D,line:f,softline:d,group:h,indent:E,align:x,indentIfBreak:P},utils:{cleanDoc:T,getDocParts:k,isConcat:C}}=wn(),{hasLeadingOwnLineComment:S,isBinaryish:j,isJsxNode:X,shouldFlatten:te,hasComment:$,CommentCheckFlags:K,isCallExpression:G,isMemberExpression:re,isObjectProperty:ee,isEnabledHackPipeline:De}=pr(),F=0;function J(y,_,I){let q=y.getValue(),U=y.getParentNode(),z=y.getParentNode(1),ie=q!==U.body&&(U.type==="IfStatement"||U.type==="WhileStatement"||U.type==="SwitchStatement"||U.type==="DoWhileStatement"),le=De(_)&&q.operator==="|>",ge=w(y,I,_,!1,ie);if(ie)return ge;if(le)return h(ge);if(G(U)&&U.callee===q||U.type==="UnaryExpression"||re(U)&&!U.computed)return h([E([d,...ge]),d]);let ce=U.type==="ReturnStatement"||U.type==="ThrowStatement"||U.type==="JSXExpressionContainer"&&z.type==="JSXAttribute"||q.operator!=="|"&&U.type==="JsExpressionRoot"||q.type!=="NGPipeExpression"&&(U.type==="NGRoot"&&_.parser==="__ng_binding"||U.type==="NGMicrosyntaxExpression"&&z.type==="NGMicrosyntax"&&z.body.length===1)||q===U.body&&U.type==="ArrowFunctionExpression"||q!==U.body&&U.type==="ForStatement"||U.type==="ConditionalExpression"&&z.type!=="ReturnStatement"&&z.type!=="ThrowStatement"&&!G(z)||U.type==="TemplateLiteral",_e=U.type==="AssignmentExpression"||U.type==="VariableDeclarator"||U.type==="ClassProperty"||U.type==="PropertyDefinition"||U.type==="TSAbstractPropertyDefinition"||U.type==="ClassPrivateProperty"||ee(U),se=j(q.left)&&te(q.operator,q.left.operator);if(ce||R(q)&&!se||!R(q)&&_e)return h(ge);if(ge.length===0)return"";let Ue=X(q.right),me=ge.findIndex(be=>typeof be!="string"&&!Array.isArray(be)&&be.type==="group"),oe=ge.slice(0,me===-1?1:me+1),qe=ge.slice(oe.length,Ue?-1:void 0),st=Symbol("logicalChain-"+ ++F),Ge=h([...oe,E(qe)],{id:st});if(!Ue)return Ge;let yt=v(ge);return h([Ge,P(yt,{groupId:st})])}function w(y,_,I,q,U){let z=y.getValue();if(!j(z))return[h(_())];let ie=[];te(z.operator,z.left.operator)?ie=y.call(qe=>w(qe,_,I,!0,U),"left"):ie.push(h(_("left")));let le=R(z),ge=(z.operator==="|>"||z.type==="NGPipeExpression"||z.operator==="|"&&I.parser==="__vue_expression")&&!S(I.originalText,z.right),ce=z.type==="NGPipeExpression"?"|":z.operator,_e=z.type==="NGPipeExpression"&&z.arguments.length>0?h(E([f,": ",D([f,": "],y.map(_,"arguments").map(qe=>x(2,h(qe))))])):"",se;if(le)se=[ce," ",_("right"),_e];else{let qe=De(I)&&ce==="|>"?y.call(st=>w(st,_,I,!0,U),"right"):_("right");se=[ge?f:"",ce,ge?" ":f,qe,_e]}let Ue=y.getParentNode(),me=$(z.left,K.Trailing|K.Line),oe=me||!(U&&z.type==="LogicalExpression")&&Ue.type!==z.type&&z.left.type!==z.type&&z.right.type!==z.type;if(ie.push(ge?"":" ",oe?h(se,{shouldBreak:me}):se),q&&$(z)){let qe=T(p(y,ie,I));return C(qe)||qe.type==="fill"?k(qe):[qe]}return ie}function R(y){return y.type!=="LogicalExpression"?!1:!!(y.right.type==="ObjectExpression"&&y.right.properties.length>0||y.right.type==="ArrayExpression"&&y.right.elements.length>0||X(y.right))}A.exports={printBinaryishExpression:J,shouldInlineLogicalExpression:R}}}),_2=Te({"src/language-js/print/angular.js"(m,A){Re();var{builders:{join:p,line:v,group:D}}=wn(),{hasNode:f,hasComment:d,getComments:h}=pr(),{printBinaryishExpression:E}=op();function x(k,C,S){let j=k.getValue();if(j.type.startsWith("NG"))switch(j.type){case"NGRoot":return[S("node"),d(j.node)?" //"+h(j.node)[0].value.trimEnd():""];case"NGPipeExpression":return E(k,C,S);case"NGChainedExpression":return D(p([";",v],k.map(X=>T(X)?S():["(",S(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[j.prefix,": ",j.value.trim()];case"NGMicrosyntax":return k.map((X,te)=>[te===0?"":P(X.getValue(),te,j)?" ":[";",v],S()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(j.name)?j.name:JSON.stringify(j.name);case"NGMicrosyntaxExpression":return[S("expression"),j.alias===null?"":[" as ",S("alias")]];case"NGMicrosyntaxKeyedExpression":{let X=k.getName(),te=k.getParentNode(),$=P(j,X,te)||(X===1&&(j.key.name==="then"||j.key.name==="else")||X===2&&j.key.name==="else"&&te.body[X-1].type==="NGMicrosyntaxKeyedExpression"&&te.body[X-1].key.name==="then")&&te.body[0].type==="NGMicrosyntaxExpression";return[S("key"),$?" ":": ",S("expression")]}case"NGMicrosyntaxLet":return["let ",S("key"),j.value===null?"":[" = ",S("value")]];case"NGMicrosyntaxAs":return[S("key")," as ",S("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(j.type)}.`)}}function P(k,C,S){return k.type==="NGMicrosyntaxKeyedExpression"&&k.key.name==="of"&&C===1&&S.body[0].type==="NGMicrosyntaxLet"&&S.body[0].value===null}function T(k){return f(k.getValue(),C=>{switch(C.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}A.exports={printAngular:x}}}),L2=Te({"src/language-js/print/jsx.js"(m,A){Re();var{printComments:p,printDanglingComments:v,printCommentsSeparately:D}=Ir(),{builders:{line:f,hardline:d,softline:h,group:E,indent:x,conditionalGroup:P,fill:T,ifBreak:k,lineSuffixBoundary:C,join:S},utils:{willBreak:j}}=wn(),{getLast:X,getPreferredQuote:te}=ye(),{isJsxNode:$,rawText:K,isCallExpression:G,isStringLiteral:re,isBinaryish:ee,hasComment:De,CommentCheckFlags:F,hasNodeIgnoreComment:J}=pr(),w=ro(),{willPrintOwnComments:R}=Q0(),y=Se=>Se===""||Se===f||Se===d||Se===h;function _(Se,Je,Ze){let At=Se.getValue();if(At.type==="JSXElement"&&ht(At))return[Ze("openingElement"),Ze("closingElement")];let _t=At.type==="JSXElement"?Ze("openingElement"):Ze("openingFragment"),Mt=At.type==="JSXElement"?Ze("closingElement"):Ze("closingFragment");if(At.children.length===1&&At.children[0].type==="JSXExpressionContainer"&&(At.children[0].expression.type==="TemplateLiteral"||At.children[0].expression.type==="TaggedTemplateExpression"))return[_t,...Se.map(Ze,"children"),Mt];At.children=At.children.map(V=>Jt(V)?{type:"JSXText",value:" ",raw:" "}:V);let cn=At.children.some($),Pn=At.children.filter(V=>V.type==="JSXExpressionContainer").length>1,_n=At.type==="JSXElement"&&At.openingElement.attributes.length>1,ln=j(_t)||cn||_n||Pn,yn=Se.getParentNode().rootMarker==="mdx",ct=Je.singleQuote?"{' '}":'{" "}',Ae=yn?" ":k([ct,h]," "),gt=At.openingElement&&At.openingElement.name&&At.openingElement.name.name==="fbt",Ie=I(Se,Je,Ze,Ae,gt),dt=At.children.some(V=>mt(V));for(let V=Ie.length-2;V>=0;V--){let Le=Ie[V]===""&&Ie[V+1]==="",at=Ie[V]===d&&Ie[V+1]===""&&Ie[V+2]===d,Pt=(Ie[V]===h||Ie[V]===d)&&Ie[V+1]===""&&Ie[V+2]===Ae,Vt=Ie[V]===Ae&&Ie[V+1]===""&&(Ie[V+2]===h||Ie[V+2]===d),un=Ie[V]===Ae&&Ie[V+1]===""&&Ie[V+2]===Ae,It=Ie[V]===h&&Ie[V+1]===""&&Ie[V+2]===d||Ie[V]===d&&Ie[V+1]===""&&Ie[V+2]===h;at&&dt||Le||Pt||un||It?Ie.splice(V,2):Vt&&Ie.splice(V+1,2)}for(;Ie.length>0&&y(X(Ie));)Ie.pop();for(;Ie.length>1&&y(Ie[0])&&y(Ie[1]);)Ie.shift(),Ie.shift();let en=[];for(let[V,Le]of Ie.entries()){if(Le===Ae){if(V===1&&Ie[V-1]===""){if(Ie.length===2){en.push(ct);continue}en.push([ct,d]);continue}else if(V===Ie.length-1){en.push(ct);continue}else if(Ie[V-1]===""&&Ie[V-2]===d){en.push(ct);continue}}en.push(Le),j(Le)&&(ln=!0)}let Ut=dt?T(en):E(en,{shouldBreak:!0});if(yn)return Ut;let bt=E([_t,x([d,Ut]),d,Mt]);return ln?bt:P([E([_t,...Ie,Mt]),bt])}function I(Se,Je,Ze,At,_t){let Mt=[];return Se.each((cn,Pn,_n)=>{let ln=cn.getValue();if(ln.type==="JSXText"){let yn=K(ln);if(mt(ln)){let ct=yn.split(yt);if(ct[0]===""){if(Mt.push(""),ct.shift(),/\n/.test(ct[0])){let gt=_n[Pn+1];Mt.push(U(_t,ct[1],ln,gt))}else Mt.push(At);ct.shift()}let Ae;if(X(ct)===""&&(ct.pop(),Ae=ct.pop()),ct.length===0)return;for(let[gt,Ie]of ct.entries())gt%2===1?Mt.push(f):Mt.push(Ie);if(Ae!==void 0)if(/\n/.test(Ae)){let gt=_n[Pn+1];Mt.push(U(_t,X(Mt),ln,gt))}else Mt.push(At);else{let gt=_n[Pn+1];Mt.push(q(_t,X(Mt),ln,gt))}}else/\n/.test(yn)?yn.match(/\n/g).length>1&&Mt.push("",d):Mt.push("",At)}else{let yn=Ze();Mt.push(yn);let ct=_n[Pn+1];if(ct&&mt(ct)){let Ae=Me(K(ct)).split(yt)[0];Mt.push(q(_t,Ae,ln,ct))}else Mt.push(d)}},"children"),Mt}function q(Se,Je,Ze,At){return Se?"":Ze.type==="JSXElement"&&!Ze.closingElement||At&&At.type==="JSXElement"&&!At.closingElement?Je.length===1?h:d:h}function U(Se,Je,Ze,At){return Se?d:Je.length===1?Ze.type==="JSXElement"&&!Ze.closingElement||At&&At.type==="JSXElement"&&!At.closingElement?d:h:d}function z(Se,Je,Ze){let At=Se.getParentNode();if(!At||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[At.type])return Je;let _t=Se.match(void 0,cn=>cn.type==="ArrowFunctionExpression",G,cn=>cn.type==="JSXExpressionContainer"),Mt=w(Se,Ze);return E([Mt?"":k("("),x([h,Je]),h,Mt?"":k(")")],{shouldBreak:_t})}function ie(Se,Je,Ze){let At=Se.getValue(),_t=[];if(_t.push(Ze("name")),At.value){let Mt;if(re(At.value)){let cn=K(At.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:Pn,quote:_n,regex:ln}=te(cn,Je.jsxSingleQuote?"'":'"');cn=cn.replace(ln,Pn);let{leading:yn,trailing:ct}=Se.call(()=>D(Se,Je),"value");Mt=[yn,_n,cn,_n,ct]}else Mt=Ze("value");_t.push("=",Mt)}return _t}function le(Se,Je,Ze){let At=Se.getValue(),_t=(Mt,cn)=>Mt.type==="JSXEmptyExpression"||!De(Mt)&&(Mt.type==="ArrayExpression"||Mt.type==="ObjectExpression"||Mt.type==="ArrowFunctionExpression"||Mt.type==="AwaitExpression"&&(_t(Mt.argument,Mt)||Mt.argument.type==="JSXElement")||G(Mt)||Mt.type==="FunctionExpression"||Mt.type==="TemplateLiteral"||Mt.type==="TaggedTemplateExpression"||Mt.type==="DoExpression"||$(cn)&&(Mt.type==="ConditionalExpression"||ee(Mt)));return _t(At.expression,Se.getParentNode(0))?E(["{",Ze("expression"),C,"}"]):E(["{",x([h,Ze("expression")]),h,C,"}"])}function ge(Se,Je,Ze){let At=Se.getValue(),_t=At.name&&De(At.name)||At.typeParameters&&De(At.typeParameters);if(At.selfClosing&&At.attributes.length===0&&!_t)return["<",Ze("name"),Ze("typeParameters")," />"];if(At.attributes&&At.attributes.length===1&&At.attributes[0].value&&re(At.attributes[0].value)&&!At.attributes[0].value.value.includes(`
212
- `)&&!_t&&!De(At.attributes[0]))return E(["<",Ze("name"),Ze("typeParameters")," ",...Se.map(Ze,"attributes"),At.selfClosing?" />":">"]);let Mt=At.attributes&&At.attributes.some(Pn=>Pn.value&&re(Pn.value)&&Pn.value.value.includes(`
213
- `)),cn=Je.singleAttributePerLine&&At.attributes.length>1?d:f;return E(["<",Ze("name"),Ze("typeParameters"),x(Se.map(()=>[cn,Ze()],"attributes")),...ce(At,Je,_t)],{shouldBreak:Mt})}function ce(Se,Je,Ze){return Se.selfClosing?[f,"/>"]:_e(Se,Je,Ze)?[">"]:[h,">"]}function _e(Se,Je,Ze){let At=Se.attributes.length>0&&De(X(Se.attributes),F.Trailing);return Se.attributes.length===0&&!Ze||(Je.bracketSameLine||Je.jsxBracketSameLine)&&(!Ze||Se.attributes.length>0)&&!At}function se(Se,Je,Ze){let At=Se.getValue(),_t=[];_t.push("</");let Mt=Ze("name");return De(At.name,F.Leading|F.Line)?_t.push(x([d,Mt]),d):De(At.name,F.Leading|F.Block)?_t.push(" ",Mt):_t.push(Mt),_t.push(">"),_t}function Ue(Se,Je){let Ze=Se.getValue(),At=De(Ze),_t=De(Ze,F.Line),Mt=Ze.type==="JSXOpeningFragment";return[Mt?"<":"</",x([_t?d:At&&!Mt?" ":"",v(Se,Je,!0)]),_t?d:"",">"]}function me(Se,Je,Ze){let At=p(Se,_(Se,Je,Ze),Je);return z(Se,At,Je)}function oe(Se,Je){let Ze=Se.getValue(),At=De(Ze,F.Line);return[v(Se,Je,!At),At?d:""]}function qe(Se,Je,Ze){let At=Se.getValue();return["{",Se.call(_t=>{let Mt=["...",Ze()],cn=_t.getValue();return!De(cn)||!R(_t)?Mt:[x([h,p(_t,Mt,Je)]),h]},At.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function st(Se,Je,Ze){let At=Se.getValue();if(At.type.startsWith("JSX"))switch(At.type){case"JSXAttribute":return ie(Se,Je,Ze);case"JSXIdentifier":return String(At.name);case"JSXNamespacedName":return S(":",[Ze("namespace"),Ze("name")]);case"JSXMemberExpression":return S(".",[Ze("object"),Ze("property")]);case"JSXSpreadAttribute":return qe(Se,Je,Ze);case"JSXSpreadChild":return qe(Se,Je,Ze);case"JSXExpressionContainer":return le(Se,Je,Ze);case"JSXFragment":case"JSXElement":return me(Se,Je,Ze);case"JSXOpeningElement":return ge(Se,Je,Ze);case"JSXClosingElement":return se(Se,Je,Ze);case"JSXOpeningFragment":case"JSXClosingFragment":return Ue(Se,Je);case"JSXEmptyExpression":return oe(Se,Je);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(At.type)}.`)}}var Ge=`
214
- \r `,yt=new RegExp("(["+Ge+"]+)"),be=new RegExp("[^"+Ge+"]"),Me=Se=>Se.replace(new RegExp("(?:^"+yt.source+"|"+yt.source+"$)"),"");function ht(Se){if(Se.children.length===0)return!0;if(Se.children.length>1)return!1;let Je=Se.children[0];return Je.type==="JSXText"&&!mt(Je)}function mt(Se){return Se.type==="JSXText"&&(be.test(K(Se))||!/\n/.test(K(Se)))}function Jt(Se){return Se.type==="JSXExpressionContainer"&&re(Se.expression)&&Se.expression.value===" "&&!De(Se.expression)}function $e(Se){let Je=Se.getValue(),Ze=Se.getParentNode();if(!Ze||!Je||!$(Je)||!$(Ze))return!1;let At=Ze.children.indexOf(Je),_t=null;for(let Mt=At;Mt>0;Mt--){let cn=Ze.children[Mt-1];if(!(cn.type==="JSXText"&&!mt(cn))){_t=cn;break}}return _t&&_t.type==="JSXExpressionContainer"&&_t.expression.type==="JSXEmptyExpression"&&J(_t.expression)}A.exports={hasJsxIgnoreComment:$e,printJsx:st}}}),Ei=Te({"src/language-js/print/misc.js"(m,A){Re();var{isNonEmptyArray:p}=ye(),{builders:{indent:v,join:D,line:f}}=wn(),{isFlowAnnotationComment:d}=pr();function h(X){let te=X.getValue();return!te.optional||te.type==="Identifier"&&te===X.getParentNode().key?"":te.type==="OptionalCallExpression"||te.type==="OptionalMemberExpression"&&te.computed?"?.":"?"}function E(X){return X.getValue().definite||X.match(void 0,(te,$)=>$==="id"&&te.type==="VariableDeclarator"&&te.definite)?"!":""}function x(X,te,$){let K=X.getValue();return K.typeArguments?$("typeArguments"):K.typeParameters?$("typeParameters"):""}function P(X,te,$){let K=X.getValue();if(!K.typeAnnotation)return"";let G=X.getParentNode(),re=G.type==="DeclareFunction"&&G.id===K;return d(te.originalText,K.typeAnnotation)?[" /*: ",$("typeAnnotation")," */"]:[re?"":": ",$("typeAnnotation")]}function T(X,te,$){return["::",$("callee")]}function k(X,te,$){let K=X.getValue();return p(K.modifiers)?[D(" ",X.map($,"modifiers"))," "]:""}function C(X,te,$){return X.type==="EmptyStatement"?";":X.type==="BlockStatement"||$?[" ",te]:v([f,te])}function S(X,te,$){return["...",$("argument"),P(X,te,$)]}function j(X,te){let $=X.slice(1,-1);if($.includes('"')||$.includes("'"))return X;let K=te.singleQuote?"'":'"';return K+$+K}A.exports={printOptionalToken:h,printDefiniteToken:E,printFunctionTypeParameters:x,printBindExpressionCallee:T,printTypeScriptModifiers:k,printTypeAnnotation:P,printRestSpread:S,adjustClause:C,printDirective:j}}}),Wo=Te({"src/language-js/print/array.js"(m,A){Re();var{printDanglingComments:p}=Ir(),{builders:{line:v,softline:D,hardline:f,group:d,indent:h,ifBreak:E,fill:x}}=wn(),{getLast:P,hasNewline:T}=ye(),{shouldPrintComma:k,hasComment:C,CommentCheckFlags:S,isNextLineEmpty:j,isNumericLiteral:X,isSignedNumericLiteral:te}=pr(),{locStart:$}=ni(),{printOptionalToken:K,printTypeAnnotation:G}=Ei();function re(J,w,R){let y=J.getValue(),_=[],I=y.type==="TupleExpression"?"#[":"[",q="]";if(y.elements.length===0)C(y,S.Dangling)?_.push(d([I,p(J,w),D,q])):_.push(I,q);else{let U=P(y.elements),z=!(U&&U.type==="RestElement"),ie=U===null,le=Symbol("array"),ge=!w.__inJestEach&&y.elements.length>1&&y.elements.every((se,Ue,me)=>{let oe=se&&se.type;if(oe!=="ArrayExpression"&&oe!=="ObjectExpression")return!1;let qe=me[Ue+1];if(qe&&oe!==qe.type)return!1;let st=oe==="ArrayExpression"?"elements":"properties";return se[st]&&se[st].length>1}),ce=ee(y,w),_e=z?ie?",":k(w)?ce?E(",","",{groupId:le}):E(","):"":"";_.push(d([I,h([D,ce?F(J,w,R,_e):[De(J,w,"elements",R),_e],p(J,w,!0)]),D,q],{shouldBreak:ge,id:le}))}return _.push(K(J),G(J,w,R)),_}function ee(J,w){return J.elements.length>1&&J.elements.every(R=>R&&(X(R)||te(R)&&!C(R.argument))&&!C(R,S.Trailing|S.Line,y=>!T(w.originalText,$(y),{backwards:!0})))}function De(J,w,R,y){let _=[],I=[];return J.each(q=>{_.push(I,d(y())),I=[",",v],q.getValue()&&j(q.getValue(),w)&&I.push(D)},R),_}function F(J,w,R,y){let _=[];return J.each((I,q,U)=>{let z=q===U.length-1;_.push([R(),z?y:","]),z||_.push(j(I.getValue(),w)?[f,f]:C(U[q+1],S.Leading|S.Line)?f:v)},"elements"),x(_)}A.exports={printArray:re,printArrayItems:De,isConciselyPrintedArray:ee}}}),K0=Te({"src/language-js/print/call-arguments.js"(m,A){Re();var{printDanglingComments:p}=Ir(),{getLast:v,getPenultimate:D}=ye(),{getFunctionParameters:f,hasComment:d,CommentCheckFlags:h,isFunctionCompositionArgs:E,isJsxNode:x,isLongCurriedCallExpression:P,shouldPrintComma:T,getCallArguments:k,iterateCallArgumentsPath:C,isNextLineEmpty:S,isCallExpression:j,isStringLiteral:X,isObjectProperty:te,isTSTypeExpression:$}=pr(),{builders:{line:K,hardline:G,softline:re,group:ee,indent:De,conditionalGroup:F,ifBreak:J,breakParent:w},utils:{willBreak:R}}=wn(),{ArgExpansionBailout:y}=tn(),{isConciselyPrintedArray:_}=Wo();function I(ce,_e,se){let Ue=ce.getValue(),me=Ue.type==="ImportExpression",oe=k(Ue);if(oe.length===0)return["(",p(ce,_e,!0),")"];if(ie(oe))return["(",se(["arguments",0]),", ",se(["arguments",1]),")"];let qe=!1,st=!1,Ge=oe.length-1,yt=[];C(ce,($e,Se)=>{let Je=$e.getNode(),Ze=[se()];Se===Ge||(S(Je,_e)?(Se===0&&(st=!0),qe=!0,Ze.push(",",G,G)):Ze.push(",",K)),yt.push(Ze)});let be=!(me||Ue.callee&&Ue.callee.type==="Import")&&T(_e,"all")?",":"";function Me(){return ee(["(",De([K,...yt]),be,K,")"],{shouldBreak:!0})}if(qe||ce.getParentNode().type!=="Decorator"&&E(oe))return Me();let ht=z(oe),mt=U(oe,_e);if(ht||mt){if(ht?yt.slice(1).some(R):yt.slice(0,-1).some(R))return Me();let $e=[];try{ce.try(()=>{C(ce,(Se,Je)=>{ht&&Je===0&&($e=[[se([],{expandFirstArg:!0}),yt.length>1?",":"",st?G:K,st?G:""],...yt.slice(1)]),mt&&Je===Ge&&($e=[...yt.slice(0,-1),se([],{expandLastArg:!0})])})})}catch(Se){if(Se instanceof y)return Me();throw Se}return[yt.some(R)?w:"",F([["(",...$e,")"],ht?["(",ee($e[0],{shouldBreak:!0}),...$e.slice(1),")"]:["(",...yt.slice(0,-1),ee(v($e),{shouldBreak:!0}),")"],Me()])]}let Jt=["(",De([re,...yt]),J(be),re,")"];return P(ce)?Jt:ee(Jt,{shouldBreak:yt.some(R)||qe})}function q(ce){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ce.type==="ObjectExpression"&&(ce.properties.length>0||d(ce))||ce.type==="ArrayExpression"&&(ce.elements.length>0||d(ce))||ce.type==="TSTypeAssertion"&&q(ce.expression)||$(ce)&&q(ce.expression)||ce.type==="FunctionExpression"||ce.type==="ArrowFunctionExpression"&&(!ce.returnType||!ce.returnType.typeAnnotation||ce.returnType.typeAnnotation.type!=="TSTypeReference"||le(ce.body))&&(ce.body.type==="BlockStatement"||ce.body.type==="ArrowFunctionExpression"&&q(ce.body,!0)||ce.body.type==="ObjectExpression"||ce.body.type==="ArrayExpression"||!_e&&(j(ce.body)||ce.body.type==="ConditionalExpression")||x(ce.body))||ce.type==="DoExpression"||ce.type==="ModuleExpression"}function U(ce,_e){let se=v(ce),Ue=D(ce);return!d(se,h.Leading)&&!d(se,h.Trailing)&&q(se)&&(!Ue||Ue.type!==se.type)&&(ce.length!==2||Ue.type!=="ArrowFunctionExpression"||se.type!=="ArrayExpression")&&!(ce.length>1&&se.type==="ArrayExpression"&&_(se,_e))}function z(ce){if(ce.length!==2)return!1;let[_e,se]=ce;return _e.type==="ModuleExpression"&&ge(se)?!0:!d(_e)&&(_e.type==="FunctionExpression"||_e.type==="ArrowFunctionExpression"&&_e.body.type==="BlockStatement")&&se.type!=="FunctionExpression"&&se.type!=="ArrowFunctionExpression"&&se.type!=="ConditionalExpression"&&!q(se)}function ie(ce){return ce.length===2&&ce[0].type==="ArrowFunctionExpression"&&f(ce[0]).length===0&&ce[0].body.type==="BlockStatement"&&ce[1].type==="ArrayExpression"&&!ce.some(_e=>d(_e))}function le(ce){return ce.type==="BlockStatement"&&(ce.body.some(_e=>_e.type!=="EmptyStatement")||d(ce,h.Dangling))}function ge(ce){return ce.type==="ObjectExpression"&&ce.properties.length===1&&te(ce.properties[0])&&ce.properties[0].key.type==="Identifier"&&ce.properties[0].key.name==="type"&&X(ce.properties[0].value)&&ce.properties[0].value.value==="module"}A.exports=I}}),Z0=Te({"src/language-js/print/member.js"(m,A){Re();var{builders:{softline:p,group:v,indent:D,label:f}}=wn(),{isNumericLiteral:d,isMemberExpression:h,isCallExpression:E}=pr(),{printOptionalToken:x}=Ei();function P(k,C,S){let j=k.getValue(),X=k.getParentNode(),te,$=0;do te=k.getParentNode($),$++;while(te&&(h(te)||te.type==="TSNonNullExpression"));let K=S("object"),G=T(k,C,S),re=te&&(te.type==="NewExpression"||te.type==="BindExpression"||te.type==="AssignmentExpression"&&te.left.type!=="Identifier")||j.computed||j.object.type==="Identifier"&&j.property.type==="Identifier"&&!h(X)||(X.type==="AssignmentExpression"||X.type==="VariableDeclarator")&&(E(j.object)&&j.object.arguments.length>0||j.object.type==="TSNonNullExpression"&&E(j.object.expression)&&j.object.expression.arguments.length>0||K.label==="member-chain");return f(K.label==="member-chain"?"member-chain":"member",[K,re?G:v(D([p,G]))])}function T(k,C,S){let j=S("property"),X=k.getValue(),te=x(k);return X.computed?!X.property||d(X.property)?[te,"[",j,"]"]:v([te,"[",D([p,j]),p,"]"]):[te,".",j]}A.exports={printMemberExpression:P,printMemberLookup:T}}}),k2=Te({"src/language-js/print/member-chain.js"(m,A){Re();var{printComments:p}=Ir(),{getLast:v,isNextLineEmptyAfterIndex:D,getNextNonSpaceNonCommentCharacterIndex:f}=ye(),d=ro(),{isCallExpression:h,isMemberExpression:E,isFunctionOrArrowExpression:x,isLongCurriedCallExpression:P,isMemberish:T,isNumericLiteral:k,isSimpleCallArgument:C,hasComment:S,CommentCheckFlags:j,isNextLineEmpty:X}=pr(),{locEnd:te}=ni(),{builders:{join:$,hardline:K,group:G,indent:re,conditionalGroup:ee,breakParent:De,label:F},utils:{willBreak:J}}=wn(),w=K0(),{printMemberLookup:R}=Z0(),{printOptionalToken:y,printFunctionTypeParameters:_,printBindExpressionCallee:I}=Ei();function q(U,z,ie){let le=U.getParentNode(),ge=!le||le.type==="ExpressionStatement",ce=[];function _e(ln){let{originalText:yn}=z,ct=f(yn,ln,te);return yn.charAt(ct)===")"?ct!==!1&&D(yn,ct+1):X(ln,z)}function se(ln){let yn=ln.getValue();h(yn)&&(T(yn.callee)||h(yn.callee))?(ce.unshift({node:yn,printed:[p(ln,[y(ln),_(ln,z,ie),w(ln,z,ie)],z),_e(yn)?K:""]}),ln.call(ct=>se(ct),"callee")):T(yn)?(ce.unshift({node:yn,needsParens:d(ln,z),printed:p(ln,E(yn)?R(ln,z,ie):I(ln,z,ie),z)}),ln.call(ct=>se(ct),"object")):yn.type==="TSNonNullExpression"?(ce.unshift({node:yn,printed:p(ln,"!",z)}),ln.call(ct=>se(ct),"expression")):ce.unshift({node:yn,printed:ie()})}let Ue=U.getValue();ce.unshift({node:Ue,printed:[y(U),_(U,z,ie),w(U,z,ie)]}),Ue.callee&&U.call(ln=>se(ln),"callee");let me=[],oe=[ce[0]],qe=1;for(;qe<ce.length&&(ce[qe].node.type==="TSNonNullExpression"||h(ce[qe].node)||E(ce[qe].node)&&ce[qe].node.computed&&k(ce[qe].node.property));++qe)oe.push(ce[qe]);if(!h(ce[0].node))for(;qe+1<ce.length&&T(ce[qe].node)&&T(ce[qe+1].node);++qe)oe.push(ce[qe]);me.push(oe),oe=[];let st=!1;for(;qe<ce.length;++qe){if(st&&T(ce[qe].node)){if(ce[qe].node.computed&&k(ce[qe].node.property)){oe.push(ce[qe]);continue}me.push(oe),oe=[],st=!1}(h(ce[qe].node)||ce[qe].node.type==="ImportExpression")&&(st=!0),oe.push(ce[qe]),S(ce[qe].node,j.Trailing)&&(me.push(oe),oe=[],st=!1)}oe.length>0&&me.push(oe);function Ge(ln){return/^[A-Z]|^[$_]+$/.test(ln)}function yt(ln){return ln.length<=z.tabWidth}function be(ln){let yn=ln[1].length>0&&ln[1][0].node.computed;if(ln[0].length===1){let Ae=ln[0][0].node;return Ae.type==="ThisExpression"||Ae.type==="Identifier"&&(Ge(Ae.name)||ge&&yt(Ae.name)||yn)}let ct=v(ln[0]).node;return E(ct)&&ct.property.type==="Identifier"&&(Ge(ct.property.name)||yn)}let Me=me.length>=2&&!S(me[1][0].node)&&be(me);function ht(ln){let yn=ln.map(ct=>ct.printed);return ln.length>0&&v(ln).needsParens?["(",...yn,")"]:yn}function mt(ln){return ln.length===0?"":re(G([K,$(K,ln.map(ht))]))}let Jt=me.map(ht),$e=Jt,Se=Me?3:2,Je=me.flat(),Ze=Je.slice(1,-1).some(ln=>S(ln.node,j.Leading))||Je.slice(0,-1).some(ln=>S(ln.node,j.Trailing))||me[Se]&&S(me[Se][0].node,j.Leading);if(me.length<=Se&&!Ze)return P(U)?$e:G($e);let At=v(me[Me?1:0]).node,_t=!h(At)&&_e(At),Mt=[ht(me[0]),Me?me.slice(1,2).map(ht):"",_t?K:"",mt(me.slice(Me?2:1))],cn=ce.map(ln=>{let{node:yn}=ln;return yn}).filter(h);function Pn(){let ln=v(v(me)).node,yn=v(Jt);return h(ln)&&J(yn)&&cn.slice(0,-1).some(ct=>ct.arguments.some(x))}let _n;return Ze||cn.length>2&&cn.some(ln=>!ln.arguments.every(yn=>C(yn,0)))||Jt.slice(0,-1).some(J)||Pn()?_n=G(Mt):_n=[J($e)||_t?De:"",ee([$e,Mt])],F("member-chain",_n)}A.exports=q}}),eg=Te({"src/language-js/print/call-expression.js"(m,A){Re();var{builders:{join:p,group:v}}=wn(),D=ro(),{getCallArguments:f,hasFlowAnnotationComment:d,isCallExpression:h,isMemberish:E,isStringLiteral:x,isTemplateOnItsOwnLine:P,isTestCall:T,iterateCallArgumentsPath:k}=pr(),C=k2(),S=K0(),{printOptionalToken:j,printFunctionTypeParameters:X}=Ei();function te(K,G,re){let ee=K.getValue(),De=K.getParentNode(),F=ee.type==="NewExpression",J=ee.type==="ImportExpression",w=j(K),R=f(ee);if(R.length>0&&(!J&&!F&&$(ee,De)||R.length===1&&P(R[0],G.originalText)||!F&&T(ee,De))){let I=[];return k(K,()=>{I.push(re())}),[F?"new ":"",re("callee"),w,X(K,G,re),"(",p(", ",I),")"]}let y=(G.parser==="babel"||G.parser==="babel-flow")&&ee.callee&&ee.callee.type==="Identifier"&&d(ee.callee.trailingComments);if(y&&(ee.callee.trailingComments[0].printed=!0),!J&&!F&&E(ee.callee)&&!K.call(I=>D(I,G),"callee"))return C(K,G,re);let _=[F?"new ":"",J?"import":re("callee"),w,y?`/*:: ${ee.callee.trailingComments[0].value.slice(2).trim()} */`:"",X(K,G,re),S(K,G,re)];return J||h(ee.callee)?v(_):_}function $(K,G){if(K.callee.type!=="Identifier")return!1;if(K.callee.name==="require")return!0;if(K.callee.name==="define"){let re=f(K);return G.type==="ExpressionStatement"&&(re.length===1||re.length===2&&re[0].type==="ArrayExpression"||re.length===3&&x(re[0])&&re[1].type==="ArrayExpression")}return!1}A.exports={printCallExpression:te}}}),Go=Te({"src/language-js/print/assignment.js"(m,A){Re();var{isNonEmptyArray:p,getStringWidth:v}=ye(),{builders:{line:D,group:f,indent:d,indentIfBreak:h,lineSuffixBoundary:E},utils:{cleanDoc:x,willBreak:P,canBreak:T}}=wn(),{hasLeadingOwnLineComment:k,isBinaryish:C,isStringLiteral:S,isLiteral:j,isNumericLiteral:X,isCallExpression:te,isMemberExpression:$,getCallArguments:K,rawText:G,hasComment:re,isSignedNumericLiteral:ee,isObjectProperty:De}=pr(),{shouldInlineLogicalExpression:F}=op(),{printCallExpression:J}=eg();function w(be,Me,ht,mt,Jt,$e){let Se=_(be,Me,ht,mt,$e),Je=ht($e,{assignmentLayout:Se});switch(Se){case"break-after-operator":return f([f(mt),Jt,f(d([D,Je]))]);case"never-break-after-operator":return f([f(mt),Jt," ",Je]);case"fluid":{let Ze=Symbol("assignment");return f([f(mt),Jt,f(d(D),{id:Ze}),E,h(Je,{groupId:Ze})])}case"break-lhs":return f([mt,Jt," ",f(Je)]);case"chain":return[f(mt),Jt,D,Je];case"chain-tail":return[f(mt),Jt,d([D,Je])];case"chain-tail-arrow-chain":return[f(mt),Jt,Je];case"only-left":return mt}}function R(be,Me,ht){let mt=be.getValue();return w(be,Me,ht,ht("left"),[" ",mt.operator],"right")}function y(be,Me,ht){return w(be,Me,ht,ht("id")," =","init")}function _(be,Me,ht,mt,Jt){let $e=be.getValue(),Se=$e[Jt];if(!Se)return"only-left";let Je=!U(Se);if(be.match(U,z,At=>!Je||At.type!=="ExpressionStatement"&&At.type!=="VariableDeclaration"))return Je?Se.type==="ArrowFunctionExpression"&&Se.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!Je&&U(Se.right)||k(Me.originalText,Se))return"break-after-operator";if(Se.type==="CallExpression"&&Se.callee.name==="require"||Me.parser==="json5"||Me.parser==="json")return"never-break-after-operator";if(q($e)||ie($e)||ce($e)||_e($e)&&T(mt))return"break-lhs";let Ze=st($e,mt,Me);return be.call(()=>I(be,Me,ht,Ze),Jt)?"break-after-operator":Ze||Se.type==="TemplateLiteral"||Se.type==="TaggedTemplateExpression"||Se.type==="BooleanLiteral"||X(Se)||Se.type==="ClassExpression"?"never-break-after-operator":"fluid"}function I(be,Me,ht,mt){let Jt=be.getValue();if(C(Jt)&&!F(Jt))return!0;switch(Jt.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:Je}=Jt;return C(Je)&&!F(Je)}case"ClassExpression":return p(Jt.decorators)}if(mt)return!1;let $e=Jt,Se=[];for(;;)if($e.type==="UnaryExpression")$e=$e.argument,Se.push("argument");else if($e.type==="TSNonNullExpression")$e=$e.expression,Se.push("expression");else break;return!!(S($e)||be.call(()=>me(be,Me,ht),...Se))}function q(be){if(z(be)){let Me=be.left||be.id;return Me.type==="ObjectPattern"&&Me.properties.length>2&&Me.properties.some(ht=>De(ht)&&(!ht.shorthand||ht.value&&ht.value.type==="AssignmentPattern"))}return!1}function U(be){return be.type==="AssignmentExpression"}function z(be){return U(be)||be.type==="VariableDeclarator"}function ie(be){let Me=le(be);if(p(Me)){let ht=be.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Me.length>1&&Me.some(mt=>mt[ht]||mt.default))return!0}return!1}function le(be){return ge(be)&&be.typeParameters&&be.typeParameters.params?be.typeParameters.params:null}function ge(be){return be.type==="TSTypeAliasDeclaration"||be.type==="TypeAlias"}function ce(be){if(be.type!=="VariableDeclarator")return!1;let{typeAnnotation:Me}=be.id;if(!Me||!Me.typeAnnotation)return!1;let ht=se(Me.typeAnnotation);return p(ht)&&ht.length>1&&ht.some(mt=>p(se(mt))||mt.type==="TSConditionalType")}function _e(be){return be.type==="VariableDeclarator"&&be.init&&be.init.type==="ArrowFunctionExpression"}function se(be){return Ue(be)&&be.typeParameters&&be.typeParameters.params?be.typeParameters.params:null}function Ue(be){return be.type==="TSTypeReference"||be.type==="GenericTypeAnnotation"}function me(be,Me,ht){let mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Jt=be.getValue(),$e=()=>me(be,Me,ht,!0);if(Jt.type==="TSNonNullExpression")return be.call($e,"expression");if(te(Jt)){if(J(be,Me,ht).label==="member-chain")return!1;let Se=K(Jt);return!(Se.length===0||Se.length===1&&qe(Se[0],Me))||Ge(Jt,ht)?!1:be.call($e,"callee")}return $(Jt)?be.call($e,"object"):mt&&(Jt.type==="Identifier"||Jt.type==="ThisExpression")}var oe=.25;function qe(be,Me){let{printWidth:ht}=Me;if(re(be))return!1;let mt=ht*oe;if(be.type==="ThisExpression"||be.type==="Identifier"&&be.name.length<=mt||ee(be)&&!re(be.argument))return!0;let Jt=be.type==="Literal"&&"regex"in be&&be.regex.pattern||be.type==="RegExpLiteral"&&be.pattern;return Jt?Jt.length<=mt:S(be)?G(be).length<=mt:be.type==="TemplateLiteral"?be.expressions.length===0&&be.quasis[0].value.raw.length<=mt&&!be.quasis[0].value.raw.includes(`
215
- `):j(be)}function st(be,Me,ht){if(!De(be))return!1;Me=x(Me);let mt=3;return typeof Me=="string"&&v(Me)<ht.tabWidth+mt}function Ge(be,Me){let ht=yt(be);if(p(ht)){if(ht.length>1)return!0;if(ht.length===1){let Jt=ht[0];if(Jt.type==="TSUnionType"||Jt.type==="UnionTypeAnnotation"||Jt.type==="TSIntersectionType"||Jt.type==="IntersectionTypeAnnotation"||Jt.type==="TSTypeLiteral"||Jt.type==="ObjectTypeAnnotation")return!0}let mt=be.typeParameters?"typeParameters":"typeArguments";if(P(Me(mt)))return!0}return!1}function yt(be){return be.typeParameters&&be.typeParameters.params||be.typeArguments&&be.typeArguments.params}A.exports={printVariableDeclarator:y,printAssignmentExpression:R,printAssignment:w,isArrowFunctionVariableDeclarator:_e}}}),Al=Te({"src/language-js/print/function-parameters.js"(m,A){Re();var{getNextNonSpaceNonCommentCharacter:p}=ye(),{printDanglingComments:v}=Ir(),{builders:{line:D,hardline:f,softline:d,group:h,indent:E,ifBreak:x},utils:{removeLines:P,willBreak:T}}=wn(),{getFunctionParameters:k,iterateFunctionParametersPath:C,isSimpleType:S,isTestCall:j,isTypeAnnotationAFunction:X,isObjectType:te,isObjectTypePropertyAFunction:$,hasRestParameter:K,shouldPrintComma:G,hasComment:re,isNextLineEmpty:ee}=pr(),{locEnd:De}=ni(),{ArgExpansionBailout:F}=tn(),{printFunctionTypeParameters:J}=Ei();function w(I,q,U,z,ie){let le=I.getValue(),ge=k(le),ce=ie?J(I,U,q):"";if(ge.length===0)return[ce,"(",v(I,U,!0,qe=>p(U.originalText,qe,De)===")"),")"];let _e=I.getParentNode(),se=j(_e),Ue=R(le),me=[];if(C(I,(qe,st)=>{let Ge=st===ge.length-1;Ge&&le.rest&&me.push("..."),me.push(q()),!Ge&&(me.push(","),se||Ue?me.push(" "):ee(ge[st],U)?me.push(f,f):me.push(D))}),z){if(T(ce)||T(me))throw new F;return h([P(ce),"(",P(me),")"])}let oe=ge.every(qe=>!qe.decorators);return Ue&&oe?[ce,"(",...me,")"]:se?[ce,"(",...me,")"]:($(_e)||X(_e)||_e.type==="TypeAlias"||_e.type==="UnionTypeAnnotation"||_e.type==="TSUnionType"||_e.type==="IntersectionTypeAnnotation"||_e.type==="FunctionTypeAnnotation"&&_e.returnType===le)&&ge.length===1&&ge[0].name===null&&le.this!==ge[0]&&ge[0].typeAnnotation&&le.typeParameters===null&&S(ge[0].typeAnnotation)&&!le.rest?U.arrowParens==="always"?["(",...me,")"]:me:[ce,"(",E([d,...me]),x(!K(le)&&G(U,"all")?",":""),d,")"]}function R(I){if(!I)return!1;let q=k(I);if(q.length!==1)return!1;let[U]=q;return!re(U)&&(U.type==="ObjectPattern"||U.type==="ArrayPattern"||U.type==="Identifier"&&U.typeAnnotation&&(U.typeAnnotation.type==="TypeAnnotation"||U.typeAnnotation.type==="TSTypeAnnotation")&&te(U.typeAnnotation.typeAnnotation)||U.type==="FunctionTypeParam"&&te(U.typeAnnotation)||U.type==="AssignmentPattern"&&(U.left.type==="ObjectPattern"||U.left.type==="ArrayPattern")&&(U.right.type==="Identifier"||U.right.type==="ObjectExpression"&&U.right.properties.length===0||U.right.type==="ArrayExpression"&&U.right.elements.length===0))}function y(I){let q;return I.returnType?(q=I.returnType,q.typeAnnotation&&(q=q.typeAnnotation)):I.typeAnnotation&&(q=I.typeAnnotation),q}function _(I,q){let U=y(I);if(!U)return!1;let z=I.typeParameters&&I.typeParameters.params;if(z){if(z.length>1)return!1;if(z.length===1){let ie=z[0];if(ie.constraint||ie.default)return!1}}return k(I).length===1&&(te(U)||T(q))}A.exports={printFunctionParameters:w,shouldHugFunctionParameters:R,shouldGroupFunctionParameters:_}}}),Cl=Te({"src/language-js/print/type-annotation.js"(m,A){Re();var{printComments:p,printDanglingComments:v}=Ir(),{isNonEmptyArray:D}=ye(),{builders:{group:f,join:d,line:h,softline:E,indent:x,align:P,ifBreak:T}}=wn(),k=ro(),{locStart:C}=ni(),{isSimpleType:S,isObjectType:j,hasLeadingOwnLineComment:X,isObjectTypePropertyAFunction:te,shouldPrintComma:$}=pr(),{printAssignment:K}=Go(),{printFunctionParameters:G,shouldGroupFunctionParameters:re}=Al(),{printArrayItems:ee}=Wo();function De(U){if(S(U)||j(U))return!0;if(U.type==="UnionTypeAnnotation"||U.type==="TSUnionType"){let z=U.types.filter(le=>le.type==="VoidTypeAnnotation"||le.type==="TSVoidKeyword"||le.type==="NullLiteralTypeAnnotation"||le.type==="TSNullKeyword").length,ie=U.types.some(le=>le.type==="ObjectTypeAnnotation"||le.type==="TSTypeLiteral"||le.type==="GenericTypeAnnotation"||le.type==="TSTypeReference");if(U.types.length-1===z&&ie)return!0}return!1}function F(U,z,ie){let le=z.semi?";":"",ge=U.getValue(),ce=[];return ce.push("opaque type ",ie("id"),ie("typeParameters")),ge.supertype&&ce.push(": ",ie("supertype")),ge.impltype&&ce.push(" = ",ie("impltype")),ce.push(le),ce}function J(U,z,ie){let le=z.semi?";":"",ge=U.getValue(),ce=[];ge.declare&&ce.push("declare "),ce.push("type ",ie("id"),ie("typeParameters"));let _e=ge.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[K(U,z,ie,ce," =",_e),le]}function w(U,z,ie){let le=U.getValue(),ge=U.map(ie,"types"),ce=[],_e=!1;for(let se=0;se<ge.length;++se)se===0?ce.push(ge[se]):j(le.types[se-1])&&j(le.types[se])?ce.push([" & ",_e?x(ge[se]):ge[se]]):!j(le.types[se-1])&&!j(le.types[se])?ce.push(x([" &",h,ge[se]])):(se>1&&(_e=!0),ce.push(" & ",se>1?x(ge[se]):ge[se]));return f(ce)}function R(U,z,ie){let le=U.getValue(),ge=U.getParentNode(),ce=ge.type!=="TypeParameterInstantiation"&&ge.type!=="TSTypeParameterInstantiation"&&ge.type!=="GenericTypeAnnotation"&&ge.type!=="TSTypeReference"&&ge.type!=="TSTypeAssertion"&&ge.type!=="TupleTypeAnnotation"&&ge.type!=="TSTupleType"&&!(ge.type==="FunctionTypeParam"&&!ge.name&&U.getParentNode(1).this!==ge)&&!((ge.type==="TypeAlias"||ge.type==="VariableDeclarator"||ge.type==="TSTypeAliasDeclaration")&&X(z.originalText,le)),_e=De(le),se=U.map(oe=>{let qe=ie();return _e||(qe=P(2,qe)),p(oe,qe,z)},"types");if(_e)return d(" | ",se);let Ue=ce&&!X(z.originalText,le),me=[T([Ue?h:"","| "]),d([h,"| "],se)];return k(U,z)?f([x(me),E]):ge.type==="TupleTypeAnnotation"&&ge.types.length>1||ge.type==="TSTupleType"&&ge.elementTypes.length>1?f([x([T(["(",E]),me]),E,T(")")]):f(ce?x(me):me)}function y(U,z,ie){let le=U.getValue(),ge=[],ce=U.getParentNode(0),_e=U.getParentNode(1),se=U.getParentNode(2),Ue=le.type==="TSFunctionType"||!((ce.type==="ObjectTypeProperty"||ce.type==="ObjectTypeInternalSlot")&&!ce.variance&&!ce.optional&&C(ce)===C(le)||ce.type==="ObjectTypeCallProperty"||se&&se.type==="DeclareFunction"),me=Ue&&(ce.type==="TypeAnnotation"||ce.type==="TSTypeAnnotation"),oe=me&&Ue&&(ce.type==="TypeAnnotation"||ce.type==="TSTypeAnnotation")&&_e.type==="ArrowFunctionExpression";te(ce)&&(Ue=!0,me=!0),oe&&ge.push("(");let qe=G(U,ie,z,!1,!0),st=le.returnType||le.predicate||le.typeAnnotation?[Ue?" => ":": ",ie("returnType"),ie("predicate"),ie("typeAnnotation")]:"",Ge=re(le,st);return ge.push(Ge?f(qe):qe),st&&ge.push(st),oe&&ge.push(")"),f(ge)}function _(U,z,ie){let le=U.getValue(),ge=le.type==="TSTupleType"?"elementTypes":"types",ce=le[ge],_e=D(ce),se=_e?E:"";return f(["[",x([se,ee(U,z,ge,ie)]),T(_e&&$(z,"all")?",":""),v(U,z,!0),se,"]"])}function I(U,z,ie){let le=U.getValue(),ge=le.type==="OptionalIndexedAccessType"&&le.optional?"?.[":"[";return[ie("objectType"),ge,ie("indexType"),"]"]}function q(U,z,ie){let le=U.getValue();return[le.postfix?"":ie,z("typeAnnotation"),le.postfix?ie:""]}A.exports={printOpaqueType:F,printTypeAlias:J,printIntersectionType:w,printUnionType:R,printFunctionType:y,printTupleType:_,printIndexedAccessType:I,shouldHugType:De,printJSDocType:q}}}),xl=Te({"src/language-js/print/type-parameters.js"(m,A){Re();var{printDanglingComments:p}=Ir(),{builders:{join:v,line:D,hardline:f,softline:d,group:h,indent:E,ifBreak:x}}=wn(),{isTestCall:P,hasComment:T,CommentCheckFlags:k,isTSXFile:C,shouldPrintComma:S,getFunctionParameters:j,isObjectType:X,getTypeScriptMappedTypeModifier:te}=pr(),{createGroupIdMapper:$}=ye(),{shouldHugType:K}=Cl(),{isArrowFunctionVariableDeclarator:G}=Go(),re=$("typeParameters");function ee(J,w,R,y){let _=J.getValue();if(!_[y])return"";if(!Array.isArray(_[y]))return R(y);let I=J.getNode(2),q=I&&P(I),U=J.match(ie=>!(ie[y].length===1&&X(ie[y][0])),void 0,(ie,le)=>le==="typeAnnotation",ie=>ie.type==="Identifier",G);if(_[y].length===0||!U&&(q||_[y].length===1&&(_[y][0].type==="NullableTypeAnnotation"||K(_[y][0]))))return["<",v(", ",J.map(R,y)),De(J,w),">"];let z=_.type==="TSTypeParameterInstantiation"?"":j(_).length===1&&C(w)&&!_[y][0].constraint&&J.getParentNode().type==="ArrowFunctionExpression"?",":S(w,"all")?x(","):"";return h(["<",E([d,v([",",D],J.map(R,y))]),z,d,">"],{id:re(_)})}function De(J,w){let R=J.getValue();if(!T(R,k.Dangling))return"";let y=!T(R,k.Line),_=p(J,w,y);return y?_:[_,f]}function F(J,w,R){let y=J.getValue(),_=[y.type==="TSTypeParameter"&&y.const?"const ":""],I=J.getParentNode();return I.type==="TSMappedType"?(I.readonly&&_.push(te(I.readonly,"readonly")," "),_.push("[",R("name")),y.constraint&&_.push(" in ",R("constraint")),I.nameType&&_.push(" as ",J.callParent(()=>R("nameType"))),_.push("]"),_):(y.variance&&_.push(R("variance")),y.in&&_.push("in "),y.out&&_.push("out "),_.push(R("name")),y.bound&&_.push(": ",R("bound")),y.constraint&&_.push(" extends ",R("constraint")),y.default&&_.push(" = ",R("default")),_)}A.exports={printTypeParameter:F,printTypeParameters:ee,getTypeParametersGroupId:re}}}),Jo=Te({"src/language-js/print/property.js"(m,A){Re();var{printComments:p}=Ir(),{printString:v,printNumber:D}=ye(),{isNumericLiteral:f,isSimpleNumber:d,isStringLiteral:h,isStringPropSafeToUnquote:E,rawText:x}=pr(),{printAssignment:P}=Go(),T=new WeakMap;function k(S,j,X){let te=S.getNode();if(te.computed)return["[",X("key"),"]"];let $=S.getParentNode(),{key:K}=te;if(j.quoteProps==="consistent"&&!T.has($)){let G=($.properties||$.body||$.members).some(re=>!re.computed&&re.key&&h(re.key)&&!E(re,j));T.set($,G)}if((K.type==="Identifier"||f(K)&&d(D(x(K)))&&String(K.value)===D(x(K))&&!(j.parser==="typescript"||j.parser==="babel-ts"))&&(j.parser==="json"||j.quoteProps==="consistent"&&T.get($))){let G=v(JSON.stringify(K.type==="Identifier"?K.name:K.value.toString()),j);return S.call(re=>p(re,G,j),"key")}return E(te,j)&&(j.quoteProps==="as-needed"||j.quoteProps==="consistent"&&!T.get($))?S.call(G=>p(G,/^\d/.test(K.value)?D(K.value):K.value,j),"key"):X("key")}function C(S,j,X){return S.getValue().shorthand?X("value"):P(S,j,X,k(S,j,X),":","value")}A.exports={printProperty:C,printPropertyKey:k}}}),Sl=Te({"src/language-js/print/function.js"(m,A){Re();var p=Uo(),{printDanglingComments:v,printCommentsSeparately:D}=Ir(),f=Vr(),{getNextNonSpaceNonCommentCharacterIndex:d}=ye(),{builders:{line:h,softline:E,group:x,indent:P,ifBreak:T,hardline:k,join:C,indentIfBreak:S},utils:{removeLines:j,willBreak:X}}=wn(),{ArgExpansionBailout:te}=tn(),{getFunctionParameters:$,hasLeadingOwnLineComment:K,isFlowAnnotationComment:G,isJsxNode:re,isTemplateOnItsOwnLine:ee,shouldPrintComma:De,startsWithNoLookaheadToken:F,isBinaryish:J,isLineComment:w,hasComment:R,getComments:y,CommentCheckFlags:_,isCallLikeExpression:I,isCallExpression:q,getCallArguments:U,hasNakedLeftSide:z,getLeftSide:ie}=pr(),{locEnd:le}=ni(),{printFunctionParameters:ge,shouldGroupFunctionParameters:ce}=Al(),{printPropertyKey:_e}=Jo(),{printFunctionTypeParameters:se}=Ei();function Ue(Se,Je,Ze,At){let _t=Se.getValue(),Mt=!1;if((_t.type==="FunctionDeclaration"||_t.type==="FunctionExpression")&&At&&At.expandLastArg){let yn=Se.getParentNode();q(yn)&&U(yn).length>1&&(Mt=!0)}let cn=[];_t.type==="TSDeclareFunction"&&_t.declare&&cn.push("declare "),_t.async&&cn.push("async "),_t.generator?cn.push("function* "):cn.push("function "),_t.id&&cn.push(Je("id"));let Pn=ge(Se,Je,Ze,Mt),_n=Me(Se,Je,Ze),ln=ce(_t,_n);return cn.push(se(Se,Ze,Je),x([ln?x(Pn):Pn,_n]),_t.body?" ":"",Je("body")),Ze.semi&&(_t.declare||!_t.body)&&cn.push(";"),cn}function me(Se,Je,Ze){let At=Se.getNode(),{kind:_t}=At,Mt=At.value||At,cn=[];return!_t||_t==="init"||_t==="method"||_t==="constructor"?Mt.async&&cn.push("async "):(p.ok(_t==="get"||_t==="set"),cn.push(_t," ")),Mt.generator&&cn.push("*"),cn.push(_e(Se,Je,Ze),At.optional||At.key.optional?"?":""),At===Mt?cn.push(oe(Se,Je,Ze)):Mt.type==="FunctionExpression"?cn.push(Se.call(Pn=>oe(Pn,Je,Ze),"value")):cn.push(Ze("value")),cn}function oe(Se,Je,Ze){let At=Se.getNode(),_t=ge(Se,Ze,Je),Mt=Me(Se,Ze,Je),cn=ce(At,Mt),Pn=[se(Se,Je,Ze),x([cn?x(_t):_t,Mt])];return At.body?Pn.push(" ",Ze("body")):Pn.push(Je.semi?";":""),Pn}function qe(Se,Je,Ze,At){let _t=Se.getValue(),Mt=[];if(_t.async&&Mt.push("async "),be(Se,Je))Mt.push(Ze(["params",0]));else{let Pn=At&&(At.expandLastArg||At.expandFirstArg),_n=Me(Se,Ze,Je);if(Pn){if(X(_n))throw new te;_n=x(j(_n))}Mt.push(x([ge(Se,Ze,Je,Pn,!0),_n]))}let cn=v(Se,Je,!0,Pn=>{let _n=d(Je.originalText,Pn,le);return _n!==!1&&Je.originalText.slice(_n,_n+2)==="=>"});return cn&&Mt.push(" ",cn),Mt}function st(Se,Je,Ze,At,_t,Mt){let cn=Se.getName(),Pn=Se.getParentNode(),_n=I(Pn)&&cn==="callee",ln=!!(Je&&Je.assignmentLayout),yn=Mt.body.type!=="BlockStatement"&&Mt.body.type!=="ObjectExpression"&&Mt.body.type!=="SequenceExpression",ct=_n&&yn||Je&&Je.assignmentLayout==="chain-tail-arrow-chain",Ae=Symbol("arrow-chain");return Mt.body.type==="SequenceExpression"&&(_t=x(["(",P([E,_t]),E,")"])),x([x(P([_n||ln?E:"",x(C([" =>",h],Ze),{shouldBreak:At})]),{id:Ae,shouldBreak:ct})," =>",S(yn?P([h,_t]):[" ",_t],{groupId:Ae}),_n?T(E,"",{groupId:Ae}):""])}function Ge(Se,Je,Ze,At){let _t=Se.getValue(),Mt=[],cn=[],Pn=!1;if(function Ae(){let gt=qe(Se,Je,Ze,At);if(Mt.length===0)Mt.push(gt);else{let{leading:Ie,trailing:dt}=D(Se,Je);Mt.push([Ie,gt]),cn.unshift(dt)}Pn=Pn||_t.returnType&&$(_t).length>0||_t.typeParameters||$(_t).some(Ie=>Ie.type!=="Identifier"),_t.body.type!=="ArrowFunctionExpression"||At&&At.expandLastArg?cn.unshift(Ze("body",At)):(_t=_t.body,Se.call(Ae,"body"))}(),Mt.length>1)return st(Se,At,Mt,Pn,cn,_t);let _n=Mt;if(_n.push(" =>"),!K(Je.originalText,_t.body)&&(_t.body.type==="ArrayExpression"||_t.body.type==="ObjectExpression"||_t.body.type==="BlockStatement"||re(_t.body)||ee(_t.body,Je.originalText)||_t.body.type==="ArrowFunctionExpression"||_t.body.type==="DoExpression"))return x([..._n," ",cn]);if(_t.body.type==="SequenceExpression")return x([..._n,x([" (",P([E,cn]),E,")"])]);let ln=(At&&At.expandLastArg||Se.getParentNode().type==="JSXExpressionContainer")&&!R(_t),yn=At&&At.expandLastArg&&De(Je,"all"),ct=_t.body.type==="ConditionalExpression"&&!F(_t.body,Ae=>Ae.type==="ObjectExpression");return x([..._n,x([P([h,ct?T("","("):"",cn,ct?T("",")"):""]),ln?[T(yn?",":""),E]:""])])}function yt(Se){let Je=$(Se);return Je.length===1&&!Se.typeParameters&&!R(Se,_.Dangling)&&Je[0].type==="Identifier"&&!Je[0].typeAnnotation&&!R(Je[0])&&!Je[0].optional&&!Se.predicate&&!Se.returnType}function be(Se,Je){if(Je.arrowParens==="always")return!1;if(Je.arrowParens==="avoid"){let Ze=Se.getValue();return yt(Ze)}return!1}function Me(Se,Je,Ze){let At=Se.getValue(),_t=Je("returnType");if(At.returnType&&G(Ze.originalText,At.returnType))return[" /*: ",_t," */"];let Mt=[_t];return At.returnType&&At.returnType.typeAnnotation&&Mt.unshift(": "),At.predicate&&Mt.push(At.returnType?" ":": ",Je("predicate")),Mt}function ht(Se,Je,Ze){let At=Se.getValue(),_t=Je.semi?";":"",Mt=[];At.argument&&($e(Je,At.argument)?Mt.push([" (",P([k,Ze("argument")]),k,")"]):J(At.argument)||At.argument.type==="SequenceExpression"?Mt.push(x([T(" ("," "),P([E,Ze("argument")]),E,T(")")])):Mt.push(" ",Ze("argument")));let cn=y(At),Pn=f(cn),_n=Pn&&w(Pn);return _n&&Mt.push(_t),R(At,_.Dangling)&&Mt.push(" ",v(Se,Je,!0)),_n||Mt.push(_t),Mt}function mt(Se,Je,Ze){return["return",ht(Se,Je,Ze)]}function Jt(Se,Je,Ze){return["throw",ht(Se,Je,Ze)]}function $e(Se,Je){if(K(Se.originalText,Je))return!0;if(z(Je)){let Ze=Je,At;for(;At=ie(Ze);)if(Ze=At,K(Se.originalText,Ze))return!0}return!1}A.exports={printFunction:Ue,printArrowFunction:Ge,printMethod:me,printReturnStatement:mt,printThrowStatement:Jt,printMethodInternal:oe,shouldPrintParamsWithoutParens:be}}}),up=Te({"src/language-js/print/decorators.js"(m,A){Re();var{isNonEmptyArray:p,hasNewline:v}=ye(),{builders:{line:D,hardline:f,join:d,breakParent:h,group:E}}=wn(),{locStart:x,locEnd:P}=ni(),{getParentExportDeclaration:T}=pr();function k(te,$,K){let G=te.getValue();return E([d(D,te.map(K,"decorators")),j(G,$)?f:D])}function C(te,$,K){return[d(f,te.map(K,"declaration","decorators")),f]}function S(te,$,K){let G=te.getValue(),{decorators:re}=G;if(!p(re)||X(te.getParentNode()))return;let ee=G.type==="ClassExpression"||G.type==="ClassDeclaration"||j(G,$);return[T(te)?f:ee?h:"",d(D,te.map(K,"decorators")),D]}function j(te,$){return te.decorators.some(K=>v($.originalText,P(K)))}function X(te){if(te.type!=="ExportDefaultDeclaration"&&te.type!=="ExportNamedDeclaration"&&te.type!=="DeclareExportDeclaration")return!1;let $=te.declaration&&te.declaration.decorators;return p($)&&x(te)===x($[0])}A.exports={printDecorators:S,printClassMemberDecorators:k,printDecoratorsBeforeExport:C,hasDecoratorsBeforeExport:X}}}),Yo=Te({"src/language-js/print/class.js"(m,A){Re();var{isNonEmptyArray:p,createGroupIdMapper:v}=ye(),{printComments:D,printDanglingComments:f}=Ir(),{builders:{join:d,line:h,hardline:E,softline:x,group:P,indent:T,ifBreak:k}}=wn(),{hasComment:C,CommentCheckFlags:S}=pr(),{getTypeParametersGroupId:j}=xl(),{printMethod:X}=Sl(),{printOptionalToken:te,printTypeAnnotation:$,printDefiniteToken:K}=Ei(),{printPropertyKey:G}=Jo(),{printAssignment:re}=Go(),{printClassMemberDecorators:ee}=up();function De(U,z,ie){let le=U.getValue(),ge=[];le.declare&&ge.push("declare "),le.abstract&&ge.push("abstract "),ge.push("class");let ce=le.id&&C(le.id,S.Trailing)||le.typeParameters&&C(le.typeParameters,S.Trailing)||le.superClass&&C(le.superClass)||p(le.extends)||p(le.mixins)||p(le.implements),_e=[],se=[];if(le.id&&_e.push(" ",ie("id")),_e.push(ie("typeParameters")),le.superClass){let Ue=[_(U,z,ie),ie("superTypeParameters")],me=U.call(oe=>["extends ",D(oe,Ue,z)],"superClass");ce?se.push(h,P(me)):se.push(" ",me)}else se.push(y(U,z,ie,"extends"));if(se.push(y(U,z,ie,"mixins"),y(U,z,ie,"implements")),ce){let Ue;R(le)?Ue=[..._e,T(se)]:Ue=T([..._e,se]),ge.push(P(Ue,{id:F(le)}))}else ge.push(..._e,...se);return ge.push(" ",ie("body")),ge}var F=v("heritageGroup");function J(U){return k(E,"",{groupId:F(U)})}function w(U){return["superClass","extends","mixins","implements"].filter(z=>!!U[z]).length>1}function R(U){return U.typeParameters&&!C(U.typeParameters,S.Trailing|S.Line)&&!w(U)}function y(U,z,ie,le){let ge=U.getValue();if(!p(ge[le]))return"";let ce=f(U,z,!0,_e=>{let{marker:se}=_e;return se===le});return[R(ge)?k(" ",h,{groupId:j(ge.typeParameters)}):h,ce,ce&&E,le,P(T([h,d([",",h],U.map(ie,le))]))]}function _(U,z,ie){let le=ie("superClass");return U.getParentNode().type==="AssignmentExpression"?P(k(["(",T([x,le]),x,")"],le)):le}function I(U,z,ie){let le=U.getValue(),ge=[];return p(le.decorators)&&ge.push(ee(U,z,ie)),le.accessibility&&ge.push(le.accessibility+" "),le.readonly&&ge.push("readonly "),le.declare&&ge.push("declare "),le.static&&ge.push("static "),(le.type==="TSAbstractMethodDefinition"||le.abstract)&&ge.push("abstract "),le.override&&ge.push("override "),ge.push(X(U,z,ie)),ge}function q(U,z,ie){let le=U.getValue(),ge=[],ce=z.semi?";":"";return p(le.decorators)&&ge.push(ee(U,z,ie)),le.accessibility&&ge.push(le.accessibility+" "),le.declare&&ge.push("declare "),le.static&&ge.push("static "),(le.type==="TSAbstractPropertyDefinition"||le.type==="TSAbstractAccessorProperty"||le.abstract)&&ge.push("abstract "),le.override&&ge.push("override "),le.readonly&&ge.push("readonly "),le.variance&&ge.push(ie("variance")),(le.type==="ClassAccessorProperty"||le.type==="AccessorProperty"||le.type==="TSAbstractAccessorProperty")&&ge.push("accessor "),ge.push(G(U,z,ie),te(U),K(U),$(U,z,ie)),[re(U,z,ie,ge," =","value"),ce]}A.exports={printClass:De,printClassMethod:I,printClassProperty:q,printHardlineAfterHeritage:J}}}),tg=Te({"src/language-js/print/interface.js"(m,A){Re();var{isNonEmptyArray:p}=ye(),{builders:{join:v,line:D,group:f,indent:d,ifBreak:h}}=wn(),{hasComment:E,identity:x,CommentCheckFlags:P}=pr(),{getTypeParametersGroupId:T}=xl(),{printTypeScriptModifiers:k}=Ei();function C(S,j,X){let te=S.getValue(),$=[];te.declare&&$.push("declare "),te.type==="TSInterfaceDeclaration"&&$.push(te.abstract?"abstract ":"",k(S,j,X)),$.push("interface");let K=[],G=[];te.type!=="InterfaceTypeAnnotation"&&K.push(" ",X("id"),X("typeParameters"));let re=te.typeParameters&&!E(te.typeParameters,P.Trailing|P.Line);return p(te.extends)&&G.push(re?h(" ",D,{groupId:T(te.typeParameters)}):D,"extends ",(te.extends.length===1?x:d)(v([",",D],S.map(X,"extends")))),te.id&&E(te.id,P.Trailing)||p(te.extends)?re?$.push(f([...K,d(G)])):$.push(f(d([...K,...G]))):$.push(...K,...G),$.push(" ",X("body")),f($)}A.exports={printInterface:C}}}),ng=Te({"src/language-js/print/module.js"(m,A){Re();var{isNonEmptyArray:p}=ye(),{builders:{softline:v,group:D,indent:f,join:d,line:h,ifBreak:E,hardline:x}}=wn(),{printDanglingComments:P}=Ir(),{hasComment:T,CommentCheckFlags:k,shouldPrintComma:C,needsHardlineAfterDanglingComment:S,isStringLiteral:j,rawText:X}=pr(),{locStart:te,hasSameLoc:$}=ni(),{hasDecoratorsBeforeExport:K,printDecoratorsBeforeExport:G}=up();function re(q,U,z){let ie=q.getValue(),le=U.semi?";":"",ge=[],{importKind:ce}=ie;return ge.push("import"),ce&&ce!=="value"&&ge.push(" ",ce),ge.push(w(q,U,z),J(q,U,z),y(q,U,z),le),ge}function ee(q,U,z){let ie=q.getValue(),le=[];K(ie)&&le.push(G(q,U,z));let{type:ge,exportKind:ce,declaration:_e}=ie;return le.push("export"),(ie.default||ge==="ExportDefaultDeclaration")&&le.push(" default"),T(ie,k.Dangling)&&(le.push(" ",P(q,U,!0)),S(ie)&&le.push(x)),_e?le.push(" ",z("declaration")):le.push(ce==="type"?" type":"",w(q,U,z),J(q,U,z),y(q,U,z)),F(ie,U)&&le.push(";"),le}function De(q,U,z){let ie=q.getValue(),le=U.semi?";":"",ge=[],{exportKind:ce,exported:_e}=ie;return ge.push("export"),ce==="type"&&ge.push(" type"),ge.push(" *"),_e&&ge.push(" as ",z("exported")),ge.push(J(q,U,z),y(q,U,z),le),ge}function F(q,U){if(!U.semi)return!1;let{type:z,declaration:ie}=q,le=q.default||z==="ExportDefaultDeclaration";if(!ie)return!0;let{type:ge}=ie;return!!(le&&ge!=="ClassDeclaration"&&ge!=="FunctionDeclaration"&&ge!=="TSInterfaceDeclaration"&&ge!=="DeclareClass"&&ge!=="DeclareFunction"&&ge!=="TSDeclareFunction"&&ge!=="EnumDeclaration")}function J(q,U,z){let ie=q.getValue();if(!ie.source)return"";let le=[];return R(ie,U)||le.push(" from"),le.push(" ",z("source")),le}function w(q,U,z){let ie=q.getValue();if(R(ie,U))return"";let le=[" "];if(p(ie.specifiers)){let ge=[],ce=[];q.each(()=>{let _e=q.getValue().type;if(_e==="ExportNamespaceSpecifier"||_e==="ExportDefaultSpecifier"||_e==="ImportNamespaceSpecifier"||_e==="ImportDefaultSpecifier")ge.push(z());else if(_e==="ExportSpecifier"||_e==="ImportSpecifier")ce.push(z());else throw new Error(`Unknown specifier type ${JSON.stringify(_e)}`)},"specifiers"),le.push(d(", ",ge)),ce.length>0&&(ge.length>0&&le.push(", "),ce.length>1||ge.length>0||ie.specifiers.some(_e=>T(_e))?le.push(D(["{",f([U.bracketSpacing?h:v,d([",",h],ce)]),E(C(U)?",":""),U.bracketSpacing?h:v,"}"])):le.push(["{",U.bracketSpacing?" ":"",...ce,U.bracketSpacing?" ":"","}"]))}else le.push("{}");return le}function R(q,U){let{type:z,importKind:ie,source:le,specifiers:ge}=q;return z!=="ImportDeclaration"||p(ge)||ie==="type"?!1:!/{\s*}/.test(U.originalText.slice(te(q),te(le)))}function y(q,U,z){let ie=q.getNode();return p(ie.assertions)?[" assert {",U.bracketSpacing?" ":"",d(", ",q.map(z,"assertions")),U.bracketSpacing?" ":"","}"]:""}function _(q,U,z){let ie=q.getNode(),{type:le}=ie,ge=[],ce=le==="ImportSpecifier"?ie.importKind:ie.exportKind;ce&&ce!=="value"&&ge.push(ce," ");let _e=le.startsWith("Import"),se=_e?"imported":"local",Ue=_e?"local":"exported",me=ie[se],oe=ie[Ue],qe="",st="";return le==="ExportNamespaceSpecifier"||le==="ImportNamespaceSpecifier"?qe="*":me&&(qe=z(se)),oe&&!I(ie)&&(st=z(Ue)),ge.push(qe,qe&&st?" as ":"",st),ge}function I(q){if(q.type!=="ImportSpecifier"&&q.type!=="ExportSpecifier")return!1;let{local:U,[q.type==="ImportSpecifier"?"imported":"exported"]:z}=q;if(U.type!==z.type||!$(U,z))return!1;if(j(U))return U.value===z.value&&X(U)===X(z);switch(U.type){case"Identifier":return U.name===z.name;default:return!1}}A.exports={printImportDeclaration:re,printExportDeclaration:ee,printExportAllDeclaration:De,printModuleSpecifier:_}}}),lp=Te({"src/language-js/print/object.js"(m,A){Re();var{printDanglingComments:p}=Ir(),{builders:{line:v,softline:D,group:f,indent:d,ifBreak:h,hardline:E}}=wn(),{getLast:x,hasNewlineInRange:P,hasNewline:T,isNonEmptyArray:k}=ye(),{shouldPrintComma:C,hasComment:S,getComments:j,CommentCheckFlags:X,isNextLineEmpty:te}=pr(),{locStart:$,locEnd:K}=ni(),{printOptionalToken:G,printTypeAnnotation:re}=Ei(),{shouldHugFunctionParameters:ee}=Al(),{shouldHugType:De}=Cl(),{printHardlineAfterHeritage:F}=Yo();function J(w,R,y){let _=R.semi?";":"",I=w.getValue(),q;I.type==="TSTypeLiteral"?q="members":I.type==="TSInterfaceBody"?q="body":q="properties";let U=I.type==="ObjectTypeAnnotation",z=[q];U&&z.push("indexers","callProperties","internalSlots");let ie=z.map(be=>I[be][0]).sort((be,Me)=>$(be)-$(Me))[0],le=w.getParentNode(0),ge=U&&le&&(le.type==="InterfaceDeclaration"||le.type==="DeclareInterface"||le.type==="DeclareClass")&&w.getName()==="body",ce=I.type==="TSInterfaceBody"||ge||I.type==="ObjectPattern"&&le.type!=="FunctionDeclaration"&&le.type!=="FunctionExpression"&&le.type!=="ArrowFunctionExpression"&&le.type!=="ObjectMethod"&&le.type!=="ClassMethod"&&le.type!=="ClassPrivateMethod"&&le.type!=="AssignmentPattern"&&le.type!=="CatchClause"&&I.properties.some(be=>be.value&&(be.value.type==="ObjectPattern"||be.value.type==="ArrayPattern"))||I.type!=="ObjectPattern"&&ie&&P(R.originalText,$(I),$(ie)),_e=ge?";":I.type==="TSInterfaceBody"||I.type==="TSTypeLiteral"?h(_,";"):",",se=I.type==="RecordExpression"?"#{":I.exact?"{|":"{",Ue=I.exact?"|}":"}",me=[];for(let be of z)w.each(Me=>{let ht=Me.getValue();me.push({node:ht,printed:y(),loc:$(ht)})},be);z.length>1&&me.sort((be,Me)=>be.loc-Me.loc);let oe=[],qe=me.map(be=>{let Me=[...oe,f(be.printed)];return oe=[_e,v],(be.node.type==="TSPropertySignature"||be.node.type==="TSMethodSignature"||be.node.type==="TSConstructSignatureDeclaration")&&S(be.node,X.PrettierIgnore)&&oe.shift(),te(be.node,R)&&oe.push(E),Me});if(I.inexact){let be;if(S(I,X.Dangling)){let Me=S(I,X.Line);be=[p(w,R,!0),Me||T(R.originalText,K(x(j(I))))?E:v,"..."]}else be=["..."];qe.push([...oe,...be])}let st=x(I[q]),Ge=!(I.inexact||st&&st.type==="RestElement"||st&&(st.type==="TSPropertySignature"||st.type==="TSCallSignatureDeclaration"||st.type==="TSMethodSignature"||st.type==="TSConstructSignatureDeclaration")&&S(st,X.PrettierIgnore)),yt;if(qe.length===0){if(!S(I,X.Dangling))return[se,Ue,re(w,R,y)];yt=f([se,p(w,R),D,Ue,G(w),re(w,R,y)])}else yt=[ge&&k(I.properties)?F(le):"",se,d([R.bracketSpacing?v:D,...qe]),h(Ge&&(_e!==","||C(R))?_e:""),R.bracketSpacing?v:D,Ue,G(w),re(w,R,y)];return w.match(be=>be.type==="ObjectPattern"&&!be.decorators,(be,Me,ht)=>ee(be)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&ht===0)||w.match(De,(be,Me)=>Me==="typeAnnotation",(be,Me)=>Me==="typeAnnotation",(be,Me,ht)=>ee(be)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&ht===0)||!ce&&w.match(be=>be.type==="ObjectPattern",be=>be.type==="AssignmentExpression"||be.type==="VariableDeclarator")?yt:f(yt,{shouldBreak:ce})}A.exports={printObject:J}}}),P2=Te({"src/language-js/print/flow.js"(m,A){Re();var p=Uo(),{printDanglingComments:v}=Ir(),{printString:D,printNumber:f}=ye(),{builders:{hardline:d,softline:h,group:E,indent:x}}=wn(),{getParentExportDeclaration:P,isFunctionNotation:T,isGetterOrSetter:k,rawText:C,shouldPrintComma:S}=pr(),{locStart:j,locEnd:X}=ni(),{replaceTextEndOfLine:te}=ra(),{printClass:$}=Yo(),{printOpaqueType:K,printTypeAlias:G,printIntersectionType:re,printUnionType:ee,printFunctionType:De,printTupleType:F,printIndexedAccessType:J}=Cl(),{printInterface:w}=tg(),{printTypeParameter:R,printTypeParameters:y}=xl(),{printExportDeclaration:_,printExportAllDeclaration:I}=ng(),{printArrayItems:q}=Wo(),{printObject:U}=lp(),{printPropertyKey:z}=Jo(),{printOptionalToken:ie,printTypeAnnotation:le,printRestSpread:ge}=Ei();function ce(se,Ue,me){let oe=se.getValue(),qe=Ue.semi?";":"",st=[];switch(oe.type){case"DeclareClass":return _e(se,$(se,Ue,me));case"DeclareFunction":return _e(se,["function ",me("id"),oe.predicate?" ":"",me("predicate"),qe]);case"DeclareModule":return _e(se,["module ",me("id")," ",me("body")]);case"DeclareModuleExports":return _e(se,["module.exports",": ",me("typeAnnotation"),qe]);case"DeclareVariable":return _e(se,["var ",me("id"),qe]);case"DeclareOpaqueType":return _e(se,K(se,Ue,me));case"DeclareInterface":return _e(se,w(se,Ue,me));case"DeclareTypeAlias":return _e(se,G(se,Ue,me));case"DeclareExportDeclaration":return _e(se,_(se,Ue,me));case"DeclareExportAllDeclaration":return _e(se,I(se,Ue,me));case"OpaqueType":return K(se,Ue,me);case"TypeAlias":return G(se,Ue,me);case"IntersectionTypeAnnotation":return re(se,Ue,me);case"UnionTypeAnnotation":return ee(se,Ue,me);case"FunctionTypeAnnotation":return De(se,Ue,me);case"TupleTypeAnnotation":return F(se,Ue,me);case"GenericTypeAnnotation":return[me("id"),y(se,Ue,me,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return J(se,Ue,me);case"TypeAnnotation":return me("typeAnnotation");case"TypeParameter":return R(se,Ue,me);case"TypeofTypeAnnotation":return["typeof ",me("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[me("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(oe.value);case"EnumDeclaration":return["enum ",me("id")," ",me("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(oe.type==="EnumSymbolBody"||oe.explicitType){let Ge=null;switch(oe.type){case"EnumBooleanBody":Ge="boolean";break;case"EnumNumberBody":Ge="number";break;case"EnumStringBody":Ge="string";break;case"EnumSymbolBody":Ge="symbol";break}st.push("of ",Ge," ")}if(oe.members.length===0&&!oe.hasUnknownMembers)st.push(E(["{",v(se,Ue),h,"}"]));else{let Ge=oe.members.length>0?[d,q(se,Ue,"members",me),oe.hasUnknownMembers||S(Ue)?",":""]:[];st.push(E(["{",x([...Ge,...oe.hasUnknownMembers?[d,"..."]:[]]),v(se,Ue,!0),d,"}"]))}return st}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[me("id")," = ",typeof oe.init=="object"?me("init"):String(oe.init)];case"EnumDefaultedMember":return me("id");case"FunctionTypeParam":{let Ge=oe.name?me("name"):se.getParentNode().this===oe?"this":"";return[Ge,ie(se),Ge?": ":"",me("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return w(se,Ue,me);case"ClassImplements":case"InterfaceExtends":return[me("id"),me("typeParameters")];case"NullableTypeAnnotation":return["?",me("typeAnnotation")];case"Variance":{let{kind:Ge}=oe;return p.ok(Ge==="plus"||Ge==="minus"),Ge==="plus"?"+":"-"}case"ObjectTypeCallProperty":return oe.static&&st.push("static "),st.push(me("value")),st;case"ObjectTypeIndexer":return[oe.static?"static ":"",oe.variance?me("variance"):"","[",me("id"),oe.id?": ":"",me("key"),"]: ",me("value")];case"ObjectTypeProperty":{let Ge="";return oe.proto?Ge="proto ":oe.static&&(Ge="static "),[Ge,k(oe)?oe.kind+" ":"",oe.variance?me("variance"):"",z(se,Ue,me),ie(se),T(oe)?"":": ",me("value")]}case"ObjectTypeAnnotation":return U(se,Ue,me);case"ObjectTypeInternalSlot":return[oe.static?"static ":"","[[",me("id"),"]]",ie(se),oe.method?"":": ",me("value")];case"ObjectTypeSpreadProperty":return ge(se,Ue,me);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[me("qualification"),".",me("id")];case"StringLiteralTypeAnnotation":return te(D(C(oe),Ue));case"NumberLiteralTypeAnnotation":p.strictEqual(typeof oe.value,"number");case"BigIntLiteralTypeAnnotation":return oe.extra?f(oe.extra.raw):f(oe.raw);case"TypeCastExpression":return["(",me("expression"),le(se,Ue,me),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Ge=y(se,Ue,me,"params");if(Ue.parser==="flow"){let yt=j(oe),be=X(oe),Me=Ue.originalText.lastIndexOf("/*",yt),ht=Ue.originalText.indexOf("*/",be);if(Me!==-1&&ht!==-1){let mt=Ue.originalText.slice(Me+2,ht).trim();if(mt.startsWith("::")&&!mt.includes("/*")&&!mt.includes("*/"))return["/*:: ",Ge," */"]}}return Ge}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",me("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(oe.type))}}function _e(se,Ue){let me=P(se);return me?(p.strictEqual(me.type,"DeclareExportDeclaration"),Ue):["declare ",Ue]}A.exports={printFlow:ce}}}),B2=Te({"src/language-js/utils/is-ts-keyword-type.js"(m,A){Re();function p(v){let{type:D}=v;return D.startsWith("TS")&&D.endsWith("Keyword")}A.exports=p}}),rg=Te({"src/language-js/print/ternary.js"(m,A){Re();var{hasNewlineInRange:p}=ye(),{isJsxNode:v,getComments:D,isCallExpression:f,isMemberExpression:d,isTSTypeExpression:h}=pr(),{locStart:E,locEnd:x}=ni(),P=aa(),{builders:{line:T,softline:k,group:C,indent:S,align:j,ifBreak:X,dedent:te,breakParent:$}}=wn();function K(F){let J=[F];for(let w=0;w<J.length;w++){let R=J[w];for(let y of["test","consequent","alternate"]){let _=R[y];if(v(_))return!0;_.type==="ConditionalExpression"&&J.push(_)}}return!1}function G(F,J,w){let R=F.getValue(),y=R.type==="ConditionalExpression",_=y?"alternate":"falseType",I=F.getParentNode(),q=y?w("test"):[w("checkType")," ","extends"," ",w("extendsType")];return I.type===R.type&&I[_]===R?j(2,q):q}var re=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function ee(F){let J=F.getValue();if(J.type!=="ConditionalExpression")return!1;let w,R=J;for(let y=0;!w;y++){let _=F.getParentNode(y);if(f(_)&&_.callee===R||d(_)&&_.object===R||_.type==="TSNonNullExpression"&&_.expression===R){R=_;continue}_.type==="NewExpression"&&_.callee===R||h(_)&&_.expression===R?(w=F.getParentNode(y+1),R=_):w=_}return R===J?!1:w[re.get(w.type)]===R}function De(F,J,w){let R=F.getValue(),y=R.type==="ConditionalExpression",_=y?"consequent":"trueType",I=y?"alternate":"falseType",q=y?["test"]:["checkType","extendsType"],U=R[_],z=R[I],ie=[],le=!1,ge=F.getParentNode(),ce=ge.type===R.type&&q.some(ht=>ge[ht]===R),_e=ge.type===R.type&&!ce,se,Ue,me=0;do Ue=se||R,se=F.getParentNode(me),me++;while(se&&se.type===R.type&&q.every(ht=>se[ht]!==Ue));let oe=se||ge,qe=Ue;if(y&&(v(R[q[0]])||v(U)||v(z)||K(qe))){le=!0,_e=!0;let ht=Jt=>[X("("),S([k,Jt]),k,X(")")],mt=Jt=>Jt.type==="NullLiteral"||Jt.type==="Literal"&&Jt.value===null||Jt.type==="Identifier"&&Jt.name==="undefined";ie.push(" ? ",mt(U)?w(_):ht(w(_))," : ",z.type===R.type||mt(z)?w(I):ht(w(I)))}else{let ht=[T,"? ",U.type===R.type?X("","("):"",j(2,w(_)),U.type===R.type?X("",")"):"",T,": ",z.type===R.type?w(I):j(2,w(I))];ie.push(ge.type!==R.type||ge[I]===R||ce?ht:J.useTabs?te(S(ht)):j(Math.max(0,J.tabWidth-2),ht))}let st=[...q.map(ht=>D(R[ht])),D(U),D(z)].flat().some(ht=>P(ht)&&p(J.originalText,E(ht),x(ht))),Ge=ht=>ge===oe?C(ht,{shouldBreak:st}):st?[ht,$]:ht,yt=!le&&(d(ge)||ge.type==="NGPipeExpression"&&ge.left===R)&&!ge.computed,be=ee(F),Me=Ge([G(F,J,w),_e?ie:S(ie),y&&yt&&!be?k:""]);return ce||be?C([S([k,Me]),k]):Me}A.exports={printTernary:De}}}),ig=Te({"src/language-js/print/statement.js"(m,A){Re();var{builders:{hardline:p}}=wn(),v=ro(),{getLeftSidePathName:D,hasNakedLeftSide:f,isJsxNode:d,isTheOnlyJsxElementInMarkdown:h,hasComment:E,CommentCheckFlags:x,isNextLineEmpty:P}=pr(),{shouldPrintParamsWithoutParens:T}=Sl();function k(G,re,ee,De){let F=G.getValue(),J=[],w=F.type==="ClassBody",R=C(F[De]);return G.each((y,_,I)=>{let q=y.getValue();if(q.type==="EmptyStatement")return;let U=ee();!re.semi&&!w&&!h(re,y)&&S(y,re)?E(q,x.Leading)?J.push(ee([],{needsSemi:!0})):J.push(";",U):J.push(U),!re.semi&&w&&$(q)&&K(q,I[_+1])&&J.push(";"),q!==R&&(J.push(p),P(q,re)&&J.push(p))},De),J}function C(G){for(let re=G.length-1;re>=0;re--){let ee=G[re];if(ee.type!=="EmptyStatement")return ee}}function S(G,re){return G.getNode().type!=="ExpressionStatement"?!1:G.call(ee=>j(ee,re),"expression")}function j(G,re){let ee=G.getValue();switch(ee.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!T(G,re))return!0;break}case"UnaryExpression":{let{prefix:De,operator:F}=ee;if(De&&(F==="+"||F==="-"))return!0;break}case"BindExpression":{if(!ee.object)return!0;break}case"Literal":{if(ee.regex)return!0;break}default:if(d(ee))return!0}return v(G,re)?!0:f(ee)?G.call(De=>j(De,re),...D(G,ee)):!1}function X(G,re,ee){return k(G,re,ee,"body")}function te(G,re,ee){return k(G,re,ee,"consequent")}var $=G=>{let{type:re}=G;return re==="ClassProperty"||re==="PropertyDefinition"||re==="ClassPrivateProperty"||re==="ClassAccessorProperty"||re==="AccessorProperty"||re==="TSAbstractPropertyDefinition"||re==="TSAbstractAccessorProperty"};function K(G,re){let{type:ee,name:De}=G.key;if(!G.computed&&ee==="Identifier"&&(De==="static"||De==="get"||De==="set"||De==="accessor")&&!G.value&&!G.typeAnnotation)return!0;if(!re||re.static||re.accessibility)return!1;if(!re.computed){let F=re.key&&re.key.name;if(F==="in"||F==="instanceof")return!0}if($(re)&&re.variance&&!re.static&&!re.declare)return!0;switch(re.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return re.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((re.value?re.value.async:re.async)||re.kind==="get"||re.kind==="set")return!1;let F=re.value?re.value.generator:re.generator;return!!(re.computed||F)}case"TSIndexSignature":return!0}return!1}A.exports={printBody:X,printSwitchCaseConsequent:te}}}),sg=Te({"src/language-js/print/block.js"(m,A){Re();var{printDanglingComments:p}=Ir(),{isNonEmptyArray:v}=ye(),{builders:{hardline:D,indent:f}}=wn(),{hasComment:d,CommentCheckFlags:h,isNextLineEmpty:E}=pr(),{printHardlineAfterHeritage:x}=Yo(),{printBody:P}=ig();function T(C,S,j){let X=C.getValue(),te=[];if(X.type==="StaticBlock"&&te.push("static "),X.type==="ClassBody"&&v(X.body)){let K=C.getParentNode();te.push(x(K))}te.push("{");let $=k(C,S,j);if($)te.push(f([D,$]),D);else{let K=C.getParentNode(),G=C.getParentNode(1);K.type==="ArrowFunctionExpression"||K.type==="FunctionExpression"||K.type==="FunctionDeclaration"||K.type==="ObjectMethod"||K.type==="ClassMethod"||K.type==="ClassPrivateMethod"||K.type==="ForStatement"||K.type==="WhileStatement"||K.type==="DoWhileStatement"||K.type==="DoExpression"||K.type==="CatchClause"&&!G.finalizer||K.type==="TSModuleDeclaration"||K.type==="TSDeclareFunction"||X.type==="StaticBlock"||X.type==="ClassBody"||te.push(D)}return te.push("}"),te}function k(C,S,j){let X=C.getValue(),te=v(X.directives),$=X.body.some(re=>re.type!=="EmptyStatement"),K=d(X,h.Dangling);if(!te&&!$&&!K)return"";let G=[];if(te&&C.each((re,ee,De)=>{G.push(j()),(ee<De.length-1||$||K)&&(G.push(D),E(re.getValue(),S)&&G.push(D))},"directives"),$&&G.push(P(C,S,j)),K&&G.push(p(C,S,!0)),X.type==="Program"){let re=C.getParentNode();(!re||re.type!=="ModuleExpression")&&G.push(D)}return G}A.exports={printBlock:T,printBlockBody:k}}}),M2=Te({"src/language-js/print/typescript.js"(m,A){Re();var{printDanglingComments:p}=Ir(),{hasNewlineInRange:v}=ye(),{builders:{join:D,line:f,hardline:d,softline:h,group:E,indent:x,conditionalGroup:P,ifBreak:T}}=wn(),{isStringLiteral:k,getTypeScriptMappedTypeModifier:C,shouldPrintComma:S,isCallExpression:j,isMemberExpression:X}=pr(),te=B2(),{locStart:$,locEnd:K}=ni(),{printOptionalToken:G,printTypeScriptModifiers:re}=Ei(),{printTernary:ee}=rg(),{printFunctionParameters:De,shouldGroupFunctionParameters:F}=Al(),{printTemplateLiteral:J}=no(),{printArrayItems:w}=Wo(),{printObject:R}=lp(),{printClassProperty:y,printClassMethod:_}=Yo(),{printTypeParameter:I,printTypeParameters:q}=xl(),{printPropertyKey:U}=Jo(),{printFunction:z,printMethodInternal:ie}=Sl(),{printInterface:le}=tg(),{printBlock:ge}=sg(),{printTypeAlias:ce,printIntersectionType:_e,printUnionType:se,printFunctionType:Ue,printTupleType:me,printIndexedAccessType:oe,printJSDocType:qe}=Cl();function st(Ge,yt,be){let Me=Ge.getValue();if(!Me.type.startsWith("TS"))return;if(te(Me))return Me.type.slice(2,-7).toLowerCase();let ht=yt.semi?";":"",mt=[];switch(Me.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Jt=!(Me.expression.type==="ArrayExpression"||Me.expression.type==="ObjectExpression"),$e=E(["<",x([h,be("typeAnnotation")]),h,">"]),Se=[T("("),x([h,be("expression")]),h,T(")")];return Jt?P([[$e,be("expression")],[$e,E(Se,{shouldBreak:!0})],[$e,be("expression")]]):E([$e,be("expression")])}case"TSDeclareFunction":return z(Ge,be,yt);case"TSExportAssignment":return["export = ",be("expression"),ht];case"TSModuleBlock":return ge(Ge,yt,be);case"TSInterfaceBody":case"TSTypeLiteral":return R(Ge,yt,be);case"TSTypeAliasDeclaration":return ce(Ge,yt,be);case"TSQualifiedName":return D(".",[be("left"),be("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return _(Ge,yt,be);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return y(Ge,yt,be);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return mt.push(be("expression")),Me.typeParameters&&mt.push(be("typeParameters")),mt;case"TSTemplateLiteralType":return J(Ge,be,yt);case"TSNamedTupleMember":return[be("label"),Me.optional?"?":"",": ",be("elementType")];case"TSRestType":return["...",be("typeAnnotation")];case"TSOptionalType":return[be("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return le(Ge,yt,be);case"TSClassImplements":return[be("expression"),be("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return q(Ge,yt,be,"params");case"TSTypeParameter":return I(Ge,yt,be);case"TSSatisfiesExpression":case"TSAsExpression":{let Jt=Me.type==="TSAsExpression"?"as":"satisfies";mt.push(be("expression"),` ${Jt} `,be("typeAnnotation"));let $e=Ge.getParentNode();return j($e)&&$e.callee===Me||X($e)&&$e.object===Me?E([x([h,...mt]),h]):mt}case"TSArrayType":return[be("elementType"),"[]"];case"TSPropertySignature":return Me.readonly&&mt.push("readonly "),mt.push(U(Ge,yt,be),G(Ge)),Me.typeAnnotation&&mt.push(": ",be("typeAnnotation")),Me.initializer&&mt.push(" = ",be("initializer")),mt;case"TSParameterProperty":return Me.accessibility&&mt.push(Me.accessibility+" "),Me.export&&mt.push("export "),Me.static&&mt.push("static "),Me.override&&mt.push("override "),Me.readonly&&mt.push("readonly "),mt.push(be("parameter")),mt;case"TSTypeQuery":return["typeof ",be("exprName"),be("typeParameters")];case"TSIndexSignature":{let Jt=Ge.getParentNode(),$e=Me.parameters.length>1?T(S(yt)?",":""):"",Se=E([x([h,D([", ",h],Ge.map(be,"parameters"))]),$e,h]);return[Me.export?"export ":"",Me.accessibility?[Me.accessibility," "]:"",Me.static?"static ":"",Me.readonly?"readonly ":"",Me.declare?"declare ":"","[",Me.parameters?Se:"",Me.typeAnnotation?"]: ":"]",Me.typeAnnotation?be("typeAnnotation"):"",Jt.type==="ClassBody"?ht:""]}case"TSTypePredicate":return[Me.asserts?"asserts ":"",be("parameterName"),Me.typeAnnotation?[" is ",be("typeAnnotation")]:""];case"TSNonNullExpression":return[be("expression"),"!"];case"TSImportType":return[Me.isTypeOf?"typeof ":"","import(",be(Me.parameter?"parameter":"argument"),")",Me.qualifier?[".",be("qualifier")]:"",q(Ge,yt,be,"typeParameters")];case"TSLiteralType":return be("literal");case"TSIndexedAccessType":return oe(Ge,yt,be);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Me.type==="TSConstructorType"&&Me.abstract&&mt.push("abstract "),Me.type!=="TSCallSignatureDeclaration"&&mt.push("new "),mt.push(E(De(Ge,be,yt,!1,!0))),Me.returnType||Me.typeAnnotation){let Jt=Me.type==="TSConstructorType";mt.push(Jt?" => ":": ",be("returnType"),be("typeAnnotation"))}return mt}case"TSTypeOperator":return[Me.operator," ",be("typeAnnotation")];case"TSMappedType":{let Jt=v(yt.originalText,$(Me),K(Me));return E(["{",x([yt.bracketSpacing?f:h,be("typeParameter"),Me.optional?C(Me.optional,"?"):"",Me.typeAnnotation?": ":"",be("typeAnnotation"),T(ht)]),p(Ge,yt,!0),yt.bracketSpacing?f:h,"}"],{shouldBreak:Jt})}case"TSMethodSignature":{let Jt=Me.kind&&Me.kind!=="method"?`${Me.kind} `:"";mt.push(Me.accessibility?[Me.accessibility," "]:"",Jt,Me.export?"export ":"",Me.static?"static ":"",Me.readonly?"readonly ":"",Me.abstract?"abstract ":"",Me.declare?"declare ":"",Me.computed?"[":"",be("key"),Me.computed?"]":"",G(Ge));let $e=De(Ge,be,yt,!1,!0),Se=Me.returnType?"returnType":"typeAnnotation",Je=Me[Se],Ze=Je?be(Se):"",At=F(Me,Ze);return mt.push(At?E($e):$e),Je&&mt.push(": ",E(Ze)),E(mt)}case"TSNamespaceExportDeclaration":return mt.push("export as namespace ",be("id")),yt.semi&&mt.push(";"),E(mt);case"TSEnumDeclaration":return Me.declare&&mt.push("declare "),Me.modifiers&&mt.push(re(Ge,yt,be)),Me.const&&mt.push("const "),mt.push("enum ",be("id")," "),Me.members.length===0?mt.push(E(["{",p(Ge,yt),h,"}"])):mt.push(E(["{",x([d,w(Ge,yt,"members",be),S(yt,"es5")?",":""]),p(Ge,yt,!0),d,"}"])),mt;case"TSEnumMember":return Me.computed?mt.push("[",be("id"),"]"):mt.push(be("id")),Me.initializer&&mt.push(" = ",be("initializer")),mt;case"TSImportEqualsDeclaration":return Me.isExport&&mt.push("export "),mt.push("import "),Me.importKind&&Me.importKind!=="value"&&mt.push(Me.importKind," "),mt.push(be("id")," = ",be("moduleReference")),yt.semi&&mt.push(";"),E(mt);case"TSExternalModuleReference":return["require(",be("expression"),")"];case"TSModuleDeclaration":{let Jt=Ge.getParentNode(),$e=k(Me.id),Se=Jt.type==="TSModuleDeclaration",Je=Me.body&&Me.body.type==="TSModuleDeclaration";if(Se)mt.push(".");else{Me.declare&&mt.push("declare "),mt.push(re(Ge,yt,be));let Ze=yt.originalText.slice($(Me),$(Me.id));Me.id.type==="Identifier"&&Me.id.name==="global"&&!/namespace|module/.test(Ze)||mt.push($e||/(?:^|\s)module(?:\s|$)/.test(Ze)?"module ":"namespace ")}return mt.push(be("id")),Je?mt.push(be("body")):Me.body?mt.push(" ",E(be("body"))):mt.push(ht),mt}case"TSConditionalType":return ee(Ge,yt,be);case"TSInferType":return["infer"," ",be("typeParameter")];case"TSIntersectionType":return _e(Ge,yt,be);case"TSUnionType":return se(Ge,yt,be);case"TSFunctionType":return Ue(Ge,yt,be);case"TSTupleType":return me(Ge,yt,be);case"TSTypeReference":return[be("typeName"),q(Ge,yt,be,"typeParameters")];case"TSTypeAnnotation":return be("typeAnnotation");case"TSEmptyBodyFunctionExpression":return ie(Ge,yt,be);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return qe(Ge,be,"?");case"TSJSDocNonNullableType":return qe(Ge,be,"!");case"TSInstantiationExpression":return[be("expression"),be("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(Me.type)}.`)}}A.exports={printTypescript:st}}}),I2=Te({"src/language-js/print/comment.js"(m,A){Re();var{hasNewline:p}=ye(),{builders:{join:v,hardline:D},utils:{replaceTextEndOfLine:f}}=wn(),{isLineComment:d}=pr(),{locStart:h,locEnd:E}=ni(),x=aa();function P(C,S){let j=C.getValue();if(d(j))return S.originalText.slice(h(j),E(j)).trimEnd();if(x(j)){if(T(j)){let $=k(j);return j.trailing&&!p(S.originalText,h(j),{backwards:!0})?[D,$]:$}let X=E(j),te=S.originalText.slice(X-3,X)==="*-/";return["/*",f(j.value),te?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(j))}function T(C){let S=`*${C.value}*`.split(`
216
- `);return S.length>1&&S.every(j=>j.trim()[0]==="*")}function k(C){let S=C.value.split(`
217
- `);return["/*",v(D,S.map((j,X)=>X===0?j.trimEnd():" "+(X<S.length-1?j.trim():j.trimStart()))),"*/"]}A.exports={printComment:P}}}),O2=Te({"src/language-js/print/literal.js"(m,A){Re();var{printString:p,printNumber:v}=ye(),{replaceTextEndOfLine:D}=ra(),{printDirective:f}=Ei();function d(P,T){let k=P.getNode();switch(k.type){case"RegExpLiteral":return x(k);case"BigIntLiteral":return E(k.bigint||k.extra.raw);case"NumericLiteral":return v(k.extra.raw);case"StringLiteral":return D(p(k.extra.raw,T));case"NullLiteral":return"null";case"BooleanLiteral":return String(k.value);case"DecimalLiteral":return v(k.value)+"m";case"Literal":{if(k.regex)return x(k.regex);if(k.bigint)return E(k.raw);if(k.decimal)return v(k.decimal)+"m";let{value:C}=k;return typeof C=="number"?v(k.raw):typeof C=="string"?h(P)?f(k.raw,T):D(p(k.raw,T)):String(C)}}}function h(P){if(P.getName()!=="expression")return;let T=P.getParentNode();return T.type==="ExpressionStatement"&&T.directive}function E(P){return P.toLowerCase()}function x(P){let{pattern:T,flags:k}=P;return k=[...k].sort().join(""),`/${T}/${k}`}A.exports={printLiteral:d}}}),j2=Te({"src/language-js/printer-estree.js"(m,A){Re();var{printDanglingComments:p}=Ir(),{hasNewline:v}=ye(),{builders:{join:D,line:f,hardline:d,softline:h,group:E,indent:x},utils:{replaceTextEndOfLine:P}}=wn(),T=b2(),k=v2(),{insertPragma:C}=z0(),S=Q0(),j=ro(),X=X0(),{hasFlowShorthandAnnotationComment:te,hasComment:$,CommentCheckFlags:K,isTheOnlyJsxElementInMarkdown:G,isLineComment:re,isNextLineEmpty:ee,needsHardlineAfterDanglingComment:De,hasIgnoreComment:F,isCallExpression:J,isMemberExpression:w,markerForIfWithoutBlockAndSameLineComment:R}=pr(),{locStart:y,locEnd:_}=ni(),I=aa(),{printHtmlBinding:q,isVueEventBindingExpression:U}=T2(),{printAngular:z}=_2(),{printJsx:ie,hasJsxIgnoreComment:le}=L2(),{printFlow:ge}=P2(),{printTypescript:ce}=M2(),{printOptionalToken:_e,printBindExpressionCallee:se,printTypeAnnotation:Ue,adjustClause:me,printRestSpread:oe,printDefiniteToken:qe,printDirective:st}=Ei(),{printImportDeclaration:Ge,printExportDeclaration:yt,printExportAllDeclaration:be,printModuleSpecifier:Me}=ng(),{printTernary:ht}=rg(),{printTemplateLiteral:mt}=no(),{printArray:Jt}=Wo(),{printObject:$e}=lp(),{printClass:Se,printClassMethod:Je,printClassProperty:Ze}=Yo(),{printProperty:At}=Jo(),{printFunction:_t,printArrowFunction:Mt,printMethod:cn,printReturnStatement:Pn,printThrowStatement:_n}=Sl(),{printCallExpression:ln}=eg(),{printVariableDeclarator:yn,printAssignmentExpression:ct}=Go(),{printBinaryishExpression:Ae}=op(),{printSwitchCaseConsequent:gt}=ig(),{printMemberExpression:Ie}=Z0(),{printBlock:dt,printBlockBody:en}=sg(),{printComment:Ut}=I2(),{printLiteral:bt}=O2(),{printDecorators:V}=up();function Le(Vt,un,It,Ar){let sn=at(Vt,un,It,Ar);if(!sn)return"";let Dr=Vt.getValue(),{type:nn}=Dr;if(nn==="ClassMethod"||nn==="ClassPrivateMethod"||nn==="ClassProperty"||nn==="ClassAccessorProperty"||nn==="AccessorProperty"||nn==="TSAbstractAccessorProperty"||nn==="PropertyDefinition"||nn==="TSAbstractPropertyDefinition"||nn==="ClassPrivateProperty"||nn==="MethodDefinition"||nn==="TSAbstractMethodDefinition"||nn==="TSDeclareMethod")return sn;let En=[sn],Ln=V(Vt,un,It),ar=Dr.type==="ClassExpression"&&Ln;if(Ln&&(En=[...Ln,sn],!ar))return E(En);if(!j(Vt,un))return Ar&&Ar.needsSemi&&En.unshift(";"),En.length===1&&En[0]===sn?sn:En;if(ar&&(En=[x([f,...En])]),En.unshift("("),Ar&&Ar.needsSemi&&En.unshift(";"),te(Dr)){let[an]=Dr.trailingComments;En.push(" /*",an.value.trimStart(),"*/"),an.printed=!0}return ar&&En.push(f),En.push(")"),En}function at(Vt,un,It,Ar){let sn=Vt.getValue(),Dr=un.semi?";":"";if(!sn)return"";if(typeof sn=="string")return sn;for(let En of[bt,q,z,ie,ge,ce]){let Ln=En(Vt,un,It);if(typeof Ln<"u")return Ln}let nn=[];switch(sn.type){case"JsExpressionRoot":return It("node");case"JsonRoot":return[It("node"),d];case"File":return sn.program&&sn.program.interpreter&&nn.push(It(["program","interpreter"])),nn.push(It("program")),nn;case"Program":return en(Vt,un,It);case"EmptyStatement":return"";case"ExpressionStatement":{if(un.parser==="__vue_event_binding"||un.parser==="__vue_ts_event_binding"){let Ln=Vt.getParentNode();if(Ln.type==="Program"&&Ln.body.length===1&&Ln.body[0]===sn)return[It("expression"),U(sn.expression)?";":""]}let En=p(Vt,un,!0,Ln=>{let{marker:ar}=Ln;return ar===R});return[It("expression"),G(un,Vt)?"":Dr,En?[" ",En]:""]}case"ParenthesizedExpression":return!$(sn.expression)&&(sn.expression.type==="ObjectExpression"||sn.expression.type==="ArrayExpression")?["(",It("expression"),")"]:E(["(",x([h,It("expression")]),h,")"]);case"AssignmentExpression":return ct(Vt,un,It);case"VariableDeclarator":return yn(Vt,un,It);case"BinaryExpression":case"LogicalExpression":return Ae(Vt,un,It);case"AssignmentPattern":return[It("left")," = ",It("right")];case"OptionalMemberExpression":case"MemberExpression":return Ie(Vt,un,It);case"MetaProperty":return[It("meta"),".",It("property")];case"BindExpression":return sn.object&&nn.push(It("object")),nn.push(E(x([h,se(Vt,un,It)]))),nn;case"Identifier":return[sn.name,_e(Vt),qe(Vt),Ue(Vt,un,It)];case"V8IntrinsicIdentifier":return["%",sn.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return oe(Vt,un,It);case"FunctionDeclaration":case"FunctionExpression":return _t(Vt,It,un,Ar);case"ArrowFunctionExpression":return Mt(Vt,un,It,Ar);case"YieldExpression":return nn.push("yield"),sn.delegate&&nn.push("*"),sn.argument&&nn.push(" ",It("argument")),nn;case"AwaitExpression":{if(nn.push("await"),sn.argument){nn.push(" ",It("argument"));let En=Vt.getParentNode();if(J(En)&&En.callee===sn||w(En)&&En.object===sn){nn=[x([h,...nn]),h];let Ln=Vt.findAncestor(ar=>ar.type==="AwaitExpression"||ar.type==="BlockStatement");if(!Ln||Ln.type!=="AwaitExpression")return E(nn)}}return nn}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return yt(Vt,un,It);case"ExportAllDeclaration":return be(Vt,un,It);case"ImportDeclaration":return Ge(Vt,un,It);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Me(Vt,un,It);case"ImportAttribute":return[It("key"),": ",It("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return dt(Vt,un,It);case"ThrowStatement":return _n(Vt,un,It);case"ReturnStatement":return Pn(Vt,un,It);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ln(Vt,un,It);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return $e(Vt,un,It);case"ObjectProperty":case"Property":return sn.method||sn.kind==="get"||sn.kind==="set"?cn(Vt,un,It):At(Vt,un,It);case"ObjectMethod":return cn(Vt,un,It);case"Decorator":return["@",It("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Jt(Vt,un,It);case"SequenceExpression":{let En=Vt.getParentNode(0);if(En.type==="ExpressionStatement"||En.type==="ForStatement"){let Ln=[];return Vt.each((ar,an)=>{an===0?Ln.push(It()):Ln.push(",",x([f,It()]))},"expressions"),E(Ln)}return E(D([",",f],Vt.map(It,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[It("value"),Dr];case"DirectiveLiteral":return st(sn.extra.raw,un);case"UnaryExpression":return nn.push(sn.operator),/[a-z]$/.test(sn.operator)&&nn.push(" "),$(sn.argument)?nn.push(E(["(",x([h,It("argument")]),h,")"])):nn.push(It("argument")),nn;case"UpdateExpression":return nn.push(It("argument"),sn.operator),sn.prefix&&nn.reverse(),nn;case"ConditionalExpression":return ht(Vt,un,It);case"VariableDeclaration":{let En=Vt.map(It,"declarations"),Ln=Vt.getParentNode(),ar=Ln.type==="ForStatement"||Ln.type==="ForInStatement"||Ln.type==="ForOfStatement",an=sn.declarations.some(xn=>xn.init),Tn;return En.length===1&&!$(sn.declarations[0])?Tn=En[0]:En.length>0&&(Tn=x(En[0])),nn=[sn.declare?"declare ":"",sn.kind,Tn?[" ",Tn]:"",x(En.slice(1).map(xn=>[",",an&&!ar?d:f,xn]))],ar&&Ln.body!==sn||nn.push(Dr),E(nn)}case"WithStatement":return E(["with (",It("object"),")",me(sn.body,It("body"))]);case"IfStatement":{let En=me(sn.consequent,It("consequent")),Ln=E(["if (",E([x([h,It("test")]),h]),")",En]);if(nn.push(Ln),sn.alternate){let ar=$(sn.consequent,K.Trailing|K.Line)||De(sn),an=sn.consequent.type==="BlockStatement"&&!ar;nn.push(an?" ":d),$(sn,K.Dangling)&&nn.push(p(Vt,un,!0),ar?d:" "),nn.push("else",E(me(sn.alternate,It("alternate"),sn.alternate.type==="IfStatement")))}return nn}case"ForStatement":{let En=me(sn.body,It("body")),Ln=p(Vt,un,!0),ar=Ln?[Ln,h]:"";return!sn.init&&!sn.test&&!sn.update?[ar,E(["for (;;)",En])]:[ar,E(["for (",E([x([h,It("init"),";",f,It("test"),";",f,It("update")]),h]),")",En])]}case"WhileStatement":return E(["while (",E([x([h,It("test")]),h]),")",me(sn.body,It("body"))]);case"ForInStatement":return E(["for (",It("left")," in ",It("right"),")",me(sn.body,It("body"))]);case"ForOfStatement":return E(["for",sn.await?" await":""," (",It("left")," of ",It("right"),")",me(sn.body,It("body"))]);case"DoWhileStatement":{let En=me(sn.body,It("body"));return nn=[E(["do",En])],sn.body.type==="BlockStatement"?nn.push(" "):nn.push(d),nn.push("while (",E([x([h,It("test")]),h]),")",Dr),nn}case"DoExpression":return[sn.async?"async ":"","do ",It("body")];case"BreakStatement":return nn.push("break"),sn.label&&nn.push(" ",It("label")),nn.push(Dr),nn;case"ContinueStatement":return nn.push("continue"),sn.label&&nn.push(" ",It("label")),nn.push(Dr),nn;case"LabeledStatement":return sn.body.type==="EmptyStatement"?[It("label"),":;"]:[It("label"),": ",It("body")];case"TryStatement":return["try ",It("block"),sn.handler?[" ",It("handler")]:"",sn.finalizer?[" finally ",It("finalizer")]:""];case"CatchClause":if(sn.param){let En=$(sn.param,ar=>!I(ar)||ar.leading&&v(un.originalText,_(ar))||ar.trailing&&v(un.originalText,y(ar),{backwards:!0})),Ln=It("param");return["catch ",En?["(",x([h,Ln]),h,") "]:["(",Ln,") "],It("body")]}return["catch ",It("body")];case"SwitchStatement":return[E(["switch (",x([h,It("discriminant")]),h,")"])," {",sn.cases.length>0?x([d,D(d,Vt.map((En,Ln,ar)=>{let an=En.getValue();return[It(),Ln!==ar.length-1&&ee(an,un)?d:""]},"cases"))]):"",d,"}"];case"SwitchCase":{sn.test?nn.push("case ",It("test"),":"):nn.push("default:"),$(sn,K.Dangling)&&nn.push(" ",p(Vt,un,!0));let En=sn.consequent.filter(Ln=>Ln.type!=="EmptyStatement");if(En.length>0){let Ln=gt(Vt,un,It);nn.push(En.length===1&&En[0].type==="BlockStatement"?[" ",Ln]:x([d,Ln]))}return nn}case"DebuggerStatement":return["debugger",Dr];case"ClassDeclaration":case"ClassExpression":return Se(Vt,un,It);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Je(Vt,un,It);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Ze(Vt,un,It);case"TemplateElement":return P(sn.value.raw);case"TemplateLiteral":return mt(Vt,It,un);case"TaggedTemplateExpression":return[It("tag"),It("typeParameters"),It("quasi")];case"PrivateIdentifier":return["#",It("name")];case"PrivateName":return["#",It("id")];case"InterpreterDirective":return nn.push("#!",sn.value,d),ee(sn,un)&&nn.push(d),nn;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{nn.push("module {");let En=It("body");return En&&nn.push(x([d,En]),d),nn.push("}"),nn}default:throw new Error("unknown type: "+JSON.stringify(sn.type))}}function Pt(Vt){return Vt.type&&!I(Vt)&&!re(Vt)&&Vt.type!=="EmptyStatement"&&Vt.type!=="TemplateElement"&&Vt.type!=="Import"&&Vt.type!=="TSEmptyBodyFunctionExpression"}A.exports={preprocess:X,print:Le,embed:T,insertPragma:C,massageAstNode:k,hasPrettierIgnore(Vt){return F(Vt)||le(Vt)},willPrintOwnComments:S.willPrintOwnComments,canAttachComment:Pt,printComment:Ut,isBlockComment:I,handleComments:{avoidAstMutation:!0,ownLine:S.handleOwnLineComment,endOfLine:S.handleEndOfLineComment,remaining:S.handleRemainingComment},getCommentChildNodes:S.getCommentChildNodes}}}),R2=Te({"src/language-js/printer-estree-json.js"(m,A){Re();var{builders:{hardline:p,indent:v,join:D}}=wn(),f=X0();function d(P,T,k){let C=P.getValue();switch(C.type){case"JsonRoot":return[k("node"),p];case"ArrayExpression":{if(C.elements.length===0)return"[]";let S=P.map(()=>P.getValue()===null?"null":k(),"elements");return["[",v([p,D([",",p],S)]),p,"]"]}case"ObjectExpression":return C.properties.length===0?"{}":["{",v([p,D([",",p],P.map(k,"properties"))]),p,"}"];case"ObjectProperty":return[k("key"),": ",k("value")];case"UnaryExpression":return[C.operator==="+"?"":C.operator,k("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return C.value?"true":"false";case"StringLiteral":return JSON.stringify(C.value);case"NumericLiteral":return h(P)?JSON.stringify(String(C.value)):JSON.stringify(C.value);case"Identifier":return h(P)?JSON.stringify(C.name):C.name;case"TemplateLiteral":return k(["quasis",0]);case"TemplateElement":return JSON.stringify(C.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(C.type))}}function h(P){return P.getName()==="key"&&P.getParentNode().type==="ObjectProperty"}var E=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function x(P,T){let{type:k}=P;if(k==="ObjectProperty"){let{key:C}=P;C.type==="Identifier"?T.key={type:"StringLiteral",value:C.name}:C.type==="NumericLiteral"&&(T.key={type:"StringLiteral",value:String(C.value)});return}if(k==="UnaryExpression"&&P.operator==="+")return T.argument;if(k==="ArrayExpression"){for(let[C,S]of P.elements.entries())S===null&&T.elements.splice(C,0,{type:"NullLiteral"});return}if(k==="TemplateLiteral")return{type:"StringLiteral",value:P.quasis[0].value.cooked}}x.ignoredProperties=E,A.exports={preprocess:f,print:d,massageAstNode:x}}}),io=Te({"src/common/common-options.js"(m,A){Re();var p="Common";A.exports={bracketSpacing:{since:"0.0.0",category:p,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:p,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:p,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:p,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:p,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),$2=Te({"src/language-js/options.js"(m,A){Re();var p=io(),v="JavaScript";A.exports={arrowParens:{since:"1.9.0",category:v,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:p.bracketSameLine,bracketSpacing:p.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:v,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:v,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:p.singleQuote,jsxSingleQuote:{since:"1.15.0",category:v,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:v,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:v,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:p.singleAttributePerLine}}}),V2=Te({"src/language-js/parse/parsers.js"(){Re()}}),cp=Te({"node_modules/linguist-languages/data/JavaScript.json"(m,A){A.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),q2=Te({"node_modules/linguist-languages/data/TypeScript.json"(m,A){A.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),U2=Te({"node_modules/linguist-languages/data/TSX.json"(m,A){A.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),ag=Te({"node_modules/linguist-languages/data/JSON.json"(m,A){A.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),W2=Te({"node_modules/linguist-languages/data/JSON with Comments.json"(m,A){A.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),G2=Te({"node_modules/linguist-languages/data/JSON5.json"(m,A){A.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),J2=Te({"src/language-js/index.js"(m,A){Re();var p=sa(),v=j2(),D=R2(),f=$2(),d=V2(),h=[p(cp(),x=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...x.interpreters,"zx"],extensions:[...x.extensions.filter(P=>P!==".jsx"),".wxs"]})),p(cp(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),p(cp(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),p(q2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),p(U2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),p(ag(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),p(ag(),x=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:x.extensions.filter(P=>P!==".jsonl")})),p(W2(),x=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...x.filenames,".eslintrc",".swcrc"]})),p(G2(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],E={estree:v,"estree-json":D};A.exports={languages:h,options:f,printers:E,parsers:d}}}),Y2=Te({"src/language-css/clean.js"(m,A){Re();var{isFrontMatterNode:p}=ye(),v=Vr(),D=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function f(h,E,x){if(p(h)&&h.lang==="yaml"&&delete E.value,h.type==="css-comment"&&x.type==="css-root"&&x.nodes.length>0&&((x.nodes[0]===h||p(x.nodes[0])&&x.nodes[1]===h)&&(delete E.text,/^\*\s*@(?:format|prettier)\s*$/.test(h.text))||x.type==="css-root"&&v(x.nodes)===h))return null;if(h.type==="value-root"&&delete E.text,(h.type==="media-query"||h.type==="media-query-list"||h.type==="media-feature-expression")&&delete E.value,h.type==="css-rule"&&delete E.params,h.type==="selector-combinator"&&(E.value=E.value.replace(/\s+/g," ")),h.type==="media-feature"&&(E.value=E.value.replace(/ /g,"")),(h.type==="value-word"&&(h.isColor&&h.isHex||["initial","inherit","unset","revert"].includes(E.value.replace().toLowerCase()))||h.type==="media-feature"||h.type==="selector-root-invalid"||h.type==="selector-pseudo")&&(E.value=E.value.toLowerCase()),h.type==="css-decl"&&(E.prop=E.prop.toLowerCase()),(h.type==="css-atrule"||h.type==="css-import")&&(E.name=E.name.toLowerCase()),h.type==="value-number"&&(E.unit=E.unit.toLowerCase()),(h.type==="media-feature"||h.type==="media-keyword"||h.type==="media-type"||h.type==="media-unknown"||h.type==="media-url"||h.type==="media-value"||h.type==="selector-attribute"||h.type==="selector-string"||h.type==="selector-class"||h.type==="selector-combinator"||h.type==="value-string")&&E.value&&(E.value=d(E.value)),h.type==="selector-attribute"&&(E.attribute=E.attribute.trim(),E.namespace&&typeof E.namespace=="string"&&(E.namespace=E.namespace.trim(),E.namespace.length===0&&(E.namespace=!0)),E.value&&(E.value=E.value.trim().replace(/^["']|["']$/g,""),delete E.quoted)),(h.type==="media-value"||h.type==="media-type"||h.type==="value-number"||h.type==="selector-root-invalid"||h.type==="selector-class"||h.type==="selector-combinator"||h.type==="selector-tag")&&E.value&&(E.value=E.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(P,T,k)=>{let C=Number(T);return Number.isNaN(C)?P:C+k.toLowerCase()})),h.type==="selector-tag"){let P=h.value.toLowerCase();["from","to"].includes(P)&&(E.value=P)}if(h.type==="css-atrule"&&h.name.toLowerCase()==="supports"&&delete E.value,h.type==="selector-unknown"&&delete E.value,h.type==="value-comma_group"){let P=h.groups.findIndex(T=>T.type==="value-number"&&T.unit==="...");P!==-1&&(E.groups[P].unit="",E.groups.splice(P+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(h.type==="value-comma_group"&&h.groups.some(P=>P.type==="value-atword"&&P.value.endsWith("[")||P.type==="value-word"&&P.value.startsWith("]")))return{type:"value-atword",value:h.groups.map(P=>P.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}f.ignoredProperties=D;function d(h){return h.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}A.exports=f}}),fp=Te({"src/utils/front-matter/print.js"(m,A){Re();var{builders:{hardline:p,markAsRoot:v}}=wn();function D(f,d){if(f.lang==="yaml"){let h=f.value.trim(),E=h?d(h,{parser:"yaml"},{stripTrailingHardline:!0}):"";return v([f.startDelimiter,p,E,E?p:"",f.endDelimiter])}}A.exports=D}}),H2=Te({"src/language-css/embed.js"(m,A){Re();var{builders:{hardline:p}}=wn(),v=fp();function D(f,d,h){let E=f.getValue();if(E.type==="front-matter"){let x=v(E,h);return x?[x,p]:""}}A.exports=D}}),og=Te({"src/utils/front-matter/parse.js"(m,A){Re();var p=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function v(D){let f=D.match(p);if(!f)return{content:D};let{startDelimiter:d,language:h,value:E="",endDelimiter:x}=f.groups,P=h.trim()||"yaml";if(d==="+++"&&(P="toml"),P!=="yaml"&&d!==x)return{content:D};let[T]=f;return{frontMatter:{type:"front-matter",lang:P,value:E,startDelimiter:d,endDelimiter:x,raw:T.replace(/\n$/,"")},content:T.replace(/[^\n]/g," ")+D.slice(T.length)}}A.exports=v}}),z2=Te({"src/language-css/pragma.js"(m,A){Re();var p=z0(),v=og();function D(d){return p.hasPragma(v(d).content)}function f(d){let{frontMatter:h,content:E}=v(d);return(h?h.raw+`
218
-
219
- `:"")+p.insertPragma(E)}A.exports={hasPragma:D,insertPragma:f}}}),Q2=Te({"src/language-css/utils/index.js"(m,A){Re();var p=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function v($e,Se){let Je=Array.isArray(Se)?Se:[Se],Ze=-1,At;for(;At=$e.getParentNode(++Ze);)if(Je.includes(At.type))return Ze;return-1}function D($e,Se){let Je=v($e,Se);return Je===-1?null:$e.getParentNode(Je)}function f($e){var Se;let Je=D($e,"css-decl");return Je==null||(Se=Je.prop)===null||Se===void 0?void 0:Se.toLowerCase()}var d=new Set(["initial","inherit","unset","revert"]);function h($e){return d.has($e.toLowerCase())}function E($e,Se){let Je=D($e,"css-atrule");return Je?.name&&Je.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Se.toLowerCase())}function x($e){return $e.includes("$")||$e.includes("@")||$e.includes("#")||$e.startsWith("%")||$e.startsWith("--")||$e.startsWith(":--")||$e.includes("(")&&$e.includes(")")?$e:$e.toLowerCase()}function P($e,Se){var Je;let Ze=D($e,"value-func");return(Ze==null||(Je=Ze.value)===null||Je===void 0?void 0:Je.toLowerCase())===Se}function T($e){var Se;let Je=D($e,"css-rule"),Ze=Je==null||(Se=Je.raws)===null||Se===void 0?void 0:Se.selector;return Ze&&(Ze.startsWith(":import")||Ze.startsWith(":export"))}function k($e,Se){let Je=Array.isArray(Se)?Se:[Se],Ze=D($e,"css-atrule");return Ze&&Je.includes(Ze.name.toLowerCase())}function C($e){let Se=$e.getValue(),Je=D($e,"css-atrule");return Je?.name==="import"&&Se.groups[0].value==="url"&&Se.groups.length===2}function S($e){return $e.type==="value-func"&&$e.value.toLowerCase()==="url"}function j($e,Se){var Je;let Ze=(Je=$e.getParentNode())===null||Je===void 0?void 0:Je.nodes;return Ze&&Ze.indexOf(Se)===Ze.length-1}function X($e){let{selector:Se}=$e;return Se?typeof Se=="string"&&/^@.+:.*$/.test(Se)||Se.value&&/^@.+:.*$/.test(Se.value):!1}function te($e){return $e.type==="value-word"&&["from","through","end"].includes($e.value)}function $($e){return $e.type==="value-word"&&["and","or","not"].includes($e.value)}function K($e){return $e.type==="value-word"&&$e.value==="in"}function G($e){return $e.type==="value-operator"&&$e.value==="*"}function re($e){return $e.type==="value-operator"&&$e.value==="/"}function ee($e){return $e.type==="value-operator"&&$e.value==="+"}function De($e){return $e.type==="value-operator"&&$e.value==="-"}function F($e){return $e.type==="value-operator"&&$e.value==="%"}function J($e){return G($e)||re($e)||ee($e)||De($e)||F($e)}function w($e){return $e.type==="value-word"&&["==","!="].includes($e.value)}function R($e){return $e.type==="value-word"&&["<",">","<=",">="].includes($e.value)}function y($e){return $e.type==="css-atrule"&&["if","else","for","each","while"].includes($e.name)}function _($e){var Se;return((Se=$e.raws)===null||Se===void 0?void 0:Se.params)&&/^\(\s*\)$/.test($e.raws.params)}function I($e){return $e.name.startsWith("prettier-placeholder")}function q($e){return $e.prop.startsWith("@prettier-placeholder")}function U($e,Se){return $e.value==="$$"&&$e.type==="value-func"&&Se?.type==="value-word"&&!Se.raws.before}function z($e){var Se,Je;return((Se=$e.value)===null||Se===void 0?void 0:Se.type)==="value-root"&&((Je=$e.value.group)===null||Je===void 0?void 0:Je.type)==="value-value"&&$e.prop.toLowerCase()==="composes"}function ie($e){var Se,Je,Ze;return((Se=$e.value)===null||Se===void 0||(Je=Se.group)===null||Je===void 0||(Ze=Je.group)===null||Ze===void 0?void 0:Ze.type)==="value-paren_group"&&$e.value.group.group.open!==null&&$e.value.group.group.close!==null}function le($e){var Se;return((Se=$e.raws)===null||Se===void 0?void 0:Se.before)===""}function ge($e){var Se,Je;return $e.type==="value-comma_group"&&((Se=$e.groups)===null||Se===void 0||(Je=Se[1])===null||Je===void 0?void 0:Je.type)==="value-colon"}function ce($e){var Se;return $e.type==="value-paren_group"&&((Se=$e.groups)===null||Se===void 0?void 0:Se[0])&&ge($e.groups[0])}function _e($e){var Se;let Je=$e.getValue();if(Je.groups.length===0)return!1;let Ze=$e.getParentNode(1);if(!ce(Je)&&!(Ze&&ce(Ze)))return!1;let At=D($e,"css-decl");return!!(At!=null&&(Se=At.prop)!==null&&Se!==void 0&&Se.startsWith("$")||ce(Ze)||Ze.type==="value-func")}function se($e){return $e.type==="value-comment"&&$e.inline}function Ue($e){return $e.type==="value-word"&&$e.value==="#"}function me($e){return $e.type==="value-word"&&$e.value==="{"}function oe($e){return $e.type==="value-word"&&$e.value==="}"}function qe($e){return["value-word","value-atword"].includes($e.type)}function st($e){return $e?.type==="value-colon"}function Ge($e,Se){if(!ge(Se))return!1;let{groups:Je}=Se,Ze=Je.indexOf($e);return Ze===-1?!1:st(Je[Ze+1])}function yt($e){return $e.value&&["not","and","or"].includes($e.value.toLowerCase())}function be($e){return $e.type!=="value-func"?!1:p.has($e.value.toLowerCase())}function Me($e){return/\/\//.test($e.split(/[\n\r]/).pop())}function ht($e){return $e?.type==="value-atword"&&$e.value.startsWith("prettier-placeholder-")}function mt($e,Se){var Je,Ze;if(((Je=$e.open)===null||Je===void 0?void 0:Je.value)!=="("||((Ze=$e.close)===null||Ze===void 0?void 0:Ze.value)!==")"||$e.groups.some(At=>At.type!=="value-comma_group"))return!1;if(Se.type==="value-comma_group"){let At=Se.groups.indexOf($e)-1,_t=Se.groups[At];if(_t?.type==="value-word"&&_t.value==="with")return!0}return!1}function Jt($e){var Se,Je;return $e.type==="value-paren_group"&&((Se=$e.open)===null||Se===void 0?void 0:Se.value)==="("&&((Je=$e.close)===null||Je===void 0?void 0:Je.value)===")"}A.exports={getAncestorCounter:v,getAncestorNode:D,getPropOfDeclNode:f,maybeToLowerCase:x,insideValueFunctionNode:P,insideICSSRuleNode:T,insideAtRuleNode:k,insideURLFunctionInImportAtRuleNode:C,isKeyframeAtRuleKeywords:E,isWideKeywords:h,isLastNode:j,isSCSSControlDirectiveNode:y,isDetachedRulesetDeclarationNode:X,isRelationalOperatorNode:R,isEqualityOperatorNode:w,isMultiplicationNode:G,isDivisionNode:re,isAdditionNode:ee,isSubtractionNode:De,isModuloNode:F,isMathOperatorNode:J,isEachKeywordNode:K,isForKeywordNode:te,isURLFunctionNode:S,isIfElseKeywordNode:$,hasComposesNode:z,hasParensAroundNode:ie,hasEmptyRawBefore:le,isDetachedRulesetCallNode:_,isTemplatePlaceholderNode:I,isTemplatePropNode:q,isPostcssSimpleVarNode:U,isKeyValuePairNode:ge,isKeyValuePairInParenGroupNode:ce,isKeyInValuePairNode:Ge,isSCSSMapItemNode:_e,isInlineValueCommentNode:se,isHashNode:Ue,isLeftCurlyBraceNode:me,isRightCurlyBraceNode:oe,isWordNode:qe,isColonNode:st,isMediaAndSupportsKeywords:yt,isColorAdjusterFuncNode:be,lastLineHasInlineComment:Me,isAtWordPlaceholderNode:ht,isConfigurationNode:mt,isParenGroupNode:Jt}}}),X2=Te({"src/utils/line-column-to-index.js"(m,A){Re(),A.exports=function(p,v){let D=0;for(let f=0;f<p.line-1;++f)D=v.indexOf(`
220
- `,D)+1;return D+p.column}}}),K2=Te({"src/language-css/loc.js"(m,A){Re();var{skipEverythingButNewLine:p}=Lt(),v=Vr(),D=X2();function f(C,S){return typeof C.sourceIndex=="number"?C.sourceIndex:C.source?D(C.source.start,S)-1:null}function d(C,S){if(C.type==="css-comment"&&C.inline)return p(S,C.source.startOffset);let j=C.nodes&&v(C.nodes);return j&&C.source&&!C.source.end&&(C=j),C.source&&C.source.end?D(C.source.end,S):null}function h(C,S){C.source&&(C.source.startOffset=f(C,S),C.source.endOffset=d(C,S));for(let j in C){let X=C[j];j==="source"||!X||typeof X!="object"||(X.type==="value-root"||X.type==="value-unknown"?E(X,x(C),X.text||X.value):h(X,S))}}function E(C,S,j){C.source&&(C.source.startOffset=f(C,j)+S,C.source.endOffset=d(C,j)+S);for(let X in C){let te=C[X];X==="source"||!te||typeof te!="object"||E(te,S,j)}}function x(C){let S=C.source.startOffset;return typeof C.prop=="string"&&(S+=C.prop.length),C.type==="css-atrule"&&typeof C.name=="string"&&(S+=1+C.name.length+C.raws.afterName.match(/^\s*:?\s*/)[0].length),C.type!=="css-atrule"&&C.raws&&typeof C.raws.between=="string"&&(S+=C.raws.between.length),S}function P(C){let S="initial",j="initial",X,te=!1,$=[];for(let K=0;K<C.length;K++){let G=C[K];switch(S){case"initial":if(G==="'"){S="single-quotes";continue}if(G==='"'){S="double-quotes";continue}if((G==="u"||G==="U")&&C.slice(K,K+4).toLowerCase()==="url("){S="url",K+=3;continue}if(G==="*"&&C[K-1]==="/"){S="comment-block";continue}if(G==="/"&&C[K-1]==="/"){S="comment-inline",X=K-1;continue}continue;case"single-quotes":if(G==="'"&&C[K-1]!=="\\"&&(S=j,j="initial"),G===`
221
- `||G==="\r")return C;continue;case"double-quotes":if(G==='"'&&C[K-1]!=="\\"&&(S=j,j="initial"),G===`
222
- `||G==="\r")return C;continue;case"url":if(G===")"&&(S="initial"),G===`
223
- `||G==="\r")return C;if(G==="'"){S="single-quotes",j="url";continue}if(G==='"'){S="double-quotes",j="url";continue}continue;case"comment-block":G==="/"&&C[K-1]==="*"&&(S="initial");continue;case"comment-inline":(G==='"'||G==="'"||G==="*")&&(te=!0),(G===`
224
- `||G==="\r")&&(te&&$.push([X,K]),S="initial",te=!1);continue}}for(let[K,G]of $)C=C.slice(0,K)+C.slice(K,G).replace(/["'*]/g," ")+C.slice(G);return C}function T(C){return C.source.startOffset}function k(C){return C.source.endOffset}A.exports={locStart:T,locEnd:k,calculateLoc:h,replaceQuotesInInlineComments:P}}}),Z2=Te({"src/language-css/utils/is-less-parser.js"(m,A){Re();function p(v){return v.parser==="css"||v.parser==="less"}A.exports=p}}),eE=Te({"src/language-css/utils/is-scss.js"(m,A){Re();function p(v,D){return v==="less"||v==="scss"?v==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(D)}A.exports=p}}),tE=Te({"src/language-css/utils/css-units.evaluate.js"(m,A){A.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),nE=Te({"src/language-css/utils/print-unit.js"(m,A){Re();var p=tE();function v(D){let f=D.toLowerCase();return Object.prototype.hasOwnProperty.call(p,f)?p[f]:D}A.exports=v}}),rE=Te({"src/language-css/printer-postcss.js"(m,A){Re();var p=Vr(),{printNumber:v,printString:D,hasNewline:f,isFrontMatterNode:d,isNextLineEmpty:h,isNonEmptyArray:E}=ye(),{builders:{join:x,line:P,hardline:T,softline:k,group:C,fill:S,indent:j,dedent:X,ifBreak:te,breakParent:$},utils:{removeLines:K,getDocParts:G}}=wn(),re=Y2(),ee=H2(),{insertPragma:De}=z2(),{getAncestorNode:F,getPropOfDeclNode:J,maybeToLowerCase:w,insideValueFunctionNode:R,insideICSSRuleNode:y,insideAtRuleNode:_,insideURLFunctionInImportAtRuleNode:I,isKeyframeAtRuleKeywords:q,isWideKeywords:U,isLastNode:z,isSCSSControlDirectiveNode:ie,isDetachedRulesetDeclarationNode:le,isRelationalOperatorNode:ge,isEqualityOperatorNode:ce,isMultiplicationNode:_e,isDivisionNode:se,isAdditionNode:Ue,isSubtractionNode:me,isMathOperatorNode:oe,isEachKeywordNode:qe,isForKeywordNode:st,isURLFunctionNode:Ge,isIfElseKeywordNode:yt,hasComposesNode:be,hasParensAroundNode:Me,hasEmptyRawBefore:ht,isKeyValuePairNode:mt,isKeyInValuePairNode:Jt,isDetachedRulesetCallNode:$e,isTemplatePlaceholderNode:Se,isTemplatePropNode:Je,isPostcssSimpleVarNode:Ze,isSCSSMapItemNode:At,isInlineValueCommentNode:_t,isHashNode:Mt,isLeftCurlyBraceNode:cn,isRightCurlyBraceNode:Pn,isWordNode:_n,isColonNode:ln,isMediaAndSupportsKeywords:yn,isColorAdjusterFuncNode:ct,lastLineHasInlineComment:Ae,isAtWordPlaceholderNode:gt,isConfigurationNode:Ie,isParenGroupNode:dt}=Q2(),{locStart:en,locEnd:Ut}=K2(),bt=Z2(),V=eE(),Le=nE();function at(an){return an.trailingComma==="es5"||an.trailingComma==="all"}function Pt(an,Tn,xn){let pt=an.getValue();if(!pt)return"";if(typeof pt=="string")return pt;switch(pt.type){case"front-matter":return[pt.raw,T];case"css-root":{let Rn=Vt(an,Tn,xn),Vn=pt.raws.after.trim();return Vn.startsWith(";")&&(Vn=Vn.slice(1).trim()),[Rn,Vn?` ${Vn}`:"",G(Rn).length>0?T:""]}case"css-comment":{let Rn=pt.inline||pt.raws.inline,Vn=Tn.originalText.slice(en(pt),Ut(pt));return Rn?Vn.trimEnd():Vn}case"css-rule":return[xn("selector"),pt.important?" !important":"",pt.nodes?[pt.selector&&pt.selector.type==="selector-unknown"&&Ae(pt.selector.value)?P:" ","{",pt.nodes.length>0?j([T,Vt(an,Tn,xn)]):"",T,"}",le(pt)?";":""]:";"];case"css-decl":{let Rn=an.getParentNode(),{between:Vn}=pt.raws,fr=Vn.trim(),Ci=fr===":",ae=be(pt)?K(xn("value")):xn("value");return!Ci&&Ae(fr)&&(ae=j([T,X(ae)])),[pt.raws.before.replace(/[\s;]/g,""),Rn.type==="css-atrule"&&Rn.variable||y(an)?pt.prop:w(pt.prop),fr.startsWith("//")?" ":"",fr,pt.extend?"":" ",bt(Tn)&&pt.extend&&pt.selector?["extend(",xn("selector"),")"]:"",ae,pt.raws.important?pt.raws.important.replace(/\s*!\s*important/i," !important"):pt.important?" !important":"",pt.raws.scssDefault?pt.raws.scssDefault.replace(/\s*!default/i," !default"):pt.scssDefault?" !default":"",pt.raws.scssGlobal?pt.raws.scssGlobal.replace(/\s*!global/i," !global"):pt.scssGlobal?" !global":"",pt.nodes?[" {",j([k,Vt(an,Tn,xn)]),k,"}"]:Je(pt)&&!Rn.raws.semicolon&&Tn.originalText[Ut(pt)-1]!==";"?"":Tn.__isHTMLStyleAttribute&&z(an,pt)?te(";"):";"]}case"css-atrule":{let Rn=an.getParentNode(),Vn=Se(pt)&&!Rn.raws.semicolon&&Tn.originalText[Ut(pt)-1]!==";";if(bt(Tn)){if(pt.mixin)return[xn("selector"),pt.important?" !important":"",Vn?"":";"];if(pt.function)return[pt.name,xn("params"),Vn?"":";"];if(pt.variable)return["@",pt.name,": ",pt.value?xn("value"):"",pt.raws.between.trim()?pt.raws.between.trim()+" ":"",pt.nodes?["{",j([pt.nodes.length>0?k:"",Vt(an,Tn,xn)]),k,"}"]:"",Vn?"":";"]}return["@",$e(pt)||pt.name.endsWith(":")?pt.name:w(pt.name),pt.params?[$e(pt)?"":Se(pt)?pt.raws.afterName===""?"":pt.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(pt.raws.afterName)?[T,T]:/^\s*\n/.test(pt.raws.afterName)?T:" ":" ",xn("params")]:"",pt.selector?j([" ",xn("selector")]):"",pt.value?C([" ",xn("value"),ie(pt)?Me(pt)?" ":P:""]):pt.name==="else"?" ":"",pt.nodes?[ie(pt)?"":pt.selector&&!pt.selector.nodes&&typeof pt.selector.value=="string"&&Ae(pt.selector.value)||!pt.selector&&typeof pt.params=="string"&&Ae(pt.params)?P:" ","{",j([pt.nodes.length>0?k:"",Vt(an,Tn,xn)]),k,"}"]:Vn?"":";"]}case"media-query-list":{let Rn=[];return an.each(Vn=>{let fr=Vn.getValue();fr.type==="media-query"&&fr.value===""||Rn.push(xn())},"nodes"),C(j(x(P,Rn)))}case"media-query":return[x(" ",an.map(xn,"nodes")),z(an,pt)?"":","];case"media-type":return Ln(nn(pt.value,Tn));case"media-feature-expression":return pt.nodes?["(",...an.map(xn,"nodes"),")"]:pt.value;case"media-feature":return w(nn(pt.value.replace(/ +/g," "),Tn));case"media-colon":return[pt.value," "];case"media-value":return Ln(nn(pt.value,Tn));case"media-keyword":return nn(pt.value,Tn);case"media-url":return nn(pt.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Tn);case"media-unknown":return pt.value;case"selector-root":return C([_(an,"custom-selector")?[F(an,"css-atrule").customSelector,P]:"",x([",",_(an,["extend","custom-selector","nest"])?P:T],an.map(xn,"nodes"))]);case"selector-selector":return C(j(an.map(xn,"nodes")));case"selector-comment":return pt.value;case"selector-string":return nn(pt.value,Tn);case"selector-tag":{let Rn=an.getParentNode(),Vn=Rn&&Rn.nodes.indexOf(pt),fr=Vn&&Rn.nodes[Vn-1];return[pt.namespace?[pt.namespace===!0?"":pt.namespace.trim(),"|"]:"",fr.type==="selector-nesting"?pt.value:Ln(q(an,pt.value)?pt.value.toLowerCase():pt.value)]}case"selector-id":return["#",pt.value];case"selector-class":return[".",Ln(nn(pt.value,Tn))];case"selector-attribute":{var Ai;return["[",pt.namespace?[pt.namespace===!0?"":pt.namespace.trim(),"|"]:"",pt.attribute.trim(),(Ai=pt.operator)!==null&&Ai!==void 0?Ai:"",pt.value?En(nn(pt.value.trim(),Tn),Tn):"",pt.insensitive?" i":"","]"]}case"selector-combinator":{if(pt.value==="+"||pt.value===">"||pt.value==="~"||pt.value===">>>"){let fr=an.getParentNode();return[fr.type==="selector-selector"&&fr.nodes[0]===pt?"":P,pt.value,z(an,pt)?"":" "]}let Rn=pt.value.trim().startsWith("(")?P:"",Vn=Ln(nn(pt.value.trim(),Tn))||P;return[Rn,Vn]}case"selector-universal":return[pt.namespace?[pt.namespace===!0?"":pt.namespace.trim(),"|"]:"",pt.value];case"selector-pseudo":return[w(pt.value),E(pt.nodes)?C(["(",j([k,x([",",P],an.map(xn,"nodes"))]),k,")"]):""];case"selector-nesting":return pt.value;case"selector-unknown":{let Rn=F(an,"css-rule");if(Rn&&Rn.isSCSSNesterProperty)return Ln(nn(w(pt.value),Tn));let Vn=an.getParentNode();if(Vn.raws&&Vn.raws.selector){let Ci=en(Vn),ae=Ci+Vn.raws.selector.length;return Tn.originalText.slice(Ci,ae).trim()}let fr=an.getParentNode(1);if(Vn.type==="value-paren_group"&&fr&&fr.type==="value-func"&&fr.value==="selector"){let Ci=Ut(Vn.open)+1,ae=en(Vn.close),Ct=Tn.originalText.slice(Ci,ae).trim();return Ae(Ct)?[$,Ct]:Ct}return pt.value}case"value-value":case"value-root":return xn("group");case"value-comment":return Tn.originalText.slice(en(pt),Ut(pt));case"value-comma_group":{let Rn=an.getParentNode(),Vn=an.getParentNode(1),fr=J(an),Ci=fr&&Rn.type==="value-value"&&(fr==="grid"||fr.startsWith("grid-template")),ae=F(an,"css-atrule"),Ct=ae&&ie(ae),mn=pt.groups.some(xi=>_t(xi)),Gn=an.map(xn,"groups"),Jn=[],mi=R(an,"url"),Sr=!1,ei=!1;for(let xi=0;xi<pt.groups.length;++xi){var Qr;Jn.push(Gn[xi]);let Or=pt.groups[xi-1],Fn=pt.groups[xi],Mn=pt.groups[xi+1],Fl=pt.groups[xi+2];if(mi){(Mn&&Ue(Mn)||Ue(Fn))&&Jn.push(" ");continue}if(_(an,"forward")&&Fn.type==="value-word"&&Fn.value&&Or!==void 0&&Or.type==="value-word"&&Or.value==="as"&&Mn.type==="value-operator"&&Mn.value==="*"||!Mn||Fn.type==="value-word"&&Fn.value.endsWith("-")&&gt(Mn))continue;if(Fn.type==="value-string"&&Fn.quoted){let yp=Fn.value.lastIndexOf("#{"),Dp=Fn.value.lastIndexOf("}");yp!==-1&&Dp!==-1?Sr=yp>Dp:yp!==-1?Sr=!0:Dp!==-1&&(Sr=!1)}if(Sr||ln(Fn)||ln(Mn)||Fn.type==="value-atword"&&(Fn.value===""||Fn.value.endsWith("["))||Mn.type==="value-word"&&Mn.value.startsWith("]")||Fn.value==="~"||Fn.value&&Fn.value.includes("\\")&&Mn&&Mn.type!=="value-comment"||Or&&Or.value&&Or.value.indexOf("\\")===Or.value.length-1&&Fn.type==="value-operator"&&Fn.value==="/"||Fn.value==="\\"||Ze(Fn,Mn)||Mt(Fn)||cn(Fn)||Pn(Mn)||cn(Mn)&&ht(Mn)||Pn(Fn)&&ht(Mn)||Fn.value==="--"&&Mt(Mn))continue;let gp=oe(Fn),hg=oe(Mn);if((gp&&Mt(Mn)||hg&&Pn(Fn))&&ht(Mn)||!Or&&se(Fn)||R(an,"calc")&&(Ue(Fn)||Ue(Mn)||me(Fn)||me(Mn))&&ht(Mn))continue;let DA=(Ue(Fn)||me(Fn))&&xi===0&&(Mn.type==="value-number"||Mn.isHex)&&Vn&&ct(Vn)&&!ht(Mn),mg=Fl&&Fl.type==="value-func"||Fl&&_n(Fl)||Fn.type==="value-func"||_n(Fn),gg=Mn.type==="value-func"||_n(Mn)||Or&&Or.type==="value-func"||Or&&_n(Or);if(!(!(_e(Mn)||_e(Fn))&&!R(an,"calc")&&!DA&&(se(Mn)&&!mg||se(Fn)&&!gg||Ue(Mn)&&!mg||Ue(Fn)&&!gg||me(Mn)||me(Fn))&&(ht(Mn)||gp&&(!Or||Or&&oe(Or))))&&!((Tn.parser==="scss"||Tn.parser==="less")&&gp&&Fn.value==="-"&&dt(Mn)&&Ut(Fn)===en(Mn.open)&&Mn.open.value==="(")){if(_t(Fn)){if(Rn.type==="value-paren_group"){Jn.push(X(T));continue}Jn.push(T);continue}if(Ct&&(ce(Mn)||ge(Mn)||yt(Mn)||qe(Fn)||st(Fn))){Jn.push(" ");continue}if(ae&&ae.name.toLowerCase()==="namespace"){Jn.push(" ");continue}if(Ci){Fn.source&&Mn.source&&Fn.source.start.line!==Mn.source.start.line?(Jn.push(T),ei=!0):Jn.push(" ");continue}if(hg){Jn.push(" ");continue}if(!(Mn&&Mn.value==="...")&&!(gt(Fn)&&gt(Mn)&&Ut(Fn)===en(Mn))){if(gt(Fn)&&dt(Mn)&&Ut(Fn)===en(Mn.open)){Jn.push(k);continue}if(Fn.value==="with"&&dt(Mn)){Jn.push(" ");continue}(Qr=Fn.value)!==null&&Qr!==void 0&&Qr.endsWith("#")&&Mn.value==="{"&&dt(Mn.group)||Jn.push(P)}}}return mn&&Jn.push($),ei&&Jn.unshift(T),Ct?C(j(Jn)):I(an)?C(S(Jn)):C(j(S(Jn)))}case"value-paren_group":{let Rn=an.getParentNode();if(Rn&&Ge(Rn)&&(pt.groups.length===1||pt.groups.length>0&&pt.groups[0].type==="value-comma_group"&&pt.groups[0].groups.length>0&&pt.groups[0].groups[0].type==="value-word"&&pt.groups[0].groups[0].value.startsWith("data:")))return[pt.open?xn("open"):"",x(",",an.map(xn,"groups")),pt.close?xn("close"):""];if(!pt.open){let mi=an.map(xn,"groups"),Sr=[];for(let ei=0;ei<mi.length;ei++)ei!==0&&Sr.push([",",P]),Sr.push(mi[ei]);return C(j(S(Sr)))}let Vn=At(an),fr=p(pt.groups),Ci=fr&&fr.type==="value-comment",ae=Jt(pt,Rn),Ct=Ie(pt,Rn),mn=Ct||Vn&&!ae,Gn=Ct||ae,Jn=C([pt.open?xn("open"):"",j([k,x([P],an.map((mi,Sr)=>{let ei=mi.getValue(),xi=Sr===pt.groups.length-1,Or=[xn(),xi?"":","];if(mt(ei)&&ei.type==="value-comma_group"&&ei.groups&&ei.groups[0].type!=="value-paren_group"&&ei.groups[2]&&ei.groups[2].type==="value-paren_group"){let Fn=G(Or[0].contents.contents);Fn[1]=C(Fn[1]),Or=[C(X(Or))]}if(!xi&&ei.type==="value-comma_group"&&E(ei.groups)){let Fn=p(ei.groups);!Fn.source&&Fn.close&&(Fn=Fn.close),Fn.source&&h(Tn.originalText,Fn,Ut)&&Or.push(T)}return Or},"groups"))]),te(!Ci&&V(Tn.parser,Tn.originalText)&&Vn&&at(Tn)?",":""),k,pt.close?xn("close"):""],{shouldBreak:mn});return Gn?X(Jn):Jn}case"value-func":return[pt.value,_(an,"supports")&&yn(pt)?" ":"",xn("group")];case"value-paren":return pt.value;case"value-number":return[ar(pt.value),Le(pt.unit)];case"value-operator":return pt.value;case"value-word":return pt.isColor&&pt.isHex||U(pt.value)?pt.value.toLowerCase():pt.value;case"value-colon":{let Rn=an.getParentNode(),Vn=Rn&&Rn.groups.indexOf(pt),fr=Vn&&Rn.groups[Vn-1];return[pt.value,fr&&typeof fr.value=="string"&&p(fr.value)==="\\"||R(an,"url")?"":P]}case"value-comma":return[pt.value," "];case"value-string":return D(pt.raws.quote+pt.value+pt.raws.quote,Tn);case"value-atword":return["@",pt.value];case"value-unicode-range":return pt.value;case"value-unknown":return pt.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(pt.type)}`)}}function Vt(an,Tn,xn){let pt=[];return an.each((Ai,Qr,Rn)=>{let Vn=Rn[Qr-1];if(Vn&&Vn.type==="css-comment"&&Vn.text.trim()==="prettier-ignore"){let fr=Ai.getValue();pt.push(Tn.originalText.slice(en(fr),Ut(fr)))}else pt.push(xn());Qr!==Rn.length-1&&(Rn[Qr+1].type==="css-comment"&&!f(Tn.originalText,en(Rn[Qr+1]),{backwards:!0})&&!d(Rn[Qr])||Rn[Qr+1].type==="css-atrule"&&Rn[Qr+1].name==="else"&&Rn[Qr].type!=="css-comment"?pt.push(" "):(pt.push(Tn.__isHTMLStyleAttribute?P:T),h(Tn.originalText,Ai.getValue(),Ut)&&!d(Rn[Qr])&&pt.push(T)))},"nodes"),pt}var un=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,It=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Ar=/[A-Za-z]+/g,sn=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Dr=new RegExp(un.source+`|(${sn.source})?(${It.source})(${Ar.source})?`,"g");function nn(an,Tn){return an.replace(un,xn=>D(xn,Tn))}function En(an,Tn){let xn=Tn.singleQuote?"'":'"';return an.includes('"')||an.includes("'")?an:xn+an+xn}function Ln(an){return an.replace(Dr,(Tn,xn,pt,Ai,Qr)=>!pt&&Ai?ar(Ai)+w(Qr||""):Tn)}function ar(an){return v(an).replace(/\.0(?=$|e)/,"")}A.exports={print:Pt,embed:ee,insertPragma:De,massageAstNode:re}}}),iE=Te({"src/language-css/options.js"(m,A){Re();var p=io();A.exports={singleQuote:p.singleQuote}}}),sE=Te({"src/language-css/parsers.js"(){Re()}}),aE=Te({"node_modules/linguist-languages/data/CSS.json"(m,A){A.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),oE=Te({"node_modules/linguist-languages/data/PostCSS.json"(m,A){A.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),uE=Te({"node_modules/linguist-languages/data/Less.json"(m,A){A.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),lE=Te({"node_modules/linguist-languages/data/SCSS.json"(m,A){A.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),cE=Te({"src/language-css/index.js"(m,A){Re();var p=sa(),v=rE(),D=iE(),f=sE(),d=[p(aE(),E=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...E.extensions,".wxss"]})),p(oE(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),p(uE(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),p(lE(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],h={postcss:v};A.exports={languages:d,options:D,printers:h,parsers:f}}}),fE=Te({"src/language-handlebars/loc.js"(m,A){Re();function p(D){return D.loc.start.offset}function v(D){return D.loc.end.offset}A.exports={locStart:p,locEnd:v}}}),pE=Te({"src/language-handlebars/clean.js"(m,A){Re();function p(v,D){if(v.type==="TextNode"){let f=v.chars.trim();if(!f)return null;D.chars=f.replace(/[\t\n\f\r ]+/g," ")}v.type==="AttrNode"&&v.name.toLowerCase()==="class"&&delete D.value}p.ignoredProperties=new Set(["loc","selfClosing"]),A.exports=p}}),dE=Te({"src/language-handlebars/html-void-elements.evaluate.js"(m,A){A.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),hE=Te({"src/language-handlebars/utils.js"(m,A){Re();var p=Vr(),v=dE();function D(G){let re=G.getValue(),ee=G.getParentNode(0);return!!(k(G,["ElementNode"])&&p(ee.children)===re||k(G,["Block"])&&p(ee.body)===re)}function f(G){return G.toUpperCase()===G}function d(G){return T(G,["ElementNode"])&&typeof G.tag=="string"&&!G.tag.startsWith(":")&&(f(G.tag[0])||G.tag.includes("."))}var h=new Set(v);function E(G){return h.has(G.toLowerCase())&&!f(G[0])}function x(G){return G.selfClosing===!0||E(G.tag)||d(G)&&G.children.every(re=>P(re))}function P(G){return T(G,["TextNode"])&&!/\S/.test(G.chars)}function T(G,re){return G&&re.includes(G.type)}function k(G,re){let ee=G.getParentNode(0);return T(ee,re)}function C(G,re){let ee=X(G);return T(ee,re)}function S(G,re){let ee=te(G);return T(ee,re)}function j(G,re){var ee,De,F,J;let w=G.getValue(),R=(ee=G.getParentNode(0))!==null&&ee!==void 0?ee:{},y=(De=(F=(J=R.children)!==null&&J!==void 0?J:R.body)!==null&&F!==void 0?F:R.parts)!==null&&De!==void 0?De:[],_=y.indexOf(w);return _!==-1&&y[_+re]}function X(G){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return j(G,-re)}function te(G){return j(G,1)}function $(G){return T(G,["MustacheCommentStatement"])&&typeof G.value=="string"&&G.value.trim()==="prettier-ignore"}function K(G){let re=G.getValue(),ee=X(G,2);return $(re)||$(ee)}A.exports={getNextNode:te,getPreviousNode:X,hasPrettierIgnore:K,isLastNodeOfSiblings:D,isNextNodeOfSomeType:S,isNodeOfSomeType:T,isParentOfSomeType:k,isPreviousNodeOfSomeType:C,isVoid:x,isWhitespaceNode:P}}}),mE=Te({"src/language-handlebars/printer-glimmer.js"(m,A){Re();var{builders:{dedent:p,fill:v,group:D,hardline:f,ifBreak:d,indent:h,join:E,line:x,softline:P},utils:{getDocParts:T,replaceTextEndOfLine:k}}=wn(),{getPreferredQuote:C,isNonEmptyArray:S}=ye(),{locStart:j,locEnd:X}=fE(),te=pE(),{getNextNode:$,getPreviousNode:K,hasPrettierIgnore:G,isLastNodeOfSiblings:re,isNextNodeOfSomeType:ee,isNodeOfSomeType:De,isParentOfSomeType:F,isPreviousNodeOfSomeType:J,isVoid:w,isWhitespaceNode:R}=hE(),y=2;function _(Ae,gt,Ie){let dt=Ae.getValue();if(!dt)return"";if(G(Ae))return gt.originalText.slice(j(dt),X(dt));let en=gt.singleQuote?"'":'"';switch(dt.type){case"Block":case"Program":case"Template":return D(Ae.map(Ie,"body"));case"ElementNode":{let Ut=D(q(Ae,Ie)),bt=gt.htmlWhitespaceSensitivity==="ignore"&&ee(Ae,["ElementNode"])?P:"";if(w(dt))return[Ut,bt];let V=["</",dt.tag,">"];return dt.children.length===0?[Ut,h(V),bt]:gt.htmlWhitespaceSensitivity==="ignore"?[Ut,h(U(Ae,gt,Ie)),f,h(V),bt]:[Ut,h(D(U(Ae,gt,Ie))),h(V),bt]}case"BlockStatement":{let Ut=Ae.getParentNode(1);return Ut&&Ut.inverse&&Ut.inverse.body.length===1&&Ut.inverse.body[0]===dt&&Ut.inverse.body[0].path.parts[0]===Ut.path.parts[0]?[st(Ae,Ie,Ut.inverse.body[0].path.parts[0]),ht(Ae,Ie,gt),mt(Ae,Ie,gt)]:[oe(Ae,Ie),D([ht(Ae,Ie,gt),mt(Ae,Ie,gt),Ge(Ae,Ie,gt)])]}case"ElementModifierStatement":return D(["{{",_n(Ae,Ie),"}}"]);case"MustacheStatement":return D([ie(dt),_n(Ae,Ie),le(dt)]);case"SubExpression":return D(["(",Pn(Ae,Ie),P,")"]);case"AttrNode":{let Ut=dt.value.type==="TextNode";if(Ut&&dt.value.chars===""&&j(dt.value)===X(dt.value))return dt.name;let bt=Ut?C(dt.value.chars,en).quote:dt.value.type==="ConcatStatement"?C(dt.value.parts.filter(Le=>Le.type==="TextNode").map(Le=>Le.chars).join(""),en).quote:"",V=Ie("value");return[dt.name,"=",bt,dt.name==="class"&&bt?D(h(V)):V,bt]}case"ConcatStatement":return Ae.map(Ie,"parts");case"Hash":return E(x,Ae.map(Ie,"pairs"));case"HashPair":return[dt.key,"=",Ie("value")];case"TextNode":{let Ut=dt.chars.replace(/{{/g,"\\{{"),bt=Se(Ae);if(bt){if(bt==="class"){let sn=Ut.trim().split(/\s+/).join(" "),Dr=!1,nn=!1;return F(Ae,["ConcatStatement"])&&(J(Ae,["MustacheStatement"])&&/^\s/.test(Ut)&&(Dr=!0),ee(Ae,["MustacheStatement"])&&/\s$/.test(Ut)&&sn!==""&&(nn=!0)),[Dr?x:"",sn,nn?x:""]}return k(Ut)}let V=/^[\t\n\f\r ]*$/.test(Ut),Le=!K(Ae),at=!$(Ae);if(gt.htmlWhitespaceSensitivity!=="ignore"){let sn=/^[\t\n\f\r ]*/,Dr=/[\t\n\f\r ]*$/,nn=at&&F(Ae,["Template"]),En=Le&&F(Ae,["Template"]);if(V){if(En||nn)return"";let xn=[x],pt=Je(Ut);return pt&&(xn=_t(pt)),re(Ae)&&(xn=xn.map(Ai=>p(Ai))),xn}let[Ln]=Ut.match(sn),[ar]=Ut.match(Dr),an=[];if(Ln){an=[x];let xn=Je(Ln);xn&&(an=_t(xn)),Ut=Ut.replace(sn,"")}let Tn=[];if(ar){if(!nn){Tn=[x];let xn=Je(ar);xn&&(Tn=_t(xn)),re(Ae)&&(Tn=Tn.map(pt=>p(pt)))}Ut=Ut.replace(Dr,"")}return[...an,v(Jt(Ut)),...Tn]}let Pt=Je(Ut),Vt=Ze(Ut),un=At(Ut);if((Le||at)&&V&&F(Ae,["Block","ElementNode","Template"]))return"";V&&Pt?(Vt=Math.min(Pt,y),un=0):(ee(Ae,["BlockStatement","ElementNode"])&&(un=Math.max(un,1)),J(Ae,["BlockStatement","ElementNode"])&&(Vt=Math.max(Vt,1)));let It="",Ar="";return un===0&&ee(Ae,["MustacheStatement"])&&(Ar=" "),Vt===0&&J(Ae,["MustacheStatement"])&&(It=" "),Le&&(Vt=0,It=""),at&&(un=0,Ar=""),Ut=Ut.replace(/^[\t\n\f\r ]+/g,It).replace(/[\t\n\f\r ]+$/,Ar),[..._t(Vt),v(Jt(Ut)),..._t(un)]}case"MustacheCommentStatement":{let Ut=j(dt),bt=X(dt),V=gt.originalText.charAt(Ut+2)==="~",Le=gt.originalText.charAt(bt-3)==="~",at=dt.value.includes("}}")?"--":"";return["{{",V?"~":"","!",at,dt.value,at,Le?"~":"","}}"]}case"PathExpression":return dt.original;case"BooleanLiteral":return String(dt.value);case"CommentStatement":return["<!--",dt.value,"-->"];case"StringLiteral":{if(cn(Ae)){let Ut=gt.singleQuote?'"':"'";return Mt(dt.value,Ut)}return Mt(dt.value,en)}case"NumberLiteral":return String(dt.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(dt.type))}}function I(Ae,gt){return j(Ae)-j(gt)}function q(Ae,gt){let Ie=Ae.getValue(),dt=["attributes","modifiers","comments"].filter(Ut=>S(Ie[Ut])),en=dt.flatMap(Ut=>Ie[Ut]).sort(I);for(let Ut of dt)Ae.each(bt=>{let V=en.indexOf(bt.getValue());en.splice(V,1,[x,gt()])},Ut);return S(Ie.blockParams)&&en.push(x,ct(Ie)),["<",Ie.tag,h(en),z(Ie)]}function U(Ae,gt,Ie){let dt=Ae.getValue().children.every(en=>R(en));return gt.htmlWhitespaceSensitivity==="ignore"&&dt?"":Ae.map((en,Ut)=>{let bt=Ie();return Ut===0&&gt.htmlWhitespaceSensitivity==="ignore"?[P,bt]:bt},"children")}function z(Ae){return w(Ae)?d([P,"/>"],[" />",P]):d([P,">"],">")}function ie(Ae){let gt=Ae.escaped===!1?"{{{":"{{",Ie=Ae.strip&&Ae.strip.open?"~":"";return[gt,Ie]}function le(Ae){let gt=Ae.escaped===!1?"}}}":"}}";return[Ae.strip&&Ae.strip.close?"~":"",gt]}function ge(Ae){let gt=ie(Ae),Ie=Ae.openStrip.open?"~":"";return[gt,Ie,"#"]}function ce(Ae){let gt=le(Ae);return[Ae.openStrip.close?"~":"",gt]}function _e(Ae){let gt=ie(Ae),Ie=Ae.closeStrip.open?"~":"";return[gt,Ie,"/"]}function se(Ae){let gt=le(Ae);return[Ae.closeStrip.close?"~":"",gt]}function Ue(Ae){let gt=ie(Ae),Ie=Ae.inverseStrip.open?"~":"";return[gt,Ie]}function me(Ae){let gt=le(Ae);return[Ae.inverseStrip.close?"~":"",gt]}function oe(Ae,gt){let Ie=Ae.getValue(),dt=[],en=yn(Ae,gt);return en&&dt.push(D(en)),S(Ie.program.blockParams)&&dt.push(ct(Ie.program)),D([ge(Ie),ln(Ae,gt),dt.length>0?h([x,E(x,dt)]):"",P,ce(Ie)])}function qe(Ae,gt){return[gt.htmlWhitespaceSensitivity==="ignore"?f:"",Ue(Ae),"else",me(Ae)]}function st(Ae,gt,Ie){let dt=Ae.getValue(),en=Ae.getParentNode(1);return D([Ue(en),["else"," ",Ie],h([x,D(yn(Ae,gt)),...S(dt.program.blockParams)?[x,ct(dt.program)]:[]]),P,me(en)])}function Ge(Ae,gt,Ie){let dt=Ae.getValue();return Ie.htmlWhitespaceSensitivity==="ignore"?[yt(dt)?P:f,_e(dt),gt("path"),se(dt)]:[_e(dt),gt("path"),se(dt)]}function yt(Ae){return De(Ae,["BlockStatement"])&&Ae.program.body.every(gt=>R(gt))}function be(Ae){return Me(Ae)&&Ae.inverse.body.length===1&&De(Ae.inverse.body[0],["BlockStatement"])&&Ae.inverse.body[0].path.parts[0]===Ae.path.parts[0]}function Me(Ae){return De(Ae,["BlockStatement"])&&Ae.inverse}function ht(Ae,gt,Ie){let dt=Ae.getValue();if(yt(dt))return"";let en=gt("program");return Ie.htmlWhitespaceSensitivity==="ignore"?h([f,en]):h(en)}function mt(Ae,gt,Ie){let dt=Ae.getValue(),en=gt("inverse"),Ut=Ie.htmlWhitespaceSensitivity==="ignore"?[f,en]:en;return be(dt)?Ut:Me(dt)?[qe(dt,Ie),h(Ut)]:""}function Jt(Ae){return T(E(x,$e(Ae)))}function $e(Ae){return Ae.split(/[\t\n\f\r ]+/)}function Se(Ae){for(let gt=0;gt<2;gt++){let Ie=Ae.getParentNode(gt);if(Ie&&Ie.type==="AttrNode")return Ie.name.toLowerCase()}}function Je(Ae){return Ae=typeof Ae=="string"?Ae:"",Ae.split(`
225
- `).length-1}function Ze(Ae){Ae=typeof Ae=="string"?Ae:"";let gt=(Ae.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Je(gt)}function At(Ae){Ae=typeof Ae=="string"?Ae:"";let gt=(Ae.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Je(gt)}function _t(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Ae,y)}).fill(f)}function Mt(Ae,gt){let{quote:Ie,regex:dt}=C(Ae,gt);return[Ie,Ae.replace(dt,`\\${Ie}`),Ie]}function cn(Ae){let gt=0,Ie=Ae.getParentNode(gt);for(;Ie&&De(Ie,["SubExpression"]);)gt++,Ie=Ae.getParentNode(gt);return!!(Ie&&De(Ae.getParentNode(gt+1),["ConcatStatement"])&&De(Ae.getParentNode(gt+2),["AttrNode"]))}function Pn(Ae,gt){let Ie=ln(Ae,gt),dt=yn(Ae,gt);return dt?h([Ie,x,D(dt)]):Ie}function _n(Ae,gt){let Ie=ln(Ae,gt),dt=yn(Ae,gt);return dt?[h([Ie,x,dt]),P]:Ie}function ln(Ae,gt){return gt("path")}function yn(Ae,gt){let Ie=Ae.getValue(),dt=[];if(Ie.params.length>0){let en=Ae.map(gt,"params");dt.push(...en)}if(Ie.hash&&Ie.hash.pairs.length>0){let en=gt("hash");dt.push(en)}return dt.length===0?"":E(x,dt)}function ct(Ae){return["as |",Ae.blockParams.join(" "),"|"]}A.exports={print:_,massageAstNode:te}}}),gE=Te({"src/language-handlebars/parsers.js"(){Re()}}),yE=Te({"node_modules/linguist-languages/data/Handlebars.json"(m,A){A.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),DE=Te({"src/language-handlebars/index.js"(m,A){Re();var p=sa(),v=mE(),D=gE(),f=[p(yE(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],d={glimmer:v};A.exports={languages:f,printers:d,parsers:D}}}),bE=Te({"src/language-graphql/pragma.js"(m,A){Re();function p(D){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(D)}function v(D){return`# @format
226
-
227
- `+D}A.exports={hasPragma:p,insertPragma:v}}}),vE=Te({"src/language-graphql/loc.js"(m,A){Re();function p(D){return typeof D.start=="number"?D.start:D.loc&&D.loc.start}function v(D){return typeof D.end=="number"?D.end:D.loc&&D.loc.end}A.exports={locStart:p,locEnd:v}}}),EE=Te({"src/language-graphql/printer-graphql.js"(m,A){Re();var{builders:{join:p,hardline:v,line:D,softline:f,group:d,indent:h,ifBreak:E}}=wn(),{isNextLineEmpty:x,isNonEmptyArray:P}=ye(),{insertPragma:T}=bE(),{locStart:k,locEnd:C}=vE();function S(ee,De,F){let J=ee.getValue();if(!J)return"";if(typeof J=="string")return J;switch(J.kind){case"Document":{let w=[];return ee.each((R,y,_)=>{w.push(F()),y!==_.length-1&&(w.push(v),x(De.originalText,R.getValue(),C)&&w.push(v))},"definitions"),[...w,v]}case"OperationDefinition":{let w=De.originalText[k(J)]!=="{",R=!!J.name;return[w?J.operation:"",w&&R?[" ",F("name")]:"",w&&!R&&P(J.variableDefinitions)?" ":"",P(J.variableDefinitions)?d(["(",h([f,p([E("",", "),f],ee.map(F,"variableDefinitions"))]),f,")"]):"",j(ee,F,J),J.selectionSet?!w&&!R?"":" ":"",F("selectionSet")]}case"FragmentDefinition":return["fragment ",F("name"),P(J.variableDefinitions)?d(["(",h([f,p([E("",", "),f],ee.map(F,"variableDefinitions"))]),f,")"]):""," on ",F("typeCondition"),j(ee,F,J)," ",F("selectionSet")];case"SelectionSet":return["{",h([v,p(v,X(ee,De,F,"selections"))]),v,"}"];case"Field":return d([J.alias?[F("alias"),": "]:"",F("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],X(ee,De,F,"arguments"))]),f,")"]):"",j(ee,F,J),J.selectionSet?" ":"",F("selectionSet")]);case"Name":return J.value;case"StringValue":{if(J.block){let w=J.value.replace(/"""/g,"\\$&").split(`
228
- `);return w.length===1&&(w[0]=w[0].trim()),w.every(R=>R==="")&&(w.length=0),p(v,['"""',...w,'"""'])}return['"',J.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return J.value;case"BooleanValue":return J.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",F("name")];case"ListValue":return d(["[",h([f,p([E("",", "),f],ee.map(F,"values"))]),f,"]"]);case"ObjectValue":return d(["{",De.bracketSpacing&&J.fields.length>0?" ":"",h([f,p([E("",", "),f],ee.map(F,"fields"))]),f,E("",De.bracketSpacing&&J.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[F("name"),": ",F("value")];case"Directive":return["@",F("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],X(ee,De,F,"arguments"))]),f,")"]):""];case"NamedType":return F("name");case"VariableDefinition":return[F("variable"),": ",F("type"),J.defaultValue?[" = ",F("defaultValue")]:"",j(ee,F,J)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[F("description"),J.description?v:"",J.kind==="ObjectTypeExtension"?"extend ":"","type ",F("name"),J.interfaces.length>0?[" implements ",...K(ee,De,F)]:"",j(ee,F,J),J.fields.length>0?[" {",h([v,p(v,X(ee,De,F,"fields"))]),v,"}"]:""];case"FieldDefinition":return[F("description"),J.description?v:"",F("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],X(ee,De,F,"arguments"))]),f,")"]):"",": ",F("type"),j(ee,F,J)];case"DirectiveDefinition":return[F("description"),J.description?v:"","directive ","@",F("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],X(ee,De,F,"arguments"))]),f,")"]):"",J.repeatable?" repeatable":""," on ",p(" | ",ee.map(F,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[F("description"),J.description?v:"",J.kind==="EnumTypeExtension"?"extend ":"","enum ",F("name"),j(ee,F,J),J.values.length>0?[" {",h([v,p(v,X(ee,De,F,"values"))]),v,"}"]:""];case"EnumValueDefinition":return[F("description"),J.description?v:"",F("name"),j(ee,F,J)];case"InputValueDefinition":return[F("description"),J.description?J.description.block?v:D:"",F("name"),": ",F("type"),J.defaultValue?[" = ",F("defaultValue")]:"",j(ee,F,J)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[F("description"),J.description?v:"",J.kind==="InputObjectTypeExtension"?"extend ":"","input ",F("name"),j(ee,F,J),J.fields.length>0?[" {",h([v,p(v,X(ee,De,F,"fields"))]),v,"}"]:""];case"SchemaExtension":return["extend schema",j(ee,F,J),...J.operationTypes.length>0?[" {",h([v,p(v,X(ee,De,F,"operationTypes"))]),v,"}"]:[]];case"SchemaDefinition":return[F("description"),J.description?v:"","schema",j(ee,F,J)," {",J.operationTypes.length>0?h([v,p(v,X(ee,De,F,"operationTypes"))]):"",v,"}"];case"OperationTypeDefinition":return[F("operation"),": ",F("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[F("description"),J.description?v:"",J.kind==="InterfaceTypeExtension"?"extend ":"","interface ",F("name"),J.interfaces.length>0?[" implements ",...K(ee,De,F)]:"",j(ee,F,J),J.fields.length>0?[" {",h([v,p(v,X(ee,De,F,"fields"))]),v,"}"]:""];case"FragmentSpread":return["...",F("name"),j(ee,F,J)];case"InlineFragment":return["...",J.typeCondition?[" on ",F("typeCondition")]:"",j(ee,F,J)," ",F("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return d([F("description"),J.description?v:"",d([J.kind==="UnionTypeExtension"?"extend ":"","union ",F("name"),j(ee,F,J),J.types.length>0?[" =",E(""," "),h([E([D," "]),p([D,"| "],ee.map(F,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[F("description"),J.description?v:"",J.kind==="ScalarTypeExtension"?"extend ":"","scalar ",F("name"),j(ee,F,J)];case"NonNullType":return[F("type"),"!"];case"ListType":return["[",F("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(J.kind))}}function j(ee,De,F){if(F.directives.length===0)return"";let J=p(D,ee.map(De,"directives"));return F.kind==="FragmentDefinition"||F.kind==="OperationDefinition"?d([D,J]):[" ",d(h([f,J]))]}function X(ee,De,F,J){return ee.map((w,R,y)=>{let _=F();return R<y.length-1&&x(De.originalText,w.getValue(),C)?[_,v]:_},J)}function te(ee){return ee.kind&&ee.kind!=="Comment"}function $(ee){let De=ee.getValue();if(De.kind==="Comment")return"#"+De.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(De))}function K(ee,De,F){let J=ee.getNode(),w=[],{interfaces:R}=J,y=ee.map(_=>F(_),"interfaces");for(let _=0;_<R.length;_++){let I=R[_];w.push(y[_]);let q=R[_+1];if(q){let U=De.originalText.slice(I.loc.end,q.loc.start),z=U.includes("#"),ie=U.replace(/#.*/g,"").trim();w.push(ie===","?",":" &",z?D:" ")}}return w}function G(ee,De){ee.kind==="StringValue"&&ee.block&&!ee.value.includes(`
229
- `)&&(De.value=De.value.trim())}G.ignoredProperties=new Set(["loc","comments"]);function re(ee){var De;let F=ee.getValue();return F==null||(De=F.comments)===null||De===void 0?void 0:De.some(J=>J.value.trim()==="prettier-ignore")}A.exports={print:S,massageAstNode:G,hasPrettierIgnore:re,insertPragma:T,printComment:$,canAttachComment:te}}}),AE=Te({"src/language-graphql/options.js"(m,A){Re();var p=io();A.exports={bracketSpacing:p.bracketSpacing}}}),CE=Te({"src/language-graphql/parsers.js"(){Re()}}),xE=Te({"node_modules/linguist-languages/data/GraphQL.json"(m,A){A.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),SE=Te({"src/language-graphql/index.js"(m,A){Re();var p=sa(),v=EE(),D=AE(),f=CE(),d=[p(xE(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],h={graphql:v};A.exports={languages:d,options:D,printers:h,parsers:f}}}),ug=Te({"node_modules/collapse-white-space/index.js"(m,A){Re(),A.exports=p;function p(v){return String(v).replace(/\s+/g," ")}}}),lg=Te({"src/language-markdown/loc.js"(m,A){Re();function p(D){return D.position.start.offset}function v(D){return D.position.end.offset}A.exports={locStart:p,locEnd:v}}}),wE=Te({"src/language-markdown/constants.evaluate.js"(m,A){A.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),pp=Te({"src/language-markdown/utils.js"(m,A){Re();var{getLast:p}=ye(),{locStart:v,locEnd:D}=lg(),{cjkPattern:f,kPattern:d,punctuationPattern:h}=wE(),E=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],x=[...E,"tableCell","paragraph","heading"],P=new RegExp(d),T=new RegExp(h);function k($,K){let G="non-cjk",re="cj-letter",ee="k-letter",De="cjk-punctuation",F=[],J=(K.proseWrap==="preserve"?$:$.replace(new RegExp(`(${f})
230
- (${f})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[R,y]of J.entries()){if(R%2===1){F.push({type:"whitespace",value:/\n/.test(y)?`
231
- `:" "});continue}if((R===0||R===J.length-1)&&y==="")continue;let _=y.split(new RegExp(`(${f})`));for(let[I,q]of _.entries())if(!((I===0||I===_.length-1)&&q==="")){if(I%2===0){q!==""&&w({type:"word",value:q,kind:G,hasLeadingPunctuation:T.test(q[0]),hasTrailingPunctuation:T.test(p(q))});continue}w(T.test(q)?{type:"word",value:q,kind:De,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:q,kind:P.test(q)?ee:re,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return F;function w(R){let y=p(F);y&&y.type==="word"&&(y.kind===G&&R.kind===re&&!y.hasTrailingPunctuation||y.kind===re&&R.kind===G&&!R.hasLeadingPunctuation?F.push({type:"whitespace",value:" "}):!_(G,De)&&![y.value,R.value].some(I=>/\u3000/.test(I))&&F.push({type:"whitespace",value:""})),F.push(R);function _(I,q){return y.kind===I&&R.kind===q||y.kind===q&&R.kind===I}}}function C($,K){let[,G,re,ee]=K.slice($.position.start.offset,$.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:G,marker:re,leadingSpaces:ee}}function S($,K){if(!$.ordered||$.children.length<2)return!1;let G=Number(C($.children[0],K.originalText).numberText),re=Number(C($.children[1],K.originalText).numberText);if(G===0&&$.children.length>2){let ee=Number(C($.children[2],K.originalText).numberText);return re===1&&ee===1}return re===1}function j($,K){let{value:G}=$;return $.position.end.offset===K.length&&G.endsWith(`
232
- `)&&K.endsWith(`
233
- `)?G.slice(0,-1):G}function X($,K){return function G(re,ee,De){let F=Object.assign({},K(re,ee,De));return F.children&&(F.children=F.children.map((J,w)=>G(J,w,[F,...De]))),F}($,null,[])}function te($){if($?.type!=="link"||$.children.length!==1)return!1;let[K]=$.children;return v($)===v(K)&&D($)===D(K)}A.exports={mapAst:X,splitText:k,punctuationPattern:h,getFencedCodeBlockValue:j,getOrderedListItemInfo:C,hasGitDiffFriendlyOrderedList:S,INLINE_NODE_TYPES:E,INLINE_NODE_WRAPPER_TYPES:x,isAutolink:te}}}),FE=Te({"src/language-markdown/embed.js"(m,A){Re();var{inferParserByLanguage:p,getMaxContinuousCount:v}=ye(),{builders:{hardline:D,markAsRoot:f},utils:{replaceEndOfLine:d}}=wn(),h=fp(),{getFencedCodeBlockValue:E}=pp();function x(P,T,k,C){let S=P.getValue();if(S.type==="code"&&S.lang!==null){let j=p(S.lang,C);if(j){let X=C.__inJsTemplate?"~":"`",te=X.repeat(Math.max(3,v(S.value,X)+1)),$={parser:j};S.lang==="tsx"&&($.filepath="dummy.tsx");let K=k(E(S,C.originalText),$,{stripTrailingHardline:!0});return f([te,S.lang,S.meta?" "+S.meta:"",D,d(K),D,te])}}switch(S.type){case"front-matter":return h(S,k);case"importExport":return[k(S.value,{parser:"babel"},{stripTrailingHardline:!0}),D];case"jsx":return k(`<$>${S.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}A.exports=x}}),cg=Te({"src/language-markdown/pragma.js"(m,A){Re();var p=og(),v=["format","prettier"];function D(f){let d=`@(${v.join("|")})`,h=new RegExp([`<!--\\s*${d}\\s*-->`,`{\\s*\\/\\*\\s*${d}\\s*\\*\\/\\s*}`,`<!--.*\r?
234
- [\\s\\S]*(^|
235
- )[^\\S
236
- ]*${d}[^\\S
237
- ]*($|
238
- )[\\s\\S]*
239
- .*-->`].join("|"),"m"),E=f.match(h);return E?.index===0}A.exports={startWithPragma:D,hasPragma:f=>D(p(f).content.trimStart()),insertPragma:f=>{let d=p(f),h=`<!-- @${v[0]} -->`;return d.frontMatter?`${d.frontMatter.raw}
240
-
241
- ${h}
242
-
243
- ${d.content}`:`${h}
244
-
245
- ${d.content}`}}}}),NE=Te({"src/language-markdown/print-preprocess.js"(m,A){Re();var p=Vr(),{getOrderedListItemInfo:v,mapAst:D,splitText:f}=pp(),d=/^.$/su;function h(te,$){return te=P(te,$),te=C(te),te=x(te,$),te=j(te,$),te=X(te,$),te=S(te,$),te=E(te),te=T(te),te}function E(te){return D(te,$=>$.type!=="import"&&$.type!=="export"?$:Object.assign(Object.assign({},$),{},{type:"importExport"}))}function x(te,$){return D(te,K=>K.type!=="inlineCode"||$.proseWrap==="preserve"?K:Object.assign(Object.assign({},K),{},{value:K.value.replace(/\s+/g," ")}))}function P(te,$){return D(te,K=>K.type!=="text"||K.value==="*"||K.value==="_"||!d.test(K.value)||K.position.end.offset-K.position.start.offset===K.value.length?K:Object.assign(Object.assign({},K),{},{value:$.originalText.slice(K.position.start.offset,K.position.end.offset)}))}function T(te){return k(te,($,K)=>$.type==="importExport"&&K.type==="importExport",($,K)=>({type:"importExport",value:$.value+`
246
-
247
- `+K.value,position:{start:$.position.start,end:K.position.end}}))}function k(te,$,K){return D(te,G=>{if(!G.children)return G;let re=G.children.reduce((ee,De)=>{let F=p(ee);return F&&$(F,De)?ee.splice(-1,1,K(F,De)):ee.push(De),ee},[]);return Object.assign(Object.assign({},G),{},{children:re})})}function C(te){return k(te,($,K)=>$.type==="text"&&K.type==="text",($,K)=>({type:"text",value:$.value+K.value,position:{start:$.position.start,end:K.position.end}}))}function S(te,$){return D(te,(K,G,re)=>{let[ee]=re;if(K.type!=="text")return K;let{value:De}=K;return ee.type==="paragraph"&&(G===0&&(De=De.trimStart()),G===ee.children.length-1&&(De=De.trimEnd())),{type:"sentence",position:K.position,children:f(De,$)}})}function j(te,$){return D(te,(K,G,re)=>{if(K.type==="code"){let ee=/^\n?(?: {4,}|\t)/.test($.originalText.slice(K.position.start.offset,K.position.end.offset));if(K.isIndented=ee,ee)for(let De=0;De<re.length;De++){let F=re[De];if(F.hasIndentedCodeblock)break;F.type==="list"&&(F.hasIndentedCodeblock=!0)}}return K})}function X(te,$){return D(te,(re,ee,De)=>{if(re.type==="list"&&re.children.length>0){for(let F=0;F<De.length;F++){let J=De[F];if(J.type==="list"&&!J.isAligned)return re.isAligned=!1,re}re.isAligned=G(re)}return re});function K(re){return re.children.length===0?-1:re.children[0].position.start.column-1}function G(re){if(!re.ordered)return!0;let[ee,De]=re.children;if(v(ee,$.originalText).leadingSpaces.length>1)return!0;let F=K(ee);if(F===-1)return!1;if(re.children.length===1)return F%$.tabWidth===0;let J=K(De);return F!==J?!1:F%$.tabWidth===0?!0:v(De,$.originalText).leadingSpaces.length>1}}A.exports=h}}),TE=Te({"src/language-markdown/clean.js"(m,A){Re();var p=ug(),{isFrontMatterNode:v}=ye(),{startWithPragma:D}=cg(),f=new Set(["position","raw"]);function d(h,E,x){if((h.type==="front-matter"||h.type==="code"||h.type==="yaml"||h.type==="import"||h.type==="export"||h.type==="jsx")&&delete E.value,h.type==="list"&&delete E.isAligned,(h.type==="list"||h.type==="listItem")&&(delete E.spread,delete E.loose),h.type==="text"||(h.type==="inlineCode"&&(E.value=h.value.replace(/[\t\n ]+/g," ")),h.type==="wikiLink"&&(E.value=h.value.trim().replace(/[\t\n]+/g," ")),(h.type==="definition"||h.type==="linkReference"||h.type==="imageReference")&&(E.label=p(h.label)),(h.type==="definition"||h.type==="link"||h.type==="image")&&h.title&&(E.title=h.title.replace(/\\(["')])/g,"$1")),x&&x.type==="root"&&x.children.length>0&&(x.children[0]===h||v(x.children[0])&&x.children[1]===h)&&h.type==="html"&&D(h.value)))return null}d.ignoredProperties=f,A.exports=d}}),_E=Te({"src/language-markdown/printer-markdown.js"(m,A){Re();var p=ug(),{getLast:v,getMinNotPresentContinuousCount:D,getMaxContinuousCount:f,getStringWidth:d,isNonEmptyArray:h}=ye(),{builders:{breakParent:E,join:x,line:P,literalline:T,markAsRoot:k,hardline:C,softline:S,ifBreak:j,fill:X,align:te,indent:$,group:K,hardlineWithoutBreakParent:G},utils:{normalizeDoc:re,replaceTextEndOfLine:ee},printer:{printDocToString:De}}=wn(),F=FE(),{insertPragma:J}=cg(),{locStart:w,locEnd:R}=lg(),y=NE(),_=TE(),{getFencedCodeBlockValue:I,hasGitDiffFriendlyOrderedList:q,splitText:U,punctuationPattern:z,INLINE_NODE_TYPES:ie,INLINE_NODE_WRAPPER_TYPES:le,isAutolink:ge}=pp(),ce=new Set(["importExport"]),_e=["heading","tableCell","link","wikiLink"],se=new Set(["listItem","definition","footnoteDefinition"]);function Ue(ct,Ae,gt){let Ie=ct.getValue();if(_t(ct))return U(Ae.originalText.slice(Ie.position.start.offset,Ie.position.end.offset),Ae).map(dt=>dt.type==="word"?dt.value:dt.value===""?"":be(ct,dt.value,Ae));switch(Ie.type){case"front-matter":return Ae.originalText.slice(Ie.position.start.offset,Ie.position.end.offset);case"root":return Ie.children.length===0?"":[re(ht(ct,Ae,gt)),ce.has($e(Ie).type)?"":C];case"paragraph":return mt(ct,Ae,gt,{postprocessor:X});case"sentence":return mt(ct,Ae,gt);case"word":{let dt=Ie.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${z})(_+)`,`(_+)(${z}|$)`].join("|"),"g"),(bt,V,Le,at,Pt)=>(Le?`${V}${Le}`:`${at}${Pt}`).replace(/_/g,"\\_")),en=(bt,V,Le)=>bt.type==="sentence"&&Le===0,Ut=(bt,V,Le)=>ge(bt.children[Le-1]);return dt!==Ie.value&&(ct.match(void 0,en,Ut)||ct.match(void 0,en,(bt,V,Le)=>bt.type==="emphasis"&&Le===0,Ut))&&(dt=dt.replace(/^(\\?[*_])+/,bt=>bt.replace(/\\/g,""))),dt}case"whitespace":{let dt=ct.getParentNode(),en=dt.children.indexOf(Ie),Ut=dt.children[en+1],bt=Ut&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Ut.value)?"never":Ae.proseWrap;return be(ct,Ie.value,{proseWrap:bt})}case"emphasis":{let dt;if(ge(Ie.children[0]))dt=Ae.originalText[Ie.position.start.offset];else{let en=ct.getParentNode(),Ut=en.children.indexOf(Ie),bt=en.children[Ut-1],V=en.children[Ut+1];dt=bt&&bt.type==="sentence"&&bt.children.length>0&&v(bt.children).type==="word"&&!v(bt.children).hasTrailingPunctuation||V&&V.type==="sentence"&&V.children.length>0&&V.children[0].type==="word"&&!V.children[0].hasLeadingPunctuation||yt(ct,"emphasis")?"*":"_"}return[dt,mt(ct,Ae,gt),dt]}case"strong":return["**",mt(ct,Ae,gt),"**"];case"delete":return["~~",mt(ct,Ae,gt),"~~"];case"inlineCode":{let dt=D(Ie.value,"`"),en="`".repeat(dt||1),Ut=dt&&!/^\s/.test(Ie.value)?" ":"";return[en,Ut,Ie.value,Ut,en]}case"wikiLink":{let dt="";return Ae.proseWrap==="preserve"?dt=Ie.value:dt=Ie.value.replace(/[\t\n]+/g," "),["[[",dt,"]]"]}case"link":switch(Ae.originalText[Ie.position.start.offset]){case"<":{let dt="mailto:";return["<",Ie.url.startsWith(dt)&&Ae.originalText.slice(Ie.position.start.offset+1,Ie.position.start.offset+1+dt.length)!==dt?Ie.url.slice(dt.length):Ie.url,">"]}case"[":return["[",mt(ct,Ae,gt),"](",Mt(Ie.url,")"),cn(Ie.title,Ae),")"];default:return Ae.originalText.slice(Ie.position.start.offset,Ie.position.end.offset)}case"image":return["![",Ie.alt||"","](",Mt(Ie.url,")"),cn(Ie.title,Ae),")"];case"blockquote":return["> ",te("> ",mt(ct,Ae,gt))];case"heading":return["#".repeat(Ie.depth)+" ",mt(ct,Ae,gt)];case"code":{if(Ie.isIndented){let Ut=" ".repeat(4);return te(Ut,[Ut,...ee(Ie.value,C)])}let dt=Ae.__inJsTemplate?"~":"`",en=dt.repeat(Math.max(3,f(Ie.value,dt)+1));return[en,Ie.lang||"",Ie.meta?" "+Ie.meta:"",C,...ee(I(Ie,Ae.originalText),C),C,en]}case"html":{let dt=ct.getParentNode(),en=dt.type==="root"&&v(dt.children)===Ie?Ie.value.trimEnd():Ie.value,Ut=/^<!--.*-->$/s.test(en);return ee(en,Ut?C:k(T))}case"list":{let dt=qe(Ie,ct.getParentNode()),en=q(Ie,Ae);return mt(ct,Ae,gt,{processor:(Ut,bt)=>{let V=at(),Le=Ut.getValue();if(Le.children.length===2&&Le.children[1].type==="html"&&Le.children[0].position.start.column!==Le.children[1].position.start.column)return[V,me(Ut,Ae,gt,V)];return[V,te(" ".repeat(V.length),me(Ut,Ae,gt,V))];function at(){let Pt=Ie.ordered?(bt===0?Ie.start:en?1:Ie.start+bt)+(dt%2===0?". ":") "):dt%2===0?"- ":"* ";return Ie.isAligned||Ie.hasIndentedCodeblock?oe(Pt,Ae):Pt}}})}case"thematicBreak":{let dt=Ge(ct,"list");return dt===-1?"---":qe(ct.getParentNode(dt),ct.getParentNode(dt+1))%2===0?"***":"---"}case"linkReference":return["[",mt(ct,Ae,gt),"]",Ie.referenceType==="full"?ln(Ie):Ie.referenceType==="collapsed"?"[]":""];case"imageReference":switch(Ie.referenceType){case"full":return["![",Ie.alt||"","]",ln(Ie)];default:return["![",Ie.alt,"]",Ie.referenceType==="collapsed"?"[]":""]}case"definition":{let dt=Ae.proseWrap==="always"?P:" ";return K([ln(Ie),":",$([dt,Mt(Ie.url),Ie.title===null?"":[dt,cn(Ie.title,Ae,!1)]])])}case"footnote":return["[^",mt(ct,Ae,gt),"]"];case"footnoteReference":return yn(Ie);case"footnoteDefinition":{let dt=ct.getParentNode().children[ct.getName()+1],en=Ie.children.length===1&&Ie.children[0].type==="paragraph"&&(Ae.proseWrap==="never"||Ae.proseWrap==="preserve"&&Ie.children[0].position.start.line===Ie.children[0].position.end.line);return[yn(Ie),": ",en?mt(ct,Ae,gt):K([te(" ".repeat(4),mt(ct,Ae,gt,{processor:(Ut,bt)=>bt===0?K([S,gt()]):gt()})),dt&&dt.type==="footnoteDefinition"?S:""])]}case"table":return Me(ct,Ae,gt);case"tableCell":return mt(ct,Ae,gt);case"break":return/\s/.test(Ae.originalText[Ie.position.start.offset])?[" ",k(T)]:["\\",C];case"liquidNode":return ee(Ie.value,C);case"importExport":return[Ie.value,C];case"esComment":return["{/* ",Ie.value," */}"];case"jsx":return Ie.value;case"math":return["$$",C,Ie.value?[...ee(Ie.value,C),C]:"","$$"];case"inlineMath":return Ae.originalText.slice(w(Ie),R(Ie));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(Ie.type)}`)}}function me(ct,Ae,gt,Ie){let dt=ct.getValue(),en=dt.checked===null?"":dt.checked?"[x] ":"[ ] ";return[en,mt(ct,Ae,gt,{processor:(Ut,bt)=>{if(bt===0&&Ut.getValue().type!=="list")return te(" ".repeat(en.length),gt());let V=" ".repeat(Pn(Ae.tabWidth-Ie.length,0,3));return[V,te(V,gt())]}})]}function oe(ct,Ae){let gt=Ie();return ct+" ".repeat(gt>=4?0:gt);function Ie(){let dt=ct.length%Ae.tabWidth;return dt===0?0:Ae.tabWidth-dt}}function qe(ct,Ae){return st(ct,Ae,gt=>gt.ordered===ct.ordered)}function st(ct,Ae,gt){let Ie=-1;for(let dt of Ae.children)if(dt.type===ct.type&&gt(dt)?Ie++:Ie=-1,dt===ct)return Ie}function Ge(ct,Ae){let gt=Array.isArray(Ae)?Ae:[Ae],Ie=-1,dt;for(;dt=ct.getParentNode(++Ie);)if(gt.includes(dt.type))return Ie;return-1}function yt(ct,Ae){let gt=Ge(ct,Ae);return gt===-1?null:ct.getParentNode(gt)}function be(ct,Ae,gt){if(gt.proseWrap==="preserve"&&Ae===`
248
- `)return C;let Ie=gt.proseWrap==="always"&&!yt(ct,_e);return Ae!==""?Ie?P:" ":Ie?S:""}function Me(ct,Ae,gt){let Ie=ct.getValue(),dt=[],en=ct.map(Pt=>Pt.map((Vt,un)=>{let It=De(gt(),Ae).formatted,Ar=d(It);return dt[un]=Math.max(dt[un]||3,Ar),{text:It,width:Ar}},"children"),"children"),Ut=V(!1);if(Ae.proseWrap!=="never")return[E,Ut];let bt=V(!0);return[E,K(j(bt,Ut))];function V(Pt){let Vt=[at(en[0],Pt),Le(Pt)];return en.length>1&&Vt.push(x(G,en.slice(1).map(un=>at(un,Pt)))),x(G,Vt)}function Le(Pt){return`| ${dt.map((Vt,un)=>{let It=Ie.align[un],Ar=It==="center"||It==="left"?":":"-",sn=It==="center"||It==="right"?":":"-",Dr=Pt?"-":"-".repeat(Vt-2);return`${Ar}${Dr}${sn}`}).join(" | ")} |`}function at(Pt,Vt){return`| ${Pt.map((un,It)=>{let{text:Ar,width:sn}=un;if(Vt)return Ar;let Dr=dt[It]-sn,nn=Ie.align[It],En=0;nn==="right"?En=Dr:nn==="center"&&(En=Math.floor(Dr/2));let Ln=Dr-En;return`${" ".repeat(En)}${Ar}${" ".repeat(Ln)}`}).join(" | ")} |`}}function ht(ct,Ae,gt){let Ie=[],dt=null,{children:en}=ct.getValue();for(let[Ut,bt]of en.entries())switch(Se(bt)){case"start":dt===null&&(dt={index:Ut,offset:bt.position.end.offset});break;case"end":dt!==null&&(Ie.push({start:dt,end:{index:Ut,offset:bt.position.start.offset}}),dt=null);break}return mt(ct,Ae,gt,{processor:(Ut,bt)=>{if(Ie.length>0){let V=Ie[0];if(bt===V.start.index)return[Jt(en[V.start.index]),Ae.originalText.slice(V.start.offset,V.end.offset),Jt(en[V.end.index])];if(V.start.index<bt&&bt<V.end.index)return!1;if(bt===V.end.index)return Ie.shift(),!1}return gt()}})}function mt(ct,Ae,gt){let Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:dt}=Ie,en=Ie.processor||(()=>gt()),Ut=ct.getValue(),bt=[],V;return ct.each((Le,at)=>{let Pt=Le.getValue(),Vt=en(Le,at);if(Vt!==!1){let un={parts:bt,prevNode:V,parentNode:Ut,options:Ae};Je(Pt,un)&&(bt.push(C),V&&ce.has(V.type)||(Ze(Pt,un)||At(Pt,un))&&bt.push(C),At(Pt,un)&&bt.push(C)),bt.push(Vt),V=Pt}},"children"),dt?dt(bt):bt}function Jt(ct){if(ct.type==="html")return ct.value;if(ct.type==="paragraph"&&Array.isArray(ct.children)&&ct.children.length===1&&ct.children[0].type==="esComment")return["{/* ",ct.children[0].value," */}"]}function $e(ct){let Ae=ct;for(;h(Ae.children);)Ae=v(Ae.children);return Ae}function Se(ct){let Ae;if(ct.type==="html")Ae=ct.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let gt;ct.type==="esComment"?gt=ct:ct.type==="paragraph"&&ct.children.length===1&&ct.children[0].type==="esComment"&&(gt=ct.children[0]),gt&&(Ae=gt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Ae?Ae[1]||"next":!1}function Je(ct,Ae){let gt=Ae.parts.length===0,Ie=ie.includes(ct.type),dt=ct.type==="html"&&le.includes(Ae.parentNode.type);return!gt&&!Ie&&!dt}function Ze(ct,Ae){var gt,Ie,dt;let en=(Ae.prevNode&&Ae.prevNode.type)===ct.type&&se.has(ct.type),Ut=Ae.parentNode.type==="listItem"&&!Ae.parentNode.loose,bt=((gt=Ae.prevNode)===null||gt===void 0?void 0:gt.type)==="listItem"&&Ae.prevNode.loose,V=Se(Ae.prevNode)==="next",Le=ct.type==="html"&&((Ie=Ae.prevNode)===null||Ie===void 0?void 0:Ie.type)==="html"&&Ae.prevNode.position.end.line+1===ct.position.start.line,at=ct.type==="html"&&Ae.parentNode.type==="listItem"&&((dt=Ae.prevNode)===null||dt===void 0?void 0:dt.type)==="paragraph"&&Ae.prevNode.position.end.line+1===ct.position.start.line;return bt||!(en||Ut||V||Le||at)}function At(ct,Ae){let gt=Ae.prevNode&&Ae.prevNode.type==="list",Ie=ct.type==="code"&&ct.isIndented;return gt&&Ie}function _t(ct){let Ae=yt(ct,["linkReference","imageReference"]);return Ae&&(Ae.type!=="linkReference"||Ae.referenceType!=="full")}function Mt(ct){let Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],gt=[" ",...Array.isArray(Ae)?Ae:[Ae]];return new RegExp(gt.map(Ie=>`\\${Ie}`).join("|")).test(ct)?`<${ct}>`:ct}function cn(ct,Ae){let gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!ct)return"";if(gt)return" "+cn(ct,Ae,!1);if(ct=ct.replace(/\\(["')])/g,"$1"),ct.includes('"')&&ct.includes("'")&&!ct.includes(")"))return`(${ct})`;let Ie=ct.split("'").length-1,dt=ct.split('"').length-1,en=Ie>dt?'"':dt>Ie||Ae.singleQuote?"'":'"';return ct=ct.replace(/\\/,"\\\\"),ct=ct.replace(new RegExp(`(${en})`,"g"),"\\$1"),`${en}${ct}${en}`}function Pn(ct,Ae,gt){return ct<Ae?Ae:ct>gt?gt:ct}function _n(ct){let Ae=Number(ct.getName());if(Ae===0)return!1;let gt=ct.getParentNode().children[Ae-1];return Se(gt)==="next"}function ln(ct){return`[${p(ct.label)}]`}function yn(ct){return`[^${ct.label}]`}A.exports={preprocess:y,print:Ue,embed:F,massageAstNode:_,hasPrettierIgnore:_n,insertPragma:J}}}),LE=Te({"src/language-markdown/options.js"(m,A){Re();var p=io();A.exports={proseWrap:p.proseWrap,singleQuote:p.singleQuote}}}),kE=Te({"src/language-markdown/parsers.js"(){Re()}}),fg=Te({"node_modules/linguist-languages/data/Markdown.json"(m,A){A.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),PE=Te({"src/language-markdown/index.js"(m,A){Re();var p=sa(),v=_E(),D=LE(),f=kE(),d=[p(fg(),E=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...E.filenames,"README"],extensions:E.extensions.filter(x=>x!==".mdx")})),p(fg(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],h={mdast:v};A.exports={languages:d,options:D,printers:h,parsers:f}}}),BE=Te({"src/language-html/clean.js"(m,A){Re();var{isFrontMatterNode:p}=ye(),v=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function D(f,d){if(f.type==="text"||f.type==="comment"||p(f)||f.type==="yaml"||f.type==="toml")return null;f.type==="attribute"&&delete d.value,f.type==="docType"&&delete d.value}D.ignoredProperties=v,A.exports=D}}),ME=Te({"src/language-html/constants.evaluate.js"(m,A){A.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),IE=Te({"src/language-html/utils/is-unknown-namespace.js"(m,A){Re();function p(v){return v.type==="element"&&!v.hasExplicitNamespace&&!["html","svg"].includes(v.namespace)}A.exports=p}}),so=Te({"src/language-html/utils/index.js"(m,A){Re();var{inferParserByLanguage:p,isFrontMatterNode:v}=ye(),{builders:{line:D,hardline:f,join:d},utils:{getDocParts:h,replaceTextEndOfLine:E}}=wn(),{CSS_DISPLAY_TAGS:x,CSS_DISPLAY_DEFAULT:P,CSS_WHITE_SPACE_TAGS:T,CSS_WHITE_SPACE_DEFAULT:k}=ME(),C=IE(),S=new Set([" ",`
249
- `,"\f","\r"," "]),j=V=>V.replace(/^[\t\n\f\r ]+/,""),X=V=>V.replace(/[\t\n\f\r ]+$/,""),te=V=>j(X(V)),$=V=>V.replace(/^[\t\f\r ]*\n/g,""),K=V=>$(X(V)),G=V=>V.split(/[\t\n\f\r ]+/),re=V=>V.match(/^[\t\n\f\r ]*/)[0],ee=V=>{let[,Le,at,Pt]=V.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:Le,trailingWhitespace:Pt,text:at}},De=V=>/[\t\n\f\r ]/.test(V);function F(V,Le){return!!(V.type==="ieConditionalComment"&&V.lastChild&&!V.lastChild.isSelfClosing&&!V.lastChild.endSourceSpan||V.type==="ieConditionalComment"&&!V.complete||Ze(V)&&V.children.some(at=>at.type!=="text"&&at.type!=="interpolation")||Ie(V,Le)&&!y(V)&&V.type!=="interpolation")}function J(V){return V.type==="attribute"||!V.parent||!V.prev?!1:w(V.prev)}function w(V){return V.type==="comment"&&V.value.trim()==="prettier-ignore"}function R(V){return V.type==="text"||V.type==="comment"}function y(V){return V.type==="element"&&(V.fullName==="script"||V.fullName==="style"||V.fullName==="svg:style"||C(V)&&(V.name==="script"||V.name==="style"))}function _(V){return V.children&&!y(V)}function I(V){return y(V)||V.type==="interpolation"||q(V)}function q(V){return cn(V).startsWith("pre")}function U(V,Le){let at=Pt();if(at&&!V.prev&&V.parent&&V.parent.tagDefinition&&V.parent.tagDefinition.ignoreFirstLf)return V.type==="interpolation";return at;function Pt(){return v(V)?!1:(V.type==="text"||V.type==="interpolation")&&V.prev&&(V.prev.type==="text"||V.prev.type==="interpolation")?!0:!V.parent||V.parent.cssDisplay==="none"?!1:Ze(V.parent)?!0:!(!V.prev&&(V.parent.type==="root"||Ze(V)&&V.parent||y(V.parent)||Ae(V.parent,Le)||!mt(V.parent.cssDisplay))||V.prev&&!Se(V.prev.cssDisplay))}}function z(V,Le){return v(V)?!1:(V.type==="text"||V.type==="interpolation")&&V.next&&(V.next.type==="text"||V.next.type==="interpolation")?!0:!V.parent||V.parent.cssDisplay==="none"?!1:Ze(V.parent)?!0:!(!V.next&&(V.parent.type==="root"||Ze(V)&&V.parent||y(V.parent)||Ae(V.parent,Le)||!Jt(V.parent.cssDisplay))||V.next&&!$e(V.next.cssDisplay))}function ie(V){return Je(V.cssDisplay)&&!y(V)}function le(V){return v(V)||V.next&&V.sourceSpan.end&&V.sourceSpan.end.line+1<V.next.sourceSpan.start.line}function ge(V){return ce(V)||V.type==="element"&&V.children.length>0&&(["body","script","style"].includes(V.name)||V.children.some(Le=>Ge(Le)))||V.firstChild&&V.firstChild===V.lastChild&&V.firstChild.type!=="text"&&me(V.firstChild)&&(!V.lastChild.isTrailingSpaceSensitive||oe(V.lastChild))}function ce(V){return V.type==="element"&&V.children.length>0&&(["html","head","ul","ol","select"].includes(V.name)||V.cssDisplay.startsWith("table")&&V.cssDisplay!=="table-cell")}function _e(V){return qe(V)||V.prev&&se(V.prev)||Ue(V)}function se(V){return qe(V)||V.type==="element"&&V.fullName==="br"||Ue(V)}function Ue(V){return me(V)&&oe(V)}function me(V){return V.hasLeadingSpaces&&(V.prev?V.prev.sourceSpan.end.line<V.sourceSpan.start.line:V.parent.type==="root"||V.parent.startSourceSpan.end.line<V.sourceSpan.start.line)}function oe(V){return V.hasTrailingSpaces&&(V.next?V.next.sourceSpan.start.line>V.sourceSpan.end.line:V.parent.type==="root"||V.parent.endSourceSpan&&V.parent.endSourceSpan.start.line>V.sourceSpan.end.line)}function qe(V){switch(V.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(V.name)}return!1}function st(V){return V.lastChild?st(V.lastChild):V}function Ge(V){return V.children&&V.children.some(Le=>Le.type!=="text")}function yt(V){let{type:Le,lang:at}=V.attrMap;if(Le==="module"||Le==="text/javascript"||Le==="text/babel"||Le==="application/javascript"||at==="jsx")return"babel";if(Le==="application/x-typescript"||at==="ts"||at==="tsx")return"typescript";if(Le==="text/markdown")return"markdown";if(Le==="text/html")return"html";if(Le&&(Le.endsWith("json")||Le.endsWith("importmap"))||Le==="speculationrules")return"json";if(Le==="text/x-handlebars-template")return"glimmer"}function be(V,Le){let{lang:at}=V.attrMap;if(!at||at==="postcss"||at==="css")return"css";if(at==="scss")return"scss";if(at==="less")return"less";if(at==="stylus")return p("stylus",Le)}function Me(V,Le){if(V.name==="script"&&!V.attrMap.src)return!V.attrMap.lang&&!V.attrMap.type?"babel":yt(V);if(V.name==="style")return be(V,Le);if(Le&&Ie(V,Le))return yt(V)||!("src"in V.attrMap)&&p(V.attrMap.lang,Le)}function ht(V){return V==="block"||V==="list-item"||V.startsWith("table")}function mt(V){return!ht(V)&&V!=="inline-block"}function Jt(V){return!ht(V)&&V!=="inline-block"}function $e(V){return!ht(V)}function Se(V){return!ht(V)}function Je(V){return!ht(V)&&V!=="inline-block"}function Ze(V){return cn(V).startsWith("pre")}function At(V,Le){let at=0;for(let Pt=V.stack.length-1;Pt>=0;Pt--){let Vt=V.stack[Pt];Vt&&typeof Vt=="object"&&!Array.isArray(Vt)&&Le(Vt)&&at++}return at}function _t(V,Le){let at=V;for(;at;){if(Le(at))return!0;at=at.parent}return!1}function Mt(V,Le){if(V.prev&&V.prev.type==="comment"){let Pt=V.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(Pt)return Pt[1]}let at=!1;if(V.type==="element"&&V.namespace==="svg")if(_t(V,Pt=>Pt.fullName==="svg:foreignObject"))at=!0;else return V.name==="svg"?"inline-block":"block";switch(Le.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return Le.parser==="vue"&&V.parent&&V.parent.type==="root"?"block":V.type==="element"&&(!V.namespace||at||C(V))&&x[V.name]||P}}function cn(V){return V.type==="element"&&(!V.namespace||C(V))&&T[V.name]||k}function Pn(V){let Le=Number.POSITIVE_INFINITY;for(let at of V.split(`
250
- `)){if(at.length===0)continue;if(!S.has(at[0]))return 0;let Pt=re(at).length;at.length!==Pt&&Pt<Le&&(Le=Pt)}return Le===Number.POSITIVE_INFINITY?0:Le}function _n(V){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pn(V);return Le===0?V:V.split(`
251
- `).map(at=>at.slice(Le)).join(`
252
- `)}function ln(V,Le){let at=0;for(let Pt=0;Pt<V.length;Pt++)V[Pt]===Le&&at++;return at}function yn(V){return V.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var ct=new Set(["template","style","script"]);function Ae(V,Le){return gt(V,Le)&&!ct.has(V.fullName)}function gt(V,Le){return Le.parser==="vue"&&V.type==="element"&&V.parent.type==="root"&&V.fullName.toLowerCase()!=="html"}function Ie(V,Le){return gt(V,Le)&&(Ae(V,Le)||V.attrMap.lang&&V.attrMap.lang!=="html")}function dt(V){let Le=V.fullName;return Le.charAt(0)==="#"||Le==="slot-scope"||Le==="v-slot"||Le.startsWith("v-slot:")}function en(V,Le){let at=V.parent;if(!gt(at,Le))return!1;let Pt=at.fullName,Vt=V.fullName;return Pt==="script"&&Vt==="setup"||Pt==="style"&&Vt==="vars"}function Ut(V){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.value;return V.parent.isWhitespaceSensitive?V.parent.isIndentationSensitive?E(Le):E(_n(K(Le)),f):h(d(D,G(Le)))}function bt(V,Le){return gt(V,Le)&&V.name==="script"}A.exports={htmlTrim:te,htmlTrimPreserveIndentation:K,hasHtmlWhitespace:De,getLeadingAndTrailingHtmlWhitespace:ee,canHaveInterpolation:_,countChars:ln,countParents:At,dedentString:_n,forceBreakChildren:ce,forceBreakContent:ge,forceNextEmptyLine:le,getLastDescendant:st,getNodeCssStyleDisplay:Mt,getNodeCssStyleWhiteSpace:cn,hasPrettierIgnore:J,inferScriptParser:Me,isVueCustomBlock:Ae,isVueNonHtmlBlock:Ie,isVueScriptTag:bt,isVueSlotAttribute:dt,isVueSfcBindingsAttribute:en,isVueSfcBlock:gt,isDanglingSpaceSensitiveNode:ie,isIndentationSensitiveNode:q,isLeadingSpaceSensitiveNode:U,isPreLikeNode:Ze,isScriptLikeTag:y,isTextLikeNode:R,isTrailingSpaceSensitiveNode:z,isWhitespaceSensitiveNode:I,isUnknownNamespace:C,preferHardlineAsLeadingSpaces:_e,preferHardlineAsTrailingSpaces:se,shouldPreserveContent:F,unescapeQuoteEntities:yn,getTextValueParts:Ut}}}),OE=Te({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.$EOF=0,m.$BSPACE=8,m.$TAB=9,m.$LF=10,m.$VTAB=11,m.$FF=12,m.$CR=13,m.$SPACE=32,m.$BANG=33,m.$DQ=34,m.$HASH=35,m.$$=36,m.$PERCENT=37,m.$AMPERSAND=38,m.$SQ=39,m.$LPAREN=40,m.$RPAREN=41,m.$STAR=42,m.$PLUS=43,m.$COMMA=44,m.$MINUS=45,m.$PERIOD=46,m.$SLASH=47,m.$COLON=58,m.$SEMICOLON=59,m.$LT=60,m.$EQ=61,m.$GT=62,m.$QUESTION=63,m.$0=48,m.$7=55,m.$9=57,m.$A=65,m.$E=69,m.$F=70,m.$X=88,m.$Z=90,m.$LBRACKET=91,m.$BACKSLASH=92,m.$RBRACKET=93,m.$CARET=94,m.$_=95,m.$a=97,m.$b=98,m.$e=101,m.$f=102,m.$n=110,m.$r=114,m.$t=116,m.$u=117,m.$v=118,m.$x=120,m.$z=122,m.$LBRACE=123,m.$BAR=124,m.$RBRACE=125,m.$NBSP=160,m.$PIPE=124,m.$TILDA=126,m.$AT=64,m.$BT=96;function A(h){return h>=m.$TAB&&h<=m.$SPACE||h==m.$NBSP}m.isWhitespace=A;function p(h){return m.$0<=h&&h<=m.$9}m.isDigit=p;function v(h){return h>=m.$a&&h<=m.$z||h>=m.$A&&h<=m.$Z}m.isAsciiLetter=v;function D(h){return h>=m.$a&&h<=m.$f||h>=m.$A&&h<=m.$F||p(h)}m.isAsciiHexDigit=D;function f(h){return h===m.$LF||h===m.$CR}m.isNewLine=f;function d(h){return m.$0<=h&&h<=m.$7}m.isOctalDigit=d}}),jE=Te({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=class{constructor(v,D,f){this.filePath=v,this.name=D,this.members=f}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};m.StaticSymbol=A;var p=class{constructor(){this.cache=new Map}get(v,D,f){f=f||[];let d=f.length?`.${f.join(".")}`:"",h=`"${v}".${D}${d}`,E=this.cache.get(h);return E||(E=new A(v,D,f),this.cache.set(h,E)),E}};m.StaticSymbolCache=p}}),RE=Te({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=/-+([a-z0-9])/g;function p(y){return y.replace(A,function(){for(var _=arguments.length,I=new Array(_),q=0;q<_;q++)I[q]=arguments[q];return I[1].toUpperCase()})}m.dashCaseToCamelCase=p;function v(y,_){return f(y,":",_)}m.splitAtColon=v;function D(y,_){return f(y,".",_)}m.splitAtPeriod=D;function f(y,_,I){let q=y.indexOf(_);return q==-1?I:[y.slice(0,q).trim(),y.slice(q+1).trim()]}function d(y,_,I){return Array.isArray(y)?_.visitArray(y,I):$(y)?_.visitStringMap(y,I):y==null||typeof y=="string"||typeof y=="number"||typeof y=="boolean"?_.visitPrimitive(y,I):_.visitOther(y,I)}m.visitValue=d;function h(y){return y!=null}m.isDefined=h;function E(y){return y===void 0?null:y}m.noUndefined=E;var x=class{visitArray(y,_){return y.map(I=>d(I,this,_))}visitStringMap(y,_){let I={};return Object.keys(y).forEach(q=>{I[q]=d(y[q],this,_)}),I}visitPrimitive(y,_){return y}visitOther(y,_){return y}};m.ValueTransformer=x,m.SyncAsync={assertSync:y=>{if(ee(y))throw new Error("Illegal state: value cannot be a promise");return y},then:(y,_)=>ee(y)?y.then(_):_(y),all:y=>y.some(ee)?Promise.all(y):y};function P(y){throw new Error(`Internal Error: ${y}`)}m.error=P;function T(y,_){let I=Error(y);return I[k]=!0,_&&(I[C]=_),I}m.syntaxError=T;var k="ngSyntaxError",C="ngParseErrors";function S(y){return y[k]}m.isSyntaxError=S;function j(y){return y[C]||[]}m.getParseErrors=j;function X(y){return y.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=X;var te=Object.getPrototypeOf({});function $(y){return typeof y=="object"&&y!==null&&Object.getPrototypeOf(y)===te}function K(y){let _="";for(let I=0;I<y.length;I++){let q=y.charCodeAt(I);if(q>=55296&&q<=56319&&y.length>I+1){let U=y.charCodeAt(I+1);U>=56320&&U<=57343&&(I++,q=(q-55296<<10)+U-56320+65536)}q<=127?_+=String.fromCharCode(q):q<=2047?_+=String.fromCharCode(q>>6&31|192,q&63|128):q<=65535?_+=String.fromCharCode(q>>12|224,q>>6&63|128,q&63|128):q<=2097151&&(_+=String.fromCharCode(q>>18&7|240,q>>12&63|128,q>>6&63|128,q&63|128))}return _}m.utf8Encode=K;function G(y){if(typeof y=="string")return y;if(y instanceof Array)return"["+y.map(G).join(", ")+"]";if(y==null)return""+y;if(y.overriddenName)return`${y.overriddenName}`;if(y.name)return`${y.name}`;if(!y.toString)return"object";let _=y.toString();if(_==null)return""+_;let I=_.indexOf(`
253
- `);return I===-1?_:_.substring(0,I)}m.stringify=G;function re(y){return typeof y=="function"&&y.hasOwnProperty("__forward_ref__")?y():y}m.resolveForwardRef=re;function ee(y){return!!y&&typeof y.then=="function"}m.isPromise=ee;var De=class{constructor(y){this.full=y;let _=y.split(".");this.major=_[0],this.minor=_[1],this.patch=_.slice(2).join(".")}};m.Version=De;var F=typeof window<"u"&&window,J=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,w=typeof globalThis<"u"&&globalThis,R=w||F||J;m.global=R}}),$E=Te({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=jE(),p=RE(),v=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function D(I){return I.replace(/\W/g,"_")}m.sanitizeIdentifier=D;var f=0;function d(I){if(!I||!I.reference)return null;let q=I.reference;if(q instanceof A.StaticSymbol)return q.name;if(q.__anonymousType)return q.__anonymousType;let U=p.stringify(q);return U.indexOf("(")>=0?(U=`anonymous_${f++}`,q.__anonymousType=U):U=D(U),U}m.identifierName=d;function h(I){let q=I.reference;return q instanceof A.StaticSymbol?q.filePath:`./${p.stringify(q)}`}m.identifierModuleUrl=h;function E(I,q){return`View_${d({reference:I})}_${q}`}m.viewClassName=E;function x(I){return`RenderType_${d({reference:I})}`}m.rendererTypeName=x;function P(I){return`HostView_${d({reference:I})}`}m.hostViewClassName=P;function T(I){return`${d({reference:I})}NgFactory`}m.componentFactoryName=T;var k;(function(I){I[I.Pipe=0]="Pipe",I[I.Directive=1]="Directive",I[I.NgModule=2]="NgModule",I[I.Injectable=3]="Injectable"})(k=m.CompileSummaryKind||(m.CompileSummaryKind={}));function C(I){return I.value!=null?D(I.value):d(I.identifier)}m.tokenName=C;function S(I){return I.identifier!=null?I.identifier.reference:I.value}m.tokenReference=S;var j=class{constructor(){let{moduleUrl:I,styles:q,styleUrls:U}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=I||null,this.styles=ee(q),this.styleUrls=ee(U)}};m.CompileStylesheetMetadata=j;var X=class{constructor(I){let{encapsulation:q,template:U,templateUrl:z,htmlAst:ie,styles:le,styleUrls:ge,externalStylesheets:ce,animations:_e,ngContentSelectors:se,interpolation:Ue,isInline:me,preserveWhitespaces:oe}=I;if(this.encapsulation=q,this.template=U,this.templateUrl=z,this.htmlAst=ie,this.styles=ee(le),this.styleUrls=ee(ge),this.externalStylesheets=ee(ce),this.animations=_e?F(_e):[],this.ngContentSelectors=se||[],Ue&&Ue.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Ue,this.isInline=me,this.preserveWhitespaces=oe}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=X;var te=class{static create(I){let{isHost:q,type:U,isComponent:z,selector:ie,exportAs:le,changeDetection:ge,inputs:ce,outputs:_e,host:se,providers:Ue,viewProviders:me,queries:oe,guards:qe,viewQueries:st,entryComponents:Ge,template:yt,componentViewType:be,rendererType:Me,componentFactory:ht}=I,mt={},Jt={},$e={};se!=null&&Object.keys(se).forEach(Ze=>{let At=se[Ze],_t=Ze.match(v);_t===null?$e[Ze]=At:_t[1]!=null?Jt[_t[1]]=At:_t[2]!=null&&(mt[_t[2]]=At)});let Se={};ce?.forEach(Ze=>{let At=p.splitAtColon(Ze,[Ze,Ze]);Se[At[0]]=At[1]});let Je={};return _e?.forEach(Ze=>{let At=p.splitAtColon(Ze,[Ze,Ze]);Je[At[0]]=At[1]}),new te({isHost:q,type:U,isComponent:!!z,selector:ie,exportAs:le,changeDetection:ge,inputs:Se,outputs:Je,hostListeners:mt,hostProperties:Jt,hostAttributes:$e,providers:Ue,viewProviders:me,queries:oe,guards:qe,viewQueries:st,entryComponents:Ge,template:yt,componentViewType:be,rendererType:Me,componentFactory:ht})}constructor(I){let{isHost:q,type:U,isComponent:z,selector:ie,exportAs:le,changeDetection:ge,inputs:ce,outputs:_e,hostListeners:se,hostProperties:Ue,hostAttributes:me,providers:oe,viewProviders:qe,queries:st,guards:Ge,viewQueries:yt,entryComponents:be,template:Me,componentViewType:ht,rendererType:mt,componentFactory:Jt}=I;this.isHost=!!q,this.type=U,this.isComponent=z,this.selector=ie,this.exportAs=le,this.changeDetection=ge,this.inputs=ce,this.outputs=_e,this.hostListeners=se,this.hostProperties=Ue,this.hostAttributes=me,this.providers=ee(oe),this.viewProviders=ee(qe),this.queries=ee(st),this.guards=Ge,this.viewQueries=ee(yt),this.entryComponents=ee(be),this.template=Me,this.componentViewType=ht,this.rendererType=mt,this.componentFactory=Jt}toSummary(){return{summaryKind:k.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};m.CompileDirectiveMetadata=te;var $=class{constructor(I){let{type:q,name:U,pure:z}=I;this.type=q,this.name=U,this.pure=!!z}toSummary(){return{summaryKind:k.Pipe,type:this.type,name:this.name,pure:this.pure}}};m.CompilePipeMetadata=$;var K=class{};m.CompileShallowModuleMetadata=K;var G=class{constructor(I){let{type:q,providers:U,declaredDirectives:z,exportedDirectives:ie,declaredPipes:le,exportedPipes:ge,entryComponents:ce,bootstrapComponents:_e,importedModules:se,exportedModules:Ue,schemas:me,transitiveModule:oe,id:qe}=I;this.type=q||null,this.declaredDirectives=ee(z),this.exportedDirectives=ee(ie),this.declaredPipes=ee(le),this.exportedPipes=ee(ge),this.providers=ee(U),this.entryComponents=ee(ce),this.bootstrapComponents=ee(_e),this.importedModules=ee(se),this.exportedModules=ee(Ue),this.schemas=ee(me),this.id=qe||null,this.transitiveModule=oe||null}toSummary(){let I=this.transitiveModule;return{summaryKind:k.NgModule,type:this.type,entryComponents:I.entryComponents,providers:I.providers,modules:I.modules,exportedDirectives:I.exportedDirectives,exportedPipes:I.exportedPipes}}};m.CompileNgModuleMetadata=G;var re=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(I,q){this.providers.push({provider:I,module:q})}addDirective(I){this.directivesSet.has(I.reference)||(this.directivesSet.add(I.reference),this.directives.push(I))}addExportedDirective(I){this.exportedDirectivesSet.has(I.reference)||(this.exportedDirectivesSet.add(I.reference),this.exportedDirectives.push(I))}addPipe(I){this.pipesSet.has(I.reference)||(this.pipesSet.add(I.reference),this.pipes.push(I))}addExportedPipe(I){this.exportedPipesSet.has(I.reference)||(this.exportedPipesSet.add(I.reference),this.exportedPipes.push(I))}addModule(I){this.modulesSet.has(I.reference)||(this.modulesSet.add(I.reference),this.modules.push(I))}addEntryComponent(I){this.entryComponentsSet.has(I.componentType)||(this.entryComponentsSet.add(I.componentType),this.entryComponents.push(I))}};m.TransitiveCompileNgModuleMetadata=re;function ee(I){return I||[]}var De=class{constructor(I,q){let{useClass:U,useValue:z,useExisting:ie,useFactory:le,deps:ge,multi:ce}=q;this.token=I,this.useClass=U||null,this.useValue=z,this.useExisting=ie,this.useFactory=le||null,this.dependencies=ge||null,this.multi=!!ce}};m.ProviderMeta=De;function F(I){return I.reduce((q,U)=>{let z=Array.isArray(U)?F(U):U;return q.concat(z)},[])}m.flatten=F;function J(I){return I.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function w(I,q,U){let z;return U.isInline?q.type.reference instanceof A.StaticSymbol?z=`${q.type.reference.filePath}.${q.type.reference.name}.html`:z=`${d(I)}/${d(q.type)}.html`:z=U.templateUrl,q.type.reference instanceof A.StaticSymbol?z:J(z)}m.templateSourceUrl=w;function R(I,q){let U=I.moduleUrl.split(/\/\\/g),z=U[U.length-1];return J(`css/${q}${z}.ngstyle.js`)}m.sharedStylesheetJitUrl=R;function y(I){return J(`${d(I.type)}/module.ngfactory.js`)}m.ngModuleJitUrl=y;function _(I,q){return J(`${d(I)}/${d(q.type)}.ngfactory.js`)}m.templateJitUrl=_}}),VE=Te({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=OE(),p=$E(),v=class{constructor(P,T,k,C){this.file=P,this.offset=T,this.line=k,this.col=C}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(P){let T=this.file.content,k=T.length,C=this.offset,S=this.line,j=this.col;for(;C>0&&P<0;)if(C--,P++,T.charCodeAt(C)==A.$LF){S--;let X=T.substr(0,C-1).lastIndexOf(String.fromCharCode(A.$LF));j=X>0?C-X:C}else j--;for(;C<k&&P>0;){let X=T.charCodeAt(C);C++,P--,X==A.$LF?(S++,j=0):j++}return new v(this.file,C,S,j)}getContext(P,T){let k=this.file.content,C=this.offset;if(C!=null){C>k.length-1&&(C=k.length-1);let S=C,j=0,X=0;for(;j<P&&C>0&&(C--,j++,!(k[C]==`
254
- `&&++X==T)););for(j=0,X=0;j<P&&S<k.length-1&&(S++,j++,!(k[S]==`
255
- `&&++X==T)););return{before:k.substring(C,this.offset),after:k.substring(this.offset,S+1)}}return null}};m.ParseLocation=v;var D=class{constructor(P,T){this.content=P,this.url=T}};m.ParseSourceFile=D;var f=class{constructor(P,T){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=P,this.end=T,this.details=k}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};m.ParseSourceSpan=f,m.EMPTY_PARSE_LOCATION=new v(new D("",""),0,0,0),m.EMPTY_SOURCE_SPAN=new f(m.EMPTY_PARSE_LOCATION,m.EMPTY_PARSE_LOCATION);var d;(function(P){P[P.WARNING=0]="WARNING",P[P.ERROR=1]="ERROR"})(d=m.ParseErrorLevel||(m.ParseErrorLevel={}));var h=class{constructor(P,T){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d.ERROR;this.span=P,this.msg=T,this.level=k}contextualMessage(){let P=this.span.start.getContext(100,3);return P?`${this.msg} ("${P.before}[${d[this.level]} ->]${P.after}")`:this.msg}toString(){let P=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${P}`}};m.ParseError=h;function E(P,T){let k=p.identifierModuleUrl(T),C=k!=null?`in ${P} ${p.identifierName(T)} in ${k}`:`in ${P} ${p.identifierName(T)}`,S=new D("",C);return new f(new v(S,-1,-1,-1),new v(S,-1,-1,-1))}m.typeSourceSpan=E;function x(P,T,k){let C=`in ${P} ${T} in ${k}`,S=new D("",C);return new f(new v(S,-1,-1,-1),new v(S,-1,-1,-1))}m.r3JitTypeSourceSpan=x}}),qE=Te({"src/language-html/print-preprocess.js"(m,A){Re();var{ParseSourceSpan:p}=VE(),{htmlTrim:v,getLeadingAndTrailingHtmlWhitespace:D,hasHtmlWhitespace:f,canHaveInterpolation:d,getNodeCssStyleDisplay:h,isDanglingSpaceSensitiveNode:E,isIndentationSensitiveNode:x,isLeadingSpaceSensitiveNode:P,isTrailingSpaceSensitiveNode:T,isWhitespaceSensitiveNode:k,isVueScriptTag:C}=so(),S=[X,te,K,re,ee,J,De,F,w,G,R];function j(y,_){for(let I of S)I(y,_);return y}function X(y){y.walk(_=>{if(_.type==="element"&&_.tagDefinition.ignoreFirstLf&&_.children.length>0&&_.children[0].type==="text"&&_.children[0].value[0]===`
256
- `){let I=_.children[0];I.value.length===1?_.removeChild(I):I.value=I.value.slice(1)}})}function te(y){let _=I=>I.type==="element"&&I.prev&&I.prev.type==="ieConditionalStartComment"&&I.prev.sourceSpan.end.offset===I.startSourceSpan.start.offset&&I.firstChild&&I.firstChild.type==="ieConditionalEndComment"&&I.firstChild.sourceSpan.start.offset===I.startSourceSpan.end.offset;y.walk(I=>{if(I.children)for(let q=0;q<I.children.length;q++){let U=I.children[q];if(!_(U))continue;let z=U.prev,ie=U.firstChild;I.removeChild(z),q--;let le=new p(z.sourceSpan.start,ie.sourceSpan.end),ge=new p(le.start,U.sourceSpan.end);U.condition=z.condition,U.sourceSpan=ge,U.startSourceSpan=le,U.removeChild(ie)}})}function $(y,_,I){y.walk(q=>{if(q.children)for(let U=0;U<q.children.length;U++){let z=q.children[U];if(z.type!=="text"&&!_(z))continue;z.type!=="text"&&(z.type="text",z.value=I(z));let ie=z.prev;!ie||ie.type!=="text"||(ie.value+=z.value,ie.sourceSpan=new p(ie.sourceSpan.start,z.sourceSpan.end),q.removeChild(z),U--)}})}function K(y){return $(y,_=>_.type==="cdata",_=>`<![CDATA[${_.value}]]>`)}function G(y){let _=I=>I.type==="element"&&I.attrs.length===0&&I.children.length===1&&I.firstChild.type==="text"&&!f(I.children[0].value)&&!I.firstChild.hasLeadingSpaces&&!I.firstChild.hasTrailingSpaces&&I.isLeadingSpaceSensitive&&!I.hasLeadingSpaces&&I.isTrailingSpaceSensitive&&!I.hasTrailingSpaces&&I.prev&&I.prev.type==="text"&&I.next&&I.next.type==="text";y.walk(I=>{if(I.children)for(let q=0;q<I.children.length;q++){let U=I.children[q];if(!_(U))continue;let z=U.prev,ie=U.next;z.value+=`<${U.rawName}>`+U.firstChild.value+`</${U.rawName}>`+ie.value,z.sourceSpan=new p(z.sourceSpan.start,ie.sourceSpan.end),z.isTrailingSpaceSensitive=ie.isTrailingSpaceSensitive,z.hasTrailingSpaces=ie.hasTrailingSpaces,I.removeChild(U),q--,I.removeChild(ie)}})}function re(y,_){if(_.parser==="html")return;let I=/{{(.+?)}}/s;y.walk(q=>{if(d(q))for(let U of q.children){if(U.type!=="text")continue;let z=U.sourceSpan.start,ie=null,le=U.value.split(I);for(let ge=0;ge<le.length;ge++,z=ie){let ce=le[ge];if(ge%2===0){ie=z.moveBy(ce.length),ce.length>0&&q.insertChildBefore(U,{type:"text",value:ce,sourceSpan:new p(z,ie)});continue}ie=z.moveBy(ce.length+4),q.insertChildBefore(U,{type:"interpolation",sourceSpan:new p(z,ie),children:ce.length===0?[]:[{type:"text",value:ce,sourceSpan:new p(z.moveBy(2),ie.moveBy(-2))}]})}q.removeChild(U)}})}function ee(y){y.walk(_=>{if(!_.children)return;if(_.children.length===0||_.children.length===1&&_.children[0].type==="text"&&v(_.children[0].value).length===0){_.hasDanglingSpaces=_.children.length>0,_.children=[];return}let I=k(_),q=x(_);if(!I)for(let U=0;U<_.children.length;U++){let z=_.children[U];if(z.type!=="text")continue;let{leadingWhitespace:ie,text:le,trailingWhitespace:ge}=D(z.value),ce=z.prev,_e=z.next;le?(z.value=le,z.sourceSpan=new p(z.sourceSpan.start.moveBy(ie.length),z.sourceSpan.end.moveBy(-ge.length)),ie&&(ce&&(ce.hasTrailingSpaces=!0),z.hasLeadingSpaces=!0),ge&&(z.hasTrailingSpaces=!0,_e&&(_e.hasLeadingSpaces=!0))):(_.removeChild(z),U--,(ie||ge)&&(ce&&(ce.hasTrailingSpaces=!0),_e&&(_e.hasLeadingSpaces=!0)))}_.isWhitespaceSensitive=I,_.isIndentationSensitive=q})}function De(y){y.walk(_=>{_.isSelfClosing=!_.children||_.type==="element"&&(_.tagDefinition.isVoid||_.startSourceSpan===_.endSourceSpan)})}function F(y,_){y.walk(I=>{I.type==="element"&&(I.hasHtmComponentClosingTag=I.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(_.originalText.slice(I.endSourceSpan.start.offset,I.endSourceSpan.end.offset)))})}function J(y,_){y.walk(I=>{I.cssDisplay=h(I,_)})}function w(y,_){y.walk(I=>{let{children:q}=I;if(q){if(q.length===0){I.isDanglingSpaceSensitive=E(I);return}for(let U of q)U.isLeadingSpaceSensitive=P(U,_),U.isTrailingSpaceSensitive=T(U,_);for(let U=0;U<q.length;U++){let z=q[U];z.isLeadingSpaceSensitive=(U===0||z.prev.isTrailingSpaceSensitive)&&z.isLeadingSpaceSensitive,z.isTrailingSpaceSensitive=(U===q.length-1||z.next.isLeadingSpaceSensitive)&&z.isTrailingSpaceSensitive}}})}function R(y,_){if(_.parser==="vue"){let I=y.children.find(U=>C(U,_));if(!I)return;let{lang:q}=I.attrMap;(q==="ts"||q==="typescript")&&(_.__should_parse_vue_template_with_ts=!0)}}A.exports=j}}),UE=Te({"src/language-html/pragma.js"(m,A){Re();function p(D){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(D)}function v(D){return`<!-- @format -->
257
-
258
- `+D.replace(/^\s*\n/,"")}A.exports={hasPragma:p,insertPragma:v}}}),dp=Te({"src/language-html/loc.js"(m,A){Re();function p(D){return D.sourceSpan.start.offset}function v(D){return D.sourceSpan.end.offset}A.exports={locStart:p,locEnd:v}}}),Ho=Te({"src/language-html/print/tag.js"(m,A){Re();var p=Uo(),{isNonEmptyArray:v}=ye(),{builders:{indent:D,join:f,line:d,softline:h,hardline:E},utils:{replaceTextEndOfLine:x}}=wn(),{locStart:P,locEnd:T}=dp(),{isTextLikeNode:k,getLastDescendant:C,isPreLikeNode:S,hasPrettierIgnore:j,shouldPreserveContent:X,isVueSfcBlock:te}=so();function $(se,Ue){return[se.isSelfClosing?"":K(se,Ue),G(se,Ue)]}function K(se,Ue){return se.lastChild&&y(se.lastChild)?"":[re(se,Ue),De(se,Ue)]}function G(se,Ue){return(se.next?w(se.next):R(se.parent))?"":[F(se,Ue),ee(se,Ue)]}function re(se,Ue){return R(se)?F(se.lastChild,Ue):""}function ee(se,Ue){return y(se)?De(se.parent,Ue):_(se)?ce(se.next):""}function De(se,Ue){if(p(!se.isSelfClosing),J(se,Ue))return"";switch(se.type){case"ieConditionalComment":return"<!";case"element":if(se.hasHtmComponentClosingTag)return"<//";default:return`</${se.rawName}`}}function F(se,Ue){if(J(se,Ue))return"";switch(se.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(se.isSelfClosing)return"/>";default:return">"}}function J(se,Ue){return!se.isSelfClosing&&!se.endSourceSpan&&(j(se)||X(se.parent,Ue))}function w(se){return se.prev&&se.prev.type!=="docType"&&!k(se.prev)&&se.isLeadingSpaceSensitive&&!se.hasLeadingSpaces}function R(se){return se.lastChild&&se.lastChild.isTrailingSpaceSensitive&&!se.lastChild.hasTrailingSpaces&&!k(C(se.lastChild))&&!S(se)}function y(se){return!se.next&&!se.hasTrailingSpaces&&se.isTrailingSpaceSensitive&&k(C(se))}function _(se){return se.next&&!k(se.next)&&k(se)&&se.isTrailingSpaceSensitive&&!se.hasTrailingSpaces}function I(se){let Ue=se.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return Ue?Ue[1]?Ue[1].split(/\s+/):!0:!1}function q(se){return!se.prev&&se.isLeadingSpaceSensitive&&!se.hasLeadingSpaces}function U(se,Ue,me){let oe=se.getValue();if(!v(oe.attrs))return oe.isSelfClosing?" ":"";let qe=oe.prev&&oe.prev.type==="comment"&&I(oe.prev.value),st=typeof qe=="boolean"?()=>qe:Array.isArray(qe)?ht=>qe.includes(ht.rawName):()=>!1,Ge=se.map(ht=>{let mt=ht.getValue();return st(mt)?x(Ue.originalText.slice(P(mt),T(mt))):me()},"attrs"),yt=oe.type==="element"&&oe.fullName==="script"&&oe.attrs.length===1&&oe.attrs[0].fullName==="src"&&oe.children.length===0,be=Ue.singleAttributePerLine&&oe.attrs.length>1&&!te(oe,Ue)?E:d,Me=[D([yt?" ":d,f(be,Ge)])];return oe.firstChild&&q(oe.firstChild)||oe.isSelfClosing&&R(oe.parent)||yt?Me.push(oe.isSelfClosing?" ":""):Me.push(Ue.bracketSameLine?oe.isSelfClosing?" ":"":oe.isSelfClosing?d:h),Me}function z(se){return se.firstChild&&q(se.firstChild)?"":_e(se)}function ie(se,Ue,me){let oe=se.getValue();return[le(oe,Ue),U(se,Ue,me),oe.isSelfClosing?"":z(oe)]}function le(se,Ue){return se.prev&&_(se.prev)?"":[ge(se,Ue),ce(se)]}function ge(se,Ue){return q(se)?_e(se.parent):w(se)?F(se.prev,Ue):""}function ce(se){switch(se.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${se.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(se.condition)return`<!--[if ${se.condition}]><!--><${se.rawName}`;default:return`<${se.rawName}`}}function _e(se){switch(p(!se.isSelfClosing),se.type){case"ieConditionalComment":return"]>";case"element":if(se.condition)return"><!--<![endif]-->";default:return">"}}A.exports={printClosingTag:$,printClosingTagStart:K,printClosingTagStartMarker:De,printClosingTagEndMarker:F,printClosingTagSuffix:ee,printClosingTagEnd:G,needsToBorrowLastChildClosingTagEndMarker:R,needsToBorrowParentClosingTagStartMarker:y,needsToBorrowPrevClosingTagEndMarker:w,printOpeningTag:ie,printOpeningTagStart:le,printOpeningTagPrefix:ge,printOpeningTagStartMarker:ce,printOpeningTagEndMarker:_e,needsToBorrowNextOpeningTagStartMarker:_,needsToBorrowParentOpeningTagEndMarker:q}}}),WE=Te({"node_modules/parse-srcset/src/parse-srcset.js"(m,A){Re(),function(p,v){typeof A=="object"&&A.exports?A.exports=v():p.parseSrcset=v()}(m,function(){return function(p,v){var D=v&&v.logger||console;function f(De){return De===" "||De===" "||De===`
259
- `||De==="\f"||De==="\r"}function d(De){var F,J=De.exec(p.substring(K));if(J)return F=J[0],K+=F.length,F}for(var h=p.length,E=/^[ \t\n\r\u000c]+/,x=/^[, \t\n\r\u000c]+/,P=/^[^ \t\n\r\u000c]+/,T=/[,]+$/,k=/^\d+$/,C=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,S,j,X,te,$,K=0,G=[];;){if(d(x),K>=h)return G;S=d(P),j=[],S.slice(-1)===","?(S=S.replace(T,""),ee()):re()}function re(){for(d(E),X="",te="in descriptor";;){if($=p.charAt(K),te==="in descriptor")if(f($))X&&(j.push(X),X="",te="after descriptor");else if($===","){K+=1,X&&j.push(X),ee();return}else if($==="(")X=X+$,te="in parens";else if($===""){X&&j.push(X),ee();return}else X=X+$;else if(te==="in parens")if($===")")X=X+$,te="in descriptor";else if($===""){j.push(X),ee();return}else X=X+$;else if(te==="after descriptor"&&!f($))if($===""){ee();return}else te="in descriptor",K-=1;K+=1}}function ee(){var De=!1,F,J,w,R,y={},_,I,q,U,z;for(R=0;R<j.length;R++)_=j[R],I=_[_.length-1],q=_.substring(0,_.length-1),U=parseInt(q,10),z=parseFloat(q),k.test(q)&&I==="w"?((F||J)&&(De=!0),U===0?De=!0:F=U):C.test(q)&&I==="x"?((F||J||w)&&(De=!0),z<0?De=!0:J=z):k.test(q)&&I==="h"?((w||J)&&(De=!0),U===0?De=!0:w=U):De=!0;De?D&&D.error&&D.error("Invalid srcset descriptor found in '"+p+"' at '"+_+"'."):(y.url=S,F&&(y.w=F),J&&(y.d=J),w&&(y.h=w),G.push(y))}}})}}),GE=Te({"src/language-html/syntax-attribute.js"(m,A){Re();var p=WE(),{builders:{ifBreak:v,join:D,line:f}}=wn();function d(E){let x=p(E,{logger:{error(re){throw new Error(re)}}}),P=x.some(re=>{let{w:ee}=re;return ee}),T=x.some(re=>{let{h:ee}=re;return ee}),k=x.some(re=>{let{d:ee}=re;return ee});if(P+T+k>1)throw new Error("Mixed descriptor in srcset is not supported");let C=P?"w":T?"h":"d",S=P?"w":T?"h":"x",j=re=>Math.max(...re),X=x.map(re=>re.url),te=j(X.map(re=>re.length)),$=x.map(re=>re[C]).map(re=>re?re.toString():""),K=$.map(re=>{let ee=re.indexOf(".");return ee===-1?re.length:ee}),G=j(K);return D([",",f],X.map((re,ee)=>{let De=[re],F=$[ee];if(F){let J=te-re.length+1,w=G-K[ee],R=" ".repeat(J+w);De.push(v(R," "),F+S)}return De}))}function h(E){return E.trim().split(/\s+/).join(" ")}A.exports={printImgSrcset:d,printClassNames:h}}}),JE=Te({"src/language-html/syntax-vue.js"(m,A){Re();var{builders:{group:p}}=wn();function v(h,E){let{left:x,operator:P,right:T}=D(h);return[p(E(`function _(${x}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",P," ",E(T,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function D(h){let E=/(.*?)\s+(in|of)\s+(.*)/s,x=/,([^,\]}]*)(?:,([^,\]}]*))?$/,P=/^\(|\)$/g,T=h.match(E);if(!T)return;let k={};if(k.for=T[3].trim(),!k.for)return;let C=T[1].trim().replace(P,""),S=C.match(x);S?(k.alias=C.replace(x,""),k.iterator1=S[1].trim(),S[2]&&(k.iterator2=S[2].trim())):k.alias=C;let j=[k.alias,k.iterator1,k.iterator2];if(!j.some((X,te)=>!X&&(te===0||j.slice(te+1).some(Boolean))))return{left:j.filter(Boolean).join(","),operator:T[2],right:k.for}}function f(h,E){return E(`function _(${h}) {}`,{parser:"babel",__isVueBindings:!0})}function d(h){let E=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,x=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,P=h.trim();return E.test(P)||x.test(P)}A.exports={isVueEventBindingExpression:d,printVueFor:v,printVueBindings:f}}}),pg=Te({"src/language-html/get-node-content.js"(m,A){Re();var{needsToBorrowParentClosingTagStartMarker:p,printClosingTagStartMarker:v,needsToBorrowLastChildClosingTagEndMarker:D,printClosingTagEndMarker:f,needsToBorrowParentOpeningTagEndMarker:d,printOpeningTagEndMarker:h}=Ho();function E(x,P){let T=x.startSourceSpan.end.offset;x.firstChild&&d(x.firstChild)&&(T-=h(x).length);let k=x.endSourceSpan.start.offset;return x.lastChild&&p(x.lastChild)?k+=v(x,P).length:D(x)&&(k-=f(x.lastChild,P).length),P.originalText.slice(T,k)}A.exports=E}}),YE=Te({"src/language-html/embed.js"(m,A){Re();var{builders:{breakParent:p,group:v,hardline:D,indent:f,line:d,fill:h,softline:E},utils:{mapDoc:x,replaceTextEndOfLine:P}}=wn(),T=fp(),{printClosingTag:k,printClosingTagSuffix:C,needsToBorrowPrevClosingTagEndMarker:S,printOpeningTagPrefix:j,printOpeningTag:X}=Ho(),{printImgSrcset:te,printClassNames:$}=GE(),{printVueFor:K,printVueBindings:G,isVueEventBindingExpression:re}=JE(),{isScriptLikeTag:ee,isVueNonHtmlBlock:De,inferScriptParser:F,htmlTrimPreserveIndentation:J,dedentString:w,unescapeQuoteEntities:R,isVueSlotAttribute:y,isVueSfcBindingsAttribute:_,getTextValueParts:I}=so(),q=pg();function U(ie,le,ge){let ce=Ge=>new RegExp(Ge.join("|")).test(ie.fullName),_e=()=>R(ie.value),se=!1,Ue=(Ge,yt)=>{let be=Ge.type==="NGRoot"?Ge.node.type==="NGMicrosyntax"&&Ge.node.body.length===1&&Ge.node.body[0].type==="NGMicrosyntaxExpression"?Ge.node.body[0].expression:Ge.node:Ge.type==="JsExpressionRoot"?Ge.node:Ge;be&&(be.type==="ObjectExpression"||be.type==="ArrayExpression"||yt.parser==="__vue_expression"&&(be.type==="TemplateLiteral"||be.type==="StringLiteral"))&&(se=!0)},me=Ge=>v(Ge),oe=function(Ge){let yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return v([f([E,Ge]),yt?E:""])},qe=Ge=>se?me(Ge):oe(Ge),st=(Ge,yt)=>le(Ge,Object.assign({__onHtmlBindingRoot:Ue,__embeddedInHtml:!0},yt));if(ie.fullName==="srcset"&&(ie.parent.fullName==="img"||ie.parent.fullName==="source"))return oe(te(_e()));if(ie.fullName==="class"&&!ge.parentParser){let Ge=_e();if(!Ge.includes("{{"))return $(Ge)}if(ie.fullName==="style"&&!ge.parentParser){let Ge=_e();if(!Ge.includes("{{"))return oe(st(Ge,{parser:"css",__isHTMLStyleAttribute:!0}))}if(ge.parser==="vue"){if(ie.fullName==="v-for")return K(_e(),st);if(y(ie)||_(ie,ge))return G(_e(),st);let Ge=["^@","^v-on:"],yt=["^:","^v-bind:"],be=["^v-"];if(ce(Ge)){let Me=_e(),ht=re(Me)?"__js_expression":ge.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return qe(st(Me,{parser:ht}))}if(ce(yt))return qe(st(_e(),{parser:"__vue_expression"}));if(ce(be))return qe(st(_e(),{parser:"__js_expression"}))}if(ge.parser==="angular"){let Ge=($e,Se)=>st($e,Object.assign(Object.assign({},Se),{},{trailingComma:"none"})),yt=["^\\*"],be=["^\\(.+\\)$","^on-"],Me=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],ht=["^i18n(-.+)?$"];if(ce(be))return qe(Ge(_e(),{parser:"__ng_action"}));if(ce(Me))return qe(Ge(_e(),{parser:"__ng_binding"}));if(ce(ht)){let $e=_e().trim();return oe(h(I(ie,$e)),!$e.includes("@@"))}if(ce(yt))return qe(Ge(_e(),{parser:"__ng_directive"}));let mt=/{{(.+?)}}/s,Jt=_e();if(mt.test(Jt)){let $e=[];for(let[Se,Je]of Jt.split(mt).entries())if(Se%2===0)$e.push(P(Je));else try{$e.push(v(["{{",f([d,Ge(Je,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),d,"}}"]))}catch{$e.push("{{",P(Je),"}}")}return v($e)}}return null}function z(ie,le,ge,ce){let _e=ie.getValue();switch(_e.type){case"element":{if(ee(_e)||_e.type==="interpolation")return;if(!_e.isSelfClosing&&De(_e,ce)){let se=F(_e,ce);if(!se)return;let Ue=q(_e,ce),me=/^\s*$/.test(Ue),oe="";return me||(oe=ge(J(Ue),{parser:se,__embeddedInHtml:!0},{stripTrailingHardline:!0}),me=oe===""),[j(_e,ce),v(X(ie,ce,le)),me?"":D,oe,me?"":D,k(_e,ce),C(_e,ce)]}break}case"text":{if(ee(_e.parent)){let se=F(_e.parent,ce);if(se){let Ue=se==="markdown"?w(_e.value.replace(/^[^\S\n]*\n/,"")):_e.value,me={parser:se,__embeddedInHtml:!0};if(ce.parser==="html"&&se==="babel"){let oe="script",{attrMap:qe}=_e.parent;qe&&(qe.type==="module"||qe.type==="text/babel"&&qe["data-type"]==="module")&&(oe="module"),me.__babelSourceType=oe}return[p,j(_e,ce),ge(Ue,me,{stripTrailingHardline:!0}),C(_e,ce)]}}else if(_e.parent.type==="interpolation"){let se={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return ce.parser==="angular"?(se.parser="__ng_interpolation",se.trailingComma="none"):ce.parser==="vue"?se.parser=ce.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":se.parser="__js_expression",[f([d,ge(_e.value,se,{stripTrailingHardline:!0})]),_e.parent.next&&S(_e.parent.next)?" ":d]}break}case"attribute":{if(!_e.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(ce.originalText.slice(_e.valueSpan.start.offset,_e.valueSpan.end.offset)))return[_e.rawName,"=",_e.value];if(ce.parser==="lwc"&&/^{.*}$/s.test(ce.originalText.slice(_e.valueSpan.start.offset,_e.valueSpan.end.offset)))return[_e.rawName,"=",_e.value];let se=U(_e,(Ue,me)=>ge(Ue,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},me),{stripTrailingHardline:!0}),ce);if(se)return[_e.rawName,'="',v(x(se,Ue=>typeof Ue=="string"?Ue.replace(/"/g,"&quot;"):Ue)),'"'];break}case"front-matter":return T(_e,ge)}}A.exports=z}}),dg=Te({"src/language-html/print/children.js"(m,A){Re();var{builders:{breakParent:p,group:v,ifBreak:D,line:f,softline:d,hardline:h},utils:{replaceTextEndOfLine:E}}=wn(),{locStart:x,locEnd:P}=dp(),{forceBreakChildren:T,forceNextEmptyLine:k,isTextLikeNode:C,hasPrettierIgnore:S,preferHardlineAsLeadingSpaces:j}=so(),{printOpeningTagPrefix:X,needsToBorrowNextOpeningTagStartMarker:te,printOpeningTagStartMarker:$,needsToBorrowPrevClosingTagEndMarker:K,printClosingTagEndMarker:G,printClosingTagSuffix:re,needsToBorrowParentClosingTagStartMarker:ee}=Ho();function De(w,R,y){let _=w.getValue();return S(_)?[X(_,R),...E(R.originalText.slice(x(_)+(_.prev&&te(_.prev)?$(_).length:0),P(_)-(_.next&&K(_.next)?G(_,R).length:0))),re(_,R)]:y()}function F(w,R){return C(w)&&C(R)?w.isTrailingSpaceSensitive?w.hasTrailingSpaces?j(R)?h:f:"":j(R)?h:d:te(w)&&(S(R)||R.firstChild||R.isSelfClosing||R.type==="element"&&R.attrs.length>0)||w.type==="element"&&w.isSelfClosing&&K(R)?"":!R.isLeadingSpaceSensitive||j(R)||K(R)&&w.lastChild&&ee(w.lastChild)&&w.lastChild.lastChild&&ee(w.lastChild.lastChild)?h:R.hasLeadingSpaces?f:d}function J(w,R,y){let _=w.getValue();if(T(_))return[p,...w.map(q=>{let U=q.getValue(),z=U.prev?F(U.prev,U):"";return[z?[z,k(U.prev)?h:""]:"",De(q,R,y)]},"children")];let I=_.children.map(()=>Symbol(""));return w.map((q,U)=>{let z=q.getValue();if(C(z)){if(z.prev&&C(z.prev)){let Ue=F(z.prev,z);if(Ue)return k(z.prev)?[h,h,De(q,R,y)]:[Ue,De(q,R,y)]}return De(q,R,y)}let ie=[],le=[],ge=[],ce=[],_e=z.prev?F(z.prev,z):"",se=z.next?F(z,z.next):"";return _e&&(k(z.prev)?ie.push(h,h):_e===h?ie.push(h):C(z.prev)?le.push(_e):le.push(D("",d,{groupId:I[U-1]}))),se&&(k(z)?C(z.next)&&ce.push(h,h):se===h?C(z.next)&&ce.push(h):ge.push(se)),[...ie,v([...le,v([De(q,R,y),...ge],{id:I[U]})]),...ce]},"children")}A.exports={printChildren:J}}}),HE=Te({"src/language-html/print/element.js"(m,A){Re();var{builders:{breakParent:p,dedentToRoot:v,group:D,ifBreak:f,indentIfBreak:d,indent:h,line:E,softline:x},utils:{replaceTextEndOfLine:P}}=wn(),T=pg(),{shouldPreserveContent:k,isScriptLikeTag:C,isVueCustomBlock:S,countParents:j,forceBreakContent:X}=so(),{printOpeningTagPrefix:te,printOpeningTag:$,printClosingTagSuffix:K,printClosingTag:G,needsToBorrowPrevClosingTagEndMarker:re,needsToBorrowLastChildClosingTagEndMarker:ee}=Ho(),{printChildren:De}=dg();function F(J,w,R){let y=J.getValue();if(k(y,w))return[te(y,w),D($(J,w,R)),...P(T(y,w)),...G(y,w),K(y,w)];let _=y.children.length===1&&y.firstChild.type==="interpolation"&&y.firstChild.isLeadingSpaceSensitive&&!y.firstChild.hasLeadingSpaces&&y.lastChild.isTrailingSpaceSensitive&&!y.lastChild.hasTrailingSpaces,I=Symbol("element-attr-group-id"),q=le=>D([D($(J,w,R),{id:I}),le,G(y,w)]),U=le=>_?d(le,{groupId:I}):(C(y)||S(y,w))&&y.parent.type==="root"&&w.parser==="vue"&&!w.vueIndentScriptAndStyle?le:h(le),z=()=>_?f(x,"",{groupId:I}):y.firstChild.hasLeadingSpaces&&y.firstChild.isLeadingSpaceSensitive?E:y.firstChild.type==="text"&&y.isWhitespaceSensitive&&y.isIndentationSensitive?v(x):x,ie=()=>(y.next?re(y.next):ee(y.parent))?y.lastChild.hasTrailingSpaces&&y.lastChild.isTrailingSpaceSensitive?" ":"":_?f(x,"",{groupId:I}):y.lastChild.hasTrailingSpaces&&y.lastChild.isTrailingSpaceSensitive?E:(y.lastChild.type==="comment"||y.lastChild.type==="text"&&y.isWhitespaceSensitive&&y.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${w.tabWidth*j(J,le=>le.parent&&le.parent.type!=="root")}}$`).test(y.lastChild.value)?"":x;return y.children.length===0?q(y.hasDanglingSpaces&&y.isDanglingSpaceSensitive?E:""):q([X(y)?p:"",U([z(),De(J,w,R)]),ie()])}A.exports={printElement:F}}}),zE=Te({"src/language-html/printer-html.js"(m,A){Re();var{builders:{fill:p,group:v,hardline:D,literalline:f},utils:{cleanDoc:d,getDocParts:h,isConcat:E,replaceTextEndOfLine:x}}=wn(),P=BE(),{countChars:T,unescapeQuoteEntities:k,getTextValueParts:C}=so(),S=qE(),{insertPragma:j}=UE(),{locStart:X,locEnd:te}=dp(),$=YE(),{printClosingTagSuffix:K,printClosingTagEnd:G,printOpeningTagPrefix:re,printOpeningTagStart:ee}=Ho(),{printElement:De}=HE(),{printChildren:F}=dg();function J(w,R,y){let _=w.getValue();switch(_.type){case"front-matter":return x(_.raw);case"root":return R.__onHtmlRoot&&R.__onHtmlRoot(_),[v(F(w,R,y)),D];case"element":case"ieConditionalComment":return De(w,R,y);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ee(_),G(_)];case"interpolation":return[ee(_,R),...w.map(y,"children"),G(_,R)];case"text":{if(_.parent.type==="interpolation"){let q=/\n[^\S\n]*$/,U=q.test(_.value),z=U?_.value.replace(q,""):_.value;return[...x(z),U?D:""]}let I=d([re(_,R),...C(_),K(_,R)]);return E(I)||I.type==="fill"?p(h(I)):I}case"docType":return[v([ee(_,R)," ",_.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),G(_,R)];case"comment":return[re(_,R),...x(R.originalText.slice(X(_),te(_)),f),K(_,R)];case"attribute":{if(_.value===null)return _.rawName;let I=k(_.value),q=T(I,"'"),U=T(I,'"'),z=q<U?"'":'"';return[_.rawName,"=",z,...x(z==='"'?I.replace(/"/g,"&quot;"):I.replace(/'/g,"&apos;")),z]}default:throw new Error(`Unexpected node type ${_.type}`)}}A.exports={preprocess:S,print:J,insertPragma:j,massageAstNode:P,embed:$}}}),QE=Te({"src/language-html/options.js"(m,A){Re();var p=io(),v="HTML";A.exports={bracketSameLine:p.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:v,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:p.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:v,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),XE=Te({"src/language-html/parsers.js"(){Re()}}),hp=Te({"node_modules/linguist-languages/data/HTML.json"(m,A){A.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),KE=Te({"node_modules/linguist-languages/data/Vue.json"(m,A){A.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),ZE=Te({"src/language-html/index.js"(m,A){Re();var p=sa(),v=zE(),D=QE(),f=XE(),d=[p(hp(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),p(hp(),E=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...E.extensions,".mjml"]})),p(hp(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),p(KE(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],h={html:v};A.exports={languages:d,printers:h,options:D,parsers:f}}}),eA=Te({"src/language-yaml/pragma.js"(m,A){Re();function p(f){return/^\s*@(?:prettier|format)\s*$/.test(f)}function v(f){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(f)}function D(f){return`# @format
260
-
261
- ${f}`}A.exports={isPragma:p,hasPragma:v,insertPragma:D}}}),tA=Te({"src/language-yaml/loc.js"(m,A){Re();function p(D){return D.position.start.offset}function v(D){return D.position.end.offset}A.exports={locStart:p,locEnd:v}}}),nA=Te({"src/language-yaml/embed.js"(m,A){Re();function p(v,D,f,d){if(v.getValue().type==="root"&&d.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(d.filepath))return f(d.originalText,Object.assign(Object.assign({},d),{},{parser:"json"}))}A.exports=p}}),ao=Te({"src/language-yaml/utils.js"(m,A){Re();var{getLast:p,isNonEmptyArray:v}=ye();function D(F,J){let w=0,R=F.stack.length-1;for(let y=0;y<R;y++){let _=F.stack[y];f(_)&&J(_)&&w++}return w}function f(F,J){return F&&typeof F.type=="string"&&(!J||J.includes(F.type))}function d(F,J,w){return J("children"in F?Object.assign(Object.assign({},F),{},{children:F.children.map(R=>d(R,J,F))}):F,w)}function h(F,J,w){Object.defineProperty(F,J,{get:w,enumerable:!1})}function E(F,J){let w=0,R=J.length;for(let y=F.position.end.offset-1;y<R;y++){let _=J[y];if(_===`
262
- `&&w++,w===1&&/\S/.test(_))return!1;if(w===2)return!0}return!1}function x(F){switch(F.getValue().type){case"tag":case"anchor":case"comment":return!1}let J=F.stack.length;for(let w=1;w<J;w++){let R=F.stack[w],y=F.stack[w-1];if(Array.isArray(y)&&typeof R=="number"&&R!==y.length-1)return!1}return!0}function P(F){return v(F.children)?P(p(F.children)):F}function T(F){return F.value.trim()==="prettier-ignore"}function k(F){let J=F.getValue();if(J.type==="documentBody"){let w=F.getParentNode();return K(w.head)&&T(p(w.head.endComments))}return j(J)&&T(p(J.leadingComments))}function C(F){return!v(F.children)&&!S(F)}function S(F){return j(F)||X(F)||te(F)||$(F)||K(F)}function j(F){return v(F?.leadingComments)}function X(F){return v(F?.middleComments)}function te(F){return F?.indicatorComment}function $(F){return F?.trailingComment}function K(F){return v(F?.endComments)}function G(F){let J=[],w;for(let R of F.split(/( +)/))R!==" "?w===" "?J.push(R):J.push((J.pop()||"")+R):w===void 0&&J.unshift(""),w=R;return w===" "&&J.push((J.pop()||"")+" "),J[0]===""&&(J.shift(),J.unshift(" "+(J.shift()||""))),J}function re(F,J,w){let R=J.split(`
263
- `).map((y,_,I)=>_===0&&_===I.length-1?y:_!==0&&_!==I.length-1?y.trim():_===0?y.trimEnd():y.trimStart());return w.proseWrap==="preserve"?R.map(y=>y.length===0?[]:[y]):R.map(y=>y.length===0?[]:G(y)).reduce((y,_,I)=>I!==0&&R[I-1].length>0&&_.length>0&&!(F==="quoteDouble"&&p(p(y)).endsWith("\\"))?[...y.slice(0,-1),[...p(y),..._]]:[...y,_],[]).map(y=>w.proseWrap==="never"?[y.join(" ")]:y)}function ee(F,J){let{parentIndent:w,isLastDescendant:R,options:y}=J,_=F.position.start.line===F.position.end.line?"":y.originalText.slice(F.position.start.offset,F.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],I;if(F.indent===null){let z=_.match(/^(?<leadingSpace> *)[^\n\r ]/m);I=z?z.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else I=F.indent-1+w;let q=_.split(`
264
- `).map(z=>z.slice(I));if(y.proseWrap==="preserve"||F.type==="blockLiteral")return U(q.map(z=>z.length===0?[]:[z]));return U(q.map(z=>z.length===0?[]:G(z)).reduce((z,ie,le)=>le!==0&&q[le-1].length>0&&ie.length>0&&!/^\s/.test(ie[0])&&!/^\s|\s$/.test(p(z))?[...z.slice(0,-1),[...p(z),...ie]]:[...z,ie],[]).map(z=>z.reduce((ie,le)=>ie.length>0&&/\s$/.test(p(ie))?[...ie.slice(0,-1),p(ie)+" "+le]:[...ie,le],[])).map(z=>y.proseWrap==="never"?[z.join(" ")]:z));function U(z){if(F.chomping==="keep")return p(z).length===0?z.slice(0,-1):z;let ie=0;for(let le=z.length-1;le>=0&&z[le].length===0;le--)ie++;return ie===0?z:ie>=2&&!R?z.slice(0,-(ie-1)):z.slice(0,-ie)}}function De(F){if(!F)return!0;switch(F.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}A.exports={getLast:p,getAncestorCount:D,isNode:f,isEmptyNode:C,isInlineNode:De,mapNode:d,defineShortcut:h,isNextLineEmpty:E,isLastDescendantNode:x,getBlockValueLineContents:ee,getFlowScalarLineContents:re,getLastDescendantNode:P,hasPrettierIgnore:k,hasLeadingComments:j,hasMiddleComments:X,hasIndicatorComment:te,hasTrailingComment:$,hasEndComments:K}}}),rA=Te({"src/language-yaml/print-preprocess.js"(m,A){Re();var{defineShortcut:p,mapNode:v}=ao();function D(d){return v(d,f)}function f(d){switch(d.type){case"document":p(d,"head",()=>d.children[0]),p(d,"body",()=>d.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":p(d,"content",()=>d.children[0]);break;case"mappingItem":case"flowMappingItem":p(d,"key",()=>d.children[0]),p(d,"value",()=>d.children[1]);break}return d}A.exports=D}}),wl=Te({"src/language-yaml/print/misc.js"(m,A){Re();var{builders:{softline:p,align:v}}=wn(),{hasEndComments:D,isNextLineEmpty:f,isNode:d}=ao(),h=new WeakMap;function E(T,k){let C=T.getValue(),S=T.stack[0],j;return h.has(S)?j=h.get(S):(j=new Set,h.set(S,j)),!j.has(C.position.end.line)&&(j.add(C.position.end.line),f(C,k)&&!x(T.getParentNode()))?p:""}function x(T){return D(T)&&!d(T,["documentHead","documentBody","flowMapping","flowSequence"])}function P(T,k){return v(" ".repeat(T),k)}A.exports={alignWithSpaces:P,shouldPrintEndComments:x,printNextEmptyLine:E}}}),iA=Te({"src/language-yaml/print/flow-mapping-sequence.js"(m,A){Re();var{builders:{ifBreak:p,line:v,softline:D,hardline:f,join:d}}=wn(),{isEmptyNode:h,getLast:E,hasEndComments:x}=ao(),{printNextEmptyLine:P,alignWithSpaces:T}=wl();function k(S,j,X){let te=S.getValue(),$=te.type==="flowMapping",K=$?"{":"[",G=$?"}":"]",re=D;$&&te.children.length>0&&X.bracketSpacing&&(re=v);let ee=E(te.children),De=ee&&ee.type==="flowMappingItem"&&h(ee.key)&&h(ee.value);return[K,T(X.tabWidth,[re,C(S,j,X),X.trailingComma==="none"?"":p(","),x(te)?[f,d(f,S.map(j,"endComments"))]:""]),De?"":re,G]}function C(S,j,X){let te=S.getValue();return S.map(($,K)=>[j(),K===te.children.length-1?"":[",",v,te.children[K].position.start.line!==te.children[K+1].position.start.line?P($,X.originalText):""]],"children")}A.exports={printFlowMapping:k,printFlowSequence:k}}}),sA=Te({"src/language-yaml/print/mapping-item.js"(m,A){Re();var{builders:{conditionalGroup:p,group:v,hardline:D,ifBreak:f,join:d,line:h}}=wn(),{hasLeadingComments:E,hasMiddleComments:x,hasTrailingComment:P,hasEndComments:T,isNode:k,isEmptyNode:C,isInlineNode:S}=ao(),{alignWithSpaces:j}=wl();function X(G,re,ee,De,F){let{key:J,value:w}=G,R=C(J),y=C(w);if(R&&y)return": ";let _=De("key"),I=$(G)?" ":"";if(y)return G.type==="flowMappingItem"&&re.type==="flowMapping"?_:G.type==="mappingItem"&&te(J.content,F)&&!P(J.content)&&(!re.tag||re.tag.value!=="tag:yaml.org,2002:set")?[_,I,":"]:["? ",j(2,_)];let q=De("value");if(R)return[": ",j(2,q)];if(E(w)||!S(J.content))return["? ",j(2,_),D,d("",ee.map(De,"value","leadingComments").map(ce=>[ce,D])),": ",j(2,q)];if(K(J.content)&&!E(J.content)&&!x(J.content)&&!P(J.content)&&!T(J)&&!E(w.content)&&!x(w.content)&&!T(w)&&te(w.content,F))return[_,I,": ",q];let U=Symbol("mappingKey"),z=v([f("? "),v(j(2,_),{id:U})]),ie=[D,": ",j(2,q)],le=[I,":"];E(w.content)||T(w)&&w.content&&!k(w.content,["mapping","sequence"])||re.type==="mapping"&&P(J.content)&&S(w.content)||k(w.content,["mapping","sequence"])&&w.content.tag===null&&w.content.anchor===null?le.push(D):w.content&&le.push(h),le.push(q);let ge=j(F.tabWidth,le);return te(J.content,F)&&!E(J.content)&&!x(J.content)&&!T(J)?p([[_,ge]]):p([[z,f(ie,ge,{groupId:U})]])}function te(G,re){if(!G)return!0;switch(G.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(re.proseWrap==="preserve")return G.position.start.line===G.position.end.line;if(/\\$/m.test(re.originalText.slice(G.position.start.offset,G.position.end.offset)))return!1;switch(re.proseWrap){case"never":return!G.value.includes(`
265
- `);case"always":return!/[\n ]/.test(G.value);default:return!1}}function $(G){return G.key.content&&G.key.content.type==="alias"}function K(G){if(!G)return!0;switch(G.type){case"plain":case"quoteDouble":case"quoteSingle":return G.position.start.line===G.position.end.line;case"alias":return!0;default:return!1}}A.exports=X}}),aA=Te({"src/language-yaml/print/block.js"(m,A){Re();var{builders:{dedent:p,dedentToRoot:v,fill:D,hardline:f,join:d,line:h,literalline:E,markAsRoot:x},utils:{getDocParts:P}}=wn(),{getAncestorCount:T,getBlockValueLineContents:k,hasIndicatorComment:C,isLastDescendantNode:S,isNode:j}=ao(),{alignWithSpaces:X}=wl();function te($,K,G){let re=$.getValue(),ee=T($,R=>j(R,["sequence","mapping"])),De=S($),F=[re.type==="blockFolded"?">":"|"];re.indent!==null&&F.push(re.indent.toString()),re.chomping!=="clip"&&F.push(re.chomping==="keep"?"+":"-"),C(re)&&F.push(" ",K("indicatorComment"));let J=k(re,{parentIndent:ee,isLastDescendant:De,options:G}),w=[];for(let[R,y]of J.entries())R===0&&w.push(f),w.push(D(P(d(h,y)))),R!==J.length-1?w.push(y.length===0?f:x(E)):re.chomping==="keep"&&De&&w.push(v(y.length===0?f:E));return re.indent===null?F.push(p(X(G.tabWidth,w))):F.push(v(X(re.indent-1+ee,w))),F}A.exports=te}}),oA=Te({"src/language-yaml/printer-yaml.js"(m,A){Re();var{builders:{breakParent:p,fill:v,group:D,hardline:f,join:d,line:h,lineSuffix:E,literalline:x},utils:{getDocParts:P,replaceTextEndOfLine:T}}=wn(),{isPreviousLineEmpty:k}=ye(),{insertPragma:C,isPragma:S}=eA(),{locStart:j}=tA(),X=nA(),{getFlowScalarLineContents:te,getLastDescendantNode:$,hasLeadingComments:K,hasMiddleComments:G,hasTrailingComment:re,hasEndComments:ee,hasPrettierIgnore:De,isLastDescendantNode:F,isNode:J,isInlineNode:w}=ao(),R=rA(),{alignWithSpaces:y,printNextEmptyLine:_,shouldPrintEndComments:I}=wl(),{printFlowMapping:q,printFlowSequence:U}=iA(),z=sA(),ie=aA();function le(oe,qe,st){let Ge=oe.getValue(),yt=[];Ge.type!=="mappingValue"&&K(Ge)&&yt.push([d(f,oe.map(st,"leadingComments")),f]);let{tag:be,anchor:Me}=Ge;be&&yt.push(st("tag")),be&&Me&&yt.push(" "),Me&&yt.push(st("anchor"));let ht="";J(Ge,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!F(oe)&&(ht=_(oe,qe.originalText)),(be||Me)&&(J(Ge,["sequence","mapping"])&&!G(Ge)?yt.push(f):yt.push(" ")),G(Ge)&&yt.push([Ge.middleComments.length===1?"":f,d(f,oe.map(st,"middleComments")),f]);let mt=oe.getParentNode();return De(oe)?yt.push(T(qe.originalText.slice(Ge.position.start.offset,Ge.position.end.offset).trimEnd(),x)):yt.push(D(ge(Ge,mt,oe,qe,st))),re(Ge)&&!J(Ge,["document","documentHead"])&&yt.push(E([Ge.type==="mappingValue"&&!Ge.content?"":" ",mt.type==="mappingKey"&&oe.getParentNode(2).type==="mapping"&&w(Ge)?"":p,st("trailingComment")])),I(Ge)&&yt.push(y(Ge.type==="sequenceItem"?2:0,[f,d(f,oe.map(Jt=>[k(qe.originalText,Jt.getValue(),j)?f:"",st()],"endComments"))])),yt.push(ht),yt}function ge(oe,qe,st,Ge,yt){switch(oe.type){case"root":{let{children:be}=oe,Me=[];st.each((mt,Jt)=>{let $e=be[Jt],Se=be[Jt+1];Jt!==0&&Me.push(f),Me.push(yt()),_e($e,Se)?(Me.push(f,"..."),re($e)&&Me.push(" ",yt("trailingComment"))):Se&&!re(Se.head)&&Me.push(f,"---")},"children");let ht=$(oe);return(!J(ht,["blockLiteral","blockFolded"])||ht.chomping!=="keep")&&Me.push(f),Me}case"document":{let be=qe.children[st.getName()+1],Me=[];return se(oe,be,qe,Ge)==="head"&&((oe.head.children.length>0||oe.head.endComments.length>0)&&Me.push(yt("head")),re(oe.head)?Me.push(["---"," ",yt(["head","trailingComment"])]):Me.push("---")),ce(oe)&&Me.push(yt("body")),d(f,Me)}case"documentHead":return d(f,[...st.map(yt,"children"),...st.map(yt,"endComments")]);case"documentBody":{let{children:be,endComments:Me}=oe,ht="";if(be.length>0&&Me.length>0){let mt=$(oe);J(mt,["blockFolded","blockLiteral"])?mt.chomping!=="keep"&&(ht=[f,f]):ht=f}return[d(f,st.map(yt,"children")),ht,d(f,st.map(yt,"endComments"))]}case"directive":return["%",d(" ",[oe.name,...oe.parameters])];case"comment":return["#",oe.value];case"alias":return["*",oe.value];case"tag":return Ge.originalText.slice(oe.position.start.offset,oe.position.end.offset);case"anchor":return["&",oe.value];case"plain":return Ue(oe.type,Ge.originalText.slice(oe.position.start.offset,oe.position.end.offset),Ge);case"quoteDouble":case"quoteSingle":{let be="'",Me='"',ht=Ge.originalText.slice(oe.position.start.offset+1,oe.position.end.offset-1);if(oe.type==="quoteSingle"&&ht.includes("\\")||oe.type==="quoteDouble"&&/\\[^"]/.test(ht)){let Jt=oe.type==="quoteDouble"?Me:be;return[Jt,Ue(oe.type,ht,Ge),Jt]}if(ht.includes(Me))return[be,Ue(oe.type,oe.type==="quoteDouble"?ht.replace(/\\"/g,Me).replace(/'/g,be.repeat(2)):ht,Ge),be];if(ht.includes(be))return[Me,Ue(oe.type,oe.type==="quoteSingle"?ht.replace(/''/g,be):ht,Ge),Me];let mt=Ge.singleQuote?be:Me;return[mt,Ue(oe.type,ht,Ge),mt]}case"blockFolded":case"blockLiteral":return ie(st,yt,Ge);case"mapping":case"sequence":return d(f,st.map(yt,"children"));case"sequenceItem":return["- ",y(2,oe.content?yt("content"):"")];case"mappingKey":case"mappingValue":return oe.content?yt("content"):"";case"mappingItem":case"flowMappingItem":return z(oe,qe,st,yt,Ge);case"flowMapping":return q(st,yt,Ge);case"flowSequence":return U(st,yt,Ge);case"flowSequenceItem":return yt("content");default:throw new Error(`Unexpected node type ${oe.type}`)}}function ce(oe){return oe.body.children.length>0||ee(oe.body)}function _e(oe,qe){return re(oe)||qe&&(qe.head.children.length>0||ee(qe.head))}function se(oe,qe,st,Ge){return st.children[0]===oe&&/---(?:\s|$)/.test(Ge.originalText.slice(j(oe),j(oe)+4))||oe.head.children.length>0||ee(oe.head)||re(oe.head)?"head":_e(oe,qe)?!1:qe?"root":!1}function Ue(oe,qe,st){let Ge=te(oe,qe,st);return d(f,Ge.map(yt=>v(P(d(h,yt)))))}function me(oe,qe){if(J(qe))switch(delete qe.position,qe.type){case"comment":if(S(qe.value))return null;break;case"quoteDouble":case"quoteSingle":qe.type="quote";break}}A.exports={preprocess:R,embed:X,print:le,massageAstNode:me,insertPragma:C}}}),uA=Te({"src/language-yaml/options.js"(m,A){Re();var p=io();A.exports={bracketSpacing:p.bracketSpacing,singleQuote:p.singleQuote,proseWrap:p.proseWrap}}}),lA=Te({"src/language-yaml/parsers.js"(){Re()}}),cA=Te({"node_modules/linguist-languages/data/YAML.json"(m,A){A.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),fA=Te({"src/language-yaml/index.js"(m,A){Re();var p=sa(),v=oA(),D=uA(),f=lA(),d=[p(cA(),h=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...h.filenames.filter(E=>E!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];A.exports={languages:d,printers:{yaml:v},options:D,parsers:f}}}),pA=Te({"src/languages.js"(m,A){Re(),A.exports=[J2(),cE(),DE(),SE(),PE(),ZE(),fA()]}});Re();var{version:dA}=Zr(),oo=l2(),{getSupportInfo:hA}=Tt(),mA=c2(),gA=pA(),yA=wn();function oa(m){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var p=arguments.length,v=new Array(p),D=0;D<p;D++)v[D]=arguments[D];let f=v[A]||{},d=f.plugins||[];return v[A]=Object.assign(Object.assign({},f),{},{plugins:[...gA,...Array.isArray(d)?d:Object.values(d)]}),m(...v)}}var mp=oa(oo.formatWithCursor);lt.exports={formatWithCursor:mp,format(m,A){return mp(m,A).formatted},check(m,A){let{formatted:p}=mp(m,A);return p===m},doc:yA,getSupportInfo:oa(hA,0),version:dA,util:mA,__debug:{parse:oa(oo.parse),formatAST:oa(oo.formatAST),formatDoc:oa(oo.formatDoc),printToDoc:oa(oo.printToDoc),printDocToString:oa(oo.printDocToString)}}});return Vf()})})(e0);var ZD=e0.exports,t0={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=(i,s)=>()=>(s||i((s={exports:{}}).exports,s),s.exports),r=n((i,s)=>{var a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,b=(Y,g)=>function(){return Y&&(g=(0,Y[u(Y)[0]])(Y=0)),g},c=(Y,g)=>function(){return g||(0,Y[u(Y)[0]])((g={exports:{}}).exports,g),g.exports},N=(Y,g)=>{for(var W in g)a(Y,W,{get:g[W],enumerable:!0})},B=(Y,g,W,Ce)=>{if(g&&typeof g=="object"||typeof g=="function")for(let ke of u(g))!l.call(Y,ke)&&ke!==W&&a(Y,ke,{get:()=>g[ke],enumerable:!(Ce=o(g,ke))||Ce.enumerable});return Y},ne=Y=>B(a({},"__esModule",{value:!0}),Y),Q,M=b({"<define:process>"(){Q={env:{},argv:[]}}}),de=c({"src/common/parser-create-error.js"(Y,g){M();function W(Ce,ke){let Pe=new SyntaxError(Ce+" ("+ke.start.line+":"+ke.start.column+")");return Pe.loc=ke,Pe}g.exports=W}}),ve=c({"src/language-yaml/pragma.js"(Y,g){M();function W(Pe){return/^\s*@(?:prettier|format)\s*$/.test(Pe)}function Ce(Pe){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(Pe)}function ke(Pe){return`# @format
266
-
267
- ${Pe}`}g.exports={isPragma:W,hasPragma:Ce,insertPragma:ke}}}),Fe=c({"src/language-yaml/loc.js"(Y,g){M();function W(ke){return ke.position.start.offset}function Ce(ke){return ke.position.end.offset}g.exports={locStart:W,locEnd:Ce}}}),Ve={};N(Ve,{__assign:()=>qi,__asyncDelegator:()=>Un,__asyncGenerator:()=>Zn,__asyncValues:()=>$r,__await:()=>Cn,__awaiter:()=>Ke,__classPrivateFieldGet:()=>us,__classPrivateFieldSet:()=>Ja,__createBinding:()=>xe,__decorate:()=>Ye,__exportStar:()=>Xe,__extends:()=>he,__generator:()=>Qe,__importDefault:()=>jo,__importStar:()=>vi,__makeTemplateObject:()=>ks,__metadata:()=>Oe,__param:()=>ze,__read:()=>kt,__rest:()=>we,__spread:()=>$t,__spreadArrays:()=>Zt,__values:()=>tt});function he(Y,g){Ps(Y,g);function W(){this.constructor=Y}Y.prototype=g===null?Object.create(g):(W.prototype=g.prototype,new W)}function we(Y,g){var W={};for(var Ce in Y)Object.prototype.hasOwnProperty.call(Y,Ce)&&g.indexOf(Ce)<0&&(W[Ce]=Y[Ce]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Ce=Object.getOwnPropertySymbols(Y);ke<Ce.length;ke++)g.indexOf(Ce[ke])<0&&Object.prototype.propertyIsEnumerable.call(Y,Ce[ke])&&(W[Ce[ke]]=Y[Ce[ke]]);return W}function Ye(Y,g,W,Ce){var ke=arguments.length,Pe=ke<3?g:Ce===null?Ce=Object.getOwnPropertyDescriptor(g,W):Ce,nt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Pe=Reflect.decorate(Y,g,W,Ce);else for(var Dt=Y.length-1;Dt>=0;Dt--)(nt=Y[Dt])&&(Pe=(ke<3?nt(Pe):ke>3?nt(g,W,Pe):nt(g,W))||Pe);return ke>3&&Pe&&Object.defineProperty(g,W,Pe),Pe}function ze(Y,g){return function(W,Ce){g(W,Ce,Y)}}function Oe(Y,g){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(Y,g)}function Ke(Y,g,W,Ce){function ke(Pe){return Pe instanceof W?Pe:new W(function(nt){nt(Pe)})}return new(W||(W=Promise))(function(Pe,nt){function Dt(vt){try{ut(Ce.next(vt))}catch(Tt){nt(Tt)}}function Rt(vt){try{ut(Ce.throw(vt))}catch(Tt){nt(Tt)}}function ut(vt){vt.done?Pe(vt.value):ke(vt.value).then(Dt,Rt)}ut((Ce=Ce.apply(Y,g||[])).next())})}function Qe(Y,g){var W={label:0,sent:function(){if(Pe[0]&1)throw Pe[1];return Pe[1]},trys:[],ops:[]},Ce,ke,Pe,nt;return nt={next:Dt(0),throw:Dt(1),return:Dt(2)},typeof Symbol=="function"&&(nt[Symbol.iterator]=function(){return this}),nt;function Dt(ut){return function(vt){return Rt([ut,vt])}}function Rt(ut){if(Ce)throw new TypeError("Generator is already executing.");for(;W;)try{if(Ce=1,ke&&(Pe=ut[0]&2?ke.return:ut[0]?ke.throw||((Pe=ke.return)&&Pe.call(ke),0):ke.next)&&!(Pe=Pe.call(ke,ut[1])).done)return Pe;switch(ke=0,Pe&&(ut=[ut[0]&2,Pe.value]),ut[0]){case 0:case 1:Pe=ut;break;case 4:return W.label++,{value:ut[1],done:!1};case 5:W.label++,ke=ut[1],ut=[0];continue;case 7:ut=W.ops.pop(),W.trys.pop();continue;default:if(Pe=W.trys,!(Pe=Pe.length>0&&Pe[Pe.length-1])&&(ut[0]===6||ut[0]===2)){W=0;continue}if(ut[0]===3&&(!Pe||ut[1]>Pe[0]&&ut[1]<Pe[3])){W.label=ut[1];break}if(ut[0]===6&&W.label<Pe[1]){W.label=Pe[1],Pe=ut;break}if(Pe&&W.label<Pe[2]){W.label=Pe[2],W.ops.push(ut);break}Pe[2]&&W.ops.pop(),W.trys.pop();continue}ut=g.call(Y,W)}catch(vt){ut=[6,vt],ke=0}finally{Ce=Pe=0}if(ut[0]&5)throw ut[1];return{value:ut[0]?ut[1]:void 0,done:!0}}}function xe(Y,g,W,Ce){Ce===void 0&&(Ce=W),Y[Ce]=g[W]}function Xe(Y,g){for(var W in Y)W!=="default"&&!g.hasOwnProperty(W)&&(g[W]=Y[W])}function tt(Y){var g=typeof Symbol=="function"&&Symbol.iterator,W=g&&Y[g],Ce=0;if(W)return W.call(Y);if(Y&&typeof Y.length=="number")return{next:function(){return Y&&Ce>=Y.length&&(Y=void 0),{value:Y&&Y[Ce++],done:!Y}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}function kt(Y,g){var W=typeof Symbol=="function"&&Y[Symbol.iterator];if(!W)return Y;var Ce=W.call(Y),ke,Pe=[],nt;try{for(;(g===void 0||g-- >0)&&!(ke=Ce.next()).done;)Pe.push(ke.value)}catch(Dt){nt={error:Dt}}finally{try{ke&&!ke.done&&(W=Ce.return)&&W.call(Ce)}finally{if(nt)throw nt.error}}return Pe}function $t(){for(var Y=[],g=0;g<arguments.length;g++)Y=Y.concat(kt(arguments[g]));return Y}function Zt(){for(var Y=0,g=0,W=arguments.length;g<W;g++)Y+=arguments[g].length;for(var Ce=Array(Y),ke=0,g=0;g<W;g++)for(var Pe=arguments[g],nt=0,Dt=Pe.length;nt<Dt;nt++,ke++)Ce[ke]=Pe[nt];return Ce}function Cn(Y){return this instanceof Cn?(this.v=Y,this):new Cn(Y)}function Zn(Y,g,W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce=W.apply(Y,g||[]),ke,Pe=[];return ke={},nt("next"),nt("throw"),nt("return"),ke[Symbol.asyncIterator]=function(){return this},ke;function nt(Ot){Ce[Ot]&&(ke[Ot]=function(Lt){return new Promise(function(Gt,Wt){Pe.push([Ot,Lt,Gt,Wt])>1||Dt(Ot,Lt)})})}function Dt(Ot,Lt){try{Rt(Ce[Ot](Lt))}catch(Gt){Tt(Pe[0][3],Gt)}}function Rt(Ot){Ot.value instanceof Cn?Promise.resolve(Ot.value.v).then(ut,vt):Tt(Pe[0][2],Ot)}function ut(Ot){Dt("next",Ot)}function vt(Ot){Dt("throw",Ot)}function Tt(Ot,Lt){Ot(Lt),Pe.shift(),Pe.length&&Dt(Pe[0][0],Pe[0][1])}}function Un(Y){var g,W;return g={},Ce("next"),Ce("throw",function(ke){throw ke}),Ce("return"),g[Symbol.iterator]=function(){return this},g;function Ce(ke,Pe){g[ke]=Y[ke]?function(nt){return(W=!W)?{value:Cn(Y[ke](nt)),done:ke==="return"}:Pe?Pe(nt):nt}:Pe}}function $r(Y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var g=Y[Symbol.asyncIterator],W;return g?g.call(Y):(Y=typeof tt=="function"?tt(Y):Y[Symbol.iterator](),W={},Ce("next"),Ce("throw"),Ce("return"),W[Symbol.asyncIterator]=function(){return this},W);function Ce(Pe){W[Pe]=Y[Pe]&&function(nt){return new Promise(function(Dt,Rt){nt=Y[Pe](nt),ke(Dt,Rt,nt.done,nt.value)})}}function ke(Pe,nt,Dt,Rt){Promise.resolve(Rt).then(function(ut){Pe({value:ut,done:Dt})},nt)}}function ks(Y,g){return Object.defineProperty?Object.defineProperty(Y,"raw",{value:g}):Y.raw=g,Y}function vi(Y){if(Y&&Y.__esModule)return Y;var g={};if(Y!=null)for(var W in Y)Object.hasOwnProperty.call(Y,W)&&(g[W]=Y[W]);return g.default=Y,g}function jo(Y){return Y&&Y.__esModule?Y:{default:Y}}function us(Y,g){if(!g.has(Y))throw new TypeError("attempted to get private field on non-instance");return g.get(Y)}function Ja(Y,g,W){if(!g.has(Y))throw new TypeError("attempted to set private field on non-instance");return g.set(Y,W),W}var Ps,qi,tr=b({"node_modules/tslib/tslib.es6.js"(){M(),Ps=function(Y,g){return Ps=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,Ce){W.__proto__=Ce}||function(W,Ce){for(var ke in Ce)Ce.hasOwnProperty(ke)&&(W[ke]=Ce[ke])},Ps(Y,g)},qi=function(){return qi=Object.assign||function(Y){for(var g,W=1,Ce=arguments.length;W<Ce;W++){g=arguments[W];for(var ke in g)Object.prototype.hasOwnProperty.call(g,ke)&&(Y[ke]=g[ke])}return Y},qi.apply(this,arguments)}}}),Zu=c({"node_modules/yaml-unist-parser/node_modules/lines-and-columns/build/index.js"(Y){M(),Y.__esModule=!0,Y.LinesAndColumns=void 0;var g=`
268
- `,W="\r",Ce=function(){function ke(Pe){this.string=Pe;for(var nt=[0],Dt=0;Dt<Pe.length;)switch(Pe[Dt]){case g:Dt+=g.length,nt.push(Dt);break;case W:Dt+=W.length,Pe[Dt]===g&&(Dt+=g.length),nt.push(Dt);break;default:Dt++;break}this.offsets=nt}return ke.prototype.locationForIndex=function(Pe){if(Pe<0||Pe>this.string.length)return null;for(var nt=0,Dt=this.offsets;Dt[nt+1]<=Pe;)nt++;var Rt=Pe-Dt[nt];return{line:nt,column:Rt}},ke.prototype.indexForLocation=function(Pe){var nt=Pe.line,Dt=Pe.column;return nt<0||nt>=this.offsets.length||Dt<0||Dt>this.lengthOfLine(nt)?null:this.offsets[nt]+Dt},ke.prototype.lengthOfLine=function(Pe){var nt=this.offsets[Pe],Dt=Pe===this.offsets.length-1?this.string.length:this.offsets[Pe+1];return Dt-nt},ke}();Y.LinesAndColumns=Ce,Y.default=Ce}}),Cf=c({"node_modules/yaml-unist-parser/lib/utils/define-parents.js"(Y){M(),Y.__esModule=!0;function g(W,Ce){Ce===void 0&&(Ce=null),"children"in W&&W.children.forEach(function(ke){return g(ke,W)}),"anchor"in W&&W.anchor&&g(W.anchor,W),"tag"in W&&W.tag&&g(W.tag,W),"leadingComments"in W&&W.leadingComments.forEach(function(ke){return g(ke,W)}),"middleComments"in W&&W.middleComments.forEach(function(ke){return g(ke,W)}),"indicatorComment"in W&&W.indicatorComment&&g(W.indicatorComment,W),"trailingComment"in W&&W.trailingComment&&g(W.trailingComment,W),"endComments"in W&&W.endComments.forEach(function(ke){return g(ke,W)}),Object.defineProperty(W,"_parent",{value:Ce,enumerable:!1})}Y.defineParents=g}}),Ya=c({"node_modules/yaml-unist-parser/lib/utils/get-point-text.js"(Y){M(),Y.__esModule=!0;function g(W){return W.line+":"+W.column}Y.getPointText=g}}),xf=c({"node_modules/yaml-unist-parser/lib/attach.js"(Y){M(),Y.__esModule=!0;var g=Cf(),W=Ya();function Ce(ut){g.defineParents(ut);var vt=ke(ut),Tt=ut.children.slice();ut.comments.sort(function(Ot,Lt){return Ot.position.start.offset-Lt.position.end.offset}).filter(function(Ot){return!Ot._parent}).forEach(function(Ot){for(;Tt.length>1&&Ot.position.start.line>Tt[0].position.end.line;)Tt.shift();nt(Ot,vt,Tt[0])})}Y.attachComments=Ce;function ke(ut){for(var vt=Array.from(new Array(ut.position.end.line),function(){return{}}),Tt=0,Ot=ut.comments;Tt<Ot.length;Tt++){var Lt=Ot[Tt];vt[Lt.position.start.line-1].comment=Lt}return Pe(vt,ut),vt}function Pe(ut,vt){if(vt.position.start.offset!==vt.position.end.offset){if("leadingComments"in vt){var Tt=vt.position.start,Ot=ut[Tt.line-1].leadingAttachableNode;(!Ot||Tt.column<Ot.position.start.column)&&(ut[Tt.line-1].leadingAttachableNode=vt)}if("trailingComment"in vt&&vt.position.end.column>1&&vt.type!=="document"&&vt.type!=="documentHead"){var Lt=vt.position.end,Gt=ut[Lt.line-1].trailingAttachableNode;(!Gt||Lt.column>=Gt.position.end.column)&&(ut[Lt.line-1].trailingAttachableNode=vt)}if(vt.type!=="root"&&vt.type!=="document"&&vt.type!=="documentHead"&&vt.type!=="documentBody")for(var Wt=vt.position,Tt=Wt.start,Lt=Wt.end,Xt=[Lt.line].concat(Tt.line===Lt.line?[]:Tt.line),Dn=0,ye=Xt;Dn<ye.length;Dn++){var Z=ye[Dn],O=ut[Z-1].trailingNode;(!O||Lt.column>=O.position.end.column)&&(ut[Z-1].trailingNode=vt)}"children"in vt&&vt.children.forEach(function(H){Pe(ut,H)})}}function nt(ut,vt,Tt){var Ot=ut.position.start.line,Lt=vt[Ot-1].trailingAttachableNode;if(Lt){if(Lt.trailingComment)throw new Error("Unexpected multiple trailing comment at "+W.getPointText(ut.position.start));g.defineParents(ut,Lt),Lt.trailingComment=ut;return}for(var Gt=Ot;Gt>=Tt.position.start.line;Gt--){var Wt=vt[Gt-1].trailingNode,Xt=void 0;if(Wt)Xt=Wt;else if(Gt!==Ot&&vt[Gt-1].comment)Xt=vt[Gt-1].comment._parent;else continue;if((Xt.type==="sequence"||Xt.type==="mapping")&&(Xt=Xt.children[0]),Xt.type==="mappingItem"){var Dn=Xt.children,ye=Dn[0],Z=Dn[1];Xt=Rt(ye)?ye:Z}for(;;){if(Dt(Xt,ut)){g.defineParents(ut,Xt),Xt.endComments.push(ut);return}if(!Xt._parent)break;Xt=Xt._parent}break}for(var Gt=Ot+1;Gt<=Tt.position.end.line;Gt++){var O=vt[Gt-1].leadingAttachableNode;if(O){g.defineParents(ut,O),O.leadingComments.push(ut);return}}var H=Tt.children[1];g.defineParents(ut,H),H.endComments.push(ut)}function Dt(ut,vt){if(ut.position.start.offset<vt.position.start.offset&&ut.position.end.offset>vt.position.end.offset)switch(ut.type){case"flowMapping":case"flowSequence":return ut.children.length===0||vt.position.start.line>ut.children[ut.children.length-1].position.end.line}if(vt.position.end.offset<ut.position.end.offset)return!1;switch(ut.type){case"sequenceItem":return vt.position.start.column>ut.position.start.column;case"mappingKey":case"mappingValue":return vt.position.start.column>ut._parent.position.start.column&&(ut.children.length===0||ut.children.length===1&&ut.children[0].type!=="blockFolded"&&ut.children[0].type!=="blockLiteral")&&(ut.type==="mappingValue"||Rt(ut));default:return!1}}function Rt(ut){return ut.position.start!==ut.position.end&&(ut.children.length===0||ut.position.start.offset!==ut.children[0].position.start.offset)}}}),Tr=c({"node_modules/yaml-unist-parser/lib/factories/node.js"(Y){M(),Y.__esModule=!0;function g(W,Ce){return{type:W,position:Ce}}Y.createNode=g}}),el=c({"node_modules/yaml-unist-parser/lib/factories/root.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=Tr();function Ce(ke,Pe,nt){return g.__assign(g.__assign({},W.createNode("root",ke)),{children:Pe,comments:nt})}Y.createRoot=Ce}}),Sf=c({"node_modules/yaml-unist-parser/lib/preprocess.js"(Y){M(),Y.__esModule=!0;function g(W){switch(W.type){case"DOCUMENT":for(var Ce=W.contents.length-1;Ce>=0;Ce--)W.contents[Ce].type==="BLANK_LINE"?W.contents.splice(Ce,1):g(W.contents[Ce]);for(var Ce=W.directives.length-1;Ce>=0;Ce--)W.directives[Ce].type==="BLANK_LINE"&&W.directives.splice(Ce,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(var Ce=W.items.length-1;Ce>=0;Ce--){var ke=W.items[Ce];"char"in ke||(ke.type==="BLANK_LINE"?W.items.splice(Ce,1):g(ke))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":W.node&&g(W.node);break;case"ALIAS":case"BLANK_LINE":case"BLOCK_FOLDED":case"BLOCK_LITERAL":case"COMMENT":case"DIRECTIVE":case"PLAIN":case"QUOTE_DOUBLE":case"QUOTE_SINGLE":break;default:throw new Error("Unexpected node type "+JSON.stringify(W.type))}}Y.removeCstBlankLine=g}}),ls=c({"node_modules/yaml-unist-parser/lib/factories/leading-comment-attachable.js"(Y){M(),Y.__esModule=!0;function g(){return{leadingComments:[]}}Y.createLeadingCommentAttachable=g}}),Ha=c({"node_modules/yaml-unist-parser/lib/factories/trailing-comment-attachable.js"(Y){M(),Y.__esModule=!0;function g(W){return W===void 0&&(W=null),{trailingComment:W}}Y.createTrailingCommentAttachable=g}}),cs=c({"node_modules/yaml-unist-parser/lib/factories/comment-attachable.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ls(),Ce=Ha();function ke(){return g.__assign(g.__assign({},W.createLeadingCommentAttachable()),Ce.createTrailingCommentAttachable())}Y.createCommentAttachable=ke}}),Ro=c({"node_modules/yaml-unist-parser/lib/factories/alias.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=cs(),Ce=Tr();function ke(Pe,nt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("alias",Pe)),W.createCommentAttachable()),nt),{value:Dt})}Y.createAlias=ke}}),wf=c({"node_modules/yaml-unist-parser/lib/transforms/alias.js"(Y){M(),Y.__esModule=!0;var g=Ro();function W(Ce,ke){var Pe=Ce.cstNode;return g.createAlias(ke.transformRange({origStart:Pe.valueRange.origStart-1,origEnd:Pe.valueRange.origEnd}),ke.transformContent(Ce),Pe.rawValue)}Y.transformAlias=W}}),Ff=c({"node_modules/yaml-unist-parser/lib/factories/block-folded.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"blockFolded"})}Y.createBlockFolded=W}}),ea=c({"node_modules/yaml-unist-parser/lib/factories/block-value.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ls(),Ce=Tr();function ke(Pe,nt,Dt,Rt,ut,vt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("blockValue",Pe)),W.createLeadingCommentAttachable()),nt),{chomping:Dt,indent:Rt,value:ut,indicatorComment:vt})}Y.createBlockValue=ke}}),tl=c({"node_modules/yaml-unist-parser/lib/constants.js"(Y){M(),Y.__esModule=!0,function(g){g.Tag="!",g.Anchor="&",g.Comment="#"}(Y.PropLeadingCharacter||(Y.PropLeadingCharacter={}))}}),Nf=c({"node_modules/yaml-unist-parser/lib/factories/anchor.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=Tr();function Ce(ke,Pe){return g.__assign(g.__assign({},W.createNode("anchor",ke)),{value:Pe})}Y.createAnchor=Ce}}),$o=c({"node_modules/yaml-unist-parser/lib/factories/comment.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=Tr();function Ce(ke,Pe){return g.__assign(g.__assign({},W.createNode("comment",ke)),{value:Pe})}Y.createComment=Ce}}),Tf=c({"node_modules/yaml-unist-parser/lib/factories/content.js"(Y){M(),Y.__esModule=!0;function g(W,Ce,ke){return{anchor:Ce,tag:W,middleComments:ke}}Y.createContent=g}}),_f=c({"node_modules/yaml-unist-parser/lib/factories/tag.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=Tr();function Ce(ke,Pe){return g.__assign(g.__assign({},W.createNode("tag",ke)),{value:Pe})}Y.createTag=Ce}}),nl=c({"node_modules/yaml-unist-parser/lib/transforms/content.js"(Y){M(),Y.__esModule=!0;var g=tl(),W=Nf(),Ce=$o(),ke=Tf(),Pe=_f();function nt(Dt,Rt,ut){ut===void 0&&(ut=function(){return!1});for(var vt=Dt.cstNode,Tt=[],Ot=null,Lt=null,Gt=null,Wt=0,Xt=vt.props;Wt<Xt.length;Wt++){var Dn=Xt[Wt],ye=Rt.text[Dn.origStart];switch(ye){case g.PropLeadingCharacter.Tag:Ot=Ot||Dn,Lt=Pe.createTag(Rt.transformRange(Dn),Dt.tag);break;case g.PropLeadingCharacter.Anchor:Ot=Ot||Dn,Gt=W.createAnchor(Rt.transformRange(Dn),vt.anchor);break;case g.PropLeadingCharacter.Comment:{var Z=Ce.createComment(Rt.transformRange(Dn),Rt.text.slice(Dn.origStart+1,Dn.origEnd));Rt.comments.push(Z),!ut(Z)&&Ot&&Ot.origEnd<=Dn.origStart&&Dn.origEnd<=vt.valueRange.origStart&&Tt.push(Z);break}default:throw new Error("Unexpected leading character "+JSON.stringify(ye))}}return ke.createContent(Lt,Gt,Tt)}Y.transformContent=nt}}),rl=c({"node_modules/yaml-unist-parser/lib/transforms/block-value.js"(Y){M(),Y.__esModule=!0;var g=ea(),W=Ya(),Ce=nl(),ke;(function(nt){nt.CLIP="clip",nt.STRIP="strip",nt.KEEP="keep"})(ke||(ke={}));function Pe(nt,Dt){var Rt=nt.cstNode,ut=1,vt=Rt.chomping==="CLIP"?0:1,Tt=Rt.header.origEnd-Rt.header.origStart,Ot=Tt-ut-vt!==0,Lt=Dt.transformRange({origStart:Rt.header.origStart,origEnd:Rt.valueRange.origEnd}),Gt=null,Wt=Ce.transformContent(nt,Dt,function(Xt){var Dn=Lt.start.offset<Xt.position.start.offset&&Xt.position.end.offset<Lt.end.offset;if(!Dn)return!1;if(Gt)throw new Error("Unexpected multiple indicator comments at "+W.getPointText(Xt.position.start));return Gt=Xt,!0});return g.createBlockValue(Lt,Wt,ke[Rt.chomping],Ot?Rt.blockIndent:null,Rt.strValue,Gt)}Y.transformAstBlockValue=Pe}}),Lf=c({"node_modules/yaml-unist-parser/lib/transforms/block-folded.js"(Y){M(),Y.__esModule=!0;var g=Ff(),W=rl();function Ce(ke,Pe){return g.createBlockFolded(W.transformAstBlockValue(ke,Pe))}Y.transformBlockFolded=Ce}}),za=c({"node_modules/yaml-unist-parser/lib/factories/block-literal.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"blockLiteral"})}Y.createBlockLiteral=W}}),il=c({"node_modules/yaml-unist-parser/lib/transforms/block-literal.js"(Y){M(),Y.__esModule=!0;var g=za(),W=rl();function Ce(ke,Pe){return g.createBlockLiteral(W.transformAstBlockValue(ke,Pe))}Y.transformBlockLiteral=Ce}}),kf=c({"node_modules/yaml-unist-parser/lib/transforms/comment.js"(Y){M(),Y.__esModule=!0;var g=$o();function W(Ce,ke){return g.createComment(ke.transformRange(Ce.range),Ce.comment)}Y.transformComment=W}}),Pf=c({"node_modules/yaml-unist-parser/lib/factories/directive.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=cs(),Ce=Tr();function ke(Pe,nt,Dt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("directive",Pe)),W.createCommentAttachable()),{name:nt,parameters:Dt})}Y.createDirective=ke}}),Qa=c({"node_modules/yaml-unist-parser/lib/utils/extract-prop-comments.js"(Y){M(),Y.__esModule=!0;var g=tl(),W=$o();function Ce(ke,Pe){for(var nt=0,Dt=ke.props;nt<Dt.length;nt++){var Rt=Dt[nt],ut=Pe.text[Rt.origStart];switch(ut){case g.PropLeadingCharacter.Comment:Pe.comments.push(W.createComment(Pe.transformRange(Rt),Pe.text.slice(Rt.origStart+1,Rt.origEnd)));break;default:throw new Error("Unexpected leading character "+JSON.stringify(ut))}}}Y.extractPropComments=Ce}}),sl=c({"node_modules/yaml-unist-parser/lib/transforms/directive.js"(Y){M(),Y.__esModule=!0;var g=Pf(),W=Qa();function Ce(ke,Pe){return W.extractPropComments(ke,Pe),g.createDirective(Pe.transformRange(ke.range),ke.name,ke.parameters)}Y.transformDirective=Ce}}),Bf=c({"node_modules/yaml-unist-parser/lib/factories/document.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=Tr(),Ce=Ha();function ke(Pe,nt,Dt,Rt){return g.__assign(g.__assign(g.__assign({},W.createNode("document",Pe)),Ce.createTrailingCommentAttachable(Rt)),{children:[nt,Dt]})}Y.createDocument=ke}}),fs=c({"node_modules/yaml-unist-parser/lib/factories/position.js"(Y){M(),Y.__esModule=!0;function g(Ce,ke){return{start:Ce,end:ke}}Y.createPosition=g;function W(Ce){return{start:Ce,end:Ce}}Y.createEmptyPosition=W}}),ps=c({"node_modules/yaml-unist-parser/lib/factories/end-comment-attachable.js"(Y){M(),Y.__esModule=!0;function g(W){return W===void 0&&(W=[]),{endComments:W}}Y.createEndCommentAttachable=g}}),Mf=c({"node_modules/yaml-unist-parser/lib/factories/document-body.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ps(),Ce=Tr();function ke(Pe,nt,Dt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("documentBody",Pe)),W.createEndCommentAttachable(Dt)),{children:nt?[nt]:[]})}Y.createDocumentBody=ke}}),ds=c({"node_modules/yaml-unist-parser/lib/utils/get-last.js"(Y){M(),Y.__esModule=!0;function g(W){return W[W.length-1]}Y.getLast=g}}),al=c({"node_modules/yaml-unist-parser/lib/utils/get-match-index.js"(Y){M(),Y.__esModule=!0;function g(W,Ce){var ke=W.match(Ce);return ke?ke.index:-1}Y.getMatchIndex=g}}),ol=c({"node_modules/yaml-unist-parser/lib/transforms/document-body.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=Mf(),Ce=ds(),ke=al(),Pe=Ya();function nt(ut,vt,Tt){var Ot,Lt=ut.cstNode,Gt=Dt(Lt,vt,Tt),Wt=Gt.comments,Xt=Gt.endComments,Dn=Gt.documentTrailingComment,ye=Gt.documentHeadTrailingComment,Z=vt.transformNode(ut.contents),O=Rt(Lt,Z,vt),H=O.position,ue=O.documentEndPoint;return(Ot=vt.comments).push.apply(Ot,g.__spreadArrays(Wt,Xt)),{documentBody:W.createDocumentBody(H,Z,Xt),documentEndPoint:ue,documentTrailingComment:Dn,documentHeadTrailingComment:ye}}Y.transformDocumentBody=nt;function Dt(ut,vt,Tt){for(var Ot=[],Lt=[],Gt=[],Wt=[],Xt=!1,Dn=ut.contents.length-1;Dn>=0;Dn--){var ye=ut.contents[Dn];if(ye.type==="COMMENT"){var Z=vt.transformNode(ye);Tt&&Tt.line===Z.position.start.line?Wt.unshift(Z):Xt?Ot.unshift(Z):Z.position.start.offset>=ut.valueRange.origEnd?Gt.unshift(Z):Ot.unshift(Z)}else Xt=!0}if(Gt.length>1)throw new Error("Unexpected multiple document trailing comments at "+Pe.getPointText(Gt[1].position.start));if(Wt.length>1)throw new Error("Unexpected multiple documentHead trailing comments at "+Pe.getPointText(Wt[1].position.start));return{comments:Ot,endComments:Lt,documentTrailingComment:Ce.getLast(Gt)||null,documentHeadTrailingComment:Ce.getLast(Wt)||null}}function Rt(ut,vt,Tt){var Ot=ke.getMatchIndex(Tt.text.slice(ut.valueRange.origEnd),/^\.\.\./),Lt=Ot===-1?ut.valueRange.origEnd:Math.max(0,ut.valueRange.origEnd-1);Tt.text[Lt-1]==="\r"&&Lt--;var Gt=Tt.transformRange({origStart:vt!==null?vt.position.start.offset:Lt,origEnd:Lt}),Wt=Ot===-1?Gt.end:Tt.transformOffset(ut.valueRange.origEnd+3);return{position:Gt,documentEndPoint:Wt}}}}),If=c({"node_modules/yaml-unist-parser/lib/factories/document-head.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ps(),Ce=Tr(),ke=Ha();function Pe(nt,Dt,Rt,ut){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("documentHead",nt)),W.createEndCommentAttachable(Rt)),ke.createTrailingCommentAttachable(ut)),{children:Dt})}Y.createDocumentHead=Pe}}),ul=c({"node_modules/yaml-unist-parser/lib/transforms/document-head.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=If(),Ce=al();function ke(Dt,Rt){var ut,vt=Dt.cstNode,Tt=Pe(vt,Rt),Ot=Tt.directives,Lt=Tt.comments,Gt=Tt.endComments,Wt=nt(vt,Ot,Rt),Xt=Wt.position,Dn=Wt.endMarkerPoint;(ut=Rt.comments).push.apply(ut,g.__spreadArrays(Lt,Gt));var ye=function(Z){return Z&&Rt.comments.push(Z),W.createDocumentHead(Xt,Ot,Gt,Z)};return{createDocumentHeadWithTrailingComment:ye,documentHeadEndMarkerPoint:Dn}}Y.transformDocumentHead=ke;function Pe(Dt,Rt){for(var ut=[],vt=[],Tt=[],Ot=!1,Lt=Dt.directives.length-1;Lt>=0;Lt--){var Gt=Rt.transformNode(Dt.directives[Lt]);Gt.type==="comment"?Ot?vt.unshift(Gt):Tt.unshift(Gt):(Ot=!0,ut.unshift(Gt))}return{directives:ut,comments:vt,endComments:Tt}}function nt(Dt,Rt,ut){var vt=Ce.getMatchIndex(ut.text.slice(0,Dt.valueRange.origStart),/---\s*$/);vt>0&&!/[\r\n]/.test(ut.text[vt-1])&&(vt=-1);var Tt=vt===-1?{origStart:Dt.valueRange.origStart,origEnd:Dt.valueRange.origStart}:{origStart:vt,origEnd:vt+3};return Rt.length!==0&&(Tt.origStart=Rt[0].position.start.offset),{position:ut.transformRange(Tt),endMarkerPoint:vt===-1?null:ut.transformOffset(vt)}}}}),Of=c({"node_modules/yaml-unist-parser/lib/transforms/document.js"(Y){M(),Y.__esModule=!0;var g=Bf(),W=fs(),Ce=ol(),ke=ul();function Pe(nt,Dt){var Rt=ke.transformDocumentHead(nt,Dt),ut=Rt.createDocumentHeadWithTrailingComment,vt=Rt.documentHeadEndMarkerPoint,Tt=Ce.transformDocumentBody(nt,Dt,vt),Ot=Tt.documentBody,Lt=Tt.documentEndPoint,Gt=Tt.documentTrailingComment,Wt=Tt.documentHeadTrailingComment,Xt=ut(Wt);return Gt&&Dt.comments.push(Gt),g.createDocument(W.createPosition(Xt.position.start,Lt),Xt,Ot,Gt)}Y.transformDocument=Pe}}),ll=c({"node_modules/yaml-unist-parser/lib/factories/flow-collection.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=cs(),Ce=ps(),ke=Tr();function Pe(nt,Dt,Rt){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("flowCollection",nt)),W.createCommentAttachable()),Ce.createEndCommentAttachable()),Dt),{children:Rt})}Y.createFlowCollection=Pe}}),jf=c({"node_modules/yaml-unist-parser/lib/factories/flow-mapping.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ll();function Ce(ke,Pe,nt){return g.__assign(g.__assign({},W.createFlowCollection(ke,Pe,nt)),{type:"flowMapping"})}Y.createFlowMapping=Ce}}),cl=c({"node_modules/yaml-unist-parser/lib/factories/flow-mapping-item.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ls(),Ce=Tr();function ke(Pe,nt,Dt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("flowMappingItem",Pe)),W.createLeadingCommentAttachable()),{children:[nt,Dt]})}Y.createFlowMappingItem=ke}}),Xa=c({"node_modules/yaml-unist-parser/lib/utils/extract-comments.js"(Y){M(),Y.__esModule=!0;function g(W,Ce){for(var ke=[],Pe=0,nt=W;Pe<nt.length;Pe++){var Dt=nt[Pe];Dt&&"type"in Dt&&Dt.type==="COMMENT"?Ce.comments.push(Ce.transformNode(Dt)):ke.push(Dt)}return ke}Y.extractComments=g}}),fl=c({"node_modules/yaml-unist-parser/lib/utils/get-flow-map-item-additional-ranges.js"(Y){M(),Y.__esModule=!0;function g(W){var Ce=["?",":"].map(function(nt){var Dt=W.find(function(Rt){return"char"in Rt&&Rt.char===nt});return Dt?{origStart:Dt.origOffset,origEnd:Dt.origOffset+1}:null}),ke=Ce[0],Pe=Ce[1];return{additionalKeyRange:ke,additionalValueRange:Pe}}Y.getFlowMapItemAdditionalRanges=g}}),pl=c({"node_modules/yaml-unist-parser/lib/utils/create-slicer.js"(Y){M(),Y.__esModule=!0;function g(W,Ce){var ke=Ce;return function(Pe){return W.slice(ke,ke=Pe)}}Y.createSlicer=g}}),dl=c({"node_modules/yaml-unist-parser/lib/utils/group-cst-flow-collection-items.js"(Y){M(),Y.__esModule=!0;var g=pl();function W(Ce){for(var ke=[],Pe=g.createSlicer(Ce,1),nt=!1,Dt=1;Dt<Ce.length-1;Dt++){var Rt=Ce[Dt];if("char"in Rt&&Rt.char===","){ke.push(Pe(Dt)),Pe(Dt+1),nt=!1;continue}nt=!0}return nt&&ke.push(Pe(Ce.length-1)),ke}Y.groupCstFlowCollectionItems=W}}),Rf=c({"node_modules/yaml-unist-parser/lib/factories/mapping-key.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ps(),Ce=Tr(),ke=Ha();function Pe(nt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("mappingKey",nt)),ke.createTrailingCommentAttachable()),W.createEndCommentAttachable()),{children:Dt?[Dt]:[]})}Y.createMappingKey=Pe}}),$f=c({"node_modules/yaml-unist-parser/lib/factories/mapping-value.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=cs(),Ce=ps(),ke=Tr();function Pe(nt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("mappingValue",nt)),W.createCommentAttachable()),Ce.createEndCommentAttachable()),{children:Dt?[Dt]:[]})}Y.createMappingValue=Pe}}),Vo=c({"node_modules/yaml-unist-parser/lib/transforms/pair.js"(Y){M(),Y.__esModule=!0;var g=Rf(),W=$f(),Ce=fs();function ke(Pe,nt,Dt,Rt,ut){var vt=nt.transformNode(Pe.key),Tt=nt.transformNode(Pe.value),Ot=vt||Rt?g.createMappingKey(nt.transformRange({origStart:Rt?Rt.origStart:vt.position.start.offset,origEnd:vt?vt.position.end.offset:Rt.origStart+1}),vt):null,Lt=Tt||ut?W.createMappingValue(nt.transformRange({origStart:ut?ut.origStart:Tt.position.start.offset,origEnd:Tt?Tt.position.end.offset:ut.origStart+1}),Tt):null;return Dt(Ce.createPosition(Ot?Ot.position.start:Lt.position.start,Lt?Lt.position.end:Ot.position.end),Ot||g.createMappingKey(Ce.createEmptyPosition(Lt.position.start),null),Lt||W.createMappingValue(Ce.createEmptyPosition(Ot.position.end),null))}Y.transformAstPair=ke}}),Vf=c({"node_modules/yaml-unist-parser/lib/transforms/flow-map.js"(Y){M(),Y.__esModule=!0;var g=jf(),W=cl(),Ce=Xa(),ke=fl(),Pe=ds(),nt=dl(),Dt=Vo();function Rt(ut,vt){var Tt=Ce.extractComments(ut.cstNode.items,vt),Ot=nt.groupCstFlowCollectionItems(Tt),Lt=ut.items.map(function(Xt,Dn){var ye=Ot[Dn],Z=ke.getFlowMapItemAdditionalRanges(ye),O=Z.additionalKeyRange,H=Z.additionalValueRange;return Dt.transformAstPair(Xt,vt,W.createFlowMappingItem,O,H)}),Gt=Tt[0],Wt=Pe.getLast(Tt);return g.createFlowMapping(vt.transformRange({origStart:Gt.origOffset,origEnd:Wt.origOffset+1}),vt.transformContent(ut),Lt)}Y.transformFlowMap=Rt}}),Qt=c({"node_modules/yaml-unist-parser/lib/factories/flow-sequence.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ll();function Ce(ke,Pe,nt){return g.__assign(g.__assign({},W.createFlowCollection(ke,Pe,nt)),{type:"flowSequence"})}Y.createFlowSequence=Ce}}),lt=c({"node_modules/yaml-unist-parser/lib/factories/flow-sequence-item.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=Tr();function Ce(ke,Pe){return g.__assign(g.__assign({},W.createNode("flowSequenceItem",ke)),{children:[Pe]})}Y.createFlowSequenceItem=Ce}}),et=c({"node_modules/yaml-unist-parser/lib/transforms/flow-seq.js"(Y){M(),Y.__esModule=!0;var g=cl(),W=Qt(),Ce=lt(),ke=fs(),Pe=Xa(),nt=fl(),Dt=ds(),Rt=dl(),ut=Vo();function vt(Tt,Ot){var Lt=Pe.extractComments(Tt.cstNode.items,Ot),Gt=Rt.groupCstFlowCollectionItems(Lt),Wt=Tt.items.map(function(ye,Z){if(ye.type!=="PAIR"){var O=Ot.transformNode(ye);return Ce.createFlowSequenceItem(ke.createPosition(O.position.start,O.position.end),O)}else{var H=Gt[Z],ue=nt.getFlowMapItemAdditionalRanges(H),Ne=ue.additionalKeyRange,Be=ue.additionalValueRange;return ut.transformAstPair(ye,Ot,g.createFlowMappingItem,Ne,Be)}}),Xt=Lt[0],Dn=Dt.getLast(Lt);return W.createFlowSequence(Ot.transformRange({origStart:Xt.origOffset,origEnd:Dn.origOffset+1}),Ot.transformContent(Tt),Wt)}Y.transformFlowSeq=vt}}),ft=c({"node_modules/yaml-unist-parser/lib/factories/mapping.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ls(),Ce=Tr();function ke(Pe,nt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("mapping",Pe)),W.createLeadingCommentAttachable()),nt),{children:Dt})}Y.createMapping=ke}}),ot=c({"node_modules/yaml-unist-parser/lib/factories/mapping-item.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ls(),Ce=Tr();function ke(Pe,nt,Dt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("mappingItem",Pe)),W.createLeadingCommentAttachable()),{children:[nt,Dt]})}Y.createMappingItem=ke}}),wt=c({"node_modules/yaml-unist-parser/lib/transforms/map.js"(Y){M(),Y.__esModule=!0;var g=ft(),W=ot(),Ce=fs(),ke=pl(),Pe=Xa(),nt=Qa(),Dt=ds(),Rt=Vo();function ut(Tt,Ot){var Lt=Tt.cstNode;Lt.items.filter(function(Dn){return Dn.type==="MAP_KEY"||Dn.type==="MAP_VALUE"}).forEach(function(Dn){return nt.extractPropComments(Dn,Ot)});var Gt=Pe.extractComments(Lt.items,Ot),Wt=vt(Gt),Xt=Tt.items.map(function(Dn,ye){var Z=Wt[ye],O=Z[0].type==="MAP_VALUE"?[null,Z[0].range]:[Z[0].range,Z.length===1?null:Z[1].range],H=O[0],ue=O[1];return Rt.transformAstPair(Dn,Ot,W.createMappingItem,H,ue)});return g.createMapping(Ce.createPosition(Xt[0].position.start,Dt.getLast(Xt).position.end),Ot.transformContent(Tt),Xt)}Y.transformMap=ut;function vt(Tt){for(var Ot=[],Lt=ke.createSlicer(Tt,0),Gt=!1,Wt=0;Wt<Tt.length;Wt++){var Xt=Tt[Wt];if(Xt.type==="MAP_VALUE"){Ot.push(Lt(Wt+1)),Gt=!1;continue}Gt&&Ot.push(Lt(Wt)),Gt=!0}return Gt&&Ot.push(Lt(1/0)),Ot}}}),Bt=c({"node_modules/yaml-unist-parser/lib/factories/plain.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=cs(),Ce=Tr();function ke(Pe,nt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("plain",Pe)),W.createCommentAttachable()),nt),{value:Dt})}Y.createPlain=ke}}),Yt=c({"node_modules/yaml-unist-parser/lib/utils/find-last-char-index.js"(Y){M(),Y.__esModule=!0;function g(W,Ce,ke){for(var Pe=Ce;Pe>=0;Pe--)if(ke.test(W[Pe]))return Pe;return-1}Y.findLastCharIndex=g}}),qt=c({"node_modules/yaml-unist-parser/lib/transforms/plain.js"(Y){M(),Y.__esModule=!0;var g=Bt(),W=Yt();function Ce(ke,Pe){var nt=ke.cstNode;return g.createPlain(Pe.transformRange({origStart:nt.valueRange.origStart,origEnd:W.findLastCharIndex(Pe.text,nt.valueRange.origEnd-1,/\S/)+1}),Pe.transformContent(ke),nt.strValue)}Y.transformPlain=Ce}}),Ht=c({"node_modules/yaml-unist-parser/lib/factories/quote-double.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"quoteDouble"})}Y.createQuoteDouble=W}}),fn=c({"node_modules/yaml-unist-parser/lib/factories/quote-value.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=cs(),Ce=Tr();function ke(Pe,nt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("quoteValue",Pe)),nt),W.createCommentAttachable()),{value:Dt})}Y.createQuoteValue=ke}}),gn=c({"node_modules/yaml-unist-parser/lib/transforms/quote-value.js"(Y){M(),Y.__esModule=!0;var g=fn();function W(Ce,ke){var Pe=Ce.cstNode;return g.createQuoteValue(ke.transformRange(Pe.valueRange),ke.transformContent(Ce),Pe.strValue)}Y.transformAstQuoteValue=W}}),bn=c({"node_modules/yaml-unist-parser/lib/transforms/quote-double.js"(Y){M(),Y.__esModule=!0;var g=Ht(),W=gn();function Ce(ke,Pe){return g.createQuoteDouble(W.transformAstQuoteValue(ke,Pe))}Y.transformQuoteDouble=Ce}}),pn=c({"node_modules/yaml-unist-parser/lib/factories/quote-single.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"quoteSingle"})}Y.createQuoteSingle=W}}),Te=c({"node_modules/yaml-unist-parser/lib/transforms/quote-single.js"(Y){M(),Y.__esModule=!0;var g=pn(),W=gn();function Ce(ke,Pe){return g.createQuoteSingle(W.transformAstQuoteValue(ke,Pe))}Y.transformQuoteSingle=Ce}}),Sn=c({"node_modules/yaml-unist-parser/lib/factories/sequence.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=ps(),Ce=ls(),ke=Tr();function Pe(nt,Dt,Rt){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("sequence",nt)),Ce.createLeadingCommentAttachable()),W.createEndCommentAttachable()),Dt),{children:Rt})}Y.createSequence=Pe}}),Bn=c({"node_modules/yaml-unist-parser/lib/factories/sequence-item.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve)),W=cs(),Ce=ps(),ke=Tr();function Pe(nt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},ke.createNode("sequenceItem",nt)),W.createCommentAttachable()),Ce.createEndCommentAttachable()),{children:Dt?[Dt]:[]})}Y.createSequenceItem=Pe}}),Xn=c({"node_modules/yaml-unist-parser/lib/transforms/seq.js"(Y){M(),Y.__esModule=!0;var g=fs(),W=Sn(),Ce=Bn(),ke=Xa(),Pe=Qa(),nt=ds();function Dt(Rt,ut){var vt=ke.extractComments(Rt.cstNode.items,ut),Tt=vt.map(function(Ot,Lt){Pe.extractPropComments(Ot,ut);var Gt=ut.transformNode(Rt.items[Lt]);return Ce.createSequenceItem(g.createPosition(ut.transformOffset(Ot.valueRange.origStart),Gt===null?ut.transformOffset(Ot.valueRange.origStart+1):Gt.position.end),Gt)});return W.createSequence(g.createPosition(Tt[0].position.start,nt.getLast(Tt).position.end),ut.transformContent(Rt),Tt)}Y.transformSeq=Dt}}),Yn=c({"node_modules/yaml-unist-parser/lib/transform.js"(Y){M(),Y.__esModule=!0;var g=wf(),W=Lf(),Ce=il(),ke=kf(),Pe=sl(),nt=Of(),Dt=Vf(),Rt=et(),ut=wt(),vt=qt(),Tt=bn(),Ot=Te(),Lt=Xn();function Gt(Wt,Xt){if(Wt===null||Wt.type===void 0&&Wt.value===null)return null;switch(Wt.type){case"ALIAS":return g.transformAlias(Wt,Xt);case"BLOCK_FOLDED":return W.transformBlockFolded(Wt,Xt);case"BLOCK_LITERAL":return Ce.transformBlockLiteral(Wt,Xt);case"COMMENT":return ke.transformComment(Wt,Xt);case"DIRECTIVE":return Pe.transformDirective(Wt,Xt);case"DOCUMENT":return nt.transformDocument(Wt,Xt);case"FLOW_MAP":return Dt.transformFlowMap(Wt,Xt);case"FLOW_SEQ":return Rt.transformFlowSeq(Wt,Xt);case"MAP":return ut.transformMap(Wt,Xt);case"PLAIN":return vt.transformPlain(Wt,Xt);case"QUOTE_DOUBLE":return Tt.transformQuoteDouble(Wt,Xt);case"QUOTE_SINGLE":return Ot.transformQuoteSingle(Wt,Xt);case"SEQ":return Lt.transformSeq(Wt,Xt);default:throw new Error("Unexpected node type "+Wt.type)}}Y.transformNode=Gt}}),Cr=c({"node_modules/yaml-unist-parser/lib/factories/error.js"(Y){M(),Y.__esModule=!0;function g(W,Ce,ke){var Pe=new SyntaxError(W);return Pe.name="YAMLSyntaxError",Pe.source=Ce,Pe.position=ke,Pe}Y.createError=g}}),Re=c({"node_modules/yaml-unist-parser/lib/transforms/error.js"(Y){M(),Y.__esModule=!0;var g=Cr();function W(Ce,ke){var Pe=Ce.source.range||Ce.source.valueRange;return g.createError(Ce.message,ke.text,ke.transformRange(Pe))}Y.transformError=W}}),Zr=c({"node_modules/yaml-unist-parser/lib/factories/point.js"(Y){M(),Y.__esModule=!0;function g(W,Ce,ke){return{offset:W,line:Ce,column:ke}}Y.createPoint=g}}),hs=c({"node_modules/yaml-unist-parser/lib/transforms/offset.js"(Y){M(),Y.__esModule=!0;var g=Zr();function W(Ce,ke){Ce<0?Ce=0:Ce>ke.text.length&&(Ce=ke.text.length);var Pe=ke.locator.locationForIndex(Ce);return g.createPoint(Ce,Pe.line+1,Pe.column+1)}Y.transformOffset=W}}),Bs=c({"node_modules/yaml-unist-parser/lib/transforms/range.js"(Y){M(),Y.__esModule=!0;var g=fs();function W(Ce,ke){return g.createPosition(ke.transformOffset(Ce.origStart),ke.transformOffset(Ce.origEnd))}Y.transformRange=W}}),pi=c({"node_modules/yaml-unist-parser/lib/utils/add-orig-range.js"(Y){M(),Y.__esModule=!0;var g=!0;function W(nt){if(!nt.setOrigRanges()){var Dt=function(Rt){if(ke(Rt))return Rt.origStart=Rt.start,Rt.origEnd=Rt.end,g;if(Pe(Rt))return Rt.origOffset=Rt.offset,g};nt.forEach(function(Rt){return Ce(Rt,Dt)})}}Y.addOrigRange=W;function Ce(nt,Dt){if(!(!nt||typeof nt!="object")&&Dt(nt)!==g)for(var Rt=0,ut=Object.keys(nt);Rt<ut.length;Rt++){var vt=ut[Rt];if(!(vt==="context"||vt==="error")){var Tt=nt[vt];Array.isArray(Tt)?Tt.forEach(function(Ot){return Ce(Ot,Dt)}):Ce(Tt,Dt)}}}function ke(nt){return typeof nt.start=="number"}function Pe(nt){return typeof nt.offset=="number"}}}),Ki=c({"node_modules/yaml-unist-parser/lib/utils/remove-fake-nodes.js"(Y){M(),Y.__esModule=!0;function g(W){if("children"in W){if(W.children.length===1){var Ce=W.children[0];if(Ce.type==="plain"&&Ce.tag===null&&Ce.anchor===null&&Ce.value==="")return W.children.splice(0,1),W}W.children.forEach(g)}return W}Y.removeFakeNodes=g}}),Vr=c({"node_modules/yaml-unist-parser/lib/utils/create-updater.js"(Y){M(),Y.__esModule=!0;function g(W,Ce,ke,Pe){var nt=Ce(W);return function(Dt){Pe(nt,Dt)&&ke(W,nt=Dt)}}Y.createUpdater=g}}),Ka=c({"node_modules/yaml-unist-parser/lib/utils/update-positions.js"(Y){M(),Y.__esModule=!0;var g=Vr(),W=ds();function Ce(vt){if(!(vt===null||!("children"in vt))){var Tt=vt.children;if(Tt.forEach(Ce),vt.type==="document"){var Ot=vt.children,Lt=Ot[0],Gt=Ot[1];Lt.position.start.offset===Lt.position.end.offset?Lt.position.start=Lt.position.end=Gt.position.start:Gt.position.start.offset===Gt.position.end.offset&&(Gt.position.start=Gt.position.end=Lt.position.end)}var Wt=g.createUpdater(vt.position,ke,Pe,Rt),Xt=g.createUpdater(vt.position,nt,Dt,ut);"endComments"in vt&&vt.endComments.length!==0&&(Wt(vt.endComments[0].position.start),Xt(W.getLast(vt.endComments).position.end));var Dn=Tt.filter(function(O){return O!==null});if(Dn.length!==0){var ye=Dn[0],Z=W.getLast(Dn);Wt(ye.position.start),Xt(Z.position.end),"leadingComments"in ye&&ye.leadingComments.length!==0&&Wt(ye.leadingComments[0].position.start),"tag"in ye&&ye.tag&&Wt(ye.tag.position.start),"anchor"in ye&&ye.anchor&&Wt(ye.anchor.position.start),"trailingComment"in Z&&Z.trailingComment&&Xt(Z.trailingComment.position.end)}}}Y.updatePositions=Ce;function ke(vt){return vt.start}function Pe(vt,Tt){vt.start=Tt}function nt(vt){return vt.end}function Dt(vt,Tt){vt.end=Tt}function Rt(vt,Tt){return Tt.offset<vt.offset}function ut(vt,Tt){return Tt.offset>vt.offset}}}),Gr=c({"node_modules/yaml/dist/PlainValue-ec8e588e.js"(Y){M();var g={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},W={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},Ce="tag:yaml.org,2002:",ke={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Pe(Z){let O=[0],H=Z.indexOf(`
269
- `);for(;H!==-1;)H+=1,O.push(H),H=Z.indexOf(`
270
- `,H);return O}function nt(Z){let O,H;return typeof Z=="string"?(O=Pe(Z),H=Z):(Array.isArray(Z)&&(Z=Z[0]),Z&&Z.context&&(Z.lineStarts||(Z.lineStarts=Pe(Z.context.src)),O=Z.lineStarts,H=Z.context.src)),{lineStarts:O,src:H}}function Dt(Z,O){if(typeof Z!="number"||Z<0)return null;let{lineStarts:H,src:ue}=nt(O);if(!H||!ue||Z>ue.length)return null;for(let Be=0;Be<H.length;++Be){let Ee=H[Be];if(Z<Ee)return{line:Be,col:Z-H[Be-1]+1};if(Z===Ee)return{line:Be+1,col:1}}let Ne=H.length;return{line:Ne,col:Z-H[Ne-1]+1}}function Rt(Z,O){let{lineStarts:H,src:ue}=nt(O);if(!H||!(Z>=1)||Z>H.length)return null;let Ne=H[Z-1],Be=H[Z];for(;Be&&Be>Ne&&ue[Be-1]===`
271
- `;)--Be;return ue.slice(Ne,Be)}function ut(Z,O){let{start:H,end:ue}=Z,Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:80,Be=Rt(H.line,O);if(!Be)return null;let{col:Ee}=H;if(Be.length>Ne)if(Ee<=Ne-10)Be=Be.substr(0,Ne-1)+"…";else{let vn=Math.round(Ne/2);Be.length>Ee+vn&&(Be=Be.substr(0,Ee+vn-1)+"…"),Ee-=Be.length-Ne,Be="…"+Be.substr(1-Ne)}let je=1,xt="";ue&&(ue.line===H.line&&Ee+(ue.col-H.col)<=Ne+1?je=ue.col-H.col:(je=Math.min(Be.length+1,Ne)-Ee,xt="…"));let jt=Ee>1?" ".repeat(Ee-1):"",zt="^".repeat(je);return`${Be}
272
- ${jt}${zt}${xt}`}var vt=class{static copy(Z){return new vt(Z.start,Z.end)}constructor(Z,O){this.start=Z,this.end=O||Z}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(Z,O){let{start:H,end:ue}=this;if(Z.length===0||ue<=Z[0])return this.origStart=H,this.origEnd=ue,O;let Ne=O;for(;Ne<Z.length&&!(Z[Ne]>H);)++Ne;this.origStart=H+Ne;let Be=Ne;for(;Ne<Z.length&&!(Z[Ne]>=ue);)++Ne;return this.origEnd=ue+Ne,Be}},Tt=class{static addStringTerminator(Z,O,H){if(H[H.length-1]===`
273
- `)return H;let ue=Tt.endOfWhiteSpace(Z,O);return ue>=Z.length||Z[ue]===`
274
- `?H+`
275
- `:H}static atDocumentBoundary(Z,O,H){let ue=Z[O];if(!ue)return!0;let Ne=Z[O-1];if(Ne&&Ne!==`
276
- `)return!1;if(H){if(ue!==H)return!1}else if(ue!==g.DIRECTIVES_END&&ue!==g.DOCUMENT_END)return!1;let Be=Z[O+1],Ee=Z[O+2];if(Be!==ue||Ee!==ue)return!1;let je=Z[O+3];return!je||je===`
277
- `||je===" "||je===" "}static endOfIdentifier(Z,O){let H=Z[O],ue=H==="<",Ne=ue?[`
278
- `," "," ",">"]:[`
279
- `," "," ","[","]","{","}",","];for(;H&&Ne.indexOf(H)===-1;)H=Z[O+=1];return ue&&H===">"&&(O+=1),O}static endOfIndent(Z,O){let H=Z[O];for(;H===" ";)H=Z[O+=1];return O}static endOfLine(Z,O){let H=Z[O];for(;H&&H!==`
280
- `;)H=Z[O+=1];return O}static endOfWhiteSpace(Z,O){let H=Z[O];for(;H===" "||H===" ";)H=Z[O+=1];return O}static startOfLine(Z,O){let H=Z[O-1];if(H===`
281
- `)return O;for(;H&&H!==`
282
- `;)H=Z[O-=1];return O+1}static endOfBlockIndent(Z,O,H){let ue=Tt.endOfIndent(Z,H);if(ue>H+O)return ue;{let Ne=Tt.endOfWhiteSpace(Z,ue),Be=Z[Ne];if(!Be||Be===`
283
- `)return Ne}return null}static atBlank(Z,O,H){let ue=Z[O];return ue===`
284
- `||ue===" "||ue===" "||H&&!ue}static nextNodeIsIndented(Z,O,H){return!Z||O<0?!1:O>0?!0:H&&Z==="-"}static normalizeOffset(Z,O){let H=Z[O];return H?H!==`
285
- `&&Z[O-1]===`
286
- `?O-1:Tt.endOfWhiteSpace(Z,O):O}static foldNewline(Z,O,H){let ue=0,Ne=!1,Be="",Ee=Z[O+1];for(;Ee===" "||Ee===" "||Ee===`
287
- `;){switch(Ee){case`
288
- `:ue=0,O+=1,Be+=`
289
- `;break;case" ":ue<=H&&(Ne=!0),O=Tt.endOfWhiteSpace(Z,O+2)-1;break;case" ":ue+=1,O+=1;break}Ee=Z[O+1]}return Be||(Be=" "),Ee&&ue<=H&&(Ne=!0),{fold:Be,offset:O,error:Ne}}constructor(Z,O,H){Object.defineProperty(this,"context",{value:H||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=O||[],this.type=Z,this.value=null}getPropValue(Z,O,H){if(!this.context)return null;let{src:ue}=this.context,Ne=this.props[Z];return Ne&&ue[Ne.start]===O?ue.slice(Ne.start+(H?1:0),Ne.end):null}get anchor(){for(let Z=0;Z<this.props.length;++Z){let O=this.getPropValue(Z,g.ANCHOR,!0);if(O!=null)return O}return null}get comment(){let Z=[];for(let O=0;O<this.props.length;++O){let H=this.getPropValue(O,g.COMMENT,!0);H!=null&&Z.push(H)}return Z.length>0?Z.join(`
290
- `):null}commentHasRequiredWhitespace(Z){let{src:O}=this.context;if(this.header&&Z===this.header.end||!this.valueRange)return!1;let{end:H}=this.valueRange;return Z!==H||Tt.atBlank(O,H-1)}get hasComment(){if(this.context){let{src:Z}=this.context;for(let O=0;O<this.props.length;++O)if(Z[this.props[O].start]===g.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:Z}=this.context;for(let O=0;O<this.props.length;++O)if(Z[this.props[O].start]!==g.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[W.FLOW_MAP,W.FLOW_SEQ,W.QUOTE_DOUBLE,W.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let Z=Dt(this.range.start,this.context.root);if(!Z)return;let O=Dt(this.range.end,this.context.root);return{start:Z,end:O}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:Z,end:O}=this.valueRange;return this.context.src.slice(Z,O)}get tag(){for(let Z=0;Z<this.props.length;++Z){let O=this.getPropValue(Z,g.TAG,!1);if(O!=null){if(O[1]==="<")return{verbatim:O.slice(2,-1)};{let[H,ue,Ne]=O.match(/^(.*!)([^!]*)$/);return{handle:ue,suffix:Ne}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:Z,end:O}=this.valueRange,{src:H}=this.context;for(let ue=Z;ue<O;++ue)if(H[ue]===`
291
- `)return!0;return!1}parseComment(Z){let{src:O}=this.context;if(O[Z]===g.COMMENT){let H=Tt.endOfLine(O,Z+1),ue=new vt(Z,H);return this.props.push(ue),H}return Z}setOrigRanges(Z,O){return this.range&&(O=this.range.setOrigRange(Z,O)),this.valueRange&&this.valueRange.setOrigRange(Z,O),this.props.forEach(H=>H.setOrigRange(Z,O)),O}toString(){let{context:{src:Z},range:O,value:H}=this;if(H!=null)return H;let ue=Z.slice(O.start,O.end);return Tt.addStringTerminator(Z,O.end,ue)}},Ot=class extends Error{constructor(Z,O,H){if(!H||!(O instanceof Tt))throw new Error(`Invalid arguments for new ${Z}`);super(),this.name=Z,this.message=H,this.source=O}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let Z=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new vt(this.offset,this.offset+1);let O=Z&&Dt(this.offset,Z);if(O){let H={line:O.line,col:O.col+1};this.linePos={start:O,end:H}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:O,col:H}=this.linePos.start;this.message+=` at line ${O}, column ${H}`;let ue=Z&&ut(this.linePos,Z);ue&&(this.message+=`:
292
-
293
- ${ue}
294
- `)}delete this.source}},Lt=class extends Ot{constructor(Z,O){super("YAMLReferenceError",Z,O)}},Gt=class extends Ot{constructor(Z,O){super("YAMLSemanticError",Z,O)}},Wt=class extends Ot{constructor(Z,O){super("YAMLSyntaxError",Z,O)}},Xt=class extends Ot{constructor(Z,O){super("YAMLWarning",Z,O)}};function Dn(Z,O,H){return O in Z?Object.defineProperty(Z,O,{value:H,enumerable:!0,configurable:!0,writable:!0}):Z[O]=H,Z}var ye=class extends Tt{static endOfLine(Z,O,H){let ue=Z[O],Ne=O;for(;ue&&ue!==`
295
- `&&!(H&&(ue==="["||ue==="]"||ue==="{"||ue==="}"||ue===","));){let Be=Z[Ne+1];if(ue===":"&&(!Be||Be===`
296
- `||Be===" "||Be===" "||H&&Be===",")||(ue===" "||ue===" ")&&Be==="#")break;Ne+=1,ue=Be}return Ne}get strValue(){if(!this.valueRange||!this.context)return null;let{start:Z,end:O}=this.valueRange,{src:H}=this.context,ue=H[O-1];for(;Z<O&&(ue===`
297
- `||ue===" "||ue===" ");)ue=H[--O-1];let Ne="";for(let Ee=Z;Ee<O;++Ee){let je=H[Ee];if(je===`
298
- `){let{fold:xt,offset:jt}=Tt.foldNewline(H,Ee,-1);Ne+=xt,Ee=jt}else if(je===" "||je===" "){let xt=Ee,jt=H[Ee+1];for(;Ee<O&&(jt===" "||jt===" ");)Ee+=1,jt=H[Ee+1];jt!==`
299
- `&&(Ne+=Ee>xt?H.slice(xt,Ee+1):je)}else Ne+=je}let Be=H[Z];switch(Be){case" ":{let Ee="Plain value cannot start with a tab character";return{errors:[new Gt(this,Ee)],str:Ne}}case"@":case"`":{let Ee=`Plain value cannot start with reserved character ${Be}`;return{errors:[new Gt(this,Ee)],str:Ne}}default:return Ne}}parseBlockValue(Z){let{indent:O,inFlow:H,src:ue}=this.context,Ne=Z,Be=Z;for(let Ee=ue[Ne];Ee===`
300
- `&&!Tt.atDocumentBoundary(ue,Ne+1);Ee=ue[Ne]){let je=Tt.endOfBlockIndent(ue,O,Ne+1);if(je===null||ue[je]==="#")break;ue[je]===`
301
- `?Ne=je:(Be=ye.endOfLine(ue,je,H),Ne=Be)}return this.valueRange.isEmpty()&&(this.valueRange.start=Z),this.valueRange.end=Be,Be}parse(Z,O){this.context=Z;let{inFlow:H,src:ue}=Z,Ne=O,Be=ue[Ne];return Be&&Be!=="#"&&Be!==`
302
- `&&(Ne=ye.endOfLine(ue,O,H)),this.valueRange=new vt(O,Ne),Ne=Tt.endOfWhiteSpace(ue,Ne),Ne=this.parseComment(Ne),(!this.hasComment||this.valueRange.isEmpty())&&(Ne=this.parseBlockValue(Ne)),Ne}};Y.Char=g,Y.Node=Tt,Y.PlainValue=ye,Y.Range=vt,Y.Type=W,Y.YAMLError=Ot,Y.YAMLReferenceError=Lt,Y.YAMLSemanticError=Gt,Y.YAMLSyntaxError=Wt,Y.YAMLWarning=Xt,Y._defineProperty=Dn,Y.defaultTagPrefix=Ce,Y.defaultTags=ke}}),Za=c({"node_modules/yaml/dist/parse-cst.js"(Y){M();var g=Gr(),W=class extends g.Node{constructor(){super(g.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(ye,Z){return this.context=ye,this.range=new g.Range(Z,Z+1),Z+1}},Ce=class extends g.Node{constructor(ye,Z){super(ye,Z),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(ye,Z){this.context=ye;let{parseNode:O,src:H}=ye,{atLineStart:ue,lineStart:Ne}=ye;!ue&&this.type===g.Type.SEQ_ITEM&&(this.error=new g.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let Be=ue?Z-Ne:ye.indent,Ee=g.Node.endOfWhiteSpace(H,Z+1),je=H[Ee],xt=je==="#",jt=[],zt=null;for(;je===`
303
- `||je==="#";){if(je==="#"){let on=g.Node.endOfLine(H,Ee+1);jt.push(new g.Range(Ee,on)),Ee=on}else{ue=!0,Ne=Ee+1;let on=g.Node.endOfWhiteSpace(H,Ne);H[on]===`
304
- `&&jt.length===0&&(zt=new W,Ne=zt.parse({src:H},Ne)),Ee=g.Node.endOfIndent(H,Ne)}je=H[Ee]}if(g.Node.nextNodeIsIndented(je,Ee-(Ne+Be),this.type!==g.Type.SEQ_ITEM)?this.node=O({atLineStart:ue,inCollection:!1,indent:Be,lineStart:Ne,parent:this},Ee):je&&Ne>Z+1&&(Ee=Ne-1),this.node){if(zt){let on=ye.parent.items||ye.parent.contents;on&&on.push(zt)}jt.length&&Array.prototype.push.apply(this.props,jt),Ee=this.node.range.end}else if(xt){let on=jt[0];this.props.push(on),Ee=on.end}else Ee=g.Node.endOfLine(H,Z+1);let vn=this.node?this.node.valueRange.end:Ee;return this.valueRange=new g.Range(Z,vn),Ee}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.node?this.node.setOrigRanges(ye,Z):Z}toString(){let{context:{src:ye},node:Z,range:O,value:H}=this;if(H!=null)return H;let ue=Z?ye.slice(O.start,Z.range.start)+String(Z):ye.slice(O.start,O.end);return g.Node.addStringTerminator(ye,O.end,ue)}},ke=class extends g.Node{constructor(){super(g.Type.COMMENT)}parse(ye,Z){this.context=ye;let O=this.parseComment(Z);return this.range=new g.Range(Z,O),O}};function Pe(ye){let Z=ye;for(;Z instanceof Ce;)Z=Z.node;if(!(Z instanceof nt))return null;let O=Z.items.length,H=-1;for(let Be=O-1;Be>=0;--Be){let Ee=Z.items[Be];if(Ee.type===g.Type.COMMENT){let{indent:je,lineStart:xt}=Ee.context;if(je>0&&Ee.range.start>=xt+je)break;H=Be}else if(Ee.type===g.Type.BLANK_LINE)H=Be;else break}if(H===-1)return null;let ue=Z.items.splice(H,O-H),Ne=ue[0].range.start;for(;Z.range.end=Ne,Z.valueRange&&Z.valueRange.end>Ne&&(Z.valueRange.end=Ne),Z!==ye;)Z=Z.context.parent;return ue}var nt=class extends g.Node{static nextContentHasIndent(ye,Z,O){let H=g.Node.endOfLine(ye,Z)+1;Z=g.Node.endOfWhiteSpace(ye,H);let ue=ye[Z];return ue?Z>=H+O?!0:ue!=="#"&&ue!==`
305
- `?!1:nt.nextContentHasIndent(ye,Z,O):!1}constructor(ye){super(ye.type===g.Type.SEQ_ITEM?g.Type.SEQ:g.Type.MAP);for(let O=ye.props.length-1;O>=0;--O)if(ye.props[O].start<ye.context.lineStart){this.props=ye.props.slice(0,O+1),ye.props=ye.props.slice(O+1);let H=ye.props[0]||ye.valueRange;ye.range.start=H.start;break}this.items=[ye];let Z=Pe(ye);Z&&Array.prototype.push.apply(this.items,Z)}get includesTrailingLines(){return this.items.length>0}parse(ye,Z){this.context=ye;let{parseNode:O,src:H}=ye,ue=g.Node.startOfLine(H,Z),Ne=this.items[0];Ne.context.parent=this,this.valueRange=g.Range.copy(Ne.valueRange);let Be=Ne.range.start-Ne.context.lineStart,Ee=Z;Ee=g.Node.normalizeOffset(H,Ee);let je=H[Ee],xt=g.Node.endOfWhiteSpace(H,ue)===Ee,jt=!1;for(;je;){for(;je===`
306
- `||je==="#";){if(xt&&je===`
307
- `&&!jt){let on=new W;if(Ee=on.parse({src:H},Ee),this.valueRange.end=Ee,Ee>=H.length){je=null;break}this.items.push(on),Ee-=1}else if(je==="#"){if(Ee<ue+Be&&!nt.nextContentHasIndent(H,Ee,Be))return Ee;let on=new ke;if(Ee=on.parse({indent:Be,lineStart:ue,src:H},Ee),this.items.push(on),this.valueRange.end=Ee,Ee>=H.length){je=null;break}}if(ue=Ee+1,Ee=g.Node.endOfIndent(H,ue),g.Node.atBlank(H,Ee)){let on=g.Node.endOfWhiteSpace(H,Ee),$n=H[on];(!$n||$n===`
308
- `||$n==="#")&&(Ee=on)}je=H[Ee],xt=!0}if(!je)break;if(Ee!==ue+Be&&(xt||je!==":")){if(Ee<ue+Be){ue>Z&&(Ee=ue);break}else if(!this.error){let on="All collection items must start at the same column";this.error=new g.YAMLSyntaxError(this,on)}}if(Ne.type===g.Type.SEQ_ITEM){if(je!=="-"){ue>Z&&(Ee=ue);break}}else if(je==="-"&&!this.error){let on=H[Ee+1];if(!on||on===`
309
- `||on===" "||on===" "){let $n="A collection cannot be both a mapping and a sequence";this.error=new g.YAMLSyntaxError(this,$n)}}let zt=O({atLineStart:xt,inCollection:!0,indent:Be,lineStart:ue,parent:this},Ee);if(!zt)return Ee;if(this.items.push(zt),this.valueRange.end=zt.valueRange.end,Ee=g.Node.normalizeOffset(H,zt.range.end),je=H[Ee],xt=!1,jt=zt.includesTrailingLines,je){let on=Ee-1,$n=H[on];for(;$n===" "||$n===" ";)$n=H[--on];$n===`
310
- `&&(ue=on+1,xt=!0)}let vn=Pe(zt);vn&&Array.prototype.push.apply(this.items,vn)}return Ee}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.items.forEach(O=>{Z=O.setOrigRanges(ye,Z)}),Z}toString(){let{context:{src:ye},items:Z,range:O,value:H}=this;if(H!=null)return H;let ue=ye.slice(O.start,Z[0].range.start)+String(Z[0]);for(let Ne=1;Ne<Z.length;++Ne){let Be=Z[Ne],{atLineStart:Ee,indent:je}=Be.context;if(Ee)for(let xt=0;xt<je;++xt)ue+=" ";ue+=String(Be)}return g.Node.addStringTerminator(ye,O.end,ue)}},Dt=class extends g.Node{constructor(){super(g.Type.DIRECTIVE),this.name=null}get parameters(){let ye=this.rawValue;return ye?ye.trim().split(/[ \t]+/):[]}parseName(ye){let{src:Z}=this.context,O=ye,H=Z[O];for(;H&&H!==`
311
- `&&H!==" "&&H!==" ";)H=Z[O+=1];return this.name=Z.slice(ye,O),O}parseParameters(ye){let{src:Z}=this.context,O=ye,H=Z[O];for(;H&&H!==`
312
- `&&H!=="#";)H=Z[O+=1];return this.valueRange=new g.Range(ye,O),O}parse(ye,Z){this.context=ye;let O=this.parseName(Z+1);return O=this.parseParameters(O),O=this.parseComment(O),this.range=new g.Range(Z,O),O}},Rt=class extends g.Node{static startCommentOrEndBlankLine(ye,Z){let O=g.Node.endOfWhiteSpace(ye,Z),H=ye[O];return H==="#"||H===`
313
- `?O:Z}constructor(){super(g.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(ye){let{src:Z}=this.context;this.directives=[];let O=!0,H=!1,ue=ye;for(;!g.Node.atDocumentBoundary(Z,ue,g.Char.DIRECTIVES_END);)switch(ue=Rt.startCommentOrEndBlankLine(Z,ue),Z[ue]){case`
314
- `:if(O){let Ne=new W;ue=Ne.parse({src:Z},ue),ue<Z.length&&this.directives.push(Ne)}else ue+=1,O=!0;break;case"#":{let Ne=new ke;ue=Ne.parse({src:Z},ue),this.directives.push(Ne),O=!1}break;case"%":{let Ne=new Dt;ue=Ne.parse({parent:this,src:Z},ue),this.directives.push(Ne),H=!0,O=!1}break;default:return H?this.error=new g.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),ue}return Z[ue]?(this.directivesEndMarker=new g.Range(ue,ue+3),ue+3):(H?this.error=new g.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),ue)}parseContents(ye){let{parseNode:Z,src:O}=this.context;this.contents||(this.contents=[]);let H=ye;for(;O[H-1]==="-";)H-=1;let ue=g.Node.endOfWhiteSpace(O,ye),Ne=H===ye;for(this.valueRange=new g.Range(ue);!g.Node.atDocumentBoundary(O,ue,g.Char.DOCUMENT_END);){switch(O[ue]){case`
315
- `:if(Ne){let Be=new W;ue=Be.parse({src:O},ue),ue<O.length&&this.contents.push(Be)}else ue+=1,Ne=!0;H=ue;break;case"#":{let Be=new ke;ue=Be.parse({src:O},ue),this.contents.push(Be),Ne=!1}break;default:{let Be=g.Node.endOfIndent(O,ue),Ee=Z({atLineStart:Ne,indent:-1,inFlow:!1,inCollection:!1,lineStart:H,parent:this},Be);if(!Ee)return this.valueRange.end=Be;this.contents.push(Ee),ue=Ee.range.end,Ne=!1;let je=Pe(Ee);je&&Array.prototype.push.apply(this.contents,je)}}ue=Rt.startCommentOrEndBlankLine(O,ue)}if(this.valueRange.end=ue,O[ue]&&(this.documentEndMarker=new g.Range(ue,ue+3),ue+=3,O[ue])){if(ue=g.Node.endOfWhiteSpace(O,ue),O[ue]==="#"){let Be=new ke;ue=Be.parse({src:O},ue),this.contents.push(Be)}switch(O[ue]){case`
316
- `:ue+=1;break;case void 0:break;default:this.error=new g.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}return ue}parse(ye,Z){ye.root=this,this.context=ye;let{src:O}=ye,H=O.charCodeAt(Z)===65279?Z+1:Z;return H=this.parseDirectives(H),H=this.parseContents(H),H}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.directives.forEach(O=>{Z=O.setOrigRanges(ye,Z)}),this.directivesEndMarker&&(Z=this.directivesEndMarker.setOrigRange(ye,Z)),this.contents.forEach(O=>{Z=O.setOrigRanges(ye,Z)}),this.documentEndMarker&&(Z=this.documentEndMarker.setOrigRange(ye,Z)),Z}toString(){let{contents:ye,directives:Z,value:O}=this;if(O!=null)return O;let H=Z.join("");return ye.length>0&&((Z.length>0||ye[0].type===g.Type.COMMENT)&&(H+=`---
317
- `),H+=ye.join("")),H[H.length-1]!==`
318
- `&&(H+=`
319
- `),H}},ut=class extends g.Node{parse(ye,Z){this.context=ye;let{src:O}=ye,H=g.Node.endOfIdentifier(O,Z+1);return this.valueRange=new g.Range(Z+1,H),H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H}},vt={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},Tt=class extends g.Node{constructor(ye,Z){super(ye,Z),this.blockIndent=null,this.chomping=vt.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===vt.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:ye,end:Z}=this.valueRange,{indent:O,src:H}=this.context;if(this.valueRange.isEmpty())return"";let ue=null,Ne=H[Z-1];for(;Ne===`
320
- `||Ne===" "||Ne===" ";){if(Z-=1,Z<=ye){if(this.chomping===vt.KEEP)break;return""}Ne===`
321
- `&&(ue=Z),Ne=H[Z-1]}let Be=Z+1;ue&&(this.chomping===vt.KEEP?(Be=ue,Z=this.valueRange.end):Z=ue);let Ee=O+this.blockIndent,je=this.type===g.Type.BLOCK_FOLDED,xt=!0,jt="",zt="",vn=!1;for(let on=ye;on<Z;++on){for(let sr=0;sr<Ee&&H[on]===" ";++sr)on+=1;let $n=H[on];if($n===`
322
- `)zt===`
323
- `?jt+=`
324
- `:zt=`
325
- `;else{let sr=g.Node.endOfLine(H,on),xr=H.slice(on,sr);on=sr,je&&($n===" "||$n===" ")&&on<Be?(zt===" "?zt=`
326
- `:!vn&&!xt&&zt===`
327
- `&&(zt=`
328
-
329
- `),jt+=zt+xr,zt=sr<Z&&H[sr]||"",vn=!0):(jt+=zt+xr,zt=je&&on<Be?" ":`
330
- `,vn=!1),xt&&xr!==""&&(xt=!1)}}return this.chomping===vt.STRIP?jt:jt+`
331
- `}parseBlockHeader(ye){let{src:Z}=this.context,O=ye+1,H="";for(;;){let ue=Z[O];switch(ue){case"-":this.chomping=vt.STRIP;break;case"+":this.chomping=vt.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":H+=ue;break;default:return this.blockIndent=Number(H)||null,this.header=new g.Range(ye,O),O}O+=1}}parseBlockValue(ye){let{indent:Z,src:O}=this.context,H=!!this.blockIndent,ue=ye,Ne=ye,Be=1;for(let Ee=O[ue];Ee===`
332
- `&&(ue+=1,!g.Node.atDocumentBoundary(O,ue));Ee=O[ue]){let je=g.Node.endOfBlockIndent(O,Z,ue);if(je===null)break;let xt=O[je],jt=je-(ue+Z);if(this.blockIndent){if(xt&&xt!==`
333
- `&&jt<this.blockIndent){if(O[je]==="#")break;if(!this.error){let zt=`Block scalars must not be less indented than their ${H?"explicit indentation indicator":"first line"}`;this.error=new g.YAMLSemanticError(this,zt)}}}else if(O[je]!==`
334
- `){if(jt<Be){let zt="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new g.YAMLSemanticError(this,zt)}this.blockIndent=jt}else jt>Be&&(Be=jt);O[je]===`
335
- `?ue=je:ue=Ne=g.Node.endOfLine(O,je)}return this.chomping!==vt.KEEP&&(ue=O[Ne]?Ne+1:Ne),this.valueRange=new g.Range(ye+1,ue),ue}parse(ye,Z){this.context=ye;let{src:O}=ye,H=this.parseBlockHeader(Z);return H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H=this.parseBlockValue(H),H}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.header?this.header.setOrigRange(ye,Z):Z}},Ot=class extends g.Node{constructor(ye,Z){super(ye,Z),this.items=null}prevNodeIsJsonLike(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.items.length,Z=this.items[ye-1];return!!Z&&(Z.jsonLike||Z.type===g.Type.COMMENT&&this.prevNodeIsJsonLike(ye-1))}parse(ye,Z){this.context=ye;let{parseNode:O,src:H}=ye,{indent:ue,lineStart:Ne}=ye,Be=H[Z];this.items=[{char:Be,offset:Z}];let Ee=g.Node.endOfWhiteSpace(H,Z+1);for(Be=H[Ee];Be&&Be!=="]"&&Be!=="}";){switch(Be){case`
336
- `:{Ne=Ee+1;let je=g.Node.endOfWhiteSpace(H,Ne);if(H[je]===`
337
- `){let xt=new W;Ne=xt.parse({src:H},Ne),this.items.push(xt)}if(Ee=g.Node.endOfIndent(H,Ne),Ee<=Ne+ue&&(Be=H[Ee],Ee<Ne+ue||Be!=="]"&&Be!=="}")){let xt="Insufficient indentation in flow collection";this.error=new g.YAMLSemanticError(this,xt)}}break;case",":this.items.push({char:Be,offset:Ee}),Ee+=1;break;case"#":{let je=new ke;Ee=je.parse({src:H},Ee),this.items.push(je)}break;case"?":case":":{let je=H[Ee+1];if(je===`
338
- `||je===" "||je===" "||je===","||Be===":"&&this.prevNodeIsJsonLike()){this.items.push({char:Be,offset:Ee}),Ee+=1;break}}default:{let je=O({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:Ne,parent:this},Ee);if(!je)return this.valueRange=new g.Range(Z,Ee),Ee;this.items.push(je),Ee=g.Node.normalizeOffset(H,je.range.end)}}Ee=g.Node.endOfWhiteSpace(H,Ee),Be=H[Ee]}return this.valueRange=new g.Range(Z,Ee+1),Be&&(this.items.push({char:Be,offset:Ee}),Ee=g.Node.endOfWhiteSpace(H,Ee+1),Ee=this.parseComment(Ee)),Ee}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.items.forEach(O=>{if(O instanceof g.Node)Z=O.setOrigRanges(ye,Z);else if(ye.length===0)O.origOffset=O.offset;else{let H=Z;for(;H<ye.length&&!(ye[H]>O.offset);)++H;O.origOffset=O.offset+H,Z=H}}),Z}toString(){let{context:{src:ye},items:Z,range:O,value:H}=this;if(H!=null)return H;let ue=Z.filter(Ee=>Ee instanceof g.Node),Ne="",Be=O.start;return ue.forEach(Ee=>{let je=ye.slice(Be,Ee.range.start);Be=Ee.range.end,Ne+=je+String(Ee),Ne[Ne.length-1]===`
339
- `&&ye[Be-1]!==`
340
- `&&ye[Be]===`
341
- `&&(Be+=1)}),Ne+=ye.slice(Be,O.end),g.Node.addStringTerminator(ye,O.end,Ne)}},Lt=class extends g.Node{static endOfQuote(ye,Z){let O=ye[Z];for(;O&&O!=='"';)Z+=O==="\\"?2:1,O=ye[Z];return Z+1}get strValue(){if(!this.valueRange||!this.context)return null;let ye=[],{start:Z,end:O}=this.valueRange,{indent:H,src:ue}=this.context;ue[O-1]!=='"'&&ye.push(new g.YAMLSyntaxError(this,'Missing closing "quote'));let Ne="";for(let Be=Z+1;Be<O-1;++Be){let Ee=ue[Be];if(Ee===`
342
- `){g.Node.atDocumentBoundary(ue,Be+1)&&ye.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:je,offset:xt,error:jt}=g.Node.foldNewline(ue,Be,H);Ne+=je,Be=xt,jt&&ye.push(new g.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(Ee==="\\")switch(Be+=1,ue[Be]){case"0":Ne+="\0";break;case"a":Ne+="\x07";break;case"b":Ne+="\b";break;case"e":Ne+="\x1B";break;case"f":Ne+="\f";break;case"n":Ne+=`
343
- `;break;case"r":Ne+="\r";break;case"t":Ne+=" ";break;case"v":Ne+="\v";break;case"N":Ne+="…";break;case"_":Ne+=" ";break;case"L":Ne+="\u2028";break;case"P":Ne+="\u2029";break;case" ":Ne+=" ";break;case'"':Ne+='"';break;case"/":Ne+="/";break;case"\\":Ne+="\\";break;case" ":Ne+=" ";break;case"x":Ne+=this.parseCharCode(Be+1,2,ye),Be+=2;break;case"u":Ne+=this.parseCharCode(Be+1,4,ye),Be+=4;break;case"U":Ne+=this.parseCharCode(Be+1,8,ye),Be+=8;break;case`
344
- `:for(;ue[Be+1]===" "||ue[Be+1]===" ";)Be+=1;break;default:ye.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${ue.substr(Be-1,2)}`)),Ne+="\\"+ue[Be]}else if(Ee===" "||Ee===" "){let je=Be,xt=ue[Be+1];for(;xt===" "||xt===" ";)Be+=1,xt=ue[Be+1];xt!==`
345
- `&&(Ne+=Be>je?ue.slice(je,Be+1):Ee)}else Ne+=Ee}return ye.length>0?{errors:ye,str:Ne}:Ne}parseCharCode(ye,Z,O){let{src:H}=this.context,ue=H.substr(ye,Z),Ne=ue.length===Z&&/^[0-9a-fA-F]+$/.test(ue)?parseInt(ue,16):NaN;return isNaN(Ne)?(O.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${H.substr(ye-2,Z+2)}`)),H.substr(ye-2,Z+2)):String.fromCodePoint(Ne)}parse(ye,Z){this.context=ye;let{src:O}=ye,H=Lt.endOfQuote(O,Z+1);return this.valueRange=new g.Range(Z,H),H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H}},Gt=class extends g.Node{static endOfQuote(ye,Z){let O=ye[Z];for(;O;)if(O==="'"){if(ye[Z+1]!=="'")break;O=ye[Z+=2]}else O=ye[Z+=1];return Z+1}get strValue(){if(!this.valueRange||!this.context)return null;let ye=[],{start:Z,end:O}=this.valueRange,{indent:H,src:ue}=this.context;ue[O-1]!=="'"&&ye.push(new g.YAMLSyntaxError(this,"Missing closing 'quote"));let Ne="";for(let Be=Z+1;Be<O-1;++Be){let Ee=ue[Be];if(Ee===`
346
- `){g.Node.atDocumentBoundary(ue,Be+1)&&ye.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:je,offset:xt,error:jt}=g.Node.foldNewline(ue,Be,H);Ne+=je,Be=xt,jt&&ye.push(new g.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(Ee==="'")Ne+=Ee,Be+=1,ue[Be]!=="'"&&ye.push(new g.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."));else if(Ee===" "||Ee===" "){let je=Be,xt=ue[Be+1];for(;xt===" "||xt===" ";)Be+=1,xt=ue[Be+1];xt!==`
347
- `&&(Ne+=Be>je?ue.slice(je,Be+1):Ee)}else Ne+=Ee}return ye.length>0?{errors:ye,str:Ne}:Ne}parse(ye,Z){this.context=ye;let{src:O}=ye,H=Gt.endOfQuote(O,Z+1);return this.valueRange=new g.Range(Z,H),H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H}};function Wt(ye,Z){switch(ye){case g.Type.ALIAS:return new ut(ye,Z);case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return new Tt(ye,Z);case g.Type.FLOW_MAP:case g.Type.FLOW_SEQ:return new Ot(ye,Z);case g.Type.MAP_KEY:case g.Type.MAP_VALUE:case g.Type.SEQ_ITEM:return new Ce(ye,Z);case g.Type.COMMENT:case g.Type.PLAIN:return new g.PlainValue(ye,Z);case g.Type.QUOTE_DOUBLE:return new Lt(ye,Z);case g.Type.QUOTE_SINGLE:return new Gt(ye,Z);default:return null}}var Xt=class{static parseType(ye,Z,O){switch(ye[Z]){case"*":return g.Type.ALIAS;case">":return g.Type.BLOCK_FOLDED;case"|":return g.Type.BLOCK_LITERAL;case"{":return g.Type.FLOW_MAP;case"[":return g.Type.FLOW_SEQ;case"?":return!O&&g.Node.atBlank(ye,Z+1,!0)?g.Type.MAP_KEY:g.Type.PLAIN;case":":return!O&&g.Node.atBlank(ye,Z+1,!0)?g.Type.MAP_VALUE:g.Type.PLAIN;case"-":return!O&&g.Node.atBlank(ye,Z+1,!0)?g.Type.SEQ_ITEM:g.Type.PLAIN;case'"':return g.Type.QUOTE_DOUBLE;case"'":return g.Type.QUOTE_SINGLE;default:return g.Type.PLAIN}}constructor(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{atLineStart:Z,inCollection:O,inFlow:H,indent:ue,lineStart:Ne,parent:Be}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g._defineProperty(this,"parseNode",(Ee,je)=>{if(g.Node.atDocumentBoundary(this.src,je))return null;let xt=new Xt(this,Ee),{props:jt,type:zt,valueStart:vn}=xt.parseProps(je),on=Wt(zt,jt),$n=on.parse(xt,vn);if(on.range=new g.Range(je,$n),$n<=je&&(on.error=new Error("Node#parse consumed no characters"),on.error.parseEnd=$n,on.error.source=on,on.range.end=je+1),xt.nodeStartsCollection(on)){!on.error&&!xt.atLineStart&&xt.parent.type===g.Type.DOCUMENT&&(on.error=new g.YAMLSyntaxError(on,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let sr=new nt(on);return $n=sr.parse(new Xt(xt),$n),sr.range=new g.Range(je,$n),sr}return on}),this.atLineStart=Z??(ye.atLineStart||!1),this.inCollection=O??(ye.inCollection||!1),this.inFlow=H??(ye.inFlow||!1),this.indent=ue??ye.indent,this.lineStart=Ne??ye.lineStart,this.parent=Be??(ye.parent||{}),this.root=ye.root,this.src=ye.src}nodeStartsCollection(ye){let{inCollection:Z,inFlow:O,src:H}=this;if(Z||O)return!1;if(ye instanceof Ce)return!0;let ue=ye.range.end;return H[ue]===`
348
- `||H[ue-1]===`
349
- `?!1:(ue=g.Node.endOfWhiteSpace(H,ue),H[ue]===":")}parseProps(ye){let{inFlow:Z,parent:O,src:H}=this,ue=[],Ne=!1;ye=this.atLineStart?g.Node.endOfIndent(H,ye):g.Node.endOfWhiteSpace(H,ye);let Be=H[ye];for(;Be===g.Char.ANCHOR||Be===g.Char.COMMENT||Be===g.Char.TAG||Be===`
350
- `;){if(Be===`
351
- `){let je=ye,xt;do xt=je+1,je=g.Node.endOfIndent(H,xt);while(H[je]===`
352
- `);let jt=je-(xt+this.indent),zt=O.type===g.Type.SEQ_ITEM&&O.context.atLineStart;if(H[je]!=="#"&&!g.Node.nextNodeIsIndented(H[je],jt,!zt))break;this.atLineStart=!0,this.lineStart=xt,Ne=!1,ye=je}else if(Be===g.Char.COMMENT){let je=g.Node.endOfLine(H,ye+1);ue.push(new g.Range(ye,je)),ye=je}else{let je=g.Node.endOfIdentifier(H,ye+1);Be===g.Char.TAG&&H[je]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(H.slice(ye+1,je+13))&&(je=g.Node.endOfIdentifier(H,je+5)),ue.push(new g.Range(ye,je)),Ne=!0,ye=g.Node.endOfWhiteSpace(H,je)}Be=H[ye]}Ne&&Be===":"&&g.Node.atBlank(H,ye+1,!0)&&(ye-=1);let Ee=Xt.parseType(H,ye,Z);return{props:ue,type:Ee,valueStart:ye}}};function Dn(ye){let Z=[];ye.indexOf("\r")!==-1&&(ye=ye.replace(/\r\n?/g,(ue,Ne)=>(ue.length>1&&Z.push(Ne),`
353
- `)));let O=[],H=0;do{let ue=new Rt,Ne=new Xt({src:ye});H=ue.parse(Ne,H),O.push(ue)}while(H<ye.length);return O.setOrigRanges=()=>{if(Z.length===0)return!1;for(let Ne=1;Ne<Z.length;++Ne)Z[Ne]-=Ne;let ue=0;for(let Ne=0;Ne<O.length;++Ne)ue=O[Ne].setOrigRanges(Z,ue);return Z.splice(0,Z.length),!0},O.toString=()=>O.join(`...
354
- `),O}Y.parse=Dn}}),Zi=c({"node_modules/yaml/dist/resolveSeq-d03cb037.js"(Y){M();var g=Gr();function W(fe,pe,We){return We?`#${We.replace(/[\s\S]^/gm,`$&${pe}#`)}
355
- ${pe}${fe}`:fe}function Ce(fe,pe,We){return We?We.indexOf(`
356
- `)===-1?`${fe} #${We}`:`${fe}
357
- `+We.replace(/^/gm,`${pe||""}#`):fe}var ke=class{};function Pe(fe,pe,We){if(Array.isArray(fe))return fe.map((He,rt)=>Pe(He,String(rt),We));if(fe&&typeof fe.toJSON=="function"){let He=We&&We.anchors&&We.anchors.get(fe);He&&(We.onCreate=it=>{He.res=it,delete We.onCreate});let rt=fe.toJSON(pe,We);return He&&We.onCreate&&We.onCreate(rt),rt}return(!We||!We.keep)&&typeof fe=="bigint"?Number(fe):fe}var nt=class extends ke{constructor(fe){super(),this.value=fe}toJSON(fe,pe){return pe&&pe.keep?this.value:Pe(this.value,fe,pe)}toString(){return String(this.value)}};function Dt(fe,pe,We){let He=We;for(let rt=pe.length-1;rt>=0;--rt){let it=pe[rt];if(Number.isInteger(it)&&it>=0){let St=[];St[it]=He,He=St}else{let St={};Object.defineProperty(St,it,{value:He,writable:!0,enumerable:!0,configurable:!0}),He=St}}return fe.createNode(He,!1)}var Rt=fe=>fe==null||typeof fe=="object"&&fe[Symbol.iterator]().next().done,ut=class extends ke{constructor(fe){super(),g._defineProperty(this,"items",[]),this.schema=fe}addIn(fe,pe){if(Rt(fe))this.add(pe);else{let[We,...He]=fe,rt=this.get(We,!0);if(rt instanceof ut)rt.addIn(He,pe);else if(rt===void 0&&this.schema)this.set(We,Dt(this.schema,He,pe));else throw new Error(`Expected YAML collection at ${We}. Remaining path: ${He}`)}}deleteIn(fe){let[pe,...We]=fe;if(We.length===0)return this.delete(pe);let He=this.get(pe,!0);if(He instanceof ut)return He.deleteIn(We);throw new Error(`Expected YAML collection at ${pe}. Remaining path: ${We}`)}getIn(fe,pe){let[We,...He]=fe,rt=this.get(We,!0);return He.length===0?!pe&&rt instanceof nt?rt.value:rt:rt instanceof ut?rt.getIn(He,pe):void 0}hasAllNullValues(){return this.items.every(fe=>{if(!fe||fe.type!=="PAIR")return!1;let pe=fe.value;return pe==null||pe instanceof nt&&pe.value==null&&!pe.commentBefore&&!pe.comment&&!pe.tag})}hasIn(fe){let[pe,...We]=fe;if(We.length===0)return this.has(pe);let He=this.get(pe,!0);return He instanceof ut?He.hasIn(We):!1}setIn(fe,pe){let[We,...He]=fe;if(He.length===0)this.set(We,pe);else{let rt=this.get(We,!0);if(rt instanceof ut)rt.setIn(He,pe);else if(rt===void 0&&this.schema)this.set(We,Dt(this.schema,He,pe));else throw new Error(`Expected YAML collection at ${We}. Remaining path: ${He}`)}}toJSON(){return null}toString(fe,pe,We,He){let{blockItem:rt,flowChars:it,isMap:St,itemIndent:Nt}=pe,{indent:Kt,indentStep:rn,stringify:dn}=fe,kn=this.type===g.Type.FLOW_MAP||this.type===g.Type.FLOW_SEQ||fe.inFlow;kn&&(Nt+=rn);let lr=St&&this.hasAllNullValues();fe=Object.assign({},fe,{allNullValues:lr,indent:Nt,inFlow:kn,type:null});let cr=!1,jn=!1,ir=this.items.reduce((qr,ur,Jr)=>{let yr;ur&&(!cr&&ur.spaceBefore&&qr.push({type:"comment",str:""}),ur.commentBefore&&ur.commentBefore.match(/^.*$/gm).forEach(to=>{qr.push({type:"comment",str:`#${to}`})}),ur.comment&&(yr=ur.comment),kn&&(!cr&&ur.spaceBefore||ur.commentBefore||ur.comment||ur.key&&(ur.key.commentBefore||ur.key.comment)||ur.value&&(ur.value.commentBefore||ur.value.comment))&&(jn=!0)),cr=!1;let Fr=dn(ur,fe,()=>yr=null,()=>cr=!0);return kn&&!jn&&Fr.includes(`
358
- `)&&(jn=!0),kn&&Jr<this.items.length-1&&(Fr+=","),Fr=Ce(Fr,Nt,yr),cr&&(yr||kn)&&(cr=!1),qr.push({type:"item",str:Fr}),qr},[]),er;if(ir.length===0)er=it.start+it.end;else if(kn){let{start:qr,end:ur}=it,Jr=ir.map(yr=>yr.str);if(jn||Jr.reduce((yr,Fr)=>yr+Fr.length+2,2)>ut.maxFlowStringSingleLineLength){er=qr;for(let yr of Jr)er+=yr?`
359
- ${rn}${Kt}${yr}`:`
360
- `;er+=`
361
- ${Kt}${ur}`}else er=`${qr} ${Jr.join(" ")} ${ur}`}else{let qr=ir.map(rt);er=qr.shift();for(let ur of qr)er+=ur?`
362
- ${Kt}${ur}`:`
363
- `}return this.comment?(er+=`
364
- `+this.comment.replace(/^/gm,`${Kt}#`),We&&We()):cr&&He&&He(),er}};g._defineProperty(ut,"maxFlowStringSingleLineLength",60);function vt(fe){let pe=fe instanceof nt?fe.value:fe;return pe&&typeof pe=="string"&&(pe=Number(pe)),Number.isInteger(pe)&&pe>=0?pe:null}var Tt=class extends ut{add(fe){this.items.push(fe)}delete(fe){let pe=vt(fe);return typeof pe!="number"?!1:this.items.splice(pe,1).length>0}get(fe,pe){let We=vt(fe);if(typeof We!="number")return;let He=this.items[We];return!pe&&He instanceof nt?He.value:He}has(fe){let pe=vt(fe);return typeof pe=="number"&&pe<this.items.length}set(fe,pe){let We=vt(fe);if(typeof We!="number")throw new Error(`Expected a valid index, not ${fe}.`);this.items[We]=pe}toJSON(fe,pe){let We=[];pe&&pe.onCreate&&pe.onCreate(We);let He=0;for(let rt of this.items)We.push(Pe(rt,String(He++),pe));return We}toString(fe,pe,We){return fe?super.toString(fe,{blockItem:He=>He.type==="comment"?He.str:`- ${He.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(fe.indent||"")+" "},pe,We):JSON.stringify(this)}},Ot=(fe,pe,We)=>pe===null?"":typeof pe!="object"?String(pe):fe instanceof ke&&We&&We.doc?fe.toString({anchors:Object.create(null),doc:We.doc,indent:"",indentStep:We.indentStep,inFlow:!0,inStringifyKey:!0,stringify:We.stringify}):JSON.stringify(pe),Lt=class extends ke{constructor(fe){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;super(),this.key=fe,this.value=pe,this.type=Lt.Type.PAIR}get commentBefore(){return this.key instanceof ke?this.key.commentBefore:void 0}set commentBefore(fe){if(this.key==null&&(this.key=new nt(null)),this.key instanceof ke)this.key.commentBefore=fe;else{let pe="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(pe)}}addToJSMap(fe,pe){let We=Pe(this.key,"",fe);if(pe instanceof Map){let He=Pe(this.value,We,fe);pe.set(We,He)}else if(pe instanceof Set)pe.add(We);else{let He=Ot(this.key,We,fe),rt=Pe(this.value,He,fe);He in pe?Object.defineProperty(pe,He,{value:rt,writable:!0,enumerable:!0,configurable:!0}):pe[He]=rt}return pe}toJSON(fe,pe){let We=pe&&pe.mapAsMap?new Map:{};return this.addToJSMap(pe,We)}toString(fe,pe,We){if(!fe||!fe.doc)return JSON.stringify(this);let{indent:He,indentSeq:rt,simpleKeys:it}=fe.doc.options,{key:St,value:Nt}=this,Kt=St instanceof ke&&St.comment;if(it){if(Kt)throw new Error("With simple keys, key nodes cannot have comments");if(St instanceof ut){let yr="With simple keys, collection cannot be used as a key value";throw new Error(yr)}}let rn=!it&&(!St||Kt||(St instanceof ke?St instanceof ut||St.type===g.Type.BLOCK_FOLDED||St.type===g.Type.BLOCK_LITERAL:typeof St=="object")),{doc:dn,indent:kn,indentStep:lr,stringify:cr}=fe;fe=Object.assign({},fe,{implicitKey:!rn,indent:kn+lr});let jn=!1,ir=cr(St,fe,()=>Kt=null,()=>jn=!0);if(ir=Ce(ir,fe.indent,Kt),!rn&&ir.length>1024){if(it)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");rn=!0}if(fe.allNullValues&&!it)return this.comment?(ir=Ce(ir,fe.indent,this.comment),pe&&pe()):jn&&!Kt&&We&&We(),fe.inFlow&&!rn?ir:`? ${ir}`;ir=rn?`? ${ir}
365
- ${kn}:`:`${ir}:`,this.comment&&(ir=Ce(ir,fe.indent,this.comment),pe&&pe());let er="",qr=null;if(Nt instanceof ke){if(Nt.spaceBefore&&(er=`
366
- `),Nt.commentBefore){let yr=Nt.commentBefore.replace(/^/gm,`${fe.indent}#`);er+=`
367
- ${yr}`}qr=Nt.comment}else Nt&&typeof Nt=="object"&&(Nt=dn.schema.createNode(Nt,!0));fe.implicitKey=!1,!rn&&!this.comment&&Nt instanceof nt&&(fe.indentAtStart=ir.length+1),jn=!1,!rt&&He>=2&&!fe.inFlow&&!rn&&Nt instanceof Tt&&Nt.type!==g.Type.FLOW_SEQ&&!Nt.tag&&!dn.anchors.getName(Nt)&&(fe.indent=fe.indent.substr(2));let ur=cr(Nt,fe,()=>qr=null,()=>jn=!0),Jr=" ";return er||this.comment?Jr=`${er}
368
- ${fe.indent}`:!rn&&Nt instanceof ut?(!(ur[0]==="["||ur[0]==="{")||ur.includes(`
369
- `))&&(Jr=`
370
- ${fe.indent}`):ur[0]===`
371
- `&&(Jr=""),jn&&!qr&&We&&We(),Ce(ir+Jr+ur,fe.indent,qr)}};g._defineProperty(Lt,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var Gt=(fe,pe)=>{if(fe instanceof Wt){let We=pe.get(fe.source);return We.count*We.aliasCount}else if(fe instanceof ut){let We=0;for(let He of fe.items){let rt=Gt(He,pe);rt>We&&(We=rt)}return We}else if(fe instanceof Lt){let We=Gt(fe.key,pe),He=Gt(fe.value,pe);return Math.max(We,He)}return 1},Wt=class extends ke{static stringify(fe,pe){let{range:We,source:He}=fe,{anchors:rt,doc:it,implicitKey:St,inStringifyKey:Nt}=pe,Kt=Object.keys(rt).find(dn=>rt[dn]===He);if(!Kt&&Nt&&(Kt=it.anchors.getName(He)||it.anchors.newName()),Kt)return`*${Kt}${St?" ":""}`;let rn=it.anchors.getName(He)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${rn} [${We}]`)}constructor(fe){super(),this.source=fe,this.type=g.Type.ALIAS}set tag(fe){throw new Error("Alias nodes cannot have tags")}toJSON(fe,pe){if(!pe)return Pe(this.source,fe,pe);let{anchors:We,maxAliasCount:He}=pe,rt=We.get(this.source);if(!rt||rt.res===void 0){let it="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,it):new ReferenceError(it)}if(He>=0&&(rt.count+=1,rt.aliasCount===0&&(rt.aliasCount=Gt(this.source,We)),rt.count*rt.aliasCount>He)){let it="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,it):new ReferenceError(it)}return rt.res}toString(fe){return Wt.stringify(this,fe)}};g._defineProperty(Wt,"default",!0);function Xt(fe,pe){let We=pe instanceof nt?pe.value:pe;for(let He of fe)if(He instanceof Lt&&(He.key===pe||He.key===We||He.key&&He.key.value===We))return He}var Dn=class extends ut{add(fe,pe){fe?fe instanceof Lt||(fe=new Lt(fe.key||fe,fe.value)):fe=new Lt(fe);let We=Xt(this.items,fe.key),He=this.schema&&this.schema.sortMapEntries;if(We)if(pe)We.value=fe.value;else throw new Error(`Key ${fe.key} already set`);else if(He){let rt=this.items.findIndex(it=>He(fe,it)<0);rt===-1?this.items.push(fe):this.items.splice(rt,0,fe)}else this.items.push(fe)}delete(fe){let pe=Xt(this.items,fe);return pe?this.items.splice(this.items.indexOf(pe),1).length>0:!1}get(fe,pe){let We=Xt(this.items,fe),He=We&&We.value;return!pe&&He instanceof nt?He.value:He}has(fe){return!!Xt(this.items,fe)}set(fe,pe){this.add(new Lt(fe,pe),!0)}toJSON(fe,pe,We){let He=We?new We:pe&&pe.mapAsMap?new Map:{};pe&&pe.onCreate&&pe.onCreate(He);for(let rt of this.items)rt.addToJSMap(pe,He);return He}toString(fe,pe,We){if(!fe)return JSON.stringify(this);for(let He of this.items)if(!(He instanceof Lt))throw new Error(`Map items must all be pairs; found ${JSON.stringify(He)} instead`);return super.toString(fe,{blockItem:He=>He.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:fe.indent||""},pe,We)}},ye="<<",Z=class extends Lt{constructor(fe){if(fe instanceof Lt){let pe=fe.value;pe instanceof Tt||(pe=new Tt,pe.items.push(fe.value),pe.range=fe.value.range),super(fe.key,pe),this.range=fe.range}else super(new nt(ye),new Tt);this.type=Lt.Type.MERGE_PAIR}addToJSMap(fe,pe){for(let{source:We}of this.value.items){if(!(We instanceof Dn))throw new Error("Merge sources must be maps");let He=We.toJSON(null,fe,Map);for(let[rt,it]of He)pe instanceof Map?pe.has(rt)||pe.set(rt,it):pe instanceof Set?pe.add(rt):Object.prototype.hasOwnProperty.call(pe,rt)||Object.defineProperty(pe,rt,{value:it,writable:!0,enumerable:!0,configurable:!0})}return pe}toString(fe,pe){let We=this.value;if(We.items.length>1)return super.toString(fe,pe);this.value=We.items[0];let He=super.toString(fe,pe);return this.value=We,He}},O={defaultType:g.Type.BLOCK_LITERAL,lineWidth:76},H={trueStr:"true",falseStr:"false"},ue={asBigInt:!1},Ne={nullStr:"null"},Be={defaultType:g.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function Ee(fe,pe,We){for(let{format:He,test:rt,resolve:it}of pe)if(rt){let St=fe.match(rt);if(St){let Nt=it.apply(null,St);return Nt instanceof nt||(Nt=new nt(Nt)),He&&(Nt.format=He),Nt}}return We&&(fe=We(fe)),new nt(fe)}var je="flow",xt="block",jt="quoted",zt=(fe,pe)=>{let We=fe[pe+1];for(;We===" "||We===" ";){do We=fe[pe+=1];while(We&&We!==`
372
- `);We=fe[pe+1]}return pe};function vn(fe,pe,We,He){let{indentAtStart:rt,lineWidth:it=80,minContentWidth:St=20,onFold:Nt,onOverflow:Kt}=He;if(!it||it<0)return fe;let rn=Math.max(1+St,1+it-pe.length);if(fe.length<=rn)return fe;let dn=[],kn={},lr=it-pe.length;typeof rt=="number"&&(rt>it-Math.max(2,St)?dn.push(0):lr=it-rt);let cr,jn,ir=!1,er=-1,qr=-1,ur=-1;We===xt&&(er=zt(fe,er),er!==-1&&(lr=er+rn));for(let yr;yr=fe[er+=1];){if(We===jt&&yr==="\\"){switch(qr=er,fe[er+1]){case"x":er+=3;break;case"u":er+=5;break;case"U":er+=9;break;default:er+=1}ur=er}if(yr===`
373
- `)We===xt&&(er=zt(fe,er)),lr=er+rn,cr=void 0;else{if(yr===" "&&jn&&jn!==" "&&jn!==`
374
- `&&jn!==" "){let Fr=fe[er+1];Fr&&Fr!==" "&&Fr!==`
375
- `&&Fr!==" "&&(cr=er)}if(er>=lr)if(cr)dn.push(cr),lr=cr+rn,cr=void 0;else if(We===jt){for(;jn===" "||jn===" ";)jn=yr,yr=fe[er+=1],ir=!0;let Fr=er>ur+1?er-2:qr-1;if(kn[Fr])return fe;dn.push(Fr),kn[Fr]=!0,lr=Fr+rn,cr=void 0}else ir=!0}jn=yr}if(ir&&Kt&&Kt(),dn.length===0)return fe;Nt&&Nt();let Jr=fe.slice(0,dn[0]);for(let yr=0;yr<dn.length;++yr){let Fr=dn[yr],to=dn[yr+1]||fe.length;Fr===0?Jr=`
376
- ${pe}${fe.slice(0,to)}`:(We===jt&&kn[Fr]&&(Jr+=`${fe[Fr]}\\`),Jr+=`
377
- ${pe}${fe.slice(Fr+1,to)}`)}return Jr}var on=fe=>{let{indentAtStart:pe}=fe;return pe?Object.assign({indentAtStart:pe},Be.fold):Be.fold},$n=fe=>/^(%|---|\.\.\.)/m.test(fe);function sr(fe,pe,We){if(!pe||pe<0)return!1;let He=pe-We,rt=fe.length;if(rt<=He)return!1;for(let it=0,St=0;it<rt;++it)if(fe[it]===`
378
- `){if(it-St>He)return!0;if(St=it+1,rt-St<=He)return!1}return!0}function xr(fe,pe){let{implicitKey:We}=pe,{jsonEncoding:He,minMultiLineLength:rt}=Be.doubleQuoted,it=JSON.stringify(fe);if(He)return it;let St=pe.indent||($n(fe)?" ":""),Nt="",Kt=0;for(let rn=0,dn=it[rn];dn;dn=it[++rn])if(dn===" "&&it[rn+1]==="\\"&&it[rn+2]==="n"&&(Nt+=it.slice(Kt,rn)+"\\ ",rn+=1,Kt=rn,dn="\\"),dn==="\\")switch(it[rn+1]){case"u":{Nt+=it.slice(Kt,rn);let kn=it.substr(rn+2,4);switch(kn){case"0000":Nt+="\\0";break;case"0007":Nt+="\\a";break;case"000b":Nt+="\\v";break;case"001b":Nt+="\\e";break;case"0085":Nt+="\\N";break;case"00a0":Nt+="\\_";break;case"2028":Nt+="\\L";break;case"2029":Nt+="\\P";break;default:kn.substr(0,2)==="00"?Nt+="\\x"+kn.substr(2):Nt+=it.substr(rn,6)}rn+=5,Kt=rn+1}break;case"n":if(We||it[rn+2]==='"'||it.length<rt)rn+=1;else{for(Nt+=it.slice(Kt,rn)+`
379
-
380
- `;it[rn+2]==="\\"&&it[rn+3]==="n"&&it[rn+4]!=='"';)Nt+=`
381
- `,rn+=2;Nt+=St,it[rn+2]===" "&&(Nt+="\\"),rn+=1,Kt=rn+1}break;default:rn+=1}return Nt=Kt?Nt+it.slice(Kt):it,We?Nt:vn(Nt,St,jt,on(pe))}function di(fe,pe){if(pe.implicitKey){if(/\n/.test(fe))return xr(fe,pe)}else if(/[ \t]\n|\n[ \t]/.test(fe))return xr(fe,pe);let We=pe.indent||($n(fe)?" ":""),He="'"+fe.replace(/'/g,"''").replace(/\n+/g,`$&
382
- ${We}`)+"'";return pe.implicitKey?He:vn(He,We,je,on(pe))}function ui(fe,pe,We,He){let{comment:rt,type:it,value:St}=fe;if(/\n[\t ]+$/.test(St)||/^\s*$/.test(St))return xr(St,pe);let Nt=pe.indent||(pe.forceBlockIndent||$n(St)?" ":""),Kt=Nt?"2":"1",rn=it===g.Type.BLOCK_FOLDED?!1:it===g.Type.BLOCK_LITERAL?!0:!sr(St,Be.fold.lineWidth,Nt.length),dn=rn?"|":">";if(!St)return dn+`
383
- `;let kn="",lr="";if(St=St.replace(/[\n\t ]*$/,jn=>{let ir=jn.indexOf(`
384
- `);return ir===-1?dn+="-":(St===jn||ir!==jn.length-1)&&(dn+="+",He&&He()),lr=jn.replace(/\n$/,""),""}).replace(/^[\n ]*/,jn=>{jn.indexOf(" ")!==-1&&(dn+=Kt);let ir=jn.match(/ +$/);return ir?(kn=jn.slice(0,-ir[0].length),ir[0]):(kn=jn,"")}),lr&&(lr=lr.replace(/\n+(?!\n|$)/g,`$&${Nt}`)),kn&&(kn=kn.replace(/\n+/g,`$&${Nt}`)),rt&&(dn+=" #"+rt.replace(/ ?[\r\n]+/g," "),We&&We()),!St)return`${dn}${Kt}
385
- ${Nt}${lr}`;if(rn)return St=St.replace(/\n+/g,`$&${Nt}`),`${dn}
386
- ${Nt}${kn}${St}${lr}`;St=St.replace(/\n+/g,`
387
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${Nt}`);let cr=vn(`${kn}${St}${lr}`,Nt,xt,Be.fold);return`${dn}
388
- ${Nt}${cr}`}function Et(fe,pe,We,He){let{comment:rt,type:it,value:St}=fe,{actualString:Nt,implicitKey:Kt,indent:rn,inFlow:dn}=pe;if(Kt&&/[\n[\]{},]/.test(St)||dn&&/[[\]{},]/.test(St))return xr(St,pe);if(!St||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(St))return Kt||dn||St.indexOf(`
389
- `)===-1?St.indexOf('"')!==-1&&St.indexOf("'")===-1?di(St,pe):xr(St,pe):ui(fe,pe,We,He);if(!Kt&&!dn&&it!==g.Type.PLAIN&&St.indexOf(`
390
- `)!==-1)return ui(fe,pe,We,He);if(rn===""&&$n(St))return pe.forceBlockIndent=!0,ui(fe,pe,We,He);let kn=St.replace(/\n+/g,`$&
391
- ${rn}`);if(Nt){let{tags:cr}=pe.doc.schema;if(typeof Ee(kn,cr,cr.scalarFallback).value!="string")return xr(St,pe)}let lr=Kt?kn:vn(kn,rn,je,on(pe));return rt&&!dn&&(lr.indexOf(`
392
- `)!==-1||rt.indexOf(`
393
- `)!==-1)?(We&&We(),W(lr,rn,rt)):lr}function tn(fe,pe,We,He){let{defaultType:rt}=Be,{implicitKey:it,inFlow:St}=pe,{type:Nt,value:Kt}=fe;typeof Kt!="string"&&(Kt=String(Kt),fe=Object.assign({},fe,{value:Kt}));let rn=kn=>{switch(kn){case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return ui(fe,pe,We,He);case g.Type.QUOTE_DOUBLE:return xr(Kt,pe);case g.Type.QUOTE_SINGLE:return di(Kt,pe);case g.Type.PLAIN:return Et(fe,pe,We,He);default:return null}};(Nt!==g.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(Kt)||(it||St)&&(Nt===g.Type.BLOCK_FOLDED||Nt===g.Type.BLOCK_LITERAL))&&(Nt=g.Type.QUOTE_DOUBLE);let dn=rn(Nt);if(dn===null&&(dn=rn(rt),dn===null))throw new Error(`Unsupported default string type ${rt}`);return dn}function hn(fe){let{format:pe,minFractionDigits:We,tag:He,value:rt}=fe;if(typeof rt=="bigint")return String(rt);if(!isFinite(rt))return isNaN(rt)?".nan":rt<0?"-.inf":".inf";let it=JSON.stringify(rt);if(!pe&&We&&(!He||He==="tag:yaml.org,2002:float")&&/^\d/.test(it)){let St=it.indexOf(".");St<0&&(St=it.length,it+=".");let Nt=We-(it.length-St-1);for(;Nt-- >0;)it+="0"}return it}function An(fe,pe){let We,He;switch(pe.type){case g.Type.FLOW_MAP:We="}",He="flow map";break;case g.Type.FLOW_SEQ:We="]",He="flow sequence";break;default:fe.push(new g.YAMLSemanticError(pe,"Not a flow collection!?"));return}let rt;for(let it=pe.items.length-1;it>=0;--it){let St=pe.items[it];if(!St||St.type!==g.Type.COMMENT){rt=St;break}}if(rt&&rt.char!==We){let it=`Expected ${He} to end with ${We}`,St;typeof rt.offset=="number"?(St=new g.YAMLSemanticError(pe,it),St.offset=rt.offset+1):(St=new g.YAMLSemanticError(rt,it),rt.range&&rt.range.end&&(St.offset=rt.range.end-rt.range.start)),fe.push(St)}}function Wn(fe,pe){let We=pe.context.src[pe.range.start-1];if(We!==`
394
- `&&We!==" "&&We!==" "){let He="Comments must be separated from other tokens by white space characters";fe.push(new g.YAMLSemanticError(pe,He))}}function or(fe,pe){let We=String(pe),He=We.substr(0,8)+"..."+We.substr(-8);return new g.YAMLSemanticError(fe,`The "${He}" key is too long`)}function Li(fe,pe){for(let{afterKey:We,before:He,comment:rt}of pe){let it=fe.items[He];it?(We&&it.value&&(it=it.value),rt===void 0?(We||!it.commentBefore)&&(it.spaceBefore=!0):it.commentBefore?it.commentBefore+=`
395
- `+rt:it.commentBefore=rt):rt!==void 0&&(fe.comment?fe.comment+=`
396
- `+rt:fe.comment=rt)}}function Ui(fe,pe){let We=pe.strValue;return We?typeof We=="string"?We:(We.errors.forEach(He=>{He.source||(He.source=pe),fe.errors.push(He)}),We.str):""}function Wi(fe,pe){let{handle:We,suffix:He}=pe.tag,rt=fe.tagPrefixes.find(it=>it.handle===We);if(!rt){let it=fe.getDefaults().tagPrefixes;if(it&&(rt=it.find(St=>St.handle===We)),!rt)throw new g.YAMLSemanticError(pe,`The ${We} tag handle is non-default and was not declared.`)}if(!He)throw new g.YAMLSemanticError(pe,`The ${We} tag has no suffix.`);if(We==="!"&&(fe.version||fe.options.version)==="1.0"){if(He[0]==="^")return fe.warnings.push(new g.YAMLWarning(pe,"YAML 1.0 ^ tag expansion is not supported")),He;if(/[:/]/.test(He)){let it=He.match(/^([a-z0-9-]+)\/(.*)/i);return it?`tag:${it[1]}.yaml.org,2002:${it[2]}`:`tag:${He}`}}return rt.prefix+decodeURIComponent(He)}function ki(fe,pe){let{tag:We,type:He}=pe,rt=!1;if(We){let{handle:it,suffix:St,verbatim:Nt}=We;if(Nt){if(Nt!=="!"&&Nt!=="!!")return Nt;let Kt=`Verbatim tags aren't resolved, so ${Nt} is invalid.`;fe.errors.push(new g.YAMLSemanticError(pe,Kt))}else if(it==="!"&&!St)rt=!0;else try{return Wi(fe,pe)}catch(Kt){fe.errors.push(Kt)}}switch(He){case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:case g.Type.QUOTE_DOUBLE:case g.Type.QUOTE_SINGLE:return g.defaultTags.STR;case g.Type.FLOW_MAP:case g.Type.MAP:return g.defaultTags.MAP;case g.Type.FLOW_SEQ:case g.Type.SEQ:return g.defaultTags.SEQ;case g.Type.PLAIN:return rt?g.defaultTags.STR:null;default:return null}}function ia(fe,pe,We){let{tags:He}=fe.schema,rt=[];for(let St of He)if(St.tag===We)if(St.test)rt.push(St);else{let Nt=St.resolve(fe,pe);return Nt instanceof ut?Nt:new nt(Nt)}let it=Ui(fe,pe);return typeof it=="string"&&rt.length>0?Ee(it,rt,He.scalarFallback):null}function eo(fe){let{type:pe}=fe;switch(pe){case g.Type.FLOW_MAP:case g.Type.MAP:return g.defaultTags.MAP;case g.Type.FLOW_SEQ:case g.Type.SEQ:return g.defaultTags.SEQ;default:return g.defaultTags.STR}}function qo(fe,pe,We){try{let He=ia(fe,pe,We);if(He)return We&&pe.tag&&(He.tag=We),He}catch(He){return He.source||(He.source=pe),fe.errors.push(He),null}try{let He=eo(pe);if(!He)throw new Error(`The tag ${We} is unavailable`);let rt=`The tag ${We} is unavailable, falling back to ${He}`;fe.warnings.push(new g.YAMLWarning(pe,rt));let it=ia(fe,pe,He);return it.tag=We,it}catch(He){let rt=new g.YAMLReferenceError(pe,He.message);return rt.stack=He.stack,fe.errors.push(rt),null}}var vl=fe=>{if(!fe)return!1;let{type:pe}=fe;return pe===g.Type.MAP_KEY||pe===g.Type.MAP_VALUE||pe===g.Type.SEQ_ITEM};function Yf(fe,pe){let We={before:[],after:[]},He=!1,rt=!1,it=vl(pe.context.parent)?pe.context.parent.props.concat(pe.props):pe.props;for(let{start:St,end:Nt}of it)switch(pe.context.src[St]){case g.Char.COMMENT:{if(!pe.commentHasRequiredWhitespace(St)){let dn="Comments must be separated from other tokens by white space characters";fe.push(new g.YAMLSemanticError(pe,dn))}let{header:Kt,valueRange:rn}=pe;(rn&&(St>rn.start||Kt&&St>Kt.start)?We.after:We.before).push(pe.context.src.slice(St+1,Nt));break}case g.Char.ANCHOR:if(He){let Kt="A node can have at most one anchor";fe.push(new g.YAMLSemanticError(pe,Kt))}He=!0;break;case g.Char.TAG:if(rt){let Kt="A node can have at most one tag";fe.push(new g.YAMLSemanticError(pe,Kt))}rt=!0;break}return{comments:We,hasAnchor:He,hasTag:rt}}function Hf(fe,pe){let{anchors:We,errors:He,schema:rt}=fe;if(pe.type===g.Type.ALIAS){let St=pe.rawValue,Nt=We.getNode(St);if(!Nt){let rn=`Aliased anchor not found: ${St}`;return He.push(new g.YAMLReferenceError(pe,rn)),null}let Kt=new Wt(Nt);return We._cstAliases.push(Kt),Kt}let it=ki(fe,pe);if(it)return qo(fe,pe,it);if(pe.type!==g.Type.PLAIN){let St=`Failed to resolve ${pe.type} node here`;return He.push(new g.YAMLSyntaxError(pe,St)),null}try{let St=Ui(fe,pe);return Ee(St,rt.tags,rt.tags.scalarFallback)}catch(St){return St.source||(St.source=pe),He.push(St),null}}function hi(fe,pe){if(!pe)return null;pe.error&&fe.errors.push(pe.error);let{comments:We,hasAnchor:He,hasTag:rt}=Yf(fe.errors,pe);if(He){let{anchors:St}=fe,Nt=pe.anchor,Kt=St.getNode(Nt);Kt&&(St.map[St.newName(Nt)]=Kt),St.map[Nt]=pe}if(pe.type===g.Type.ALIAS&&(He||rt)){let St="An alias node must not specify any properties";fe.errors.push(new g.YAMLSemanticError(pe,St))}let it=Hf(fe,pe);if(it){it.range=[pe.range.start,pe.range.end],fe.options.keepCstNodes&&(it.cstNode=pe),fe.options.keepNodeTypes&&(it.type=pe.type);let St=We.before.join(`
397
- `);St&&(it.commentBefore=it.commentBefore?`${it.commentBefore}
398
- ${St}`:St);let Nt=We.after.join(`
399
- `);Nt&&(it.comment=it.comment?`${it.comment}
400
- ${Nt}`:Nt)}return pe.resolved=it}function zf(fe,pe){if(pe.type!==g.Type.MAP&&pe.type!==g.Type.FLOW_MAP){let St=`A ${pe.type} node cannot be resolved as a mapping`;return fe.errors.push(new g.YAMLSyntaxError(pe,St)),null}let{comments:We,items:He}=pe.type===g.Type.FLOW_MAP?Zf(fe,pe):Kf(fe,pe),rt=new Dn;rt.items=He,Li(rt,We);let it=!1;for(let St=0;St<He.length;++St){let{key:Nt}=He[St];if(Nt instanceof ut&&(it=!0),fe.schema.merge&&Nt&&Nt.value===ye){He[St]=new Z(He[St]);let Kt=He[St].value.items,rn=null;Kt.some(dn=>{if(dn instanceof Wt){let{type:kn}=dn.source;return kn===g.Type.MAP||kn===g.Type.FLOW_MAP?!1:rn="Merge nodes aliases can only point to maps"}return rn="Merge nodes can only have Alias nodes as values"}),rn&&fe.errors.push(new g.YAMLSemanticError(pe,rn))}else for(let Kt=St+1;Kt<He.length;++Kt){let{key:rn}=He[Kt];if(Nt===rn||Nt&&rn&&Object.prototype.hasOwnProperty.call(Nt,"value")&&Nt.value===rn.value){let dn=`Map keys must be unique; "${Nt}" is repeated`;fe.errors.push(new g.YAMLSemanticError(pe,dn));break}}}if(it&&!fe.options.mapAsMap){let St="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";fe.warnings.push(new g.YAMLWarning(pe,St))}return pe.resolved=rt,rt}var Qf=fe=>{let{context:{lineStart:pe,node:We,src:He},props:rt}=fe;if(rt.length===0)return!1;let{start:it}=rt[0];if(We&&it>We.valueRange.start||He[it]!==g.Char.COMMENT)return!1;for(let St=pe;St<it;++St)if(He[St]===`
401
- `)return!1;return!0};function Xf(fe,pe){if(!Qf(fe))return;let We=fe.getPropValue(0,g.Char.COMMENT,!0),He=!1,rt=pe.value.commentBefore;if(rt&&rt.startsWith(We))pe.value.commentBefore=rt.substr(We.length+1),He=!0;else{let it=pe.value.comment;!fe.node&&it&&it.startsWith(We)&&(pe.value.comment=it.substr(We.length+1),He=!0)}He&&(pe.comment=We)}function Kf(fe,pe){let We=[],He=[],rt,it=null;for(let St=0;St<pe.items.length;++St){let Nt=pe.items[St];switch(Nt.type){case g.Type.BLANK_LINE:We.push({afterKey:!!rt,before:He.length});break;case g.Type.COMMENT:We.push({afterKey:!!rt,before:He.length,comment:Nt.comment});break;case g.Type.MAP_KEY:rt!==void 0&&He.push(new Lt(rt)),Nt.error&&fe.errors.push(Nt.error),rt=hi(fe,Nt.node),it=null;break;case g.Type.MAP_VALUE:{if(rt===void 0&&(rt=null),Nt.error&&fe.errors.push(Nt.error),!Nt.context.atLineStart&&Nt.node&&Nt.node.type===g.Type.MAP&&!Nt.node.context.atLineStart){let dn="Nested mappings are not allowed in compact mappings";fe.errors.push(new g.YAMLSemanticError(Nt.node,dn))}let Kt=Nt.node;if(!Kt&&Nt.props.length>0){Kt=new g.PlainValue(g.Type.PLAIN,[]),Kt.context={parent:Nt,src:Nt.context.src};let dn=Nt.range.start+1;if(Kt.range={start:dn,end:dn},Kt.valueRange={start:dn,end:dn},typeof Nt.range.origStart=="number"){let kn=Nt.range.origStart+1;Kt.range.origStart=Kt.range.origEnd=kn,Kt.valueRange.origStart=Kt.valueRange.origEnd=kn}}let rn=new Lt(rt,hi(fe,Kt));Xf(Nt,rn),He.push(rn),rt&&typeof it=="number"&&Nt.range.start>it+1024&&fe.errors.push(or(pe,rt)),rt=void 0,it=null}break;default:rt!==void 0&&He.push(new Lt(rt)),rt=hi(fe,Nt),it=Nt.range.start,Nt.error&&fe.errors.push(Nt.error);e:for(let Kt=St+1;;++Kt){let rn=pe.items[Kt];switch(rn&&rn.type){case g.Type.BLANK_LINE:case g.Type.COMMENT:continue e;case g.Type.MAP_VALUE:break e;default:{let dn="Implicit map keys need to be followed by map values";fe.errors.push(new g.YAMLSemanticError(Nt,dn));break e}}}if(Nt.valueRangeContainsNewline){let Kt="Implicit map keys need to be on a single line";fe.errors.push(new g.YAMLSemanticError(Nt,Kt))}}}return rt!==void 0&&He.push(new Lt(rt)),{comments:We,items:He}}function Zf(fe,pe){let We=[],He=[],rt,it=!1,St="{";for(let Nt=0;Nt<pe.items.length;++Nt){let Kt=pe.items[Nt];if(typeof Kt.char=="string"){let{char:rn,offset:dn}=Kt;if(rn==="?"&&rt===void 0&&!it){it=!0,St=":";continue}if(rn===":"){if(rt===void 0&&(rt=null),St===":"){St=",";continue}}else if(it&&(rt===void 0&&rn!==","&&(rt=null),it=!1),rt!==void 0&&(He.push(new Lt(rt)),rt=void 0,rn===",")){St=":";continue}if(rn==="}"){if(Nt===pe.items.length-1)continue}else if(rn===St){St=":";continue}let kn=`Flow map contains an unexpected ${rn}`,lr=new g.YAMLSyntaxError(pe,kn);lr.offset=dn,fe.errors.push(lr)}else Kt.type===g.Type.BLANK_LINE?We.push({afterKey:!!rt,before:He.length}):Kt.type===g.Type.COMMENT?(Wn(fe.errors,Kt),We.push({afterKey:!!rt,before:He.length,comment:Kt.comment})):rt===void 0?(St===","&&fe.errors.push(new g.YAMLSemanticError(Kt,"Separator , missing in flow map")),rt=hi(fe,Kt)):(St!==","&&fe.errors.push(new g.YAMLSemanticError(Kt,"Indicator : missing in flow map entry")),He.push(new Lt(rt,hi(fe,Kt))),rt=void 0,it=!1)}return An(fe.errors,pe),rt!==void 0&&He.push(new Lt(rt)),{comments:We,items:He}}function ep(fe,pe){if(pe.type!==g.Type.SEQ&&pe.type!==g.Type.FLOW_SEQ){let it=`A ${pe.type} node cannot be resolved as a sequence`;return fe.errors.push(new g.YAMLSyntaxError(pe,it)),null}let{comments:We,items:He}=pe.type===g.Type.FLOW_SEQ?np(fe,pe):tp(fe,pe),rt=new Tt;if(rt.items=He,Li(rt,We),!fe.options.mapAsMap&&He.some(it=>it instanceof Lt&&it.key instanceof ut)){let it="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";fe.warnings.push(new g.YAMLWarning(pe,it))}return pe.resolved=rt,rt}function tp(fe,pe){let We=[],He=[];for(let rt=0;rt<pe.items.length;++rt){let it=pe.items[rt];switch(it.type){case g.Type.BLANK_LINE:We.push({before:He.length});break;case g.Type.COMMENT:We.push({comment:it.comment,before:He.length});break;case g.Type.SEQ_ITEM:if(it.error&&fe.errors.push(it.error),He.push(hi(fe,it.node)),it.hasProps){let St="Sequence items cannot have tags or anchors before the - indicator";fe.errors.push(new g.YAMLSemanticError(it,St))}break;default:it.error&&fe.errors.push(it.error),fe.errors.push(new g.YAMLSyntaxError(it,`Unexpected ${it.type} node in sequence`))}}return{comments:We,items:He}}function np(fe,pe){let We=[],He=[],rt=!1,it,St=null,Nt="[",Kt=null;for(let rn=0;rn<pe.items.length;++rn){let dn=pe.items[rn];if(typeof dn.char=="string"){let{char:kn,offset:lr}=dn;if(kn!==":"&&(rt||it!==void 0)&&(rt&&it===void 0&&(it=Nt?He.pop():null),He.push(new Lt(it)),rt=!1,it=void 0,St=null),kn===Nt)Nt=null;else if(!Nt&&kn==="?")rt=!0;else if(Nt!=="["&&kn===":"&&it===void 0){if(Nt===","){if(it=He.pop(),it instanceof Lt){let cr="Chaining flow sequence pairs is invalid",jn=new g.YAMLSemanticError(pe,cr);jn.offset=lr,fe.errors.push(jn)}if(!rt&&typeof St=="number"){let cr=dn.range?dn.range.start:dn.offset;cr>St+1024&&fe.errors.push(or(pe,it));let{src:jn}=Kt.context;for(let ir=St;ir<cr;++ir)if(jn[ir]===`
402
- `){let er="Implicit keys of flow sequence pairs need to be on a single line";fe.errors.push(new g.YAMLSemanticError(Kt,er));break}}}else it=null;St=null,rt=!1,Nt=null}else if(Nt==="["||kn!=="]"||rn<pe.items.length-1){let cr=`Flow sequence contains an unexpected ${kn}`,jn=new g.YAMLSyntaxError(pe,cr);jn.offset=lr,fe.errors.push(jn)}}else if(dn.type===g.Type.BLANK_LINE)We.push({before:He.length});else if(dn.type===g.Type.COMMENT)Wn(fe.errors,dn),We.push({comment:dn.comment,before:He.length});else{if(Nt){let lr=`Expected a ${Nt} in flow sequence`;fe.errors.push(new g.YAMLSemanticError(dn,lr))}let kn=hi(fe,dn);it===void 0?(He.push(kn),Kt=dn):(He.push(new Lt(it,kn)),it=void 0),St=dn.range.start,Nt=","}}return An(fe.errors,pe),it!==void 0&&He.push(new Lt(it)),{comments:We,items:He}}Y.Alias=Wt,Y.Collection=ut,Y.Merge=Z,Y.Node=ke,Y.Pair=Lt,Y.Scalar=nt,Y.YAMLMap=Dn,Y.YAMLSeq=Tt,Y.addComment=Ce,Y.binaryOptions=O,Y.boolOptions=H,Y.findPair=Xt,Y.intOptions=ue,Y.isEmptyPath=Rt,Y.nullOptions=Ne,Y.resolveMap=zf,Y.resolveNode=hi,Y.resolveSeq=ep,Y.resolveString=Ui,Y.strOptions=Be,Y.stringifyNumber=hn,Y.stringifyString=tn,Y.toJSON=Pe}}),ta=c({"node_modules/yaml/dist/warnings-1000a372.js"(Y){M();var g=Gr(),W=Zi(),Ce={identify:Ee=>Ee instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(Ee,je)=>{let xt=W.resolveString(Ee,je);if(typeof Buffer=="function")return Buffer.from(xt,"base64");if(typeof atob=="function"){let jt=atob(xt.replace(/[\n\r]/g,"")),zt=new Uint8Array(jt.length);for(let vn=0;vn<jt.length;++vn)zt[vn]=jt.charCodeAt(vn);return zt}else{let jt="This environment does not support reading binary tags; either Buffer or atob is required";return Ee.errors.push(new g.YAMLReferenceError(je,jt)),null}},options:W.binaryOptions,stringify:(Ee,je,xt,jt)=>{let{comment:zt,type:vn,value:on}=Ee,$n;if(typeof Buffer=="function")$n=on instanceof Buffer?on.toString("base64"):Buffer.from(on.buffer).toString("base64");else if(typeof btoa=="function"){let sr="";for(let xr=0;xr<on.length;++xr)sr+=String.fromCharCode(on[xr]);$n=btoa(sr)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(vn||(vn=W.binaryOptions.defaultType),vn===g.Type.QUOTE_DOUBLE)on=$n;else{let{lineWidth:sr}=W.binaryOptions,xr=Math.ceil($n.length/sr),di=new Array(xr);for(let ui=0,Et=0;ui<xr;++ui,Et+=sr)di[ui]=$n.substr(Et,sr);on=di.join(vn===g.Type.BLOCK_LITERAL?`
403
- `:" ")}return W.stringifyString({comment:zt,type:vn,value:on},je,xt,jt)}};function ke(Ee,je){let xt=W.resolveSeq(Ee,je);for(let jt=0;jt<xt.items.length;++jt){let zt=xt.items[jt];if(!(zt instanceof W.Pair)){if(zt instanceof W.YAMLMap){if(zt.items.length>1){let on="Each pair must have its own sequence indicator";throw new g.YAMLSemanticError(je,on)}let vn=zt.items[0]||new W.Pair;zt.commentBefore&&(vn.commentBefore=vn.commentBefore?`${zt.commentBefore}
404
- ${vn.commentBefore}`:zt.commentBefore),zt.comment&&(vn.comment=vn.comment?`${zt.comment}
405
- ${vn.comment}`:zt.comment),zt=vn}xt.items[jt]=zt instanceof W.Pair?zt:new W.Pair(zt)}}return xt}function Pe(Ee,je,xt){let jt=new W.YAMLSeq(Ee);jt.tag="tag:yaml.org,2002:pairs";for(let zt of je){let vn,on;if(Array.isArray(zt))if(zt.length===2)vn=zt[0],on=zt[1];else throw new TypeError(`Expected [key, value] tuple: ${zt}`);else if(zt&&zt instanceof Object){let sr=Object.keys(zt);if(sr.length===1)vn=sr[0],on=zt[vn];else throw new TypeError(`Expected { key: value } tuple: ${zt}`)}else vn=zt;let $n=Ee.createPair(vn,on,xt);jt.items.push($n)}return jt}var nt={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:ke,createNode:Pe},Dt=class extends W.YAMLSeq{constructor(){super(),g._defineProperty(this,"add",W.YAMLMap.prototype.add.bind(this)),g._defineProperty(this,"delete",W.YAMLMap.prototype.delete.bind(this)),g._defineProperty(this,"get",W.YAMLMap.prototype.get.bind(this)),g._defineProperty(this,"has",W.YAMLMap.prototype.has.bind(this)),g._defineProperty(this,"set",W.YAMLMap.prototype.set.bind(this)),this.tag=Dt.tag}toJSON(Ee,je){let xt=new Map;je&&je.onCreate&&je.onCreate(xt);for(let jt of this.items){let zt,vn;if(jt instanceof W.Pair?(zt=W.toJSON(jt.key,"",je),vn=W.toJSON(jt.value,zt,je)):zt=W.toJSON(jt,"",je),xt.has(zt))throw new Error("Ordered maps must not include duplicate keys");xt.set(zt,vn)}return xt}};g._defineProperty(Dt,"tag","tag:yaml.org,2002:omap");function Rt(Ee,je){let xt=ke(Ee,je),jt=[];for(let{key:zt}of xt.items)if(zt instanceof W.Scalar)if(jt.includes(zt.value)){let vn="Ordered maps must not include duplicate keys";throw new g.YAMLSemanticError(je,vn)}else jt.push(zt.value);return Object.assign(new Dt,xt)}function ut(Ee,je,xt){let jt=Pe(Ee,je,xt),zt=new Dt;return zt.items=jt.items,zt}var vt={identify:Ee=>Ee instanceof Map,nodeClass:Dt,default:!1,tag:"tag:yaml.org,2002:omap",resolve:Rt,createNode:ut},Tt=class extends W.YAMLMap{constructor(){super(),this.tag=Tt.tag}add(Ee){let je=Ee instanceof W.Pair?Ee:new W.Pair(Ee);W.findPair(this.items,je.key)||this.items.push(je)}get(Ee,je){let xt=W.findPair(this.items,Ee);return!je&&xt instanceof W.Pair?xt.key instanceof W.Scalar?xt.key.value:xt.key:xt}set(Ee,je){if(typeof je!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof je}`);let xt=W.findPair(this.items,Ee);xt&&!je?this.items.splice(this.items.indexOf(xt),1):!xt&&je&&this.items.push(new W.Pair(Ee))}toJSON(Ee,je){return super.toJSON(Ee,je,Set)}toString(Ee,je,xt){if(!Ee)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(Ee,je,xt);throw new Error("Set items must all have null values")}};g._defineProperty(Tt,"tag","tag:yaml.org,2002:set");function Ot(Ee,je){let xt=W.resolveMap(Ee,je);if(!xt.hasAllNullValues())throw new g.YAMLSemanticError(je,"Set items must all have null values");return Object.assign(new Tt,xt)}function Lt(Ee,je,xt){let jt=new Tt;for(let zt of je)jt.items.push(Ee.createPair(zt,null,xt));return jt}var Gt={identify:Ee=>Ee instanceof Set,nodeClass:Tt,default:!1,tag:"tag:yaml.org,2002:set",resolve:Ot,createNode:Lt},Wt=(Ee,je)=>{let xt=je.split(":").reduce((jt,zt)=>jt*60+Number(zt),0);return Ee==="-"?-xt:xt},Xt=Ee=>{let{value:je}=Ee;if(isNaN(je)||!isFinite(je))return W.stringifyNumber(je);let xt="";je<0&&(xt="-",je=Math.abs(je));let jt=[je%60];return je<60?jt.unshift(0):(je=Math.round((je-jt[0])/60),jt.unshift(je%60),je>=60&&(je=Math.round((je-jt[0])/60),jt.unshift(je))),xt+jt.map(zt=>zt<10?"0"+String(zt):String(zt)).join(":").replace(/000000\d*$/,"")},Dn={identify:Ee=>typeof Ee=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(Ee,je,xt)=>Wt(je,xt.replace(/_/g,"")),stringify:Xt},ye={identify:Ee=>typeof Ee=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(Ee,je,xt)=>Wt(je,xt.replace(/_/g,"")),stringify:Xt},Z={identify:Ee=>Ee instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(Ee,je,xt,jt,zt,vn,on,$n,sr)=>{$n&&($n=($n+"00").substr(1,3));let xr=Date.UTC(je,xt-1,jt,zt||0,vn||0,on||0,$n||0);if(sr&&sr!=="Z"){let di=Wt(sr[0],sr.slice(1));Math.abs(di)<30&&(di*=60),xr-=6e4*di}return new Date(xr)},stringify:Ee=>{let{value:je}=Ee;return je.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function O(Ee){let je=typeof Q<"u"&&Q.env||{};return Ee?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!je.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!je.YAML_SILENCE_WARNINGS}function H(Ee,je){if(O(!1)){let xt=typeof Q<"u"&&Q.emitWarning;xt?xt(Ee,je):console.warn(je?`${je}: ${Ee}`:Ee)}}function ue(Ee){if(O(!0)){let je=Ee.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");H(`The endpoint 'yaml/${je}' will be removed in a future release.`,"DeprecationWarning")}}var Ne={};function Be(Ee,je){if(!Ne[Ee]&&O(!0)){Ne[Ee]=!0;let xt=`The option '${Ee}' will be removed in a future release`;xt+=je?`, use '${je}' instead.`:".",H(xt,"DeprecationWarning")}}Y.binary=Ce,Y.floatTime=ye,Y.intTime=Dn,Y.omap=vt,Y.pairs=nt,Y.set=Gt,Y.timestamp=Z,Y.warn=H,Y.warnFileDeprecation=ue,Y.warnOptionDeprecation=Be}}),na=c({"node_modules/yaml/dist/Schema-88e323a7.js"(Y){M();var g=Gr(),W=Zi(),Ce=ta();function ke(Et,tn,hn){let An=new W.YAMLMap(Et);if(tn instanceof Map)for(let[Wn,or]of tn)An.items.push(Et.createPair(Wn,or,hn));else if(tn&&typeof tn=="object")for(let Wn of Object.keys(tn))An.items.push(Et.createPair(Wn,tn[Wn],hn));return typeof Et.sortMapEntries=="function"&&An.items.sort(Et.sortMapEntries),An}var Pe={createNode:ke,default:!0,nodeClass:W.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:W.resolveMap};function nt(Et,tn,hn){let An=new W.YAMLSeq(Et);if(tn&&tn[Symbol.iterator])for(let Wn of tn){let or=Et.createNode(Wn,hn.wrapScalars,null,hn);An.items.push(or)}return An}var Dt={createNode:nt,default:!0,nodeClass:W.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:W.resolveSeq},Rt={identify:Et=>typeof Et=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify(Et,tn,hn,An){return tn=Object.assign({actualString:!0},tn),W.stringifyString(Et,tn,hn,An)},options:W.strOptions},ut=[Pe,Dt,Rt],vt=Et=>typeof Et=="bigint"||Number.isInteger(Et),Tt=(Et,tn,hn)=>W.intOptions.asBigInt?BigInt(Et):parseInt(tn,hn);function Ot(Et,tn,hn){let{value:An}=Et;return vt(An)&&An>=0?hn+An.toString(tn):W.stringifyNumber(Et)}var Lt={identify:Et=>Et==null,createNode:(Et,tn,hn)=>hn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:W.nullOptions,stringify:()=>W.nullOptions.nullStr},Gt={identify:Et=>typeof Et=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:Et=>Et[0]==="t"||Et[0]==="T",options:W.boolOptions,stringify:Et=>{let{value:tn}=Et;return tn?W.boolOptions.trueStr:W.boolOptions.falseStr}},Wt={identify:Et=>vt(Et)&&Et>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(Et,tn)=>Tt(Et,tn,8),options:W.intOptions,stringify:Et=>Ot(Et,8,"0o")},Xt={identify:vt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:Et=>Tt(Et,Et,10),options:W.intOptions,stringify:W.stringifyNumber},Dn={identify:Et=>vt(Et)&&Et>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(Et,tn)=>Tt(Et,tn,16),options:W.intOptions,stringify:Et=>Ot(Et,16,"0x")},ye={identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(Et,tn)=>tn?NaN:Et[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:W.stringifyNumber},Z={identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:Et=>parseFloat(Et),stringify:Et=>{let{value:tn}=Et;return Number(tn).toExponential()}},O={identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(Et,tn,hn){let An=tn||hn,Wn=new W.Scalar(parseFloat(Et));return An&&An[An.length-1]==="0"&&(Wn.minFractionDigits=An.length),Wn},stringify:W.stringifyNumber},H=ut.concat([Lt,Gt,Wt,Xt,Dn,ye,Z,O]),ue=Et=>typeof Et=="bigint"||Number.isInteger(Et),Ne=Et=>{let{value:tn}=Et;return JSON.stringify(tn)},Be=[Pe,Dt,{identify:Et=>typeof Et=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify:Ne},{identify:Et=>Et==null,createNode:(Et,tn,hn)=>hn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Ne},{identify:Et=>typeof Et=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:Et=>Et==="true",stringify:Ne},{identify:ue,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:Et=>W.intOptions.asBigInt?BigInt(Et):parseInt(Et,10),stringify:Et=>{let{value:tn}=Et;return ue(tn)?tn.toString():JSON.stringify(tn)}},{identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:Et=>parseFloat(Et),stringify:Ne}];Be.scalarFallback=Et=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(Et)}`)};var Ee=Et=>{let{value:tn}=Et;return tn?W.boolOptions.trueStr:W.boolOptions.falseStr},je=Et=>typeof Et=="bigint"||Number.isInteger(Et);function xt(Et,tn,hn){let An=tn.replace(/_/g,"");if(W.intOptions.asBigInt){switch(hn){case 2:An=`0b${An}`;break;case 8:An=`0o${An}`;break;case 16:An=`0x${An}`;break}let or=BigInt(An);return Et==="-"?BigInt(-1)*or:or}let Wn=parseInt(An,hn);return Et==="-"?-1*Wn:Wn}function jt(Et,tn,hn){let{value:An}=Et;if(je(An)){let Wn=An.toString(tn);return An<0?"-"+hn+Wn.substr(1):hn+Wn}return W.stringifyNumber(Et)}var zt=ut.concat([{identify:Et=>Et==null,createNode:(Et,tn,hn)=>hn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:W.nullOptions,stringify:()=>W.nullOptions.nullStr},{identify:Et=>typeof Et=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:W.boolOptions,stringify:Ee},{identify:Et=>typeof Et=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:W.boolOptions,stringify:Ee},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(Et,tn,hn)=>xt(tn,hn,2),stringify:Et=>jt(Et,2,"0b")},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(Et,tn,hn)=>xt(tn,hn,8),stringify:Et=>jt(Et,8,"0")},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(Et,tn,hn)=>xt(tn,hn,10),stringify:W.stringifyNumber},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(Et,tn,hn)=>xt(tn,hn,16),stringify:Et=>jt(Et,16,"0x")},{identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(Et,tn)=>tn?NaN:Et[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:W.stringifyNumber},{identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:Et=>parseFloat(Et.replace(/_/g,"")),stringify:Et=>{let{value:tn}=Et;return Number(tn).toExponential()}},{identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(Et,tn){let hn=new W.Scalar(parseFloat(Et.replace(/_/g,"")));if(tn){let An=tn.replace(/_/g,"");An[An.length-1]==="0"&&(hn.minFractionDigits=An.length)}return hn},stringify:W.stringifyNumber}],Ce.binary,Ce.omap,Ce.pairs,Ce.set,Ce.intTime,Ce.floatTime,Ce.timestamp),vn={core:H,failsafe:ut,json:Be,yaml11:zt},on={binary:Ce.binary,bool:Gt,float:O,floatExp:Z,floatNaN:ye,floatTime:Ce.floatTime,int:Xt,intHex:Dn,intOct:Wt,intTime:Ce.intTime,map:Pe,null:Lt,omap:Ce.omap,pairs:Ce.pairs,seq:Dt,set:Ce.set,timestamp:Ce.timestamp};function $n(Et,tn,hn){if(tn){let An=hn.filter(or=>or.tag===tn),Wn=An.find(or=>!or.format)||An[0];if(!Wn)throw new Error(`Tag ${tn} not found`);return Wn}return hn.find(An=>(An.identify&&An.identify(Et)||An.class&&Et instanceof An.class)&&!An.format)}function sr(Et,tn,hn){if(Et instanceof W.Node)return Et;let{defaultPrefix:An,onTagObj:Wn,prevObjects:or,schema:Li,wrapScalars:Ui}=hn;tn&&tn.startsWith("!!")&&(tn=An+tn.slice(2));let Wi=$n(Et,tn,Li.tags);if(!Wi){if(typeof Et.toJSON=="function"&&(Et=Et.toJSON()),!Et||typeof Et!="object")return Ui?new W.Scalar(Et):Et;Wi=Et instanceof Map?Pe:Et[Symbol.iterator]?Dt:Pe}Wn&&(Wn(Wi),delete hn.onTagObj);let ki={value:void 0,node:void 0};if(Et&&typeof Et=="object"&&or){let ia=or.get(Et);if(ia){let eo=new W.Alias(ia);return hn.aliasNodes.push(eo),eo}ki.value=Et,or.set(Et,ki)}return ki.node=Wi.createNode?Wi.createNode(hn.schema,Et,hn):Ui?new W.Scalar(Et):Et,tn&&ki.node instanceof W.Node&&(ki.node.tag=tn),ki.node}function xr(Et,tn,hn,An){let Wn=Et[An.replace(/\W/g,"")];if(!Wn){let or=Object.keys(Et).map(Li=>JSON.stringify(Li)).join(", ");throw new Error(`Unknown schema "${An}"; use one of ${or}`)}if(Array.isArray(hn))for(let or of hn)Wn=Wn.concat(or);else typeof hn=="function"&&(Wn=hn(Wn.slice()));for(let or=0;or<Wn.length;++or){let Li=Wn[or];if(typeof Li=="string"){let Ui=tn[Li];if(!Ui){let Wi=Object.keys(tn).map(ki=>JSON.stringify(ki)).join(", ");throw new Error(`Unknown custom tag "${Li}"; use one of ${Wi}`)}Wn[or]=Ui}}return Wn}var di=(Et,tn)=>Et.key<tn.key?-1:Et.key>tn.key?1:0,ui=class{constructor(Et){let{customTags:tn,merge:hn,schema:An,sortMapEntries:Wn,tags:or}=Et;this.merge=!!hn,this.name=An,this.sortMapEntries=Wn===!0?di:Wn||null,!tn&&or&&Ce.warnOptionDeprecation("tags","customTags"),this.tags=xr(vn,on,tn||or,An)}createNode(Et,tn,hn,An){let Wn={defaultPrefix:ui.defaultPrefix,schema:this,wrapScalars:tn},or=An?Object.assign(An,Wn):Wn;return sr(Et,hn,or)}createPair(Et,tn,hn){hn||(hn={wrapScalars:!0});let An=this.createNode(Et,hn.wrapScalars,null,hn),Wn=this.createNode(tn,hn.wrapScalars,null,hn);return new W.Pair(An,Wn)}};g._defineProperty(ui,"defaultPrefix",g.defaultTagPrefix),g._defineProperty(ui,"defaultTags",g.defaultTags),Y.Schema=ui}}),ti=c({"node_modules/yaml/dist/Document-9b4560a1.js"(Y){M();var g=Gr(),W=Zi(),Ce=na(),ke={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},Pe={get binary(){return W.binaryOptions},set binary(O){Object.assign(W.binaryOptions,O)},get bool(){return W.boolOptions},set bool(O){Object.assign(W.boolOptions,O)},get int(){return W.intOptions},set int(O){Object.assign(W.intOptions,O)},get null(){return W.nullOptions},set null(O){Object.assign(W.nullOptions,O)},get str(){return W.strOptions},set str(O){Object.assign(W.strOptions,O)}},nt={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:g.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:g.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:g.defaultTagPrefix}]}};function Dt(O,H){if((O.version||O.options.version)==="1.0"){let Be=H.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(Be)return"!"+Be[1];let Ee=H.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return Ee?`!${Ee[1]}/${Ee[2]}`:`!${H.replace(/^tag:/,"")}`}let ue=O.tagPrefixes.find(Be=>H.indexOf(Be.prefix)===0);if(!ue){let Be=O.getDefaults().tagPrefixes;ue=Be&&Be.find(Ee=>H.indexOf(Ee.prefix)===0)}if(!ue)return H[0]==="!"?H:`!<${H}>`;let Ne=H.substr(ue.prefix.length).replace(/[!,[\]{}]/g,Be=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[Be]);return ue.handle+Ne}function Rt(O,H){if(H instanceof W.Alias)return W.Alias;if(H.tag){let Be=O.filter(Ee=>Ee.tag===H.tag);if(Be.length>0)return Be.find(Ee=>Ee.format===H.format)||Be[0]}let ue,Ne;if(H instanceof W.Scalar){Ne=H.value;let Be=O.filter(Ee=>Ee.identify&&Ee.identify(Ne)||Ee.class&&Ne instanceof Ee.class);ue=Be.find(Ee=>Ee.format===H.format)||Be.find(Ee=>!Ee.format)}else Ne=H,ue=O.find(Be=>Be.nodeClass&&Ne instanceof Be.nodeClass);if(!ue){let Be=Ne&&Ne.constructor?Ne.constructor.name:typeof Ne;throw new Error(`Tag not resolved for ${Be} value`)}return ue}function ut(O,H,ue){let{anchors:Ne,doc:Be}=ue,Ee=[],je=Be.anchors.getName(O);return je&&(Ne[je]=O,Ee.push(`&${je}`)),O.tag?Ee.push(Dt(Be,O.tag)):H.default||Ee.push(Dt(Be,H.tag)),Ee.join(" ")}function vt(O,H,ue,Ne){let{anchors:Be,schema:Ee}=H.doc,je;if(!(O instanceof W.Node)){let zt={aliasNodes:[],onTagObj:vn=>je=vn,prevObjects:new Map};O=Ee.createNode(O,!0,null,zt);for(let vn of zt.aliasNodes){vn.source=vn.source.node;let on=Be.getName(vn.source);on||(on=Be.newName(),Be.map[on]=vn.source)}}if(O instanceof W.Pair)return O.toString(H,ue,Ne);je||(je=Rt(Ee.tags,O));let xt=ut(O,je,H);xt.length>0&&(H.indentAtStart=(H.indentAtStart||0)+xt.length+1);let jt=typeof je.stringify=="function"?je.stringify(O,H,ue,Ne):O instanceof W.Scalar?W.stringifyString(O,H,ue,Ne):O.toString(H,ue,Ne);return xt?O instanceof W.Scalar||jt[0]==="{"||jt[0]==="["?`${xt} ${jt}`:`${xt}
406
- ${H.indent}${jt}`:jt}var Tt=class{static validAnchorNode(O){return O instanceof W.Scalar||O instanceof W.YAMLSeq||O instanceof W.YAMLMap}constructor(O){g._defineProperty(this,"map",Object.create(null)),this.prefix=O}createAlias(O,H){return this.setAnchor(O,H),new W.Alias(O)}createMergePair(){let O=new W.Merge;for(var H=arguments.length,ue=new Array(H),Ne=0;Ne<H;Ne++)ue[Ne]=arguments[Ne];return O.value.items=ue.map(Be=>{if(Be instanceof W.Alias){if(Be.source instanceof W.YAMLMap)return Be}else if(Be instanceof W.YAMLMap)return this.createAlias(Be);throw new Error("Merge sources must be Map nodes or their Aliases")}),O}getName(O){let{map:H}=this;return Object.keys(H).find(ue=>H[ue]===O)}getNames(){return Object.keys(this.map)}getNode(O){return this.map[O]}newName(O){O||(O=this.prefix);let H=Object.keys(this.map);for(let ue=1;;++ue){let Ne=`${O}${ue}`;if(!H.includes(Ne))return Ne}}resolveNodes(){let{map:O,_cstAliases:H}=this;Object.keys(O).forEach(ue=>{O[ue]=O[ue].resolved}),H.forEach(ue=>{ue.source=ue.source.resolved}),delete this._cstAliases}setAnchor(O,H){if(O!=null&&!Tt.validAnchorNode(O))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(H&&/[\x00-\x19\s,[\]{}]/.test(H))throw new Error("Anchor names must not contain whitespace or control characters");let{map:ue}=this,Ne=O&&Object.keys(ue).find(Be=>ue[Be]===O);if(Ne)if(H)Ne!==H&&(delete ue[Ne],ue[H]=O);else return Ne;else{if(!H){if(!O)return null;H=this.newName()}ue[H]=O}return H}},Ot=(O,H)=>{if(O&&typeof O=="object"){let{tag:ue}=O;O instanceof W.Collection?(ue&&(H[ue]=!0),O.items.forEach(Ne=>Ot(Ne,H))):O instanceof W.Pair?(Ot(O.key,H),Ot(O.value,H)):O instanceof W.Scalar&&ue&&(H[ue]=!0)}return H},Lt=O=>Object.keys(Ot(O,{}));function Gt(O,H){let ue={before:[],after:[]},Ne,Be=!1;for(let Ee of H)if(Ee.valueRange){if(Ne!==void 0){let xt="Document contains trailing content not separated by a ... or --- line";O.errors.push(new g.YAMLSyntaxError(Ee,xt));break}let je=W.resolveNode(O,Ee);Be&&(je.spaceBefore=!0,Be=!1),Ne=je}else Ee.comment!==null?(Ne===void 0?ue.before:ue.after).push(Ee.comment):Ee.type===g.Type.BLANK_LINE&&(Be=!0,Ne===void 0&&ue.before.length>0&&!O.commentBefore&&(O.commentBefore=ue.before.join(`
407
- `),ue.before=[]));if(O.contents=Ne||null,!Ne)O.comment=ue.before.concat(ue.after).join(`
408
- `)||null;else{let Ee=ue.before.join(`
409
- `);if(Ee){let je=Ne instanceof W.Collection&&Ne.items[0]?Ne.items[0]:Ne;je.commentBefore=je.commentBefore?`${Ee}
410
- ${je.commentBefore}`:Ee}O.comment=ue.after.join(`
411
- `)||null}}function Wt(O,H){let{tagPrefixes:ue}=O,[Ne,Be]=H.parameters;if(!Ne||!Be){let Ee="Insufficient parameters given for %TAG directive";throw new g.YAMLSemanticError(H,Ee)}if(ue.some(Ee=>Ee.handle===Ne)){let Ee="The %TAG directive must only be given at most once per handle in the same document.";throw new g.YAMLSemanticError(H,Ee)}return{handle:Ne,prefix:Be}}function Xt(O,H){let[ue]=H.parameters;if(H.name==="YAML:1.0"&&(ue="1.0"),!ue){let Ne="Insufficient parameters given for %YAML directive";throw new g.YAMLSemanticError(H,Ne)}if(!nt[ue]){let Ne=`Document will be parsed as YAML ${O.version||O.options.version} rather than YAML ${ue}`;O.warnings.push(new g.YAMLWarning(H,Ne))}return ue}function Dn(O,H,ue){let Ne=[],Be=!1;for(let Ee of H){let{comment:je,name:xt}=Ee;switch(xt){case"TAG":try{O.tagPrefixes.push(Wt(O,Ee))}catch(jt){O.errors.push(jt)}Be=!0;break;case"YAML":case"YAML:1.0":if(O.version){let jt="The %YAML directive must only be given at most once per document.";O.errors.push(new g.YAMLSemanticError(Ee,jt))}try{O.version=Xt(O,Ee)}catch(jt){O.errors.push(jt)}Be=!0;break;default:if(xt){let jt=`YAML only supports %TAG and %YAML directives, and not %${xt}`;O.warnings.push(new g.YAMLWarning(Ee,jt))}}je&&Ne.push(je)}if(ue&&!Be&&(O.version||ue.version||O.options.version)==="1.1"){let Ee=je=>{let{handle:xt,prefix:jt}=je;return{handle:xt,prefix:jt}};O.tagPrefixes=ue.tagPrefixes.map(Ee),O.version=ue.version}O.commentBefore=Ne.join(`
412
- `)||null}function ye(O){if(O instanceof W.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var Z=class{constructor(O){this.anchors=new Tt(O.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=O,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(O){return ye(this.contents),this.contents.add(O)}addIn(O,H){ye(this.contents),this.contents.addIn(O,H)}delete(O){return ye(this.contents),this.contents.delete(O)}deleteIn(O){return W.isEmptyPath(O)?this.contents==null?!1:(this.contents=null,!0):(ye(this.contents),this.contents.deleteIn(O))}getDefaults(){return Z.defaults[this.version]||Z.defaults[this.options.version]||{}}get(O,H){return this.contents instanceof W.Collection?this.contents.get(O,H):void 0}getIn(O,H){return W.isEmptyPath(O)?!H&&this.contents instanceof W.Scalar?this.contents.value:this.contents:this.contents instanceof W.Collection?this.contents.getIn(O,H):void 0}has(O){return this.contents instanceof W.Collection?this.contents.has(O):!1}hasIn(O){return W.isEmptyPath(O)?this.contents!==void 0:this.contents instanceof W.Collection?this.contents.hasIn(O):!1}set(O,H){ye(this.contents),this.contents.set(O,H)}setIn(O,H){W.isEmptyPath(O)?this.contents=H:(ye(this.contents),this.contents.setIn(O,H))}setSchema(O,H){if(!O&&!H&&this.schema)return;typeof O=="number"&&(O=O.toFixed(1)),O==="1.0"||O==="1.1"||O==="1.2"?(this.version?this.version=O:this.options.version=O,delete this.options.schema):O&&typeof O=="string"&&(this.options.schema=O),Array.isArray(H)&&(this.options.customTags=H);let ue=Object.assign({},this.getDefaults(),this.options);this.schema=new Ce.Schema(ue)}parse(O,H){this.options.keepCstNodes&&(this.cstNode=O),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:ue=[],contents:Ne=[],directivesEndMarker:Be,error:Ee,valueRange:je}=O;if(Ee&&(Ee.source||(Ee.source=this),this.errors.push(Ee)),Dn(this,ue,H),Be&&(this.directivesEndMarker=!0),this.range=je?[je.start,je.end]:null,this.setSchema(),this.anchors._cstAliases=[],Gt(this,Ne),this.anchors.resolveNodes(),this.options.prettyErrors){for(let xt of this.errors)xt instanceof g.YAMLError&&xt.makePretty();for(let xt of this.warnings)xt instanceof g.YAMLError&&xt.makePretty()}return this}listNonDefaultTags(){return Lt(this.contents).filter(O=>O.indexOf(Ce.Schema.defaultPrefix)!==0)}setTagPrefix(O,H){if(O[0]!=="!"||O[O.length-1]!=="!")throw new Error("Handle must start and end with !");if(H){let ue=this.tagPrefixes.find(Ne=>Ne.handle===O);ue?ue.prefix=H:this.tagPrefixes.push({handle:O,prefix:H})}else this.tagPrefixes=this.tagPrefixes.filter(ue=>ue.handle!==O)}toJSON(O,H){let{keepBlobsInJSON:ue,mapAsMap:Ne,maxAliasCount:Be}=this.options,Ee=ue&&(typeof O!="string"||!(this.contents instanceof W.Scalar)),je={doc:this,indentStep:" ",keep:Ee,mapAsMap:Ee&&!!Ne,maxAliasCount:Be,stringify:vt},xt=Object.keys(this.anchors.map);xt.length>0&&(je.anchors=new Map(xt.map(zt=>[this.anchors.map[zt],{alias:[],aliasCount:0,count:1}])));let jt=W.toJSON(this.contents,O,je);if(typeof H=="function"&&je.anchors)for(let{count:zt,res:vn}of je.anchors.values())H(vn,zt);return jt}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let O=this.options.indent;if(!Number.isInteger(O)||O<=0){let xt=JSON.stringify(O);throw new Error(`"indent" option must be a positive integer, not ${xt}`)}this.setSchema();let H=[],ue=!1;if(this.version){let xt="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?xt="%YAML:1.0":this.version==="1.1"&&(xt="%YAML 1.1")),H.push(xt),ue=!0}let Ne=this.listNonDefaultTags();this.tagPrefixes.forEach(xt=>{let{handle:jt,prefix:zt}=xt;Ne.some(vn=>vn.indexOf(zt)===0)&&(H.push(`%TAG ${jt} ${zt}`),ue=!0)}),(ue||this.directivesEndMarker)&&H.push("---"),this.commentBefore&&((ue||!this.directivesEndMarker)&&H.unshift(""),H.unshift(this.commentBefore.replace(/^/gm,"#")));let Be={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(O),stringify:vt},Ee=!1,je=null;if(this.contents){this.contents instanceof W.Node&&(this.contents.spaceBefore&&(ue||this.directivesEndMarker)&&H.push(""),this.contents.commentBefore&&H.push(this.contents.commentBefore.replace(/^/gm,"#")),Be.forceBlockIndent=!!this.comment,je=this.contents.comment);let xt=je?null:()=>Ee=!0,jt=vt(this.contents,Be,()=>je=null,xt);H.push(W.addComment(jt,"",je))}else this.contents!==void 0&&H.push(vt(this.contents,Be));return this.comment&&((!Ee||je)&&H[H.length-1]!==""&&H.push(""),H.push(this.comment.replace(/^/gm,"#"))),H.join(`
413
- `)+`
414
- `}};g._defineProperty(Z,"defaults",nt),Y.Document=Z,Y.defaultOptions=ke,Y.scalarOptions=Pe}}),hl=c({"node_modules/yaml/dist/index.js"(Y){M();var g=Za(),W=ti(),Ce=na(),ke=Gr(),Pe=ta();Zi();function nt(Lt){let Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Wt=arguments.length>2?arguments[2]:void 0;Wt===void 0&&typeof Gt=="string"&&(Wt=Gt,Gt=!0);let Xt=Object.assign({},W.Document.defaults[W.defaultOptions.version],W.defaultOptions);return new Ce.Schema(Xt).createNode(Lt,Gt,Wt)}var Dt=class extends W.Document{constructor(Lt){super(Object.assign({},W.defaultOptions,Lt))}};function Rt(Lt,Gt){let Wt=[],Xt;for(let Dn of g.parse(Lt)){let ye=new Dt(Gt);ye.parse(Dn,Xt),Wt.push(ye),Xt=ye}return Wt}function ut(Lt,Gt){let Wt=g.parse(Lt),Xt=new Dt(Gt).parse(Wt[0]);if(Wt.length>1){let Dn="Source contains multiple documents; please use YAML.parseAllDocuments()";Xt.errors.unshift(new ke.YAMLSemanticError(Wt[1],Dn))}return Xt}function vt(Lt,Gt){let Wt=ut(Lt,Gt);if(Wt.warnings.forEach(Xt=>Pe.warn(Xt)),Wt.errors.length>0)throw Wt.errors[0];return Wt.toJSON()}function Tt(Lt,Gt){let Wt=new Dt(Gt);return Wt.contents=Lt,String(Wt)}var Ot={createNode:nt,defaultOptions:W.defaultOptions,Document:Dt,parse:vt,parseAllDocuments:Rt,parseCST:g.parse,parseDocument:ut,scalarOptions:W.scalarOptions,stringify:Tt};Y.YAML=Ot}}),ml=c({"node_modules/yaml/index.js"(Y,g){M(),g.exports=hl().YAML}}),gl=c({"node_modules/yaml/dist/util.js"(Y){M();var g=Zi(),W=Gr();Y.findPair=g.findPair,Y.parseMap=g.resolveMap,Y.parseSeq=g.resolveSeq,Y.stringifyNumber=g.stringifyNumber,Y.stringifyString=g.stringifyString,Y.toJSON=g.toJSON,Y.Type=W.Type,Y.YAMLError=W.YAMLError,Y.YAMLReferenceError=W.YAMLReferenceError,Y.YAMLSemanticError=W.YAMLSemanticError,Y.YAMLSyntaxError=W.YAMLSyntaxError,Y.YAMLWarning=W.YAMLWarning}}),qf=c({"node_modules/yaml/util.js"(Y){M();var g=gl();Y.findPair=g.findPair,Y.toJSON=g.toJSON,Y.parseMap=g.parseMap,Y.parseSeq=g.parseSeq,Y.stringifyNumber=g.stringifyNumber,Y.stringifyString=g.stringifyString,Y.Type=g.Type,Y.YAMLError=g.YAMLError,Y.YAMLReferenceError=g.YAMLReferenceError,Y.YAMLSemanticError=g.YAMLSemanticError,Y.YAMLSyntaxError=g.YAMLSyntaxError,Y.YAMLWarning=g.YAMLWarning}}),yl=c({"node_modules/yaml-unist-parser/lib/yaml.js"(Y){M(),Y.__esModule=!0;var g=ml();Y.Document=g.Document;var W=ml();Y.parseCST=W.parseCST;var Ce=qf();Y.YAMLError=Ce.YAMLError,Y.YAMLSyntaxError=Ce.YAMLSyntaxError,Y.YAMLSemanticError=Ce.YAMLSemanticError}}),ra=c({"node_modules/yaml-unist-parser/lib/parse.js"(Y){M(),Y.__esModule=!0;var g=Zu(),W=xf(),Ce=el(),ke=Sf(),Pe=Yn(),nt=nl(),Dt=Re(),Rt=hs(),ut=Bs(),vt=pi(),Tt=Ki(),Ot=Ka(),Lt=yl();function Gt(Wt){var Xt=Lt.parseCST(Wt);vt.addOrigRange(Xt);for(var Dn=Xt.map(function(jt){return new Lt.Document({merge:!1,keepCstNodes:!0}).parse(jt)}),ye=new g.default(Wt),Z=[],O={text:Wt,locator:ye,comments:Z,transformOffset:function(jt){return Rt.transformOffset(jt,O)},transformRange:function(jt){return ut.transformRange(jt,O)},transformNode:function(jt){return Pe.transformNode(jt,O)},transformContent:function(jt){return nt.transformContent(jt,O)}},H=0,ue=Dn;H<ue.length;H++)for(var Ne=ue[H],Be=0,Ee=Ne.errors;Be<Ee.length;Be++){var je=Ee[Be];if(!(je instanceof Lt.YAMLSemanticError&&je.message==='Map keys must be unique; "<<" is repeated'))throw Dt.transformError(je,O)}Dn.forEach(function(jt){return ke.removeCstBlankLine(jt.cstNode)});var xt=Ce.createRoot(O.transformRange({origStart:0,origEnd:O.text.length}),Dn.map(O.transformNode),Z);return W.attachComments(xt),Ot.updatePositions(xt),Tt.removeFakeNodes(xt),xt}Y.parse=Gt}}),Uf=c({"node_modules/yaml-unist-parser/lib/index.js"(Y){M(),Y.__esModule=!0;var g=(tr(),ne(Ve));g.__exportStar(ra(),Y)}});M();var Wf=de(),{hasPragma:wn}=ve(),{locStart:Dl,locEnd:Gf}=Fe();function Jf(Y){let{parse:g}=Uf();try{let W=g(Y);return delete W.comments,W}catch(W){throw W!=null&&W.position?Wf(W.message,W.position):W}}var bl={astFormat:"yaml",parse:Jf,hasPragma:wn,locStart:Dl,locEnd:Gf};s.exports={parsers:{yaml:bl}}});return r()})})(t0);var n0=t0.exports,eb=XD(n0),tb=Is({__proto__:null,default:eb},[n0]);function r0(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function ff(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function nb(e){return r0(e,"(?i)")?new RegExp(e.substring(4),"i"):new RegExp(e)}function Ra(e){return typeof e=="boolean"}var Ri;(function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.Deprecated=2]="Deprecated",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"})(Ri||(Ri={}));var i0;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[rs.Markdown,rs.PlainText],commitCharactersSupport:!0}}}}})(i0||(i0={}));function rb(e,t){return t.length===0?e:e.replace(/{(\d+)}/g,(n,[r])=>r in t?t[r]:n)}var ib=(e,t,...n)=>rb(t,n);function Hs(){return ib}var zs=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Bo=Hs();Bo("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),Bo("dateTimeFormatWarning","String is not a RFC3339 date-time."),Bo("dateFormatWarning","String is not a RFC3339 date."),Bo("timeFormatWarning","String is not a RFC3339 time."),Bo("emailFormatWarning","String is not an e-mail address.");var Qs=function(){function e(t,n,r){r===void 0&&(r=0),this.offset=n,this.length=r,this.parent=t}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}();(function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="null",i.value=null,i}return t})(Qs),function(e){zs(t,e);function t(n,r,i){var s=e.call(this,n,i)||this;return s.type="boolean",s.value=r,s}return t}(Qs),function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="array",i.items=[],i}return Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(Qs),function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="number",i.isInteger=!0,i.value=Number.NaN,i}return t}(Qs),function(e){zs(t,e);function t(n,r,i){var s=e.call(this,n,r,i)||this;return s.type="string",s.value="",s}return t}(Qs),function(e){zs(t,e);function t(n,r,i){var s=e.call(this,n,r)||this;return s.type="property",s.colonOffset=-1,s.keyNode=i,s}return Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(Qs),function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="object",i.properties=[],i}return Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(Qs);function sb(e){return Ra(e)?e?{}:{not:{}}:e}var s0;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(s0||(s0={})),function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(t){},e.prototype.merge=function(t){},e.prototype.include=function(t){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}();function Mu(e){return Ry(e)}function ab(e,t){if(typeof e!="string")throw new TypeError("Expected a string");for(var n=String(e),r="",i=t?!!t.extended:!1,s=t?!!t.globstar:!1,a=!1,o=t&&typeof t.flags=="string"?t.flags:"",u,l=0,b=n.length;l<b;l++)switch(u=n[l],u){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":r+="\\"+u;break;case"?":if(i){r+=".";break}case"[":case"]":if(i){r+=u;break}case"{":if(i){a=!0,r+="(";break}case"}":if(i){a=!1,r+=")";break}case",":if(a){r+="|";break}r+="\\"+u;break;case"*":for(var c=n[l-1],N=1;n[l+1]==="*";)N++,l++;var B=n[l+1];if(!s)r+=".*";else{var ne=N>1&&(c==="/"||c===void 0||c==="{"||c===",")&&(B==="/"||B===void 0||B===","||B==="}");ne?(B==="/"?l++:c==="/"&&r.endsWith("\\/")&&(r=r.substr(0,r.length-2)),r+="((?:[^/]*(?:/|$))*)"):r+="([^/]*)"}break;default:r+=u}return(!o||!~o.indexOf("g"))&&(r="^"+r+"$"),new RegExp(r,o)}var Ns=Hs(),ob="!",ub="/",lb=function(){function e(t,n){this.globWrappers=[];try{for(var r=0,i=t;r<i.length;r++){var s=i[r],a=s[0]!==ob;a||(s=s.substring(1)),s.length>0&&(s[0]===ub&&(s=s.substring(1)),this.globWrappers.push({regexp:ab("**/"+s,{extended:!0,globstar:!0}),include:a}))}this.uris=n}catch{this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(t){for(var n=!1,r=0,i=this.globWrappers;r<i.length;r++){var s=i[r],a=s.regexp,o=s.include;a.test(t)&&(n=o)}return n},e.prototype.getURIs=function(){return this.uris},e}(),cb=function(){function e(t,n,r){this.service=t,this.url=n,this.dependencies={},r&&(this.unresolvedSchema=this.service.promise.resolve(new $i(r)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var t=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then(function(n){return t.service.resolveSchemaContent(n,t.url,t.dependencies)})),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},e}(),$i=function(){function e(t,n){n===void 0&&(n=[]),this.schema=t,this.errors=n}return e}(),Mo=function(){function e(t,n){n===void 0&&(n=[]),this.schema=t,this.errors=n}return e.prototype.getSection=function(t){var n=this.getSectionRecursive(t,this.schema);if(n)return sb(n)},e.prototype.getSectionRecursive=function(t,n){if(!n||typeof n=="boolean"||t.length===0)return n;var r=t.shift();if(n.properties&&typeof n.properties[r])return this.getSectionRecursive(t,n.properties[r]);if(n.patternProperties)for(var i=0,s=Object.keys(n.patternProperties);i<s.length;i++){var a=s[i],o=nb(a);if(o.test(r))return this.getSectionRecursive(t,n.patternProperties[a])}else{if(typeof n.additionalProperties=="object")return this.getSectionRecursive(t,n.additionalProperties);if(r.match("[0-9]+")){if(Array.isArray(n.items)){var u=parseInt(r,10);if(!isNaN(u)&&n.items[u])return this.getSectionRecursive(t,n.items[u])}else if(n.items)return this.getSectionRecursive(t,n.items)}}},e}(),fb=function(){function e(t,n,r){this.contextService=n,this.requestService=t,this.promiseConstructor=r||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(t){return Object.keys(this.registeredSchemasIds).filter(function(n){var r=yi.parse(n).scheme;return r!=="schemaservice"&&(!t||t(r))})},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(t){var n=this;this.cachedSchemaForResource=void 0;var r=!1;t=Ts(t);for(var i=[t],s=Object.keys(this.schemasById).map(function(l){return n.schemasById[l]});i.length;)for(var a=i.pop(),o=0;o<s.length;o++){var u=s[o];u&&(u.url===a||u.dependencies[a])&&(u.url!==a&&i.push(u.url),u.clearSchema(),s[o]=void 0,r=!0)}return r},e.prototype.setSchemaContributions=function(t){if(t.schemas){var n=t.schemas;for(var r in n){var i=Ts(r);this.contributionSchemas[i]=this.addSchemaHandle(i,n[r])}}if(Array.isArray(t.schemaAssociations))for(var s=t.schemaAssociations,a=0,o=s;a<o.length;a++){var u=o[a],l=u.uris.map(Ts),b=this.addFilePatternAssociation(u.pattern,l);this.contributionAssociations.push(b)}},e.prototype.addSchemaHandle=function(t,n){var r=new cb(this,t,n);return this.schemasById[t]=r,r},e.prototype.getOrAddSchemaHandle=function(t,n){return this.schemasById[t]||this.addSchemaHandle(t,n)},e.prototype.addFilePatternAssociation=function(t,n){var r=new lb(t,n);return this.filePatternAssociations.push(r),r},e.prototype.registerExternalSchema=function(t,n,r){var i=Ts(t);return this.registeredSchemasIds[i]=!0,this.cachedSchemaForResource=void 0,n&&this.addFilePatternAssociation(n,[t]),r?this.addSchemaHandle(i,r):this.getOrAddSchemaHandle(i)},e.prototype.clearExternalSchemas=function(){this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0;for(var t in this.contributionSchemas)this.schemasById[t]=this.contributionSchemas[t],this.registeredSchemasIds[t]=!0;for(var n=0,r=this.contributionAssociations;n<r.length;n++){var i=r[n];this.filePatternAssociations.push(i)}},e.prototype.getResolvedSchema=function(t){var n=Ts(t),r=this.schemasById[n];return r?r.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(t){if(!this.requestService){var n=Ns("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Iu(t));return this.promise.resolve(new $i({},[n]))}return this.requestService(t).then(function(r){if(!r){var i=Ns("json.schema.nocontent","Unable to load schema from '{0}': No content.",Iu(t));return new $i({},[i])}var s={},a=[];s=jy(r,a);var o=a.length?[Ns("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Iu(t),a[0].offset)]:[];return new $i(s,o)},function(r){var i=r.toString(),s=r.toString().split("Error: ");return s.length>1&&(i=s[1]),ff(i,".")&&(i=i.substr(0,i.length-1)),new $i({},[Ns("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Iu(t),i)])})},e.prototype.resolveSchemaContent=function(t,n,r){var i=this,s=t.errors.slice(0),a=t.schema;if(a.$schema){var o=Ts(a.$schema);if(o==="http://json-schema.org/draft-03/schema")return this.promise.resolve(new Mo({},[Ns("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));o==="https://json-schema.org/draft/2019-09/schema"&&s.push(Ns("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var u=this.contextService,l=function(B,ne){if(!ne)return B;var Q=B;return ne[0]==="/"&&(ne=ne.substr(1)),ne.split("/").some(function(M){return M=M.replace(/~1/g,"/").replace(/~0/g,"~"),Q=Q[M],!Q}),Q},b=function(B,ne,Q,M){var de=M?decodeURIComponent(M):void 0,ve=l(ne,de);if(ve)for(var Fe in ve)ve.hasOwnProperty(Fe)&&!B.hasOwnProperty(Fe)&&(B[Fe]=ve[Fe]);else s.push(Ns("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",de,Q))},c=function(B,ne,Q,M,de){u&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(ne)&&(ne=u.resolveRelativePath(ne,M)),ne=Ts(ne);var ve=i.getOrAddSchemaHandle(ne);return ve.getUnresolvedSchema().then(function(Fe){if(de[ne]=!0,Fe.errors.length){var Ve=Q?ne+"#"+Q:ne;s.push(Ns("json.schema.problemloadingref","Problems loading reference '{0}': {1}",Ve,Fe.errors[0]))}return b(B,Fe.schema,ne,Q),N(B,Fe.schema,ne,ve.dependencies)})},N=function(B,ne,Q,M){if(!B||typeof B!="object")return Promise.resolve(null);for(var de=[B],ve=[],Fe=[],Ve=function(){for(var Oe=[],Ke=0;Ke<arguments.length;Ke++)Oe[Ke]=arguments[Ke];for(var Qe=0,xe=Oe;Qe<xe.length;Qe++){var Xe=xe[Qe];typeof Xe=="object"&&de.push(Xe)}},he=function(){for(var Oe=[],Ke=0;Ke<arguments.length;Ke++)Oe[Ke]=arguments[Ke];for(var Qe=0,xe=Oe;Qe<xe.length;Qe++){var Xe=xe[Qe];if(typeof Xe=="object")for(var tt in Xe){var kt=tt,$t=Xe[kt];typeof $t=="object"&&de.push($t)}}},we=function(){for(var Oe=[],Ke=0;Ke<arguments.length;Ke++)Oe[Ke]=arguments[Ke];for(var Qe=0,xe=Oe;Qe<xe.length;Qe++){var Xe=xe[Qe];if(Array.isArray(Xe))for(var tt=0,kt=Xe;tt<kt.length;tt++){var $t=kt[tt];typeof $t=="object"&&de.push($t)}}},Ye=function(Oe){for(var Ke=[];Oe.$ref;){var Qe=Oe.$ref,xe=Qe.split("#",2);if(delete Oe.$ref,xe[0].length>0){Fe.push(c(Oe,xe[0],xe[1],Q,M));return}else Ke.indexOf(Qe)===-1&&(b(Oe,ne,Q,xe[1]),Ke.push(Qe))}Ve(Oe.items,Oe.additionalItems,Oe.additionalProperties,Oe.not,Oe.contains,Oe.propertyNames,Oe.if,Oe.then,Oe.else),he(Oe.definitions,Oe.properties,Oe.patternProperties,Oe.dependencies),we(Oe.anyOf,Oe.allOf,Oe.oneOf,Oe.items)};de.length;){var ze=de.pop();ve.indexOf(ze)>=0||(ve.push(ze),Ye(ze))}return i.promise.all(Fe)};return N(a,a,n,r).then(function(B){return new Mo(a,s)})},e.prototype.getSchemaForResource=function(t,n){if(n&&n.root&&n.root.type==="object"){var r=n.root.properties.filter(function(de){return de.keyNode.value==="$schema"&&de.valueNode&&de.valueNode.type==="string"});if(r.length>0){var i=r[0].valueNode;if(i&&i.type==="string"){var s=Mu(i);if(s&&r0(s,".")&&this.contextService&&(s=this.contextService.resolveRelativePath(s,t)),s){var a=Ts(s);return this.getOrAddSchemaHandle(a).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===t)return this.cachedSchemaForResource.resolvedSchema;for(var o=Object.create(null),u=[],l=db(t),b=0,c=this.filePatternAssociations;b<c.length;b++){var N=c[b];if(N.matchesPattern(l))for(var B=0,ne=N.getURIs();B<ne.length;B++){var Q=ne[B];o[Q]||(u.push(Q),o[Q]=!0)}}var M=u.length>0?this.createCombinedSchema(t,u).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:t,resolvedSchema:M},M},e.prototype.createCombinedSchema=function(t,n){if(n.length===1)return this.getOrAddSchemaHandle(n[0]);var r="schemaservice://combinedSchema/"+encodeURIComponent(t),i={allOf:n.map(function(s){return{$ref:s}})};return this.addSchemaHandle(r,i)},e.prototype.getMatchingSchemas=function(t,n,r){if(r){var i=r.id||"schemaservice://untitled/matchingSchemas/"+pb++;return this.resolveSchemaContent(new $i(r),i,{}).then(function(s){return n.getMatchingSchemas(s.schema).filter(function(a){return!a.inverted})})}return this.getSchemaForResource(t.uri,n).then(function(s){return s?n.getMatchingSchemas(s.schema).filter(function(a){return!a.inverted}):[]})},e}(),pb=0;function Ts(e){try{return yi.parse(e).toString()}catch{return e}}function db(e){try{return yi.parse(e).with({fragment:null,query:null}).toString()}catch{return e}}function Iu(e){try{var t=yi.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}function hb(e){return e.replace(/[-\\{}+?|^$.,[\]()#\s]/g,"\\$&").replace(/[*]/g,".*")}function mb(e,t){if(e.length<t)return 0;for(let n=0;n<t;n++){const r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return t}function a0(e){try{return new RegExp(e,"u")}catch{return new RegExp(e)}}function gb(e,t){t++;for(let n=t;n<e.length;n++){const r=e.charAt(n);if(r===" "||r===" ")t++;else return t}return t}function Io(e,t){if(e===t)return!0;if(e==null||t===null||t===void 0||typeof e!=typeof t||typeof e!="object"||Array.isArray(e)!==Array.isArray(t))return!1;let n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!Io(e[n],t[n]))return!1}else{const i=[];for(r in e)i.push(r);i.sort();const s=[];for(r in t)s.push(r);if(s.sort(),!Io(i,s))return!1;for(n=0;n<i.length;n++)if(!Io(e[i[n]],t[i[n]]))return!1}return!0}function _i(e){return typeof e=="number"}function Xs(e){return typeof e<"u"}function $a(e){return typeof e=="boolean"}function Va(e){return typeof e=="string"}function yb(e){return Symbol.iterator in Object(e)}function os(e){var t;return e?e instanceof Error&&(t=e.stack)!=null?t:e.toString():"null"}function pf(e){const t=e.type&&e.closestTitle;return e.title?e.title:e.$id?o0(e.$id):e.$ref||e._$ref?o0(e.$ref||e._$ref):Array.isArray(e.type)?e.type.join(" | "):t?e.type.concat("(",e.closestTitle,")"):e.type||e.closestTitle}function o0(e){const t=e.match(/^(?:.*\/)?(.*?)(?:\.schema\.json)?$/);let n=!!t&&t[1];return n||(n="typeNotFound",console.error(`$ref (${e}) not parsed properly`)),n}function u0(e,t){const n=yi.parse(t);let r=Ys.basename(n.fsPath);return Ys.extname(n.fsPath)||(r+=".json"),Object.getOwnPropertyDescriptor(e,"name")?Object.getOwnPropertyDescriptor(e,"name").value+` (${r})`:e.title?e.description?e.title+" - "+e.description+` (${r})`:e.title+` (${r})`:r}function Db(e){return e.type!=="object"&&!df(e)}function df(e){return!!(e.anyOf||e.allOf||e.oneOf)}var bb=Hs(),vb=function(){function e(t,n){this.jsonSchemaService=t,this.promise=n,this.validationEnabled=!0}return e.prototype.configure=function(t){t&&(this.validationEnabled=t.validate!==!1,this.commentSeverity=t.allowComments?void 0:Hn.Error)},e.prototype.doValidation=function(t,n,r,i){var s=this;if(!this.validationEnabled)return this.promise.resolve([]);var a=[],o={},u=function(c){var N=c.range.start.line+" "+c.range.start.character+" "+c.message;o[N]||(o[N]=!0,a.push(c))},l=function(c){var N=r?.trailingCommas?Ou(r.trailingCommas):Hn.Error,B=r?.comments?Ou(r.comments):s.commentSeverity,ne=r?.schemaValidation?Ou(r.schemaValidation):Hn.Warning,Q=r?.schemaRequest?Ou(r.schemaRequest):Hn.Warning;if(c){if(c.errors.length&&n.root&&Q){var M=n.root,de=M.type==="object"?M.properties[0]:void 0;if(de&&de.keyNode.value==="$schema"){var ve=de.valueNode||de,Fe=In.create(t.positionAt(ve.offset),t.positionAt(ve.offset+ve.length));u(Di.create(Fe,c.errors[0],Q,Ri.SchemaResolveError))}else{var Fe=In.create(t.positionAt(M.offset),t.positionAt(M.offset+1));u(Di.create(Fe,c.errors[0],Q,Ri.SchemaResolveError))}}else if(ne){var Ve=n.validate(t,c.schema,ne);Ve&&Ve.forEach(u)}l0(c.schema)&&(B=void 0),c0(c.schema)&&(N=void 0)}for(var he=0,we=n.syntaxErrors;he<we.length;he++){var Ye=we[he];if(Ye.code===Ri.TrailingComma){if(typeof N!="number")continue;Ye.severity=N}u(Ye)}if(typeof B=="number"){var ze=bb("InvalidCommentToken","Comments are not permitted in JSON.");n.comments.forEach(function(Oe){u(Di.create(Oe,ze,B,Ri.CommentNotPermitted))})}return a};if(i){var b=i.id||"schemaservice://untitled/"+Eb++;return this.jsonSchemaService.resolveSchemaContent(new $i(i),b,{}).then(function(c){return l(c)})}return this.jsonSchemaService.getSchemaForResource(t.uri,n).then(function(c){return l(c)})},e}(),Eb=0;function l0(e){if(e&&typeof e=="object"){if(Ra(e.allowComments))return e.allowComments;if(e.allOf)for(var t=0,n=e.allOf;t<n.length;t++){var r=n[t],i=l0(r);if(Ra(i))return i}}}function c0(e){if(e&&typeof e=="object"){if(Ra(e.allowTrailingCommas))return e.allowTrailingCommas;var t=e;if(Ra(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(e.allOf)for(var n=0,r=e.allOf;n<r.length;n++){var i=r[n],s=c0(i);if(Ra(s))return s}}}function Ou(e){switch(e){case"error":return Hn.Error;case"warning":return Hn.Warning;case"ignore":return}}var f0=48,Ab=57,Cb=65,ju=97,xb=102;function Mr(e){return e<f0?0:e<=Ab?e-f0:(e<ju&&(e+=ju-Cb),e>=ju&&e<=xb?e-ju+10:0)}function Sb(e){if(e[0]==="#")switch(e.length){case 4:return{red:Mr(e.charCodeAt(1))*17/255,green:Mr(e.charCodeAt(2))*17/255,blue:Mr(e.charCodeAt(3))*17/255,alpha:1};case 5:return{red:Mr(e.charCodeAt(1))*17/255,green:Mr(e.charCodeAt(2))*17/255,blue:Mr(e.charCodeAt(3))*17/255,alpha:Mr(e.charCodeAt(4))*17/255};case 7:return{red:(Mr(e.charCodeAt(1))*16+Mr(e.charCodeAt(2)))/255,green:(Mr(e.charCodeAt(3))*16+Mr(e.charCodeAt(4)))/255,blue:(Mr(e.charCodeAt(5))*16+Mr(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(Mr(e.charCodeAt(1))*16+Mr(e.charCodeAt(2)))/255,green:(Mr(e.charCodeAt(3))*16+Mr(e.charCodeAt(4)))/255,blue:(Mr(e.charCodeAt(5))*16+Mr(e.charCodeAt(6)))/255,alpha:(Mr(e.charCodeAt(7))*16+Mr(e.charCodeAt(8)))/255}}}var wb=function(){function e(t){this.schemaService=t}return e.prototype.findDocumentSymbols=function(t,n,r){var i=this;r===void 0&&(r={resultLimit:Number.MAX_VALUE});var s=n.root;if(!s)return[];var a=r.resultLimit||Number.MAX_VALUE,o=t.uri;if((o==="vscode://defaultsettings/keybindings.json"||ff(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,b=s.items;l<b.length;l++){var c=b[l];if(c.type==="object")for(var N=0,B=c.properties;N<B.length;N++){var ne=B[N];if(ne.keyNode.value==="key"&&ne.valueNode){var Q=xa.create(t.uri,_s(t,c));if(u.push({name:Mu(ne.valueNode),kind:zi.Function,location:Q}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var M=[{node:s,containerName:""}],de=0,ve=!1,Fe=[],Ve=function(we,Ye){we.type==="array"?we.items.forEach(function(ze){ze&&M.push({node:ze,containerName:Ye})}):we.type==="object"&&we.properties.forEach(function(ze){var Oe=ze.valueNode;if(Oe)if(a>0){a--;var Ke=xa.create(t.uri,_s(t,ze)),Qe=Ye?Ye+"."+ze.keyNode.value:ze.keyNode.value;Fe.push({name:i.getKeyLabel(ze),kind:i.getSymbolKind(Oe.type),location:Ke,containerName:Ye}),M.push({node:Oe,containerName:Qe})}else ve=!0})};de<M.length;){var he=M[de++];Ve(he.node,he.containerName)}return ve&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),Fe},e.prototype.findDocumentSymbols2=function(t,n,r){var i=this;r===void 0&&(r={resultLimit:Number.MAX_VALUE});var s=n.root;if(!s)return[];var a=r.resultLimit||Number.MAX_VALUE,o=t.uri;if((o==="vscode://defaultsettings/keybindings.json"||ff(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,b=s.items;l<b.length;l++){var c=b[l];if(c.type==="object")for(var N=0,B=c.properties;N<B.length;N++){var ne=B[N];if(ne.keyNode.value==="key"&&ne.valueNode){var Q=_s(t,c),M=_s(t,ne.keyNode);if(u.push({name:Mu(ne.valueNode),kind:zi.Function,range:Q,selectionRange:M}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var de=[],ve=[{node:s,result:de}],Fe=0,Ve=!1,he=function(Ye,ze){Ye.type==="array"?Ye.items.forEach(function(Oe,Ke){if(Oe)if(a>0){a--;var Qe=_s(t,Oe),xe=Qe,Xe=String(Ke),tt={name:Xe,kind:i.getSymbolKind(Oe.type),range:Qe,selectionRange:xe,children:[]};ze.push(tt),ve.push({result:tt.children,node:Oe})}else Ve=!0}):Ye.type==="object"&&Ye.properties.forEach(function(Oe){var Ke=Oe.valueNode;if(Ke)if(a>0){a--;var Qe=_s(t,Oe),xe=_s(t,Oe.keyNode),Xe=[],tt={name:i.getKeyLabel(Oe),kind:i.getSymbolKind(Ke.type),range:Qe,selectionRange:xe,children:Xe,detail:i.getDetail(Ke)};ze.push(tt),ve.push({result:Xe,node:Ke})}else Ve=!0})};Fe<ve.length;){var we=ve[Fe++];he(we.node,we.result)}return Ve&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),de},e.prototype.getSymbolKind=function(t){switch(t){case"object":return zi.Module;case"string":return zi.String;case"number":return zi.Number;case"array":return zi.Array;case"boolean":return zi.Boolean;default:return zi.Variable}},e.prototype.getKeyLabel=function(t){var n=t.keyNode.value;return n&&(n=n.replace(/[\n]/g,"↵")),n&&n.trim()?n:'"'+n+'"'},e.prototype.getDetail=function(t){if(t){if(t.type==="boolean"||t.type==="number"||t.type==="null"||t.type==="string")return String(t.value);if(t.type==="array")return t.children.length?void 0:"[]";if(t.type==="object")return t.children.length?void 0:"{}"}},e.prototype.findDocumentColors=function(t,n,r){return this.schemaService.getSchemaForResource(t.uri,n).then(function(i){var s=[];if(i)for(var a=r&&typeof r.resultLimit=="number"?r.resultLimit:Number.MAX_VALUE,o=n.getMatchingSchemas(i.schema),u={},l=0,b=o;l<b.length;l++){var c=b[l];if(!c.inverted&&c.schema&&(c.schema.format==="color"||c.schema.format==="color-hex")&&c.node&&c.node.type==="string"){var N=String(c.node.offset);if(!u[N]){var B=Sb(Mu(c.node));if(B){var ne=_s(t,c.node);s.push({color:B,range:ne})}if(u[N]=!0,a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(t.uri),s}}}return s})},e.prototype.getColorPresentations=function(t,n,r,i){var s=[],a=Math.round(r.red*255),o=Math.round(r.green*255),u=Math.round(r.blue*255);function l(c){var N=c.toString(16);return N.length!==2?"0"+N:N}var b;return r.alpha===1?b="#"+l(a)+l(o)+l(u):b="#"+l(a)+l(o)+l(u)+l(Math.round(r.alpha*255)),s.push({label:b,textEdit:Nr.replace(i,JSON.stringify(b))}),s},e}();function _s(e,t){return In.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var On=Hs(),p0={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},Fb={id:On("schema.json.id","A unique identifier for the schema."),$schema:On("schema.json.$schema","The schema to verify this document against."),title:On("schema.json.title","A descriptive title of the element."),description:On("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:On("schema.json.default","A default value. Used by suggestions."),multipleOf:On("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:On("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:On("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:On("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:On("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:On("schema.json.maxLength","The maximum length of a string."),minLength:On("schema.json.minLength","The minimum length of a string."),pattern:On("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:On("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:On("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:On("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:On("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:On("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:On("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:On("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:On("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:On("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:On("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:On("schema.json.properties","A map of property names to schemas for each property."),patternProperties:On("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:On("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:On("schema.json.enum","The set of literal values that are valid."),type:On("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:On("schema.json.format","Describes the format expected for the value."),allOf:On("schema.json.allOf","An array of schemas, all of which must match."),anyOf:On("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:On("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:On("schema.json.not","A schema which must not match."),$id:On("schema.json.$id","A unique identifier for the schema."),$ref:On("schema.json.$ref","Reference a definition hosted on any location."),$comment:On("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:On("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:On("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:On("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:On("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:On("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:On("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:On("schema.json.contentEncoding","Describes the content encoding of a string property."),if:On("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:On("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:On("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(d0 in p0.schemas){Ru=p0.schemas[d0];for(qa in Ru.properties)$u=Ru.properties[qa],typeof $u=="boolean"&&($u=Ru.properties[qa]={}),hf=Fb[qa],hf?$u.description=hf:console.log(qa+": localize('schema.json."+qa+`', "")`)}var Ru,$u,hf,qa,d0;function Nb(e,t){var n=[];return t.visit(function(r){var i;if(r.type==="property"&&r.keyNode.value==="$ref"&&((i=r.valueNode)===null||i===void 0?void 0:i.type)==="string"){var s=r.valueNode.value,a=_b(t,s);if(a){var o=e.positionAt(a.offset);n.push({target:e.uri+"#"+(o.line+1)+","+(o.character+1),range:Tb(e,r.valueNode)})}}return!0}),Promise.resolve(n)}function Tb(e,t){return In.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}function _b(e,t){var n=Lb(t);return n?mf(n,e.root):null}function mf(e,t){if(!t)return null;if(e.length===0)return t;var n=e.shift();if(t&&t.type==="object"){var r=t.properties.find(function(a){return a.keyNode.value===n});return r?mf(e,r.valueNode):null}else if(t&&t.type==="array"&&n.match(/^(0|[1-9][0-9]*)$/)){var i=Number.parseInt(n),s=t.items[i];return s?mf(e,s):null}return null}function Lb(e){return e==="#"?[]:e[0]!=="#"||e[1]!=="/"?null:e.substring(2).split(/\//).map(kb)}function kb(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Vu(e,t){for(const n of t.documents)if(n.internalDocument&&n.internalDocument.range[0]<=e&&n.internalDocument.range[2]>=e)return n;return t.documents.length===1?t.documents[0]:null}function h0(e){const t=["mapping","scalar","sequence"];return e?e.filter(n=>{if(typeof n=="string"){const r=n.split(" "),i=r[1]&&r[1].toLowerCase()||"scalar";return i==="map"?!1:t.indexOf(i)!==-1}return!1}):[]}function m0(e,t){if(!t||!e||t.length!==e.length)return!1;for(let n=e.length-1;n>=0;n--)if(e[n]!==t[n])return!1;return!0}var nr=Hs(),gf="Property {0} is not allowed.",Pb={"color-hex":{errorMessage:nr("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:nr("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:nr("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:nr("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:nr("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},ipv4:{errorMessage:nr("ipv4FormatWarning","String does not match IPv4 format."),pattern:/^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}$/},ipv6:{errorMessage:nr("ipv6FormatWarning","String does not match IPv6 format."),pattern:/^([0-9a-f]|:){1,4}(:([0-9a-f]{0,4})*){1,7}$/i}},qu="YAML",g0="yaml-schema: ",ai;(function(e){e.missingRequiredPropWarning="missingRequiredPropWarning",e.typeMismatchWarning="typeMismatchWarning",e.constWarning="constWarning"})(ai||(ai={}));var Bb={[ai.missingRequiredPropWarning]:'Missing property "{0}".',[ai.typeMismatchWarning]:'Incorrect type. Expected "{0}".',[ai.constWarning]:"Value must be {0}."},Ks=class{constructor(e,t,n,r){this.offset=n,this.length=r,this.parent=e,this.internalNode=t}getNodeFromOffsetEndInclusive(e){const t=[],n=a=>{if(e>=a.offset&&e<=a.offset+a.length){const o=a.children;for(let u=0;u<o.length&&o[u].offset<=e;u++){const l=n(o[u]);l&&t.push(l)}return a}return null},r=n(this);let i=Number.MAX_VALUE,s=null;for(const a of t){const o=a.length+a.offset-e+(e-a.offset);o<i&&(s=a,i=o)}return s||r}get children(){return[]}toString(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")}},Mb=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="null",this.value=null}},Ib=class extends Ks{constructor(e,t,n,r,i){super(e,t,r,i),this.type="boolean",this.value=n}},Ob=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="array",this.items=[]}get children(){return this.items}},jb=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="number",this.isInteger=!0,this.value=Number.NaN}},Uu=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="string",this.value=""}},Rb=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="property",this.colonOffset=-1}get children(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]}},$b=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="object",this.properties=[]}get children(){return this.properties}};function oi(e){if(e!==void 0)return $a(e)?e?{}:{not:{}}:(typeof e!="object"&&(console.warn(`Wrong schema: ${JSON.stringify(e)}, it MUST be an Object or Boolean`),e={type:e}),e)}var y0;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(y0||(y0={}));var Vb=class yg{constructor(t=-1,n=null){this.focusOffset=t,this.exclude=n,this.schemas=[]}add(t){this.schemas.push(t)}merge(t){this.schemas.push(...t.schemas)}include(t){return(this.focusOffset===-1||D0(t,this.focusOffset))&&t!==this.exclude}newSub(){return new yg(-1,this.exclude)}},Oo=class{constructor(){}get schemas(){return[]}add(e){}merge(e){}include(e){return!0}newSub(){return this}};Oo.instance=new Oo;var fi=class{constructor(e){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,e?this.enumValues=[]:this.enumValues=null}hasProblems(){return!!this.problems.length}mergeAll(e){for(const t of e)this.merge(t)}merge(e){this.problems=this.problems.concat(e.problems)}mergeEnumValues(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(const t of this.problems)t.code===Ri.EnumValueMismatch&&(t.message=nr("enumWarning","Value is not accepted. Valid values: {0}.",[...new Set(this.enumValues)].map(n=>JSON.stringify(n)).join(", ")))}}mergeWarningGeneric(e,t){var n,r;if((n=this.problems)!=null&&n.length)for(const i of t){const s=this.problems.filter(a=>a.problemType===i);for(const a of s){const o=(r=e.problems)==null?void 0:r.find(u=>u.problemType===i&&a.location.offset===u.location.offset&&(i!==ai.missingRequiredPropWarning||m0(u.problemArgs,a.problemArgs)));o&&(o.problemArgs.length&&(o.problemArgs.filter(u=>!a.problemArgs.includes(u)).forEach(u=>a.problemArgs.push(u)),a.message=Wu(a.problemType,a.problemArgs)),this.mergeSources(o,a))}}}mergePropertyMatch(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&this.primaryValueMatches++}mergeSources(e,t){const n=e.source.replace(g0,"");t.source.includes(n)||(t.source=t.source+" | "+n),t.schemaUri.includes(e.schemaUri[0])||(t.schemaUri=t.schemaUri.concat(e.schemaUri))}compareGeneric(e){const t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesMatches-e.propertiesMatches}compareKubernetes(e){const t=this.hasProblems();return this.propertiesMatches!==e.propertiesMatches?this.propertiesMatches-e.propertiesMatches:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:t!==e.hasProblems()?t?-1:1:this.propertiesMatches-e.propertiesMatches}};function Ua(e){switch(e.type){case"array":return e.children.map(Ua);case"object":{const t=Object.create(null);for(let n=0,r=e.children;n<r.length;n++){const i=r[n],s=i.children[1];s&&(t[i.children[0].value]=Ua(s))}return t}case"null":case"string":case"number":case"boolean":return e.value;default:return}}function D0(e,t,n=!1){return t>=e.offset&&t<=e.offset+e.length||n&&t===e.offset+e.length}function b0(e,t,n){if(n===void 0&&(n=!1),D0(e,t,n)){const r=e.children;if(Array.isArray(r))for(let i=0;i<r.length&&r[i].offset<=t;i++){const s=b0(r[i],t,n);if(s)return s}return e}}var qb=class{constructor(e,t=[],n=[]){this.root=e,this.syntaxErrors=t,this.comments=n}getNodeFromOffset(e,t=!1){if(this.root)return b0(this.root,e,t)}getNodeFromOffsetEndInclusive(e){return this.root&&this.root.getNodeFromOffsetEndInclusive(e)}visit(e){if(this.root){const t=n=>{let r=e(n);const i=n.children;if(Array.isArray(i))for(let s=0;s<i.length&&r;s++)r=t(i[s]);return r};t(this.root)}}validate(e,t){if(this.root&&t){const n=new fi(this.isKubernetes);return zr(this.root,t,t,n,Oo.instance,{isKubernetes:this.isKubernetes,disableAdditionalProperties:this.disableAdditionalProperties,uri:this.uri}),n.problems.map(r=>{const i=In.create(e.positionAt(r.location.offset),e.positionAt(r.location.offset+r.location.length)),s=Di.create(i,r.message,r.severity,r.code?r.code:Ri.Undefined,r.source);return s.data={schemaUri:r.schemaUri,...r.data},s})}return null}getMatchingSchemas(e,t=-1,n=null,r){const i=new Vb(t,n);return this.root&&e&&zr(this.root,e,e,new fi(this.isKubernetes),i,{isKubernetes:this.isKubernetes,disableAdditionalProperties:this.disableAdditionalProperties,uri:this.uri,callFromAutoComplete:r}),i.schemas}};function zr(e,t,n,r,i,s){const{isKubernetes:a,callFromAutoComplete:o}=s;if(!e||typeof t!="object")return;switch(t.url||(t.url=n.url),t.closestTitle=t.title||n.closestTitle,e.type){case"object":N(e,t,r,i);break;case"array":c(e,t,r,i);break;case"string":b(e,t,r);break;case"number":l(e,t,r);break;case"property":return zr(e.valueNode,t,t,r,i,s)}u(),i.add({node:e,schema:t});function u(){function Q(he){return e.type===he||he==="integer"&&e.type==="number"&&e.isInteger}if(Array.isArray(t.type))t.type.some(Q)||r.problems.push({location:{offset:e.offset,length:e.length},severity:Hn.Warning,message:t.errorMessage||nr("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", ")),source:mr(t,n),schemaUri:gr(t,n)});else if(t.type&&!Q(t.type)){const he=t.type==="object"?pf(t):t.type;r.problems.push({location:{offset:e.offset,length:e.length},severity:Hn.Warning,message:t.errorMessage||Wu(ai.typeMismatchWarning,[he]),source:mr(t,n),schemaUri:gr(t,n),problemType:ai.typeMismatchWarning,problemArgs:[he]})}if(Array.isArray(t.allOf))for(const he of t.allOf)zr(e,oi(he),t,r,i,s);const M=oi(t.not);if(M){const he=new fi(a),we=i.newSub();zr(e,M,t,he,we,s),he.hasProblems()||r.problems.push({location:{offset:e.offset,length:e.length},severity:Hn.Warning,message:nr("notSchemaWarning","Matches a schema that is not allowed."),source:mr(t,n),schemaUri:gr(t,n)});for(const Ye of we.schemas)Ye.inverted=!Ye.inverted,i.add(Ye)}const de=(he,we)=>{var Ye;const ze=[],Oe=[],Ke=[];let Qe=null;for(const xe of he){const Xe={...oi(xe)},tt=new fi(a),kt=i.newSub();zr(e,Xe,t,tt,kt,s),(!tt.hasProblems()||o)&&(ze.push(Xe),Oe.push(Xe),tt.propertiesMatches===0&&Ke.push(Xe),Xe.format&&Oe.pop()),Qe?a?Qe=B(tt,Qe,Xe,kt):Qe=ne(e,we,tt,Qe,Xe,kt):Qe={schema:Xe,validationResult:tt,matchingSchemas:kt}}return Oe.length>1&&(Oe.length>1||Ke.length===0)&&we&&r.problems.push({location:{offset:e.offset,length:1},severity:Hn.Warning,message:nr("oneOfWarning","Matches multiple schemas when only one must validate."),source:mr(t,n),schemaUri:gr(t,n)}),Qe!==null&&(r.merge(Qe.validationResult),r.propertiesMatches+=Qe.validationResult.propertiesMatches,r.propertiesValueMatches+=Qe.validationResult.propertiesValueMatches,r.enumValueMatch=r.enumValueMatch||Qe.validationResult.enumValueMatch,(Ye=Qe.validationResult.enumValues)!=null&&Ye.length&&(r.enumValues=(r.enumValues||[]).concat(Qe.validationResult.enumValues)),i.merge(Qe.matchingSchemas)),ze.length};Array.isArray(t.anyOf)&&de(t.anyOf,!1),Array.isArray(t.oneOf)&&de(t.oneOf,!0);const ve=(he,we)=>{const Ye=new fi(a),ze=i.newSub();zr(e,oi(he),we,Ye,ze,s),r.merge(Ye),r.propertiesMatches+=Ye.propertiesMatches,r.propertiesValueMatches+=Ye.propertiesValueMatches,i.merge(ze)},Fe=(he,we,Ye,ze)=>{const Oe=oi(he),Ke=new fi(a),Qe=i.newSub();zr(e,Oe,we,Ke,Qe,s),i.merge(Qe);const{filePatternAssociation:xe}=Oe;xe&&(new cv(xe).matchesPattern(s.uri)||Ke.problems.push({location:{offset:e.offset,length:e.length},severity:Hn.Warning,message:nr("ifFilePatternAssociation",`filePatternAssociation '${xe}' does not match with doc uri '${s.uri}'.`),source:mr(t,we),schemaUri:gr(t,we)})),Ke.hasProblems()?ze&&ve(ze,we):Ye&&ve(Ye,we)},Ve=oi(t.if);if(Ve&&Fe(Ve,t,oi(t.then),oi(t.else)),Array.isArray(t.enum)){const he=Ua(e);let we=!1;for(const Ye of t.enum)if(Io(he,Ye)||o&&Va(he)&&Va(Ye)&&he&&Ye.startsWith(he)){we=!0;break}r.enumValues=t.enum,r.enumValueMatch=we,we||r.problems.push({location:{offset:e.offset,length:e.length},severity:Hn.Warning,code:Ri.EnumValueMismatch,message:t.errorMessage||nr("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map(Ye=>JSON.stringify(Ye)).join(", ")),source:mr(t,n),schemaUri:gr(t,n)})}if(Xs(t.const)){const he=Ua(e);!Io(he,t.const)&&!(o&&Va(he)&&Va(t.const)&&t.const.startsWith(he))?(r.problems.push({location:{offset:e.offset,length:e.length},severity:Hn.Warning,code:Ri.EnumValueMismatch,problemType:ai.constWarning,message:t.errorMessage||Wu(ai.constWarning,[JSON.stringify(t.const)]),source:mr(t,n),schemaUri:gr(t,n),problemArgs:[JSON.stringify(t.const)]}),r.enumValueMatch=!1):r.enumValueMatch=!0,r.enumValues=[t.const]}t.deprecationMessage&&e.parent&&r.problems.push({location:{offset:e.parent.offset,length:e.parent.length},severity:Hn.Warning,message:t.deprecationMessage,source:mr(t,n),schemaUri:gr(t,n)})}function l(Q,M,de){const ve=Q.value;_i(M.multipleOf)&&ve%M.multipleOf!==0&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("multipleOfWarning","Value is not divisible by {0}.",M.multipleOf),source:mr(M,n),schemaUri:gr(M,n)});function Fe(Oe,Ke){if(_i(Ke))return Ke;if($a(Ke)&&Ke)return Oe}function Ve(Oe,Ke){if(!$a(Ke)||!Ke)return Oe}const he=Fe(M.minimum,M.exclusiveMinimum);_i(he)&&ve<=he&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",he),source:mr(M,n),schemaUri:gr(M,n)});const we=Fe(M.maximum,M.exclusiveMaximum);_i(we)&&ve>=we&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",we),source:mr(M,n),schemaUri:gr(M,n)});const Ye=Ve(M.minimum,M.exclusiveMinimum);_i(Ye)&&ve<Ye&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("minimumWarning","Value is below the minimum of {0}.",Ye),source:mr(M,n),schemaUri:gr(M,n)});const ze=Ve(M.maximum,M.exclusiveMaximum);_i(ze)&&ve>ze&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("maximumWarning","Value is above the maximum of {0}.",ze),source:mr(M,n),schemaUri:gr(M,n)})}function b(Q,M,de){if(_i(M.minLength)&&Q.value.length<M.minLength&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("minLengthWarning","String is shorter than the minimum length of {0}.",M.minLength),source:mr(M,n),schemaUri:gr(M,n)}),_i(M.maxLength)&&Q.value.length>M.maxLength&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("maxLengthWarning","String is longer than the maximum length of {0}.",M.maxLength),source:mr(M,n),schemaUri:gr(M,n)}),Va(M.pattern)&&(a0(M.pattern).test(Q.value)||de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:M.patternErrorMessage||M.errorMessage||nr("patternWarning",'String does not match the pattern of "{0}".',M.pattern),source:mr(M,n),schemaUri:gr(M,n)})),M.format)switch(M.format){case"uri":case"uri-reference":{let ve;if(!Q.value)ve=nr("uriEmpty","URI expected.");else try{!yi.parse(Q.value).scheme&&M.format==="uri"&&(ve=nr("uriSchemeMissing","URI with a scheme is expected."))}catch(Fe){ve=Fe.message}ve&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:M.patternErrorMessage||M.errorMessage||nr("uriFormatWarning","String is not a URI: {0}",ve),source:mr(M,n),schemaUri:gr(M,n)})}break;case"color-hex":case"date-time":case"date":case"time":case"email":case"ipv4":case"ipv6":{const ve=Pb[M.format];(!Q.value||!ve.pattern.test(Q.value))&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:M.patternErrorMessage||M.errorMessage||ve.errorMessage,source:mr(M,n),schemaUri:gr(M,n)})}break}}function c(Q,M,de,ve){if(Array.isArray(M.items)){const Ve=M.items;for(let he=0;he<Ve.length;he++){const we=Ve[he],Ye=oi(we),ze=new fi(a),Oe=Q.items[he];Oe?(zr(Oe,Ye,M,ze,ve,s),de.mergePropertyMatch(ze),de.mergeEnumValues(ze)):Q.items.length>=Ve.length&&de.propertiesValueMatches++}if(Q.items.length>Ve.length)if(typeof M.additionalItems=="object")for(let he=Ve.length;he<Q.items.length;he++){const we=new fi(a);zr(Q.items[he],M.additionalItems,M,we,ve,s),de.mergePropertyMatch(we),de.mergeEnumValues(we)}else M.additionalItems===!1&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",Ve.length),source:mr(M,n),schemaUri:gr(M,n)})}else{const Ve=oi(M.items);if(Ve){const he=new fi(a);Q.items.forEach(we=>{if(Ve.oneOf&&Ve.oneOf.length===1){const Ye=Ve.oneOf[0],ze={...oi(Ye)};ze.title=M.title,ze.closestTitle=M.closestTitle,zr(we,ze,M,he,ve,s),de.mergePropertyMatch(he),de.mergeEnumValues(he)}else zr(we,Ve,M,he,ve,s),de.mergePropertyMatch(he),de.mergeEnumValues(he)})}}const Fe=oi(M.contains);if(Fe&&(Q.items.some(he=>{const we=new fi(a);return zr(he,Fe,M,we,Oo.instance,s),!we.hasProblems()})||de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:M.errorMessage||nr("requiredItemMissingWarning","Array does not contain required item."),source:mr(M,n),schemaUri:gr(M,n)})),_i(M.minItems)&&Q.items.length<M.minItems&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("minItemsWarning","Array has too few items. Expected {0} or more.",M.minItems),source:mr(M,n),schemaUri:gr(M,n)}),_i(M.maxItems)&&Q.items.length>M.maxItems&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("maxItemsWarning","Array has too many items. Expected {0} or fewer.",M.maxItems),source:mr(M,n),schemaUri:gr(M,n)}),M.uniqueItems===!0){const Ve=Ua(Q);Ve.some((we,Ye)=>Ye!==Ve.lastIndexOf(we))&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("uniqueItemsWarning","Array has duplicate items."),source:mr(M,n),schemaUri:gr(M,n)})}}function N(Q,M,de,ve){var Fe;const Ve=Object.create(null),he=[],we=[...Q.properties];for(;we.length>0;){const Oe=we.pop(),Ke=Oe.keyNode.value;if(Ke==="<<"&&Oe.valueNode)switch(Oe.valueNode.type){case"object":{we.push(...Oe.valueNode.properties);break}case"array":{Oe.valueNode.items.forEach(Qe=>{Qe&&yb(Qe.properties)&&we.push(...Qe.properties)});break}}else Ve[Ke]=Oe.valueNode,he.push(Ke)}if(Array.isArray(M.required)){for(const Oe of M.required)if(Ve[Oe]===void 0){const Ke=Q.parent&&Q.parent.type==="property"&&Q.parent.keyNode,Qe=Ke?{offset:Ke.offset,length:Ke.length}:{offset:Q.offset,length:1};de.problems.push({location:Qe,severity:Hn.Warning,message:Wu(ai.missingRequiredPropWarning,[Oe]),source:mr(M,n),schemaUri:gr(M,n),problemArgs:[Oe],problemType:ai.missingRequiredPropWarning})}}const Ye=Oe=>{let Ke=he.indexOf(Oe);for(;Ke>=0;)he.splice(Ke,1),Ke=he.indexOf(Oe)};if(M.properties)for(const Oe of Object.keys(M.properties)){Ye(Oe);const Ke=M.properties[Oe],Qe=Ve[Oe];if(Qe)if($a(Ke))if(Ke)de.propertiesMatches++,de.propertiesValueMatches++;else{const xe=Qe.parent;de.problems.push({location:{offset:xe.keyNode.offset,length:xe.keyNode.length},severity:Hn.Warning,message:M.errorMessage||nr("DisallowedExtraPropWarning",gf,Oe),source:mr(M,n),schemaUri:gr(M,n)})}else{Ke.url=(Fe=M.url)!=null?Fe:n.url;const xe=new fi(a);zr(Qe,Ke,M,xe,ve,s),de.mergePropertyMatch(xe),de.mergeEnumValues(xe)}}if(M.patternProperties)for(const Oe of Object.keys(M.patternProperties)){const Ke=a0(Oe);for(const Qe of he.slice(0))if(Ke.test(Qe)){Ye(Qe);const xe=Ve[Qe];if(xe){const Xe=M.patternProperties[Oe];if($a(Xe))if(Xe)de.propertiesMatches++,de.propertiesValueMatches++;else{const tt=xe.parent;de.problems.push({location:{offset:tt.keyNode.offset,length:tt.keyNode.length},severity:Hn.Warning,message:M.errorMessage||nr("DisallowedExtraPropWarning",gf,Qe),source:mr(M,n),schemaUri:gr(M,n)})}else{const tt=new fi(a);zr(xe,Xe,M,tt,ve,s),de.mergePropertyMatch(tt),de.mergeEnumValues(tt)}}}}if(typeof M.additionalProperties=="object")for(const Oe of he){const Ke=Ve[Oe];if(Ke){const Qe=new fi(a);zr(Ke,M.additionalProperties,M,Qe,ve,s),de.mergePropertyMatch(Qe),de.mergeEnumValues(Qe)}}else if((M.additionalProperties===!1||M.type==="object"&&M.additionalProperties===void 0&&s.disableAdditionalProperties===!0)&&he.length>0){const Oe=M.properties&&Object.keys(M.properties).filter(Ke=>!Ve[Ke]);for(const Ke of he){const Qe=Ve[Ke];if(Qe){let xe=null;Qe.type!=="property"?(xe=Qe.parent,xe.type==="object"&&(xe=xe.properties[0])):xe=Qe;const Xe={location:{offset:xe.keyNode.offset,length:xe.keyNode.length},severity:Hn.Warning,message:M.errorMessage||nr("DisallowedExtraPropWarning",gf,Ke),source:mr(M,n),schemaUri:gr(M,n)};Oe?.length&&(Xe.data={properties:Oe}),de.problems.push(Xe)}}}if(_i(M.maxProperties)&&Q.properties.length>M.maxProperties&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("MaxPropWarning","Object has more properties than limit of {0}.",M.maxProperties),source:mr(M,n),schemaUri:gr(M,n)}),_i(M.minProperties)&&Q.properties.length<M.minProperties&&de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("MinPropWarning","Object has fewer properties than the required number of {0}",M.minProperties),source:mr(M,n),schemaUri:gr(M,n)}),M.dependencies){for(const Oe of Object.keys(M.dependencies))if(Ve[Oe]){const Qe=M.dependencies[Oe];if(Array.isArray(Qe))for(const xe of Qe)Ve[xe]?de.propertiesValueMatches++:de.problems.push({location:{offset:Q.offset,length:Q.length},severity:Hn.Warning,message:nr("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",xe,Oe),source:mr(M,n),schemaUri:gr(M,n)});else{const xe=oi(Qe);if(xe){const Xe=new fi(a);zr(Q,xe,M,Xe,ve,s),de.mergePropertyMatch(Xe),de.mergeEnumValues(Xe)}}}}const ze=oi(M.propertyNames);if(ze)for(const Oe of Q.properties){const Ke=Oe.keyNode;Ke&&zr(Ke,ze,M,de,Oo.instance,s)}}function B(Q,M,de,ve){const Fe=Q.compareKubernetes(M.validationResult);return Fe>0?M={schema:de,validationResult:Q,matchingSchemas:ve}:Fe===0&&(M.matchingSchemas.merge(ve),M.validationResult.mergeEnumValues(Q)),M}function ne(Q,M,de,ve,Fe,Ve){if(!M&&!de.hasProblems()&&(!ve.validationResult.hasProblems()||o))ve.matchingSchemas.merge(Ve),ve.validationResult.propertiesMatches+=de.propertiesMatches,ve.validationResult.propertiesValueMatches+=de.propertiesValueMatches;else{const he=de.compareGeneric(ve.validationResult);he>0||he===0&&M&&ve.schema.type==="object"&&Q.type!=="null"&&Q.type!==ve.schema.type?ve={schema:Fe,validationResult:de,matchingSchemas:Ve}:he===0&&(ve.matchingSchemas.merge(Ve),ve.validationResult.mergeEnumValues(de),ve.validationResult.mergeWarningGeneric(de,[ai.missingRequiredPropWarning,ai.typeMismatchWarning,ai.constWarning]))}return ve}}function mr(e,t){var n;if(e){let r;if(e.title)r=e.title;else if(e.closestTitle)r=e.closestTitle;else if(t.closestTitle)r=t.closestTitle;else{const i=(n=e.url)!=null?n:t.url;if(i){const s=yi.parse(i);s.scheme==="file"&&(r=s.fsPath),r=s.toString()}}if(r)return`${g0}${r}`}return qu}function gr(e,t){var n;const r=(n=e.url)!=null?n:t.url;return r?[r]:[]}function Wu(e,t){return nr(e,Bb[e],t.join(" | "))}var Ub=1e3,yf=0,Df=new Set;function Wa(e,t,n,r){if(e||(yf=0),!t)return null;if(Pr(t))return Wb(t,e,n,r);if(dr(t))return Gb(t,e,n,r);if(Br(t))return Jb(t,e,n,r);if(qn(t))return Yb(t,e);if(Qi(t)&&!Df.has(t)&&yf<Ub){Df.add(t);const i=Hb(t,e,n,r);return Df.delete(t),i}else return}function Wb(e,t,n,r){let i;e.flow&&!e.range?i=zb(e):i=e.range;const s=new $b(t,e,...v0(i,r));for(const a of e.items)dr(a)&&s.properties.push(Wa(s,a,n,r));return s}function Gb(e,t,n,r){const i=e.key,s=e.value,a=i.range[0];let o=i.range[1],u=i.range[2];s&&(o=s.range[1],u=s.range[2]);const l=new Rb(t,e,...v0([a,o,u],r));if(Qi(i)){const b=new Uu(t,i,...Ls(i.range));b.value=i.source,l.keyNode=b}else l.keyNode=Wa(l,i,n,r);return l.valueNode=Wa(l,s,n,r),l}function Jb(e,t,n,r){const i=new Ob(t,e,...Ls(e.range));for(const s of e.items)if(hr(s)){const a=Wa(i,s,n,r);a&&i.children.push(a)}return i}function Yb(e,t){if(e.value===null)return new Mb(t,e,...Ls(e.range));switch(typeof e.value){case"string":{const n=new Uu(t,e,...Ls(e.range));return n.value=e.value,n}case"boolean":return new Ib(t,e,e.value,...Ls(e.range));case"number":{const n=new jb(t,e,...Ls(e.range));return n.value=e.value,n.isInteger=Number.isInteger(n.value),n}default:{const n=new Uu(t,e,...Ls(e.range));return n.value=e.source,n}}}function Hb(e,t,n,r){yf++;const i=e.resolve(n);if(i)return Wa(t,i,n,r);{const s=new Uu(t,e,...Ls(e.range));return s.value=e.source,s}}function Ls(e){return[e[0],e[1]-e[0]]}function v0(e,t){const n=t.linePos(e[0]),r=t.linePos(e[1]),i=[e[0],e[1]-e[0]];return n.line!==r.line&&(t.lineStarts.length!==r.line||r.col===1)&&i[1]--,i}function zb(e){let t=Number.MAX_SAFE_INTEGER,n=0;for(const r of e.items)dr(r)&&(hr(r.key)&&r.key.range&&r.key.range[0]<=t&&(t=r.key.range[0]),hr(r.value)&&r.value.range&&r.value.range[2]>=n&&(n=r.value.range[2]));return[t,n,n]}function Qb(e,t){let n;if(wr(e,(r,i,s)=>{if(i===t)return n=s[s.length-1],wr.BREAK}),!xo(n))return n}function Xb(e){if(e.items.length>1)return!1;const t=e.items[0];return qn(t.key)&&qn(t.value)&&t.key.value===""&&!t.value.value}function Kb(e,t){for(const[n,r]of e.items.entries())if(t===r)return n}function Zb(e,t){let n=!1;for(const r of e){if(r.type==="document")bf([],r,i=>{var s;if(E0(i)&&((s=i.value)==null?void 0:s.type)==="comment"){if(r.offset<=t&&i.value.source.length+i.value.offset>=t)return n=!0,wr.BREAK}else if(i.type==="comment"&&i.offset<=t&&i.offset+i.source.length>=t)return n=!0,wr.BREAK});else if(r.type==="comment"&&r.offset<=t&&r.source.length+r.offset>=t)return!0;if(n)break}return n}function E0(e){return e.start!==void 0}function bf(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(const s of["key","value"]){const a=t[s];if(a&&"items"in a){for(let o=0;o<a.items.length;++o){const u=bf(Object.freeze(e.concat([[s,o]])),a.items[o],n);if(typeof u=="number")o=u-1;else{if(u===wr.BREAK)return wr.BREAK;u===wr.REMOVE&&(a.items.splice(o,1),o-=1)}}typeof r=="function"&&s==="key"&&(r=r(t,e))}}const i=t.sep;if(i)for(let s=0;s<i.length;++s){const a=bf(Object.freeze(e),i[s],n);if(typeof a=="number")s=a-1;else{if(a===wr.BREAK)return wr.BREAK;a===wr.REMOVE&&(i.items.splice(s,1),s-=1)}}return typeof r=="function"?r(t,e):r}var A0=class Dg extends qb{constructor(t){super(null,[]),this.lineCounter=t}clone(){const t=new Dg(this.lineCounter);return t.isKubernetes=this.isKubernetes,t.disableAdditionalProperties=this.disableAdditionalProperties,t.uri=this.uri,t.currentDocIndex=this.currentDocIndex,t._lineComments=this.lineComments.slice(),t.internalDocument=this._internalDocument.clone(),t}collectLineComments(){this._lineComments=[],this._internalDocument.commentBefore&&this._internalDocument.commentBefore.split(`
415
- `).forEach(n=>this._lineComments.push(`#${n}`)),wr(this.internalDocument,(t,n)=>{n?.commentBefore&&(n?.commentBefore.split(`
416
- `)).forEach(i=>this._lineComments.push(`#${i}`)),n?.comment&&this._lineComments.push(`#${n.comment}`)}),this._internalDocument.comment&&this._lineComments.push(`#${this._internalDocument.comment}`)}updateFromInternalDocument(){this.root=Wa(null,this._internalDocument.contents,this._internalDocument,this.lineCounter)}set internalDocument(t){this._internalDocument=t,this.updateFromInternalDocument()}get internalDocument(){return this._internalDocument}get lineComments(){return this._lineComments||this.collectLineComments(),this._lineComments}set lineComments(t){this._lineComments=t}get errors(){return this.internalDocument.errors.map(x0)}get warnings(){return this.internalDocument.warnings.map(x0)}getNodeFromPosition(t,n,r){const i=n.getPosition(t),s=n.getLineContent(i.line);if(s.trim().length===0)return[this.findClosestNode(t,n,r),!0];const o=s.substring(i.character).match(/^([ ]+)\n?$/),u=!!o,l=o?.[1].length;let b;return wr(this.internalDocument,(c,N)=>{if(!N)return;const B=N.range;if(!B)return;const ne=()=>u&&t+l===B[2]&&qn(N)&&N.value===null;if(B[0]<=t&&B[1]>=t||ne())b=N;else return wr.SKIP}),[b,!1]}findClosestNode(t,n,r){let i=this.internalDocument.range[2],s=this.internalDocument.range[0],a;wr(this.internalDocument,(b,c)=>{if(!c)return;const N=c.range;if(!N)return;const B=N[1]-t;s<=N[0]&&B<=0&&Math.abs(B)<=i&&(i=Math.abs(B),s=N[0],a=c)});const o=n.getPosition(t),u=n.getLineContent(o.line),l=mb(u,o.character);return qn(a)&&a.value===null||l===o.character&&(a=this.getProperParentByIndentation(l,a,n,"",r)),a}getProperParentByIndentation(t,n,r,i,s,a){if(!n)return this.internalDocument.contents;if(s=s||2,hr(n)&&n.range){const o=r.getPosition(n.range[0]),u=r.getLineContent(o.line);if(i=i===""?u.trim():i,i.startsWith("-")&&t===s&&i===u.trim()&&(o.character+=t),o.character>t&&o.character>0){const l=this.getParent(n);if(l)return this.getProperParentByIndentation(t,l,r,i,s,a)}else if(o.character<t){const l=this.getParent(n);if(dr(l)&&hr(l.value))return l.value;if(dr(a)&&hr(a.value))return a.value}else return n}else if(dr(n)){a=n;const o=this.getParent(n);return this.getProperParentByIndentation(t,o,r,i,s,a)}return n}getParent(t){return Qb(this.internalDocument,t)}},C0=class{constructor(e,t){this.documents=e,this.tokens=t,this.errors=[],this.warnings=[]}},ev=class{constructor(){this.cache=new Map}getYamlDocument(e,t,n=!1){return this.ensureCache(e,t??Gu,n),this.cache.get(e.uri).document}clear(){this.cache.clear()}ensureCache(e,t,n){const r=e.uri;this.cache.has(r)||this.cache.set(r,{version:-1,document:new C0([],[]),parserOptions:Gu});const i=this.cache.get(r);if(i.version!==e.version||t.customTags&&!m0(i.parserOptions.customTags,t.customTags)){let s=e.getText();n&&!/\S/.test(s)&&(s=`{${s}}`);const a=iv(s,t,e);i.document=a,i.version=e.version,i.parserOptions=t}}},Vi=new ev;function x0(e){return{message:e.message,location:{start:e.pos[0],end:e.pos[1],toLineEnd:!0},severity:1,code:Ri.Undefined}}var tv=class{constructor(e,t){this.tag=e,this.type=t}get collection(){if(this.type==="mapping")return"map";if(this.type==="sequence")return"seq"}resolve(e){if(Pr(e)&&this.type==="mapping"||Br(e)&&this.type==="sequence"||typeof e=="string"&&this.type==="scalar")return e}},nv=class{constructor(){this.tag="!include",this.type="scalar"}resolve(e,t){if(e&&e.length>0&&e.trim())return e;t("!include without value")}};function rv(e){const t=[],n=h0(e);for(const r of n){const i=r.split(" "),s=i[0],a=i[1]&&i[1].toLowerCase()||"scalar";t.push(new tv(s,a))}return t.push(new nv),t}var Zs=class{constructor(e){this.doc=e}getLineCount(){return this.doc.lineCount}getLineLength(e){const t=this.doc.getLineOffsets();return e>=t.length?this.doc.getText().length:e<0?0:(e+1<t.length?t[e+1]:this.doc.getText().length)-t[e]}getLineContent(e){const t=this.doc.getLineOffsets();if(e>=t.length)return this.doc.getText();if(e<0)return"";const n=e+1<t.length?t[e+1]:this.doc.getText().length;return this.doc.getText().substring(t[e],n)}getLineCharCode(e,t){return this.doc.getText(In.create(e-1,t,e-1,t+1)).charCodeAt(0)}getText(e){return this.doc.getText(e)}getPosition(e){return this.doc.positionAt(e)}},Gu={customTags:[],yamlVersion:"1.2"};function iv(e,t=Gu,n){var r;const i={strict:!1,customTags:rv(t.customTags),version:(r=t.yamlVersion)!=null?r:Gu.yamlVersion,keepSourceTokens:!0},s=new $m(i),a=new Hm;let o=!1;if(n){const B=new Zs(n),ne=B.getPosition(e.length);o=B.getLineContent(ne.line).trim().length===0}const l=(o?new cf:new cf(a.addNewLine)).parse(e),b=Array.from(l),c=s.compose(b,!0,e.length),N=Array.from(c,B=>sv(B,a));return new C0(N,b)}function sv(e,t){const n=new A0(t);return n.internalDocument=e,n}function av(e){if(e instanceof A0){const t=e.lineComments.find(n=>vf(n));if(t!=null){const n=t.match(/\$schema=\S+/g);if(n!==null&&n.length>=1)return n.length>=2&&console.log("Several $schema attributes have been found on the yaml-language-server modeline. The first one will be picked."),n[0].substring(8)}}}function vf(e){const t=e.match(/^#\s+yaml-language-server\s*:/g);return t!==null&&t.length===1}var ov=class{compile(){return()=>!0}},Ju=Hs(),uv=new ov,lv=void 0,S0=uv.compile(lv),w0;(function(e){e[e.delete=0]="delete",e[e.add=1]="add",e[e.deleteAll=2]="deleteAll"})(w0||(w0={}));var cv=class{constructor(e){try{this.patternRegExp=new RegExp(hb(e)+"$")}catch{this.patternRegExp=null}this.schemas=[]}addSchema(e){this.schemas.push(e)}matchesPattern(e){return this.patternRegExp&&this.patternRegExp.test(e)}getSchemas(){return this.schemas}},fv=class extends fb{constructor(e,t,n){super(e,t,n),this.schemaUriToNameAndDescription=new Map,this.customSchemaProvider=void 0,this.requestService=e,this.schemaPriorityMapping=new Map}registerCustomSchemaProvider(e){this.customSchemaProvider=e}getAllSchemas(){const e=[],t=new Set;for(const n of this.filePatternAssociations){const r=n.uris[0];if(t.has(r))continue;t.add(r);const i={uri:r,fromStore:!1,usedForCurrentFile:!1};if(this.schemaUriToNameAndDescription.has(r)){const{name:s,description:a,versions:o}=this.schemaUriToNameAndDescription.get(r);i.name=s,i.description=a,i.fromStore=!0,i.versions=o}e.push(i)}return e}async resolveSchemaContent(e,t,n){const r=e.errors.slice(0);let i=e.schema;const s=this.contextService;if(!S0(i)){const b=[];for(const c of S0.errors)b.push(`${c.instancePath} : ${c.message}`);r.push(`Schema '${u0(e.schema,t)}' is not valid:
417
- ${b.join(`
418
- `)}`)}const a=(b,c)=>{if(!c)return b;let N=b;return c[0]==="/"&&(c=c.substr(1)),c.split("/").some(B=>(N=N[B],!N)),N},o=(b,c,N,B)=>{const ne=a(c,B);if(ne)for(const Q in ne)Object.prototype.hasOwnProperty.call(ne,Q)&&!Object.prototype.hasOwnProperty.call(b,Q)&&(b[Q]=ne[Q]);else r.push(Ju("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",B,N))},u=(b,c,N,B,ne)=>{s&&!/^\w+:\/\/.*/.test(c)&&(c=s.resolveRelativePath(c,B)),c=this.normalizeId(c);const Q=this.getOrAddSchemaHandle(c);return Q.getUnresolvedSchema().then(M=>{if(ne[c]=!0,M.errors.length){const de=N?c+"#"+N:c;r.push(Ju("json.schema.problemloadingref","Problems loading reference '{0}': {1}",de,M.errors[0]))}return o(b,M.schema,c,N),b.url=c,l(b,M.schema,c,Q.dependencies)})},l=async(b,c,N,B)=>{if(!b||typeof b!="object")return null;const ne=[b],Q=[],M=[],de=(...he)=>{for(const we of he)typeof we=="object"&&ne.push(we)},ve=(...he)=>{for(const we of he)if(typeof we=="object")for(const Ye in we){const ze=we[Ye];typeof ze=="object"&&ne.push(ze)}},Fe=(...he)=>{for(const we of he)if(Array.isArray(we))for(const Ye of we)typeof Ye=="object"&&ne.push(Ye)},Ve=he=>{const we=[];for(;he.$ref;){const Ye=he.$ref,ze=Ye.split("#",2);if(he._$ref=he.$ref,delete he.$ref,ze[0].length>0){M.push(u(he,ze[0],ze[1],N,B));return}else we.indexOf(Ye)===-1&&(o(he,c,N,ze[1]),we.push(Ye))}de(he.items,he.additionalItems,he.additionalProperties,he.not,he.contains,he.propertyNames,he.if,he.then,he.else),ve(he.definitions,he.properties,he.patternProperties,he.dependencies),Fe(he.anyOf,he.allOf,he.oneOf,he.items,he.schemaSequence)};if(N.indexOf("#")>0){const he=N.split("#",2);if(he[0].length>0&&he[1].length>0){const we={};await u(we,he[0],he[1],N,B);for(const Ye in i)Ye!=="required"&&Object.prototype.hasOwnProperty.call(i,Ye)&&!Object.prototype.hasOwnProperty.call(we,Ye)&&(we[Ye]=i[Ye]);i=we}}for(;ne.length;){const he=ne.pop();Q.indexOf(he)>=0||(Q.push(he),Ve(he))}return Promise.all(M)};return await l(i,i,t,n),new Mo(i,r)}getSchemaForResource(e,t){const n=()=>{let a=av(t);if(a!==void 0){if(!a.startsWith("file:")&&!a.startsWith("http")){let o="";if(a.indexOf("#")>0){const u=a.split("#",2);a=u[0],o=u[1]}if(Ys.isAbsolute(a))a=yi.file(a).toString();else{const u=yi.parse(e);a=yi.file(Ys.resolve(Ys.parse(u.fsPath).dir,a)).toString()}o.length>0&&(a+="#"+o)}return a}},r=a=>{const o=super.createCombinedSchema(e,a);return o.getResolvedSchema().then(u=>(u.schema&&typeof u.schema=="object"&&(u.schema.url=o.url),u.schema&&u.schema.schemaSequence&&u.schema.schemaSequence[t.currentDocIndex]?new Mo(u.schema.schemaSequence[t.currentDocIndex]):u))},i=()=>{const a=Object.create(null),o=[];for(const u of this.filePatternAssociations)if(u.matchesPattern(e))for(const l of u.getURIs())a[l]||(o.push(l),a[l]=!0);if(o.length>0){const u=this.highestPrioritySchemas(o);return r(u)}return Promise.resolve(null)},s=n();return s?r([s]):this.customSchemaProvider?this.customSchemaProvider(e).then(a=>Array.isArray(a)?a.length===0?i():Promise.all(a.map(o=>this.resolveCustomSchema(o,t))).then(o=>({errors:[],schema:{allOf:o.map(u=>u.schema)}}),()=>i()):a?this.resolveCustomSchema(a,t):i()).then(a=>a,()=>i()):i()}addSchemaPriority(e,t){let n=this.schemaPriorityMapping.get(e);n?(n=n.add(t),this.schemaPriorityMapping.set(e,n)):this.schemaPriorityMapping.set(e,new Set().add(t))}highestPrioritySchemas(e){let t=0;const n=new Map;return e.forEach(r=>{(this.schemaPriorityMapping.get(r)||[0]).forEach(s=>{s>t&&(t=s);let a=n.get(s);a?(a=a.concat(r),n.set(s,a)):n.set(s,[r])})}),n.get(t)||[]}async resolveCustomSchema(e,t){const n=await this.loadSchema(e),r=await this.resolveSchemaContent(n,e,[]);return r.schema&&typeof r.schema=="object"&&(r.schema.url=e),r.schema&&r.schema.schemaSequence&&r.schema.schemaSequence[t.currentDocIndex]?new Mo(r.schema.schemaSequence[t.currentDocIndex],r.errors):r}async saveSchema(e,t){const n=this.normalizeId(e);return this.getOrAddSchemaHandle(n,t),this.schemaPriorityMapping.set(n,new Set().add(Af.Settings)),Promise.resolve(void 0)}async deleteSchemas(e){return e.schemas.forEach(t=>{this.deleteSchema(t)}),Promise.resolve(void 0)}async deleteSchema(e){const t=this.normalizeId(e);return this.schemasById[t]&&delete this.schemasById[t],this.schemaPriorityMapping.delete(t),Promise.resolve(void 0)}async addContent(e){const t=await this.getResolvedSchema(e.schema);if(t){const n=this.resolveJSONSchemaToSection(t.schema,e.path);typeof n=="object"&&(n[e.key]=e.content),await this.saveSchema(e.schema,t.schema)}}async deleteContent(e){const t=await this.getResolvedSchema(e.schema);if(t){const n=this.resolveJSONSchemaToSection(t.schema,e.path);typeof n=="object"&&delete n[e.key],await this.saveSchema(e.schema,t.schema)}}resolveJSONSchemaToSection(e,t){const n=t.split("/");let r=e;for(const i of n)i!==""&&(this.resolveNext(r,i),r=r[i]);return r}resolveNext(e,t){if(Array.isArray(e)&&isNaN(t))throw new Error("Expected a number after the array object");if(typeof e=="object"&&typeof t!="string")throw new Error("Expected a string after the object")}normalizeId(e){try{return yi.parse(e).toString()}catch{return e}}getOrAddSchemaHandle(e,t){return super.getOrAddSchemaHandle(e,t)}loadSchema(e){const t=this.requestService;return super.loadSchema(e).then(n=>{if(n.errors&&n.schema===void 0)return t(e).then(r=>{if(!r){const i=Ju("json.schema.nocontent","Unable to load schema from '{0}': No content. {1}",F0(e),n.errors);return new $i({},[i])}try{const i=QD(r);return new $i(i,[])}catch(i){const s=Ju("json.schema.invalidFormat","Unable to parse content from '{0}': {1}.",F0(e),i);return new $i({},[s])}},r=>{let i=r.toString();const s=r.toString().split("Error: ");return s.length>1&&(i=s[1]),new $i({},[i])});if(n.uri=e,this.schemaUriToNameAndDescription.has(e)){const{name:r,description:i,versions:s}=this.schemaUriToNameAndDescription.get(e);n.schema.title=r??n.schema.title,n.schema.description=i??n.schema.description,n.schema.versions=s??n.schema.versions}return n})}registerExternalSchema(e,t,n,r,i,s){return(r||i)&&this.schemaUriToNameAndDescription.set(e,{name:r,description:i,versions:s}),super.registerExternalSchema(e,t,n)}clearExternalSchemas(){super.clearExternalSchemas()}setSchemaContributions(e){super.setSchemaContributions(e)}getRegisteredSchemaIds(e){return super.getRegisteredSchemaIds(e)}getResolvedSchema(e){return super.getResolvedSchema(e)}onResourceChange(e){return super.onResourceChange(e)}};function F0(e){try{const t=yi.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}var pv=class{constructor(e,t){this.telemetry=t,this.jsonDocumentSymbols=new wb(e),this.jsonDocumentSymbols.getKeyLabel=n=>{const r=n.keyNode.internalNode;let i="";return Pr(r)?i="{}":Br(r)?i="[]":i=r.source,i}}findDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){var n;let r=[];try{const i=Vi.getYamlDocument(e);if(!i||i.documents.length===0)return null;for(const s of i.documents)s.root&&(r=r.concat(this.jsonDocumentSymbols.findDocumentSymbols(e,s,t)))}catch(i){(n=this.telemetry)==null||n.sendError("yaml.documentSymbols.error",{error:os(i)})}return r}findHierarchicalDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){var n;let r=[];try{const i=Vi.getYamlDocument(e);if(!i||i.documents.length===0)return null;for(const s of i.documents)s.root&&(r=r.concat(this.jsonDocumentSymbols.findDocumentSymbols2(e,s,t)))}catch(i){(n=this.telemetry)==null||n.sendError("yaml.hierarchicalDocumentSymbols.error",{error:os(i)})}return r}};function N0(e,t){for(const n of e)n.isKubernetes=t}var dv=class{constructor(e,t){this.telemetry=t,this.shouldHover=!0,this.schemaService=e}configure(e){e&&(this.shouldHover=e.hover,this.indentation=e.indentation)}doHover(e,t,n=!1){var r;try{if(!this.shouldHover||!e)return Promise.resolve(void 0);const i=Vi.getYamlDocument(e),s=e.offsetAt(t),a=Vu(s,i);if(a===null)return Promise.resolve(void 0);N0(i.documents,n);const o=i.documents.indexOf(a);return a.currentDocIndex=o,this.getHover(e,t,a)}catch(i){(r=this.telemetry)==null||r.sendError("yaml.hover.error",{error:os(i)})}}getHover(e,t,n){const r=e.offsetAt(t);let i=n.getNodeFromOffset(r);if(!i||(i.type==="object"||i.type==="array")&&r>i.offset+1&&r<i.offset+i.length-1)return Promise.resolve(null);const s=i;if(i.type==="string"){const l=i.parent;if(l&&l.type==="property"&&l.keyNode===i&&(i=l.valueNode,!i))return Promise.resolve(null)}const a=In.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length)),o=l=>{if(this.indentation!==void 0){const N=new RegExp(` {${this.indentation.length}}`,"g");l=l.replace(N,"&emsp;")}return{contents:{kind:rs.Markdown,value:l},range:a}},u=l=>l.replace(/\|\|\s*$/,"");return this.schemaService.getSchemaForResource(e.uri,n).then(l=>{if(l&&i&&!l.errors.length){const b=n.getMatchingSchemas(l.schema,i.offset);let c,N,B,ne;const Q=[];b.every(de=>{if((de.node===i||i.type==="property"&&i.valueNode===de.node)&&!de.inverted&&de.schema){if(c=c||de.schema.title||de.schema.closestTitle,N=N||de.schema.markdownDescription||Yu(de.schema.description),de.schema.enum){const ve=de.schema.enum.indexOf(Ua(i));de.schema.markdownEnumDescriptions?B=de.schema.markdownEnumDescriptions[ve]:de.schema.enumDescriptions&&(B=Yu(de.schema.enumDescriptions[ve])),B&&(ne=de.schema.enum[ve],typeof ne!="string"&&(ne=JSON.stringify(ne)))}de.schema.anyOf&&gv(i,b,de.schema)&&(c="",N="",de.schema.anyOf.forEach((ve,Fe)=>{c+=ve.title||de.schema.closestTitle||"",N+=ve.markdownDescription||Yu(ve.description)||"",Fe!==de.schema.anyOf.length-1&&(c+=" || ",N+=" || ")}),c=u(c),N=u(N)),de.schema.examples&&de.schema.examples.forEach(ve=>{Q.push(JSON.stringify(ve,null,2))})}return!0});let M="";return c&&(M="#### "+Yu(c)),N&&(M.length>0&&(M+=`
419
-
420
- `),M+=N),B&&(M.length>0&&(M+=`
421
-
422
- `),M+=`\`${mv(ne)}\`: ${B}`),Q.length!==0&&(M.length>0&&(M+=`
423
-
424
- `),M+="Examples:",Q.forEach(de=>{M+=`
425
-
426
- \`\`\`${de}\`\`\``})),M.length>0&&l.schema.url&&(M+=`
427
-
428
- Source: [${hv(l.schema)}](${l.schema.url})`),o(M)}return null})}};function hv(e){let t="JSON Schema";const n=e.url;if(n){const r=yi.parse(n);t=Ys.basename(r.fsPath)}else e.title&&(t=e.title);return t}function Yu(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,`$1
429
-
430
- $3`).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function mv(e){return e.indexOf("`")!==-1?"`` "+e+" ``":e}function gv(e,t,n){let r=0;for(const i of t)e===i.node&&i.schema!==n&&n.anyOf.forEach(s=>{i.schema.title===s.title&&i.schema.description===s.description&&i.schema.properties===s.properties&&r++});return r===n.anyOf.length}var yv=class{validate(e,t){const n=[],r=new Set,i=new Set,s=new Map;wr(t.internalDocument,(a,o,u)=>{hr(o)&&((Lr(o)||qn(o))&&o.anchor&&(r.add(o),s.set(o,u[u.length-1])),Qi(o)&&i.add(o.resolve(t.internalDocument)))});for(const a of r)if(!i.has(a)){const o=this.getAnchorNode(s.get(a),a);if(o){const u=In.create(e.positionAt(o.offset),e.positionAt(o.offset+o.source.length)),l=Di.create(u,`Unused anchor "${o.source}"`,Hn.Hint,0);l.tags=[bc.Unnecessary],n.push(l)}}return n}getAnchorNode(e,t){if(e&&e.srcToken){const n=e.srcToken;if(E0(n))return T0(n);if(UD(n))for(const r of n.items){if(t.srcToken!==r.value)continue;const i=T0(r);if(i)return i}}}};function T0(e){for(const t of e.start)if(t.type==="anchor")return t;if(e.sep&&Array.isArray(e.sep)){for(const t of e.sep)if(t.type==="anchor")return t}}var Dv=class{constructor(e){this.forbidMapping=e.flowMapping==="forbid",this.forbidSequence=e.flowSequence==="forbid"}validate(e,t){const n=[];return wr(t.internalDocument,(r,i)=>{var s,a;this.forbidMapping&&Pr(i)&&((s=i.srcToken)==null?void 0:s.type)==="flow-collection"&&n.push(Di.create(this.getRangeOf(e,i.srcToken),"Flow style mapping is forbidden",Hn.Error,"flowMap")),this.forbidSequence&&Br(i)&&((a=i.srcToken)==null?void 0:a.type)==="flow-collection"&&n.push(Di.create(this.getRangeOf(e,i.srcToken),"Flow style sequence is forbidden",Hn.Error,"flowSeq"))}),n}getRangeOf(e,t){return In.create(e.positionAt(t.start.offset),e.positionAt(t.end.pop().offset))}},bv=class{validate(e,t){const n=[];return wr(t.internalDocument,(r,i)=>{if(Pr(i)){for(let s=1;s<i.items.length;s++)if(Ev(i.items[s-1],i.items[s])>0){const a=vv(e,i.items[s-1]);n.push(Di.create(a,`Wrong ordering of key "${i.items[s-1].key}" in mapping`,Hn.Error,"mapKeyOrder"))}}}),n}};function vv(e,t){var n,r,i,s,a,o,u,l,b,c,N;const B=(o=(i=(n=t?.srcToken.start[0])==null?void 0:n.offset)!=null?i:(r=t?.srcToken)==null?void 0:r.key.offset)!=null?o:(a=(s=t?.srcToken)==null?void 0:s.sep[0])==null?void 0:a.offset,ne=((u=t?.srcToken)==null?void 0:u.value.offset)||((b=(l=t?.srcToken)==null?void 0:l.sep[0])==null?void 0:b.offset)||((c=t?.srcToken)==null?void 0:c.key.offset)||((N=t?.srcToken.start[t.srcToken.start.length-1])==null?void 0:N.offset);return In.create(e.positionAt(B),e.positionAt(ne))}function Ev(e,t){const n=String(t.key);return String(e.key).localeCompare(n)}var Av=(e,t)=>{const n=t.positionAt(e.location.start),r={start:n,end:e.location.toLineEnd?Hr.create(n.line,new Zs(t).getLineLength(n.line)):t.positionAt(e.location.end)};return Di.create(r,e.message,e.severity,e.code,qu)},Cv=class{constructor(e,t){this.telemetry=t,this.validators=[],this.MATCHES_MULTIPLE="Matches multiple schemas when only one must validate.",this.validationEnabled=!0,this.jsonValidation=new vb(e,Promise)}configure(e){this.validators=[],e&&(this.validationEnabled=e.validate,this.customTags=e.customTags,this.disableAdditionalProperties=e.disableAdditionalProperties,this.yamlVersion=e.yamlVersion,(e.flowMapping==="forbid"||e.flowSequence==="forbid")&&this.validators.push(new Dv(e)),e.keyOrdering&&this.validators.push(new bv)),this.validators.push(new yv)}async doValidation(e,t=!1){var n;if(!this.validationEnabled)return Promise.resolve([]);const r=[];try{const o=Vi.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0);let u=0;for(const l of o.documents){l.isKubernetes=t,l.currentDocIndex=u,l.disableAdditionalProperties=this.disableAdditionalProperties,l.uri=e.uri;const b=await this.jsonValidation.doValidation(e,l),c=l;c.errors.length>0&&r.push(...c.errors),c.warnings.length>0&&r.push(...c.warnings),r.push(...b),r.push(...this.runAdditionalValidators(e,l)),u++}}catch(o){(n=this.telemetry)==null||n.sendError("yaml.validation.error",{error:os(o)})}let i;const s=new Set,a=[];for(let o of r){if(t&&o.message===this.MATCHES_MULTIPLE)continue;if(Object.prototype.hasOwnProperty.call(o,"location")&&(o=Av(o,e)),o.source||(o.source=qu),i&&i.message===o.message&&i.range.end.line===o.range.start.line&&Math.abs(i.range.end.character-o.range.end.character)>=1){i.range.end=o.range.end;continue}else i=o;const u=o.range.start.line+" "+o.range.start.character+" "+o.message;s.has(u)||(a.push(o),s.add(u))}return a}runAdditionalValidators(e,t){const n=[];for(const r of this.validators)n.push(...r.validate(e,t));return n}},xv=class{constructor(){this.formatterEnabled=!0}configure(e){e&&(this.formatterEnabled=e.format)}format(e,t){if(!this.formatterEnabled)return[];try{const n=e.getText(),r={parser:"yaml",plugins:[tb],tabWidth:t.tabWidth||t.tabSize,singleQuote:t.singleQuote,bracketSpacing:t.bracketSpacing,proseWrap:t.proseWrap==="always"?"always":t.proseWrap==="never"?"never":"preserve",printWidth:t.printWidth},i=ZD.format(n,r);return[Nr.replace(In.create(Hr.create(0,0),e.positionAt(n.length)),i)]}catch{return[]}}},Sv=class{constructor(e){this.telemetry=e}findLinks(e){var t;try{const n=Vi.getYamlDocument(e),r=[];for(const i of n.documents)r.push(Nb(e,i));return Promise.all(r).then(i=>[].concat(...i))}catch(n){(t=this.telemetry)==null||t.sendError("yaml.documentLink.error",{error:os(n)})}}};function wv(e,t){if(!e)return;const n=[],r=Vi.getYamlDocument(e);for(const s of r.documents)r.documents.length>1&&n.push(Hu(e,s.root)),s.visit(a=>{var o;if(a.type==="object"&&((o=a.parent)==null?void 0:o.type)==="array"&&n.push(Hu(e,a)),a.type==="property"&&a.valueNode)switch(a.valueNode.type){case"array":case"object":n.push(Hu(e,a));break;case"string":{const u=e.positionAt(a.offset),l=e.positionAt(a.valueNode.offset+a.valueNode.length);u.line!==l.line&&n.push(Hu(e,a));break}default:return!0}return!0});const i=t&&t.rangeLimit;return typeof i!="number"||n.length<=i?n:(t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri),n.slice(0,t.rangeLimit))}function Hu(e,t){const n=e.positionAt(t.offset);let r=e.positionAt(t.offset+t.length);const i=e.getText(In.create(n,r)),s=i.length-i.trimRight().length;return s>0&&(r=e.positionAt(t.offset+t.length-s)),yc.create(n.line,r.line,n.character,r.character)}var zu;(function(e){e.JUMP_TO_SCHEMA="jumpToSchema"})(zu||(zu={}));var Fv=class{constructor(e){this.indentation=e}write(e){if(e.internalNode.srcToken.type!=="flow-collection")return null;const t=e.internalNode.srcToken,n=t.start.type==="flow-map-start"?"block-map":"block-seq",r=e.parent.type,i={type:n,offset:t.offset,indent:t.indent,items:[]};for(const s of t.items)Gs(s,({key:a,sep:o,value:u})=>{if(n==="block-map"){const l=[{type:"space",indent:0,offset:a.offset,source:this.indentation}];r==="property"&&l.unshift({type:"newline",indent:0,offset:a.offset,source:`
431
- `}),i.items.push({start:l,key:a,sep:o,value:u})}else n==="block-seq"&&i.items.push({start:[{type:"newline",indent:0,offset:u.offset,source:`
432
- `},{type:"space",indent:0,offset:u.offset,source:this.indentation},{type:"seq-item-ind",indent:0,offset:u.offset,source:"-"},{type:"space",indent:0,offset:u.offset,source:" "}],value:u});if(u.type==="flow-collection")return wr.SKIP});return Vm(i)}},Nv=structuredClone,Tv=class{constructor(e){this.clientCapabilities=e,this.indentation=" "}configure(e){this.indentation=e.indentation}getCodeAction(e,t){if(!t.context.diagnostics)return;const n=[];return n.push(...this.getConvertToBooleanActions(t.context.diagnostics,e)),n.push(...this.getJumpToSchemaActions(t.context.diagnostics)),n.push(...this.getTabToSpaceConverting(t.context.diagnostics,e)),n.push(...this.getUnusedAnchorsDelete(t.context.diagnostics,e)),n.push(...this.getConvertToBlockStyleActions(t.context.diagnostics,e)),n.push(...this.getKeyOrderActions(t.context.diagnostics,e)),n}getJumpToSchemaActions(e){var t,n,r,i,s;if(!((i=(r=(n=(t=this.clientCapabilities)==null?void 0:t.window)==null?void 0:n.showDocument)==null?void 0:r.support)!=null?i:!1))return[];const o=new Map;for(const l of e){const b=((s=l.data)==null?void 0:s.schemaUri)||[];for(const c of b)c&&(o.has(c)||o.set(c,[]),o.get(c).push(l))}const u=[];for(const l of o.keys()){const b=is.create(`Jump to schema location (${Ys.basename(l)})`,$s.create("JumpToSchema",zu.JUMP_TO_SCHEMA,l));b.diagnostics=o.get(l),u.push(b)}return u}getTabToSpaceConverting(e,t){const n=[],r=new Zs(t),i=[];for(const s of e)if(s.message==="Using tabs can lead to unpredictable results"){if(i.includes(s.range.start.line))continue;const a=r.getLineContent(s.range.start.line);let o=0,u="";for(let b=s.range.start.character;b<=s.range.end.character&&a.charAt(b)===" ";b++)o++,u+=this.indentation;i.push(s.range.start.line);let l=s.range;o!==s.range.end.character-s.range.start.character&&(l=In.create(s.range.start,Hr.create(s.range.end.line,s.range.start.character+o))),n.push(is.create("Convert Tab to Spaces",Ga(t.uri,[Nr.replace(l,u)]),ws.QuickFix))}if(n.length!==0){const s=[];for(let a=0;a<=r.getLineCount();a++){const o=r.getLineContent(a);let u=0,l="";for(let b=0;b<o.length;b++){const c=o.charAt(b);if(c!==" "&&c!==" "){u!==0&&(s.push(Nr.replace(In.create(a,b-u,a,b),l)),u=0,l="");break}if(c===" "&&u!==0){s.push(Nr.replace(In.create(a,b-u,a,b),l)),u=0,l="";continue}c===" "&&(l+=this.indentation,u++)}u!==0&&s.push(Nr.replace(In.create(a,0,a,r.getLineLength(a)),l))}s.length>0&&n.push(is.create("Convert all Tabs to Spaces",Ga(t.uri,s),ws.QuickFix))}return n}getUnusedAnchorsDelete(e,t){const n=[],r=new Zs(t);for(const i of e)if(i.message.startsWith("Unused anchor")&&i.source===qu){const s=In.create(i.range.start,i.range.end),a=r.getText(s),o=r.getLineContent(s.end.line),u=gb(o,s.end.character);s.end.character=u;const l=is.create(`Delete unused anchor: ${a}`,Ga(t.uri,[Nr.del(s)]),ws.QuickFix);l.diagnostics=[i],n.push(l)}return n}getConvertToBooleanActions(e,t){const n=[];for(const r of e)if(r.message==='Incorrect type. Expected "boolean".'){const i=t.getText(r.range).toLocaleLowerCase();if(i==='"true"'||i==='"false"'||i==="'true'"||i==="'false'"){const s=i.includes("true")?"true":"false";n.push(is.create("Convert to boolean",Ga(t.uri,[Nr.replace(r.range,s)]),ws.QuickFix))}}return n}getConvertToBlockStyleActions(e,t){const n=[];for(const r of e)if(r.code==="flowMap"||r.code==="flowSeq"){const i=_0(t,r);if(Pr(i.internalNode)||Br(i.internalNode)){const s=Pr(i.internalNode)?"map":"sequence",a=new Fv(this.indentation);n.push(is.create(`Convert to block style ${s}`,Ga(t.uri,[Nr.replace(r.range,a.write(i))]),ws.QuickFix))}}return n}getKeyOrderActions(e,t){var n,r,i,s,a,o,u,l,b,c,N,B,ne,Q;const M=[];for(const de of e)if(de?.code==="mapKeyOrder"){let ve=_0(t,de);for(;ve&&ve.type!=="object";)ve=ve.parent;if(ve&&Pr(ve.internalNode)){const Fe=Nv(ve.internalNode);if((Fe.srcToken.type==="block-map"||Fe.srcToken.type==="flow-collection")&&(ve.internalNode.srcToken.type==="block-map"||ve.internalNode.srcToken.type==="flow-collection")){Fe.srcToken.items.sort((he,we)=>{if(he.key&&we.key&&uf(he.key)&&uf(we.key))return he.key.source.localeCompare(we.key.source);if(!he.key&&we.key)return-1;if(he.key&&!we.key)return 1;if(!he.key&&!we.key)return 0});for(let he=0;he<Fe.srcToken.items.length;he++){const we=Fe.srcToken.items[he],Ye=ve.internalNode.srcToken.items[he];if(we.start=Ye.start,((n=we.value)==null?void 0:n.type)==="alias"||((r=we.value)==null?void 0:r.type)==="scalar"||((i=we.value)==null?void 0:i.type)==="single-quoted-scalar"||((s=we.value)==null?void 0:s.type)==="double-quoted-scalar"){const ze=(u=(o=(a=we.value)==null?void 0:a.end)==null?void 0:o.findIndex(Ke=>Ke.type==="newline"))!=null?u:-1;let Oe=null;((l=Ye.value)==null?void 0:l.type)==="block-scalar"?Oe=(c=(b=Ye.value)==null?void 0:b.props)==null?void 0:c.find(Ke=>Ke.type==="newline"):uf(Ye.value)&&(Oe=(B=(N=Ye.value)==null?void 0:N.end)==null?void 0:B.find(Ke=>Ke.type==="newline")),Oe&&ze<0&&(we.value.end=(ne=we.value.end)!=null?ne:[],we.value.end.push(Oe)),!Oe&&ze>-1&&we.value.end.splice(ze,1)}else((Q=we.value)==null?void 0:Q.type)==="block-scalar"&&(we.value.props.find(Oe=>Oe.type==="newline")||we.value.props.push({type:"newline",indent:0,offset:we.value.offset,source:`
433
- `}))}}const Ve=In.create(t.positionAt(ve.offset),t.positionAt(ve.offset+ve.length));M.push(is.create("Fix key order for this map",Ga(t.uri,[Nr.replace(Ve,Vm(Fe.srcToken))]),ws.QuickFix))}}return M}};function _0(e,t){const n=Vi.getYamlDocument(e),r=e.offsetAt(t.range.start);return Vu(r,n).getNodeFromOffset(r)}function Ga(e,t){const n={};return n[e]=t,{changes:n}}function _v(e,t){const{position:n}=t,r=new Zs(e);if(t.ch===`
434
- `){const i=r.getLineContent(n.line-1);if(i.trimRight().endsWith(":")){const s=r.getLineContent(n.line),a=s.substring(n.character,s.length),o=i.indexOf(" - ")!==-1;if(a.trimRight().length===0){const u=n.character-(i.length-i.trimLeft().length);if(u===t.options.tabSize&&!o)return;const l=[];return s.length>0&&l.push(Nr.del(In.create(n,Hr.create(n.line,s.length-1)))),l.push(Nr.insert(n," ".repeat(t.options.tabSize+(o?2-u:0)))),l}if(o)return[Nr.insert(n," ".repeat(t.options.tabSize))]}if(i.trimRight().endsWith("|"))return[Nr.insert(n," ".repeat(t.options.tabSize))];if(i.includes(" - ")&&!i.includes(": "))return[Nr.insert(n,"- ")];if(i.includes(" - ")&&i.includes(": "))return[Nr.insert(n," ")]}}function Lv(e){const t=new Map;return e&&(e.url?e.url.startsWith("schemaservice://combinedSchema/")?L0(e,t):t.set(e.url,e):L0(e,t)),t}function L0(e,t){e.allOf&&Ef(e.allOf,t),e.anyOf&&Ef(e.anyOf,t),e.oneOf&&Ef(e.oneOf,t)}function Ef(e,t){for(const n of e)!$a(n)&&n.url&&!t.has(n.url)&&t.set(n.url,n)}var kv=class{constructor(e,t){this.schemaService=e,this.telemetry=t}async getCodeLens(e){var t;const n=[];try{const r=Vi.getYamlDocument(e);let i=new Map;for(const s of r.documents){const a=await this.schemaService.getSchemaForResource(e.uri,s);a?.schema&&(i=new Map([...Lv(a?.schema),...i]))}for(const s of i){const a=_c.create(In.create(0,0,0,0));a.command={title:u0(s[1],s[0]),command:zu.JUMP_TO_SCHEMA,arguments:[s[0]]},n.push(a)}}catch(r){(t=this.telemetry)==null||t.sendError("yaml.codeLens.error",{error:os(r)})}return n}resolveCodeLens(e){return e}},Pv=class{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}};function Bv(e,t,n,r,i){i.spacesDiff=0,i.looksLikeAlignment=!1;let s;for(s=0;s<t&&s<r;s++){const N=e.charCodeAt(s),B=n.charCodeAt(s);if(N!==B)break}let a=0,o=0;for(let N=s;N<t;N++)e.charCodeAt(N)===32?a++:o++;let u=0,l=0;for(let N=s;N<r;N++)n.charCodeAt(N)===32?u++:l++;if(a>0&&o>0||u>0&&l>0)return;const b=Math.abs(o-l),c=Math.abs(a-u);if(b===0){i.spacesDiff=c,c>0&&0<=u-1&&u-1<e.length&&u<n.length&&n.charCodeAt(u)!==32&&e.charCodeAt(u-1)===32&&e.charCodeAt(e.length-1)===44&&(i.looksLikeAlignment=!0);return}c%b===0&&(i.spacesDiff=c/b)}function Mv(e,t,n){const r=Math.min(e.getLineCount(),1e4);let i=0,s=0,a="",o=0;const u=[2,4,6,8,3,5,7],l=8,b=[0,0,0,0,0,0,0,0,0],c=new Pv;for(let ne=1;ne<=r;ne++){const Q=e.getLineLength(ne),M=e.getLineContent(ne),de=Q<=65536;let ve=!1,Fe=0,Ve=0,he=0;for(let Ye=0,ze=Q;Ye<ze;Ye++){const Oe=de?M.charCodeAt(Ye):e.getLineCharCode(ne,Ye);if(Oe===9)he++;else if(Oe===32)Ve++;else{ve=!0,Fe=Ye;break}}if(!ve||(he>0?i++:Ve>1&&s++,Bv(a,o,M,Fe,c),c.looksLikeAlignment&&!(n&&t===c.spacesDiff)))continue;const we=c.spacesDiff;we<=l&&b[we]++,a=M,o=Fe}let N=n;i!==s&&(N=i<s);let B=t;if(N){let ne=N?0:.1*r;u.forEach(Q=>{const M=b[Q];M>ne&&(ne=M,B=Q)}),B===4&&b[4]>0&&b[2]>0&&b[2]>=b[4]/2&&(B=2)}return{insertSpaces:N,tabSize:B}}function Qu(e,t,n,r,i=0,s=0){if(e!==null&&typeof e=="object"){const a=i===0&&r.shouldIndentWithTab||i>0?t+r.indentation:"";if(Array.isArray(e)){if(s+=1,e.length===0)return"";let o="";for(let u=0;u<e.length;u++){let l=e[u];if(typeof e[u]!="object"){o+=`
435
- `+a+"- "+n(e[u]);continue}Array.isArray(e[u])||(l=Iv(e[u],s)),o+=Qu(l,t,n,r,i+=1,s)}return o}else{const o=Object.keys(e);if(o.length===0)return"";let u=i===0&&r.newLineFirst||i>0?`
436
- `:"",l=!0;for(let b=0;b<o.length;b++){const c=o[b];if(i===0&&r.existingProps.includes(c))continue;const N=typeof e[c]=="object",B=N?":":": ",ne=N&&/^\s|-/.test(c)?r.indentation:"",Q=a+ne,M=l?"":`
437
- `;if(i===0&&l&&!r.indentFirstObject){const de=Qu(e[c],Q,n,r,i+1,0);u+=M+t+c+B+de}else{const de=Qu(e[c],Q,n,r,i+1,0);u+=M+a+c+B+de}l=!1}return u}}return n(e)}function Iv(e,t){const n={};for(let r=0;r<Object.keys(e).length;r++){const i=Object.keys(e)[r];r===0?n["- ".repeat(t)+i]=e[i]:n[" ".repeat(t)+i]=e[i]}return n}var Ov=Hs(),k0=/[\\]+"/g,P0=bi.Class,Xu="__",jv=class{constructor(e,t={},n,r){this.schemaService=e,this.clientCapabilities=t,this.yamlDocument=n,this.telemetry=r,this.completionEnabled=!0,this.arrayPrefixIndentation=""}configure(e){e&&(this.completionEnabled=e.completion),this.customTags=e.customTags,this.yamlVersion=e.yamlVersion,this.configuredIndentation=e.indentation,this.disableDefaultProperties=e.disableDefaultProperties,this.parentSkeletonSelectedFirst=e.parentSkeletonSelectedFirst}async doComplete(e,t,n=!1,r=!0){var i;const s=Tc.create([],!1);if(!this.completionEnabled)return s;const a=this.yamlDocument.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0),o=new Zs(e);if(this.configuredIndentation)this.indentation=this.configuredIndentation;else{const he=Mv(o,2,!0);this.indentation=he.insertSpaces?" ".repeat(he.tabSize):" "}N0(a.documents,n);for(const he of a.documents)he.uri=e.uri;const u=e.offsetAt(t),l=e.getText();if(l.charAt(u-1)===":")return Promise.resolve(s);let b=Vu(u,a);if(b===null)return Promise.resolve(s);b=b.clone();let[c,N]=b.getNodeFromPosition(u,o,this.indentation.length);const B=this.getCurrentWord(e,u);let ne=o.getLineContent(t.line);const Q=ne.substring(t.character),M=/^[ ]+\n?$/.test(Q);this.arrayPrefixIndentation="";let de=null;if(M){de=In.create(t,Hr.create(t.line,ne.length));const he=ne.trim().length===0,we=ne.match(/^\s*(-)\s*$/);if(c&&qn(c)&&!he&&!we){const Ye=ne.substring(0,t.character),ze=Ye.match(/^[\s-]*([^:]+)?$/)||Ye.match(/:[ \t]((?!:[ \t]).*)$/);ze?.[1]&&(de=In.create(Hr.create(t.line,t.character-ze[1].length),Hr.create(t.line,ne.length)))}}else if(c&&qn(c)&&c.value==="null"){const he=e.positionAt(c.range[0]);he.character+=1;const we=e.positionAt(c.range[2]);we.character+=1,de=In.create(he,we)}else if(c&&qn(c)&&c.value){const he=e.positionAt(c.range[0]);de=In.create(he,e.positionAt(c.range[1]))}else if(c&&qn(c)&&c.value===null&&B==="-")de=In.create(t,t),this.arrayPrefixIndentation=" ";else{let he=u-B.length;he>0&&l[he-1]==='"'&&he--,de=In.create(e.positionAt(he),t)}const ve={},Fe={add:(he,we)=>{const Ye=function(xe){var Xe;if(((Xe=ve[xe.label])==null?void 0:Xe.label)===Xu)return;const kt=xe.parent.schema,$t=pf(kt),Zt=kt.markdownDescription||kt.description;let Cn=s.items.find(Zn=>{var Un;return((Un=Zn.parent)==null?void 0:Un.schema)===kt&&Zn.kind===P0});Cn&&Cn.parent.insertTexts.includes(xe.insertText)||(Cn?Cn.parent.insertTexts.push(xe.insertText):(Cn={...xe,label:$t,documentation:Zt,sortText:"_"+$t,kind:P0},Cn.label=Cn.label||xe.label,Cn.parent.insertTexts=[xe.insertText],s.items.push(Cn)))},ze=!!he.parent;let Oe=he.label;if(!Oe){console.warn(`Ignoring CompletionItem without label: ${JSON.stringify(he)}`);return}if(Va(Oe)||(Oe=String(Oe)),Oe=Oe.replace(/[\n]/g,"↵"),Oe.length>60){const xe=Oe.substr(0,57).trim()+"...";ve[xe]||(Oe=xe)}if(he.insertText.endsWith("$1")&&!ze&&(he.insertText=he.insertText.substr(0,he.insertText.length-2)),de&&de.start.line===de.end.line&&(he.textEdit=Nr.replace(de,he.insertText)),he.label=Oe,ze){Ye(he);return}this.arrayPrefixIndentation&&this.updateCompletionText(he,this.arrayPrefixIndentation+he.insertText);const Ke=ve[Oe],Qe=Ke?.label!==Xu&&Ke?.insertText!==he.insertText;if(!Ke)ve[Oe]=he,s.items.push(he);else if(Qe){const xe=this.mergeSimpleInsertTexts(Oe,Ke.insertText,he.insertText,we);xe?this.updateCompletionText(Ke,xe):(ve[Oe]=he,s.items.push(he))}Ke&&!Ke.documentation&&he.documentation&&(Ke.documentation=he.documentation)},error:he=>{var we;(we=this.telemetry)==null||we.sendError("yaml.completion.error",{error:os(he)})},log:he=>{console.log(he)},getNumberOfProposals:()=>s.items.length,result:s,proposed:ve};this.customTags.length>0&&this.getCustomTagValueCompletions(Fe),ne.endsWith(`
438
- `)&&(ne=ne.substr(0,ne.length-1));try{const he=await this.schemaService.getSchemaForResource(e.uri,b);if((!he||he.errors.length)&&t.line===0&&t.character===0&&!vf(ne)){const Oe={kind:bi.Text,label:"Inline schema",insertText:"# yaml-language-server: $schema=",insertTextFormat:Kr.PlainText};s.items.push(Oe)}if(vf(ne)||Zb(a.tokens,u)){const Oe=ne.indexOf("$schema=");return Oe!==-1&&Oe+8<=t.character&&this.schemaService.getAllSchemas().forEach(Ke=>{var Qe;const xe={kind:bi.Constant,label:(Qe=Ke.name)!=null?Qe:Ke.uri,detail:Ke.description,insertText:Ke.uri,insertTextFormat:Kr.PlainText,insertTextMode:Fc.asIs};s.items.push(xe)}),s}if(!he||he.errors.length)return s;let we=null;if(!c)if(!b.internalDocument.contents||qn(b.internalDocument.contents)){const Oe=b.internalDocument.createNode({});Oe.range=[u,u+1,u+1],b.internalDocument.contents=Oe,b.updateFromInternalDocument(),c=Oe}else c=b.findClosestNode(u,o),N=!0;const Ye=c;if(c)if(ne.length===0)c=b.internalDocument.contents;else{const Oe=b.getParent(c);if(Oe){if(qn(c)){if(c.value){if(dr(Oe)){if(Oe.value===c){if(ne.trim().length>0&&ne.indexOf(":")<0){const Ke=this.createTempObjNode(B,c,b),Qe=b.getParent(Oe);if(Br(b.internalDocument.contents)){const xe=Kb(b.internalDocument.contents,Oe);typeof xe=="number"&&(b.internalDocument.set(xe,Ke),b.updateFromInternalDocument())}else Qe&&(Pr(Qe)||Br(Qe))?(Qe.set(Oe.key,Ke),b.updateFromInternalDocument()):(b.internalDocument.set(Oe.key,Ke),b.updateFromInternalDocument());we=Ke.items[0],c=Ke}else if(ne.trim().length===0){const Ke=b.getParent(Oe);Ke&&(c=Ke)}}else if(Oe.key===c){const Ke=b.getParent(Oe);we=Oe,Ke&&(c=Ke)}}else if(Br(Oe))if(ne.trim().length>0){const Ke=this.createTempObjNode(B,c,b);Oe.delete(c),Oe.add(Ke),b.updateFromInternalDocument(),c=Ke}else c=Oe}else if(c.value===null){if(dr(Oe)){if(Oe.key===c)c=Oe;else if(hr(Oe.key)&&Oe.key.range){const Ke=b.getParent(Oe);if(N&&Ke&&Pr(Ke)&&Xb(Ke))c=Ke;else{const Qe=e.positionAt(Oe.key.range[0]);if(t.character>Qe.character&&t.line!==Qe.line){const xe=this.createTempObjNode(B,c,b);Ke&&(Pr(Ke)||Br(Ke))?(Ke.set(Oe.key,xe),b.updateFromInternalDocument()):(b.internalDocument.set(Oe.key,xe),b.updateFromInternalDocument()),we=xe.items[0],c=xe}else Qe.character===t.character&&Ke&&(c=Ke)}}}else if(Br(Oe))if(ne.charAt(t.character-1)!=="-"){const Ke=this.createTempObjNode(B,c,b);Oe.delete(c),Oe.add(Ke),b.updateFromInternalDocument(),c=Ke}else if(ne.charAt(t.character-1)==="-"){const Ke=this.createTempObjNode("",c,b);Oe.delete(c),Oe.add(Ke),b.updateFromInternalDocument(),c=Ke}else c=Oe}}else if(Pr(c)&&!N&&ne.trim().length===0&&Br(Oe)){const Ke=o.getLineContent(t.line+1);(o.getLineCount()===t.line+1||Ke.trim().length===0)&&(c=Oe)}}else if(qn(c)){const Ke=this.createTempObjNode(B,c,b);b.internalDocument.contents=Ke,b.updateFromInternalDocument(),we=Ke.items[0],c=Ke}else if(Pr(c))for(const Ke of c.items)hr(Ke.value)&&Ke.value.range&&Ke.value.range[0]===u+1&&(c=Ke.value);else if(Br(c)&&ne.charAt(t.character-1)!=="-"){const Ke=this.createTempObjNode(B,c,b);Ke.items=[],b.updateFromInternalDocument();for(const Qe of c.items)Pr(Qe)&&Qe.items.forEach(xe=>{Ke.items.push(xe)});c=Ke}}if(c&&Pr(c)){const Oe=c.items;for(const Ke of Oe)(!we||we!==Ke)&&qn(Ke.key)&&(ve[Ke.key.value+""]=Nc.create(Xu));this.addPropertyCompletions(he,b,c,Ye,"",Fe,o,de,r),!he&&B.length>0&&l.charAt(u-B.length-1)!=='"'&&Fe.add({kind:bi.Property,label:B,insertText:this.getInsertTextForProperty(B,null,""),insertTextFormat:Kr.Snippet})}const ze={};this.getValueCompletions(he,b,c,u,e,Fe,ze,r)}catch(he){(i=this.telemetry)==null||i.sendError("yaml.completion.error",{error:os(he)})}this.finalizeParentCompletion(s);const Ve=s.items.filter((he,we,Ye)=>we===Ye.findIndex(ze=>ze.label===he.label&&ze.insertText===he.insertText&&ze.kind===he.kind));return Ve?.length>0&&(s.items=Ve),s}updateCompletionText(e,t){e.insertText=t,e.textEdit&&(e.textEdit.newText=t)}mergeSimpleInsertTexts(e,t,n,r){const i=b=>b.includes(`
439
- `),s=b=>b.startsWith(`
440
- `),a=b=>{const c=b.indexOf(`
441
- `);return c>0&&b.substring(c,b.length).trim().length===0};if(i(t)||i(n))return r&&a(t)&&!a(n)&&!s(n)?n:void 0;const o=this.getValuesFromInsertText(t),u=this.getValuesFromInsertText(n),l=Array.prototype.concat(o,u);if(l.length)return l.length===1?`${e}: \${1:${l[0]}}`:`${e}: \${1|${l.join(",")}|}`}getValuesFromInsertText(e){const t=e.substring(e.indexOf(":")+1).trim();if(!t)return[];const n=t.match(/^\${1[|:]([^|]*)+\|?}$/);return n?n[1].split(","):[t]}finalizeParentCompletion(e){const t=n=>{let r=0;return n.map(i=>{const s=i.match(/\$([0-9]+)|\${[0-9]+:/g);if(!s)return i;const a=s.map(u=>+u.replace(/\${([0-9]+)[:|]/g,"$1").replace("$","")).reduce((u,l)=>l>u?l:u,0),o=i.replace(/\$([0-9]+)/g,(u,l)=>"$"+(+l+r)).replace(/\${([0-9]+)[:|]/g,(u,l)=>"${"+(+l+r)+":");return r+=a,o})};e.items.forEach(n=>{if(Vv(n)){const r=n.parent.indent||"";let s=t(n.parent.insertTexts).join(`
442
- ${r}`);s.endsWith("$1")&&(s=s.substring(0,s.length-2)),n.insertText=this.arrayPrefixIndentation+s,n.textEdit&&(n.textEdit.newText=n.insertText);const a=s.replace(/\${[0-9]+[:|](.*)}/g,(u,l)=>l).replace(/\$([0-9]+)/g,""),o=n.documentation?[n.documentation,"","----",""]:[];n.documentation={kind:rs.Markdown,value:[...o,"```yaml",r+a,"```"].join(`
443
- `)},delete n.parent}})}createTempObjNode(e,t,n){const r={};r[e]=null;const i=n.internalDocument.createNode(r);return i.range=t.range,i.items[0].key.range=t.range,i.items[0].value.range=t.range,i}addPropertyCompletions(e,t,n,r,i,s,a,o,u){var l,b,c;const N=t.getMatchingSchemas(e.schema,-1,null,u),B=a.getText(o),ne=a.getLineContent(o.start.line),Q=ne.trim().length===0,M=ne.indexOf(":")!==-1,de=ne.trimLeft().indexOf("-")===0,ve=t.getParent(n),Fe=N.find(we=>we.node.internalNode===r&&we.schema.properties),Ve=N.filter(we=>we.schema.oneOf).map(we=>we.schema.oneOf)[0];let he=!1;Ve?.length<N.length&&Ve?.forEach((we,Ye)=>{var ze,Oe;!((ze=N[Ye])!=null&&ze.schema.oneOf)&&((Oe=N[Ye])==null?void 0:Oe.schema.properties)===we.properties&&(he=!0)});for(const we of N){if((we.node.internalNode===n&&!Fe||we.node.internalNode===r&&!M||((l=we.node.parent)==null?void 0:l.internalNode)===r&&!M)&&!we.inverted){this.collectDefaultSnippets(we.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:de});const Ye=we.schema.properties;if(Ye){const ze=we.schema.maxProperties;if(ze===void 0||n.items===void 0||n.items.length<ze||n.items.length===ze&&!Q){for(const Oe in Ye)if(Object.prototype.hasOwnProperty.call(Ye,Oe)){const Ke=Ye[Oe];if(typeof Ke=="object"&&!Ke.deprecationMessage&&!Ke.doNotSuggest){let Qe="";if(ve&&Br(ve)&&n.items.length<=1&&!Q){const $t=a.getText(),Zt=$t.lastIndexOf("-",n.range[0]-1);if(Zt>=0){const Cn=o.end.character-o.start.character;Qe=" "+$t.slice(Zt+1,n.range[1]-Cn)}}Qe+=this.arrayPrefixIndentation;let xe;Ke.type==="array"&&(xe=n.items.find($t=>qn($t.key)&&$t.key.range&&$t.key.value===Oe&&qn($t.value)&&!$t.value.value&&a.getPosition($t.key.range[2]).line===o.end.line-1))&&xe&&(Array.isArray(Ke.items)?this.addSchemaValueCompletions(Ke.items[0],i,s,{},"property"):typeof Ke.items=="object"&&Ke.items.type==="object"&&this.addArrayItemValueCompletion(Ke.items,i,s));let Xe=Oe;(!Oe.startsWith(B)||!M)&&(Xe=this.getInsertTextForProperty(Oe,Ke,i,Qe+this.indentation));const tt=qn(r)&&r.value===null||Pr(r)&&r.items.length===0,kt=((b=we.schema.required)==null?void 0:b.length)>0;(!this.parentSkeletonSelectedFirst||!tt||!kt)&&s.add({kind:bi.Property,label:Oe,insertText:Xe,insertTextFormat:Kr.Snippet,documentation:this.fromMarkup(Ke.markdownDescription)||Ke.description||""},he),(c=we.schema.required)!=null&&c.includes(Oe)&&s.add({label:Oe,insertText:this.getInsertTextForProperty(Oe,Ke,i,Qe+this.indentation),insertTextFormat:Kr.Snippet,documentation:this.fromMarkup(Ke.markdownDescription)||Ke.description||"",parent:{schema:we.schema,indent:Qe}})}}}}if(ve&&Br(ve)&&Db(we.schema)&&this.addSchemaValueCompletions(we.schema,i,s,{},"property",Array.isArray(ve.items)),we.schema.propertyNames&&we.schema.additionalProperties&&we.schema.type==="object"){const ze=oi(we.schema.propertyNames),Oe=ze.title||"property";s.add({kind:bi.Property,label:Oe,insertText:`\${1:${Oe}}: `,insertTextFormat:Kr.Snippet,documentation:this.fromMarkup(ze.markdownDescription)||ze.description||""})}}ve&&we.node.internalNode===ve&&we.schema.defaultSnippets&&(n.items.length===1?this.collectDefaultSnippets(we.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!0},1):this.collectDefaultSnippets(we.schema,i,s,{newLineFirst:!1,indentFirstObject:!0,shouldIndentWithTab:!1},1))}}getValueCompletions(e,t,n,r,i,s,a,o){let u=null;if(n&&qn(n)&&(n=t.getParent(n)),!n){this.addSchemaValueCompletions(e.schema,"",s,a,"value");return}if(dr(n)){const l=n.value;if(l&&l.range&&r>l.range[0]+l.range[2])return;u=qn(n.key)?n.key.value+"":null,n=t.getParent(n)}if(n&&(u!==null||Br(n))){const l="",b=t.getMatchingSchemas(e.schema,-1,null,o);for(const c of b)if(c.node.internalNode===n&&!c.inverted&&c.schema){if(c.schema.items&&(this.collectDefaultSnippets(c.schema,l,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!1}),Br(n)&&n.items))if(Array.isArray(c.schema.items)){const N=this.findItemAtOffset(n,i,r);N<c.schema.items.length&&this.addSchemaValueCompletions(c.schema.items[N],l,s,a,"value")}else typeof c.schema.items=="object"&&(c.schema.items.type==="object"||df(c.schema.items))?this.addSchemaValueCompletions(c.schema.items,l,s,a,"value",!0):this.addSchemaValueCompletions(c.schema.items,l,s,a,"value");if(c.schema.properties){const N=c.schema.properties[u];N&&this.addSchemaValueCompletions(N,l,s,a,"value")}else c.schema.additionalProperties&&this.addSchemaValueCompletions(c.schema.additionalProperties,l,s,a,"value")}a.boolean&&(this.addBooleanValueCompletion(!0,l,s),this.addBooleanValueCompletion(!1,l,s)),a.null&&this.addNullValueCompletion(l,s)}}addArrayItemValueCompletion(e,t,n,r){const i=pf(e),s=`- ${this.getInsertTextForObject(e,t).insertText.trimLeft()}`,a=i?" type `"+i+"`":"",o=e.description?" ("+e.description+")":"",u=this.getDocumentationWithMarkdownText(`Create an item of an array${a}${o}`,s);n.add({kind:this.getSuggestionKind(e.type),label:"- (array item) "+(i||r),documentation:u,insertText:s,insertTextFormat:Kr.Snippet})}getInsertTextForProperty(e,t,n,r=this.indentation){const i=this.getInsertTextForValue(e,"","string"),s=i+":";let a,o=0;if(t){let u=Array.isArray(t.type)?t.type[0]:t.type;if(u||(t.properties?u="object":t.items?u="array":t.anyOf&&(u="anyOf")),Array.isArray(t.defaultSnippets)){if(t.defaultSnippets.length===1){const l=t.defaultSnippets[0].body;Xs(l)&&(a=this.getInsertTextForSnippetValue(l,"",{newLineFirst:!0,indentFirstObject:!1,shouldIndentWithTab:!1},[],1),!a.startsWith(" ")&&!a.startsWith(`
444
- `)&&(a=" "+a))}o+=t.defaultSnippets.length}if(t.enum&&(!a&&t.enum.length===1&&(a=" "+this.getInsertTextForGuessedValue(t.enum[0],"",u)),o+=t.enum.length),t.const&&(a||(a=this.getInsertTextForGuessedValue(t.const,"",u),a=$v(a),a=" "+a),o++),Xs(t.default)&&(a||(a=" "+this.getInsertTextForGuessedValue(t.default,"",u)),o++),Array.isArray(t.examples)&&t.examples.length&&(a||(a=" "+this.getInsertTextForGuessedValue(t.examples[0],"",u)),o+=t.examples.length),t.properties)return`${s}
445
- ${this.getInsertTextForObject(t,n,r).insertText}`;if(t.items)return`${s}
446
- ${r}- ${this.getInsertTextForArray(t.items,n,1,r).insertText}`;if(o===0)switch(u){case"boolean":a=" $1";break;case"string":a=" $1";break;case"object":a=`
447
- ${r}`;break;case"array":a=`
448
- ${r}- `;break;case"number":case"integer":a=" ${1:0}";break;case"null":a=" ${1:null}";break;case"anyOf":a=" $1";break;default:return i}}return(!a||o>1)&&(a=" $1"),s+a+n}getInsertTextForObject(e,t,n=this.indentation,r=1){let i="";return e.properties?(Object.keys(e.properties).forEach(s=>{const a=e.properties[s];let o=Array.isArray(a.type)?a.type[0]:a.type;if(o||(a.anyOf&&(o="anyOf"),a.properties&&(o="object"),a.items&&(o="array")),e.required&&e.required.indexOf(s)>-1)switch(o){case"boolean":case"string":case"number":case"integer":case"anyOf":{let u=a.default||a.const;u?(o==="string"&&(u=Ku(u)),i+=`${n}${s}: \${${r++}:${u}}
449
- `):i+=`${n}${s}: $${r++}
450
- `;break}case"array":{const u=this.getInsertTextForArray(a.items,t,r++,n),l=u.insertText.split(`
451
- `);let b=u.insertText;if(l.length>1){for(let c=1;c<l.length;c++){const N=l[c];l[c]=` ${N}`}b=l.join(`
452
- `)}r=u.insertIndex,i+=`${n}${s}:
453
- ${n}${this.indentation}- ${b}
454
- `}break;case"object":{const u=this.getInsertTextForObject(a,t,`${n}${this.indentation}`,r++);r=u.insertIndex,i+=`${n}${s}:
455
- ${u.insertText}
456
- `}break}else if(!this.disableDefaultProperties&&a.default!==void 0)switch(o){case"boolean":case"number":case"integer":i+=`${n}${s==="null"?this.getInsertTextForValue(s,"","string"):s}: \${${r++}:${a.default}}
457
- `;break;case"string":i+=`${n}${s}: \${${r++}:${Ku(a.default)}}
458
- `;break}}),i.trim().length===0&&(i=`${n}$${r++}
459
- `),i=i.trimRight()+t,{insertText:i,insertIndex:r}):(i=`${n}$${r++}
460
- `,{insertText:i,insertIndex:r})}getInsertTextForArray(e,t,n=1,r=this.indentation){let i="";if(!e)return i=`$${n++}`,{insertText:i,insertIndex:n};let s=Array.isArray(e.type)?e.type[0]:e.type;switch(s||(e.properties&&(s="object"),e.items&&(s="array")),e.type){case"boolean":i=`\${${n++}:false}`;break;case"number":case"integer":i=`\${${n++}:0}`;break;case"string":i=`\${${n++}:""}`;break;case"object":{const a=this.getInsertTextForObject(e,t,`${r} `,n++);i=a.insertText.trimLeft(),n=a.insertIndex}break}return{insertText:i,insertIndex:n}}getInsertTextForGuessedValue(e,t,n){switch(typeof e){case"object":return e===null?"${1:null}"+t:this.getInsertTextForValue(e,t,n);case"string":{let r=JSON.stringify(e);return r=r.substr(1,r.length-2),r=this.getInsertTextForPlainText(r),n==="string"&&(r=Ku(r)),"${1:"+r+"}"+t}case"number":case"boolean":return"${1:"+e+"}"+t}return this.getInsertTextForValue(e,t,n)}getInsertTextForPlainText(e){return e.replace(/[\\$}]/g,"\\$&")}getInsertTextForValue(e,t,n){if(e===null)return"null";switch(typeof e){case"object":{const r=this.indentation;return this.getInsertTemplateForValue(e,r,{index:1},t)}case"number":case"boolean":return this.getInsertTextForPlainText(e+t)}return n=Array.isArray(n)?n[0]:n,n==="string"&&(e=Ku(e)),this.getInsertTextForPlainText(e+t)}getInsertTemplateForValue(e,t,n,r){if(Array.isArray(e)){let i=`
461
- `;for(const s of e)i+=`${t}- \${${n.index++}:${s}}
462
- `;return i}else if(typeof e=="object"){let i=`
463
- `;for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const a=e[s];i+=`${t}\${${n.index++}:${s}}:`;let o;typeof a=="object"?o=`${this.getInsertTemplateForValue(a,t+this.indentation,n,r)}`:o=` \${${n.index++}:${this.getInsertTextForPlainText(a+r)}}
464
- `,i+=`${o}`}return i}return this.getInsertTextForPlainText(e+r)}addSchemaValueCompletions(e,t,n,r,i,s){typeof e=="object"&&(this.addEnumValueCompletions(e,t,n,s),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),s&&i==="value"&&!df(e)&&this.addArrayItemValueCompletion(e,t,n),Array.isArray(e.allOf)&&e.allOf.forEach(a=>this.addSchemaValueCompletions(a,t,n,r,i,s)),Array.isArray(e.anyOf)&&e.anyOf.forEach(a=>this.addSchemaValueCompletions(a,t,n,r,i,s)),Array.isArray(e.oneOf)&&e.oneOf.forEach(a=>this.addSchemaValueCompletions(a,t,n,r,i,s)))}collectTypes(e,t){if(Array.isArray(e.enum)||Xs(e.const))return;const n=e.type;Array.isArray(n)?n.forEach(function(r){return t[r]=!0}):n&&(t[n]=!0)}addDefaultValueCompletions(e,t,n,r=0){let i=!1;if(Xs(e.default)){let s=e.type,a=e.default;for(let u=r;u>0;u--)a=[a],s="array";let o;typeof a=="object"?o="Default value":o=a.toString().replace(k0,'"'),n.add({kind:this.getSuggestionKind(s),label:o,insertText:this.getInsertTextForValue(a,t,s),insertTextFormat:Kr.Snippet,detail:Ov("json.suggest.default","Default value")}),i=!0}Array.isArray(e.examples)&&e.examples.forEach(s=>{let a=e.type,o=s;for(let u=r;u>0;u--)o=[o],a="array";n.add({kind:this.getSuggestionKind(a),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t,a),insertTextFormat:Kr.Snippet}),i=!0}),this.collectDefaultSnippets(e,t,n,{newLineFirst:!0,indentFirstObject:!0,shouldIndentWithTab:!0}),!i&&typeof e.items=="object"&&!Array.isArray(e.items)&&this.addDefaultValueCompletions(e.items,t,n,r+1)}addEnumValueCompletions(e,t,n,r){if(Xs(e.const)&&!r&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t,e.type),insertTextFormat:Kr.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(let i=0,s=e.enum.length;i<s;i++){const a=e.enum[i];let o=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&i<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?o=this.fromMarkup(e.markdownEnumDescriptions[i]):e.enumDescriptions&&i<e.enumDescriptions.length&&(o=e.enumDescriptions[i]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t,e.type),insertTextFormat:Kr.Snippet,documentation:o})}}getLabelForValue(e){return e===null?"null":Array.isArray(e)?JSON.stringify(e):""+e}collectDefaultSnippets(e,t,n,r,i=0){if(Array.isArray(e.defaultSnippets))for(const s of e.defaultSnippets){let a=e.type,o=s.body,u=s.label,l,b;if(Xs(o)){const c=s.type||e.type;if(i===0&&c==="array"){const B={};Object.keys(o).forEach((ne,Q)=>{Q===0&&!ne.startsWith("-")?B[`- ${ne}`]=o[ne]:B[` ${ne}`]=o[ne]}),o=B}const N=Object.keys(n.proposed).filter(B=>n.proposed[B].label===Xu);if(l=this.getInsertTextForSnippetValue(o,t,r,N),l===""&&o)continue;u=u||this.getLabelForSnippetValue(o)}else if(typeof s.bodyText=="string"){let c="",N="",B="";for(let ne=i;ne>0;ne--)c=c+B+`[
465
- `,N=N+`
466
- `+B+"]",B+=this.indentation,a="array";l=c+B+s.bodyText.split(`
467
- `).join(`
468
- `+B)+N+t,u=u||l,b=l.replace(/[\n]/g,"")}n.add({kind:s.suggestionKind||this.getSuggestionKind(a),label:u,sortText:s.sortText||s.label,documentation:this.fromMarkup(s.markdownDescription)||s.description,insertText:l,insertTextFormat:Kr.Snippet,filterText:b})}}getInsertTextForSnippetValue(e,t,n,r,i){return Qu(e,"",a=>{if(typeof a=="string"){if(a[0]==="^")return a.substr(1);if(a==="true"||a==="false")return`"${a}"`}return a},{...n,indentation:this.indentation,existingProps:r},i)+t}addBooleanValueCompletion(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t,"boolean"),insertTextFormat:Kr.Snippet,documentation:""})}addNullValueCompletion(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:Kr.Snippet,documentation:""})}getLabelForSnippetValue(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")}getCustomTagValueCompletions(e){h0(this.customTags).forEach(n=>{const r=n.split(" ")[0];this.addCustomTagValueCompletion(e," ",r)})}addCustomTagValueCompletion(e,t,n){e.add({kind:this.getSuggestionKind("string"),label:n,insertText:n+t,insertTextFormat:Kr.Snippet,documentation:""})}getDocumentationWithMarkdownText(e,t){let n=e;return this.doesSupportMarkdown()&&(t=t.replace(/\${[0-9]+[:|](.*)}/g,(r,i)=>i).replace(/\$([0-9]+)/g,""),n=this.fromMarkup(`${e}
469
- \`\`\`
470
- ${t}
471
- \`\`\``)),n}getSuggestionKind(e){if(Array.isArray(e)){const t=e;e=t.length>0?t[0]:null}if(!e)return bi.Value;switch(e){case"string":return bi.Value;case"object":return bi.Module;case"property":return bi.Property;default:return bi.Value}}getCurrentWord(e,t){let n=t-1;const r=e.getText();for(;n>=0&&`
472
- \r\v":{[,]}`.indexOf(r.charAt(n))===-1;)n--;return r.substring(n+1,t)}fromMarkup(e){if(e&&this.doesSupportMarkdown())return{kind:rs.Markdown,value:e}}doesSupportMarkdown(){if(this.supportsMarkdown===void 0){const e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&e.completionItem.documentationFormat.indexOf(rs.Markdown)!==-1}return this.supportsMarkdown}findItemAtOffset(e,t,n){for(let r=e.items.length-1;r>=0;r--){const i=e.items[r];if(hr(i)&&i.range){if(n>i.range[1])return r;if(n>=i.range[0])return r}}return 0}},Rv=/^\d+$/;function Ku(e){let t;if(typeof e=="string"?t=e:t=""+e,t.length===0)return t;if(t==="true"||t==="false"||t==="null"||Rv.test(t))return`"${t}"`;t.indexOf('"')!==-1&&(t=t.replace(k0,'"'));let n=!isNaN(parseInt(t))||t.charAt(0)==="@";if(!n){let r=t.indexOf(":",0);for(;r>0&&r<t.length;r=t.indexOf(":",r+1)){if(r===t.length-1){n=!0;break}const i=t.charAt(r+1);if(i===" "||i===" "){n=!0;break}}}return n&&(t=`"${t}"`),t}function $v(e){return e.replace(/\$\{1:(.*)\}/,"$1")}function Vv(e){return"parent"in e}function qv(){}var Uv=class{constructor(e){this.telemetry=e}getDefinition(e,t){var n;try{const r=Vi.getYamlDocument(e),i=e.offsetAt(t.position),s=Vu(i,r);if(s){const[a]=s.getNodeFromPosition(i,new Zs(e));if(a&&Qi(a)){const o=a.resolve(s.internalDocument);if(o&&o.range){const u=In.create(e.positionAt(o.range[0]),e.positionAt(o.range[2])),l=In.create(e.positionAt(o.range[0]),e.positionAt(o.range[1]));return[mc.create(e.uri,u,l)]}}}}catch(r){(n=this.telemetry)==null||n.sendError("yaml.definition.error",{error:os(r)})}}};function Wv(e,t){if(!e)return;const n=Vi.getYamlDocument(e);return t.map(i=>{const s=r(i);let a;for(const o of s)a=hu.create(o,a);return a||(a=hu.create({start:i,end:i})),a});function r(i){const s=e.offsetAt(i),a=[];for(const o of n.documents){let u,l,b=!0;for(o.visit(c=>{if(c.offset+c.length<s)return!0;let B=c.offset;if(B>s){const ne=e.positionAt(B);if(ne.line!==i.line)return!0;const Q={line:ne.line,character:0};if(e.getText({start:Q,end:ne}).trim().length!==0||(B=e.offsetAt(Q),B>s))return!0}return(!u||B>=u.offset)&&(u=c,l=B),!0});u;){const c=b?l:u.offset,N=u.offset+u.length,B={start:e.positionAt(c),end:e.positionAt(N)},ne=e.getText(B),Q=ne.trimEnd(),M=ne.length-Q.length;M>0&&(B.end=e.positionAt(N-M));const de=(ve,Fe)=>Q.startsWith(ve)&&Q.endsWith(Fe||ve);(u.type==="string"&&(de("'")||de('"'))||u.type==="object"&&de("{","}")||u.type==="array"&&de("[","]"))&&a.push({start:e.positionAt(c+1),end:e.positionAt(N-1)}),a.push(B),u=u.parent,b=!1}if(a.length>0)break}return a.reverse()}}var Af;(function(e){e[e.SchemaStore=1]="SchemaStore",e[e.SchemaAssociation=2]="SchemaAssociation",e[e.Settings=3]="Settings"})(Af||(Af={}));function Gv(e){const t=new fv(e.schemaRequestService,e.workspaceContext),n=new jv(t,e.clientCapabilities,Vi,e.telemetry),r=new dv(t,e.telemetry),i=new pv(t,e.telemetry),s=new Cv(t,e.telemetry),a=new xv,o=new Tv(e.clientCapabilities),u=new kv(t,e.telemetry),l=new Sv(e.telemetry),b=new Uv(e.telemetry);return new qv(t,e.yamlSettings,e.connection),{configure:c=>{t.clearExternalSchemas(),c.schemas&&(t.schemaPriorityMapping=new Map,c.schemas.forEach(N=>{const B=N.priority?N.priority:0;t.addSchemaPriority(N.uri,B),t.registerExternalSchema(N.uri,N.fileMatch,N.schema,N.name,N.description,N.versions)})),s.configure(c),r.configure(c),n.configure(c),a.configure(c),o.configure(c)},registerCustomSchemaProvider:c=>{t.registerCustomSchemaProvider(c)},findLinks:l.findLinks.bind(l),doComplete:n.doComplete.bind(n),doValidation:s.doValidation.bind(s),doHover:r.doHover.bind(r),findDocumentSymbols:i.findDocumentSymbols.bind(i),findDocumentSymbols2:i.findHierarchicalDocumentSymbols.bind(i),doDefinition:b.getDefinition.bind(b),resetSchema:c=>t.onResourceChange(c),doFormat:a.format.bind(a),doDocumentOnTypeFormatting:_v,addSchema:(c,N)=>t.saveSchema(c,N),deleteSchema:c=>t.deleteSchema(c),modifySchemaContent:c=>t.addContent(c),deleteSchemaContent:c=>t.deleteContent(c),deleteSchemasWhole:c=>t.deleteSchemas(c),getFoldingRanges:wv,getSelectionRanges:Wv,getCodeAction:(c,N)=>o.getCodeAction(c,N),getCodeLens:c=>u.getCodeLens(c),resolveCodeLens:c=>u.resolveCodeLens(c)}}async function Jv(e){const t=await fetch(e);if(t.ok)return t.text();throw new Error(`Schema request failed for ${e}`)}var Yv={send(){},sendError(e,t){console.error("monaco-yaml",e,t)},sendTrack(){}},Hv={resolveRelativePath(e,t){return String(new URL(e,t))}};Py((e,{enableSchemaRequest:t,...n})=>{const r=Gv({schemaRequestService:t?Jv:null,telemetry:Yv,workspaceContext:Hv}),i=s=>(a,...o)=>{const u=e.getMirrorModels();for(const l of u)if(String(l.uri)===a)return s(cc.create(a,"yaml",l.version,l.getValue()),...o)};return r.configure(n),{doValidation:i(s=>r.doValidation(s,!!n.isKubernetes)),doComplete:i((s,a)=>r.doComplete(s,a,!!n.isKubernetes)),doDefinition:i((s,a)=>r.doDefinition(s,{position:a,textDocument:s})),doHover:i((s,a)=>r.doHover(s,a)),format:i(s=>r.doFormat(s,{})),resetSchema:s=>r.resetSchema(s),findDocumentSymbols:i(s=>r.findDocumentSymbols2(s,{})),findLinks:i(s=>r.findLinks(s)),getCodeAction:i((s,a,o)=>r.getCodeAction(s,{range:a,textDocument:s,context:o})),getFoldingRanges:i(s=>r.getFoldingRanges(s,{lineFoldingOnly:!0}))}})})();