@devtron-labs/devtron-fe-common-lib 0.0.64-beta-3 → 0.0.65-beta-1

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 (138) hide show
  1. package/dist/Common/Constants.d.ts +1 -0
  2. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +1 -1
  3. package/dist/Common/DraggableWrapper/types.d.ts +8 -1
  4. package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
  5. package/dist/Common/Hooks/useUrlFilters/types.d.ts +54 -1
  6. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +2 -14
  7. package/dist/Common/Types.d.ts +2 -2
  8. package/dist/Common/index.d.ts +0 -1
  9. package/dist/Pages/GlobalConfigurations/Authorization/constants.d.ts +5 -1
  10. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -0
  11. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +23 -0
  12. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +1 -1
  13. package/dist/Shared/Components/BulkSelection/constants.d.ts +1 -1
  14. package/dist/Shared/Components/BulkSelection/types.d.ts +3 -0
  15. package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +3 -0
  16. package/dist/Shared/Components/ExcludedImageNode/index.d.ts +1 -0
  17. package/dist/Shared/Components/ExcludedImageNode/types.d.ts +3 -0
  18. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +6 -0
  19. package/dist/Shared/Components/FilterChips/index.d.ts +2 -0
  20. package/dist/Shared/Components/FilterChips/types.d.ts +37 -0
  21. package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +3 -0
  22. package/dist/Shared/Components/ImageCard/ArtifactInfo/index.d.ts +1 -0
  23. package/dist/Shared/Components/ImageCard/ArtifactInfo/types.d.ts +3 -0
  24. package/dist/Shared/Components/ImageCard/ImageCard.d.ts +3 -0
  25. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +3 -0
  26. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/constants.d.ts +6 -0
  27. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/index.d.ts +1 -0
  28. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +9 -0
  29. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/utils.d.ts +2 -0
  30. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +3 -0
  31. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/index.d.ts +1 -0
  32. package/dist/Shared/Components/ImageCard/index.d.ts +3 -0
  33. package/dist/Shared/Components/ImageCard/types.d.ts +38 -0
  34. package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +3 -0
  35. package/dist/Shared/Components/ImageCardAccordion/index.d.ts +1 -0
  36. package/dist/Shared/Components/ImageCardAccordion/types.d.ts +22 -0
  37. package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +3 -0
  38. package/dist/Shared/Components/ScannedByToolModal/index.d.ts +1 -0
  39. package/dist/Shared/Components/ScannedByToolModal/types.d.ts +3 -0
  40. package/dist/Shared/Components/Vulnerabilities/Vulnerabilities.d.ts +3 -0
  41. package/dist/Shared/Components/Vulnerabilities/constants.d.ts +4 -0
  42. package/dist/Shared/Components/Vulnerabilities/index.d.ts +1 -0
  43. package/dist/Shared/Components/Vulnerabilities/service.d.ts +28 -0
  44. package/dist/Shared/Components/Vulnerabilities/types.d.ts +9 -0
  45. package/dist/Shared/Components/index.d.ts +6 -0
  46. package/dist/Shared/constants.d.ts +19 -0
  47. package/dist/Shared/index.d.ts +2 -0
  48. package/dist/Shared/types.d.ts +23 -0
  49. package/dist/assets/index.css +1 -1
  50. package/dist/index.js +23868 -215
  51. package/package.json +1 -1
  52. package/dist/abap-9f67f57a.js +0 -1314
  53. package/dist/apex-ff62e532.js +0 -315
  54. package/dist/assets/editor.worker-d26000ef.js +0 -9
  55. package/dist/assets/json.worker-f23a4654.js +0 -40
  56. package/dist/assets/yaml.worker-35ea3f9a.js +0 -467
  57. package/dist/azcli-31e64a7f.js +0 -74
  58. package/dist/bat-0ffe897e.js +0 -95
  59. package/dist/bicep-3414a2b1.js +0 -108
  60. package/dist/cameligo-df1f3f25.js +0 -168
  61. package/dist/clojure-65b0f010.js +0 -754
  62. package/dist/coffee-437f0fba.js +0 -228
  63. package/dist/cpp-66843dd5.js +0 -390
  64. package/dist/csharp-621d9a49.js +0 -320
  65. package/dist/csp-de0d5244.js +0 -57
  66. package/dist/css-7cd5ed4c.js +0 -186
  67. package/dist/cssMode-0eb181b8.js +0 -1446
  68. package/dist/cypher-70ad96fe.js +0 -262
  69. package/dist/dart-33ae3739.js +0 -270
  70. package/dist/dockerfile-f2274a50.js +0 -132
  71. package/dist/ecl-3b8294a3.js +0 -454
  72. package/dist/elixir-b9dcc73a.js +0 -489
  73. package/dist/flow9-bdde8316.js +0 -141
  74. package/dist/freemarker2-4361569f.js +0 -643
  75. package/dist/fsharp-eac2e449.js +0 -210
  76. package/dist/go-d12ed8d4.js +0 -208
  77. package/dist/graphql-c7356b69.js +0 -141
  78. package/dist/handlebars-babdfc67.js +0 -391
  79. package/dist/hcl-e883a0d4.js +0 -177
  80. package/dist/html-23b49eab.js +0 -281
  81. package/dist/htmlMode-f37a1616.js +0 -1456
  82. package/dist/index-3a430320.js +0 -127405
  83. package/dist/ini-425ab711.js +0 -68
  84. package/dist/java-2bc0fd68.js +0 -221
  85. package/dist/javascript-3597fa14.js +0 -75
  86. package/dist/jsonMode-b97d1b5f.js +0 -1867
  87. package/dist/julia-1c932615.js +0 -496
  88. package/dist/kotlin-1ab839c8.js +0 -245
  89. package/dist/less-6fe856f5.js +0 -168
  90. package/dist/lexon-4955ac52.js +0 -151
  91. package/dist/liquid-9778cbb4.js +0 -238
  92. package/dist/lua-3cca0047.js +0 -157
  93. package/dist/m3-132e9cb6.js +0 -210
  94. package/dist/markdown-ea59a0c1.js +0 -202
  95. package/dist/mips-19811f4b.js +0 -194
  96. package/dist/msdax-69954a10.js +0 -377
  97. package/dist/mysql-82088e5d.js +0 -876
  98. package/dist/objective-c-1976eccc.js +0 -188
  99. package/dist/pascal-8ef177cb.js +0 -245
  100. package/dist/pascaligo-bc517b9e.js +0 -158
  101. package/dist/perl-8b93582c.js +0 -599
  102. package/dist/pgsql-00c11a6d.js +0 -847
  103. package/dist/php-4c8c276f.js +0 -471
  104. package/dist/pla-e9b4ffb1.js +0 -131
  105. package/dist/postiats-2071af8c.js +0 -544
  106. package/dist/powerquery-8e388ceb.js +0 -890
  107. package/dist/powershell-e35db398.js +0 -233
  108. package/dist/protobuf-a24b9176.js +0 -422
  109. package/dist/pug-2c94d9b8.js +0 -393
  110. package/dist/python-e4dba3c0.js +0 -259
  111. package/dist/qsharp-d730d7fe.js +0 -282
  112. package/dist/r-be193556.js +0 -245
  113. package/dist/razor-242f0a8f.js +0 -512
  114. package/dist/redis-9690c6ac.js +0 -298
  115. package/dist/redshift-6bdcdeaa.js +0 -806
  116. package/dist/restructuredtext-a08c1d20.js +0 -162
  117. package/dist/ruby-2247692b.js +0 -444
  118. package/dist/rust-1dffb4d5.js +0 -337
  119. package/dist/sb-136598e9.js +0 -110
  120. package/dist/scala-b1100fed.js +0 -353
  121. package/dist/scheme-038c8094.js +0 -114
  122. package/dist/scss-700d1b52.js +0 -244
  123. package/dist/shell-86c16e0f.js +0 -224
  124. package/dist/solidity-c05fdf3c.js +0 -1351
  125. package/dist/sophia-cd645d71.js +0 -190
  126. package/dist/sparql-01d9ec9c.js +0 -193
  127. package/dist/sql-4c33df41.js +0 -818
  128. package/dist/st-52cf1408.js +0 -414
  129. package/dist/swift-13c792ba.js +0 -315
  130. package/dist/systemverilog-0bd8b730.js +0 -556
  131. package/dist/tcl-463d7c75.js +0 -232
  132. package/dist/tsMode-bf606946.js +0 -811
  133. package/dist/twig-0d98f5ec.js +0 -323
  134. package/dist/typescript-9ed04bdd.js +0 -328
  135. package/dist/vb-3a2b0a51.js +0 -364
  136. package/dist/wgsl-b2ddb3e4.js +0 -420
  137. package/dist/xml-825eaa31.js +0 -95
  138. package/dist/yaml-c9fb7842.js +0 -184
@@ -1,467 +0,0 @@
1
- var qE=Object.defineProperty;var WE=(Ts,Ki,_s)=>Ki in Ts?qE(Ts,Ki,{enumerable:!0,configurable:!0,writable:!0,value:_s}):Ts[Ki]=_s;var Ns=(Ts,Ki,_s)=>(WE(Ts,typeof Ki!="symbol"?Ki+"":Ki,_s),_s);(function(){"use strict";function Ts(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 Ki{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?ra.isErrorNoTelemetry(t)?new ra(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 _s=new Ki;function tp(e){K0(e)||_s.onUnexpectedError(e)}function np(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:ra.isErrorNoTelemetry(e)}}return e}const dl="Canceled";function K0(e){return e instanceof Z0?!0:e instanceof Error&&e.name===dl&&e.message===dl}class Z0 extends Error{constructor(){super(dl),this.name=this.message}}class ra extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof ra)return t;const n=new ra;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class ia extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,ia.prototype)}}function eg(e){const t=this;let n=!1,r;return function(){return n||(n=!0,r=e.apply(t,arguments)),r}}var Io;(function(e){function t(ue){return ue&&typeof ue=="object"&&typeof ue[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*i(ue){yield ue}e.single=i;function s(ue){return t(ue)?ue:i(ue)}e.wrap=s;function a(ue){return ue||n}e.from=a;function o(ue){return!ue||ue[Symbol.iterator]().next().done===!0}e.isEmpty=o;function u(ue){return ue[Symbol.iterator]().next().value}e.first=u;function l(ue,ke){for(const Be of ue)if(ke(Be))return!0;return!1}e.some=l;function v(ue,ke){for(const Be of ue)if(ke(Be))return Be}e.find=v;function*p(ue,ke){for(const Be of ue)ke(Be)&&(yield Be)}e.filter=p;function*j(ue,ke){let Be=0;for(const Je of ue)yield ke(Je,Be++)}e.map=j;function*R(...ue){for(const ke of ue)for(const Be of ke)yield Be}e.concat=R;function se(ue,ke,Be){let Je=Be;for(const ve of ue)Je=ke(Je,ve);return Je}e.reduce=se;function*te(ue,ke,Be=ue.length){for(ke<0&&(ke+=ue.length),Be<0?Be+=ue.length:Be>ue.length&&(Be=ue.length);ke<Be;ke++)yield ue[ke]}e.slice=te;function P(ue,ke=Number.POSITIVE_INFINITY){const Be=[];if(ke===0)return[Be,ue];const Je=ue[Symbol.iterator]();for(let ve=0;ve<ke;ve++){const Oe=Je.next();if(Oe.done)return[Be,e.empty()];Be.push(Oe.value)}return[Be,{[Symbol.iterator](){return Je}}]}e.consume=P})(Io||(Io={}));function GE(e){return e}function JE(e,t){}function rp(e){if(Io.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 tg(...e){return Mo(()=>rp(e))}function Mo(e){return{dispose:eg(()=>{e()})}}class ks{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{rp(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?ks.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}}ks.DISABLE_DISPOSED_WARNING=!1;class Oo{constructor(){this._store=new ks,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)}}Oo.None=Object.freeze({dispose(){}});class ng{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(t){let n=t;return this.unset=()=>n=void 0,this.isset=()=>n!==void 0,this.dispose=()=>{n&&(n(),n=void 0)},this}}class yr{constructor(t){this.element=t,this.next=yr.Undefined,this.prev=yr.Undefined}}yr.Undefined=new yr(void 0);class jo{constructor(){this._first=yr.Undefined,this._last=yr.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===yr.Undefined}clear(){let t=this._first;for(;t!==yr.Undefined;){const n=t.next;t.prev=yr.Undefined,t.next=yr.Undefined,t=n}this._first=yr.Undefined,this._last=yr.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const r=new yr(t);if(this._first===yr.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!==yr.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==yr.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==yr.Undefined&&t.next!==yr.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===yr.Undefined&&t.next===yr.Undefined?(this._first=yr.Undefined,this._last=yr.Undefined):t.next===yr.Undefined?(this._last=this._last.prev,this._last.next=yr.Undefined):t.prev===yr.Undefined&&(this._first=this._first.next,this._first.prev=yr.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==yr.Undefined;)yield t.element,t=t.next}}let rg=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function ig(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}),rg&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function sg(e,t,...n){return ig(t,n)}function YE(e){}var hl;const sa="en";let ml=!1,gl=!1,yl=!1,ip=!1,$o,Dl=sa,sp=sa,ag,Bi;const oi=typeof self=="object"?self:typeof global=="object"?global:{};let Jr;typeof oi.vscode<"u"&&typeof oi.vscode.process<"u"?Jr=oi.vscode.process:typeof process<"u"&&(Jr=process);const og=typeof((hl=Jr?.versions)===null||hl===void 0?void 0:hl.electron)=="string"&&Jr?.type==="renderer";if(typeof navigator=="object"&&!og)Bi=navigator.userAgent,ml=Bi.indexOf("Windows")>=0,gl=Bi.indexOf("Macintosh")>=0,(Bi.indexOf("Macintosh")>=0||Bi.indexOf("iPad")>=0||Bi.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,yl=Bi.indexOf("Linux")>=0,Bi?.indexOf("Mobi")>=0,ip=!0,sg({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),$o=sa,Dl=$o,sp=navigator.language;else if(typeof Jr=="object"){ml=Jr.platform==="win32",gl=Jr.platform==="darwin",yl=Jr.platform==="linux",yl&&Jr.env.SNAP&&Jr.env.SNAP_REVISION,Jr.env.CI||Jr.env.BUILD_ARTIFACTSTAGINGDIRECTORY,$o=sa,Dl=sa;const e=Jr.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];$o=t.locale,sp=t.osLocale,Dl=n||sa,ag=t._translationsConfigFile}catch{}}else console.error("Unable to resolve platform.");const Ka=ml,ug=gl;ip&&oi.importScripts;const qi=Bi,lg=typeof oi.postMessage=="function"&&!oi.importScripts;(()=>{if(lg){const e=[];oi.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}),oi.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();const cg=!!(qi&&qi.indexOf("Chrome")>=0);qi&&qi.indexOf("Firefox")>=0,!cg&&qi&&qi.indexOf("Safari")>=0,qi&&qi.indexOf("Edg/")>=0,qi&&qi.indexOf("Android")>=0;const fg=oi.performance&&typeof oi.performance.now=="function";class Ro{static create(t=!0){return new Ro(t)}constructor(t){this._highResolution=fg&&t,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}_now(){return this._highResolution?oi.performance.now():Date.now()}}var bl;(function(e){e.None=()=>Oo.None;function t(we,_e){return v(we,()=>{},0,void 0,!0,void 0,_e)}e.defer=t;function n(we){return(_e,Re=null,he)=>{let ct=!1,Pt;return Pt=we(un=>{if(!ct)return Pt?Pt.dispose():ct=!0,_e.call(Re,un)},null,he),ct&&Pt.dispose(),Pt}}e.once=n;function r(we,_e,Re){return l((he,ct=null,Pt)=>we(un=>he.call(ct,_e(un)),null,Pt),Re)}e.map=r;function i(we,_e,Re){return l((he,ct=null,Pt)=>we(un=>{_e(un),he.call(ct,un)},null,Pt),Re)}e.forEach=i;function s(we,_e,Re){return l((he,ct=null,Pt)=>we(un=>_e(un)&&he.call(ct,un),null,Pt),Re)}e.filter=s;function a(we){return we}e.signal=a;function o(...we){return(_e,Re=null,he)=>tg(...we.map(ct=>ct(Pt=>_e.call(Re,Pt),null,he)))}e.any=o;function u(we,_e,Re,he){let ct=Re;return r(we,Pt=>(ct=_e(ct,Pt),ct),he)}e.reduce=u;function l(we,_e){let Re;const he={onWillAddFirstListener(){Re=we(ct.fire,ct)},onDidRemoveLastListener(){Re?.dispose()}},ct=new Wi(he);return _e?.add(ct),ct.event}function v(we,_e,Re=100,he=!1,ct=!1,Pt,un){let fn,Nn,Qn,dr=0,Zn;const si={leakWarningThreshold:Pt,onWillAddFirstListener(){fn=we(Ys=>{dr++,Nn=_e(Nn,Ys),he&&!Qn&&(ws.fire(Nn),Nn=void 0),Zn=()=>{const So=Nn;Nn=void 0,Qn=void 0,(!he||dr>1)&&ws.fire(So),dr=0},typeof Re=="number"?(clearTimeout(Qn),Qn=setTimeout(Zn,Re)):Qn===void 0&&(Qn=0,queueMicrotask(Zn))})},onWillRemoveListener(){ct&&dr>0&&Zn?.()},onDidRemoveLastListener(){Zn=void 0,fn.dispose()}},ws=new Wi(si);return un?.add(ws),ws.event}e.debounce=v;function p(we,_e=0,Re){return e.debounce(we,(he,ct)=>he?(he.push(ct),he):[ct],_e,void 0,!0,void 0,Re)}e.accumulate=p;function j(we,_e=(he,ct)=>he===ct,Re){let he=!0,ct;return s(we,Pt=>{const un=he||!_e(Pt,ct);return he=!1,ct=Pt,un},Re)}e.latch=j;function R(we,_e,Re){return[e.filter(we,_e,Re),e.filter(we,he=>!_e(he),Re)]}e.split=R;function se(we,_e=!1,Re=[]){let he=Re.slice(),ct=we(fn=>{he?he.push(fn):un.fire(fn)});const Pt=()=>{he?.forEach(fn=>un.fire(fn)),he=null},un=new Wi({onWillAddFirstListener(){ct||(ct=we(fn=>un.fire(fn)))},onDidAddFirstListener(){he&&(_e?setTimeout(Pt):Pt())},onDidRemoveLastListener(){ct&&ct.dispose(),ct=null}});return un.event}e.buffer=se;class te{constructor(_e){this.event=_e,this.disposables=new ks}map(_e){return new te(r(this.event,_e,this.disposables))}forEach(_e){return new te(i(this.event,_e,this.disposables))}filter(_e){return new te(s(this.event,_e,this.disposables))}reduce(_e,Re){return new te(u(this.event,_e,Re,this.disposables))}latch(){return new te(j(this.event,void 0,this.disposables))}debounce(_e,Re=100,he=!1,ct=!1,Pt){return new te(v(this.event,_e,Re,he,ct,Pt,this.disposables))}on(_e,Re,he){return this.event(_e,Re,he)}once(_e,Re,he){return n(this.event)(_e,Re,he)}dispose(){this.disposables.dispose()}}function P(we){return new te(we)}e.chain=P;function ue(we,_e,Re=he=>he){const he=(...fn)=>un.fire(Re(...fn)),ct=()=>we.on(_e,he),Pt=()=>we.removeListener(_e,he),un=new Wi({onWillAddFirstListener:ct,onDidRemoveLastListener:Pt});return un.event}e.fromNodeEventEmitter=ue;function ke(we,_e,Re=he=>he){const he=(...fn)=>un.fire(Re(...fn)),ct=()=>we.addEventListener(_e,he),Pt=()=>we.removeEventListener(_e,he),un=new Wi({onWillAddFirstListener:ct,onDidRemoveLastListener:Pt});return un.event}e.fromDOMEventEmitter=ke;function Be(we){return new Promise(_e=>n(we)(_e))}e.toPromise=Be;function Je(we,_e){return _e(void 0),we(Re=>_e(Re))}e.runAndSubscribe=Je;function ve(we,_e){let Re=null;function he(Pt){Re?.dispose(),Re=new ks,_e(Pt,Re)}he(void 0);const ct=we(Pt=>he(Pt));return Mo(()=>{ct.dispose(),Re?.dispose()})}e.runAndSubscribeWithStore=ve;class Oe{constructor(_e,Re){this._observable=_e,this._counter=0,this._hasChanged=!1;const he={onWillAddFirstListener:()=>{_e.addObserver(this)},onDidRemoveLastListener:()=>{_e.removeObserver(this)}};this.emitter=new Wi(he),Re&&Re.add(this.emitter)}beginUpdate(_e){this._counter++}handlePossibleChange(_e){}handleChange(_e,Re){this._hasChanged=!0}endUpdate(_e){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function Et(we,_e){return new Oe(we,_e).emitter.event}e.fromObservable=Et;function Ft(we){return _e=>{let Re=0,he=!1;const ct={beginUpdate(){Re++},endUpdate(){Re--,Re===0&&(we.reportChanges(),he&&(he=!1,_e()))},handlePossibleChange(){},handleChange(){he=!0}};return we.addObserver(ct),{dispose(){we.removeObserver(ct)}}}}e.fromObservableLight=Ft})(bl||(bl={}));class aa{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${aa._idPool++}`,aa.all.add(this)}start(t){this._stopWatch=new Ro(!0),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}}}aa.all=new Set,aa._idPool=0;let pg=-1;class dg{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 vl{static create(){var t;return new vl((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 hg{constructor(t,n,r){this.callback=t,this.callbackThis=n,this.stack=r,this.subscription=new ng}invoke(t){this.callback.call(this.callbackThis,t)}}class Wi{constructor(t){var n,r,i,s,a;this._disposed=!1,this._options=t,this._leakageMon=!((n=this._options)===null||n===void 0)&&n.leakWarningThreshold?new dg((i=(r=this._options)===null||r===void 0?void 0:r.leakWarningThreshold)!==null&&i!==void 0?i:pg):void 0,this._perfMon=!((s=this._options)===null||s===void 0)&&s._profName?new aa(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,this._listeners&&this._listeners.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(this),(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(){return this._event||(this._event=(t,n,r)=>{var i,s,a;if(this._listeners||(this._listeners=new jo),this._leakageMon&&this._listeners.size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),Oo.None;const o=this._listeners.isEmpty();o&&(!((i=this._options)===null||i===void 0)&&i.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this);let u,l;this._leakageMon&&this._listeners.size>=Math.ceil(this._leakageMon.threshold*.2)&&(l=vl.create(),u=this._leakageMon.check(l,this._listeners.size+1));const v=new hg(t,n,l),p=this._listeners.push(v);o&&(!((s=this._options)===null||s===void 0)&&s.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),!((a=this._options)===null||a===void 0)&&a.onDidAddListener&&this._options.onDidAddListener(this,t,n);const j=v.subscription.set(()=>{var R,se;u?.(),this._disposed||((se=(R=this._options)===null||R===void 0?void 0:R.onWillRemoveListener)===null||se===void 0||se.call(R,this),p(),this._options&&this._options.onDidRemoveLastListener&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this)))});return r instanceof ks?r.add(j):Array.isArray(r)&&r.push(j),j}),this._event}fire(t){var n,r,i;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new gg((n=this._options)===null||n===void 0?void 0:n.onListenerError));for(const s of this._listeners)this._deliveryQueue.push(this,s,t);(r=this._perfMon)===null||r===void 0||r.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),(i=this._perfMon)===null||i===void 0||i.stop()}}hasListeners(){return this._listeners?!this._listeners.isEmpty():!1}}class mg{constructor(t=tp){this._onListenerError=t,this._queue=new jo}get size(){return this._queue.size}push(t,n,r){this._queue.push(new yg(t,n,r))}clear(t){const n=new jo;for(const r of this._queue)r.emitter!==t&&n.push(r);this._queue=n}deliver(){for(;this._queue.size>0;){const t=this._queue.shift();try{t.listener.invoke(t.event)}catch(n){this._onListenerError(n)}}}}class gg extends mg{clear(t){this._queue.clear()}}class yg{constructor(t,n,r){this.emitter=t,this.listener=n,this.event=r}}function Dg(e){return typeof e=="string"}function bg(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function El(e){const t=[];for(const n of bg(e))typeof e[n]=="function"&&t.push(n);return t}function vg(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}class Eg{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 ap{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 op;function Ag(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Cg(e){return e.split(/\r\n|\r|\n/)}function Sg(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 xg(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 up(e){return e>=65&&e<=90}function Al(e){return 55296<=e&&e<=56319}function wg(e){return 56320<=e&&e<=57343}function Fg(e,t){return(e-55296<<10)+(t-56320)+65536}function Ng(e,t,n){const r=e.charCodeAt(n);if(Al(r)&&n+1<t){const i=e.charCodeAt(n+1);if(wg(i))return Fg(r,i)}return r}const Tg=/^[\t\n\r\x20-\x7E]*$/;function _g(e){return Tg.test(e)}class Ei{static getInstance(t){return Ei.cache.get(Array.from(t))}static getLocales(){return Ei._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())}}op=Ei,Ei.ambiguousCharacterData=new ap(()=>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]}')),Ei.cache=new Eg(e=>{function t(l){const v=new Map;for(let p=0;p<l.length;p+=2)v.set(l[p],l[p+1]);return v}function n(l,v){const p=new Map(l);for(const[j,R]of v)p.set(j,R);return p}function r(l,v){if(!l)return v;const p=new Map;for(const[j,R]of l)v.has(j)&&p.set(j,R);return p}const i=op.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 v=t(i[l]);a=r(a,v)}const o=t(i._common),u=n(o,a);return new Ei(u)}),Ei._locales=new ap(()=>Object.keys(Ei.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class ls{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(ls.getRawData())),this._data}static isInvisibleCharacter(t){return ls.getData().has(t)}static get codePoints(){return ls.getData()}}ls._data=void 0;const kg="$initialize";class Lg{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.method=r,this.args=i,this.type=0}}class lp{constructor(t,n,r,i){this.vsWorker=t,this.seq=n,this.res=r,this.err=i,this.type=1}}class Pg{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.eventName=r,this.arg=i,this.type=2}}class Bg{constructor(t,n,r){this.vsWorker=t,this.req=n,this.event=r,this.type=3}}class Ig{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class Mg{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 Lg(this._workerId,r,t,n))})}listen(t,n){let r=null;const i=new Wi({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,i),this._send(new Pg(this._workerId,r,t,n))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new Ig(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 lp(this._workerId,n,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=np(i.detail)),this._send(new lp(this._workerId,n,void 0,np(i)))})}_handleSubscribeEventMessage(t){const n=t.req,r=this._handler.handleEvent(t.eventName,t.arg)(i=>{this._send(new Bg(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 cp(e){return e[0]==="o"&&e[1]==="n"&&up(e.charCodeAt(2))}function fp(e){return/^onDynamic/.test(e)&&up(e.charCodeAt(9))}function Og(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(fp(a)){s[a]=i(a);continue}if(cp(a)){s[a]=n(a,void 0);continue}s[a]=r(a)}return s}class jg{constructor(t,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new Mg({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===kg)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(fp(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(cp(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=Og(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(El(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 v=globalThis.require;v([r],p=>{if(this._requestHandler=p.create(o),!this._requestHandler){l(new Error("No RequestHandler!"));return}u(El(this._requestHandler))},l)}))}}class cs{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 pp(e,t){return(t<<5)-t+e|0}function $g(e,t){t=pp(149417,t);for(let n=0,r=e.length;n<r;n++)t=pp(e.charCodeAt(n),t);return t}class dp{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 Rg(e,t,n){return new fs(new dp(e),new dp(t)).ComputeDiff(n).changes}class oa{static Assert(t,n){if(!t)throw new Error(n)}}class ua{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 hp{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 cs(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 fs{constructor(t,n,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=t,this._modifiedSequence=n;const[i,s,a]=fs._getElements(t),[o,u,l]=fs._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(fs._isStringArray(n)){const r=new Int32Array(n.length);for(let i=0,s=n.length;i<s;i++)r[i]=$g(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=fs._getStrictElement(this._originalSequence,t),i=fs._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 p;return r<=i?(oa.Assert(t===n+1,"originalStart should only be one more than originalEnd"),p=[new cs(t,0,r,i-r+1)]):t<=n?(oa.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),p=[new cs(t,n-t+1,r,0)]):(oa.Assert(t===n+1,"originalStart should only be one more than originalEnd"),oa.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),p=[]),p}const a=[0],o=[0],u=this.ComputeRecursionPoint(t,n,r,i,a,o,s),l=a[0],v=o[0];if(u!==null)return u;if(!s[0]){const p=this.ComputeDiffRecursive(t,l,r,v,s);let j=[];return s[0]?j=[new cs(l+1,n-(l+1)+1,v+1,i-(v+1)+1)]:j=this.ComputeDiffRecursive(l+1,n,v+1,i,s),this.ConcatenateChanges(p,j)}return[new cs(t,n-t+1,r,i-r+1)]}WALKTRACE(t,n,r,i,s,a,o,u,l,v,p,j,R,se,te,P,ue,ke){let Be=null,Je=null,ve=new hp,Oe=n,Et=r,Ft=R[0]-P[0]-i,we=-1073741824,_e=this.m_forwardHistory.length-1;do{const Re=Ft+t;Re===Oe||Re<Et&&l[Re-1]<l[Re+1]?(p=l[Re+1],se=p-Ft-i,p<we&&ve.MarkNextChange(),we=p,ve.AddModifiedElement(p+1,se),Ft=Re+1-t):(p=l[Re-1]+1,se=p-Ft-i,p<we&&ve.MarkNextChange(),we=p-1,ve.AddOriginalElement(p,se+1),Ft=Re-1-t),_e>=0&&(l=this.m_forwardHistory[_e],t=l[0],Oe=1,Et=l.length-1)}while(--_e>=-1);if(Be=ve.getReverseChanges(),ke[0]){let Re=R[0]+1,he=P[0]+1;if(Be!==null&&Be.length>0){const ct=Be[Be.length-1];Re=Math.max(Re,ct.getOriginalEnd()),he=Math.max(he,ct.getModifiedEnd())}Je=[new cs(Re,j-Re+1,he,te-he+1)]}else{ve=new hp,Oe=a,Et=o,Ft=R[0]-P[0]-u,we=1073741824,_e=ue?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const Re=Ft+s;Re===Oe||Re<Et&&v[Re-1]>=v[Re+1]?(p=v[Re+1]-1,se=p-Ft-u,p>we&&ve.MarkNextChange(),we=p+1,ve.AddOriginalElement(p+1,se+1),Ft=Re+1-s):(p=v[Re-1],se=p-Ft-u,p>we&&ve.MarkNextChange(),we=p,ve.AddModifiedElement(p+1,se+1),Ft=Re-1-s),_e>=0&&(v=this.m_reverseHistory[_e],s=v[0],Oe=1,Et=v.length-1)}while(--_e>=-1);Je=ve.getChanges()}return this.ConcatenateChanges(Be,Je)}ComputeRecursionPoint(t,n,r,i,s,a,o){let u=0,l=0,v=0,p=0,j=0,R=0;t--,r--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const se=n-t+(i-r),te=se+1,P=new Int32Array(te),ue=new Int32Array(te),ke=i-r,Be=n-t,Je=t-r,ve=n-i,Et=(Be-ke)%2===0;P[ke]=t,ue[Be]=n,o[0]=!1;for(let Ft=1;Ft<=se/2+1;Ft++){let we=0,_e=0;v=this.ClipDiagonalBound(ke-Ft,Ft,ke,te),p=this.ClipDiagonalBound(ke+Ft,Ft,ke,te);for(let he=v;he<=p;he+=2){he===v||he<p&&P[he-1]<P[he+1]?u=P[he+1]:u=P[he-1]+1,l=u-(he-ke)-Je;const ct=u;for(;u<n&&l<i&&this.ElementsAreEqual(u+1,l+1);)u++,l++;if(P[he]=u,u+l>we+_e&&(we=u,_e=l),!Et&&Math.abs(he-Be)<=Ft-1&&u>=ue[he])return s[0]=u,a[0]=l,ct<=ue[he]&&1447>0&&Ft<=1447+1?this.WALKTRACE(ke,v,p,Je,Be,j,R,ve,P,ue,u,n,s,l,i,a,Et,o):null}const Re=(we-t+(_e-r)-Ft)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(we,Re))return o[0]=!0,s[0]=we,a[0]=_e,Re>0&&1447>0&&Ft<=1447+1?this.WALKTRACE(ke,v,p,Je,Be,j,R,ve,P,ue,u,n,s,l,i,a,Et,o):(t++,r++,[new cs(t,n-t+1,r,i-r+1)]);j=this.ClipDiagonalBound(Be-Ft,Ft,Be,te),R=this.ClipDiagonalBound(Be+Ft,Ft,Be,te);for(let he=j;he<=R;he+=2){he===j||he<R&&ue[he-1]>=ue[he+1]?u=ue[he+1]-1:u=ue[he-1],l=u-(he-Be)-ve;const ct=u;for(;u>t&&l>r&&this.ElementsAreEqual(u,l);)u--,l--;if(ue[he]=u,Et&&Math.abs(he-ke)<=Ft&&u<=P[he])return s[0]=u,a[0]=l,ct>=P[he]&&1447>0&&Ft<=1447+1?this.WALKTRACE(ke,v,p,Je,Be,j,R,ve,P,ue,u,n,s,l,i,a,Et,o):null}if(Ft<=1447){let he=new Int32Array(p-v+2);he[0]=ke-v+1,ua.Copy2(P,v,he,1,p-v+1),this.m_forwardHistory.push(he),he=new Int32Array(R-j+2),he[0]=Be-j+1,ua.Copy2(ue,j,he,1,R-j+1),this.m_reverseHistory.push(he)}}return this.WALKTRACE(ke,v,p,Je,Be,j,R,ve,P,ue,u,n,s,l,i,a,Et,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 p=t[n-1];i=p.originalStart+p.originalLength,s=p.modifiedStart+p.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 p=1;;p++){const j=r.originalStart-p,R=r.modifiedStart-p;if(j<i||R<s||a&&!this.OriginalElementsAreEqual(j,j+r.originalLength)||o&&!this.ModifiedElementsAreEqual(R,R+r.modifiedLength))break;const te=(j===i&&R===s?5:0)+this._boundaryScore(j,r.originalLength,R,r.modifiedLength);te>l&&(l=te,u=p)}r.originalStart-=u,r.modifiedStart-=u;const v=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],v)){t[n-1]=v[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,v=i.modifiedStart,p=s.modifiedStart+s.modifiedLength,j=p-v;if(a<5&&l<20&&j<20){const R=this._findBetterContiguousSequence(o,l,v,j,a);if(R){const[se,te]=R;(se!==i.originalStart+i.originalLength||te!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=se-i.originalStart,i.modifiedLength=te-i.modifiedStart,s.originalStart=se+a,s.modifiedStart=te+a,s.originalLength=u-s.originalStart,s.modifiedLength=p-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,v=0;for(let p=t;p<a;p++)for(let j=r;j<o;j++){const R=this._contiguousSequenceScore(p,j,s);R>0&&R>u&&(u=R,l=p,v=j)}return u>0?[l,v]: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 ua.Copy(t,0,i,0,t.length-1),i[t.length-1]=r[0],ua.Copy(n,1,i,t.length,n.length-1),i}else{const i=new Array(t.length+n.length);return ua.Copy(t,0,i,0,t.length),ua.Copy(n,0,i,t.length,n.length),i}}ChangesOverlap(t,n,r){if(oa.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),oa.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 cs(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 la;if(typeof oi.vscode<"u"&&typeof oi.vscode.process<"u"){const e=oi.vscode.process;la={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"?la={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:la={get platform(){return Ka?"win32":ug?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Vo=la.cwd,Vg=la.env,Ug=la.platform,qg=65,Wg=97,Gg=90,Jg=122,ps=46,Ur=47,ui=92,ds=58,Yg=63;class mp 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 Hg(e,t){if(e===null||typeof e!="object")throw new mp(t,"Object",e)}function wr(e,t){if(typeof e!="string")throw new mp(t,"string",e)}const hs=Ug==="win32";function Jn(e){return e===Ur||e===ui}function Cl(e){return e===Ur}function ms(e){return e>=qg&&e<=Gg||e>=Wg&&e<=Jg}function Uo(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=Ur}if(r(u)){if(!(a===l-1||o===1))if(o===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==ps||i.charCodeAt(i.length-2)!==ps){if(i.length>2){const v=i.lastIndexOf(n);v===-1?(i="",s=0):(i=i.slice(0,v),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===ps&&o!==-1?++o:o=-1}return i}function gp(e,t){Hg(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 ei={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],wr(s,"path"),s.length===0)continue}else t.length===0?s=Vo():(s=Vg[`=${t}`]||Vo(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===ui)&&(s=`${t}\\`));const a=s.length;let o=0,u="",l=!1;const v=s.charCodeAt(0);if(a===1)Jn(v)&&(o=1,l=!0);else if(Jn(v))if(l=!0,Jn(s.charCodeAt(1))){let p=2,j=p;for(;p<a&&!Jn(s.charCodeAt(p));)p++;if(p<a&&p!==j){const R=s.slice(j,p);for(j=p;p<a&&Jn(s.charCodeAt(p));)p++;if(p<a&&p!==j){for(j=p;p<a&&!Jn(s.charCodeAt(p));)p++;(p===a||p!==j)&&(u=`\\\\${R}\\${s.slice(j,p)}`,o=p)}}}else o=1;else ms(v)&&s.charCodeAt(1)===ds&&(u=s.slice(0,2),o=2,a>2&&Jn(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=Uo(n,!r,"\\",Jn),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){wr(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 Cl(s)?"\\":e;if(Jn(s))if(i=!0,Jn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!Jn(e.charCodeAt(o));)o++;if(o<t&&o!==u){const l=e.slice(u,o);for(u=o;o<t&&Jn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!Jn(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 ms(s)&&e.charCodeAt(1)===ds&&(r=e.slice(0,2),n=2,t>2&&Jn(e.charCodeAt(2))&&(i=!0,n=3));let a=n<t?Uo(e.slice(n),!i,"\\",Jn):"";return a.length===0&&!i&&(a="."),a.length>0&&Jn(e.charCodeAt(t-1))&&(a+="\\"),r===void 0?i?`\\${a}`:a:i?`${r}\\${a}`:`${r}${a}`},isAbsolute(e){wr(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return Jn(n)||t>2&&ms(n)&&e.charCodeAt(1)===ds&&Jn(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];wr(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"&&Jn(n.charCodeAt(0))){++i;const s=n.length;s>1&&Jn(n.charCodeAt(1))&&(++i,s>2&&(Jn(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&Jn(t.charCodeAt(i));)i++;i>=2&&(t=`\\${t.slice(i)}`)}return ei.normalize(t)},relative(e,t){if(wr(e,"from"),wr(t,"to"),e===t)return"";const n=ei.resolve(e),r=ei.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===ui;)i++;let s=e.length;for(;s-1>i&&e.charCodeAt(s-1)===ui;)s--;const a=s-i;let o=0;for(;o<t.length&&t.charCodeAt(o)===ui;)o++;let u=t.length;for(;u-1>o&&t.charCodeAt(u-1)===ui;)u--;const l=u-o,v=a<l?a:l;let p=-1,j=0;for(;j<v;j++){const se=e.charCodeAt(i+j);if(se!==t.charCodeAt(o+j))break;se===ui&&(p=j)}if(j!==v){if(p===-1)return r}else{if(l>v){if(t.charCodeAt(o+j)===ui)return r.slice(o+j+1);if(j===2)return r.slice(o+j)}a>v&&(e.charCodeAt(i+j)===ui?p=j:j===2&&(p=3)),p===-1&&(p=0)}let R="";for(j=i+p+1;j<=s;++j)(j===s||e.charCodeAt(j)===ui)&&(R+=R.length===0?"..":"\\..");return o+=p,R.length>0?`${R}${r.slice(o,u)}`:(r.charCodeAt(o)===ui&&++o,r.slice(o,u))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=ei.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===ui){if(t.charCodeAt(1)===ui){const n=t.charCodeAt(2);if(n!==Yg&&n!==ps)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(ms(t.charCodeAt(0))&&t.charCodeAt(1)===ds&&t.charCodeAt(2)===ui)return`\\\\?\\${t}`;return e},dirname(e){wr(e,"path");const t=e.length;if(t===0)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(t===1)return Jn(i)?e:".";if(Jn(i)){if(n=r=1,Jn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!Jn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&Jn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!Jn(e.charCodeAt(o));)o++;if(o===t)return e;o!==u&&(n=r=o+1)}}}}else ms(i)&&e.charCodeAt(1)===ds&&(n=t>2&&Jn(e.charCodeAt(2))?3:2,r=n);let s=-1,a=!0;for(let o=t-1;o>=r;--o)if(Jn(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&&wr(t,"ext"),wr(e,"path");let n=0,r=-1,i=!0,s;if(e.length>=2&&ms(e.charCodeAt(0))&&e.charCodeAt(1)===ds&&(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(Jn(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(Jn(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){wr(e,"path");let t=0,n=-1,r=0,i=-1,s=!0,a=0;e.length>=2&&e.charCodeAt(1)===ds&&ms(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const u=e.charCodeAt(o);if(Jn(u)){if(!s){r=o+1;break}continue}i===-1&&(s=!1,i=o+1),u===ps?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:gp.bind(null,"\\"),parse(e){wr(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 Jn(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Jn(i)){if(r=1,Jn(e.charCodeAt(1))){let p=2,j=p;for(;p<n&&!Jn(e.charCodeAt(p));)p++;if(p<n&&p!==j){for(j=p;p<n&&Jn(e.charCodeAt(p));)p++;if(p<n&&p!==j){for(j=p;p<n&&!Jn(e.charCodeAt(p));)p++;p===n?r=p:p!==j&&(r=p+1)}}}}else if(ms(i)&&e.charCodeAt(1)===ds){if(n<=2)return t.root=t.dir=e,t;if(r=2,Jn(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,v=0;for(;l>=r;--l){if(i=e.charCodeAt(l),Jn(i)){if(!u){a=l+1;break}continue}o===-1&&(u=!1,o=l+1),i===ps?s===-1?s=l:v!==1&&(v=1):s!==-1&&(v=-1)}return o!==-1&&(s===-1||v===0||v===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},zg=(()=>{if(hs){const e=/\\/g;return()=>{const t=Vo().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>Vo()})(),li={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:zg();wr(i,"path"),i.length!==0&&(t=`${i}/${t}`,n=i.charCodeAt(0)===Ur)}return t=Uo(t,!n,"/",Cl),n?`/${t}`:t.length>0?t:"."},normalize(e){if(wr(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Ur,n=e.charCodeAt(e.length-1)===Ur;return e=Uo(e,!t,"/",Cl),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return wr(e,"path"),e.length>0&&e.charCodeAt(0)===Ur},join(...e){if(e.length===0)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];wr(r,"path"),r.length>0&&(t===void 0?t=r:t+=`/${r}`)}return t===void 0?".":li.normalize(t)},relative(e,t){if(wr(e,"from"),wr(t,"to"),e===t||(e=li.resolve(e),t=li.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 p=e.charCodeAt(n+l);if(p!==t.charCodeAt(s+l))break;p===Ur&&(u=l)}if(l===o)if(a>o){if(t.charCodeAt(s+l)===Ur)return t.slice(s+l+1);if(l===0)return t.slice(s+l)}else i>o&&(e.charCodeAt(n+l)===Ur?u=l:l===0&&(u=0));let v="";for(l=n+u+1;l<=r;++l)(l===r||e.charCodeAt(l)===Ur)&&(v+=v.length===0?"..":"/..");return`${v}${t.slice(s+u)}`},toNamespacedPath(e){return e},dirname(e){if(wr(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Ur;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===Ur){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&&wr(t,"ext"),wr(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===Ur){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)===Ur){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?"":e.slice(n,r)},extname(e){wr(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===Ur){if(!i){n=a+1;break}continue}r===-1&&(i=!1,r=a+1),o===ps?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:gp.bind(null,"/"),parse(e){wr(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===Ur;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 v=e.charCodeAt(u);if(v===Ur){if(!o){s=u+1;break}continue}a===-1&&(o=!1,a=u+1),v===ps?i===-1?i=u:l!==1&&(l=1):i!==-1&&(l=-1)}if(a!==-1){const v=s===0&&n?1:s;i===-1||l===0||l===1&&i===a-1&&i===s+1?t.base=t.name=e.slice(v,a):(t.name=e.slice(v,i),t.base=e.slice(v,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};li.win32=ei.win32=ei,li.posix=ei.posix=li,hs?ei.normalize:li.normalize,hs?ei.resolve:li.resolve,hs?ei.relative:li.relative,hs?ei.dirname:li.dirname,hs?ei.basename:li.basename,hs?ei.extname:li.extname,hs?ei.sep:li.sep;const Xg=/^\w[\w\d+.-]*$/,Qg=/^\//,Kg=/^\/\//;function Zg(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&&!Xg.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!Qg.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(Kg.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 e1(e,t){return!e&&!t?"file":e}function t1(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==Ii&&(t=Ii+t):t=Ii;break}return t}const Dr="",Ii="/",n1=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;let Sl=class pl{static isUri(t){return t instanceof pl?!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||Dr,this.authority=t.authority||Dr,this.path=t.path||Dr,this.query=t.query||Dr,this.fragment=t.fragment||Dr):(this.scheme=e1(t,a),this.authority=n||Dr,this.path=t1(this.scheme,r||Dr),this.query=i||Dr,this.fragment=s||Dr,Zg(this,a))}get fsPath(){return xl(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=Dr),r===void 0?r=this.authority:r===null&&(r=Dr),i===void 0?i=this.path:i===null&&(i=Dr),s===void 0?s=this.query:s===null&&(s=Dr),a===void 0?a=this.fragment:a===null&&(a=Dr),n===this.scheme&&r===this.authority&&i===this.path&&s===this.query&&a===this.fragment?this:new ca(n,r,i,s,a)}static parse(t,n=!1){const r=n1.exec(t);return r?new ca(r[2]||Dr,qo(r[4]||Dr),qo(r[5]||Dr),qo(r[7]||Dr),qo(r[9]||Dr),n):new ca(Dr,Dr,Dr,Dr,Dr)}static file(t){let n=Dr;if(Ka&&(t=t.replace(/\\/g,Ii)),t[0]===Ii&&t[1]===Ii){const r=t.indexOf(Ii,2);r===-1?(n=t.substring(2),t=Ii):(n=t.substring(2,r),t=t.substring(r)||Ii)}return new ca("file",n,t,Dr,Dr)}static from(t,n){return new ca(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 Ka&&t.scheme==="file"?r=pl.file(ei.join(xl(t,!0),...n)).path:r=li.join(t.path,...n),t.with({path:r})}toString(t=!1){return wl(this,t)}toJSON(){return this}static revive(t){var n,r;if(t){if(t instanceof pl)return t;{const i=new ca(t);return i._formatted=(n=t.external)!==null&&n!==void 0?n:null,i._fsPath=t._sep===yp&&(r=t.fsPath)!==null&&r!==void 0?r:null,i}}else return t}};const yp=Ka?1:void 0;class ca extends Sl{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=xl(this,!1)),this._fsPath}toString(t=!1){return t?wl(this,!0):(this._formatted||(this._formatted=wl(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=yp),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 Dp={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 bp(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=Dp[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 r1(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+=Dp[r]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function xl(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,Ka&&(n=n.replace(/\//g,"\\")),n}function wl(e,t){const n=t?r1:bp;let r="",{scheme:i,authority:s,path:a,query:o,fragment:u}=e;if(i&&(r+=i,r+=":"),(s||i==="file")&&(r+=Ii,r+=Ii),s){let l=s.indexOf("@");if(l!==-1){const v=s.substr(0,l);s=s.substr(l+1),l=v.lastIndexOf(":"),l===-1?r+=n(v,!1,!1):(r+=n(v.substr(0,l),!1,!1),r+=":",r+=n(v.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:bp(u,!1,!1)),r}function vp(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+vp(e.substr(3)):e}}const Ep=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function qo(e){return e.match(Ep)?e.replace(Ep,t=>vp(t)):e}let Gi=class na{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 na(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return na.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return na.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 na.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 na(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new na(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"}},Ai=class Br{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 Br.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return Br.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 Br.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 Br.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 Br.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 Br(r,i,s,a)}intersectRanges(t){return Br.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,v=n.endColumn;return r<o?(r=o,i=u):r===o&&(i=Math.max(i,u)),s>l?(s=l,a=v):s===l&&(a=Math.min(a,v)),r>s||r===s&&i>a?null:new Br(r,i,s,a)}equalsRange(t){return Br.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 Br.getEndPosition(this)}static getEndPosition(t){return new Gi(t.endLineNumber,t.endColumn)}getStartPosition(){return Br.getStartPosition(this)}static getStartPosition(t){return new Gi(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new Br(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new Br(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return Br.collapseToStart(this)}static collapseToStart(t){return new Br(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return Br.collapseToEnd(this)}static collapseToEnd(t){return new Br(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new Br(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new Br(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new Br(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,v=n.endLineNumber|0;if(l===v){const p=t.endColumn|0,j=n.endColumn|0;return p-j}return l-v}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}};var Ap;(function(e){function t(i){return i<0}e.isLessThan=t;function n(i){return i>0}e.isGreaterThan=n;function r(i){return i===0}e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(Ap||(Ap={}));function Cp(e){return e<0?0:e>255?255:e|0}function fa(e){return e<0?0:e>4294967295?4294967295:e|0}class i1{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=fa(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=fa(t),n=fa(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=fa(t),n=fa(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=fa(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 s1(i,t-a)}}class s1{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class a1{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 Gi(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 i1(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=Cg(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 o1="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function u1(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of o1)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const Sp=u1();function l1(e){let t=Sp;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 xp=new jo;xp.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Fl(e,t,n,r,i){if(i||(i=Io.first(xp)),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),Fl(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 v=a-i.windowSize*l;t.lastIndex=Math.max(0,v);const p=c1(t,n,a,o);if(!p&&u||(u=p,v<=0))break;o=v}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 c1(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 Nl{constructor(t){const n=Cp(t);this._defaultValue=n,this._asciiMap=Nl._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);return n.fill(t),n}set(t,n){const r=Cp(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 f1{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 p1{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 f1(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 Tl=null;function d1(){return Tl===null&&(Tl=new p1([[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]])),Tl}let Za=null;function h1(){if(Za===null){Za=new Nl(0);const e=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let n=0;n<e.length;n++)Za.set(e.charCodeAt(n),1);const t=".,;:";for(let n=0;n<t.length;n++)Za.set(t.charCodeAt(n),2)}return Za}class Wo{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=d1()){const r=h1(),i=[];for(let s=1,a=t.getLineCount();s<=a;s++){const o=t.getLineContent(s),u=o.length;let l=0,v=0,p=0,j=1,R=!1,se=!1,te=!1,P=!1;for(;l<u;){let ue=!1;const ke=o.charCodeAt(l);if(j===13){let Be;switch(ke){case 40:R=!0,Be=0;break;case 41:Be=R?0:1;break;case 91:te=!0,se=!0,Be=0;break;case 93:te=!1,Be=se?0:1;break;case 123:P=!0,Be=0;break;case 125:Be=P?0:1;break;case 39:case 34:case 96:p===ke?Be=1:p===39||p===34||p===96?Be=0:Be=1;break;case 42:Be=p===42?1:0;break;case 124:Be=p===124?1:0;break;case 32:Be=te?0:1;break;default:Be=r.get(ke)}Be===1&&(i.push(Wo._createLink(r,o,s,v,l)),ue=!0)}else if(j===12){let Be;ke===91?(se=!0,Be=0):Be=r.get(ke),Be===1?ue=!0:j=13}else j=n.nextState(j,ke),j===0&&(ue=!0);ue&&(j=1,R=!1,se=!1,P=!1,v=l+1,p=ke),l++}j===13&&i.push(Wo._createLink(r,o,s,v,u))}return i}}function m1(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:Wo.computeLinks(e)}class _l{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}}_l.INSTANCE=new _l;const wp=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var Go;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof Jo?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:bl.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:wp})})(Go||(Go={}));class Jo{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 Wi),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class g1{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 Jo),this._token}cancel(){this._token?this._token instanceof Jo&&this._token.cancel():this._token=Go.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)===null||n===void 0||n.dispose(),this._token?this._token instanceof Jo&&this._token.dispose():this._token=Go.None}}class kl{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 Yo=new kl,Ll=new kl,Pl=new kl,y1=new Array(230),D1=Object.create(null),b1=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,v,p,j,R]=i;if(r[a]||(r[a]=!0,D1[o]=a,b1[o.toLowerCase()]=a),!n[u]){if(n[u]=!0,!l)throw new Error(`String representation missing for key code ${u} around scan code ${o}`);Yo.define(u,l),Ll.define(u,j||l),Pl.define(u,R||j||l)}v&&(y1[v]=u)}})();var Fp;(function(e){function t(o){return Yo.keyCodeToStr(o)}e.toString=t;function n(o){return Yo.strToKeyCode(o)}e.fromString=n;function r(o){return Ll.keyCodeToStr(o)}e.toUserSettingsUS=r;function i(o){return Pl.keyCodeToStr(o)}e.toUserSettingsGeneral=i;function s(o){return Ll.strToKeyCode(o)||Pl.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 Yo.keyCodeToStr(o)}e.toElectronAccelerator=a})(Fp||(Fp={}));function v1(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}class mi extends Ai{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 mi.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 mi(this.startLineNumber,this.startColumn,t,n):new mi(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Gi(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Gi(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new mi(t,n,this.endLineNumber,this.endColumn):new mi(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new mi(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new mi(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new mi(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new mi(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 mi(t,n,r,i):new mi(r,i,t,n)}}const Np=Object.create(null);function L(e,t){if(Dg(t)){const n=Np[t];if(n===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return Np[e]=t,{id:e}}const wn={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),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),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),groupByRefType:L("group-by-ref-type",60311),ungroupByRefType:L("ungroup-by-ref-type",60312),account:L("account",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),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 Bl=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(v){try{l(r.next(v))}catch(p){a(p)}}function u(v){try{l(r.throw(v))}catch(p){a(p)}}function l(v){v.done?s(v.value):i(v.value).then(o,u)}l((r=r.apply(e,t||[])).next())})};class E1{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new Wi,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]),Mo(()=>{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 A1(this,t,n);return this._factories.set(t,i),Mo(()=>{const s=this._factories.get(t);!s||s!==i||(this._factories.delete(t),s.dispose())})}getOrCreate(t){return Bl(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 A1 extends Oo{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 Bl(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return Bl(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 C1{constructor(t,n,r){this.offset=t,this.type=n,this.language=r,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var Tp;(function(e){const t=new Map;t.set(0,wn.symbolMethod),t.set(1,wn.symbolFunction),t.set(2,wn.symbolConstructor),t.set(3,wn.symbolField),t.set(4,wn.symbolVariable),t.set(5,wn.symbolClass),t.set(6,wn.symbolStruct),t.set(7,wn.symbolInterface),t.set(8,wn.symbolModule),t.set(9,wn.symbolProperty),t.set(10,wn.symbolEvent),t.set(11,wn.symbolOperator),t.set(12,wn.symbolUnit),t.set(13,wn.symbolValue),t.set(15,wn.symbolEnum),t.set(14,wn.symbolConstant),t.set(15,wn.symbolEnum),t.set(16,wn.symbolEnumMember),t.set(17,wn.symbolKeyword),t.set(27,wn.symbolSnippet),t.set(18,wn.symbolText),t.set(19,wn.symbolColor),t.set(20,wn.symbolFile),t.set(21,wn.symbolReference),t.set(22,wn.symbolCustomColor),t.set(23,wn.symbolFolder),t.set(24,wn.symbolTypeParameter),t.set(25,wn.account),t.set(26,wn.issues);function n(s){let a=t.get(s);return a||(console.info("No codicon found for CompletionItemKind "+s),a=wn.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})(Tp||(Tp={}));var _p;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(_p||(_p={}));var kp;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(kp||(kp={}));var Lp;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Lp||(Lp={}));var Pp;(function(e){const t=new Map;t.set(0,wn.symbolFile),t.set(1,wn.symbolModule),t.set(2,wn.symbolNamespace),t.set(3,wn.symbolPackage),t.set(4,wn.symbolClass),t.set(5,wn.symbolMethod),t.set(6,wn.symbolProperty),t.set(7,wn.symbolField),t.set(8,wn.symbolConstructor),t.set(9,wn.symbolEnum),t.set(10,wn.symbolInterface),t.set(11,wn.symbolFunction),t.set(12,wn.symbolVariable),t.set(13,wn.symbolConstant),t.set(14,wn.symbolString),t.set(15,wn.symbolNumber),t.set(16,wn.symbolBoolean),t.set(17,wn.symbolArray),t.set(18,wn.symbolObject),t.set(19,wn.symbolKey),t.set(20,wn.symbolNull),t.set(21,wn.symbolEnumMember),t.set(22,wn.symbolStruct),t.set(23,wn.symbolEvent),t.set(24,wn.symbolOperator),t.set(25,wn.symbolTypeParameter);function n(r){let i=t.get(r);return i||(console.info("No codicon found for SymbolKind "+r),i=wn.symbolProperty),i}e.toIcon=n})(Pp||(Pp={}));var Bp;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(Bp||(Bp={}));var Ip;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Ip||(Ip={})),new E1;var Mp;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(Mp||(Mp={}));var Op;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(Op||(Op={}));var jp;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(jp||(jp={}));var $p;(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"})($p||($p={}));var Rp;(function(e){e[e.Deprecated=1]="Deprecated"})(Rp||(Rp={}));var Vp;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(Vp||(Vp={}));var Up;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(Up||(Up={}));var qp;(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"})(qp||(qp={}));var Wp;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Wp||(Wp={}));var Gp;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Gp||(Gp={}));var Jp;(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"})(Jp||(Jp={}));var Yp;(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.autoClosingBrackets=5]="autoClosingBrackets",e[e.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=7]="autoClosingDelete",e[e.autoClosingOvertype=8]="autoClosingOvertype",e[e.autoClosingQuotes=9]="autoClosingQuotes",e[e.autoIndent=10]="autoIndent",e[e.automaticLayout=11]="automaticLayout",e[e.autoSurround=12]="autoSurround",e[e.bracketPairColorization=13]="bracketPairColorization",e[e.guides=14]="guides",e[e.codeLens=15]="codeLens",e[e.codeLensFontFamily=16]="codeLensFontFamily",e[e.codeLensFontSize=17]="codeLensFontSize",e[e.colorDecorators=18]="colorDecorators",e[e.colorDecoratorsLimit=19]="colorDecoratorsLimit",e[e.columnSelection=20]="columnSelection",e[e.comments=21]="comments",e[e.contextmenu=22]="contextmenu",e[e.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",e[e.cursorBlinking=24]="cursorBlinking",e[e.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",e[e.cursorStyle=26]="cursorStyle",e[e.cursorSurroundingLines=27]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",e[e.cursorWidth=29]="cursorWidth",e[e.disableLayerHinting=30]="disableLayerHinting",e[e.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",e[e.domReadOnly=32]="domReadOnly",e[e.dragAndDrop=33]="dragAndDrop",e[e.dropIntoEditor=34]="dropIntoEditor",e[e.emptySelectionClipboard=35]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",e[e.extraEditorClassName=37]="extraEditorClassName",e[e.fastScrollSensitivity=38]="fastScrollSensitivity",e[e.find=39]="find",e[e.fixedOverflowWidgets=40]="fixedOverflowWidgets",e[e.folding=41]="folding",e[e.foldingStrategy=42]="foldingStrategy",e[e.foldingHighlight=43]="foldingHighlight",e[e.foldingImportsByDefault=44]="foldingImportsByDefault",e[e.foldingMaximumRegions=45]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=47]="fontFamily",e[e.fontInfo=48]="fontInfo",e[e.fontLigatures=49]="fontLigatures",e[e.fontSize=50]="fontSize",e[e.fontWeight=51]="fontWeight",e[e.fontVariations=52]="fontVariations",e[e.formatOnPaste=53]="formatOnPaste",e[e.formatOnType=54]="formatOnType",e[e.glyphMargin=55]="glyphMargin",e[e.gotoLocation=56]="gotoLocation",e[e.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",e[e.hover=58]="hover",e[e.inDiffEditor=59]="inDiffEditor",e[e.inlineSuggest=60]="inlineSuggest",e[e.letterSpacing=61]="letterSpacing",e[e.lightbulb=62]="lightbulb",e[e.lineDecorationsWidth=63]="lineDecorationsWidth",e[e.lineHeight=64]="lineHeight",e[e.lineNumbers=65]="lineNumbers",e[e.lineNumbersMinChars=66]="lineNumbersMinChars",e[e.linkedEditing=67]="linkedEditing",e[e.links=68]="links",e[e.matchBrackets=69]="matchBrackets",e[e.minimap=70]="minimap",e[e.mouseStyle=71]="mouseStyle",e[e.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=73]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",e[e.multiCursorModifier=75]="multiCursorModifier",e[e.multiCursorPaste=76]="multiCursorPaste",e[e.multiCursorLimit=77]="multiCursorLimit",e[e.occurrencesHighlight=78]="occurrencesHighlight",e[e.overviewRulerBorder=79]="overviewRulerBorder",e[e.overviewRulerLanes=80]="overviewRulerLanes",e[e.padding=81]="padding",e[e.pasteAs=82]="pasteAs",e[e.parameterHints=83]="parameterHints",e[e.peekWidgetDefaultFocus=84]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=85]="definitionLinkOpensInPeek",e[e.quickSuggestions=86]="quickSuggestions",e[e.quickSuggestionsDelay=87]="quickSuggestionsDelay",e[e.readOnly=88]="readOnly",e[e.renameOnType=89]="renameOnType",e[e.renderControlCharacters=90]="renderControlCharacters",e[e.renderFinalNewline=91]="renderFinalNewline",e[e.renderLineHighlight=92]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=93]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=94]="renderValidationDecorations",e[e.renderWhitespace=95]="renderWhitespace",e[e.revealHorizontalRightPadding=96]="revealHorizontalRightPadding",e[e.roundedSelection=97]="roundedSelection",e[e.rulers=98]="rulers",e[e.scrollbar=99]="scrollbar",e[e.scrollBeyondLastColumn=100]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=101]="scrollBeyondLastLine",e[e.scrollPredominantAxis=102]="scrollPredominantAxis",e[e.selectionClipboard=103]="selectionClipboard",e[e.selectionHighlight=104]="selectionHighlight",e[e.selectOnLineNumbers=105]="selectOnLineNumbers",e[e.showFoldingControls=106]="showFoldingControls",e[e.showUnused=107]="showUnused",e[e.snippetSuggestions=108]="snippetSuggestions",e[e.smartSelect=109]="smartSelect",e[e.smoothScrolling=110]="smoothScrolling",e[e.stickyScroll=111]="stickyScroll",e[e.stickyTabStops=112]="stickyTabStops",e[e.stopRenderingLineAfter=113]="stopRenderingLineAfter",e[e.suggest=114]="suggest",e[e.suggestFontSize=115]="suggestFontSize",e[e.suggestLineHeight=116]="suggestLineHeight",e[e.suggestOnTriggerCharacters=117]="suggestOnTriggerCharacters",e[e.suggestSelection=118]="suggestSelection",e[e.tabCompletion=119]="tabCompletion",e[e.tabIndex=120]="tabIndex",e[e.unicodeHighlighting=121]="unicodeHighlighting",e[e.unusualLineTerminators=122]="unusualLineTerminators",e[e.useShadowDOM=123]="useShadowDOM",e[e.useTabStops=124]="useTabStops",e[e.wordBreak=125]="wordBreak",e[e.wordSeparators=126]="wordSeparators",e[e.wordWrap=127]="wordWrap",e[e.wordWrapBreakAfterCharacters=128]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=129]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=130]="wordWrapColumn",e[e.wordWrapOverride1=131]="wordWrapOverride1",e[e.wordWrapOverride2=132]="wordWrapOverride2",e[e.wrappingIndent=133]="wrappingIndent",e[e.wrappingStrategy=134]="wrappingStrategy",e[e.showDeprecated=135]="showDeprecated",e[e.inlayHints=136]="inlayHints",e[e.editorClassName=137]="editorClassName",e[e.pixelRatio=138]="pixelRatio",e[e.tabFocusMode=139]="tabFocusMode",e[e.layoutInfo=140]="layoutInfo",e[e.wrappingInfo=141]="wrappingInfo",e[e.defaultColorDecorators=142]="defaultColorDecorators"})(Yp||(Yp={}));var Hp;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Hp||(Hp={}));var zp;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(zp||(zp={}));var Xp;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(Xp||(Xp={}));var Qp;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(Qp||(Qp={}));var Kp;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(Kp||(Kp={}));var Zp;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Zp||(Zp={}));var ed;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(ed||(ed={}));var Il;(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"})(Il||(Il={}));var Ml;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(Ml||(Ml={}));var Ol;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(Ol||(Ol={}));var td;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(td||(td={}));var nd;(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"})(nd||(nd={}));var rd;(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"})(rd||(rd={}));var id;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(id||(id={}));var sd;(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"})(sd||(sd={}));var ad;(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"})(ad||(ad={}));var od;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(od||(od={}));var ud;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(ud||(ud={}));var ld;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(ld||(ld={}));var jl;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(jl||(jl={}));var cd;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(cd||(cd={}));var fd;(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"})(fd||(fd={}));var pd;(function(e){e[e.Deprecated=1]="Deprecated"})(pd||(pd={}));var dd;(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"})(dd||(dd={}));var hd;(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"})(hd||(hd={}));var md;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(md||(md={}));var gd;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(gd||(gd={}));class eo{static chord(t,n){return v1(t,n)}}eo.CtrlCmd=2048,eo.Shift=1024,eo.Alt=512,eo.WinCtrl=256;function S1(){return{editor:void 0,languages:void 0,CancellationTokenSource:g1,Emitter:Wi,KeyCode:Il,KeyMod:eo,Position:Gi,Range:Ai,Selection:mi,SelectionDirection:jl,MarkerSeverity:Ml,MarkerTag:Ol,Uri:Sl,Token:C1}}var yd;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(yd||(yd={}));var Dd;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(Dd||(Dd={}));var bd;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(bd||(bd={}));var vd;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(vd||(vd={}));function x1(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 w1(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 F1(e,t,n,r,i){return x1(e,t,n,r,i)&&w1(e,t,n,r,i)}class N1{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){Ng(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||F1(this._wordSeparators,t,n,i,s))return r}while(r);return null}}function T1(e,t="Unreachable"){throw new Error(t)}function $l(e){if(!e()){debugger;e(),tp(new ia("Assertion Failed"))}}function Ed(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 _1{static computeUnicodeHighlights(t,n,r){const i=r?r.startLineNumber:1,s=r?r.endLineNumber:t.getLineCount(),a=new Ad(n),o=a.getCandidateCodePoints();let u;o==="allNonBasicAscii"?u=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):u=new RegExp(`${k1(Array.from(o))}`,"g");const l=new N1(null,u),v=[];let p=!1,j,R=0,se=0,te=0;e:for(let P=i,ue=s;P<=ue;P++){const ke=t.getLineContent(P),Be=ke.length;l.reset(0);do if(j=l.next(ke),j){let Je=j.index,ve=j.index+j[0].length;if(Je>0){const we=ke.charCodeAt(Je-1);Al(we)&&Je--}if(ve+1<Be){const we=ke.charCodeAt(ve-1);Al(we)&&ve++}const Oe=ke.substring(Je,ve);let Et=Fl(Je+1,Sp,ke,0);Et&&Et.endColumn<=Je+1&&(Et=null);const Ft=a.shouldHighlightNonBasicASCII(Oe,Et?Et.word:null);if(Ft!==0){Ft===3?R++:Ft===2?se++:Ft===1?te++:T1();const we=1e3;if(v.length>=we){p=!0;break e}v.push(new Ai(P,Je+1,P,ve+1))}}while(j)}return{ranges:v,hasMore:p,ambiguousCharacterCount:R,invisibleCharacterCount:se,nonBasicAsciiCharacterCount:te}}static computeUnicodeHighlightReason(t,n){const r=new Ad(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=Ei.getLocales().filter(u=>!Ei.getInstance(new Set([...n.allowedLocales,u])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}function k1(e,t){return`[${Ag(e.map(r=>String.fromCodePoint(r)).join(""))}]`}class Ad{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=Ei.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const t=new Set;if(this.options.invisibleCharacters)for(const n of ls.codePoints)Cd(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=_g(a);i=i||u,!u&&!this.ambiguousCharacters.isAmbiguous(o)&&!ls.isInvisibleCharacter(o)&&(s=!0)}return!i&&s?0:this.options.invisibleCharacters&&!Cd(t)&&ls.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function Cd(e){return e===" "||e===`
8
- `||e===" "}class Yr{static fromRange(t){return new Yr(t.startLineNumber,t.endLineNumber)}static joinMany(t){if(t.length===0)return[];let n=t[0];for(let r=1;r<t.length;r++)n=this.join(n,t[r]);return n}static join(t,n){if(t.length===0)return n;if(n.length===0)return t;const r=[];let i=0,s=0,a=null;for(;i<t.length||s<n.length;){let o=null;if(i<t.length&&s<n.length){const u=t[i],l=n[s];u.startLineNumber<l.startLineNumber?(o=u,i++):(o=l,s++)}else i<t.length?(o=t[i],i++):(o=n[s],s++);a===null?a=o:a.endLineNumberExclusive>=o.startLineNumber?a=new Yr(a.startLineNumber,Math.max(a.endLineNumberExclusive,o.endLineNumberExclusive)):(r.push(a),a=o)}return a!==null&&r.push(a),r}static ofLength(t,n){return new Yr(t,t+n)}constructor(t,n){if(t>n)throw new ia(`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 Yr(this.startLineNumber+t,this.endLineNumberExclusive+t)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(t){return new Yr(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 Yr(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 Ai(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new Ai(this.startLineNumber,1,this.endLineNumberExclusive,1)}}class Sd{constructor(t,n){this.changes=t,this.hitTimeout=n}}class Ls{static inverse(t,n,r){const i=[];let s=1,a=1;for(const u of t){const l=new Ls(new Yr(s,u.originalRange.startLineNumber),new Yr(a,u.modifiedRange.startLineNumber),void 0);l.modifiedRange.isEmpty||i.push(l),s=u.originalRange.endLineNumberExclusive,a=u.modifiedRange.endLineNumberExclusive}const o=new Ls(new Yr(s,n+1),new Yr(a,r+1),void 0);return o.modifiedRange.isEmpty||i.push(o),i}constructor(t,n,r){this.originalRange=t,this.modifiedRange=n,this.innerChanges=r}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}}class xd{constructor(t,n){this.originalRange=t,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}const L1=3;class P1{computeDiff(t,n,r){var i;const a=new M1(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 v;l.originalEndLineNumber===0?v=new Yr(l.originalStartLineNumber+1,l.originalStartLineNumber+1):v=new Yr(l.originalStartLineNumber,l.originalEndLineNumber+1);let p;l.modifiedEndLineNumber===0?p=new Yr(l.modifiedStartLineNumber+1,l.modifiedStartLineNumber+1):p=new Yr(l.modifiedStartLineNumber,l.modifiedEndLineNumber+1);let j=new Ls(v,p,(i=l.charChanges)===null||i===void 0?void 0:i.map(R=>new xd(new Ai(R.originalStartLineNumber,R.originalStartColumn,R.originalEndLineNumber,R.originalEndColumn),new Ai(R.modifiedStartLineNumber,R.modifiedStartColumn,R.modifiedEndLineNumber,R.modifiedEndColumn))));u&&(u.modifiedRange.endLineNumberExclusive===j.modifiedRange.startLineNumber||u.originalRange.endLineNumberExclusive===j.originalRange.startLineNumber)&&(j=new Ls(u.originalRange.join(j.originalRange),u.modifiedRange.join(j.modifiedRange),u.innerChanges&&j.innerChanges?u.innerChanges.concat(j.innerChanges):void 0),o.pop()),o.push(j),u=j}return $l(()=>Ed(o,(l,v)=>v.originalRange.startLineNumber-l.originalRange.endLineNumberExclusive===v.modifiedRange.startLineNumber-l.modifiedRange.endLineNumberExclusive&&l.originalRange.endLineNumberExclusive<v.originalRange.startLineNumber&&l.modifiedRange.endLineNumberExclusive<v.modifiedRange.startLineNumber)),new Sd(o,a.quitEarly)}}function wd(e,t,n,r){return new fs(e,t,n).ComputeDiff(r)}let Fd=class{constructor(t){const n=[],r=[];for(let i=0,s=t.length;i<s;i++)n[i]=Rl(t[i],1),r[i]=Vl(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],v=t?this._startColumns[u]:1,p=t?this._endColumns[u]:l.length+1;for(let j=v;j<p;j++)i[o]=l.charCodeAt(j-1),s[o]=u+1,a[o]=j,o++;!t&&u<r&&(i[o]=10,s[o]=u+1,a[o]=l.length+1,o++)}return new B1(i,s,a)}};class B1{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 pa{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),v=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),p=r.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new pa(i,s,a,o,u,l,v,p)}}function I1(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)<L1?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(t.push(s),n=s)}return t}class to{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,v,p,j;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?(v=i.getStartLineNumber(n.modifiedStart)-1,p=0):(v=i.getStartLineNumber(n.modifiedStart),p=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){const R=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),se=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(R.getElements().length>0&&se.getElements().length>0){let te=wd(R,se,s,!0).changes;o&&(te=I1(te)),j=[];for(let P=0,ue=te.length;P<ue;P++)j.push(pa.createFromDiffChange(te[P],R,se))}}return new to(u,l,v,p,j)}}class M1{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 Fd(t),this.modified=new Fd(n),this.continueLineDiff=Nd(r.maxComputationTime),this.continueCharDiff=Nd(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=wd(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(to.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,v=l?l.originalStart:this.originalLines.length,p=l?l.modifiedStart:this.modifiedLines.length;for(;s<v&&a<p;){const j=this.originalLines[s],R=this.modifiedLines[a];if(j!==R){{let se=Rl(j,1),te=Rl(R,1);for(;se>1&&te>1;){const P=j.charCodeAt(se-2),ue=R.charCodeAt(te-2);if(P!==ue)break;se--,te--}(se>1||te>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,se,a+1,1,te)}{let se=Vl(j,1),te=Vl(R,1);const P=j.length+1,ue=R.length+1;for(;se<P&&te<ue;){const ke=j.charCodeAt(se-1),Be=j.charCodeAt(te-1);if(ke!==Be)break;se++,te++}(se<P||te<ue)&&this._pushTrimWhitespaceCharChange(i,s+1,se,P,a+1,te,ue)}}s++,a++}l&&(i.push(to.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 pa(n,r,n,i,s,a,s,o)]),t.push(new to(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 pa(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 pa(n,r,n,i,s,a,s,o)),!0):!1}}function Rl(e,t){const n=Sg(e);return n===-1?t:n+1}function Vl(e,t){const n=xg(e);return n===-1?t:n+2}function Nd(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}class Tr{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 Tr(s,a))}}static tryCreate(t,n){if(!(t>n))return new Tr(t,n)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new ia(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new Tr(this.start+t,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}join(t){return new Tr(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 Tr(n,r)}}class Zi{static trivial(t,n){return new Zi([new Ci(new Tr(0,t.length),new Tr(0,n.length))],!1)}static trivialTimedOut(t,n){return new Zi([new Ci(new Tr(0,t.length),new Tr(0,n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}}class Ci{constructor(t,n){this.seq1Range=t,this.seq2Range=n}reverse(){return new Ci(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new Ci(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}}class no{isValid(){return!0}}no.instance=new no;class O1{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new ia("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime<this.timeout)&&this.valid){this.valid=!1;debugger}return this.valid}}class Ul{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}}class j1{compute(t,n,r=no.instance,i){if(t.length===0||n.length===0)return Zi.trivial(t,n);const s=new Ul(t.length,n.length),a=new Ul(t.length,n.length),o=new Ul(t.length,n.length);for(let se=0;se<t.length;se++)for(let te=0;te<n.length;te++){if(!r.isValid())return Zi.trivialTimedOut(t,n);const P=se===0?0:s.get(se-1,te),ue=te===0?0:s.get(se,te-1);let ke;t.getElement(se)===n.getElement(te)?(se===0||te===0?ke=0:ke=s.get(se-1,te-1),se>0&&te>0&&a.get(se-1,te-1)===3&&(ke+=o.get(se-1,te-1)),ke+=i?i(se,te):1):ke=-1;const Be=Math.max(P,ue,ke);if(Be===ke){const Je=se>0&&te>0?o.get(se-1,te-1):0;o.set(se,te,Je+1),a.set(se,te,3)}else Be===P?(o.set(se,te,0),a.set(se,te,1)):Be===ue&&(o.set(se,te,0),a.set(se,te,2));s.set(se,te,Be)}const u=[];let l=t.length,v=n.length;function p(se,te){(se+1!==l||te+1!==v)&&u.push(new Ci(new Tr(se+1,l),new Tr(te+1,v))),l=se,v=te}let j=t.length-1,R=n.length-1;for(;j>=0&&R>=0;)a.get(j,R)===3?(p(j,R),j--,R--):a.get(j,R)===1?j--:R--;return p(-1,-1),u.reverse(),new Zi(u,!1)}}function Td(e,t,n){let r=n;return r=R1(e,t,r),r=V1(e,t,r),r}function $1(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 Ci(s.seq1Range.join(i.seq1Range),s.seq2Range.join(i.seq2Range)):r.push(i)}return r}function R1(e,t,n){const r=[];n.length>0&&r.push(n[0]);for(let i=1;i<n.length;i++){const s=r[r.length-1],a=n[i];if(a.seq1Range.isEmpty){let o=!0;const u=a.seq1Range.start-s.seq1Range.endExclusive;for(let l=1;l<=u;l++)if(t.getElement(a.seq2Range.start-l)!==t.getElement(a.seq2Range.endExclusive-l)){o=!1;break}if(o){r[r.length-1]=new Ci(s.seq1Range,new Tr(s.seq2Range.start,a.seq2Range.endExclusive-u));continue}}r.push(a)}return r}function V1(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r<n.length;r++){const i=n[r];if(i.seq1Range.isEmpty){const s=r>0?n[r-1].seq2Range.endExclusive:-1,a=r+1<n.length?n[r+1].seq2Range.start:t.length;n[r]=_d(i,e,t,a,s)}else if(i.seq2Range.isEmpty){const s=r>0?n[r-1].seq1Range.endExclusive:-1,a=r+1<n.length?n[r+1].seq1Range.start:e.length;n[r]=_d(i.reverse(),t,e,a,s).reverse()}}return n}function _d(e,t,n,r,i){let a=1;for(;e.seq2Range.start-a>i&&n.getElement(e.seq2Range.start-a)===n.getElement(e.seq2Range.endExclusive-a)&&a<20;)a++;a--;let o=0;for(;e.seq2Range.start+o<r&&n.getElement(e.seq2Range.start+o)===n.getElement(e.seq2Range.endExclusive+o)&&o<20;)o++;if(a===0&&o===0)return e;let u=0,l=-1;for(let v=-a;v<=o;v++){const p=e.seq2Range.start+v,j=e.seq2Range.endExclusive+v,R=e.seq1Range.start+v,se=t.getBoundaryScore(R)+n.getBoundaryScore(p)+n.getBoundaryScore(j);se>l&&(l=se,u=v)}return u!==0?new Ci(e.seq1Range.delta(u),e.seq2Range.delta(u)):e}class U1{compute(t,n,r=no.instance){if(t.length===0||n.length===0)return Zi.trivial(t,n);function i(R,se){for(;R<t.length&&se<n.length&&t.getElement(R)===n.getElement(se);)R++,se++;return R}let s=0;const a=new q1;a.set(0,i(0,0));const o=new W1;o.set(0,a.get(0)===0?null:new kd(null,0,0,a.get(0)));let u=0;e:for(;;)for(s++,u=-s;u<=s;u+=2){if(!r.isValid())return Zi.trivialTimedOut(t,n);const R=u===s?-1:a.get(u+1),se=u===-s?-1:a.get(u-1)+1,te=Math.min(Math.max(R,se),t.length),P=te-u,ue=i(te,P);a.set(u,ue);const ke=te===R?o.get(u+1):o.get(u-1);if(o.set(u,ue!==te?new kd(ke,te,P,ue-te):ke),a.get(u)===t.length&&a.get(u)-u===n.length)break e}let l=o.get(u);const v=[];let p=t.length,j=n.length;for(;;){const R=l?l.x+l.length:0,se=l?l.y+l.length:0;if((R!==p||se!==j)&&v.push(new Ci(new Tr(R,p),new Tr(se,j))),!l)break;p=l.x,j=l.y,l=l.prev}return v.reverse(),new Zi(v,!1)}}class kd{constructor(t,n,r,i){this.prev=t,this.x=n,this.y=r,this.length=i}}class q1{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 W1{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 G1{constructor(){this.dynamicProgrammingDiffing=new j1,this.myersDiffingAlgorithm=new U1}computeDiff(t,n,r){const i=r.maxComputationTimeMs===0?no.instance:new O1(r.maxComputationTimeMs),s=!r.ignoreTrimWhitespace,a=new Map;function o(Je){let ve=a.get(Je);return ve===void 0&&(ve=a.size,a.set(Je,ve)),ve}const u=t.map(Je=>o(Je.trim())),l=n.map(Je=>o(Je.trim())),v=new Ld(u,t),p=new Ld(l,n),j=(()=>v.length+p.length<1500?this.dynamicProgrammingDiffing.compute(v,p,i,(Je,ve)=>t[Je]===n[ve]?n[ve].length===0?.1:1+Math.log(1+n[ve].length):.99):this.myersDiffingAlgorithm.compute(v,p))();let R=j.diffs,se=j.hitTimeout;R=Td(v,p,R);const te=[],P=Je=>{if(s)for(let ve=0;ve<Je;ve++){const Oe=ue+ve,Et=ke+ve;if(t[Oe]!==n[Et]){const Ft=this.refineDiff(t,n,new Ci(new Tr(Oe,Oe+1),new Tr(Et,Et+1)),i,s);for(const we of Ft.mappings)te.push(we);Ft.hitTimeout&&(se=!0)}}};let ue=0,ke=0;for(const Je of R){$l(()=>Je.seq1Range.start-ue===Je.seq2Range.start-ke);const ve=Je.seq1Range.start-ue;P(ve),ue=Je.seq1Range.endExclusive,ke=Je.seq2Range.endExclusive;const Oe=this.refineDiff(t,n,Je,i,s);Oe.hitTimeout&&(se=!0);for(const Et of Oe.mappings)te.push(Et)}P(t.length-ue);const Be=H1(te,t,n);return new Sd(Be,se)}refineDiff(t,n,r,i,s){const a=new Bd(t,r.seq1Range,s),o=new Bd(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=Td(a,o,l),l=J1(a,o,l),l=$1(a,o,l),{mappings:l.map(p=>new xd(a.translateRange(p.seq1Range),o.translateRange(p.seq2Range))),hitTimeout:u.hitTimeout}}}function J1(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 Ci(i.s1Range,i.s2Range)),i=void 0}for(const o of n){let u=function(R,se){var te,P,ue,ke;if(!i||!i.s1Range.containsRange(R)||!i.s2Range.containsRange(se))if(i&&!(i.s1Range.endExclusive<R.start&&i.s2Range.endExclusive<se.start)){const ve=Tr.tryCreate(i.s1Range.endExclusive,R.start),Oe=Tr.tryCreate(i.s2Range.endExclusive,se.start);i.deleted+=(te=ve?.length)!==null&&te!==void 0?te:0,i.added+=(P=Oe?.length)!==null&&P!==void 0?P:0,i.s1Range=i.s1Range.join(R),i.s2Range=i.s2Range.join(se)}else s(),i={added:0,deleted:0,count:0,s1Range:R,s2Range:se};const Be=R.intersect(o.seq1Range),Je=se.intersect(o.seq2Range);i.count++,i.deleted+=(ue=Be?.length)!==null&&ue!==void 0?ue:0,i.added+=(ke=Je?.length)!==null&&ke!==void 0?ke:0};const l=e.findWordContaining(o.seq1Range.start-1),v=t.findWordContaining(o.seq2Range.start-1),p=e.findWordContaining(o.seq1Range.endExclusive),j=t.findWordContaining(o.seq2Range.endExclusive);l&&p&&v&&j&&l.equals(p)&&v.equals(j)?u(l,v):(l&&v&&u(l,v),p&&j&&u(p,j))}return s(),Y1(n,r)}function Y1(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 H1(e,t,n){const r=[];for(const i of X1(e.map(s=>z1(s,t,n)),(s,a)=>s.originalRange.overlapOrTouch(a.originalRange)||s.modifiedRange.overlapOrTouch(a.modifiedRange))){const s=i[0],a=i[i.length-1];r.push(new Ls(s.originalRange.join(a.originalRange),s.modifiedRange.join(a.modifiedRange),i.map(o=>o.innerChanges[0])))}return $l(()=>Ed(r,(i,s)=>s.originalRange.startLineNumber-i.originalRange.endLineNumberExclusive===s.modifiedRange.startLineNumber-i.modifiedRange.endLineNumberExclusive&&i.originalRange.endLineNumberExclusive<s.originalRange.startLineNumber&&i.modifiedRange.endLineNumberExclusive<s.modifiedRange.startLineNumber)),r}function z1(e,t,n){let r=0,i=0;e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&(r=1),e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1);const s=new Yr(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),a=new Yr(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i);return new Ls(s,a,[e])}function*X1(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)}class Ld{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:Pd(this.lines[t-1]),r=t===this.lines.length?0:Pd(this.lines[t]);return 1e3-(n+r)}}function Pd(e){let t=0;for(;t<e.length&&(e.charCodeAt(t)===32||e.charCodeAt(t)===9);)t++;return t}class Bd{constructor(t,n,r){this.lines=t,this.considerWhitespaceChanges=r,this.elements=[],this.firstCharOffsetByLineMinusOne=[],this.offsetByLine=[];let i=!1;n.start>0&&n.endExclusive>=t.length&&(n=new Tr(n.start-1,n.endExclusive),i=!0),this.lineRange=n;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.offsetByLine.push(o);for(let u=0;u<a.length;u++)this.elements.push(a.charCodeAt(u));s<t.length-1&&(this.elements.push(`
9
- `.charCodeAt(0)),this.firstCharOffsetByLineMinusOne[s-this.lineRange.start]=this.elements.length)}this.offsetByLine.push(0)}toString(){return`Slice: "${this.text}"`}get text(){return[...this.elements].map(t=>String.fromCharCode(t)).join("")}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=Md(t>0?this.elements[t-1]:-1),r=Md(t<this.elements.length?this.elements[t]:-1);if(n===6&&r===7)return 0;let i=0;return n!==r&&(i+=10,r===1&&(i+=1)),i+=Id(n),i+=Id(r),i}translateOffset(t){if(this.lineRange.isEmpty)return new Gi(this.lineRange.start+1,1);let n=0,r=this.firstCharOffsetByLineMinusOne.length;for(;n<r;){const s=Math.floor((n+r)/2);this.firstCharOffsetByLineMinusOne[s]>t?r=s:n=s+1}const i=n===0?0:this.firstCharOffsetByLineMinusOne[n-1];return new Gi(this.lineRange.start+n+1,t-i+1+this.offsetByLine[n])}translateRange(t){return Ai.fromPositions(this.translateOffset(t.start),this.translateOffset(t.endExclusive))}findWordContaining(t){if(t<0||t>=this.elements.length||!ql(this.elements[t]))return;let n=t;for(;n>0&&ql(this.elements[n-1]);)n--;let r=t;for(;r<this.elements.length&&ql(this.elements[r]);)r++;return new Tr(n,r)}}function ql(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const Q1={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function Id(e){return Q1[e]}function Md(e){return e===10?7:e===13?6:K1(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:4}function K1(e){return e===32||e===9}const Od={legacy:new P1,advanced:new G1};function gs(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class jr{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=gs(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=gs(Math.max(Math.min(1,n),0),3),this.l=gs(Math.max(Math.min(1,r),0),3),this.a=gs(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 v=(o+a)/2,p=a-o;if(p>0){switch(l=Math.min(v<=.5?p/(2*v):p/(2-2*v),1),a){case n:u=(r-i)/p+(r<i?6:0);break;case r:u=(i-n)/p+2;break;case i:u=(n-r)/p+4;break}u*=60,u=Math.round(u)}return new Si(u,l,v,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,v=2*i-l;a=Si._hue2rgb(v,l,n+1/3),o=Si._hue2rgb(v,l,n),u=Si._hue2rgb(v,l,n-1/3)}return new jr(Math.round(a*255),Math.round(o*255),Math.round(u*255),s)}}class da{constructor(t,n,r,i){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=gs(Math.max(Math.min(1,n),0),3),this.v=gs(Math.max(Math.min(1,r),0),3),this.a=gs(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 da(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,v,p]=[0,0,0];return n<60?(l=a,v=o):n<120?(l=o,v=a):n<180?(v=a,p=o):n<240?(v=o,p=a):n<300?(l=o,p=a):n<=360&&(l=a,p=o),l=Math.round((l+u)*255),v=Math.round((v+u)*255),p=Math.round((p+u)*255),new jr(l,v,p,s)}}let Ir=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:da.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof jr)this.rgba=t;else if(t instanceof Si)this._hsla=t,this.rgba=Si.toRGBA(t);else if(t instanceof da)this._hsva=t,this.rgba=da.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&jr.equals(this.rgba,t.rgba)&&Si.equals(this.hsla,t.hsla)&&da.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 gs(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 jr(n,r,i,s*t))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new Pi(new jr(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 jr(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)}};Ir.white=new Ir(new jr(255,255,255,1)),Ir.black=new Ir(new jr(0,0,0,1)),Ir.red=new Ir(new jr(255,0,0,1)),Ir.blue=new Ir(new jr(0,0,255,1)),Ir.green=new Ir(new jr(0,255,0,1)),Ir.cyan=new Ir(new jr(0,255,255,1)),Ir.lightgrey=new Ir(new jr(211,211,211,1)),Ir.transparent=new Ir(new jr(0,0,0,0)),function(e){(function(t){(function(n){function r(R){return R.rgba.a===1?`rgb(${R.rgba.r}, ${R.rgba.g}, ${R.rgba.b})`:e.Format.CSS.formatRGBA(R)}n.formatRGB=r;function i(R){return`rgba(${R.rgba.r}, ${R.rgba.g}, ${R.rgba.b}, ${+R.rgba.a.toFixed(2)})`}n.formatRGBA=i;function s(R){return R.hsla.a===1?`hsl(${R.hsla.h}, ${(R.hsla.s*100).toFixed(2)}%, ${(R.hsla.l*100).toFixed(2)}%)`:e.Format.CSS.formatHSLA(R)}n.formatHSL=s;function a(R){return`hsla(${R.hsla.h}, ${(R.hsla.s*100).toFixed(2)}%, ${(R.hsla.l*100).toFixed(2)}%, ${R.hsla.a.toFixed(2)})`}n.formatHSLA=a;function o(R){const se=R.toString(16);return se.length!==2?"0"+se:se}function u(R){return`#${o(R.rgba.r)}${o(R.rgba.g)}${o(R.rgba.b)}`}n.formatHex=u;function l(R,se=!1){return se&&R.rgba.a===1?e.Format.CSS.formatHex(R):`#${o(R.rgba.r)}${o(R.rgba.g)}${o(R.rgba.b)}${o(Math.round(R.rgba.a*255))}`}n.formatHexA=l;function v(R){return R.isOpaque()?e.Format.CSS.formatHex(R):e.Format.CSS.formatRGBA(R)}n.format=v;function p(R){const se=R.length;if(se===0||R.charCodeAt(0)!==35)return null;if(se===7){const te=16*j(R.charCodeAt(1))+j(R.charCodeAt(2)),P=16*j(R.charCodeAt(3))+j(R.charCodeAt(4)),ue=16*j(R.charCodeAt(5))+j(R.charCodeAt(6));return new e(new jr(te,P,ue,1))}if(se===9){const te=16*j(R.charCodeAt(1))+j(R.charCodeAt(2)),P=16*j(R.charCodeAt(3))+j(R.charCodeAt(4)),ue=16*j(R.charCodeAt(5))+j(R.charCodeAt(6)),ke=16*j(R.charCodeAt(7))+j(R.charCodeAt(8));return new e(new jr(te,P,ue,ke/255))}if(se===4){const te=j(R.charCodeAt(1)),P=j(R.charCodeAt(2)),ue=j(R.charCodeAt(3));return new e(new jr(16*te+te,16*P+P,16*ue+ue))}if(se===5){const te=j(R.charCodeAt(1)),P=j(R.charCodeAt(2)),ue=j(R.charCodeAt(3)),ke=j(R.charCodeAt(4));return new e(new jr(16*te+te,16*P+P,16*ue+ue,(16*ke+ke)/255))}return null}n.parseHex=p;function j(R){switch(R){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={}))}(Ir||(Ir={}));function jd(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 Wl(e,t,n,r){return{red:e/255,blue:n/255,green:t/255,alpha:r}}function ro(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 Z1(e,t){if(!e)return;const n=Ir.Format.CSS.parseHex(t);if(n)return{range:e,color:Wl(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function $d(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=jd(i);return{range:e,color:Wl(s[0],s[1],s[2],n?s[3]:1)}}function Rd(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=jd(i),a=new Ir(new Si(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:e,color:Wl(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function io(e,t){return typeof e=="string"?[...e.matchAll(t)]:e.findMatches(t)}function ey(e){const t=[],r=io(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([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=$d(ro(e,i),io(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=$d(ro(e,i),io(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=Rd(ro(e,i),io(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=Rd(ro(e,i),io(o,l),!0)}else a==="#"&&(u=Z1(ro(e,i),a+o));u&&t.push(u)}return t}function ty(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:ey(e)}var ys=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(v){try{l(r.next(v))}catch(p){a(p)}}function u(v){try{l(r.throw(v))}catch(p){a(p)}}function l(v){v.done?s(v.value):i(v.value).then(o,u)}l((r=r.apply(e,t||[])).next())})};class ny extends a1{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 Gi(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=Fl(t.column,l1(n),this._lines[t.lineNumber-1],0);return r?new Ai(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(!Gi.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 Ps{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 ny(Sl.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 ys(this,void 0,void 0,function*(){const i=this._getModel(t);return i?_1.computeUnicodeHighlights(i,n,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(t,n,r,i){return ys(this,void 0,void 0,function*(){const s=this._getModel(t),a=this._getModel(n);return!s||!a?null:Ps.computeDiff(s,a,r,i)})}static computeDiff(t,n,r,i){const s=i==="advanced"?Od.advanced:Od.legacy,a=t.getLinesContent(),o=n.getLinesContent(),u=s.computeDiff(a,o,r);return{identical:u.changes.length>0?!1:this._modelsAreIdentical(t,n),quitEarly:u.hitTimeout,changes:u.changes.map(v=>{var p;return[v.originalRange.startLineNumber,v.originalRange.endLineNumberExclusive,v.modifiedRange.startLineNumber,v.modifiedRange.endLineNumberExclusive,(p=v.innerChanges)===null||p===void 0?void 0:p.map(j=>[j.originalRange.startLineNumber,j.originalRange.startColumn,j.originalRange.endLineNumber,j.originalRange.endColumn,j.modifiedRange.startLineNumber,j.modifiedRange.startColumn,j.modifiedRange.endLineNumber,j.modifiedRange.endColumn])]})}}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 ys(this,void 0,void 0,function*(){const i=this._getModel(t);if(!i)return n;const s=[];let a;n=n.slice(0).sort((o,u)=>{if(o.range&&u.range)return Ai.compareRangesUsingStarts(o.range,u.range);const l=o.range?0:1,v=u.range?0:1;return l-v});for(let{range:o,text:u,eol:l}of n){if(typeof l=="number"&&(a=l),Ai.isEmpty(o)&&!u)continue;const v=i.getValueInRange(o);if(u=u.replace(/\r\n|\n|\r/g,i.eol),v===u)continue;if(Math.max(u.length,v.length)>Ps._diffLimit){s.push({range:o,text:u});continue}const p=Rg(v,u,r),j=i.offsetAt(Ai.lift(o).getStartPosition());for(const R of p){const se=i.positionAt(j+R.originalStart),te=i.positionAt(j+R.originalStart+R.originalLength),P={text:u.substr(R.modifiedStart,R.modifiedLength),range:{startLineNumber:se.lineNumber,startColumn:se.column,endLineNumber:te.lineNumber,endColumn:te.column}};i.getValueInRange(P.range)!==P.text&&s.push(P)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s})}computeLinks(t){return ys(this,void 0,void 0,function*(){const n=this._getModel(t);return n?m1(n):null})}computeDefaultDocumentColors(t){return ys(this,void 0,void 0,function*(){const n=this._getModel(t);return n?ty(n):null})}textualSuggest(t,n,r,i){return ys(this,void 0,void 0,function*(){const s=new Ro(!0),a=new RegExp(r,i),o=new Set;e:for(const u of t){const l=this._getModel(u);if(l){for(const v of l.words(a))if(!(v===n||!isNaN(Number(v)))&&(o.add(v),o.size>Ps._suggestionsLimit))break e}}return{words:Array.from(o),duration:s.elapsed()}})}computeWordRanges(t,n,r,i){return ys(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 v of l){if(!isNaN(Number(v.word)))continue;let p=o[v.word];p||(p=[],o[v.word]=p),p.push({startLineNumber:u,startColumn:v.startColumn,endLineNumber:u,endColumn:v.endColumn})}}return o})}navigateValueSet(t,n,r,i,s){return ys(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 v=a.getValueInRange(l);return _l.INSTANCE.navigateValueSet(n,u,l,v,r)})}loadForeignModule(t,n,r){const a={host:vg(r,(o,u)=>this._host.fhr(o,u)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,n),Promise.resolve(El(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)}}}Ps._diffLimit=1e5,Ps._suggestionsLimit=1e4,typeof importScripts=="function"&&(globalThis.monaco=S1());let Gl=!1;function Vd(e){if(Gl)return;Gl=!0;const t=new jg(n=>{globalThis.postMessage(n)},n=>new Ps(n,e));globalThis.onmessage=n=>{t.onmessage(n.data)}}globalThis.onmessage=e=>{Gl||Vd(null)};function ry(e){self.onmessage=()=>{Vd((t,n)=>Object.create(e(t,n)))}}let Ud=class ep{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(ep.isIncremental(r)){const i=Wd(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 v=qd(r.text,!1,s);if(u-o===v.length)for(let j=0,R=v.length;j<R;j++)l[j+o+1]=v[j];else v.length<1e4?l.splice(o+1,u-o,...v):this._lineOffsets=l=l.slice(0,o+1).concat(v,l.slice(u+1));const p=r.text.length-(a-s);if(p!==0)for(let j=o+1+v.length,R=l.length;j<R;j++)l[j]=l[j]+p}else if(ep.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=qd(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 Jl;(function(e){function t(i,s,a,o){return new Ud(i,s,a,o)}e.create=t;function n(i,s,a){if(i instanceof Ud)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=Yl(s.map(iy),(v,p)=>{let j=v.range.start.line-p.range.start.line;return j===0?v.range.start.character-p.range.start.character:j}),u=0;const l=[];for(const v of o){let p=i.offsetAt(v.range.start);if(p<u)throw new Error("Overlapping edit");p>u&&l.push(a.substring(u,p)),v.newText.length&&l.push(v.newText),u=i.offsetAt(v.range.end)}return l.push(a.substr(u)),l.join("")}e.applyEdits=r})(Jl||(Jl={}));function Yl(e,t){if(e.length<=1)return e;const n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);Yl(r,t),Yl(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 qd(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 Wd(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 iy(e){const t=Wd(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function sy(e,t=!1){const n=e.length;let r=0,i="",s=0,a=16,o=0,u=0,l=0,v=0,p=0;function j(Be,Je){let ve=0,Oe=0;for(;ve<Be||!Je;){let Et=e.charCodeAt(r);if(Et>=48&&Et<=57)Oe=Oe*16+Et-48;else if(Et>=65&&Et<=70)Oe=Oe*16+Et-65+10;else if(Et>=97&&Et<=102)Oe=Oe*16+Et-97+10;else break;r++,ve++}return ve<Be&&(Oe=-1),Oe}function R(Be){r=Be,i="",s=0,a=16,p=0}function se(){let Be=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&ha(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&ha(e.charCodeAt(r)))for(r++;r<e.length&&ha(e.charCodeAt(r));)r++;else return p=3,e.substring(Be,r);let Je=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&&ha(e.charCodeAt(r))){for(r++;r<e.length&&ha(e.charCodeAt(r));)r++;Je=r}else p=3;return e.substring(Be,Je)}function te(){let Be="",Je=r;for(;;){if(r>=n){Be+=e.substring(Je,r),p=2;break}const ve=e.charCodeAt(r);if(ve===34){Be+=e.substring(Je,r),r++;break}if(ve===92){if(Be+=e.substring(Je,r),r++,r>=n){p=2;break}switch(e.charCodeAt(r++)){case 34:Be+='"';break;case 92:Be+="\\";break;case 47:Be+="/";break;case 98:Be+="\b";break;case 102:Be+="\f";break;case 110:Be+=`
10
- `;break;case 114:Be+="\r";break;case 116:Be+=" ";break;case 117:const Et=j(4,!0);Et>=0?Be+=String.fromCharCode(Et):p=4;break;default:p=5}Je=r;continue}if(ve>=0&&ve<=31)if(so(ve)){Be+=e.substring(Je,r),p=2;break}else p=6;r++}return Be}function P(){if(i="",p=0,s=r,u=o,v=l,r>=n)return s=n,a=17;let Be=e.charCodeAt(r);if(Hl(Be)){do r++,i+=String.fromCharCode(Be),Be=e.charCodeAt(r);while(Hl(Be));return a=15}if(so(Be))return r++,i+=String.fromCharCode(Be),Be===13&&e.charCodeAt(r)===10&&(r++,i+=`
11
- `),o++,l=r,a=14;switch(Be){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=te(),a=10;case 47:const Je=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!so(e.charCodeAt(r));)r++;return i=e.substring(Je,r),a=12}if(e.charCodeAt(r+1)===42){r+=2;const ve=n-1;let Oe=!1;for(;r<ve;){const Et=e.charCodeAt(r);if(Et===42&&e.charCodeAt(r+1)===47){r+=2,Oe=!0;break}r++,so(Et)&&(Et===13&&e.charCodeAt(r)===10&&r++,o++,l=r)}return Oe||(r++,p=1),i=e.substring(Je,r),a=13}return i+=String.fromCharCode(Be),r++,a=16;case 45:if(i+=String.fromCharCode(Be),r++,r===n||!ha(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+=se(),a=11;default:for(;r<n&&ue(Be);)r++,Be=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(Be),r++,a=16}}function ue(Be){if(Hl(Be)||so(Be))return!1;switch(Be){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function ke(){let Be;do Be=P();while(Be>=12&&Be<=15);return Be}return{setPosition:R,getPosition:()=>r,scan:t?ke:P,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>s,getTokenLength:()=>r-s,getTokenStartLine:()=>u,getTokenStartCharacter:()=>s-v,getTokenError:()=>p}}function Hl(e){return e===32||e===9}function so(e){return e===10||e===13}function ha(e){return e>=48&&e<=57}var Gd;(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"})(Gd||(Gd={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const ma=200;new Array(ma).fill(0).map((e,t)=>`
12
- `+" ".repeat(t)),new Array(ma).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(ma).fill(0).map((e,t)=>`\r
13
- `+" ".repeat(t)),new Array(ma).fill(0).map((e,t)=>`
14
- `+" ".repeat(t)),new Array(ma).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(ma).fill(0).map((e,t)=>`\r
15
- `+" ".repeat(t));var Ho;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Ho||(Ho={}));function ay(e,t=[],n=Ho.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,v)=>{t.push({error:u,offset:l,length:v})}},n),i[0]}function zl(e){switch(e.type){case"array":return e.children.map(zl);case"object":const t=Object.create(null);for(let n of e.children){const r=n.children[1];r&&(t[n.children[0].value]=zl(r))}return t;case"null":case"string":case"number":case"boolean":return e.value;default:return}}function oy(e,t,n=Ho.DEFAULT){const r=sy(e,!1),i=[];function s(he){return he?()=>he(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function a(he){return he?()=>he(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function o(he){return he?ct=>he(ct,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function u(he){return he?ct=>he(ct,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}const l=a(t.onObjectBegin),v=u(t.onObjectProperty),p=s(t.onObjectEnd),j=a(t.onArrayBegin),R=s(t.onArrayEnd),se=u(t.onLiteralValue),te=o(t.onSeparator),P=s(t.onComment),ue=o(t.onError),ke=n&&n.disallowComments,Be=n&&n.allowTrailingComma;function Je(){for(;;){const he=r.scan();switch(r.getTokenError()){case 4:ve(14);break;case 5:ve(15);break;case 3:ve(13);break;case 1:ke||ve(11);break;case 2:ve(12);break;case 6:ve(16);break}switch(he){case 12:case 13:ke?ve(10):P();break;case 16:ve(1);break;case 15:case 14:break;default:return he}}}function ve(he,ct=[],Pt=[]){if(ue(he),ct.length+Pt.length>0){let un=r.getToken();for(;un!==17;){if(ct.indexOf(un)!==-1){Je();break}else if(Pt.indexOf(un)!==-1)break;un=Je()}}}function Oe(he){const ct=r.getTokenValue();return he?se(ct):(v(ct),i.push(ct)),Je(),!0}function Et(){switch(r.getToken()){case 11:const he=r.getTokenValue();let ct=Number(he);isNaN(ct)&&(ve(2),ct=0),se(ct);break;case 7:se(null);break;case 8:se(!0);break;case 9:se(!1);break;default:return!1}return Je(),!0}function Ft(){return r.getToken()!==10?(ve(3,[],[2,5]),!1):(Oe(!1),r.getToken()===6?(te(":"),Je(),Re()||ve(4,[],[2,5])):ve(5,[],[2,5]),i.pop(),!0)}function we(){l(),Je();let he=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(he||ve(4,[],[]),te(","),Je(),r.getToken()===2&&Be)break}else he&&ve(6,[],[]);Ft()||ve(4,[],[2,5]),he=!0}return p(),r.getToken()!==2?ve(7,[2],[]):Je(),!0}function _e(){j(),Je();let he=!0,ct=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(ct||ve(4,[],[]),te(","),Je(),r.getToken()===4&&Be)break}else ct&&ve(6,[],[]);he?(i.push(0),he=!1):i[i.length-1]++,Re()||ve(4,[],[4,5]),ct=!0}return R(),he||i.pop(),r.getToken()!==4?ve(8,[4],[]):Je(),!0}function Re(){switch(r.getToken()){case 3:return _e();case 1:return we();case 10:return Oe(!0);default:return Et()}}return Je(),r.getToken()===17?n.allowEmptyContent?!0:(ve(4,[],[]),!1):Re()?(r.getToken()!==17&&ve(9,[],[]),!0):(ve(4,[],[]),!1)}var Jd;(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"})(Jd||(Jd={}));var Yd;(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"})(Yd||(Yd={}));const uy=ay,ly=zl;var Hd;(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"})(Hd||(Hd={}));var zd;(()=>{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 v,p="",j=0,R=-1,se=0,te=0;te<=u.length;++te){if(te<u.length)v=u.charCodeAt(te);else{if(v===47)break;v=47}if(v===47){if(!(R===te-1||se===1))if(R!==te-1&&se===2){if(p.length<2||j!==2||p.charCodeAt(p.length-1)!==46||p.charCodeAt(p.length-2)!==46){if(p.length>2){var P=p.lastIndexOf("/");if(P!==p.length-1){P===-1?(p="",j=0):j=(p=p.slice(0,P)).length-1-p.lastIndexOf("/"),R=te,se=0;continue}}else if(p.length===2||p.length===1){p="",j=0,R=te,se=0;continue}}l&&(p.length>0?p+="/..":p="..",j=2)}else p.length>0?p+="/"+u.slice(R+1,te):p=u.slice(R+1,te),j=te-R-1;R=te,se=0}else v===46&&se!==-1?++se:se=-1}return p}var o={resolve:function(){for(var u,l="",v=!1,p=arguments.length-1;p>=-1&&!v;p--){var j;p>=0?j=arguments[p]:(u===void 0&&(u=process.cwd()),j=u),s(j),j.length!==0&&(l=j+"/"+l,v=j.charCodeAt(0)===47)}return l=a(l,!v),v?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(u){if(s(u),u.length===0)return".";var l=u.charCodeAt(0)===47,v=u.charCodeAt(u.length-1)===47;return(u=a(u,!l)).length!==0||l||(u="."),u.length>0&&v&&(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 v=arguments[l];s(v),v.length>0&&(u===void 0?u=v:u+="/"+v)}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 v=1;v<u.length&&u.charCodeAt(v)===47;++v);for(var p=u.length,j=p-v,R=1;R<l.length&&l.charCodeAt(R)===47;++R);for(var se=l.length-R,te=j<se?j:se,P=-1,ue=0;ue<=te;++ue){if(ue===te){if(se>te){if(l.charCodeAt(R+ue)===47)return l.slice(R+ue+1);if(ue===0)return l.slice(R+ue)}else j>te&&(u.charCodeAt(v+ue)===47?P=ue:ue===0&&(P=0));break}var ke=u.charCodeAt(v+ue);if(ke!==l.charCodeAt(R+ue))break;ke===47&&(P=ue)}var Be="";for(ue=v+P+1;ue<=p;++ue)ue!==p&&u.charCodeAt(ue)!==47||(Be.length===0?Be+="..":Be+="/..");return Be.length>0?Be+l.slice(R+P):(R+=P,l.charCodeAt(R)===47&&++R,l.slice(R))},_makeLong:function(u){return u},dirname:function(u){if(s(u),u.length===0)return".";for(var l=u.charCodeAt(0),v=l===47,p=-1,j=!0,R=u.length-1;R>=1;--R)if((l=u.charCodeAt(R))===47){if(!j){p=R;break}}else j=!1;return p===-1?v?"/":".":v&&p===1?"//":u.slice(0,p)},basename:function(u,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');s(u);var v,p=0,j=-1,R=!0;if(l!==void 0&&l.length>0&&l.length<=u.length){if(l.length===u.length&&l===u)return"";var se=l.length-1,te=-1;for(v=u.length-1;v>=0;--v){var P=u.charCodeAt(v);if(P===47){if(!R){p=v+1;break}}else te===-1&&(R=!1,te=v+1),se>=0&&(P===l.charCodeAt(se)?--se==-1&&(j=v):(se=-1,j=te))}return p===j?j=te:j===-1&&(j=u.length),u.slice(p,j)}for(v=u.length-1;v>=0;--v)if(u.charCodeAt(v)===47){if(!R){p=v+1;break}}else j===-1&&(R=!1,j=v+1);return j===-1?"":u.slice(p,j)},extname:function(u){s(u);for(var l=-1,v=0,p=-1,j=!0,R=0,se=u.length-1;se>=0;--se){var te=u.charCodeAt(se);if(te!==47)p===-1&&(j=!1,p=se+1),te===46?l===-1?l=se:R!==1&&(R=1):l!==-1&&(R=-1);else if(!j){v=se+1;break}}return l===-1||p===-1||R===0||R===1&&l===p-1&&l===v+1?"":u.slice(l,p)},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,v){var p=v.dir||v.root,j=v.base||(v.name||"")+(v.ext||"");return p?p===v.root?p+j:p+"/"+j:j}(0,u)},parse:function(u){s(u);var l={root:"",dir:"",base:"",ext:"",name:""};if(u.length===0)return l;var v,p=u.charCodeAt(0),j=p===47;j?(l.root="/",v=1):v=0;for(var R=-1,se=0,te=-1,P=!0,ue=u.length-1,ke=0;ue>=v;--ue)if((p=u.charCodeAt(ue))!==47)te===-1&&(P=!1,te=ue+1),p===46?R===-1?R=ue:ke!==1&&(ke=1):R!==-1&&(ke=-1);else if(!P){se=ue+1;break}return R===-1||te===-1||ke===0||ke===1&&R===te-1&&R===se+1?te!==-1&&(l.base=l.name=se===0&&j?u.slice(1,te):u.slice(se,te)):(se===0&&j?(l.name=u.slice(1,R),l.base=u.slice(1,te)):(l.name=u.slice(se,R),l.base=u.slice(se,te)),l.ext=u.slice(R,te)),se>0?l.dir=u.slice(0,se-1):j&&(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:()=>j,Utils:()=>_e}),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(Re,he){if(!Re.scheme&&he)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${Re.authority}", path: "${Re.path}", query: "${Re.query}", fragment: "${Re.fragment}"}`);if(Re.scheme&&!s.test(Re.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Re.path){if(Re.authority){if(!a.test(Re.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(Re.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="",v="/",p=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class j{constructor(he,ct,Pt,un,fn,Nn=!1){Ns(this,"scheme");Ns(this,"authority");Ns(this,"path");Ns(this,"query");Ns(this,"fragment");typeof he=="object"?(this.scheme=he.scheme||l,this.authority=he.authority||l,this.path=he.path||l,this.query=he.query||l,this.fragment=he.fragment||l):(this.scheme=function(Qn,dr){return Qn||dr?Qn:"file"}(he,Nn),this.authority=ct||l,this.path=function(Qn,dr){switch(Qn){case"https":case"http":case"file":dr?dr[0]!==v&&(dr=v+dr):dr=v}return dr}(this.scheme,Pt||l),this.query=un||l,this.fragment=fn||l,u(this,Nn))}static isUri(he){return he instanceof j||!!he&&typeof he.authority=="string"&&typeof he.fragment=="string"&&typeof he.path=="string"&&typeof he.query=="string"&&typeof he.scheme=="string"&&typeof he.fsPath=="string"&&typeof he.with=="function"&&typeof he.toString=="function"}get fsPath(){return ke(this,!1)}with(he){if(!he)return this;let{scheme:ct,authority:Pt,path:un,query:fn,fragment:Nn}=he;return ct===void 0?ct=this.scheme:ct===null&&(ct=l),Pt===void 0?Pt=this.authority:Pt===null&&(Pt=l),un===void 0?un=this.path:un===null&&(un=l),fn===void 0?fn=this.query:fn===null&&(fn=l),Nn===void 0?Nn=this.fragment:Nn===null&&(Nn=l),ct===this.scheme&&Pt===this.authority&&un===this.path&&fn===this.query&&Nn===this.fragment?this:new se(ct,Pt,un,fn,Nn)}static parse(he,ct=!1){const Pt=p.exec(he);return Pt?new se(Pt[2]||l,Oe(Pt[4]||l),Oe(Pt[5]||l),Oe(Pt[7]||l),Oe(Pt[9]||l),ct):new se(l,l,l,l,l)}static file(he){let ct=l;if(i&&(he=he.replace(/\\/g,v)),he[0]===v&&he[1]===v){const Pt=he.indexOf(v,2);Pt===-1?(ct=he.substring(2),he=v):(ct=he.substring(2,Pt),he=he.substring(Pt)||v)}return new se("file",ct,he,l,l)}static from(he){const ct=new se(he.scheme,he.authority,he.path,he.query,he.fragment);return u(ct,!0),ct}toString(he=!1){return Be(this,he)}toJSON(){return this}static revive(he){if(he){if(he instanceof j)return he;{const ct=new se(he);return ct._formatted=he.external,ct._fsPath=he._sep===R?he.fsPath:null,ct}}return he}}const R=i?1:void 0;class se extends j{constructor(){super(...arguments);Ns(this,"_formatted",null);Ns(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=ke(this,!1)),this._fsPath}toString(ct=!1){return ct?Be(this,!0):(this._formatted||(this._formatted=Be(this,!1)),this._formatted)}toJSON(){const ct={$mid:1};return this._fsPath&&(ct.fsPath=this._fsPath,ct._sep=R),this._formatted&&(ct.external=this._formatted),this.path&&(ct.path=this.path),this.scheme&&(ct.scheme=this.scheme),this.authority&&(ct.authority=this.authority),this.query&&(ct.query=this.query),this.fragment&&(ct.fragment=this.fragment),ct}}const te={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 P(Re,he,ct){let Pt,un=-1;for(let fn=0;fn<Re.length;fn++){const Nn=Re.charCodeAt(fn);if(Nn>=97&&Nn<=122||Nn>=65&&Nn<=90||Nn>=48&&Nn<=57||Nn===45||Nn===46||Nn===95||Nn===126||he&&Nn===47||ct&&Nn===91||ct&&Nn===93||ct&&Nn===58)un!==-1&&(Pt+=encodeURIComponent(Re.substring(un,fn)),un=-1),Pt!==void 0&&(Pt+=Re.charAt(fn));else{Pt===void 0&&(Pt=Re.substr(0,fn));const Qn=te[Nn];Qn!==void 0?(un!==-1&&(Pt+=encodeURIComponent(Re.substring(un,fn)),un=-1),Pt+=Qn):un===-1&&(un=fn)}}return un!==-1&&(Pt+=encodeURIComponent(Re.substring(un))),Pt!==void 0?Pt:Re}function ue(Re){let he;for(let ct=0;ct<Re.length;ct++){const Pt=Re.charCodeAt(ct);Pt===35||Pt===63?(he===void 0&&(he=Re.substr(0,ct)),he+=te[Pt]):he!==void 0&&(he+=Re[ct])}return he!==void 0?he:Re}function ke(Re,he){let ct;return ct=Re.authority&&Re.path.length>1&&Re.scheme==="file"?`//${Re.authority}${Re.path}`:Re.path.charCodeAt(0)===47&&(Re.path.charCodeAt(1)>=65&&Re.path.charCodeAt(1)<=90||Re.path.charCodeAt(1)>=97&&Re.path.charCodeAt(1)<=122)&&Re.path.charCodeAt(2)===58?he?Re.path.substr(1):Re.path[1].toLowerCase()+Re.path.substr(2):Re.path,i&&(ct=ct.replace(/\//g,"\\")),ct}function Be(Re,he){const ct=he?ue:P;let Pt="",{scheme:un,authority:fn,path:Nn,query:Qn,fragment:dr}=Re;if(un&&(Pt+=un,Pt+=":"),(fn||un==="file")&&(Pt+=v,Pt+=v),fn){let Zn=fn.indexOf("@");if(Zn!==-1){const si=fn.substr(0,Zn);fn=fn.substr(Zn+1),Zn=si.lastIndexOf(":"),Zn===-1?Pt+=ct(si,!1,!1):(Pt+=ct(si.substr(0,Zn),!1,!1),Pt+=":",Pt+=ct(si.substr(Zn+1),!1,!0)),Pt+="@"}fn=fn.toLowerCase(),Zn=fn.lastIndexOf(":"),Zn===-1?Pt+=ct(fn,!1,!0):(Pt+=ct(fn.substr(0,Zn),!1,!0),Pt+=fn.substr(Zn))}if(Nn){if(Nn.length>=3&&Nn.charCodeAt(0)===47&&Nn.charCodeAt(2)===58){const Zn=Nn.charCodeAt(1);Zn>=65&&Zn<=90&&(Nn=`/${String.fromCharCode(Zn+32)}:${Nn.substr(3)}`)}else if(Nn.length>=2&&Nn.charCodeAt(1)===58){const Zn=Nn.charCodeAt(0);Zn>=65&&Zn<=90&&(Nn=`${String.fromCharCode(Zn+32)}:${Nn.substr(2)}`)}Pt+=ct(Nn,!0,!1)}return Qn&&(Pt+="?",Pt+=ct(Qn,!1,!1)),dr&&(Pt+="#",Pt+=he?dr:P(dr,!1,!1)),Pt}function Je(Re){try{return decodeURIComponent(Re)}catch{return Re.length>3?Re.substr(0,3)+Je(Re.substr(3)):Re}}const ve=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Oe(Re){return Re.match(ve)?Re.replace(ve,he=>Je(he)):Re}var Et=n(470);const Ft=Et.posix||Et,we="/";var _e;(function(Re){Re.joinPath=function(he,...ct){return he.with({path:Ft.join(he.path,...ct)})},Re.resolvePath=function(he,...ct){let Pt=he.path,un=!1;Pt[0]!==we&&(Pt=we+Pt,un=!0);let fn=Ft.resolve(Pt,...ct);return un&&fn[0]===we&&!he.authority&&(fn=fn.substring(1)),he.with({path:fn})},Re.dirname=function(he){if(he.path.length===0||he.path===we)return he;let ct=Ft.dirname(he.path);return ct.length===1&&ct.charCodeAt(0)===46&&(ct=""),he.with({path:ct})},Re.basename=function(he){return Ft.basename(he.path)},Re.extname=function(he){return Ft.extname(he.path)}})(_e||(_e={}))})(),zd=r})();const{URI:Qr,Utils:zE}=zd;var Xd;(function(e){function t(n){return typeof n=="string"}e.is=t})(Xd||(Xd={}));var Xl;(function(e){function t(n){return typeof n=="string"}e.is=t})(Xl||(Xl={}));var Qd;(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})(Qd||(Qd={}));var zo;(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})(zo||(zo={}));var qr;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=zo.MAX_VALUE),i===Number.MAX_VALUE&&(i=zo.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){let i=r;return xt.objectLiteral(i)&&xt.uinteger(i.line)&&xt.uinteger(i.character)}e.is=n})(qr||(qr={}));var In;(function(e){function t(r,i,s,a){if(xt.uinteger(r)&&xt.uinteger(i)&&xt.uinteger(s)&&xt.uinteger(a))return{start:qr.create(r,i),end:qr.create(s,a)};if(qr.is(r)&&qr.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 xt.objectLiteral(i)&&qr.is(i.start)&&qr.is(i.end)}e.is=n})(In||(In={}));var ga;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){let i=r;return xt.objectLiteral(i)&&In.is(i.range)&&(xt.string(i.uri)||xt.undefined(i.uri))}e.is=n})(ga||(ga={}));var Ql;(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 xt.objectLiteral(i)&&In.is(i.targetRange)&&xt.string(i.targetUri)&&In.is(i.targetSelectionRange)&&(In.is(i.originSelectionRange)||xt.undefined(i.originSelectionRange))}e.is=n})(Ql||(Ql={}));var Kl;(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 xt.objectLiteral(i)&&xt.numberRange(i.red,0,1)&&xt.numberRange(i.green,0,1)&&xt.numberRange(i.blue,0,1)&&xt.numberRange(i.alpha,0,1)}e.is=n})(Kl||(Kl={}));var Kd;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){const i=r;return xt.objectLiteral(i)&&In.is(i.range)&&Kl.is(i.color)}e.is=n})(Kd||(Kd={}));var Zd;(function(e){function t(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}e.create=t;function n(r){const i=r;return xt.objectLiteral(i)&&xt.string(i.label)&&(xt.undefined(i.textEdit)||Fr.is(i))&&(xt.undefined(i.additionalTextEdits)||xt.typedArray(i.additionalTextEdits,Fr.is))}e.is=n})(Zd||(Zd={}));var eh;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(eh||(eh={}));var Zl;(function(e){function t(r,i,s,a,o,u){const l={startLine:r,endLine:i};return xt.defined(s)&&(l.startCharacter=s),xt.defined(a)&&(l.endCharacter=a),xt.defined(o)&&(l.kind=o),xt.defined(u)&&(l.collapsedText=u),l}e.create=t;function n(r){const i=r;return xt.objectLiteral(i)&&xt.uinteger(i.startLine)&&xt.uinteger(i.startLine)&&(xt.undefined(i.startCharacter)||xt.uinteger(i.startCharacter))&&(xt.undefined(i.endCharacter)||xt.uinteger(i.endCharacter))&&(xt.undefined(i.kind)||xt.string(i.kind))}e.is=n})(Zl||(Zl={}));var ec;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){let i=r;return xt.defined(i)&&ga.is(i.location)&&xt.string(i.message)}e.is=n})(ec||(ec={}));var Yn;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Yn||(Yn={}));var tc;(function(e){e.Unnecessary=1,e.Deprecated=2})(tc||(tc={}));var th;(function(e){function t(n){const r=n;return xt.objectLiteral(r)&&xt.string(r.href)}e.is=t})(th||(th={}));var xi;(function(e){function t(r,i,s,a,o,u){let l={range:r,message:i};return xt.defined(s)&&(l.severity=s),xt.defined(a)&&(l.code=a),xt.defined(o)&&(l.source=o),xt.defined(u)&&(l.relatedInformation=u),l}e.create=t;function n(r){var i;let s=r;return xt.defined(s)&&In.is(s.range)&&xt.string(s.message)&&(xt.number(s.severity)||xt.undefined(s.severity))&&(xt.integer(s.code)||xt.string(s.code)||xt.undefined(s.code))&&(xt.undefined(s.codeDescription)||xt.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(xt.string(s.source)||xt.undefined(s.source))&&(xt.undefined(s.relatedInformation)||xt.typedArray(s.relatedInformation,ec.is))}e.is=n})(xi||(xi={}));var Bs;(function(e){function t(r,i,...s){let a={title:r,command:i};return xt.defined(s)&&s.length>0&&(a.arguments=s),a}e.create=t;function n(r){let i=r;return xt.defined(i)&&xt.string(i.title)&&xt.string(i.command)}e.is=n})(Bs||(Bs={}));var Fr;(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 xt.objectLiteral(a)&&xt.string(a.newText)&&In.is(a.range)}e.is=i})(Fr||(Fr={}));var nc;(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 xt.objectLiteral(i)&&xt.string(i.label)&&(xt.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(xt.string(i.description)||i.description===void 0)}e.is=n})(nc||(nc={}));var ya;(function(e){function t(n){const r=n;return xt.string(r)}e.is=t})(ya||(ya={}));var nh;(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 Fr.is(a)&&(nc.is(a.annotationId)||ya.is(a.annotationId))}e.is=i})(nh||(nh={}));var rc;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){let i=r;return xt.defined(i)&&uc.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(rc||(rc={}));var ic;(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"&&xt.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||xt.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||xt.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ya.is(i.annotationId))}e.is=n})(ic||(ic={}));var sc;(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"&&xt.string(i.oldUri)&&xt.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||xt.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||xt.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ya.is(i.annotationId))}e.is=n})(sc||(sc={}));var ac;(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"&&xt.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||xt.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||xt.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||ya.is(i.annotationId))}e.is=n})(ac||(ac={}));var oc;(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=>xt.string(i.kind)?ic.is(i)||sc.is(i)||ac.is(i):rc.is(i)))}e.is=t})(oc||(oc={}));var rh;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){let i=r;return xt.defined(i)&&xt.string(i.uri)}e.is=n})(rh||(rh={}));var ih;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return xt.defined(i)&&xt.string(i.uri)&&xt.integer(i.version)}e.is=n})(ih||(ih={}));var uc;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return xt.defined(i)&&xt.string(i.uri)&&(i.version===null||xt.integer(i.version))}e.is=n})(uc||(uc={}));var sh;(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 xt.defined(i)&&xt.string(i.uri)&&xt.string(i.languageId)&&xt.integer(i.version)&&xt.string(i.text)}e.is=n})(sh||(sh={}));var Ds;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const r=n;return r===e.PlainText||r===e.Markdown}e.is=t})(Ds||(Ds={}));var ao;(function(e){function t(n){const r=n;return xt.objectLiteral(n)&&Ds.is(r.kind)&&xt.string(r.value)}e.is=t})(ao||(ao={}));var gi;(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})(gi||(gi={}));var Hr;(function(e){e.PlainText=1,e.Snippet=2})(Hr||(Hr={}));var ah;(function(e){e.Deprecated=1})(ah||(ah={}));var oh;(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&&xt.string(i.newText)&&In.is(i.insert)&&In.is(i.replace)}e.is=n})(oh||(oh={}));var lc;(function(e){e.asIs=1,e.adjustIndentation=2})(lc||(lc={}));var uh;(function(e){function t(n){const r=n;return r&&(xt.string(r.detail)||r.detail===void 0)&&(xt.string(r.description)||r.description===void 0)}e.is=t})(uh||(uh={}));var cc;(function(e){function t(n){return{label:n}}e.create=t})(cc||(cc={}));var fc;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(fc||(fc={}));var Xo;(function(e){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(r){const i=r;return xt.string(i)||xt.objectLiteral(i)&&xt.string(i.language)&&xt.string(i.value)}e.is=n})(Xo||(Xo={}));var lh;(function(e){function t(n){let r=n;return!!r&&xt.objectLiteral(r)&&(ao.is(r.contents)||Xo.is(r.contents)||xt.typedArray(r.contents,Xo.is))&&(n.range===void 0||In.is(n.range))}e.is=t})(lh||(lh={}));var ch;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(ch||(ch={}));var fh;(function(e){function t(n,r,...i){let s={label:n};return xt.defined(r)&&(s.documentation=r),xt.defined(i)?s.parameters=i:s.parameters=[],s}e.create=t})(fh||(fh={}));var ph;(function(e){e.Text=1,e.Read=2,e.Write=3})(ph||(ph={}));var dh;(function(e){function t(n,r){let i={range:n};return xt.number(r)&&(i.kind=r),i}e.create=t})(dh||(dh={}));var Ji;(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})(Ji||(Ji={}));var hh;(function(e){e.Deprecated=1})(hh||(hh={}));var mh;(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})(mh||(mh={}));var gh;(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})(gh||(gh={}));var yh;(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&&xt.string(i.name)&&xt.number(i.kind)&&In.is(i.range)&&In.is(i.selectionRange)&&(i.detail===void 0||xt.string(i.detail))&&(i.deprecated===void 0||xt.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(yh||(yh={}));var Is;(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"})(Is||(Is={}));var Qo;(function(e){e.Invoked=1,e.Automatic=2})(Qo||(Qo={}));var Dh;(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 xt.defined(i)&&xt.typedArray(i.diagnostics,xi.is)&&(i.only===void 0||xt.typedArray(i.only,xt.string))&&(i.triggerKind===void 0||i.triggerKind===Qo.Invoked||i.triggerKind===Qo.Automatic)}e.is=n})(Dh||(Dh={}));var bs;(function(e){function t(r,i,s){let a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):Bs.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&&xt.string(i.title)&&(i.diagnostics===void 0||xt.typedArray(i.diagnostics,xi.is))&&(i.kind===void 0||xt.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Bs.is(i.command))&&(i.isPreferred===void 0||xt.boolean(i.isPreferred))&&(i.edit===void 0||oc.is(i.edit))}e.is=n})(bs||(bs={}));var pc;(function(e){function t(r,i){let s={range:r};return xt.defined(i)&&(s.data=i),s}e.create=t;function n(r){let i=r;return xt.defined(i)&&In.is(i.range)&&(xt.undefined(i.command)||Bs.is(i.command))}e.is=n})(pc||(pc={}));var bh;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){let i=r;return xt.defined(i)&&xt.uinteger(i.tabSize)&&xt.boolean(i.insertSpaces)}e.is=n})(bh||(bh={}));var vh;(function(e){function t(r,i,s){return{range:r,target:i,data:s}}e.create=t;function n(r){let i=r;return xt.defined(i)&&In.is(i.range)&&(xt.undefined(i.target)||xt.string(i.target))}e.is=n})(vh||(vh={}));var Eh;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){let i=r;return xt.objectLiteral(i)&&In.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(Eh||(Eh={}));var Ah;(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"})(Ah||(Ah={}));var Ch;(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"})(Ch||(Ch={}));var Sh;(function(e){function t(n){const r=n;return xt.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})(Sh||(Sh={}));var xh;(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)&&xt.string(i.text)}e.is=n})(xh||(xh={}));var wh;(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)&&xt.boolean(i.caseSensitiveLookup)&&(xt.string(i.variableName)||i.variableName===void 0)}e.is=n})(wh||(wh={}));var Fh;(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)&&(xt.string(i.expression)||i.expression===void 0)}e.is=n})(Fh||(Fh={}));var Nh;(function(e){function t(r,i){return{frameId:r,stoppedLocation:i}}e.create=t;function n(r){const i=r;return xt.defined(i)&&In.is(r.stoppedLocation)}e.is=n})(Nh||(Nh={}));var dc;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(dc||(dc={}));var hc;(function(e){function t(r){return{value:r}}e.create=t;function n(r){const i=r;return xt.objectLiteral(i)&&(i.tooltip===void 0||xt.string(i.tooltip)||ao.is(i.tooltip))&&(i.location===void 0||ga.is(i.location))&&(i.command===void 0||Bs.is(i.command))}e.is=n})(hc||(hc={}));var Th;(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 xt.objectLiteral(i)&&qr.is(i.position)&&(xt.string(i.label)||xt.typedArray(i.label,hc.is))&&(i.kind===void 0||dc.is(i.kind))&&i.textEdits===void 0||xt.typedArray(i.textEdits,Fr.is)&&(i.tooltip===void 0||xt.string(i.tooltip)||ao.is(i.tooltip))&&(i.paddingLeft===void 0||xt.boolean(i.paddingLeft))&&(i.paddingRight===void 0||xt.boolean(i.paddingRight))}e.is=n})(Th||(Th={}));var _h;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(_h||(_h={}));var kh;(function(e){function t(n,r,i,s){return{insertText:n,filterText:r,range:i,command:s}}e.create=t})(kh||(kh={}));var Lh;(function(e){function t(n){return{items:n}}e.create=t})(Lh||(Lh={}));var Ph;(function(e){e.Invoked=0,e.Automatic=1})(Ph||(Ph={}));var Bh;(function(e){function t(n,r){return{range:n,text:r}}e.create=t})(Bh||(Bh={}));var Ih;(function(e){function t(n,r){return{triggerKind:n,selectedCompletionInfo:r}}e.create=t})(Ih||(Ih={}));var Mh;(function(e){function t(n){const r=n;return xt.objectLiteral(r)&&Xl.is(r.uri)&&xt.string(r.name)}e.is=t})(Mh||(Mh={}));var Oh;(function(e){function t(s,a,o,u){return new cy(s,a,o,u)}e.create=t;function n(s){let a=s;return!!(xt.defined(a)&&xt.string(a.uri)&&(xt.undefined(a.languageId)||xt.string(a.languageId))&&xt.uinteger(a.lineCount)&&xt.func(a.getText)&&xt.func(a.positionAt)&&xt.func(a.offsetAt))}e.is=n;function r(s,a){let o=s.getText(),u=i(a,(v,p)=>{let j=v.range.start.line-p.range.start.line;return j===0?v.range.start.character-p.range.start.character:j}),l=o.length;for(let v=u.length-1;v>=0;v--){let p=u[v],j=s.offsetAt(p.range.start),R=s.offsetAt(p.range.end);if(R<=l)o=o.substring(0,j)+p.newText+o.substring(R,o.length);else throw new Error("Overlapping edit");l=j}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 v=0,p=0,j=0;for(;v<u.length&&p<l.length;)a(u[v],l[p])<=0?s[j++]=u[v++]:s[j++]=l[p++];for(;v<u.length;)s[j++]=u[v++];for(;p<l.length;)s[j++]=l[p++];return s}})(Oh||(Oh={}));class cy{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===`
16
- `,s==="\r"&&i+1<n.length&&n.charAt(i+1)===`
17
- `&&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 qr.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 qr.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 xt;(function(e){const t=Object.prototype.toString;function n(R){return typeof R<"u"}e.defined=n;function r(R){return typeof R>"u"}e.undefined=r;function i(R){return R===!0||R===!1}e.boolean=i;function s(R){return t.call(R)==="[object String]"}e.string=s;function a(R){return t.call(R)==="[object Number]"}e.number=a;function o(R,se,te){return t.call(R)==="[object Number]"&&se<=R&&R<=te}e.numberRange=o;function u(R){return t.call(R)==="[object Number]"&&-2147483648<=R&&R<=2147483647}e.integer=u;function l(R){return t.call(R)==="[object Number]"&&0<=R&&R<=2147483647}e.uinteger=l;function v(R){return t.call(R)==="[object Function]"}e.func=v;function p(R){return R!==null&&typeof R=="object"}e.objectLiteral=p;function j(R,se){return Array.isArray(R)&&R.every(se)}e.typedArray=j})(xt||(xt={}));const mc=Symbol.for("yaml.alias"),gc=Symbol.for("yaml.document"),vs=Symbol.for("yaml.map"),jh=Symbol.for("yaml.pair"),es=Symbol.for("yaml.scalar"),Da=Symbol.for("yaml.seq"),wi=Symbol.for("yaml.node.type"),Yi=e=>!!e&&typeof e=="object"&&e[wi]===mc,oo=e=>!!e&&typeof e=="object"&&e[wi]===gc,$r=e=>!!e&&typeof e=="object"&&e[wi]===vs,cr=e=>!!e&&typeof e=="object"&&e[wi]===jh,Vn=e=>!!e&&typeof e=="object"&&e[wi]===es,_r=e=>!!e&&typeof e=="object"&&e[wi]===Da;function Nr(e){if(e&&typeof e=="object")switch(e[wi]){case vs:case Da:return!0}return!1}function mr(e){if(e&&typeof e=="object")switch(e[wi]){case mc:case vs:case es:case Da:return!0}return!1}const fy=e=>(Vn(e)||Nr(e))&&!!e.anchor,Ms=Symbol("break visit"),py=Symbol("skip children"),uo=Symbol("remove node");function Sr(e,t){const n=dy(t);oo(e)?ba(null,e.contents,n,Object.freeze([e]))===uo&&(e.contents=null):ba(null,e,n,Object.freeze([]))}Sr.BREAK=Ms,Sr.SKIP=py,Sr.REMOVE=uo;function ba(e,t,n,r){const i=hy(e,t,n,r);if(mr(i)||cr(i))return my(e,r,i),ba(e,i,n,r);if(typeof i!="symbol"){if(Nr(t)){r=Object.freeze(r.concat(t));for(let s=0;s<t.items.length;++s){const a=ba(s,t.items[s],n,r);if(typeof a=="number")s=a-1;else{if(a===Ms)return Ms;a===uo&&(t.items.splice(s,1),s-=1)}}}else if(cr(t)){r=Object.freeze(r.concat(t));const s=ba("key",t.key,n,r);if(s===Ms)return Ms;s===uo&&(t.key=null);const a=ba("value",t.value,n,r);if(a===Ms)return Ms;a===uo&&(t.value=null)}}return i}function dy(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 hy(e,t,n,r){if(typeof n=="function")return n(e,t,r);if($r(t))return n.Map?.(e,t,r);if(_r(t))return n.Seq?.(e,t,r);if(cr(t))return n.Pair?.(e,t,r);if(Vn(t))return n.Scalar?.(e,t,r);if(Yi(t))return n.Alias?.(e,t,r)}function my(e,t,n){const r=t[t.length-1];if(Nr(r))r.items[e]=n;else if(cr(r))e==="key"?r.key=n:r.value=n;else if(oo(r))r.contents=n;else{const i=Yi(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const gy={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},yy=e=>e.replace(/[!,[\]{}]/g,t=>gy[t]);class ti{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},ti.defaultYaml,t),this.tags=Object.assign({},ti.defaultTags,n)}clone(){const t=new ti(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new ti(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:ti.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},ti.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:ti.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},ti.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&&mr(t.contents)){const s={};Sr(t.contents,(a,o)=>{mr(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(`
18
- `)}}ti.defaultYaml={explicit:!1,version:"1.2"},ti.defaultTags={"!!":"tag:yaml.org,2002:"};function $h(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 Rh(e){const t=new Set;return Sr(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function Vh(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function Dy(e,t){const n=[],r=new Map;let i=null;return{onAnchor:s=>{n.push(s),i||(i=Rh(e));const a=Vh(t,i);return i.add(a),a},setAnchors:()=>{for(const s of n){const a=r.get(s);if(typeof a=="object"&&a.anchor&&(Vn(a.node)||Nr(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 va(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=va(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=va(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=va(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=va(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||!fy(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 yc{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(!oo(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"?va(s,{"":o},"",o):o}}class Dc extends yc{constructor(t){super(mc),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return Sr(t,{Node:(r,i)=>{if(i===this)return Sr.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=Ko(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($h(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 Ko(e,t,n){if(Yi(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(Nr(t)){let r=0;for(const i of t.items){const s=Ko(e,i,n);s>r&&(r=s)}return r}else if(cr(t)){const r=Ko(e,t.key,n),i=Ko(e,t.value,n);return Math.max(r,i)}return 1}const Uh=e=>!e||typeof e!="function"&&typeof e!="object";class Hn extends yc{constructor(t){super(es),this.value=t}toJSON(t,n){return n?.keep?this.value:Fi(this.value,t,n)}toString(){return String(this.value)}}Hn.BLOCK_FOLDED="BLOCK_FOLDED",Hn.BLOCK_LITERAL="BLOCK_LITERAL",Hn.PLAIN="PLAIN",Hn.QUOTE_DOUBLE="QUOTE_DOUBLE",Hn.QUOTE_SINGLE="QUOTE_SINGLE";const by="tag:yaml.org,2002:";function vy(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 lo(e,t,n){if(oo(e)&&(e=e.contents),mr(e))return e;if(cr(e)){const p=n.schema[vs].createNode?.(n.schema,null,n);return p.items.push(e),p}(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 Dc(u.anchor);u={anchor:null,node:null},o.set(e,u)}t?.startsWith("!!")&&(t=by+t.slice(2));let l=vy(e,t,a.tags);if(!l){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const p=new Hn(e);return u&&(u.node=p),p}l=e instanceof Map?a[vs]:Symbol.iterator in Object(e)?a[Da]:a[vs]}s&&(s(l),delete n.onTagObj);const v=l?.createNode?l.createNode(n.schema,e,n):typeof l?.nodeClass?.from=="function"?l.nodeClass.from(n.schema,e,n):new Hn(e);return t?v.tag=t:l.default||(v.tag=l.tag),u&&(u.node=v),v}function Zo(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 lo(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 co=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class eu extends yc{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=>mr(r)||cr(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(co(t))this.add(n);else{const[r,...i]=t,s=this.get(r,!0);if(Nr(s))s.addIn(i,n);else if(s===void 0&&this.schema)this.set(r,Zo(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(Nr(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&&Vn(s)?s.value:s:Nr(s)?s.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!cr(n))return!1;const r=n.value;return r==null||t&&Vn(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 Nr(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(Nr(s))s.setIn(i,n);else if(s===void 0&&this.schema)this.set(r,Zo(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}eu.maxFlowStringSingleLineLength=60;const Ey=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function ts(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Es=(e,t,n)=>e.endsWith(`
19
- `)?ts(n,t):n.includes(`
20
- `)?`
21
- `+ts(n,t):(e.endsWith(" ")?"":" ")+n,qh="flow",bc="block",tu="quoted";function nu(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=[],v={};let p=i-t.length;typeof r=="number"&&(r>i-Math.max(2,s)?l.push(0):p=i-r);let j,R,se=!1,te=-1,P=-1,ue=-1;n===bc&&(te=Wh(e,te),te!==-1&&(p=te+u));for(let Be;Be=e[te+=1];){if(n===tu&&Be==="\\"){switch(P=te,e[te+1]){case"x":te+=3;break;case"u":te+=5;break;case"U":te+=9;break;default:te+=1}ue=te}if(Be===`
22
- `)n===bc&&(te=Wh(e,te)),p=te+u,j=void 0;else{if(Be===" "&&R&&R!==" "&&R!==`
23
- `&&R!==" "){const Je=e[te+1];Je&&Je!==" "&&Je!==`
24
- `&&Je!==" "&&(j=te)}if(te>=p)if(j)l.push(j),p=j+u,j=void 0;else if(n===tu){for(;R===" "||R===" ";)R=Be,Be=e[te+=1],se=!0;const Je=te>ue+1?te-2:P-1;if(v[Je])return e;l.push(Je),v[Je]=!0,p=Je+u,j=void 0}else se=!0}R=Be}if(se&&o&&o(),l.length===0)return e;a&&a();let ke=e.slice(0,l[0]);for(let Be=0;Be<l.length;++Be){const Je=l[Be],ve=l[Be+1]||e.length;Je===0?ke=`
25
- ${t}${e.slice(0,ve)}`:(n===tu&&v[Je]&&(ke+=`${e[Je]}\\`),ke+=`
26
- ${t}${e.slice(Je+1,ve)}`)}return ke}function Wh(e,t){let n=e[t+1];for(;n===" "||n===" ";){do n=e[t+=1];while(n&&n!==`
27
- `);n=e[t+1]}return t}const ru=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),iu=e=>/^(%|---|\.\.\.)/m.test(e);function Ay(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]===`
28
- `){if(s-a>r)return!0;if(a=s+1,i-a<=r)return!1}return!0}function fo(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(iu(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 v=n.substr(u+2,4);switch(v){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:v.substr(0,2)==="00"?a+="\\x"+v.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)+`
29
-
30
- `;n[u+2]==="\\"&&n[u+3]==="n"&&n[u+4]!=='"';)a+=`
31
- `,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:nu(a,s,tu,ru(t,!1))}function vc(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
32
- `)||/[ \t]\n|\n[ \t]/.test(e))return fo(e,t);const n=t.indent||(iu(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
33
- ${n}`)+"'";return t.implicitKey?r:nu(r,n,qh,ru(t,!1))}function Ea(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=fo;else{const i=e.includes('"'),s=e.includes("'");i&&!s?r=vc:s&&!i?r=fo:r=n?vc:fo}return r(e,t)}let Ec;try{Ec=new RegExp(`(^|(?<!
34
- ))
35
- +(?!
36
- |$)`,"g")}catch{Ec=/\n+(?!\n|$)/g}function su({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 Ea(n,r);const l=r.indent||(r.forceBlockIndent||iu(n)?" ":""),v=a==="literal"?!0:a==="folded"||t===Hn.BLOCK_FOLDED?!1:t===Hn.BLOCK_LITERAL?!0:!Ay(n,u,l.length);if(!n)return v?`|
37
- `:`>
38
- `;let p,j;for(j=n.length;j>0;--j){const Oe=n[j-1];if(Oe!==`
39
- `&&Oe!==" "&&Oe!==" ")break}let R=n.substring(j);const se=R.indexOf(`
40
- `);se===-1?p="-":n===R||se!==R.length-1?(p="+",s&&s()):p="",R&&(n=n.slice(0,-R.length),R[R.length-1]===`
41
- `&&(R=R.slice(0,-1)),R=R.replace(Ec,`$&${l}`));let te=!1,P,ue=-1;for(P=0;P<n.length;++P){const Oe=n[P];if(Oe===" ")te=!0;else if(Oe===`
42
- `)ue=P;else break}let ke=n.substring(0,ue<P?ue+1:P);ke&&(n=n.substring(ke.length),ke=ke.replace(/\n+/g,`$&${l}`));let Je=(v?"|":">")+(te?l?"2":"1":"")+p;if(e&&(Je+=" "+o(e.replace(/ ?[\r\n]+/g," ")),i&&i()),v)return n=n.replace(/\n+/g,`$&${l}`),`${Je}
43
- ${l}${ke}${n}${R}`;n=n.replace(/\n+/g,`
44
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);const ve=nu(`${ke}${n}${R}`,l,bc,ru(r,!0));return`${Je}
45
- ${l}${ve}`}function Cy(e,t,n,r){const{type:i,value:s}=e,{actualString:a,implicitKey:o,indent:u,indentStep:l,inFlow:v}=t;if(o&&s.includes(`
46
- `)||v&&/[[\]{},]/.test(s))return Ea(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return o||v||!s.includes(`
47
- `)?Ea(s,t):su(e,t,n,r);if(!o&&!v&&i!==Hn.PLAIN&&s.includes(`
48
- `))return su(e,t,n,r);if(iu(s)){if(u==="")return t.forceBlockIndent=!0,su(e,t,n,r);if(o&&u===l)return Ea(s,t)}const p=s.replace(/\n+/g,`$&
49
- ${u}`);if(a){const j=te=>te.default&&te.tag!=="tag:yaml.org,2002:str"&&te.test?.test(p),{compat:R,tags:se}=t.doc.schema;if(se.some(j)||R?.some(j))return Ea(s,t)}return o?p:nu(p,u,qh,ru(t,!1))}function Ac(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!==Hn.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(o=Hn.QUOTE_DOUBLE);const u=v=>{switch(v){case Hn.BLOCK_FOLDED:case Hn.BLOCK_LITERAL:return i||s?Ea(a.value,t):su(a,t,n,r);case Hn.QUOTE_DOUBLE:return fo(a.value,t);case Hn.QUOTE_SINGLE:return vc(a.value,t);case Hn.PLAIN:return Cy(a,t,n,r);default:return null}};let l=u(o);if(l===null){const{defaultKeyType:v,defaultStringType:p}=t.options,j=i&&v||p;if(l=u(j),l===null)throw new Error(`Unsupported default string type ${j}`)}return l}function Gh(e,t){const n=Object.assign({blockQuote:!0,commentString:Ey,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 Sy(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(Vn(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 xy(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],s=(Vn(e)||Nr(e))&&e.anchor;s&&$h(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 Aa(e,t,n,r){if(cr(e))return e.toString(t,n,r);if(Yi(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=mr(e)?e:t.doc.createNode(e,{onTagObj:u=>i=u});i||(i=Sy(t.doc.schema.tags,s));const a=xy(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):Vn(s)?Ac(s,t,n,r):s.toString(t,n,r);return a?Vn(s)||o[0]==="{"||o[0]==="["?`${a} ${o}`:`${a}
50
- ${t.indent}${o}`:o}function wy({key:e,value:t},n,r,i){const{allNullValues:s,doc:a,indent:o,indentStep:u,options:{commentString:l,indentSeq:v,simpleKeys:p}}=n;let j=mr(e)&&e.comment||null;if(p){if(j)throw new Error("With simple keys, key nodes cannot have comments");if(Nr(e)){const Et="With simple keys, collection cannot be used as a key value";throw new Error(Et)}}let R=!p&&(!e||j&&t==null&&!n.inFlow||Nr(e)||(Vn(e)?e.type===Hn.BLOCK_FOLDED||e.type===Hn.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!R&&(p||!s),indent:o+u});let se=!1,te=!1,P=Aa(e,n,()=>se=!0,()=>te=!0);if(!R&&!n.inFlow&&P.length>1024){if(p)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");R=!0}if(n.inFlow){if(s||t==null)return se&&r&&r(),P===""?"?":R?`? ${P}`:P}else if(s&&!p||t==null&&R)return P=`? ${P}`,j&&!se?P+=Es(P,n.indent,l(j)):te&&i&&i(),P;se&&(j=null),R?(j&&(P+=Es(P,n.indent,l(j))),P=`? ${P}
51
- ${o}:`):(P=`${P}:`,j&&(P+=Es(P,n.indent,l(j))));let ue,ke,Be;mr(t)?(ue=!!t.spaceBefore,ke=t.commentBefore,Be=t.comment):(ue=!1,ke=null,Be=null,t&&typeof t=="object"&&(t=a.createNode(t))),n.implicitKey=!1,!R&&!j&&Vn(t)&&(n.indentAtStart=P.length+1),te=!1,!v&&u.length>=2&&!n.inFlow&&!R&&_r(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let Je=!1;const ve=Aa(t,n,()=>Je=!0,()=>te=!0);let Oe=" ";if(j||ue||ke){if(Oe=ue?`
52
- `:"",ke){const Et=l(ke);Oe+=`
53
- ${ts(Et,n.indent)}`}ve===""&&!n.inFlow?Oe===`
54
- `&&(Oe=`
55
-
56
- `):Oe+=`
57
- ${n.indent}`}else if(!R&&Nr(t)){const Et=ve[0],Ft=ve.indexOf(`
58
- `),we=Ft!==-1,_e=n.inFlow??t.flow??t.items.length===0;if(we||!_e){let Re=!1;if(we&&(Et==="&"||Et==="!")){let he=ve.indexOf(" ");Et==="&"&&he!==-1&&he<Ft&&ve[he+1]==="!"&&(he=ve.indexOf(" ",he+1)),(he===-1||Ft<he)&&(Re=!0)}Re||(Oe=`
59
- ${n.indent}`)}}else(ve===""||ve[0]===`
60
- `)&&(Oe="");return P+=Oe+ve,n.inFlow?Je&&r&&r():Be&&!Je?P+=Es(P,n.indent,l(Be)):te&&i&&i(),P}function Jh(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}const Yh="<<";function Hh(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&Fy(n))if(r=Yi(r)?r.resolve(e.doc):r,_r(r))for(const i of r.items)Cc(e,t,i);else if(Array.isArray(r))for(const i of r)Cc(e,t,i);else Cc(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=Ny(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 Fy=e=>e===Yh||Vn(e)&&e.value===Yh&&(!e.type||e.type===Hn.PLAIN);function Cc(e,t,n){const r=e&&Yi(n)?n.resolve(e.doc):n;if(!$r(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 Ny(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(mr(e)&&n?.doc){const r=Gh(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)+'..."'),Jh(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 Sc(e,t,n){const r=lo(e,void 0,n),i=lo(t,void 0,n);return new ni(r,i)}class ni{constructor(t,n=null){Object.defineProperty(this,wi,{value:jh}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return mr(n)&&(n=n.clone(t)),mr(r)&&(r=r.clone(t)),new ni(n,r)}toJSON(t,n){const r=n?.mapAsMap?new Map:{};return Hh(n,r,this)}toString(t,n,r){return t?.doc?wy(this,t,n,r):JSON.stringify(this)}}function zh(e,t,n){return(t.inFlow??e.flow?_y:Ty)(e,t,n)}function Ty({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:a,onComment:o}){const{indent:u,options:{commentString:l}}=n,v=Object.assign({},n,{indent:s,type:null});let p=!1;const j=[];for(let se=0;se<t.length;++se){const te=t[se];let P=null;if(mr(te))!p&&te.spaceBefore&&j.push(""),au(n,j,te.commentBefore,p),te.comment&&(P=te.comment);else if(cr(te)){const ke=mr(te.key)?te.key:null;ke&&(!p&&ke.spaceBefore&&j.push(""),au(n,j,ke.commentBefore,p))}p=!1;let ue=Aa(te,v,()=>P=null,()=>p=!0);P&&(ue+=Es(ue,s,l(P))),p&&P&&(p=!1),j.push(r+ue)}let R;if(j.length===0)R=i.start+i.end;else{R=j[0];for(let se=1;se<j.length;++se){const te=j[se];R+=te?`
61
- ${u}${te}`:`
62
- `}}return e?(R+=`
63
- `+ts(l(e),u),o&&o()):p&&a&&a(),R}function _y({comment:e,items:t},n,{flowChars:r,itemIndent:i,onComment:s}){const{indent:a,indentStep:o,flowCollectionPadding:u,options:{commentString:l}}=n;i+=o;const v=Object.assign({},n,{indent:i,inFlow:!0,type:null});let p=!1,j=0;const R=[];for(let ue=0;ue<t.length;++ue){const ke=t[ue];let Be=null;if(mr(ke))ke.spaceBefore&&R.push(""),au(n,R,ke.commentBefore,!1),ke.comment&&(Be=ke.comment);else if(cr(ke)){const ve=mr(ke.key)?ke.key:null;ve&&(ve.spaceBefore&&R.push(""),au(n,R,ve.commentBefore,!1),ve.comment&&(p=!0));const Oe=mr(ke.value)?ke.value:null;Oe?(Oe.comment&&(Be=Oe.comment),Oe.commentBefore&&(p=!0)):ke.value==null&&ve?.comment&&(Be=ve.comment)}Be&&(p=!0);let Je=Aa(ke,v,()=>Be=null);ue<t.length-1&&(Je+=","),Be&&(Je+=Es(Je,i,l(Be))),!p&&(R.length>j||Je.includes(`
64
- `))&&(p=!0),R.push(Je),j=R.length}let se;const{start:te,end:P}=r;if(R.length===0)se=te+P;else if(p||(p=R.reduce((ke,Be)=>ke+Be.length+2,2)>eu.maxFlowStringSingleLineLength),p){se=te;for(const ue of R)se+=ue?`
65
- ${o}${a}${ue}`:`
66
- `;se+=`
67
- ${a}${P}`}else se=`${te}${u}${R.join(" ")}${u}${P}`;return e&&(se+=Es(se,a,l(e)),s&&s()),se}function au({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const s=ts(t(r),e);n.push(s.trimStart())}}function Os(e,t){const n=Vn(t)?t.value:t;for(const r of e)if(cr(r)&&(r.key===t||r.key===n||Vn(r.key)&&r.key.value===n))return r}class Ni extends eu{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(vs,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(Sc(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;cr(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new ni(t,t?.value):r=new ni(t.key,t.value);const i=Os(this.items,r.key),s=this.schema?.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);Vn(i.value)&&Uh(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=Os(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const i=Os(this.items,t)?.value;return(!n&&Vn(i)?i.value:i)??void 0}has(t){return!!Os(this.items,t)}set(t,n){this.add(new ni(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)Hh(n,i,s);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!cr(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})),zh(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Ca={collection:"map",default:!0,nodeClass:Ni,tag:"tag:yaml.org,2002:map",resolve(e,t){return $r(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Ni.from(e,t,n)};class js extends eu{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Da,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=ou(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=ou(t);if(typeof r!="number")return;const i=this.items[r];return!n&&Vn(i)?i.value:i}has(t){const n=ou(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=ou(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];Vn(i)&&Uh(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?zh(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(lo(o,void 0,r))}}return s}}function ou(e){let t=Vn(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const Sa={collection:"seq",default:!0,nodeClass:js,tag:"tag:yaml.org,2002:seq",resolve(e,t){return _r(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>js.from(e,t,n)},uu={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),Ac(e,t,n,r)}},lu={identify:e=>e==null,createNode:()=>new Hn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Hn(null),stringify:({source:e},t)=>typeof e=="string"&&lu.test.test(e)?e:t.options.nullStr},xc={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Hn(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&xc.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 Mi({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 Xh={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:Mi},Qh={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():Mi(e)}},Kh={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 Hn(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:Mi},cu=e=>typeof e=="bigint"||Number.isInteger(e),wc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Zh(e,t,n){const{value:r}=e;return cu(r)&&r>=0?n+r.toString(t):Mi(e)}const em={identify:e=>cu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>wc(e,2,8,n),stringify:e=>Zh(e,8,"0o")},tm={identify:cu,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>wc(e,0,10,n),stringify:Mi},nm={identify:e=>cu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>wc(e,2,16,n),stringify:e=>Zh(e,16,"0x")},ky=[Ca,Sa,uu,lu,xc,em,tm,nm,Xh,Qh,Kh];function rm(e){return typeof e=="bigint"||Number.isInteger(e)}const fu=({value:e})=>JSON.stringify(e),Ly=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:fu},{identify:e=>e==null,createNode:()=>new Hn(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:rm,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})=>rm(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}],Py={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},By=[Ca,Sa].concat(Ly,Py),Fc={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=Hn.BLOCK_LITERAL),t!==Hn.QUOTE_DOUBLE){const u=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),l=Math.ceil(o.length/u),v=new Array(l);for(let p=0,j=0;p<l;++p,j+=u)v[p]=o.substr(j,u);o=v.join(t===Hn.BLOCK_LITERAL?`
68
- `:" ")}return Ac({comment:e,type:t,value:o},r,i,s)}};function im(e,t){if(_r(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!cr(r)){if($r(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new ni(new Hn(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
69
- ${i.key.commentBefore}`:r.commentBefore),r.comment){const s=i.value??i.key;s.comment=s.comment?`${r.comment}
70
- ${s.comment}`:r.comment}r=i}e.items[n]=cr(r)?r:new ni(r)}}else t("Expected a sequence for this tag");return e}function sm(e,t,n){const{replacer:r}=n,i=new js(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(Sc(o,u,n))}return i}const Nc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:im,createNode:sm};class xa extends js{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=xa.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(cr(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=sm(t,n,r),s=new this;return s.items=i.items,s}}xa.tag="tag:yaml.org,2002:omap";const Tc={collection:"seq",identify:e=>e instanceof Map,nodeClass:xa,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=im(e,t),r=[];for(const{key:i}of n.items)Vn(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new xa,n)},createNode:(e,t,n)=>xa.from(e,t,n)};function am({value:e,source:t},n){return t&&(e?om:um).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const om={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 Hn(!0),stringify:am},um={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new Hn(!1),stringify:am},Iy={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:Mi},My={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():Mi(e)}},Oy={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 Hn(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:Mi},po=e=>typeof e=="bigint"||Number.isInteger(e);function pu(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 _c(e,t,n){const{value:r}=e;if(po(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return Mi(e)}const jy={identify:po,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>pu(e,2,2,n),stringify:e=>_c(e,2,"0b")},$y={identify:po,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>pu(e,1,8,n),stringify:e=>_c(e,8,"0")},Ry={identify:po,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>pu(e,0,10,n),stringify:Mi},Vy={identify:po,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>pu(e,2,16,n),stringify:e=>_c(e,16,"0x")};class wa extends Ni{constructor(t){super(t),this.tag=wa.tag}add(t){let n;cr(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ni(t.key,null):n=new ni(t,null),Os(this.items,n.key)||this.items.push(n)}get(t,n){const r=Os(this.items,t);return!n&&cr(r)?Vn(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=Os(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ni(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(Sc(a,null,r));return s}}wa.tag="tag:yaml.org,2002:set";const kc={collection:"map",identify:e=>e instanceof Set,nodeClass:wa,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>wa.from(e,t,n),resolve(e,t){if($r(e)){if(e.hasAllNullValues(!0))return Object.assign(new wa,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Lc(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 lm(e){let{value:t}=e,n=a=>a;if(typeof t=="bigint")n=a=>BigInt(a);else if(isNaN(t)||!isFinite(t))return Mi(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 cm={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})=>Lc(e,n),stringify:lm},fm={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=>Lc(e,!1),stringify:lm},du={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(du.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 v=t[8];if(v&&v!=="Z"){let p=Lc(v,!1);Math.abs(p)<30&&(p*=60),l-=6e4*p}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},pm=[Ca,Sa,uu,lu,om,um,jy,$y,Ry,Vy,Iy,My,Oy,Fc,Tc,Nc,kc,cm,fm,du],dm=new Map([["core",ky],["failsafe",[Ca,Sa,uu]],["json",By],["yaml11",pm],["yaml-1.1",pm]]),hm={binary:Fc,bool:xc,float:Kh,floatExp:Qh,floatNaN:Xh,floatTime:fm,int:tm,intHex:nm,intOct:em,intTime:cm,map:Ca,null:lu,omap:Tc,pairs:Nc,seq:Sa,set:kc,timestamp:du},Uy={"tag:yaml.org,2002:binary":Fc,"tag:yaml.org,2002:omap":Tc,"tag:yaml.org,2002:pairs":Nc,"tag:yaml.org,2002:set":kc,"tag:yaml.org,2002:timestamp":du};function Pc(e,t){let n=dm.get(t);if(!n)if(Array.isArray(e))n=[];else{const r=Array.from(dm.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=hm[r];if(i)return i;const s=Object.keys(hm).map(a=>JSON.stringify(a)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${s}`)})}const qy=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class Bc{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:s,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(t)?Pc(t,"compat"):t?Pc(null,t):null,this.merge=!!r,this.name=typeof s=="string"&&s||"core",this.knownTags=i?Uy:{},this.tags=Pc(n,this.name),this.toStringOptions=o??null,Object.defineProperty(this,vs,{value:Ca}),Object.defineProperty(this,es,{value:uu}),Object.defineProperty(this,Da,{value:Sa}),this.sortMapEntries=typeof a=="function"?a:a===!0?qy:null}clone(){const t=Object.create(Bc.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function Wy(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=Gh(e,t),{commentString:s}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const u=s(e.commentBefore);n.unshift(ts(u,""))}let a=!1,o=null;if(e.contents){if(mr(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const v=s(e.contents.commentBefore);n.push(ts(v,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}const u=o?void 0:()=>a=!0;let l=Aa(e.contents,i,()=>o=null,u);o&&(l+=Es(l,"",s(o))),(l[0]==="|"||l[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${l}`:n.push(l)}else n.push(Aa(e.contents,i));if(e.directives?.docEnd)if(e.comment){const u=s(e.comment);u.includes(`
71
- `)?(n.push("..."),n.push(ts(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(ts(s(u),"")))}return n.join(`
72
- `)+`
73
- `}class hu{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,wi,{value:gc});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 ti({version:a}),this.setSchema(a,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(hu.prototype,{[wi]:{value:gc}});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=mr(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Fa(this.contents)&&this.contents.add(t)}addIn(t,n){Fa(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=Rh(this);t.anchor=!n||r.has(n)?Vh(n||"a",r):n}return new Dc(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 P=ke=>typeof ke=="number"||ke instanceof String||ke instanceof Number,ue=n.filter(P).map(String);ue.length>0&&(n=n.concat(ue)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:s,anchorPrefix:a,flow:o,keepUndefined:u,onTagObj:l,tag:v}=r??{},{onAnchor:p,setAnchors:j,sourceObjects:R}=Dy(this,a||"a"),se={aliasDuplicateObjects:s??!0,keepUndefined:u??!1,onAnchor:p,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:R},te=lo(t,v,se);return o&&Nr(te)&&(te.flow=!0),j(),te}createPair(t,n,r={}){const i=this.createNode(t,null,r),s=this.createNode(n,null,r);return new ni(i,s)}delete(t){return Fa(this.contents)?this.contents.delete(t):!1}deleteIn(t){return co(t)?this.contents==null?!1:(this.contents=null,!0):Fa(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Nr(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return co(t)?!n&&Vn(this.contents)?this.contents.value:this.contents:Nr(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Nr(this.contents)?this.contents.has(t):!1}hasIn(t){return co(t)?this.contents!==void 0:Nr(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=Zo(this.schema,[t],n):Fa(this.contents)&&this.contents.set(t,n)}setIn(t,n){co(t)?this.contents=n:this.contents==null?this.contents=Zo(this.schema,Array.from(t),n):Fa(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 ti({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 ti({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 Bc(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:v}of o.anchors.values())s(v,l);return typeof a=="function"?va(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 Wy(this,t)}}function Fa(e){if(Nr(e))return!0;throw new Error("Expected a YAML collection as document contents")}class mm extends Error{constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class ho extends mm{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class Gy extends mm{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const gm=(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)+`…
74
- `),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+=`:
75
-
76
- ${a}
77
- ${l}
78
- `}};function Na(e,{flow:t,indicator:n,next:r,offset:i,onError:s,startOnNewline:a}){let o=!1,u=a,l=a,v="",p="",j=!1,R=!1,se=!1,te=null,P=null,ue=null,ke=null,Be=null;for(const Oe of e)switch(se&&(Oe.type!=="space"&&Oe.type!=="newline"&&Oe.type!=="comma"&&s(Oe.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),se=!1),Oe.type){case"space":!t&&u&&n!=="doc-start"&&Oe.source[0]===" "&&s(Oe,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||s(Oe,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const Et=Oe.source.substring(1)||" ";v?v+=p+Et:v=Et,p="",u=!1;break}case"newline":u?v?v+=Oe.source:o=!0:p+=Oe.source,u=!0,j=!0,(te||P)&&(R=!0),l=!0;break;case"anchor":te&&s(Oe,"MULTIPLE_ANCHORS","A node can have at most one anchor"),Oe.source.endsWith(":")&&s(Oe.offset+Oe.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),te=Oe,Be===null&&(Be=Oe.offset),u=!1,l=!1,se=!0;break;case"tag":{P&&s(Oe,"MULTIPLE_TAGS","A node can have at most one tag"),P=Oe,Be===null&&(Be=Oe.offset),u=!1,l=!1,se=!0;break}case n:(te||P)&&s(Oe,"BAD_PROP_ORDER",`Anchors and tags must be after the ${Oe.source} indicator`),ke&&s(Oe,"UNEXPECTED_TOKEN",`Unexpected ${Oe.source} in ${t??"collection"}`),ke=Oe,u=!1,l=!1;break;case"comma":if(t){ue&&s(Oe,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),ue=Oe,u=!1,l=!1;break}default:s(Oe,"UNEXPECTED_TOKEN",`Unexpected ${Oe.type} token`),u=!1,l=!1}const Je=e[e.length-1],ve=Je?Je.offset+Je.source.length:i;return se&&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"),{comma:ue,found:ke,spaceBefore:o,comment:v,hasNewline:j,hasNewlineAfterProp:R,anchor:te,tag:P,end:ve,start:Be??ve}}function mo(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
79
- `))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(mo(t.key)||mo(t.value))return!0}return!1;default:return!0}}function Ic(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&mo(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function ym(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(s,a)=>s===a||Vn(s)&&Vn(a)&&s.value===a.value&&!(s.value==="<<"&&e.schema.merge);return t.some(s=>i(s.key,n))}const Dm="All mapping items must start at the same column";function Jy({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 v of r.items){const{start:p,key:j,sep:R,value:se}=v,te=Na(p,{indicator:"explicit-key-ind",next:j??R?.[0],offset:u,onError:i,startOnNewline:!0}),P=!te.found;if(P){if(j&&(j.type==="block-seq"?i(u,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in j&&j.indent!==r.indent&&i(u,"BAD_INDENT",Dm)),!te.anchor&&!te.tag&&!R){l=te.end,te.comment&&(o.comment?o.comment+=`
80
- `+te.comment:o.comment=te.comment);continue}(te.hasNewlineAfterProp||mo(j))&&i(j??p[p.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else te.found?.indent!==r.indent&&i(u,"BAD_INDENT",Dm);const ue=te.end,ke=j?e(n,j,te,i):t(n,ue,p,null,te,i);n.schema.compat&&Ic(r.indent,j,i),ym(n,o.items,ke)&&i(ue,"DUPLICATE_KEY","Map keys must be unique");const Be=Na(R??[],{indicator:"map-value-ind",next:se,offset:ke.range[2],onError:i,startOnNewline:!j||j.type==="block-scalar"});if(u=Be.end,Be.found){P&&(se?.type==="block-map"&&!Be.hasNewline&&i(u,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&te.start<Be.found.offset-1024&&i(ke.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const Je=se?e(n,se,Be,i):t(n,u,R,null,Be,i);n.schema.compat&&Ic(r.indent,se,i),u=Je.range[2];const ve=new ni(ke,Je);n.options.keepSourceTokens&&(ve.srcToken=v),o.items.push(ve)}else{P&&i(ke.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),Be.comment&&(ke.comment?ke.comment+=`
81
- `+Be.comment:ke.comment=Be.comment);const Je=new ni(ke);n.options.keepSourceTokens&&(Je.srcToken=v),o.items.push(Je)}}return l&&l<u&&i(l,"IMPOSSIBLE","Map comment with trailing content"),o.range=[r.offset,u,l??u],o}function Yy({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=s?.nodeClass??js,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,l=null;for(const{start:v,value:p}of r.items){const j=Na(v,{indicator:"seq-item-ind",next:p,offset:u,onError:i,startOnNewline:!0});if(!j.found)if(j.anchor||j.tag||p)p&&p.type==="block-seq"?i(j.end,"BAD_INDENT","All sequence items must start at the same column"):i(u,"MISSING_CHAR","Sequence item without - indicator");else{l=j.end,j.comment&&(o.comment=j.comment);continue}const R=p?e(n,p,j,i):t(n,j.end,v,null,j,i);n.schema.compat&&Ic(r.indent,p,i),u=R.range[2],o.items.push(R)}return o.range=[r.offset,u,l??u],o}function go(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 v=u.substring(1)||" ";i?i+=a+v:i=v,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 Mc="Block collections are not allowed within flow collections",Oc=e=>e&&(e.type==="block-map"||e.type==="block-seq");function Hy({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=r.start.source==="{",o=a?"flow map":"flow sequence",u=s?.nodeClass??(a?Ni:js),l=new u(n.schema);l.flow=!0;const v=n.atRoot;v&&(n.atRoot=!1);let p=r.offset+r.start.source.length;for(let P=0;P<r.items.length;++P){const ue=r.items[P],{start:ke,key:Be,sep:Je,value:ve}=ue,Oe=Na(ke,{flow:o,indicator:"explicit-key-ind",next:Be??Je?.[0],offset:p,onError:i,startOnNewline:!1});if(!Oe.found){if(!Oe.anchor&&!Oe.tag&&!Je&&!ve){P===0&&Oe.comma?i(Oe.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):P<r.items.length-1&&i(Oe.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),Oe.comment&&(l.comment?l.comment+=`
82
- `+Oe.comment:l.comment=Oe.comment),p=Oe.end;continue}!a&&n.options.strict&&mo(Be)&&i(Be,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(P===0)Oe.comma&&i(Oe.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(Oe.comma||i(Oe.start,"MISSING_CHAR",`Missing , between ${o} items`),Oe.comment){let Et="";e:for(const Ft of ke)switch(Ft.type){case"comma":case"space":break;case"comment":Et=Ft.source.substring(1);break e;default:break e}if(Et){let Ft=l.items[l.items.length-1];cr(Ft)&&(Ft=Ft.value??Ft.key),Ft.comment?Ft.comment+=`
83
- `+Et:Ft.comment=Et,Oe.comment=Oe.comment.substring(Et.length+1)}}if(!a&&!Je&&!Oe.found){const Et=ve?e(n,ve,Oe,i):t(n,Oe.end,Je,null,Oe,i);l.items.push(Et),p=Et.range[2],Oc(ve)&&i(Et.range,"BLOCK_IN_FLOW",Mc)}else{const Et=Oe.end,Ft=Be?e(n,Be,Oe,i):t(n,Et,ke,null,Oe,i);Oc(Be)&&i(Ft.range,"BLOCK_IN_FLOW",Mc);const we=Na(Je??[],{flow:o,indicator:"map-value-ind",next:ve,offset:Ft.range[2],onError:i,startOnNewline:!1});if(we.found){if(!a&&!Oe.found&&n.options.strict){if(Je)for(const he of Je){if(he===we.found)break;if(he.type==="newline"){i(he,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}Oe.start<we.found.offset-1024&&i(we.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else ve&&("source"in ve&&ve.source&&ve.source[0]===":"?i(ve,"MISSING_CHAR",`Missing space after : in ${o}`):i(we.start,"MISSING_CHAR",`Missing , or : between ${o} items`));const _e=ve?e(n,ve,we,i):we.found?t(n,we.end,Je,null,we,i):null;_e?Oc(ve)&&i(_e.range,"BLOCK_IN_FLOW",Mc):we.comment&&(Ft.comment?Ft.comment+=`
84
- `+we.comment:Ft.comment=we.comment);const Re=new ni(Ft,_e);if(n.options.keepSourceTokens&&(Re.srcToken=ue),a){const he=l;ym(n,he.items,Ft)&&i(Et,"DUPLICATE_KEY","Map keys must be unique"),he.items.push(Re)}else{const he=new Ni(n.schema);he.flow=!0,he.items.push(Re),l.items.push(he)}p=_e?_e.range[2]:we.end}}const j=a?"}":"]",[R,...se]=r.end;let te=p;if(R&&R.source===j)te=R.offset+R.source.length;else{const P=o[0].toUpperCase()+o.substring(1),ue=v?`${P} must end with a ${j}`:`${P} in block collection must be sufficiently indented and end with a ${j}`;i(p,v?"MISSING_CHAR":"BAD_INDENT",ue),R&&R.source.length!==1&&se.unshift(R)}if(se.length>0){const P=go(se,te,n.options.strict,i);P.comment&&(l.comment?l.comment+=`
85
- `+P.comment:l.comment=P.comment),l.range=[r.offset,te,P.offset]}else l.range=[r.offset,te,te];return l}function jc(e,t,n,r,i,s){const a=n.type==="block-map"?Jy(e,t,n,r,s):n.type==="block-seq"?Yy(e,t,n,r,s):Hy(e,t,n,r,s),o=a.constructor;return i==="!"||i===o.tagName?(a.tag=o.tagName,a):(i&&(a.tag=i),a)}function zy(e,t,n,r,i){const s=r?t.directives.tagName(r.source,p=>i(r,"TAG_RESOLVE_FAILED",p)):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===js.tagName&&a==="seq"||!a)return jc(e,t,n,i,s);let o=t.schema.tags.find(p=>p.tag===s&&p.collection===a);if(!o){const p=t.schema.knownTags[s];if(p&&p.collection===a)t.schema.tags.push(Object.assign({},p,{default:!1})),o=p;else return p?.collection?i(r,"BAD_COLLECTION_TYPE",`${p.tag} used for ${a} collection, but expects ${p.collection}`,!0):i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),jc(e,t,n,i,s)}const u=jc(e,t,n,i,s,o),l=o.resolve?.(u,p=>i(r,"TAG_RESOLVE_FAILED",p),t.options)??u,v=mr(l)?l:new Hn(l);return v.range=u.range,v.tag=s,o?.format&&(v.format=o.format),v}function Xy(e,t,n){const r=e.offset,i=Qy(e,t,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const s=i.mode===">"?Hn.BLOCK_FOLDED:Hn.BLOCK_LITERAL,a=e.source?Ky(e.source):[];let o=a.length;for(let te=a.length-1;te>=0;--te){const P=a[te][1];if(P===""||P==="\r")o=te;else break}if(o===0){const te=i.chomp==="+"&&a.length>0?`
86
- `.repeat(Math.max(1,a.length-1)):"";let P=r+i.length;return e.source&&(P+=e.source.length),{value:te,type:s,comment:i.comment,range:[r,P,P]}}let u=e.indent+i.indent,l=e.offset+i.length,v=0;for(let te=0;te<o;++te){const[P,ue]=a[te];if(ue===""||ue==="\r")i.indent===0&&P.length>u&&(u=P.length);else{if(P.length<u){const ke="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(l+P.length,"MISSING_CHAR",ke)}i.indent===0&&(u=P.length),v=te;break}l+=P.length+ue.length+1}for(let te=a.length-1;te>=o;--te)a[te][0].length>u&&(o=te+1);let p="",j="",R=!1;for(let te=0;te<v;++te)p+=a[te][0].slice(u)+`
87
- `;for(let te=v;te<o;++te){let[P,ue]=a[te];l+=P.length+ue.length+1;const ke=ue[ue.length-1]==="\r";if(ke&&(ue=ue.slice(0,-1)),ue&&P.length<u){const Je=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(l-ue.length-(ke?2:1),"BAD_INDENT",Je),P=""}s===Hn.BLOCK_LITERAL?(p+=j+P.slice(u)+ue,j=`
88
- `):P.length>u||ue[0]===" "?(j===" "?j=`
89
- `:!R&&j===`
90
- `&&(j=`
91
-
92
- `),p+=j+P.slice(u)+ue,j=`
93
- `,R=!0):ue===""?j===`
94
- `?p+=`
95
- `:j=`
96
- `:(p+=j+ue,j=" ",R=!1)}switch(i.chomp){case"-":break;case"+":for(let te=o;te<a.length;++te)p+=`
97
- `+a[te][0].slice(u);p[p.length-1]!==`
98
- `&&(p+=`
99
- `);break;default:p+=`
100
- `}const se=r+i.length+e.source.length;return{value:p,type:s,comment:i.comment,range:[r,se,se]}}function Qy({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 j=1;j<i.length;++j){const R=i[j];if(!o&&(R==="-"||R==="+"))o=R;else{const se=Number(R);!a&&se?a=se:u===-1&&(u=e+j)}}u!==-1&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let l=!1,v="",p=i.length;for(let j=1;j<t.length;++j){const R=t[j];switch(R.type){case"space":l=!0;case"newline":p+=R.source.length;break;case"comment":n&&!l&&r(R,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),p+=R.source.length,v=R.source.substring(1);break;case"error":r(R,"UNEXPECTED_TOKEN",R.message),p+=R.source.length;break;default:{const se=`Unexpected token in block scalar header: ${R.type}`;r(R,"UNEXPECTED_TOKEN",se);const te=R.source;te&&typeof te=="string"&&(p+=te.length)}}}return{mode:s,indent:a,chomp:o,comment:v,length:p}}function Ky(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 Zy(e,t,n){const{offset:r,type:i,source:s,end:a}=e;let o,u;const l=(j,R,se)=>n(r+j,R,se);switch(i){case"scalar":o=Hn.PLAIN,u=eD(s,l);break;case"single-quoted-scalar":o=Hn.QUOTE_SINGLE,u=tD(s,l);break;case"double-quoted-scalar":o=Hn.QUOTE_DOUBLE,u=nD(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 v=r+s.length,p=go(a,v,t,n);return{value:u,type:o,comment:p.comment,range:[r,v,p.offset]}}function eD(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}`),bm(e)}function tD(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),bm(e.slice(1,-1)).replace(/''/g,"'")}function bm(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
101
- `,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
102
- `,"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===`
103
- `?i+=s:s=`
104
- `:(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 nD(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
105
- `))if(i===`
106
- `){const{fold:s,offset:a}=rD(e,r);n+=s,r=a}else if(i==="\\"){let s=e[++r];const a=iD[s];if(a)n+=a;else if(s===`
107
- `)for(s=e[r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="\r"&&e[r+1]===`
108
- `)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+=sD(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!==`
109
- `&&!(a==="\r"&&e[r+2]===`
110
- `)&&(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 rD(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===`
111
- `||r==="\r")&&!(r==="\r"&&e[t+2]!==`
112
- `);)r===`
113
- `&&(n+=`
114
- `),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const iD={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
115
- `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function sD(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 vm(e,t,n,r){const{value:i,type:s,comment:a,range:o}=t.type==="block-scalar"?Xy(t,e.options.strict,r):Zy(t,e.options.strict,r),u=n?e.directives.tagName(n.source,p=>r(n,"TAG_RESOLVE_FAILED",p)):null,l=n&&u?aD(e.schema,i,u,n,r):t.type==="scalar"?oD(e,i,t,r):e.schema[es];let v;try{const p=l.resolve(i,j=>r(n??t,"TAG_RESOLVE_FAILED",j),e.options);v=Vn(p)?p:new Hn(p)}catch(p){const j=p instanceof Error?p.message:String(p);r(n??t,"TAG_RESOLVE_FAILED",j),v=new Hn(i)}return v.range=o,v.source=i,s&&(v.type=s),u&&(v.tag=u),l.format&&(v.format=l.format),a&&(v.comment=a),v}function aD(e,t,n,r,i){if(n==="!")return e[es];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[es])}function oD({directives:e,schema:t},n,r,i){const s=t.tags.find(a=>a.default&&a.test?.test(n))||t[es];if(t.compat){const a=t.compat.find(o=>o.default&&o.test?.test(n))??t[es];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 uD(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 lD={composeNode:Em,composeEmptyNode:$c};function Em(e,t,n,r){const{spaceBefore:i,comment:s,anchor:a,tag:o}=n;let u,l=!0;switch(t.type){case"alias":u=cD(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=vm(e,t,o,r),a&&(u.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=zy(lD,e,t,o,r),a&&(u.anchor=a.source.substring(1));break;default:{const v=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",v),u=$c(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 $c(e,t,n,r,{spaceBefore:i,comment:s,anchor:a,tag:o,end:u},l){const v={type:"scalar",offset:uD(t,n,r),indent:-1,source:""},p=vm(e,v,o,l);return a&&(p.anchor=a.source.substring(1),p.anchor===""&&l(a,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(p.spaceBefore=!0),s&&(p.comment=s,p.range[2]=u),p}function cD({options:e},{offset:t,source:n,end:r},i){const s=new Dc(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=go(r,a,e.strict,i);return s.range=[t,a,o.offset],o.comment&&(s.comment=o.comment),s}function fD(e,t,{offset:n,start:r,value:i,end:s},a){const o=Object.assign({_directives:t},e),u=new hu(void 0,o),l={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},v=Na(r,{indicator:"doc-start",next:i??s?.[0],offset:n,onError:a,startOnNewline:!0});v.found&&(u.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!v.hasNewline&&a(v.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=i?Em(l,i,v,a):$c(l,v.end,r,null,v,a);const p=u.contents.range[2],j=go(s,p,!1,a);return j.comment&&(u.comment=j.comment),u.range=[n,p,j.offset],u}function yo(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 Am(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?`
116
-
117
- `:`
118
- `)+(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 Cm{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,i,s)=>{const a=yo(n);s?this.warnings.push(new Gy(a,r,i)):this.errors.push(new ho(a,r,i))},this.directives=new ti({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=Am(this.prelude);if(r){const s=t.contents;if(n)t.comment=t.comment?`${t.comment}
119
- ${r}`:r;else if(i||t.directives.docStart||!s)t.commentBefore=r;else if(Nr(s)&&!s.flow&&s.items.length>0){let a=s.items[0];cr(a)&&(a=a.key);const o=a.commentBefore;a.commentBefore=o?`${r}
120
- ${o}`:r}else{const a=s.commentBefore;s.commentBefore=a?`${r}
121
- ${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:Am(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=yo(t);s[0]+=n,this.onError(s,"BAD_DIRECTIVE",r,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=fD(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 ho(yo(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 ho(yo(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=go(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}
122
- ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new ho(yo(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 hu(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 pD=e=>"type"in e?mu(e):gu(e);function mu(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=mu(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=gu(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=gu(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=gu(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 gu({start:e,key:t,sep:n,value:r}){let i="";for(const s of e)i+=s.source;if(t&&(i+=mu(t)),n)for(const s of n)i+=s.source;return r&&(i+=mu(r)),i}const Rc=Symbol("break visit"),dD=Symbol("skip children"),Sm=Symbol("remove item");function $s(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),xm(Object.freeze([]),e,t)}$s.BREAK=Rc,$s.SKIP=dD,$s.REMOVE=Sm,$s.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},$s.parentCollection=(e,t)=>{const n=$s.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 xm(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=xm(Object.freeze(e.concat([[i,a]])),s.items[a],n);if(typeof o=="number")a=o-1;else{if(o===Rc)return Rc;o===Sm&&(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",Fm="",Nm="",Vc="",hD=e=>!!e&&"items"in e;function mD(e){switch(e){case wm:return"byte-order-mark";case Fm:return"doc-mode";case Nm:return"flow-error-end";case Vc:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
123
- `:case`\r
124
- `: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`
125
- `:case"\r":case" ":return!0;default:return!1}}const Tm="0123456789ABCDEFabcdef".split(""),gD="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),Uc=",[]{}".split(""),yD=` ,[]{}
126
- \r `.split(""),qc=e=>!e||yD.includes(e);class DD{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){t&&(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===`
127
- `?!0:n==="\r"?this.buffer[t+1]===`
128
- `:!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===`
129
- `||!i&&!this.atEnd)return t+r+1}return n===`
130
- `||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(`
131
- `,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;const r=t.indexOf("#");if(r!==-1){const s=t[r-1];(s===" "||s===" ")&&(n=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 Fm,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(qc),"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 Nm,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(qc),"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(`
132
- `,this.pos);if(i!==-1){for(;i!==-1;){const s=this.continueScalar(i+1);if(s===-1)break;i=r.indexOf(`
133
- `,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 i=this.pos;r=this.buffer[i];++i)switch(r){case" ":n+=1;break;case`
134
- `:t=i,n=0;break;case"\r":{const s=this.buffer[i+1];if(!s&&!this.atEnd)return this.setNext("block-scalar");if(s===`
135
- `)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;do{const i=this.continueScalar(t+1);if(i===-1)break;t=this.buffer.indexOf(`
136
- `,i)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)do{let i=t-1,s=this.buffer[i];s==="\r"&&(s=this.buffer[--i]);const a=i;for(;s===" "||s===" ";)s=this.buffer[--i];if(s===`
137
- `&&i>=this.pos&&i+1+n>a)t=i;else break}while(!0);return yield Vc,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&&s===",")break;n=r}else if(Ti(i)){let s=this.buffer[r+1];if(i==="\r"&&(s===`
138
- `?(r+=1,i=`
139
- `,s=this.buffer[r+1]):n=r),s==="#"||t&&Uc.includes(s))break;if(i===`
140
- `){const a=this.continueScalar(r+1);if(a===-1)break;r=Math.max(r,a-2)}}else{if(t&&Uc.includes(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield Vc,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(qc))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Ti(n)||t&&Uc.includes(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.includes(n))n=this.buffer[++t];else if(n==="%"&&Tm.includes(this.buffer[t+1])&&Tm.includes(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===`
141
- `?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
142
- `?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 _m{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 Oi(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function km(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 Lm(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 yu(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 Ta(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 Pm(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Oi(t.start,"explicit-key-ind")&&!Oi(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Lm(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 Wc{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 DD,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=mD(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"&&Pm(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=!Oi(i.start,"explicit-key-ind");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&&km(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":{km(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=yu(this.peek(2)),r=Ta(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(`
143
- `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
144
- `,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&&n.sep;let i=[];if(r&&n.sep&&!n.value){const s=[];for(let a=0;a<n.sep.length;++a){const o=n.sep[a];switch(o.type){case"newline":s.push(a);break;case"space":break;case"comment":o.indent>t.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(i=n.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":r||n.value?(i.push(this.sourceToken),t.items.push({start:i}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!Oi(n.start,"explicit-key-ind")?n.start.push(this.sourceToken):r||n.value?(i.push(this.sourceToken),t.items.push({start:i})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}),this.onKeyLine=!0;return;case"map-value-ind":if(Oi(n.start,"explicit-key-ind"))if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Oi(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(Lm(n.key)&&!Oi(n.sep,"newline")){const s=Ta(n.start),a=n.key,o=n.sep;o.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:a,sep:o}]})}else i.length>0?n.sep=n.sep.concat(i,this.sourceToken):n.sep.push(this.sourceToken);else if(Oi(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const s=Ta(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||r?t.items.push({start:i,key:null,sep:[this.sourceToken]}):Oi(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 s=this.flowScalar(this.type);r||n.value?(t.items.push({start:i,key:s,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(s):(Object.assign(n,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{const s=this.startBlockValue(t);if(s){r&&s.type!=="block-seq"&&Oi(n.start,"explicit-key-ind")&&t.items.push({start:i}),this.stack.push(s);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||Oi(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=yu(r),s=Ta(i);Pm(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(`
145
- `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
146
- `,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=yu(t),r=Ta(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r}]}}case"map-value-ind":{this.onKeyLine=!0;const n=yu(t),r=Ta(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 bD(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new _m||null,prettyErrors:t}}function vD(e,t={}){const{lineCounter:n,prettyErrors:r}=bD(t),i=new Wc(n?.addNewLine),s=new Cm(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 ho(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(a.errors.forEach(gm(e,n)),a.warnings.forEach(gm(e,n))),a}function ED(e,t,n){let r;typeof t=="function"?r=t:n===void 0&&t&&typeof t=="object"&&(n=t);const i=vD(e,n);if(!i)return null;if(i.warnings.forEach(s=>Jh(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 Bm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function AD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Hi(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Im(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 CD(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 _a={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),Hi(s),s.length!==0&&(t=s+"/"+t,n=s.charCodeAt(0)===47)}return t=Im(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(Hi(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Im(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},isAbsolute:function(t){return Hi(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];Hi(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":_a.normalize(t)},relative:function(t,n){if(Hi(t),Hi(n),t===n||(t=_a.resolve(t),n=_a.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,v=-1,p=0;p<=l;++p){if(p===l){if(u>l){if(n.charCodeAt(a+p)===47)return n.slice(a+p+1);if(p===0)return n.slice(a+p)}else s>l&&(t.charCodeAt(r+p)===47?v=p:p===0&&(v=0));break}var j=t.charCodeAt(r+p),R=n.charCodeAt(a+p);if(j!==R)break;j===47&&(v=p)}var se="";for(p=r+v+1;p<=i;++p)(p===i||t.charCodeAt(p)===47)&&(se.length===0?se+="..":se+="/..");return se.length>0?se+n.slice(a+v):(a+=v,n.charCodeAt(a)===47&&++a,n.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(Hi(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');Hi(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){Hi(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 CD("/",t)},parse:function(t){Hi(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,v=t.length-1,p=0;v>=s;--v){if(r=t.charCodeAt(v),r===47){if(!l){o=v+1;break}continue}u===-1&&(l=!1,u=v+1),r===46?a===-1?a=v:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||u===-1||p===0||p===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};_a.posix=_a;var Rs=_a,Mm={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=(Ht,st)=>()=>(st||Ht((st={exports:{}}).exports,st),st.exports),r=n((Ht,st)=>{var Qe=function(ot){return ot&&ot.Math==Math&&ot};st.exports=Qe(typeof globalThis=="object"&&globalThis)||Qe(typeof window=="object"&&window)||Qe(typeof self=="object"&&self)||Qe(typeof Bm=="object"&&Bm)||function(){return this}()||Function("return this")()}),i=n((Ht,st)=>{st.exports=function(Qe){try{return!!Qe()}catch{return!0}}}),s=n((Ht,st)=>{var Qe=i();st.exports=!Qe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=n((Ht,st)=>{var Qe=i();st.exports=!Qe(function(){var ot=function(){}.bind();return typeof ot!="function"||ot.hasOwnProperty("prototype")})}),o=n((Ht,st)=>{var Qe=a(),ot=Function.prototype.call;st.exports=Qe?ot.bind(ot):function(){return ot.apply(ot,arguments)}}),u=n(Ht=>{var st={}.propertyIsEnumerable,Qe=Object.getOwnPropertyDescriptor,ot=Qe&&!st.call({1:2},1);Ht.f=ot?function(rt){var St=Qe(this,rt);return!!St&&St.enumerable}:st}),l=n((Ht,st)=>{st.exports=function(Qe,ot){return{enumerable:!(Qe&1),configurable:!(Qe&2),writable:!(Qe&4),value:ot}}}),v=n((Ht,st)=>{var Qe=a(),ot=Function.prototype,rt=ot.call,St=Qe&&ot.bind.bind(rt,rt);st.exports=Qe?St:function(Lt){return function(){return rt.apply(Lt,arguments)}}}),p=n((Ht,st)=>{var Qe=v(),ot=Qe({}.toString),rt=Qe("".slice);st.exports=function(St){return rt(ot(St),8,-1)}}),j=n((Ht,st)=>{var Qe=v(),ot=i(),rt=p(),St=Object,Lt=Qe("".split);st.exports=ot(function(){return!St("z").propertyIsEnumerable(0)})?function(Gt){return rt(Gt)=="String"?Lt(Gt,""):St(Gt)}:St}),R=n((Ht,st)=>{st.exports=function(Qe){return Qe==null}}),se=n((Ht,st)=>{var Qe=R(),ot=TypeError;st.exports=function(rt){if(Qe(rt))throw ot("Can't call method on "+rt);return rt}}),te=n((Ht,st)=>{var Qe=j(),ot=se();st.exports=function(rt){return Qe(ot(rt))}}),P=n((Ht,st)=>{var Qe=typeof document=="object"&&document.all,ot=typeof Qe>"u"&&Qe!==void 0;st.exports={all:Qe,IS_HTMLDDA:ot}}),ue=n((Ht,st)=>{var Qe=P(),ot=Qe.all;st.exports=Qe.IS_HTMLDDA?function(rt){return typeof rt=="function"||rt===ot}:function(rt){return typeof rt=="function"}}),ke=n((Ht,st)=>{var Qe=ue(),ot=P(),rt=ot.all;st.exports=ot.IS_HTMLDDA?function(St){return typeof St=="object"?St!==null:Qe(St)||St===rt}:function(St){return typeof St=="object"?St!==null:Qe(St)}}),Be=n((Ht,st)=>{var Qe=r(),ot=ue(),rt=function(St){return ot(St)?St:void 0};st.exports=function(St,Lt){return arguments.length<2?rt(Qe[St]):Qe[St]&&Qe[St][Lt]}}),Je=n((Ht,st)=>{var Qe=v();st.exports=Qe({}.isPrototypeOf)}),ve=n((Ht,st)=>{var Qe=Be();st.exports=Qe("navigator","userAgent")||""}),Oe=n((Ht,st)=>{var Qe=r(),ot=ve(),rt=Qe.process,St=Qe.Deno,Lt=rt&&rt.versions||St&&St.version,Gt=Lt&&Lt.v8,Rt,Jt;Gt&&(Rt=Gt.split("."),Jt=Rt[0]>0&&Rt[0]<4?1:+(Rt[0]+Rt[1])),!Jt&&ot&&(Rt=ot.match(/Edge\/(\d+)/),(!Rt||Rt[1]>=74)&&(Rt=ot.match(/Chrome\/(\d+)/),Rt&&(Jt=+Rt[1]))),st.exports=Jt}),Et=n((Ht,st)=>{var Qe=Oe(),ot=i();st.exports=!!Object.getOwnPropertySymbols&&!ot(function(){var rt=Symbol();return!String(rt)||!(Object(rt)instanceof Symbol)||!Symbol.sham&&Qe&&Qe<41})}),Ft=n((Ht,st)=>{var Qe=Et();st.exports=Qe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),we=n((Ht,st)=>{var Qe=Be(),ot=ue(),rt=Je(),St=Ft(),Lt=Object;st.exports=St?function(Gt){return typeof Gt=="symbol"}:function(Gt){var Rt=Qe("Symbol");return ot(Rt)&&rt(Rt.prototype,Lt(Gt))}}),_e=n((Ht,st)=>{var Qe=String;st.exports=function(ot){try{return Qe(ot)}catch{return"Object"}}}),Re=n((Ht,st)=>{var Qe=ue(),ot=_e(),rt=TypeError;st.exports=function(St){if(Qe(St))return St;throw rt(ot(St)+" is not a function")}}),he=n((Ht,st)=>{var Qe=Re(),ot=R();st.exports=function(rt,St){var Lt=rt[St];return ot(Lt)?void 0:Qe(Lt)}}),ct=n((Ht,st)=>{var Qe=o(),ot=ue(),rt=ke(),St=TypeError;st.exports=function(Lt,Gt){var Rt,Jt;if(Gt==="string"&&ot(Rt=Lt.toString)&&!rt(Jt=Qe(Rt,Lt))||ot(Rt=Lt.valueOf)&&!rt(Jt=Qe(Rt,Lt))||Gt!=="string"&&ot(Rt=Lt.toString)&&!rt(Jt=Qe(Rt,Lt)))return Jt;throw St("Can't convert object to primitive value")}}),Pt=n((Ht,st)=>{st.exports=!1}),un=n((Ht,st)=>{var Qe=r(),ot=Object.defineProperty;st.exports=function(rt,St){try{ot(Qe,rt,{value:St,configurable:!0,writable:!0})}catch{Qe[rt]=St}return St}}),fn=n((Ht,st)=>{var Qe=r(),ot=un(),rt="__core-js_shared__",St=Qe[rt]||ot(rt,{});st.exports=St}),Nn=n((Ht,st)=>{var Qe=Pt(),ot=fn();(st.exports=function(rt,St){return ot[rt]||(ot[rt]=St!==void 0?St:{})})("versions",[]).push({version:"3.26.1",mode:Qe?"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"})}),Qn=n((Ht,st)=>{var Qe=se(),ot=Object;st.exports=function(rt){return ot(Qe(rt))}}),dr=n((Ht,st)=>{var Qe=v(),ot=Qn(),rt=Qe({}.hasOwnProperty);st.exports=Object.hasOwn||function(St,Lt){return rt(ot(St),Lt)}}),Zn=n((Ht,st)=>{var Qe=v(),ot=0,rt=Math.random(),St=Qe(1 .toString);st.exports=function(Lt){return"Symbol("+(Lt===void 0?"":Lt)+")_"+St(++ot+rt,36)}}),si=n((Ht,st)=>{var Qe=r(),ot=Nn(),rt=dr(),St=Zn(),Lt=Et(),Gt=Ft(),Rt=ot("wks"),Jt=Qe.Symbol,ln=Jt&&Jt.for,mn=Gt?Jt:Jt&&Jt.withoutSetter||St;st.exports=function(Dn){if(!rt(Rt,Dn)||!(Lt||typeof Rt[Dn]=="string")){var cn="Symbol."+Dn;Lt&&rt(Jt,Dn)?Rt[Dn]=Jt[Dn]:Gt&&ln?Rt[Dn]=ln(cn):Rt[Dn]=mn(cn)}return Rt[Dn]}}),ws=n((Ht,st)=>{var Qe=o(),ot=ke(),rt=we(),St=he(),Lt=ct(),Gt=si(),Rt=TypeError,Jt=Gt("toPrimitive");st.exports=function(ln,mn){if(!ot(ln)||rt(ln))return ln;var Dn=St(ln,Jt),cn;if(Dn){if(mn===void 0&&(mn="default"),cn=Qe(Dn,ln,mn),!ot(cn)||rt(cn))return cn;throw Rt("Can't convert object to primitive value")}return mn===void 0&&(mn="number"),Lt(ln,mn)}}),Ys=n((Ht,st)=>{var Qe=ws(),ot=we();st.exports=function(rt){var St=Qe(rt,"string");return ot(St)?St:St+""}}),So=n((Ht,st)=>{var Qe=r(),ot=ke(),rt=Qe.document,St=ot(rt)&&ot(rt.createElement);st.exports=function(Lt){return St?rt.createElement(Lt):{}}}),Iu=n((Ht,st)=>{var Qe=s(),ot=i(),rt=So();st.exports=!Qe&&!ot(function(){return Object.defineProperty(rt("div"),"a",{get:function(){return 7}}).a!=7})}),Mu=n(Ht=>{var st=s(),Qe=o(),ot=u(),rt=l(),St=te(),Lt=Ys(),Gt=dr(),Rt=Iu(),Jt=Object.getOwnPropertyDescriptor;Ht.f=st?Jt:function(ln,mn){if(ln=St(ln),mn=Lt(mn),Rt)try{return Jt(ln,mn)}catch{}if(Gt(ln,mn))return rt(!Qe(ot.f,ln,mn),ln[mn])}}),Ma=n((Ht,st)=>{var Qe=s(),ot=i();st.exports=Qe&&ot(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Ri=n((Ht,st)=>{var Qe=ke(),ot=String,rt=TypeError;st.exports=function(St){if(Qe(St))return St;throw rt(ot(St)+" is not an object")}}),Kn=n(Ht=>{var st=s(),Qe=Iu(),ot=Ma(),rt=Ri(),St=Ys(),Lt=TypeError,Gt=Object.defineProperty,Rt=Object.getOwnPropertyDescriptor,Jt="enumerable",ln="configurable",mn="writable";Ht.f=st?ot?function(Dn,cn,Fe){if(rt(Dn),cn=St(cn),rt(Fe),typeof Dn=="function"&&cn==="prototype"&&"value"in Fe&&mn in Fe&&!Fe[mn]){var Cn=Rt(Dn,cn);Cn&&Cn[mn]&&(Dn[cn]=Fe.value,Fe={configurable:ln in Fe?Fe[ln]:Cn[ln],enumerable:Jt in Fe?Fe[Jt]:Cn[Jt],writable:!1})}return Gt(Dn,cn,Fe)}:Gt:function(Dn,cn,Fe){if(rt(Dn),cn=St(cn),rt(Fe),Qe)try{return Gt(Dn,cn,Fe)}catch{}if("get"in Fe||"set"in Fe)throw Lt("Accessors not supported");return"value"in Fe&&(Dn[cn]=Fe.value),Dn}}),Ou=n((Ht,st)=>{var Qe=s(),ot=Kn(),rt=l();st.exports=Qe?function(St,Lt,Gt){return ot.f(St,Lt,rt(1,Gt))}:function(St,Lt,Gt){return St[Lt]=Gt,St}}),rf=n((Ht,st)=>{var Qe=s(),ot=dr(),rt=Function.prototype,St=Qe&&Object.getOwnPropertyDescriptor,Lt=ot(rt,"name"),Gt=Lt&&function(){}.name==="something",Rt=Lt&&(!Qe||Qe&&St(rt,"name").configurable);st.exports={EXISTS:Lt,PROPER:Gt,CONFIGURABLE:Rt}}),Oa=n((Ht,st)=>{var Qe=v(),ot=ue(),rt=fn(),St=Qe(Function.toString);ot(rt.inspectSource)||(rt.inspectSource=function(Lt){return St(Lt)}),st.exports=rt.inspectSource}),sf=n((Ht,st)=>{var Qe=r(),ot=ue(),rt=Qe.WeakMap;st.exports=ot(rt)&&/native code/.test(String(rt))}),xr=n((Ht,st)=>{var Qe=Nn(),ot=Zn(),rt=Qe("keys");st.exports=function(St){return rt[St]||(rt[St]=ot(St))}}),ju=n((Ht,st)=>{st.exports={}}),af=n((Ht,st)=>{var Qe=sf(),ot=r(),rt=ke(),St=Ou(),Lt=dr(),Gt=fn(),Rt=xr(),Jt=ju(),ln="Object already initialized",mn=ot.TypeError,Dn=ot.WeakMap,cn,Fe,Cn,Pn=function(Ve){return Cn(Ve)?Fe(Ve):cn(Ve,{})},zn=function(Ve){return function(zr){var us;if(!rt(zr)||(us=Fe(zr)).type!==Ve)throw mn("Incompatible receiver, "+Ve+" required");return us}};Qe||Gt.state?(Gn=Gt.state||(Gt.state=new Dn),Gn.get=Gn.get,Gn.has=Gn.has,Gn.set=Gn.set,cn=function(Ve,zr){if(Gn.has(Ve))throw mn(ln);return zr.facade=Ve,Gn.set(Ve,zr),zr},Fe=function(Ve){return Gn.get(Ve)||{}},Cn=function(Ve){return Gn.has(Ve)}):(vr=Rt("state"),Jt[vr]=!0,cn=function(Ve,zr){if(Lt(Ve,vr))throw mn(ln);return zr.facade=Ve,St(Ve,vr,zr),zr},Fe=function(Ve){return Lt(Ve,vr)?Ve[vr]:{}},Cn=function(Ve){return Lt(Ve,vr)});var Gn,vr;st.exports={set:cn,get:Fe,has:Cn,enforce:Pn,getterFor:zn}}),rs=n((Ht,st)=>{var Qe=i(),ot=ue(),rt=dr(),St=s(),Lt=rf().CONFIGURABLE,Gt=Oa(),Rt=af(),Jt=Rt.enforce,ln=Rt.get,mn=Object.defineProperty,Dn=St&&!Qe(function(){return mn(function(){},"length",{value:8}).length!==8}),cn=String(String).split("String"),Fe=st.exports=function(Cn,Pn,zn){String(Pn).slice(0,7)==="Symbol("&&(Pn="["+String(Pn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),zn&&zn.getter&&(Pn="get "+Pn),zn&&zn.setter&&(Pn="set "+Pn),(!rt(Cn,"name")||Lt&&Cn.name!==Pn)&&(St?mn(Cn,"name",{value:Pn,configurable:!0}):Cn.name=Pn),Dn&&zn&&rt(zn,"arity")&&Cn.length!==zn.arity&&mn(Cn,"length",{value:zn.arity});try{zn&&rt(zn,"constructor")&&zn.constructor?St&&mn(Cn,"prototype",{writable:!1}):Cn.prototype&&(Cn.prototype=void 0)}catch{}var Gn=Jt(Cn);return rt(Gn,"source")||(Gn.source=cn.join(typeof Pn=="string"?Pn:"")),Cn};Function.prototype.toString=Fe(function(){return ot(this)&&ln(this).source||Gt(this)},"toString")}),ja=n((Ht,st)=>{var Qe=ue(),ot=Kn(),rt=rs(),St=un();st.exports=function(Lt,Gt,Rt,Jt){Jt||(Jt={});var ln=Jt.enumerable,mn=Jt.name!==void 0?Jt.name:Gt;if(Qe(Rt)&&rt(Rt,mn,Jt),Jt.global)ln?Lt[Gt]=Rt:St(Gt,Rt);else{try{Jt.unsafe?Lt[Gt]&&(ln=!0):delete Lt[Gt]}catch{}ln?Lt[Gt]=Rt:ot.f(Lt,Gt,{value:Rt,enumerable:!1,configurable:!Jt.nonConfigurable,writable:!Jt.nonWritable})}return Lt}}),is=n((Ht,st)=>{var Qe=Math.ceil,ot=Math.floor;st.exports=Math.trunc||function(rt){var St=+rt;return(St>0?ot:Qe)(St)}}),xo=n((Ht,st)=>{var Qe=is();st.exports=function(ot){var rt=+ot;return rt!==rt||rt===0?0:Qe(rt)}}),of=n((Ht,st)=>{var Qe=xo(),ot=Math.max,rt=Math.min;st.exports=function(St,Lt){var Gt=Qe(St);return Gt<0?ot(Gt+Lt,0):rt(Gt,Lt)}}),uf=n((Ht,st)=>{var Qe=xo(),ot=Math.min;st.exports=function(rt){return rt>0?ot(Qe(rt),9007199254740991):0}}),Hs=n((Ht,st)=>{var Qe=uf();st.exports=function(ot){return Qe(ot.length)}}),$u=n((Ht,st)=>{var Qe=te(),ot=of(),rt=Hs(),St=function(Lt){return function(Gt,Rt,Jt){var ln=Qe(Gt),mn=rt(ln),Dn=ot(Jt,mn),cn;if(Lt&&Rt!=Rt){for(;mn>Dn;)if(cn=ln[Dn++],cn!=cn)return!0}else for(;mn>Dn;Dn++)if((Lt||Dn in ln)&&ln[Dn]===Rt)return Lt||Dn||0;return!Lt&&-1}};st.exports={includes:St(!0),indexOf:St(!1)}}),lf=n((Ht,st)=>{var Qe=v(),ot=dr(),rt=te(),St=$u().indexOf,Lt=ju(),Gt=Qe([].push);st.exports=function(Rt,Jt){var ln=rt(Rt),mn=0,Dn=[],cn;for(cn in ln)!ot(Lt,cn)&&ot(ln,cn)&&Gt(Dn,cn);for(;Jt.length>mn;)ot(ln,cn=Jt[mn++])&&(~St(Dn,cn)||Gt(Dn,cn));return Dn}}),wo=n((Ht,st)=>{st.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),cf=n(Ht=>{var st=lf(),Qe=wo(),ot=Qe.concat("length","prototype");Ht.f=Object.getOwnPropertyNames||function(rt){return st(rt,ot)}}),ff=n(Ht=>{Ht.f=Object.getOwnPropertySymbols}),Ru=n((Ht,st)=>{var Qe=Be(),ot=v(),rt=cf(),St=ff(),Lt=Ri(),Gt=ot([].concat);st.exports=Qe("Reflect","ownKeys")||function(Rt){var Jt=rt.f(Lt(Rt)),ln=St.f;return ln?Gt(Jt,ln(Rt)):Jt}}),Vu=n((Ht,st)=>{var Qe=dr(),ot=Ru(),rt=Mu(),St=Kn();st.exports=function(Lt,Gt,Rt){for(var Jt=ot(Gt),ln=St.f,mn=rt.f,Dn=0;Dn<Jt.length;Dn++){var cn=Jt[Dn];!Qe(Lt,cn)&&!(Rt&&Qe(Rt,cn))&&ln(Lt,cn,mn(Gt,cn))}}}),pf=n((Ht,st)=>{var Qe=i(),ot=ue(),rt=/#|\.prototype\./,St=function(ln,mn){var Dn=Gt[Lt(ln)];return Dn==Jt?!0:Dn==Rt?!1:ot(mn)?Qe(mn):!!mn},Lt=St.normalize=function(ln){return String(ln).replace(rt,".").toLowerCase()},Gt=St.data={},Rt=St.NATIVE="N",Jt=St.POLYFILL="P";st.exports=St}),$a=n((Ht,st)=>{var Qe=r(),ot=Mu().f,rt=Ou(),St=ja(),Lt=un(),Gt=Vu(),Rt=pf();st.exports=function(Jt,ln){var mn=Jt.target,Dn=Jt.global,cn=Jt.stat,Fe,Cn,Pn,zn,Gn,vr;if(Dn?Cn=Qe:cn?Cn=Qe[mn]||Lt(mn,{}):Cn=(Qe[mn]||{}).prototype,Cn)for(Pn in ln){if(Gn=ln[Pn],Jt.dontCallGetSet?(vr=ot(Cn,Pn),zn=vr&&vr.value):zn=Cn[Pn],Fe=Rt(Dn?Pn:mn+(cn?".":"#")+Pn,Jt.forced),!Fe&&zn!==void 0){if(typeof Gn==typeof zn)continue;Gt(Gn,zn)}(Jt.sham||zn&&zn.sham)&&rt(Gn,"sham",!0),St(Cn,Pn,Gn,Jt)}}}),Uu=n((Ht,st)=>{var Qe=p();st.exports=Array.isArray||function(ot){return Qe(ot)=="Array"}}),df=n((Ht,st)=>{var Qe=TypeError,ot=9007199254740991;st.exports=function(rt){if(rt>ot)throw Qe("Maximum allowed index exceeded");return rt}}),hf=n((Ht,st)=>{var Qe=p(),ot=v();st.exports=function(rt){if(Qe(rt)==="Function")return ot(rt)}}),Ra=n((Ht,st)=>{var Qe=hf(),ot=Re(),rt=a(),St=Qe(Qe.bind);st.exports=function(Lt,Gt){return ot(Lt),Gt===void 0?Lt:rt?St(Lt,Gt):function(){return Lt.apply(Gt,arguments)}}}),qu=n((Ht,st)=>{var Qe=Uu(),ot=Hs(),rt=df(),St=Ra(),Lt=function(Gt,Rt,Jt,ln,mn,Dn,cn,Fe){for(var Cn=mn,Pn=0,zn=cn?St(cn,Fe):!1,Gn,vr;Pn<ln;)Pn in Jt&&(Gn=zn?zn(Jt[Pn],Pn,Rt):Jt[Pn],Dn>0&&Qe(Gn)?(vr=ot(Gn),Cn=Lt(Gt,Rt,Gn,vr,Cn,Dn-1)-1):(rt(Cn+1),Gt[Cn]=Gn),Cn++),Pn++;return Cn};st.exports=Lt}),mf=n((Ht,st)=>{var Qe=si(),ot=Qe("toStringTag"),rt={};rt[ot]="z",st.exports=String(rt)==="[object z]"}),ss=n((Ht,st)=>{var Qe=mf(),ot=ue(),rt=p(),St=si(),Lt=St("toStringTag"),Gt=Object,Rt=rt(function(){return arguments}())=="Arguments",Jt=function(ln,mn){try{return ln[mn]}catch{}};st.exports=Qe?rt:function(ln){var mn,Dn,cn;return ln===void 0?"Undefined":ln===null?"Null":typeof(Dn=Jt(mn=Gt(ln),Lt))=="string"?Dn:Rt?rt(mn):(cn=rt(mn))=="Object"&&ot(mn.callee)?"Arguments":cn}}),as=n((Ht,st)=>{var Qe=v(),ot=i(),rt=ue(),St=ss(),Lt=Be(),Gt=Oa(),Rt=function(){},Jt=[],ln=Lt("Reflect","construct"),mn=/^\s*(?:class|function)\b/,Dn=Qe(mn.exec),cn=!mn.exec(Rt),Fe=function(Pn){if(!rt(Pn))return!1;try{return ln(Rt,Jt,Pn),!0}catch{return!1}},Cn=function(Pn){if(!rt(Pn))return!1;switch(St(Pn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return cn||!!Dn(mn,Gt(Pn))}catch{return!0}};Cn.sham=!0,st.exports=!ln||ot(function(){var Pn;return Fe(Fe.call)||!Fe(Object)||!Fe(function(){Pn=!0})||Pn})?Cn:Fe}),gf=n((Ht,st)=>{var Qe=Uu(),ot=as(),rt=ke(),St=si(),Lt=St("species"),Gt=Array;st.exports=function(Rt){var Jt;return Qe(Rt)&&(Jt=Rt.constructor,ot(Jt)&&(Jt===Gt||Qe(Jt.prototype))?Jt=void 0:rt(Jt)&&(Jt=Jt[Lt],Jt===null&&(Jt=void 0))),Jt===void 0?Gt:Jt}}),os=n((Ht,st)=>{var Qe=gf();st.exports=function(ot,rt){return new(Qe(ot))(rt===0?0:rt)}}),Wu=n(()=>{var Ht=$a(),st=qu(),Qe=Re(),ot=Qn(),rt=Hs(),St=os();Ht({target:"Array",proto:!0},{flatMap:function(Lt){var Gt=ot(this),Rt=rt(Gt),Jt;return Qe(Lt),Jt=St(Gt,0),Jt.length=st(Jt,Gt,Gt,Rt,0,1,Lt,arguments.length>1?arguments[1]:void 0),Jt}})}),Gu=n((Ht,st)=>{st.exports={}}),yf=n((Ht,st)=>{var Qe=si(),ot=Gu(),rt=Qe("iterator"),St=Array.prototype;st.exports=function(Lt){return Lt!==void 0&&(ot.Array===Lt||St[rt]===Lt)}}),Ju=n((Ht,st)=>{var Qe=ss(),ot=he(),rt=R(),St=Gu(),Lt=si(),Gt=Lt("iterator");st.exports=function(Rt){if(!rt(Rt))return ot(Rt,Gt)||ot(Rt,"@@iterator")||St[Qe(Rt)]}}),Df=n((Ht,st)=>{var Qe=o(),ot=Re(),rt=Ri(),St=_e(),Lt=Ju(),Gt=TypeError;st.exports=function(Rt,Jt){var ln=arguments.length<2?Lt(Rt):Jt;if(ot(ln))return rt(Qe(ln,Rt));throw Gt(St(Rt)+" is not iterable")}}),Yu=n((Ht,st)=>{var Qe=o(),ot=Ri(),rt=he();st.exports=function(St,Lt,Gt){var Rt,Jt;ot(St);try{if(Rt=rt(St,"return"),!Rt){if(Lt==="throw")throw Gt;return Gt}Rt=Qe(Rt,St)}catch(ln){Jt=!0,Rt=ln}if(Lt==="throw")throw Gt;if(Jt)throw Rt;return ot(Rt),Gt}}),bf=n((Ht,st)=>{var Qe=Ra(),ot=o(),rt=Ri(),St=_e(),Lt=yf(),Gt=Hs(),Rt=Je(),Jt=Df(),ln=Ju(),mn=Yu(),Dn=TypeError,cn=function(Cn,Pn){this.stopped=Cn,this.result=Pn},Fe=cn.prototype;st.exports=function(Cn,Pn,zn){var Gn=zn&&zn.that,vr=!!(zn&&zn.AS_ENTRIES),Ve=!!(zn&&zn.IS_RECORD),zr=!!(zn&&zn.IS_ITERATOR),us=!!(zn&&zn.INTERRUPTED),Fs=Qe(Pn,Gn),fi,Xi,Mr,Ua,Rr,qa,Qi,zs=function(Kr){return fi&&mn(fi,"normal",Kr),new cn(!0,Kr)},Xs=function(Kr){return vr?(rt(Kr),us?Fs(Kr[0],Kr[1],zs):Fs(Kr[0],Kr[1])):us?Fs(Kr,zs):Fs(Kr)};if(Ve)fi=Cn.iterator;else if(zr)fi=Cn;else{if(Xi=ln(Cn),!Xi)throw Dn(St(Cn)+" is not iterable");if(Lt(Xi)){for(Mr=0,Ua=Gt(Cn);Ua>Mr;Mr++)if(Rr=Xs(Cn[Mr]),Rr&&Rt(Fe,Rr))return Rr;return new cn(!1)}fi=Jt(Cn,Xi)}for(qa=Ve?Cn.next:fi.next;!(Qi=ot(qa,fi)).done;){try{Rr=Xs(Qi.value)}catch(Kr){mn(fi,"throw",Kr)}if(typeof Rr=="object"&&Rr&&Rt(Fe,Rr))return Rr}return new cn(!1)}}),Hu=n((Ht,st)=>{var Qe=Ys(),ot=Kn(),rt=l();st.exports=function(St,Lt,Gt){var Rt=Qe(Lt);Rt in St?ot.f(St,Rt,rt(0,Gt)):St[Rt]=Gt}}),Va=n(()=>{var Ht=$a(),st=bf(),Qe=Hu();Ht({target:"Object",stat:!0},{fromEntries:function(ot){var rt={};return st(ot,function(St,Lt){Qe(rt,St,Lt)},{AS_ENTRIES:!0}),rt}})}),zu=n((Ht,st)=>{var Qe=rs(),ot=Kn();st.exports=function(rt,St,Lt){return Lt.get&&Qe(Lt.get,St,{getter:!0}),Lt.set&&Qe(Lt.set,St,{setter:!0}),ot.f(rt,St,Lt)}}),Xu=n((Ht,st)=>{var Qe=Ri();st.exports=function(){var ot=Qe(this),rt="";return ot.hasIndices&&(rt+="d"),ot.global&&(rt+="g"),ot.ignoreCase&&(rt+="i"),ot.multiline&&(rt+="m"),ot.dotAll&&(rt+="s"),ot.unicode&&(rt+="u"),ot.unicodeSets&&(rt+="v"),ot.sticky&&(rt+="y"),rt}}),Qu=n(()=>{var Ht=r(),st=s(),Qe=zu(),ot=Xu(),rt=i(),St=Ht.RegExp,Lt=St.prototype,Gt=st&&rt(function(){var Rt=!0;try{St(".","d")}catch{Rt=!1}var Jt={},ln="",mn=Rt?"dgimsy":"gimsy",Dn=function(Pn,zn){Object.defineProperty(Jt,Pn,{get:function(){return ln+=zn,!0}})},cn={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Rt&&(cn.hasIndices="d");for(var Fe in cn)Dn(Fe,cn[Fe]);var Cn=Object.getOwnPropertyDescriptor(Lt,"flags").get.call(Jt);return Cn!==mn||ln!==mn});Gt&&Qe(Lt,"flags",{configurable:!0,get:ot})}),vf=n(()=>{var Ht=$a(),st=r();Ht({global:!0,forced:st.globalThis!==st},{globalThis:st})}),Ef=n(()=>{vf()}),Fo=n(()=>{var Ht=$a(),st=qu(),Qe=Qn(),ot=Hs(),rt=xo(),St=os();Ht({target:"Array",proto:!0},{flat:function(){var Lt=arguments.length?arguments[0]:void 0,Gt=Qe(this),Rt=ot(Gt),Jt=St(Gt,0);return Jt.length=st(Jt,Gt,Gt,Rt,0,Lt===void 0?1:rt(Lt)),Jt}})}),Af=n((Ht,st)=>{var Qe=["cliName","cliCategory","cliDescription"],ot=["_"],rt=["languageId"];function St(m,A){if(m==null)return{};var f=Lt(m,A),b,D;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(m);for(D=0;D<c.length;D++)b=c[D],!(A.indexOf(b)>=0)&&Object.prototype.propertyIsEnumerable.call(m,b)&&(f[b]=m[b])}return f}function Lt(m,A){if(m==null)return{};var f={},b=Object.keys(m),D,c;for(c=0;c<b.length;c++)D=b[c],!(A.indexOf(D)>=0)&&(f[D]=m[D]);return f}Wu(),Va(),Qu(),Ef(),Fo();var Gt=Object.create,Rt=Object.defineProperty,Jt=Object.getOwnPropertyDescriptor,ln=Object.getOwnPropertyNames,mn=Object.getPrototypeOf,Dn=Object.prototype.hasOwnProperty,cn=(m,A)=>function(){return m&&(A=(0,m[ln(m)[0]])(m=0)),A},Fe=(m,A)=>function(){return A||(0,m[ln(m)[0]])((A={exports:{}}).exports,A),A.exports},Cn=(m,A)=>{for(var f in A)Rt(m,f,{get:A[f],enumerable:!0})},Pn=(m,A,f,b)=>{if(A&&typeof A=="object"||typeof A=="function")for(let D of ln(A))!Dn.call(m,D)&&D!==f&&Rt(m,D,{get:()=>A[D],enumerable:!(b=Jt(A,D))||b.enumerable});return m},zn=(m,A,f)=>(f=m!=null?Gt(mn(m)):{},Pn(A||!m||!m.__esModule?Rt(f,"default",{value:m,enumerable:!0}):f,m)),Gn=m=>Pn(Rt({},"__esModule",{value:!0}),m),vr,Ve=cn({"<define:process>"(){vr={env:{},argv:[]}}}),zr=Fe({"package.json"(m,A){A.exports={version:"2.8.8"}}}),us=Fe({"node_modules/diff/lib/diff/base.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=A;function A(){}A.prototype={diff:function(D,c){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 S($){return h?(setTimeout(function(){h(void 0,$)},0),!0):$}D=this.castInput(D),c=this.castInput(c),D=this.removeEmpty(this.tokenize(D)),c=this.removeEmpty(this.tokenize(c));var k=c.length,N=D.length,_=1,C=k+N,x=[{newPos:-1,components:[]}],M=this.extractCommon(x[0],c,D,0);if(x[0].newPos+1>=k&&M+1>=N)return S([{value:this.join(c),count:c.length}]);function X(){for(var $=-1*_;$<=_;$+=2){var Q=void 0,G=x[$-1],ne=x[$+1],Z=(ne?ne.newPos:0)-$;G&&(x[$-1]=void 0);var De=G&&G.newPos+1<k,F=ne&&0<=Z&&Z<N;if(!De&&!F){x[$]=void 0;continue}if(!De||F&&G.newPos<ne.newPos?(Q=b(ne),E.pushComponent(Q.components,void 0,!0)):(Q=G,Q.newPos++,E.pushComponent(Q.components,!0,void 0)),Z=E.extractCommon(Q,c,D,$),Q.newPos+1>=k&&Z+1>=N)return S(f(E,Q.components,c,D,E.useLongestToken));x[$]=Q}_++}if(h)(function $(){setTimeout(function(){if(_>C)return h();X()||$()},0)})();else for(;_<=C;){var ee=X();if(ee)return ee}},pushComponent:function(D,c,d){var h=D[D.length-1];h&&h.added===c&&h.removed===d?D[D.length-1]={count:h.count+1,added:c,removed:d}:D.push({count:1,added:c,removed:d})},extractCommon:function(D,c,d,h){for(var E=c.length,S=d.length,k=D.newPos,N=k-h,_=0;k+1<E&&N+1<S&&this.equals(c[k+1],d[N+1]);)k++,N++,_++;return _&&D.components.push({count:_}),D.newPos=k,N},equals:function(D,c){return this.options.comparator?this.options.comparator(D,c):D===c||this.options.ignoreCase&&D.toLowerCase()===c.toLowerCase()},removeEmpty:function(D){for(var c=[],d=0;d<D.length;d++)D[d]&&c.push(D[d]);return c},castInput:function(D){return D},tokenize:function(D){return D.split("")},join:function(D){return D.join("")}};function f(D,c,d,h,E){for(var S=0,k=c.length,N=0,_=0;S<k;S++){var C=c[S];if(C.removed){if(C.value=D.join(h.slice(_,_+C.count)),_+=C.count,S&&c[S-1].added){var x=c[S-1];c[S-1]=c[S],c[S]=x}}else{if(!C.added&&E){var M=d.slice(N,N+C.count);M=M.map(function(ee,$){var Q=h[_+$];return Q.length>ee.length?Q:ee}),C.value=D.join(M)}else C.value=D.join(d.slice(N,N+C.count));N+=C.count,C.added||(_+=C.count)}}var X=c[k-1];return k>1&&typeof X.value=="string"&&(X.added||X.removed)&&D.equals("",X.value)&&(c[k-2].value+=X.value,c.pop()),c}function b(D){return{newPos:D.newPos,components:D.components.slice(0)}}}}),Fs=Fe({"node_modules/diff/lib/diff/array.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=D,m.arrayDiff=void 0;var A=f(us());function f(c){return c&&c.__esModule?c:{default:c}}var b=new A.default;m.arrayDiff=b,b.tokenize=function(c){return c.slice()},b.join=b.removeEmpty=function(c){return c};function D(c,d,h){return b.diff(c,d,h)}}}),fi=Fe({"src/document/doc-builders.js"(m,A){Ve();function f(O){return{type:"concat",parts:O}}function b(O){return{type:"indent",contents:O}}function D(O,y){return{type:"align",contents:y,n:O}}function c(O){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:y.id,contents:O,break:!!y.shouldBreak,expandedStates:y.expandedStates}}function d(O){return D(Number.NEGATIVE_INFINITY,O)}function h(O){return D({type:"root"},O)}function E(O){return D(-1,O)}function S(O,y){return c(O[0],Object.assign(Object.assign({},y),{},{expandedStates:O}))}function k(O){return{type:"fill",parts:O}}function N(O,y){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:O,flatContents:y,groupId:T.groupId}}function _(O,y){return{type:"indent-if-break",contents:O,groupId:y.groupId,negate:y.negate}}function C(O){return{type:"line-suffix",contents:O}}var x={type:"line-suffix-boundary"},M={type:"break-parent"},X={type:"trim"},ee={type:"line",hard:!0},$={type:"line",hard:!0,literal:!0},Q={type:"line"},G={type:"line",soft:!0},ne=f([ee,M]),Z=f([$,M]),De={type:"cursor",placeholder:Symbol("cursor")};function F(O,y){let T=[];for(let B=0;B<y.length;B++)B!==0&&T.push(O),T.push(y[B]);return f(T)}function J(O,y,T){let B=O;if(y>0){for(let U=0;U<Math.floor(y/T);++U)B=b(B);B=D(y%T,B),B=D(Number.NEGATIVE_INFINITY,B)}return B}function w(O,y){return{type:"label",label:O,contents:y}}A.exports={concat:f,join:F,line:Q,softline:G,hardline:ne,literalline:Z,group:c,conditionalGroup:S,fill:k,lineSuffix:C,lineSuffixBoundary:x,cursor:De,breakParent:M,ifBreak:N,trim:X,indent:b,indentIfBreak:_,align:D,addAlignmentToDoc:J,markAsRoot:h,dedentToRoot:d,dedent:E,hardlineWithoutBreakParent:ee,literallineWithoutBreakParent:$,label:w}}}),Xi=Fe({"src/common/end-of-line.js"(m,A){Ve();function f(d){let h=d.indexOf("\r");return h>=0?d.charAt(h+1)===`
147
- `?"crlf":"cr":"lf"}function b(d){switch(d){case"cr":return"\r";case"crlf":return`\r
148
- `;default:return`
149
- `}}function D(d,h){let E;switch(h){case`
150
- `:E=/\n/g;break;case"\r":E=/\r/g;break;case`\r
151
- `:E=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(h)}.`)}let S=d.match(E);return S?S.length:0}function c(d){return d.replace(/\r\n?/g,`
152
- `)}A.exports={guessEndOfLine:f,convertEndOfLineToChars:b,countEndOfLineChars:D,normalizeEndOfLine:c}}}),Mr=Fe({"src/utils/get-last.js"(m,A){Ve();var f=b=>b[b.length-1];A.exports=f}});function Ua(){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 Rr=cn({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Ve()}});function qa(m){if(typeof m!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof m}\``);return m.replace(Ua(),"")}var Qi=cn({"node_modules/strip-ansi/index.js"(){Ve(),Rr()}});function zs(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 Xs=cn({"node_modules/is-fullwidth-code-point/index.js"(){Ve()}}),Kr=Fe({"node_modules/emoji-regex/index.js"(m,A){Ve(),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}}}),Ku={};Cn(Ku,{default:()=>Zu});function Zu(m){if(typeof m!="string"||m.length===0||(m=qa(m),m.length===0))return 0;m=m.replace((0,el.default)()," ");let A=0;for(let f=0;f<m.length;f++){let b=m.codePointAt(f);b<=31||b>=127&&b<=159||b>=768&&b<=879||(b>65535&&f++,A+=zs(b)?2:1)}return A}var el,Cf=cn({"node_modules/string-width/index.js"(){Ve(),Qi(),Xs(),el=zn(Kr())}}),tl=Fe({"src/utils/get-string-width.js"(m,A){Ve();var f=(Cf(),Gn(Ku)).default,b=/[^\x20-\x7F]/;function D(c){return c?b.test(c)?f(c):c.length:0}A.exports=D}}),Qs=Fe({"src/document/doc-utils.js"(m,A){Ve();var f=Mr(),{literalline:b,join:D}=fi(),c=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,T,B,U){let q=[y];for(;q.length>0;){let z=q.pop();if(z===h){B(q.pop());continue}if(B&&q.push(z,h),!T||T(z)!==!1)if(c(z)||z.type==="fill"){let re=d(z);for(let ce=re.length,ge=ce-1;ge>=0;--ge)q.push(re[ge])}else if(z.type==="if-break")z.flatContents&&q.push(z.flatContents),z.breakContents&&q.push(z.breakContents);else if(z.type==="group"&&z.expandedStates)if(U)for(let re=z.expandedStates.length,ce=re-1;ce>=0;--ce)q.push(z.expandedStates[ce]);else q.push(z.contents);else z.contents&&q.push(z.contents)}}function S(y,T){let B=new Map;return U(y);function U(z){if(B.has(z))return B.get(z);let re=q(z);return B.set(z,re),re}function q(z){if(Array.isArray(z))return T(z.map(U));if(z.type==="concat"||z.type==="fill"){let re=z.parts.map(U);return T(Object.assign(Object.assign({},z),{},{parts:re}))}if(z.type==="if-break"){let re=z.breakContents&&U(z.breakContents),ce=z.flatContents&&U(z.flatContents);return T(Object.assign(Object.assign({},z),{},{breakContents:re,flatContents:ce}))}if(z.type==="group"&&z.expandedStates){let re=z.expandedStates.map(U),ce=re[0];return T(Object.assign(Object.assign({},z),{},{contents:ce,expandedStates:re}))}if(z.contents){let re=U(z.contents);return T(Object.assign(Object.assign({},z),{},{contents:re}))}return T(z)}}function k(y,T,B){let U=B,q=!1;function z(re){let ce=T(re);if(ce!==void 0&&(q=!0,U=ce),q)return!1}return E(y,z),U}function N(y){if(y.type==="group"&&y.break||y.type==="line"&&y.hard||y.type==="break-parent")return!0}function _(y){return k(y,N,!1)}function C(y){if(y.length>0){let T=f(y);!T.expandedStates&&!T.break&&(T.break="propagated")}return null}function x(y){let T=new Set,B=[];function U(z){if(z.type==="break-parent"&&C(B),z.type==="group"){if(B.push(z),T.has(z))return!1;T.add(z)}}function q(z){z.type==="group"&&B.pop().break&&C(B)}E(y,U,q,!0)}function M(y){return y.type==="line"&&!y.hard?y.soft?"":" ":y.type==="if-break"?y.flatContents||"":y}function X(y){return S(y,M)}var ee=(y,T)=>y&&y.type==="line"&&y.hard&&T&&T.type==="break-parent";function $(y){if(!y)return y;if(c(y)||y.type==="fill"){let T=d(y);for(;T.length>1&&ee(...T.slice(-2));)T.length-=2;if(T.length>0){let B=$(f(T));T[T.length-1]=B}return Array.isArray(y)?T:Object.assign(Object.assign({},y),{},{parts:T})}switch(y.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let T=$(y.contents);return Object.assign(Object.assign({},y),{},{contents:T})}case"if-break":{let T=$(y.breakContents),B=$(y.flatContents);return Object.assign(Object.assign({},y),{},{breakContents:T,flatContents:B})}}return y}function Q(y){return $(ne(y))}function G(y){switch(y.type){case"fill":if(y.parts.every(B=>B===""))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(!c(y))return y;let T=[];for(let B of d(y)){if(!B)continue;let[U,...q]=c(B)?d(B):[B];typeof U=="string"&&typeof f(T)=="string"?T[T.length-1]+=U:T.push(U),T.push(...q)}return T.length===0?"":T.length===1?T[0]:Array.isArray(y)?T:Object.assign(Object.assign({},y),{},{parts:T})}function ne(y){return S(y,T=>G(T))}function Z(y){let T=[],B=y.filter(Boolean);for(;B.length>0;){let U=B.shift();if(U){if(c(U)){B.unshift(...d(U));continue}if(T.length>0&&typeof f(T)=="string"&&typeof U=="string"){T[T.length-1]+=U;continue}T.push(U)}}return T}function De(y){return S(y,T=>Array.isArray(T)?Z(T):T.parts?Object.assign(Object.assign({},T),{},{parts:Z(T.parts)}):T)}function F(y){return S(y,T=>typeof T=="string"&&T.includes(`
153
- `)?J(T):T)}function J(y){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b;return D(T,y.split(`
154
- `)).parts}function w(y){if(y.type==="line")return!0}function O(y){return k(y,w,!1)}A.exports={isConcat:c,getDocParts:d,willBreak:_,traverseDoc:E,findInDoc:k,mapDoc:S,propagateBreaks:x,removeLines:X,stripTrailingHardline:Q,normalizeParts:Z,normalizeDoc:De,cleanDoc:ne,replaceTextEndOfLine:J,replaceEndOfLine:F,canBreak:O}}}),Sf=Fe({"src/document/doc-printer.js"(m,A){Ve();var{convertEndOfLineToChars:f}=Xi(),b=Mr(),D=tl(),{fill:c,cursor:d,indent:h}=fi(),{isConcat:E,getDocParts:S}=Qs(),k,N=1,_=2;function C(){return{value:"",length:0,queue:[]}}function x(G,ne){return X(G,{type:"indent"},ne)}function M(G,ne,Z){return ne===Number.NEGATIVE_INFINITY?G.root||C():ne<0?X(G,{type:"dedent"},Z):ne?ne.type==="root"?Object.assign(Object.assign({},G),{},{root:G}):X(G,{type:typeof ne=="string"?"stringAlign":"numberAlign",n:ne},Z):G}function X(G,ne,Z){let De=ne.type==="dedent"?G.queue.slice(0,-1):[...G.queue,ne],F="",J=0,w=0,O=0;for(let re of De)switch(re.type){case"indent":B(),Z.useTabs?y(1):T(Z.tabWidth);break;case"stringAlign":B(),F+=re.n,J+=re.n.length;break;case"numberAlign":w+=1,O+=re.n;break;default:throw new Error(`Unexpected type '${re.type}'`)}return q(),Object.assign(Object.assign({},G),{},{value:F,length:J,queue:De});function y(re){F+=" ".repeat(re),J+=Z.tabWidth*re}function T(re){F+=" ".repeat(re),J+=re}function B(){Z.useTabs?U():q()}function U(){w>0&&y(w),z()}function q(){O>0&&T(O),z()}function z(){w=0,O=0}}function ee(G){if(G.length===0)return 0;let ne=0;for(;G.length>0&&typeof b(G)=="string"&&/^[\t ]*$/.test(b(G));)ne+=G.pop().length;if(G.length>0&&typeof b(G)=="string"){let Z=b(G).replace(/[\t ]*$/,"");ne+=b(G).length-Z.length,G[G.length-1]=Z}return ne}function $(G,ne,Z,De,F){let J=ne.length,w=[G],O=[];for(;Z>=0;){if(w.length===0){if(J===0)return!0;w.push(ne[--J]);continue}let{mode:y,doc:T}=w.pop();if(typeof T=="string")O.push(T),Z-=D(T);else if(E(T)||T.type==="fill"){let B=S(T);for(let U=B.length-1;U>=0;U--)w.push({mode:y,doc:B[U]})}else switch(T.type){case"indent":case"align":case"indent-if-break":case"label":w.push({mode:y,doc:T.contents});break;case"trim":Z+=ee(O);break;case"group":{if(F&&T.break)return!1;let B=T.break?N:y,U=T.expandedStates&&B===N?b(T.expandedStates):T.contents;w.push({mode:B,doc:U});break}case"if-break":{let B=(T.groupId?k[T.groupId]||_:y)===N?T.breakContents:T.flatContents;B&&w.push({mode:y,doc:B});break}case"line":if(y===N||T.hard)return!0;T.soft||(O.push(" "),Z--);break;case"line-suffix":De=!0;break;case"line-suffix-boundary":if(De)return!1;break}}return!1}function Q(G,ne){k={};let Z=ne.printWidth,De=f(ne.endOfLine),F=0,J=[{ind:C(),mode:N,doc:G}],w=[],O=!1,y=[];for(;J.length>0;){let{ind:B,mode:U,doc:q}=J.pop();if(typeof q=="string"){let z=De!==`
155
- `?q.replace(/\n/g,De):q;w.push(z),F+=D(z)}else if(E(q)){let z=S(q);for(let re=z.length-1;re>=0;re--)J.push({ind:B,mode:U,doc:z[re]})}else switch(q.type){case"cursor":w.push(d.placeholder);break;case"indent":J.push({ind:x(B,ne),mode:U,doc:q.contents});break;case"align":J.push({ind:M(B,q.n,ne),mode:U,doc:q.contents});break;case"trim":F-=ee(w);break;case"group":switch(U){case _:if(!O){J.push({ind:B,mode:q.break?N:_,doc:q.contents});break}case N:{O=!1;let z={ind:B,mode:_,doc:q.contents},re=Z-F,ce=y.length>0;if(!q.break&&$(z,J,re,ce))J.push(z);else if(q.expandedStates){let ge=b(q.expandedStates);if(q.break){J.push({ind:B,mode:N,doc:ge});break}else for(let fe=1;fe<q.expandedStates.length+1;fe++)if(fe>=q.expandedStates.length){J.push({ind:B,mode:N,doc:ge});break}else{let Ne=q.expandedStates[fe],ie={ind:B,mode:_,doc:Ne};if($(ie,J,re,ce)){J.push(ie);break}}}else J.push({ind:B,mode:N,doc:q.contents});break}}q.id&&(k[q.id]=b(J).mode);break;case"fill":{let z=Z-F,{parts:re}=q;if(re.length===0)break;let[ce,ge]=re,fe={ind:B,mode:_,doc:ce},Ne={ind:B,mode:N,doc:ce},ie=$(fe,[],z,y.length>0,!0);if(re.length===1){ie?J.push(fe):J.push(Ne);break}let We={ind:B,mode:_,doc:ge},me={ind:B,mode:N,doc:ge};if(re.length===2){ie?J.push(We,fe):J.push(me,Ne);break}re.splice(0,2);let oe={ind:B,mode:U,doc:c(re)},qe=re[0];$({ind:B,mode:_,doc:[ce,ge,qe]},[],z,y.length>0,!0)?J.push(oe,We,fe):ie?J.push(oe,me,fe):J.push(oe,me,Ne);break}case"if-break":case"indent-if-break":{let z=q.groupId?k[q.groupId]:U;if(z===N){let re=q.type==="if-break"?q.breakContents:q.negate?q.contents:h(q.contents);re&&J.push({ind:B,mode:U,doc:re})}if(z===_){let re=q.type==="if-break"?q.flatContents:q.negate?h(q.contents):q.contents;re&&J.push({ind:B,mode:U,doc:re})}break}case"line-suffix":y.push({ind:B,mode:U,doc:q.contents});break;case"line-suffix-boundary":y.length>0&&J.push({ind:B,mode:U,doc:{type:"line",hard:!0}});break;case"line":switch(U){case _:if(q.hard)O=!0;else{q.soft||(w.push(" "),F+=1);break}case N:if(y.length>0){J.push({ind:B,mode:U,doc:q},...y.reverse()),y.length=0;break}q.literal?B.root?(w.push(De,B.root.value),F=B.root.length):(w.push(De),F=0):(F-=ee(w),w.push(De+B.value),F=B.length);break}break;case"label":J.push({ind:B,mode:U,doc:q.contents});break}J.length===0&&y.length>0&&(J.push(...y.reverse()),y.length=0)}let T=w.indexOf(d.placeholder);if(T!==-1){let B=w.indexOf(d.placeholder,T+1),U=w.slice(0,T).join(""),q=w.slice(T+1,B).join(""),z=w.slice(B+1).join("");return{formatted:U+q+z,cursorNodeStart:U.length,cursorNodeText:q}}return{formatted:w.join("")}}A.exports={printDocToString:Q}}}),xf=Fe({"src/document/doc-debug.js"(m,A){Ve();var{isConcat:f,getDocParts:b}=Qs();function D(d){if(!d)return"";if(f(d)){let h=[];for(let E of b(d))if(f(E))h.push(...D(E).parts);else{let S=D(E);S!==""&&h.push(S)}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 c(d){let h=Object.create(null),E=new Set;return S(D(d));function S(N,_,C){if(typeof N=="string")return JSON.stringify(N);if(f(N)){let x=b(N).map(S).filter(Boolean);return x.length===1?x[0]:`[${x.join(", ")}]`}if(N.type==="line"){let x=Array.isArray(C)&&C[_+1]&&C[_+1].type==="break-parent";return N.literal?x?"literalline":"literallineWithoutBreakParent":N.hard?x?"hardline":"hardlineWithoutBreakParent":N.soft?"softline":"line"}if(N.type==="break-parent")return Array.isArray(C)&&C[_-1]&&C[_-1].type==="line"&&C[_-1].hard?void 0:"breakParent";if(N.type==="trim")return"trim";if(N.type==="indent")return"indent("+S(N.contents)+")";if(N.type==="align")return N.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+S(N.contents)+")":N.n<0?"dedent("+S(N.contents)+")":N.n.type==="root"?"markAsRoot("+S(N.contents)+")":"align("+JSON.stringify(N.n)+", "+S(N.contents)+")";if(N.type==="if-break")return"ifBreak("+S(N.breakContents)+(N.flatContents?", "+S(N.flatContents):"")+(N.groupId?(N.flatContents?"":', ""')+`, { groupId: ${k(N.groupId)} }`:"")+")";if(N.type==="indent-if-break"){let x=[];N.negate&&x.push("negate: true"),N.groupId&&x.push(`groupId: ${k(N.groupId)}`);let M=x.length>0?`, { ${x.join(", ")} }`:"";return`indentIfBreak(${S(N.contents)}${M})`}if(N.type==="group"){let x=[];N.break&&N.break!=="propagated"&&x.push("shouldBreak: true"),N.id&&x.push(`id: ${k(N.id)}`);let M=x.length>0?`, { ${x.join(", ")} }`:"";return N.expandedStates?`conditionalGroup([${N.expandedStates.map(X=>S(X)).join(",")}]${M})`:`group(${S(N.contents)}${M})`}if(N.type==="fill")return`fill([${N.parts.map(x=>S(x)).join(", ")}])`;if(N.type==="line-suffix")return"lineSuffix("+S(N.contents)+")";if(N.type==="line-suffix-boundary")return"lineSuffixBoundary";if(N.type==="label")return`label(${JSON.stringify(N.label)}, ${S(N.contents)})`;throw new Error("Unknown doc type "+N.type)}function k(N){if(typeof N!="symbol")return JSON.stringify(String(N));if(N in h)return h[N];let _=String(N).slice(7,-1)||"symbol";for(let C=0;;C++){let x=_+(C>0?` #${C}`:"");if(!E.has(x))return E.add(x),h[N]=`Symbol.for(${JSON.stringify(x)})`}}}A.exports={printDocToDebug:c}}}),Sn=Fe({"src/document/index.js"(m,A){Ve(),A.exports={builders:fi(),printer:Sf(),utils:Qs(),debug:xf()}}}),nl={};Cn(nl,{default:()=>wf});function wf(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Ff=cn({"node_modules/escape-string-regexp/index.js"(){Ve()}}),rl=Fe({"node_modules/semver/internal/debug.js"(m,A){Ve();var f=typeof vr=="object"&&vr.env&&vr.env.NODE_DEBUG&&/\bsemver\b/i.test(vr.env.NODE_DEBUG)?function(){for(var b=arguments.length,D=new Array(b),c=0;c<b;c++)D[c]=arguments[c];return console.error("SEMVER",...D)}:()=>{};A.exports=f}}),Y=Fe({"node_modules/semver/internal/constants.js"(m,A){Ve();var f="2.0.0",b=256,D=Number.MAX_SAFE_INTEGER||9007199254740991,c=16;A.exports={SEMVER_SPEC_VERSION:f,MAX_LENGTH:b,MAX_SAFE_INTEGER:D,MAX_SAFE_COMPONENT_LENGTH:c}}}),g=Fe({"node_modules/semver/internal/re.js"(m,A){Ve();var{MAX_SAFE_COMPONENT_LENGTH:f}=Y(),b=rl();m=A.exports={};var D=m.re=[],c=m.src=[],d=m.t={},h=0,E=(S,k,N)=>{let _=h++;b(S,_,k),d[S]=_,c[_]=k,D[_]=new RegExp(k,N?"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",`(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})\\.(${c[d.NUMERICIDENTIFIER]})`),E("MAINVERSIONLOOSE",`(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})\\.(${c[d.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASEIDENTIFIER",`(?:${c[d.NUMERICIDENTIFIER]}|${c[d.NONNUMERICIDENTIFIER]})`),E("PRERELEASEIDENTIFIERLOOSE",`(?:${c[d.NUMERICIDENTIFIERLOOSE]}|${c[d.NONNUMERICIDENTIFIER]})`),E("PRERELEASE",`(?:-(${c[d.PRERELEASEIDENTIFIER]}(?:\\.${c[d.PRERELEASEIDENTIFIER]})*))`),E("PRERELEASELOOSE",`(?:-?(${c[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[d.PRERELEASEIDENTIFIERLOOSE]})*))`),E("BUILDIDENTIFIER","[0-9A-Za-z-]+"),E("BUILD",`(?:\\+(${c[d.BUILDIDENTIFIER]}(?:\\.${c[d.BUILDIDENTIFIER]})*))`),E("FULLPLAIN",`v?${c[d.MAINVERSION]}${c[d.PRERELEASE]}?${c[d.BUILD]}?`),E("FULL",`^${c[d.FULLPLAIN]}$`),E("LOOSEPLAIN",`[v=\\s]*${c[d.MAINVERSIONLOOSE]}${c[d.PRERELEASELOOSE]}?${c[d.BUILD]}?`),E("LOOSE",`^${c[d.LOOSEPLAIN]}$`),E("GTLT","((?:<|>)?=?)"),E("XRANGEIDENTIFIERLOOSE",`${c[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),E("XRANGEIDENTIFIER",`${c[d.NUMERICIDENTIFIER]}|x|X|\\*`),E("XRANGEPLAIN",`[v=\\s]*(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:\\.(${c[d.XRANGEIDENTIFIER]})(?:${c[d.PRERELEASE]})?${c[d.BUILD]}?)?)?`),E("XRANGEPLAINLOOSE",`[v=\\s]*(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[d.XRANGEIDENTIFIERLOOSE]})(?:${c[d.PRERELEASELOOSE]})?${c[d.BUILD]}?)?)?`),E("XRANGE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAIN]}$`),E("XRANGELOOSE",`^${c[d.GTLT]}\\s*${c[d.XRANGEPLAINLOOSE]}$`),E("COERCE",`(^|[^\\d])(\\d{1,${f}})(?:\\.(\\d{1,${f}}))?(?:\\.(\\d{1,${f}}))?(?:$|[^\\d])`),E("COERCERTL",c[d.COERCE],!0),E("LONETILDE","(?:~>?)"),E("TILDETRIM",`(\\s*)${c[d.LONETILDE]}\\s+`,!0),m.tildeTrimReplace="$1~",E("TILDE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAIN]}$`),E("TILDELOOSE",`^${c[d.LONETILDE]}${c[d.XRANGEPLAINLOOSE]}$`),E("LONECARET","(?:\\^)"),E("CARETTRIM",`(\\s*)${c[d.LONECARET]}\\s+`,!0),m.caretTrimReplace="$1^",E("CARET",`^${c[d.LONECARET]}${c[d.XRANGEPLAIN]}$`),E("CARETLOOSE",`^${c[d.LONECARET]}${c[d.XRANGEPLAINLOOSE]}$`),E("COMPARATORLOOSE",`^${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]})$|^$`),E("COMPARATOR",`^${c[d.GTLT]}\\s*(${c[d.FULLPLAIN]})$|^$`),E("COMPARATORTRIM",`(\\s*)${c[d.GTLT]}\\s*(${c[d.LOOSEPLAIN]}|${c[d.XRANGEPLAIN]})`,!0),m.comparatorTrimReplace="$1$2$3",E("HYPHENRANGE",`^\\s*(${c[d.XRANGEPLAIN]})\\s+-\\s+(${c[d.XRANGEPLAIN]})\\s*$`),E("HYPHENRANGELOOSE",`^\\s*(${c[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[d.XRANGEPLAINLOOSE]})\\s*$`),E("STAR","(<|>)?=?\\s*\\*"),E("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),E("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),W=Fe({"node_modules/semver/internal/parse-options.js"(m,A){Ve();var f=["includePrerelease","loose","rtl"],b=D=>D?typeof D!="object"?{loose:!0}:f.filter(c=>D[c]).reduce((c,d)=>(c[d]=!0,c),{}):{};A.exports=b}}),Ce=Fe({"node_modules/semver/internal/identifiers.js"(m,A){Ve();var f=/^[0-9]+$/,b=(c,d)=>{let h=f.test(c),E=f.test(d);return h&&E&&(c=+c,d=+d),c===d?0:h&&!E?-1:E&&!h?1:c<d?-1:1},D=(c,d)=>b(d,c);A.exports={compareIdentifiers:b,rcompareIdentifiers:D}}}),Le=Fe({"node_modules/semver/classes/semver.js"(m,A){Ve();var f=rl(),{MAX_LENGTH:b,MAX_SAFE_INTEGER:D}=Y(),{re:c,t:d}=g(),h=W(),{compareIdentifiers:E}=Ce(),S=class{constructor(k,N){if(N=h(N),k instanceof S){if(k.loose===!!N.loose&&k.includePrerelease===!!N.includePrerelease)return k;k=k.version}else if(typeof k!="string")throw new TypeError(`Invalid Version: ${k}`);if(k.length>b)throw new TypeError(`version is longer than ${b} characters`);f("SemVer",k,N),this.options=N,this.loose=!!N.loose,this.includePrerelease=!!N.includePrerelease;let _=k.trim().match(N.loose?c[d.LOOSE]:c[d.FULL]);if(!_)throw new TypeError(`Invalid Version: ${k}`);if(this.raw=k,this.major=+_[1],this.minor=+_[2],this.patch=+_[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");_[4]?this.prerelease=_[4].split(".").map(C=>{if(/^[0-9]+$/.test(C)){let x=+C;if(x>=0&&x<D)return x}return C}):this.prerelease=[],this.build=_[5]?_[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(k){if(f("SemVer.compare",this.version,this.options,k),!(k instanceof S)){if(typeof k=="string"&&k===this.version)return 0;k=new S(k,this.options)}return k.version===this.version?0:this.compareMain(k)||this.comparePre(k)}compareMain(k){return k instanceof S||(k=new S(k,this.options)),E(this.major,k.major)||E(this.minor,k.minor)||E(this.patch,k.patch)}comparePre(k){if(k instanceof S||(k=new S(k,this.options)),this.prerelease.length&&!k.prerelease.length)return-1;if(!this.prerelease.length&&k.prerelease.length)return 1;if(!this.prerelease.length&&!k.prerelease.length)return 0;let N=0;do{let _=this.prerelease[N],C=k.prerelease[N];if(f("prerelease compare",N,_,C),_===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(_===void 0)return-1;if(_!==C)return E(_,C)}while(++N)}compareBuild(k){k instanceof S||(k=new S(k,this.options));let N=0;do{let _=this.build[N],C=k.build[N];if(f("prerelease compare",N,_,C),_===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(_===void 0)return-1;if(_!==C)return E(_,C)}while(++N)}inc(k,N){switch(k){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",N);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",N);break;case"prepatch":this.prerelease.length=0,this.inc("patch",N),this.inc("pre",N);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",N),this.inc("pre",N);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 _=this.prerelease.length;for(;--_>=0;)typeof this.prerelease[_]=="number"&&(this.prerelease[_]++,_=-2);_===-1&&this.prerelease.push(0)}N&&(E(this.prerelease[0],N)===0?isNaN(this.prerelease[1])&&(this.prerelease=[N,0]):this.prerelease=[N,0]);break;default:throw new Error(`invalid increment argument: ${k}`)}return this.format(),this.raw=this.version,this}};A.exports=S}}),Pe=Fe({"node_modules/semver/functions/compare.js"(m,A){Ve();var f=Le(),b=(D,c,d)=>new f(D,d).compare(new f(c,d));A.exports=b}}),Ke=Fe({"node_modules/semver/functions/lt.js"(m,A){Ve();var f=Pe(),b=(D,c,d)=>f(D,c,d)<0;A.exports=b}}),mt=Fe({"node_modules/semver/functions/gte.js"(m,A){Ve();var f=Pe(),b=(D,c,d)=>f(D,c,d)>=0;A.exports=b}}),jt=Fe({"src/utils/arrayify.js"(m,A){Ve(),A.exports=(f,b)=>Object.entries(f).map(D=>{let[c,d]=D;return Object.assign({[b]:c},d)})}}),it=Fe({"node_modules/outdent/lib/index.js"(m,A){Ve(),Object.defineProperty(m,"__esModule",{value:!0}),m.outdent=void 0;function f(){for(var $=[],Q=0;Q<arguments.length;Q++)$[Q]=arguments[Q]}function b(){return typeof WeakMap<"u"?new WeakMap:D()}function D(){return{add:f,delete:f,get:f,set:f,has:function($){return!1}}}var c=Object.prototype.hasOwnProperty,d=function($,Q){return c.call($,Q)};function h($,Q){for(var G in Q)d(Q,G)&&($[G]=Q[G]);return $}var E=/^[ \t]*(?:\r\n|\r|\n)/,S=/(?:\r\n|\r|\n)[ \t]*$/,k=/^(?:[\r\n]|$)/,N=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,_=/^[ \t]*[\r\n][ \t\r\n]*$/;function C($,Q,G){var ne=0,Z=$[0].match(N);Z&&(ne=Z[1].length);var De="(\\r\\n|\\r|\\n).{0,"+ne+"}",F=new RegExp(De,"g");Q&&($=$.slice(1));var J=G.newline,w=G.trimLeadingNewline,O=G.trimTrailingNewline,y=typeof J=="string",T=$.length,B=$.map(function(U,q){return U=U.replace(F,"$1"),q===0&&w&&(U=U.replace(E,"")),q===T-1&&O&&(U=U.replace(S,"")),y&&(U=U.replace(/\r\n|\n|\r/g,function(z){return J})),U});return B}function x($,Q){for(var G="",ne=0,Z=$.length;ne<Z;ne++)G+=$[ne],ne<Z-1&&(G+=Q[ne]);return G}function M($){return d($,"raw")&&d($,"length")}function X($){var Q=b(),G=b();function ne(De){for(var F=[],J=1;J<arguments.length;J++)F[J-1]=arguments[J];if(M(De)){var w=De,O=(F[0]===ne||F[0]===ee)&&_.test(w[0])&&k.test(w[1]),y=O?G:Q,T=y.get(w);if(T||(T=C(w,O,$),y.set(w,T)),F.length===0)return T[0];var B=x(T,O?F.slice(1):F);return B}else return X(h(h({},$),De||{}))}var Z=h(ne,{string:function(De){return C([De],!1,$)[0]}});return Z}var ee=X({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=ee,m.default=ee,typeof A<"u")try{A.exports=ee,Object.defineProperty(ee,"__esModule",{value:!0}),ee.default=ee,ee.outdent=ee}catch{}}}),yt=Fe({"src/main/core-options.js"(m,A){Ve();var{outdent:f}=it(),b="Config",D="Editor",c="Format",d="Other",h="Output",E="Global",S="Special",k={cursorOffset:{since:"1.4.0",category:S,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:f`
156
- Print (to stderr) where a cursor at the given position would move to after formatting.
157
- This option cannot be used with --range-start and --range-end.
158
- `,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:f`
159
- Maintain existing
160
- (mixed values within one file are normalised by looking at what's used after the first line)
161
- `}]},filepath:{since:"1.4.0",category:S,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:S,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:N=>typeof N=="string"||typeof N=="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:N=>typeof N=="string"||typeof N=="object",cliName:"plugin",cliCategory:b},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:E,description:f`
162
- Custom directory that contains prettier plugins in node_modules subdirectory.
163
- Overrides default behavior when plugins are searched relatively to the location of Prettier.
164
- Multiple values are accepted.
165
- `,exception:N=>typeof N=="string"||typeof N=="object",cliName:"plugin-search-dir",cliCategory:b},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:S,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:f`
166
- Format code ending at a given character offset (exclusive).
167
- The range will extend forwards to the end of the selected statement.
168
- This option cannot be used with --cursor-offset.
169
- `,cliCategory:D},rangeStart:{since:"1.4.0",category:S,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:f`
170
- Format code starting at a given character offset.
171
- The range will extend backwards to the start of the first line containing the selected statement.
172
- This option cannot be used with --cursor-offset.
173
- `,cliCategory:D},requirePragma:{since:"1.7.0",category:S,type:"boolean",default:!1,description:f`
174
- Require either '@prettier' or '@format' to be present in the file's first docblock comment
175
- in order for it to be formatted.
176
- `,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:b,CATEGORY_EDITOR:D,CATEGORY_FORMAT:c,CATEGORY_OTHER:d,CATEGORY_OUTPUT:h,CATEGORY_GLOBAL:E,CATEGORY_SPECIAL:S,options:k}}}),Nt=Fe({"src/main/support.js"(m,A){Ve();var f={compare:Pe(),lt:Ke(),gte:mt()},b=jt(),D=zr().version,c=yt().options;function d(){let{plugins:E=[],showUnreleased:S=!1,showDeprecated:k=!1,showInternal:N=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},_=D.split("-",1)[0],C=E.flatMap($=>$.languages||[]).filter(M),x=b(Object.assign({},...E.map($=>{let{options:Q}=$;return Q}),c),"name").filter($=>M($)&&X($)).sort(($,Q)=>$.name===Q.name?0:$.name<Q.name?-1:1).map(ee).map($=>{$=Object.assign({},$),Array.isArray($.default)&&($.default=$.default.length===1?$.default[0].value:$.default.filter(M).sort((G,ne)=>f.compare(ne.since,G.since))[0].value),Array.isArray($.choices)&&($.choices=$.choices.filter(G=>M(G)&&X(G)),$.name==="parser"&&h($,C,E));let Q=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:Q})});return{languages:C,options:x};function M($){return S||!("since"in $)||$.since&&f.gte(_,$.since)}function X($){return k||!("deprecated"in $)||$.deprecated&&f.lt(_,$.deprecated)}function ee($){return N?$:St($,Qe)}}function h(E,S,k){let N=new Set(E.choices.map(_=>_.value));for(let _ of S)if(_.parsers){for(let C of _.parsers)if(!N.has(C)){N.add(C);let x=k.find(X=>X.parsers&&X.parsers[C]),M=_.name;x&&x.name&&(M+=` (plugin: ${x.name})`),E.choices.push({value:C,description:M})}}}A.exports={getSupportInfo:d}}}),Mt=Fe({"src/utils/is-non-empty-array.js"(m,A){Ve();function f(b){return Array.isArray(b)&&b.length>0}A.exports=f}}),_t=Fe({"src/utils/text/skip.js"(m,A){Ve();function f(h){return(E,S,k)=>{let N=k&&k.backwards;if(S===!1)return!1;let{length:_}=E,C=S;for(;C>=0&&C<_;){let x=E.charAt(C);if(h instanceof RegExp){if(!h.test(x))return C}else if(!h.includes(x))return C;N?C--:C++}return C===-1||C===_?C:!1}}var b=f(/\s/),D=f(" "),c=f(",; "),d=f(/[^\n\r]/);A.exports={skipWhitespace:b,skipSpaces:D,skipToLineEnd:c,skipEverythingButNewLine:d}}}),qt=Fe({"src/utils/text/skip-inline-comment.js"(m,A){Ve();function f(b,D){if(D===!1)return!1;if(b.charAt(D)==="/"&&b.charAt(D+1)==="*"){for(let c=D+2;c<b.length;++c)if(b.charAt(c)==="*"&&b.charAt(c+1)==="/")return c+2}return D}A.exports=f}}),Ut=Fe({"src/utils/text/skip-trailing-comment.js"(m,A){Ve();var{skipEverythingButNewLine:f}=_t();function b(D,c){return c===!1?!1:D.charAt(c)==="/"&&D.charAt(c+1)==="/"?f(D,c):c}A.exports=b}}),zt=Fe({"src/utils/text/skip-newline.js"(m,A){Ve();function f(b,D,c){let d=c&&c.backwards;if(D===!1)return!1;let h=b.charAt(D);if(d){if(b.charAt(D-1)==="\r"&&h===`
177
- `)return D-2;if(h===`
178
- `||h==="\r"||h==="\u2028"||h==="\u2029")return D-1}else{if(h==="\r"&&b.charAt(D+1)===`
179
- `)return D+2;if(h===`
180
- `||h==="\r"||h==="\u2028"||h==="\u2029")return D+1}return D}A.exports=f}}),yn=Fe({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,A){Ve();var f=qt(),b=zt(),D=Ut(),{skipSpaces:c}=_t();function d(h,E){let S=null,k=E;for(;k!==S;)S=k,k=c(h,k),k=f(h,k),k=D(h,k),k=b(h,k);return k}A.exports=d}}),ye=Fe({"src/common/util.js"(m,A){Ve();var{default:f}=(Ff(),Gn(nl)),b=Mr(),{getSupportInfo:D}=Nt(),c=Mt(),d=tl(),{skipWhitespace:h,skipSpaces:E,skipToLineEnd:S,skipEverythingButNewLine:k}=_t(),N=qt(),_=Ut(),C=zt(),x=yn(),M=me=>me[me.length-2];function X(me){return(oe,qe,tt)=>{let Ye=tt&&tt.backwards;if(qe===!1)return!1;let{length:ht}=oe,be=qe;for(;be>=0&&be<ht;){let Me=oe.charAt(be);if(me instanceof RegExp){if(!me.test(Me))return be}else if(!me.includes(Me))return be;Ye?be--:be++}return be===-1||be===ht?be:!1}}function ee(me,oe){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},tt=E(me,qe.backwards?oe-1:oe,qe),Ye=C(me,tt,qe);return tt!==Ye}function $(me,oe,qe){for(let tt=oe;tt<qe;++tt)if(me.charAt(tt)===`
181
- `)return!0;return!1}function Q(me,oe,qe){let tt=qe(oe)-1;tt=E(me,tt,{backwards:!0}),tt=C(me,tt,{backwards:!0}),tt=E(me,tt,{backwards:!0});let Ye=C(me,tt,{backwards:!0});return tt!==Ye}function G(me,oe){let qe=null,tt=oe;for(;tt!==qe;)qe=tt,tt=S(me,tt),tt=N(me,tt),tt=E(me,tt);return tt=_(me,tt),tt=C(me,tt),tt!==!1&&ee(me,tt)}function ne(me,oe,qe){return G(me,qe(oe))}function Z(me,oe,qe){return x(me,qe(oe))}function De(me,oe,qe){return me.charAt(Z(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,tt=0;for(let Ye=qe;Ye<me.length;++Ye)me[Ye]===" "?tt=tt+oe-tt%oe:tt++;return tt}function w(me,oe){let qe=me.lastIndexOf(`
182
- `);return qe===-1?0:J(me.slice(qe+1).match(/^[\t ]*/)[0],oe)}function O(me,oe){let qe={quote:'"',regex:/"/g,escaped:"&quot;"},tt={quote:"'",regex:/'/g,escaped:"&apos;"},Ye=oe==="'"?tt:qe,ht=Ye===tt?qe:tt,be=Ye;if(me.includes(Ye.quote)||me.includes(ht.quote)){let Me=(me.match(Ye.regex)||[]).length,ft=(me.match(ht.regex)||[]).length;be=Me>ft?ht:Ye}return be}function y(me,oe){let qe=me.slice(1,-1),tt=oe.parser==="json"||oe.parser==="json5"&&oe.quoteProps==="preserve"&&!oe.singleQuote?'"':oe.__isInHtmlAttribute?"'":O(qe,oe.singleQuote?"'":'"').quote;return T(qe,tt,!(oe.parser==="css"||oe.parser==="less"||oe.parser==="scss"||oe.__embeddedInHtml))}function T(me,oe,qe){let tt=oe==='"'?"'":'"',Ye=/\\(.)|(["'])/gs,ht=me.replace(Ye,(be,Me,ft)=>Me===tt?Me:ft===oe?"\\"+ft:ft||(qe&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Me)?Me:"\\"+Me));return oe+ht+oe}function B(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 U(me,oe){let qe=me.match(new RegExp(`(${f(oe)})+`,"g"));return qe===null?0:qe.reduce((tt,Ye)=>Math.max(tt,Ye.length/oe.length),0)}function q(me,oe){let qe=me.match(new RegExp(`(${f(oe)})+`,"g"));if(qe===null)return 0;let tt=new Map,Ye=0;for(let ht of qe){let be=ht.length/oe.length;tt.set(be,!0),be>Ye&&(Ye=be)}for(let ht=1;ht<Ye;ht++)if(!tt.get(ht))return ht;return Ye+1}function z(me,oe){(me.comments||(me.comments=[])).push(oe),oe.printed=!1,oe.nodeDescription=We(me)}function re(me,oe){oe.leading=!0,oe.trailing=!1,z(me,oe)}function ce(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 fe(me,oe){let{languages:qe}=D({plugins:oe.plugins}),tt=qe.find(Ye=>{let{name:ht}=Ye;return ht.toLowerCase()===me})||qe.find(Ye=>{let{aliases:ht}=Ye;return Array.isArray(ht)&&ht.includes(me)})||qe.find(Ye=>{let{extensions:ht}=Ye;return Array.isArray(ht)&&ht.includes(`.${me}`)});return tt&&tt.parsers[0]}function Ne(me){return me&&me.type==="front-matter"}function ie(me){let oe=new WeakMap;return function(qe){return oe.has(qe)||oe.set(qe,Symbol(me)),oe.get(qe)}}function We(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:fe,getStringWidth:d,getMaxContinuousCount:U,getMinNotPresentContinuousCount:q,getPenultimate:M,getLast:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:x,getNextNonSpaceNonCommentCharacterIndex:Z,getNextNonSpaceNonCommentCharacter:De,skip:X,skipWhitespace:h,skipSpaces:E,skipToLineEnd:S,skipEverythingButNewLine:k,skipInlineComment:N,skipTrailingComment:_,skipNewline:C,isNextLineEmptyAfterIndex:G,isNextLineEmpty:ne,isPreviousLineEmpty:Q,hasNewline:ee,hasNewlineInRange:$,hasSpaces:F,getAlignmentSize:J,getIndentSize:w,getPreferredQuote:O,printString:y,printNumber:B,makeString:T,addLeadingComment:re,addDanglingComment:ce,addTrailingComment:ge,isFrontMatterNode:Ne,isNonEmptyArray:c,createGroupIdMapper:ie}}}),K={};Cn(K,{basename:()=>At,default:()=>Er,delimiter:()=>nr,dirname:()=>$e,extname:()=>Ot,isAbsolute:()=>xe,join:()=>Ie,normalize:()=>le,relative:()=>Ee,resolve:()=>H,sep:()=>$n});function I(m,A){for(var f=0,b=m.length-1;b>=0;b--){var D=m[b];D==="."?m.splice(b,1):D===".."?(m.splice(b,1),f++):f&&(m.splice(b,1),f--)}if(A)for(;f--;f)m.unshift("..");return m}function H(){for(var m="",A=!1,f=arguments.length-1;f>=-1&&!A;f--){var b=f>=0?arguments[f]:"/";if(typeof b!="string")throw new TypeError("Arguments to path.resolve must be strings");b&&(m=b+"/"+m,A=b.charAt(0)==="/")}return m=I(Yt(m.split("/"),function(D){return!!D}),!A).join("/"),(A?"/":"")+m||"."}function le(m){var A=xe(m),f=pi(m,-1)==="/";return m=I(Yt(m.split("/"),function(b){return!!b}),!A).join("/"),!m&&!A&&(m="."),m&&f&&(m+="/"),(A?"/":"")+m}function xe(m){return m.charAt(0)==="/"}function Ie(){var m=Array.prototype.slice.call(arguments,0);return le(Yt(m,function(A,f){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 f(S){for(var k=0;k<S.length&&S[k]==="";k++);for(var N=S.length-1;N>=0&&S[N]==="";N--);return k>N?[]:S.slice(k,N-k+1)}for(var b=f(m.split("/")),D=f(A.split("/")),c=Math.min(b.length,D.length),d=c,h=0;h<c;h++)if(b[h]!==D[h]){d=h;break}for(var E=[],h=d;h<b.length;h++)E.push("..");return E=E.concat(D.slice(d)),E.join("/")}function $e(m){var A=rn(m),f=A[0],b=A[1];return!f&&!b?".":(b&&(b=b.substr(0,b.length-1)),f+b)}function At(m,A){var f=rn(m)[2];return A&&f.substr(-1*A.length)===A&&(f=f.substr(0,f.length-A.length)),f}function Ot(m){return rn(m)[3]}function Yt(m,A){if(m.filter)return m.filter(A);for(var f=[],b=0;b<m.length;b++)A(m[b],b,m)&&f.push(m[b]);return f}var bn,rn,$n,nr,Er,pi,ai=cn({"node-modules-polyfills:path"(){Ve(),bn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,rn=function(m){return bn.exec(m).slice(1)},$n="/",nr=":",Er={extname:Ot,basename:At,dirname:$e,sep:$n,delimiter:nr,relative:Ee,join:Ie,isAbsolute:xe,normalize:le,resolve:H},pi="ab".substr(-1)==="b"?function(m,A,f){return m.substr(A,f)}:function(m,A,f){return A<0&&(A=m.length+A),m.substr(A,f)}}}),Dt=Fe({"node-modules-polyfills-commonjs:path"(m,A){Ve();var f=(ai(),Gn(K));if(f&&f.default){A.exports=f.default;for(let b in f)A.exports[b]=f[b]}else f&&(A.exports=f)}}),Kt=Fe({"src/common/errors.js"(m,A){Ve();var f=class extends Error{},b=class extends Error{},D=class extends Error{},c=class extends Error{};A.exports={ConfigError:f,DebugError:b,UndefinedParserError:D,ArgExpansionBailout:c}}}),dn={};Cn(dn,{__assign:()=>de,__asyncDelegator:()=>kf,__asyncGenerator:()=>_f,__asyncValues:()=>Lf,__await:()=>di,__awaiter:()=>Ui,__classPrivateFieldGet:()=>Mf,__classPrivateFieldSet:()=>Of,__createBinding:()=>Ks,__decorate:()=>ir,__exportStar:()=>Wa,__extends:()=>En,__generator:()=>Li,__importDefault:()=>If,__importStar:()=>Bf,__makeTemplateObject:()=>Pf,__metadata:()=>Vi,__param:()=>ki,__read:()=>il,__rest:()=>Un,__spread:()=>Nf,__spreadArrays:()=>Tf,__values:()=>No});function En(m,A){pe(m,A);function f(){this.constructor=m}m.prototype=A===null?Object.create(A):(f.prototype=A.prototype,new f)}function Un(m,A){var f={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&A.indexOf(b)<0&&(f[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,b=Object.getOwnPropertySymbols(m);D<b.length;D++)A.indexOf(b[D])<0&&Object.prototype.propertyIsEnumerable.call(m,b[D])&&(f[b[D]]=m[b[D]]);return f}function ir(m,A,f,b){var D=arguments.length,c=D<3?A:b===null?b=Object.getOwnPropertyDescriptor(A,f):b,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(m,A,f,b);else for(var h=m.length-1;h>=0;h--)(d=m[h])&&(c=(D<3?d(c):D>3?d(A,f,c):d(A,f))||c);return D>3&&c&&Object.defineProperty(A,f,c),c}function ki(m,A){return function(f,b){A(f,b,m)}}function Vi(m,A){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,A)}function Ui(m,A,f,b){function D(c){return c instanceof f?c:new f(function(d){d(c)})}return new(f||(f=Promise))(function(c,d){function h(k){try{S(b.next(k))}catch(N){d(N)}}function E(k){try{S(b.throw(k))}catch(N){d(N)}}function S(k){k.done?c(k.value):D(k.value).then(h,E)}S((b=b.apply(m,A||[])).next())})}function Li(m,A){var f={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},b,D,c,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(S){return function(k){return E([S,k])}}function E(S){if(b)throw new TypeError("Generator is already executing.");for(;f;)try{if(b=1,D&&(c=S[0]&2?D.return:S[0]?D.throw||((c=D.return)&&c.call(D),0):D.next)&&!(c=c.call(D,S[1])).done)return c;switch(D=0,c&&(S=[S[0]&2,c.value]),S[0]){case 0:case 1:c=S;break;case 4:return f.label++,{value:S[1],done:!1};case 5:f.label++,D=S[1],S=[0];continue;case 7:S=f.ops.pop(),f.trys.pop();continue;default:if(c=f.trys,!(c=c.length>0&&c[c.length-1])&&(S[0]===6||S[0]===2)){f=0;continue}if(S[0]===3&&(!c||S[1]>c[0]&&S[1]<c[3])){f.label=S[1];break}if(S[0]===6&&f.label<c[1]){f.label=c[1],c=S;break}if(c&&f.label<c[2]){f.label=c[2],f.ops.push(S);break}c[2]&&f.ops.pop(),f.trys.pop();continue}S=A.call(m,f)}catch(k){S=[6,k],D=0}finally{b=c=0}if(S[0]&5)throw S[1];return{value:S[0]?S[1]:void 0,done:!0}}}function Ks(m,A,f,b){b===void 0&&(b=f),m[b]=A[f]}function Wa(m,A){for(var f in m)f!=="default"&&!A.hasOwnProperty(f)&&(A[f]=m[f])}function No(m){var A=typeof Symbol=="function"&&Symbol.iterator,f=A&&m[A],b=0;if(f)return f.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&b>=m.length&&(m=void 0),{value:m&&m[b++],done:!m}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}function il(m,A){var f=typeof Symbol=="function"&&m[Symbol.iterator];if(!f)return m;var b=f.call(m),D,c=[],d;try{for(;(A===void 0||A-- >0)&&!(D=b.next()).done;)c.push(D.value)}catch(h){d={error:h}}finally{try{D&&!D.done&&(f=b.return)&&f.call(b)}finally{if(d)throw d.error}}return c}function Nf(){for(var m=[],A=0;A<arguments.length;A++)m=m.concat(il(arguments[A]));return m}function Tf(){for(var m=0,A=0,f=arguments.length;A<f;A++)m+=arguments[A].length;for(var b=Array(m),D=0,A=0;A<f;A++)for(var c=arguments[A],d=0,h=c.length;d<h;d++,D++)b[D]=c[d];return b}function di(m){return this instanceof di?(this.v=m,this):new di(m)}function _f(m,A,f){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b=f.apply(m,A||[]),D,c=[];return D={},d("next"),d("throw"),d("return"),D[Symbol.asyncIterator]=function(){return this},D;function d(_){b[_]&&(D[_]=function(C){return new Promise(function(x,M){c.push([_,C,x,M])>1||h(_,C)})})}function h(_,C){try{E(b[_](C))}catch(x){N(c[0][3],x)}}function E(_){_.value instanceof di?Promise.resolve(_.value.v).then(S,k):N(c[0][2],_)}function S(_){h("next",_)}function k(_){h("throw",_)}function N(_,C){_(C),c.shift(),c.length&&h(c[0][0],c[0][1])}}function kf(m){var A,f;return A={},b("next"),b("throw",function(D){throw D}),b("return"),A[Symbol.iterator]=function(){return this},A;function b(D,c){A[D]=m[D]?function(d){return(f=!f)?{value:di(m[D](d)),done:D==="return"}:c?c(d):d}:c}}function Lf(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=m[Symbol.asyncIterator],f;return A?A.call(m):(m=typeof No=="function"?No(m):m[Symbol.iterator](),f={},b("next"),b("throw"),b("return"),f[Symbol.asyncIterator]=function(){return this},f);function b(c){f[c]=m[c]&&function(d){return new Promise(function(h,E){d=m[c](d),D(h,E,d.done,d.value)})}}function D(c,d,h,E){Promise.resolve(E).then(function(S){c({value:S,done:h})},d)}}function Pf(m,A){return Object.defineProperty?Object.defineProperty(m,"raw",{value:A}):m.raw=A,m}function Bf(m){if(m&&m.__esModule)return m;var A={};if(m!=null)for(var f in m)Object.hasOwnProperty.call(m,f)&&(A[f]=m[f]);return A.default=m,A}function If(m){return m&&m.__esModule?m:{default:m}}function Mf(m,A){if(!A.has(m))throw new TypeError("attempted to get private field on non-instance");return A.get(m)}function Of(m,A,f){if(!A.has(m))throw new TypeError("attempted to set private field on non-instance");return A.set(m,f),f}var pe,de,Ge=cn({"node_modules/tslib/tslib.es6.js"(){Ve(),pe=function(m,A){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,b){for(var D in b)b.hasOwnProperty(D)&&(f[D]=b[D])},pe(m,A)},de=function(){return de=Object.assign||function(m){for(var A,f=1,b=arguments.length;f<b;f++){A=arguments[f];for(var D in A)Object.prototype.hasOwnProperty.call(A,D)&&(m[D]=A[D])}return m},de.apply(this,arguments)}}}),ze=Fe({"node_modules/vnopts/lib/descriptors/api.js"(m){Ve(),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(b=>m.apiDescriptor.value(b)).join(", ")}]`;let f=Object.keys(A);return f.length===0?"{}":`{ ${f.map(b=>`${m.apiDescriptor.key(b)}: ${m.apiDescriptor.value(A[b])}`).join(", ")} }`},pair:A=>{let{key:f,value:b}=A;return m.apiDescriptor.value({[f]:b})}}}}),Ze=Fe({"node_modules/vnopts/lib/descriptors/index.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Gn(dn));A.__exportStar(ze(),m)}}),et=Fe({"scripts/build/shims/chalk.cjs"(m,A){Ve();var f=b=>b;f.grey=f,f.red=f,f.bold=f,f.yellow=f,f.blue=f,f.default=f,A.exports=f}}),Ct=Fe({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=et();m.commonDeprecatedHandler=(f,b,D)=>{let{descriptor:c}=D,d=[`${A.default.yellow(typeof f=="string"?c.key(f):c.pair(f))} is deprecated`];return b&&d.push(`we now treat it as ${A.default.blue(typeof b=="string"?c.key(b):c.pair(b))}`),d.join("; ")+"."}}}),wt=Fe({"node_modules/vnopts/lib/handlers/deprecated/index.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Gn(dn));A.__exportStar(Ct(),m)}}),Xt=Fe({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=et();m.commonInvalidHandler=(f,b,D)=>[`Invalid ${A.default.red(D.descriptor.key(f))} value.`,`Expected ${A.default.blue(D.schemas[f].expected(D))},`,`but received ${A.default.red(D.descriptor.value(b))}.`].join(" ")}}),en=Fe({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Gn(dn));A.__exportStar(Xt(),m)}}),pn=Fe({"node_modules/vnopts/node_modules/leven/index.js"(m,A){Ve();var f=[],b=[];A.exports=function(D,c){if(D===c)return 0;var d=D;D.length>c.length&&(D=c,c=d);var h=D.length,E=c.length;if(h===0)return E;if(E===0)return h;for(;h>0&&D.charCodeAt(~-h)===c.charCodeAt(~-E);)h--,E--;if(h===0)return E;for(var S=0;S<h&&D.charCodeAt(S)===c.charCodeAt(S);)S++;if(h-=S,E-=S,h===0)return E;for(var k,N,_,C,x=0,M=0;x<h;)b[S+x]=D.charCodeAt(S+x),f[x]=++x;for(;M<E;)for(k=c.charCodeAt(S+M),_=M++,N=M,x=0;x<h;x++)C=k===b[S+x]?_:_+1,_=f[x],N=f[x]=_>N?C>N?N+1:C:C>_?_+1:C;return N}}}),kn=Fe({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=et(),f=pn();m.levenUnknownHandler=(b,D,c)=>{let{descriptor:d,logger:h,schemas:E}=c,S=[`Ignored unknown option ${A.default.yellow(d.pair({key:b,value:D}))}.`],k=Object.keys(E).sort().find(N=>f(b,N)<3);k&&S.push(`Did you mean ${A.default.blue(d.key(k))}?`),h.warn(S.join(" "))}}}),ar=Fe({"node_modules/vnopts/lib/handlers/unknown/index.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Gn(dn));A.__exportStar(kn(),m)}}),or=Fe({"node_modules/vnopts/lib/handlers/index.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Gn(dn));A.__exportStar(wt(),m),A.__exportStar(en(),m),A.__exportStar(ar(),m)}}),On=Fe({"node_modules/vnopts/lib/schema.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function f(c,d){let h=new c(d),E=Object.create(h);for(let S of A)S in d&&(E[S]=D(d[S],h,b.prototype[S].length));return E}m.createSchema=f;var b=class{constructor(c){this.name=c.name}static create(c){return f(this,c)}default(c){}expected(c){return"nothing"}validate(c,d){return!1}deprecated(c,d){return!1}forward(c,d){}redirect(c,d){}overlap(c,d,h){return c}preprocess(c,d){return c}postprocess(c,d){return c}};m.Schema=b;function D(c,d,h){return typeof c=="function"?function(){for(var E=arguments.length,S=new Array(E),k=0;k<E;k++)S[k]=arguments[k];return c(...S.slice(0,h-1),d,...S.slice(h-1))}:()=>c}}}),er=Fe({"node_modules/vnopts/lib/schemas/alias.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=On(),f=class extends A.Schema{constructor(b){super(b),this._sourceName=b.sourceName}expected(b){return b.schemas[this._sourceName].expected(b)}validate(b,D){return D.schemas[this._sourceName].validate(b,D)}redirect(b,D){return this._sourceName}};m.AliasSchema=f}}),Xn=Fe({"node_modules/vnopts/lib/schemas/any.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=On(),f=class extends A.Schema{expected(){return"anything"}validate(){return!0}};m.AnySchema=f}}),Or=Fe({"node_modules/vnopts/lib/schemas/array.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Gn(dn)),f=On(),b=class extends f.Schema{constructor(c){var{valueSchema:d,name:h=d.name}=c,E=A.__rest(c,["valueSchema","name"]);super(Object.assign({},E,{name:h})),this._valueSchema=d}expected(c){return`an array of ${this._valueSchema.expected(c)}`}validate(c,d){if(!Array.isArray(c))return!1;let h=[];for(let E of c){let S=d.normalizeValidateResult(this._valueSchema.validate(E,d),E);S!==!0&&h.push(S.value)}return h.length===0?!0:{value:h}}deprecated(c,d){let h=[];for(let E of c){let S=d.normalizeDeprecatedResult(this._valueSchema.deprecated(E,d),E);S!==!1&&h.push(...S.map(k=>{let{value:N}=k;return{value:[N]}}))}return h}forward(c,d){let h=[];for(let E of c){let S=d.normalizeForwardResult(this._valueSchema.forward(E,d),E);h.push(...S.map(D))}return h}redirect(c,d){let h=[],E=[];for(let S of c){let k=d.normalizeRedirectResult(this._valueSchema.redirect(S,d),S);"remain"in k&&h.push(k.remain),E.push(...k.redirect.map(D))}return h.length===0?{redirect:E}:{redirect:E,remain:h}}overlap(c,d){return c.concat(d)}};m.ArraySchema=b;function D(c){let{from:d,to:h}=c;return{from:[d],to:h}}}}),sr=Fe({"node_modules/vnopts/lib/schemas/boolean.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=On(),f=class extends A.Schema{expected(){return"true or false"}validate(b){return typeof b=="boolean"}};m.BooleanSchema=f}}),Vr=Fe({"node_modules/vnopts/lib/utils.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});function A(C,x){let M=Object.create(null);for(let X of C){let ee=X[x];if(M[ee])throw new Error(`Duplicate ${x} ${JSON.stringify(ee)}`);M[ee]=X}return M}m.recordFromArray=A;function f(C,x){let M=new Map;for(let X of C){let ee=X[x];if(M.has(ee))throw new Error(`Duplicate ${x} ${JSON.stringify(ee)}`);M.set(ee,X)}return M}m.mapFromArray=f;function b(){let C=Object.create(null);return x=>{let M=JSON.stringify(x);return C[M]?!0:(C[M]=!0,!1)}}m.createAutoChecklist=b;function D(C,x){let M=[],X=[];for(let ee of C)x(ee)?M.push(ee):X.push(ee);return[M,X]}m.partition=D;function c(C){return C===Math.floor(C)}m.isInt=c;function d(C,x){if(C===x)return 0;let M=typeof C,X=typeof x,ee=["undefined","object","boolean","number","string"];return M!==X?ee.indexOf(M)-ee.indexOf(X):M!=="string"?Number(C)-Number(x):C.localeCompare(x)}m.comparePrimitive=d;function h(C){return C===void 0?{}:C}m.normalizeDefaultResult=h;function E(C,x){return C===!0?!0:C===!1?{value:x}:C}m.normalizeValidateResult=E;function S(C,x){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return C===!1?!1:C===!0?M?!0:[{value:x}]:"value"in C?[C]:C.length===0?!1:C}m.normalizeDeprecatedResult=S;function k(C,x){return typeof C=="string"||"key"in C?{from:x,to:C}:"from"in C?{from:C.from,to:C.to}:{from:x,to:C.to}}m.normalizeTransferResult=k;function N(C,x){return C===void 0?[]:Array.isArray(C)?C.map(M=>k(M,x)):[k(C,x)]}m.normalizeForwardResult=N;function _(C,x){let M=N(typeof C=="object"&&"redirect"in C?C.redirect:C,x);return M.length===0?{remain:x,redirect:M}:typeof C=="object"&&"remain"in C?{remain:C.remain,redirect:M}:{redirect:M}}m.normalizeRedirectResult=_}}),hr=Fe({"node_modules/vnopts/lib/schemas/choice.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=On(),f=Vr(),b=class extends A.Schema{constructor(D){super(D),this._choices=f.mapFromArray(D.choices.map(c=>c&&typeof c=="object"?c:{value:c}),"value")}expected(D){let{descriptor:c}=D,d=Array.from(this._choices.keys()).map(S=>this._choices.get(S)).filter(S=>!S.deprecated).map(S=>S.value).sort(f.comparePrimitive).map(c.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 c=this._choices.get(D);return c&&c.deprecated?{value:D}:!1}forward(D){let c=this._choices.get(D);return c?c.forward:void 0}redirect(D){let c=this._choices.get(D);return c?c.redirect:void 0}};m.ChoiceSchema=b}}),Cr=Fe({"node_modules/vnopts/lib/schemas/number.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=On(),f=class extends A.Schema{expected(){return"a number"}validate(b,D){return typeof b=="number"}};m.NumberSchema=f}}),Ga=Fe({"node_modules/vnopts/lib/schemas/integer.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=Vr(),f=Cr(),b=class extends f.NumberSchema{expected(){return"an integer"}validate(D,c){return c.normalizeValidateResult(super.validate(D,c),D)===!0&&A.isInt(D)}};m.IntegerSchema=b}}),bv=Fe({"node_modules/vnopts/lib/schemas/string.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=On(),f=class extends A.Schema{expected(){return"a string"}validate(b){return typeof b=="string"}};m.StringSchema=f}}),vv=Fe({"node_modules/vnopts/lib/schemas/index.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Gn(dn));A.__exportStar(er(),m),A.__exportStar(Xn(),m),A.__exportStar(Or(),m),A.__exportStar(sr(),m),A.__exportStar(hr(),m),A.__exportStar(Ga(),m),A.__exportStar(Cr(),m),A.__exportStar(bv(),m)}}),Ev=Fe({"node_modules/vnopts/lib/defaults.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=ze(),f=Ct(),b=en(),D=kn();m.defaultDescriptor=A.apiDescriptor,m.defaultUnknownHandler=D.levenUnknownHandler,m.defaultInvalidHandler=b.commonInvalidHandler,m.defaultDeprecatedHandler=f.commonDeprecatedHandler}}),Av=Fe({"node_modules/vnopts/lib/normalize.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=Ev(),f=Vr();m.normalize=(D,c,d)=>new b(c,d).normalize(D);var b=class{constructor(D,c){let{logger:d=console,descriptor:h=A.defaultDescriptor,unknown:E=A.defaultUnknownHandler,invalid:S=A.defaultInvalidHandler,deprecated:k=A.defaultDeprecatedHandler}=c||{};this._utils={descriptor:h,logger:d||{warn:()=>{}},schemas:f.recordFromArray(D,"name"),normalizeDefaultResult:f.normalizeDefaultResult,normalizeDeprecatedResult:f.normalizeDeprecatedResult,normalizeForwardResult:f.normalizeForwardResult,normalizeRedirectResult:f.normalizeRedirectResult,normalizeValidateResult:f.normalizeValidateResult},this._unknownHandler=E,this._invalidHandler=S,this._deprecatedHandler=k,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=f.createAutoChecklist()}normalize(D){let c={},d=[D],h=()=>{for(;d.length!==0;){let E=d.shift(),S=this._applyNormalization(E,c);d.push(...S)}};h();for(let E of Object.keys(this._utils.schemas)){let S=this._utils.schemas[E];if(!(E in c)){let k=f.normalizeDefaultResult(S.default(this._utils));"value"in k&&d.push({[E]:k.value})}}h();for(let E of Object.keys(this._utils.schemas)){let S=this._utils.schemas[E];E in c&&(c[E]=S.postprocess(c[E],this._utils))}return c}_applyNormalization(D,c){let d=[],[h,E]=f.partition(Object.keys(D),S=>S in this._utils.schemas);for(let S of h){let k=this._utils.schemas[S],N=k.preprocess(D[S],this._utils),_=f.normalizeValidateResult(k.validate(N,this._utils),N);if(_!==!0){let{value:X}=_,ee=this._invalidHandler(S,X,this._utils);throw typeof ee=="string"?new Error(ee):ee}let C=X=>{let{from:ee,to:$}=X;d.push(typeof $=="string"?{[$]:ee}:{[$.key]:$.value})},x=X=>{let{value:ee,redirectTo:$}=X,Q=f.normalizeDeprecatedResult(k.deprecated(ee,this._utils),N,!0);if(Q!==!1)if(Q===!0)this._hasDeprecationWarned(S)||this._utils.logger.warn(this._deprecatedHandler(S,$,this._utils));else for(let{value:G}of Q){let ne={key:S,value:G};if(!this._hasDeprecationWarned(ne)){let Z=typeof $=="string"?{key:$,value:G}:$;this._utils.logger.warn(this._deprecatedHandler(ne,Z,this._utils))}}};f.normalizeForwardResult(k.forward(N,this._utils),N).forEach(C);let M=f.normalizeRedirectResult(k.redirect(N,this._utils),N);if(M.redirect.forEach(C),"remain"in M){let X=M.remain;c[S]=S in c?k.overlap(c[S],X,this._utils):X,x({value:X})}for(let{from:X,to:ee}of M.redirect)x({value:X,redirectTo:ee})}for(let S of E){let k=D[S],N=this._unknownHandler(S,k,this._utils);if(N)for(let _ of Object.keys(N)){let C={[_]:N[_]};_ in this._utils.schemas?d.push(C):Object.assign(c,C)}}return d}};m.Normalizer=b}}),Cv=Fe({"node_modules/vnopts/lib/index.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Gn(dn));A.__exportStar(Ze(),m),A.__exportStar(or(),m),A.__exportStar(vv(),m),A.__exportStar(Av(),m),A.__exportStar(On(),m)}}),Sv=Fe({"src/main/options-normalizer.js"(m,A){Ve();var f=Cv(),b=Mr(),D={key:_=>_.length===1?`-${_}`:`--${_}`,value:_=>f.apiDescriptor.value(_),pair:_=>{let{key:C,value:x}=_;return x===!1?`--no-${C}`:x===!0?D.key(C):x===""?`${D.key(C)} without an argument`:`${D.key(C)}=${x}`}},c=_=>{let{colorsModule:C,levenshteinDistance:x}=_;return class extends f.ChoiceSchema{constructor(M){let{name:X,flags:ee}=M;super({name:X,choices:ee}),this._flags=[...ee].sort()}preprocess(M,X){if(typeof M=="string"&&M.length>0&&!this._flags.includes(M)){let ee=this._flags.find($=>x($,M)<3);if(ee)return X.logger.warn([`Unknown flag ${C.yellow(X.descriptor.value(M))},`,`did you mean ${C.blue(X.descriptor.value(ee))}?`].join(" ")),ee}return M}expected(){return"a flag"}}},d;function h(_,C){let{logger:x=!1,isCLI:M=!1,passThrough:X=!1,colorsModule:ee=null,levenshteinDistance:$=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Q=X?Array.isArray(X)?(J,w)=>X.includes(J)?{[J]:w}:void 0:(J,w)=>({[J]:w}):(J,w,O)=>{let y=O.schemas,T=St(y,ot);return f.levenUnknownHandler(J,w,Object.assign(Object.assign({},O),{},{schemas:T}))},G=M?D:f.apiDescriptor,ne=E(C,{isCLI:M,colorsModule:ee,levenshteinDistance:$}),Z=new f.Normalizer(ne,{logger:x,unknown:Q,descriptor:G}),De=x!==!1;De&&d&&(Z._hasDeprecationWarned=d);let F=Z.normalize(_);return De&&(d=Z._hasDeprecationWarned),M&&F["plugin-search"]===!1&&(F["plugin-search-dir"]=!1),F}function E(_,C){let{isCLI:x,colorsModule:M,levenshteinDistance:X}=C,ee=[];x&&ee.push(f.AnySchema.create({name:"_"}));for(let $ of _)ee.push(S($,{isCLI:x,optionInfos:_,colorsModule:M,levenshteinDistance:X})),$.alias&&x&&ee.push(f.AliasSchema.create({name:$.alias,sourceName:$.name}));return ee}function S(_,C){let{isCLI:x,optionInfos:M,colorsModule:X,levenshteinDistance:ee}=C,{name:$}=_;if($==="plugin-search-dir"||$==="pluginSearchDirs")return f.AnySchema.create({name:$,preprocess(Z){return Z===!1||(Z=Array.isArray(Z)?Z:[Z]),Z},validate(Z){return Z===!1?!0:Z.every(De=>typeof De=="string")},expected(){return"false or paths to plugin search dir"}});let Q={name:$},G,ne={};switch(_.type){case"int":G=f.IntegerSchema,x&&(Q.preprocess=Number);break;case"string":G=f.StringSchema;break;case"choice":G=f.ChoiceSchema,Q.choices=_.choices.map(Z=>typeof Z=="object"&&Z.redirect?Object.assign(Object.assign({},Z),{},{redirect:{to:{key:_.name,value:Z.redirect}}}):Z);break;case"boolean":G=f.BooleanSchema;break;case"flag":G=c({colorsModule:X,levenshteinDistance:ee}),Q.flags=M.flatMap(Z=>[Z.alias,Z.description&&Z.name,Z.oppositeDescription&&`no-${Z.name}`].filter(Boolean));break;case"path":G=f.StringSchema;break;default:throw new Error(`Unexpected type ${_.type}`)}if(_.exception?Q.validate=(Z,De,F)=>_.exception(Z)||De.validate(Z,F):Q.validate=(Z,De,F)=>Z===void 0||De.validate(Z,F),_.redirect&&(ne.redirect=Z=>Z?{to:{key:_.redirect.option,value:_.redirect.value}}:void 0),_.deprecated&&(ne.deprecated=!0),x&&!_.array){let Z=Q.preprocess||(De=>De);Q.preprocess=(De,F,J)=>F.preprocess(Z(Array.isArray(De)?b(De):De),J)}return _.array?f.ArraySchema.create(Object.assign(Object.assign(Object.assign({},x?{preprocess:Z=>Array.isArray(Z)?Z:[Z]}:{}),ne),{},{valueSchema:G.create(Q)})):G.create(Object.assign(Object.assign({},Q),ne))}function k(_,C,x){return h(_,C,x)}function N(_,C,x){return h(_,C,Object.assign({isCLI:!0},x))}A.exports={normalizeApiOptions:k,normalizeCliOptions:N}}}),Zr=Fe({"src/language-js/loc.js"(m,A){Ve();var f=Mt();function b(E){var S,k;let N=E.range?E.range[0]:E.start,_=(S=(k=E.declaration)===null||k===void 0?void 0:k.decorators)!==null&&S!==void 0?S:E.decorators;return f(_)?Math.min(b(_[0]),N):N}function D(E){return E.range?E.range[1]:E.end}function c(E,S){let k=b(E);return Number.isInteger(k)&&k===b(S)}function d(E,S){let k=D(E);return Number.isInteger(k)&&k===D(S)}function h(E,S){return c(E,S)&&d(E,S)}A.exports={locStart:b,locEnd:D,hasSameLocStart:c,hasSameLoc:h}}}),xv=Fe({"src/main/load-parser.js"(m,A){Ve(),A.exports=()=>{}}}),wv=Fe({"scripts/build/shims/babel-highlight.cjs"(m,A){Ve();var f=et(),b={shouldHighlight:()=>!1,getChalk:()=>f};A.exports=b}}),Fv=Fe({"node_modules/@babel/code-frame/lib/index.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0}),m.codeFrameColumns=d,m.default=h;var A=wv(),f=!1;function b(E){return{gutter:E.grey,marker:E.red.bold,message:E.red.bold}}var D=/\r\n|[\n\r\u2028\u2029]/;function c(E,S,k){let N=Object.assign({column:0,line:-1},E.start),_=Object.assign({},N,E.end),{linesAbove:C=2,linesBelow:x=3}=k||{},M=N.line,X=N.column,ee=_.line,$=_.column,Q=Math.max(M-(C+1),0),G=Math.min(S.length,ee+x);M===-1&&(Q=0),ee===-1&&(G=S.length);let ne=ee-M,Z={};if(ne)for(let De=0;De<=ne;De++){let F=De+M;if(!X)Z[F]=!0;else if(De===0){let J=S[F-1].length;Z[F]=[X,J-X+1]}else if(De===ne)Z[F]=[0,$];else{let J=S[F-De].length;Z[F]=[0,J]}}else X===$?X?Z[M]=[X,0]:Z[M]=!0:Z[M]=[X,$-X];return{start:Q,end:G,markerLines:Z}}function d(E,S){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=(k.highlightCode||k.forceColor)&&(0,A.shouldHighlight)(k),_=(0,A.getChalk)(k),C=b(_),x=(Z,De)=>N?Z(De):De,M=E.split(D),{start:X,end:ee,markerLines:$}=c(S,M,k),Q=S.start&&typeof S.start.column=="number",G=String(ee).length,ne=(N?(0,A.default)(E,k):E).split(D,ee).slice(X,ee).map((Z,De)=>{let F=X+1+De,J=` ${` ${F}`.slice(-G)} |`,w=$[F],O=!$[F+1];if(w){let y="";if(Array.isArray(w)){let T=Z.slice(0,Math.max(w[0]-1,0)).replace(/[^\t]/g," "),B=w[1]||1;y=[`
183
- `,x(C.gutter,J.replace(/\d/g," "))," ",T,x(C.marker,"^").repeat(B)].join(""),O&&k.message&&(y+=" "+x(C.message,k.message))}return[x(C.marker,">"),x(C.gutter,J),Z.length>0?` ${Z}`:"",y].join("")}else return` ${x(C.gutter,J)}${Z.length>0?` ${Z}`:""}`}).join(`
184
- `);return k.message&&!Q&&(ne=`${" ".repeat(G+1)}${k.message}
185
- ${ne}`),N?_.reset(ne):ne}function h(E,S,k){let N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!f){f=!0;let _="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(vr.emitWarning)vr.emitWarning(_,"DeprecationWarning");else{let C=new Error(_);C.name="DeprecationWarning",console.warn(new Error(_))}}return k=Math.max(k,0),d(E,{start:{column:k,line:S}},N)}}}),jf=Fe({"src/main/parser.js"(m,A){Ve();var{ConfigError:f}=Kt(),b=Zr();xv();var{locStart:D,locEnd:c}=b,d=Object.getOwnPropertyNames,h=Object.getOwnPropertyDescriptor;function E(N){let _={};for(let C of N.plugins)if(C.parsers)for(let x of d(C.parsers))Object.defineProperty(_,x,h(C.parsers,x));return _}function S(N){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E(N);if(typeof N.parser=="function")return{parse:N.parser,astFormat:"estree",locStart:D,locEnd:c};if(typeof N.parser=="string"){if(Object.prototype.hasOwnProperty.call(_,N.parser))return _[N.parser];throw new f(`Couldn't resolve parser "${N.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function k(N,_){let C=E(_),x=Object.defineProperties({},Object.fromEntries(Object.keys(C).map(X=>[X,{enumerable:!0,get(){return C[X].parse}}]))),M=S(_,C);try{return M.preprocess&&(N=M.preprocess(N,_)),{text:N,ast:M.parse(N,x,_)}}catch(X){let{loc:ee}=X;if(ee){let{codeFrameColumns:$}=Fv();throw X.codeFrame=$(N,ee,{highlightCode:!0}),X.message+=`
186
- `+X.codeFrame,X}throw X}}A.exports={parse:k,resolveParser:S}}}),m0=Fe({"src/main/options.js"(m,A){Ve();var f=Dt(),{UndefinedParserError:b}=Kt(),{getSupportInfo:D}=Nt(),c=Sv(),{resolveParser:d}=jf(),h={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function E(N){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=Object.assign({},N),x=D({plugins:N.plugins,showUnreleased:!0,showDeprecated:!0}).options,M=Object.assign(Object.assign({},h),Object.fromEntries(x.filter(G=>G.default!==void 0).map(G=>[G.name,G.default])));if(!C.parser){if(!C.filepath)(_.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=k(C.filepath,C.plugins),!C.parser)throw new b(`No parser could be inferred for file: ${C.filepath}`)}let X=d(c.normalizeApiOptions(C,[x.find(G=>G.name==="parser")],{passThrough:!0,logger:!1}));C.astFormat=X.astFormat,C.locEnd=X.locEnd,C.locStart=X.locStart;let ee=S(C);C.printer=ee.printers[C.astFormat];let $=Object.fromEntries(x.filter(G=>G.pluginDefaults&&G.pluginDefaults[ee.name]!==void 0).map(G=>[G.name,G.pluginDefaults[ee.name]])),Q=Object.assign(Object.assign({},M),$);for(let[G,ne]of Object.entries(Q))(C[G]===null||C[G]===void 0)&&(C[G]=ne);return C.parser==="json"&&(C.trailingComma="none"),c.normalizeApiOptions(C,x,Object.assign({passThrough:Object.keys(h)},_))}function S(N){let{astFormat:_}=N;if(!_)throw new Error("getPlugin() requires astFormat to be set");let C=N.plugins.find(x=>x.printers&&x.printers[_]);if(!C)throw new Error(`Couldn't find plugin for AST format "${_}"`);return C}function k(N,_){let C=f.basename(N).toLowerCase(),x=D({plugins:_}).languages.filter(M=>M.since!==null).find(M=>M.extensions&&M.extensions.some(X=>C.endsWith(X))||M.filenames&&M.filenames.some(X=>X.toLowerCase()===C));return x&&x.parsers[0]}A.exports={normalize:E,hiddenDefaults:h,inferParser:k}}}),Nv=Fe({"src/main/massage-ast.js"(m,A){Ve();function f(b,D,c){if(Array.isArray(b))return b.map(S=>f(S,D,c)).filter(Boolean);if(!b||typeof b!="object")return b;let d=D.printer.massageAstNode,h;d&&d.ignoredProperties?h=d.ignoredProperties:h=new Set;let E={};for(let[S,k]of Object.entries(b))!h.has(S)&&typeof k!="function"&&(E[S]=f(k,D,b));if(d){let S=d(b,E,c);if(S===null)return;if(S)return S}return E}A.exports=f}}),To=Fe({"scripts/build/shims/assert.cjs"(m,A){Ve();var f=()=>{};f.ok=f,f.strictEqual=f,A.exports=f}}),Lr=Fe({"src/main/comments.js"(m,A){Ve();var f=To(),{builders:{line:b,hardline:D,breakParent:c,indent:d,lineSuffix:h,join:E,cursor:S}}=Sn(),{hasNewline:k,skipNewline:N,skipSpaces:_,isPreviousLineEmpty:C,addLeadingComment:x,addDanglingComment:M,addTrailingComment:X}=ye(),ee=new WeakMap;function $(re,ce,ge){if(!re)return;let{printer:fe,locStart:Ne,locEnd:ie}=ce;if(ge){if(fe.canAttachComment&&fe.canAttachComment(re)){let me;for(me=ge.length-1;me>=0&&!(Ne(ge[me])<=Ne(re)&&ie(ge[me])<=ie(re));--me);ge.splice(me+1,0,re);return}}else if(ee.has(re))return ee.get(re);let We=fe.getCommentChildNodes&&fe.getCommentChildNodes(re,ce)||typeof re=="object"&&Object.entries(re).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(We){ge||(ge=[],ee.set(re,ge));for(let me of We)$(me,ce,ge);return ge}}function Q(re,ce,ge,fe){let{locStart:Ne,locEnd:ie}=ge,We=Ne(ce),me=ie(ce),oe=$(re,ge),qe,tt,Ye=0,ht=oe.length;for(;Ye<ht;){let be=Ye+ht>>1,Me=oe[be],ft=Ne(Me),pt=ie(Me);if(ft<=We&&me<=pt)return Q(Me,ce,ge,Me);if(pt<=We){qe=Me,Ye=be+1;continue}if(me<=ft){tt=Me,ht=be;continue}throw new Error("Comment location overlaps with node location")}if(fe&&fe.type==="TemplateLiteral"){let{quasis:be}=fe,Me=O(be,ce,ge);qe&&O(be,qe,ge)!==Me&&(qe=null),tt&&O(be,tt,ge)!==Me&&(tt=null)}return{enclosingNode:fe,precedingNode:qe,followingNode:tt}}var G=()=>!1;function ne(re,ce,ge,fe){if(!Array.isArray(re))return;let Ne=[],{locStart:ie,locEnd:We,printer:{handleComments:me={}}}=fe,{avoidAstMutation:oe,ownLine:qe=G,endOfLine:tt=G,remaining:Ye=G}=me,ht=re.map((be,Me)=>Object.assign(Object.assign({},Q(ce,be,fe)),{},{comment:be,text:ge,options:fe,ast:ce,isLastComment:re.length-1===Me}));for(let[be,Me]of ht.entries()){let{comment:ft,precedingNode:pt,enclosingNode:Wt,followingNode:Ue,text:Se,options:He,ast:Xe,isLastComment:bt}=Me;if(He.parser==="json"||He.parser==="json5"||He.parser==="__js_expression"||He.parser==="__vue_expression"||He.parser==="__vue_ts_expression"){if(ie(ft)-ie(Xe)<=0){x(Xe,ft);continue}if(We(ft)-We(Xe)>=0){X(Xe,ft);continue}}let Tt;if(oe?Tt=[Me]:(ft.enclosingNode=Wt,ft.precedingNode=pt,ft.followingNode=Ue,Tt=[ft,Se,He,Xe,bt]),De(Se,He,ht,be))ft.placement="ownLine",qe(...Tt)||(Ue?x(Ue,ft):pt?X(pt,ft):M(Wt||Xe,ft));else if(F(Se,He,ht,be))ft.placement="endOfLine",tt(...Tt)||(pt?X(pt,ft):Ue?x(Ue,ft):M(Wt||Xe,ft));else if(ft.placement="remaining",!Ye(...Tt))if(pt&&Ue){let Bt=Ne.length;Bt>0&&Ne[Bt-1].followingNode!==Ue&&J(Ne,Se,He),Ne.push(Me)}else pt?X(pt,ft):Ue?x(Ue,ft):M(Wt||Xe,ft)}if(J(Ne,ge,fe),!oe)for(let be of re)delete be.precedingNode,delete be.enclosingNode,delete be.followingNode}var Z=re=>!/[\S\n\u2028\u2029]/.test(re);function De(re,ce,ge,fe){let{comment:Ne,precedingNode:ie}=ge[fe],{locStart:We,locEnd:me}=ce,oe=We(Ne);if(ie)for(let qe=fe-1;qe>=0;qe--){let{comment:tt,precedingNode:Ye}=ge[qe];if(Ye!==ie||!Z(re.slice(me(tt),oe)))break;oe=We(tt)}return k(re,oe,{backwards:!0})}function F(re,ce,ge,fe){let{comment:Ne,followingNode:ie}=ge[fe],{locStart:We,locEnd:me}=ce,oe=me(Ne);if(ie)for(let qe=fe+1;qe<ge.length;qe++){let{comment:tt,followingNode:Ye}=ge[qe];if(Ye!==ie||!Z(re.slice(oe,We(tt))))break;oe=me(tt)}return k(re,oe)}function J(re,ce,ge){let fe=re.length;if(fe===0)return;let{precedingNode:Ne,followingNode:ie,enclosingNode:We}=re[0],me=ge.printer.getGapRegex&&ge.printer.getGapRegex(We)||/^[\s(]*$/,oe=ge.locStart(ie),qe;for(qe=fe;qe>0;--qe){let{comment:tt,precedingNode:Ye,followingNode:ht}=re[qe-1];f.strictEqual(Ye,Ne),f.strictEqual(ht,ie);let be=ce.slice(ge.locEnd(tt),oe);if(me.test(be))oe=ge.locStart(tt);else break}for(let[tt,{comment:Ye}]of re.entries())tt<qe?X(Ne,Ye):x(ie,Ye);for(let tt of[Ne,ie])tt.comments&&tt.comments.length>1&&tt.comments.sort((Ye,ht)=>ge.locStart(Ye)-ge.locStart(ht));re.length=0}function w(re,ce){let ge=re.getValue();return ge.printed=!0,ce.printer.printComment(re,ce)}function O(re,ce,ge){let fe=ge.locStart(ce)-1;for(let Ne=1;Ne<re.length;++Ne)if(fe<ge.locStart(re[Ne]))return Ne-1;return 0}function y(re,ce){let ge=re.getValue(),fe=[w(re,ce)],{printer:Ne,originalText:ie,locStart:We,locEnd:me}=ce;if(Ne.isBlockComment&&Ne.isBlockComment(ge)){let qe=k(ie,me(ge))?k(ie,We(ge),{backwards:!0})?D:b:" ";fe.push(qe)}else fe.push(D);let oe=N(ie,_(ie,me(ge)));return oe!==!1&&k(ie,oe)&&fe.push(D),fe}function T(re,ce){let ge=re.getValue(),fe=w(re,ce),{printer:Ne,originalText:ie,locStart:We}=ce,me=Ne.isBlockComment&&Ne.isBlockComment(ge);if(k(ie,We(ge),{backwards:!0})){let qe=C(ie,ge,We);return h([D,qe?D:"",fe])}let oe=[" ",fe];return me||(oe=[h(oe),c]),oe}function B(re,ce,ge,fe){let Ne=[],ie=re.getValue();return!ie||!ie.comments||(re.each(()=>{let We=re.getValue();!We.leading&&!We.trailing&&(!fe||fe(We))&&Ne.push(w(re,ce))},"comments"),Ne.length===0)?"":ge?E(D,Ne):d([D,E(D,Ne)])}function U(re,ce,ge){let fe=re.getValue();if(!fe)return{};let Ne=fe.comments||[];ge&&(Ne=Ne.filter(oe=>!ge.has(oe)));let ie=fe===ce.cursorNode;if(Ne.length===0){let oe=ie?S:"";return{leading:oe,trailing:oe}}let We=[],me=[];return re.each(()=>{let oe=re.getValue();if(ge&&ge.has(oe))return;let{leading:qe,trailing:tt}=oe;qe?We.push(y(re,ce)):tt&&me.push(T(re,ce))},"comments"),ie&&(We.unshift(S),me.push(S)),{leading:We,trailing:me}}function q(re,ce,ge,fe){let{leading:Ne,trailing:ie}=U(re,ge,fe);return!Ne&&!ie?ce:[Ne,ce,ie]}function z(re){if(re)for(let ce of re){if(!ce.printed)throw new Error('Comment "'+ce.value.trim()+'" was not printed. Please report this error!');delete ce.printed}}A.exports={attach:ne,printComments:q,printCommentsSeparately:U,printDanglingComments:B,getSortedChildNodes:$,ensureAllCommentsPrinted:z}}}),Tv=Fe({"src/common/ast-path.js"(m,A){Ve();var f=Mr();function b(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 S=d[E];if(S&&!Array.isArray(S)&&--h<0)return E}return-1}var c=class{constructor(d){this.stack=[d]}getName(){let{stack:d}=this,{length:h}=d;return h>1?d[h-2]:null}getValue(){return f(this.stack)}getNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return b(this,d)}getParentNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return b(this,d+1)}call(d){let{stack:h}=this,{length:E}=h,S=f(h);for(var k=arguments.length,N=new Array(k>1?k-1:0),_=1;_<k;_++)N[_-1]=arguments[_];for(let x of N)S=S[x],h.push(x,S);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),S=this.stack.splice(E+1),k=d(this);return this.stack.push(...S),k}each(d){let{stack:h}=this,{length:E}=h,S=f(h);for(var k=arguments.length,N=new Array(k>1?k-1:0),_=1;_<k;_++)N[_-1]=arguments[_];for(let C of N)S=S[C],h.push(C,S);for(let C=0;C<S.length;++C)h.push(C,S[C]),d(this,C,S),h.length-=2;h.length=E}map(d){let h=[];for(var E=arguments.length,S=new Array(E>1?E-1:0),k=1;k<E;k++)S[k-1]=arguments[k];return this.each((N,_,C)=>{h[_]=d(N,_,C)},...S),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 S=arguments.length,k=new Array(S),N=0;N<S;N++)k[N]=arguments[N];for(let _ of k){if(E===void 0)return!1;let C=null;if(typeof h=="number"&&(C=h,h=this.stack[d--],E=this.stack[d--]),_&&!_(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,S=this.stack[h--];for(;S;){let k=null;if(typeof E=="number"&&(k=E,E=this.stack[h--],S=this.stack[h--]),E!==null&&d(S,E,k))return S;E=this.stack[h--],S=this.stack[h--]}}};A.exports=c}}),_v=Fe({"src/main/multiparser.js"(m,A){Ve();var{utils:{stripTrailingHardline:f}}=Sn(),{normalize:b}=m0(),D=Lr();function c(h,E,S,k){if(S.printer.embed&&S.embeddedLanguageFormatting==="auto")return S.printer.embed(h,E,(N,_,C)=>d(N,_,S,k,C),S)}function d(h,E,S,k){let{stripTrailingHardline:N=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},_=b(Object.assign(Object.assign(Object.assign({},S),E),{},{parentParser:S.parser,originalText:h}),{passThrough:!0}),C=jf().parse(h,_),{ast:x}=C;h=C.text;let M=x.comments;delete x.comments,D.attach(M,x,h,_),_[Symbol.for("comments")]=M||[],_[Symbol.for("tokens")]=x.tokens||[];let X=k(x,_);return D.ensureAllCommentsPrinted(M),N?typeof X=="string"?X.replace(/(?:\r?\n)*$/,""):f(X):X}A.exports={printSubtree:c}}}),kv=Fe({"src/main/ast-to-doc.js"(m,A){Ve();var f=Tv(),{builders:{hardline:b,addAlignmentToDoc:D},utils:{propagateBreaks:c}}=Sn(),{printComments:d}=Lr(),h=_v();function E(N,_){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:x}=_;x.preprocess&&(N=x.preprocess(N,_));let M=new Map,X=new f(N),ee=$();return C>0&&(ee=D([b,ee],C,_.tabWidth)),c(ee),ee;function $(G,ne){return G===void 0||G===X?Q(ne):Array.isArray(G)?X.call(()=>Q(ne),...G):X.call(()=>Q(ne),G)}function Q(G){let ne=X.getValue(),Z=ne&&typeof ne=="object"&&G===void 0;if(Z&&M.has(ne))return M.get(ne);let De=k(X,_,$,G);return Z&&M.set(ne,De),De}}function S(N,_){let{originalText:C,[Symbol.for("comments")]:x,locStart:M,locEnd:X}=_,ee=M(N),$=X(N),Q=new Set;for(let G of x)M(G)>=ee&&X(G)<=$&&(G.printed=!0,Q.add(G));return{doc:C.slice(ee,$),printedComments:Q}}function k(N,_,C,x){let M=N.getValue(),{printer:X}=_,ee,$;if(X.hasPrettierIgnore&&X.hasPrettierIgnore(N))({doc:ee,printedComments:$}=S(M,_));else{if(M)try{ee=h.printSubtree(N,C,_,E)}catch(Q){if(globalThis.PRETTIER_DEBUG)throw Q}ee||(ee=X.print(N,_,C,x))}return(!X.willPrintOwnComments||!X.willPrintOwnComments(N,_))&&(ee=d(N,ee,_,$)),ee}A.exports=E}}),Lv=Fe({"src/main/range-util.js"(m,A){Ve();var f=To(),b=Lr(),D=x=>{let{parser:M}=x;return M==="json"||M==="json5"||M==="json-stringify"};function c(x,M){let X=[x.node,...x.parentNodes],ee=new Set([M.node,...M.parentNodes]);return X.find($=>k.has($.type)&&ee.has($))}function d(x){let M=x.length-1;for(;;){let X=x[M];if(X&&(X.type==="Program"||X.type==="File"))M--;else break}return x.slice(0,M+1)}function h(x,M,X){let{locStart:ee,locEnd:$}=X,Q=x.node,G=M.node;if(Q===G)return{startNode:Q,endNode:G};let ne=ee(x.node);for(let De of d(M.parentNodes))if(ee(De)>=ne)G=De;else break;let Z=$(M.node);for(let De of d(x.parentNodes)){if($(De)<=Z)Q=De;else break;if(Q===G)break}return{startNode:Q,endNode:G}}function E(x,M,X,ee){let $=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],Q=arguments.length>5?arguments[5]:void 0,{locStart:G,locEnd:ne}=X,Z=G(x),De=ne(x);if(!(M>De||M<Z||Q==="rangeEnd"&&M===Z||Q==="rangeStart"&&M===De)){for(let F of b.getSortedChildNodes(x,X)){let J=E(F,M,X,ee,[x,...$],Q);if(J)return J}if(!ee||ee(x,$[0]))return{node:x,parentNodes:$}}}function S(x,M){return M!=="DeclareExportDeclaration"&&x!=="TypeParameterDeclaration"&&(x==="Directive"||x==="TypeAlias"||x==="TSExportAssignment"||x.startsWith("Declare")||x.startsWith("TSDeclare")||x.endsWith("Statement")||x.endsWith("Declaration"))}var k=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),N=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function _(x,M,X){if(!M)return!1;switch(x.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return S(M.type,X&&X.type);case"json":case"json5":case"json-stringify":return k.has(M.type);case"graphql":return N.has(M.kind);case"vue":return M.tag!=="root"}return!1}function C(x,M,X){let{rangeStart:ee,rangeEnd:$,locStart:Q,locEnd:G}=M;f.ok($>ee);let ne=x.slice(ee,$).search(/\S/),Z=ne===-1;if(!Z)for(ee+=ne;$>ee&&!/\S/.test(x[$-1]);--$);let De=E(X,ee,M,(O,y)=>_(M,O,y),[],"rangeStart"),F=Z?De:E(X,$,M,O=>_(M,O),[],"rangeEnd");if(!De||!F)return{rangeStart:0,rangeEnd:0};let J,w;if(D(M)){let O=c(De,F);J=O,w=O}else({startNode:J,endNode:w}=h(De,F,M));return{rangeStart:Math.min(Q(J),Q(w)),rangeEnd:Math.max(G(J),G(w))}}A.exports={calculateRange:C,findNodeAtOffset:E}}}),Pv=Fe({"src/main/core.js"(m,A){Ve();var{diffArrays:f}=Fs(),{printer:{printDocToString:b},debug:{printDocToDebug:D}}=Sn(),{getAlignmentSize:c}=ye(),{guessEndOfLine:d,convertEndOfLineToChars:h,countEndOfLineChars:E,normalizeEndOfLine:S}=Xi(),k=m0().normalize,N=Nv(),_=Lr(),C=jf(),x=kv(),M=Lv(),X="\uFEFF",ee=Symbol("cursor");function $(w,O,y){let T=O.comments;return T&&(delete O.comments,_.attach(T,O,w,y)),y[Symbol.for("comments")]=T||[],y[Symbol.for("tokens")]=O.tokens||[],y.originalText=w,T}function Q(w,O){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:T,text:B}=C.parse(w,O);if(O.cursorOffset>=0){let re=M.findNodeAtOffset(T,O.cursorOffset,O);re&&re.node&&(O.cursorNode=re.node)}let U=$(B,T,O),q=x(T,O,y),z=b(q,O);if(_.ensureAllCommentsPrinted(U),y>0){let re=z.formatted.trim();z.cursorNodeStart!==void 0&&(z.cursorNodeStart-=z.formatted.indexOf(re)),z.formatted=re+h(O.endOfLine)}if(O.cursorOffset>=0){let re,ce,ge,fe,Ne;if(O.cursorNode&&z.cursorNodeText?(re=O.locStart(O.cursorNode),ce=B.slice(re,O.locEnd(O.cursorNode)),ge=O.cursorOffset-re,fe=z.cursorNodeStart,Ne=z.cursorNodeText):(re=0,ce=B,ge=O.cursorOffset,fe=0,Ne=z.formatted),ce===Ne)return{formatted:z.formatted,cursorOffset:fe+ge,comments:U};let ie=[...ce];ie.splice(ge,0,ee);let We=[...Ne],me=f(ie,We),oe=fe;for(let qe of me)if(qe.removed){if(qe.value.includes(ee))break}else oe+=qe.count;return{formatted:z.formatted,cursorOffset:oe,comments:U}}return{formatted:z.formatted,cursorOffset:-1,comments:U}}function G(w,O){let{ast:y,text:T}=C.parse(w,O),{rangeStart:B,rangeEnd:U}=M.calculateRange(T,O,y),q=T.slice(B,U),z=Math.min(B,T.lastIndexOf(`
187
- `,B)+1),re=T.slice(z,B).match(/^\s*/)[0],ce=c(re,O.tabWidth),ge=Q(q,Object.assign(Object.assign({},O),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:O.cursorOffset>B&&O.cursorOffset<=U?O.cursorOffset-B:-1,endOfLine:"lf"}),ce),fe=ge.formatted.trimEnd(),{cursorOffset:Ne}=O;Ne>U?Ne+=fe.length-q.length:ge.cursorOffset>=0&&(Ne=ge.cursorOffset+B);let ie=T.slice(0,B)+fe+T.slice(U);if(O.endOfLine!=="lf"){let We=h(O.endOfLine);Ne>=0&&We===`\r
188
- `&&(Ne+=E(ie.slice(0,Ne),`
189
- `)),ie=ie.replace(/\n/g,We)}return{formatted:ie,cursorOffset:Ne,comments:ge.comments}}function ne(w,O,y){return typeof O!="number"||Number.isNaN(O)||O<0||O>w.length?y:O}function Z(w,O){let{cursorOffset:y,rangeStart:T,rangeEnd:B}=O;return y=ne(w,y,-1),T=ne(w,T,0),B=ne(w,B,w.length),Object.assign(Object.assign({},O),{},{cursorOffset:y,rangeStart:T,rangeEnd:B})}function De(w,O){let{cursorOffset:y,rangeStart:T,rangeEnd:B,endOfLine:U}=Z(w,O),q=w.charAt(0)===X;if(q&&(w=w.slice(1),y--,T--,B--),U==="auto"&&(U=d(w)),w.includes("\r")){let z=re=>E(w.slice(0,Math.max(re,0)),`\r
190
- `);y-=z(y),T-=z(T),B-=z(B),w=S(w)}return{hasBOM:q,text:w,options:Z(w,Object.assign(Object.assign({},O),{},{cursorOffset:y,rangeStart:T,rangeEnd:B,endOfLine:U}))}}function F(w,O){let y=C.resolveParser(O);return!y.hasPragma||y.hasPragma(w)}function J(w,O){let{hasBOM:y,text:T,options:B}=De(w,k(O));if(B.rangeStart>=B.rangeEnd&&T!==""||B.requirePragma&&!F(T,B))return{formatted:w,cursorOffset:O.cursorOffset,comments:[]};let U;return B.rangeStart>0||B.rangeEnd<T.length?U=G(T,B):(!B.requirePragma&&B.insertPragma&&B.printer.insertPragma&&!F(T,B)&&(T=B.printer.insertPragma(T)),U=Q(T,B)),y&&(U.formatted=X+U.formatted,U.cursorOffset>=0&&U.cursorOffset++),U}A.exports={formatWithCursor:J,parse(w,O,y){let{text:T,options:B}=De(w,k(O)),U=C.parse(T,B);return y&&(U.ast=N(U.ast,B)),U},formatAST(w,O){O=k(O);let y=x(w,O);return b(y,O)},formatDoc(w,O){return J(D(w),Object.assign(Object.assign({},O),{},{parser:"__js_expression"})).formatted},printToDoc(w,O){O=k(O);let{ast:y,text:T}=C.parse(w,O);return $(T,y,O),x(y,O)},printDocToString(w,O){return b(w,k(O))}}}}),Bv=Fe({"src/common/util-shared.js"(m,A){Ve();var{getMaxContinuousCount:f,getStringWidth:b,getAlignmentSize:D,getIndentSize:c,skip:d,skipWhitespace:h,skipSpaces:E,skipNewline:S,skipToLineEnd:k,skipEverythingButNewLine:N,skipInlineComment:_,skipTrailingComment:C,hasNewline:x,hasNewlineInRange:M,hasSpaces:X,isNextLineEmpty:ee,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:Q,getNextNonSpaceNonCommentCharacterIndex:G,makeString:ne,addLeadingComment:Z,addDanglingComment:De,addTrailingComment:F}=ye();A.exports={getMaxContinuousCount:f,getStringWidth:b,getAlignmentSize:D,getIndentSize:c,skip:d,skipWhitespace:h,skipSpaces:E,skipNewline:S,skipToLineEnd:k,skipEverythingButNewLine:N,skipInlineComment:_,skipTrailingComment:C,hasNewline:x,hasNewlineInRange:M,hasSpaces:X,isNextLineEmpty:ee,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:Q,getNextNonSpaceNonCommentCharacterIndex:G,makeString:ne,addLeadingComment:Z,addDanglingComment:De,addTrailingComment:F}}}),Zs=Fe({"src/utils/create-language.js"(m,A){Ve(),A.exports=function(f,b){let{languageId:D}=f,c=St(f,rt);return Object.assign(Object.assign({linguistLanguageId:D},c),b(f))}}}),Iv=Fe({"node_modules/esutils/lib/ast.js"(m,A){Ve(),function(){function f(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 b(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 c(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 S;if(E.type!=="IfStatement"||E.alternate==null)return!1;S=E.consequent;do{if(S.type==="IfStatement"&&S.alternate==null)return!0;S=d(S)}while(S);return!1}A.exports={isExpression:f,isStatement:D,isIterationStatement:b,isSourceElement:c,isProblematicIfStatement:h,trailingStatement:d}}()}}),g0=Fe({"node_modules/esutils/lib/code.js"(m,A){Ve(),function(){var f,b,D,c,d,h;b={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]/},f={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 S($){return 48<=$&&$<=57||97<=$&&$<=102||65<=$&&$<=70}function k($){return $>=48&&$<=55}D=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function N($){return $===32||$===9||$===11||$===12||$===160||$>=5760&&D.indexOf($)>=0}function _($){return $===10||$===13||$===8232||$===8233}function C($){if($<=65535)return String.fromCharCode($);var Q=String.fromCharCode(Math.floor(($-65536)/1024)+55296),G=String.fromCharCode(($-65536)%1024+56320);return Q+G}for(c=new Array(128),h=0;h<128;++h)c[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 x($){return $<128?c[$]:b.NonAsciiIdentifierStart.test(C($))}function M($){return $<128?d[$]:b.NonAsciiIdentifierPart.test(C($))}function X($){return $<128?c[$]:f.NonAsciiIdentifierStart.test(C($))}function ee($){return $<128?d[$]:f.NonAsciiIdentifierPart.test(C($))}A.exports={isDecimalDigit:E,isHexDigit:S,isOctalDigit:k,isWhiteSpace:N,isLineTerminator:_,isIdentifierStartES5:x,isIdentifierPartES5:M,isIdentifierStartES6:X,isIdentifierPartES6:ee}}()}}),Mv=Fe({"node_modules/esutils/lib/keyword.js"(m,A){Ve(),function(){var f=g0();function b(x){switch(x){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function D(x,M){return!M&&x==="yield"?!1:c(x,M)}function c(x,M){if(M&&b(x))return!0;switch(x.length){case 2:return x==="if"||x==="in"||x==="do";case 3:return x==="var"||x==="for"||x==="new"||x==="try";case 4:return x==="this"||x==="else"||x==="case"||x==="void"||x==="with"||x==="enum";case 5:return x==="while"||x==="break"||x==="catch"||x==="throw"||x==="const"||x==="yield"||x==="class"||x==="super";case 6:return x==="return"||x==="typeof"||x==="delete"||x==="switch"||x==="export"||x==="import";case 7:return x==="default"||x==="finally"||x==="extends";case 8:return x==="function"||x==="continue"||x==="debugger";case 10:return x==="instanceof";default:return!1}}function d(x,M){return x==="null"||x==="true"||x==="false"||D(x,M)}function h(x,M){return x==="null"||x==="true"||x==="false"||c(x,M)}function E(x){return x==="eval"||x==="arguments"}function S(x){var M,X,ee;if(x.length===0||(ee=x.charCodeAt(0),!f.isIdentifierStartES5(ee)))return!1;for(M=1,X=x.length;M<X;++M)if(ee=x.charCodeAt(M),!f.isIdentifierPartES5(ee))return!1;return!0}function k(x,M){return(x-55296)*1024+(M-56320)+65536}function N(x){var M,X,ee,$,Q;if(x.length===0)return!1;for(Q=f.isIdentifierStartES6,M=0,X=x.length;M<X;++M){if(ee=x.charCodeAt(M),55296<=ee&&ee<=56319){if(++M,M>=X||($=x.charCodeAt(M),!(56320<=$&&$<=57343)))return!1;ee=k(ee,$)}if(!Q(ee))return!1;Q=f.isIdentifierPartES6}return!0}function _(x,M){return S(x)&&!d(x,M)}function C(x,M){return N(x)&&!h(x,M)}A.exports={isKeywordES5:D,isKeywordES6:c,isReservedWordES5:d,isReservedWordES6:h,isRestrictedWord:E,isIdentifierNameES5:S,isIdentifierNameES6:N,isIdentifierES5:_,isIdentifierES6:C}}()}}),Ov=Fe({"node_modules/esutils/lib/utils.js"(m){Ve(),function(){m.ast=Iv(),m.code=g0(),m.keyword=Mv()}()}}),ea=Fe({"src/language-js/utils/is-block-comment.js"(m,A){Ve();var f=new Set(["Block","CommentBlock","MultiLine"]),b=D=>f.has(D?.type);A.exports=b}}),jv=Fe({"src/language-js/utils/is-node-matches.js"(m,A){Ve();function f(D,c){let d=c.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 b(D,c){return c.some(d=>f(D,d))}A.exports=b}}),lr=Fe({"src/language-js/utils/index.js"(m,A){Ve();var f=Ov().keyword.isIdentifierNameES5,{getLast:b,hasNewline:D,skipWhitespace:c,isNonEmptyArray:d,isNextLineEmptyAfterIndex:h,getStringWidth:E}=ye(),{locStart:S,locEnd:k,hasSameLocStart:N}=Zr(),_=ea(),C=jv(),x="(?:(?=.)\\s)",M=new RegExp(`^${x}*:`),X=new RegExp(`^${x}*::`);function ee(ae){var vt,hn;return((vt=ae.extra)===null||vt===void 0?void 0:vt.parenthesized)&&_((hn=ae.trailingComments)===null||hn===void 0?void 0:hn[0])&&M.test(ae.trailingComments[0].value)}function $(ae){let vt=ae?.[0];return _(vt)&&X.test(vt.value)}function Q(ae,vt){if(!ae||typeof ae!="object")return!1;if(Array.isArray(ae))return ae.some(qn=>Q(qn,vt));let hn=vt(ae);return typeof hn=="boolean"?hn:Object.values(ae).some(qn=>Q(qn,vt))}function G(ae){return ae.type==="AssignmentExpression"||ae.type==="BinaryExpression"||ae.type==="LogicalExpression"||ae.type==="NGPipeExpression"||ae.type==="ConditionalExpression"||ft(ae)||pt(ae)||ae.type==="SequenceExpression"||ae.type==="TaggedTemplateExpression"||ae.type==="BindExpression"||ae.type==="UpdateExpression"&&!ae.prefix||bi(ae)||ae.type==="TSNonNullExpression"}function ne(ae){var vt,hn,qn,Wn,hi,Ar;return ae.expressions?ae.expressions[0]:(vt=(hn=(qn=(Wn=(hi=(Ar=ae.left)!==null&&Ar!==void 0?Ar:ae.test)!==null&&hi!==void 0?hi:ae.callee)!==null&&Wn!==void 0?Wn:ae.object)!==null&&qn!==void 0?qn:ae.tag)!==null&&hn!==void 0?hn:ae.argument)!==null&&vt!==void 0?vt:ae.expression}function Z(ae,vt){if(vt.expressions)return["expressions",0];if(vt.left)return["left"];if(vt.test)return["test"];if(vt.object)return["object"];if(vt.callee)return["callee"];if(vt.tag)return["tag"];if(vt.argument)return["argument"];if(vt.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function De(ae){return ae=new Set(ae),vt=>ae.has(vt?.type)}var F=De(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),J=De(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function w(ae){let vt=ae.getParentNode();return ae.getName()==="declaration"&&J(vt)?vt:null}var O=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 T(ae){return ae.type==="UnaryExpression"&&(ae.operator==="+"||ae.operator==="-")&&y(ae.argument)}function B(ae){return ae.type==="StringLiteral"||ae.type==="Literal"&&typeof ae.value=="string"}var U=De(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),q=De(["FunctionExpression","ArrowFunctionExpression"]);function z(ae){return ae.type==="FunctionExpression"||ae.type==="ArrowFunctionExpression"&&ae.body.type==="BlockStatement"}function re(ae){return ft(ae)&&ae.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(ae.callee.name)}var ce=De(["JSXElement","JSXFragment"]);function ge(ae,vt){if(ae.parentParser!=="markdown"&&ae.parentParser!=="mdx")return!1;let hn=vt.getNode();if(!hn.expression||!ce(hn.expression))return!1;let qn=vt.getParentNode();return qn.type==="Program"&&qn.body.length===1}function fe(ae){return ae.kind==="get"||ae.kind==="set"}function Ne(ae){return fe(ae)||N(ae,ae.value)}function ie(ae){return(ae.type==="ObjectTypeProperty"||ae.type==="ObjectTypeInternalSlot")&&ae.value.type==="FunctionTypeAnnotation"&&!ae.static&&!Ne(ae)}function We(ae){return(ae.type==="TypeAnnotation"||ae.type==="TSTypeAnnotation")&&ae.typeAnnotation.type==="FunctionTypeAnnotation"&&!ae.static&&!N(ae,ae.typeAnnotation)}var me=De(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function oe(ae){return pt(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 tt(ae){return ae?!!((ae.type==="GenericTypeAnnotation"||ae.type==="TSTypeReference")&&!ae.typeParameters||qe.has(ae.type)):!1}function Ye(ae){let vt=/^(?:before|after)(?:Each|All)$/;return ae.callee.type==="Identifier"&&vt.test(ae.callee.name)&&ae.arguments.length===1}var ht=["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,ht)}function Me(ae,vt){if(ae.type!=="CallExpression")return!1;if(ae.arguments.length===1){if(re(ae)&&vt&&Me(vt))return q(ae.arguments[0]);if(Ye(ae))return re(ae.arguments[0])}else if((ae.arguments.length===2||ae.arguments.length===3)&&(ae.arguments[0].type==="TemplateLiteral"||B(ae.arguments[0]))&&be(ae.callee))return ae.arguments[2]&&!y(ae.arguments[2])?!1:(ae.arguments.length===2?q(ae.arguments[1]):z(ae.arguments[1])&&It(ae.arguments[1]).length<=1)||re(ae.arguments[1]);return!1}var ft=De(["CallExpression","OptionalCallExpression"]),pt=De(["MemberExpression","OptionalMemberExpression"]);function Wt(ae){let vt="expressions";ae.type==="TSTemplateLiteralType"&&(vt="types");let hn=ae[vt];return hn.length===0?!1:hn.every(qn=>{if(An(qn))return!1;if(qn.type==="Identifier"||qn.type==="ThisExpression")return!0;if(pt(qn)){let Wn=qn;for(;pt(Wn);)if(Wn.property.type!=="Identifier"&&Wn.property.type!=="Literal"&&Wn.property.type!=="StringLiteral"&&Wn.property.type!=="NumericLiteral"||(Wn=Wn.object,An(Wn)))return!1;return Wn.type==="Identifier"||Wn.type==="ThisExpression"}return!1})}function Ue(ae,vt){return ae==="+"||ae==="-"?ae+vt:vt}function Se(ae,vt){let hn=S(vt),qn=c(ae,k(vt));return qn!==!1&&ae.slice(hn,hn+2)==="/*"&&ae.slice(qn,qn+2)==="*/"}function He(ae,vt){return ce(vt)?_n(vt):An(vt,nn.Leading,hn=>D(ae,k(hn)))}function Xe(ae,vt){return vt.parser!=="json"&&B(ae.key)&&at(ae.key).slice(1,-1)===ae.key.value&&(f(ae.key.value)&&!(vt.parser==="babel-ts"&&ae.type==="ClassProperty"||vt.parser==="typescript"&&ae.type==="PropertyDefinition")||bt(ae.key.value)&&String(Number(ae.key.value))===ae.key.value&&(vt.parser==="babel"||vt.parser==="acorn"||vt.parser==="espree"||vt.parser==="meriyah"||vt.parser==="__babel_estree"))}function bt(ae){return/^(?:\d+|\d+\.\d+)$/.test(ae)}function Tt(ae,vt){let hn=/^[fx]?(?:describe|it|test)$/;return vt.type==="TaggedTemplateExpression"&&vt.quasi===ae&&vt.tag.type==="MemberExpression"&&vt.tag.property.type==="Identifier"&&vt.tag.property.name==="each"&&(vt.tag.object.type==="Identifier"&&hn.test(vt.tag.object.name)||vt.tag.object.type==="MemberExpression"&&vt.tag.object.property.type==="Identifier"&&(vt.tag.object.property.name==="only"||vt.tag.object.property.name==="skip")&&vt.tag.object.object.type==="Identifier"&&hn.test(vt.tag.object.object.name))}function Bt(ae){return ae.quasis.some(vt=>vt.value.raw.includes(`
191
- `))}function on(ae,vt){return(ae.type==="TemplateLiteral"&&Bt(ae)||ae.type==="TaggedTemplateExpression"&&Bt(ae.quasi))&&!D(vt,S(ae),{backwards:!0})}function Ln(ae){if(!An(ae))return!1;let vt=b(ut(ae,nn.Dangling));return vt&&!_(vt)}function Tn(ae){if(ae.length<=1)return!1;let vt=0;for(let hn of ae)if(q(hn)){if(vt+=1,vt>1)return!0}else if(ft(hn)){for(let qn of hn.arguments)if(q(qn))return!0}return!1}function an(ae){let vt=ae.getValue(),hn=ae.getParentNode();return ft(vt)&&ft(hn)&&hn.callee===vt&&vt.arguments.length>hn.arguments.length&&hn.arguments.length>0}function gn(ae,vt){if(vt>=2)return!1;let hn=Ar=>gn(Ar,vt+1),qn=ae.type==="Literal"&&"regex"in ae&&ae.regex.pattern||ae.type==="RegExpLiteral"&&ae.pattern;if(qn&&E(qn)>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(Ar=>!Ar.value.raw.includes(`
192
- `))&&ae.expressions.every(hn);if(ae.type==="ObjectExpression")return ae.properties.every(Ar=>!Ar.computed&&(Ar.shorthand||Ar.value&&hn(Ar.value)));if(ae.type==="ArrayExpression")return ae.elements.every(Ar=>Ar===null||hn(Ar));if(Gr(ae))return(ae.type==="ImportExpression"||gn(ae.callee,vt))&&gr(ae).every(hn);if(pt(ae))return gn(ae.object,vt)&&gn(ae.property,vt);let Wn={"!":!0,"-":!0,"+":!0,"~":!0};if(ae.type==="UnaryExpression"&&Wn[ae.operator])return gn(ae.argument,vt);let hi={"++":!0,"--":!0};return ae.type==="UpdateExpression"&&hi[ae.operator]?gn(ae.argument,vt):ae.type==="TSNonNullExpression"?gn(ae.expression,vt):!1}function at(ae){var vt,hn;return(vt=(hn=ae.extra)===null||hn===void 0?void 0:hn.raw)!==null&&vt!==void 0?vt:ae.raw}function Ae(ae){return ae}function dt(ae){return ae.filepath&&/\.tsx$/i.test(ae.filepath)}function je(ae){let vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return ae.trailingComma==="es5"&&vt==="es5"||ae.trailingComma==="all"&&(vt==="all"||vt==="es5")}function lt(ae,vt){switch(ae.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return lt(ae.left,vt);case"MemberExpression":case"OptionalMemberExpression":return lt(ae.object,vt);case"TaggedTemplateExpression":return ae.tag.type==="FunctionExpression"?!1:lt(ae.tag,vt);case"CallExpression":case"OptionalCallExpression":return ae.callee.type==="FunctionExpression"?!1:lt(ae.callee,vt);case"ConditionalExpression":return lt(ae.test,vt);case"UpdateExpression":return!ae.prefix&&lt(ae.argument,vt);case"BindExpression":return ae.object&&lt(ae.object,vt);case"SequenceExpression":return lt(ae.expressions[0],vt);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return lt(ae.expression,vt);default:return vt(ae)}}var Qt={"==":!0,"!=":!0,"===":!0,"!==":!0},Vt={"*":!0,"/":!0,"%":!0},gt={">>":!0,">>>":!0,"<<":!0};function V(ae,vt){return!(nt(vt)!==nt(ae)||ae==="**"||Qt[ae]&&Qt[vt]||vt==="%"&&Vt[ae]||ae==="%"&&Vt[vt]||vt!==ae&&Vt[vt]&&Vt[ae]||gt[ae]&&gt[vt])}var Te=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((ae,vt)=>ae.map(hn=>[hn,vt])));function nt(ae){return Te.get(ae)}function kt(ae){return!!gt[ae]||ae==="|"||ae==="^"||ae==="&"}function $t(ae){var vt;if(ae.rest)return!0;let hn=It(ae);return((vt=b(hn))===null||vt===void 0?void 0:vt.type)==="RestElement"}var sn=new WeakMap;function It(ae){if(sn.has(ae))return sn.get(ae);let vt=[];return ae.this&&vt.push(ae.this),Array.isArray(ae.parameters)?vt.push(...ae.parameters):Array.isArray(ae.params)&&vt.push(...ae.params),ae.rest&&vt.push(ae.rest),sn.set(ae,vt),vt}function br(ae,vt){let hn=ae.getValue(),qn=0,Wn=hi=>vt(hi,qn++);hn.this&&ae.call(Wn,"this"),Array.isArray(hn.parameters)?ae.each(Wn,"parameters"):Array.isArray(hn.params)&&ae.each(Wn,"params"),hn.rest&&ae.call(Wn,"rest")}var tn=new WeakMap;function gr(ae){if(tn.has(ae))return tn.get(ae);let vt=ae.arguments;return ae.type==="ImportExpression"&&(vt=[ae.source],ae.attributes&&vt.push(ae.attributes)),tn.set(ae,vt),vt}function Zt(ae,vt){let hn=ae.getValue();hn.type==="ImportExpression"?(ae.call(qn=>vt(qn,0),"source"),hn.attributes&&ae.call(qn=>vt(qn,1),"attributes")):ae.each(vt,"arguments")}function vn(ae){return ae.value.trim()==="prettier-ignore"&&!ae.unignore}function _n(ae){return ae&&(ae.prettierIgnore||An(ae,nn.PrettierIgnore))}function rr(ae){let vt=ae.getValue();return _n(vt)}var nn={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Fn=(ae,vt)=>{if(typeof ae=="function"&&(vt=ae,ae=0),ae||vt)return(hn,qn,Wn)=>!(ae&nn.Leading&&!hn.leading||ae&nn.Trailing&&!hn.trailing||ae&nn.Dangling&&(hn.leading||hn.trailing)||ae&nn.Block&&!_(hn)||ae&nn.Line&&!F(hn)||ae&nn.First&&qn!==0||ae&nn.Last&&qn!==Wn.length-1||ae&nn.PrettierIgnore&&!vn(hn)||vt&&!vt(hn))};function An(ae,vt,hn){if(!d(ae?.comments))return!1;let qn=Fn(vt,hn);return qn?ae.comments.some(qn):!0}function ut(ae,vt,hn){if(!Array.isArray(ae?.comments))return[];let qn=Fn(vt,hn);return qn?ae.comments.filter(qn):ae.comments}var Di=(ae,vt)=>{let{originalText:hn}=vt;return h(hn,k(ae))};function Gr(ae){return ft(ae)||ae.type==="NewExpression"||ae.type==="ImportExpression"}function jn(ae){return ae&&(ae.type==="ObjectProperty"||ae.type==="Property"&&!ae.method&&ae.kind==="init")}function Rn(ae){return!!ae.__isUsingHackPipeline}var ur=Symbol("ifWithoutBlockAndSameLineComment");function bi(ae){return ae.type==="TSAsExpression"||ae.type==="TSSatisfiesExpression"}A.exports={getFunctionParameters:It,iterateFunctionParametersPath:br,getCallArguments:gr,iterateCallArgumentsPath:Zt,hasRestParameter:$t,getLeftSide:ne,getLeftSidePathName:Z,getParentExportDeclaration:w,getTypeScriptMappedTypeModifier:Ue,hasFlowAnnotationComment:$,hasFlowShorthandAnnotationComment:ee,hasLeadingOwnLineComment:He,hasNakedLeftSide:G,hasNode:Q,hasIgnoreComment:rr,hasNodeIgnoreComment:_n,identity:Ae,isBinaryish:me,isCallLikeExpression:Gr,isEnabledHackPipeline:Rn,isLineComment:F,isPrettierIgnoreComment:vn,isCallExpression:ft,isMemberExpression:pt,isExportDeclaration:J,isFlowAnnotationComment:Se,isFunctionCompositionArgs:Tn,isFunctionNotation:Ne,isFunctionOrArrowExpression:q,isGetterOrSetter:fe,isJestEachTemplateLiteral:Tt,isJsxNode:ce,isLiteral:O,isLongCurriedCallExpression:an,isSimpleCallArgument:gn,isMemberish:oe,isNumericLiteral:y,isSignedNumericLiteral:T,isObjectProperty:jn,isObjectType:U,isObjectTypePropertyAFunction:ie,isSimpleType:tt,isSimpleNumber:bt,isSimpleTemplateLiteral:Wt,isStringLiteral:B,isStringPropSafeToUnquote:Xe,isTemplateOnItsOwnLine:on,isTestCall:Me,isTheOnlyJsxElementInMarkdown:ge,isTSXFile:dt,isTypeAnnotationAFunction:We,isNextLineEmpty:Di,needsHardlineAfterDanglingComment:Ln,rawText:at,shouldPrintComma:je,isBitwiseOperator:kt,shouldFlatten:V,startsWithNoLookaheadToken:lt,getPrecedence:nt,hasComment:An,getComments:ut,CommentCheckFlags:nn,markerForIfWithoutBlockAndSameLineComment:ur,isTSTypeExpression:bi}}}),Ja=Fe({"src/language-js/print/template-literal.js"(m,A){Ve();var f=Mr(),{getStringWidth:b,getIndentSize:D}=ye(),{builders:{join:c,hardline:d,softline:h,group:E,indent:S,align:k,lineSuffixBoundary:N,addAlignmentToDoc:_},printer:{printDocToString:C},utils:{mapDoc:x}}=Sn(),{isBinaryish:M,isJestEachTemplateLiteral:X,isSimpleTemplateLiteral:ee,hasComment:$,isMemberExpression:Q,isTSTypeExpression:G}=lr();function ne(O,y,T){let B=O.getValue();if(B.type==="TemplateLiteral"&&X(B,O.getParentNode())){let ce=Z(O,T,y);if(ce)return ce}let U="expressions";B.type==="TSTemplateLiteralType"&&(U="types");let q=[],z=O.map(y,U),re=ee(B);return re&&(z=z.map(ce=>C(ce,Object.assign(Object.assign({},T),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),q.push(N,"`"),O.each(ce=>{let ge=ce.getName();if(q.push(y()),ge<z.length){let{tabWidth:fe}=T,Ne=ce.getValue(),ie=D(Ne.value.raw,fe),We=z[ge];if(!re){let oe=B[U][ge];($(oe)||Q(oe)||oe.type==="ConditionalExpression"||oe.type==="SequenceExpression"||G(oe)||M(oe))&&(We=[S([h,We]),h])}let me=ie===0&&Ne.value.raw.endsWith(`
193
- `)?k(Number.NEGATIVE_INFINITY,We):_(We,ie,fe);q.push(E(["${",me,N,"}"]))}},"quasis"),q.push("`"),q}function Z(O,y,T){let B=O.getNode(),U=B.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(U.length>1||U.some(q=>q.length>0)){y.__inJestEach=!0;let q=O.map(T,"expressions");y.__inJestEach=!1;let z=[],re=q.map(ie=>"${"+C(ie,Object.assign(Object.assign({},y),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),ce=[{hasLineBreak:!1,cells:[]}];for(let ie=1;ie<B.quasis.length;ie++){let We=f(ce),me=re[ie-1];We.cells.push(me),me.includes(`
194
- `)&&(We.hasLineBreak=!0),B.quasis[ie].value.raw.includes(`
195
- `)&&ce.push({hasLineBreak:!1,cells:[]})}let ge=Math.max(U.length,...ce.map(ie=>ie.cells.length)),fe=Array.from({length:ge}).fill(0),Ne=[{cells:U},...ce.filter(ie=>ie.cells.length>0)];for(let{cells:ie}of Ne.filter(We=>!We.hasLineBreak))for(let[We,me]of ie.entries())fe[We]=Math.max(fe[We],b(me));return z.push(N,"`",S([d,c(d,Ne.map(ie=>c(" | ",ie.cells.map((We,me)=>ie.hasLineBreak?We:We+" ".repeat(fe[me]-b(We))))))]),d,"`"),z}}function De(O,y){let T=O.getValue(),B=y();return $(T)&&(B=E([S([h,B]),h])),["${",B,N,"}"]}function F(O,y){return O.map(T=>De(T,y),"expressions")}function J(O,y){return x(O,T=>typeof T=="string"?y?T.replace(/(\\*)`/g,"$1$1\\`"):w(T):T)}function w(O){return O.replace(/([\\`]|\${)/g,"\\$1")}A.exports={printTemplateLiteral:ne,printTemplateExpressions:F,escapeTemplateCharacters:J,uncookTemplateElementValue:w}}}),$v=Fe({"src/language-js/embed/markdown.js"(m,A){Ve();var{builders:{indent:f,softline:b,literalline:D,dedentToRoot:c}}=Sn(),{escapeTemplateCharacters:d}=Ja();function h(S,k,N){let _=S.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(X,ee)=>"\\".repeat(ee.length/2)+"`"),C=E(_),x=C!=="";x&&(_=_.replace(new RegExp(`^${C}`,"gm"),""));let M=d(N(_,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",x?f([b,M]):[D,c(M)],b,"`"]}function E(S){let k=S.match(/^([^\S\n]*)\S/m);return k===null?"":k[1]}A.exports=h}}),Rv=Fe({"src/language-js/embed/css.js"(m,A){Ve();var{isNonEmptyArray:f}=ye(),{builders:{indent:b,hardline:D,softline:c},utils:{mapDoc:d,replaceEndOfLine:h,cleanDoc:E}}=Sn(),{printTemplateExpressions:S}=Ja();function k(C,x,M){let X=C.getValue(),ee=X.quasis.map(Z=>Z.value.raw),$=0,Q=ee.reduce((Z,De,F)=>F===0?De:Z+"@prettier-placeholder-"+$+++"-id"+De,""),G=M(Q,{parser:"scss"},{stripTrailingHardline:!0}),ne=S(C,x);return N(G,X,ne)}function N(C,x,M){if(x.quasis.length===1&&!x.quasis[0].value.raw.trim())return"``";let X=_(C,M);if(!X)throw new Error("Couldn't insert all the expressions");return["`",b([D,X]),c,"`"]}function _(C,x){if(!f(x))return C;let M=0,X=d(E(C),ee=>typeof ee!="string"||!ee.includes("@prettier-placeholder")?ee:ee.split(/@prettier-placeholder-(\d+)-id/).map(($,Q)=>Q%2===0?h($):(M++,x[$])));return x.length===M?X:null}A.exports=k}}),Vv=Fe({"src/language-js/embed/graphql.js"(m,A){Ve();var{builders:{indent:f,join:b,hardline:D}}=Sn(),{escapeTemplateCharacters:c,printTemplateExpressions:d}=Ja();function h(S,k,N){let _=S.getValue(),C=_.quasis.length;if(C===1&&_.quasis[0].value.raw.trim()==="")return"``";let x=d(S,k),M=[];for(let X=0;X<C;X++){let ee=_.quasis[X],$=X===0,Q=X===C-1,G=ee.value.cooked,ne=G.split(`
196
- `),Z=ne.length,De=x[X],F=Z>2&&ne[0].trim()===""&&ne[1].trim()==="",J=Z>2&&ne[Z-1].trim()===""&&ne[Z-2].trim()==="",w=ne.every(y=>/^\s*(?:#[^\n\r]*)?$/.test(y));if(!Q&&/#[^\n\r]*$/.test(ne[Z-1]))return null;let O=null;w?O=E(ne):O=N(G,{parser:"graphql"},{stripTrailingHardline:!0}),O?(O=c(O,!1),!$&&F&&M.push(""),M.push(O),!Q&&J&&M.push("")):!$&&!Q&&F&&M.push(""),De&&M.push(De)}return["`",f([D,b(D,M)]),D,"`"]}function E(S){let k=[],N=!1,_=S.map(C=>C.trim());for(let[C,x]of _.entries())x!==""&&(_[C-1]===""&&N?k.push([D,x]):k.push(x),N=!0);return k.length===0?null:b(D,k)}A.exports=h}}),Uv=Fe({"src/language-js/embed/html.js"(m,A){Ve();var{builders:{indent:f,line:b,hardline:D,group:c},utils:{mapDoc:d}}=Sn(),{printTemplateExpressions:h,uncookTemplateElementValue:E}=Ja(),S=0;function k(N,_,C,x,M){let{parser:X}=M,ee=N.getValue(),$=S;S=S+1>>>0;let Q=T=>`PRETTIER_HTML_PLACEHOLDER_${T}_${$}_IN_JS`,G=ee.quasis.map((T,B,U)=>B===U.length-1?T.value.cooked:T.value.cooked+Q(B)).join(""),ne=h(N,_);if(ne.length===0&&G.trim().length===0)return"``";let Z=new RegExp(Q("(\\d+)"),"g"),De=0,F=C(G,{parser:X,__onHtmlRoot(T){De=T.children.length}},{stripTrailingHardline:!0}),J=d(F,T=>{if(typeof T!="string")return T;let B=[],U=T.split(Z);for(let q=0;q<U.length;q++){let z=U[q];if(q%2===0){z&&(z=E(z),x.__embeddedInHtml&&(z=z.replace(/<\/(script)\b/gi,"<\\/$1")),B.push(z));continue}let re=Number(z);B.push(ne[re])}return B}),w=/^\s/.test(G)?" ":"",O=/\s$/.test(G)?" ":"",y=x.htmlWhitespaceSensitivity==="ignore"?D:w&&O?b:null;return c(y?["`",f([y,c(J)]),y,"`"]:["`",w,De>1?f(c(J)):c(J),O,"`"])}A.exports=k}}),qv=Fe({"src/language-js/embed.js"(m,A){Ve();var{hasComment:f,CommentCheckFlags:b,isObjectProperty:D}=lr(),c=$v(),d=Rv(),h=Vv(),E=Uv();function S(F){if(_(F)||X(F)||ee(F)||C(F))return"css";if(G(F))return"graphql";if(Z(F))return"html";if(x(F))return"angular";if(N(F))return"markdown"}function k(F,J,w,O){let y=F.getValue();if(y.type!=="TemplateLiteral"||De(y))return;let T=S(F);if(T){if(T==="markdown")return c(F,J,w);if(T==="css")return d(F,J,w);if(T==="graphql")return h(F,J,w);if(T==="html"||T==="angular")return E(F,J,w,O,{parser:T})}}function N(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 _(F){let J=F.getValue(),w=F.getParentNode(),O=F.getParentNode(1);return O&&J.quasis&&w.type==="JSXExpressionContainer"&&O.type==="JSXElement"&&O.openingElement.name.name==="style"&&O.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",...M)}function x(F){return F.match(J=>J.type==="TemplateLiteral",(J,w)=>D(J)&&J.key.type==="Identifier"&&J.key.name==="template"&&w==="value",...M)}var M=[(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)||Q(w);case"CallExpression":return $(w.callee)||w.callee.type==="MemberExpression"&&(w.callee.object.type==="MemberExpression"&&($(w.callee.object.object)||Q(w.callee.object))||w.callee.object.type==="CallExpression"&&$(w.callee.object.callee));case"Identifier":return w.name==="css";default:return!1}}function ee(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 Q(F){return/^[A-Z]/.test(F.object.name)&&F.property.name==="extend"}function G(F){let J=F.getValue(),w=F.getParentNode();return ne(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 ne(F,J){return f(F,b.Block|b.Leading,w=>{let{value:O}=w;return O===` ${J} `})}function Z(F){return ne(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:O}}=w;return O===null})}A.exports=k}}),Wv=Fe({"src/language-js/clean.js"(m,A){Ve();var f=ea(),b=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 c(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(N=>N.name.name==="jsx"))for(let{type:N,expression:_}of h.children)N==="JSXExpressionContainer"&&_.type==="TemplateLiteral"&&D(_);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 S=d.expression||d.callee;if(d.type==="Decorator"&&S.type==="CallExpression"&&S.callee.name==="Component"&&S.arguments.length===1){let N=d.expression.arguments[0].properties;for(let[_,C]of h.expression.arguments[0].properties.entries())switch(N[_].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 k;(!((k=d.leadingComments)===null||k===void 0)&&k.some(N=>f(N)&&["GraphQL","HTML"].some(_=>N.value===` ${_} `))||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]}c.ignoredProperties=b,A.exports=c}}),y0={};Cn(y0,{EOL:()=>Vf,arch:()=>Gv,cpus:()=>S0,default:()=>T0,endianness:()=>D0,freemem:()=>A0,getNetworkInterfaces:()=>N0,hostname:()=>b0,loadavg:()=>v0,networkInterfaces:()=>F0,platform:()=>Jv,release:()=>w0,tmpDir:()=>$f,tmpdir:()=>Rf,totalmem:()=>C0,type:()=>x0,uptime:()=>E0});function D0(){if(typeof sl>"u"){var m=new ArrayBuffer(2),A=new Uint8Array(m),f=new Uint16Array(m);if(A[0]=1,A[1]=2,f[0]===258)sl="BE";else if(f[0]===513)sl="LE";else throw new Error("unable to figure out endianess")}return sl}function b0(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function v0(){return[]}function E0(){return 0}function A0(){return Number.MAX_VALUE}function C0(){return Number.MAX_VALUE}function S0(){return[]}function x0(){return"Browser"}function w0(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function F0(){}function N0(){}function Gv(){return"javascript"}function Jv(){return"browser"}function $f(){return"/tmp"}var sl,Rf,Vf,T0,Yv=cn({"node-modules-polyfills:os"(){Ve(),Rf=$f,Vf=`
197
- `,T0={EOL:Vf,tmpdir:Rf,tmpDir:$f,networkInterfaces:F0,getNetworkInterfaces:N0,release:w0,type:x0,cpus:S0,totalmem:C0,freemem:A0,uptime:E0,loadavg:v0,hostname:b0,endianness:D0}}}),Hv=Fe({"node-modules-polyfills-commonjs:os"(m,A){Ve();var f=(Yv(),Gn(y0));if(f&&f.default){A.exports=f.default;for(let b in f)A.exports[b]=f[b]}else f&&(A.exports=f)}}),zv=Fe({"node_modules/detect-newline/index.js"(m,A){Ve();var f=b=>{if(typeof b!="string")throw new TypeError("Expected a string");let D=b.match(/(?:\r?\n)/g)||[];if(D.length===0)return;let c=D.filter(h=>h===`\r
198
- `).length,d=D.length-c;return c>d?`\r
199
- `:`
200
- `};A.exports=f,A.exports.graceful=b=>typeof b=="string"&&f(b)||`
201
- `}}),Xv=Fe({"node_modules/jest-docblock/build/index.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=C,m.parse=M,m.parseWithComments=X,m.print=ee,m.strip=x;function A(){let Q=Hv();return A=function(){return Q},Q}function f(){let Q=b(zv());return f=function(){return Q},Q}function b(Q){return Q&&Q.__esModule?Q:{default:Q}}var D=/\*\/$/,c=/^\/\*\*?/,d=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,h=/(^|\s+)\/\/([^\r\n]*)/g,E=/^(\r?\n)+/,S=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,k=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,N=/(\r?\n|^) *\* ?/g,_=[];function C(Q){let G=Q.match(d);return G?G[0].trimLeft():""}function x(Q){let G=Q.match(d);return G&&G[0]?Q.substring(G[0].length):Q}function M(Q){return X(Q).pragmas}function X(Q){let G=(0,f().default)(Q)||A().EOL;Q=Q.replace(c,"").replace(D,"").replace(N,"$1");let ne="";for(;ne!==Q;)ne=Q,Q=Q.replace(S,`${G}$1 $2${G}`);Q=Q.replace(E,"").trimRight();let Z=Object.create(null),De=Q.replace(k,"").replace(E,"").trimRight(),F;for(;F=k.exec(Q);){let J=F[2].replace(h,"");typeof Z[F[1]]=="string"||Array.isArray(Z[F[1]])?Z[F[1]]=_.concat(Z[F[1]],J):Z[F[1]]=J}return{comments:De,pragmas:Z}}function ee(Q){let{comments:G="",pragmas:ne={}}=Q,Z=(0,f().default)(G)||A().EOL,De="/**",F=" *",J=" */",w=Object.keys(ne),O=w.map(T=>$(T,ne[T])).reduce((T,B)=>T.concat(B),[]).map(T=>`${F} ${T}${Z}`).join("");if(!G){if(w.length===0)return"";if(w.length===1&&!Array.isArray(ne[w[0]])){let T=ne[w[0]];return`${De} ${$(w[0],T)[0]}${J}`}}let y=G.split(Z).map(T=>`${F} ${T}`).join(Z)+Z;return De+Z+(G?y:"")+(G&&w.length?F+Z:"")+O+J}function $(Q,G){return _.concat(G).map(ne=>`@${Q} ${ne}`.trim())}}}),Qv=Fe({"src/language-js/utils/get-shebang.js"(m,A){Ve();function f(b){if(!b.startsWith("#!"))return"";let D=b.indexOf(`
202
- `);return D===-1?b:b.slice(0,D)}A.exports=f}}),_0=Fe({"src/language-js/pragma.js"(m,A){Ve();var{parseWithComments:f,strip:b,extract:D,print:c}=Xv(),{normalizeEndOfLine:d}=Xi(),h=Qv();function E(N){let _=h(N);_&&(N=N.slice(_.length+1));let C=D(N),{pragmas:x,comments:M}=f(C);return{shebang:_,text:N,pragmas:x,comments:M}}function S(N){let _=Object.keys(E(N).pragmas);return _.includes("prettier")||_.includes("format")}function k(N){let{shebang:_,text:C,pragmas:x,comments:M}=E(N),X=b(C),ee=c({pragmas:Object.assign({format:""},x),comments:M.trimStart()});return(_?`${_}
203
- `:"")+d(ee)+(X.startsWith(`
204
- `)?`
205
- `:`
206
-
207
- `)+X}A.exports={hasPragma:S,insertPragma:k}}}),Kv=Fe({"src/language-js/utils/is-type-cast-comment.js"(m,A){Ve();var f=ea();function b(D){return f(D)&&D.value[0]==="*"&&/@(?:type|satisfies)\b/.test(D.value)}A.exports=b}}),k0=Fe({"src/language-js/comments.js"(m,A){Ve();var{getLast:f,hasNewline:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:D,getNextNonSpaceNonCommentCharacter:c,hasNewlineInRange:d,addLeadingComment:h,addTrailingComment:E,addDanglingComment:S,getNextNonSpaceNonCommentCharacterIndex:k,isNonEmptyArray:N}=ye(),{getFunctionParameters:_,isPrettierIgnoreComment:C,isJsxNode:x,hasFlowShorthandAnnotationComment:M,hasFlowAnnotationComment:X,hasIgnoreComment:ee,isCallLikeExpression:$,getCallArguments:Q,isCallExpression:G,isMemberExpression:ne,isObjectProperty:Z,isLineComment:De,getComments:F,CommentCheckFlags:J,markerForIfWithoutBlockAndSameLineComment:w}=lr(),{locStart:O,locEnd:y}=Zr(),T=ea(),B=Kv();function U(gt){return[Ae,Wt,We,fe,Ne,ie,tt,Bt,Xe,Tt,on,Ln,ht,Ue,Se].some(V=>V(gt))}function q(gt){return[ge,Wt,me,on,fe,Ne,ie,tt,Ue,He,bt,Tt,gn,Se,je].some(V=>V(gt))}function z(gt){return[Ae,fe,Ne,oe,pt,ht,Tt,ft,Me,dt,Se,at].some(V=>V(gt))}function re(gt,V){let Te=(gt.body||gt.properties).find(nt=>{let{type:kt}=nt;return kt!=="EmptyStatement"});Te?h(Te,V):S(gt,V)}function ce(gt,V){gt.type==="BlockStatement"?re(gt,V):h(gt,V)}function ge(gt){let{comment:V,followingNode:Te}=gt;return Te&&B(V)?(h(Te,V),!0):!1}function fe(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:kt,text:$t}=gt;if(nt?.type!=="IfStatement"||!kt)return!1;if(c($t,V,y)===")")return E(Te,V),!0;if(Te===nt.consequent&&kt===nt.alternate){if(Te.type==="BlockStatement")E(Te,V);else{let sn=V.type==="SingleLine"||V.loc.start.line===V.loc.end.line,It=V.loc.start.line===Te.loc.start.line;sn&&It?S(Te,V,w):S(nt,V)}return!0}return kt.type==="BlockStatement"?(re(kt,V),!0):kt.type==="IfStatement"?(ce(kt.consequent,V),!0):nt.consequent===kt?(h(kt,V),!0):!1}function Ne(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:kt,text:$t}=gt;return nt?.type!=="WhileStatement"||!kt?!1:c($t,V,y)===")"?(E(Te,V),!0):kt.type==="BlockStatement"?(re(kt,V),!0):nt.body===kt?(h(kt,V),!0):!1}function ie(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:kt}=gt;return nt?.type!=="TryStatement"&&nt?.type!=="CatchClause"||!kt?!1:nt.type==="CatchClause"&&Te?(E(Te,V),!0):kt.type==="BlockStatement"?(re(kt,V),!0):kt.type==="TryStatement"?(ce(kt.finalizer,V),!0):kt.type==="CatchClause"?(ce(kt.body,V),!0):!1}function We(gt){let{comment:V,enclosingNode:Te,followingNode:nt}=gt;return ne(Te)&&nt?.type==="Identifier"?(h(Te,V),!0):!1}function me(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:kt,text:$t}=gt,sn=Te&&!d($t,y(Te),O(V));return(!Te||!sn)&&(nt?.type==="ConditionalExpression"||nt?.type==="TSConditionalType")&&kt?(h(kt,V),!0):!1}function oe(gt){let{comment:V,precedingNode:Te,enclosingNode:nt}=gt;return Z(nt)&&nt.shorthand&&nt.key===Te&&nt.value.type==="AssignmentPattern"?(E(nt.value.left,V),!0):!1}var qe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function tt(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:kt}=gt;if(qe.has(nt?.type)){if(N(nt.decorators)&&!(kt&&kt.type==="Decorator"))return E(f(nt.decorators),V),!0;if(nt.body&&kt===nt.body)return re(nt.body,V),!0;if(kt){if(nt.superClass&&kt===nt.superClass&&Te&&(Te===nt.id||Te===nt.typeParameters))return E(Te,V),!0;for(let $t of["implements","extends","mixins"])if(nt[$t]&&kt===nt[$t][0])return Te&&(Te===nt.id||Te===nt.typeParameters||Te===nt.superClass)?E(Te,V):S(nt,V,$t),!0}}return!1}var Ye=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function ht(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,text:kt}=gt;return nt&&Te&&c(kt,V,y)==="("&&(nt.type==="Property"||nt.type==="TSDeclareMethod"||nt.type==="TSAbstractMethodDefinition")&&Te.type==="Identifier"&&nt.key===Te&&c(kt,Te,y)!==":"||Te?.type==="Decorator"&&Ye.has(nt?.type)?(E(Te,V),!0):!1}var be=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Me(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,text:kt}=gt;return c(kt,V,y)!=="("?!1:Te&&be.has(nt?.type)?(E(Te,V),!0):!1}function ft(gt){let{comment:V,enclosingNode:Te,text:nt}=gt;if(Te?.type!=="ArrowFunctionExpression")return!1;let kt=k(nt,V,y);return kt!==!1&&nt.slice(kt,kt+2)==="=>"?(S(Te,V),!0):!1}function pt(gt){let{comment:V,enclosingNode:Te,text:nt}=gt;return c(nt,V,y)!==")"?!1:Te&&(lt(Te)&&_(Te).length===0||$(Te)&&Q(Te).length===0)?(S(Te,V),!0):(Te?.type==="MethodDefinition"||Te?.type==="TSAbstractMethodDefinition")&&_(Te.value).length===0?(S(Te.value,V),!0):!1}function Wt(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:kt,text:$t}=gt;if(Te?.type==="FunctionTypeParam"&&nt?.type==="FunctionTypeAnnotation"&&kt?.type!=="FunctionTypeParam"||(Te?.type==="Identifier"||Te?.type==="AssignmentPattern")&&nt&&lt(nt)&&c($t,V,y)===")")return E(Te,V),!0;if(nt?.type==="FunctionDeclaration"&&kt?.type==="BlockStatement"){let sn=(()=>{let It=_(nt);if(It.length>0)return D($t,y(f(It)));let br=D($t,y(nt.id));return br!==!1&&D($t,br+1)})();if(O(V)>sn)return re(kt,V),!0}return!1}function Ue(gt){let{comment:V,enclosingNode:Te}=gt;return Te?.type==="LabeledStatement"?(h(Te,V),!0):!1}function Se(gt){let{comment:V,enclosingNode:Te}=gt;return(Te?.type==="ContinueStatement"||Te?.type==="BreakStatement")&&!Te.label?(E(Te,V),!0):!1}function He(gt){let{comment:V,precedingNode:Te,enclosingNode:nt}=gt;return G(nt)&&Te&&nt.callee===Te&&nt.arguments.length>0?(h(nt.arguments[0],V),!0):!1}function Xe(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:kt}=gt;return nt?.type==="UnionTypeAnnotation"||nt?.type==="TSUnionType"?(C(V)&&(kt.prettierIgnore=!0,V.unignore=!0),Te?(E(Te,V),!0):!1):((kt?.type==="UnionTypeAnnotation"||kt?.type==="TSUnionType")&&C(V)&&(kt.types[0].prettierIgnore=!0,V.unignore=!0),!1)}function bt(gt){let{comment:V,enclosingNode:Te}=gt;return Z(Te)?(h(Te,V),!0):!1}function Tt(gt){let{comment:V,enclosingNode:Te,followingNode:nt,ast:kt,isLastComment:$t}=gt;return kt&&kt.body&&kt.body.length===0?($t?S(kt,V):h(kt,V),!0):Te?.type==="Program"&&Te?.body.length===0&&!N(Te.directives)?($t?S(Te,V):h(Te,V),!0):nt?.type==="Program"&&nt?.body.length===0&&Te?.type==="ModuleExpression"?(S(nt,V),!0):!1}function Bt(gt){let{comment:V,enclosingNode:Te}=gt;return Te?.type==="ForInStatement"||Te?.type==="ForOfStatement"?(h(Te,V),!0):!1}function on(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,text:kt}=gt;if(nt?.type==="ImportSpecifier"||nt?.type==="ExportSpecifier")return h(nt,V),!0;let $t=Te?.type==="ImportSpecifier"&&nt?.type==="ImportDeclaration",sn=Te?.type==="ExportSpecifier"&&nt?.type==="ExportNamedDeclaration";return($t||sn)&&b(kt,y(V))?(E(Te,V),!0):!1}function Ln(gt){let{comment:V,enclosingNode:Te}=gt;return Te?.type==="AssignmentPattern"?(h(Te,V),!0):!1}var Tn=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),an=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function gn(gt){let{comment:V,enclosingNode:Te,followingNode:nt}=gt;return Tn.has(Te?.type)&&nt&&(an.has(nt.type)||T(V))?(h(nt,V),!0):!1}function at(gt){let{comment:V,enclosingNode:Te,followingNode:nt,text:kt}=gt;return!nt&&(Te?.type==="TSMethodSignature"||Te?.type==="TSDeclareFunction"||Te?.type==="TSAbstractMethodDefinition")&&c(kt,V,y)===";"?(E(Te,V),!0):!1}function Ae(gt){let{comment:V,enclosingNode:Te,followingNode:nt}=gt;if(C(V)&&Te?.type==="TSMappedType"&&nt?.type==="TSTypeParameter"&&nt.constraint)return Te.prettierIgnore=!0,V.unignore=!0,!0}function dt(gt){let{comment:V,precedingNode:Te,enclosingNode:nt,followingNode:kt}=gt;return nt?.type!=="TSMappedType"?!1:kt?.type==="TSTypeParameter"&&kt.name?(h(kt.name,V),!0):Te?.type==="TSTypeParameter"&&Te.constraint?(E(Te.constraint,V),!0):!1}function je(gt){let{comment:V,enclosingNode:Te,followingNode:nt}=gt;return!Te||Te.type!=="SwitchCase"||Te.test||!nt||nt!==Te.consequent[0]?!1:(nt.type==="BlockStatement"&&De(V)?re(nt,V):S(Te,V),!0)}function lt(gt){return gt.type==="ArrowFunctionExpression"||gt.type==="FunctionExpression"||gt.type==="FunctionDeclaration"||gt.type==="ObjectMethod"||gt.type==="ClassMethod"||gt.type==="TSDeclareFunction"||gt.type==="TSCallSignatureDeclaration"||gt.type==="TSConstructSignatureDeclaration"||gt.type==="TSMethodSignature"||gt.type==="TSConstructorType"||gt.type==="TSFunctionType"||gt.type==="TSDeclareMethod"}function Qt(gt,V){if((V.parser==="typescript"||V.parser==="flow"||V.parser==="acorn"||V.parser==="espree"||V.parser==="meriyah"||V.parser==="__babel_estree")&&gt.type==="MethodDefinition"&&gt.value&&gt.value.type==="FunctionExpression"&&_(gt.value).length===0&&!gt.value.returnType&&!N(gt.value.typeParameters)&&gt.value.body)return[...gt.decorators||[],gt.key,gt.value.body]}function Vt(gt){let V=gt.getValue(),Te=gt.getParentNode(),nt=kt=>X(F(kt,J.Leading))||X(F(kt,J.Trailing));return(V&&(x(V)||M(V)||G(Te)&&nt(V))||Te&&(Te.type==="JSXSpreadAttribute"||Te.type==="JSXSpreadChild"||Te.type==="UnionTypeAnnotation"||Te.type==="TSUnionType"||(Te.type==="ClassDeclaration"||Te.type==="ClassExpression")&&Te.superClass===V))&&(!ee(gt)||Te.type==="UnionTypeAnnotation"||Te.type==="TSUnionType")}A.exports={handleOwnLineComment:U,handleEndOfLineComment:q,handleRemainingComment:z,getCommentChildNodes:Qt,willPrintOwnComments:Vt}}}),Ya=Fe({"src/language-js/needs-parens.js"(m,A){Ve();var f=Mr(),b=Mt(),{getFunctionParameters:D,getLeftSidePathName:c,hasFlowShorthandAnnotationComment:d,hasNakedLeftSide:h,hasNode:E,isBitwiseOperator:S,startsWithNoLookaheadToken:k,shouldFlatten:N,getPrecedence:_,isCallExpression:C,isMemberExpression:x,isObjectProperty:M,isTSTypeExpression:X}=lr();function ee(F,J){let w=F.getParentNode();if(!w)return!1;let O=F.getName(),y=F.getNode();if(J.__isInHtmlInterpolation&&!J.bracketSpacing&&ne(y)&&Z(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)||O==="left"&&(y.name==="async"&&!w.await||y.name==="let")&&w.type==="ForOfStatement")return!0;if(y.name==="let"){var T;let U=(T=F.findAncestor(q=>q.type==="ForOfStatement"))===null||T===void 0?void 0:T.left;if(U&&k(U,q=>q===y))return!0}if(O==="object"&&y.name==="let"&&w.type==="MemberExpression"&&w.computed&&!w.optional){let U=F.findAncestor(z=>z.type==="ExpressionStatement"||z.type==="ForStatement"||z.type==="ForInStatement"),q=U?U.type==="ExpressionStatement"?U.expression:U.type==="ForStatement"?U.init:U.left:void 0;if(q&&k(q,z=>z===y))return!0}return!1}if(y.type==="ObjectExpression"||y.type==="FunctionExpression"||y.type==="ClassExpression"||y.type==="DoExpression"){var B;let U=(B=F.findAncestor(q=>q.type==="ExpressionStatement"))===null||B===void 0?void 0:B.expression;if(U&&k(U,q=>q===y))return!0}switch(w.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(O==="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(O==="expression"){if(x(y)&&y.computed)return!0;let U=!1,q=!1,z=y;for(;z;)switch(z.type){case"MemberExpression":q=!0,z=z.object;break;case"CallExpression":if(q||U)return J.parser!=="typescript";U=!0,z=z.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return J.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(O==="body"&&y.type!=="SequenceExpression"&&k(y,U=>U.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 O==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"BinaryExpression":return O==="left"&&w.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(w.type==="UpdateExpression"||y.operator==="in"&&Q(F))return!0;if(y.operator==="|>"&&y.extra&&y.extra.parenthesized){let U=F.getParentNode(1);if(U.type==="BinaryExpression"&&U.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 O==="callee";case"ClassExpression":case"ClassDeclaration":return O==="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 O==="object";case"AssignmentExpression":case"AssignmentPattern":return O==="left"&&(y.type==="TSTypeAssertion"||X(y));case"LogicalExpression":if(y.type==="LogicalExpression")return w.operator!==y.operator;case"BinaryExpression":{let{operator:U,type:q}=y;if(!U&&q!=="TSTypeAssertion")return!0;let z=_(U),re=w.operator,ce=_(re);return ce>z||O==="right"&&ce===z||ce===z&&!N(re,U)?!0:ce<z&&U==="%"?re==="+"||re==="-":!!S(re)}default:return!1}case"SequenceExpression":switch(w.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return O!=="expression";case"ArrowFunctionExpression":return O!=="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 O==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"ConditionalExpression":return O==="test";case"BinaryExpression":return!(!y.argument&&w.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(O==="extendsType"&&w.type==="TSConditionalType"){if(y.type==="TSConditionalType")return!0;let{typeAnnotation:U}=y.returnType||y.typeAnnotation;if(U.type==="TSTypePredicate"&&U.typeAnnotation&&(U=U.typeAnnotation.typeAnnotation),U.type==="TSInferType"&&U.typeParameter.constraint)return!0}if(O==="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"||O==="objectType"&&w.type==="TSIndexedAccessType"||w.type==="TSTypeOperator"||w.type==="TSTypeAnnotation"&&F.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return O==="objectType"&&w.type==="TSIndexedAccessType"||O==="elementType"&&w.type==="TSArrayType";case"TypeofTypeAnnotation":return O==="objectType"&&(w.type==="IndexedAccessType"||w.type==="OptionalIndexedAccessType")||O==="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"||O==="objectType"&&(w.type==="IndexedAccessType"||w.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return w.type==="ArrayTypeAnnotation"||O==="objectType"&&(w.type==="IndexedAccessType"||w.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let U=w.type==="NullableTypeAnnotation"?F.getParentNode(1):w;return U.type==="UnionTypeAnnotation"||U.type==="IntersectionTypeAnnotation"||U.type==="ArrayTypeAnnotation"||O==="objectType"&&(U.type==="IndexedAccessType"||U.type==="OptionalIndexedAccessType")||U.type==="NullableTypeAnnotation"||w.type==="FunctionTypeParam"&&w.name===null&&D(y).some(q=>q.typeAnnotation&&q.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return O==="objectType"&&w.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof y.value=="string"&&w.type==="ExpressionStatement"&&!w.directive){let U=F.getParentNode(1);return U.type==="Program"||U.type==="BlockStatement"}return O==="object"&&w.type==="MemberExpression"&&typeof y.value=="number";case"AssignmentExpression":{let U=F.getParentNode(1);return O==="body"&&w.type==="ArrowFunctionExpression"?!0:O==="key"&&(w.type==="ClassProperty"||w.type==="PropertyDefinition")&&w.computed||(O==="init"||O==="update")&&w.type==="ForStatement"?!1:w.type==="ExpressionStatement"?y.left.type==="ObjectPattern":!(O==="key"&&w.type==="TSPropertySignature"||w.type==="AssignmentExpression"||w.type==="SequenceExpression"&&U&&U.type==="ForStatement"&&(U.init===w||U.update===w)||O==="value"&&w.type==="Property"&&U&&U.type==="ObjectPattern"&&U.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 O==="callee";case"ConditionalExpression":return O==="test";case"MemberExpression":case"OptionalMemberExpression":return O==="object";default:return!1}case"FunctionExpression":switch(w.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="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 O==="callee";case"MemberExpression":case"OptionalMemberExpression":return O==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return O==="test";default:return!1}case"ClassExpression":if(b(y.decorators))return!0;switch(w.type){case"NewExpression":return O==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let U=F.getParentNode(1);if(O==="object"&&w.type==="MemberExpression"||O==="callee"&&(w.type==="CallExpression"||w.type==="NewExpression")||w.type==="TSNonNullExpression"&&U.type==="MemberExpression"&&U.object===w)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(O==="callee"&&(w.type==="BindExpression"||w.type==="NewExpression")){let U=y;for(;U;)switch(U.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":U=U.object;break;case"TaggedTemplateExpression":U=U.tag;break;case"TSNonNullExpression":U=U.expression;break;default:return!1}}return!1;case"BindExpression":return O==="callee"&&(w.type==="BindExpression"||w.type==="NewExpression")||O==="object"&&x(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[O]===y||O==="right"&&w.type==="NGPipeExpression"||O==="property"&&w.type==="MemberExpression"||w.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return O==="callee"||O==="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)&&!M(w)&&w.type!=="ReturnStatement"&&w.type!=="ThrowStatement"&&w.type!=="TypeCastExpression"&&w.type!=="VariableDeclarator"&&w.type!=="YieldExpression";case"TypeAnnotation":return O==="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 Q(F){let J=0,w=F.getValue();for(;w;){let O=F.getParentNode(J++);if(O&&O.type==="ForStatement"&&O.init===w)return!0;w=O}return!1}function G(F){return E(F,J=>J.type==="ObjectTypeAnnotation"&&E(J,w=>w.type==="FunctionTypeAnnotation"||void 0)||void 0)}function ne(F){switch(F.type){case"ObjectExpression":return!0;default:return!1}}function Z(F){let J=F.getValue(),w=F.getParentNode(),O=F.getName();switch(w.type){case"NGPipeExpression":if(typeof O=="number"&&w.arguments[O]===J&&w.arguments.length-1===O)return F.callParent(Z);break;case"ObjectProperty":if(O==="value"){let y=F.getParentNode(1);return f(y.properties)===w}break;case"BinaryExpression":case"LogicalExpression":if(O==="right")return F.callParent(Z);break;case"ConditionalExpression":if(O==="alternate")return F.callParent(Z);break;case"UnaryExpression":if(w.prefix)return F.callParent(Z);break}return!1}function De(F,J){let w=F.getValue(),O=F.getParentNode();return w.type==="FunctionExpression"||w.type==="ClassExpression"?O.type==="ExportDefaultDeclaration"||!ee(F,J):!h(w)||O.type!=="ExportDefaultDeclaration"&&ee(F,J)?!1:F.call(y=>De(y,J),...c(F,w))}A.exports=ee}}),L0=Fe({"src/language-js/print-preprocess.js"(m,A){Ve();function f(b,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({},b),{},{type:D.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:b,comments:[],rootMarker:D.rootMarker});default:return b}}A.exports=f}}),Zv=Fe({"src/language-js/print/html-binding.js"(m,A){Ve();var{builders:{join:f,line:b,group:D,softline:c,indent:d}}=Sn();function h(S,k,N){let _=S.getValue();if(k.__onHtmlBindingRoot&&S.getName()===null&&k.__onHtmlBindingRoot(_,k),_.type==="File"){if(k.__isVueForBindingLeft)return S.call(C=>{let x=f([",",b],C.map(N,"params")),{params:M}=C.getValue();return M.length===1?x:["(",d([c,D(x)]),c,")"]},"program","body",0);if(k.__isVueBindings)return S.call(C=>f([",",b],C.map(N,"params")),"program","body",0)}}function E(S){switch(S.type){case"MemberExpression":switch(S.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return E(S.object)}return!1;case"Identifier":return!0;default:return!1}}A.exports={isVueEventBindingExpression:E,printHtmlBinding:h}}}),Uf=Fe({"src/language-js/print/binaryish.js"(m,A){Ve();var{printComments:f}=Lr(),{getLast:b}=ye(),{builders:{join:D,line:c,softline:d,group:h,indent:E,align:S,indentIfBreak:k},utils:{cleanDoc:N,getDocParts:_,isConcat:C}}=Sn(),{hasLeadingOwnLineComment:x,isBinaryish:M,isJsxNode:X,shouldFlatten:ee,hasComment:$,CommentCheckFlags:Q,isCallExpression:G,isMemberExpression:ne,isObjectProperty:Z,isEnabledHackPipeline:De}=lr(),F=0;function J(y,T,B){let U=y.getValue(),q=y.getParentNode(),z=y.getParentNode(1),re=U!==q.body&&(q.type==="IfStatement"||q.type==="WhileStatement"||q.type==="SwitchStatement"||q.type==="DoWhileStatement"),ce=De(T)&&U.operator==="|>",ge=w(y,B,T,!1,re);if(re)return ge;if(ce)return h(ge);if(G(q)&&q.callee===U||q.type==="UnaryExpression"||ne(q)&&!q.computed)return h([E([d,...ge]),d]);let fe=q.type==="ReturnStatement"||q.type==="ThrowStatement"||q.type==="JSXExpressionContainer"&&z.type==="JSXAttribute"||U.operator!=="|"&&q.type==="JsExpressionRoot"||U.type!=="NGPipeExpression"&&(q.type==="NGRoot"&&T.parser==="__ng_binding"||q.type==="NGMicrosyntaxExpression"&&z.type==="NGMicrosyntax"&&z.body.length===1)||U===q.body&&q.type==="ArrowFunctionExpression"||U!==q.body&&q.type==="ForStatement"||q.type==="ConditionalExpression"&&z.type!=="ReturnStatement"&&z.type!=="ThrowStatement"&&!G(z)||q.type==="TemplateLiteral",Ne=q.type==="AssignmentExpression"||q.type==="VariableDeclarator"||q.type==="ClassProperty"||q.type==="PropertyDefinition"||q.type==="TSAbstractPropertyDefinition"||q.type==="ClassPrivateProperty"||Z(q),ie=M(U.left)&&ee(U.operator,U.left.operator);if(fe||O(U)&&!ie||!O(U)&&Ne)return h(ge);if(ge.length===0)return"";let We=X(U.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,We?-1:void 0),tt=Symbol("logicalChain-"+ ++F),Ye=h([...oe,E(qe)],{id:tt});if(!We)return Ye;let ht=b(ge);return h([Ye,k(ht,{groupId:tt})])}function w(y,T,B,U,q){let z=y.getValue();if(!M(z))return[h(T())];let re=[];ee(z.operator,z.left.operator)?re=y.call(qe=>w(qe,T,B,!0,q),"left"):re.push(h(T("left")));let ce=O(z),ge=(z.operator==="|>"||z.type==="NGPipeExpression"||z.operator==="|"&&B.parser==="__vue_expression")&&!x(B.originalText,z.right),fe=z.type==="NGPipeExpression"?"|":z.operator,Ne=z.type==="NGPipeExpression"&&z.arguments.length>0?h(E([c,": ",D([c,": "],y.map(T,"arguments").map(qe=>S(2,h(qe))))])):"",ie;if(ce)ie=[fe," ",T("right"),Ne];else{let qe=De(B)&&fe==="|>"?y.call(tt=>w(tt,T,B,!0,q),"right"):T("right");ie=[ge?c:"",fe,ge?" ":c,qe,Ne]}let We=y.getParentNode(),me=$(z.left,Q.Trailing|Q.Line),oe=me||!(q&&z.type==="LogicalExpression")&&We.type!==z.type&&z.left.type!==z.type&&z.right.type!==z.type;if(re.push(ge?"":" ",oe?h(ie,{shouldBreak:me}):ie),U&&$(z)){let qe=N(f(y,re,B));return C(qe)||qe.type==="fill"?_(qe):[qe]}return re}function O(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:O}}}),e2=Fe({"src/language-js/print/angular.js"(m,A){Ve();var{builders:{join:f,line:b,group:D}}=Sn(),{hasNode:c,hasComment:d,getComments:h}=lr(),{printBinaryishExpression:E}=Uf();function S(_,C,x){let M=_.getValue();if(M.type.startsWith("NG"))switch(M.type){case"NGRoot":return[x("node"),d(M.node)?" //"+h(M.node)[0].value.trimEnd():""];case"NGPipeExpression":return E(_,C,x);case"NGChainedExpression":return D(f([";",b],_.map(X=>N(X)?x():["(",x(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[M.prefix,": ",M.value.trim()];case"NGMicrosyntax":return _.map((X,ee)=>[ee===0?"":k(X.getValue(),ee,M)?" ":[";",b],x()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(M.name)?M.name:JSON.stringify(M.name);case"NGMicrosyntaxExpression":return[x("expression"),M.alias===null?"":[" as ",x("alias")]];case"NGMicrosyntaxKeyedExpression":{let X=_.getName(),ee=_.getParentNode(),$=k(M,X,ee)||(X===1&&(M.key.name==="then"||M.key.name==="else")||X===2&&M.key.name==="else"&&ee.body[X-1].type==="NGMicrosyntaxKeyedExpression"&&ee.body[X-1].key.name==="then")&&ee.body[0].type==="NGMicrosyntaxExpression";return[x("key"),$?" ":": ",x("expression")]}case"NGMicrosyntaxLet":return["let ",x("key"),M.value===null?"":[" = ",x("value")]];case"NGMicrosyntaxAs":return[x("key")," as ",x("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(M.type)}.`)}}function k(_,C,x){return _.type==="NGMicrosyntaxKeyedExpression"&&_.key.name==="of"&&C===1&&x.body[0].type==="NGMicrosyntaxLet"&&x.body[0].value===null}function N(_){return c(_.getValue(),C=>{switch(C.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}A.exports={printAngular:S}}}),t2=Fe({"src/language-js/print/jsx.js"(m,A){Ve();var{printComments:f,printDanglingComments:b,printCommentsSeparately:D}=Lr(),{builders:{line:c,hardline:d,softline:h,group:E,indent:S,conditionalGroup:k,fill:N,ifBreak:_,lineSuffixBoundary:C,join:x},utils:{willBreak:M}}=Sn(),{getLast:X,getPreferredQuote:ee}=ye(),{isJsxNode:$,rawText:Q,isCallExpression:G,isStringLiteral:ne,isBinaryish:Z,hasComment:De,CommentCheckFlags:F,hasNodeIgnoreComment:J}=lr(),w=Ya(),{willPrintOwnComments:O}=k0(),y=Se=>Se===""||Se===c||Se===d||Se===h;function T(Se,He,Xe){let bt=Se.getValue();if(bt.type==="JSXElement"&&ft(bt))return[Xe("openingElement"),Xe("closingElement")];let Tt=bt.type==="JSXElement"?Xe("openingElement"):Xe("openingFragment"),Bt=bt.type==="JSXElement"?Xe("closingElement"):Xe("closingFragment");if(bt.children.length===1&&bt.children[0].type==="JSXExpressionContainer"&&(bt.children[0].expression.type==="TemplateLiteral"||bt.children[0].expression.type==="TaggedTemplateExpression"))return[Tt,...Se.map(Xe,"children"),Bt];bt.children=bt.children.map(V=>Wt(V)?{type:"JSXText",value:" ",raw:" "}:V);let on=bt.children.some($),Ln=bt.children.filter(V=>V.type==="JSXExpressionContainer").length>1,Tn=bt.type==="JSXElement"&&bt.openingElement.attributes.length>1,an=M(Tt)||on||Tn||Ln,gn=Se.getParentNode().rootMarker==="mdx",at=He.singleQuote?"{' '}":'{" "}',Ae=gn?" ":_([at,h]," "),dt=bt.openingElement&&bt.openingElement.name&&bt.openingElement.name.name==="fbt",je=B(Se,He,Xe,Ae,dt),lt=bt.children.some(V=>pt(V));for(let V=je.length-2;V>=0;V--){let Te=je[V]===""&&je[V+1]==="",nt=je[V]===d&&je[V+1]===""&&je[V+2]===d,kt=(je[V]===h||je[V]===d)&&je[V+1]===""&&je[V+2]===Ae,$t=je[V]===Ae&&je[V+1]===""&&(je[V+2]===h||je[V+2]===d),sn=je[V]===Ae&&je[V+1]===""&&je[V+2]===Ae,It=je[V]===h&&je[V+1]===""&&je[V+2]===d||je[V]===d&&je[V+1]===""&&je[V+2]===h;nt&&lt||Te||kt||sn||It?je.splice(V,2):$t&&je.splice(V+1,2)}for(;je.length>0&&y(X(je));)je.pop();for(;je.length>1&&y(je[0])&&y(je[1]);)je.shift(),je.shift();let Qt=[];for(let[V,Te]of je.entries()){if(Te===Ae){if(V===1&&je[V-1]===""){if(je.length===2){Qt.push(at);continue}Qt.push([at,d]);continue}else if(V===je.length-1){Qt.push(at);continue}else if(je[V-1]===""&&je[V-2]===d){Qt.push(at);continue}}Qt.push(Te),M(Te)&&(an=!0)}let Vt=lt?N(Qt):E(Qt,{shouldBreak:!0});if(gn)return Vt;let gt=E([Tt,S([d,Vt]),d,Bt]);return an?gt:k([E([Tt,...je,Bt]),gt])}function B(Se,He,Xe,bt,Tt){let Bt=[];return Se.each((on,Ln,Tn)=>{let an=on.getValue();if(an.type==="JSXText"){let gn=Q(an);if(pt(an)){let at=gn.split(ht);if(at[0]===""){if(Bt.push(""),at.shift(),/\n/.test(at[0])){let dt=Tn[Ln+1];Bt.push(q(Tt,at[1],an,dt))}else Bt.push(bt);at.shift()}let Ae;if(X(at)===""&&(at.pop(),Ae=at.pop()),at.length===0)return;for(let[dt,je]of at.entries())dt%2===1?Bt.push(c):Bt.push(je);if(Ae!==void 0)if(/\n/.test(Ae)){let dt=Tn[Ln+1];Bt.push(q(Tt,X(Bt),an,dt))}else Bt.push(bt);else{let dt=Tn[Ln+1];Bt.push(U(Tt,X(Bt),an,dt))}}else/\n/.test(gn)?gn.match(/\n/g).length>1&&Bt.push("",d):Bt.push("",bt)}else{let gn=Xe();Bt.push(gn);let at=Tn[Ln+1];if(at&&pt(at)){let Ae=Me(Q(at)).split(ht)[0];Bt.push(U(Tt,Ae,an,at))}else Bt.push(d)}},"children"),Bt}function U(Se,He,Xe,bt){return Se?"":Xe.type==="JSXElement"&&!Xe.closingElement||bt&&bt.type==="JSXElement"&&!bt.closingElement?He.length===1?h:d:h}function q(Se,He,Xe,bt){return Se?d:He.length===1?Xe.type==="JSXElement"&&!Xe.closingElement||bt&&bt.type==="JSXElement"&&!bt.closingElement?d:h:d}function z(Se,He,Xe){let bt=Se.getParentNode();if(!bt||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[bt.type])return He;let Tt=Se.match(void 0,on=>on.type==="ArrowFunctionExpression",G,on=>on.type==="JSXExpressionContainer"),Bt=w(Se,Xe);return E([Bt?"":_("("),S([h,He]),h,Bt?"":_(")")],{shouldBreak:Tt})}function re(Se,He,Xe){let bt=Se.getValue(),Tt=[];if(Tt.push(Xe("name")),bt.value){let Bt;if(ne(bt.value)){let on=Q(bt.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:Ln,quote:Tn,regex:an}=ee(on,He.jsxSingleQuote?"'":'"');on=on.replace(an,Ln);let{leading:gn,trailing:at}=Se.call(()=>D(Se,He),"value");Bt=[gn,Tn,on,Tn,at]}else Bt=Xe("value");Tt.push("=",Bt)}return Tt}function ce(Se,He,Xe){let bt=Se.getValue(),Tt=(Bt,on)=>Bt.type==="JSXEmptyExpression"||!De(Bt)&&(Bt.type==="ArrayExpression"||Bt.type==="ObjectExpression"||Bt.type==="ArrowFunctionExpression"||Bt.type==="AwaitExpression"&&(Tt(Bt.argument,Bt)||Bt.argument.type==="JSXElement")||G(Bt)||Bt.type==="FunctionExpression"||Bt.type==="TemplateLiteral"||Bt.type==="TaggedTemplateExpression"||Bt.type==="DoExpression"||$(on)&&(Bt.type==="ConditionalExpression"||Z(Bt)));return Tt(bt.expression,Se.getParentNode(0))?E(["{",Xe("expression"),C,"}"]):E(["{",S([h,Xe("expression")]),h,C,"}"])}function ge(Se,He,Xe){let bt=Se.getValue(),Tt=bt.name&&De(bt.name)||bt.typeParameters&&De(bt.typeParameters);if(bt.selfClosing&&bt.attributes.length===0&&!Tt)return["<",Xe("name"),Xe("typeParameters")," />"];if(bt.attributes&&bt.attributes.length===1&&bt.attributes[0].value&&ne(bt.attributes[0].value)&&!bt.attributes[0].value.value.includes(`
208
- `)&&!Tt&&!De(bt.attributes[0]))return E(["<",Xe("name"),Xe("typeParameters")," ",...Se.map(Xe,"attributes"),bt.selfClosing?" />":">"]);let Bt=bt.attributes&&bt.attributes.some(Ln=>Ln.value&&ne(Ln.value)&&Ln.value.value.includes(`
209
- `)),on=He.singleAttributePerLine&&bt.attributes.length>1?d:c;return E(["<",Xe("name"),Xe("typeParameters"),S(Se.map(()=>[on,Xe()],"attributes")),...fe(bt,He,Tt)],{shouldBreak:Bt})}function fe(Se,He,Xe){return Se.selfClosing?[c,"/>"]:Ne(Se,He,Xe)?[">"]:[h,">"]}function Ne(Se,He,Xe){let bt=Se.attributes.length>0&&De(X(Se.attributes),F.Trailing);return Se.attributes.length===0&&!Xe||(He.bracketSameLine||He.jsxBracketSameLine)&&(!Xe||Se.attributes.length>0)&&!bt}function ie(Se,He,Xe){let bt=Se.getValue(),Tt=[];Tt.push("</");let Bt=Xe("name");return De(bt.name,F.Leading|F.Line)?Tt.push(S([d,Bt]),d):De(bt.name,F.Leading|F.Block)?Tt.push(" ",Bt):Tt.push(Bt),Tt.push(">"),Tt}function We(Se,He){let Xe=Se.getValue(),bt=De(Xe),Tt=De(Xe,F.Line),Bt=Xe.type==="JSXOpeningFragment";return[Bt?"<":"</",S([Tt?d:bt&&!Bt?" ":"",b(Se,He,!0)]),Tt?d:"",">"]}function me(Se,He,Xe){let bt=f(Se,T(Se,He,Xe),He);return z(Se,bt,He)}function oe(Se,He){let Xe=Se.getValue(),bt=De(Xe,F.Line);return[b(Se,He,!bt),bt?d:""]}function qe(Se,He,Xe){let bt=Se.getValue();return["{",Se.call(Tt=>{let Bt=["...",Xe()],on=Tt.getValue();return!De(on)||!O(Tt)?Bt:[S([h,f(Tt,Bt,He)]),h]},bt.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function tt(Se,He,Xe){let bt=Se.getValue();if(bt.type.startsWith("JSX"))switch(bt.type){case"JSXAttribute":return re(Se,He,Xe);case"JSXIdentifier":return String(bt.name);case"JSXNamespacedName":return x(":",[Xe("namespace"),Xe("name")]);case"JSXMemberExpression":return x(".",[Xe("object"),Xe("property")]);case"JSXSpreadAttribute":return qe(Se,He,Xe);case"JSXSpreadChild":return qe(Se,He,Xe);case"JSXExpressionContainer":return ce(Se,He,Xe);case"JSXFragment":case"JSXElement":return me(Se,He,Xe);case"JSXOpeningElement":return ge(Se,He,Xe);case"JSXClosingElement":return ie(Se,He,Xe);case"JSXOpeningFragment":case"JSXClosingFragment":return We(Se,He);case"JSXEmptyExpression":return oe(Se,He);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(bt.type)}.`)}}var Ye=`
210
- \r `,ht=new RegExp("(["+Ye+"]+)"),be=new RegExp("[^"+Ye+"]"),Me=Se=>Se.replace(new RegExp("(?:^"+ht.source+"|"+ht.source+"$)"),"");function ft(Se){if(Se.children.length===0)return!0;if(Se.children.length>1)return!1;let He=Se.children[0];return He.type==="JSXText"&&!pt(He)}function pt(Se){return Se.type==="JSXText"&&(be.test(Q(Se))||!/\n/.test(Q(Se)))}function Wt(Se){return Se.type==="JSXExpressionContainer"&&ne(Se.expression)&&Se.expression.value===" "&&!De(Se.expression)}function Ue(Se){let He=Se.getValue(),Xe=Se.getParentNode();if(!Xe||!He||!$(He)||!$(Xe))return!1;let bt=Xe.children.indexOf(He),Tt=null;for(let Bt=bt;Bt>0;Bt--){let on=Xe.children[Bt-1];if(!(on.type==="JSXText"&&!pt(on))){Tt=on;break}}return Tt&&Tt.type==="JSXExpressionContainer"&&Tt.expression.type==="JSXEmptyExpression"&&J(Tt.expression)}A.exports={hasJsxIgnoreComment:Ue,printJsx:tt}}}),yi=Fe({"src/language-js/print/misc.js"(m,A){Ve();var{isNonEmptyArray:f}=ye(),{builders:{indent:b,join:D,line:c}}=Sn(),{isFlowAnnotationComment:d}=lr();function h(X){let ee=X.getValue();return!ee.optional||ee.type==="Identifier"&&ee===X.getParentNode().key?"":ee.type==="OptionalCallExpression"||ee.type==="OptionalMemberExpression"&&ee.computed?"?.":"?"}function E(X){return X.getValue().definite||X.match(void 0,(ee,$)=>$==="id"&&ee.type==="VariableDeclarator"&&ee.definite)?"!":""}function S(X,ee,$){let Q=X.getValue();return Q.typeArguments?$("typeArguments"):Q.typeParameters?$("typeParameters"):""}function k(X,ee,$){let Q=X.getValue();if(!Q.typeAnnotation)return"";let G=X.getParentNode(),ne=G.type==="DeclareFunction"&&G.id===Q;return d(ee.originalText,Q.typeAnnotation)?[" /*: ",$("typeAnnotation")," */"]:[ne?"":": ",$("typeAnnotation")]}function N(X,ee,$){return["::",$("callee")]}function _(X,ee,$){let Q=X.getValue();return f(Q.modifiers)?[D(" ",X.map($,"modifiers"))," "]:""}function C(X,ee,$){return X.type==="EmptyStatement"?";":X.type==="BlockStatement"||$?[" ",ee]:b([c,ee])}function x(X,ee,$){return["...",$("argument"),k(X,ee,$)]}function M(X,ee){let $=X.slice(1,-1);if($.includes('"')||$.includes("'"))return X;let Q=ee.singleQuote?"'":'"';return Q+$+Q}A.exports={printOptionalToken:h,printDefiniteToken:E,printFunctionTypeParameters:S,printBindExpressionCallee:N,printTypeScriptModifiers:_,printTypeAnnotation:k,printRestSpread:x,adjustClause:C,printDirective:M}}}),_o=Fe({"src/language-js/print/array.js"(m,A){Ve();var{printDanglingComments:f}=Lr(),{builders:{line:b,softline:D,hardline:c,group:d,indent:h,ifBreak:E,fill:S}}=Sn(),{getLast:k,hasNewline:N}=ye(),{shouldPrintComma:_,hasComment:C,CommentCheckFlags:x,isNextLineEmpty:M,isNumericLiteral:X,isSignedNumericLiteral:ee}=lr(),{locStart:$}=Zr(),{printOptionalToken:Q,printTypeAnnotation:G}=yi();function ne(J,w,O){let y=J.getValue(),T=[],B=y.type==="TupleExpression"?"#[":"[",U="]";if(y.elements.length===0)C(y,x.Dangling)?T.push(d([B,f(J,w),D,U])):T.push(B,U);else{let q=k(y.elements),z=!(q&&q.type==="RestElement"),re=q===null,ce=Symbol("array"),ge=!w.__inJestEach&&y.elements.length>1&&y.elements.every((ie,We,me)=>{let oe=ie&&ie.type;if(oe!=="ArrayExpression"&&oe!=="ObjectExpression")return!1;let qe=me[We+1];if(qe&&oe!==qe.type)return!1;let tt=oe==="ArrayExpression"?"elements":"properties";return ie[tt]&&ie[tt].length>1}),fe=Z(y,w),Ne=z?re?",":_(w)?fe?E(",","",{groupId:ce}):E(","):"":"";T.push(d([B,h([D,fe?F(J,w,O,Ne):[De(J,w,"elements",O),Ne],f(J,w,!0)]),D,U],{shouldBreak:ge,id:ce}))}return T.push(Q(J),G(J,w,O)),T}function Z(J,w){return J.elements.length>1&&J.elements.every(O=>O&&(X(O)||ee(O)&&!C(O.argument))&&!C(O,x.Trailing|x.Line,y=>!N(w.originalText,$(y),{backwards:!0})))}function De(J,w,O,y){let T=[],B=[];return J.each(U=>{T.push(B,d(y())),B=[",",b],U.getValue()&&M(U.getValue(),w)&&B.push(D)},O),T}function F(J,w,O,y){let T=[];return J.each((B,U,q)=>{let z=U===q.length-1;T.push([O(),z?y:","]),z||T.push(M(B.getValue(),w)?[c,c]:C(q[U+1],x.Leading|x.Line)?c:b)},"elements"),S(T)}A.exports={printArray:ne,printArrayItems:De,isConciselyPrintedArray:Z}}}),P0=Fe({"src/language-js/print/call-arguments.js"(m,A){Ve();var{printDanglingComments:f}=Lr(),{getLast:b,getPenultimate:D}=ye(),{getFunctionParameters:c,hasComment:d,CommentCheckFlags:h,isFunctionCompositionArgs:E,isJsxNode:S,isLongCurriedCallExpression:k,shouldPrintComma:N,getCallArguments:_,iterateCallArgumentsPath:C,isNextLineEmpty:x,isCallExpression:M,isStringLiteral:X,isObjectProperty:ee,isTSTypeExpression:$}=lr(),{builders:{line:Q,hardline:G,softline:ne,group:Z,indent:De,conditionalGroup:F,ifBreak:J,breakParent:w},utils:{willBreak:O}}=Sn(),{ArgExpansionBailout:y}=Kt(),{isConciselyPrintedArray:T}=_o();function B(fe,Ne,ie){let We=fe.getValue(),me=We.type==="ImportExpression",oe=_(We);if(oe.length===0)return["(",f(fe,Ne,!0),")"];if(re(oe))return["(",ie(["arguments",0]),", ",ie(["arguments",1]),")"];let qe=!1,tt=!1,Ye=oe.length-1,ht=[];C(fe,(Ue,Se)=>{let He=Ue.getNode(),Xe=[ie()];Se===Ye||(x(He,Ne)?(Se===0&&(tt=!0),qe=!0,Xe.push(",",G,G)):Xe.push(",",Q)),ht.push(Xe)});let be=!(me||We.callee&&We.callee.type==="Import")&&N(Ne,"all")?",":"";function Me(){return Z(["(",De([Q,...ht]),be,Q,")"],{shouldBreak:!0})}if(qe||fe.getParentNode().type!=="Decorator"&&E(oe))return Me();let ft=z(oe),pt=q(oe,Ne);if(ft||pt){if(ft?ht.slice(1).some(O):ht.slice(0,-1).some(O))return Me();let Ue=[];try{fe.try(()=>{C(fe,(Se,He)=>{ft&&He===0&&(Ue=[[ie([],{expandFirstArg:!0}),ht.length>1?",":"",tt?G:Q,tt?G:""],...ht.slice(1)]),pt&&He===Ye&&(Ue=[...ht.slice(0,-1),ie([],{expandLastArg:!0})])})})}catch(Se){if(Se instanceof y)return Me();throw Se}return[ht.some(O)?w:"",F([["(",...Ue,")"],ft?["(",Z(Ue[0],{shouldBreak:!0}),...Ue.slice(1),")"]:["(",...ht.slice(0,-1),Z(b(Ue),{shouldBreak:!0}),")"],Me()])]}let Wt=["(",De([ne,...ht]),J(be),ne,")"];return k(fe)?Wt:Z(Wt,{shouldBreak:ht.some(O)||qe})}function U(fe){let Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return fe.type==="ObjectExpression"&&(fe.properties.length>0||d(fe))||fe.type==="ArrayExpression"&&(fe.elements.length>0||d(fe))||fe.type==="TSTypeAssertion"&&U(fe.expression)||$(fe)&&U(fe.expression)||fe.type==="FunctionExpression"||fe.type==="ArrowFunctionExpression"&&(!fe.returnType||!fe.returnType.typeAnnotation||fe.returnType.typeAnnotation.type!=="TSTypeReference"||ce(fe.body))&&(fe.body.type==="BlockStatement"||fe.body.type==="ArrowFunctionExpression"&&U(fe.body,!0)||fe.body.type==="ObjectExpression"||fe.body.type==="ArrayExpression"||!Ne&&(M(fe.body)||fe.body.type==="ConditionalExpression")||S(fe.body))||fe.type==="DoExpression"||fe.type==="ModuleExpression"}function q(fe,Ne){let ie=b(fe),We=D(fe);return!d(ie,h.Leading)&&!d(ie,h.Trailing)&&U(ie)&&(!We||We.type!==ie.type)&&(fe.length!==2||We.type!=="ArrowFunctionExpression"||ie.type!=="ArrayExpression")&&!(fe.length>1&&ie.type==="ArrayExpression"&&T(ie,Ne))}function z(fe){if(fe.length!==2)return!1;let[Ne,ie]=fe;return Ne.type==="ModuleExpression"&&ge(ie)?!0:!d(Ne)&&(Ne.type==="FunctionExpression"||Ne.type==="ArrowFunctionExpression"&&Ne.body.type==="BlockStatement")&&ie.type!=="FunctionExpression"&&ie.type!=="ArrowFunctionExpression"&&ie.type!=="ConditionalExpression"&&!U(ie)}function re(fe){return fe.length===2&&fe[0].type==="ArrowFunctionExpression"&&c(fe[0]).length===0&&fe[0].body.type==="BlockStatement"&&fe[1].type==="ArrayExpression"&&!fe.some(Ne=>d(Ne))}function ce(fe){return fe.type==="BlockStatement"&&(fe.body.some(Ne=>Ne.type!=="EmptyStatement")||d(fe,h.Dangling))}function ge(fe){return fe.type==="ObjectExpression"&&fe.properties.length===1&&ee(fe.properties[0])&&fe.properties[0].key.type==="Identifier"&&fe.properties[0].key.name==="type"&&X(fe.properties[0].value)&&fe.properties[0].value.value==="module"}A.exports=B}}),B0=Fe({"src/language-js/print/member.js"(m,A){Ve();var{builders:{softline:f,group:b,indent:D,label:c}}=Sn(),{isNumericLiteral:d,isMemberExpression:h,isCallExpression:E}=lr(),{printOptionalToken:S}=yi();function k(_,C,x){let M=_.getValue(),X=_.getParentNode(),ee,$=0;do ee=_.getParentNode($),$++;while(ee&&(h(ee)||ee.type==="TSNonNullExpression"));let Q=x("object"),G=N(_,C,x),ne=ee&&(ee.type==="NewExpression"||ee.type==="BindExpression"||ee.type==="AssignmentExpression"&&ee.left.type!=="Identifier")||M.computed||M.object.type==="Identifier"&&M.property.type==="Identifier"&&!h(X)||(X.type==="AssignmentExpression"||X.type==="VariableDeclarator")&&(E(M.object)&&M.object.arguments.length>0||M.object.type==="TSNonNullExpression"&&E(M.object.expression)&&M.object.expression.arguments.length>0||Q.label==="member-chain");return c(Q.label==="member-chain"?"member-chain":"member",[Q,ne?G:b(D([f,G]))])}function N(_,C,x){let M=x("property"),X=_.getValue(),ee=S(_);return X.computed?!X.property||d(X.property)?[ee,"[",M,"]"]:b([ee,"[",D([f,M]),f,"]"]):[ee,".",M]}A.exports={printMemberExpression:k,printMemberLookup:N}}}),n2=Fe({"src/language-js/print/member-chain.js"(m,A){Ve();var{printComments:f}=Lr(),{getLast:b,isNextLineEmptyAfterIndex:D,getNextNonSpaceNonCommentCharacterIndex:c}=ye(),d=Ya(),{isCallExpression:h,isMemberExpression:E,isFunctionOrArrowExpression:S,isLongCurriedCallExpression:k,isMemberish:N,isNumericLiteral:_,isSimpleCallArgument:C,hasComment:x,CommentCheckFlags:M,isNextLineEmpty:X}=lr(),{locEnd:ee}=Zr(),{builders:{join:$,hardline:Q,group:G,indent:ne,conditionalGroup:Z,breakParent:De,label:F},utils:{willBreak:J}}=Sn(),w=P0(),{printMemberLookup:O}=B0(),{printOptionalToken:y,printFunctionTypeParameters:T,printBindExpressionCallee:B}=yi();function U(q,z,re){let ce=q.getParentNode(),ge=!ce||ce.type==="ExpressionStatement",fe=[];function Ne(an){let{originalText:gn}=z,at=c(gn,an,ee);return gn.charAt(at)===")"?at!==!1&&D(gn,at+1):X(an,z)}function ie(an){let gn=an.getValue();h(gn)&&(N(gn.callee)||h(gn.callee))?(fe.unshift({node:gn,printed:[f(an,[y(an),T(an,z,re),w(an,z,re)],z),Ne(gn)?Q:""]}),an.call(at=>ie(at),"callee")):N(gn)?(fe.unshift({node:gn,needsParens:d(an,z),printed:f(an,E(gn)?O(an,z,re):B(an,z,re),z)}),an.call(at=>ie(at),"object")):gn.type==="TSNonNullExpression"?(fe.unshift({node:gn,printed:f(an,"!",z)}),an.call(at=>ie(at),"expression")):fe.unshift({node:gn,printed:re()})}let We=q.getValue();fe.unshift({node:We,printed:[y(q),T(q,z,re),w(q,z,re)]}),We.callee&&q.call(an=>ie(an),"callee");let me=[],oe=[fe[0]],qe=1;for(;qe<fe.length&&(fe[qe].node.type==="TSNonNullExpression"||h(fe[qe].node)||E(fe[qe].node)&&fe[qe].node.computed&&_(fe[qe].node.property));++qe)oe.push(fe[qe]);if(!h(fe[0].node))for(;qe+1<fe.length&&N(fe[qe].node)&&N(fe[qe+1].node);++qe)oe.push(fe[qe]);me.push(oe),oe=[];let tt=!1;for(;qe<fe.length;++qe){if(tt&&N(fe[qe].node)){if(fe[qe].node.computed&&_(fe[qe].node.property)){oe.push(fe[qe]);continue}me.push(oe),oe=[],tt=!1}(h(fe[qe].node)||fe[qe].node.type==="ImportExpression")&&(tt=!0),oe.push(fe[qe]),x(fe[qe].node,M.Trailing)&&(me.push(oe),oe=[],tt=!1)}oe.length>0&&me.push(oe);function Ye(an){return/^[A-Z]|^[$_]+$/.test(an)}function ht(an){return an.length<=z.tabWidth}function be(an){let gn=an[1].length>0&&an[1][0].node.computed;if(an[0].length===1){let Ae=an[0][0].node;return Ae.type==="ThisExpression"||Ae.type==="Identifier"&&(Ye(Ae.name)||ge&&ht(Ae.name)||gn)}let at=b(an[0]).node;return E(at)&&at.property.type==="Identifier"&&(Ye(at.property.name)||gn)}let Me=me.length>=2&&!x(me[1][0].node)&&be(me);function ft(an){let gn=an.map(at=>at.printed);return an.length>0&&b(an).needsParens?["(",...gn,")"]:gn}function pt(an){return an.length===0?"":ne(G([Q,$(Q,an.map(ft))]))}let Wt=me.map(ft),Ue=Wt,Se=Me?3:2,He=me.flat(),Xe=He.slice(1,-1).some(an=>x(an.node,M.Leading))||He.slice(0,-1).some(an=>x(an.node,M.Trailing))||me[Se]&&x(me[Se][0].node,M.Leading);if(me.length<=Se&&!Xe)return k(q)?Ue:G(Ue);let bt=b(me[Me?1:0]).node,Tt=!h(bt)&&Ne(bt),Bt=[ft(me[0]),Me?me.slice(1,2).map(ft):"",Tt?Q:"",pt(me.slice(Me?2:1))],on=fe.map(an=>{let{node:gn}=an;return gn}).filter(h);function Ln(){let an=b(b(me)).node,gn=b(Wt);return h(an)&&J(gn)&&on.slice(0,-1).some(at=>at.arguments.some(S))}let Tn;return Xe||on.length>2&&on.some(an=>!an.arguments.every(gn=>C(gn,0)))||Wt.slice(0,-1).some(J)||Ln()?Tn=G(Bt):Tn=[J(Ue)||Tt?De:"",Z([Ue,Bt])],F("member-chain",Tn)}A.exports=U}}),I0=Fe({"src/language-js/print/call-expression.js"(m,A){Ve();var{builders:{join:f,group:b}}=Sn(),D=Ya(),{getCallArguments:c,hasFlowAnnotationComment:d,isCallExpression:h,isMemberish:E,isStringLiteral:S,isTemplateOnItsOwnLine:k,isTestCall:N,iterateCallArgumentsPath:_}=lr(),C=n2(),x=P0(),{printOptionalToken:M,printFunctionTypeParameters:X}=yi();function ee(Q,G,ne){let Z=Q.getValue(),De=Q.getParentNode(),F=Z.type==="NewExpression",J=Z.type==="ImportExpression",w=M(Q),O=c(Z);if(O.length>0&&(!J&&!F&&$(Z,De)||O.length===1&&k(O[0],G.originalText)||!F&&N(Z,De))){let B=[];return _(Q,()=>{B.push(ne())}),[F?"new ":"",ne("callee"),w,X(Q,G,ne),"(",f(", ",B),")"]}let y=(G.parser==="babel"||G.parser==="babel-flow")&&Z.callee&&Z.callee.type==="Identifier"&&d(Z.callee.trailingComments);if(y&&(Z.callee.trailingComments[0].printed=!0),!J&&!F&&E(Z.callee)&&!Q.call(B=>D(B,G),"callee"))return C(Q,G,ne);let T=[F?"new ":"",J?"import":ne("callee"),w,y?`/*:: ${Z.callee.trailingComments[0].value.slice(2).trim()} */`:"",X(Q,G,ne),x(Q,G,ne)];return J||h(Z.callee)?b(T):T}function $(Q,G){if(Q.callee.type!=="Identifier")return!1;if(Q.callee.name==="require")return!0;if(Q.callee.name==="define"){let ne=c(Q);return G.type==="ExpressionStatement"&&(ne.length===1||ne.length===2&&ne[0].type==="ArrayExpression"||ne.length===3&&S(ne[0])&&ne[1].type==="ArrayExpression")}return!1}A.exports={printCallExpression:ee}}}),ko=Fe({"src/language-js/print/assignment.js"(m,A){Ve();var{isNonEmptyArray:f,getStringWidth:b}=ye(),{builders:{line:D,group:c,indent:d,indentIfBreak:h,lineSuffixBoundary:E},utils:{cleanDoc:S,willBreak:k,canBreak:N}}=Sn(),{hasLeadingOwnLineComment:_,isBinaryish:C,isStringLiteral:x,isLiteral:M,isNumericLiteral:X,isCallExpression:ee,isMemberExpression:$,getCallArguments:Q,rawText:G,hasComment:ne,isSignedNumericLiteral:Z,isObjectProperty:De}=lr(),{shouldInlineLogicalExpression:F}=Uf(),{printCallExpression:J}=I0();function w(be,Me,ft,pt,Wt,Ue){let Se=T(be,Me,ft,pt,Ue),He=ft(Ue,{assignmentLayout:Se});switch(Se){case"break-after-operator":return c([c(pt),Wt,c(d([D,He]))]);case"never-break-after-operator":return c([c(pt),Wt," ",He]);case"fluid":{let Xe=Symbol("assignment");return c([c(pt),Wt,c(d(D),{id:Xe}),E,h(He,{groupId:Xe})])}case"break-lhs":return c([pt,Wt," ",c(He)]);case"chain":return[c(pt),Wt,D,He];case"chain-tail":return[c(pt),Wt,d([D,He])];case"chain-tail-arrow-chain":return[c(pt),Wt,He];case"only-left":return pt}}function O(be,Me,ft){let pt=be.getValue();return w(be,Me,ft,ft("left"),[" ",pt.operator],"right")}function y(be,Me,ft){return w(be,Me,ft,ft("id")," =","init")}function T(be,Me,ft,pt,Wt){let Ue=be.getValue(),Se=Ue[Wt];if(!Se)return"only-left";let He=!q(Se);if(be.match(q,z,bt=>!He||bt.type!=="ExpressionStatement"&&bt.type!=="VariableDeclaration"))return He?Se.type==="ArrowFunctionExpression"&&Se.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!He&&q(Se.right)||_(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(U(Ue)||re(Ue)||fe(Ue)||Ne(Ue)&&N(pt))return"break-lhs";let Xe=tt(Ue,pt,Me);return be.call(()=>B(be,Me,ft,Xe),Wt)?"break-after-operator":Xe||Se.type==="TemplateLiteral"||Se.type==="TaggedTemplateExpression"||Se.type==="BooleanLiteral"||X(Se)||Se.type==="ClassExpression"?"never-break-after-operator":"fluid"}function B(be,Me,ft,pt){let Wt=be.getValue();if(C(Wt)&&!F(Wt))return!0;switch(Wt.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:He}=Wt;return C(He)&&!F(He)}case"ClassExpression":return f(Wt.decorators)}if(pt)return!1;let Ue=Wt,Se=[];for(;;)if(Ue.type==="UnaryExpression")Ue=Ue.argument,Se.push("argument");else if(Ue.type==="TSNonNullExpression")Ue=Ue.expression,Se.push("expression");else break;return!!(x(Ue)||be.call(()=>me(be,Me,ft),...Se))}function U(be){if(z(be)){let Me=be.left||be.id;return Me.type==="ObjectPattern"&&Me.properties.length>2&&Me.properties.some(ft=>De(ft)&&(!ft.shorthand||ft.value&&ft.value.type==="AssignmentPattern"))}return!1}function q(be){return be.type==="AssignmentExpression"}function z(be){return q(be)||be.type==="VariableDeclarator"}function re(be){let Me=ce(be);if(f(Me)){let ft=be.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Me.length>1&&Me.some(pt=>pt[ft]||pt.default))return!0}return!1}function ce(be){return ge(be)&&be.typeParameters&&be.typeParameters.params?be.typeParameters.params:null}function ge(be){return be.type==="TSTypeAliasDeclaration"||be.type==="TypeAlias"}function fe(be){if(be.type!=="VariableDeclarator")return!1;let{typeAnnotation:Me}=be.id;if(!Me||!Me.typeAnnotation)return!1;let ft=ie(Me.typeAnnotation);return f(ft)&&ft.length>1&&ft.some(pt=>f(ie(pt))||pt.type==="TSConditionalType")}function Ne(be){return be.type==="VariableDeclarator"&&be.init&&be.init.type==="ArrowFunctionExpression"}function ie(be){return We(be)&&be.typeParameters&&be.typeParameters.params?be.typeParameters.params:null}function We(be){return be.type==="TSTypeReference"||be.type==="GenericTypeAnnotation"}function me(be,Me,ft){let pt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Wt=be.getValue(),Ue=()=>me(be,Me,ft,!0);if(Wt.type==="TSNonNullExpression")return be.call(Ue,"expression");if(ee(Wt)){if(J(be,Me,ft).label==="member-chain")return!1;let Se=Q(Wt);return!(Se.length===0||Se.length===1&&qe(Se[0],Me))||Ye(Wt,ft)?!1:be.call(Ue,"callee")}return $(Wt)?be.call(Ue,"object"):pt&&(Wt.type==="Identifier"||Wt.type==="ThisExpression")}var oe=.25;function qe(be,Me){let{printWidth:ft}=Me;if(ne(be))return!1;let pt=ft*oe;if(be.type==="ThisExpression"||be.type==="Identifier"&&be.name.length<=pt||Z(be)&&!ne(be.argument))return!0;let Wt=be.type==="Literal"&&"regex"in be&&be.regex.pattern||be.type==="RegExpLiteral"&&be.pattern;return Wt?Wt.length<=pt:x(be)?G(be).length<=pt:be.type==="TemplateLiteral"?be.expressions.length===0&&be.quasis[0].value.raw.length<=pt&&!be.quasis[0].value.raw.includes(`
211
- `):M(be)}function tt(be,Me,ft){if(!De(be))return!1;Me=S(Me);let pt=3;return typeof Me=="string"&&b(Me)<ft.tabWidth+pt}function Ye(be,Me){let ft=ht(be);if(f(ft)){if(ft.length>1)return!0;if(ft.length===1){let Wt=ft[0];if(Wt.type==="TSUnionType"||Wt.type==="UnionTypeAnnotation"||Wt.type==="TSIntersectionType"||Wt.type==="IntersectionTypeAnnotation"||Wt.type==="TSTypeLiteral"||Wt.type==="ObjectTypeAnnotation")return!0}let pt=be.typeParameters?"typeParameters":"typeArguments";if(k(Me(pt)))return!0}return!1}function ht(be){return be.typeParameters&&be.typeParameters.params||be.typeArguments&&be.typeArguments.params}A.exports={printVariableDeclarator:y,printAssignmentExpression:O,printAssignment:w,isArrowFunctionVariableDeclarator:Ne}}}),al=Fe({"src/language-js/print/function-parameters.js"(m,A){Ve();var{getNextNonSpaceNonCommentCharacter:f}=ye(),{printDanglingComments:b}=Lr(),{builders:{line:D,hardline:c,softline:d,group:h,indent:E,ifBreak:S},utils:{removeLines:k,willBreak:N}}=Sn(),{getFunctionParameters:_,iterateFunctionParametersPath:C,isSimpleType:x,isTestCall:M,isTypeAnnotationAFunction:X,isObjectType:ee,isObjectTypePropertyAFunction:$,hasRestParameter:Q,shouldPrintComma:G,hasComment:ne,isNextLineEmpty:Z}=lr(),{locEnd:De}=Zr(),{ArgExpansionBailout:F}=Kt(),{printFunctionTypeParameters:J}=yi();function w(B,U,q,z,re){let ce=B.getValue(),ge=_(ce),fe=re?J(B,q,U):"";if(ge.length===0)return[fe,"(",b(B,q,!0,qe=>f(q.originalText,qe,De)===")"),")"];let Ne=B.getParentNode(),ie=M(Ne),We=O(ce),me=[];if(C(B,(qe,tt)=>{let Ye=tt===ge.length-1;Ye&&ce.rest&&me.push("..."),me.push(U()),!Ye&&(me.push(","),ie||We?me.push(" "):Z(ge[tt],q)?me.push(c,c):me.push(D))}),z){if(N(fe)||N(me))throw new F;return h([k(fe),"(",k(me),")"])}let oe=ge.every(qe=>!qe.decorators);return We&&oe?[fe,"(",...me,")"]:ie?[fe,"(",...me,")"]:($(Ne)||X(Ne)||Ne.type==="TypeAlias"||Ne.type==="UnionTypeAnnotation"||Ne.type==="TSUnionType"||Ne.type==="IntersectionTypeAnnotation"||Ne.type==="FunctionTypeAnnotation"&&Ne.returnType===ce)&&ge.length===1&&ge[0].name===null&&ce.this!==ge[0]&&ge[0].typeAnnotation&&ce.typeParameters===null&&x(ge[0].typeAnnotation)&&!ce.rest?q.arrowParens==="always"?["(",...me,")"]:me:[fe,"(",E([d,...me]),S(!Q(ce)&&G(q,"all")?",":""),d,")"]}function O(B){if(!B)return!1;let U=_(B);if(U.length!==1)return!1;let[q]=U;return!ne(q)&&(q.type==="ObjectPattern"||q.type==="ArrayPattern"||q.type==="Identifier"&&q.typeAnnotation&&(q.typeAnnotation.type==="TypeAnnotation"||q.typeAnnotation.type==="TSTypeAnnotation")&&ee(q.typeAnnotation.typeAnnotation)||q.type==="FunctionTypeParam"&&ee(q.typeAnnotation)||q.type==="AssignmentPattern"&&(q.left.type==="ObjectPattern"||q.left.type==="ArrayPattern")&&(q.right.type==="Identifier"||q.right.type==="ObjectExpression"&&q.right.properties.length===0||q.right.type==="ArrayExpression"&&q.right.elements.length===0))}function y(B){let U;return B.returnType?(U=B.returnType,U.typeAnnotation&&(U=U.typeAnnotation)):B.typeAnnotation&&(U=B.typeAnnotation),U}function T(B,U){let q=y(B);if(!q)return!1;let z=B.typeParameters&&B.typeParameters.params;if(z){if(z.length>1)return!1;if(z.length===1){let re=z[0];if(re.constraint||re.default)return!1}}return _(B).length===1&&(ee(q)||N(U))}A.exports={printFunctionParameters:w,shouldHugFunctionParameters:O,shouldGroupFunctionParameters:T}}}),ol=Fe({"src/language-js/print/type-annotation.js"(m,A){Ve();var{printComments:f,printDanglingComments:b}=Lr(),{isNonEmptyArray:D}=ye(),{builders:{group:c,join:d,line:h,softline:E,indent:S,align:k,ifBreak:N}}=Sn(),_=Ya(),{locStart:C}=Zr(),{isSimpleType:x,isObjectType:M,hasLeadingOwnLineComment:X,isObjectTypePropertyAFunction:ee,shouldPrintComma:$}=lr(),{printAssignment:Q}=ko(),{printFunctionParameters:G,shouldGroupFunctionParameters:ne}=al(),{printArrayItems:Z}=_o();function De(q){if(x(q)||M(q))return!0;if(q.type==="UnionTypeAnnotation"||q.type==="TSUnionType"){let z=q.types.filter(ce=>ce.type==="VoidTypeAnnotation"||ce.type==="TSVoidKeyword"||ce.type==="NullLiteralTypeAnnotation"||ce.type==="TSNullKeyword").length,re=q.types.some(ce=>ce.type==="ObjectTypeAnnotation"||ce.type==="TSTypeLiteral"||ce.type==="GenericTypeAnnotation"||ce.type==="TSTypeReference");if(q.types.length-1===z&&re)return!0}return!1}function F(q,z,re){let ce=z.semi?";":"",ge=q.getValue(),fe=[];return fe.push("opaque type ",re("id"),re("typeParameters")),ge.supertype&&fe.push(": ",re("supertype")),ge.impltype&&fe.push(" = ",re("impltype")),fe.push(ce),fe}function J(q,z,re){let ce=z.semi?";":"",ge=q.getValue(),fe=[];ge.declare&&fe.push("declare "),fe.push("type ",re("id"),re("typeParameters"));let Ne=ge.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[Q(q,z,re,fe," =",Ne),ce]}function w(q,z,re){let ce=q.getValue(),ge=q.map(re,"types"),fe=[],Ne=!1;for(let ie=0;ie<ge.length;++ie)ie===0?fe.push(ge[ie]):M(ce.types[ie-1])&&M(ce.types[ie])?fe.push([" & ",Ne?S(ge[ie]):ge[ie]]):!M(ce.types[ie-1])&&!M(ce.types[ie])?fe.push(S([" &",h,ge[ie]])):(ie>1&&(Ne=!0),fe.push(" & ",ie>1?S(ge[ie]):ge[ie]));return c(fe)}function O(q,z,re){let ce=q.getValue(),ge=q.getParentNode(),fe=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&&q.getParentNode(1).this!==ge)&&!((ge.type==="TypeAlias"||ge.type==="VariableDeclarator"||ge.type==="TSTypeAliasDeclaration")&&X(z.originalText,ce)),Ne=De(ce),ie=q.map(oe=>{let qe=re();return Ne||(qe=k(2,qe)),f(oe,qe,z)},"types");if(Ne)return d(" | ",ie);let We=fe&&!X(z.originalText,ce),me=[N([We?h:"","| "]),d([h,"| "],ie)];return _(q,z)?c([S(me),E]):ge.type==="TupleTypeAnnotation"&&ge.types.length>1||ge.type==="TSTupleType"&&ge.elementTypes.length>1?c([S([N(["(",E]),me]),E,N(")")]):c(fe?S(me):me)}function y(q,z,re){let ce=q.getValue(),ge=[],fe=q.getParentNode(0),Ne=q.getParentNode(1),ie=q.getParentNode(2),We=ce.type==="TSFunctionType"||!((fe.type==="ObjectTypeProperty"||fe.type==="ObjectTypeInternalSlot")&&!fe.variance&&!fe.optional&&C(fe)===C(ce)||fe.type==="ObjectTypeCallProperty"||ie&&ie.type==="DeclareFunction"),me=We&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation"),oe=me&&We&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation")&&Ne.type==="ArrowFunctionExpression";ee(fe)&&(We=!0,me=!0),oe&&ge.push("(");let qe=G(q,re,z,!1,!0),tt=ce.returnType||ce.predicate||ce.typeAnnotation?[We?" => ":": ",re("returnType"),re("predicate"),re("typeAnnotation")]:"",Ye=ne(ce,tt);return ge.push(Ye?c(qe):qe),tt&&ge.push(tt),oe&&ge.push(")"),c(ge)}function T(q,z,re){let ce=q.getValue(),ge=ce.type==="TSTupleType"?"elementTypes":"types",fe=ce[ge],Ne=D(fe),ie=Ne?E:"";return c(["[",S([ie,Z(q,z,ge,re)]),N(Ne&&$(z,"all")?",":""),b(q,z,!0),ie,"]"])}function B(q,z,re){let ce=q.getValue(),ge=ce.type==="OptionalIndexedAccessType"&&ce.optional?"?.[":"[";return[re("objectType"),ge,re("indexType"),"]"]}function U(q,z,re){let ce=q.getValue();return[ce.postfix?"":re,z("typeAnnotation"),ce.postfix?re:""]}A.exports={printOpaqueType:F,printTypeAlias:J,printIntersectionType:w,printUnionType:O,printFunctionType:y,printTupleType:T,printIndexedAccessType:B,shouldHugType:De,printJSDocType:U}}}),ul=Fe({"src/language-js/print/type-parameters.js"(m,A){Ve();var{printDanglingComments:f}=Lr(),{builders:{join:b,line:D,hardline:c,softline:d,group:h,indent:E,ifBreak:S}}=Sn(),{isTestCall:k,hasComment:N,CommentCheckFlags:_,isTSXFile:C,shouldPrintComma:x,getFunctionParameters:M,isObjectType:X,getTypeScriptMappedTypeModifier:ee}=lr(),{createGroupIdMapper:$}=ye(),{shouldHugType:Q}=ol(),{isArrowFunctionVariableDeclarator:G}=ko(),ne=$("typeParameters");function Z(J,w,O,y){let T=J.getValue();if(!T[y])return"";if(!Array.isArray(T[y]))return O(y);let B=J.getNode(2),U=B&&k(B),q=J.match(re=>!(re[y].length===1&&X(re[y][0])),void 0,(re,ce)=>ce==="typeAnnotation",re=>re.type==="Identifier",G);if(T[y].length===0||!q&&(U||T[y].length===1&&(T[y][0].type==="NullableTypeAnnotation"||Q(T[y][0]))))return["<",b(", ",J.map(O,y)),De(J,w),">"];let z=T.type==="TSTypeParameterInstantiation"?"":M(T).length===1&&C(w)&&!T[y][0].constraint&&J.getParentNode().type==="ArrowFunctionExpression"?",":x(w,"all")?S(","):"";return h(["<",E([d,b([",",D],J.map(O,y))]),z,d,">"],{id:ne(T)})}function De(J,w){let O=J.getValue();if(!N(O,_.Dangling))return"";let y=!N(O,_.Line),T=f(J,w,y);return y?T:[T,c]}function F(J,w,O){let y=J.getValue(),T=[y.type==="TSTypeParameter"&&y.const?"const ":""],B=J.getParentNode();return B.type==="TSMappedType"?(B.readonly&&T.push(ee(B.readonly,"readonly")," "),T.push("[",O("name")),y.constraint&&T.push(" in ",O("constraint")),B.nameType&&T.push(" as ",J.callParent(()=>O("nameType"))),T.push("]"),T):(y.variance&&T.push(O("variance")),y.in&&T.push("in "),y.out&&T.push("out "),T.push(O("name")),y.bound&&T.push(": ",O("bound")),y.constraint&&T.push(" extends ",O("constraint")),y.default&&T.push(" = ",O("default")),T)}A.exports={printTypeParameter:F,printTypeParameters:Z,getTypeParametersGroupId:ne}}}),Lo=Fe({"src/language-js/print/property.js"(m,A){Ve();var{printComments:f}=Lr(),{printString:b,printNumber:D}=ye(),{isNumericLiteral:c,isSimpleNumber:d,isStringLiteral:h,isStringPropSafeToUnquote:E,rawText:S}=lr(),{printAssignment:k}=ko(),N=new WeakMap;function _(x,M,X){let ee=x.getNode();if(ee.computed)return["[",X("key"),"]"];let $=x.getParentNode(),{key:Q}=ee;if(M.quoteProps==="consistent"&&!N.has($)){let G=($.properties||$.body||$.members).some(ne=>!ne.computed&&ne.key&&h(ne.key)&&!E(ne,M));N.set($,G)}if((Q.type==="Identifier"||c(Q)&&d(D(S(Q)))&&String(Q.value)===D(S(Q))&&!(M.parser==="typescript"||M.parser==="babel-ts"))&&(M.parser==="json"||M.quoteProps==="consistent"&&N.get($))){let G=b(JSON.stringify(Q.type==="Identifier"?Q.name:Q.value.toString()),M);return x.call(ne=>f(ne,G,M),"key")}return E(ee,M)&&(M.quoteProps==="as-needed"||M.quoteProps==="consistent"&&!N.get($))?x.call(G=>f(G,/^\d/.test(Q.value)?D(Q.value):Q.value,M),"key"):X("key")}function C(x,M,X){return x.getValue().shorthand?X("value"):k(x,M,X,_(x,M,X),":","value")}A.exports={printProperty:C,printPropertyKey:_}}}),ll=Fe({"src/language-js/print/function.js"(m,A){Ve();var f=To(),{printDanglingComments:b,printCommentsSeparately:D}=Lr(),c=Mr(),{getNextNonSpaceNonCommentCharacterIndex:d}=ye(),{builders:{line:h,softline:E,group:S,indent:k,ifBreak:N,hardline:_,join:C,indentIfBreak:x},utils:{removeLines:M,willBreak:X}}=Sn(),{ArgExpansionBailout:ee}=Kt(),{getFunctionParameters:$,hasLeadingOwnLineComment:Q,isFlowAnnotationComment:G,isJsxNode:ne,isTemplateOnItsOwnLine:Z,shouldPrintComma:De,startsWithNoLookaheadToken:F,isBinaryish:J,isLineComment:w,hasComment:O,getComments:y,CommentCheckFlags:T,isCallLikeExpression:B,isCallExpression:U,getCallArguments:q,hasNakedLeftSide:z,getLeftSide:re}=lr(),{locEnd:ce}=Zr(),{printFunctionParameters:ge,shouldGroupFunctionParameters:fe}=al(),{printPropertyKey:Ne}=Lo(),{printFunctionTypeParameters:ie}=yi();function We(Se,He,Xe,bt){let Tt=Se.getValue(),Bt=!1;if((Tt.type==="FunctionDeclaration"||Tt.type==="FunctionExpression")&&bt&&bt.expandLastArg){let gn=Se.getParentNode();U(gn)&&q(gn).length>1&&(Bt=!0)}let on=[];Tt.type==="TSDeclareFunction"&&Tt.declare&&on.push("declare "),Tt.async&&on.push("async "),Tt.generator?on.push("function* "):on.push("function "),Tt.id&&on.push(He("id"));let Ln=ge(Se,He,Xe,Bt),Tn=Me(Se,He,Xe),an=fe(Tt,Tn);return on.push(ie(Se,Xe,He),S([an?S(Ln):Ln,Tn]),Tt.body?" ":"",He("body")),Xe.semi&&(Tt.declare||!Tt.body)&&on.push(";"),on}function me(Se,He,Xe){let bt=Se.getNode(),{kind:Tt}=bt,Bt=bt.value||bt,on=[];return!Tt||Tt==="init"||Tt==="method"||Tt==="constructor"?Bt.async&&on.push("async "):(f.ok(Tt==="get"||Tt==="set"),on.push(Tt," ")),Bt.generator&&on.push("*"),on.push(Ne(Se,He,Xe),bt.optional||bt.key.optional?"?":""),bt===Bt?on.push(oe(Se,He,Xe)):Bt.type==="FunctionExpression"?on.push(Se.call(Ln=>oe(Ln,He,Xe),"value")):on.push(Xe("value")),on}function oe(Se,He,Xe){let bt=Se.getNode(),Tt=ge(Se,Xe,He),Bt=Me(Se,Xe,He),on=fe(bt,Bt),Ln=[ie(Se,He,Xe),S([on?S(Tt):Tt,Bt])];return bt.body?Ln.push(" ",Xe("body")):Ln.push(He.semi?";":""),Ln}function qe(Se,He,Xe,bt){let Tt=Se.getValue(),Bt=[];if(Tt.async&&Bt.push("async "),be(Se,He))Bt.push(Xe(["params",0]));else{let Ln=bt&&(bt.expandLastArg||bt.expandFirstArg),Tn=Me(Se,Xe,He);if(Ln){if(X(Tn))throw new ee;Tn=S(M(Tn))}Bt.push(S([ge(Se,Xe,He,Ln,!0),Tn]))}let on=b(Se,He,!0,Ln=>{let Tn=d(He.originalText,Ln,ce);return Tn!==!1&&He.originalText.slice(Tn,Tn+2)==="=>"});return on&&Bt.push(" ",on),Bt}function tt(Se,He,Xe,bt,Tt,Bt){let on=Se.getName(),Ln=Se.getParentNode(),Tn=B(Ln)&&on==="callee",an=!!(He&&He.assignmentLayout),gn=Bt.body.type!=="BlockStatement"&&Bt.body.type!=="ObjectExpression"&&Bt.body.type!=="SequenceExpression",at=Tn&&gn||He&&He.assignmentLayout==="chain-tail-arrow-chain",Ae=Symbol("arrow-chain");return Bt.body.type==="SequenceExpression"&&(Tt=S(["(",k([E,Tt]),E,")"])),S([S(k([Tn||an?E:"",S(C([" =>",h],Xe),{shouldBreak:bt})]),{id:Ae,shouldBreak:at})," =>",x(gn?k([h,Tt]):[" ",Tt],{groupId:Ae}),Tn?N(E,"",{groupId:Ae}):""])}function Ye(Se,He,Xe,bt){let Tt=Se.getValue(),Bt=[],on=[],Ln=!1;if(function Ae(){let dt=qe(Se,He,Xe,bt);if(Bt.length===0)Bt.push(dt);else{let{leading:je,trailing:lt}=D(Se,He);Bt.push([je,dt]),on.unshift(lt)}Ln=Ln||Tt.returnType&&$(Tt).length>0||Tt.typeParameters||$(Tt).some(je=>je.type!=="Identifier"),Tt.body.type!=="ArrowFunctionExpression"||bt&&bt.expandLastArg?on.unshift(Xe("body",bt)):(Tt=Tt.body,Se.call(Ae,"body"))}(),Bt.length>1)return tt(Se,bt,Bt,Ln,on,Tt);let Tn=Bt;if(Tn.push(" =>"),!Q(He.originalText,Tt.body)&&(Tt.body.type==="ArrayExpression"||Tt.body.type==="ObjectExpression"||Tt.body.type==="BlockStatement"||ne(Tt.body)||Z(Tt.body,He.originalText)||Tt.body.type==="ArrowFunctionExpression"||Tt.body.type==="DoExpression"))return S([...Tn," ",on]);if(Tt.body.type==="SequenceExpression")return S([...Tn,S([" (",k([E,on]),E,")"])]);let an=(bt&&bt.expandLastArg||Se.getParentNode().type==="JSXExpressionContainer")&&!O(Tt),gn=bt&&bt.expandLastArg&&De(He,"all"),at=Tt.body.type==="ConditionalExpression"&&!F(Tt.body,Ae=>Ae.type==="ObjectExpression");return S([...Tn,S([k([h,at?N("","("):"",on,at?N("",")"):""]),an?[N(gn?",":""),E]:""])])}function ht(Se){let He=$(Se);return He.length===1&&!Se.typeParameters&&!O(Se,T.Dangling)&&He[0].type==="Identifier"&&!He[0].typeAnnotation&&!O(He[0])&&!He[0].optional&&!Se.predicate&&!Se.returnType}function be(Se,He){if(He.arrowParens==="always")return!1;if(He.arrowParens==="avoid"){let Xe=Se.getValue();return ht(Xe)}return!1}function Me(Se,He,Xe){let bt=Se.getValue(),Tt=He("returnType");if(bt.returnType&&G(Xe.originalText,bt.returnType))return[" /*: ",Tt," */"];let Bt=[Tt];return bt.returnType&&bt.returnType.typeAnnotation&&Bt.unshift(": "),bt.predicate&&Bt.push(bt.returnType?" ":": ",He("predicate")),Bt}function ft(Se,He,Xe){let bt=Se.getValue(),Tt=He.semi?";":"",Bt=[];bt.argument&&(Ue(He,bt.argument)?Bt.push([" (",k([_,Xe("argument")]),_,")"]):J(bt.argument)||bt.argument.type==="SequenceExpression"?Bt.push(S([N(" ("," "),k([E,Xe("argument")]),E,N(")")])):Bt.push(" ",Xe("argument")));let on=y(bt),Ln=c(on),Tn=Ln&&w(Ln);return Tn&&Bt.push(Tt),O(bt,T.Dangling)&&Bt.push(" ",b(Se,He,!0)),Tn||Bt.push(Tt),Bt}function pt(Se,He,Xe){return["return",ft(Se,He,Xe)]}function Wt(Se,He,Xe){return["throw",ft(Se,He,Xe)]}function Ue(Se,He){if(Q(Se.originalText,He))return!0;if(z(He)){let Xe=He,bt;for(;bt=re(Xe);)if(Xe=bt,Q(Se.originalText,Xe))return!0}return!1}A.exports={printFunction:We,printArrowFunction:Ye,printMethod:me,printReturnStatement:pt,printThrowStatement:Wt,printMethodInternal:oe,shouldPrintParamsWithoutParens:be}}}),qf=Fe({"src/language-js/print/decorators.js"(m,A){Ve();var{isNonEmptyArray:f,hasNewline:b}=ye(),{builders:{line:D,hardline:c,join:d,breakParent:h,group:E}}=Sn(),{locStart:S,locEnd:k}=Zr(),{getParentExportDeclaration:N}=lr();function _(ee,$,Q){let G=ee.getValue();return E([d(D,ee.map(Q,"decorators")),M(G,$)?c:D])}function C(ee,$,Q){return[d(c,ee.map(Q,"declaration","decorators")),c]}function x(ee,$,Q){let G=ee.getValue(),{decorators:ne}=G;if(!f(ne)||X(ee.getParentNode()))return;let Z=G.type==="ClassExpression"||G.type==="ClassDeclaration"||M(G,$);return[N(ee)?c:Z?h:"",d(D,ee.map(Q,"decorators")),D]}function M(ee,$){return ee.decorators.some(Q=>b($.originalText,k(Q)))}function X(ee){if(ee.type!=="ExportDefaultDeclaration"&&ee.type!=="ExportNamedDeclaration"&&ee.type!=="DeclareExportDeclaration")return!1;let $=ee.declaration&&ee.declaration.decorators;return f($)&&S(ee)===S($[0])}A.exports={printDecorators:x,printClassMemberDecorators:_,printDecoratorsBeforeExport:C,hasDecoratorsBeforeExport:X}}}),Po=Fe({"src/language-js/print/class.js"(m,A){Ve();var{isNonEmptyArray:f,createGroupIdMapper:b}=ye(),{printComments:D,printDanglingComments:c}=Lr(),{builders:{join:d,line:h,hardline:E,softline:S,group:k,indent:N,ifBreak:_}}=Sn(),{hasComment:C,CommentCheckFlags:x}=lr(),{getTypeParametersGroupId:M}=ul(),{printMethod:X}=ll(),{printOptionalToken:ee,printTypeAnnotation:$,printDefiniteToken:Q}=yi(),{printPropertyKey:G}=Lo(),{printAssignment:ne}=ko(),{printClassMemberDecorators:Z}=qf();function De(q,z,re){let ce=q.getValue(),ge=[];ce.declare&&ge.push("declare "),ce.abstract&&ge.push("abstract "),ge.push("class");let fe=ce.id&&C(ce.id,x.Trailing)||ce.typeParameters&&C(ce.typeParameters,x.Trailing)||ce.superClass&&C(ce.superClass)||f(ce.extends)||f(ce.mixins)||f(ce.implements),Ne=[],ie=[];if(ce.id&&Ne.push(" ",re("id")),Ne.push(re("typeParameters")),ce.superClass){let We=[T(q,z,re),re("superTypeParameters")],me=q.call(oe=>["extends ",D(oe,We,z)],"superClass");fe?ie.push(h,k(me)):ie.push(" ",me)}else ie.push(y(q,z,re,"extends"));if(ie.push(y(q,z,re,"mixins"),y(q,z,re,"implements")),fe){let We;O(ce)?We=[...Ne,N(ie)]:We=N([...Ne,ie]),ge.push(k(We,{id:F(ce)}))}else ge.push(...Ne,...ie);return ge.push(" ",re("body")),ge}var F=b("heritageGroup");function J(q){return _(E,"",{groupId:F(q)})}function w(q){return["superClass","extends","mixins","implements"].filter(z=>!!q[z]).length>1}function O(q){return q.typeParameters&&!C(q.typeParameters,x.Trailing|x.Line)&&!w(q)}function y(q,z,re,ce){let ge=q.getValue();if(!f(ge[ce]))return"";let fe=c(q,z,!0,Ne=>{let{marker:ie}=Ne;return ie===ce});return[O(ge)?_(" ",h,{groupId:M(ge.typeParameters)}):h,fe,fe&&E,ce,k(N([h,d([",",h],q.map(re,ce))]))]}function T(q,z,re){let ce=re("superClass");return q.getParentNode().type==="AssignmentExpression"?k(_(["(",N([S,ce]),S,")"],ce)):ce}function B(q,z,re){let ce=q.getValue(),ge=[];return f(ce.decorators)&&ge.push(Z(q,z,re)),ce.accessibility&&ge.push(ce.accessibility+" "),ce.readonly&&ge.push("readonly "),ce.declare&&ge.push("declare "),ce.static&&ge.push("static "),(ce.type==="TSAbstractMethodDefinition"||ce.abstract)&&ge.push("abstract "),ce.override&&ge.push("override "),ge.push(X(q,z,re)),ge}function U(q,z,re){let ce=q.getValue(),ge=[],fe=z.semi?";":"";return f(ce.decorators)&&ge.push(Z(q,z,re)),ce.accessibility&&ge.push(ce.accessibility+" "),ce.declare&&ge.push("declare "),ce.static&&ge.push("static "),(ce.type==="TSAbstractPropertyDefinition"||ce.type==="TSAbstractAccessorProperty"||ce.abstract)&&ge.push("abstract "),ce.override&&ge.push("override "),ce.readonly&&ge.push("readonly "),ce.variance&&ge.push(re("variance")),(ce.type==="ClassAccessorProperty"||ce.type==="AccessorProperty"||ce.type==="TSAbstractAccessorProperty")&&ge.push("accessor "),ge.push(G(q,z,re),ee(q),Q(q),$(q,z,re)),[ne(q,z,re,ge," =","value"),fe]}A.exports={printClass:De,printClassMethod:B,printClassProperty:U,printHardlineAfterHeritage:J}}}),M0=Fe({"src/language-js/print/interface.js"(m,A){Ve();var{isNonEmptyArray:f}=ye(),{builders:{join:b,line:D,group:c,indent:d,ifBreak:h}}=Sn(),{hasComment:E,identity:S,CommentCheckFlags:k}=lr(),{getTypeParametersGroupId:N}=ul(),{printTypeScriptModifiers:_}=yi();function C(x,M,X){let ee=x.getValue(),$=[];ee.declare&&$.push("declare "),ee.type==="TSInterfaceDeclaration"&&$.push(ee.abstract?"abstract ":"",_(x,M,X)),$.push("interface");let Q=[],G=[];ee.type!=="InterfaceTypeAnnotation"&&Q.push(" ",X("id"),X("typeParameters"));let ne=ee.typeParameters&&!E(ee.typeParameters,k.Trailing|k.Line);return f(ee.extends)&&G.push(ne?h(" ",D,{groupId:N(ee.typeParameters)}):D,"extends ",(ee.extends.length===1?S:d)(b([",",D],x.map(X,"extends")))),ee.id&&E(ee.id,k.Trailing)||f(ee.extends)?ne?$.push(c([...Q,d(G)])):$.push(c(d([...Q,...G]))):$.push(...Q,...G),$.push(" ",X("body")),c($)}A.exports={printInterface:C}}}),O0=Fe({"src/language-js/print/module.js"(m,A){Ve();var{isNonEmptyArray:f}=ye(),{builders:{softline:b,group:D,indent:c,join:d,line:h,ifBreak:E,hardline:S}}=Sn(),{printDanglingComments:k}=Lr(),{hasComment:N,CommentCheckFlags:_,shouldPrintComma:C,needsHardlineAfterDanglingComment:x,isStringLiteral:M,rawText:X}=lr(),{locStart:ee,hasSameLoc:$}=Zr(),{hasDecoratorsBeforeExport:Q,printDecoratorsBeforeExport:G}=qf();function ne(U,q,z){let re=U.getValue(),ce=q.semi?";":"",ge=[],{importKind:fe}=re;return ge.push("import"),fe&&fe!=="value"&&ge.push(" ",fe),ge.push(w(U,q,z),J(U,q,z),y(U,q,z),ce),ge}function Z(U,q,z){let re=U.getValue(),ce=[];Q(re)&&ce.push(G(U,q,z));let{type:ge,exportKind:fe,declaration:Ne}=re;return ce.push("export"),(re.default||ge==="ExportDefaultDeclaration")&&ce.push(" default"),N(re,_.Dangling)&&(ce.push(" ",k(U,q,!0)),x(re)&&ce.push(S)),Ne?ce.push(" ",z("declaration")):ce.push(fe==="type"?" type":"",w(U,q,z),J(U,q,z),y(U,q,z)),F(re,q)&&ce.push(";"),ce}function De(U,q,z){let re=U.getValue(),ce=q.semi?";":"",ge=[],{exportKind:fe,exported:Ne}=re;return ge.push("export"),fe==="type"&&ge.push(" type"),ge.push(" *"),Ne&&ge.push(" as ",z("exported")),ge.push(J(U,q,z),y(U,q,z),ce),ge}function F(U,q){if(!q.semi)return!1;let{type:z,declaration:re}=U,ce=U.default||z==="ExportDefaultDeclaration";if(!re)return!0;let{type:ge}=re;return!!(ce&&ge!=="ClassDeclaration"&&ge!=="FunctionDeclaration"&&ge!=="TSInterfaceDeclaration"&&ge!=="DeclareClass"&&ge!=="DeclareFunction"&&ge!=="TSDeclareFunction"&&ge!=="EnumDeclaration")}function J(U,q,z){let re=U.getValue();if(!re.source)return"";let ce=[];return O(re,q)||ce.push(" from"),ce.push(" ",z("source")),ce}function w(U,q,z){let re=U.getValue();if(O(re,q))return"";let ce=[" "];if(f(re.specifiers)){let ge=[],fe=[];U.each(()=>{let Ne=U.getValue().type;if(Ne==="ExportNamespaceSpecifier"||Ne==="ExportDefaultSpecifier"||Ne==="ImportNamespaceSpecifier"||Ne==="ImportDefaultSpecifier")ge.push(z());else if(Ne==="ExportSpecifier"||Ne==="ImportSpecifier")fe.push(z());else throw new Error(`Unknown specifier type ${JSON.stringify(Ne)}`)},"specifiers"),ce.push(d(", ",ge)),fe.length>0&&(ge.length>0&&ce.push(", "),fe.length>1||ge.length>0||re.specifiers.some(Ne=>N(Ne))?ce.push(D(["{",c([q.bracketSpacing?h:b,d([",",h],fe)]),E(C(q)?",":""),q.bracketSpacing?h:b,"}"])):ce.push(["{",q.bracketSpacing?" ":"",...fe,q.bracketSpacing?" ":"","}"]))}else ce.push("{}");return ce}function O(U,q){let{type:z,importKind:re,source:ce,specifiers:ge}=U;return z!=="ImportDeclaration"||f(ge)||re==="type"?!1:!/{\s*}/.test(q.originalText.slice(ee(U),ee(ce)))}function y(U,q,z){let re=U.getNode();return f(re.assertions)?[" assert {",q.bracketSpacing?" ":"",d(", ",U.map(z,"assertions")),q.bracketSpacing?" ":"","}"]:""}function T(U,q,z){let re=U.getNode(),{type:ce}=re,ge=[],fe=ce==="ImportSpecifier"?re.importKind:re.exportKind;fe&&fe!=="value"&&ge.push(fe," ");let Ne=ce.startsWith("Import"),ie=Ne?"imported":"local",We=Ne?"local":"exported",me=re[ie],oe=re[We],qe="",tt="";return ce==="ExportNamespaceSpecifier"||ce==="ImportNamespaceSpecifier"?qe="*":me&&(qe=z(ie)),oe&&!B(re)&&(tt=z(We)),ge.push(qe,qe&&tt?" as ":"",tt),ge}function B(U){if(U.type!=="ImportSpecifier"&&U.type!=="ExportSpecifier")return!1;let{local:q,[U.type==="ImportSpecifier"?"imported":"exported"]:z}=U;if(q.type!==z.type||!$(q,z))return!1;if(M(q))return q.value===z.value&&X(q)===X(z);switch(q.type){case"Identifier":return q.name===z.name;default:return!1}}A.exports={printImportDeclaration:ne,printExportDeclaration:Z,printExportAllDeclaration:De,printModuleSpecifier:T}}}),Wf=Fe({"src/language-js/print/object.js"(m,A){Ve();var{printDanglingComments:f}=Lr(),{builders:{line:b,softline:D,group:c,indent:d,ifBreak:h,hardline:E}}=Sn(),{getLast:S,hasNewlineInRange:k,hasNewline:N,isNonEmptyArray:_}=ye(),{shouldPrintComma:C,hasComment:x,getComments:M,CommentCheckFlags:X,isNextLineEmpty:ee}=lr(),{locStart:$,locEnd:Q}=Zr(),{printOptionalToken:G,printTypeAnnotation:ne}=yi(),{shouldHugFunctionParameters:Z}=al(),{shouldHugType:De}=ol(),{printHardlineAfterHeritage:F}=Po();function J(w,O,y){let T=O.semi?";":"",B=w.getValue(),U;B.type==="TSTypeLiteral"?U="members":B.type==="TSInterfaceBody"?U="body":U="properties";let q=B.type==="ObjectTypeAnnotation",z=[U];q&&z.push("indexers","callProperties","internalSlots");let re=z.map(be=>B[be][0]).sort((be,Me)=>$(be)-$(Me))[0],ce=w.getParentNode(0),ge=q&&ce&&(ce.type==="InterfaceDeclaration"||ce.type==="DeclareInterface"||ce.type==="DeclareClass")&&w.getName()==="body",fe=B.type==="TSInterfaceBody"||ge||B.type==="ObjectPattern"&&ce.type!=="FunctionDeclaration"&&ce.type!=="FunctionExpression"&&ce.type!=="ArrowFunctionExpression"&&ce.type!=="ObjectMethod"&&ce.type!=="ClassMethod"&&ce.type!=="ClassPrivateMethod"&&ce.type!=="AssignmentPattern"&&ce.type!=="CatchClause"&&B.properties.some(be=>be.value&&(be.value.type==="ObjectPattern"||be.value.type==="ArrayPattern"))||B.type!=="ObjectPattern"&&re&&k(O.originalText,$(B),$(re)),Ne=ge?";":B.type==="TSInterfaceBody"||B.type==="TSTypeLiteral"?h(T,";"):",",ie=B.type==="RecordExpression"?"#{":B.exact?"{|":"{",We=B.exact?"|}":"}",me=[];for(let be of z)w.each(Me=>{let ft=Me.getValue();me.push({node:ft,printed:y(),loc:$(ft)})},be);z.length>1&&me.sort((be,Me)=>be.loc-Me.loc);let oe=[],qe=me.map(be=>{let Me=[...oe,c(be.printed)];return oe=[Ne,b],(be.node.type==="TSPropertySignature"||be.node.type==="TSMethodSignature"||be.node.type==="TSConstructSignatureDeclaration")&&x(be.node,X.PrettierIgnore)&&oe.shift(),ee(be.node,O)&&oe.push(E),Me});if(B.inexact){let be;if(x(B,X.Dangling)){let Me=x(B,X.Line);be=[f(w,O,!0),Me||N(O.originalText,Q(S(M(B))))?E:b,"..."]}else be=["..."];qe.push([...oe,...be])}let tt=S(B[U]),Ye=!(B.inexact||tt&&tt.type==="RestElement"||tt&&(tt.type==="TSPropertySignature"||tt.type==="TSCallSignatureDeclaration"||tt.type==="TSMethodSignature"||tt.type==="TSConstructSignatureDeclaration")&&x(tt,X.PrettierIgnore)),ht;if(qe.length===0){if(!x(B,X.Dangling))return[ie,We,ne(w,O,y)];ht=c([ie,f(w,O),D,We,G(w),ne(w,O,y)])}else ht=[ge&&_(B.properties)?F(ce):"",ie,d([O.bracketSpacing?b:D,...qe]),h(Ye&&(Ne!==","||C(O))?Ne:""),O.bracketSpacing?b:D,We,G(w),ne(w,O,y)];return w.match(be=>be.type==="ObjectPattern"&&!be.decorators,(be,Me,ft)=>Z(be)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&ft===0)||w.match(De,(be,Me)=>Me==="typeAnnotation",(be,Me)=>Me==="typeAnnotation",(be,Me,ft)=>Z(be)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&ft===0)||!fe&&w.match(be=>be.type==="ObjectPattern",be=>be.type==="AssignmentExpression"||be.type==="VariableDeclarator")?ht:c(ht,{shouldBreak:fe})}A.exports={printObject:J}}}),r2=Fe({"src/language-js/print/flow.js"(m,A){Ve();var f=To(),{printDanglingComments:b}=Lr(),{printString:D,printNumber:c}=ye(),{builders:{hardline:d,softline:h,group:E,indent:S}}=Sn(),{getParentExportDeclaration:k,isFunctionNotation:N,isGetterOrSetter:_,rawText:C,shouldPrintComma:x}=lr(),{locStart:M,locEnd:X}=Zr(),{replaceTextEndOfLine:ee}=Qs(),{printClass:$}=Po(),{printOpaqueType:Q,printTypeAlias:G,printIntersectionType:ne,printUnionType:Z,printFunctionType:De,printTupleType:F,printIndexedAccessType:J}=ol(),{printInterface:w}=M0(),{printTypeParameter:O,printTypeParameters:y}=ul(),{printExportDeclaration:T,printExportAllDeclaration:B}=O0(),{printArrayItems:U}=_o(),{printObject:q}=Wf(),{printPropertyKey:z}=Lo(),{printOptionalToken:re,printTypeAnnotation:ce,printRestSpread:ge}=yi();function fe(ie,We,me){let oe=ie.getValue(),qe=We.semi?";":"",tt=[];switch(oe.type){case"DeclareClass":return Ne(ie,$(ie,We,me));case"DeclareFunction":return Ne(ie,["function ",me("id"),oe.predicate?" ":"",me("predicate"),qe]);case"DeclareModule":return Ne(ie,["module ",me("id")," ",me("body")]);case"DeclareModuleExports":return Ne(ie,["module.exports",": ",me("typeAnnotation"),qe]);case"DeclareVariable":return Ne(ie,["var ",me("id"),qe]);case"DeclareOpaqueType":return Ne(ie,Q(ie,We,me));case"DeclareInterface":return Ne(ie,w(ie,We,me));case"DeclareTypeAlias":return Ne(ie,G(ie,We,me));case"DeclareExportDeclaration":return Ne(ie,T(ie,We,me));case"DeclareExportAllDeclaration":return Ne(ie,B(ie,We,me));case"OpaqueType":return Q(ie,We,me);case"TypeAlias":return G(ie,We,me);case"IntersectionTypeAnnotation":return ne(ie,We,me);case"UnionTypeAnnotation":return Z(ie,We,me);case"FunctionTypeAnnotation":return De(ie,We,me);case"TupleTypeAnnotation":return F(ie,We,me);case"GenericTypeAnnotation":return[me("id"),y(ie,We,me,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return J(ie,We,me);case"TypeAnnotation":return me("typeAnnotation");case"TypeParameter":return O(ie,We,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 Ye=null;switch(oe.type){case"EnumBooleanBody":Ye="boolean";break;case"EnumNumberBody":Ye="number";break;case"EnumStringBody":Ye="string";break;case"EnumSymbolBody":Ye="symbol";break}tt.push("of ",Ye," ")}if(oe.members.length===0&&!oe.hasUnknownMembers)tt.push(E(["{",b(ie,We),h,"}"]));else{let Ye=oe.members.length>0?[d,U(ie,We,"members",me),oe.hasUnknownMembers||x(We)?",":""]:[];tt.push(E(["{",S([...Ye,...oe.hasUnknownMembers?[d,"..."]:[]]),b(ie,We,!0),d,"}"]))}return tt}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 Ye=oe.name?me("name"):ie.getParentNode().this===oe?"this":"";return[Ye,re(ie),Ye?": ":"",me("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return w(ie,We,me);case"ClassImplements":case"InterfaceExtends":return[me("id"),me("typeParameters")];case"NullableTypeAnnotation":return["?",me("typeAnnotation")];case"Variance":{let{kind:Ye}=oe;return f.ok(Ye==="plus"||Ye==="minus"),Ye==="plus"?"+":"-"}case"ObjectTypeCallProperty":return oe.static&&tt.push("static "),tt.push(me("value")),tt;case"ObjectTypeIndexer":return[oe.static?"static ":"",oe.variance?me("variance"):"","[",me("id"),oe.id?": ":"",me("key"),"]: ",me("value")];case"ObjectTypeProperty":{let Ye="";return oe.proto?Ye="proto ":oe.static&&(Ye="static "),[Ye,_(oe)?oe.kind+" ":"",oe.variance?me("variance"):"",z(ie,We,me),re(ie),N(oe)?"":": ",me("value")]}case"ObjectTypeAnnotation":return q(ie,We,me);case"ObjectTypeInternalSlot":return[oe.static?"static ":"","[[",me("id"),"]]",re(ie),oe.method?"":": ",me("value")];case"ObjectTypeSpreadProperty":return ge(ie,We,me);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[me("qualification"),".",me("id")];case"StringLiteralTypeAnnotation":return ee(D(C(oe),We));case"NumberLiteralTypeAnnotation":f.strictEqual(typeof oe.value,"number");case"BigIntLiteralTypeAnnotation":return oe.extra?c(oe.extra.raw):c(oe.raw);case"TypeCastExpression":return["(",me("expression"),ce(ie,We,me),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Ye=y(ie,We,me,"params");if(We.parser==="flow"){let ht=M(oe),be=X(oe),Me=We.originalText.lastIndexOf("/*",ht),ft=We.originalText.indexOf("*/",be);if(Me!==-1&&ft!==-1){let pt=We.originalText.slice(Me+2,ft).trim();if(pt.startsWith("::")&&!pt.includes("/*")&&!pt.includes("*/"))return["/*:: ",Ye," */"]}}return Ye}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 Ne(ie,We){let me=k(ie);return me?(f.strictEqual(me.type,"DeclareExportDeclaration"),We):["declare ",We]}A.exports={printFlow:fe}}}),i2=Fe({"src/language-js/utils/is-ts-keyword-type.js"(m,A){Ve();function f(b){let{type:D}=b;return D.startsWith("TS")&&D.endsWith("Keyword")}A.exports=f}}),j0=Fe({"src/language-js/print/ternary.js"(m,A){Ve();var{hasNewlineInRange:f}=ye(),{isJsxNode:b,getComments:D,isCallExpression:c,isMemberExpression:d,isTSTypeExpression:h}=lr(),{locStart:E,locEnd:S}=Zr(),k=ea(),{builders:{line:N,softline:_,group:C,indent:x,align:M,ifBreak:X,dedent:ee,breakParent:$}}=Sn();function Q(F){let J=[F];for(let w=0;w<J.length;w++){let O=J[w];for(let y of["test","consequent","alternate"]){let T=O[y];if(b(T))return!0;T.type==="ConditionalExpression"&&J.push(T)}}return!1}function G(F,J,w){let O=F.getValue(),y=O.type==="ConditionalExpression",T=y?"alternate":"falseType",B=F.getParentNode(),U=y?w("test"):[w("checkType")," ","extends"," ",w("extendsType")];return B.type===O.type&&B[T]===O?M(2,U):U}var ne=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function Z(F){let J=F.getValue();if(J.type!=="ConditionalExpression")return!1;let w,O=J;for(let y=0;!w;y++){let T=F.getParentNode(y);if(c(T)&&T.callee===O||d(T)&&T.object===O||T.type==="TSNonNullExpression"&&T.expression===O){O=T;continue}T.type==="NewExpression"&&T.callee===O||h(T)&&T.expression===O?(w=F.getParentNode(y+1),O=T):w=T}return O===J?!1:w[ne.get(w.type)]===O}function De(F,J,w){let O=F.getValue(),y=O.type==="ConditionalExpression",T=y?"consequent":"trueType",B=y?"alternate":"falseType",U=y?["test"]:["checkType","extendsType"],q=O[T],z=O[B],re=[],ce=!1,ge=F.getParentNode(),fe=ge.type===O.type&&U.some(ft=>ge[ft]===O),Ne=ge.type===O.type&&!fe,ie,We,me=0;do We=ie||O,ie=F.getParentNode(me),me++;while(ie&&ie.type===O.type&&U.every(ft=>ie[ft]!==We));let oe=ie||ge,qe=We;if(y&&(b(O[U[0]])||b(q)||b(z)||Q(qe))){ce=!0,Ne=!0;let ft=Wt=>[X("("),x([_,Wt]),_,X(")")],pt=Wt=>Wt.type==="NullLiteral"||Wt.type==="Literal"&&Wt.value===null||Wt.type==="Identifier"&&Wt.name==="undefined";re.push(" ? ",pt(q)?w(T):ft(w(T))," : ",z.type===O.type||pt(z)?w(B):ft(w(B)))}else{let ft=[N,"? ",q.type===O.type?X("","("):"",M(2,w(T)),q.type===O.type?X("",")"):"",N,": ",z.type===O.type?w(B):M(2,w(B))];re.push(ge.type!==O.type||ge[B]===O||fe?ft:J.useTabs?ee(x(ft)):M(Math.max(0,J.tabWidth-2),ft))}let tt=[...U.map(ft=>D(O[ft])),D(q),D(z)].flat().some(ft=>k(ft)&&f(J.originalText,E(ft),S(ft))),Ye=ft=>ge===oe?C(ft,{shouldBreak:tt}):tt?[ft,$]:ft,ht=!ce&&(d(ge)||ge.type==="NGPipeExpression"&&ge.left===O)&&!ge.computed,be=Z(F),Me=Ye([G(F,J,w),Ne?re:x(re),y&&ht&&!be?_:""]);return fe||be?C([x([_,Me]),_]):Me}A.exports={printTernary:De}}}),$0=Fe({"src/language-js/print/statement.js"(m,A){Ve();var{builders:{hardline:f}}=Sn(),b=Ya(),{getLeftSidePathName:D,hasNakedLeftSide:c,isJsxNode:d,isTheOnlyJsxElementInMarkdown:h,hasComment:E,CommentCheckFlags:S,isNextLineEmpty:k}=lr(),{shouldPrintParamsWithoutParens:N}=ll();function _(G,ne,Z,De){let F=G.getValue(),J=[],w=F.type==="ClassBody",O=C(F[De]);return G.each((y,T,B)=>{let U=y.getValue();if(U.type==="EmptyStatement")return;let q=Z();!ne.semi&&!w&&!h(ne,y)&&x(y,ne)?E(U,S.Leading)?J.push(Z([],{needsSemi:!0})):J.push(";",q):J.push(q),!ne.semi&&w&&$(U)&&Q(U,B[T+1])&&J.push(";"),U!==O&&(J.push(f),k(U,ne)&&J.push(f))},De),J}function C(G){for(let ne=G.length-1;ne>=0;ne--){let Z=G[ne];if(Z.type!=="EmptyStatement")return Z}}function x(G,ne){return G.getNode().type!=="ExpressionStatement"?!1:G.call(Z=>M(Z,ne),"expression")}function M(G,ne){let Z=G.getValue();switch(Z.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!N(G,ne))return!0;break}case"UnaryExpression":{let{prefix:De,operator:F}=Z;if(De&&(F==="+"||F==="-"))return!0;break}case"BindExpression":{if(!Z.object)return!0;break}case"Literal":{if(Z.regex)return!0;break}default:if(d(Z))return!0}return b(G,ne)?!0:c(Z)?G.call(De=>M(De,ne),...D(G,Z)):!1}function X(G,ne,Z){return _(G,ne,Z,"body")}function ee(G,ne,Z){return _(G,ne,Z,"consequent")}var $=G=>{let{type:ne}=G;return ne==="ClassProperty"||ne==="PropertyDefinition"||ne==="ClassPrivateProperty"||ne==="ClassAccessorProperty"||ne==="AccessorProperty"||ne==="TSAbstractPropertyDefinition"||ne==="TSAbstractAccessorProperty"};function Q(G,ne){let{type:Z,name:De}=G.key;if(!G.computed&&Z==="Identifier"&&(De==="static"||De==="get"||De==="set"||De==="accessor")&&!G.value&&!G.typeAnnotation)return!0;if(!ne||ne.static||ne.accessibility)return!1;if(!ne.computed){let F=ne.key&&ne.key.name;if(F==="in"||F==="instanceof")return!0}if($(ne)&&ne.variance&&!ne.static&&!ne.declare)return!0;switch(ne.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return ne.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((ne.value?ne.value.async:ne.async)||ne.kind==="get"||ne.kind==="set")return!1;let F=ne.value?ne.value.generator:ne.generator;return!!(ne.computed||F)}case"TSIndexSignature":return!0}return!1}A.exports={printBody:X,printSwitchCaseConsequent:ee}}}),R0=Fe({"src/language-js/print/block.js"(m,A){Ve();var{printDanglingComments:f}=Lr(),{isNonEmptyArray:b}=ye(),{builders:{hardline:D,indent:c}}=Sn(),{hasComment:d,CommentCheckFlags:h,isNextLineEmpty:E}=lr(),{printHardlineAfterHeritage:S}=Po(),{printBody:k}=$0();function N(C,x,M){let X=C.getValue(),ee=[];if(X.type==="StaticBlock"&&ee.push("static "),X.type==="ClassBody"&&b(X.body)){let Q=C.getParentNode();ee.push(S(Q))}ee.push("{");let $=_(C,x,M);if($)ee.push(c([D,$]),D);else{let Q=C.getParentNode(),G=C.getParentNode(1);Q.type==="ArrowFunctionExpression"||Q.type==="FunctionExpression"||Q.type==="FunctionDeclaration"||Q.type==="ObjectMethod"||Q.type==="ClassMethod"||Q.type==="ClassPrivateMethod"||Q.type==="ForStatement"||Q.type==="WhileStatement"||Q.type==="DoWhileStatement"||Q.type==="DoExpression"||Q.type==="CatchClause"&&!G.finalizer||Q.type==="TSModuleDeclaration"||Q.type==="TSDeclareFunction"||X.type==="StaticBlock"||X.type==="ClassBody"||ee.push(D)}return ee.push("}"),ee}function _(C,x,M){let X=C.getValue(),ee=b(X.directives),$=X.body.some(ne=>ne.type!=="EmptyStatement"),Q=d(X,h.Dangling);if(!ee&&!$&&!Q)return"";let G=[];if(ee&&C.each((ne,Z,De)=>{G.push(M()),(Z<De.length-1||$||Q)&&(G.push(D),E(ne.getValue(),x)&&G.push(D))},"directives"),$&&G.push(k(C,x,M)),Q&&G.push(f(C,x,!0)),X.type==="Program"){let ne=C.getParentNode();(!ne||ne.type!=="ModuleExpression")&&G.push(D)}return G}A.exports={printBlock:N,printBlockBody:_}}}),s2=Fe({"src/language-js/print/typescript.js"(m,A){Ve();var{printDanglingComments:f}=Lr(),{hasNewlineInRange:b}=ye(),{builders:{join:D,line:c,hardline:d,softline:h,group:E,indent:S,conditionalGroup:k,ifBreak:N}}=Sn(),{isStringLiteral:_,getTypeScriptMappedTypeModifier:C,shouldPrintComma:x,isCallExpression:M,isMemberExpression:X}=lr(),ee=i2(),{locStart:$,locEnd:Q}=Zr(),{printOptionalToken:G,printTypeScriptModifiers:ne}=yi(),{printTernary:Z}=j0(),{printFunctionParameters:De,shouldGroupFunctionParameters:F}=al(),{printTemplateLiteral:J}=Ja(),{printArrayItems:w}=_o(),{printObject:O}=Wf(),{printClassProperty:y,printClassMethod:T}=Po(),{printTypeParameter:B,printTypeParameters:U}=ul(),{printPropertyKey:q}=Lo(),{printFunction:z,printMethodInternal:re}=ll(),{printInterface:ce}=M0(),{printBlock:ge}=R0(),{printTypeAlias:fe,printIntersectionType:Ne,printUnionType:ie,printFunctionType:We,printTupleType:me,printIndexedAccessType:oe,printJSDocType:qe}=ol();function tt(Ye,ht,be){let Me=Ye.getValue();if(!Me.type.startsWith("TS"))return;if(ee(Me))return Me.type.slice(2,-7).toLowerCase();let ft=ht.semi?";":"",pt=[];switch(Me.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Wt=!(Me.expression.type==="ArrayExpression"||Me.expression.type==="ObjectExpression"),Ue=E(["<",S([h,be("typeAnnotation")]),h,">"]),Se=[N("("),S([h,be("expression")]),h,N(")")];return Wt?k([[Ue,be("expression")],[Ue,E(Se,{shouldBreak:!0})],[Ue,be("expression")]]):E([Ue,be("expression")])}case"TSDeclareFunction":return z(Ye,be,ht);case"TSExportAssignment":return["export = ",be("expression"),ft];case"TSModuleBlock":return ge(Ye,ht,be);case"TSInterfaceBody":case"TSTypeLiteral":return O(Ye,ht,be);case"TSTypeAliasDeclaration":return fe(Ye,ht,be);case"TSQualifiedName":return D(".",[be("left"),be("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return T(Ye,ht,be);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return y(Ye,ht,be);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return pt.push(be("expression")),Me.typeParameters&&pt.push(be("typeParameters")),pt;case"TSTemplateLiteralType":return J(Ye,be,ht);case"TSNamedTupleMember":return[be("label"),Me.optional?"?":"",": ",be("elementType")];case"TSRestType":return["...",be("typeAnnotation")];case"TSOptionalType":return[be("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return ce(Ye,ht,be);case"TSClassImplements":return[be("expression"),be("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return U(Ye,ht,be,"params");case"TSTypeParameter":return B(Ye,ht,be);case"TSSatisfiesExpression":case"TSAsExpression":{let Wt=Me.type==="TSAsExpression"?"as":"satisfies";pt.push(be("expression"),` ${Wt} `,be("typeAnnotation"));let Ue=Ye.getParentNode();return M(Ue)&&Ue.callee===Me||X(Ue)&&Ue.object===Me?E([S([h,...pt]),h]):pt}case"TSArrayType":return[be("elementType"),"[]"];case"TSPropertySignature":return Me.readonly&&pt.push("readonly "),pt.push(q(Ye,ht,be),G(Ye)),Me.typeAnnotation&&pt.push(": ",be("typeAnnotation")),Me.initializer&&pt.push(" = ",be("initializer")),pt;case"TSParameterProperty":return Me.accessibility&&pt.push(Me.accessibility+" "),Me.export&&pt.push("export "),Me.static&&pt.push("static "),Me.override&&pt.push("override "),Me.readonly&&pt.push("readonly "),pt.push(be("parameter")),pt;case"TSTypeQuery":return["typeof ",be("exprName"),be("typeParameters")];case"TSIndexSignature":{let Wt=Ye.getParentNode(),Ue=Me.parameters.length>1?N(x(ht)?",":""):"",Se=E([S([h,D([", ",h],Ye.map(be,"parameters"))]),Ue,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"):"",Wt.type==="ClassBody"?ft:""]}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")]:"",U(Ye,ht,be,"typeParameters")];case"TSLiteralType":return be("literal");case"TSIndexedAccessType":return oe(Ye,ht,be);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Me.type==="TSConstructorType"&&Me.abstract&&pt.push("abstract "),Me.type!=="TSCallSignatureDeclaration"&&pt.push("new "),pt.push(E(De(Ye,be,ht,!1,!0))),Me.returnType||Me.typeAnnotation){let Wt=Me.type==="TSConstructorType";pt.push(Wt?" => ":": ",be("returnType"),be("typeAnnotation"))}return pt}case"TSTypeOperator":return[Me.operator," ",be("typeAnnotation")];case"TSMappedType":{let Wt=b(ht.originalText,$(Me),Q(Me));return E(["{",S([ht.bracketSpacing?c:h,be("typeParameter"),Me.optional?C(Me.optional,"?"):"",Me.typeAnnotation?": ":"",be("typeAnnotation"),N(ft)]),f(Ye,ht,!0),ht.bracketSpacing?c:h,"}"],{shouldBreak:Wt})}case"TSMethodSignature":{let Wt=Me.kind&&Me.kind!=="method"?`${Me.kind} `:"";pt.push(Me.accessibility?[Me.accessibility," "]:"",Wt,Me.export?"export ":"",Me.static?"static ":"",Me.readonly?"readonly ":"",Me.abstract?"abstract ":"",Me.declare?"declare ":"",Me.computed?"[":"",be("key"),Me.computed?"]":"",G(Ye));let Ue=De(Ye,be,ht,!1,!0),Se=Me.returnType?"returnType":"typeAnnotation",He=Me[Se],Xe=He?be(Se):"",bt=F(Me,Xe);return pt.push(bt?E(Ue):Ue),He&&pt.push(": ",E(Xe)),E(pt)}case"TSNamespaceExportDeclaration":return pt.push("export as namespace ",be("id")),ht.semi&&pt.push(";"),E(pt);case"TSEnumDeclaration":return Me.declare&&pt.push("declare "),Me.modifiers&&pt.push(ne(Ye,ht,be)),Me.const&&pt.push("const "),pt.push("enum ",be("id")," "),Me.members.length===0?pt.push(E(["{",f(Ye,ht),h,"}"])):pt.push(E(["{",S([d,w(Ye,ht,"members",be),x(ht,"es5")?",":""]),f(Ye,ht,!0),d,"}"])),pt;case"TSEnumMember":return Me.computed?pt.push("[",be("id"),"]"):pt.push(be("id")),Me.initializer&&pt.push(" = ",be("initializer")),pt;case"TSImportEqualsDeclaration":return Me.isExport&&pt.push("export "),pt.push("import "),Me.importKind&&Me.importKind!=="value"&&pt.push(Me.importKind," "),pt.push(be("id")," = ",be("moduleReference")),ht.semi&&pt.push(";"),E(pt);case"TSExternalModuleReference":return["require(",be("expression"),")"];case"TSModuleDeclaration":{let Wt=Ye.getParentNode(),Ue=_(Me.id),Se=Wt.type==="TSModuleDeclaration",He=Me.body&&Me.body.type==="TSModuleDeclaration";if(Se)pt.push(".");else{Me.declare&&pt.push("declare "),pt.push(ne(Ye,ht,be));let Xe=ht.originalText.slice($(Me),$(Me.id));Me.id.type==="Identifier"&&Me.id.name==="global"&&!/namespace|module/.test(Xe)||pt.push(Ue||/(?:^|\s)module(?:\s|$)/.test(Xe)?"module ":"namespace ")}return pt.push(be("id")),He?pt.push(be("body")):Me.body?pt.push(" ",E(be("body"))):pt.push(ft),pt}case"TSConditionalType":return Z(Ye,ht,be);case"TSInferType":return["infer"," ",be("typeParameter")];case"TSIntersectionType":return Ne(Ye,ht,be);case"TSUnionType":return ie(Ye,ht,be);case"TSFunctionType":return We(Ye,ht,be);case"TSTupleType":return me(Ye,ht,be);case"TSTypeReference":return[be("typeName"),U(Ye,ht,be,"typeParameters")];case"TSTypeAnnotation":return be("typeAnnotation");case"TSEmptyBodyFunctionExpression":return re(Ye,ht,be);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return qe(Ye,be,"?");case"TSJSDocNonNullableType":return qe(Ye,be,"!");case"TSInstantiationExpression":return[be("expression"),be("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(Me.type)}.`)}}A.exports={printTypescript:tt}}}),a2=Fe({"src/language-js/print/comment.js"(m,A){Ve();var{hasNewline:f}=ye(),{builders:{join:b,hardline:D},utils:{replaceTextEndOfLine:c}}=Sn(),{isLineComment:d}=lr(),{locStart:h,locEnd:E}=Zr(),S=ea();function k(C,x){let M=C.getValue();if(d(M))return x.originalText.slice(h(M),E(M)).trimEnd();if(S(M)){if(N(M)){let $=_(M);return M.trailing&&!f(x.originalText,h(M),{backwards:!0})?[D,$]:$}let X=E(M),ee=x.originalText.slice(X-3,X)==="*-/";return["/*",c(M.value),ee?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(M))}function N(C){let x=`*${C.value}*`.split(`
212
- `);return x.length>1&&x.every(M=>M.trim()[0]==="*")}function _(C){let x=C.value.split(`
213
- `);return["/*",b(D,x.map((M,X)=>X===0?M.trimEnd():" "+(X<x.length-1?M.trim():M.trimStart()))),"*/"]}A.exports={printComment:k}}}),o2=Fe({"src/language-js/print/literal.js"(m,A){Ve();var{printString:f,printNumber:b}=ye(),{replaceTextEndOfLine:D}=Qs(),{printDirective:c}=yi();function d(k,N){let _=k.getNode();switch(_.type){case"RegExpLiteral":return S(_);case"BigIntLiteral":return E(_.bigint||_.extra.raw);case"NumericLiteral":return b(_.extra.raw);case"StringLiteral":return D(f(_.extra.raw,N));case"NullLiteral":return"null";case"BooleanLiteral":return String(_.value);case"DecimalLiteral":return b(_.value)+"m";case"Literal":{if(_.regex)return S(_.regex);if(_.bigint)return E(_.raw);if(_.decimal)return b(_.decimal)+"m";let{value:C}=_;return typeof C=="number"?b(_.raw):typeof C=="string"?h(k)?c(_.raw,N):D(f(_.raw,N)):String(C)}}}function h(k){if(k.getName()!=="expression")return;let N=k.getParentNode();return N.type==="ExpressionStatement"&&N.directive}function E(k){return k.toLowerCase()}function S(k){let{pattern:N,flags:_}=k;return _=[..._].sort().join(""),`/${N}/${_}`}A.exports={printLiteral:d}}}),u2=Fe({"src/language-js/printer-estree.js"(m,A){Ve();var{printDanglingComments:f}=Lr(),{hasNewline:b}=ye(),{builders:{join:D,line:c,hardline:d,softline:h,group:E,indent:S},utils:{replaceTextEndOfLine:k}}=Sn(),N=qv(),_=Wv(),{insertPragma:C}=_0(),x=k0(),M=Ya(),X=L0(),{hasFlowShorthandAnnotationComment:ee,hasComment:$,CommentCheckFlags:Q,isTheOnlyJsxElementInMarkdown:G,isLineComment:ne,isNextLineEmpty:Z,needsHardlineAfterDanglingComment:De,hasIgnoreComment:F,isCallExpression:J,isMemberExpression:w,markerForIfWithoutBlockAndSameLineComment:O}=lr(),{locStart:y,locEnd:T}=Zr(),B=ea(),{printHtmlBinding:U,isVueEventBindingExpression:q}=Zv(),{printAngular:z}=e2(),{printJsx:re,hasJsxIgnoreComment:ce}=t2(),{printFlow:ge}=r2(),{printTypescript:fe}=s2(),{printOptionalToken:Ne,printBindExpressionCallee:ie,printTypeAnnotation:We,adjustClause:me,printRestSpread:oe,printDefiniteToken:qe,printDirective:tt}=yi(),{printImportDeclaration:Ye,printExportDeclaration:ht,printExportAllDeclaration:be,printModuleSpecifier:Me}=O0(),{printTernary:ft}=j0(),{printTemplateLiteral:pt}=Ja(),{printArray:Wt}=_o(),{printObject:Ue}=Wf(),{printClass:Se,printClassMethod:He,printClassProperty:Xe}=Po(),{printProperty:bt}=Lo(),{printFunction:Tt,printArrowFunction:Bt,printMethod:on,printReturnStatement:Ln,printThrowStatement:Tn}=ll(),{printCallExpression:an}=I0(),{printVariableDeclarator:gn,printAssignmentExpression:at}=ko(),{printBinaryishExpression:Ae}=Uf(),{printSwitchCaseConsequent:dt}=$0(),{printMemberExpression:je}=B0(),{printBlock:lt,printBlockBody:Qt}=R0(),{printComment:Vt}=a2(),{printLiteral:gt}=o2(),{printDecorators:V}=qf();function Te($t,sn,It,br){let tn=nt($t,sn,It,br);if(!tn)return"";let gr=$t.getValue(),{type:Zt}=gr;if(Zt==="ClassMethod"||Zt==="ClassPrivateMethod"||Zt==="ClassProperty"||Zt==="ClassAccessorProperty"||Zt==="AccessorProperty"||Zt==="TSAbstractAccessorProperty"||Zt==="PropertyDefinition"||Zt==="TSAbstractPropertyDefinition"||Zt==="ClassPrivateProperty"||Zt==="MethodDefinition"||Zt==="TSAbstractMethodDefinition"||Zt==="TSDeclareMethod")return tn;let vn=[tn],_n=V($t,sn,It),rr=gr.type==="ClassExpression"&&_n;if(_n&&(vn=[..._n,tn],!rr))return E(vn);if(!M($t,sn))return br&&br.needsSemi&&vn.unshift(";"),vn.length===1&&vn[0]===tn?tn:vn;if(rr&&(vn=[S([c,...vn])]),vn.unshift("("),br&&br.needsSemi&&vn.unshift(";"),ee(gr)){let[nn]=gr.trailingComments;vn.push(" /*",nn.value.trimStart(),"*/"),nn.printed=!0}return rr&&vn.push(c),vn.push(")"),vn}function nt($t,sn,It,br){let tn=$t.getValue(),gr=sn.semi?";":"";if(!tn)return"";if(typeof tn=="string")return tn;for(let vn of[gt,U,z,re,ge,fe]){let _n=vn($t,sn,It);if(typeof _n<"u")return _n}let Zt=[];switch(tn.type){case"JsExpressionRoot":return It("node");case"JsonRoot":return[It("node"),d];case"File":return tn.program&&tn.program.interpreter&&Zt.push(It(["program","interpreter"])),Zt.push(It("program")),Zt;case"Program":return Qt($t,sn,It);case"EmptyStatement":return"";case"ExpressionStatement":{if(sn.parser==="__vue_event_binding"||sn.parser==="__vue_ts_event_binding"){let _n=$t.getParentNode();if(_n.type==="Program"&&_n.body.length===1&&_n.body[0]===tn)return[It("expression"),q(tn.expression)?";":""]}let vn=f($t,sn,!0,_n=>{let{marker:rr}=_n;return rr===O});return[It("expression"),G(sn,$t)?"":gr,vn?[" ",vn]:""]}case"ParenthesizedExpression":return!$(tn.expression)&&(tn.expression.type==="ObjectExpression"||tn.expression.type==="ArrayExpression")?["(",It("expression"),")"]:E(["(",S([h,It("expression")]),h,")"]);case"AssignmentExpression":return at($t,sn,It);case"VariableDeclarator":return gn($t,sn,It);case"BinaryExpression":case"LogicalExpression":return Ae($t,sn,It);case"AssignmentPattern":return[It("left")," = ",It("right")];case"OptionalMemberExpression":case"MemberExpression":return je($t,sn,It);case"MetaProperty":return[It("meta"),".",It("property")];case"BindExpression":return tn.object&&Zt.push(It("object")),Zt.push(E(S([h,ie($t,sn,It)]))),Zt;case"Identifier":return[tn.name,Ne($t),qe($t),We($t,sn,It)];case"V8IntrinsicIdentifier":return["%",tn.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return oe($t,sn,It);case"FunctionDeclaration":case"FunctionExpression":return Tt($t,It,sn,br);case"ArrowFunctionExpression":return Bt($t,sn,It,br);case"YieldExpression":return Zt.push("yield"),tn.delegate&&Zt.push("*"),tn.argument&&Zt.push(" ",It("argument")),Zt;case"AwaitExpression":{if(Zt.push("await"),tn.argument){Zt.push(" ",It("argument"));let vn=$t.getParentNode();if(J(vn)&&vn.callee===tn||w(vn)&&vn.object===tn){Zt=[S([h,...Zt]),h];let _n=$t.findAncestor(rr=>rr.type==="AwaitExpression"||rr.type==="BlockStatement");if(!_n||_n.type!=="AwaitExpression")return E(Zt)}}return Zt}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return ht($t,sn,It);case"ExportAllDeclaration":return be($t,sn,It);case"ImportDeclaration":return Ye($t,sn,It);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Me($t,sn,It);case"ImportAttribute":return[It("key"),": ",It("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return lt($t,sn,It);case"ThrowStatement":return Tn($t,sn,It);case"ReturnStatement":return Ln($t,sn,It);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return an($t,sn,It);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Ue($t,sn,It);case"ObjectProperty":case"Property":return tn.method||tn.kind==="get"||tn.kind==="set"?on($t,sn,It):bt($t,sn,It);case"ObjectMethod":return on($t,sn,It);case"Decorator":return["@",It("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Wt($t,sn,It);case"SequenceExpression":{let vn=$t.getParentNode(0);if(vn.type==="ExpressionStatement"||vn.type==="ForStatement"){let _n=[];return $t.each((rr,nn)=>{nn===0?_n.push(It()):_n.push(",",S([c,It()]))},"expressions"),E(_n)}return E(D([",",c],$t.map(It,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[It("value"),gr];case"DirectiveLiteral":return tt(tn.extra.raw,sn);case"UnaryExpression":return Zt.push(tn.operator),/[a-z]$/.test(tn.operator)&&Zt.push(" "),$(tn.argument)?Zt.push(E(["(",S([h,It("argument")]),h,")"])):Zt.push(It("argument")),Zt;case"UpdateExpression":return Zt.push(It("argument"),tn.operator),tn.prefix&&Zt.reverse(),Zt;case"ConditionalExpression":return ft($t,sn,It);case"VariableDeclaration":{let vn=$t.map(It,"declarations"),_n=$t.getParentNode(),rr=_n.type==="ForStatement"||_n.type==="ForInStatement"||_n.type==="ForOfStatement",nn=tn.declarations.some(An=>An.init),Fn;return vn.length===1&&!$(tn.declarations[0])?Fn=vn[0]:vn.length>0&&(Fn=S(vn[0])),Zt=[tn.declare?"declare ":"",tn.kind,Fn?[" ",Fn]:"",S(vn.slice(1).map(An=>[",",nn&&!rr?d:c,An]))],rr&&_n.body!==tn||Zt.push(gr),E(Zt)}case"WithStatement":return E(["with (",It("object"),")",me(tn.body,It("body"))]);case"IfStatement":{let vn=me(tn.consequent,It("consequent")),_n=E(["if (",E([S([h,It("test")]),h]),")",vn]);if(Zt.push(_n),tn.alternate){let rr=$(tn.consequent,Q.Trailing|Q.Line)||De(tn),nn=tn.consequent.type==="BlockStatement"&&!rr;Zt.push(nn?" ":d),$(tn,Q.Dangling)&&Zt.push(f($t,sn,!0),rr?d:" "),Zt.push("else",E(me(tn.alternate,It("alternate"),tn.alternate.type==="IfStatement")))}return Zt}case"ForStatement":{let vn=me(tn.body,It("body")),_n=f($t,sn,!0),rr=_n?[_n,h]:"";return!tn.init&&!tn.test&&!tn.update?[rr,E(["for (;;)",vn])]:[rr,E(["for (",E([S([h,It("init"),";",c,It("test"),";",c,It("update")]),h]),")",vn])]}case"WhileStatement":return E(["while (",E([S([h,It("test")]),h]),")",me(tn.body,It("body"))]);case"ForInStatement":return E(["for (",It("left")," in ",It("right"),")",me(tn.body,It("body"))]);case"ForOfStatement":return E(["for",tn.await?" await":""," (",It("left")," of ",It("right"),")",me(tn.body,It("body"))]);case"DoWhileStatement":{let vn=me(tn.body,It("body"));return Zt=[E(["do",vn])],tn.body.type==="BlockStatement"?Zt.push(" "):Zt.push(d),Zt.push("while (",E([S([h,It("test")]),h]),")",gr),Zt}case"DoExpression":return[tn.async?"async ":"","do ",It("body")];case"BreakStatement":return Zt.push("break"),tn.label&&Zt.push(" ",It("label")),Zt.push(gr),Zt;case"ContinueStatement":return Zt.push("continue"),tn.label&&Zt.push(" ",It("label")),Zt.push(gr),Zt;case"LabeledStatement":return tn.body.type==="EmptyStatement"?[It("label"),":;"]:[It("label"),": ",It("body")];case"TryStatement":return["try ",It("block"),tn.handler?[" ",It("handler")]:"",tn.finalizer?[" finally ",It("finalizer")]:""];case"CatchClause":if(tn.param){let vn=$(tn.param,rr=>!B(rr)||rr.leading&&b(sn.originalText,T(rr))||rr.trailing&&b(sn.originalText,y(rr),{backwards:!0})),_n=It("param");return["catch ",vn?["(",S([h,_n]),h,") "]:["(",_n,") "],It("body")]}return["catch ",It("body")];case"SwitchStatement":return[E(["switch (",S([h,It("discriminant")]),h,")"])," {",tn.cases.length>0?S([d,D(d,$t.map((vn,_n,rr)=>{let nn=vn.getValue();return[It(),_n!==rr.length-1&&Z(nn,sn)?d:""]},"cases"))]):"",d,"}"];case"SwitchCase":{tn.test?Zt.push("case ",It("test"),":"):Zt.push("default:"),$(tn,Q.Dangling)&&Zt.push(" ",f($t,sn,!0));let vn=tn.consequent.filter(_n=>_n.type!=="EmptyStatement");if(vn.length>0){let _n=dt($t,sn,It);Zt.push(vn.length===1&&vn[0].type==="BlockStatement"?[" ",_n]:S([d,_n]))}return Zt}case"DebuggerStatement":return["debugger",gr];case"ClassDeclaration":case"ClassExpression":return Se($t,sn,It);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return He($t,sn,It);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Xe($t,sn,It);case"TemplateElement":return k(tn.value.raw);case"TemplateLiteral":return pt($t,It,sn);case"TaggedTemplateExpression":return[It("tag"),It("typeParameters"),It("quasi")];case"PrivateIdentifier":return["#",It("name")];case"PrivateName":return["#",It("id")];case"InterpreterDirective":return Zt.push("#!",tn.value,d),Z(tn,sn)&&Zt.push(d),Zt;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{Zt.push("module {");let vn=It("body");return vn&&Zt.push(S([d,vn]),d),Zt.push("}"),Zt}default:throw new Error("unknown type: "+JSON.stringify(tn.type))}}function kt($t){return $t.type&&!B($t)&&!ne($t)&&$t.type!=="EmptyStatement"&&$t.type!=="TemplateElement"&&$t.type!=="Import"&&$t.type!=="TSEmptyBodyFunctionExpression"}A.exports={preprocess:X,print:Te,embed:N,insertPragma:C,massageAstNode:_,hasPrettierIgnore($t){return F($t)||ce($t)},willPrintOwnComments:x.willPrintOwnComments,canAttachComment:kt,printComment:Vt,isBlockComment:B,handleComments:{avoidAstMutation:!0,ownLine:x.handleOwnLineComment,endOfLine:x.handleEndOfLineComment,remaining:x.handleRemainingComment},getCommentChildNodes:x.getCommentChildNodes}}}),l2=Fe({"src/language-js/printer-estree-json.js"(m,A){Ve();var{builders:{hardline:f,indent:b,join:D}}=Sn(),c=L0();function d(k,N,_){let C=k.getValue();switch(C.type){case"JsonRoot":return[_("node"),f];case"ArrayExpression":{if(C.elements.length===0)return"[]";let x=k.map(()=>k.getValue()===null?"null":_(),"elements");return["[",b([f,D([",",f],x)]),f,"]"]}case"ObjectExpression":return C.properties.length===0?"{}":["{",b([f,D([",",f],k.map(_,"properties"))]),f,"}"];case"ObjectProperty":return[_("key"),": ",_("value")];case"UnaryExpression":return[C.operator==="+"?"":C.operator,_("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return C.value?"true":"false";case"StringLiteral":return JSON.stringify(C.value);case"NumericLiteral":return h(k)?JSON.stringify(String(C.value)):JSON.stringify(C.value);case"Identifier":return h(k)?JSON.stringify(C.name):C.name;case"TemplateLiteral":return _(["quasis",0]);case"TemplateElement":return JSON.stringify(C.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(C.type))}}function h(k){return k.getName()==="key"&&k.getParentNode().type==="ObjectProperty"}var E=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function S(k,N){let{type:_}=k;if(_==="ObjectProperty"){let{key:C}=k;C.type==="Identifier"?N.key={type:"StringLiteral",value:C.name}:C.type==="NumericLiteral"&&(N.key={type:"StringLiteral",value:String(C.value)});return}if(_==="UnaryExpression"&&k.operator==="+")return N.argument;if(_==="ArrayExpression"){for(let[C,x]of k.elements.entries())x===null&&N.elements.splice(C,0,{type:"NullLiteral"});return}if(_==="TemplateLiteral")return{type:"StringLiteral",value:k.quasis[0].value.cooked}}S.ignoredProperties=E,A.exports={preprocess:c,print:d,massageAstNode:S}}}),Ha=Fe({"src/common/common-options.js"(m,A){Ve();var f="Common";A.exports={bracketSpacing:{since:"0.0.0",category:f,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:f,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:f,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:f,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:f,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),c2=Fe({"src/language-js/options.js"(m,A){Ve();var f=Ha(),b="JavaScript";A.exports={arrowParens:{since:"1.9.0",category:b,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:f.bracketSameLine,bracketSpacing:f.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:b,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:b,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:f.singleQuote,jsxSingleQuote:{since:"1.15.0",category:b,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:b,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:b,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:f.singleAttributePerLine}}}),f2=Fe({"src/language-js/parse/parsers.js"(){Ve()}}),Gf=Fe({"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}}}),p2=Fe({"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}}}),d2=Fe({"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}}}),V0=Fe({"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}}}),h2=Fe({"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}}}),m2=Fe({"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}}}),g2=Fe({"src/language-js/index.js"(m,A){Ve();var f=Zs(),b=u2(),D=l2(),c=c2(),d=f2(),h=[f(Gf(),S=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...S.interpreters,"zx"],extensions:[...S.extensions.filter(k=>k!==".jsx"),".wxs"]})),f(Gf(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),f(Gf(),()=>({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})),f(p2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),f(d2(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),f(V0(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),f(V0(),S=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:S.extensions.filter(k=>k!==".jsonl")})),f(h2(),S=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...S.filenames,".eslintrc",".swcrc"]})),f(m2(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],E={estree:b,"estree-json":D};A.exports={languages:h,options:c,printers:E,parsers:d}}}),y2=Fe({"src/language-css/clean.js"(m,A){Ve();var{isFrontMatterNode:f}=ye(),b=Mr(),D=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function c(h,E,S){if(f(h)&&h.lang==="yaml"&&delete E.value,h.type==="css-comment"&&S.type==="css-root"&&S.nodes.length>0&&((S.nodes[0]===h||f(S.nodes[0])&&S.nodes[1]===h)&&(delete E.text,/^\*\s*@(?:format|prettier)\s*$/.test(h.text))||S.type==="css-root"&&b(S.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,(k,N,_)=>{let C=Number(N);return Number.isNaN(C)?k:C+_.toLowerCase()})),h.type==="selector-tag"){let k=h.value.toLowerCase();["from","to"].includes(k)&&(E.value=k)}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 k=h.groups.findIndex(N=>N.type==="value-number"&&N.unit==="...");k!==-1&&(E.groups[k].unit="",E.groups.splice(k+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(h.type==="value-comma_group"&&h.groups.some(k=>k.type==="value-atword"&&k.value.endsWith("[")||k.type==="value-word"&&k.value.startsWith("]")))return{type:"value-atword",value:h.groups.map(k=>k.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}c.ignoredProperties=D;function d(h){return h.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}A.exports=c}}),Jf=Fe({"src/utils/front-matter/print.js"(m,A){Ve();var{builders:{hardline:f,markAsRoot:b}}=Sn();function D(c,d){if(c.lang==="yaml"){let h=c.value.trim(),E=h?d(h,{parser:"yaml"},{stripTrailingHardline:!0}):"";return b([c.startDelimiter,f,E,E?f:"",c.endDelimiter])}}A.exports=D}}),D2=Fe({"src/language-css/embed.js"(m,A){Ve();var{builders:{hardline:f}}=Sn(),b=Jf();function D(c,d,h){let E=c.getValue();if(E.type==="front-matter"){let S=b(E,h);return S?[S,f]:""}}A.exports=D}}),U0=Fe({"src/utils/front-matter/parse.js"(m,A){Ve();var f=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function b(D){let c=D.match(f);if(!c)return{content:D};let{startDelimiter:d,language:h,value:E="",endDelimiter:S}=c.groups,k=h.trim()||"yaml";if(d==="+++"&&(k="toml"),k!=="yaml"&&d!==S)return{content:D};let[N]=c;return{frontMatter:{type:"front-matter",lang:k,value:E,startDelimiter:d,endDelimiter:S,raw:N.replace(/\n$/,"")},content:N.replace(/[^\n]/g," ")+D.slice(N.length)}}A.exports=b}}),b2=Fe({"src/language-css/pragma.js"(m,A){Ve();var f=_0(),b=U0();function D(d){return f.hasPragma(b(d).content)}function c(d){let{frontMatter:h,content:E}=b(d);return(h?h.raw+`
214
-
215
- `:"")+f.insertPragma(E)}A.exports={hasPragma:D,insertPragma:c}}}),v2=Fe({"src/language-css/utils/index.js"(m,A){Ve();var f=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 b(Ue,Se){let He=Array.isArray(Se)?Se:[Se],Xe=-1,bt;for(;bt=Ue.getParentNode(++Xe);)if(He.includes(bt.type))return Xe;return-1}function D(Ue,Se){let He=b(Ue,Se);return He===-1?null:Ue.getParentNode(He)}function c(Ue){var Se;let He=D(Ue,"css-decl");return He==null||(Se=He.prop)===null||Se===void 0?void 0:Se.toLowerCase()}var d=new Set(["initial","inherit","unset","revert"]);function h(Ue){return d.has(Ue.toLowerCase())}function E(Ue,Se){let He=D(Ue,"css-atrule");return He?.name&&He.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Se.toLowerCase())}function S(Ue){return Ue.includes("$")||Ue.includes("@")||Ue.includes("#")||Ue.startsWith("%")||Ue.startsWith("--")||Ue.startsWith(":--")||Ue.includes("(")&&Ue.includes(")")?Ue:Ue.toLowerCase()}function k(Ue,Se){var He;let Xe=D(Ue,"value-func");return(Xe==null||(He=Xe.value)===null||He===void 0?void 0:He.toLowerCase())===Se}function N(Ue){var Se;let He=D(Ue,"css-rule"),Xe=He==null||(Se=He.raws)===null||Se===void 0?void 0:Se.selector;return Xe&&(Xe.startsWith(":import")||Xe.startsWith(":export"))}function _(Ue,Se){let He=Array.isArray(Se)?Se:[Se],Xe=D(Ue,"css-atrule");return Xe&&He.includes(Xe.name.toLowerCase())}function C(Ue){let Se=Ue.getValue(),He=D(Ue,"css-atrule");return He?.name==="import"&&Se.groups[0].value==="url"&&Se.groups.length===2}function x(Ue){return Ue.type==="value-func"&&Ue.value.toLowerCase()==="url"}function M(Ue,Se){var He;let Xe=(He=Ue.getParentNode())===null||He===void 0?void 0:He.nodes;return Xe&&Xe.indexOf(Se)===Xe.length-1}function X(Ue){let{selector:Se}=Ue;return Se?typeof Se=="string"&&/^@.+:.*$/.test(Se)||Se.value&&/^@.+:.*$/.test(Se.value):!1}function ee(Ue){return Ue.type==="value-word"&&["from","through","end"].includes(Ue.value)}function $(Ue){return Ue.type==="value-word"&&["and","or","not"].includes(Ue.value)}function Q(Ue){return Ue.type==="value-word"&&Ue.value==="in"}function G(Ue){return Ue.type==="value-operator"&&Ue.value==="*"}function ne(Ue){return Ue.type==="value-operator"&&Ue.value==="/"}function Z(Ue){return Ue.type==="value-operator"&&Ue.value==="+"}function De(Ue){return Ue.type==="value-operator"&&Ue.value==="-"}function F(Ue){return Ue.type==="value-operator"&&Ue.value==="%"}function J(Ue){return G(Ue)||ne(Ue)||Z(Ue)||De(Ue)||F(Ue)}function w(Ue){return Ue.type==="value-word"&&["==","!="].includes(Ue.value)}function O(Ue){return Ue.type==="value-word"&&["<",">","<=",">="].includes(Ue.value)}function y(Ue){return Ue.type==="css-atrule"&&["if","else","for","each","while"].includes(Ue.name)}function T(Ue){var Se;return((Se=Ue.raws)===null||Se===void 0?void 0:Se.params)&&/^\(\s*\)$/.test(Ue.raws.params)}function B(Ue){return Ue.name.startsWith("prettier-placeholder")}function U(Ue){return Ue.prop.startsWith("@prettier-placeholder")}function q(Ue,Se){return Ue.value==="$$"&&Ue.type==="value-func"&&Se?.type==="value-word"&&!Se.raws.before}function z(Ue){var Se,He;return((Se=Ue.value)===null||Se===void 0?void 0:Se.type)==="value-root"&&((He=Ue.value.group)===null||He===void 0?void 0:He.type)==="value-value"&&Ue.prop.toLowerCase()==="composes"}function re(Ue){var Se,He,Xe;return((Se=Ue.value)===null||Se===void 0||(He=Se.group)===null||He===void 0||(Xe=He.group)===null||Xe===void 0?void 0:Xe.type)==="value-paren_group"&&Ue.value.group.group.open!==null&&Ue.value.group.group.close!==null}function ce(Ue){var Se;return((Se=Ue.raws)===null||Se===void 0?void 0:Se.before)===""}function ge(Ue){var Se,He;return Ue.type==="value-comma_group"&&((Se=Ue.groups)===null||Se===void 0||(He=Se[1])===null||He===void 0?void 0:He.type)==="value-colon"}function fe(Ue){var Se;return Ue.type==="value-paren_group"&&((Se=Ue.groups)===null||Se===void 0?void 0:Se[0])&&ge(Ue.groups[0])}function Ne(Ue){var Se;let He=Ue.getValue();if(He.groups.length===0)return!1;let Xe=Ue.getParentNode(1);if(!fe(He)&&!(Xe&&fe(Xe)))return!1;let bt=D(Ue,"css-decl");return!!(bt!=null&&(Se=bt.prop)!==null&&Se!==void 0&&Se.startsWith("$")||fe(Xe)||Xe.type==="value-func")}function ie(Ue){return Ue.type==="value-comment"&&Ue.inline}function We(Ue){return Ue.type==="value-word"&&Ue.value==="#"}function me(Ue){return Ue.type==="value-word"&&Ue.value==="{"}function oe(Ue){return Ue.type==="value-word"&&Ue.value==="}"}function qe(Ue){return["value-word","value-atword"].includes(Ue.type)}function tt(Ue){return Ue?.type==="value-colon"}function Ye(Ue,Se){if(!ge(Se))return!1;let{groups:He}=Se,Xe=He.indexOf(Ue);return Xe===-1?!1:tt(He[Xe+1])}function ht(Ue){return Ue.value&&["not","and","or"].includes(Ue.value.toLowerCase())}function be(Ue){return Ue.type!=="value-func"?!1:f.has(Ue.value.toLowerCase())}function Me(Ue){return/\/\//.test(Ue.split(/[\n\r]/).pop())}function ft(Ue){return Ue?.type==="value-atword"&&Ue.value.startsWith("prettier-placeholder-")}function pt(Ue,Se){var He,Xe;if(((He=Ue.open)===null||He===void 0?void 0:He.value)!=="("||((Xe=Ue.close)===null||Xe===void 0?void 0:Xe.value)!==")"||Ue.groups.some(bt=>bt.type!=="value-comma_group"))return!1;if(Se.type==="value-comma_group"){let bt=Se.groups.indexOf(Ue)-1,Tt=Se.groups[bt];if(Tt?.type==="value-word"&&Tt.value==="with")return!0}return!1}function Wt(Ue){var Se,He;return Ue.type==="value-paren_group"&&((Se=Ue.open)===null||Se===void 0?void 0:Se.value)==="("&&((He=Ue.close)===null||He===void 0?void 0:He.value)===")"}A.exports={getAncestorCounter:b,getAncestorNode:D,getPropOfDeclNode:c,maybeToLowerCase:S,insideValueFunctionNode:k,insideICSSRuleNode:N,insideAtRuleNode:_,insideURLFunctionInImportAtRuleNode:C,isKeyframeAtRuleKeywords:E,isWideKeywords:h,isLastNode:M,isSCSSControlDirectiveNode:y,isDetachedRulesetDeclarationNode:X,isRelationalOperatorNode:O,isEqualityOperatorNode:w,isMultiplicationNode:G,isDivisionNode:ne,isAdditionNode:Z,isSubtractionNode:De,isModuloNode:F,isMathOperatorNode:J,isEachKeywordNode:Q,isForKeywordNode:ee,isURLFunctionNode:x,isIfElseKeywordNode:$,hasComposesNode:z,hasParensAroundNode:re,hasEmptyRawBefore:ce,isDetachedRulesetCallNode:T,isTemplatePlaceholderNode:B,isTemplatePropNode:U,isPostcssSimpleVarNode:q,isKeyValuePairNode:ge,isKeyValuePairInParenGroupNode:fe,isKeyInValuePairNode:Ye,isSCSSMapItemNode:Ne,isInlineValueCommentNode:ie,isHashNode:We,isLeftCurlyBraceNode:me,isRightCurlyBraceNode:oe,isWordNode:qe,isColonNode:tt,isMediaAndSupportsKeywords:ht,isColorAdjusterFuncNode:be,lastLineHasInlineComment:Me,isAtWordPlaceholderNode:ft,isConfigurationNode:pt,isParenGroupNode:Wt}}}),E2=Fe({"src/utils/line-column-to-index.js"(m,A){Ve(),A.exports=function(f,b){let D=0;for(let c=0;c<f.line-1;++c)D=b.indexOf(`
216
- `,D)+1;return D+f.column}}}),A2=Fe({"src/language-css/loc.js"(m,A){Ve();var{skipEverythingButNewLine:f}=_t(),b=Mr(),D=E2();function c(C,x){return typeof C.sourceIndex=="number"?C.sourceIndex:C.source?D(C.source.start,x)-1:null}function d(C,x){if(C.type==="css-comment"&&C.inline)return f(x,C.source.startOffset);let M=C.nodes&&b(C.nodes);return M&&C.source&&!C.source.end&&(C=M),C.source&&C.source.end?D(C.source.end,x):null}function h(C,x){C.source&&(C.source.startOffset=c(C,x),C.source.endOffset=d(C,x));for(let M in C){let X=C[M];M==="source"||!X||typeof X!="object"||(X.type==="value-root"||X.type==="value-unknown"?E(X,S(C),X.text||X.value):h(X,x))}}function E(C,x,M){C.source&&(C.source.startOffset=c(C,M)+x,C.source.endOffset=d(C,M)+x);for(let X in C){let ee=C[X];X==="source"||!ee||typeof ee!="object"||E(ee,x,M)}}function S(C){let x=C.source.startOffset;return typeof C.prop=="string"&&(x+=C.prop.length),C.type==="css-atrule"&&typeof C.name=="string"&&(x+=1+C.name.length+C.raws.afterName.match(/^\s*:?\s*/)[0].length),C.type!=="css-atrule"&&C.raws&&typeof C.raws.between=="string"&&(x+=C.raws.between.length),x}function k(C){let x="initial",M="initial",X,ee=!1,$=[];for(let Q=0;Q<C.length;Q++){let G=C[Q];switch(x){case"initial":if(G==="'"){x="single-quotes";continue}if(G==='"'){x="double-quotes";continue}if((G==="u"||G==="U")&&C.slice(Q,Q+4).toLowerCase()==="url("){x="url",Q+=3;continue}if(G==="*"&&C[Q-1]==="/"){x="comment-block";continue}if(G==="/"&&C[Q-1]==="/"){x="comment-inline",X=Q-1;continue}continue;case"single-quotes":if(G==="'"&&C[Q-1]!=="\\"&&(x=M,M="initial"),G===`
217
- `||G==="\r")return C;continue;case"double-quotes":if(G==='"'&&C[Q-1]!=="\\"&&(x=M,M="initial"),G===`
218
- `||G==="\r")return C;continue;case"url":if(G===")"&&(x="initial"),G===`
219
- `||G==="\r")return C;if(G==="'"){x="single-quotes",M="url";continue}if(G==='"'){x="double-quotes",M="url";continue}continue;case"comment-block":G==="/"&&C[Q-1]==="*"&&(x="initial");continue;case"comment-inline":(G==='"'||G==="'"||G==="*")&&(ee=!0),(G===`
220
- `||G==="\r")&&(ee&&$.push([X,Q]),x="initial",ee=!1);continue}}for(let[Q,G]of $)C=C.slice(0,Q)+C.slice(Q,G).replace(/["'*]/g," ")+C.slice(G);return C}function N(C){return C.source.startOffset}function _(C){return C.source.endOffset}A.exports={locStart:N,locEnd:_,calculateLoc:h,replaceQuotesInInlineComments:k}}}),C2=Fe({"src/language-css/utils/is-less-parser.js"(m,A){Ve();function f(b){return b.parser==="css"||b.parser==="less"}A.exports=f}}),S2=Fe({"src/language-css/utils/is-scss.js"(m,A){Ve();function f(b,D){return b==="less"||b==="scss"?b==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(D)}A.exports=f}}),x2=Fe({"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"}}}),w2=Fe({"src/language-css/utils/print-unit.js"(m,A){Ve();var f=x2();function b(D){let c=D.toLowerCase();return Object.prototype.hasOwnProperty.call(f,c)?f[c]:D}A.exports=b}}),F2=Fe({"src/language-css/printer-postcss.js"(m,A){Ve();var f=Mr(),{printNumber:b,printString:D,hasNewline:c,isFrontMatterNode:d,isNextLineEmpty:h,isNonEmptyArray:E}=ye(),{builders:{join:S,line:k,hardline:N,softline:_,group:C,fill:x,indent:M,dedent:X,ifBreak:ee,breakParent:$},utils:{removeLines:Q,getDocParts:G}}=Sn(),ne=y2(),Z=D2(),{insertPragma:De}=b2(),{getAncestorNode:F,getPropOfDeclNode:J,maybeToLowerCase:w,insideValueFunctionNode:O,insideICSSRuleNode:y,insideAtRuleNode:T,insideURLFunctionInImportAtRuleNode:B,isKeyframeAtRuleKeywords:U,isWideKeywords:q,isLastNode:z,isSCSSControlDirectiveNode:re,isDetachedRulesetDeclarationNode:ce,isRelationalOperatorNode:ge,isEqualityOperatorNode:fe,isMultiplicationNode:Ne,isDivisionNode:ie,isAdditionNode:We,isSubtractionNode:me,isMathOperatorNode:oe,isEachKeywordNode:qe,isForKeywordNode:tt,isURLFunctionNode:Ye,isIfElseKeywordNode:ht,hasComposesNode:be,hasParensAroundNode:Me,hasEmptyRawBefore:ft,isKeyValuePairNode:pt,isKeyInValuePairNode:Wt,isDetachedRulesetCallNode:Ue,isTemplatePlaceholderNode:Se,isTemplatePropNode:He,isPostcssSimpleVarNode:Xe,isSCSSMapItemNode:bt,isInlineValueCommentNode:Tt,isHashNode:Bt,isLeftCurlyBraceNode:on,isRightCurlyBraceNode:Ln,isWordNode:Tn,isColonNode:an,isMediaAndSupportsKeywords:gn,isColorAdjusterFuncNode:at,lastLineHasInlineComment:Ae,isAtWordPlaceholderNode:dt,isConfigurationNode:je,isParenGroupNode:lt}=v2(),{locStart:Qt,locEnd:Vt}=A2(),gt=C2(),V=S2(),Te=w2();function nt(nn){return nn.trailingComma==="es5"||nn.trailingComma==="all"}function kt(nn,Fn,An){let ut=nn.getValue();if(!ut)return"";if(typeof ut=="string")return ut;switch(ut.type){case"front-matter":return[ut.raw,N];case"css-root":{let jn=$t(nn,Fn,An),Rn=ut.raws.after.trim();return Rn.startsWith(";")&&(Rn=Rn.slice(1).trim()),[jn,Rn?` ${Rn}`:"",G(jn).length>0?N:""]}case"css-comment":{let jn=ut.inline||ut.raws.inline,Rn=Fn.originalText.slice(Qt(ut),Vt(ut));return jn?Rn.trimEnd():Rn}case"css-rule":return[An("selector"),ut.important?" !important":"",ut.nodes?[ut.selector&&ut.selector.type==="selector-unknown"&&Ae(ut.selector.value)?k:" ","{",ut.nodes.length>0?M([N,$t(nn,Fn,An)]):"",N,"}",ce(ut)?";":""]:";"];case"css-decl":{let jn=nn.getParentNode(),{between:Rn}=ut.raws,ur=Rn.trim(),bi=ur===":",ae=be(ut)?Q(An("value")):An("value");return!bi&&Ae(ur)&&(ae=M([N,X(ae)])),[ut.raws.before.replace(/[\s;]/g,""),jn.type==="css-atrule"&&jn.variable||y(nn)?ut.prop:w(ut.prop),ur.startsWith("//")?" ":"",ur,ut.extend?"":" ",gt(Fn)&&ut.extend&&ut.selector?["extend(",An("selector"),")"]:"",ae,ut.raws.important?ut.raws.important.replace(/\s*!\s*important/i," !important"):ut.important?" !important":"",ut.raws.scssDefault?ut.raws.scssDefault.replace(/\s*!default/i," !default"):ut.scssDefault?" !default":"",ut.raws.scssGlobal?ut.raws.scssGlobal.replace(/\s*!global/i," !global"):ut.scssGlobal?" !global":"",ut.nodes?[" {",M([_,$t(nn,Fn,An)]),_,"}"]:He(ut)&&!jn.raws.semicolon&&Fn.originalText[Vt(ut)-1]!==";"?"":Fn.__isHTMLStyleAttribute&&z(nn,ut)?ee(";"):";"]}case"css-atrule":{let jn=nn.getParentNode(),Rn=Se(ut)&&!jn.raws.semicolon&&Fn.originalText[Vt(ut)-1]!==";";if(gt(Fn)){if(ut.mixin)return[An("selector"),ut.important?" !important":"",Rn?"":";"];if(ut.function)return[ut.name,An("params"),Rn?"":";"];if(ut.variable)return["@",ut.name,": ",ut.value?An("value"):"",ut.raws.between.trim()?ut.raws.between.trim()+" ":"",ut.nodes?["{",M([ut.nodes.length>0?_:"",$t(nn,Fn,An)]),_,"}"]:"",Rn?"":";"]}return["@",Ue(ut)||ut.name.endsWith(":")?ut.name:w(ut.name),ut.params?[Ue(ut)?"":Se(ut)?ut.raws.afterName===""?"":ut.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(ut.raws.afterName)?[N,N]:/^\s*\n/.test(ut.raws.afterName)?N:" ":" ",An("params")]:"",ut.selector?M([" ",An("selector")]):"",ut.value?C([" ",An("value"),re(ut)?Me(ut)?" ":k:""]):ut.name==="else"?" ":"",ut.nodes?[re(ut)?"":ut.selector&&!ut.selector.nodes&&typeof ut.selector.value=="string"&&Ae(ut.selector.value)||!ut.selector&&typeof ut.params=="string"&&Ae(ut.params)?k:" ","{",M([ut.nodes.length>0?_:"",$t(nn,Fn,An)]),_,"}"]:Rn?"":";"]}case"media-query-list":{let jn=[];return nn.each(Rn=>{let ur=Rn.getValue();ur.type==="media-query"&&ur.value===""||jn.push(An())},"nodes"),C(M(S(k,jn)))}case"media-query":return[S(" ",nn.map(An,"nodes")),z(nn,ut)?"":","];case"media-type":return _n(Zt(ut.value,Fn));case"media-feature-expression":return ut.nodes?["(",...nn.map(An,"nodes"),")"]:ut.value;case"media-feature":return w(Zt(ut.value.replace(/ +/g," "),Fn));case"media-colon":return[ut.value," "];case"media-value":return _n(Zt(ut.value,Fn));case"media-keyword":return Zt(ut.value,Fn);case"media-url":return Zt(ut.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Fn);case"media-unknown":return ut.value;case"selector-root":return C([T(nn,"custom-selector")?[F(nn,"css-atrule").customSelector,k]:"",S([",",T(nn,["extend","custom-selector","nest"])?k:N],nn.map(An,"nodes"))]);case"selector-selector":return C(M(nn.map(An,"nodes")));case"selector-comment":return ut.value;case"selector-string":return Zt(ut.value,Fn);case"selector-tag":{let jn=nn.getParentNode(),Rn=jn&&jn.nodes.indexOf(ut),ur=Rn&&jn.nodes[Rn-1];return[ut.namespace?[ut.namespace===!0?"":ut.namespace.trim(),"|"]:"",ur.type==="selector-nesting"?ut.value:_n(U(nn,ut.value)?ut.value.toLowerCase():ut.value)]}case"selector-id":return["#",ut.value];case"selector-class":return[".",_n(Zt(ut.value,Fn))];case"selector-attribute":{var Di;return["[",ut.namespace?[ut.namespace===!0?"":ut.namespace.trim(),"|"]:"",ut.attribute.trim(),(Di=ut.operator)!==null&&Di!==void 0?Di:"",ut.value?vn(Zt(ut.value.trim(),Fn),Fn):"",ut.insensitive?" i":"","]"]}case"selector-combinator":{if(ut.value==="+"||ut.value===">"||ut.value==="~"||ut.value===">>>"){let ur=nn.getParentNode();return[ur.type==="selector-selector"&&ur.nodes[0]===ut?"":k,ut.value,z(nn,ut)?"":" "]}let jn=ut.value.trim().startsWith("(")?k:"",Rn=_n(Zt(ut.value.trim(),Fn))||k;return[jn,Rn]}case"selector-universal":return[ut.namespace?[ut.namespace===!0?"":ut.namespace.trim(),"|"]:"",ut.value];case"selector-pseudo":return[w(ut.value),E(ut.nodes)?C(["(",M([_,S([",",k],nn.map(An,"nodes"))]),_,")"]):""];case"selector-nesting":return ut.value;case"selector-unknown":{let jn=F(nn,"css-rule");if(jn&&jn.isSCSSNesterProperty)return _n(Zt(w(ut.value),Fn));let Rn=nn.getParentNode();if(Rn.raws&&Rn.raws.selector){let bi=Qt(Rn),ae=bi+Rn.raws.selector.length;return Fn.originalText.slice(bi,ae).trim()}let ur=nn.getParentNode(1);if(Rn.type==="value-paren_group"&&ur&&ur.type==="value-func"&&ur.value==="selector"){let bi=Vt(Rn.open)+1,ae=Qt(Rn.close),vt=Fn.originalText.slice(bi,ae).trim();return Ae(vt)?[$,vt]:vt}return ut.value}case"value-value":case"value-root":return An("group");case"value-comment":return Fn.originalText.slice(Qt(ut),Vt(ut));case"value-comma_group":{let jn=nn.getParentNode(),Rn=nn.getParentNode(1),ur=J(nn),bi=ur&&jn.type==="value-value"&&(ur==="grid"||ur.startsWith("grid-template")),ae=F(nn,"css-atrule"),vt=ae&&re(ae),hn=ut.groups.some(vi=>Tt(vi)),qn=nn.map(An,"groups"),Wn=[],hi=O(nn,"url"),Ar=!1,Xr=!1;for(let vi=0;vi<ut.groups.length;++vi){var Gr;Wn.push(qn[vi]);let Pr=ut.groups[vi-1],xn=ut.groups[vi],Bn=ut.groups[vi+1],fl=ut.groups[vi+2];if(hi){(Bn&&We(Bn)||We(xn))&&Wn.push(" ");continue}if(T(nn,"forward")&&xn.type==="value-word"&&xn.value&&Pr!==void 0&&Pr.type==="value-word"&&Pr.value==="as"&&Bn.type==="value-operator"&&Bn.value==="*"||!Bn||xn.type==="value-word"&&xn.value.endsWith("-")&&dt(Bn))continue;if(xn.type==="value-string"&&xn.quoted){let Kf=xn.value.lastIndexOf("#{"),Zf=xn.value.lastIndexOf("}");Kf!==-1&&Zf!==-1?Ar=Kf>Zf:Kf!==-1?Ar=!0:Zf!==-1&&(Ar=!1)}if(Ar||an(xn)||an(Bn)||xn.type==="value-atword"&&(xn.value===""||xn.value.endsWith("["))||Bn.type==="value-word"&&Bn.value.startsWith("]")||xn.value==="~"||xn.value&&xn.value.includes("\\")&&Bn&&Bn.type!=="value-comment"||Pr&&Pr.value&&Pr.value.indexOf("\\")===Pr.value.length-1&&xn.type==="value-operator"&&xn.value==="/"||xn.value==="\\"||Xe(xn,Bn)||Bt(xn)||on(xn)||Ln(Bn)||on(Bn)&&ft(Bn)||Ln(xn)&&ft(Bn)||xn.value==="--"&&Bt(Bn))continue;let Qf=oe(xn),z0=oe(Bn);if((Qf&&Bt(Bn)||z0&&Ln(xn))&&ft(Bn)||!Pr&&ie(xn)||O(nn,"calc")&&(We(xn)||We(Bn)||me(xn)||me(Bn))&&ft(Bn))continue;let UE=(We(xn)||me(xn))&&vi===0&&(Bn.type==="value-number"||Bn.isHex)&&Rn&&at(Rn)&&!ft(Bn),X0=fl&&fl.type==="value-func"||fl&&Tn(fl)||xn.type==="value-func"||Tn(xn),Q0=Bn.type==="value-func"||Tn(Bn)||Pr&&Pr.type==="value-func"||Pr&&Tn(Pr);if(!(!(Ne(Bn)||Ne(xn))&&!O(nn,"calc")&&!UE&&(ie(Bn)&&!X0||ie(xn)&&!Q0||We(Bn)&&!X0||We(xn)&&!Q0||me(Bn)||me(xn))&&(ft(Bn)||Qf&&(!Pr||Pr&&oe(Pr))))&&!((Fn.parser==="scss"||Fn.parser==="less")&&Qf&&xn.value==="-"&&lt(Bn)&&Vt(xn)===Qt(Bn.open)&&Bn.open.value==="(")){if(Tt(xn)){if(jn.type==="value-paren_group"){Wn.push(X(N));continue}Wn.push(N);continue}if(vt&&(fe(Bn)||ge(Bn)||ht(Bn)||qe(xn)||tt(xn))){Wn.push(" ");continue}if(ae&&ae.name.toLowerCase()==="namespace"){Wn.push(" ");continue}if(bi){xn.source&&Bn.source&&xn.source.start.line!==Bn.source.start.line?(Wn.push(N),Xr=!0):Wn.push(" ");continue}if(z0){Wn.push(" ");continue}if(!(Bn&&Bn.value==="...")&&!(dt(xn)&&dt(Bn)&&Vt(xn)===Qt(Bn))){if(dt(xn)&&lt(Bn)&&Vt(xn)===Qt(Bn.open)){Wn.push(_);continue}if(xn.value==="with"&&lt(Bn)){Wn.push(" ");continue}(Gr=xn.value)!==null&&Gr!==void 0&&Gr.endsWith("#")&&Bn.value==="{"&&lt(Bn.group)||Wn.push(k)}}}return hn&&Wn.push($),Xr&&Wn.unshift(N),vt?C(M(Wn)):B(nn)?C(x(Wn)):C(M(x(Wn)))}case"value-paren_group":{let jn=nn.getParentNode();if(jn&&Ye(jn)&&(ut.groups.length===1||ut.groups.length>0&&ut.groups[0].type==="value-comma_group"&&ut.groups[0].groups.length>0&&ut.groups[0].groups[0].type==="value-word"&&ut.groups[0].groups[0].value.startsWith("data:")))return[ut.open?An("open"):"",S(",",nn.map(An,"groups")),ut.close?An("close"):""];if(!ut.open){let hi=nn.map(An,"groups"),Ar=[];for(let Xr=0;Xr<hi.length;Xr++)Xr!==0&&Ar.push([",",k]),Ar.push(hi[Xr]);return C(M(x(Ar)))}let Rn=bt(nn),ur=f(ut.groups),bi=ur&&ur.type==="value-comment",ae=Wt(ut,jn),vt=je(ut,jn),hn=vt||Rn&&!ae,qn=vt||ae,Wn=C([ut.open?An("open"):"",M([_,S([k],nn.map((hi,Ar)=>{let Xr=hi.getValue(),vi=Ar===ut.groups.length-1,Pr=[An(),vi?"":","];if(pt(Xr)&&Xr.type==="value-comma_group"&&Xr.groups&&Xr.groups[0].type!=="value-paren_group"&&Xr.groups[2]&&Xr.groups[2].type==="value-paren_group"){let xn=G(Pr[0].contents.contents);xn[1]=C(xn[1]),Pr=[C(X(Pr))]}if(!vi&&Xr.type==="value-comma_group"&&E(Xr.groups)){let xn=f(Xr.groups);!xn.source&&xn.close&&(xn=xn.close),xn.source&&h(Fn.originalText,xn,Vt)&&Pr.push(N)}return Pr},"groups"))]),ee(!bi&&V(Fn.parser,Fn.originalText)&&Rn&&nt(Fn)?",":""),_,ut.close?An("close"):""],{shouldBreak:hn});return qn?X(Wn):Wn}case"value-func":return[ut.value,T(nn,"supports")&&gn(ut)?" ":"",An("group")];case"value-paren":return ut.value;case"value-number":return[rr(ut.value),Te(ut.unit)];case"value-operator":return ut.value;case"value-word":return ut.isColor&&ut.isHex||q(ut.value)?ut.value.toLowerCase():ut.value;case"value-colon":{let jn=nn.getParentNode(),Rn=jn&&jn.groups.indexOf(ut),ur=Rn&&jn.groups[Rn-1];return[ut.value,ur&&typeof ur.value=="string"&&f(ur.value)==="\\"||O(nn,"url")?"":k]}case"value-comma":return[ut.value," "];case"value-string":return D(ut.raws.quote+ut.value+ut.raws.quote,Fn);case"value-atword":return["@",ut.value];case"value-unicode-range":return ut.value;case"value-unknown":return ut.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(ut.type)}`)}}function $t(nn,Fn,An){let ut=[];return nn.each((Di,Gr,jn)=>{let Rn=jn[Gr-1];if(Rn&&Rn.type==="css-comment"&&Rn.text.trim()==="prettier-ignore"){let ur=Di.getValue();ut.push(Fn.originalText.slice(Qt(ur),Vt(ur)))}else ut.push(An());Gr!==jn.length-1&&(jn[Gr+1].type==="css-comment"&&!c(Fn.originalText,Qt(jn[Gr+1]),{backwards:!0})&&!d(jn[Gr])||jn[Gr+1].type==="css-atrule"&&jn[Gr+1].name==="else"&&jn[Gr].type!=="css-comment"?ut.push(" "):(ut.push(Fn.__isHTMLStyleAttribute?k:N),h(Fn.originalText,Di.getValue(),Vt)&&!d(jn[Gr])&&ut.push(N)))},"nodes"),ut}var sn=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,It=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,br=/[A-Za-z]+/g,tn=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,gr=new RegExp(sn.source+`|(${tn.source})?(${It.source})(${br.source})?`,"g");function Zt(nn,Fn){return nn.replace(sn,An=>D(An,Fn))}function vn(nn,Fn){let An=Fn.singleQuote?"'":'"';return nn.includes('"')||nn.includes("'")?nn:An+nn+An}function _n(nn){return nn.replace(gr,(Fn,An,ut,Di,Gr)=>!ut&&Di?rr(Di)+w(Gr||""):Fn)}function rr(nn){return b(nn).replace(/\.0(?=$|e)/,"")}A.exports={print:kt,embed:Z,insertPragma:De,massageAstNode:ne}}}),N2=Fe({"src/language-css/options.js"(m,A){Ve();var f=Ha();A.exports={singleQuote:f.singleQuote}}}),T2=Fe({"src/language-css/parsers.js"(){Ve()}}),_2=Fe({"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}}}),k2=Fe({"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}}}),L2=Fe({"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}}}),P2=Fe({"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}}}),B2=Fe({"src/language-css/index.js"(m,A){Ve();var f=Zs(),b=F2(),D=N2(),c=T2(),d=[f(_2(),E=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...E.extensions,".wxss"]})),f(k2(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),f(L2(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),f(P2(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],h={postcss:b};A.exports={languages:d,options:D,printers:h,parsers:c}}}),I2=Fe({"src/language-handlebars/loc.js"(m,A){Ve();function f(D){return D.loc.start.offset}function b(D){return D.loc.end.offset}A.exports={locStart:f,locEnd:b}}}),M2=Fe({"src/language-handlebars/clean.js"(m,A){Ve();function f(b,D){if(b.type==="TextNode"){let c=b.chars.trim();if(!c)return null;D.chars=c.replace(/[\t\n\f\r ]+/g," ")}b.type==="AttrNode"&&b.name.toLowerCase()==="class"&&delete D.value}f.ignoredProperties=new Set(["loc","selfClosing"]),A.exports=f}}),O2=Fe({"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"]}}),j2=Fe({"src/language-handlebars/utils.js"(m,A){Ve();var f=Mr(),b=O2();function D(G){let ne=G.getValue(),Z=G.getParentNode(0);return!!(_(G,["ElementNode"])&&f(Z.children)===ne||_(G,["Block"])&&f(Z.body)===ne)}function c(G){return G.toUpperCase()===G}function d(G){return N(G,["ElementNode"])&&typeof G.tag=="string"&&!G.tag.startsWith(":")&&(c(G.tag[0])||G.tag.includes("."))}var h=new Set(b);function E(G){return h.has(G.toLowerCase())&&!c(G[0])}function S(G){return G.selfClosing===!0||E(G.tag)||d(G)&&G.children.every(ne=>k(ne))}function k(G){return N(G,["TextNode"])&&!/\S/.test(G.chars)}function N(G,ne){return G&&ne.includes(G.type)}function _(G,ne){let Z=G.getParentNode(0);return N(Z,ne)}function C(G,ne){let Z=X(G);return N(Z,ne)}function x(G,ne){let Z=ee(G);return N(Z,ne)}function M(G,ne){var Z,De,F,J;let w=G.getValue(),O=(Z=G.getParentNode(0))!==null&&Z!==void 0?Z:{},y=(De=(F=(J=O.children)!==null&&J!==void 0?J:O.body)!==null&&F!==void 0?F:O.parts)!==null&&De!==void 0?De:[],T=y.indexOf(w);return T!==-1&&y[T+ne]}function X(G){let ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return M(G,-ne)}function ee(G){return M(G,1)}function $(G){return N(G,["MustacheCommentStatement"])&&typeof G.value=="string"&&G.value.trim()==="prettier-ignore"}function Q(G){let ne=G.getValue(),Z=X(G,2);return $(ne)||$(Z)}A.exports={getNextNode:ee,getPreviousNode:X,hasPrettierIgnore:Q,isLastNodeOfSiblings:D,isNextNodeOfSomeType:x,isNodeOfSomeType:N,isParentOfSomeType:_,isPreviousNodeOfSomeType:C,isVoid:S,isWhitespaceNode:k}}}),$2=Fe({"src/language-handlebars/printer-glimmer.js"(m,A){Ve();var{builders:{dedent:f,fill:b,group:D,hardline:c,ifBreak:d,indent:h,join:E,line:S,softline:k},utils:{getDocParts:N,replaceTextEndOfLine:_}}=Sn(),{getPreferredQuote:C,isNonEmptyArray:x}=ye(),{locStart:M,locEnd:X}=I2(),ee=M2(),{getNextNode:$,getPreviousNode:Q,hasPrettierIgnore:G,isLastNodeOfSiblings:ne,isNextNodeOfSomeType:Z,isNodeOfSomeType:De,isParentOfSomeType:F,isPreviousNodeOfSomeType:J,isVoid:w,isWhitespaceNode:O}=j2(),y=2;function T(Ae,dt,je){let lt=Ae.getValue();if(!lt)return"";if(G(Ae))return dt.originalText.slice(M(lt),X(lt));let Qt=dt.singleQuote?"'":'"';switch(lt.type){case"Block":case"Program":case"Template":return D(Ae.map(je,"body"));case"ElementNode":{let Vt=D(U(Ae,je)),gt=dt.htmlWhitespaceSensitivity==="ignore"&&Z(Ae,["ElementNode"])?k:"";if(w(lt))return[Vt,gt];let V=["</",lt.tag,">"];return lt.children.length===0?[Vt,h(V),gt]:dt.htmlWhitespaceSensitivity==="ignore"?[Vt,h(q(Ae,dt,je)),c,h(V),gt]:[Vt,h(D(q(Ae,dt,je))),h(V),gt]}case"BlockStatement":{let Vt=Ae.getParentNode(1);return Vt&&Vt.inverse&&Vt.inverse.body.length===1&&Vt.inverse.body[0]===lt&&Vt.inverse.body[0].path.parts[0]===Vt.path.parts[0]?[tt(Ae,je,Vt.inverse.body[0].path.parts[0]),ft(Ae,je,dt),pt(Ae,je,dt)]:[oe(Ae,je),D([ft(Ae,je,dt),pt(Ae,je,dt),Ye(Ae,je,dt)])]}case"ElementModifierStatement":return D(["{{",Tn(Ae,je),"}}"]);case"MustacheStatement":return D([re(lt),Tn(Ae,je),ce(lt)]);case"SubExpression":return D(["(",Ln(Ae,je),k,")"]);case"AttrNode":{let Vt=lt.value.type==="TextNode";if(Vt&&lt.value.chars===""&&M(lt.value)===X(lt.value))return lt.name;let gt=Vt?C(lt.value.chars,Qt).quote:lt.value.type==="ConcatStatement"?C(lt.value.parts.filter(Te=>Te.type==="TextNode").map(Te=>Te.chars).join(""),Qt).quote:"",V=je("value");return[lt.name,"=",gt,lt.name==="class"&&gt?D(h(V)):V,gt]}case"ConcatStatement":return Ae.map(je,"parts");case"Hash":return E(S,Ae.map(je,"pairs"));case"HashPair":return[lt.key,"=",je("value")];case"TextNode":{let Vt=lt.chars.replace(/{{/g,"\\{{"),gt=Se(Ae);if(gt){if(gt==="class"){let tn=Vt.trim().split(/\s+/).join(" "),gr=!1,Zt=!1;return F(Ae,["ConcatStatement"])&&(J(Ae,["MustacheStatement"])&&/^\s/.test(Vt)&&(gr=!0),Z(Ae,["MustacheStatement"])&&/\s$/.test(Vt)&&tn!==""&&(Zt=!0)),[gr?S:"",tn,Zt?S:""]}return _(Vt)}let V=/^[\t\n\f\r ]*$/.test(Vt),Te=!Q(Ae),nt=!$(Ae);if(dt.htmlWhitespaceSensitivity!=="ignore"){let tn=/^[\t\n\f\r ]*/,gr=/[\t\n\f\r ]*$/,Zt=nt&&F(Ae,["Template"]),vn=Te&&F(Ae,["Template"]);if(V){if(vn||Zt)return"";let An=[S],ut=He(Vt);return ut&&(An=Tt(ut)),ne(Ae)&&(An=An.map(Di=>f(Di))),An}let[_n]=Vt.match(tn),[rr]=Vt.match(gr),nn=[];if(_n){nn=[S];let An=He(_n);An&&(nn=Tt(An)),Vt=Vt.replace(tn,"")}let Fn=[];if(rr){if(!Zt){Fn=[S];let An=He(rr);An&&(Fn=Tt(An)),ne(Ae)&&(Fn=Fn.map(ut=>f(ut)))}Vt=Vt.replace(gr,"")}return[...nn,b(Wt(Vt)),...Fn]}let kt=He(Vt),$t=Xe(Vt),sn=bt(Vt);if((Te||nt)&&V&&F(Ae,["Block","ElementNode","Template"]))return"";V&&kt?($t=Math.min(kt,y),sn=0):(Z(Ae,["BlockStatement","ElementNode"])&&(sn=Math.max(sn,1)),J(Ae,["BlockStatement","ElementNode"])&&($t=Math.max($t,1)));let It="",br="";return sn===0&&Z(Ae,["MustacheStatement"])&&(br=" "),$t===0&&J(Ae,["MustacheStatement"])&&(It=" "),Te&&($t=0,It=""),nt&&(sn=0,br=""),Vt=Vt.replace(/^[\t\n\f\r ]+/g,It).replace(/[\t\n\f\r ]+$/,br),[...Tt($t),b(Wt(Vt)),...Tt(sn)]}case"MustacheCommentStatement":{let Vt=M(lt),gt=X(lt),V=dt.originalText.charAt(Vt+2)==="~",Te=dt.originalText.charAt(gt-3)==="~",nt=lt.value.includes("}}")?"--":"";return["{{",V?"~":"","!",nt,lt.value,nt,Te?"~":"","}}"]}case"PathExpression":return lt.original;case"BooleanLiteral":return String(lt.value);case"CommentStatement":return["<!--",lt.value,"-->"];case"StringLiteral":{if(on(Ae)){let Vt=dt.singleQuote?'"':"'";return Bt(lt.value,Vt)}return Bt(lt.value,Qt)}case"NumberLiteral":return String(lt.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(lt.type))}}function B(Ae,dt){return M(Ae)-M(dt)}function U(Ae,dt){let je=Ae.getValue(),lt=["attributes","modifiers","comments"].filter(Vt=>x(je[Vt])),Qt=lt.flatMap(Vt=>je[Vt]).sort(B);for(let Vt of lt)Ae.each(gt=>{let V=Qt.indexOf(gt.getValue());Qt.splice(V,1,[S,dt()])},Vt);return x(je.blockParams)&&Qt.push(S,at(je)),["<",je.tag,h(Qt),z(je)]}function q(Ae,dt,je){let lt=Ae.getValue().children.every(Qt=>O(Qt));return dt.htmlWhitespaceSensitivity==="ignore"&&lt?"":Ae.map((Qt,Vt)=>{let gt=je();return Vt===0&&dt.htmlWhitespaceSensitivity==="ignore"?[k,gt]:gt},"children")}function z(Ae){return w(Ae)?d([k,"/>"],[" />",k]):d([k,">"],">")}function re(Ae){let dt=Ae.escaped===!1?"{{{":"{{",je=Ae.strip&&Ae.strip.open?"~":"";return[dt,je]}function ce(Ae){let dt=Ae.escaped===!1?"}}}":"}}";return[Ae.strip&&Ae.strip.close?"~":"",dt]}function ge(Ae){let dt=re(Ae),je=Ae.openStrip.open?"~":"";return[dt,je,"#"]}function fe(Ae){let dt=ce(Ae);return[Ae.openStrip.close?"~":"",dt]}function Ne(Ae){let dt=re(Ae),je=Ae.closeStrip.open?"~":"";return[dt,je,"/"]}function ie(Ae){let dt=ce(Ae);return[Ae.closeStrip.close?"~":"",dt]}function We(Ae){let dt=re(Ae),je=Ae.inverseStrip.open?"~":"";return[dt,je]}function me(Ae){let dt=ce(Ae);return[Ae.inverseStrip.close?"~":"",dt]}function oe(Ae,dt){let je=Ae.getValue(),lt=[],Qt=gn(Ae,dt);return Qt&&lt.push(D(Qt)),x(je.program.blockParams)&&lt.push(at(je.program)),D([ge(je),an(Ae,dt),lt.length>0?h([S,E(S,lt)]):"",k,fe(je)])}function qe(Ae,dt){return[dt.htmlWhitespaceSensitivity==="ignore"?c:"",We(Ae),"else",me(Ae)]}function tt(Ae,dt,je){let lt=Ae.getValue(),Qt=Ae.getParentNode(1);return D([We(Qt),["else"," ",je],h([S,D(gn(Ae,dt)),...x(lt.program.blockParams)?[S,at(lt.program)]:[]]),k,me(Qt)])}function Ye(Ae,dt,je){let lt=Ae.getValue();return je.htmlWhitespaceSensitivity==="ignore"?[ht(lt)?k:c,Ne(lt),dt("path"),ie(lt)]:[Ne(lt),dt("path"),ie(lt)]}function ht(Ae){return De(Ae,["BlockStatement"])&&Ae.program.body.every(dt=>O(dt))}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 ft(Ae,dt,je){let lt=Ae.getValue();if(ht(lt))return"";let Qt=dt("program");return je.htmlWhitespaceSensitivity==="ignore"?h([c,Qt]):h(Qt)}function pt(Ae,dt,je){let lt=Ae.getValue(),Qt=dt("inverse"),Vt=je.htmlWhitespaceSensitivity==="ignore"?[c,Qt]:Qt;return be(lt)?Vt:Me(lt)?[qe(lt,je),h(Vt)]:""}function Wt(Ae){return N(E(S,Ue(Ae)))}function Ue(Ae){return Ae.split(/[\t\n\f\r ]+/)}function Se(Ae){for(let dt=0;dt<2;dt++){let je=Ae.getParentNode(dt);if(je&&je.type==="AttrNode")return je.name.toLowerCase()}}function He(Ae){return Ae=typeof Ae=="string"?Ae:"",Ae.split(`
221
- `).length-1}function Xe(Ae){Ae=typeof Ae=="string"?Ae:"";let dt=(Ae.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return He(dt)}function bt(Ae){Ae=typeof Ae=="string"?Ae:"";let dt=(Ae.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return He(dt)}function Tt(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Ae,y)}).fill(c)}function Bt(Ae,dt){let{quote:je,regex:lt}=C(Ae,dt);return[je,Ae.replace(lt,`\\${je}`),je]}function on(Ae){let dt=0,je=Ae.getParentNode(dt);for(;je&&De(je,["SubExpression"]);)dt++,je=Ae.getParentNode(dt);return!!(je&&De(Ae.getParentNode(dt+1),["ConcatStatement"])&&De(Ae.getParentNode(dt+2),["AttrNode"]))}function Ln(Ae,dt){let je=an(Ae,dt),lt=gn(Ae,dt);return lt?h([je,S,D(lt)]):je}function Tn(Ae,dt){let je=an(Ae,dt),lt=gn(Ae,dt);return lt?[h([je,S,lt]),k]:je}function an(Ae,dt){return dt("path")}function gn(Ae,dt){let je=Ae.getValue(),lt=[];if(je.params.length>0){let Qt=Ae.map(dt,"params");lt.push(...Qt)}if(je.hash&&je.hash.pairs.length>0){let Qt=dt("hash");lt.push(Qt)}return lt.length===0?"":E(S,lt)}function at(Ae){return["as |",Ae.blockParams.join(" "),"|"]}A.exports={print:T,massageAstNode:ee}}}),R2=Fe({"src/language-handlebars/parsers.js"(){Ve()}}),V2=Fe({"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}}}),U2=Fe({"src/language-handlebars/index.js"(m,A){Ve();var f=Zs(),b=$2(),D=R2(),c=[f(V2(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],d={glimmer:b};A.exports={languages:c,printers:d,parsers:D}}}),q2=Fe({"src/language-graphql/pragma.js"(m,A){Ve();function f(D){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(D)}function b(D){return`# @format
222
-
223
- `+D}A.exports={hasPragma:f,insertPragma:b}}}),W2=Fe({"src/language-graphql/loc.js"(m,A){Ve();function f(D){return typeof D.start=="number"?D.start:D.loc&&D.loc.start}function b(D){return typeof D.end=="number"?D.end:D.loc&&D.loc.end}A.exports={locStart:f,locEnd:b}}}),G2=Fe({"src/language-graphql/printer-graphql.js"(m,A){Ve();var{builders:{join:f,hardline:b,line:D,softline:c,group:d,indent:h,ifBreak:E}}=Sn(),{isNextLineEmpty:S,isNonEmptyArray:k}=ye(),{insertPragma:N}=q2(),{locStart:_,locEnd:C}=W2();function x(Z,De,F){let J=Z.getValue();if(!J)return"";if(typeof J=="string")return J;switch(J.kind){case"Document":{let w=[];return Z.each((O,y,T)=>{w.push(F()),y!==T.length-1&&(w.push(b),S(De.originalText,O.getValue(),C)&&w.push(b))},"definitions"),[...w,b]}case"OperationDefinition":{let w=De.originalText[_(J)]!=="{",O=!!J.name;return[w?J.operation:"",w&&O?[" ",F("name")]:"",w&&!O&&k(J.variableDefinitions)?" ":"",k(J.variableDefinitions)?d(["(",h([c,f([E("",", "),c],Z.map(F,"variableDefinitions"))]),c,")"]):"",M(Z,F,J),J.selectionSet?!w&&!O?"":" ":"",F("selectionSet")]}case"FragmentDefinition":return["fragment ",F("name"),k(J.variableDefinitions)?d(["(",h([c,f([E("",", "),c],Z.map(F,"variableDefinitions"))]),c,")"]):""," on ",F("typeCondition"),M(Z,F,J)," ",F("selectionSet")];case"SelectionSet":return["{",h([b,f(b,X(Z,De,F,"selections"))]),b,"}"];case"Field":return d([J.alias?[F("alias"),": "]:"",F("name"),J.arguments.length>0?d(["(",h([c,f([E("",", "),c],X(Z,De,F,"arguments"))]),c,")"]):"",M(Z,F,J),J.selectionSet?" ":"",F("selectionSet")]);case"Name":return J.value;case"StringValue":{if(J.block){let w=J.value.replace(/"""/g,"\\$&").split(`
224
- `);return w.length===1&&(w[0]=w[0].trim()),w.every(O=>O==="")&&(w.length=0),f(b,['"""',...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([c,f([E("",", "),c],Z.map(F,"values"))]),c,"]"]);case"ObjectValue":return d(["{",De.bracketSpacing&&J.fields.length>0?" ":"",h([c,f([E("",", "),c],Z.map(F,"fields"))]),c,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([c,f([E("",", "),c],X(Z,De,F,"arguments"))]),c,")"]):""];case"NamedType":return F("name");case"VariableDefinition":return[F("variable"),": ",F("type"),J.defaultValue?[" = ",F("defaultValue")]:"",M(Z,F,J)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[F("description"),J.description?b:"",J.kind==="ObjectTypeExtension"?"extend ":"","type ",F("name"),J.interfaces.length>0?[" implements ",...Q(Z,De,F)]:"",M(Z,F,J),J.fields.length>0?[" {",h([b,f(b,X(Z,De,F,"fields"))]),b,"}"]:""];case"FieldDefinition":return[F("description"),J.description?b:"",F("name"),J.arguments.length>0?d(["(",h([c,f([E("",", "),c],X(Z,De,F,"arguments"))]),c,")"]):"",": ",F("type"),M(Z,F,J)];case"DirectiveDefinition":return[F("description"),J.description?b:"","directive ","@",F("name"),J.arguments.length>0?d(["(",h([c,f([E("",", "),c],X(Z,De,F,"arguments"))]),c,")"]):"",J.repeatable?" repeatable":""," on ",f(" | ",Z.map(F,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[F("description"),J.description?b:"",J.kind==="EnumTypeExtension"?"extend ":"","enum ",F("name"),M(Z,F,J),J.values.length>0?[" {",h([b,f(b,X(Z,De,F,"values"))]),b,"}"]:""];case"EnumValueDefinition":return[F("description"),J.description?b:"",F("name"),M(Z,F,J)];case"InputValueDefinition":return[F("description"),J.description?J.description.block?b:D:"",F("name"),": ",F("type"),J.defaultValue?[" = ",F("defaultValue")]:"",M(Z,F,J)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[F("description"),J.description?b:"",J.kind==="InputObjectTypeExtension"?"extend ":"","input ",F("name"),M(Z,F,J),J.fields.length>0?[" {",h([b,f(b,X(Z,De,F,"fields"))]),b,"}"]:""];case"SchemaExtension":return["extend schema",M(Z,F,J),...J.operationTypes.length>0?[" {",h([b,f(b,X(Z,De,F,"operationTypes"))]),b,"}"]:[]];case"SchemaDefinition":return[F("description"),J.description?b:"","schema",M(Z,F,J)," {",J.operationTypes.length>0?h([b,f(b,X(Z,De,F,"operationTypes"))]):"",b,"}"];case"OperationTypeDefinition":return[F("operation"),": ",F("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[F("description"),J.description?b:"",J.kind==="InterfaceTypeExtension"?"extend ":"","interface ",F("name"),J.interfaces.length>0?[" implements ",...Q(Z,De,F)]:"",M(Z,F,J),J.fields.length>0?[" {",h([b,f(b,X(Z,De,F,"fields"))]),b,"}"]:""];case"FragmentSpread":return["...",F("name"),M(Z,F,J)];case"InlineFragment":return["...",J.typeCondition?[" on ",F("typeCondition")]:"",M(Z,F,J)," ",F("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return d([F("description"),J.description?b:"",d([J.kind==="UnionTypeExtension"?"extend ":"","union ",F("name"),M(Z,F,J),J.types.length>0?[" =",E(""," "),h([E([D," "]),f([D,"| "],Z.map(F,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[F("description"),J.description?b:"",J.kind==="ScalarTypeExtension"?"extend ":"","scalar ",F("name"),M(Z,F,J)];case"NonNullType":return[F("type"),"!"];case"ListType":return["[",F("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(J.kind))}}function M(Z,De,F){if(F.directives.length===0)return"";let J=f(D,Z.map(De,"directives"));return F.kind==="FragmentDefinition"||F.kind==="OperationDefinition"?d([D,J]):[" ",d(h([c,J]))]}function X(Z,De,F,J){return Z.map((w,O,y)=>{let T=F();return O<y.length-1&&S(De.originalText,w.getValue(),C)?[T,b]:T},J)}function ee(Z){return Z.kind&&Z.kind!=="Comment"}function $(Z){let De=Z.getValue();if(De.kind==="Comment")return"#"+De.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(De))}function Q(Z,De,F){let J=Z.getNode(),w=[],{interfaces:O}=J,y=Z.map(T=>F(T),"interfaces");for(let T=0;T<O.length;T++){let B=O[T];w.push(y[T]);let U=O[T+1];if(U){let q=De.originalText.slice(B.loc.end,U.loc.start),z=q.includes("#"),re=q.replace(/#.*/g,"").trim();w.push(re===","?",":" &",z?D:" ")}}return w}function G(Z,De){Z.kind==="StringValue"&&Z.block&&!Z.value.includes(`
225
- `)&&(De.value=De.value.trim())}G.ignoredProperties=new Set(["loc","comments"]);function ne(Z){var De;let F=Z.getValue();return F==null||(De=F.comments)===null||De===void 0?void 0:De.some(J=>J.value.trim()==="prettier-ignore")}A.exports={print:x,massageAstNode:G,hasPrettierIgnore:ne,insertPragma:N,printComment:$,canAttachComment:ee}}}),J2=Fe({"src/language-graphql/options.js"(m,A){Ve();var f=Ha();A.exports={bracketSpacing:f.bracketSpacing}}}),Y2=Fe({"src/language-graphql/parsers.js"(){Ve()}}),H2=Fe({"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}}}),z2=Fe({"src/language-graphql/index.js"(m,A){Ve();var f=Zs(),b=G2(),D=J2(),c=Y2(),d=[f(H2(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],h={graphql:b};A.exports={languages:d,options:D,printers:h,parsers:c}}}),q0=Fe({"node_modules/collapse-white-space/index.js"(m,A){Ve(),A.exports=f;function f(b){return String(b).replace(/\s+/g," ")}}}),W0=Fe({"src/language-markdown/loc.js"(m,A){Ve();function f(D){return D.position.start.offset}function b(D){return D.position.end.offset}A.exports={locStart:f,locEnd:b}}}),X2=Fe({"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]"}}}),Yf=Fe({"src/language-markdown/utils.js"(m,A){Ve();var{getLast:f}=ye(),{locStart:b,locEnd:D}=W0(),{cjkPattern:c,kPattern:d,punctuationPattern:h}=X2(),E=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],S=[...E,"tableCell","paragraph","heading"],k=new RegExp(d),N=new RegExp(h);function _($,Q){let G="non-cjk",ne="cj-letter",Z="k-letter",De="cjk-punctuation",F=[],J=(Q.proseWrap==="preserve"?$:$.replace(new RegExp(`(${c})
226
- (${c})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[O,y]of J.entries()){if(O%2===1){F.push({type:"whitespace",value:/\n/.test(y)?`
227
- `:" "});continue}if((O===0||O===J.length-1)&&y==="")continue;let T=y.split(new RegExp(`(${c})`));for(let[B,U]of T.entries())if(!((B===0||B===T.length-1)&&U==="")){if(B%2===0){U!==""&&w({type:"word",value:U,kind:G,hasLeadingPunctuation:N.test(U[0]),hasTrailingPunctuation:N.test(f(U))});continue}w(N.test(U)?{type:"word",value:U,kind:De,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:U,kind:k.test(U)?Z:ne,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return F;function w(O){let y=f(F);y&&y.type==="word"&&(y.kind===G&&O.kind===ne&&!y.hasTrailingPunctuation||y.kind===ne&&O.kind===G&&!O.hasLeadingPunctuation?F.push({type:"whitespace",value:" "}):!T(G,De)&&![y.value,O.value].some(B=>/\u3000/.test(B))&&F.push({type:"whitespace",value:""})),F.push(O);function T(B,U){return y.kind===B&&O.kind===U||y.kind===U&&O.kind===B}}}function C($,Q){let[,G,ne,Z]=Q.slice($.position.start.offset,$.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:G,marker:ne,leadingSpaces:Z}}function x($,Q){if(!$.ordered||$.children.length<2)return!1;let G=Number(C($.children[0],Q.originalText).numberText),ne=Number(C($.children[1],Q.originalText).numberText);if(G===0&&$.children.length>2){let Z=Number(C($.children[2],Q.originalText).numberText);return ne===1&&Z===1}return ne===1}function M($,Q){let{value:G}=$;return $.position.end.offset===Q.length&&G.endsWith(`
228
- `)&&Q.endsWith(`
229
- `)?G.slice(0,-1):G}function X($,Q){return function G(ne,Z,De){let F=Object.assign({},Q(ne,Z,De));return F.children&&(F.children=F.children.map((J,w)=>G(J,w,[F,...De]))),F}($,null,[])}function ee($){if($?.type!=="link"||$.children.length!==1)return!1;let[Q]=$.children;return b($)===b(Q)&&D($)===D(Q)}A.exports={mapAst:X,splitText:_,punctuationPattern:h,getFencedCodeBlockValue:M,getOrderedListItemInfo:C,hasGitDiffFriendlyOrderedList:x,INLINE_NODE_TYPES:E,INLINE_NODE_WRAPPER_TYPES:S,isAutolink:ee}}}),Q2=Fe({"src/language-markdown/embed.js"(m,A){Ve();var{inferParserByLanguage:f,getMaxContinuousCount:b}=ye(),{builders:{hardline:D,markAsRoot:c},utils:{replaceEndOfLine:d}}=Sn(),h=Jf(),{getFencedCodeBlockValue:E}=Yf();function S(k,N,_,C){let x=k.getValue();if(x.type==="code"&&x.lang!==null){let M=f(x.lang,C);if(M){let X=C.__inJsTemplate?"~":"`",ee=X.repeat(Math.max(3,b(x.value,X)+1)),$={parser:M};x.lang==="tsx"&&($.filepath="dummy.tsx");let Q=_(E(x,C.originalText),$,{stripTrailingHardline:!0});return c([ee,x.lang,x.meta?" "+x.meta:"",D,d(Q),D,ee])}}switch(x.type){case"front-matter":return h(x,_);case"importExport":return[_(x.value,{parser:"babel"},{stripTrailingHardline:!0}),D];case"jsx":return _(`<$>${x.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}A.exports=S}}),G0=Fe({"src/language-markdown/pragma.js"(m,A){Ve();var f=U0(),b=["format","prettier"];function D(c){let d=`@(${b.join("|")})`,h=new RegExp([`<!--\\s*${d}\\s*-->`,`{\\s*\\/\\*\\s*${d}\\s*\\*\\/\\s*}`,`<!--.*\r?
230
- [\\s\\S]*(^|
231
- )[^\\S
232
- ]*${d}[^\\S
233
- ]*($|
234
- )[\\s\\S]*
235
- .*-->`].join("|"),"m"),E=c.match(h);return E?.index===0}A.exports={startWithPragma:D,hasPragma:c=>D(f(c).content.trimStart()),insertPragma:c=>{let d=f(c),h=`<!-- @${b[0]} -->`;return d.frontMatter?`${d.frontMatter.raw}
236
-
237
- ${h}
238
-
239
- ${d.content}`:`${h}
240
-
241
- ${d.content}`}}}}),K2=Fe({"src/language-markdown/print-preprocess.js"(m,A){Ve();var f=Mr(),{getOrderedListItemInfo:b,mapAst:D,splitText:c}=Yf(),d=/^.$/su;function h(ee,$){return ee=k(ee,$),ee=C(ee),ee=S(ee,$),ee=M(ee,$),ee=X(ee,$),ee=x(ee,$),ee=E(ee),ee=N(ee),ee}function E(ee){return D(ee,$=>$.type!=="import"&&$.type!=="export"?$:Object.assign(Object.assign({},$),{},{type:"importExport"}))}function S(ee,$){return D(ee,Q=>Q.type!=="inlineCode"||$.proseWrap==="preserve"?Q:Object.assign(Object.assign({},Q),{},{value:Q.value.replace(/\s+/g," ")}))}function k(ee,$){return D(ee,Q=>Q.type!=="text"||Q.value==="*"||Q.value==="_"||!d.test(Q.value)||Q.position.end.offset-Q.position.start.offset===Q.value.length?Q:Object.assign(Object.assign({},Q),{},{value:$.originalText.slice(Q.position.start.offset,Q.position.end.offset)}))}function N(ee){return _(ee,($,Q)=>$.type==="importExport"&&Q.type==="importExport",($,Q)=>({type:"importExport",value:$.value+`
242
-
243
- `+Q.value,position:{start:$.position.start,end:Q.position.end}}))}function _(ee,$,Q){return D(ee,G=>{if(!G.children)return G;let ne=G.children.reduce((Z,De)=>{let F=f(Z);return F&&$(F,De)?Z.splice(-1,1,Q(F,De)):Z.push(De),Z},[]);return Object.assign(Object.assign({},G),{},{children:ne})})}function C(ee){return _(ee,($,Q)=>$.type==="text"&&Q.type==="text",($,Q)=>({type:"text",value:$.value+Q.value,position:{start:$.position.start,end:Q.position.end}}))}function x(ee,$){return D(ee,(Q,G,ne)=>{let[Z]=ne;if(Q.type!=="text")return Q;let{value:De}=Q;return Z.type==="paragraph"&&(G===0&&(De=De.trimStart()),G===Z.children.length-1&&(De=De.trimEnd())),{type:"sentence",position:Q.position,children:c(De,$)}})}function M(ee,$){return D(ee,(Q,G,ne)=>{if(Q.type==="code"){let Z=/^\n?(?: {4,}|\t)/.test($.originalText.slice(Q.position.start.offset,Q.position.end.offset));if(Q.isIndented=Z,Z)for(let De=0;De<ne.length;De++){let F=ne[De];if(F.hasIndentedCodeblock)break;F.type==="list"&&(F.hasIndentedCodeblock=!0)}}return Q})}function X(ee,$){return D(ee,(ne,Z,De)=>{if(ne.type==="list"&&ne.children.length>0){for(let F=0;F<De.length;F++){let J=De[F];if(J.type==="list"&&!J.isAligned)return ne.isAligned=!1,ne}ne.isAligned=G(ne)}return ne});function Q(ne){return ne.children.length===0?-1:ne.children[0].position.start.column-1}function G(ne){if(!ne.ordered)return!0;let[Z,De]=ne.children;if(b(Z,$.originalText).leadingSpaces.length>1)return!0;let F=Q(Z);if(F===-1)return!1;if(ne.children.length===1)return F%$.tabWidth===0;let J=Q(De);return F!==J?!1:F%$.tabWidth===0?!0:b(De,$.originalText).leadingSpaces.length>1}}A.exports=h}}),Z2=Fe({"src/language-markdown/clean.js"(m,A){Ve();var f=q0(),{isFrontMatterNode:b}=ye(),{startWithPragma:D}=G0(),c=new Set(["position","raw"]);function d(h,E,S){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=f(h.label)),(h.type==="definition"||h.type==="link"||h.type==="image")&&h.title&&(E.title=h.title.replace(/\\(["')])/g,"$1")),S&&S.type==="root"&&S.children.length>0&&(S.children[0]===h||b(S.children[0])&&S.children[1]===h)&&h.type==="html"&&D(h.value)))return null}d.ignoredProperties=c,A.exports=d}}),eE=Fe({"src/language-markdown/printer-markdown.js"(m,A){Ve();var f=q0(),{getLast:b,getMinNotPresentContinuousCount:D,getMaxContinuousCount:c,getStringWidth:d,isNonEmptyArray:h}=ye(),{builders:{breakParent:E,join:S,line:k,literalline:N,markAsRoot:_,hardline:C,softline:x,ifBreak:M,fill:X,align:ee,indent:$,group:Q,hardlineWithoutBreakParent:G},utils:{normalizeDoc:ne,replaceTextEndOfLine:Z},printer:{printDocToString:De}}=Sn(),F=Q2(),{insertPragma:J}=G0(),{locStart:w,locEnd:O}=W0(),y=K2(),T=Z2(),{getFencedCodeBlockValue:B,hasGitDiffFriendlyOrderedList:U,splitText:q,punctuationPattern:z,INLINE_NODE_TYPES:re,INLINE_NODE_WRAPPER_TYPES:ce,isAutolink:ge}=Yf(),fe=new Set(["importExport"]),Ne=["heading","tableCell","link","wikiLink"],ie=new Set(["listItem","definition","footnoteDefinition"]);function We(at,Ae,dt){let je=at.getValue();if(Tt(at))return q(Ae.originalText.slice(je.position.start.offset,je.position.end.offset),Ae).map(lt=>lt.type==="word"?lt.value:lt.value===""?"":be(at,lt.value,Ae));switch(je.type){case"front-matter":return Ae.originalText.slice(je.position.start.offset,je.position.end.offset);case"root":return je.children.length===0?"":[ne(ft(at,Ae,dt)),fe.has(Ue(je).type)?"":C];case"paragraph":return pt(at,Ae,dt,{postprocessor:X});case"sentence":return pt(at,Ae,dt);case"word":{let lt=je.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${z})(_+)`,`(_+)(${z}|$)`].join("|"),"g"),(gt,V,Te,nt,kt)=>(Te?`${V}${Te}`:`${nt}${kt}`).replace(/_/g,"\\_")),Qt=(gt,V,Te)=>gt.type==="sentence"&&Te===0,Vt=(gt,V,Te)=>ge(gt.children[Te-1]);return lt!==je.value&&(at.match(void 0,Qt,Vt)||at.match(void 0,Qt,(gt,V,Te)=>gt.type==="emphasis"&&Te===0,Vt))&&(lt=lt.replace(/^(\\?[*_])+/,gt=>gt.replace(/\\/g,""))),lt}case"whitespace":{let lt=at.getParentNode(),Qt=lt.children.indexOf(je),Vt=lt.children[Qt+1],gt=Vt&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Vt.value)?"never":Ae.proseWrap;return be(at,je.value,{proseWrap:gt})}case"emphasis":{let lt;if(ge(je.children[0]))lt=Ae.originalText[je.position.start.offset];else{let Qt=at.getParentNode(),Vt=Qt.children.indexOf(je),gt=Qt.children[Vt-1],V=Qt.children[Vt+1];lt=gt&&gt.type==="sentence"&&gt.children.length>0&&b(gt.children).type==="word"&&!b(gt.children).hasTrailingPunctuation||V&&V.type==="sentence"&&V.children.length>0&&V.children[0].type==="word"&&!V.children[0].hasLeadingPunctuation||ht(at,"emphasis")?"*":"_"}return[lt,pt(at,Ae,dt),lt]}case"strong":return["**",pt(at,Ae,dt),"**"];case"delete":return["~~",pt(at,Ae,dt),"~~"];case"inlineCode":{let lt=D(je.value,"`"),Qt="`".repeat(lt||1),Vt=lt&&!/^\s/.test(je.value)?" ":"";return[Qt,Vt,je.value,Vt,Qt]}case"wikiLink":{let lt="";return Ae.proseWrap==="preserve"?lt=je.value:lt=je.value.replace(/[\t\n]+/g," "),["[[",lt,"]]"]}case"link":switch(Ae.originalText[je.position.start.offset]){case"<":{let lt="mailto:";return["<",je.url.startsWith(lt)&&Ae.originalText.slice(je.position.start.offset+1,je.position.start.offset+1+lt.length)!==lt?je.url.slice(lt.length):je.url,">"]}case"[":return["[",pt(at,Ae,dt),"](",Bt(je.url,")"),on(je.title,Ae),")"];default:return Ae.originalText.slice(je.position.start.offset,je.position.end.offset)}case"image":return["![",je.alt||"","](",Bt(je.url,")"),on(je.title,Ae),")"];case"blockquote":return["> ",ee("> ",pt(at,Ae,dt))];case"heading":return["#".repeat(je.depth)+" ",pt(at,Ae,dt)];case"code":{if(je.isIndented){let Vt=" ".repeat(4);return ee(Vt,[Vt,...Z(je.value,C)])}let lt=Ae.__inJsTemplate?"~":"`",Qt=lt.repeat(Math.max(3,c(je.value,lt)+1));return[Qt,je.lang||"",je.meta?" "+je.meta:"",C,...Z(B(je,Ae.originalText),C),C,Qt]}case"html":{let lt=at.getParentNode(),Qt=lt.type==="root"&&b(lt.children)===je?je.value.trimEnd():je.value,Vt=/^<!--.*-->$/s.test(Qt);return Z(Qt,Vt?C:_(N))}case"list":{let lt=qe(je,at.getParentNode()),Qt=U(je,Ae);return pt(at,Ae,dt,{processor:(Vt,gt)=>{let V=nt(),Te=Vt.getValue();if(Te.children.length===2&&Te.children[1].type==="html"&&Te.children[0].position.start.column!==Te.children[1].position.start.column)return[V,me(Vt,Ae,dt,V)];return[V,ee(" ".repeat(V.length),me(Vt,Ae,dt,V))];function nt(){let kt=je.ordered?(gt===0?je.start:Qt?1:je.start+gt)+(lt%2===0?". ":") "):lt%2===0?"- ":"* ";return je.isAligned||je.hasIndentedCodeblock?oe(kt,Ae):kt}}})}case"thematicBreak":{let lt=Ye(at,"list");return lt===-1?"---":qe(at.getParentNode(lt),at.getParentNode(lt+1))%2===0?"***":"---"}case"linkReference":return["[",pt(at,Ae,dt),"]",je.referenceType==="full"?an(je):je.referenceType==="collapsed"?"[]":""];case"imageReference":switch(je.referenceType){case"full":return["![",je.alt||"","]",an(je)];default:return["![",je.alt,"]",je.referenceType==="collapsed"?"[]":""]}case"definition":{let lt=Ae.proseWrap==="always"?k:" ";return Q([an(je),":",$([lt,Bt(je.url),je.title===null?"":[lt,on(je.title,Ae,!1)]])])}case"footnote":return["[^",pt(at,Ae,dt),"]"];case"footnoteReference":return gn(je);case"footnoteDefinition":{let lt=at.getParentNode().children[at.getName()+1],Qt=je.children.length===1&&je.children[0].type==="paragraph"&&(Ae.proseWrap==="never"||Ae.proseWrap==="preserve"&&je.children[0].position.start.line===je.children[0].position.end.line);return[gn(je),": ",Qt?pt(at,Ae,dt):Q([ee(" ".repeat(4),pt(at,Ae,dt,{processor:(Vt,gt)=>gt===0?Q([x,dt()]):dt()})),lt&&lt.type==="footnoteDefinition"?x:""])]}case"table":return Me(at,Ae,dt);case"tableCell":return pt(at,Ae,dt);case"break":return/\s/.test(Ae.originalText[je.position.start.offset])?[" ",_(N)]:["\\",C];case"liquidNode":return Z(je.value,C);case"importExport":return[je.value,C];case"esComment":return["{/* ",je.value," */}"];case"jsx":return je.value;case"math":return["$$",C,je.value?[...Z(je.value,C),C]:"","$$"];case"inlineMath":return Ae.originalText.slice(w(je),O(je));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(je.type)}`)}}function me(at,Ae,dt,je){let lt=at.getValue(),Qt=lt.checked===null?"":lt.checked?"[x] ":"[ ] ";return[Qt,pt(at,Ae,dt,{processor:(Vt,gt)=>{if(gt===0&&Vt.getValue().type!=="list")return ee(" ".repeat(Qt.length),dt());let V=" ".repeat(Ln(Ae.tabWidth-je.length,0,3));return[V,ee(V,dt())]}})]}function oe(at,Ae){let dt=je();return at+" ".repeat(dt>=4?0:dt);function je(){let lt=at.length%Ae.tabWidth;return lt===0?0:Ae.tabWidth-lt}}function qe(at,Ae){return tt(at,Ae,dt=>dt.ordered===at.ordered)}function tt(at,Ae,dt){let je=-1;for(let lt of Ae.children)if(lt.type===at.type&&dt(lt)?je++:je=-1,lt===at)return je}function Ye(at,Ae){let dt=Array.isArray(Ae)?Ae:[Ae],je=-1,lt;for(;lt=at.getParentNode(++je);)if(dt.includes(lt.type))return je;return-1}function ht(at,Ae){let dt=Ye(at,Ae);return dt===-1?null:at.getParentNode(dt)}function be(at,Ae,dt){if(dt.proseWrap==="preserve"&&Ae===`
244
- `)return C;let je=dt.proseWrap==="always"&&!ht(at,Ne);return Ae!==""?je?k:" ":je?x:""}function Me(at,Ae,dt){let je=at.getValue(),lt=[],Qt=at.map(kt=>kt.map(($t,sn)=>{let It=De(dt(),Ae).formatted,br=d(It);return lt[sn]=Math.max(lt[sn]||3,br),{text:It,width:br}},"children"),"children"),Vt=V(!1);if(Ae.proseWrap!=="never")return[E,Vt];let gt=V(!0);return[E,Q(M(gt,Vt))];function V(kt){let $t=[nt(Qt[0],kt),Te(kt)];return Qt.length>1&&$t.push(S(G,Qt.slice(1).map(sn=>nt(sn,kt)))),S(G,$t)}function Te(kt){return`| ${lt.map(($t,sn)=>{let It=je.align[sn],br=It==="center"||It==="left"?":":"-",tn=It==="center"||It==="right"?":":"-",gr=kt?"-":"-".repeat($t-2);return`${br}${gr}${tn}`}).join(" | ")} |`}function nt(kt,$t){return`| ${kt.map((sn,It)=>{let{text:br,width:tn}=sn;if($t)return br;let gr=lt[It]-tn,Zt=je.align[It],vn=0;Zt==="right"?vn=gr:Zt==="center"&&(vn=Math.floor(gr/2));let _n=gr-vn;return`${" ".repeat(vn)}${br}${" ".repeat(_n)}`}).join(" | ")} |`}}function ft(at,Ae,dt){let je=[],lt=null,{children:Qt}=at.getValue();for(let[Vt,gt]of Qt.entries())switch(Se(gt)){case"start":lt===null&&(lt={index:Vt,offset:gt.position.end.offset});break;case"end":lt!==null&&(je.push({start:lt,end:{index:Vt,offset:gt.position.start.offset}}),lt=null);break}return pt(at,Ae,dt,{processor:(Vt,gt)=>{if(je.length>0){let V=je[0];if(gt===V.start.index)return[Wt(Qt[V.start.index]),Ae.originalText.slice(V.start.offset,V.end.offset),Wt(Qt[V.end.index])];if(V.start.index<gt&&gt<V.end.index)return!1;if(gt===V.end.index)return je.shift(),!1}return dt()}})}function pt(at,Ae,dt){let je=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:lt}=je,Qt=je.processor||(()=>dt()),Vt=at.getValue(),gt=[],V;return at.each((Te,nt)=>{let kt=Te.getValue(),$t=Qt(Te,nt);if($t!==!1){let sn={parts:gt,prevNode:V,parentNode:Vt,options:Ae};He(kt,sn)&&(gt.push(C),V&&fe.has(V.type)||(Xe(kt,sn)||bt(kt,sn))&&gt.push(C),bt(kt,sn)&&gt.push(C)),gt.push($t),V=kt}},"children"),lt?lt(gt):gt}function Wt(at){if(at.type==="html")return at.value;if(at.type==="paragraph"&&Array.isArray(at.children)&&at.children.length===1&&at.children[0].type==="esComment")return["{/* ",at.children[0].value," */}"]}function Ue(at){let Ae=at;for(;h(Ae.children);)Ae=b(Ae.children);return Ae}function Se(at){let Ae;if(at.type==="html")Ae=at.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let dt;at.type==="esComment"?dt=at:at.type==="paragraph"&&at.children.length===1&&at.children[0].type==="esComment"&&(dt=at.children[0]),dt&&(Ae=dt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Ae?Ae[1]||"next":!1}function He(at,Ae){let dt=Ae.parts.length===0,je=re.includes(at.type),lt=at.type==="html"&&ce.includes(Ae.parentNode.type);return!dt&&!je&&!lt}function Xe(at,Ae){var dt,je,lt;let Qt=(Ae.prevNode&&Ae.prevNode.type)===at.type&&ie.has(at.type),Vt=Ae.parentNode.type==="listItem"&&!Ae.parentNode.loose,gt=((dt=Ae.prevNode)===null||dt===void 0?void 0:dt.type)==="listItem"&&Ae.prevNode.loose,V=Se(Ae.prevNode)==="next",Te=at.type==="html"&&((je=Ae.prevNode)===null||je===void 0?void 0:je.type)==="html"&&Ae.prevNode.position.end.line+1===at.position.start.line,nt=at.type==="html"&&Ae.parentNode.type==="listItem"&&((lt=Ae.prevNode)===null||lt===void 0?void 0:lt.type)==="paragraph"&&Ae.prevNode.position.end.line+1===at.position.start.line;return gt||!(Qt||Vt||V||Te||nt)}function bt(at,Ae){let dt=Ae.prevNode&&Ae.prevNode.type==="list",je=at.type==="code"&&at.isIndented;return dt&&je}function Tt(at){let Ae=ht(at,["linkReference","imageReference"]);return Ae&&(Ae.type!=="linkReference"||Ae.referenceType!=="full")}function Bt(at){let Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],dt=[" ",...Array.isArray(Ae)?Ae:[Ae]];return new RegExp(dt.map(je=>`\\${je}`).join("|")).test(at)?`<${at}>`:at}function on(at,Ae){let dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!at)return"";if(dt)return" "+on(at,Ae,!1);if(at=at.replace(/\\(["')])/g,"$1"),at.includes('"')&&at.includes("'")&&!at.includes(")"))return`(${at})`;let je=at.split("'").length-1,lt=at.split('"').length-1,Qt=je>lt?'"':lt>je||Ae.singleQuote?"'":'"';return at=at.replace(/\\/,"\\\\"),at=at.replace(new RegExp(`(${Qt})`,"g"),"\\$1"),`${Qt}${at}${Qt}`}function Ln(at,Ae,dt){return at<Ae?Ae:at>dt?dt:at}function Tn(at){let Ae=Number(at.getName());if(Ae===0)return!1;let dt=at.getParentNode().children[Ae-1];return Se(dt)==="next"}function an(at){return`[${f(at.label)}]`}function gn(at){return`[^${at.label}]`}A.exports={preprocess:y,print:We,embed:F,massageAstNode:T,hasPrettierIgnore:Tn,insertPragma:J}}}),tE=Fe({"src/language-markdown/options.js"(m,A){Ve();var f=Ha();A.exports={proseWrap:f.proseWrap,singleQuote:f.singleQuote}}}),nE=Fe({"src/language-markdown/parsers.js"(){Ve()}}),J0=Fe({"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}}}),rE=Fe({"src/language-markdown/index.js"(m,A){Ve();var f=Zs(),b=eE(),D=tE(),c=nE(),d=[f(J0(),E=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...E.filenames,"README"],extensions:E.extensions.filter(S=>S!==".mdx")})),f(J0(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],h={mdast:b};A.exports={languages:d,options:D,printers:h,parsers:c}}}),iE=Fe({"src/language-html/clean.js"(m,A){Ve();var{isFrontMatterNode:f}=ye(),b=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function D(c,d){if(c.type==="text"||c.type==="comment"||f(c)||c.type==="yaml"||c.type==="toml")return null;c.type==="attribute"&&delete d.value,c.type==="docType"&&delete d.value}D.ignoredProperties=b,A.exports=D}}),sE=Fe({"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"}}}),aE=Fe({"src/language-html/utils/is-unknown-namespace.js"(m,A){Ve();function f(b){return b.type==="element"&&!b.hasExplicitNamespace&&!["html","svg"].includes(b.namespace)}A.exports=f}}),za=Fe({"src/language-html/utils/index.js"(m,A){Ve();var{inferParserByLanguage:f,isFrontMatterNode:b}=ye(),{builders:{line:D,hardline:c,join:d},utils:{getDocParts:h,replaceTextEndOfLine:E}}=Sn(),{CSS_DISPLAY_TAGS:S,CSS_DISPLAY_DEFAULT:k,CSS_WHITE_SPACE_TAGS:N,CSS_WHITE_SPACE_DEFAULT:_}=sE(),C=aE(),x=new Set([" ",`
245
- `,"\f","\r"," "]),M=V=>V.replace(/^[\t\n\f\r ]+/,""),X=V=>V.replace(/[\t\n\f\r ]+$/,""),ee=V=>M(X(V)),$=V=>V.replace(/^[\t\f\r ]*\n/g,""),Q=V=>$(X(V)),G=V=>V.split(/[\t\n\f\r ]+/),ne=V=>V.match(/^[\t\n\f\r ]*/)[0],Z=V=>{let[,Te,nt,kt]=V.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:Te,trailingWhitespace:kt,text:nt}},De=V=>/[\t\n\f\r ]/.test(V);function F(V,Te){return!!(V.type==="ieConditionalComment"&&V.lastChild&&!V.lastChild.isSelfClosing&&!V.lastChild.endSourceSpan||V.type==="ieConditionalComment"&&!V.complete||Xe(V)&&V.children.some(nt=>nt.type!=="text"&&nt.type!=="interpolation")||je(V,Te)&&!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 O(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 T(V){return V.children&&!y(V)}function B(V){return y(V)||V.type==="interpolation"||U(V)}function U(V){return on(V).startsWith("pre")}function q(V,Te){let nt=kt();if(nt&&!V.prev&&V.parent&&V.parent.tagDefinition&&V.parent.tagDefinition.ignoreFirstLf)return V.type==="interpolation";return nt;function kt(){return b(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:Xe(V.parent)?!0:!(!V.prev&&(V.parent.type==="root"||Xe(V)&&V.parent||y(V.parent)||Ae(V.parent,Te)||!pt(V.parent.cssDisplay))||V.prev&&!Se(V.prev.cssDisplay))}}function z(V,Te){return b(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:Xe(V.parent)?!0:!(!V.next&&(V.parent.type==="root"||Xe(V)&&V.parent||y(V.parent)||Ae(V.parent,Te)||!Wt(V.parent.cssDisplay))||V.next&&!Ue(V.next.cssDisplay))}function re(V){return He(V.cssDisplay)&&!y(V)}function ce(V){return b(V)||V.next&&V.sourceSpan.end&&V.sourceSpan.end.line+1<V.next.sourceSpan.start.line}function ge(V){return fe(V)||V.type==="element"&&V.children.length>0&&(["body","script","style"].includes(V.name)||V.children.some(Te=>Ye(Te)))||V.firstChild&&V.firstChild===V.lastChild&&V.firstChild.type!=="text"&&me(V.firstChild)&&(!V.lastChild.isTrailingSpaceSensitive||oe(V.lastChild))}function fe(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 Ne(V){return qe(V)||V.prev&&ie(V.prev)||We(V)}function ie(V){return qe(V)||V.type==="element"&&V.fullName==="br"||We(V)}function We(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 tt(V){return V.lastChild?tt(V.lastChild):V}function Ye(V){return V.children&&V.children.some(Te=>Te.type!=="text")}function ht(V){let{type:Te,lang:nt}=V.attrMap;if(Te==="module"||Te==="text/javascript"||Te==="text/babel"||Te==="application/javascript"||nt==="jsx")return"babel";if(Te==="application/x-typescript"||nt==="ts"||nt==="tsx")return"typescript";if(Te==="text/markdown")return"markdown";if(Te==="text/html")return"html";if(Te&&(Te.endsWith("json")||Te.endsWith("importmap"))||Te==="speculationrules")return"json";if(Te==="text/x-handlebars-template")return"glimmer"}function be(V,Te){let{lang:nt}=V.attrMap;if(!nt||nt==="postcss"||nt==="css")return"css";if(nt==="scss")return"scss";if(nt==="less")return"less";if(nt==="stylus")return f("stylus",Te)}function Me(V,Te){if(V.name==="script"&&!V.attrMap.src)return!V.attrMap.lang&&!V.attrMap.type?"babel":ht(V);if(V.name==="style")return be(V,Te);if(Te&&je(V,Te))return ht(V)||!("src"in V.attrMap)&&f(V.attrMap.lang,Te)}function ft(V){return V==="block"||V==="list-item"||V.startsWith("table")}function pt(V){return!ft(V)&&V!=="inline-block"}function Wt(V){return!ft(V)&&V!=="inline-block"}function Ue(V){return!ft(V)}function Se(V){return!ft(V)}function He(V){return!ft(V)&&V!=="inline-block"}function Xe(V){return on(V).startsWith("pre")}function bt(V,Te){let nt=0;for(let kt=V.stack.length-1;kt>=0;kt--){let $t=V.stack[kt];$t&&typeof $t=="object"&&!Array.isArray($t)&&Te($t)&&nt++}return nt}function Tt(V,Te){let nt=V;for(;nt;){if(Te(nt))return!0;nt=nt.parent}return!1}function Bt(V,Te){if(V.prev&&V.prev.type==="comment"){let kt=V.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(kt)return kt[1]}let nt=!1;if(V.type==="element"&&V.namespace==="svg")if(Tt(V,kt=>kt.fullName==="svg:foreignObject"))nt=!0;else return V.name==="svg"?"inline-block":"block";switch(Te.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return Te.parser==="vue"&&V.parent&&V.parent.type==="root"?"block":V.type==="element"&&(!V.namespace||nt||C(V))&&S[V.name]||k}}function on(V){return V.type==="element"&&(!V.namespace||C(V))&&N[V.name]||_}function Ln(V){let Te=Number.POSITIVE_INFINITY;for(let nt of V.split(`
246
- `)){if(nt.length===0)continue;if(!x.has(nt[0]))return 0;let kt=ne(nt).length;nt.length!==kt&&kt<Te&&(Te=kt)}return Te===Number.POSITIVE_INFINITY?0:Te}function Tn(V){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ln(V);return Te===0?V:V.split(`
247
- `).map(nt=>nt.slice(Te)).join(`
248
- `)}function an(V,Te){let nt=0;for(let kt=0;kt<V.length;kt++)V[kt]===Te&&nt++;return nt}function gn(V){return V.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var at=new Set(["template","style","script"]);function Ae(V,Te){return dt(V,Te)&&!at.has(V.fullName)}function dt(V,Te){return Te.parser==="vue"&&V.type==="element"&&V.parent.type==="root"&&V.fullName.toLowerCase()!=="html"}function je(V,Te){return dt(V,Te)&&(Ae(V,Te)||V.attrMap.lang&&V.attrMap.lang!=="html")}function lt(V){let Te=V.fullName;return Te.charAt(0)==="#"||Te==="slot-scope"||Te==="v-slot"||Te.startsWith("v-slot:")}function Qt(V,Te){let nt=V.parent;if(!dt(nt,Te))return!1;let kt=nt.fullName,$t=V.fullName;return kt==="script"&&$t==="setup"||kt==="style"&&$t==="vars"}function Vt(V){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.value;return V.parent.isWhitespaceSensitive?V.parent.isIndentationSensitive?E(Te):E(Tn(Q(Te)),c):h(d(D,G(Te)))}function gt(V,Te){return dt(V,Te)&&V.name==="script"}A.exports={htmlTrim:ee,htmlTrimPreserveIndentation:Q,hasHtmlWhitespace:De,getLeadingAndTrailingHtmlWhitespace:Z,canHaveInterpolation:T,countChars:an,countParents:bt,dedentString:Tn,forceBreakChildren:fe,forceBreakContent:ge,forceNextEmptyLine:ce,getLastDescendant:tt,getNodeCssStyleDisplay:Bt,getNodeCssStyleWhiteSpace:on,hasPrettierIgnore:J,inferScriptParser:Me,isVueCustomBlock:Ae,isVueNonHtmlBlock:je,isVueScriptTag:gt,isVueSlotAttribute:lt,isVueSfcBindingsAttribute:Qt,isVueSfcBlock:dt,isDanglingSpaceSensitiveNode:re,isIndentationSensitiveNode:U,isLeadingSpaceSensitiveNode:q,isPreLikeNode:Xe,isScriptLikeTag:y,isTextLikeNode:O,isTrailingSpaceSensitiveNode:z,isWhitespaceSensitiveNode:B,isUnknownNamespace:C,preferHardlineAsLeadingSpaces:Ne,preferHardlineAsTrailingSpaces:ie,shouldPreserveContent:F,unescapeQuoteEntities:gn,getTextValueParts:Vt}}}),oE=Fe({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(m){Ve(),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 f(h){return m.$0<=h&&h<=m.$9}m.isDigit=f;function b(h){return h>=m.$a&&h<=m.$z||h>=m.$A&&h<=m.$Z}m.isAsciiLetter=b;function D(h){return h>=m.$a&&h<=m.$f||h>=m.$A&&h<=m.$F||f(h)}m.isAsciiHexDigit=D;function c(h){return h===m.$LF||h===m.$CR}m.isNewLine=c;function d(h){return m.$0<=h&&h<=m.$7}m.isOctalDigit=d}}),uE=Fe({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=class{constructor(b,D,c){this.filePath=b,this.name=D,this.members=c}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};m.StaticSymbol=A;var f=class{constructor(){this.cache=new Map}get(b,D,c){c=c||[];let d=c.length?`.${c.join(".")}`:"",h=`"${b}".${D}${d}`,E=this.cache.get(h);return E||(E=new A(b,D,c),this.cache.set(h,E)),E}};m.StaticSymbolCache=f}}),lE=Fe({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=/-+([a-z0-9])/g;function f(y){return y.replace(A,function(){for(var T=arguments.length,B=new Array(T),U=0;U<T;U++)B[U]=arguments[U];return B[1].toUpperCase()})}m.dashCaseToCamelCase=f;function b(y,T){return c(y,":",T)}m.splitAtColon=b;function D(y,T){return c(y,".",T)}m.splitAtPeriod=D;function c(y,T,B){let U=y.indexOf(T);return U==-1?B:[y.slice(0,U).trim(),y.slice(U+1).trim()]}function d(y,T,B){return Array.isArray(y)?T.visitArray(y,B):$(y)?T.visitStringMap(y,B):y==null||typeof y=="string"||typeof y=="number"||typeof y=="boolean"?T.visitPrimitive(y,B):T.visitOther(y,B)}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 S=class{visitArray(y,T){return y.map(B=>d(B,this,T))}visitStringMap(y,T){let B={};return Object.keys(y).forEach(U=>{B[U]=d(y[U],this,T)}),B}visitPrimitive(y,T){return y}visitOther(y,T){return y}};m.ValueTransformer=S,m.SyncAsync={assertSync:y=>{if(Z(y))throw new Error("Illegal state: value cannot be a promise");return y},then:(y,T)=>Z(y)?y.then(T):T(y),all:y=>y.some(Z)?Promise.all(y):y};function k(y){throw new Error(`Internal Error: ${y}`)}m.error=k;function N(y,T){let B=Error(y);return B[_]=!0,T&&(B[C]=T),B}m.syntaxError=N;var _="ngSyntaxError",C="ngParseErrors";function x(y){return y[_]}m.isSyntaxError=x;function M(y){return y[C]||[]}m.getParseErrors=M;function X(y){return y.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=X;var ee=Object.getPrototypeOf({});function $(y){return typeof y=="object"&&y!==null&&Object.getPrototypeOf(y)===ee}function Q(y){let T="";for(let B=0;B<y.length;B++){let U=y.charCodeAt(B);if(U>=55296&&U<=56319&&y.length>B+1){let q=y.charCodeAt(B+1);q>=56320&&q<=57343&&(B++,U=(U-55296<<10)+q-56320+65536)}U<=127?T+=String.fromCharCode(U):U<=2047?T+=String.fromCharCode(U>>6&31|192,U&63|128):U<=65535?T+=String.fromCharCode(U>>12|224,U>>6&63|128,U&63|128):U<=2097151&&(T+=String.fromCharCode(U>>18&7|240,U>>12&63|128,U>>6&63|128,U&63|128))}return T}m.utf8Encode=Q;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 T=y.toString();if(T==null)return""+T;let B=T.indexOf(`
249
- `);return B===-1?T:T.substring(0,B)}m.stringify=G;function ne(y){return typeof y=="function"&&y.hasOwnProperty("__forward_ref__")?y():y}m.resolveForwardRef=ne;function Z(y){return!!y&&typeof y.then=="function"}m.isPromise=Z;var De=class{constructor(y){this.full=y;let T=y.split(".");this.major=T[0],this.minor=T[1],this.patch=T.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,O=w||F||J;m.global=O}}),cE=Fe({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=uE(),f=lE(),b=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function D(B){return B.replace(/\W/g,"_")}m.sanitizeIdentifier=D;var c=0;function d(B){if(!B||!B.reference)return null;let U=B.reference;if(U instanceof A.StaticSymbol)return U.name;if(U.__anonymousType)return U.__anonymousType;let q=f.stringify(U);return q.indexOf("(")>=0?(q=`anonymous_${c++}`,U.__anonymousType=q):q=D(q),q}m.identifierName=d;function h(B){let U=B.reference;return U instanceof A.StaticSymbol?U.filePath:`./${f.stringify(U)}`}m.identifierModuleUrl=h;function E(B,U){return`View_${d({reference:B})}_${U}`}m.viewClassName=E;function S(B){return`RenderType_${d({reference:B})}`}m.rendererTypeName=S;function k(B){return`HostView_${d({reference:B})}`}m.hostViewClassName=k;function N(B){return`${d({reference:B})}NgFactory`}m.componentFactoryName=N;var _;(function(B){B[B.Pipe=0]="Pipe",B[B.Directive=1]="Directive",B[B.NgModule=2]="NgModule",B[B.Injectable=3]="Injectable"})(_=m.CompileSummaryKind||(m.CompileSummaryKind={}));function C(B){return B.value!=null?D(B.value):d(B.identifier)}m.tokenName=C;function x(B){return B.identifier!=null?B.identifier.reference:B.value}m.tokenReference=x;var M=class{constructor(){let{moduleUrl:B,styles:U,styleUrls:q}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=B||null,this.styles=Z(U),this.styleUrls=Z(q)}};m.CompileStylesheetMetadata=M;var X=class{constructor(B){let{encapsulation:U,template:q,templateUrl:z,htmlAst:re,styles:ce,styleUrls:ge,externalStylesheets:fe,animations:Ne,ngContentSelectors:ie,interpolation:We,isInline:me,preserveWhitespaces:oe}=B;if(this.encapsulation=U,this.template=q,this.templateUrl=z,this.htmlAst=re,this.styles=Z(ce),this.styleUrls=Z(ge),this.externalStylesheets=Z(fe),this.animations=Ne?F(Ne):[],this.ngContentSelectors=ie||[],We&&We.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=We,this.isInline=me,this.preserveWhitespaces=oe}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=X;var ee=class{static create(B){let{isHost:U,type:q,isComponent:z,selector:re,exportAs:ce,changeDetection:ge,inputs:fe,outputs:Ne,host:ie,providers:We,viewProviders:me,queries:oe,guards:qe,viewQueries:tt,entryComponents:Ye,template:ht,componentViewType:be,rendererType:Me,componentFactory:ft}=B,pt={},Wt={},Ue={};ie!=null&&Object.keys(ie).forEach(Xe=>{let bt=ie[Xe],Tt=Xe.match(b);Tt===null?Ue[Xe]=bt:Tt[1]!=null?Wt[Tt[1]]=bt:Tt[2]!=null&&(pt[Tt[2]]=bt)});let Se={};fe?.forEach(Xe=>{let bt=f.splitAtColon(Xe,[Xe,Xe]);Se[bt[0]]=bt[1]});let He={};return Ne?.forEach(Xe=>{let bt=f.splitAtColon(Xe,[Xe,Xe]);He[bt[0]]=bt[1]}),new ee({isHost:U,type:q,isComponent:!!z,selector:re,exportAs:ce,changeDetection:ge,inputs:Se,outputs:He,hostListeners:pt,hostProperties:Wt,hostAttributes:Ue,providers:We,viewProviders:me,queries:oe,guards:qe,viewQueries:tt,entryComponents:Ye,template:ht,componentViewType:be,rendererType:Me,componentFactory:ft})}constructor(B){let{isHost:U,type:q,isComponent:z,selector:re,exportAs:ce,changeDetection:ge,inputs:fe,outputs:Ne,hostListeners:ie,hostProperties:We,hostAttributes:me,providers:oe,viewProviders:qe,queries:tt,guards:Ye,viewQueries:ht,entryComponents:be,template:Me,componentViewType:ft,rendererType:pt,componentFactory:Wt}=B;this.isHost=!!U,this.type=q,this.isComponent=z,this.selector=re,this.exportAs=ce,this.changeDetection=ge,this.inputs=fe,this.outputs=Ne,this.hostListeners=ie,this.hostProperties=We,this.hostAttributes=me,this.providers=Z(oe),this.viewProviders=Z(qe),this.queries=Z(tt),this.guards=Ye,this.viewQueries=Z(ht),this.entryComponents=Z(be),this.template=Me,this.componentViewType=ft,this.rendererType=pt,this.componentFactory=Wt}toSummary(){return{summaryKind:_.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=ee;var $=class{constructor(B){let{type:U,name:q,pure:z}=B;this.type=U,this.name=q,this.pure=!!z}toSummary(){return{summaryKind:_.Pipe,type:this.type,name:this.name,pure:this.pure}}};m.CompilePipeMetadata=$;var Q=class{};m.CompileShallowModuleMetadata=Q;var G=class{constructor(B){let{type:U,providers:q,declaredDirectives:z,exportedDirectives:re,declaredPipes:ce,exportedPipes:ge,entryComponents:fe,bootstrapComponents:Ne,importedModules:ie,exportedModules:We,schemas:me,transitiveModule:oe,id:qe}=B;this.type=U||null,this.declaredDirectives=Z(z),this.exportedDirectives=Z(re),this.declaredPipes=Z(ce),this.exportedPipes=Z(ge),this.providers=Z(q),this.entryComponents=Z(fe),this.bootstrapComponents=Z(Ne),this.importedModules=Z(ie),this.exportedModules=Z(We),this.schemas=Z(me),this.id=qe||null,this.transitiveModule=oe||null}toSummary(){let B=this.transitiveModule;return{summaryKind:_.NgModule,type:this.type,entryComponents:B.entryComponents,providers:B.providers,modules:B.modules,exportedDirectives:B.exportedDirectives,exportedPipes:B.exportedPipes}}};m.CompileNgModuleMetadata=G;var ne=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(B,U){this.providers.push({provider:B,module:U})}addDirective(B){this.directivesSet.has(B.reference)||(this.directivesSet.add(B.reference),this.directives.push(B))}addExportedDirective(B){this.exportedDirectivesSet.has(B.reference)||(this.exportedDirectivesSet.add(B.reference),this.exportedDirectives.push(B))}addPipe(B){this.pipesSet.has(B.reference)||(this.pipesSet.add(B.reference),this.pipes.push(B))}addExportedPipe(B){this.exportedPipesSet.has(B.reference)||(this.exportedPipesSet.add(B.reference),this.exportedPipes.push(B))}addModule(B){this.modulesSet.has(B.reference)||(this.modulesSet.add(B.reference),this.modules.push(B))}addEntryComponent(B){this.entryComponentsSet.has(B.componentType)||(this.entryComponentsSet.add(B.componentType),this.entryComponents.push(B))}};m.TransitiveCompileNgModuleMetadata=ne;function Z(B){return B||[]}var De=class{constructor(B,U){let{useClass:q,useValue:z,useExisting:re,useFactory:ce,deps:ge,multi:fe}=U;this.token=B,this.useClass=q||null,this.useValue=z,this.useExisting=re,this.useFactory=ce||null,this.dependencies=ge||null,this.multi=!!fe}};m.ProviderMeta=De;function F(B){return B.reduce((U,q)=>{let z=Array.isArray(q)?F(q):q;return U.concat(z)},[])}m.flatten=F;function J(B){return B.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function w(B,U,q){let z;return q.isInline?U.type.reference instanceof A.StaticSymbol?z=`${U.type.reference.filePath}.${U.type.reference.name}.html`:z=`${d(B)}/${d(U.type)}.html`:z=q.templateUrl,U.type.reference instanceof A.StaticSymbol?z:J(z)}m.templateSourceUrl=w;function O(B,U){let q=B.moduleUrl.split(/\/\\/g),z=q[q.length-1];return J(`css/${U}${z}.ngstyle.js`)}m.sharedStylesheetJitUrl=O;function y(B){return J(`${d(B.type)}/module.ngfactory.js`)}m.ngModuleJitUrl=y;function T(B,U){return J(`${d(B)}/${d(U.type)}.ngfactory.js`)}m.templateJitUrl=T}}),fE=Fe({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){Ve(),Object.defineProperty(m,"__esModule",{value:!0});var A=oE(),f=cE(),b=class{constructor(k,N,_,C){this.file=k,this.offset=N,this.line=_,this.col=C}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(k){let N=this.file.content,_=N.length,C=this.offset,x=this.line,M=this.col;for(;C>0&&k<0;)if(C--,k++,N.charCodeAt(C)==A.$LF){x--;let X=N.substr(0,C-1).lastIndexOf(String.fromCharCode(A.$LF));M=X>0?C-X:C}else M--;for(;C<_&&k>0;){let X=N.charCodeAt(C);C++,k--,X==A.$LF?(x++,M=0):M++}return new b(this.file,C,x,M)}getContext(k,N){let _=this.file.content,C=this.offset;if(C!=null){C>_.length-1&&(C=_.length-1);let x=C,M=0,X=0;for(;M<k&&C>0&&(C--,M++,!(_[C]==`
250
- `&&++X==N)););for(M=0,X=0;M<k&&x<_.length-1&&(x++,M++,!(_[x]==`
251
- `&&++X==N)););return{before:_.substring(C,this.offset),after:_.substring(this.offset,x+1)}}return null}};m.ParseLocation=b;var D=class{constructor(k,N){this.content=k,this.url=N}};m.ParseSourceFile=D;var c=class{constructor(k,N){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=k,this.end=N,this.details=_}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};m.ParseSourceSpan=c,m.EMPTY_PARSE_LOCATION=new b(new D("",""),0,0,0),m.EMPTY_SOURCE_SPAN=new c(m.EMPTY_PARSE_LOCATION,m.EMPTY_PARSE_LOCATION);var d;(function(k){k[k.WARNING=0]="WARNING",k[k.ERROR=1]="ERROR"})(d=m.ParseErrorLevel||(m.ParseErrorLevel={}));var h=class{constructor(k,N){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d.ERROR;this.span=k,this.msg=N,this.level=_}contextualMessage(){let k=this.span.start.getContext(100,3);return k?`${this.msg} ("${k.before}[${d[this.level]} ->]${k.after}")`:this.msg}toString(){let k=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${k}`}};m.ParseError=h;function E(k,N){let _=f.identifierModuleUrl(N),C=_!=null?`in ${k} ${f.identifierName(N)} in ${_}`:`in ${k} ${f.identifierName(N)}`,x=new D("",C);return new c(new b(x,-1,-1,-1),new b(x,-1,-1,-1))}m.typeSourceSpan=E;function S(k,N,_){let C=`in ${k} ${N} in ${_}`,x=new D("",C);return new c(new b(x,-1,-1,-1),new b(x,-1,-1,-1))}m.r3JitTypeSourceSpan=S}}),pE=Fe({"src/language-html/print-preprocess.js"(m,A){Ve();var{ParseSourceSpan:f}=fE(),{htmlTrim:b,getLeadingAndTrailingHtmlWhitespace:D,hasHtmlWhitespace:c,canHaveInterpolation:d,getNodeCssStyleDisplay:h,isDanglingSpaceSensitiveNode:E,isIndentationSensitiveNode:S,isLeadingSpaceSensitiveNode:k,isTrailingSpaceSensitiveNode:N,isWhitespaceSensitiveNode:_,isVueScriptTag:C}=za(),x=[X,ee,Q,ne,Z,J,De,F,w,G,O];function M(y,T){for(let B of x)B(y,T);return y}function X(y){y.walk(T=>{if(T.type==="element"&&T.tagDefinition.ignoreFirstLf&&T.children.length>0&&T.children[0].type==="text"&&T.children[0].value[0]===`
252
- `){let B=T.children[0];B.value.length===1?T.removeChild(B):B.value=B.value.slice(1)}})}function ee(y){let T=B=>B.type==="element"&&B.prev&&B.prev.type==="ieConditionalStartComment"&&B.prev.sourceSpan.end.offset===B.startSourceSpan.start.offset&&B.firstChild&&B.firstChild.type==="ieConditionalEndComment"&&B.firstChild.sourceSpan.start.offset===B.startSourceSpan.end.offset;y.walk(B=>{if(B.children)for(let U=0;U<B.children.length;U++){let q=B.children[U];if(!T(q))continue;let z=q.prev,re=q.firstChild;B.removeChild(z),U--;let ce=new f(z.sourceSpan.start,re.sourceSpan.end),ge=new f(ce.start,q.sourceSpan.end);q.condition=z.condition,q.sourceSpan=ge,q.startSourceSpan=ce,q.removeChild(re)}})}function $(y,T,B){y.walk(U=>{if(U.children)for(let q=0;q<U.children.length;q++){let z=U.children[q];if(z.type!=="text"&&!T(z))continue;z.type!=="text"&&(z.type="text",z.value=B(z));let re=z.prev;!re||re.type!=="text"||(re.value+=z.value,re.sourceSpan=new f(re.sourceSpan.start,z.sourceSpan.end),U.removeChild(z),q--)}})}function Q(y){return $(y,T=>T.type==="cdata",T=>`<![CDATA[${T.value}]]>`)}function G(y){let T=B=>B.type==="element"&&B.attrs.length===0&&B.children.length===1&&B.firstChild.type==="text"&&!c(B.children[0].value)&&!B.firstChild.hasLeadingSpaces&&!B.firstChild.hasTrailingSpaces&&B.isLeadingSpaceSensitive&&!B.hasLeadingSpaces&&B.isTrailingSpaceSensitive&&!B.hasTrailingSpaces&&B.prev&&B.prev.type==="text"&&B.next&&B.next.type==="text";y.walk(B=>{if(B.children)for(let U=0;U<B.children.length;U++){let q=B.children[U];if(!T(q))continue;let z=q.prev,re=q.next;z.value+=`<${q.rawName}>`+q.firstChild.value+`</${q.rawName}>`+re.value,z.sourceSpan=new f(z.sourceSpan.start,re.sourceSpan.end),z.isTrailingSpaceSensitive=re.isTrailingSpaceSensitive,z.hasTrailingSpaces=re.hasTrailingSpaces,B.removeChild(q),U--,B.removeChild(re)}})}function ne(y,T){if(T.parser==="html")return;let B=/{{(.+?)}}/s;y.walk(U=>{if(d(U))for(let q of U.children){if(q.type!=="text")continue;let z=q.sourceSpan.start,re=null,ce=q.value.split(B);for(let ge=0;ge<ce.length;ge++,z=re){let fe=ce[ge];if(ge%2===0){re=z.moveBy(fe.length),fe.length>0&&U.insertChildBefore(q,{type:"text",value:fe,sourceSpan:new f(z,re)});continue}re=z.moveBy(fe.length+4),U.insertChildBefore(q,{type:"interpolation",sourceSpan:new f(z,re),children:fe.length===0?[]:[{type:"text",value:fe,sourceSpan:new f(z.moveBy(2),re.moveBy(-2))}]})}U.removeChild(q)}})}function Z(y){y.walk(T=>{if(!T.children)return;if(T.children.length===0||T.children.length===1&&T.children[0].type==="text"&&b(T.children[0].value).length===0){T.hasDanglingSpaces=T.children.length>0,T.children=[];return}let B=_(T),U=S(T);if(!B)for(let q=0;q<T.children.length;q++){let z=T.children[q];if(z.type!=="text")continue;let{leadingWhitespace:re,text:ce,trailingWhitespace:ge}=D(z.value),fe=z.prev,Ne=z.next;ce?(z.value=ce,z.sourceSpan=new f(z.sourceSpan.start.moveBy(re.length),z.sourceSpan.end.moveBy(-ge.length)),re&&(fe&&(fe.hasTrailingSpaces=!0),z.hasLeadingSpaces=!0),ge&&(z.hasTrailingSpaces=!0,Ne&&(Ne.hasLeadingSpaces=!0))):(T.removeChild(z),q--,(re||ge)&&(fe&&(fe.hasTrailingSpaces=!0),Ne&&(Ne.hasLeadingSpaces=!0)))}T.isWhitespaceSensitive=B,T.isIndentationSensitive=U})}function De(y){y.walk(T=>{T.isSelfClosing=!T.children||T.type==="element"&&(T.tagDefinition.isVoid||T.startSourceSpan===T.endSourceSpan)})}function F(y,T){y.walk(B=>{B.type==="element"&&(B.hasHtmComponentClosingTag=B.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(T.originalText.slice(B.endSourceSpan.start.offset,B.endSourceSpan.end.offset)))})}function J(y,T){y.walk(B=>{B.cssDisplay=h(B,T)})}function w(y,T){y.walk(B=>{let{children:U}=B;if(U){if(U.length===0){B.isDanglingSpaceSensitive=E(B);return}for(let q of U)q.isLeadingSpaceSensitive=k(q,T),q.isTrailingSpaceSensitive=N(q,T);for(let q=0;q<U.length;q++){let z=U[q];z.isLeadingSpaceSensitive=(q===0||z.prev.isTrailingSpaceSensitive)&&z.isLeadingSpaceSensitive,z.isTrailingSpaceSensitive=(q===U.length-1||z.next.isLeadingSpaceSensitive)&&z.isTrailingSpaceSensitive}}})}function O(y,T){if(T.parser==="vue"){let B=y.children.find(q=>C(q,T));if(!B)return;let{lang:U}=B.attrMap;(U==="ts"||U==="typescript")&&(T.__should_parse_vue_template_with_ts=!0)}}A.exports=M}}),dE=Fe({"src/language-html/pragma.js"(m,A){Ve();function f(D){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(D)}function b(D){return`<!-- @format -->
253
-
254
- `+D.replace(/^\s*\n/,"")}A.exports={hasPragma:f,insertPragma:b}}}),Hf=Fe({"src/language-html/loc.js"(m,A){Ve();function f(D){return D.sourceSpan.start.offset}function b(D){return D.sourceSpan.end.offset}A.exports={locStart:f,locEnd:b}}}),Bo=Fe({"src/language-html/print/tag.js"(m,A){Ve();var f=To(),{isNonEmptyArray:b}=ye(),{builders:{indent:D,join:c,line:d,softline:h,hardline:E},utils:{replaceTextEndOfLine:S}}=Sn(),{locStart:k,locEnd:N}=Hf(),{isTextLikeNode:_,getLastDescendant:C,isPreLikeNode:x,hasPrettierIgnore:M,shouldPreserveContent:X,isVueSfcBlock:ee}=za();function $(ie,We){return[ie.isSelfClosing?"":Q(ie,We),G(ie,We)]}function Q(ie,We){return ie.lastChild&&y(ie.lastChild)?"":[ne(ie,We),De(ie,We)]}function G(ie,We){return(ie.next?w(ie.next):O(ie.parent))?"":[F(ie,We),Z(ie,We)]}function ne(ie,We){return O(ie)?F(ie.lastChild,We):""}function Z(ie,We){return y(ie)?De(ie.parent,We):T(ie)?fe(ie.next):""}function De(ie,We){if(f(!ie.isSelfClosing),J(ie,We))return"";switch(ie.type){case"ieConditionalComment":return"<!";case"element":if(ie.hasHtmComponentClosingTag)return"<//";default:return`</${ie.rawName}`}}function F(ie,We){if(J(ie,We))return"";switch(ie.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(ie.isSelfClosing)return"/>";default:return">"}}function J(ie,We){return!ie.isSelfClosing&&!ie.endSourceSpan&&(M(ie)||X(ie.parent,We))}function w(ie){return ie.prev&&ie.prev.type!=="docType"&&!_(ie.prev)&&ie.isLeadingSpaceSensitive&&!ie.hasLeadingSpaces}function O(ie){return ie.lastChild&&ie.lastChild.isTrailingSpaceSensitive&&!ie.lastChild.hasTrailingSpaces&&!_(C(ie.lastChild))&&!x(ie)}function y(ie){return!ie.next&&!ie.hasTrailingSpaces&&ie.isTrailingSpaceSensitive&&_(C(ie))}function T(ie){return ie.next&&!_(ie.next)&&_(ie)&&ie.isTrailingSpaceSensitive&&!ie.hasTrailingSpaces}function B(ie){let We=ie.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return We?We[1]?We[1].split(/\s+/):!0:!1}function U(ie){return!ie.prev&&ie.isLeadingSpaceSensitive&&!ie.hasLeadingSpaces}function q(ie,We,me){let oe=ie.getValue();if(!b(oe.attrs))return oe.isSelfClosing?" ":"";let qe=oe.prev&&oe.prev.type==="comment"&&B(oe.prev.value),tt=typeof qe=="boolean"?()=>qe:Array.isArray(qe)?ft=>qe.includes(ft.rawName):()=>!1,Ye=ie.map(ft=>{let pt=ft.getValue();return tt(pt)?S(We.originalText.slice(k(pt),N(pt))):me()},"attrs"),ht=oe.type==="element"&&oe.fullName==="script"&&oe.attrs.length===1&&oe.attrs[0].fullName==="src"&&oe.children.length===0,be=We.singleAttributePerLine&&oe.attrs.length>1&&!ee(oe,We)?E:d,Me=[D([ht?" ":d,c(be,Ye)])];return oe.firstChild&&U(oe.firstChild)||oe.isSelfClosing&&O(oe.parent)||ht?Me.push(oe.isSelfClosing?" ":""):Me.push(We.bracketSameLine?oe.isSelfClosing?" ":"":oe.isSelfClosing?d:h),Me}function z(ie){return ie.firstChild&&U(ie.firstChild)?"":Ne(ie)}function re(ie,We,me){let oe=ie.getValue();return[ce(oe,We),q(ie,We,me),oe.isSelfClosing?"":z(oe)]}function ce(ie,We){return ie.prev&&T(ie.prev)?"":[ge(ie,We),fe(ie)]}function ge(ie,We){return U(ie)?Ne(ie.parent):w(ie)?F(ie.prev,We):""}function fe(ie){switch(ie.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${ie.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(ie.condition)return`<!--[if ${ie.condition}]><!--><${ie.rawName}`;default:return`<${ie.rawName}`}}function Ne(ie){switch(f(!ie.isSelfClosing),ie.type){case"ieConditionalComment":return"]>";case"element":if(ie.condition)return"><!--<![endif]-->";default:return">"}}A.exports={printClosingTag:$,printClosingTagStart:Q,printClosingTagStartMarker:De,printClosingTagEndMarker:F,printClosingTagSuffix:Z,printClosingTagEnd:G,needsToBorrowLastChildClosingTagEndMarker:O,needsToBorrowParentClosingTagStartMarker:y,needsToBorrowPrevClosingTagEndMarker:w,printOpeningTag:re,printOpeningTagStart:ce,printOpeningTagPrefix:ge,printOpeningTagStartMarker:fe,printOpeningTagEndMarker:Ne,needsToBorrowNextOpeningTagStartMarker:T,needsToBorrowParentOpeningTagEndMarker:U}}}),hE=Fe({"node_modules/parse-srcset/src/parse-srcset.js"(m,A){Ve(),function(f,b){typeof A=="object"&&A.exports?A.exports=b():f.parseSrcset=b()}(m,function(){return function(f,b){var D=b&&b.logger||console;function c(De){return De===" "||De===" "||De===`
255
- `||De==="\f"||De==="\r"}function d(De){var F,J=De.exec(f.substring(Q));if(J)return F=J[0],Q+=F.length,F}for(var h=f.length,E=/^[ \t\n\r\u000c]+/,S=/^[, \t\n\r\u000c]+/,k=/^[^ \t\n\r\u000c]+/,N=/[,]+$/,_=/^\d+$/,C=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,x,M,X,ee,$,Q=0,G=[];;){if(d(S),Q>=h)return G;x=d(k),M=[],x.slice(-1)===","?(x=x.replace(N,""),Z()):ne()}function ne(){for(d(E),X="",ee="in descriptor";;){if($=f.charAt(Q),ee==="in descriptor")if(c($))X&&(M.push(X),X="",ee="after descriptor");else if($===","){Q+=1,X&&M.push(X),Z();return}else if($==="(")X=X+$,ee="in parens";else if($===""){X&&M.push(X),Z();return}else X=X+$;else if(ee==="in parens")if($===")")X=X+$,ee="in descriptor";else if($===""){M.push(X),Z();return}else X=X+$;else if(ee==="after descriptor"&&!c($))if($===""){Z();return}else ee="in descriptor",Q-=1;Q+=1}}function Z(){var De=!1,F,J,w,O,y={},T,B,U,q,z;for(O=0;O<M.length;O++)T=M[O],B=T[T.length-1],U=T.substring(0,T.length-1),q=parseInt(U,10),z=parseFloat(U),_.test(U)&&B==="w"?((F||J)&&(De=!0),q===0?De=!0:F=q):C.test(U)&&B==="x"?((F||J||w)&&(De=!0),z<0?De=!0:J=z):_.test(U)&&B==="h"?((w||J)&&(De=!0),q===0?De=!0:w=q):De=!0;De?D&&D.error&&D.error("Invalid srcset descriptor found in '"+f+"' at '"+T+"'."):(y.url=x,F&&(y.w=F),J&&(y.d=J),w&&(y.h=w),G.push(y))}}})}}),mE=Fe({"src/language-html/syntax-attribute.js"(m,A){Ve();var f=hE(),{builders:{ifBreak:b,join:D,line:c}}=Sn();function d(E){let S=f(E,{logger:{error(ne){throw new Error(ne)}}}),k=S.some(ne=>{let{w:Z}=ne;return Z}),N=S.some(ne=>{let{h:Z}=ne;return Z}),_=S.some(ne=>{let{d:Z}=ne;return Z});if(k+N+_>1)throw new Error("Mixed descriptor in srcset is not supported");let C=k?"w":N?"h":"d",x=k?"w":N?"h":"x",M=ne=>Math.max(...ne),X=S.map(ne=>ne.url),ee=M(X.map(ne=>ne.length)),$=S.map(ne=>ne[C]).map(ne=>ne?ne.toString():""),Q=$.map(ne=>{let Z=ne.indexOf(".");return Z===-1?ne.length:Z}),G=M(Q);return D([",",c],X.map((ne,Z)=>{let De=[ne],F=$[Z];if(F){let J=ee-ne.length+1,w=G-Q[Z],O=" ".repeat(J+w);De.push(b(O," "),F+x)}return De}))}function h(E){return E.trim().split(/\s+/).join(" ")}A.exports={printImgSrcset:d,printClassNames:h}}}),gE=Fe({"src/language-html/syntax-vue.js"(m,A){Ve();var{builders:{group:f}}=Sn();function b(h,E){let{left:S,operator:k,right:N}=D(h);return[f(E(`function _(${S}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",k," ",E(N,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function D(h){let E=/(.*?)\s+(in|of)\s+(.*)/s,S=/,([^,\]}]*)(?:,([^,\]}]*))?$/,k=/^\(|\)$/g,N=h.match(E);if(!N)return;let _={};if(_.for=N[3].trim(),!_.for)return;let C=N[1].trim().replace(k,""),x=C.match(S);x?(_.alias=C.replace(S,""),_.iterator1=x[1].trim(),x[2]&&(_.iterator2=x[2].trim())):_.alias=C;let M=[_.alias,_.iterator1,_.iterator2];if(!M.some((X,ee)=>!X&&(ee===0||M.slice(ee+1).some(Boolean))))return{left:M.filter(Boolean).join(","),operator:N[2],right:_.for}}function c(h,E){return E(`function _(${h}) {}`,{parser:"babel",__isVueBindings:!0})}function d(h){let E=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,S=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,k=h.trim();return E.test(k)||S.test(k)}A.exports={isVueEventBindingExpression:d,printVueFor:b,printVueBindings:c}}}),Y0=Fe({"src/language-html/get-node-content.js"(m,A){Ve();var{needsToBorrowParentClosingTagStartMarker:f,printClosingTagStartMarker:b,needsToBorrowLastChildClosingTagEndMarker:D,printClosingTagEndMarker:c,needsToBorrowParentOpeningTagEndMarker:d,printOpeningTagEndMarker:h}=Bo();function E(S,k){let N=S.startSourceSpan.end.offset;S.firstChild&&d(S.firstChild)&&(N-=h(S).length);let _=S.endSourceSpan.start.offset;return S.lastChild&&f(S.lastChild)?_+=b(S,k).length:D(S)&&(_-=c(S.lastChild,k).length),k.originalText.slice(N,_)}A.exports=E}}),yE=Fe({"src/language-html/embed.js"(m,A){Ve();var{builders:{breakParent:f,group:b,hardline:D,indent:c,line:d,fill:h,softline:E},utils:{mapDoc:S,replaceTextEndOfLine:k}}=Sn(),N=Jf(),{printClosingTag:_,printClosingTagSuffix:C,needsToBorrowPrevClosingTagEndMarker:x,printOpeningTagPrefix:M,printOpeningTag:X}=Bo(),{printImgSrcset:ee,printClassNames:$}=mE(),{printVueFor:Q,printVueBindings:G,isVueEventBindingExpression:ne}=gE(),{isScriptLikeTag:Z,isVueNonHtmlBlock:De,inferScriptParser:F,htmlTrimPreserveIndentation:J,dedentString:w,unescapeQuoteEntities:O,isVueSlotAttribute:y,isVueSfcBindingsAttribute:T,getTextValueParts:B}=za(),U=Y0();function q(re,ce,ge){let fe=Ye=>new RegExp(Ye.join("|")).test(re.fullName),Ne=()=>O(re.value),ie=!1,We=(Ye,ht)=>{let be=Ye.type==="NGRoot"?Ye.node.type==="NGMicrosyntax"&&Ye.node.body.length===1&&Ye.node.body[0].type==="NGMicrosyntaxExpression"?Ye.node.body[0].expression:Ye.node:Ye.type==="JsExpressionRoot"?Ye.node:Ye;be&&(be.type==="ObjectExpression"||be.type==="ArrayExpression"||ht.parser==="__vue_expression"&&(be.type==="TemplateLiteral"||be.type==="StringLiteral"))&&(ie=!0)},me=Ye=>b(Ye),oe=function(Ye){let ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return b([c([E,Ye]),ht?E:""])},qe=Ye=>ie?me(Ye):oe(Ye),tt=(Ye,ht)=>ce(Ye,Object.assign({__onHtmlBindingRoot:We,__embeddedInHtml:!0},ht));if(re.fullName==="srcset"&&(re.parent.fullName==="img"||re.parent.fullName==="source"))return oe(ee(Ne()));if(re.fullName==="class"&&!ge.parentParser){let Ye=Ne();if(!Ye.includes("{{"))return $(Ye)}if(re.fullName==="style"&&!ge.parentParser){let Ye=Ne();if(!Ye.includes("{{"))return oe(tt(Ye,{parser:"css",__isHTMLStyleAttribute:!0}))}if(ge.parser==="vue"){if(re.fullName==="v-for")return Q(Ne(),tt);if(y(re)||T(re,ge))return G(Ne(),tt);let Ye=["^@","^v-on:"],ht=["^:","^v-bind:"],be=["^v-"];if(fe(Ye)){let Me=Ne(),ft=ne(Me)?"__js_expression":ge.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return qe(tt(Me,{parser:ft}))}if(fe(ht))return qe(tt(Ne(),{parser:"__vue_expression"}));if(fe(be))return qe(tt(Ne(),{parser:"__js_expression"}))}if(ge.parser==="angular"){let Ye=(Ue,Se)=>tt(Ue,Object.assign(Object.assign({},Se),{},{trailingComma:"none"})),ht=["^\\*"],be=["^\\(.+\\)$","^on-"],Me=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],ft=["^i18n(-.+)?$"];if(fe(be))return qe(Ye(Ne(),{parser:"__ng_action"}));if(fe(Me))return qe(Ye(Ne(),{parser:"__ng_binding"}));if(fe(ft)){let Ue=Ne().trim();return oe(h(B(re,Ue)),!Ue.includes("@@"))}if(fe(ht))return qe(Ye(Ne(),{parser:"__ng_directive"}));let pt=/{{(.+?)}}/s,Wt=Ne();if(pt.test(Wt)){let Ue=[];for(let[Se,He]of Wt.split(pt).entries())if(Se%2===0)Ue.push(k(He));else try{Ue.push(b(["{{",c([d,Ye(He,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),d,"}}"]))}catch{Ue.push("{{",k(He),"}}")}return b(Ue)}}return null}function z(re,ce,ge,fe){let Ne=re.getValue();switch(Ne.type){case"element":{if(Z(Ne)||Ne.type==="interpolation")return;if(!Ne.isSelfClosing&&De(Ne,fe)){let ie=F(Ne,fe);if(!ie)return;let We=U(Ne,fe),me=/^\s*$/.test(We),oe="";return me||(oe=ge(J(We),{parser:ie,__embeddedInHtml:!0},{stripTrailingHardline:!0}),me=oe===""),[M(Ne,fe),b(X(re,fe,ce)),me?"":D,oe,me?"":D,_(Ne,fe),C(Ne,fe)]}break}case"text":{if(Z(Ne.parent)){let ie=F(Ne.parent,fe);if(ie){let We=ie==="markdown"?w(Ne.value.replace(/^[^\S\n]*\n/,"")):Ne.value,me={parser:ie,__embeddedInHtml:!0};if(fe.parser==="html"&&ie==="babel"){let oe="script",{attrMap:qe}=Ne.parent;qe&&(qe.type==="module"||qe.type==="text/babel"&&qe["data-type"]==="module")&&(oe="module"),me.__babelSourceType=oe}return[f,M(Ne,fe),ge(We,me,{stripTrailingHardline:!0}),C(Ne,fe)]}}else if(Ne.parent.type==="interpolation"){let ie={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return fe.parser==="angular"?(ie.parser="__ng_interpolation",ie.trailingComma="none"):fe.parser==="vue"?ie.parser=fe.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":ie.parser="__js_expression",[c([d,ge(Ne.value,ie,{stripTrailingHardline:!0})]),Ne.parent.next&&x(Ne.parent.next)?" ":d]}break}case"attribute":{if(!Ne.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(fe.originalText.slice(Ne.valueSpan.start.offset,Ne.valueSpan.end.offset)))return[Ne.rawName,"=",Ne.value];if(fe.parser==="lwc"&&/^{.*}$/s.test(fe.originalText.slice(Ne.valueSpan.start.offset,Ne.valueSpan.end.offset)))return[Ne.rawName,"=",Ne.value];let ie=q(Ne,(We,me)=>ge(We,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},me),{stripTrailingHardline:!0}),fe);if(ie)return[Ne.rawName,'="',b(S(ie,We=>typeof We=="string"?We.replace(/"/g,"&quot;"):We)),'"'];break}case"front-matter":return N(Ne,ge)}}A.exports=z}}),H0=Fe({"src/language-html/print/children.js"(m,A){Ve();var{builders:{breakParent:f,group:b,ifBreak:D,line:c,softline:d,hardline:h},utils:{replaceTextEndOfLine:E}}=Sn(),{locStart:S,locEnd:k}=Hf(),{forceBreakChildren:N,forceNextEmptyLine:_,isTextLikeNode:C,hasPrettierIgnore:x,preferHardlineAsLeadingSpaces:M}=za(),{printOpeningTagPrefix:X,needsToBorrowNextOpeningTagStartMarker:ee,printOpeningTagStartMarker:$,needsToBorrowPrevClosingTagEndMarker:Q,printClosingTagEndMarker:G,printClosingTagSuffix:ne,needsToBorrowParentClosingTagStartMarker:Z}=Bo();function De(w,O,y){let T=w.getValue();return x(T)?[X(T,O),...E(O.originalText.slice(S(T)+(T.prev&&ee(T.prev)?$(T).length:0),k(T)-(T.next&&Q(T.next)?G(T,O).length:0))),ne(T,O)]:y()}function F(w,O){return C(w)&&C(O)?w.isTrailingSpaceSensitive?w.hasTrailingSpaces?M(O)?h:c:"":M(O)?h:d:ee(w)&&(x(O)||O.firstChild||O.isSelfClosing||O.type==="element"&&O.attrs.length>0)||w.type==="element"&&w.isSelfClosing&&Q(O)?"":!O.isLeadingSpaceSensitive||M(O)||Q(O)&&w.lastChild&&Z(w.lastChild)&&w.lastChild.lastChild&&Z(w.lastChild.lastChild)?h:O.hasLeadingSpaces?c:d}function J(w,O,y){let T=w.getValue();if(N(T))return[f,...w.map(U=>{let q=U.getValue(),z=q.prev?F(q.prev,q):"";return[z?[z,_(q.prev)?h:""]:"",De(U,O,y)]},"children")];let B=T.children.map(()=>Symbol(""));return w.map((U,q)=>{let z=U.getValue();if(C(z)){if(z.prev&&C(z.prev)){let We=F(z.prev,z);if(We)return _(z.prev)?[h,h,De(U,O,y)]:[We,De(U,O,y)]}return De(U,O,y)}let re=[],ce=[],ge=[],fe=[],Ne=z.prev?F(z.prev,z):"",ie=z.next?F(z,z.next):"";return Ne&&(_(z.prev)?re.push(h,h):Ne===h?re.push(h):C(z.prev)?ce.push(Ne):ce.push(D("",d,{groupId:B[q-1]}))),ie&&(_(z)?C(z.next)&&fe.push(h,h):ie===h?C(z.next)&&fe.push(h):ge.push(ie)),[...re,b([...ce,b([De(U,O,y),...ge],{id:B[q]})]),...fe]},"children")}A.exports={printChildren:J}}}),DE=Fe({"src/language-html/print/element.js"(m,A){Ve();var{builders:{breakParent:f,dedentToRoot:b,group:D,ifBreak:c,indentIfBreak:d,indent:h,line:E,softline:S},utils:{replaceTextEndOfLine:k}}=Sn(),N=Y0(),{shouldPreserveContent:_,isScriptLikeTag:C,isVueCustomBlock:x,countParents:M,forceBreakContent:X}=za(),{printOpeningTagPrefix:ee,printOpeningTag:$,printClosingTagSuffix:Q,printClosingTag:G,needsToBorrowPrevClosingTagEndMarker:ne,needsToBorrowLastChildClosingTagEndMarker:Z}=Bo(),{printChildren:De}=H0();function F(J,w,O){let y=J.getValue();if(_(y,w))return[ee(y,w),D($(J,w,O)),...k(N(y,w)),...G(y,w),Q(y,w)];let T=y.children.length===1&&y.firstChild.type==="interpolation"&&y.firstChild.isLeadingSpaceSensitive&&!y.firstChild.hasLeadingSpaces&&y.lastChild.isTrailingSpaceSensitive&&!y.lastChild.hasTrailingSpaces,B=Symbol("element-attr-group-id"),U=ce=>D([D($(J,w,O),{id:B}),ce,G(y,w)]),q=ce=>T?d(ce,{groupId:B}):(C(y)||x(y,w))&&y.parent.type==="root"&&w.parser==="vue"&&!w.vueIndentScriptAndStyle?ce:h(ce),z=()=>T?c(S,"",{groupId:B}):y.firstChild.hasLeadingSpaces&&y.firstChild.isLeadingSpaceSensitive?E:y.firstChild.type==="text"&&y.isWhitespaceSensitive&&y.isIndentationSensitive?b(S):S,re=()=>(y.next?ne(y.next):Z(y.parent))?y.lastChild.hasTrailingSpaces&&y.lastChild.isTrailingSpaceSensitive?" ":"":T?c(S,"",{groupId:B}):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*M(J,ce=>ce.parent&&ce.parent.type!=="root")}}$`).test(y.lastChild.value)?"":S;return y.children.length===0?U(y.hasDanglingSpaces&&y.isDanglingSpaceSensitive?E:""):U([X(y)?f:"",q([z(),De(J,w,O)]),re()])}A.exports={printElement:F}}}),bE=Fe({"src/language-html/printer-html.js"(m,A){Ve();var{builders:{fill:f,group:b,hardline:D,literalline:c},utils:{cleanDoc:d,getDocParts:h,isConcat:E,replaceTextEndOfLine:S}}=Sn(),k=iE(),{countChars:N,unescapeQuoteEntities:_,getTextValueParts:C}=za(),x=pE(),{insertPragma:M}=dE(),{locStart:X,locEnd:ee}=Hf(),$=yE(),{printClosingTagSuffix:Q,printClosingTagEnd:G,printOpeningTagPrefix:ne,printOpeningTagStart:Z}=Bo(),{printElement:De}=DE(),{printChildren:F}=H0();function J(w,O,y){let T=w.getValue();switch(T.type){case"front-matter":return S(T.raw);case"root":return O.__onHtmlRoot&&O.__onHtmlRoot(T),[b(F(w,O,y)),D];case"element":case"ieConditionalComment":return De(w,O,y);case"ieConditionalStartComment":case"ieConditionalEndComment":return[Z(T),G(T)];case"interpolation":return[Z(T,O),...w.map(y,"children"),G(T,O)];case"text":{if(T.parent.type==="interpolation"){let U=/\n[^\S\n]*$/,q=U.test(T.value),z=q?T.value.replace(U,""):T.value;return[...S(z),q?D:""]}let B=d([ne(T,O),...C(T),Q(T,O)]);return E(B)||B.type==="fill"?f(h(B)):B}case"docType":return[b([Z(T,O)," ",T.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),G(T,O)];case"comment":return[ne(T,O),...S(O.originalText.slice(X(T),ee(T)),c),Q(T,O)];case"attribute":{if(T.value===null)return T.rawName;let B=_(T.value),U=N(B,"'"),q=N(B,'"'),z=U<q?"'":'"';return[T.rawName,"=",z,...S(z==='"'?B.replace(/"/g,"&quot;"):B.replace(/'/g,"&apos;")),z]}default:throw new Error(`Unexpected node type ${T.type}`)}}A.exports={preprocess:x,print:J,insertPragma:M,massageAstNode:k,embed:$}}}),vE=Fe({"src/language-html/options.js"(m,A){Ve();var f=Ha(),b="HTML";A.exports={bracketSameLine:f.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:b,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:f.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:b,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),EE=Fe({"src/language-html/parsers.js"(){Ve()}}),zf=Fe({"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}}}),AE=Fe({"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}}}),CE=Fe({"src/language-html/index.js"(m,A){Ve();var f=Zs(),b=bE(),D=vE(),c=EE(),d=[f(zf(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),f(zf(),E=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...E.extensions,".mjml"]})),f(zf(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),f(AE(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],h={html:b};A.exports={languages:d,printers:h,options:D,parsers:c}}}),SE=Fe({"src/language-yaml/pragma.js"(m,A){Ve();function f(c){return/^\s*@(?:prettier|format)\s*$/.test(c)}function b(c){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(c)}function D(c){return`# @format
256
-
257
- ${c}`}A.exports={isPragma:f,hasPragma:b,insertPragma:D}}}),xE=Fe({"src/language-yaml/loc.js"(m,A){Ve();function f(D){return D.position.start.offset}function b(D){return D.position.end.offset}A.exports={locStart:f,locEnd:b}}}),wE=Fe({"src/language-yaml/embed.js"(m,A){Ve();function f(b,D,c,d){if(b.getValue().type==="root"&&d.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(d.filepath))return c(d.originalText,Object.assign(Object.assign({},d),{},{parser:"json"}))}A.exports=f}}),Xa=Fe({"src/language-yaml/utils.js"(m,A){Ve();var{getLast:f,isNonEmptyArray:b}=ye();function D(F,J){let w=0,O=F.stack.length-1;for(let y=0;y<O;y++){let T=F.stack[y];c(T)&&J(T)&&w++}return w}function c(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(O=>d(O,J,F))}):F,w)}function h(F,J,w){Object.defineProperty(F,J,{get:w,enumerable:!1})}function E(F,J){let w=0,O=J.length;for(let y=F.position.end.offset-1;y<O;y++){let T=J[y];if(T===`
258
- `&&w++,w===1&&/\S/.test(T))return!1;if(w===2)return!0}return!1}function S(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 O=F.stack[w],y=F.stack[w-1];if(Array.isArray(y)&&typeof O=="number"&&O!==y.length-1)return!1}return!0}function k(F){return b(F.children)?k(f(F.children)):F}function N(F){return F.value.trim()==="prettier-ignore"}function _(F){let J=F.getValue();if(J.type==="documentBody"){let w=F.getParentNode();return Q(w.head)&&N(f(w.head.endComments))}return M(J)&&N(f(J.leadingComments))}function C(F){return!b(F.children)&&!x(F)}function x(F){return M(F)||X(F)||ee(F)||$(F)||Q(F)}function M(F){return b(F?.leadingComments)}function X(F){return b(F?.middleComments)}function ee(F){return F?.indicatorComment}function $(F){return F?.trailingComment}function Q(F){return b(F?.endComments)}function G(F){let J=[],w;for(let O of F.split(/( +)/))O!==" "?w===" "?J.push(O):J.push((J.pop()||"")+O):w===void 0&&J.unshift(""),w=O;return w===" "&&J.push((J.pop()||"")+" "),J[0]===""&&(J.shift(),J.unshift(" "+(J.shift()||""))),J}function ne(F,J,w){let O=J.split(`
259
- `).map((y,T,B)=>T===0&&T===B.length-1?y:T!==0&&T!==B.length-1?y.trim():T===0?y.trimEnd():y.trimStart());return w.proseWrap==="preserve"?O.map(y=>y.length===0?[]:[y]):O.map(y=>y.length===0?[]:G(y)).reduce((y,T,B)=>B!==0&&O[B-1].length>0&&T.length>0&&!(F==="quoteDouble"&&f(f(y)).endsWith("\\"))?[...y.slice(0,-1),[...f(y),...T]]:[...y,T],[]).map(y=>w.proseWrap==="never"?[y.join(" ")]:y)}function Z(F,J){let{parentIndent:w,isLastDescendant:O,options:y}=J,T=F.position.start.line===F.position.end.line?"":y.originalText.slice(F.position.start.offset,F.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],B;if(F.indent===null){let z=T.match(/^(?<leadingSpace> *)[^\n\r ]/m);B=z?z.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else B=F.indent-1+w;let U=T.split(`
260
- `).map(z=>z.slice(B));if(y.proseWrap==="preserve"||F.type==="blockLiteral")return q(U.map(z=>z.length===0?[]:[z]));return q(U.map(z=>z.length===0?[]:G(z)).reduce((z,re,ce)=>ce!==0&&U[ce-1].length>0&&re.length>0&&!/^\s/.test(re[0])&&!/^\s|\s$/.test(f(z))?[...z.slice(0,-1),[...f(z),...re]]:[...z,re],[]).map(z=>z.reduce((re,ce)=>re.length>0&&/\s$/.test(f(re))?[...re.slice(0,-1),f(re)+" "+ce]:[...re,ce],[])).map(z=>y.proseWrap==="never"?[z.join(" ")]:z));function q(z){if(F.chomping==="keep")return f(z).length===0?z.slice(0,-1):z;let re=0;for(let ce=z.length-1;ce>=0&&z[ce].length===0;ce--)re++;return re===0?z:re>=2&&!O?z.slice(0,-(re-1)):z.slice(0,-re)}}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:f,getAncestorCount:D,isNode:c,isEmptyNode:C,isInlineNode:De,mapNode:d,defineShortcut:h,isNextLineEmpty:E,isLastDescendantNode:S,getBlockValueLineContents:Z,getFlowScalarLineContents:ne,getLastDescendantNode:k,hasPrettierIgnore:_,hasLeadingComments:M,hasMiddleComments:X,hasIndicatorComment:ee,hasTrailingComment:$,hasEndComments:Q}}}),FE=Fe({"src/language-yaml/print-preprocess.js"(m,A){Ve();var{defineShortcut:f,mapNode:b}=Xa();function D(d){return b(d,c)}function c(d){switch(d.type){case"document":f(d,"head",()=>d.children[0]),f(d,"body",()=>d.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":f(d,"content",()=>d.children[0]);break;case"mappingItem":case"flowMappingItem":f(d,"key",()=>d.children[0]),f(d,"value",()=>d.children[1]);break}return d}A.exports=D}}),cl=Fe({"src/language-yaml/print/misc.js"(m,A){Ve();var{builders:{softline:f,align:b}}=Sn(),{hasEndComments:D,isNextLineEmpty:c,isNode:d}=Xa(),h=new WeakMap;function E(N,_){let C=N.getValue(),x=N.stack[0],M;return h.has(x)?M=h.get(x):(M=new Set,h.set(x,M)),!M.has(C.position.end.line)&&(M.add(C.position.end.line),c(C,_)&&!S(N.getParentNode()))?f:""}function S(N){return D(N)&&!d(N,["documentHead","documentBody","flowMapping","flowSequence"])}function k(N,_){return b(" ".repeat(N),_)}A.exports={alignWithSpaces:k,shouldPrintEndComments:S,printNextEmptyLine:E}}}),NE=Fe({"src/language-yaml/print/flow-mapping-sequence.js"(m,A){Ve();var{builders:{ifBreak:f,line:b,softline:D,hardline:c,join:d}}=Sn(),{isEmptyNode:h,getLast:E,hasEndComments:S}=Xa(),{printNextEmptyLine:k,alignWithSpaces:N}=cl();function _(x,M,X){let ee=x.getValue(),$=ee.type==="flowMapping",Q=$?"{":"[",G=$?"}":"]",ne=D;$&&ee.children.length>0&&X.bracketSpacing&&(ne=b);let Z=E(ee.children),De=Z&&Z.type==="flowMappingItem"&&h(Z.key)&&h(Z.value);return[Q,N(X.tabWidth,[ne,C(x,M,X),X.trailingComma==="none"?"":f(","),S(ee)?[c,d(c,x.map(M,"endComments"))]:""]),De?"":ne,G]}function C(x,M,X){let ee=x.getValue();return x.map(($,Q)=>[M(),Q===ee.children.length-1?"":[",",b,ee.children[Q].position.start.line!==ee.children[Q+1].position.start.line?k($,X.originalText):""]],"children")}A.exports={printFlowMapping:_,printFlowSequence:_}}}),TE=Fe({"src/language-yaml/print/mapping-item.js"(m,A){Ve();var{builders:{conditionalGroup:f,group:b,hardline:D,ifBreak:c,join:d,line:h}}=Sn(),{hasLeadingComments:E,hasMiddleComments:S,hasTrailingComment:k,hasEndComments:N,isNode:_,isEmptyNode:C,isInlineNode:x}=Xa(),{alignWithSpaces:M}=cl();function X(G,ne,Z,De,F){let{key:J,value:w}=G,O=C(J),y=C(w);if(O&&y)return": ";let T=De("key"),B=$(G)?" ":"";if(y)return G.type==="flowMappingItem"&&ne.type==="flowMapping"?T:G.type==="mappingItem"&&ee(J.content,F)&&!k(J.content)&&(!ne.tag||ne.tag.value!=="tag:yaml.org,2002:set")?[T,B,":"]:["? ",M(2,T)];let U=De("value");if(O)return[": ",M(2,U)];if(E(w)||!x(J.content))return["? ",M(2,T),D,d("",Z.map(De,"value","leadingComments").map(fe=>[fe,D])),": ",M(2,U)];if(Q(J.content)&&!E(J.content)&&!S(J.content)&&!k(J.content)&&!N(J)&&!E(w.content)&&!S(w.content)&&!N(w)&&ee(w.content,F))return[T,B,": ",U];let q=Symbol("mappingKey"),z=b([c("? "),b(M(2,T),{id:q})]),re=[D,": ",M(2,U)],ce=[B,":"];E(w.content)||N(w)&&w.content&&!_(w.content,["mapping","sequence"])||ne.type==="mapping"&&k(J.content)&&x(w.content)||_(w.content,["mapping","sequence"])&&w.content.tag===null&&w.content.anchor===null?ce.push(D):w.content&&ce.push(h),ce.push(U);let ge=M(F.tabWidth,ce);return ee(J.content,F)&&!E(J.content)&&!S(J.content)&&!N(J)?f([[T,ge]]):f([[z,c(re,ge,{groupId:q})]])}function ee(G,ne){if(!G)return!0;switch(G.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(ne.proseWrap==="preserve")return G.position.start.line===G.position.end.line;if(/\\$/m.test(ne.originalText.slice(G.position.start.offset,G.position.end.offset)))return!1;switch(ne.proseWrap){case"never":return!G.value.includes(`
261
- `);case"always":return!/[\n ]/.test(G.value);default:return!1}}function $(G){return G.key.content&&G.key.content.type==="alias"}function Q(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}}),_E=Fe({"src/language-yaml/print/block.js"(m,A){Ve();var{builders:{dedent:f,dedentToRoot:b,fill:D,hardline:c,join:d,line:h,literalline:E,markAsRoot:S},utils:{getDocParts:k}}=Sn(),{getAncestorCount:N,getBlockValueLineContents:_,hasIndicatorComment:C,isLastDescendantNode:x,isNode:M}=Xa(),{alignWithSpaces:X}=cl();function ee($,Q,G){let ne=$.getValue(),Z=N($,O=>M(O,["sequence","mapping"])),De=x($),F=[ne.type==="blockFolded"?">":"|"];ne.indent!==null&&F.push(ne.indent.toString()),ne.chomping!=="clip"&&F.push(ne.chomping==="keep"?"+":"-"),C(ne)&&F.push(" ",Q("indicatorComment"));let J=_(ne,{parentIndent:Z,isLastDescendant:De,options:G}),w=[];for(let[O,y]of J.entries())O===0&&w.push(c),w.push(D(k(d(h,y)))),O!==J.length-1?w.push(y.length===0?c:S(E)):ne.chomping==="keep"&&De&&w.push(b(y.length===0?c:E));return ne.indent===null?F.push(f(X(G.tabWidth,w))):F.push(b(X(ne.indent-1+Z,w))),F}A.exports=ee}}),kE=Fe({"src/language-yaml/printer-yaml.js"(m,A){Ve();var{builders:{breakParent:f,fill:b,group:D,hardline:c,join:d,line:h,lineSuffix:E,literalline:S},utils:{getDocParts:k,replaceTextEndOfLine:N}}=Sn(),{isPreviousLineEmpty:_}=ye(),{insertPragma:C,isPragma:x}=SE(),{locStart:M}=xE(),X=wE(),{getFlowScalarLineContents:ee,getLastDescendantNode:$,hasLeadingComments:Q,hasMiddleComments:G,hasTrailingComment:ne,hasEndComments:Z,hasPrettierIgnore:De,isLastDescendantNode:F,isNode:J,isInlineNode:w}=Xa(),O=FE(),{alignWithSpaces:y,printNextEmptyLine:T,shouldPrintEndComments:B}=cl(),{printFlowMapping:U,printFlowSequence:q}=NE(),z=TE(),re=_E();function ce(oe,qe,tt){let Ye=oe.getValue(),ht=[];Ye.type!=="mappingValue"&&Q(Ye)&&ht.push([d(c,oe.map(tt,"leadingComments")),c]);let{tag:be,anchor:Me}=Ye;be&&ht.push(tt("tag")),be&&Me&&ht.push(" "),Me&&ht.push(tt("anchor"));let ft="";J(Ye,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!F(oe)&&(ft=T(oe,qe.originalText)),(be||Me)&&(J(Ye,["sequence","mapping"])&&!G(Ye)?ht.push(c):ht.push(" ")),G(Ye)&&ht.push([Ye.middleComments.length===1?"":c,d(c,oe.map(tt,"middleComments")),c]);let pt=oe.getParentNode();return De(oe)?ht.push(N(qe.originalText.slice(Ye.position.start.offset,Ye.position.end.offset).trimEnd(),S)):ht.push(D(ge(Ye,pt,oe,qe,tt))),ne(Ye)&&!J(Ye,["document","documentHead"])&&ht.push(E([Ye.type==="mappingValue"&&!Ye.content?"":" ",pt.type==="mappingKey"&&oe.getParentNode(2).type==="mapping"&&w(Ye)?"":f,tt("trailingComment")])),B(Ye)&&ht.push(y(Ye.type==="sequenceItem"?2:0,[c,d(c,oe.map(Wt=>[_(qe.originalText,Wt.getValue(),M)?c:"",tt()],"endComments"))])),ht.push(ft),ht}function ge(oe,qe,tt,Ye,ht){switch(oe.type){case"root":{let{children:be}=oe,Me=[];tt.each((pt,Wt)=>{let Ue=be[Wt],Se=be[Wt+1];Wt!==0&&Me.push(c),Me.push(ht()),Ne(Ue,Se)?(Me.push(c,"..."),ne(Ue)&&Me.push(" ",ht("trailingComment"))):Se&&!ne(Se.head)&&Me.push(c,"---")},"children");let ft=$(oe);return(!J(ft,["blockLiteral","blockFolded"])||ft.chomping!=="keep")&&Me.push(c),Me}case"document":{let be=qe.children[tt.getName()+1],Me=[];return ie(oe,be,qe,Ye)==="head"&&((oe.head.children.length>0||oe.head.endComments.length>0)&&Me.push(ht("head")),ne(oe.head)?Me.push(["---"," ",ht(["head","trailingComment"])]):Me.push("---")),fe(oe)&&Me.push(ht("body")),d(c,Me)}case"documentHead":return d(c,[...tt.map(ht,"children"),...tt.map(ht,"endComments")]);case"documentBody":{let{children:be,endComments:Me}=oe,ft="";if(be.length>0&&Me.length>0){let pt=$(oe);J(pt,["blockFolded","blockLiteral"])?pt.chomping!=="keep"&&(ft=[c,c]):ft=c}return[d(c,tt.map(ht,"children")),ft,d(c,tt.map(ht,"endComments"))]}case"directive":return["%",d(" ",[oe.name,...oe.parameters])];case"comment":return["#",oe.value];case"alias":return["*",oe.value];case"tag":return Ye.originalText.slice(oe.position.start.offset,oe.position.end.offset);case"anchor":return["&",oe.value];case"plain":return We(oe.type,Ye.originalText.slice(oe.position.start.offset,oe.position.end.offset),Ye);case"quoteDouble":case"quoteSingle":{let be="'",Me='"',ft=Ye.originalText.slice(oe.position.start.offset+1,oe.position.end.offset-1);if(oe.type==="quoteSingle"&&ft.includes("\\")||oe.type==="quoteDouble"&&/\\[^"]/.test(ft)){let Wt=oe.type==="quoteDouble"?Me:be;return[Wt,We(oe.type,ft,Ye),Wt]}if(ft.includes(Me))return[be,We(oe.type,oe.type==="quoteDouble"?ft.replace(/\\"/g,Me).replace(/'/g,be.repeat(2)):ft,Ye),be];if(ft.includes(be))return[Me,We(oe.type,oe.type==="quoteSingle"?ft.replace(/''/g,be):ft,Ye),Me];let pt=Ye.singleQuote?be:Me;return[pt,We(oe.type,ft,Ye),pt]}case"blockFolded":case"blockLiteral":return re(tt,ht,Ye);case"mapping":case"sequence":return d(c,tt.map(ht,"children"));case"sequenceItem":return["- ",y(2,oe.content?ht("content"):"")];case"mappingKey":case"mappingValue":return oe.content?ht("content"):"";case"mappingItem":case"flowMappingItem":return z(oe,qe,tt,ht,Ye);case"flowMapping":return U(tt,ht,Ye);case"flowSequence":return q(tt,ht,Ye);case"flowSequenceItem":return ht("content");default:throw new Error(`Unexpected node type ${oe.type}`)}}function fe(oe){return oe.body.children.length>0||Z(oe.body)}function Ne(oe,qe){return ne(oe)||qe&&(qe.head.children.length>0||Z(qe.head))}function ie(oe,qe,tt,Ye){return tt.children[0]===oe&&/---(?:\s|$)/.test(Ye.originalText.slice(M(oe),M(oe)+4))||oe.head.children.length>0||Z(oe.head)||ne(oe.head)?"head":Ne(oe,qe)?!1:qe?"root":!1}function We(oe,qe,tt){let Ye=ee(oe,qe,tt);return d(c,Ye.map(ht=>b(k(d(h,ht)))))}function me(oe,qe){if(J(qe))switch(delete qe.position,qe.type){case"comment":if(x(qe.value))return null;break;case"quoteDouble":case"quoteSingle":qe.type="quote";break}}A.exports={preprocess:O,embed:X,print:ce,massageAstNode:me,insertPragma:C}}}),LE=Fe({"src/language-yaml/options.js"(m,A){Ve();var f=Ha();A.exports={bracketSpacing:f.bracketSpacing,singleQuote:f.singleQuote,proseWrap:f.proseWrap}}}),PE=Fe({"src/language-yaml/parsers.js"(){Ve()}}),BE=Fe({"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}}}),IE=Fe({"src/language-yaml/index.js"(m,A){Ve();var f=Zs(),b=kE(),D=LE(),c=PE(),d=[f(BE(),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:b},options:D,parsers:c}}}),ME=Fe({"src/languages.js"(m,A){Ve(),A.exports=[g2(),B2(),U2(),z2(),rE(),CE(),IE()]}});Ve();var{version:OE}=zr(),Qa=Pv(),{getSupportInfo:jE}=Nt(),$E=Bv(),RE=ME(),VE=Sn();function ta(m){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var f=arguments.length,b=new Array(f),D=0;D<f;D++)b[D]=arguments[D];let c=b[A]||{},d=c.plugins||[];return b[A]=Object.assign(Object.assign({},c),{},{plugins:[...RE,...Array.isArray(d)?d:Object.values(d)]}),m(...b)}}var Xf=ta(Qa.formatWithCursor);st.exports={formatWithCursor:Xf,format(m,A){return Xf(m,A).formatted},check(m,A){let{formatted:f}=Xf(m,A);return f===m},doc:VE,getSupportInfo:ta(jE,0),version:OE,util:$E,__debug:{parse:ta(Qa.parse),formatAST:ta(Qa.formatAST),formatDoc:ta(Qa.formatDoc),printToDoc:ta(Qa.printToDoc),printDocToString:ta(Qa.printDocToString)}}});return Af()})})(Mm);var SD=Mm.exports,Om={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,v=(Y,g)=>function(){return Y&&(g=(0,Y[u(Y)[0]])(Y=0)),g},p=(Y,g)=>function(){return g||(0,Y[u(Y)[0]])((g={exports:{}}).exports,g),g.exports},j=(Y,g)=>{for(var W in g)a(Y,W,{get:g[W],enumerable:!0})},R=(Y,g,W,Ce)=>{if(g&&typeof g=="object"||typeof g=="function")for(let Le of u(g))!l.call(Y,Le)&&Le!==W&&a(Y,Le,{get:()=>g[Le],enumerable:!(Ce=o(g,Le))||Ce.enumerable});return Y},se=Y=>R(a({},"__esModule",{value:!0}),Y),te,P=v({"<define:process>"(){te={env:{},argv:[]}}}),ue=p({"src/common/parser-create-error.js"(Y,g){P();function W(Ce,Le){let Pe=new SyntaxError(Ce+" ("+Le.start.line+":"+Le.start.column+")");return Pe.loc=Le,Pe}g.exports=W}}),ke=p({"src/language-yaml/pragma.js"(Y,g){P();function W(Pe){return/^\s*@(?:prettier|format)\s*$/.test(Pe)}function Ce(Pe){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(Pe)}function Le(Pe){return`# @format
262
-
263
- ${Pe}`}g.exports={isPragma:W,hasPragma:Ce,insertPragma:Le}}}),Be=p({"src/language-yaml/loc.js"(Y,g){P();function W(Le){return Le.position.start.offset}function Ce(Le){return Le.position.end.offset}g.exports={locStart:W,locEnd:Ce}}}),Je={};j(Je,{__assign:()=>Ri,__asyncDelegator:()=>Zn,__asyncGenerator:()=>dr,__asyncValues:()=>si,__await:()=>Qn,__awaiter:()=>_e,__classPrivateFieldGet:()=>Iu,__classPrivateFieldSet:()=>Mu,__createBinding:()=>he,__decorate:()=>Et,__exportStar:()=>ct,__extends:()=>ve,__generator:()=>Re,__importDefault:()=>So,__importStar:()=>Ys,__makeTemplateObject:()=>ws,__metadata:()=>we,__param:()=>Ft,__read:()=>un,__rest:()=>Oe,__spread:()=>fn,__spreadArrays:()=>Nn,__values:()=>Pt});function ve(Y,g){Ma(Y,g);function W(){this.constructor=Y}Y.prototype=g===null?Object.create(g):(W.prototype=g.prototype,new W)}function Oe(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 Le=0,Ce=Object.getOwnPropertySymbols(Y);Le<Ce.length;Le++)g.indexOf(Ce[Le])<0&&Object.prototype.propertyIsEnumerable.call(Y,Ce[Le])&&(W[Ce[Le]]=Y[Ce[Le]]);return W}function Et(Y,g,W,Ce){var Le=arguments.length,Pe=Le<3?g:Ce===null?Ce=Object.getOwnPropertyDescriptor(g,W):Ce,Ke;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Pe=Reflect.decorate(Y,g,W,Ce);else for(var mt=Y.length-1;mt>=0;mt--)(Ke=Y[mt])&&(Pe=(Le<3?Ke(Pe):Le>3?Ke(g,W,Pe):Ke(g,W))||Pe);return Le>3&&Pe&&Object.defineProperty(g,W,Pe),Pe}function Ft(Y,g){return function(W,Ce){g(W,Ce,Y)}}function we(Y,g){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(Y,g)}function _e(Y,g,W,Ce){function Le(Pe){return Pe instanceof W?Pe:new W(function(Ke){Ke(Pe)})}return new(W||(W=Promise))(function(Pe,Ke){function mt(yt){try{it(Ce.next(yt))}catch(Nt){Ke(Nt)}}function jt(yt){try{it(Ce.throw(yt))}catch(Nt){Ke(Nt)}}function it(yt){yt.done?Pe(yt.value):Le(yt.value).then(mt,jt)}it((Ce=Ce.apply(Y,g||[])).next())})}function Re(Y,g){var W={label:0,sent:function(){if(Pe[0]&1)throw Pe[1];return Pe[1]},trys:[],ops:[]},Ce,Le,Pe,Ke;return Ke={next:mt(0),throw:mt(1),return:mt(2)},typeof Symbol=="function"&&(Ke[Symbol.iterator]=function(){return this}),Ke;function mt(it){return function(yt){return jt([it,yt])}}function jt(it){if(Ce)throw new TypeError("Generator is already executing.");for(;W;)try{if(Ce=1,Le&&(Pe=it[0]&2?Le.return:it[0]?Le.throw||((Pe=Le.return)&&Pe.call(Le),0):Le.next)&&!(Pe=Pe.call(Le,it[1])).done)return Pe;switch(Le=0,Pe&&(it=[it[0]&2,Pe.value]),it[0]){case 0:case 1:Pe=it;break;case 4:return W.label++,{value:it[1],done:!1};case 5:W.label++,Le=it[1],it=[0];continue;case 7:it=W.ops.pop(),W.trys.pop();continue;default:if(Pe=W.trys,!(Pe=Pe.length>0&&Pe[Pe.length-1])&&(it[0]===6||it[0]===2)){W=0;continue}if(it[0]===3&&(!Pe||it[1]>Pe[0]&&it[1]<Pe[3])){W.label=it[1];break}if(it[0]===6&&W.label<Pe[1]){W.label=Pe[1],Pe=it;break}if(Pe&&W.label<Pe[2]){W.label=Pe[2],W.ops.push(it);break}Pe[2]&&W.ops.pop(),W.trys.pop();continue}it=g.call(Y,W)}catch(yt){it=[6,yt],Le=0}finally{Ce=Pe=0}if(it[0]&5)throw it[1];return{value:it[0]?it[1]:void 0,done:!0}}}function he(Y,g,W,Ce){Ce===void 0&&(Ce=W),Y[Ce]=g[W]}function ct(Y,g){for(var W in Y)W!=="default"&&!g.hasOwnProperty(W)&&(g[W]=Y[W])}function Pt(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 un(Y,g){var W=typeof Symbol=="function"&&Y[Symbol.iterator];if(!W)return Y;var Ce=W.call(Y),Le,Pe=[],Ke;try{for(;(g===void 0||g-- >0)&&!(Le=Ce.next()).done;)Pe.push(Le.value)}catch(mt){Ke={error:mt}}finally{try{Le&&!Le.done&&(W=Ce.return)&&W.call(Ce)}finally{if(Ke)throw Ke.error}}return Pe}function fn(){for(var Y=[],g=0;g<arguments.length;g++)Y=Y.concat(un(arguments[g]));return Y}function Nn(){for(var Y=0,g=0,W=arguments.length;g<W;g++)Y+=arguments[g].length;for(var Ce=Array(Y),Le=0,g=0;g<W;g++)for(var Pe=arguments[g],Ke=0,mt=Pe.length;Ke<mt;Ke++,Le++)Ce[Le]=Pe[Ke];return Ce}function Qn(Y){return this instanceof Qn?(this.v=Y,this):new Qn(Y)}function dr(Y,g,W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce=W.apply(Y,g||[]),Le,Pe=[];return Le={},Ke("next"),Ke("throw"),Ke("return"),Le[Symbol.asyncIterator]=function(){return this},Le;function Ke(Mt){Ce[Mt]&&(Le[Mt]=function(_t){return new Promise(function(qt,Ut){Pe.push([Mt,_t,qt,Ut])>1||mt(Mt,_t)})})}function mt(Mt,_t){try{jt(Ce[Mt](_t))}catch(qt){Nt(Pe[0][3],qt)}}function jt(Mt){Mt.value instanceof Qn?Promise.resolve(Mt.value.v).then(it,yt):Nt(Pe[0][2],Mt)}function it(Mt){mt("next",Mt)}function yt(Mt){mt("throw",Mt)}function Nt(Mt,_t){Mt(_t),Pe.shift(),Pe.length&&mt(Pe[0][0],Pe[0][1])}}function Zn(Y){var g,W;return g={},Ce("next"),Ce("throw",function(Le){throw Le}),Ce("return"),g[Symbol.iterator]=function(){return this},g;function Ce(Le,Pe){g[Le]=Y[Le]?function(Ke){return(W=!W)?{value:Qn(Y[Le](Ke)),done:Le==="return"}:Pe?Pe(Ke):Ke}:Pe}}function si(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 Pt=="function"?Pt(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(Ke){return new Promise(function(mt,jt){Ke=Y[Pe](Ke),Le(mt,jt,Ke.done,Ke.value)})}}function Le(Pe,Ke,mt,jt){Promise.resolve(jt).then(function(it){Pe({value:it,done:mt})},Ke)}}function ws(Y,g){return Object.defineProperty?Object.defineProperty(Y,"raw",{value:g}):Y.raw=g,Y}function Ys(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 So(Y){return Y&&Y.__esModule?Y:{default:Y}}function Iu(Y,g){if(!g.has(Y))throw new TypeError("attempted to get private field on non-instance");return g.get(Y)}function Mu(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 Ma,Ri,Kn=v({"node_modules/tslib/tslib.es6.js"(){P(),Ma=function(Y,g){return Ma=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,Ce){W.__proto__=Ce}||function(W,Ce){for(var Le in Ce)Ce.hasOwnProperty(Le)&&(W[Le]=Ce[Le])},Ma(Y,g)},Ri=function(){return Ri=Object.assign||function(Y){for(var g,W=1,Ce=arguments.length;W<Ce;W++){g=arguments[W];for(var Le in g)Object.prototype.hasOwnProperty.call(g,Le)&&(Y[Le]=g[Le])}return Y},Ri.apply(this,arguments)}}}),Ou=p({"node_modules/yaml-unist-parser/node_modules/lines-and-columns/build/index.js"(Y){P(),Y.__esModule=!0,Y.LinesAndColumns=void 0;var g=`
264
- `,W="\r",Ce=function(){function Le(Pe){this.string=Pe;for(var Ke=[0],mt=0;mt<Pe.length;)switch(Pe[mt]){case g:mt+=g.length,Ke.push(mt);break;case W:mt+=W.length,Pe[mt]===g&&(mt+=g.length),Ke.push(mt);break;default:mt++;break}this.offsets=Ke}return Le.prototype.locationForIndex=function(Pe){if(Pe<0||Pe>this.string.length)return null;for(var Ke=0,mt=this.offsets;mt[Ke+1]<=Pe;)Ke++;var jt=Pe-mt[Ke];return{line:Ke,column:jt}},Le.prototype.indexForLocation=function(Pe){var Ke=Pe.line,mt=Pe.column;return Ke<0||Ke>=this.offsets.length||mt<0||mt>this.lengthOfLine(Ke)?null:this.offsets[Ke]+mt},Le.prototype.lengthOfLine=function(Pe){var Ke=this.offsets[Pe],mt=Pe===this.offsets.length-1?this.string.length:this.offsets[Pe+1];return mt-Ke},Le}();Y.LinesAndColumns=Ce,Y.default=Ce}}),rf=p({"node_modules/yaml-unist-parser/lib/utils/define-parents.js"(Y){P(),Y.__esModule=!0;function g(W,Ce){Ce===void 0&&(Ce=null),"children"in W&&W.children.forEach(function(Le){return g(Le,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(Le){return g(Le,W)}),"middleComments"in W&&W.middleComments.forEach(function(Le){return g(Le,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(Le){return g(Le,W)}),Object.defineProperty(W,"_parent",{value:Ce,enumerable:!1})}Y.defineParents=g}}),Oa=p({"node_modules/yaml-unist-parser/lib/utils/get-point-text.js"(Y){P(),Y.__esModule=!0;function g(W){return W.line+":"+W.column}Y.getPointText=g}}),sf=p({"node_modules/yaml-unist-parser/lib/attach.js"(Y){P(),Y.__esModule=!0;var g=rf(),W=Oa();function Ce(it){g.defineParents(it);var yt=Le(it),Nt=it.children.slice();it.comments.sort(function(Mt,_t){return Mt.position.start.offset-_t.position.end.offset}).filter(function(Mt){return!Mt._parent}).forEach(function(Mt){for(;Nt.length>1&&Mt.position.start.line>Nt[0].position.end.line;)Nt.shift();Ke(Mt,yt,Nt[0])})}Y.attachComments=Ce;function Le(it){for(var yt=Array.from(new Array(it.position.end.line),function(){return{}}),Nt=0,Mt=it.comments;Nt<Mt.length;Nt++){var _t=Mt[Nt];yt[_t.position.start.line-1].comment=_t}return Pe(yt,it),yt}function Pe(it,yt){if(yt.position.start.offset!==yt.position.end.offset){if("leadingComments"in yt){var Nt=yt.position.start,Mt=it[Nt.line-1].leadingAttachableNode;(!Mt||Nt.column<Mt.position.start.column)&&(it[Nt.line-1].leadingAttachableNode=yt)}if("trailingComment"in yt&&yt.position.end.column>1&&yt.type!=="document"&&yt.type!=="documentHead"){var _t=yt.position.end,qt=it[_t.line-1].trailingAttachableNode;(!qt||_t.column>=qt.position.end.column)&&(it[_t.line-1].trailingAttachableNode=yt)}if(yt.type!=="root"&&yt.type!=="document"&&yt.type!=="documentHead"&&yt.type!=="documentBody")for(var Ut=yt.position,Nt=Ut.start,_t=Ut.end,zt=[_t.line].concat(Nt.line===_t.line?[]:Nt.line),yn=0,ye=zt;yn<ye.length;yn++){var K=ye[yn],I=it[K-1].trailingNode;(!I||_t.column>=I.position.end.column)&&(it[K-1].trailingNode=yt)}"children"in yt&&yt.children.forEach(function(H){Pe(it,H)})}}function Ke(it,yt,Nt){var Mt=it.position.start.line,_t=yt[Mt-1].trailingAttachableNode;if(_t){if(_t.trailingComment)throw new Error("Unexpected multiple trailing comment at "+W.getPointText(it.position.start));g.defineParents(it,_t),_t.trailingComment=it;return}for(var qt=Mt;qt>=Nt.position.start.line;qt--){var Ut=yt[qt-1].trailingNode,zt=void 0;if(Ut)zt=Ut;else if(qt!==Mt&&yt[qt-1].comment)zt=yt[qt-1].comment._parent;else continue;if((zt.type==="sequence"||zt.type==="mapping")&&(zt=zt.children[0]),zt.type==="mappingItem"){var yn=zt.children,ye=yn[0],K=yn[1];zt=jt(ye)?ye:K}for(;;){if(mt(zt,it)){g.defineParents(it,zt),zt.endComments.push(it);return}if(!zt._parent)break;zt=zt._parent}break}for(var qt=Mt+1;qt<=Nt.position.end.line;qt++){var I=yt[qt-1].leadingAttachableNode;if(I){g.defineParents(it,I),I.leadingComments.push(it);return}}var H=Nt.children[1];g.defineParents(it,H),H.endComments.push(it)}function mt(it,yt){if(it.position.start.offset<yt.position.start.offset&&it.position.end.offset>yt.position.end.offset)switch(it.type){case"flowMapping":case"flowSequence":return it.children.length===0||yt.position.start.line>it.children[it.children.length-1].position.end.line}if(yt.position.end.offset<it.position.end.offset)return!1;switch(it.type){case"sequenceItem":return yt.position.start.column>it.position.start.column;case"mappingKey":case"mappingValue":return yt.position.start.column>it._parent.position.start.column&&(it.children.length===0||it.children.length===1&&it.children[0].type!=="blockFolded"&&it.children[0].type!=="blockLiteral")&&(it.type==="mappingValue"||jt(it));default:return!1}}function jt(it){return it.position.start!==it.position.end&&(it.children.length===0||it.position.start.offset!==it.children[0].position.start.offset)}}}),xr=p({"node_modules/yaml-unist-parser/lib/factories/node.js"(Y){P(),Y.__esModule=!0;function g(W,Ce){return{type:W,position:Ce}}Y.createNode=g}}),ju=p({"node_modules/yaml-unist-parser/lib/factories/root.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=xr();function Ce(Le,Pe,Ke){return g.__assign(g.__assign({},W.createNode("root",Le)),{children:Pe,comments:Ke})}Y.createRoot=Ce}}),af=p({"node_modules/yaml-unist-parser/lib/preprocess.js"(Y){P(),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 Le=W.items[Ce];"char"in Le||(Le.type==="BLANK_LINE"?W.items.splice(Ce,1):g(Le))}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}}),rs=p({"node_modules/yaml-unist-parser/lib/factories/leading-comment-attachable.js"(Y){P(),Y.__esModule=!0;function g(){return{leadingComments:[]}}Y.createLeadingCommentAttachable=g}}),ja=p({"node_modules/yaml-unist-parser/lib/factories/trailing-comment-attachable.js"(Y){P(),Y.__esModule=!0;function g(W){return W===void 0&&(W=null),{trailingComment:W}}Y.createTrailingCommentAttachable=g}}),is=p({"node_modules/yaml-unist-parser/lib/factories/comment-attachable.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=rs(),Ce=ja();function Le(){return g.__assign(g.__assign({},W.createLeadingCommentAttachable()),Ce.createTrailingCommentAttachable())}Y.createCommentAttachable=Le}}),xo=p({"node_modules/yaml-unist-parser/lib/factories/alias.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=is(),Ce=xr();function Le(Pe,Ke,mt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("alias",Pe)),W.createCommentAttachable()),Ke),{value:mt})}Y.createAlias=Le}}),of=p({"node_modules/yaml-unist-parser/lib/transforms/alias.js"(Y){P(),Y.__esModule=!0;var g=xo();function W(Ce,Le){var Pe=Ce.cstNode;return g.createAlias(Le.transformRange({origStart:Pe.valueRange.origStart-1,origEnd:Pe.valueRange.origEnd}),Le.transformContent(Ce),Pe.rawValue)}Y.transformAlias=W}}),uf=p({"node_modules/yaml-unist-parser/lib/factories/block-folded.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"blockFolded"})}Y.createBlockFolded=W}}),Hs=p({"node_modules/yaml-unist-parser/lib/factories/block-value.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=rs(),Ce=xr();function Le(Pe,Ke,mt,jt,it,yt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("blockValue",Pe)),W.createLeadingCommentAttachable()),Ke),{chomping:mt,indent:jt,value:it,indicatorComment:yt})}Y.createBlockValue=Le}}),$u=p({"node_modules/yaml-unist-parser/lib/constants.js"(Y){P(),Y.__esModule=!0,function(g){g.Tag="!",g.Anchor="&",g.Comment="#"}(Y.PropLeadingCharacter||(Y.PropLeadingCharacter={}))}}),lf=p({"node_modules/yaml-unist-parser/lib/factories/anchor.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=xr();function Ce(Le,Pe){return g.__assign(g.__assign({},W.createNode("anchor",Le)),{value:Pe})}Y.createAnchor=Ce}}),wo=p({"node_modules/yaml-unist-parser/lib/factories/comment.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=xr();function Ce(Le,Pe){return g.__assign(g.__assign({},W.createNode("comment",Le)),{value:Pe})}Y.createComment=Ce}}),cf=p({"node_modules/yaml-unist-parser/lib/factories/content.js"(Y){P(),Y.__esModule=!0;function g(W,Ce,Le){return{anchor:Ce,tag:W,middleComments:Le}}Y.createContent=g}}),ff=p({"node_modules/yaml-unist-parser/lib/factories/tag.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=xr();function Ce(Le,Pe){return g.__assign(g.__assign({},W.createNode("tag",Le)),{value:Pe})}Y.createTag=Ce}}),Ru=p({"node_modules/yaml-unist-parser/lib/transforms/content.js"(Y){P(),Y.__esModule=!0;var g=$u(),W=lf(),Ce=wo(),Le=cf(),Pe=ff();function Ke(mt,jt,it){it===void 0&&(it=function(){return!1});for(var yt=mt.cstNode,Nt=[],Mt=null,_t=null,qt=null,Ut=0,zt=yt.props;Ut<zt.length;Ut++){var yn=zt[Ut],ye=jt.text[yn.origStart];switch(ye){case g.PropLeadingCharacter.Tag:Mt=Mt||yn,_t=Pe.createTag(jt.transformRange(yn),mt.tag);break;case g.PropLeadingCharacter.Anchor:Mt=Mt||yn,qt=W.createAnchor(jt.transformRange(yn),yt.anchor);break;case g.PropLeadingCharacter.Comment:{var K=Ce.createComment(jt.transformRange(yn),jt.text.slice(yn.origStart+1,yn.origEnd));jt.comments.push(K),!it(K)&&Mt&&Mt.origEnd<=yn.origStart&&yn.origEnd<=yt.valueRange.origStart&&Nt.push(K);break}default:throw new Error("Unexpected leading character "+JSON.stringify(ye))}}return Le.createContent(_t,qt,Nt)}Y.transformContent=Ke}}),Vu=p({"node_modules/yaml-unist-parser/lib/transforms/block-value.js"(Y){P(),Y.__esModule=!0;var g=Hs(),W=Oa(),Ce=Ru(),Le;(function(Ke){Ke.CLIP="clip",Ke.STRIP="strip",Ke.KEEP="keep"})(Le||(Le={}));function Pe(Ke,mt){var jt=Ke.cstNode,it=1,yt=jt.chomping==="CLIP"?0:1,Nt=jt.header.origEnd-jt.header.origStart,Mt=Nt-it-yt!==0,_t=mt.transformRange({origStart:jt.header.origStart,origEnd:jt.valueRange.origEnd}),qt=null,Ut=Ce.transformContent(Ke,mt,function(zt){var yn=_t.start.offset<zt.position.start.offset&&zt.position.end.offset<_t.end.offset;if(!yn)return!1;if(qt)throw new Error("Unexpected multiple indicator comments at "+W.getPointText(zt.position.start));return qt=zt,!0});return g.createBlockValue(_t,Ut,Le[jt.chomping],Mt?jt.blockIndent:null,jt.strValue,qt)}Y.transformAstBlockValue=Pe}}),pf=p({"node_modules/yaml-unist-parser/lib/transforms/block-folded.js"(Y){P(),Y.__esModule=!0;var g=uf(),W=Vu();function Ce(Le,Pe){return g.createBlockFolded(W.transformAstBlockValue(Le,Pe))}Y.transformBlockFolded=Ce}}),$a=p({"node_modules/yaml-unist-parser/lib/factories/block-literal.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"blockLiteral"})}Y.createBlockLiteral=W}}),Uu=p({"node_modules/yaml-unist-parser/lib/transforms/block-literal.js"(Y){P(),Y.__esModule=!0;var g=$a(),W=Vu();function Ce(Le,Pe){return g.createBlockLiteral(W.transformAstBlockValue(Le,Pe))}Y.transformBlockLiteral=Ce}}),df=p({"node_modules/yaml-unist-parser/lib/transforms/comment.js"(Y){P(),Y.__esModule=!0;var g=wo();function W(Ce,Le){return g.createComment(Le.transformRange(Ce.range),Ce.comment)}Y.transformComment=W}}),hf=p({"node_modules/yaml-unist-parser/lib/factories/directive.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=is(),Ce=xr();function Le(Pe,Ke,mt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("directive",Pe)),W.createCommentAttachable()),{name:Ke,parameters:mt})}Y.createDirective=Le}}),Ra=p({"node_modules/yaml-unist-parser/lib/utils/extract-prop-comments.js"(Y){P(),Y.__esModule=!0;var g=$u(),W=wo();function Ce(Le,Pe){for(var Ke=0,mt=Le.props;Ke<mt.length;Ke++){var jt=mt[Ke],it=Pe.text[jt.origStart];switch(it){case g.PropLeadingCharacter.Comment:Pe.comments.push(W.createComment(Pe.transformRange(jt),Pe.text.slice(jt.origStart+1,jt.origEnd)));break;default:throw new Error("Unexpected leading character "+JSON.stringify(it))}}}Y.extractPropComments=Ce}}),qu=p({"node_modules/yaml-unist-parser/lib/transforms/directive.js"(Y){P(),Y.__esModule=!0;var g=hf(),W=Ra();function Ce(Le,Pe){return W.extractPropComments(Le,Pe),g.createDirective(Pe.transformRange(Le.range),Le.name,Le.parameters)}Y.transformDirective=Ce}}),mf=p({"node_modules/yaml-unist-parser/lib/factories/document.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=xr(),Ce=ja();function Le(Pe,Ke,mt,jt){return g.__assign(g.__assign(g.__assign({},W.createNode("document",Pe)),Ce.createTrailingCommentAttachable(jt)),{children:[Ke,mt]})}Y.createDocument=Le}}),ss=p({"node_modules/yaml-unist-parser/lib/factories/position.js"(Y){P(),Y.__esModule=!0;function g(Ce,Le){return{start:Ce,end:Le}}Y.createPosition=g;function W(Ce){return{start:Ce,end:Ce}}Y.createEmptyPosition=W}}),as=p({"node_modules/yaml-unist-parser/lib/factories/end-comment-attachable.js"(Y){P(),Y.__esModule=!0;function g(W){return W===void 0&&(W=[]),{endComments:W}}Y.createEndCommentAttachable=g}}),gf=p({"node_modules/yaml-unist-parser/lib/factories/document-body.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=as(),Ce=xr();function Le(Pe,Ke,mt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("documentBody",Pe)),W.createEndCommentAttachable(mt)),{children:Ke?[Ke]:[]})}Y.createDocumentBody=Le}}),os=p({"node_modules/yaml-unist-parser/lib/utils/get-last.js"(Y){P(),Y.__esModule=!0;function g(W){return W[W.length-1]}Y.getLast=g}}),Wu=p({"node_modules/yaml-unist-parser/lib/utils/get-match-index.js"(Y){P(),Y.__esModule=!0;function g(W,Ce){var Le=W.match(Ce);return Le?Le.index:-1}Y.getMatchIndex=g}}),Gu=p({"node_modules/yaml-unist-parser/lib/transforms/document-body.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=gf(),Ce=os(),Le=Wu(),Pe=Oa();function Ke(it,yt,Nt){var Mt,_t=it.cstNode,qt=mt(_t,yt,Nt),Ut=qt.comments,zt=qt.endComments,yn=qt.documentTrailingComment,ye=qt.documentHeadTrailingComment,K=yt.transformNode(it.contents),I=jt(_t,K,yt),H=I.position,le=I.documentEndPoint;return(Mt=yt.comments).push.apply(Mt,g.__spreadArrays(Ut,zt)),{documentBody:W.createDocumentBody(H,K,zt),documentEndPoint:le,documentTrailingComment:yn,documentHeadTrailingComment:ye}}Y.transformDocumentBody=Ke;function mt(it,yt,Nt){for(var Mt=[],_t=[],qt=[],Ut=[],zt=!1,yn=it.contents.length-1;yn>=0;yn--){var ye=it.contents[yn];if(ye.type==="COMMENT"){var K=yt.transformNode(ye);Nt&&Nt.line===K.position.start.line?Ut.unshift(K):zt?Mt.unshift(K):K.position.start.offset>=it.valueRange.origEnd?qt.unshift(K):Mt.unshift(K)}else zt=!0}if(qt.length>1)throw new Error("Unexpected multiple document trailing comments at "+Pe.getPointText(qt[1].position.start));if(Ut.length>1)throw new Error("Unexpected multiple documentHead trailing comments at "+Pe.getPointText(Ut[1].position.start));return{comments:Mt,endComments:_t,documentTrailingComment:Ce.getLast(qt)||null,documentHeadTrailingComment:Ce.getLast(Ut)||null}}function jt(it,yt,Nt){var Mt=Le.getMatchIndex(Nt.text.slice(it.valueRange.origEnd),/^\.\.\./),_t=Mt===-1?it.valueRange.origEnd:Math.max(0,it.valueRange.origEnd-1);Nt.text[_t-1]==="\r"&&_t--;var qt=Nt.transformRange({origStart:yt!==null?yt.position.start.offset:_t,origEnd:_t}),Ut=Mt===-1?qt.end:Nt.transformOffset(it.valueRange.origEnd+3);return{position:qt,documentEndPoint:Ut}}}}),yf=p({"node_modules/yaml-unist-parser/lib/factories/document-head.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=as(),Ce=xr(),Le=ja();function Pe(Ke,mt,jt,it){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("documentHead",Ke)),W.createEndCommentAttachable(jt)),Le.createTrailingCommentAttachable(it)),{children:mt})}Y.createDocumentHead=Pe}}),Ju=p({"node_modules/yaml-unist-parser/lib/transforms/document-head.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=yf(),Ce=Wu();function Le(mt,jt){var it,yt=mt.cstNode,Nt=Pe(yt,jt),Mt=Nt.directives,_t=Nt.comments,qt=Nt.endComments,Ut=Ke(yt,Mt,jt),zt=Ut.position,yn=Ut.endMarkerPoint;(it=jt.comments).push.apply(it,g.__spreadArrays(_t,qt));var ye=function(K){return K&&jt.comments.push(K),W.createDocumentHead(zt,Mt,qt,K)};return{createDocumentHeadWithTrailingComment:ye,documentHeadEndMarkerPoint:yn}}Y.transformDocumentHead=Le;function Pe(mt,jt){for(var it=[],yt=[],Nt=[],Mt=!1,_t=mt.directives.length-1;_t>=0;_t--){var qt=jt.transformNode(mt.directives[_t]);qt.type==="comment"?Mt?yt.unshift(qt):Nt.unshift(qt):(Mt=!0,it.unshift(qt))}return{directives:it,comments:yt,endComments:Nt}}function Ke(mt,jt,it){var yt=Ce.getMatchIndex(it.text.slice(0,mt.valueRange.origStart),/---\s*$/);yt>0&&!/[\r\n]/.test(it.text[yt-1])&&(yt=-1);var Nt=yt===-1?{origStart:mt.valueRange.origStart,origEnd:mt.valueRange.origStart}:{origStart:yt,origEnd:yt+3};return jt.length!==0&&(Nt.origStart=jt[0].position.start.offset),{position:it.transformRange(Nt),endMarkerPoint:yt===-1?null:it.transformOffset(yt)}}}}),Df=p({"node_modules/yaml-unist-parser/lib/transforms/document.js"(Y){P(),Y.__esModule=!0;var g=mf(),W=ss(),Ce=Gu(),Le=Ju();function Pe(Ke,mt){var jt=Le.transformDocumentHead(Ke,mt),it=jt.createDocumentHeadWithTrailingComment,yt=jt.documentHeadEndMarkerPoint,Nt=Ce.transformDocumentBody(Ke,mt,yt),Mt=Nt.documentBody,_t=Nt.documentEndPoint,qt=Nt.documentTrailingComment,Ut=Nt.documentHeadTrailingComment,zt=it(Ut);return qt&&mt.comments.push(qt),g.createDocument(W.createPosition(zt.position.start,_t),zt,Mt,qt)}Y.transformDocument=Pe}}),Yu=p({"node_modules/yaml-unist-parser/lib/factories/flow-collection.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=is(),Ce=as(),Le=xr();function Pe(Ke,mt,jt){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},Le.createNode("flowCollection",Ke)),W.createCommentAttachable()),Ce.createEndCommentAttachable()),mt),{children:jt})}Y.createFlowCollection=Pe}}),bf=p({"node_modules/yaml-unist-parser/lib/factories/flow-mapping.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=Yu();function Ce(Le,Pe,Ke){return g.__assign(g.__assign({},W.createFlowCollection(Le,Pe,Ke)),{type:"flowMapping"})}Y.createFlowMapping=Ce}}),Hu=p({"node_modules/yaml-unist-parser/lib/factories/flow-mapping-item.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=rs(),Ce=xr();function Le(Pe,Ke,mt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("flowMappingItem",Pe)),W.createLeadingCommentAttachable()),{children:[Ke,mt]})}Y.createFlowMappingItem=Le}}),Va=p({"node_modules/yaml-unist-parser/lib/utils/extract-comments.js"(Y){P(),Y.__esModule=!0;function g(W,Ce){for(var Le=[],Pe=0,Ke=W;Pe<Ke.length;Pe++){var mt=Ke[Pe];mt&&"type"in mt&&mt.type==="COMMENT"?Ce.comments.push(Ce.transformNode(mt)):Le.push(mt)}return Le}Y.extractComments=g}}),zu=p({"node_modules/yaml-unist-parser/lib/utils/get-flow-map-item-additional-ranges.js"(Y){P(),Y.__esModule=!0;function g(W){var Ce=["?",":"].map(function(Ke){var mt=W.find(function(jt){return"char"in jt&&jt.char===Ke});return mt?{origStart:mt.origOffset,origEnd:mt.origOffset+1}:null}),Le=Ce[0],Pe=Ce[1];return{additionalKeyRange:Le,additionalValueRange:Pe}}Y.getFlowMapItemAdditionalRanges=g}}),Xu=p({"node_modules/yaml-unist-parser/lib/utils/create-slicer.js"(Y){P(),Y.__esModule=!0;function g(W,Ce){var Le=Ce;return function(Pe){return W.slice(Le,Le=Pe)}}Y.createSlicer=g}}),Qu=p({"node_modules/yaml-unist-parser/lib/utils/group-cst-flow-collection-items.js"(Y){P(),Y.__esModule=!0;var g=Xu();function W(Ce){for(var Le=[],Pe=g.createSlicer(Ce,1),Ke=!1,mt=1;mt<Ce.length-1;mt++){var jt=Ce[mt];if("char"in jt&&jt.char===","){Le.push(Pe(mt)),Pe(mt+1),Ke=!1;continue}Ke=!0}return Ke&&Le.push(Pe(Ce.length-1)),Le}Y.groupCstFlowCollectionItems=W}}),vf=p({"node_modules/yaml-unist-parser/lib/factories/mapping-key.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=as(),Ce=xr(),Le=ja();function Pe(Ke,mt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("mappingKey",Ke)),Le.createTrailingCommentAttachable()),W.createEndCommentAttachable()),{children:mt?[mt]:[]})}Y.createMappingKey=Pe}}),Ef=p({"node_modules/yaml-unist-parser/lib/factories/mapping-value.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=is(),Ce=as(),Le=xr();function Pe(Ke,mt){return g.__assign(g.__assign(g.__assign(g.__assign({},Le.createNode("mappingValue",Ke)),W.createCommentAttachable()),Ce.createEndCommentAttachable()),{children:mt?[mt]:[]})}Y.createMappingValue=Pe}}),Fo=p({"node_modules/yaml-unist-parser/lib/transforms/pair.js"(Y){P(),Y.__esModule=!0;var g=vf(),W=Ef(),Ce=ss();function Le(Pe,Ke,mt,jt,it){var yt=Ke.transformNode(Pe.key),Nt=Ke.transformNode(Pe.value),Mt=yt||jt?g.createMappingKey(Ke.transformRange({origStart:jt?jt.origStart:yt.position.start.offset,origEnd:yt?yt.position.end.offset:jt.origStart+1}),yt):null,_t=Nt||it?W.createMappingValue(Ke.transformRange({origStart:it?it.origStart:Nt.position.start.offset,origEnd:Nt?Nt.position.end.offset:it.origStart+1}),Nt):null;return mt(Ce.createPosition(Mt?Mt.position.start:_t.position.start,_t?_t.position.end:Mt.position.end),Mt||g.createMappingKey(Ce.createEmptyPosition(_t.position.start),null),_t||W.createMappingValue(Ce.createEmptyPosition(Mt.position.end),null))}Y.transformAstPair=Le}}),Af=p({"node_modules/yaml-unist-parser/lib/transforms/flow-map.js"(Y){P(),Y.__esModule=!0;var g=bf(),W=Hu(),Ce=Va(),Le=zu(),Pe=os(),Ke=Qu(),mt=Fo();function jt(it,yt){var Nt=Ce.extractComments(it.cstNode.items,yt),Mt=Ke.groupCstFlowCollectionItems(Nt),_t=it.items.map(function(zt,yn){var ye=Mt[yn],K=Le.getFlowMapItemAdditionalRanges(ye),I=K.additionalKeyRange,H=K.additionalValueRange;return mt.transformAstPair(zt,yt,W.createFlowMappingItem,I,H)}),qt=Nt[0],Ut=Pe.getLast(Nt);return g.createFlowMapping(yt.transformRange({origStart:qt.origOffset,origEnd:Ut.origOffset+1}),yt.transformContent(it),_t)}Y.transformFlowMap=jt}}),Ht=p({"node_modules/yaml-unist-parser/lib/factories/flow-sequence.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=Yu();function Ce(Le,Pe,Ke){return g.__assign(g.__assign({},W.createFlowCollection(Le,Pe,Ke)),{type:"flowSequence"})}Y.createFlowSequence=Ce}}),st=p({"node_modules/yaml-unist-parser/lib/factories/flow-sequence-item.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=xr();function Ce(Le,Pe){return g.__assign(g.__assign({},W.createNode("flowSequenceItem",Le)),{children:[Pe]})}Y.createFlowSequenceItem=Ce}}),Qe=p({"node_modules/yaml-unist-parser/lib/transforms/flow-seq.js"(Y){P(),Y.__esModule=!0;var g=Hu(),W=Ht(),Ce=st(),Le=ss(),Pe=Va(),Ke=zu(),mt=os(),jt=Qu(),it=Fo();function yt(Nt,Mt){var _t=Pe.extractComments(Nt.cstNode.items,Mt),qt=jt.groupCstFlowCollectionItems(_t),Ut=Nt.items.map(function(ye,K){if(ye.type!=="PAIR"){var I=Mt.transformNode(ye);return Ce.createFlowSequenceItem(Le.createPosition(I.position.start,I.position.end),I)}else{var H=qt[K],le=Ke.getFlowMapItemAdditionalRanges(H),xe=le.additionalKeyRange,Ie=le.additionalValueRange;return it.transformAstPair(ye,Mt,g.createFlowMappingItem,xe,Ie)}}),zt=_t[0],yn=mt.getLast(_t);return W.createFlowSequence(Mt.transformRange({origStart:zt.origOffset,origEnd:yn.origOffset+1}),Mt.transformContent(Nt),Ut)}Y.transformFlowSeq=yt}}),ot=p({"node_modules/yaml-unist-parser/lib/factories/mapping.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=rs(),Ce=xr();function Le(Pe,Ke,mt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("mapping",Pe)),W.createLeadingCommentAttachable()),Ke),{children:mt})}Y.createMapping=Le}}),rt=p({"node_modules/yaml-unist-parser/lib/factories/mapping-item.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=rs(),Ce=xr();function Le(Pe,Ke,mt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("mappingItem",Pe)),W.createLeadingCommentAttachable()),{children:[Ke,mt]})}Y.createMappingItem=Le}}),St=p({"node_modules/yaml-unist-parser/lib/transforms/map.js"(Y){P(),Y.__esModule=!0;var g=ot(),W=rt(),Ce=ss(),Le=Xu(),Pe=Va(),Ke=Ra(),mt=os(),jt=Fo();function it(Nt,Mt){var _t=Nt.cstNode;_t.items.filter(function(yn){return yn.type==="MAP_KEY"||yn.type==="MAP_VALUE"}).forEach(function(yn){return Ke.extractPropComments(yn,Mt)});var qt=Pe.extractComments(_t.items,Mt),Ut=yt(qt),zt=Nt.items.map(function(yn,ye){var K=Ut[ye],I=K[0].type==="MAP_VALUE"?[null,K[0].range]:[K[0].range,K.length===1?null:K[1].range],H=I[0],le=I[1];return jt.transformAstPair(yn,Mt,W.createMappingItem,H,le)});return g.createMapping(Ce.createPosition(zt[0].position.start,mt.getLast(zt).position.end),Mt.transformContent(Nt),zt)}Y.transformMap=it;function yt(Nt){for(var Mt=[],_t=Le.createSlicer(Nt,0),qt=!1,Ut=0;Ut<Nt.length;Ut++){var zt=Nt[Ut];if(zt.type==="MAP_VALUE"){Mt.push(_t(Ut+1)),qt=!1;continue}qt&&Mt.push(_t(Ut)),qt=!0}return qt&&Mt.push(_t(1/0)),Mt}}}),Lt=p({"node_modules/yaml-unist-parser/lib/factories/plain.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=is(),Ce=xr();function Le(Pe,Ke,mt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("plain",Pe)),W.createCommentAttachable()),Ke),{value:mt})}Y.createPlain=Le}}),Gt=p({"node_modules/yaml-unist-parser/lib/utils/find-last-char-index.js"(Y){P(),Y.__esModule=!0;function g(W,Ce,Le){for(var Pe=Ce;Pe>=0;Pe--)if(Le.test(W[Pe]))return Pe;return-1}Y.findLastCharIndex=g}}),Rt=p({"node_modules/yaml-unist-parser/lib/transforms/plain.js"(Y){P(),Y.__esModule=!0;var g=Lt(),W=Gt();function Ce(Le,Pe){var Ke=Le.cstNode;return g.createPlain(Pe.transformRange({origStart:Ke.valueRange.origStart,origEnd:W.findLastCharIndex(Pe.text,Ke.valueRange.origEnd-1,/\S/)+1}),Pe.transformContent(Le),Ke.strValue)}Y.transformPlain=Ce}}),Jt=p({"node_modules/yaml-unist-parser/lib/factories/quote-double.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"quoteDouble"})}Y.createQuoteDouble=W}}),ln=p({"node_modules/yaml-unist-parser/lib/factories/quote-value.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=is(),Ce=xr();function Le(Pe,Ke,mt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("quoteValue",Pe)),Ke),W.createCommentAttachable()),{value:mt})}Y.createQuoteValue=Le}}),mn=p({"node_modules/yaml-unist-parser/lib/transforms/quote-value.js"(Y){P(),Y.__esModule=!0;var g=ln();function W(Ce,Le){var Pe=Ce.cstNode;return g.createQuoteValue(Le.transformRange(Pe.valueRange),Le.transformContent(Ce),Pe.strValue)}Y.transformAstQuoteValue=W}}),Dn=p({"node_modules/yaml-unist-parser/lib/transforms/quote-double.js"(Y){P(),Y.__esModule=!0;var g=Jt(),W=mn();function Ce(Le,Pe){return g.createQuoteDouble(W.transformAstQuoteValue(Le,Pe))}Y.transformQuoteDouble=Ce}}),cn=p({"node_modules/yaml-unist-parser/lib/factories/quote-single.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"quoteSingle"})}Y.createQuoteSingle=W}}),Fe=p({"node_modules/yaml-unist-parser/lib/transforms/quote-single.js"(Y){P(),Y.__esModule=!0;var g=cn(),W=mn();function Ce(Le,Pe){return g.createQuoteSingle(W.transformAstQuoteValue(Le,Pe))}Y.transformQuoteSingle=Ce}}),Cn=p({"node_modules/yaml-unist-parser/lib/factories/sequence.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=as(),Ce=rs(),Le=xr();function Pe(Ke,mt,jt){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},Le.createNode("sequence",Ke)),Ce.createLeadingCommentAttachable()),W.createEndCommentAttachable()),mt),{children:jt})}Y.createSequence=Pe}}),Pn=p({"node_modules/yaml-unist-parser/lib/factories/sequence-item.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je)),W=is(),Ce=as(),Le=xr();function Pe(Ke,mt){return g.__assign(g.__assign(g.__assign(g.__assign({},Le.createNode("sequenceItem",Ke)),W.createCommentAttachable()),Ce.createEndCommentAttachable()),{children:mt?[mt]:[]})}Y.createSequenceItem=Pe}}),zn=p({"node_modules/yaml-unist-parser/lib/transforms/seq.js"(Y){P(),Y.__esModule=!0;var g=ss(),W=Cn(),Ce=Pn(),Le=Va(),Pe=Ra(),Ke=os();function mt(jt,it){var yt=Le.extractComments(jt.cstNode.items,it),Nt=yt.map(function(Mt,_t){Pe.extractPropComments(Mt,it);var qt=it.transformNode(jt.items[_t]);return Ce.createSequenceItem(g.createPosition(it.transformOffset(Mt.valueRange.origStart),qt===null?it.transformOffset(Mt.valueRange.origStart+1):qt.position.end),qt)});return W.createSequence(g.createPosition(Nt[0].position.start,Ke.getLast(Nt).position.end),it.transformContent(jt),Nt)}Y.transformSeq=mt}}),Gn=p({"node_modules/yaml-unist-parser/lib/transform.js"(Y){P(),Y.__esModule=!0;var g=of(),W=pf(),Ce=Uu(),Le=df(),Pe=qu(),Ke=Df(),mt=Af(),jt=Qe(),it=St(),yt=Rt(),Nt=Dn(),Mt=Fe(),_t=zn();function qt(Ut,zt){if(Ut===null||Ut.type===void 0&&Ut.value===null)return null;switch(Ut.type){case"ALIAS":return g.transformAlias(Ut,zt);case"BLOCK_FOLDED":return W.transformBlockFolded(Ut,zt);case"BLOCK_LITERAL":return Ce.transformBlockLiteral(Ut,zt);case"COMMENT":return Le.transformComment(Ut,zt);case"DIRECTIVE":return Pe.transformDirective(Ut,zt);case"DOCUMENT":return Ke.transformDocument(Ut,zt);case"FLOW_MAP":return mt.transformFlowMap(Ut,zt);case"FLOW_SEQ":return jt.transformFlowSeq(Ut,zt);case"MAP":return it.transformMap(Ut,zt);case"PLAIN":return yt.transformPlain(Ut,zt);case"QUOTE_DOUBLE":return Nt.transformQuoteDouble(Ut,zt);case"QUOTE_SINGLE":return Mt.transformQuoteSingle(Ut,zt);case"SEQ":return _t.transformSeq(Ut,zt);default:throw new Error("Unexpected node type "+Ut.type)}}Y.transformNode=qt}}),vr=p({"node_modules/yaml-unist-parser/lib/factories/error.js"(Y){P(),Y.__esModule=!0;function g(W,Ce,Le){var Pe=new SyntaxError(W);return Pe.name="YAMLSyntaxError",Pe.source=Ce,Pe.position=Le,Pe}Y.createError=g}}),Ve=p({"node_modules/yaml-unist-parser/lib/transforms/error.js"(Y){P(),Y.__esModule=!0;var g=vr();function W(Ce,Le){var Pe=Ce.source.range||Ce.source.valueRange;return g.createError(Ce.message,Le.text,Le.transformRange(Pe))}Y.transformError=W}}),zr=p({"node_modules/yaml-unist-parser/lib/factories/point.js"(Y){P(),Y.__esModule=!0;function g(W,Ce,Le){return{offset:W,line:Ce,column:Le}}Y.createPoint=g}}),us=p({"node_modules/yaml-unist-parser/lib/transforms/offset.js"(Y){P(),Y.__esModule=!0;var g=zr();function W(Ce,Le){Ce<0?Ce=0:Ce>Le.text.length&&(Ce=Le.text.length);var Pe=Le.locator.locationForIndex(Ce);return g.createPoint(Ce,Pe.line+1,Pe.column+1)}Y.transformOffset=W}}),Fs=p({"node_modules/yaml-unist-parser/lib/transforms/range.js"(Y){P(),Y.__esModule=!0;var g=ss();function W(Ce,Le){return g.createPosition(Le.transformOffset(Ce.origStart),Le.transformOffset(Ce.origEnd))}Y.transformRange=W}}),fi=p({"node_modules/yaml-unist-parser/lib/utils/add-orig-range.js"(Y){P(),Y.__esModule=!0;var g=!0;function W(Ke){if(!Ke.setOrigRanges()){var mt=function(jt){if(Le(jt))return jt.origStart=jt.start,jt.origEnd=jt.end,g;if(Pe(jt))return jt.origOffset=jt.offset,g};Ke.forEach(function(jt){return Ce(jt,mt)})}}Y.addOrigRange=W;function Ce(Ke,mt){if(!(!Ke||typeof Ke!="object")&&mt(Ke)!==g)for(var jt=0,it=Object.keys(Ke);jt<it.length;jt++){var yt=it[jt];if(!(yt==="context"||yt==="error")){var Nt=Ke[yt];Array.isArray(Nt)?Nt.forEach(function(Mt){return Ce(Mt,mt)}):Ce(Nt,mt)}}}function Le(Ke){return typeof Ke.start=="number"}function Pe(Ke){return typeof Ke.offset=="number"}}}),Xi=p({"node_modules/yaml-unist-parser/lib/utils/remove-fake-nodes.js"(Y){P(),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}}),Mr=p({"node_modules/yaml-unist-parser/lib/utils/create-updater.js"(Y){P(),Y.__esModule=!0;function g(W,Ce,Le,Pe){var Ke=Ce(W);return function(mt){Pe(Ke,mt)&&Le(W,Ke=mt)}}Y.createUpdater=g}}),Ua=p({"node_modules/yaml-unist-parser/lib/utils/update-positions.js"(Y){P(),Y.__esModule=!0;var g=Mr(),W=os();function Ce(yt){if(!(yt===null||!("children"in yt))){var Nt=yt.children;if(Nt.forEach(Ce),yt.type==="document"){var Mt=yt.children,_t=Mt[0],qt=Mt[1];_t.position.start.offset===_t.position.end.offset?_t.position.start=_t.position.end=qt.position.start:qt.position.start.offset===qt.position.end.offset&&(qt.position.start=qt.position.end=_t.position.end)}var Ut=g.createUpdater(yt.position,Le,Pe,jt),zt=g.createUpdater(yt.position,Ke,mt,it);"endComments"in yt&&yt.endComments.length!==0&&(Ut(yt.endComments[0].position.start),zt(W.getLast(yt.endComments).position.end));var yn=Nt.filter(function(I){return I!==null});if(yn.length!==0){var ye=yn[0],K=W.getLast(yn);Ut(ye.position.start),zt(K.position.end),"leadingComments"in ye&&ye.leadingComments.length!==0&&Ut(ye.leadingComments[0].position.start),"tag"in ye&&ye.tag&&Ut(ye.tag.position.start),"anchor"in ye&&ye.anchor&&Ut(ye.anchor.position.start),"trailingComment"in K&&K.trailingComment&&zt(K.trailingComment.position.end)}}}Y.updatePositions=Ce;function Le(yt){return yt.start}function Pe(yt,Nt){yt.start=Nt}function Ke(yt){return yt.end}function mt(yt,Nt){yt.end=Nt}function jt(yt,Nt){return Nt.offset<yt.offset}function it(yt,Nt){return Nt.offset>yt.offset}}}),Rr=p({"node_modules/yaml/dist/PlainValue-ec8e588e.js"(Y){P();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:",Le={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Pe(K){let I=[0],H=K.indexOf(`
265
- `);for(;H!==-1;)H+=1,I.push(H),H=K.indexOf(`
266
- `,H);return I}function Ke(K){let I,H;return typeof K=="string"?(I=Pe(K),H=K):(Array.isArray(K)&&(K=K[0]),K&&K.context&&(K.lineStarts||(K.lineStarts=Pe(K.context.src)),I=K.lineStarts,H=K.context.src)),{lineStarts:I,src:H}}function mt(K,I){if(typeof K!="number"||K<0)return null;let{lineStarts:H,src:le}=Ke(I);if(!H||!le||K>le.length)return null;for(let Ie=0;Ie<H.length;++Ie){let Ee=H[Ie];if(K<Ee)return{line:Ie,col:K-H[Ie-1]+1};if(K===Ee)return{line:Ie+1,col:1}}let xe=H.length;return{line:xe,col:K-H[xe-1]+1}}function jt(K,I){let{lineStarts:H,src:le}=Ke(I);if(!H||!(K>=1)||K>H.length)return null;let xe=H[K-1],Ie=H[K];for(;Ie&&Ie>xe&&le[Ie-1]===`
267
- `;)--Ie;return le.slice(xe,Ie)}function it(K,I){let{start:H,end:le}=K,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:80,Ie=jt(H.line,I);if(!Ie)return null;let{col:Ee}=H;if(Ie.length>xe)if(Ee<=xe-10)Ie=Ie.substr(0,xe-1)+"…";else{let bn=Math.round(xe/2);Ie.length>Ee+bn&&(Ie=Ie.substr(0,Ee+bn-1)+"…"),Ee-=Ie.length-xe,Ie="…"+Ie.substr(1-xe)}let $e=1,At="";le&&(le.line===H.line&&Ee+(le.col-H.col)<=xe+1?$e=le.col-H.col:($e=Math.min(Ie.length+1,xe)-Ee,At="…"));let Ot=Ee>1?" ".repeat(Ee-1):"",Yt="^".repeat($e);return`${Ie}
268
- ${Ot}${Yt}${At}`}var yt=class{static copy(K){return new yt(K.start,K.end)}constructor(K,I){this.start=K,this.end=I||K}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(K,I){let{start:H,end:le}=this;if(K.length===0||le<=K[0])return this.origStart=H,this.origEnd=le,I;let xe=I;for(;xe<K.length&&!(K[xe]>H);)++xe;this.origStart=H+xe;let Ie=xe;for(;xe<K.length&&!(K[xe]>=le);)++xe;return this.origEnd=le+xe,Ie}},Nt=class{static addStringTerminator(K,I,H){if(H[H.length-1]===`
269
- `)return H;let le=Nt.endOfWhiteSpace(K,I);return le>=K.length||K[le]===`
270
- `?H+`
271
- `:H}static atDocumentBoundary(K,I,H){let le=K[I];if(!le)return!0;let xe=K[I-1];if(xe&&xe!==`
272
- `)return!1;if(H){if(le!==H)return!1}else if(le!==g.DIRECTIVES_END&&le!==g.DOCUMENT_END)return!1;let Ie=K[I+1],Ee=K[I+2];if(Ie!==le||Ee!==le)return!1;let $e=K[I+3];return!$e||$e===`
273
- `||$e===" "||$e===" "}static endOfIdentifier(K,I){let H=K[I],le=H==="<",xe=le?[`
274
- `," "," ",">"]:[`
275
- `," "," ","[","]","{","}",","];for(;H&&xe.indexOf(H)===-1;)H=K[I+=1];return le&&H===">"&&(I+=1),I}static endOfIndent(K,I){let H=K[I];for(;H===" ";)H=K[I+=1];return I}static endOfLine(K,I){let H=K[I];for(;H&&H!==`
276
- `;)H=K[I+=1];return I}static endOfWhiteSpace(K,I){let H=K[I];for(;H===" "||H===" ";)H=K[I+=1];return I}static startOfLine(K,I){let H=K[I-1];if(H===`
277
- `)return I;for(;H&&H!==`
278
- `;)H=K[I-=1];return I+1}static endOfBlockIndent(K,I,H){let le=Nt.endOfIndent(K,H);if(le>H+I)return le;{let xe=Nt.endOfWhiteSpace(K,le),Ie=K[xe];if(!Ie||Ie===`
279
- `)return xe}return null}static atBlank(K,I,H){let le=K[I];return le===`
280
- `||le===" "||le===" "||H&&!le}static nextNodeIsIndented(K,I,H){return!K||I<0?!1:I>0?!0:H&&K==="-"}static normalizeOffset(K,I){let H=K[I];return H?H!==`
281
- `&&K[I-1]===`
282
- `?I-1:Nt.endOfWhiteSpace(K,I):I}static foldNewline(K,I,H){let le=0,xe=!1,Ie="",Ee=K[I+1];for(;Ee===" "||Ee===" "||Ee===`
283
- `;){switch(Ee){case`
284
- `:le=0,I+=1,Ie+=`
285
- `;break;case" ":le<=H&&(xe=!0),I=Nt.endOfWhiteSpace(K,I+2)-1;break;case" ":le+=1,I+=1;break}Ee=K[I+1]}return Ie||(Ie=" "),Ee&&le<=H&&(xe=!0),{fold:Ie,offset:I,error:xe}}constructor(K,I,H){Object.defineProperty(this,"context",{value:H||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=I||[],this.type=K,this.value=null}getPropValue(K,I,H){if(!this.context)return null;let{src:le}=this.context,xe=this.props[K];return xe&&le[xe.start]===I?le.slice(xe.start+(H?1:0),xe.end):null}get anchor(){for(let K=0;K<this.props.length;++K){let I=this.getPropValue(K,g.ANCHOR,!0);if(I!=null)return I}return null}get comment(){let K=[];for(let I=0;I<this.props.length;++I){let H=this.getPropValue(I,g.COMMENT,!0);H!=null&&K.push(H)}return K.length>0?K.join(`
286
- `):null}commentHasRequiredWhitespace(K){let{src:I}=this.context;if(this.header&&K===this.header.end||!this.valueRange)return!1;let{end:H}=this.valueRange;return K!==H||Nt.atBlank(I,H-1)}get hasComment(){if(this.context){let{src:K}=this.context;for(let I=0;I<this.props.length;++I)if(K[this.props[I].start]===g.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:K}=this.context;for(let I=0;I<this.props.length;++I)if(K[this.props[I].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 K=mt(this.range.start,this.context.root);if(!K)return;let I=mt(this.range.end,this.context.root);return{start:K,end:I}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:K,end:I}=this.valueRange;return this.context.src.slice(K,I)}get tag(){for(let K=0;K<this.props.length;++K){let I=this.getPropValue(K,g.TAG,!1);if(I!=null){if(I[1]==="<")return{verbatim:I.slice(2,-1)};{let[H,le,xe]=I.match(/^(.*!)([^!]*)$/);return{handle:le,suffix:xe}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:K,end:I}=this.valueRange,{src:H}=this.context;for(let le=K;le<I;++le)if(H[le]===`
287
- `)return!0;return!1}parseComment(K){let{src:I}=this.context;if(I[K]===g.COMMENT){let H=Nt.endOfLine(I,K+1),le=new yt(K,H);return this.props.push(le),H}return K}setOrigRanges(K,I){return this.range&&(I=this.range.setOrigRange(K,I)),this.valueRange&&this.valueRange.setOrigRange(K,I),this.props.forEach(H=>H.setOrigRange(K,I)),I}toString(){let{context:{src:K},range:I,value:H}=this;if(H!=null)return H;let le=K.slice(I.start,I.end);return Nt.addStringTerminator(K,I.end,le)}},Mt=class extends Error{constructor(K,I,H){if(!H||!(I instanceof Nt))throw new Error(`Invalid arguments for new ${K}`);super(),this.name=K,this.message=H,this.source=I}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let K=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new yt(this.offset,this.offset+1);let I=K&&mt(this.offset,K);if(I){let H={line:I.line,col:I.col+1};this.linePos={start:I,end:H}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:I,col:H}=this.linePos.start;this.message+=` at line ${I}, column ${H}`;let le=K&&it(this.linePos,K);le&&(this.message+=`:
288
-
289
- ${le}
290
- `)}delete this.source}},_t=class extends Mt{constructor(K,I){super("YAMLReferenceError",K,I)}},qt=class extends Mt{constructor(K,I){super("YAMLSemanticError",K,I)}},Ut=class extends Mt{constructor(K,I){super("YAMLSyntaxError",K,I)}},zt=class extends Mt{constructor(K,I){super("YAMLWarning",K,I)}};function yn(K,I,H){return I in K?Object.defineProperty(K,I,{value:H,enumerable:!0,configurable:!0,writable:!0}):K[I]=H,K}var ye=class extends Nt{static endOfLine(K,I,H){let le=K[I],xe=I;for(;le&&le!==`
291
- `&&!(H&&(le==="["||le==="]"||le==="{"||le==="}"||le===","));){let Ie=K[xe+1];if(le===":"&&(!Ie||Ie===`
292
- `||Ie===" "||Ie===" "||H&&Ie===",")||(le===" "||le===" ")&&Ie==="#")break;xe+=1,le=Ie}return xe}get strValue(){if(!this.valueRange||!this.context)return null;let{start:K,end:I}=this.valueRange,{src:H}=this.context,le=H[I-1];for(;K<I&&(le===`
293
- `||le===" "||le===" ");)le=H[--I-1];let xe="";for(let Ee=K;Ee<I;++Ee){let $e=H[Ee];if($e===`
294
- `){let{fold:At,offset:Ot}=Nt.foldNewline(H,Ee,-1);xe+=At,Ee=Ot}else if($e===" "||$e===" "){let At=Ee,Ot=H[Ee+1];for(;Ee<I&&(Ot===" "||Ot===" ");)Ee+=1,Ot=H[Ee+1];Ot!==`
295
- `&&(xe+=Ee>At?H.slice(At,Ee+1):$e)}else xe+=$e}let Ie=H[K];switch(Ie){case" ":{let Ee="Plain value cannot start with a tab character";return{errors:[new qt(this,Ee)],str:xe}}case"@":case"`":{let Ee=`Plain value cannot start with reserved character ${Ie}`;return{errors:[new qt(this,Ee)],str:xe}}default:return xe}}parseBlockValue(K){let{indent:I,inFlow:H,src:le}=this.context,xe=K,Ie=K;for(let Ee=le[xe];Ee===`
296
- `&&!Nt.atDocumentBoundary(le,xe+1);Ee=le[xe]){let $e=Nt.endOfBlockIndent(le,I,xe+1);if($e===null||le[$e]==="#")break;le[$e]===`
297
- `?xe=$e:(Ie=ye.endOfLine(le,$e,H),xe=Ie)}return this.valueRange.isEmpty()&&(this.valueRange.start=K),this.valueRange.end=Ie,Ie}parse(K,I){this.context=K;let{inFlow:H,src:le}=K,xe=I,Ie=le[xe];return Ie&&Ie!=="#"&&Ie!==`
298
- `&&(xe=ye.endOfLine(le,I,H)),this.valueRange=new yt(I,xe),xe=Nt.endOfWhiteSpace(le,xe),xe=this.parseComment(xe),(!this.hasComment||this.valueRange.isEmpty())&&(xe=this.parseBlockValue(xe)),xe}};Y.Char=g,Y.Node=Nt,Y.PlainValue=ye,Y.Range=yt,Y.Type=W,Y.YAMLError=Mt,Y.YAMLReferenceError=_t,Y.YAMLSemanticError=qt,Y.YAMLSyntaxError=Ut,Y.YAMLWarning=zt,Y._defineProperty=yn,Y.defaultTagPrefix=Ce,Y.defaultTags=Le}}),qa=p({"node_modules/yaml/dist/parse-cst.js"(Y){P();var g=Rr(),W=class extends g.Node{constructor(){super(g.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(ye,K){return this.context=ye,this.range=new g.Range(K,K+1),K+1}},Ce=class extends g.Node{constructor(ye,K){super(ye,K),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(ye,K){this.context=ye;let{parseNode:I,src:H}=ye,{atLineStart:le,lineStart:xe}=ye;!le&&this.type===g.Type.SEQ_ITEM&&(this.error=new g.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let Ie=le?K-xe:ye.indent,Ee=g.Node.endOfWhiteSpace(H,K+1),$e=H[Ee],At=$e==="#",Ot=[],Yt=null;for(;$e===`
299
- `||$e==="#";){if($e==="#"){let rn=g.Node.endOfLine(H,Ee+1);Ot.push(new g.Range(Ee,rn)),Ee=rn}else{le=!0,xe=Ee+1;let rn=g.Node.endOfWhiteSpace(H,xe);H[rn]===`
300
- `&&Ot.length===0&&(Yt=new W,xe=Yt.parse({src:H},xe)),Ee=g.Node.endOfIndent(H,xe)}$e=H[Ee]}if(g.Node.nextNodeIsIndented($e,Ee-(xe+Ie),this.type!==g.Type.SEQ_ITEM)?this.node=I({atLineStart:le,inCollection:!1,indent:Ie,lineStart:xe,parent:this},Ee):$e&&xe>K+1&&(Ee=xe-1),this.node){if(Yt){let rn=ye.parent.items||ye.parent.contents;rn&&rn.push(Yt)}Ot.length&&Array.prototype.push.apply(this.props,Ot),Ee=this.node.range.end}else if(At){let rn=Ot[0];this.props.push(rn),Ee=rn.end}else Ee=g.Node.endOfLine(H,K+1);let bn=this.node?this.node.valueRange.end:Ee;return this.valueRange=new g.Range(K,bn),Ee}setOrigRanges(ye,K){return K=super.setOrigRanges(ye,K),this.node?this.node.setOrigRanges(ye,K):K}toString(){let{context:{src:ye},node:K,range:I,value:H}=this;if(H!=null)return H;let le=K?ye.slice(I.start,K.range.start)+String(K):ye.slice(I.start,I.end);return g.Node.addStringTerminator(ye,I.end,le)}},Le=class extends g.Node{constructor(){super(g.Type.COMMENT)}parse(ye,K){this.context=ye;let I=this.parseComment(K);return this.range=new g.Range(K,I),I}};function Pe(ye){let K=ye;for(;K instanceof Ce;)K=K.node;if(!(K instanceof Ke))return null;let I=K.items.length,H=-1;for(let Ie=I-1;Ie>=0;--Ie){let Ee=K.items[Ie];if(Ee.type===g.Type.COMMENT){let{indent:$e,lineStart:At}=Ee.context;if($e>0&&Ee.range.start>=At+$e)break;H=Ie}else if(Ee.type===g.Type.BLANK_LINE)H=Ie;else break}if(H===-1)return null;let le=K.items.splice(H,I-H),xe=le[0].range.start;for(;K.range.end=xe,K.valueRange&&K.valueRange.end>xe&&(K.valueRange.end=xe),K!==ye;)K=K.context.parent;return le}var Ke=class extends g.Node{static nextContentHasIndent(ye,K,I){let H=g.Node.endOfLine(ye,K)+1;K=g.Node.endOfWhiteSpace(ye,H);let le=ye[K];return le?K>=H+I?!0:le!=="#"&&le!==`
301
- `?!1:Ke.nextContentHasIndent(ye,K,I):!1}constructor(ye){super(ye.type===g.Type.SEQ_ITEM?g.Type.SEQ:g.Type.MAP);for(let I=ye.props.length-1;I>=0;--I)if(ye.props[I].start<ye.context.lineStart){this.props=ye.props.slice(0,I+1),ye.props=ye.props.slice(I+1);let H=ye.props[0]||ye.valueRange;ye.range.start=H.start;break}this.items=[ye];let K=Pe(ye);K&&Array.prototype.push.apply(this.items,K)}get includesTrailingLines(){return this.items.length>0}parse(ye,K){this.context=ye;let{parseNode:I,src:H}=ye,le=g.Node.startOfLine(H,K),xe=this.items[0];xe.context.parent=this,this.valueRange=g.Range.copy(xe.valueRange);let Ie=xe.range.start-xe.context.lineStart,Ee=K;Ee=g.Node.normalizeOffset(H,Ee);let $e=H[Ee],At=g.Node.endOfWhiteSpace(H,le)===Ee,Ot=!1;for(;$e;){for(;$e===`
302
- `||$e==="#";){if(At&&$e===`
303
- `&&!Ot){let rn=new W;if(Ee=rn.parse({src:H},Ee),this.valueRange.end=Ee,Ee>=H.length){$e=null;break}this.items.push(rn),Ee-=1}else if($e==="#"){if(Ee<le+Ie&&!Ke.nextContentHasIndent(H,Ee,Ie))return Ee;let rn=new Le;if(Ee=rn.parse({indent:Ie,lineStart:le,src:H},Ee),this.items.push(rn),this.valueRange.end=Ee,Ee>=H.length){$e=null;break}}if(le=Ee+1,Ee=g.Node.endOfIndent(H,le),g.Node.atBlank(H,Ee)){let rn=g.Node.endOfWhiteSpace(H,Ee),$n=H[rn];(!$n||$n===`
304
- `||$n==="#")&&(Ee=rn)}$e=H[Ee],At=!0}if(!$e)break;if(Ee!==le+Ie&&(At||$e!==":")){if(Ee<le+Ie){le>K&&(Ee=le);break}else if(!this.error){let rn="All collection items must start at the same column";this.error=new g.YAMLSyntaxError(this,rn)}}if(xe.type===g.Type.SEQ_ITEM){if($e!=="-"){le>K&&(Ee=le);break}}else if($e==="-"&&!this.error){let rn=H[Ee+1];if(!rn||rn===`
305
- `||rn===" "||rn===" "){let $n="A collection cannot be both a mapping and a sequence";this.error=new g.YAMLSyntaxError(this,$n)}}let Yt=I({atLineStart:At,inCollection:!0,indent:Ie,lineStart:le,parent:this},Ee);if(!Yt)return Ee;if(this.items.push(Yt),this.valueRange.end=Yt.valueRange.end,Ee=g.Node.normalizeOffset(H,Yt.range.end),$e=H[Ee],At=!1,Ot=Yt.includesTrailingLines,$e){let rn=Ee-1,$n=H[rn];for(;$n===" "||$n===" ";)$n=H[--rn];$n===`
306
- `&&(le=rn+1,At=!0)}let bn=Pe(Yt);bn&&Array.prototype.push.apply(this.items,bn)}return Ee}setOrigRanges(ye,K){return K=super.setOrigRanges(ye,K),this.items.forEach(I=>{K=I.setOrigRanges(ye,K)}),K}toString(){let{context:{src:ye},items:K,range:I,value:H}=this;if(H!=null)return H;let le=ye.slice(I.start,K[0].range.start)+String(K[0]);for(let xe=1;xe<K.length;++xe){let Ie=K[xe],{atLineStart:Ee,indent:$e}=Ie.context;if(Ee)for(let At=0;At<$e;++At)le+=" ";le+=String(Ie)}return g.Node.addStringTerminator(ye,I.end,le)}},mt=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:K}=this.context,I=ye,H=K[I];for(;H&&H!==`
307
- `&&H!==" "&&H!==" ";)H=K[I+=1];return this.name=K.slice(ye,I),I}parseParameters(ye){let{src:K}=this.context,I=ye,H=K[I];for(;H&&H!==`
308
- `&&H!=="#";)H=K[I+=1];return this.valueRange=new g.Range(ye,I),I}parse(ye,K){this.context=ye;let I=this.parseName(K+1);return I=this.parseParameters(I),I=this.parseComment(I),this.range=new g.Range(K,I),I}},jt=class extends g.Node{static startCommentOrEndBlankLine(ye,K){let I=g.Node.endOfWhiteSpace(ye,K),H=ye[I];return H==="#"||H===`
309
- `?I:K}constructor(){super(g.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(ye){let{src:K}=this.context;this.directives=[];let I=!0,H=!1,le=ye;for(;!g.Node.atDocumentBoundary(K,le,g.Char.DIRECTIVES_END);)switch(le=jt.startCommentOrEndBlankLine(K,le),K[le]){case`
310
- `:if(I){let xe=new W;le=xe.parse({src:K},le),le<K.length&&this.directives.push(xe)}else le+=1,I=!0;break;case"#":{let xe=new Le;le=xe.parse({src:K},le),this.directives.push(xe),I=!1}break;case"%":{let xe=new mt;le=xe.parse({parent:this,src:K},le),this.directives.push(xe),H=!0,I=!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=[]),le}return K[le]?(this.directivesEndMarker=new g.Range(le,le+3),le+3):(H?this.error=new g.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),le)}parseContents(ye){let{parseNode:K,src:I}=this.context;this.contents||(this.contents=[]);let H=ye;for(;I[H-1]==="-";)H-=1;let le=g.Node.endOfWhiteSpace(I,ye),xe=H===ye;for(this.valueRange=new g.Range(le);!g.Node.atDocumentBoundary(I,le,g.Char.DOCUMENT_END);){switch(I[le]){case`
311
- `:if(xe){let Ie=new W;le=Ie.parse({src:I},le),le<I.length&&this.contents.push(Ie)}else le+=1,xe=!0;H=le;break;case"#":{let Ie=new Le;le=Ie.parse({src:I},le),this.contents.push(Ie),xe=!1}break;default:{let Ie=g.Node.endOfIndent(I,le),Ee=K({atLineStart:xe,indent:-1,inFlow:!1,inCollection:!1,lineStart:H,parent:this},Ie);if(!Ee)return this.valueRange.end=Ie;this.contents.push(Ee),le=Ee.range.end,xe=!1;let $e=Pe(Ee);$e&&Array.prototype.push.apply(this.contents,$e)}}le=jt.startCommentOrEndBlankLine(I,le)}if(this.valueRange.end=le,I[le]&&(this.documentEndMarker=new g.Range(le,le+3),le+=3,I[le])){if(le=g.Node.endOfWhiteSpace(I,le),I[le]==="#"){let Ie=new Le;le=Ie.parse({src:I},le),this.contents.push(Ie)}switch(I[le]){case`
312
- `:le+=1;break;case void 0:break;default:this.error=new g.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}return le}parse(ye,K){ye.root=this,this.context=ye;let{src:I}=ye,H=I.charCodeAt(K)===65279?K+1:K;return H=this.parseDirectives(H),H=this.parseContents(H),H}setOrigRanges(ye,K){return K=super.setOrigRanges(ye,K),this.directives.forEach(I=>{K=I.setOrigRanges(ye,K)}),this.directivesEndMarker&&(K=this.directivesEndMarker.setOrigRange(ye,K)),this.contents.forEach(I=>{K=I.setOrigRanges(ye,K)}),this.documentEndMarker&&(K=this.documentEndMarker.setOrigRange(ye,K)),K}toString(){let{contents:ye,directives:K,value:I}=this;if(I!=null)return I;let H=K.join("");return ye.length>0&&((K.length>0||ye[0].type===g.Type.COMMENT)&&(H+=`---
313
- `),H+=ye.join("")),H[H.length-1]!==`
314
- `&&(H+=`
315
- `),H}},it=class extends g.Node{parse(ye,K){this.context=ye;let{src:I}=ye,H=g.Node.endOfIdentifier(I,K+1);return this.valueRange=new g.Range(K+1,H),H=g.Node.endOfWhiteSpace(I,H),H=this.parseComment(H),H}},yt={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},Nt=class extends g.Node{constructor(ye,K){super(ye,K),this.blockIndent=null,this.chomping=yt.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===yt.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:ye,end:K}=this.valueRange,{indent:I,src:H}=this.context;if(this.valueRange.isEmpty())return"";let le=null,xe=H[K-1];for(;xe===`
316
- `||xe===" "||xe===" ";){if(K-=1,K<=ye){if(this.chomping===yt.KEEP)break;return""}xe===`
317
- `&&(le=K),xe=H[K-1]}let Ie=K+1;le&&(this.chomping===yt.KEEP?(Ie=le,K=this.valueRange.end):K=le);let Ee=I+this.blockIndent,$e=this.type===g.Type.BLOCK_FOLDED,At=!0,Ot="",Yt="",bn=!1;for(let rn=ye;rn<K;++rn){for(let nr=0;nr<Ee&&H[rn]===" ";++nr)rn+=1;let $n=H[rn];if($n===`
318
- `)Yt===`
319
- `?Ot+=`
320
- `:Yt=`
321
- `;else{let nr=g.Node.endOfLine(H,rn),Er=H.slice(rn,nr);rn=nr,$e&&($n===" "||$n===" ")&&rn<Ie?(Yt===" "?Yt=`
322
- `:!bn&&!At&&Yt===`
323
- `&&(Yt=`
324
-
325
- `),Ot+=Yt+Er,Yt=nr<K&&H[nr]||"",bn=!0):(Ot+=Yt+Er,Yt=$e&&rn<Ie?" ":`
326
- `,bn=!1),At&&Er!==""&&(At=!1)}}return this.chomping===yt.STRIP?Ot:Ot+`
327
- `}parseBlockHeader(ye){let{src:K}=this.context,I=ye+1,H="";for(;;){let le=K[I];switch(le){case"-":this.chomping=yt.STRIP;break;case"+":this.chomping=yt.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":H+=le;break;default:return this.blockIndent=Number(H)||null,this.header=new g.Range(ye,I),I}I+=1}}parseBlockValue(ye){let{indent:K,src:I}=this.context,H=!!this.blockIndent,le=ye,xe=ye,Ie=1;for(let Ee=I[le];Ee===`
328
- `&&(le+=1,!g.Node.atDocumentBoundary(I,le));Ee=I[le]){let $e=g.Node.endOfBlockIndent(I,K,le);if($e===null)break;let At=I[$e],Ot=$e-(le+K);if(this.blockIndent){if(At&&At!==`
329
- `&&Ot<this.blockIndent){if(I[$e]==="#")break;if(!this.error){let Yt=`Block scalars must not be less indented than their ${H?"explicit indentation indicator":"first line"}`;this.error=new g.YAMLSemanticError(this,Yt)}}}else if(I[$e]!==`
330
- `){if(Ot<Ie){let Yt="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new g.YAMLSemanticError(this,Yt)}this.blockIndent=Ot}else Ot>Ie&&(Ie=Ot);I[$e]===`
331
- `?le=$e:le=xe=g.Node.endOfLine(I,$e)}return this.chomping!==yt.KEEP&&(le=I[xe]?xe+1:xe),this.valueRange=new g.Range(ye+1,le),le}parse(ye,K){this.context=ye;let{src:I}=ye,H=this.parseBlockHeader(K);return H=g.Node.endOfWhiteSpace(I,H),H=this.parseComment(H),H=this.parseBlockValue(H),H}setOrigRanges(ye,K){return K=super.setOrigRanges(ye,K),this.header?this.header.setOrigRange(ye,K):K}},Mt=class extends g.Node{constructor(ye,K){super(ye,K),this.items=null}prevNodeIsJsonLike(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.items.length,K=this.items[ye-1];return!!K&&(K.jsonLike||K.type===g.Type.COMMENT&&this.prevNodeIsJsonLike(ye-1))}parse(ye,K){this.context=ye;let{parseNode:I,src:H}=ye,{indent:le,lineStart:xe}=ye,Ie=H[K];this.items=[{char:Ie,offset:K}];let Ee=g.Node.endOfWhiteSpace(H,K+1);for(Ie=H[Ee];Ie&&Ie!=="]"&&Ie!=="}";){switch(Ie){case`
332
- `:{xe=Ee+1;let $e=g.Node.endOfWhiteSpace(H,xe);if(H[$e]===`
333
- `){let At=new W;xe=At.parse({src:H},xe),this.items.push(At)}if(Ee=g.Node.endOfIndent(H,xe),Ee<=xe+le&&(Ie=H[Ee],Ee<xe+le||Ie!=="]"&&Ie!=="}")){let At="Insufficient indentation in flow collection";this.error=new g.YAMLSemanticError(this,At)}}break;case",":this.items.push({char:Ie,offset:Ee}),Ee+=1;break;case"#":{let $e=new Le;Ee=$e.parse({src:H},Ee),this.items.push($e)}break;case"?":case":":{let $e=H[Ee+1];if($e===`
334
- `||$e===" "||$e===" "||$e===","||Ie===":"&&this.prevNodeIsJsonLike()){this.items.push({char:Ie,offset:Ee}),Ee+=1;break}}default:{let $e=I({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:xe,parent:this},Ee);if(!$e)return this.valueRange=new g.Range(K,Ee),Ee;this.items.push($e),Ee=g.Node.normalizeOffset(H,$e.range.end)}}Ee=g.Node.endOfWhiteSpace(H,Ee),Ie=H[Ee]}return this.valueRange=new g.Range(K,Ee+1),Ie&&(this.items.push({char:Ie,offset:Ee}),Ee=g.Node.endOfWhiteSpace(H,Ee+1),Ee=this.parseComment(Ee)),Ee}setOrigRanges(ye,K){return K=super.setOrigRanges(ye,K),this.items.forEach(I=>{if(I instanceof g.Node)K=I.setOrigRanges(ye,K);else if(ye.length===0)I.origOffset=I.offset;else{let H=K;for(;H<ye.length&&!(ye[H]>I.offset);)++H;I.origOffset=I.offset+H,K=H}}),K}toString(){let{context:{src:ye},items:K,range:I,value:H}=this;if(H!=null)return H;let le=K.filter(Ee=>Ee instanceof g.Node),xe="",Ie=I.start;return le.forEach(Ee=>{let $e=ye.slice(Ie,Ee.range.start);Ie=Ee.range.end,xe+=$e+String(Ee),xe[xe.length-1]===`
335
- `&&ye[Ie-1]!==`
336
- `&&ye[Ie]===`
337
- `&&(Ie+=1)}),xe+=ye.slice(Ie,I.end),g.Node.addStringTerminator(ye,I.end,xe)}},_t=class extends g.Node{static endOfQuote(ye,K){let I=ye[K];for(;I&&I!=='"';)K+=I==="\\"?2:1,I=ye[K];return K+1}get strValue(){if(!this.valueRange||!this.context)return null;let ye=[],{start:K,end:I}=this.valueRange,{indent:H,src:le}=this.context;le[I-1]!=='"'&&ye.push(new g.YAMLSyntaxError(this,'Missing closing "quote'));let xe="";for(let Ie=K+1;Ie<I-1;++Ie){let Ee=le[Ie];if(Ee===`
338
- `){g.Node.atDocumentBoundary(le,Ie+1)&&ye.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:$e,offset:At,error:Ot}=g.Node.foldNewline(le,Ie,H);xe+=$e,Ie=At,Ot&&ye.push(new g.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(Ee==="\\")switch(Ie+=1,le[Ie]){case"0":xe+="\0";break;case"a":xe+="\x07";break;case"b":xe+="\b";break;case"e":xe+="\x1B";break;case"f":xe+="\f";break;case"n":xe+=`
339
- `;break;case"r":xe+="\r";break;case"t":xe+=" ";break;case"v":xe+="\v";break;case"N":xe+="…";break;case"_":xe+=" ";break;case"L":xe+="\u2028";break;case"P":xe+="\u2029";break;case" ":xe+=" ";break;case'"':xe+='"';break;case"/":xe+="/";break;case"\\":xe+="\\";break;case" ":xe+=" ";break;case"x":xe+=this.parseCharCode(Ie+1,2,ye),Ie+=2;break;case"u":xe+=this.parseCharCode(Ie+1,4,ye),Ie+=4;break;case"U":xe+=this.parseCharCode(Ie+1,8,ye),Ie+=8;break;case`
340
- `:for(;le[Ie+1]===" "||le[Ie+1]===" ";)Ie+=1;break;default:ye.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${le.substr(Ie-1,2)}`)),xe+="\\"+le[Ie]}else if(Ee===" "||Ee===" "){let $e=Ie,At=le[Ie+1];for(;At===" "||At===" ";)Ie+=1,At=le[Ie+1];At!==`
341
- `&&(xe+=Ie>$e?le.slice($e,Ie+1):Ee)}else xe+=Ee}return ye.length>0?{errors:ye,str:xe}:xe}parseCharCode(ye,K,I){let{src:H}=this.context,le=H.substr(ye,K),xe=le.length===K&&/^[0-9a-fA-F]+$/.test(le)?parseInt(le,16):NaN;return isNaN(xe)?(I.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${H.substr(ye-2,K+2)}`)),H.substr(ye-2,K+2)):String.fromCodePoint(xe)}parse(ye,K){this.context=ye;let{src:I}=ye,H=_t.endOfQuote(I,K+1);return this.valueRange=new g.Range(K,H),H=g.Node.endOfWhiteSpace(I,H),H=this.parseComment(H),H}},qt=class extends g.Node{static endOfQuote(ye,K){let I=ye[K];for(;I;)if(I==="'"){if(ye[K+1]!=="'")break;I=ye[K+=2]}else I=ye[K+=1];return K+1}get strValue(){if(!this.valueRange||!this.context)return null;let ye=[],{start:K,end:I}=this.valueRange,{indent:H,src:le}=this.context;le[I-1]!=="'"&&ye.push(new g.YAMLSyntaxError(this,"Missing closing 'quote"));let xe="";for(let Ie=K+1;Ie<I-1;++Ie){let Ee=le[Ie];if(Ee===`
342
- `){g.Node.atDocumentBoundary(le,Ie+1)&&ye.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:$e,offset:At,error:Ot}=g.Node.foldNewline(le,Ie,H);xe+=$e,Ie=At,Ot&&ye.push(new g.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(Ee==="'")xe+=Ee,Ie+=1,le[Ie]!=="'"&&ye.push(new g.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."));else if(Ee===" "||Ee===" "){let $e=Ie,At=le[Ie+1];for(;At===" "||At===" ";)Ie+=1,At=le[Ie+1];At!==`
343
- `&&(xe+=Ie>$e?le.slice($e,Ie+1):Ee)}else xe+=Ee}return ye.length>0?{errors:ye,str:xe}:xe}parse(ye,K){this.context=ye;let{src:I}=ye,H=qt.endOfQuote(I,K+1);return this.valueRange=new g.Range(K,H),H=g.Node.endOfWhiteSpace(I,H),H=this.parseComment(H),H}};function Ut(ye,K){switch(ye){case g.Type.ALIAS:return new it(ye,K);case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return new Nt(ye,K);case g.Type.FLOW_MAP:case g.Type.FLOW_SEQ:return new Mt(ye,K);case g.Type.MAP_KEY:case g.Type.MAP_VALUE:case g.Type.SEQ_ITEM:return new Ce(ye,K);case g.Type.COMMENT:case g.Type.PLAIN:return new g.PlainValue(ye,K);case g.Type.QUOTE_DOUBLE:return new _t(ye,K);case g.Type.QUOTE_SINGLE:return new qt(ye,K);default:return null}}var zt=class{static parseType(ye,K,I){switch(ye[K]){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!I&&g.Node.atBlank(ye,K+1,!0)?g.Type.MAP_KEY:g.Type.PLAIN;case":":return!I&&g.Node.atBlank(ye,K+1,!0)?g.Type.MAP_VALUE:g.Type.PLAIN;case"-":return!I&&g.Node.atBlank(ye,K+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:K,inCollection:I,inFlow:H,indent:le,lineStart:xe,parent:Ie}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g._defineProperty(this,"parseNode",(Ee,$e)=>{if(g.Node.atDocumentBoundary(this.src,$e))return null;let At=new zt(this,Ee),{props:Ot,type:Yt,valueStart:bn}=At.parseProps($e),rn=Ut(Yt,Ot),$n=rn.parse(At,bn);if(rn.range=new g.Range($e,$n),$n<=$e&&(rn.error=new Error("Node#parse consumed no characters"),rn.error.parseEnd=$n,rn.error.source=rn,rn.range.end=$e+1),At.nodeStartsCollection(rn)){!rn.error&&!At.atLineStart&&At.parent.type===g.Type.DOCUMENT&&(rn.error=new g.YAMLSyntaxError(rn,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let nr=new Ke(rn);return $n=nr.parse(new zt(At),$n),nr.range=new g.Range($e,$n),nr}return rn}),this.atLineStart=K??(ye.atLineStart||!1),this.inCollection=I??(ye.inCollection||!1),this.inFlow=H??(ye.inFlow||!1),this.indent=le??ye.indent,this.lineStart=xe??ye.lineStart,this.parent=Ie??(ye.parent||{}),this.root=ye.root,this.src=ye.src}nodeStartsCollection(ye){let{inCollection:K,inFlow:I,src:H}=this;if(K||I)return!1;if(ye instanceof Ce)return!0;let le=ye.range.end;return H[le]===`
344
- `||H[le-1]===`
345
- `?!1:(le=g.Node.endOfWhiteSpace(H,le),H[le]===":")}parseProps(ye){let{inFlow:K,parent:I,src:H}=this,le=[],xe=!1;ye=this.atLineStart?g.Node.endOfIndent(H,ye):g.Node.endOfWhiteSpace(H,ye);let Ie=H[ye];for(;Ie===g.Char.ANCHOR||Ie===g.Char.COMMENT||Ie===g.Char.TAG||Ie===`
346
- `;){if(Ie===`
347
- `){let $e=ye,At;do At=$e+1,$e=g.Node.endOfIndent(H,At);while(H[$e]===`
348
- `);let Ot=$e-(At+this.indent),Yt=I.type===g.Type.SEQ_ITEM&&I.context.atLineStart;if(H[$e]!=="#"&&!g.Node.nextNodeIsIndented(H[$e],Ot,!Yt))break;this.atLineStart=!0,this.lineStart=At,xe=!1,ye=$e}else if(Ie===g.Char.COMMENT){let $e=g.Node.endOfLine(H,ye+1);le.push(new g.Range(ye,$e)),ye=$e}else{let $e=g.Node.endOfIdentifier(H,ye+1);Ie===g.Char.TAG&&H[$e]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(H.slice(ye+1,$e+13))&&($e=g.Node.endOfIdentifier(H,$e+5)),le.push(new g.Range(ye,$e)),xe=!0,ye=g.Node.endOfWhiteSpace(H,$e)}Ie=H[ye]}xe&&Ie===":"&&g.Node.atBlank(H,ye+1,!0)&&(ye-=1);let Ee=zt.parseType(H,ye,K);return{props:le,type:Ee,valueStart:ye}}};function yn(ye){let K=[];ye.indexOf("\r")!==-1&&(ye=ye.replace(/\r\n?/g,(le,xe)=>(le.length>1&&K.push(xe),`
349
- `)));let I=[],H=0;do{let le=new jt,xe=new zt({src:ye});H=le.parse(xe,H),I.push(le)}while(H<ye.length);return I.setOrigRanges=()=>{if(K.length===0)return!1;for(let xe=1;xe<K.length;++xe)K[xe]-=xe;let le=0;for(let xe=0;xe<I.length;++xe)le=I[xe].setOrigRanges(K,le);return K.splice(0,K.length),!0},I.toString=()=>I.join(`...
350
- `),I}Y.parse=yn}}),Qi=p({"node_modules/yaml/dist/resolveSeq-d03cb037.js"(Y){P();var g=Rr();function W(pe,de,Ge){return Ge?`#${Ge.replace(/[\s\S]^/gm,`$&${de}#`)}
351
- ${de}${pe}`:pe}function Ce(pe,de,Ge){return Ge?Ge.indexOf(`
352
- `)===-1?`${pe} #${Ge}`:`${pe}
353
- `+Ge.replace(/^/gm,`${de||""}#`):pe}var Le=class{};function Pe(pe,de,Ge){if(Array.isArray(pe))return pe.map((ze,Ze)=>Pe(ze,String(Ze),Ge));if(pe&&typeof pe.toJSON=="function"){let ze=Ge&&Ge.anchors&&Ge.anchors.get(pe);ze&&(Ge.onCreate=et=>{ze.res=et,delete Ge.onCreate});let Ze=pe.toJSON(de,Ge);return ze&&Ge.onCreate&&Ge.onCreate(Ze),Ze}return(!Ge||!Ge.keep)&&typeof pe=="bigint"?Number(pe):pe}var Ke=class extends Le{constructor(pe){super(),this.value=pe}toJSON(pe,de){return de&&de.keep?this.value:Pe(this.value,pe,de)}toString(){return String(this.value)}};function mt(pe,de,Ge){let ze=Ge;for(let Ze=de.length-1;Ze>=0;--Ze){let et=de[Ze];if(Number.isInteger(et)&&et>=0){let Ct=[];Ct[et]=ze,ze=Ct}else{let Ct={};Object.defineProperty(Ct,et,{value:ze,writable:!0,enumerable:!0,configurable:!0}),ze=Ct}}return pe.createNode(ze,!1)}var jt=pe=>pe==null||typeof pe=="object"&&pe[Symbol.iterator]().next().done,it=class extends Le{constructor(pe){super(),g._defineProperty(this,"items",[]),this.schema=pe}addIn(pe,de){if(jt(pe))this.add(de);else{let[Ge,...ze]=pe,Ze=this.get(Ge,!0);if(Ze instanceof it)Ze.addIn(ze,de);else if(Ze===void 0&&this.schema)this.set(Ge,mt(this.schema,ze,de));else throw new Error(`Expected YAML collection at ${Ge}. Remaining path: ${ze}`)}}deleteIn(pe){let[de,...Ge]=pe;if(Ge.length===0)return this.delete(de);let ze=this.get(de,!0);if(ze instanceof it)return ze.deleteIn(Ge);throw new Error(`Expected YAML collection at ${de}. Remaining path: ${Ge}`)}getIn(pe,de){let[Ge,...ze]=pe,Ze=this.get(Ge,!0);return ze.length===0?!de&&Ze instanceof Ke?Ze.value:Ze:Ze instanceof it?Ze.getIn(ze,de):void 0}hasAllNullValues(){return this.items.every(pe=>{if(!pe||pe.type!=="PAIR")return!1;let de=pe.value;return de==null||de instanceof Ke&&de.value==null&&!de.commentBefore&&!de.comment&&!de.tag})}hasIn(pe){let[de,...Ge]=pe;if(Ge.length===0)return this.has(de);let ze=this.get(de,!0);return ze instanceof it?ze.hasIn(Ge):!1}setIn(pe,de){let[Ge,...ze]=pe;if(ze.length===0)this.set(Ge,de);else{let Ze=this.get(Ge,!0);if(Ze instanceof it)Ze.setIn(ze,de);else if(Ze===void 0&&this.schema)this.set(Ge,mt(this.schema,ze,de));else throw new Error(`Expected YAML collection at ${Ge}. Remaining path: ${ze}`)}}toJSON(){return null}toString(pe,de,Ge,ze){let{blockItem:Ze,flowChars:et,isMap:Ct,itemIndent:wt}=de,{indent:Xt,indentStep:en,stringify:pn}=pe,kn=this.type===g.Type.FLOW_MAP||this.type===g.Type.FLOW_SEQ||pe.inFlow;kn&&(wt+=en);let ar=Ct&&this.hasAllNullValues();pe=Object.assign({},pe,{allNullValues:ar,indent:wt,inFlow:kn,type:null});let or=!1,On=!1,er=this.items.reduce((Or,sr,Vr)=>{let hr;sr&&(!or&&sr.spaceBefore&&Or.push({type:"comment",str:""}),sr.commentBefore&&sr.commentBefore.match(/^.*$/gm).forEach(Ga=>{Or.push({type:"comment",str:`#${Ga}`})}),sr.comment&&(hr=sr.comment),kn&&(!or&&sr.spaceBefore||sr.commentBefore||sr.comment||sr.key&&(sr.key.commentBefore||sr.key.comment)||sr.value&&(sr.value.commentBefore||sr.value.comment))&&(On=!0)),or=!1;let Cr=pn(sr,pe,()=>hr=null,()=>or=!0);return kn&&!On&&Cr.includes(`
354
- `)&&(On=!0),kn&&Vr<this.items.length-1&&(Cr+=","),Cr=Ce(Cr,wt,hr),or&&(hr||kn)&&(or=!1),Or.push({type:"item",str:Cr}),Or},[]),Xn;if(er.length===0)Xn=et.start+et.end;else if(kn){let{start:Or,end:sr}=et,Vr=er.map(hr=>hr.str);if(On||Vr.reduce((hr,Cr)=>hr+Cr.length+2,2)>it.maxFlowStringSingleLineLength){Xn=Or;for(let hr of Vr)Xn+=hr?`
355
- ${en}${Xt}${hr}`:`
356
- `;Xn+=`
357
- ${Xt}${sr}`}else Xn=`${Or} ${Vr.join(" ")} ${sr}`}else{let Or=er.map(Ze);Xn=Or.shift();for(let sr of Or)Xn+=sr?`
358
- ${Xt}${sr}`:`
359
- `}return this.comment?(Xn+=`
360
- `+this.comment.replace(/^/gm,`${Xt}#`),Ge&&Ge()):or&&ze&&ze(),Xn}};g._defineProperty(it,"maxFlowStringSingleLineLength",60);function yt(pe){let de=pe instanceof Ke?pe.value:pe;return de&&typeof de=="string"&&(de=Number(de)),Number.isInteger(de)&&de>=0?de:null}var Nt=class extends it{add(pe){this.items.push(pe)}delete(pe){let de=yt(pe);return typeof de!="number"?!1:this.items.splice(de,1).length>0}get(pe,de){let Ge=yt(pe);if(typeof Ge!="number")return;let ze=this.items[Ge];return!de&&ze instanceof Ke?ze.value:ze}has(pe){let de=yt(pe);return typeof de=="number"&&de<this.items.length}set(pe,de){let Ge=yt(pe);if(typeof Ge!="number")throw new Error(`Expected a valid index, not ${pe}.`);this.items[Ge]=de}toJSON(pe,de){let Ge=[];de&&de.onCreate&&de.onCreate(Ge);let ze=0;for(let Ze of this.items)Ge.push(Pe(Ze,String(ze++),de));return Ge}toString(pe,de,Ge){return pe?super.toString(pe,{blockItem:ze=>ze.type==="comment"?ze.str:`- ${ze.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(pe.indent||"")+" "},de,Ge):JSON.stringify(this)}},Mt=(pe,de,Ge)=>de===null?"":typeof de!="object"?String(de):pe instanceof Le&&Ge&&Ge.doc?pe.toString({anchors:Object.create(null),doc:Ge.doc,indent:"",indentStep:Ge.indentStep,inFlow:!0,inStringifyKey:!0,stringify:Ge.stringify}):JSON.stringify(de),_t=class extends Le{constructor(pe){let de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;super(),this.key=pe,this.value=de,this.type=_t.Type.PAIR}get commentBefore(){return this.key instanceof Le?this.key.commentBefore:void 0}set commentBefore(pe){if(this.key==null&&(this.key=new Ke(null)),this.key instanceof Le)this.key.commentBefore=pe;else{let de="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(de)}}addToJSMap(pe,de){let Ge=Pe(this.key,"",pe);if(de instanceof Map){let ze=Pe(this.value,Ge,pe);de.set(Ge,ze)}else if(de instanceof Set)de.add(Ge);else{let ze=Mt(this.key,Ge,pe),Ze=Pe(this.value,ze,pe);ze in de?Object.defineProperty(de,ze,{value:Ze,writable:!0,enumerable:!0,configurable:!0}):de[ze]=Ze}return de}toJSON(pe,de){let Ge=de&&de.mapAsMap?new Map:{};return this.addToJSMap(de,Ge)}toString(pe,de,Ge){if(!pe||!pe.doc)return JSON.stringify(this);let{indent:ze,indentSeq:Ze,simpleKeys:et}=pe.doc.options,{key:Ct,value:wt}=this,Xt=Ct instanceof Le&&Ct.comment;if(et){if(Xt)throw new Error("With simple keys, key nodes cannot have comments");if(Ct instanceof it){let hr="With simple keys, collection cannot be used as a key value";throw new Error(hr)}}let en=!et&&(!Ct||Xt||(Ct instanceof Le?Ct instanceof it||Ct.type===g.Type.BLOCK_FOLDED||Ct.type===g.Type.BLOCK_LITERAL:typeof Ct=="object")),{doc:pn,indent:kn,indentStep:ar,stringify:or}=pe;pe=Object.assign({},pe,{implicitKey:!en,indent:kn+ar});let On=!1,er=or(Ct,pe,()=>Xt=null,()=>On=!0);if(er=Ce(er,pe.indent,Xt),!en&&er.length>1024){if(et)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");en=!0}if(pe.allNullValues&&!et)return this.comment?(er=Ce(er,pe.indent,this.comment),de&&de()):On&&!Xt&&Ge&&Ge(),pe.inFlow&&!en?er:`? ${er}`;er=en?`? ${er}
361
- ${kn}:`:`${er}:`,this.comment&&(er=Ce(er,pe.indent,this.comment),de&&de());let Xn="",Or=null;if(wt instanceof Le){if(wt.spaceBefore&&(Xn=`
362
- `),wt.commentBefore){let hr=wt.commentBefore.replace(/^/gm,`${pe.indent}#`);Xn+=`
363
- ${hr}`}Or=wt.comment}else wt&&typeof wt=="object"&&(wt=pn.schema.createNode(wt,!0));pe.implicitKey=!1,!en&&!this.comment&&wt instanceof Ke&&(pe.indentAtStart=er.length+1),On=!1,!Ze&&ze>=2&&!pe.inFlow&&!en&&wt instanceof Nt&&wt.type!==g.Type.FLOW_SEQ&&!wt.tag&&!pn.anchors.getName(wt)&&(pe.indent=pe.indent.substr(2));let sr=or(wt,pe,()=>Or=null,()=>On=!0),Vr=" ";return Xn||this.comment?Vr=`${Xn}
364
- ${pe.indent}`:!en&&wt instanceof it?(!(sr[0]==="["||sr[0]==="{")||sr.includes(`
365
- `))&&(Vr=`
366
- ${pe.indent}`):sr[0]===`
367
- `&&(Vr=""),On&&!Or&&Ge&&Ge(),Ce(er+Vr+sr,pe.indent,Or)}};g._defineProperty(_t,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var qt=(pe,de)=>{if(pe instanceof Ut){let Ge=de.get(pe.source);return Ge.count*Ge.aliasCount}else if(pe instanceof it){let Ge=0;for(let ze of pe.items){let Ze=qt(ze,de);Ze>Ge&&(Ge=Ze)}return Ge}else if(pe instanceof _t){let Ge=qt(pe.key,de),ze=qt(pe.value,de);return Math.max(Ge,ze)}return 1},Ut=class extends Le{static stringify(pe,de){let{range:Ge,source:ze}=pe,{anchors:Ze,doc:et,implicitKey:Ct,inStringifyKey:wt}=de,Xt=Object.keys(Ze).find(pn=>Ze[pn]===ze);if(!Xt&&wt&&(Xt=et.anchors.getName(ze)||et.anchors.newName()),Xt)return`*${Xt}${Ct?" ":""}`;let en=et.anchors.getName(ze)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${en} [${Ge}]`)}constructor(pe){super(),this.source=pe,this.type=g.Type.ALIAS}set tag(pe){throw new Error("Alias nodes cannot have tags")}toJSON(pe,de){if(!de)return Pe(this.source,pe,de);let{anchors:Ge,maxAliasCount:ze}=de,Ze=Ge.get(this.source);if(!Ze||Ze.res===void 0){let et="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,et):new ReferenceError(et)}if(ze>=0&&(Ze.count+=1,Ze.aliasCount===0&&(Ze.aliasCount=qt(this.source,Ge)),Ze.count*Ze.aliasCount>ze)){let et="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,et):new ReferenceError(et)}return Ze.res}toString(pe){return Ut.stringify(this,pe)}};g._defineProperty(Ut,"default",!0);function zt(pe,de){let Ge=de instanceof Ke?de.value:de;for(let ze of pe)if(ze instanceof _t&&(ze.key===de||ze.key===Ge||ze.key&&ze.key.value===Ge))return ze}var yn=class extends it{add(pe,de){pe?pe instanceof _t||(pe=new _t(pe.key||pe,pe.value)):pe=new _t(pe);let Ge=zt(this.items,pe.key),ze=this.schema&&this.schema.sortMapEntries;if(Ge)if(de)Ge.value=pe.value;else throw new Error(`Key ${pe.key} already set`);else if(ze){let Ze=this.items.findIndex(et=>ze(pe,et)<0);Ze===-1?this.items.push(pe):this.items.splice(Ze,0,pe)}else this.items.push(pe)}delete(pe){let de=zt(this.items,pe);return de?this.items.splice(this.items.indexOf(de),1).length>0:!1}get(pe,de){let Ge=zt(this.items,pe),ze=Ge&&Ge.value;return!de&&ze instanceof Ke?ze.value:ze}has(pe){return!!zt(this.items,pe)}set(pe,de){this.add(new _t(pe,de),!0)}toJSON(pe,de,Ge){let ze=Ge?new Ge:de&&de.mapAsMap?new Map:{};de&&de.onCreate&&de.onCreate(ze);for(let Ze of this.items)Ze.addToJSMap(de,ze);return ze}toString(pe,de,Ge){if(!pe)return JSON.stringify(this);for(let ze of this.items)if(!(ze instanceof _t))throw new Error(`Map items must all be pairs; found ${JSON.stringify(ze)} instead`);return super.toString(pe,{blockItem:ze=>ze.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:pe.indent||""},de,Ge)}},ye="<<",K=class extends _t{constructor(pe){if(pe instanceof _t){let de=pe.value;de instanceof Nt||(de=new Nt,de.items.push(pe.value),de.range=pe.value.range),super(pe.key,de),this.range=pe.range}else super(new Ke(ye),new Nt);this.type=_t.Type.MERGE_PAIR}addToJSMap(pe,de){for(let{source:Ge}of this.value.items){if(!(Ge instanceof yn))throw new Error("Merge sources must be maps");let ze=Ge.toJSON(null,pe,Map);for(let[Ze,et]of ze)de instanceof Map?de.has(Ze)||de.set(Ze,et):de instanceof Set?de.add(Ze):Object.prototype.hasOwnProperty.call(de,Ze)||Object.defineProperty(de,Ze,{value:et,writable:!0,enumerable:!0,configurable:!0})}return de}toString(pe,de){let Ge=this.value;if(Ge.items.length>1)return super.toString(pe,de);this.value=Ge.items[0];let ze=super.toString(pe,de);return this.value=Ge,ze}},I={defaultType:g.Type.BLOCK_LITERAL,lineWidth:76},H={trueStr:"true",falseStr:"false"},le={asBigInt:!1},xe={nullStr:"null"},Ie={defaultType:g.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function Ee(pe,de,Ge){for(let{format:ze,test:Ze,resolve:et}of de)if(Ze){let Ct=pe.match(Ze);if(Ct){let wt=et.apply(null,Ct);return wt instanceof Ke||(wt=new Ke(wt)),ze&&(wt.format=ze),wt}}return Ge&&(pe=Ge(pe)),new Ke(pe)}var $e="flow",At="block",Ot="quoted",Yt=(pe,de)=>{let Ge=pe[de+1];for(;Ge===" "||Ge===" ";){do Ge=pe[de+=1];while(Ge&&Ge!==`
368
- `);Ge=pe[de+1]}return de};function bn(pe,de,Ge,ze){let{indentAtStart:Ze,lineWidth:et=80,minContentWidth:Ct=20,onFold:wt,onOverflow:Xt}=ze;if(!et||et<0)return pe;let en=Math.max(1+Ct,1+et-de.length);if(pe.length<=en)return pe;let pn=[],kn={},ar=et-de.length;typeof Ze=="number"&&(Ze>et-Math.max(2,Ct)?pn.push(0):ar=et-Ze);let or,On,er=!1,Xn=-1,Or=-1,sr=-1;Ge===At&&(Xn=Yt(pe,Xn),Xn!==-1&&(ar=Xn+en));for(let hr;hr=pe[Xn+=1];){if(Ge===Ot&&hr==="\\"){switch(Or=Xn,pe[Xn+1]){case"x":Xn+=3;break;case"u":Xn+=5;break;case"U":Xn+=9;break;default:Xn+=1}sr=Xn}if(hr===`
369
- `)Ge===At&&(Xn=Yt(pe,Xn)),ar=Xn+en,or=void 0;else{if(hr===" "&&On&&On!==" "&&On!==`
370
- `&&On!==" "){let Cr=pe[Xn+1];Cr&&Cr!==" "&&Cr!==`
371
- `&&Cr!==" "&&(or=Xn)}if(Xn>=ar)if(or)pn.push(or),ar=or+en,or=void 0;else if(Ge===Ot){for(;On===" "||On===" ";)On=hr,hr=pe[Xn+=1],er=!0;let Cr=Xn>sr+1?Xn-2:Or-1;if(kn[Cr])return pe;pn.push(Cr),kn[Cr]=!0,ar=Cr+en,or=void 0}else er=!0}On=hr}if(er&&Xt&&Xt(),pn.length===0)return pe;wt&&wt();let Vr=pe.slice(0,pn[0]);for(let hr=0;hr<pn.length;++hr){let Cr=pn[hr],Ga=pn[hr+1]||pe.length;Cr===0?Vr=`
372
- ${de}${pe.slice(0,Ga)}`:(Ge===Ot&&kn[Cr]&&(Vr+=`${pe[Cr]}\\`),Vr+=`
373
- ${de}${pe.slice(Cr+1,Ga)}`)}return Vr}var rn=pe=>{let{indentAtStart:de}=pe;return de?Object.assign({indentAtStart:de},Ie.fold):Ie.fold},$n=pe=>/^(%|---|\.\.\.)/m.test(pe);function nr(pe,de,Ge){if(!de||de<0)return!1;let ze=de-Ge,Ze=pe.length;if(Ze<=ze)return!1;for(let et=0,Ct=0;et<Ze;++et)if(pe[et]===`
374
- `){if(et-Ct>ze)return!0;if(Ct=et+1,Ze-Ct<=ze)return!1}return!0}function Er(pe,de){let{implicitKey:Ge}=de,{jsonEncoding:ze,minMultiLineLength:Ze}=Ie.doubleQuoted,et=JSON.stringify(pe);if(ze)return et;let Ct=de.indent||($n(pe)?" ":""),wt="",Xt=0;for(let en=0,pn=et[en];pn;pn=et[++en])if(pn===" "&&et[en+1]==="\\"&&et[en+2]==="n"&&(wt+=et.slice(Xt,en)+"\\ ",en+=1,Xt=en,pn="\\"),pn==="\\")switch(et[en+1]){case"u":{wt+=et.slice(Xt,en);let kn=et.substr(en+2,4);switch(kn){case"0000":wt+="\\0";break;case"0007":wt+="\\a";break;case"000b":wt+="\\v";break;case"001b":wt+="\\e";break;case"0085":wt+="\\N";break;case"00a0":wt+="\\_";break;case"2028":wt+="\\L";break;case"2029":wt+="\\P";break;default:kn.substr(0,2)==="00"?wt+="\\x"+kn.substr(2):wt+=et.substr(en,6)}en+=5,Xt=en+1}break;case"n":if(Ge||et[en+2]==='"'||et.length<Ze)en+=1;else{for(wt+=et.slice(Xt,en)+`
375
-
376
- `;et[en+2]==="\\"&&et[en+3]==="n"&&et[en+4]!=='"';)wt+=`
377
- `,en+=2;wt+=Ct,et[en+2]===" "&&(wt+="\\"),en+=1,Xt=en+1}break;default:en+=1}return wt=Xt?wt+et.slice(Xt):et,Ge?wt:bn(wt,Ct,Ot,rn(de))}function pi(pe,de){if(de.implicitKey){if(/\n/.test(pe))return Er(pe,de)}else if(/[ \t]\n|\n[ \t]/.test(pe))return Er(pe,de);let Ge=de.indent||($n(pe)?" ":""),ze="'"+pe.replace(/'/g,"''").replace(/\n+/g,`$&
378
- ${Ge}`)+"'";return de.implicitKey?ze:bn(ze,Ge,$e,rn(de))}function ai(pe,de,Ge,ze){let{comment:Ze,type:et,value:Ct}=pe;if(/\n[\t ]+$/.test(Ct)||/^\s*$/.test(Ct))return Er(Ct,de);let wt=de.indent||(de.forceBlockIndent||$n(Ct)?" ":""),Xt=wt?"2":"1",en=et===g.Type.BLOCK_FOLDED?!1:et===g.Type.BLOCK_LITERAL?!0:!nr(Ct,Ie.fold.lineWidth,wt.length),pn=en?"|":">";if(!Ct)return pn+`
379
- `;let kn="",ar="";if(Ct=Ct.replace(/[\n\t ]*$/,On=>{let er=On.indexOf(`
380
- `);return er===-1?pn+="-":(Ct===On||er!==On.length-1)&&(pn+="+",ze&&ze()),ar=On.replace(/\n$/,""),""}).replace(/^[\n ]*/,On=>{On.indexOf(" ")!==-1&&(pn+=Xt);let er=On.match(/ +$/);return er?(kn=On.slice(0,-er[0].length),er[0]):(kn=On,"")}),ar&&(ar=ar.replace(/\n+(?!\n|$)/g,`$&${wt}`)),kn&&(kn=kn.replace(/\n+/g,`$&${wt}`)),Ze&&(pn+=" #"+Ze.replace(/ ?[\r\n]+/g," "),Ge&&Ge()),!Ct)return`${pn}${Xt}
381
- ${wt}${ar}`;if(en)return Ct=Ct.replace(/\n+/g,`$&${wt}`),`${pn}
382
- ${wt}${kn}${Ct}${ar}`;Ct=Ct.replace(/\n+/g,`
383
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${wt}`);let or=bn(`${kn}${Ct}${ar}`,wt,At,Ie.fold);return`${pn}
384
- ${wt}${or}`}function Dt(pe,de,Ge,ze){let{comment:Ze,type:et,value:Ct}=pe,{actualString:wt,implicitKey:Xt,indent:en,inFlow:pn}=de;if(Xt&&/[\n[\]{},]/.test(Ct)||pn&&/[[\]{},]/.test(Ct))return Er(Ct,de);if(!Ct||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(Ct))return Xt||pn||Ct.indexOf(`
385
- `)===-1?Ct.indexOf('"')!==-1&&Ct.indexOf("'")===-1?pi(Ct,de):Er(Ct,de):ai(pe,de,Ge,ze);if(!Xt&&!pn&&et!==g.Type.PLAIN&&Ct.indexOf(`
386
- `)!==-1)return ai(pe,de,Ge,ze);if(en===""&&$n(Ct))return de.forceBlockIndent=!0,ai(pe,de,Ge,ze);let kn=Ct.replace(/\n+/g,`$&
387
- ${en}`);if(wt){let{tags:or}=de.doc.schema;if(typeof Ee(kn,or,or.scalarFallback).value!="string")return Er(Ct,de)}let ar=Xt?kn:bn(kn,en,$e,rn(de));return Ze&&!pn&&(ar.indexOf(`
388
- `)!==-1||Ze.indexOf(`
389
- `)!==-1)?(Ge&&Ge(),W(ar,en,Ze)):ar}function Kt(pe,de,Ge,ze){let{defaultType:Ze}=Ie,{implicitKey:et,inFlow:Ct}=de,{type:wt,value:Xt}=pe;typeof Xt!="string"&&(Xt=String(Xt),pe=Object.assign({},pe,{value:Xt}));let en=kn=>{switch(kn){case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return ai(pe,de,Ge,ze);case g.Type.QUOTE_DOUBLE:return Er(Xt,de);case g.Type.QUOTE_SINGLE:return pi(Xt,de);case g.Type.PLAIN:return Dt(pe,de,Ge,ze);default:return null}};(wt!==g.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(Xt)||(et||Ct)&&(wt===g.Type.BLOCK_FOLDED||wt===g.Type.BLOCK_LITERAL))&&(wt=g.Type.QUOTE_DOUBLE);let pn=en(wt);if(pn===null&&(pn=en(Ze),pn===null))throw new Error(`Unsupported default string type ${Ze}`);return pn}function dn(pe){let{format:de,minFractionDigits:Ge,tag:ze,value:Ze}=pe;if(typeof Ze=="bigint")return String(Ze);if(!isFinite(Ze))return isNaN(Ze)?".nan":Ze<0?"-.inf":".inf";let et=JSON.stringify(Ze);if(!de&&Ge&&(!ze||ze==="tag:yaml.org,2002:float")&&/^\d/.test(et)){let Ct=et.indexOf(".");Ct<0&&(Ct=et.length,et+=".");let wt=Ge-(et.length-Ct-1);for(;wt-- >0;)et+="0"}return et}function En(pe,de){let Ge,ze;switch(de.type){case g.Type.FLOW_MAP:Ge="}",ze="flow map";break;case g.Type.FLOW_SEQ:Ge="]",ze="flow sequence";break;default:pe.push(new g.YAMLSemanticError(de,"Not a flow collection!?"));return}let Ze;for(let et=de.items.length-1;et>=0;--et){let Ct=de.items[et];if(!Ct||Ct.type!==g.Type.COMMENT){Ze=Ct;break}}if(Ze&&Ze.char!==Ge){let et=`Expected ${ze} to end with ${Ge}`,Ct;typeof Ze.offset=="number"?(Ct=new g.YAMLSemanticError(de,et),Ct.offset=Ze.offset+1):(Ct=new g.YAMLSemanticError(Ze,et),Ze.range&&Ze.range.end&&(Ct.offset=Ze.range.end-Ze.range.start)),pe.push(Ct)}}function Un(pe,de){let Ge=de.context.src[de.range.start-1];if(Ge!==`
390
- `&&Ge!==" "&&Ge!==" "){let ze="Comments must be separated from other tokens by white space characters";pe.push(new g.YAMLSemanticError(de,ze))}}function ir(pe,de){let Ge=String(de),ze=Ge.substr(0,8)+"..."+Ge.substr(-8);return new g.YAMLSemanticError(pe,`The "${ze}" key is too long`)}function ki(pe,de){for(let{afterKey:Ge,before:ze,comment:Ze}of de){let et=pe.items[ze];et?(Ge&&et.value&&(et=et.value),Ze===void 0?(Ge||!et.commentBefore)&&(et.spaceBefore=!0):et.commentBefore?et.commentBefore+=`
391
- `+Ze:et.commentBefore=Ze):Ze!==void 0&&(pe.comment?pe.comment+=`
392
- `+Ze:pe.comment=Ze)}}function Vi(pe,de){let Ge=de.strValue;return Ge?typeof Ge=="string"?Ge:(Ge.errors.forEach(ze=>{ze.source||(ze.source=de),pe.errors.push(ze)}),Ge.str):""}function Ui(pe,de){let{handle:Ge,suffix:ze}=de.tag,Ze=pe.tagPrefixes.find(et=>et.handle===Ge);if(!Ze){let et=pe.getDefaults().tagPrefixes;if(et&&(Ze=et.find(Ct=>Ct.handle===Ge)),!Ze)throw new g.YAMLSemanticError(de,`The ${Ge} tag handle is non-default and was not declared.`)}if(!ze)throw new g.YAMLSemanticError(de,`The ${Ge} tag has no suffix.`);if(Ge==="!"&&(pe.version||pe.options.version)==="1.0"){if(ze[0]==="^")return pe.warnings.push(new g.YAMLWarning(de,"YAML 1.0 ^ tag expansion is not supported")),ze;if(/[:/]/.test(ze)){let et=ze.match(/^([a-z0-9-]+)\/(.*)/i);return et?`tag:${et[1]}.yaml.org,2002:${et[2]}`:`tag:${ze}`}}return Ze.prefix+decodeURIComponent(ze)}function Li(pe,de){let{tag:Ge,type:ze}=de,Ze=!1;if(Ge){let{handle:et,suffix:Ct,verbatim:wt}=Ge;if(wt){if(wt!=="!"&&wt!=="!!")return wt;let Xt=`Verbatim tags aren't resolved, so ${wt} is invalid.`;pe.errors.push(new g.YAMLSemanticError(de,Xt))}else if(et==="!"&&!Ct)Ze=!0;else try{return Ui(pe,de)}catch(Xt){pe.errors.push(Xt)}}switch(ze){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 Ze?g.defaultTags.STR:null;default:return null}}function Ks(pe,de,Ge){let{tags:ze}=pe.schema,Ze=[];for(let Ct of ze)if(Ct.tag===Ge)if(Ct.test)Ze.push(Ct);else{let wt=Ct.resolve(pe,de);return wt instanceof it?wt:new Ke(wt)}let et=Vi(pe,de);return typeof et=="string"&&Ze.length>0?Ee(et,Ze,ze.scalarFallback):null}function Wa(pe){let{type:de}=pe;switch(de){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 No(pe,de,Ge){try{let ze=Ks(pe,de,Ge);if(ze)return Ge&&de.tag&&(ze.tag=Ge),ze}catch(ze){return ze.source||(ze.source=de),pe.errors.push(ze),null}try{let ze=Wa(de);if(!ze)throw new Error(`The tag ${Ge} is unavailable`);let Ze=`The tag ${Ge} is unavailable, falling back to ${ze}`;pe.warnings.push(new g.YAMLWarning(de,Ze));let et=Ks(pe,de,ze);return et.tag=Ge,et}catch(ze){let Ze=new g.YAMLReferenceError(de,ze.message);return Ze.stack=ze.stack,pe.errors.push(Ze),null}}var il=pe=>{if(!pe)return!1;let{type:de}=pe;return de===g.Type.MAP_KEY||de===g.Type.MAP_VALUE||de===g.Type.SEQ_ITEM};function Nf(pe,de){let Ge={before:[],after:[]},ze=!1,Ze=!1,et=il(de.context.parent)?de.context.parent.props.concat(de.props):de.props;for(let{start:Ct,end:wt}of et)switch(de.context.src[Ct]){case g.Char.COMMENT:{if(!de.commentHasRequiredWhitespace(Ct)){let pn="Comments must be separated from other tokens by white space characters";pe.push(new g.YAMLSemanticError(de,pn))}let{header:Xt,valueRange:en}=de;(en&&(Ct>en.start||Xt&&Ct>Xt.start)?Ge.after:Ge.before).push(de.context.src.slice(Ct+1,wt));break}case g.Char.ANCHOR:if(ze){let Xt="A node can have at most one anchor";pe.push(new g.YAMLSemanticError(de,Xt))}ze=!0;break;case g.Char.TAG:if(Ze){let Xt="A node can have at most one tag";pe.push(new g.YAMLSemanticError(de,Xt))}Ze=!0;break}return{comments:Ge,hasAnchor:ze,hasTag:Ze}}function Tf(pe,de){let{anchors:Ge,errors:ze,schema:Ze}=pe;if(de.type===g.Type.ALIAS){let Ct=de.rawValue,wt=Ge.getNode(Ct);if(!wt){let en=`Aliased anchor not found: ${Ct}`;return ze.push(new g.YAMLReferenceError(de,en)),null}let Xt=new Ut(wt);return Ge._cstAliases.push(Xt),Xt}let et=Li(pe,de);if(et)return No(pe,de,et);if(de.type!==g.Type.PLAIN){let Ct=`Failed to resolve ${de.type} node here`;return ze.push(new g.YAMLSyntaxError(de,Ct)),null}try{let Ct=Vi(pe,de);return Ee(Ct,Ze.tags,Ze.tags.scalarFallback)}catch(Ct){return Ct.source||(Ct.source=de),ze.push(Ct),null}}function di(pe,de){if(!de)return null;de.error&&pe.errors.push(de.error);let{comments:Ge,hasAnchor:ze,hasTag:Ze}=Nf(pe.errors,de);if(ze){let{anchors:Ct}=pe,wt=de.anchor,Xt=Ct.getNode(wt);Xt&&(Ct.map[Ct.newName(wt)]=Xt),Ct.map[wt]=de}if(de.type===g.Type.ALIAS&&(ze||Ze)){let Ct="An alias node must not specify any properties";pe.errors.push(new g.YAMLSemanticError(de,Ct))}let et=Tf(pe,de);if(et){et.range=[de.range.start,de.range.end],pe.options.keepCstNodes&&(et.cstNode=de),pe.options.keepNodeTypes&&(et.type=de.type);let Ct=Ge.before.join(`
393
- `);Ct&&(et.commentBefore=et.commentBefore?`${et.commentBefore}
394
- ${Ct}`:Ct);let wt=Ge.after.join(`
395
- `);wt&&(et.comment=et.comment?`${et.comment}
396
- ${wt}`:wt)}return de.resolved=et}function _f(pe,de){if(de.type!==g.Type.MAP&&de.type!==g.Type.FLOW_MAP){let Ct=`A ${de.type} node cannot be resolved as a mapping`;return pe.errors.push(new g.YAMLSyntaxError(de,Ct)),null}let{comments:Ge,items:ze}=de.type===g.Type.FLOW_MAP?Bf(pe,de):Pf(pe,de),Ze=new yn;Ze.items=ze,ki(Ze,Ge);let et=!1;for(let Ct=0;Ct<ze.length;++Ct){let{key:wt}=ze[Ct];if(wt instanceof it&&(et=!0),pe.schema.merge&&wt&&wt.value===ye){ze[Ct]=new K(ze[Ct]);let Xt=ze[Ct].value.items,en=null;Xt.some(pn=>{if(pn instanceof Ut){let{type:kn}=pn.source;return kn===g.Type.MAP||kn===g.Type.FLOW_MAP?!1:en="Merge nodes aliases can only point to maps"}return en="Merge nodes can only have Alias nodes as values"}),en&&pe.errors.push(new g.YAMLSemanticError(de,en))}else for(let Xt=Ct+1;Xt<ze.length;++Xt){let{key:en}=ze[Xt];if(wt===en||wt&&en&&Object.prototype.hasOwnProperty.call(wt,"value")&&wt.value===en.value){let pn=`Map keys must be unique; "${wt}" is repeated`;pe.errors.push(new g.YAMLSemanticError(de,pn));break}}}if(et&&!pe.options.mapAsMap){let Ct="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";pe.warnings.push(new g.YAMLWarning(de,Ct))}return de.resolved=Ze,Ze}var kf=pe=>{let{context:{lineStart:de,node:Ge,src:ze},props:Ze}=pe;if(Ze.length===0)return!1;let{start:et}=Ze[0];if(Ge&&et>Ge.valueRange.start||ze[et]!==g.Char.COMMENT)return!1;for(let Ct=de;Ct<et;++Ct)if(ze[Ct]===`
397
- `)return!1;return!0};function Lf(pe,de){if(!kf(pe))return;let Ge=pe.getPropValue(0,g.Char.COMMENT,!0),ze=!1,Ze=de.value.commentBefore;if(Ze&&Ze.startsWith(Ge))de.value.commentBefore=Ze.substr(Ge.length+1),ze=!0;else{let et=de.value.comment;!pe.node&&et&&et.startsWith(Ge)&&(de.value.comment=et.substr(Ge.length+1),ze=!0)}ze&&(de.comment=Ge)}function Pf(pe,de){let Ge=[],ze=[],Ze,et=null;for(let Ct=0;Ct<de.items.length;++Ct){let wt=de.items[Ct];switch(wt.type){case g.Type.BLANK_LINE:Ge.push({afterKey:!!Ze,before:ze.length});break;case g.Type.COMMENT:Ge.push({afterKey:!!Ze,before:ze.length,comment:wt.comment});break;case g.Type.MAP_KEY:Ze!==void 0&&ze.push(new _t(Ze)),wt.error&&pe.errors.push(wt.error),Ze=di(pe,wt.node),et=null;break;case g.Type.MAP_VALUE:{if(Ze===void 0&&(Ze=null),wt.error&&pe.errors.push(wt.error),!wt.context.atLineStart&&wt.node&&wt.node.type===g.Type.MAP&&!wt.node.context.atLineStart){let pn="Nested mappings are not allowed in compact mappings";pe.errors.push(new g.YAMLSemanticError(wt.node,pn))}let Xt=wt.node;if(!Xt&&wt.props.length>0){Xt=new g.PlainValue(g.Type.PLAIN,[]),Xt.context={parent:wt,src:wt.context.src};let pn=wt.range.start+1;if(Xt.range={start:pn,end:pn},Xt.valueRange={start:pn,end:pn},typeof wt.range.origStart=="number"){let kn=wt.range.origStart+1;Xt.range.origStart=Xt.range.origEnd=kn,Xt.valueRange.origStart=Xt.valueRange.origEnd=kn}}let en=new _t(Ze,di(pe,Xt));Lf(wt,en),ze.push(en),Ze&&typeof et=="number"&&wt.range.start>et+1024&&pe.errors.push(ir(de,Ze)),Ze=void 0,et=null}break;default:Ze!==void 0&&ze.push(new _t(Ze)),Ze=di(pe,wt),et=wt.range.start,wt.error&&pe.errors.push(wt.error);e:for(let Xt=Ct+1;;++Xt){let en=de.items[Xt];switch(en&&en.type){case g.Type.BLANK_LINE:case g.Type.COMMENT:continue e;case g.Type.MAP_VALUE:break e;default:{let pn="Implicit map keys need to be followed by map values";pe.errors.push(new g.YAMLSemanticError(wt,pn));break e}}}if(wt.valueRangeContainsNewline){let Xt="Implicit map keys need to be on a single line";pe.errors.push(new g.YAMLSemanticError(wt,Xt))}}}return Ze!==void 0&&ze.push(new _t(Ze)),{comments:Ge,items:ze}}function Bf(pe,de){let Ge=[],ze=[],Ze,et=!1,Ct="{";for(let wt=0;wt<de.items.length;++wt){let Xt=de.items[wt];if(typeof Xt.char=="string"){let{char:en,offset:pn}=Xt;if(en==="?"&&Ze===void 0&&!et){et=!0,Ct=":";continue}if(en===":"){if(Ze===void 0&&(Ze=null),Ct===":"){Ct=",";continue}}else if(et&&(Ze===void 0&&en!==","&&(Ze=null),et=!1),Ze!==void 0&&(ze.push(new _t(Ze)),Ze=void 0,en===",")){Ct=":";continue}if(en==="}"){if(wt===de.items.length-1)continue}else if(en===Ct){Ct=":";continue}let kn=`Flow map contains an unexpected ${en}`,ar=new g.YAMLSyntaxError(de,kn);ar.offset=pn,pe.errors.push(ar)}else Xt.type===g.Type.BLANK_LINE?Ge.push({afterKey:!!Ze,before:ze.length}):Xt.type===g.Type.COMMENT?(Un(pe.errors,Xt),Ge.push({afterKey:!!Ze,before:ze.length,comment:Xt.comment})):Ze===void 0?(Ct===","&&pe.errors.push(new g.YAMLSemanticError(Xt,"Separator , missing in flow map")),Ze=di(pe,Xt)):(Ct!==","&&pe.errors.push(new g.YAMLSemanticError(Xt,"Indicator : missing in flow map entry")),ze.push(new _t(Ze,di(pe,Xt))),Ze=void 0,et=!1)}return En(pe.errors,de),Ze!==void 0&&ze.push(new _t(Ze)),{comments:Ge,items:ze}}function If(pe,de){if(de.type!==g.Type.SEQ&&de.type!==g.Type.FLOW_SEQ){let et=`A ${de.type} node cannot be resolved as a sequence`;return pe.errors.push(new g.YAMLSyntaxError(de,et)),null}let{comments:Ge,items:ze}=de.type===g.Type.FLOW_SEQ?Of(pe,de):Mf(pe,de),Ze=new Nt;if(Ze.items=ze,ki(Ze,Ge),!pe.options.mapAsMap&&ze.some(et=>et instanceof _t&&et.key instanceof it)){let et="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";pe.warnings.push(new g.YAMLWarning(de,et))}return de.resolved=Ze,Ze}function Mf(pe,de){let Ge=[],ze=[];for(let Ze=0;Ze<de.items.length;++Ze){let et=de.items[Ze];switch(et.type){case g.Type.BLANK_LINE:Ge.push({before:ze.length});break;case g.Type.COMMENT:Ge.push({comment:et.comment,before:ze.length});break;case g.Type.SEQ_ITEM:if(et.error&&pe.errors.push(et.error),ze.push(di(pe,et.node)),et.hasProps){let Ct="Sequence items cannot have tags or anchors before the - indicator";pe.errors.push(new g.YAMLSemanticError(et,Ct))}break;default:et.error&&pe.errors.push(et.error),pe.errors.push(new g.YAMLSyntaxError(et,`Unexpected ${et.type} node in sequence`))}}return{comments:Ge,items:ze}}function Of(pe,de){let Ge=[],ze=[],Ze=!1,et,Ct=null,wt="[",Xt=null;for(let en=0;en<de.items.length;++en){let pn=de.items[en];if(typeof pn.char=="string"){let{char:kn,offset:ar}=pn;if(kn!==":"&&(Ze||et!==void 0)&&(Ze&&et===void 0&&(et=wt?ze.pop():null),ze.push(new _t(et)),Ze=!1,et=void 0,Ct=null),kn===wt)wt=null;else if(!wt&&kn==="?")Ze=!0;else if(wt!=="["&&kn===":"&&et===void 0){if(wt===","){if(et=ze.pop(),et instanceof _t){let or="Chaining flow sequence pairs is invalid",On=new g.YAMLSemanticError(de,or);On.offset=ar,pe.errors.push(On)}if(!Ze&&typeof Ct=="number"){let or=pn.range?pn.range.start:pn.offset;or>Ct+1024&&pe.errors.push(ir(de,et));let{src:On}=Xt.context;for(let er=Ct;er<or;++er)if(On[er]===`
398
- `){let Xn="Implicit keys of flow sequence pairs need to be on a single line";pe.errors.push(new g.YAMLSemanticError(Xt,Xn));break}}}else et=null;Ct=null,Ze=!1,wt=null}else if(wt==="["||kn!=="]"||en<de.items.length-1){let or=`Flow sequence contains an unexpected ${kn}`,On=new g.YAMLSyntaxError(de,or);On.offset=ar,pe.errors.push(On)}}else if(pn.type===g.Type.BLANK_LINE)Ge.push({before:ze.length});else if(pn.type===g.Type.COMMENT)Un(pe.errors,pn),Ge.push({comment:pn.comment,before:ze.length});else{if(wt){let ar=`Expected a ${wt} in flow sequence`;pe.errors.push(new g.YAMLSemanticError(pn,ar))}let kn=di(pe,pn);et===void 0?(ze.push(kn),Xt=pn):(ze.push(new _t(et,kn)),et=void 0),Ct=pn.range.start,wt=","}}return En(pe.errors,de),et!==void 0&&ze.push(new _t(et)),{comments:Ge,items:ze}}Y.Alias=Ut,Y.Collection=it,Y.Merge=K,Y.Node=Le,Y.Pair=_t,Y.Scalar=Ke,Y.YAMLMap=yn,Y.YAMLSeq=Nt,Y.addComment=Ce,Y.binaryOptions=I,Y.boolOptions=H,Y.findPair=zt,Y.intOptions=le,Y.isEmptyPath=jt,Y.nullOptions=xe,Y.resolveMap=_f,Y.resolveNode=di,Y.resolveSeq=If,Y.resolveString=Vi,Y.strOptions=Ie,Y.stringifyNumber=dn,Y.stringifyString=Kt,Y.toJSON=Pe}}),zs=p({"node_modules/yaml/dist/warnings-1000a372.js"(Y){P();var g=Rr(),W=Qi(),Ce={identify:Ee=>Ee instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(Ee,$e)=>{let At=W.resolveString(Ee,$e);if(typeof Buffer=="function")return Buffer.from(At,"base64");if(typeof atob=="function"){let Ot=atob(At.replace(/[\n\r]/g,"")),Yt=new Uint8Array(Ot.length);for(let bn=0;bn<Ot.length;++bn)Yt[bn]=Ot.charCodeAt(bn);return Yt}else{let Ot="This environment does not support reading binary tags; either Buffer or atob is required";return Ee.errors.push(new g.YAMLReferenceError($e,Ot)),null}},options:W.binaryOptions,stringify:(Ee,$e,At,Ot)=>{let{comment:Yt,type:bn,value:rn}=Ee,$n;if(typeof Buffer=="function")$n=rn instanceof Buffer?rn.toString("base64"):Buffer.from(rn.buffer).toString("base64");else if(typeof btoa=="function"){let nr="";for(let Er=0;Er<rn.length;++Er)nr+=String.fromCharCode(rn[Er]);$n=btoa(nr)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(bn||(bn=W.binaryOptions.defaultType),bn===g.Type.QUOTE_DOUBLE)rn=$n;else{let{lineWidth:nr}=W.binaryOptions,Er=Math.ceil($n.length/nr),pi=new Array(Er);for(let ai=0,Dt=0;ai<Er;++ai,Dt+=nr)pi[ai]=$n.substr(Dt,nr);rn=pi.join(bn===g.Type.BLOCK_LITERAL?`
399
- `:" ")}return W.stringifyString({comment:Yt,type:bn,value:rn},$e,At,Ot)}};function Le(Ee,$e){let At=W.resolveSeq(Ee,$e);for(let Ot=0;Ot<At.items.length;++Ot){let Yt=At.items[Ot];if(!(Yt instanceof W.Pair)){if(Yt instanceof W.YAMLMap){if(Yt.items.length>1){let rn="Each pair must have its own sequence indicator";throw new g.YAMLSemanticError($e,rn)}let bn=Yt.items[0]||new W.Pair;Yt.commentBefore&&(bn.commentBefore=bn.commentBefore?`${Yt.commentBefore}
400
- ${bn.commentBefore}`:Yt.commentBefore),Yt.comment&&(bn.comment=bn.comment?`${Yt.comment}
401
- ${bn.comment}`:Yt.comment),Yt=bn}At.items[Ot]=Yt instanceof W.Pair?Yt:new W.Pair(Yt)}}return At}function Pe(Ee,$e,At){let Ot=new W.YAMLSeq(Ee);Ot.tag="tag:yaml.org,2002:pairs";for(let Yt of $e){let bn,rn;if(Array.isArray(Yt))if(Yt.length===2)bn=Yt[0],rn=Yt[1];else throw new TypeError(`Expected [key, value] tuple: ${Yt}`);else if(Yt&&Yt instanceof Object){let nr=Object.keys(Yt);if(nr.length===1)bn=nr[0],rn=Yt[bn];else throw new TypeError(`Expected { key: value } tuple: ${Yt}`)}else bn=Yt;let $n=Ee.createPair(bn,rn,At);Ot.items.push($n)}return Ot}var Ke={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Le,createNode:Pe},mt=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=mt.tag}toJSON(Ee,$e){let At=new Map;$e&&$e.onCreate&&$e.onCreate(At);for(let Ot of this.items){let Yt,bn;if(Ot instanceof W.Pair?(Yt=W.toJSON(Ot.key,"",$e),bn=W.toJSON(Ot.value,Yt,$e)):Yt=W.toJSON(Ot,"",$e),At.has(Yt))throw new Error("Ordered maps must not include duplicate keys");At.set(Yt,bn)}return At}};g._defineProperty(mt,"tag","tag:yaml.org,2002:omap");function jt(Ee,$e){let At=Le(Ee,$e),Ot=[];for(let{key:Yt}of At.items)if(Yt instanceof W.Scalar)if(Ot.includes(Yt.value)){let bn="Ordered maps must not include duplicate keys";throw new g.YAMLSemanticError($e,bn)}else Ot.push(Yt.value);return Object.assign(new mt,At)}function it(Ee,$e,At){let Ot=Pe(Ee,$e,At),Yt=new mt;return Yt.items=Ot.items,Yt}var yt={identify:Ee=>Ee instanceof Map,nodeClass:mt,default:!1,tag:"tag:yaml.org,2002:omap",resolve:jt,createNode:it},Nt=class extends W.YAMLMap{constructor(){super(),this.tag=Nt.tag}add(Ee){let $e=Ee instanceof W.Pair?Ee:new W.Pair(Ee);W.findPair(this.items,$e.key)||this.items.push($e)}get(Ee,$e){let At=W.findPair(this.items,Ee);return!$e&&At instanceof W.Pair?At.key instanceof W.Scalar?At.key.value:At.key:At}set(Ee,$e){if(typeof $e!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof $e}`);let At=W.findPair(this.items,Ee);At&&!$e?this.items.splice(this.items.indexOf(At),1):!At&&$e&&this.items.push(new W.Pair(Ee))}toJSON(Ee,$e){return super.toJSON(Ee,$e,Set)}toString(Ee,$e,At){if(!Ee)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(Ee,$e,At);throw new Error("Set items must all have null values")}};g._defineProperty(Nt,"tag","tag:yaml.org,2002:set");function Mt(Ee,$e){let At=W.resolveMap(Ee,$e);if(!At.hasAllNullValues())throw new g.YAMLSemanticError($e,"Set items must all have null values");return Object.assign(new Nt,At)}function _t(Ee,$e,At){let Ot=new Nt;for(let Yt of $e)Ot.items.push(Ee.createPair(Yt,null,At));return Ot}var qt={identify:Ee=>Ee instanceof Set,nodeClass:Nt,default:!1,tag:"tag:yaml.org,2002:set",resolve:Mt,createNode:_t},Ut=(Ee,$e)=>{let At=$e.split(":").reduce((Ot,Yt)=>Ot*60+Number(Yt),0);return Ee==="-"?-At:At},zt=Ee=>{let{value:$e}=Ee;if(isNaN($e)||!isFinite($e))return W.stringifyNumber($e);let At="";$e<0&&(At="-",$e=Math.abs($e));let Ot=[$e%60];return $e<60?Ot.unshift(0):($e=Math.round(($e-Ot[0])/60),Ot.unshift($e%60),$e>=60&&($e=Math.round(($e-Ot[0])/60),Ot.unshift($e))),At+Ot.map(Yt=>Yt<10?"0"+String(Yt):String(Yt)).join(":").replace(/000000\d*$/,"")},yn={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,$e,At)=>Ut($e,At.replace(/_/g,"")),stringify:zt},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,$e,At)=>Ut($e,At.replace(/_/g,"")),stringify:zt},K={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,$e,At,Ot,Yt,bn,rn,$n,nr)=>{$n&&($n=($n+"00").substr(1,3));let Er=Date.UTC($e,At-1,Ot,Yt||0,bn||0,rn||0,$n||0);if(nr&&nr!=="Z"){let pi=Ut(nr[0],nr.slice(1));Math.abs(pi)<30&&(pi*=60),Er-=6e4*pi}return new Date(Er)},stringify:Ee=>{let{value:$e}=Ee;return $e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function I(Ee){let $e=typeof te<"u"&&te.env||{};return Ee?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!$e.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!$e.YAML_SILENCE_WARNINGS}function H(Ee,$e){if(I(!1)){let At=typeof te<"u"&&te.emitWarning;At?At(Ee,$e):console.warn($e?`${$e}: ${Ee}`:Ee)}}function le(Ee){if(I(!0)){let $e=Ee.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");H(`The endpoint 'yaml/${$e}' will be removed in a future release.`,"DeprecationWarning")}}var xe={};function Ie(Ee,$e){if(!xe[Ee]&&I(!0)){xe[Ee]=!0;let At=`The option '${Ee}' will be removed in a future release`;At+=$e?`, use '${$e}' instead.`:".",H(At,"DeprecationWarning")}}Y.binary=Ce,Y.floatTime=ye,Y.intTime=yn,Y.omap=yt,Y.pairs=Ke,Y.set=qt,Y.timestamp=K,Y.warn=H,Y.warnFileDeprecation=le,Y.warnOptionDeprecation=Ie}}),Xs=p({"node_modules/yaml/dist/Schema-88e323a7.js"(Y){P();var g=Rr(),W=Qi(),Ce=zs();function Le(Dt,Kt,dn){let En=new W.YAMLMap(Dt);if(Kt instanceof Map)for(let[Un,ir]of Kt)En.items.push(Dt.createPair(Un,ir,dn));else if(Kt&&typeof Kt=="object")for(let Un of Object.keys(Kt))En.items.push(Dt.createPair(Un,Kt[Un],dn));return typeof Dt.sortMapEntries=="function"&&En.items.sort(Dt.sortMapEntries),En}var Pe={createNode:Le,default:!0,nodeClass:W.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:W.resolveMap};function Ke(Dt,Kt,dn){let En=new W.YAMLSeq(Dt);if(Kt&&Kt[Symbol.iterator])for(let Un of Kt){let ir=Dt.createNode(Un,dn.wrapScalars,null,dn);En.items.push(ir)}return En}var mt={createNode:Ke,default:!0,nodeClass:W.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:W.resolveSeq},jt={identify:Dt=>typeof Dt=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify(Dt,Kt,dn,En){return Kt=Object.assign({actualString:!0},Kt),W.stringifyString(Dt,Kt,dn,En)},options:W.strOptions},it=[Pe,mt,jt],yt=Dt=>typeof Dt=="bigint"||Number.isInteger(Dt),Nt=(Dt,Kt,dn)=>W.intOptions.asBigInt?BigInt(Dt):parseInt(Kt,dn);function Mt(Dt,Kt,dn){let{value:En}=Dt;return yt(En)&&En>=0?dn+En.toString(Kt):W.stringifyNumber(Dt)}var _t={identify:Dt=>Dt==null,createNode:(Dt,Kt,dn)=>dn.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},qt={identify:Dt=>typeof Dt=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:Dt=>Dt[0]==="t"||Dt[0]==="T",options:W.boolOptions,stringify:Dt=>{let{value:Kt}=Dt;return Kt?W.boolOptions.trueStr:W.boolOptions.falseStr}},Ut={identify:Dt=>yt(Dt)&&Dt>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(Dt,Kt)=>Nt(Dt,Kt,8),options:W.intOptions,stringify:Dt=>Mt(Dt,8,"0o")},zt={identify:yt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:Dt=>Nt(Dt,Dt,10),options:W.intOptions,stringify:W.stringifyNumber},yn={identify:Dt=>yt(Dt)&&Dt>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(Dt,Kt)=>Nt(Dt,Kt,16),options:W.intOptions,stringify:Dt=>Mt(Dt,16,"0x")},ye={identify:Dt=>typeof Dt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(Dt,Kt)=>Kt?NaN:Dt[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:W.stringifyNumber},K={identify:Dt=>typeof Dt=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:Dt=>parseFloat(Dt),stringify:Dt=>{let{value:Kt}=Dt;return Number(Kt).toExponential()}},I={identify:Dt=>typeof Dt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(Dt,Kt,dn){let En=Kt||dn,Un=new W.Scalar(parseFloat(Dt));return En&&En[En.length-1]==="0"&&(Un.minFractionDigits=En.length),Un},stringify:W.stringifyNumber},H=it.concat([_t,qt,Ut,zt,yn,ye,K,I]),le=Dt=>typeof Dt=="bigint"||Number.isInteger(Dt),xe=Dt=>{let{value:Kt}=Dt;return JSON.stringify(Kt)},Ie=[Pe,mt,{identify:Dt=>typeof Dt=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify:xe},{identify:Dt=>Dt==null,createNode:(Dt,Kt,dn)=>dn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:xe},{identify:Dt=>typeof Dt=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:Dt=>Dt==="true",stringify:xe},{identify:le,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:Dt=>W.intOptions.asBigInt?BigInt(Dt):parseInt(Dt,10),stringify:Dt=>{let{value:Kt}=Dt;return le(Kt)?Kt.toString():JSON.stringify(Kt)}},{identify:Dt=>typeof Dt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:Dt=>parseFloat(Dt),stringify:xe}];Ie.scalarFallback=Dt=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(Dt)}`)};var Ee=Dt=>{let{value:Kt}=Dt;return Kt?W.boolOptions.trueStr:W.boolOptions.falseStr},$e=Dt=>typeof Dt=="bigint"||Number.isInteger(Dt);function At(Dt,Kt,dn){let En=Kt.replace(/_/g,"");if(W.intOptions.asBigInt){switch(dn){case 2:En=`0b${En}`;break;case 8:En=`0o${En}`;break;case 16:En=`0x${En}`;break}let ir=BigInt(En);return Dt==="-"?BigInt(-1)*ir:ir}let Un=parseInt(En,dn);return Dt==="-"?-1*Un:Un}function Ot(Dt,Kt,dn){let{value:En}=Dt;if($e(En)){let Un=En.toString(Kt);return En<0?"-"+dn+Un.substr(1):dn+Un}return W.stringifyNumber(Dt)}var Yt=it.concat([{identify:Dt=>Dt==null,createNode:(Dt,Kt,dn)=>dn.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:Dt=>typeof Dt=="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:Dt=>typeof Dt=="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:$e,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(Dt,Kt,dn)=>At(Kt,dn,2),stringify:Dt=>Ot(Dt,2,"0b")},{identify:$e,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(Dt,Kt,dn)=>At(Kt,dn,8),stringify:Dt=>Ot(Dt,8,"0")},{identify:$e,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(Dt,Kt,dn)=>At(Kt,dn,10),stringify:W.stringifyNumber},{identify:$e,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(Dt,Kt,dn)=>At(Kt,dn,16),stringify:Dt=>Ot(Dt,16,"0x")},{identify:Dt=>typeof Dt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(Dt,Kt)=>Kt?NaN:Dt[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:W.stringifyNumber},{identify:Dt=>typeof Dt=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:Dt=>parseFloat(Dt.replace(/_/g,"")),stringify:Dt=>{let{value:Kt}=Dt;return Number(Kt).toExponential()}},{identify:Dt=>typeof Dt=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(Dt,Kt){let dn=new W.Scalar(parseFloat(Dt.replace(/_/g,"")));if(Kt){let En=Kt.replace(/_/g,"");En[En.length-1]==="0"&&(dn.minFractionDigits=En.length)}return dn},stringify:W.stringifyNumber}],Ce.binary,Ce.omap,Ce.pairs,Ce.set,Ce.intTime,Ce.floatTime,Ce.timestamp),bn={core:H,failsafe:it,json:Ie,yaml11:Yt},rn={binary:Ce.binary,bool:qt,float:I,floatExp:K,floatNaN:ye,floatTime:Ce.floatTime,int:zt,intHex:yn,intOct:Ut,intTime:Ce.intTime,map:Pe,null:_t,omap:Ce.omap,pairs:Ce.pairs,seq:mt,set:Ce.set,timestamp:Ce.timestamp};function $n(Dt,Kt,dn){if(Kt){let En=dn.filter(ir=>ir.tag===Kt),Un=En.find(ir=>!ir.format)||En[0];if(!Un)throw new Error(`Tag ${Kt} not found`);return Un}return dn.find(En=>(En.identify&&En.identify(Dt)||En.class&&Dt instanceof En.class)&&!En.format)}function nr(Dt,Kt,dn){if(Dt instanceof W.Node)return Dt;let{defaultPrefix:En,onTagObj:Un,prevObjects:ir,schema:ki,wrapScalars:Vi}=dn;Kt&&Kt.startsWith("!!")&&(Kt=En+Kt.slice(2));let Ui=$n(Dt,Kt,ki.tags);if(!Ui){if(typeof Dt.toJSON=="function"&&(Dt=Dt.toJSON()),!Dt||typeof Dt!="object")return Vi?new W.Scalar(Dt):Dt;Ui=Dt instanceof Map?Pe:Dt[Symbol.iterator]?mt:Pe}Un&&(Un(Ui),delete dn.onTagObj);let Li={value:void 0,node:void 0};if(Dt&&typeof Dt=="object"&&ir){let Ks=ir.get(Dt);if(Ks){let Wa=new W.Alias(Ks);return dn.aliasNodes.push(Wa),Wa}Li.value=Dt,ir.set(Dt,Li)}return Li.node=Ui.createNode?Ui.createNode(dn.schema,Dt,dn):Vi?new W.Scalar(Dt):Dt,Kt&&Li.node instanceof W.Node&&(Li.node.tag=Kt),Li.node}function Er(Dt,Kt,dn,En){let Un=Dt[En.replace(/\W/g,"")];if(!Un){let ir=Object.keys(Dt).map(ki=>JSON.stringify(ki)).join(", ");throw new Error(`Unknown schema "${En}"; use one of ${ir}`)}if(Array.isArray(dn))for(let ir of dn)Un=Un.concat(ir);else typeof dn=="function"&&(Un=dn(Un.slice()));for(let ir=0;ir<Un.length;++ir){let ki=Un[ir];if(typeof ki=="string"){let Vi=Kt[ki];if(!Vi){let Ui=Object.keys(Kt).map(Li=>JSON.stringify(Li)).join(", ");throw new Error(`Unknown custom tag "${ki}"; use one of ${Ui}`)}Un[ir]=Vi}}return Un}var pi=(Dt,Kt)=>Dt.key<Kt.key?-1:Dt.key>Kt.key?1:0,ai=class{constructor(Dt){let{customTags:Kt,merge:dn,schema:En,sortMapEntries:Un,tags:ir}=Dt;this.merge=!!dn,this.name=En,this.sortMapEntries=Un===!0?pi:Un||null,!Kt&&ir&&Ce.warnOptionDeprecation("tags","customTags"),this.tags=Er(bn,rn,Kt||ir,En)}createNode(Dt,Kt,dn,En){let Un={defaultPrefix:ai.defaultPrefix,schema:this,wrapScalars:Kt},ir=En?Object.assign(En,Un):Un;return nr(Dt,dn,ir)}createPair(Dt,Kt,dn){dn||(dn={wrapScalars:!0});let En=this.createNode(Dt,dn.wrapScalars,null,dn),Un=this.createNode(Kt,dn.wrapScalars,null,dn);return new W.Pair(En,Un)}};g._defineProperty(ai,"defaultPrefix",g.defaultTagPrefix),g._defineProperty(ai,"defaultTags",g.defaultTags),Y.Schema=ai}}),Kr=p({"node_modules/yaml/dist/Document-9b4560a1.js"(Y){P();var g=Rr(),W=Qi(),Ce=Xs(),Le={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(I){Object.assign(W.binaryOptions,I)},get bool(){return W.boolOptions},set bool(I){Object.assign(W.boolOptions,I)},get int(){return W.intOptions},set int(I){Object.assign(W.intOptions,I)},get null(){return W.nullOptions},set null(I){Object.assign(W.nullOptions,I)},get str(){return W.strOptions},set str(I){Object.assign(W.strOptions,I)}},Ke={"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 mt(I,H){if((I.version||I.options.version)==="1.0"){let Ie=H.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(Ie)return"!"+Ie[1];let Ee=H.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return Ee?`!${Ee[1]}/${Ee[2]}`:`!${H.replace(/^tag:/,"")}`}let le=I.tagPrefixes.find(Ie=>H.indexOf(Ie.prefix)===0);if(!le){let Ie=I.getDefaults().tagPrefixes;le=Ie&&Ie.find(Ee=>H.indexOf(Ee.prefix)===0)}if(!le)return H[0]==="!"?H:`!<${H}>`;let xe=H.substr(le.prefix.length).replace(/[!,[\]{}]/g,Ie=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[Ie]);return le.handle+xe}function jt(I,H){if(H instanceof W.Alias)return W.Alias;if(H.tag){let Ie=I.filter(Ee=>Ee.tag===H.tag);if(Ie.length>0)return Ie.find(Ee=>Ee.format===H.format)||Ie[0]}let le,xe;if(H instanceof W.Scalar){xe=H.value;let Ie=I.filter(Ee=>Ee.identify&&Ee.identify(xe)||Ee.class&&xe instanceof Ee.class);le=Ie.find(Ee=>Ee.format===H.format)||Ie.find(Ee=>!Ee.format)}else xe=H,le=I.find(Ie=>Ie.nodeClass&&xe instanceof Ie.nodeClass);if(!le){let Ie=xe&&xe.constructor?xe.constructor.name:typeof xe;throw new Error(`Tag not resolved for ${Ie} value`)}return le}function it(I,H,le){let{anchors:xe,doc:Ie}=le,Ee=[],$e=Ie.anchors.getName(I);return $e&&(xe[$e]=I,Ee.push(`&${$e}`)),I.tag?Ee.push(mt(Ie,I.tag)):H.default||Ee.push(mt(Ie,H.tag)),Ee.join(" ")}function yt(I,H,le,xe){let{anchors:Ie,schema:Ee}=H.doc,$e;if(!(I instanceof W.Node)){let Yt={aliasNodes:[],onTagObj:bn=>$e=bn,prevObjects:new Map};I=Ee.createNode(I,!0,null,Yt);for(let bn of Yt.aliasNodes){bn.source=bn.source.node;let rn=Ie.getName(bn.source);rn||(rn=Ie.newName(),Ie.map[rn]=bn.source)}}if(I instanceof W.Pair)return I.toString(H,le,xe);$e||($e=jt(Ee.tags,I));let At=it(I,$e,H);At.length>0&&(H.indentAtStart=(H.indentAtStart||0)+At.length+1);let Ot=typeof $e.stringify=="function"?$e.stringify(I,H,le,xe):I instanceof W.Scalar?W.stringifyString(I,H,le,xe):I.toString(H,le,xe);return At?I instanceof W.Scalar||Ot[0]==="{"||Ot[0]==="["?`${At} ${Ot}`:`${At}
402
- ${H.indent}${Ot}`:Ot}var Nt=class{static validAnchorNode(I){return I instanceof W.Scalar||I instanceof W.YAMLSeq||I instanceof W.YAMLMap}constructor(I){g._defineProperty(this,"map",Object.create(null)),this.prefix=I}createAlias(I,H){return this.setAnchor(I,H),new W.Alias(I)}createMergePair(){let I=new W.Merge;for(var H=arguments.length,le=new Array(H),xe=0;xe<H;xe++)le[xe]=arguments[xe];return I.value.items=le.map(Ie=>{if(Ie instanceof W.Alias){if(Ie.source instanceof W.YAMLMap)return Ie}else if(Ie instanceof W.YAMLMap)return this.createAlias(Ie);throw new Error("Merge sources must be Map nodes or their Aliases")}),I}getName(I){let{map:H}=this;return Object.keys(H).find(le=>H[le]===I)}getNames(){return Object.keys(this.map)}getNode(I){return this.map[I]}newName(I){I||(I=this.prefix);let H=Object.keys(this.map);for(let le=1;;++le){let xe=`${I}${le}`;if(!H.includes(xe))return xe}}resolveNodes(){let{map:I,_cstAliases:H}=this;Object.keys(I).forEach(le=>{I[le]=I[le].resolved}),H.forEach(le=>{le.source=le.source.resolved}),delete this._cstAliases}setAnchor(I,H){if(I!=null&&!Nt.validAnchorNode(I))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:le}=this,xe=I&&Object.keys(le).find(Ie=>le[Ie]===I);if(xe)if(H)xe!==H&&(delete le[xe],le[H]=I);else return xe;else{if(!H){if(!I)return null;H=this.newName()}le[H]=I}return H}},Mt=(I,H)=>{if(I&&typeof I=="object"){let{tag:le}=I;I instanceof W.Collection?(le&&(H[le]=!0),I.items.forEach(xe=>Mt(xe,H))):I instanceof W.Pair?(Mt(I.key,H),Mt(I.value,H)):I instanceof W.Scalar&&le&&(H[le]=!0)}return H},_t=I=>Object.keys(Mt(I,{}));function qt(I,H){let le={before:[],after:[]},xe,Ie=!1;for(let Ee of H)if(Ee.valueRange){if(xe!==void 0){let At="Document contains trailing content not separated by a ... or --- line";I.errors.push(new g.YAMLSyntaxError(Ee,At));break}let $e=W.resolveNode(I,Ee);Ie&&($e.spaceBefore=!0,Ie=!1),xe=$e}else Ee.comment!==null?(xe===void 0?le.before:le.after).push(Ee.comment):Ee.type===g.Type.BLANK_LINE&&(Ie=!0,xe===void 0&&le.before.length>0&&!I.commentBefore&&(I.commentBefore=le.before.join(`
403
- `),le.before=[]));if(I.contents=xe||null,!xe)I.comment=le.before.concat(le.after).join(`
404
- `)||null;else{let Ee=le.before.join(`
405
- `);if(Ee){let $e=xe instanceof W.Collection&&xe.items[0]?xe.items[0]:xe;$e.commentBefore=$e.commentBefore?`${Ee}
406
- ${$e.commentBefore}`:Ee}I.comment=le.after.join(`
407
- `)||null}}function Ut(I,H){let{tagPrefixes:le}=I,[xe,Ie]=H.parameters;if(!xe||!Ie){let Ee="Insufficient parameters given for %TAG directive";throw new g.YAMLSemanticError(H,Ee)}if(le.some(Ee=>Ee.handle===xe)){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:xe,prefix:Ie}}function zt(I,H){let[le]=H.parameters;if(H.name==="YAML:1.0"&&(le="1.0"),!le){let xe="Insufficient parameters given for %YAML directive";throw new g.YAMLSemanticError(H,xe)}if(!Ke[le]){let xe=`Document will be parsed as YAML ${I.version||I.options.version} rather than YAML ${le}`;I.warnings.push(new g.YAMLWarning(H,xe))}return le}function yn(I,H,le){let xe=[],Ie=!1;for(let Ee of H){let{comment:$e,name:At}=Ee;switch(At){case"TAG":try{I.tagPrefixes.push(Ut(I,Ee))}catch(Ot){I.errors.push(Ot)}Ie=!0;break;case"YAML":case"YAML:1.0":if(I.version){let Ot="The %YAML directive must only be given at most once per document.";I.errors.push(new g.YAMLSemanticError(Ee,Ot))}try{I.version=zt(I,Ee)}catch(Ot){I.errors.push(Ot)}Ie=!0;break;default:if(At){let Ot=`YAML only supports %TAG and %YAML directives, and not %${At}`;I.warnings.push(new g.YAMLWarning(Ee,Ot))}}$e&&xe.push($e)}if(le&&!Ie&&(I.version||le.version||I.options.version)==="1.1"){let Ee=$e=>{let{handle:At,prefix:Ot}=$e;return{handle:At,prefix:Ot}};I.tagPrefixes=le.tagPrefixes.map(Ee),I.version=le.version}I.commentBefore=xe.join(`
408
- `)||null}function ye(I){if(I instanceof W.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var K=class{constructor(I){this.anchors=new Nt(I.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=I,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(I){return ye(this.contents),this.contents.add(I)}addIn(I,H){ye(this.contents),this.contents.addIn(I,H)}delete(I){return ye(this.contents),this.contents.delete(I)}deleteIn(I){return W.isEmptyPath(I)?this.contents==null?!1:(this.contents=null,!0):(ye(this.contents),this.contents.deleteIn(I))}getDefaults(){return K.defaults[this.version]||K.defaults[this.options.version]||{}}get(I,H){return this.contents instanceof W.Collection?this.contents.get(I,H):void 0}getIn(I,H){return W.isEmptyPath(I)?!H&&this.contents instanceof W.Scalar?this.contents.value:this.contents:this.contents instanceof W.Collection?this.contents.getIn(I,H):void 0}has(I){return this.contents instanceof W.Collection?this.contents.has(I):!1}hasIn(I){return W.isEmptyPath(I)?this.contents!==void 0:this.contents instanceof W.Collection?this.contents.hasIn(I):!1}set(I,H){ye(this.contents),this.contents.set(I,H)}setIn(I,H){W.isEmptyPath(I)?this.contents=H:(ye(this.contents),this.contents.setIn(I,H))}setSchema(I,H){if(!I&&!H&&this.schema)return;typeof I=="number"&&(I=I.toFixed(1)),I==="1.0"||I==="1.1"||I==="1.2"?(this.version?this.version=I:this.options.version=I,delete this.options.schema):I&&typeof I=="string"&&(this.options.schema=I),Array.isArray(H)&&(this.options.customTags=H);let le=Object.assign({},this.getDefaults(),this.options);this.schema=new Ce.Schema(le)}parse(I,H){this.options.keepCstNodes&&(this.cstNode=I),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:le=[],contents:xe=[],directivesEndMarker:Ie,error:Ee,valueRange:$e}=I;if(Ee&&(Ee.source||(Ee.source=this),this.errors.push(Ee)),yn(this,le,H),Ie&&(this.directivesEndMarker=!0),this.range=$e?[$e.start,$e.end]:null,this.setSchema(),this.anchors._cstAliases=[],qt(this,xe),this.anchors.resolveNodes(),this.options.prettyErrors){for(let At of this.errors)At instanceof g.YAMLError&&At.makePretty();for(let At of this.warnings)At instanceof g.YAMLError&&At.makePretty()}return this}listNonDefaultTags(){return _t(this.contents).filter(I=>I.indexOf(Ce.Schema.defaultPrefix)!==0)}setTagPrefix(I,H){if(I[0]!=="!"||I[I.length-1]!=="!")throw new Error("Handle must start and end with !");if(H){let le=this.tagPrefixes.find(xe=>xe.handle===I);le?le.prefix=H:this.tagPrefixes.push({handle:I,prefix:H})}else this.tagPrefixes=this.tagPrefixes.filter(le=>le.handle!==I)}toJSON(I,H){let{keepBlobsInJSON:le,mapAsMap:xe,maxAliasCount:Ie}=this.options,Ee=le&&(typeof I!="string"||!(this.contents instanceof W.Scalar)),$e={doc:this,indentStep:" ",keep:Ee,mapAsMap:Ee&&!!xe,maxAliasCount:Ie,stringify:yt},At=Object.keys(this.anchors.map);At.length>0&&($e.anchors=new Map(At.map(Yt=>[this.anchors.map[Yt],{alias:[],aliasCount:0,count:1}])));let Ot=W.toJSON(this.contents,I,$e);if(typeof H=="function"&&$e.anchors)for(let{count:Yt,res:bn}of $e.anchors.values())H(bn,Yt);return Ot}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let I=this.options.indent;if(!Number.isInteger(I)||I<=0){let At=JSON.stringify(I);throw new Error(`"indent" option must be a positive integer, not ${At}`)}this.setSchema();let H=[],le=!1;if(this.version){let At="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?At="%YAML:1.0":this.version==="1.1"&&(At="%YAML 1.1")),H.push(At),le=!0}let xe=this.listNonDefaultTags();this.tagPrefixes.forEach(At=>{let{handle:Ot,prefix:Yt}=At;xe.some(bn=>bn.indexOf(Yt)===0)&&(H.push(`%TAG ${Ot} ${Yt}`),le=!0)}),(le||this.directivesEndMarker)&&H.push("---"),this.commentBefore&&((le||!this.directivesEndMarker)&&H.unshift(""),H.unshift(this.commentBefore.replace(/^/gm,"#")));let Ie={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(I),stringify:yt},Ee=!1,$e=null;if(this.contents){this.contents instanceof W.Node&&(this.contents.spaceBefore&&(le||this.directivesEndMarker)&&H.push(""),this.contents.commentBefore&&H.push(this.contents.commentBefore.replace(/^/gm,"#")),Ie.forceBlockIndent=!!this.comment,$e=this.contents.comment);let At=$e?null:()=>Ee=!0,Ot=yt(this.contents,Ie,()=>$e=null,At);H.push(W.addComment(Ot,"",$e))}else this.contents!==void 0&&H.push(yt(this.contents,Ie));return this.comment&&((!Ee||$e)&&H[H.length-1]!==""&&H.push(""),H.push(this.comment.replace(/^/gm,"#"))),H.join(`
409
- `)+`
410
- `}};g._defineProperty(K,"defaults",Ke),Y.Document=K,Y.defaultOptions=Le,Y.scalarOptions=Pe}}),Ku=p({"node_modules/yaml/dist/index.js"(Y){P();var g=qa(),W=Kr(),Ce=Xs(),Le=Rr(),Pe=zs();Qi();function Ke(_t){let qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Ut=arguments.length>2?arguments[2]:void 0;Ut===void 0&&typeof qt=="string"&&(Ut=qt,qt=!0);let zt=Object.assign({},W.Document.defaults[W.defaultOptions.version],W.defaultOptions);return new Ce.Schema(zt).createNode(_t,qt,Ut)}var mt=class extends W.Document{constructor(_t){super(Object.assign({},W.defaultOptions,_t))}};function jt(_t,qt){let Ut=[],zt;for(let yn of g.parse(_t)){let ye=new mt(qt);ye.parse(yn,zt),Ut.push(ye),zt=ye}return Ut}function it(_t,qt){let Ut=g.parse(_t),zt=new mt(qt).parse(Ut[0]);if(Ut.length>1){let yn="Source contains multiple documents; please use YAML.parseAllDocuments()";zt.errors.unshift(new Le.YAMLSemanticError(Ut[1],yn))}return zt}function yt(_t,qt){let Ut=it(_t,qt);if(Ut.warnings.forEach(zt=>Pe.warn(zt)),Ut.errors.length>0)throw Ut.errors[0];return Ut.toJSON()}function Nt(_t,qt){let Ut=new mt(qt);return Ut.contents=_t,String(Ut)}var Mt={createNode:Ke,defaultOptions:W.defaultOptions,Document:mt,parse:yt,parseAllDocuments:jt,parseCST:g.parse,parseDocument:it,scalarOptions:W.scalarOptions,stringify:Nt};Y.YAML=Mt}}),Zu=p({"node_modules/yaml/index.js"(Y,g){P(),g.exports=Ku().YAML}}),el=p({"node_modules/yaml/dist/util.js"(Y){P();var g=Qi(),W=Rr();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}}),Cf=p({"node_modules/yaml/util.js"(Y){P();var g=el();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}}),tl=p({"node_modules/yaml-unist-parser/lib/yaml.js"(Y){P(),Y.__esModule=!0;var g=Zu();Y.Document=g.Document;var W=Zu();Y.parseCST=W.parseCST;var Ce=Cf();Y.YAMLError=Ce.YAMLError,Y.YAMLSyntaxError=Ce.YAMLSyntaxError,Y.YAMLSemanticError=Ce.YAMLSemanticError}}),Qs=p({"node_modules/yaml-unist-parser/lib/parse.js"(Y){P(),Y.__esModule=!0;var g=Ou(),W=sf(),Ce=ju(),Le=af(),Pe=Gn(),Ke=Ru(),mt=Ve(),jt=us(),it=Fs(),yt=fi(),Nt=Xi(),Mt=Ua(),_t=tl();function qt(Ut){var zt=_t.parseCST(Ut);yt.addOrigRange(zt);for(var yn=zt.map(function(Ot){return new _t.Document({merge:!1,keepCstNodes:!0}).parse(Ot)}),ye=new g.default(Ut),K=[],I={text:Ut,locator:ye,comments:K,transformOffset:function(Ot){return jt.transformOffset(Ot,I)},transformRange:function(Ot){return it.transformRange(Ot,I)},transformNode:function(Ot){return Pe.transformNode(Ot,I)},transformContent:function(Ot){return Ke.transformContent(Ot,I)}},H=0,le=yn;H<le.length;H++)for(var xe=le[H],Ie=0,Ee=xe.errors;Ie<Ee.length;Ie++){var $e=Ee[Ie];if(!($e instanceof _t.YAMLSemanticError&&$e.message==='Map keys must be unique; "<<" is repeated'))throw mt.transformError($e,I)}yn.forEach(function(Ot){return Le.removeCstBlankLine(Ot.cstNode)});var At=Ce.createRoot(I.transformRange({origStart:0,origEnd:I.text.length}),yn.map(I.transformNode),K);return W.attachComments(At),Mt.updatePositions(At),Nt.removeFakeNodes(At),At}Y.parse=qt}}),Sf=p({"node_modules/yaml-unist-parser/lib/index.js"(Y){P(),Y.__esModule=!0;var g=(Kn(),se(Je));g.__exportStar(Qs(),Y)}});P();var xf=ue(),{hasPragma:Sn}=ke(),{locStart:nl,locEnd:wf}=Be();function Ff(Y){let{parse:g}=Sf();try{let W=g(Y);return delete W.comments,W}catch(W){throw W!=null&&W.position?xf(W.message,W.position):W}}var rl={astFormat:"yaml",parse:Ff,hasPragma:Sn,locStart:nl,locEnd:wf};s.exports={parsers:{yaml:rl}}});return r()})})(Om);var jm=Om.exports,xD=AD(jm),wD=Ts({__proto__:null,default:xD},[jm]),FD=Object.getOwnPropertyNames,ND=(e,t)=>function(){return t||(0,e[FD(e)[0]])((t={exports:{}}).exports,t),t.exports},TD=ND({"node_modules/yaml-language-server/node_modules/ajv/dist/refs/json-schema-draft-07.json"(e,t){t.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-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}}});function $m(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 Gc(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function _D(e){return $m(e,"(?i)")?new RegExp(e.substring(4),"i"):new RegExp(e)}function ka(e){return typeof e=="boolean"}var ji;(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"})(ji||(ji={}));var Rm;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Ds.Markdown,Ds.PlainText],commitCharactersSupport:!0}}}}})(Rm||(Rm={}));function kD(e,t){return t.length===0?e:e.replace(/{(\d+)}/g,(n,[r])=>r in t?t[r]:n)}var LD=(e,t,...n)=>kD(t,n);function Vs(){return LD}var Us=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)}}(),Do=Vs();Do("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),Do("dateTimeFormatWarning","String is not a RFC3339 date-time."),Do("dateFormatWarning","String is not a RFC3339 date."),Do("timeFormatWarning","String is not a RFC3339 time."),Do("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){Us(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){Us(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){Us(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){Us(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){Us(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){Us(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){Us(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 PD(e){return ka(e)?e?{}:{not:{}}:e}var Vm;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(Vm||(Vm={})),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 Du(e){return ly(e)}function BD(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,v=n.length;l<v;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 p=n[l-1],j=1;n[l+1]==="*";)j++,l++;var R=n[l+1];if(!s)r+=".*";else{var se=j>1&&(p==="/"||p===void 0||p==="{"||p===",")&&(R==="/"||R===void 0||R===","||R==="}");se?(R==="/"?l++:p==="/"&&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 As=Vs(),ID="!",MD="/",OD=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]!==ID;a||(s=s.substring(1)),s.length>0&&(s[0]===MD&&(s=s.substring(1)),this.globWrappers.push({regexp:BD("**/"+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}(),jD=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}(),bo=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 PD(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=_D(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}(),$D=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=Qr.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=Cs(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=Cs(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(Cs),v=this.addFilePatternAssociation(u.pattern,l);this.contributionAssociations.push(v)}},e.prototype.addSchemaHandle=function(t,n){var r=new jD(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 OD(t,n);return this.filePatternAssociations.push(r),r},e.prototype.registerExternalSchema=function(t,n,r){var i=Cs(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=Cs(t),r=this.schemasById[n];return r?r.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(t){if(!this.requestService){var n=As("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",bu(t));return this.promise.resolve(new $i({},[n]))}return this.requestService(t).then(function(r){if(!r){var i=As("json.schema.nocontent","Unable to load schema from '{0}': No content.",bu(t));return new $i({},[i])}var s={},a=[];s=uy(r,a);var o=a.length?[As("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",bu(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]),Gc(i,".")&&(i=i.substr(0,i.length-1)),new $i({},[As("json.schema.nocontent","Unable to load schema from '{0}': {1}.",bu(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=Cs(a.$schema);if(o==="http://json-schema.org/draft-03/schema")return this.promise.resolve(new bo({},[As("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));o==="https://json-schema.org/draft/2019-09/schema"&&s.push(As("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var u=this.contextService,l=function(R,se){if(!se)return R;var te=R;return se[0]==="/"&&(se=se.substr(1)),se.split("/").some(function(P){return P=P.replace(/~1/g,"/").replace(/~0/g,"~"),te=te[P],!te}),te},v=function(R,se,te,P){var ue=P?decodeURIComponent(P):void 0,ke=l(se,ue);if(ke)for(var Be in ke)ke.hasOwnProperty(Be)&&!R.hasOwnProperty(Be)&&(R[Be]=ke[Be]);else s.push(As("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",ue,te))},p=function(R,se,te,P,ue){u&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(se)&&(se=u.resolveRelativePath(se,P)),se=Cs(se);var ke=i.getOrAddSchemaHandle(se);return ke.getUnresolvedSchema().then(function(Be){if(ue[se]=!0,Be.errors.length){var Je=te?se+"#"+te:se;s.push(As("json.schema.problemloadingref","Problems loading reference '{0}': {1}",Je,Be.errors[0]))}return v(R,Be.schema,se,te),j(R,Be.schema,se,ke.dependencies)})},j=function(R,se,te,P){if(!R||typeof R!="object")return Promise.resolve(null);for(var ue=[R],ke=[],Be=[],Je=function(){for(var we=[],_e=0;_e<arguments.length;_e++)we[_e]=arguments[_e];for(var Re=0,he=we;Re<he.length;Re++){var ct=he[Re];typeof ct=="object"&&ue.push(ct)}},ve=function(){for(var we=[],_e=0;_e<arguments.length;_e++)we[_e]=arguments[_e];for(var Re=0,he=we;Re<he.length;Re++){var ct=he[Re];if(typeof ct=="object")for(var Pt in ct){var un=Pt,fn=ct[un];typeof fn=="object"&&ue.push(fn)}}},Oe=function(){for(var we=[],_e=0;_e<arguments.length;_e++)we[_e]=arguments[_e];for(var Re=0,he=we;Re<he.length;Re++){var ct=he[Re];if(Array.isArray(ct))for(var Pt=0,un=ct;Pt<un.length;Pt++){var fn=un[Pt];typeof fn=="object"&&ue.push(fn)}}},Et=function(we){for(var _e=[];we.$ref;){var Re=we.$ref,he=Re.split("#",2);if(delete we.$ref,he[0].length>0){Be.push(p(we,he[0],he[1],te,P));return}else _e.indexOf(Re)===-1&&(v(we,se,te,he[1]),_e.push(Re))}Je(we.items,we.additionalItems,we.additionalProperties,we.not,we.contains,we.propertyNames,we.if,we.then,we.else),ve(we.definitions,we.properties,we.patternProperties,we.dependencies),Oe(we.anyOf,we.allOf,we.oneOf,we.items)};ue.length;){var Ft=ue.pop();ke.indexOf(Ft)>=0||(ke.push(Ft),Et(Ft))}return i.promise.all(Be)};return j(a,a,n,r).then(function(R){return new bo(a,s)})},e.prototype.getSchemaForResource=function(t,n){if(n&&n.root&&n.root.type==="object"){var r=n.root.properties.filter(function(ue){return ue.keyNode.value==="$schema"&&ue.valueNode&&ue.valueNode.type==="string"});if(r.length>0){var i=r[0].valueNode;if(i&&i.type==="string"){var s=Du(i);if(s&&$m(s,".")&&this.contextService&&(s=this.contextService.resolveRelativePath(s,t)),s){var a=Cs(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=VD(t),v=0,p=this.filePatternAssociations;v<p.length;v++){var j=p[v];if(j.matchesPattern(l))for(var R=0,se=j.getURIs();R<se.length;R++){var te=se[R];o[te]||(u.push(te),o[te]=!0)}}var P=u.length>0?this.createCombinedSchema(t,u).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:t,resolvedSchema:P},P},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/"+RD++;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}(),RD=0;function Cs(e){try{return Qr.parse(e).toString()}catch{return e}}function VD(e){try{return Qr.parse(e).with({fragment:null,query:null}).toString()}catch{return e}}function bu(e){try{var t=Qr.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}function UD(e){return e.replace(/[-\\{}+?|^$.,[\]()#\s]/g,"\\$&").replace(/[*]/g,".*")}function qD(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 Um(e){try{return new RegExp(e,"u")}catch{return new RegExp(e)}}function WD(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 vo(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(!vo(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(),!vo(i,s))return!1;for(n=0;n<i.length;n++)if(!vo(e[i[n]],t[i[n]]))return!1}return!0}function _i(e){return typeof e=="number"}function Ws(e){return typeof e<"u"}function La(e){return typeof e=="boolean"}function vu(e){return typeof e=="string"}function GD(e){return Symbol.iterator in Object(e)}function ns(e){var t;return e?e instanceof Error&&(t=e.stack)!=null?t:e.toString():"null"}function Jc(e){return e.title?e.title:e.$id?qm(e.$id):e.$ref||e._$ref?qm(e.$ref||e._$ref):e.closestTitle||(Array.isArray(e.type)?e.type.join(" | "):e.type)}function qm(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 Wm(e,t){const n=Qr.parse(t);let r=Rs.basename(n.fsPath);return Rs.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 JD(e){return e.type!=="object"&&!Yc(e)}function Yc(e){return!!(e.anyOf||e.allOf||e.oneOf)}var YD=Vs(),HD=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:Yn.Error)},e.prototype.doValidation=function(t,n,r,i){var s=this;if(!this.validationEnabled)return this.promise.resolve([]);var a=[],o={},u=function(p){var j=p.range.start.line+" "+p.range.start.character+" "+p.message;o[j]||(o[j]=!0,a.push(p))},l=function(p){var j=r?.trailingCommas?Eu(r.trailingCommas):Yn.Error,R=r?.comments?Eu(r.comments):s.commentSeverity,se=r?.schemaValidation?Eu(r.schemaValidation):Yn.Warning,te=r?.schemaRequest?Eu(r.schemaRequest):Yn.Warning;if(p){if(p.errors.length&&n.root&&te){var P=n.root,ue=P.type==="object"?P.properties[0]:void 0;if(ue&&ue.keyNode.value==="$schema"){var ke=ue.valueNode||ue,Be=In.create(t.positionAt(ke.offset),t.positionAt(ke.offset+ke.length));u(xi.create(Be,p.errors[0],te,ji.SchemaResolveError))}else{var Be=In.create(t.positionAt(P.offset),t.positionAt(P.offset+1));u(xi.create(Be,p.errors[0],te,ji.SchemaResolveError))}}else if(se){var Je=n.validate(t,p.schema,se);Je&&Je.forEach(u)}Gm(p.schema)&&(R=void 0),Jm(p.schema)&&(j=void 0)}for(var ve=0,Oe=n.syntaxErrors;ve<Oe.length;ve++){var Et=Oe[ve];if(Et.code===ji.TrailingComma){if(typeof j!="number")continue;Et.severity=j}u(Et)}if(typeof R=="number"){var Ft=YD("InvalidCommentToken","Comments are not permitted in JSON.");n.comments.forEach(function(we){u(xi.create(we,Ft,R,ji.CommentNotPermitted))})}return a};if(i){var v=i.id||"schemaservice://untitled/"+zD++;return this.jsonSchemaService.resolveSchemaContent(new $i(i),v,{}).then(function(p){return l(p)})}return this.jsonSchemaService.getSchemaForResource(t.uri,n).then(function(p){return l(p)})},e}(),zD=0;function Gm(e){if(e&&typeof e=="object"){if(ka(e.allowComments))return e.allowComments;if(e.allOf)for(var t=0,n=e.allOf;t<n.length;t++){var r=n[t],i=Gm(r);if(ka(i))return i}}}function Jm(e){if(e&&typeof e=="object"){if(ka(e.allowTrailingCommas))return e.allowTrailingCommas;var t=e;if(ka(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(e.allOf)for(var n=0,r=e.allOf;n<r.length;n++){var i=r[n],s=Jm(i);if(ka(s))return s}}}function Eu(e){switch(e){case"error":return Yn.Error;case"warning":return Yn.Warning;case"ignore":return}}var Ym=48,XD=57,QD=65,Au=97,KD=102;function kr(e){return e<Ym?0:e<=XD?e-Ym:(e<Au&&(e+=Au-QD),e>=Au&&e<=KD?e-Au+10:0)}function ZD(e){if(e[0]==="#")switch(e.length){case 4:return{red:kr(e.charCodeAt(1))*17/255,green:kr(e.charCodeAt(2))*17/255,blue:kr(e.charCodeAt(3))*17/255,alpha:1};case 5:return{red:kr(e.charCodeAt(1))*17/255,green:kr(e.charCodeAt(2))*17/255,blue:kr(e.charCodeAt(3))*17/255,alpha:kr(e.charCodeAt(4))*17/255};case 7:return{red:(kr(e.charCodeAt(1))*16+kr(e.charCodeAt(2)))/255,green:(kr(e.charCodeAt(3))*16+kr(e.charCodeAt(4)))/255,blue:(kr(e.charCodeAt(5))*16+kr(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(kr(e.charCodeAt(1))*16+kr(e.charCodeAt(2)))/255,green:(kr(e.charCodeAt(3))*16+kr(e.charCodeAt(4)))/255,blue:(kr(e.charCodeAt(5))*16+kr(e.charCodeAt(6)))/255,alpha:(kr(e.charCodeAt(7))*16+kr(e.charCodeAt(8)))/255}}}var eb=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"||Gc(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,v=s.items;l<v.length;l++){var p=v[l];if(p.type==="object")for(var j=0,R=p.properties;j<R.length;j++){var se=R[j];if(se.keyNode.value==="key"&&se.valueNode){var te=ga.create(t.uri,Ss(t,p));if(u.push({name:Du(se.valueNode),kind:Ji.Function,location:te}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var P=[{node:s,containerName:""}],ue=0,ke=!1,Be=[],Je=function(Oe,Et){Oe.type==="array"?Oe.items.forEach(function(Ft){Ft&&P.push({node:Ft,containerName:Et})}):Oe.type==="object"&&Oe.properties.forEach(function(Ft){var we=Ft.valueNode;if(we)if(a>0){a--;var _e=ga.create(t.uri,Ss(t,Ft)),Re=Et?Et+"."+Ft.keyNode.value:Ft.keyNode.value;Be.push({name:i.getKeyLabel(Ft),kind:i.getSymbolKind(we.type),location:_e,containerName:Et}),P.push({node:we,containerName:Re})}else ke=!0})};ue<P.length;){var ve=P[ue++];Je(ve.node,ve.containerName)}return ke&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),Be},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"||Gc(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,v=s.items;l<v.length;l++){var p=v[l];if(p.type==="object")for(var j=0,R=p.properties;j<R.length;j++){var se=R[j];if(se.keyNode.value==="key"&&se.valueNode){var te=Ss(t,p),P=Ss(t,se.keyNode);if(u.push({name:Du(se.valueNode),kind:Ji.Function,range:te,selectionRange:P}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var ue=[],ke=[{node:s,result:ue}],Be=0,Je=!1,ve=function(Et,Ft){Et.type==="array"?Et.items.forEach(function(we,_e){if(we)if(a>0){a--;var Re=Ss(t,we),he=Re,ct=String(_e),Pt={name:ct,kind:i.getSymbolKind(we.type),range:Re,selectionRange:he,children:[]};Ft.push(Pt),ke.push({result:Pt.children,node:we})}else Je=!0}):Et.type==="object"&&Et.properties.forEach(function(we){var _e=we.valueNode;if(_e)if(a>0){a--;var Re=Ss(t,we),he=Ss(t,we.keyNode),ct=[],Pt={name:i.getKeyLabel(we),kind:i.getSymbolKind(_e.type),range:Re,selectionRange:he,children:ct,detail:i.getDetail(_e)};Ft.push(Pt),ke.push({result:ct,node:_e})}else Je=!0})};Be<ke.length;){var Oe=ke[Be++];ve(Oe.node,Oe.result)}return Je&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),ue},e.prototype.getSymbolKind=function(t){switch(t){case"object":return Ji.Module;case"string":return Ji.String;case"number":return Ji.Number;case"array":return Ji.Array;case"boolean":return Ji.Boolean;default:return Ji.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,v=o;l<v.length;l++){var p=v[l];if(!p.inverted&&p.schema&&(p.schema.format==="color"||p.schema.format==="color-hex")&&p.node&&p.node.type==="string"){var j=String(p.node.offset);if(!u[j]){var R=ZD(Du(p.node));if(R){var se=Ss(t,p.node);s.push({color:R,range:se})}if(u[j]=!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(p){var j=p.toString(16);return j.length!==2?"0"+j:j}var v;return r.alpha===1?v="#"+l(a)+l(o)+l(u):v="#"+l(a)+l(o)+l(u)+l(Math.round(r.alpha*255)),s.push({label:v,textEdit:Fr.replace(i,JSON.stringify(v))}),s},e}();function Ss(e,t){return In.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var Mn=Vs(),Hm={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}}},tb={id:Mn("schema.json.id","A unique identifier for the schema."),$schema:Mn("schema.json.$schema","The schema to verify this document against."),title:Mn("schema.json.title","A descriptive title of the element."),description:Mn("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:Mn("schema.json.default","A default value. Used by suggestions."),multipleOf:Mn("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:Mn("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:Mn("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:Mn("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:Mn("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:Mn("schema.json.maxLength","The maximum length of a string."),minLength:Mn("schema.json.minLength","The minimum length of a string."),pattern:Mn("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:Mn("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:Mn("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:Mn("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:Mn("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:Mn("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:Mn("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:Mn("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:Mn("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:Mn("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:Mn("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:Mn("schema.json.properties","A map of property names to schemas for each property."),patternProperties:Mn("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:Mn("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:Mn("schema.json.enum","The set of literal values that are valid."),type:Mn("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:Mn("schema.json.format","Describes the format expected for the value."),allOf:Mn("schema.json.allOf","An array of schemas, all of which must match."),anyOf:Mn("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:Mn("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:Mn("schema.json.not","A schema which must not match."),$id:Mn("schema.json.$id","A unique identifier for the schema."),$ref:Mn("schema.json.$ref","Reference a definition hosted on any location."),$comment:Mn("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:Mn("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:Mn("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:Mn("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:Mn("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:Mn("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:Mn("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:Mn("schema.json.contentEncoding","Describes the content encoding of a string property."),if:Mn("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:Mn("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:Mn("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(zm in Hm.schemas){Cu=Hm.schemas[zm];for(Pa in Cu.properties)Su=Cu.properties[Pa],typeof Su=="boolean"&&(Su=Cu.properties[Pa]={}),Hc=tb[Pa],Hc?Su.description=Hc:console.log(Pa+": localize('schema.json."+Pa+`', "")`)}var Cu,Su,Hc,Pa,zm;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=ib(t,s);if(a){var o=e.positionAt(a.offset);n.push({target:e.uri+"#"+(o.line+1)+","+(o.character+1),range:rb(e,r.valueNode)})}}return!0}),Promise.resolve(n)}function rb(e,t){return In.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}function ib(e,t){var n=sb(t);return n?zc(n,e.root):null}function zc(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?zc(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?zc(e,s):null}return null}function sb(e){return e==="#"?[]:e[0]!=="#"||e[1]!=="/"?null:e.substring(2).split(/\//).map(ab)}function ab(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function xu(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 Xm(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 Qm(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 tr=Vs(),Xc="Property {0} is not allowed.",ob={"color-hex":{errorMessage:tr("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:tr("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:tr("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:tr("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:tr("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,}))$/}},wu="YAML",Km="yaml-schema: ",ri;(function(e){e.missingRequiredPropWarning="missingRequiredPropWarning",e.typeMismatchWarning="typeMismatchWarning",e.constWarning="constWarning"})(ri||(ri={}));var ub={[ri.missingRequiredPropWarning]:'Missing property "{0}".',[ri.typeMismatchWarning]:'Incorrect type. Expected "{0}".',[ri.constWarning]:"Value must be {0}."},Gs=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()+"}":"")}},lb=class extends Gs{constructor(e,t,n,r){super(e,t,n,r),this.type="null",this.value=null}},cb=class extends Gs{constructor(e,t,n,r,i){super(e,t,r,i),this.type="boolean",this.value=n}},fb=class extends Gs{constructor(e,t,n,r){super(e,t,n,r),this.type="array",this.items=[]}get children(){return this.items}},pb=class extends Gs{constructor(e,t,n,r){super(e,t,n,r),this.type="number",this.isInteger=!0,this.value=Number.NaN}},Fu=class extends Gs{constructor(e,t,n,r){super(e,t,n,r),this.type="string",this.value=""}},db=class extends Gs{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]}},hb=class extends Gs{constructor(e,t,n,r){super(e,t,n,r),this.type="object",this.properties=[]}get children(){return this.properties}};function ii(e){if(e!==void 0)return La(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 Zm;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(Zm||(Zm={}));var e0=class{constructor(e=-1,t=null){this.focusOffset=e,this.exclude=t,this.schemas=[]}add(e){this.schemas.push(e)}merge(e){this.schemas.push(...e.schemas)}include(e){return(this.focusOffset===-1||t0(e,this.focusOffset))&&e!==this.exclude}newSub(){return new e0(-1,this.exclude)}},Eo=class{constructor(){}get schemas(){return[]}add(e){}merge(e){}include(e){return!0}newSub(){return this}};Eo.instance=new Eo;var ci=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===ji.EnumValueMismatch&&(t.message=tr("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!==ri.missingRequiredPropWarning||Qm(u.problemArgs,a.problemArgs)));o&&(o.problemArgs.length&&(o.problemArgs.filter(u=>!a.problemArgs.includes(u)).forEach(u=>a.problemArgs.push(u)),a.message=Nu(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(Km,"");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 Ba(e){switch(e.type){case"array":return e.children.map(Ba);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]=Ba(s))}return t}case"null":case"string":case"number":case"boolean":return e.value;default:return}}function t0(e,t,n=!1){return t>=e.offset&&t<=e.offset+e.length||n&&t===e.offset+e.length}function n0(e,t,n){if(n===void 0&&(n=!1),t0(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=n0(r[i],t,n);if(s)return s}return e}}var mb=class{constructor(e,t=[],n=[]){this.root=e,this.syntaxErrors=t,this.comments=n}getNodeFromOffset(e,t=!1){if(this.root)return n0(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 ci(this.isKubernetes);return Wr(this.root,t,t,n,Eo.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=xi.create(i,r.message,r.severity,r.code?r.code:ji.Undefined,r.source);return s.data={schemaUri:r.schemaUri,...r.data},s})}return null}getMatchingSchemas(e,t=-1,n=null,r){const i=new e0(t,n);return this.root&&e&&Wr(this.root,e,e,new ci(this.isKubernetes),i,{isKubernetes:this.isKubernetes,disableAdditionalProperties:this.disableAdditionalProperties,uri:this.uri,callFromAutoComplete:r}),i.schemas}};function Wr(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":j(e,t,r,i);break;case"array":p(e,t,r,i);break;case"string":v(e,t,r);break;case"number":l(e,t,r);break;case"property":return Wr(e.valueNode,t,t,r,i,s)}u(),i.add({node:e,schema:t});function u(){function te(ve){return e.type===ve||ve==="integer"&&e.type==="number"&&e.isInteger}if(Array.isArray(t.type))t.type.some(te)||r.problems.push({location:{offset:e.offset,length:e.length},severity:Yn.Warning,message:t.errorMessage||tr("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", ")),source:fr(t,n),schemaUri:pr(t,n)});else if(t.type&&!te(t.type)){const ve=t.type==="object"?Jc(t):t.type;r.problems.push({location:{offset:e.offset,length:e.length},severity:Yn.Warning,message:t.errorMessage||Nu(ri.typeMismatchWarning,[ve]),source:fr(t,n),schemaUri:pr(t,n),problemType:ri.typeMismatchWarning,problemArgs:[ve]})}if(Array.isArray(t.allOf))for(const ve of t.allOf)Wr(e,ii(ve),t,r,i,s);const P=ii(t.not);if(P){const ve=new ci(a),Oe=i.newSub();Wr(e,P,t,ve,Oe,s),ve.hasProblems()||r.problems.push({location:{offset:e.offset,length:e.length},severity:Yn.Warning,message:tr("notSchemaWarning","Matches a schema that is not allowed."),source:fr(t,n),schemaUri:pr(t,n)});for(const Et of Oe.schemas)Et.inverted=!Et.inverted,i.add(Et)}const ue=(ve,Oe)=>{const Et=[],Ft=[],we=[];let _e=null;for(const Re of ve){const he={...ii(Re)},ct=new ci(a),Pt=i.newSub();Wr(e,he,t,ct,Pt,s),(!ct.hasProblems()||o)&&(Et.push(he),Ft.push(he),ct.propertiesMatches===0&&we.push(he),he.format&&Ft.pop()),_e?a?_e=R(ct,_e,he,Pt):_e=se(e,Oe,ct,_e,he,Pt):_e={schema:he,validationResult:ct,matchingSchemas:Pt}}return Ft.length>1&&(Ft.length>1||we.length===0)&&Oe&&r.problems.push({location:{offset:e.offset,length:1},severity:Yn.Warning,message:tr("oneOfWarning","Matches multiple schemas when only one must validate."),source:fr(t,n),schemaUri:pr(t,n)}),_e!==null&&(r.merge(_e.validationResult),r.propertiesMatches+=_e.validationResult.propertiesMatches,r.propertiesValueMatches+=_e.validationResult.propertiesValueMatches,i.merge(_e.matchingSchemas)),Et.length};Array.isArray(t.anyOf)&&ue(t.anyOf,!1),Array.isArray(t.oneOf)&&ue(t.oneOf,!0);const ke=(ve,Oe)=>{const Et=new ci(a),Ft=i.newSub();Wr(e,ii(ve),Oe,Et,Ft,s),r.merge(Et),r.propertiesMatches+=Et.propertiesMatches,r.propertiesValueMatches+=Et.propertiesValueMatches,i.merge(Ft)},Be=(ve,Oe,Et,Ft)=>{const we=ii(ve),_e=new ci(a),Re=i.newSub();Wr(e,we,Oe,_e,Re,s),i.merge(Re);const{filePatternAssociation:he}=we;he&&(new Ob(he).matchesPattern(s.uri)||_e.problems.push({location:{offset:e.offset,length:e.length},severity:Yn.Warning,message:tr("ifFilePatternAssociation",`filePatternAssociation '${he}' does not match with doc uri '${s.uri}'.`),source:fr(t,Oe),schemaUri:pr(t,Oe)})),_e.hasProblems()?Ft&&ke(Ft,Oe):Et&&ke(Et,Oe)},Je=ii(t.if);if(Je&&Be(Je,t,ii(t.then),ii(t.else)),Array.isArray(t.enum)){const ve=Ba(e);let Oe=!1;for(const Et of t.enum)if(vo(ve,Et)||o&&vu(ve)&&vu(Et)&&ve&&Et.startsWith(ve)){Oe=!0;break}r.enumValues=t.enum,r.enumValueMatch=Oe,Oe||r.problems.push({location:{offset:e.offset,length:e.length},severity:Yn.Warning,code:ji.EnumValueMismatch,message:t.errorMessage||tr("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map(Et=>JSON.stringify(Et)).join(", ")),source:fr(t,n),schemaUri:pr(t,n)})}if(Ws(t.const)){const ve=Ba(e);vo(ve,t.const)?r.enumValueMatch=!0:(r.problems.push({location:{offset:e.offset,length:e.length},severity:Yn.Warning,code:ji.EnumValueMismatch,problemType:ri.constWarning,message:t.errorMessage||Nu(ri.constWarning,[JSON.stringify(t.const)]),source:fr(t,n),schemaUri:pr(t,n),problemArgs:[JSON.stringify(t.const)]}),r.enumValueMatch=!1),r.enumValues=[t.const]}t.deprecationMessage&&e.parent&&r.problems.push({location:{offset:e.parent.offset,length:e.parent.length},severity:Yn.Warning,message:t.deprecationMessage,source:fr(t,n),schemaUri:pr(t,n)})}function l(te,P,ue){const ke=te.value;_i(P.multipleOf)&&ke%P.multipleOf!==0&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("multipleOfWarning","Value is not divisible by {0}.",P.multipleOf),source:fr(P,n),schemaUri:pr(P,n)});function Be(we,_e){if(_i(_e))return _e;if(La(_e)&&_e)return we}function Je(we,_e){if(!La(_e)||!_e)return we}const ve=Be(P.minimum,P.exclusiveMinimum);_i(ve)&&ke<=ve&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",ve),source:fr(P,n),schemaUri:pr(P,n)});const Oe=Be(P.maximum,P.exclusiveMaximum);_i(Oe)&&ke>=Oe&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",Oe),source:fr(P,n),schemaUri:pr(P,n)});const Et=Je(P.minimum,P.exclusiveMinimum);_i(Et)&&ke<Et&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("minimumWarning","Value is below the minimum of {0}.",Et),source:fr(P,n),schemaUri:pr(P,n)});const Ft=Je(P.maximum,P.exclusiveMaximum);_i(Ft)&&ke>Ft&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("maximumWarning","Value is above the maximum of {0}.",Ft),source:fr(P,n),schemaUri:pr(P,n)})}function v(te,P,ue){if(_i(P.minLength)&&te.value.length<P.minLength&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("minLengthWarning","String is shorter than the minimum length of {0}.",P.minLength),source:fr(P,n),schemaUri:pr(P,n)}),_i(P.maxLength)&&te.value.length>P.maxLength&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("maxLengthWarning","String is longer than the maximum length of {0}.",P.maxLength),source:fr(P,n),schemaUri:pr(P,n)}),vu(P.pattern)&&(Um(P.pattern).test(te.value)||ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:P.patternErrorMessage||P.errorMessage||tr("patternWarning",'String does not match the pattern of "{0}".',P.pattern),source:fr(P,n),schemaUri:pr(P,n)})),P.format)switch(P.format){case"uri":case"uri-reference":{let ke;if(!te.value)ke=tr("uriEmpty","URI expected.");else try{!Qr.parse(te.value).scheme&&P.format==="uri"&&(ke=tr("uriSchemeMissing","URI with a scheme is expected."))}catch(Be){ke=Be.message}ke&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:P.patternErrorMessage||P.errorMessage||tr("uriFormatWarning","String is not a URI: {0}",ke),source:fr(P,n),schemaUri:pr(P,n)})}break;case"color-hex":case"date-time":case"date":case"time":case"email":{const ke=ob[P.format];(!te.value||!ke.pattern.exec(te.value))&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:P.patternErrorMessage||P.errorMessage||ke.errorMessage,source:fr(P,n),schemaUri:pr(P,n)})}break}}function p(te,P,ue,ke){if(Array.isArray(P.items)){const Je=P.items;for(let ve=0;ve<Je.length;ve++){const Oe=Je[ve],Et=ii(Oe),Ft=new ci(a),we=te.items[ve];we?(Wr(we,Et,P,Ft,ke,s),ue.mergePropertyMatch(Ft),ue.mergeEnumValues(Ft)):te.items.length>=Je.length&&ue.propertiesValueMatches++}if(te.items.length>Je.length)if(typeof P.additionalItems=="object")for(let ve=Je.length;ve<te.items.length;ve++){const Oe=new ci(a);Wr(te.items[ve],P.additionalItems,P,Oe,ke,s),ue.mergePropertyMatch(Oe),ue.mergeEnumValues(Oe)}else P.additionalItems===!1&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",Je.length),source:fr(P,n),schemaUri:pr(P,n)})}else{const Je=ii(P.items);if(Je){const ve=new ci(a);te.items.forEach(Oe=>{if(Je.oneOf&&Je.oneOf.length===1){const Et=Je.oneOf[0],Ft={...ii(Et)};Ft.title=P.title,Ft.closestTitle=P.closestTitle,Wr(Oe,Ft,P,ve,ke,s),ue.mergePropertyMatch(ve),ue.mergeEnumValues(ve)}else Wr(Oe,Je,P,ve,ke,s),ue.mergePropertyMatch(ve),ue.mergeEnumValues(ve)})}}const Be=ii(P.contains);if(Be&&(te.items.some(ve=>{const Oe=new ci(a);return Wr(ve,Be,P,Oe,Eo.instance,s),!Oe.hasProblems()})||ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:P.errorMessage||tr("requiredItemMissingWarning","Array does not contain required item."),source:fr(P,n),schemaUri:pr(P,n)})),_i(P.minItems)&&te.items.length<P.minItems&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("minItemsWarning","Array has too few items. Expected {0} or more.",P.minItems),source:fr(P,n),schemaUri:pr(P,n)}),_i(P.maxItems)&&te.items.length>P.maxItems&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("maxItemsWarning","Array has too many items. Expected {0} or fewer.",P.maxItems),source:fr(P,n),schemaUri:pr(P,n)}),P.uniqueItems===!0){const Je=Ba(te);Je.some((Oe,Et)=>Et!==Je.lastIndexOf(Oe))&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("uniqueItemsWarning","Array has duplicate items."),source:fr(P,n),schemaUri:pr(P,n)})}}function j(te,P,ue,ke){var Be;const Je=Object.create(null),ve=[],Oe=[...te.properties];for(;Oe.length>0;){const we=Oe.pop(),_e=we.keyNode.value;if(_e==="<<"&&we.valueNode)switch(we.valueNode.type){case"object":{Oe.push(...we.valueNode.properties);break}case"array":{we.valueNode.items.forEach(Re=>{Re&&GD(Re.properties)&&Oe.push(...Re.properties)});break}}else Je[_e]=we.valueNode,ve.push(_e)}if(Array.isArray(P.required)){for(const we of P.required)if(Je[we]===void 0){const _e=te.parent&&te.parent.type==="property"&&te.parent.keyNode,Re=_e?{offset:_e.offset,length:_e.length}:{offset:te.offset,length:1};ue.problems.push({location:Re,severity:Yn.Warning,message:Nu(ri.missingRequiredPropWarning,[we]),source:fr(P,n),schemaUri:pr(P,n),problemArgs:[we],problemType:ri.missingRequiredPropWarning})}}const Et=we=>{let _e=ve.indexOf(we);for(;_e>=0;)ve.splice(_e,1),_e=ve.indexOf(we)};if(P.properties)for(const we of Object.keys(P.properties)){Et(we);const _e=P.properties[we],Re=Je[we];if(Re)if(La(_e))if(_e)ue.propertiesMatches++,ue.propertiesValueMatches++;else{const he=Re.parent;ue.problems.push({location:{offset:he.keyNode.offset,length:he.keyNode.length},severity:Yn.Warning,message:P.errorMessage||tr("DisallowedExtraPropWarning",Xc,we),source:fr(P,n),schemaUri:pr(P,n)})}else{_e.url=(Be=P.url)!=null?Be:n.url;const he=new ci(a);Wr(Re,_e,P,he,ke,s),ue.mergePropertyMatch(he),ue.mergeEnumValues(he)}}if(P.patternProperties)for(const we of Object.keys(P.patternProperties)){const _e=Um(we);for(const Re of ve.slice(0))if(_e.test(Re)){Et(Re);const he=Je[Re];if(he){const ct=P.patternProperties[we];if(La(ct))if(ct)ue.propertiesMatches++,ue.propertiesValueMatches++;else{const Pt=he.parent;ue.problems.push({location:{offset:Pt.keyNode.offset,length:Pt.keyNode.length},severity:Yn.Warning,message:P.errorMessage||tr("DisallowedExtraPropWarning",Xc,Re),source:fr(P,n),schemaUri:pr(P,n)})}else{const Pt=new ci(a);Wr(he,ct,P,Pt,ke,s),ue.mergePropertyMatch(Pt),ue.mergeEnumValues(Pt)}}}}if(typeof P.additionalProperties=="object")for(const we of ve){const _e=Je[we];if(_e){const Re=new ci(a);Wr(_e,P.additionalProperties,P,Re,ke,s),ue.mergePropertyMatch(Re),ue.mergeEnumValues(Re)}}else if((P.additionalProperties===!1||P.type==="object"&&P.additionalProperties===void 0&&s.disableAdditionalProperties===!0)&&ve.length>0){const we=P.properties&&Object.keys(P.properties).filter(_e=>!Je[_e]);for(const _e of ve){const Re=Je[_e];if(Re){let he=null;Re.type!=="property"?(he=Re.parent,he.type==="object"&&(he=he.properties[0])):he=Re;const ct={location:{offset:he.keyNode.offset,length:he.keyNode.length},severity:Yn.Warning,message:P.errorMessage||tr("DisallowedExtraPropWarning",Xc,_e),source:fr(P,n),schemaUri:pr(P,n)};we?.length&&(ct.data={properties:we}),ue.problems.push(ct)}}}if(_i(P.maxProperties)&&te.properties.length>P.maxProperties&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("MaxPropWarning","Object has more properties than limit of {0}.",P.maxProperties),source:fr(P,n),schemaUri:pr(P,n)}),_i(P.minProperties)&&te.properties.length<P.minProperties&&ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("MinPropWarning","Object has fewer properties than the required number of {0}",P.minProperties),source:fr(P,n),schemaUri:pr(P,n)}),P.dependencies){for(const we of Object.keys(P.dependencies))if(Je[we]){const Re=P.dependencies[we];if(Array.isArray(Re))for(const he of Re)Je[he]?ue.propertiesValueMatches++:ue.problems.push({location:{offset:te.offset,length:te.length},severity:Yn.Warning,message:tr("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",he,we),source:fr(P,n),schemaUri:pr(P,n)});else{const he=ii(Re);if(he){const ct=new ci(a);Wr(te,he,P,ct,ke,s),ue.mergePropertyMatch(ct),ue.mergeEnumValues(ct)}}}}const Ft=ii(P.propertyNames);if(Ft)for(const we of te.properties){const _e=we.keyNode;_e&&Wr(_e,Ft,P,ue,Eo.instance,s)}}function R(te,P,ue,ke){const Be=te.compareKubernetes(P.validationResult);return Be>0?P={schema:ue,validationResult:te,matchingSchemas:ke}:Be===0&&(P.matchingSchemas.merge(ke),P.validationResult.mergeEnumValues(te)),P}function se(te,P,ue,ke,Be,Je){if(!P&&!ue.hasProblems()&&(!ke.validationResult.hasProblems()||o))ke.matchingSchemas.merge(Je),ke.validationResult.propertiesMatches+=ue.propertiesMatches,ke.validationResult.propertiesValueMatches+=ue.propertiesValueMatches;else{const ve=ue.compareGeneric(ke.validationResult);ve>0||ve===0&&P&&ke.schema.type==="object"&&te.type!=="null"&&te.type!==ke.schema.type?ke={schema:Be,validationResult:ue,matchingSchemas:Je}:ve===0&&(ke.matchingSchemas.merge(Je),ke.validationResult.mergeEnumValues(ue),ke.validationResult.mergeWarningGeneric(ue,[ri.missingRequiredPropWarning,ri.typeMismatchWarning,ri.constWarning]))}return ke}}function fr(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=Qr.parse(i);s.scheme==="file"&&(r=s.fsPath),r=s.toString()}}if(r)return`${Km}${r}`}return wu}function pr(e,t){var n;const r=(n=e.url)!=null?n:t.url;return r?[r]:[]}function Nu(e,t){return tr(e,ub[e],t.join(" | "))}var gb=1e3,Qc=0;function Ia(e,t,n,r){if(e||(Qc=0),!t)return null;if($r(t))return yb(t,e,n,r);if(cr(t))return Db(t,e,n,r);if(_r(t))return bb(t,e,n,r);if(Vn(t))return vb(t,e);if(Yi(t))return Qc>gb?void 0:Eb(t,e,n,r)}function yb(e,t,n,r){let i;e.flow&&!e.range?i=Ab(e):i=e.range;const s=new hb(t,e,...r0(i,r));for(const a of e.items)cr(a)&&s.properties.push(Ia(s,a,n,r));return s}function Db(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 db(t,e,...r0([a,o,u],r));if(Yi(i)){const v=new Fu(t,i,...xs(i.range));v.value=i.source,l.keyNode=v}else l.keyNode=Ia(l,i,n,r);return l.valueNode=Ia(l,s,n,r),l}function bb(e,t,n,r){const i=new fb(t,e,...xs(e.range));for(const s of e.items)if(mr(s)){const a=Ia(i,s,n,r);a&&i.children.push(a)}return i}function vb(e,t){if(e.value===null)return new lb(t,e,...xs(e.range));switch(typeof e.value){case"string":{const n=new Fu(t,e,...xs(e.range));return n.value=e.value,n}case"boolean":return new cb(t,e,e.value,...xs(e.range));case"number":{const n=new pb(t,e,...xs(e.range));return n.value=e.value,n.isInteger=Number.isInteger(n.value),n}default:{const n=new Fu(t,e,...xs(e.range));return n.value=e.source,n}}}function Eb(e,t,n,r){Qc++;const i=e.resolve(n);if(i)return Ia(t,i,n,r);{const s=new Fu(t,e,...xs(e.range));return s.value=e.source,s}}function xs(e){return[e[0],e[1]-e[0]]}function r0(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 Ab(e){let t=Number.MAX_SAFE_INTEGER,n=0;for(const r of e.items)cr(r)&&(mr(r.key)&&r.key.range&&r.key.range[0]<=t&&(t=r.key.range[0]),mr(r.value)&&r.value.range&&r.value.range[2]>=n&&(n=r.value.range[2]));return[t,n,n]}function Cb(e,t){let n;if(Sr(e,(r,i,s)=>{if(i===t)return n=s[s.length-1],Sr.BREAK}),!oo(n))return n}function Sb(e){if(e.items.length>1)return!1;const t=e.items[0];return Vn(t.key)&&Vn(t.value)&&t.key.value===""&&!t.value.value}function xb(e,t){for(const[n,r]of e.items.entries())if(t===r)return n}function wb(e,t){let n=!1;for(const r of e){if(r.type==="document")Kc([],r,i=>{var s;if(i0(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,Sr.BREAK}else if(i.type==="comment"&&i.offset<=t&&i.offset+i.source.length>=t)return n=!0,Sr.BREAK});else if(r.type==="comment"&&r.offset<=t&&r.source.length+r.offset>=t)return!0;if(n)break}return n}function i0(e){return e.start!==void 0}function Kc(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=Kc(Object.freeze(e.concat([[s,o]])),a.items[o],n);if(typeof u=="number")o=u-1;else{if(u===Sr.BREAK)return Sr.BREAK;u===Sr.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=Kc(Object.freeze(e),i[s],n);if(typeof a=="number")s=a-1;else{if(a===Sr.BREAK)return Sr.BREAK;a===Sr.REMOVE&&(i.items.splice(s,1),s-=1)}}return typeof r=="function"?r(t,e):r}var Zc=class extends mb{constructor(e){super(null,[]),this.lineCounter=e}clone(){const e=new Zc(this.lineCounter);return e.isKubernetes=this.isKubernetes,e.disableAdditionalProperties=this.disableAdditionalProperties,e.uri=this.uri,e.currentDocIndex=this.currentDocIndex,e._lineComments=this.lineComments.slice(),e.internalDocument=this._internalDocument.clone(),e}collectLineComments(){this._lineComments=[],this._internalDocument.commentBefore&&this._internalDocument.commentBefore.split(`
411
- `).forEach(t=>this._lineComments.push(`#${t}`)),Sr(this.internalDocument,(e,t)=>{t?.commentBefore&&(t?.commentBefore.split(`
412
- `)).forEach(r=>this._lineComments.push(`#${r}`)),t?.comment&&this._lineComments.push(`#${t.comment}`)}),this._internalDocument.comment&&this._lineComments.push(`#${this._internalDocument.comment}`)}set internalDocument(e){this._internalDocument=e,this.root=Ia(null,this._internalDocument.contents,this._internalDocument,this.lineCounter)}get internalDocument(){return this._internalDocument}get lineComments(){return this._lineComments||this.collectLineComments(),this._lineComments}set lineComments(e){this._lineComments=e}get errors(){return this.internalDocument.errors.map(a0)}get warnings(){return this.internalDocument.warnings.map(a0)}getNodeFromPosition(e,t,n){const r=t.getPosition(e),i=t.getLineContent(r.line);if(i.trim().length===0)return[this.findClosestNode(e,t,n),!0];const a=i.substring(r.character).match(/^([ ]+)\n?$/),o=!!a,u=a?.[1].length;let l;return Sr(this.internalDocument,(v,p)=>{if(!p)return;const j=p.range;if(!j)return;const R=()=>o&&e+u===j[2]&&Vn(p)&&p.value===null;if(j[0]<=e&&j[1]>=e||R())l=p;else return Sr.SKIP}),[l,!1]}findClosestNode(e,t,n){let r=this.internalDocument.range[2],i=this.internalDocument.range[0],s;Sr(this.internalDocument,(l,v)=>{if(!v)return;const p=v.range;if(!p)return;const j=p[1]-e;i<=p[0]&&j<=0&&Math.abs(j)<=r&&(r=Math.abs(j),i=p[0],s=v)});const a=t.getPosition(e),o=t.getLineContent(a.line),u=qD(o,a.character);return Vn(s)&&s.value===null||u===a.character&&(s=this.getProperParentByIndentation(u,s,t,"",n)),s}getProperParentByIndentation(e,t,n,r,i,s){if(!t)return this.internalDocument.contents;if(i=i||2,mr(t)&&t.range){const a=n.getPosition(t.range[0]),o=n.getLineContent(a.line);if(r=r===""?o.trim():r,r.startsWith("-")&&e===i&&r===o.trim()&&(a.character+=e),a.character>e&&a.character>0){const u=this.getParent(t);if(u)return this.getProperParentByIndentation(e,u,n,r,i,s)}else if(a.character<e){const u=this.getParent(t);if(cr(u)&&mr(u.value))return u.value;if(cr(s)&&mr(s.value))return s.value}else return t}else if(cr(t)){s=t;const a=this.getParent(t);return this.getProperParentByIndentation(e,a,n,r,i,s)}return t}getParent(e){return Cb(this.internalDocument,e)}},s0=class{constructor(e,t){this.documents=e,this.tokens=t,this.errors=[],this.warnings=[]}},Fb=class{constructor(){this.cache=new Map}getYamlDocument(e,t,n=!1){return this.ensureCache(e,t??Tu,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 s0([],[]),parserOptions:Tu});const i=this.cache.get(r);if(i.version!==e.version||t.customTags&&!Qm(i.parserOptions.customTags,t.customTags)){let s=e.getText();n&&!/\S/.test(s)&&(s=`{${s}}`);const a=kb(s,t,e);i.document=a,i.version=e.version,i.parserOptions=t}}},zi=new Fb;function a0(e){return{message:e.message,location:{start:e.pos[0],end:e.pos[1],toLineEnd:!0},severity:1,code:ji.Undefined}}var Nb=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($r(e)&&this.type==="mapping"||_r(e)&&this.type==="sequence"||typeof e=="string"&&this.type==="scalar")return e}},Tb=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 _b(e){const t=[],n=Xm(e);for(const r of n){const i=r.split(" "),s=i[0],a=i[1]&&i[1].toLowerCase()||"scalar";t.push(new Nb(s,a))}return t.push(new Tb),t}var Js=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)}},Tu={customTags:[],yamlVersion:"1.2"};function kb(e,t=Tu,n){var r;const i={strict:!1,customTags:_b(t.customTags),version:(r=t.yamlVersion)!=null?r:Tu.yamlVersion,keepSourceTokens:!0},s=new Cm(i),a=new _m;let o=!1;if(n){const R=new Js(n),se=R.getPosition(e.length);o=R.getLineContent(se.line).trim().length===0}const l=(o?new Wc:new Wc(a.addNewLine)).parse(e),v=Array.from(l),p=s.compose(v,!0,e.length),j=Array.from(p,R=>Lb(R,a));return new s0(j,v)}function Lb(e,t){const n=new Zc(t);return n.internalDocument=e,n}function Pb(e){if(e instanceof Zc){const t=e.lineComments.find(n=>ef(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 ef(e){const t=e.match(/^#\s+yaml-language-server\s*:/g);return t!==null&&t.length===1}var Bb=class{compile(){return()=>!0}},_u=Vs(),Ib=new Bb,Mb=TD(),o0=Ib.compile(Mb),u0;(function(e){e[e.delete=0]="delete",e[e.add=1]="add",e[e.deleteAll=2]="deleteAll"})(u0||(u0={}));var Ob=class{constructor(e){try{this.patternRegExp=new RegExp(UD(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}},jb=class extends $D{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(!o0(i)){const v=[];for(const p of o0.errors)v.push(`${p.instancePath} : ${p.message}`);r.push(`Schema '${Wm(e.schema,t)}' is not valid:
413
- ${v.join(`
414
- `)}`)}const a=(v,p)=>{if(!p)return v;let j=v;return p[0]==="/"&&(p=p.substr(1)),p.split("/").some(R=>(j=j[R],!j)),j},o=(v,p,j,R)=>{const se=a(p,R);if(se)for(const te in se)Object.prototype.hasOwnProperty.call(se,te)&&!Object.prototype.hasOwnProperty.call(v,te)&&(v[te]=se[te]);else r.push(_u("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",R,j))},u=(v,p,j,R,se)=>{s&&!/^\w+:\/\/.*/.test(p)&&(p=s.resolveRelativePath(p,R)),p=this.normalizeId(p);const te=this.getOrAddSchemaHandle(p);return te.getUnresolvedSchema().then(P=>{if(se[p]=!0,P.errors.length){const ue=j?p+"#"+j:p;r.push(_u("json.schema.problemloadingref","Problems loading reference '{0}': {1}",ue,P.errors[0]))}return o(v,P.schema,p,j),v.url=p,l(v,P.schema,p,te.dependencies)})},l=async(v,p,j,R)=>{if(!v||typeof v!="object")return null;const se=[v],te=[],P=[],ue=(...ve)=>{for(const Oe of ve)typeof Oe=="object"&&se.push(Oe)},ke=(...ve)=>{for(const Oe of ve)if(typeof Oe=="object")for(const Et in Oe){const Ft=Oe[Et];typeof Ft=="object"&&se.push(Ft)}},Be=(...ve)=>{for(const Oe of ve)if(Array.isArray(Oe))for(const Et of Oe)typeof Et=="object"&&se.push(Et)},Je=ve=>{const Oe=[];for(;ve.$ref;){const Et=ve.$ref,Ft=Et.split("#",2);if(ve._$ref=ve.$ref,delete ve.$ref,Ft[0].length>0){P.push(u(ve,Ft[0],Ft[1],j,R));return}else Oe.indexOf(Et)===-1&&(o(ve,p,j,Ft[1]),Oe.push(Et))}ue(ve.items,ve.additionalItems,ve.additionalProperties,ve.not,ve.contains,ve.propertyNames,ve.if,ve.then,ve.else),ke(ve.definitions,ve.properties,ve.patternProperties,ve.dependencies),Be(ve.anyOf,ve.allOf,ve.oneOf,ve.items,ve.schemaSequence)};if(j.indexOf("#")>0){const ve=j.split("#",2);if(ve[0].length>0&&ve[1].length>0){const Oe={};await u(Oe,ve[0],ve[1],j,R);for(const Et in i)Et!=="required"&&Object.prototype.hasOwnProperty.call(i,Et)&&!Object.prototype.hasOwnProperty.call(Oe,Et)&&(Oe[Et]=i[Et]);i=Oe}}for(;se.length;){const ve=se.pop();te.indexOf(ve)>=0||(te.push(ve),Je(ve))}return Promise.all(P)};return await l(i,i,t,n),new bo(i,r)}getSchemaForResource(e,t){const n=()=>{let a=Pb(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(Rs.isAbsolute(a))a=Qr.file(a).toString();else{const u=Qr.parse(e);a=Qr.file(Rs.resolve(Rs.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 bo(u.schema.schemaSequence[t.currentDocIndex]):u))},i=()=>{const a=Object.create(null),o=[];for(const l of this.filePatternAssociations)if(l.matchesPattern(e))for(const v of l.getURIs())a[v]||(o.push(v),a[v]=!0);const u=this.normalizeId(e);if(this.schemasById[u]&&o.push(u),o.length>0){const l=this.highestPrioritySchemas(o);return r(l)}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:{anyOf: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&&(r.schema.url=e),r.schema&&r.schema.schemaSequence&&r.schema.schemaSequence[t.currentDocIndex]?new bo(r.schema.schemaSequence[t.currentDocIndex]):r}async saveSchema(e,t){const n=this.normalizeId(e);return this.getOrAddSchemaHandle(n,t),this.schemaPriorityMapping.set(n,new Set().add(nf.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 Qr.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=_u("json.schema.nocontent","Unable to load schema from '{0}': No content. {1}",l0(e),n.errors);return new $i({},[i])}try{const i=ED(r);return new $i(i,[])}catch(i){const s=_u("json.schema.invalidFormat","Unable to parse content from '{0}': {1}.",l0(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 l0(e){try{const t=Qr.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}var $b=class{constructor(e,t){this.telemetry=t,this.jsonDocumentSymbols=new eb(e),this.jsonDocumentSymbols.getKeyLabel=n=>{const r=n.keyNode.internalNode;let i="";return $r(r)?i="{}":_r(r)?i="[]":i=r.source,i}}findDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){let n=[];try{const r=zi.getYamlDocument(e);if(!r||r.documents.length===0)return null;for(const i of r.documents)i.root&&(n=n.concat(this.jsonDocumentSymbols.findDocumentSymbols(e,i,t)))}catch(r){this.telemetry.sendError("yaml.documentSymbols.error",{error:ns(r)})}return n}findHierarchicalDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){let n=[];try{const r=zi.getYamlDocument(e);if(!r||r.documents.length===0)return null;for(const i of r.documents)i.root&&(n=n.concat(this.jsonDocumentSymbols.findDocumentSymbols2(e,i,t)))}catch(r){this.telemetry.sendError("yaml.hierarchicalDocumentSymbols.error",{error:ns(r)})}return n}};function c0(e,t){for(const n of e)n.isKubernetes=t}var Rb=class{constructor(e,t){this.telemetry=t,this.shouldHover=!0,this.schemaService=e}configure(e){e&&(this.shouldHover=e.hover)}doHover(e,t,n=!1){try{if(!this.shouldHover||!e)return Promise.resolve(void 0);const r=zi.getYamlDocument(e),i=e.offsetAt(t),s=xu(i,r);if(s===null)return Promise.resolve(void 0);c0(r.documents,n);const a=r.documents.indexOf(s);return s.currentDocIndex=a,this.getHover(e,t,s)}catch(r){this.telemetry.sendError("yaml.hover.error",{error:ns(r)})}}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=>({contents:{kind:"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 v=n.getMatchingSchemas(l.schema,i.offset);let p,j,R,se;const te=[];v.every(ue=>{if((ue.node===i||i.type==="property"&&i.valueNode===ue.node)&&!ue.inverted&&ue.schema){if(p=p||ue.schema.title||ue.schema.closestTitle,j=j||ue.schema.markdownDescription||ku(ue.schema.description),ue.schema.enum){const ke=ue.schema.enum.indexOf(Ba(i));ue.schema.markdownEnumDescriptions?R=ue.schema.markdownEnumDescriptions[ke]:ue.schema.enumDescriptions&&(R=ku(ue.schema.enumDescriptions[ke])),R&&(se=ue.schema.enum[ke],typeof se!="string"&&(se=JSON.stringify(se)))}ue.schema.anyOf&&qb(i,v,ue.schema)&&(p="",j="",ue.schema.anyOf.forEach((ke,Be)=>{p+=ke.title||ue.schema.closestTitle||"",j+=ke.markdownDescription||ku(ke.description)||"",Be!==ue.schema.anyOf.length-1&&(p+=" || ",j+=" || ")}),p=u(p),j=u(j)),ue.schema.examples&&ue.schema.examples.forEach(ke=>{te.push(JSON.stringify(ke))})}return!0});let P="";return p&&(P="#### "+ku(p)),j&&(P.length>0&&(P+=`
415
-
416
- `),P+=j),R&&(P.length>0&&(P+=`
417
-
418
- `),P+=`\`${Ub(se)}\`: ${R}`),te.length!==0&&(P.length>0&&(P+=`
419
-
420
- `),P+="Examples:",te.forEach(ue=>{P+=`
421
-
422
- \`\`\`${ue}\`\`\``})),P.length>0&&l.schema.url&&(P+=`
423
-
424
- Source: [${Vb(l.schema)}](${l.schema.url})`),o(P)}return null})}};function Vb(e){let t="JSON Schema";const n=e.url;if(n){const r=Qr.parse(n);t=Rs.basename(r.fsPath)}else e.title&&(t=e.title);return t}function ku(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,`$1
425
-
426
- $3`).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function Ub(e){return e.indexOf("`")!==-1?"`` "+e+" ``":e}function qb(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 Wb=class{validate(e,t){const n=[],r=new Set,i=new Set,s=new Map;Sr(t.internalDocument,(a,o,u)=>{mr(o)&&((Nr(o)||Vn(o))&&o.anchor&&(r.add(o),s.set(o,u[u.length-1])),Yi(o)&&i.add(o.resolve(t.internalDocument)))});for(const a of r)if(!i.has(a)){const o=this.getAnchorNode(s.get(a));if(o){const u=In.create(e.positionAt(o.offset),e.positionAt(o.offset+o.source.length)),l=xi.create(u,`Unused anchor "${o.source}"`,Yn.Hint,0);l.tags=[tc.Unnecessary],n.push(l)}}return n}getAnchorNode(e){if(e&&e.srcToken){const t=e.srcToken;if(i0(t))return f0(t);if(hD(t))for(const n of t.items){const r=f0(n);if(r)return r}}}};function f0(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 Gb=class{constructor(e){this.forbidMapping=e.flowMapping==="forbid",this.forbidSequence=e.flowSequence==="forbid"}validate(e,t){const n=[];return Sr(t.internalDocument,(r,i)=>{var s,a;this.forbidMapping&&$r(i)&&((s=i.srcToken)==null?void 0:s.type)==="flow-collection"&&n.push(xi.create(this.getRangeOf(e,i.srcToken),"Flow style mapping is forbidden",Yn.Error,"flowMap")),this.forbidSequence&&_r(i)&&((a=i.srcToken)==null?void 0:a.type)==="flow-collection"&&n.push(xi.create(this.getRangeOf(e,i.srcToken),"Flow style sequence is forbidden",Yn.Error,"flowSeq"))}),n}getRangeOf(e,t){return In.create(e.positionAt(t.start.offset),e.positionAt(t.end.pop().offset))}},Jb=(e,t)=>{const n=t.positionAt(e.location.start),r={start:n,end:e.location.toLineEnd?qr.create(n.line,new Js(t).getLineLength(n.line)):t.positionAt(e.location.end)};return xi.create(r,e.message,e.severity,e.code,wu)},Yb=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 HD(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 Gb(e))),this.validators.push(new Wb)}async doValidation(e,t=!1){if(!this.validationEnabled)return Promise.resolve([]);const n=[];try{const a=zi.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0);let o=0;for(const u of a.documents){u.isKubernetes=t,u.currentDocIndex=o,u.disableAdditionalProperties=this.disableAdditionalProperties,u.uri=e.uri;const l=await this.jsonValidation.doValidation(e,u),v=u;v.errors.length>0&&n.push(...v.errors),v.warnings.length>0&&n.push(...v.warnings),n.push(...l),n.push(...this.runAdditionalValidators(e,u)),o++}}catch(a){this.telemetry.sendError("yaml.validation.error",{error:ns(a)})}let r;const i=new Set,s=[];for(let a of n){if(t&&a.message===this.MATCHES_MULTIPLE)continue;if(Object.prototype.hasOwnProperty.call(a,"location")&&(a=Jb(a,e)),a.source||(a.source=wu),r&&r.message===a.message&&r.range.end.line===a.range.start.line&&Math.abs(r.range.end.character-a.range.end.character)>=1){r.range.end=a.range.end;continue}else r=a;const o=a.range.start.line+" "+a.range.start.character+" "+a.message;i.has(o)||(s.push(a),i.add(o))}return s}runAdditionalValidators(e,t){const n=[];for(const r of this.validators)n.push(...r.validate(e,t));return n}},Hb=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:[wD],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=SD.format(n,r);return[Fr.replace(In.create(qr.create(0,0),e.positionAt(n.length)),i)]}catch{return[]}}},zb=class{constructor(e){this.telemetry=e}findLinks(e){try{const t=zi.getYamlDocument(e),n=[];for(const r of t.documents)n.push(nb(e,r));return Promise.all(n).then(r=>[].concat(...r))}catch(t){this.telemetry.sendError("yaml.documentLink.error",{error:ns(t)})}}};function Xb(e,t){if(!e)return;const n=[],r=zi.getYamlDocument(e);for(const s of r.documents)r.documents.length>1&&n.push(Lu(e,s.root)),s.visit(a=>{var o;if(a.type==="object"&&((o=a.parent)==null?void 0:o.type)==="array"&&n.push(Lu(e,a)),a.type==="property"&&a.valueNode)switch(a.valueNode.type){case"array":case"object":n.push(Lu(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(Lu(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 Lu(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)),Zl.create(n.line,r.line,n.character,r.character)}var Ao;(function(e){e.JUMP_TO_SCHEMA="jumpToSchema"})(Ao||(Ao={}));var Qb=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)$s(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:`
427
- `}),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:`
428
- `},{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 Sr.SKIP});return pD(i)}},Kb=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}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 v=((s=l.data)==null?void 0:s.schemaUri)||[];for(const p of v)p&&(o.has(p)||o.set(p,[]),o.get(p).push(l))}const u=[];for(const l of o.keys()){const v=bs.create(`Jump to schema location (${Rs.basename(l)})`,Bs.create("JumpToSchema",Ao.JUMP_TO_SCHEMA,l));v.diagnostics=o.get(l),u.push(v)}return u}getTabToSpaceConverting(e,t){const n=[],r=new Js(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 v=s.range.start.character;v<=s.range.end.character&&a.charAt(v)===" ";v++)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,qr.create(s.range.end.line,s.range.start.character+o))),n.push(bs.create("Convert Tab to Spaces",Co(t.uri,[Fr.replace(l,u)]),Is.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 v=0;v<o.length;v++){const p=o.charAt(v);if(p!==" "&&p!==" "){u!==0&&(s.push(Fr.replace(In.create(a,v-u,a,v),l)),u=0,l="");break}if(p===" "&&u!==0){s.push(Fr.replace(In.create(a,v-u,a,v),l)),u=0,l="";continue}p===" "&&(l+=this.indentation,u++)}u!==0&&s.push(Fr.replace(In.create(a,0,a,r.getLineLength(a)),l))}s.length>0&&n.push(bs.create("Convert all Tabs to Spaces",Co(t.uri,s),Is.QuickFix))}return n}getUnusedAnchorsDelete(e,t){const n=[],r=new Js(t);for(const i of e)if(i.message.startsWith("Unused anchor")&&i.source===wu){const s=In.create(i.range.start,i.range.end),a=r.getText(s),o=r.getLineContent(s.end.line),u=WD(o,s.end.character);s.end.character=u;const l=bs.create(`Delete unused anchor: ${a}`,Co(t.uri,[Fr.del(s)]),Is.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(bs.create("Convert to boolean",Co(t.uri,[Fr.replace(r.range,s)]),Is.QuickFix))}}return n}getConvertToBlockStyleActions(e,t){const n=[];for(const r of e)if(r.code==="flowMap"||r.code==="flowSeq"){const i=zi.getYamlDocument(t),s=t.offsetAt(r.range.start),o=xu(s,i).getNodeFromOffset(s);if($r(o.internalNode)||_r(o.internalNode)){const u=$r(o.internalNode)?"map":"sequence",l=new Qb(this.indentation);n.push(bs.create(`Convert to block style ${u}`,Co(t.uri,[Fr.replace(r.range,l.write(o))]),Is.QuickFix))}}return n}};function Co(e,t){const n={};return n[e]=t,{changes:n}}var Zb=class{constructor(){this.commands=new Map}executeCommand(e){if(this.commands.has(e.command))return this.commands.get(e.command)(...e.arguments);throw new Error(`Command '${e.command}' not found`)}registerCommand(e,t){this.commands.set(e,t)}},ev=new Zb;function tv(e,t){const{position:n}=t,r=new Js(e);if(t.ch===`
429
- `){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(Fr.del(In.create(n,qr.create(n.line,s.length-1)))),l.push(Fr.insert(n," ".repeat(t.options.tabSize+(o?2-u:0)))),l}if(o)return[Fr.insert(n," ".repeat(t.options.tabSize))]}if(i.trimRight().endsWith("|"))return[Fr.insert(n," ".repeat(t.options.tabSize))];if(i.includes(" - ")&&!i.includes(": "))return[Fr.insert(n,"- ")];if(i.includes(" - ")&&i.includes(": "))return[Fr.insert(n," ")]}}function nv(e){const t=new Map;return e&&(e.url?e.url.startsWith("schemaservice://combinedSchema/")?p0(e,t):t.set(e.url,e):p0(e,t)),t}function p0(e,t){e.allOf&&tf(e.allOf,t),e.anyOf&&tf(e.anyOf,t),e.oneOf&&tf(e.oneOf,t)}function tf(e,t){for(const n of e)!La(n)&&n.url&&!t.has(n.url)&&t.set(n.url,n)}var rv=class{constructor(e,t){this.schemaService=e,this.telemetry=t}async getCodeLens(e){const t=[];try{const n=zi.getYamlDocument(e);let r=new Map;for(const i of n.documents){const s=await this.schemaService.getSchemaForResource(e.uri,i);s?.schema&&(r=new Map([...nv(s?.schema),...r]))}for(const i of r){const s=pc.create(In.create(0,0,0,0));s.command={title:Wm(i[1],i[0]),command:Ao.JUMP_TO_SCHEMA,arguments:[i[0]]},t.push(s)}}catch(n){this.telemetry.sendError("yaml.codeLens.error",{error:ns(n)})}return t}resolveCodeLens(e){return e}};function iv(e,t){e.registerCommand(Ao.JUMP_TO_SCHEMA,async n=>{if(!n)return;if(!n.startsWith("file")&&!/^[a-z]:[\\/]/i.test(n)){const i=Qr.parse(n);n=Qr.from({scheme:"json-schema",authority:i.authority,path:i.path.endsWith(".json")?i.path:i.path+".json",fragment:n}).toString()}/^[a-z]:[\\/]/i.test(n)&&(n=Qr.file(n).toString()),await t.window.showDocument({uri:n,external:!1,takeFocus:!0})||t.window.showErrorMessage(`Cannot open ${n}`)})}var sv=class{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}};function av(e,t,n,r,i){i.spacesDiff=0,i.looksLikeAlignment=!1;let s;for(s=0;s<t&&s<r;s++){const j=e.charCodeAt(s),R=n.charCodeAt(s);if(j!==R)break}let a=0,o=0;for(let j=s;j<t;j++)e.charCodeAt(j)===32?a++:o++;let u=0,l=0;for(let j=s;j<r;j++)n.charCodeAt(j)===32?u++:l++;if(a>0&&o>0||u>0&&l>0)return;const v=Math.abs(o-l),p=Math.abs(a-u);if(v===0){i.spacesDiff=p,p>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}p%v===0&&(i.spacesDiff=p/v)}function ov(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,v=[0,0,0,0,0,0,0,0,0],p=new sv;for(let se=1;se<=r;se++){const te=e.getLineLength(se),P=e.getLineContent(se),ue=te<=65536;let ke=!1,Be=0,Je=0,ve=0;for(let Et=0,Ft=te;Et<Ft;Et++){const we=ue?P.charCodeAt(Et):e.getLineCharCode(se,Et);if(we===9)ve++;else if(we===32)Je++;else{ke=!0,Be=Et;break}}if(!ke||(ve>0?i++:Je>1&&s++,av(a,o,P,Be,p),p.looksLikeAlignment&&!(n&&t===p.spacesDiff)))continue;const Oe=p.spacesDiff;Oe<=l&&v[Oe]++,a=P,o=Be}let j=n;i!==s&&(j=i<s);let R=t;if(j){let se=j?0:.1*r;u.forEach(te=>{const P=v[te];P>se&&(se=P,R=te)}),R===4&&v[4]>0&&v[2]>0&&v[2]>=v[4]/2&&(R=2)}return{insertSpaces:j,tabSize:R}}function Pu(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+=`
430
- `+a+"- "+n(e[u]);continue}Array.isArray(e[u])||(l=uv(e[u],s)),o+=Pu(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?`
431
- `:"";for(let l=0;l<o.length;l++){const v=o[l],p=typeof e[v]=="object",j=p?":":": ",R=p&&/^\s|-/.test(v)?r.indentation:"",se=a+R;if(i===0&&l===0&&!r.indentFirstObject){const te=Pu(e[v],se,n,r,i+=1,0);u+=t+v+j+te}else{const te=Pu(e[v],se,n,r,i+=1,0);u+=a+v+j+te}l<o.length-1&&(u+=`
432
- `)}return u}}return n(e)}function uv(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 lv=Vs(),d0=/[\\]+"/g,h0=gi.Class,cv=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){const i=fc.create([],!1);if(!this.completionEnabled)return i;const s=this.yamlDocument.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0),a=new Js(e);if(this.configuredIndentation)this.indentation=this.configuredIndentation;else{const ve=ov(a,2,!0);this.indentation=ve.insertSpaces?" ".repeat(ve.tabSize):" "}c0(s.documents,n);for(const ve of s.documents)ve.uri=e.uri;const o=e.offsetAt(t),u=e.getText();if(u.charAt(o-1)===":")return Promise.resolve(i);let l=xu(o,s);if(l===null)return Promise.resolve(i);l=l.clone();let[v,p]=l.getNodeFromPosition(o,a,this.indentation.length);const j=this.getCurrentWord(e,o);let R=a.getLineContent(t.line);const se=R.substring(t.character),te=/^[ ]+\n?$/.test(se);this.arrayPrefixIndentation="";let P=null;if(te){P=In.create(t,qr.create(t.line,R.length));const ve=R.trim().length===0,Oe=R.match(/^\s*(-)\s*$/);if(v&&Vn(v)&&!ve&&!Oe){const Et=R.match(/^([\s-]*)[^:]+[ \t]+\n?$/);Et?.length&&(P=In.create(qr.create(t.line,Et[1].length),qr.create(t.line,R.length)))}}else if(v&&Vn(v)&&v.value==="null"){const ve=e.positionAt(v.range[0]);ve.character+=1;const Oe=e.positionAt(v.range[2]);Oe.character+=1,P=In.create(ve,Oe)}else if(v&&Vn(v)&&v.value){const ve=e.positionAt(v.range[0]);o>0&&ve.character>0&&u.charAt(o-1)==="-"&&(ve.character-=1),P=In.create(ve,e.positionAt(v.range[1]))}else if(v&&Vn(v)&&v.value===null&&j==="-")P=In.create(t,t),this.arrayPrefixIndentation=" ";else{let ve=e.offsetAt(t)-j.length;ve>0&&u[ve-1]==='"'&&ve--,P=In.create(e.positionAt(ve),t)}const ue={},ke="__",Be={add:(ve,Oe)=>{const Et=function(he){var ct;if(((ct=ue[he.label])==null?void 0:ct.label)===ke)return;const un=he.parent.schema,fn=Jc(un),Nn=un.markdownDescription||un.description;let Qn=i.items.find(dr=>{var Zn;return((Zn=dr.parent)==null?void 0:Zn.schema)===un&&dr.kind===h0});Qn&&Qn.parent.insertTexts.includes(he.insertText)||(Qn?Qn.parent.insertTexts.push(he.insertText):(Qn={...he,label:fn,documentation:Nn,sortText:"_"+fn,kind:h0},Qn.label=Qn.label||he.label,Qn.parent.insertTexts=[he.insertText],i.items.push(Qn)))},Ft=!!ve.parent;let we=ve.label;if(!we){console.warn(`Ignoring CompletionItem without label: ${JSON.stringify(ve)}`);return}if(vu(we)||(we=String(we)),we=we.replace(/[\n]/g,"↵"),we.length>60){const he=we.substr(0,57).trim()+"...";ue[he]||(we=he)}if(ve.insertText.endsWith("$1")&&!Ft&&(ve.insertText=ve.insertText.substr(0,ve.insertText.length-2)),P&&P.start.line===P.end.line&&(ve.textEdit=Fr.replace(P,ve.insertText)),ve.label=we,Ft){Et(ve);return}this.arrayPrefixIndentation&&this.updateCompletionText(ve,this.arrayPrefixIndentation+ve.insertText);const _e=ue[we],Re=_e?.label!==ke&&_e?.insertText!==ve.insertText;if(!_e)ue[we]=ve,i.items.push(ve);else if(Re){const he=this.mergeSimpleInsertTexts(we,_e.insertText,ve.insertText,Oe);he?this.updateCompletionText(_e,he):(ue[we]=ve,i.items.push(ve))}_e&&!_e.documentation&&ve.documentation&&(_e.documentation=ve.documentation)},error:ve=>{this.telemetry.sendError("yaml.completion.error",{error:ns(ve)})},log:ve=>{console.log(ve)},getNumberOfProposals:()=>i.items.length,result:i};this.customTags.length>0&&this.getCustomTagValueCompletions(Be),R.endsWith(`
433
- `)&&(R=R.substr(0,R.length-1));try{const ve=await this.schemaService.getSchemaForResource(e.uri,l);if((!ve||ve.errors.length)&&t.line===0&&t.character===0&&!ef(R)){const we={kind:gi.Text,label:"Inline schema",insertText:"# yaml-language-server: $schema=",insertTextFormat:Hr.PlainText};i.items.push(we)}if(ef(R)||wb(s.tokens,o)){const we=R.indexOf("$schema=");return we!==-1&&we+8<=t.character&&this.schemaService.getAllSchemas().forEach(_e=>{var Re;const he={kind:gi.Constant,label:(Re=_e.name)!=null?Re:_e.uri,detail:_e.description,insertText:_e.uri,insertTextFormat:Hr.PlainText,insertTextMode:lc.asIs};i.items.push(he)}),i}if(!ve||ve.errors.length)return i;let Oe=null;if(!v)if(!l.internalDocument.contents||Vn(l.internalDocument.contents)){const we=l.internalDocument.createNode({});we.range=[o,o+1,o+1],l.internalDocument.contents=we,l.internalDocument=l.internalDocument,v=we}else v=l.findClosestNode(o,a),p=!0;const Et=v;if(v)if(R.length===0)v=l.internalDocument.contents;else{const we=l.getParent(v);if(we){if(Vn(v)){if(v.value){if(cr(we)){if(we.value===v){if(R.trim().length>0&&R.indexOf(":")<0){const _e=this.createTempObjNode(j,v,l),Re=l.getParent(we);if(_r(l.internalDocument.contents)){const he=xb(l.internalDocument.contents,we);typeof he=="number"&&(l.internalDocument.set(he,_e),l.internalDocument=l.internalDocument)}else Re&&($r(Re)||_r(Re))?(Re.set(we.key,_e),l.internalDocument=l.internalDocument):(l.internalDocument.set(we.key,_e),l.internalDocument=l.internalDocument);Oe=_e.items[0],v=_e}else if(R.trim().length===0){const _e=l.getParent(we);_e&&(v=_e)}}else if(we.key===v){const _e=l.getParent(we);Oe=we,_e&&(v=_e)}}else if(_r(we))if(R.trim().length>0){const _e=this.createTempObjNode(j,v,l);we.delete(v),we.add(_e),l.internalDocument=l.internalDocument,v=_e}else v=we}else if(v.value===null){if(cr(we)){if(we.key===v)v=we;else if(mr(we.key)&&we.key.range){const _e=l.getParent(we);if(p&&_e&&$r(_e)&&Sb(_e))v=_e;else{const Re=e.positionAt(we.key.range[0]);if(t.character>Re.character&&t.line!==Re.line){const he=this.createTempObjNode(j,v,l);_e&&($r(_e)||_r(_e))?(_e.set(we.key,he),l.internalDocument=l.internalDocument):(l.internalDocument.set(we.key,he),l.internalDocument=l.internalDocument),Oe=he.items[0],v=he}else Re.character===t.character&&_e&&(v=_e)}}}else if(_r(we))if(R.charAt(t.character-1)!=="-"){const _e=this.createTempObjNode(j,v,l);we.delete(v),we.add(_e),l.internalDocument=l.internalDocument,v=_e}else if(R.charAt(t.character-1)==="-"){const _e=this.createTempObjNode("",v,l);we.delete(v),we.add(_e),l.internalDocument=l.internalDocument,v=_e}else v=we}}else if($r(v)&&!p&&R.trim().length===0&&_r(we)){const _e=a.getLineContent(t.line+1);(a.getLineCount()===t.line+1||_e.trim().length===0)&&(v=we)}}else if(Vn(v)){const _e=this.createTempObjNode(j,v,l);l.internalDocument.contents=_e,l.internalDocument=l.internalDocument,Oe=_e.items[0],v=_e}else if($r(v))for(const _e of v.items)mr(_e.value)&&_e.value.range&&_e.value.range[0]===o+1&&(v=_e.value);else if(_r(v)&&R.charAt(t.character-1)!=="-"){const _e=this.createTempObjNode(j,v,l);_e.items=[],l.internalDocument=l.internalDocument;for(const Re of v.items)$r(Re)&&Re.items.forEach(he=>{_e.items.push(he)});v=_e}}if(v&&$r(v)){const we=v.items;for(const _e of we)(!Oe||Oe!==_e)&&Vn(_e.key)&&(ue[_e.key.value+""]=cc.create(ke));this.addPropertyCompletions(ve,l,v,Et,"",Be,a,P,r),!ve&&j.length>0&&u.charAt(o-j.length-1)!=='"'&&Be.add({kind:gi.Property,label:j,insertText:this.getInsertTextForProperty(j,null,""),insertTextFormat:Hr.Snippet})}const Ft={};this.getValueCompletions(ve,l,v,o,e,Be,Ft,r)}catch(ve){this.telemetry.sendError("yaml.completion.error",{error:ns(ve)})}this.finalizeParentCompletion(i);const Je=i.items.filter((ve,Oe,Et)=>Oe===Et.findIndex(Ft=>Ft.label===ve.label&&Ft.insertText===ve.insertText&&Ft.kind===ve.kind));return Je?.length>0&&(i.items=Je),i}updateCompletionText(e,t){e.insertText=t,e.textEdit&&(e.textEdit.newText=t)}mergeSimpleInsertTexts(e,t,n,r){const i=v=>v.includes(`
434
- `),s=v=>v.startsWith(`
435
- `),a=v=>{const p=v.indexOf(`
436
- `);return p>0&&v.substring(p,v.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(dv(n)){const r=n.parent.indent||"";let s=t(n.parent.insertTexts).join(`
437
- ${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:Ds.Markdown,value:[...o,"```yaml",r+a,"```"].join(`
438
- `)},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,v,p;const j=t.getMatchingSchemas(e.schema,-1,null,u),R=a.getText(o),se=a.getLineContent(o.start.line),te=se.trim().length===0,P=se.indexOf(":")!==-1,ue=se.trimLeft().indexOf("-")===0,ke=t.getParent(n),Be=j.find(Oe=>Oe.node.internalNode===r&&Oe.schema.properties),Je=j.filter(Oe=>Oe.schema.oneOf).map(Oe=>Oe.schema.oneOf)[0];let ve=!1;Je?.length<j.length&&Je?.forEach((Oe,Et)=>{var Ft,we;!((Ft=j[Et])!=null&&Ft.schema.oneOf)&&((we=j[Et])==null?void 0:we.schema.properties)===Oe.properties&&(ve=!0)});for(const Oe of j){if((Oe.node.internalNode===n&&!Be||Oe.node.internalNode===r&&!P||((l=Oe.node.parent)==null?void 0:l.internalNode)===r&&!P)&&!Oe.inverted){this.collectDefaultSnippets(Oe.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:ue});const Et=Oe.schema.properties;if(Et){const Ft=Oe.schema.maxProperties;if(Ft===void 0||n.items===void 0||n.items.length<Ft||n.items.length===Ft&&!te){for(const we in Et)if(Object.prototype.hasOwnProperty.call(Et,we)){const _e=Et[we];if(typeof _e=="object"&&!_e.deprecationMessage&&!_e.doNotSuggest){let Re="";if(ke&&_r(ke)&&n.items.length<=1&&!te){const fn=a.getText(),Nn=fn.lastIndexOf("-",n.range[0]-1);if(Nn>=0){const Qn=o.end.character-o.start.character;Re=" "+fn.slice(Nn+1,n.range[1]-Qn)}}Re+=this.arrayPrefixIndentation;let he;_e.type==="array"&&(he=n.items.find(fn=>Vn(fn.key)&&fn.key.range&&fn.key.value===we&&Vn(fn.value)&&!fn.value.value&&a.getPosition(fn.key.range[2]).line===o.end.line-1))&&he&&(Array.isArray(_e.items)?this.addSchemaValueCompletions(_e.items[0],i,s,{},"property"):typeof _e.items=="object"&&_e.items.type==="object"&&this.addArrayItemValueCompletion(_e.items,i,s));let ct=we;(!we.startsWith(R)||!P)&&(ct=this.getInsertTextForProperty(we,_e,i,Re+this.indentation));const Pt=Vn(r)&&r.value===null||$r(r)&&r.items.length===0,un=((v=Oe.schema.required)==null?void 0:v.length)>0;(!this.parentSkeletonSelectedFirst||!Pt||!un)&&s.add({kind:gi.Property,label:we,insertText:ct,insertTextFormat:Hr.Snippet,documentation:this.fromMarkup(_e.markdownDescription)||_e.description||""},ve),(p=Oe.schema.required)!=null&&p.includes(we)&&s.add({label:we,insertText:this.getInsertTextForProperty(we,_e,i,Re+this.indentation),insertTextFormat:Hr.Snippet,documentation:this.fromMarkup(_e.markdownDescription)||_e.description||"",parent:{schema:Oe.schema,indent:Re}})}}}}if(ke&&_r(ke)&&JD(Oe.schema)&&this.addSchemaValueCompletions(Oe.schema,i,s,{},"property",Array.isArray(ke.items)),Oe.schema.propertyNames&&Oe.schema.additionalProperties&&Oe.schema.type==="object"){const Ft=ii(Oe.schema.propertyNames),we=Ft.title||"property";s.add({kind:gi.Property,label:we,insertText:`\${1:${we}}: `,insertTextFormat:Hr.Snippet,documentation:this.fromMarkup(Ft.markdownDescription)||Ft.description||""})}}ke&&Oe.node.internalNode===ke&&Oe.schema.defaultSnippets&&(n.items.length===1?this.collectDefaultSnippets(Oe.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!0},1):this.collectDefaultSnippets(Oe.schema,i,s,{newLineFirst:!1,indentFirstObject:!0,shouldIndentWithTab:!1},1))}}getValueCompletions(e,t,n,r,i,s,a,o){let u=null;if(n&&Vn(n)&&(n=t.getParent(n)),!n){this.addSchemaValueCompletions(e.schema,"",s,a,"value");return}if(cr(n)){const l=n.value;if(l&&l.range&&r>l.range[0]+l.range[2])return;u=Vn(n.key)?n.key.value+"":null,n=t.getParent(n)}if(n&&(u!==null||_r(n))){const l="",v=t.getMatchingSchemas(e.schema,-1,null,o);for(const p of v)if(p.node.internalNode===n&&!p.inverted&&p.schema){if(p.schema.items&&(this.collectDefaultSnippets(p.schema,l,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!1}),_r(n)&&n.items))if(Array.isArray(p.schema.items)){const j=this.findItemAtOffset(n,i,r);j<p.schema.items.length&&this.addSchemaValueCompletions(p.schema.items[j],l,s,a,"value")}else typeof p.schema.items=="object"&&(p.schema.items.type==="object"||Yc(p.schema.items))?this.addSchemaValueCompletions(p.schema.items,l,s,a,"value",!0):this.addSchemaValueCompletions(p.schema.items,l,s,a,"value");if(p.schema.properties){const j=p.schema.properties[u];j&&this.addSchemaValueCompletions(j,l,s,a,"value")}else p.schema.additionalProperties&&this.addSchemaValueCompletions(p.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=Jc(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:Hr.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;Ws(l)&&(a=this.getInsertTextForSnippetValue(l,"",{newLineFirst:!0,indentFirstObject:!1,shouldIndentWithTab:!1},1),!a.startsWith(" ")&&!a.startsWith(`
439
- `)&&(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=pv(a),a=" "+a),o++),Ws(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}
440
- ${this.getInsertTextForObject(t,n,r).insertText}`;if(t.items)return`${s}
441
- ${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=`
442
- ${r}`;break;case"array":a=`
443
- ${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=Bu(u)),i+=`${n}${s}: \${${r++}:${u}}
444
- `):i+=`${n}${s}: $${r++}
445
- `;break}case"array":{const u=this.getInsertTextForArray(a.items,t,r++,n),l=u.insertText.split(`
446
- `);let v=u.insertText;if(l.length>1){for(let p=1;p<l.length;p++){const j=l[p];l[p]=` ${j}`}v=l.join(`
447
- `)}r=u.insertIndex,i+=`${n}${s}:
448
- ${n}${this.indentation}- ${v}
449
- `}break;case"object":{const u=this.getInsertTextForObject(a,t,`${n}${this.indentation}`,r++);r=u.insertIndex,i+=`${n}${s}:
450
- ${u.insertText}
451
- `}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}}
452
- `;break;case"string":i+=`${n}${s}: \${${r++}:${Bu(a.default)}}
453
- `;break}}),i.trim().length===0&&(i=`${n}$${r++}
454
- `),i=i.trimRight()+t,{insertText:i,insertIndex:r}):(i=`${n}$${r++}
455
- `,{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=Bu(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=Bu(e)),this.getInsertTextForPlainText(e+t)}getInsertTemplateForValue(e,t,n,r){if(Array.isArray(e)){let i=`
456
- `;for(const s of e)i+=`${t}- \${${n.index++}:${s}}
457
- `;return i}else if(typeof e=="object"){let i=`
458
- `;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)}}
459
- `,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"&&!Yc(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)||Ws(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(Ws(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(d0,'"'),n.add({kind:this.getSuggestionKind(s),label:o,insertText:this.getInsertTextForValue(a,t,s),insertTextFormat:Hr.Snippet,detail:lv("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:Hr.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(Ws(e.const)&&!r&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t,e.type),insertTextFormat:Hr.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:Hr.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,v;if(Ws(o)){const p=s.type||e.type;if(i===0&&p==="array"){const j={};Object.keys(o).forEach((R,se)=>{se===0&&!R.startsWith("-")?j[`- ${R}`]=o[R]:j[` ${R}`]=o[R]}),o=j}l=this.getInsertTextForSnippetValue(o,t,r),u=u||this.getLabelForSnippetValue(o)}else if(typeof s.bodyText=="string"){let p="",j="",R="";for(let se=i;se>0;se--)p=p+R+`[
460
- `,j=j+`
461
- `+R+"]",R+=this.indentation,a="array";l=p+R+s.bodyText.split(`
462
- `).join(`
463
- `+R)+j+t,u=u||l,v=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:Hr.Snippet,filterText:v})}}getInsertTextForSnippetValue(e,t,n,r){return Pu(e,"",s=>{if(typeof s=="string"){if(s[0]==="^")return s.substr(1);if(s==="true"||s==="false")return`"${s}"`}return s},{...n,indentation:this.indentation},r)+t}addBooleanValueCompletion(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t,"boolean"),insertTextFormat:Hr.Snippet,documentation:""})}addNullValueCompletion(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:Hr.Snippet,documentation:""})}getLabelForSnippetValue(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")}getCustomTagValueCompletions(e){Xm(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:Hr.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}
464
- \`\`\`
465
- ${t}
466
- \`\`\``)),n}getSuggestionKind(e){if(Array.isArray(e)){const t=e;e=t.length>0?t[0]:null}if(!e)return gi.Value;switch(e){case"string":return gi.Value;case"object":return gi.Module;case"property":return gi.Property;default:return gi.Value}}getCurrentWord(e,t){let n=t-1;const r=e.getText();for(;n>=0&&`
467
- \r\v":{[,]}`.indexOf(r.charAt(n))===-1;)n--;return r.substring(n+1,t)}fromMarkup(e){if(e&&this.doesSupportMarkdown())return{kind:Ds.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(Ds.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(mr(i)&&i.range){if(n>i.range[1])return r;if(n>=i.range[0])return r}}return 0}},fv=/^\d+$/;function Bu(e){let t;if(typeof e=="string"?t=e:t=""+e,t.length===0)return t;if(t==="true"||t==="false"||t==="null"||fv.test(t))return`"${t}"`;t.indexOf('"')!==-1&&(t=t.replace(d0,'"'));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 pv(e){return e.replace(/\$\{1:(.*)\}/,"$1")}function dv(e){return"parent"in e}var hv=class{constructor(e){this.telemetry=e}getDefinition(e,t){try{const n=zi.getYamlDocument(e),r=e.offsetAt(t.position),i=xu(r,n);if(i){const[s]=i.getNodeFromPosition(r,new Js(e));if(s&&Yi(s)){const a=s.resolve(i.internalDocument);if(a&&a.range){const o=In.create(e.positionAt(a.range[0]),e.positionAt(a.range[2])),u=In.create(e.positionAt(a.range[0]),e.positionAt(a.range[1]));return[Ql.create(e.uri,o,u)]}}}}catch(n){this.telemetry.sendError("yaml.definition.error",{error:ns(n)})}}},nf;(function(e){e[e.SchemaStore=1]="SchemaStore",e[e.SchemaAssociation=2]="SchemaAssociation",e[e.Settings=3]="Settings"})(nf||(nf={}));function mv(e,t,n,r,i,s){const a=new jb(e,t),o=new cv(a,s,zi,r),u=new Rb(a,r),l=new $b(a,r),v=new Yb(a,r),p=new Hb,j=new Kb(s),R=new rv(a,r),se=new zb(r),te=new hv(r);return iv(ev,n),{configure:P=>{a.clearExternalSchemas(),P.schemas&&(a.schemaPriorityMapping=new Map,P.schemas.forEach(ue=>{const ke=ue.priority?ue.priority:0;a.addSchemaPriority(ue.uri,ke),a.registerExternalSchema(ue.uri,ue.fileMatch,ue.schema,ue.name,ue.description,ue.versions)})),v.configure(P),u.configure(P),o.configure(P),p.configure(P),j.configure(P)},registerCustomSchemaProvider:P=>{a.registerCustomSchemaProvider(P)},findLinks:se.findLinks.bind(se),doComplete:o.doComplete.bind(o),doValidation:v.doValidation.bind(v),doHover:u.doHover.bind(u),findDocumentSymbols:l.findDocumentSymbols.bind(l),findDocumentSymbols2:l.findHierarchicalDocumentSymbols.bind(l),doDefinition:te.getDefinition.bind(te),resetSchema:P=>a.onResourceChange(P),doFormat:p.format.bind(p),doDocumentOnTypeFormatting:tv,addSchema:(P,ue)=>a.saveSchema(P,ue),deleteSchema:P=>a.deleteSchema(P),modifySchemaContent:P=>a.addContent(P),deleteSchemaContent:P=>a.deleteContent(P),deleteSchemasWhole:P=>a.deleteSchemas(P),getFoldingRanges:Xb,getCodeAction:(P,ue)=>j.getCodeAction(P,ue),getCodeLens:P=>R.getCodeLens(P),resolveCodeLens:P=>R.resolveCodeLens(P)}}var gv="yaml";async function yv(e){const t=await fetch(e);if(t.ok)return t.text();throw new Error(`Schema request failed for ${e}`)}var Dv={send(){},sendError(e,t){console.error("monaco-yaml",e,t)},sendTrack(){}};ry((e,{enableSchemaRequest:t,languageSettings:n})=>{const r=mv(t?yv:null,null,null,Dv);r.configure(n);const i=s=>{const a=e.getMirrorModels();for(const o of a)if(String(o.uri)===s)return Jl.create(s,gv,o.version,o.getValue())};return{doValidation(s){const a=i(s);if(a)return r.doValidation(a,!!n.isKubernetes)},doComplete(s,a){const o=i(s);if(o)return r.doComplete(o,a,!!n.isKubernetes)},doDefinition(s,a){const o=i(s);if(o)return r.doDefinition(o,{position:a,textDocument:{uri:s}})},doHover(s,a){const o=i(s);if(o)return r.doHover(o,a)},format(s,a){const o=i(s);if(o)return r.doFormat(o,a)},resetSchema(s){return r.resetSchema(s)},findDocumentSymbols(s){const a=i(s);if(a)return r.findDocumentSymbols2(a,{})},findLinks(s){const a=i(s);if(a)return r.findLinks(a)},getCodeAction(s,a,o){const u=i(s);if(u)return r.getCodeAction(u,{range:a,textDocument:{uri:s},context:{diagnostics:o}})}}})})();