diff --git a/3196.53521333.async.js b/3196.53521333.async.js new file mode 100644 index 0000000000..445332c000 --- /dev/null +++ b/3196.53521333.async.js @@ -0,0 +1,22 @@ +(self.webpackChunk_antv_s2_site=self.webpackChunk_antv_s2_site||[]).push([[3196],{76959:function(e,t,r){"use strict";r.d(t,{w:function(){return a}});var a=(0,r(62435).createContext)({})},41894:function(e,t,r){"use strict";r.d(t,{T:function(){return d}});var a=r(62435),n=r(26759),s=r(16757),i=r(71577),o=r(85956),d=function(){return a.createElement(a.Fragment,null,a.createElement(s.ZP,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:a.createElement(o.rU,{to:"/"},a.createElement(i.Z,{type:"primary"},a.createElement(n.Z,null),"Back Home"))}))}},64117:function(e,t,r){"use strict";function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function s(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r=e.length?e.apply(this,n):function(){for(var e=arguments.length,a=new Array(e),s=0;s1&&void 0!==arguments[1]?arguments[1]:{};m.initial(e),m.handler(t);var r={current:e},a=p(v)(r,t),n=p(b)(r),s=p(m.changes)(e),i=p(y)(r);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return m.selector(e),e(r.current)}function d(e){c(a,n,s,i)(e)}return[o,d]}},R=x,E={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};var w=function(e){return function t(){for(var r=this,a=arguments.length,n=new Array(a),s=0;s=e.length?e.apply(this,n):function(){for(var e=arguments.length,a=new Array(e),s=0;s{a.current=!1}:e,t)};function ee(){}function te(e,t,r,a){return function(e,t){return e.editor.getModel(re(e,t))}(e,a)||function(e,t,r,a){return e.editor.createModel(t,r,a?re(e,a):void 0)}(e,t,r,a)}function re(e,t){return e.Uri.parse(t)}var ae=function({original:e,modified:t,language:r,originalLanguage:a,modifiedLanguage:n,originalModelPath:s,modifiedModelPath:i,keepCurrentOriginalModel:o=!1,keepCurrentModifiedModel:d=!1,theme:l="light",loading:u="Loading...",options:c={},height:p="100%",width:f="100%",className:h,wrapperProps:g={},beforeMount:m=ee,onMount:y=ee}){let[b,v]=(0,H.useState)(!1),[x,R]=(0,H.useState)(!0),E=(0,H.useRef)(null),w=(0,H.useRef)(null),S=(0,H.useRef)(null),D=(0,H.useRef)(y),j=(0,H.useRef)(m),T=(0,H.useRef)(!1);Q((()=>{let e=G.init();return e.then((e=>(w.current=e)&&R(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>E.current?function(){let e=E.current?.getModel();o||e?.original?.dispose(),d||e?.modified?.dispose(),E.current?.dispose()}():e.cancel()})),Z((()=>{if(E.current&&w.current){let t=E.current.getOriginalEditor(),n=te(w.current,e||"",a||r||"text",s||"");n!==t.getModel()&&t.setModel(n)}}),[s],b),Z((()=>{if(E.current&&w.current){let e=E.current.getModifiedEditor(),a=te(w.current,t||"",n||r||"text",i||"");a!==e.getModel()&&e.setModel(a)}}),[i],b),Z((()=>{let e=E.current.getModifiedEditor();e.getOption(w.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())}),[t],b),Z((()=>{E.current?.getModel()?.original.setValue(e||"")}),[e],b),Z((()=>{let{original:e,modified:t}=E.current.getModel();w.current.editor.setModelLanguage(e,a||r||"text"),w.current.editor.setModelLanguage(t,n||r||"text")}),[r,a,n],b),Z((()=>{w.current?.editor.setTheme(l)}),[l],b),Z((()=>{E.current?.updateOptions(c)}),[c],b);let C=(0,H.useCallback)((()=>{if(!w.current)return;j.current(w.current);let o=te(w.current,e||"",a||r||"text",s||""),d=te(w.current,t||"",n||r||"text",i||"");E.current?.setModel({original:o,modified:d})}),[r,t,n,e,a,s,i]),A=(0,H.useCallback)((()=>{!T.current&&S.current&&(E.current=w.current.editor.createDiffEditor(S.current,{automaticLayout:!0,...c}),C(),w.current?.editor.setTheme(l),v(!0),T.current=!0)}),[c,l,C]);return(0,H.useEffect)((()=>{b&&D.current(E.current,w.current)}),[b]),(0,H.useEffect)((()=>{!x&&!b&&A()}),[x,b,A]),H.createElement(Y,{width:f,height:p,isEditorReady:b,loading:u,_ref:S,className:h,wrapperProps:g})};(0,H.memo)(ae);var ne=function(e){let t=(0,H.useRef)();return(0,H.useEffect)((()=>{t.current=e}),[e]),t.current},se=new Map;var ie=function({defaultValue:e,defaultLanguage:t,defaultPath:r,value:a,language:n,path:s,theme:i="light",line:o,loading:d="Loading...",options:l={},overrideServices:u={},saveViewState:c=!0,keepCurrentModel:p=!1,width:f="100%",height:h="100%",className:g,wrapperProps:m={},beforeMount:y=ee,onMount:b=ee,onChange:v,onValidate:x=ee}){let[R,E]=(0,H.useState)(!1),[w,S]=(0,H.useState)(!0),D=(0,H.useRef)(null),j=(0,H.useRef)(null),T=(0,H.useRef)(null),C=(0,H.useRef)(b),A=(0,H.useRef)(y),P=(0,H.useRef)(),k=(0,H.useRef)(a),I=ne(s),O=(0,H.useRef)(!1),_=(0,H.useRef)(!1);Q((()=>{let e=G.init();return e.then((e=>(D.current=e)&&S(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>j.current?(P.current?.dispose(),p?c&&se.set(s,j.current.saveViewState()):j.current.getModel()?.dispose(),void j.current.dispose()):e.cancel()})),Z((()=>{let i=te(D.current,e||a||"",t||n||"",s||r||"");i!==j.current?.getModel()&&(c&&se.set(I,j.current?.saveViewState()),j.current?.setModel(i),c&&j.current?.restoreViewState(se.get(s)))}),[s],R),Z((()=>{j.current?.updateOptions(l)}),[l],R),Z((()=>{!j.current||void 0===a||(j.current.getOption(D.current.editor.EditorOption.readOnly)?j.current.setValue(a):a!==j.current.getValue()&&(_.current=!0,j.current.executeEdits("",[{range:j.current.getModel().getFullModelRange(),text:a,forceMoveMarkers:!0}]),j.current.pushUndoStop(),_.current=!1))}),[a],R),Z((()=>{let e=j.current?.getModel();e&&n&&D.current?.editor.setModelLanguage(e,n)}),[n],R),Z((()=>{void 0!==o&&j.current?.revealLine(o)}),[o],R),Z((()=>{D.current?.editor.setTheme(i)}),[i],R);let N=(0,H.useCallback)((()=>{if(T.current&&D.current&&!O.current){A.current(D.current);let d=s||r,p=te(D.current,a||e||"",t||n||"",d||"");j.current=D.current?.editor.create(T.current,{model:p,automaticLayout:!0,...l},u),c&&j.current.restoreViewState(se.get(d)),D.current.editor.setTheme(i),void 0!==o&&j.current.revealLine(o),E(!0),O.current=!0}}),[e,t,r,a,n,s,l,u,c,i,o]);return(0,H.useEffect)((()=>{R&&C.current(j.current,D.current)}),[R]),(0,H.useEffect)((()=>{!w&&!R&&N()}),[w,R,N]),k.current=a,(0,H.useEffect)((()=>{R&&v&&(P.current?.dispose(),P.current=j.current?.onDidChangeModelContent((e=>{_.current||v(j.current.getValue(),e)})))}),[R,v]),(0,H.useEffect)((()=>{if(R){let e=D.current.editor.onDidChangeMarkers((e=>{let t=j.current.getModel()?.uri;if(t&&e.find((e=>e.path===t.path))){let e=D.current.editor.getModelMarkers({resource:t});x?.(e)}}));return()=>{e?.dispose()}}return()=>{}}),[R,x]),H.createElement(Y,{width:f,height:h,isEditorReady:R,loading:d,_ref:T,className:g,wrapperProps:m})},oe=(0,H.memo)(ie),de=r(94594),le={},ue={};function ce(e){return new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+'] || ""'})).join(",")+"}")}function pe(e){var t=Object.create(null),r=[];return e.forEach((function(e){for(var a in e)a in t||r.push(t[a]=a)})),r}function fe(e,t){var r=e+"",a=r.length;return a9999?"+"+fe(t,6):fe(t,4))+"-"+fe(e.getUTCMonth()+1,2)+"-"+fe(e.getUTCDate(),2)+(s?"T"+fe(r,2)+":"+fe(a,2)+":"+fe(n,2)+"."+fe(s,3)+"Z":n?"T"+fe(r,2)+":"+fe(a,2)+":"+fe(n,2)+"Z":a||r?"T"+fe(r,2)+":"+fe(a,2)+"Z":"")}function ge(e){var t=new RegExp('["'+e+"\n\r]"),r=e.charCodeAt(0);function a(e,t){var a,n=[],s=e.length,i=0,o=0,d=s<=0,l=!1;function u(){if(d)return ue;if(l)return l=!1,le;var t,a,n=i;if(34===e.charCodeAt(n)){for(;i++=s?d=!0:10===(a=e.charCodeAt(i++))?l=!0:13===a&&(l=!0,10===e.charCodeAt(i)&&++i),e.slice(n+1,t-1).replace(/""/g,'"')}for(;ie.length)&&(t=e.length);for(var r=0,a=new Array(t);r0&&!t[1].startsWith("http")?e.replace(t[1],_e.join(location.origin||"",location.pathname||"","..",t[1])):e}var Ve="UHHnvAT44WY5MiysV0f0",qe="VOoyipWtoYw1Vy6K3G1R",Ge="O1KqImcQW9s4SDMUQv6L",He="EJvEyCo8aPcrCb4D9UxJ",Ke="lrestG_z5Coe903p81m1",$e="gYTzvF8MRgEaKWZQtK4X";function Je(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,s,i,o=[],d=!0,l=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;d=!1}else for(;!(d=(a=s.call(r)).done)&&(o.push(a.value),o.length!==t);d=!0);}catch(e){l=!0,n=e}finally{try{if(!d&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw n}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Xe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r'}),i)}}(0,t,r,h,g,n),y=function(e,t,r,a,n,s){return{title:e,js:t,html:s.container||'
',json:JSON.stringify(Me({dependencies:a,devDependencies:n},s.json))}}(f,t,0,h,g,n),b=function(e,t,r,a,n,s){var i;return{title:e||"",description:"",template:"create-react-app",dependencies:a,files:(i={},Le(i,"index.".concat(r.startsWith("ts")?"ts":"js"),t),Le(i,"index.html",s.container||'
'),i)}}(f,t,r,h,0,n),v=Je((0,H.useState)(!1),2),x=v[0],R=v[1];return(0,H.useEffect)((function(){(0,Oe.qE)().then((function(e){return R("responded"===e)})).catch((function(){return R(!1)}))}),[]),H.createElement("div",{className:Ve},H.createElement("div",{className:Ke},o.map((function(e,t){var r=d[e];return H.createElement("span",{key:t,className:e===l?$e:"",onClick:function(){return u(e)}},e," ",r&&r)}))),x?H.createElement("form",{action:"//riddle.alibaba-inc.com/riddles/define",method:"POST",target:"_blank"},H.createElement("input",{type:"hidden",name:"data",value:JSON.stringify(y)}),H.createElement(ke.Z,{title:H.createElement(be._H,{id:"在 Riddle 中打开"})},H.createElement("input",{type:"submit",value:"Create New Riddle with Prefilled Data",className:Ge}))):null,H.createElement(ke.Z,{title:H.createElement(be._H,{id:"在 StackBlitz 中打开"})},H.createElement(je.Z,{className:He,onClick:function(){Ae.Z.openProject(b)}})),H.createElement(ke.Z,{title:H.createElement(be._H,{id:"在 CodeSandbox 中打开"})},H.createElement("form",{action:"https://codesandbox.io/api/v1/sandboxes/define",method:"POST",target:"_blank"},H.createElement("input",{type:"hidden",name:"parameters",value:(0,Ie.Z)(m)}),H.createElement("button",{type:"submit",className:qe},H.createElement(Te.Z,{style:{marginLeft:8}})))),H.createElement(tt,{copyable:{text:t},style:{marginLeft:6}}),H.createElement(ke.Z,{title:H.createElement(be._H,{id:"执行代码"})},H.createElement(Ce.Z,{onClick:c,style:{marginLeft:12}})))},nt="tIGvu65uzaI0Cw5l7HT0",st="k0UFcBz79WsnFTprgh1T";function it(){it=function(){return t};var e,t={},r=Object.prototype,a=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},i=s.iterator||"@@iterator",o=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,a){var s=t&&t.prototype instanceof m?t:m,i=Object.create(s.prototype),o=new A(a||[]);return n(i,"_invoke",{value:D(e,r,o)}),i}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",f="executing",h="completed",g={};function m(){}function y(){}function b(){}var v={};l(v,i,(function(){return this}));var x=Object.getPrototypeOf,R=x&&x(x(P([])));R&&R!==r&&a.call(R,i)&&(v=R);var E=b.prototype=m.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(n,s,i,o){var d=c(e[n],e,s);if("throw"!==d.type){var l=d.arg,u=l.value;return u&&"object"==lt(u)&&a.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,o)}),(function(e){r("throw",e,i,o)})):t.resolve(u).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,o)}))}o(d.arg)}var s;n(this,"_invoke",{value:function(e,a){function n(){return new t((function(t,n){r(e,a,t,n)}))}return s=s?s.then(n,n):n()}})}function D(t,r,a){var n=p;return function(s,i){if(n===f)throw new Error("Generator is already running");if(n===h){if("throw"===s)throw i;return{value:e,done:!0}}for(a.method=s,a.arg=i;;){var o=a.delegate;if(o){var d=j(o,a);if(d){if(d===g)continue;return d}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===p)throw n=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=f;var l=c(t,r,a);if("normal"===l.type){if(n=a.done?h:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(n=h,a.method="throw",a.arg=l.arg)}}}function j(t,r){var a=r.method,n=t.iterator[a];if(n===e)return r.delegate=null,"throw"===a&&t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),g;var s=c(n,t.iterator,r.arg);if("throw"===s.type)return r.method="throw",r.arg=s.arg,r.delegate=null,g;var i=s.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function P(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,s=function r(){for(;++n=0;--s){var i=this.tryEntries[s],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var d=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(d&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;C(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,a){return this.delegate={iterator:P(t),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=e),g}},t}function ot(e,t,r,a,n,s,i){try{var o=e[s](i),d=o.value}catch(e){return void r(e)}o.done?t(d):Promise.resolve(d).then(a,n)}function dt(e){return function(e){if(Array.isArray(e))return pt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ct(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lt(e){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lt(e)}function ut(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,s,i,o=[],d=!0,l=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;d=!1}else for(;!(d=(a=s.call(r)).done)&&(o.push(a.value),o.length!==t);d=!0);}catch(e){l=!0,n=e}finally{try{if(!d&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw n}}return o}}(e,t)||ct(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ct(e,t){if(e){if("string"==typeof e)return pt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(e,t):void 0}}function pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r2&&void 0!==arguments[2])||arguments[2],a=(0,Ne.transform)(e,{filename:t,presets:["react","typescript",r?"es2015":"es2016",["stage-3",{decoratorsBeforeExport:!0}]],plugins:["transform-modules-umd"]}),n=a.code;return n}((r=e,a=v.id,n="zh"===a?"// 我们用 insert-css 演示引入自定义样式\n// 推荐将样式添加到自己的样式文件中\n// 若拷贝官方代码,别忘了 npm install insert-css\ninsertCss(":"// We use 'insert-css' to insert custom styles\n// It is recommended to add the style to your own style sheet files\n// If you want to copy the code directly, please remember to install the npm package 'insert-css\ninsertCss(",r.replace(/^insertCss\(/gm,n)),s,E)}catch(e){return void K(e)}!function(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"container",n=document.getElementById(t),s=document.createElement("script"),i=e.replace(/'container'|"container"/,"'".concat(a,"'"));s.innerHTML="\n// Can only have one anonymous define call per script file\n// 和 monaco loader 加载冲突\nvar __runnerDefine = window['define'];\nwindow['define'] = null;\ntry {\n ".concat(i,"\n\n // 清除显示的错误\n window.__reportErrorInPlayground && window.__reportErrorInPlayground(null);\n} catch(e) {\n window.__reportErrorInPlayground && window.__reportErrorInPlayground(e);\n} finally {\n window['define'] = __runnerDefine;\n}\n "),n.innerHTML=r||"
'),n.appendChild(s)}(t,G,null==i?void 0:i.container,d)}}),300),[u,V]),J=function(e){if(e){var t=S?[rt.JAVASCRIPT,rt.SPEC,rt.DATA]:[rt.JAVASCRIPT,rt.DATA];W(t),T(e)}};(0,H.useEffect)((function(){O(a),T(null),S&&(P(null),F(!1))}),[u]),(0,H.useEffect)((function(){$(I)}),[I]),(0,H.useEffect)((function(){var e=document.getElementById(G);return e&&(0,Se.ak)(e,(0,xe.Z)((function(){var e;e=new Event("resize"),window.dispatchEvent(e)}),100)),function(){e&&(0,Se.ZH)(e)}}),[]),(0,H.useEffect)((function(){return p(),null!=i&&i.playgroundDidMount&&new Function(i.playgroundDidMount)(),function(){h(),null!=i&&i.playgroundWillUnmount&&new Function(i.playgroundWillUnmount)()}}),[]);var X=function(){var e,t=(e=it().mark((function e(t){var r,a,n;return it().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=function(e){return e.text().then((function(e){return ge(",").parse(e,me)}))},a=function(e){return e.json()},e.next=4,Promise.all(t.map((function(e){return fetch(e).then((function(t){return"csv"===e.split(".").pop()?r(t):a(t)}))})));case 4:if(!((n=e.sent).length<=1)){e.next=7;break}return e.abrupt("return",n[0]);case 7:return e.abrupt("return",Object.fromEntries(t.map((function(e,t){return[e,n[t]]}))));case 8:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(a,n){var s=e.apply(t,r);function i(e){ot(s,a,n,i,o,"next",e)}function o(e){ot(s,a,n,i,o,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();(0,H.useEffect)((function(){q(rt.JAVASCRIPT)}),[u]),(0,H.useEffect)((function(){var e=a.matchAll(/fetch\(\s*["|'](.*)["|'],*\s*\)/g),t=Array.from(e);if(t&&t.length>0)X(t.map((function(e){return e[1].trim()}))).then((function(e){J(e)}));else{var r=S?[rt.JAVASCRIPT,rt.SPEC]:[rt.JAVASCRIPT];W(r)}}),[u]),(0,H.useEffect)((function(){var e=function(e){var t=e.detail.options;P(t),function(e){if(e){for(var t=[e],r=[];t.length;){var a=t.pop(),n=a.data;"object"===lt(n)&&"fetch"===n.type&&r.push(n),t.push.apply(t,dt(a.children||[]))}X(r.map((function(e){return e.value}))).then(J)}}(t)};return window.addEventListener("spec",e),function(){window.removeEventListener("spec",e)}}));var Y=(0,H.useCallback)((function(e){q(e)}),[u]),Q=(0,H.useCallback)((function(e,t){t.isFlush||V!==rt.JAVASCRIPT||O(e)}),[V]),Z=function(e,t){return"function"!=typeof t?t:"".concat(t.toString(),"")},ee=function(e){switch(e){case rt.JAVASCRIPT:case rt.SPEC:return"javascript";case rt.DATA:return"json";default:return"javascript"}},te=function(e){switch(e){case rt.JAVASCRIPT:return I;case rt.SPEC:return(0,Re.format)((t=function(e){return N?"import { Chart } from '@antv/g2';\n \n const chart = new Chart({container:'container'});\n\n chart.options(".concat(e,");\n\n chart.render();\n "):"(".concat(e,")")}(JSON.stringify(A,Z)),t.replace(/"\(.*?)\<\/func\>"/g,(function(e,t){return t.replace(/\\n/g,"\n").replace(/\\"/g,'"')}))),{plugins:[we()]});case rt.DATA:return JSON.stringify(j,null,2);default:return null}var t},re=function(e){return e===rt.JAVASCRIPT?I:null};return H.createElement("div",{className:nt},H.createElement(at,{fileExtension:M,sourceCode:I,playground:i,location:location,title:r,isFullScreen:l,editorTabs:U,currentEditorTab:V,onExecuteCode:function(){return $(I)},onEditorTabChange:Y,onToggleFullscreen:b,slots:{Spec:H.createElement("span",{style:{paddingLeft:"0.25em",paddingRight:0}},H.createElement(de.Z,{style:{width:30},size:"small",onChange:function(e){return F(e)},checked:N}))}}),U.map((function(e){return H.createElement("div",{key:e,className:st,style:{height:"calc(100% - 36px)",display:e===V?"block":"none"}},H.createElement(oe,{language:ee(e),value:te(e),defaultValue:re(e),path:e,loading:H.createElement(De.g,null),options:{readOnly:e===rt.DATA||e===rt.SPEC,automaticLayout:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,fixedOverflowWidgets:!0,lineNumbersMinChars:4,showFoldingControls:"always",foldingHighlight:!0},onChange:Q,onMount:function(e){B.current=e}}))})))}},83908:function(e,t,r){"use strict";r.d(t,{G:function(){return c}});var a=r(62435),n=r(16757),s=r(85956),i="CGDxcD47iA0DzUwgO9L_",o="uzxsbp2yoswfMg6AAbC_",d="A13eZH2Tm8sU5W1kwC2F",l="ZkgP4C3HQuMG68WGa_bQ",u="OxoeuGzm4gICQ9IWEp0f";var c=function(e){var t,r=e.isPlayground,c=e.exampleId,p=e.header,f=e.error;return a.createElement("div",{className:i},r?null:a.createElement("div",{className:o},p),a.createElement("div",{className:d},a.createElement("div",{id:"playgroundScriptContainer_".concat(c),className:l}),f?a.createElement(n.ZP,{className:u,status:"error",title:a.createElement(s._H,{id:"演示代码报错,请检查"}),subTitle:a.createElement("pre",null,(t=f,(t.reason?t.reason:t.message?t.message:t).toString()))}):null))}},27806:function(e,t,r){"use strict";r.d(t,{S:function(){return q}});var a=r(62435),n=r(85956),s=r(42054),i=r(45697),o=r.n(i),d=r(97262),l=r.n(d);function u(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function c(e){this.setState(function(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!=r?r:null}.bind(this))}function p(e,t){try{var r=this.props,a=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,a)}finally{this.props=r,this.state=a}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r=0?r:1/0;return Math.max(n,Math.min(s,a))}return void 0!==e?e:t}C.propTypes={className:o().string.isRequired,onClick:o().func,onDoubleClick:o().func,onMouseDown:o().func.isRequired,onTouchStart:o().func.isRequired,onTouchEnd:o().func.isRequired,split:o().oneOf(["vertical","horizontal"]),style:l(),resizerClassName:o().string.isRequired},C.defaultProps={resizerClassName:T};var k=function(e){v(r,e);var t=D(r);function r(e){var a;f(this,r),(a=t.call(this,e)).onMouseDown=a.onMouseDown.bind(w(a)),a.onTouchStart=a.onTouchStart.bind(w(a)),a.onMouseMove=a.onMouseMove.bind(w(a)),a.onTouchMove=a.onTouchMove.bind(w(a)),a.onMouseUp=a.onMouseUp.bind(w(a));var n=e.size,s=e.defaultSize,i=e.minSize,o=e.maxSize,d=e.primary,l=void 0!==n?n:P(s,i,o,null);return a.state={active:!1,resized:!1,pane1Size:"first"===d?l:void 0,pane2Size:"second"===d?l:void 0,instanceProps:{size:n}},a}return g(r,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onMouseUp),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("touchmove",this.onTouchMove),this.setState(r.getSizeUpdate(this.props,this.state))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("touchmove",this.onTouchMove)}},{key:"onMouseDown",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchStart(t)}},{key:"onTouchStart",value:function(e){var t=this.props,r=t.allowResize,a=t.onDragStarted,n=t.split;if(r){A(document,window);var s="vertical"===n?e.touches[0].clientX:e.touches[0].clientY;"function"==typeof a&&a(),this.setState({active:!0,position:s})}}},{key:"onMouseMove",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchMove(t)}},{key:"onTouchMove",value:function(e){var t=this.props,r=t.allowResize,a=t.maxSize,n=t.minSize,s=t.onChange,i=t.split,o=t.step,d=this.state,l=d.active,u=d.position;if(r&&l){A(document,window);var c="first"===this.props.primary,p=c?this.pane1:this.pane2,f=c?this.pane2:this.pane1;if(p){var h=p,g=f;if(h.getBoundingClientRect){var y=h.getBoundingClientRect().width,b=h.getBoundingClientRect().height,v="vertical"===i?y:b,x=u-("vertical"===i?e.touches[0].clientX:e.touches[0].clientY);if(o){if(Math.abs(x)parseInt(window.getComputedStyle(g).order)&&(R=-R);var E=a;if(void 0!==a&&a<=0){var w=this.splitPane;E="vertical"===i?w.getBoundingClientRect().width+a:w.getBoundingClientRect().height+a}var S=v-R,D=u-x;SE?S=E:this.setState({position:D,resized:!0}),s&&s(S),this.setState(m({draggedSize:S},c?"pane1Size":"pane2Size",S))}}}}},{key:"onMouseUp",value:function(){var e=this.props,t=e.allowResize,r=e.onDragFinished,a=this.state,n=a.active,s=a.draggedSize;t&&n&&("function"==typeof r&&r(s),this.setState({active:!1}))}},{key:"render",value:function(){var e=this,t=this.props,r=t.allowResize,n=t.children,s=t.className,i=t.onResizerClick,o=t.onResizerDoubleClick,d=t.paneClassName,l=t.pane1ClassName,u=t.pane2ClassName,c=t.paneStyle,p=t.pane1Style,f=t.pane2Style,h=t.resizerClassName,g=t.resizerStyle,m=t.split,y=t.style,v=this.state,x=v.pane1Size,R=v.pane2Size,E=r?"":"disabled",w=h?"".concat(h," ").concat(T):h,S=function(e){return a.Children.toArray(e).filter((function(e){return e}))}(n),D=b({display:"flex",flex:1,height:"100%",position:"absolute",outline:"none",overflow:"hidden",MozUserSelect:"text",WebkitUserSelect:"text",msUserSelect:"text",userSelect:"text"},y);"vertical"===m?Object.assign(D,{flexDirection:"row",left:0,right:0}):Object.assign(D,{bottom:0,flexDirection:"column",minHeight:"100%",top:0,width:"100%"});var A=["SplitPane",s,m,E],P=b({},c,{},p),k=b({},c,{},f),I=["Pane1",d,l].join(" "),O=["Pane2",d,u].join(" ");return a.createElement("div",{className:A.join(" "),ref:function(t){e.splitPane=t},style:D},a.createElement(j,{className:I,key:"pane1",eleRef:function(t){e.pane1=t},size:x,split:m,style:P},S[0]),a.createElement(C,{className:E,onClick:i,onDoubleClick:o,onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onTouchEnd:this.onMouseUp,key:"resizer",resizerClassName:w,split:m,style:g||{}}),a.createElement(j,{className:O,key:"pane2",eleRef:function(t){e.pane2=t},size:R,split:m,style:k},S[1]))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return r.getSizeUpdate(e,t)}},{key:"getSizeUpdate",value:function(e,t){var r={};if(t.instanceProps.size===e.size&&void 0!==e.size)return{};var a=void 0!==e.size?e.size:P(e.defaultSize,e.minSize,e.maxSize,t.draggedSize);void 0!==e.size&&(r.draggedSize=a);var n="first"===e.primary;return r[n?"pane1Size":"pane2Size"]=a,r[n?"pane2Size":"pane1Size"]=void 0,r.instanceProps={size:e.size},r}}]),r}(a.Component);k.propTypes={allowResize:o().bool,children:o().arrayOf(o().node).isRequired,className:o().string,primary:o().oneOf(["first","second"]),minSize:o().oneOfType([o().string,o().number]),maxSize:o().oneOfType([o().string,o().number]),defaultSize:o().oneOfType([o().string,o().number]),size:o().oneOfType([o().string,o().number]),split:o().oneOf(["vertical","horizontal"]),onDragStarted:o().func,onDragFinished:o().func,onChange:o().func,onResizerClick:o().func,onResizerDoubleClick:o().func,style:l(),resizerStyle:l(),paneClassName:o().string,pane1ClassName:o().string,pane2ClassName:o().string,paneStyle:l(),pane1Style:l(),pane2Style:l(),resizerClassName:o().string,step:o().number},k.defaultProps={allowResize:!0,minSize:50,primary:"first",split:"vertical",paneClassName:"",pane1ClassName:"",pane2ClassName:""},function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var r=null,a=null,n=null;if("function"==typeof t.componentWillMount?r="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?n="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(n="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==n){var s=e.displayName||e.name,i="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+i+" but also contains the following legacy lifecycles:"+(null!==r?"\n "+r:"")+(null!==a?"\n "+a:"")+(null!==n?"\n "+n:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=u,t.componentWillReceiveProps=c),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=p;var o=t.componentDidUpdate;t.componentDidUpdate=function(e,t,r){var a=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;o.call(this,e,t,a)}}}(k);var I=k,O=r(56184),_=r(62207),N=r(4191),F=r(26713),B=r(27049),M=function(e){var t=e.title;e.relativePath,e.githubUrl;return a.createElement(N.Z,{ghost:!1,title:t,extra:a.createElement(F.Z,{split:a.createElement(B.Z,{type:"vertical"})})})},L=r(83698),U=r(47407),W=r(73928);function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,s,i,o=[],d=!0,l=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;d=!1}else for(;!(d=(a=s.call(r)).done)&&(o.push(a.value),o.length!==t);d=!0);}catch(e){l=!0,n=e}finally{try{if(!d&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw n}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return V(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return V(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);re.length)&&(t=e.length);for(var r=0,a=new Array(t);r=0?e[a-1]:void 0,s=a+1=0;--s){var i=this.tryEntries[s],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var d=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(d&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;P(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,a){return this.delegate={iterator:I(t),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=e),y}},t}function i(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r0)return t[t.childrenKey]=i(s),t}return[(0,a.oM)(t.title,n)||"",t.id,t.filename].some((function(e){return(e?e.toLowerCase():"").includes(r?r.toLowerCase():"")}))?t:null}},26470:function(e,t,r){var a=r(34155);function n(e,t){for(var r=0,a=e.length-1;a>=0;a--){var n=e[a];"."===n?e.splice(a,1):".."===n?(e.splice(a,1),r++):r&&(e.splice(a,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function s(e,t){if(e.filter)return e.filter(t);for(var r=[],a=0;a=-1&&!t;r--){var i=r>=0?arguments[r]:a.cwd();if("string"!=typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(e=i+"/"+e,t="/"===i.charAt(0))}return(t?"/":"")+(e=n(s(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."},t.normalize=function(e){var r=t.isAbsolute(e),a="/"===i(e,-1);return(e=n(s(e.split("/"),(function(e){return!!e})),!r).join("/"))||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(s(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function a(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var n=a(e.split("/")),s=a(r.split("/")),i=Math.min(n.length,s.length),o=i,d=0;d=1;--s)if(47===(t=e.charCodeAt(s))){if(!n){a=s;break}}else n=!1;return-1===a?r?"/":".":r&&1===a?"/":e.slice(0,a)},t.basename=function(e,t){var r=function(e){"string"!=typeof e&&(e+="");var t,r=0,a=-1,n=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!n){r=t+1;break}}else-1===a&&(n=!1,a=t+1);return-1===a?"":e.slice(r,a)}(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,r=0,a=-1,n=!0,s=0,i=e.length-1;i>=0;--i){var o=e.charCodeAt(i);if(47!==o)-1===a&&(n=!1,a=i+1),46===o?-1===t?t=i:1!==s&&(s=1):-1!==t&&(s=-1);else if(!n){r=i+1;break}}return-1===t||-1===a||0===s||1===s&&t===a-1&&t===r+1?"":e.slice(t,a)};var i=function(e,t,r){return e.substr(t,r)}},28182:function(e,t,r){e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var a=function(e){return e&&e.Math==Math&&e};t.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),a=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),n=e(((e,t)=>{var r=a();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),s=e(((e,t)=>{var r=a();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),i=e(((e,t)=>{var r=s(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}})),o=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),d=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),l=e(((e,t)=>{var r=s(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(e){return function(){return n.apply(e,arguments)}}})),u=e(((e,t)=>{var r=l(),a=r({}.toString),n=r("".slice);t.exports=function(e){return n(a(e),8,-1)}})),c=e(((e,t)=>{var r=l(),n=a(),s=u(),i=Object,o=r("".split);t.exports=n((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?o(e,""):i(e)}:i})),p=e(((e,t)=>{t.exports=function(e){return null==e}})),f=e(((e,t)=>{var r=p(),a=TypeError;t.exports=function(e){if(r(e))throw a("Can't call method on "+e);return e}})),h=e(((e,t)=>{var r=c(),a=f();t.exports=function(e){return r(a(e))}})),g=e(((e,t)=>{var r="object"==typeof document&&document.all,a=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:a}})),m=e(((e,t)=>{var r=g(),a=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===a}:function(e){return"function"==typeof e}})),y=e(((e,t)=>{var r=m(),a=g(),n=a.all;t.exports=a.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===n}:function(e){return"object"==typeof e?null!==e:r(e)}})),b=e(((e,r)=>{var a=t(),n=m(),s=function(e){return n(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?s(a[e]):a[e]&&a[e][t]}})),v=e(((e,t)=>{var r=l();t.exports=r({}.isPrototypeOf)})),x=e(((e,t)=>{var r=b();t.exports=r("navigator","userAgent")||""})),R=e(((e,r)=>{var a,n,s=t(),i=x(),o=s.process,d=s.Deno,l=o&&o.versions||d&&d.version,u=l&&l.v8;u&&(n=(a=u.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!n&&i&&(!(a=i.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/))&&(n=+a[1]),r.exports=n})),E=e(((e,t)=>{var r=R(),n=a();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),w=e(((e,t)=>{var r=E();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),S=e(((e,t)=>{var r=b(),a=m(),n=v(),s=w(),i=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return a(t)&&n(t.prototype,i(e))}})),D=e(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),j=e(((e,t)=>{var r=m(),a=D(),n=TypeError;t.exports=function(e){if(r(e))return e;throw n(a(e)+" is not a function")}})),T=e(((e,t)=>{var r=j(),a=p();t.exports=function(e,t){var n=e[t];return a(n)?void 0:r(n)}})),C=e(((e,t)=>{var r=i(),a=m(),n=y(),s=TypeError;t.exports=function(e,t){var i,o;if("string"===t&&a(i=e.toString)&&!n(o=r(i,e))||a(i=e.valueOf)&&!n(o=r(i,e))||"string"!==t&&a(i=e.toString)&&!n(o=r(i,e)))return o;throw s("Can't convert object to primitive value")}})),A=e(((e,t)=>{t.exports=!1})),P=e(((e,r)=>{var a=t(),n=Object.defineProperty;r.exports=function(e,t){try{n(a,e,{value:t,configurable:!0,writable:!0})}catch{a[e]=t}return t}})),k=e(((e,r)=>{var a=t(),n=P(),s="__core-js_shared__",i=a[s]||n(s,{});r.exports=i})),I=e(((e,t)=>{var r=A(),a=k();(t.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"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"})})),O=e(((e,t)=>{var r=f(),a=Object;t.exports=function(e){return a(r(e))}})),_=e(((e,t)=>{var r=l(),a=O(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return n(a(e),t)}})),N=e(((e,t)=>{var r=l(),a=0,n=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++a+n,36)}})),F=e(((e,r)=>{var a=t(),n=I(),s=_(),i=N(),o=E(),d=w(),l=n("wks"),u=a.Symbol,c=u&&u.for,p=d?u:u&&u.withoutSetter||i;r.exports=function(e){if(!s(l,e)||!o&&"string"!=typeof l[e]){var t="Symbol."+e;o&&s(u,e)?l[e]=u[e]:l[e]=d&&c?c(t):p(t)}return l[e]}})),B=e(((e,t)=>{var r=i(),a=y(),n=S(),s=T(),o=C(),d=F(),l=TypeError,u=d("toPrimitive");t.exports=function(e,t){if(!a(e)||n(e))return e;var i,d=s(e,u);if(d){if(void 0===t&&(t="default"),i=r(d,e,t),!a(i)||n(i))return i;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}})),M=e(((e,t)=>{var r=B(),a=S();t.exports=function(e){var t=r(e,"string");return a(t)?t:t+""}})),L=e(((e,r)=>{var a=t(),n=y(),s=a.document,i=n(s)&&n(s.createElement);r.exports=function(e){return i?s.createElement(e):{}}})),U=e(((e,t)=>{var r=n(),s=a(),i=L();t.exports=!r&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),W=e((e=>{var t=n(),r=i(),a=o(),s=d(),l=h(),u=M(),c=_(),p=U(),f=Object.getOwnPropertyDescriptor;e.f=t?f:function(e,t){if(e=l(e),t=u(t),p)try{return f(e,t)}catch{}if(c(e,t))return s(!r(a.f,e,t),e[t])}})),z=e(((e,t)=>{var r=n(),s=a();t.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),V=e(((e,t)=>{var r=y(),a=String,n=TypeError;t.exports=function(e){if(r(e))return e;throw n(a(e)+" is not an object")}})),q=e((e=>{var t=n(),r=U(),a=z(),s=V(),i=M(),o=TypeError,d=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",p="writable";e.f=t?a?function(e,t,r){if(s(e),t=i(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var a=l(e,t);a&&a[p]&&(e[t]=r.value,r={configurable:c in r?r[c]:a[c],enumerable:u in r?r[u]:a[u],writable:!1})}return d(e,t,r)}:d:function(e,t,a){if(s(e),t=i(t),s(a),r)try{return d(e,t,a)}catch{}if("get"in a||"set"in a)throw o("Accessors not supported");return"value"in a&&(e[t]=a.value),e}})),G=e(((e,t)=>{var r=n(),a=q(),s=d();t.exports=r?function(e,t,r){return a.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}})),H=e(((e,t)=>{var r=n(),a=_(),s=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(s,"name"),d=o&&"something"===function(){}.name,l=o&&(!r||r&&i(s,"name").configurable);t.exports={EXISTS:o,PROPER:d,CONFIGURABLE:l}})),K=e(((e,t)=>{var r=l(),a=m(),n=k(),s=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(e){return s(e)}),t.exports=n.inspectSource})),$=e(((e,r)=>{var a=t(),n=m(),s=a.WeakMap;r.exports=n(s)&&/native code/.test(String(s))})),J=e(((e,t)=>{var r=I(),a=N(),n=r("keys");t.exports=function(e){return n[e]||(n[e]=a(e))}})),X=e(((e,t)=>{t.exports={}})),Y=e(((e,r)=>{var a,n,s,i,o,d=$(),l=t(),u=y(),c=G(),p=_(),f=k(),h=J(),g=X(),m="Object already initialized",b=l.TypeError,v=l.WeakMap,x=function(e){return s(e)?n(e):a(e,{})},R=function(e){return function(t){var r;if(!u(t)||(r=n(t)).type!==e)throw b("Incompatible receiver, "+e+" required");return r}};d||f.state?((i=f.state||(f.state=new v)).get=i.get,i.has=i.has,i.set=i.set,a=function(e,t){if(i.has(e))throw b(m);return t.facade=e,i.set(e,t),t},n=function(e){return i.get(e)||{}},s=function(e){return i.has(e)}):(g[o=h("state")]=!0,a=function(e,t){if(p(e,o))throw b(m);return t.facade=e,c(e,o,t),t},n=function(e){return p(e,o)?e[o]:{}},s=function(e){return p(e,o)}),r.exports={set:a,get:n,has:s,enforce:x,getterFor:R}})),Q=e(((e,t)=>{var r=a(),s=m(),i=_(),o=n(),d=H().CONFIGURABLE,l=K(),u=Y(),c=u.enforce,p=u.get,f=Object.defineProperty,h=o&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),y=t.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!i(e,"name")||d&&e.name!==t)&&(o?f(e,"name",{value:t,configurable:!0}):e.name=t),h&&r&&i(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?o&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var a=c(e);return i(a,"source")||(a.source=g.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return s(this)&&p(this).source||l(this)}),"toString")})),Z=e(((e,t)=>{var r=m(),a=q(),n=Q(),s=P();t.exports=function(e,t,i,o){o||(o={});var d=o.enumerable,l=void 0!==o.name?o.name:t;if(r(i)&&n(i,l,o),o.global)d?e[t]=i:s(t,i);else{try{o.unsafe?e[t]&&(d=!0):delete e[t]}catch{}d?e[t]=i:a.f(e,t,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}})),ee=e(((e,t)=>{var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?a:r)(t)}})),te=e(((e,t)=>{var r=ee();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}})),re=e(((e,t)=>{var r=te(),a=Math.max,n=Math.min;t.exports=function(e,t){var s=r(e);return s<0?a(s+t,0):n(s,t)}})),ae=e(((e,t)=>{var r=te(),a=Math.min;t.exports=function(e){return e>0?a(r(e),9007199254740991):0}})),ne=e(((e,t)=>{var r=ae();t.exports=function(e){return r(e.length)}})),se=e(((e,t)=>{var r=h(),a=re(),n=ne(),s=function(e){return function(t,s,i){var o,d=r(t),l=n(d),u=a(i,l);if(e&&s!=s){for(;l>u;)if((o=d[u++])!=o)return!0}else for(;l>u;u++)if((e||u in d)&&d[u]===s)return e||u||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),ie=e(((e,t)=>{var r=l(),a=_(),n=h(),s=se().indexOf,i=X(),o=r([].push);t.exports=function(e,t){var r,d=n(e),l=0,u=[];for(r in d)!a(i,r)&&a(d,r)&&o(u,r);for(;t.length>l;)a(d,r=t[l++])&&(~s(u,r)||o(u,r));return u}})),oe=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),de=e((e=>{var t=ie(),r=oe().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),le=e((e=>{e.f=Object.getOwnPropertySymbols})),ue=e(((e,t)=>{var r=b(),a=l(),n=de(),s=le(),i=V(),o=a([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=n.f(i(e)),r=s.f;return r?o(t,r(e)):t}})),ce=e(((e,t)=>{var r=_(),a=ue(),n=W(),s=q();t.exports=function(e,t,i){for(var o=a(t),d=s.f,l=n.f,u=0;u{var r=a(),n=m(),s=/#|\.prototype\./,i=function(e,t){var a=d[o(e)];return a==u||a!=l&&(n(t)?r(t):!!t)},o=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},d=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i})),fe=e(((e,r)=>{var a=t(),n=W().f,s=G(),i=Z(),o=P(),d=ce(),l=pe();r.exports=function(e,t){var r,u,c,p,f,h=e.target,g=e.global,m=e.stat;if(r=g?a:m?a[h]||o(h,{}):(a[h]||{}).prototype)for(u in t){if(p=t[u],c=e.dontCallGetSet?(f=n(r,u))&&f.value:r[u],!l(g?u:h+(m?".":"#")+u,e.forced)&&void 0!==c){if(typeof p==typeof c)continue;d(p,c)}(e.sham||c&&c.sham)&&s(p,"sham",!0),i(r,u,p,e)}}})),he=e((()=>{var e=fe(),r=t();e({global:!0,forced:r.globalThis!==r},{globalThis:r})})),ge=e((()=>{he()})),me=e(((e,t)=>{var r=Q(),a=q();t.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),a.f(e,t,n)}})),ye=e(((e,t)=>{var r=V();t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),be=e((()=>{var e=t(),r=n(),s=me(),i=ye(),o=a(),d=e.RegExp,l=d.prototype;r&&o((function(){var e=!0;try{d(".","d")}catch{e=!1}var t={},r="",a=e?"dgimsy":"gimsy",n=function(e,a){Object.defineProperty(t,e,{get:function(){return r+=a,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in e&&(s.hasIndices="d"),s)n(i,s[i]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==a||r!==a}))&&s(l,"flags",{configurable:!0,get:i})})),ve=e(((e,t)=>{var r=u();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),xe=e(((e,t)=>{var r=TypeError,a=9007199254740991;t.exports=function(e){if(e>a)throw r("Maximum allowed index exceeded");return e}})),Re=e(((e,t)=>{var r=u(),a=l();t.exports=function(e){if("Function"===r(e))return a(e)}})),Ee=e(((e,t)=>{var r=Re(),a=j(),n=s(),i=r(r.bind);t.exports=function(e,t){return a(e),void 0===t?e:n?i(e,t):function(){return e.apply(t,arguments)}}})),we=e(((e,t)=>{var r=ve(),a=ne(),n=xe(),s=Ee(),i=function(e,t,o,d,l,u,c,p){for(var f,h,g=l,m=0,y=!!c&&s(c,p);m0&&r(f)?(h=a(f),g=i(e,t,f,h,g,u-1)-1):(n(g+1),e[g]=f),g++),m++;return g};t.exports=i})),Se=e(((e,t)=>{var r={};r[F()("toStringTag")]="z",t.exports="[object z]"===String(r)})),De=e(((e,t)=>{var r=Se(),a=m(),n=u(),s=F()("toStringTag"),i=Object,o="Arguments"==n(function(){return arguments}()),d=function(e,t){try{return e[t]}catch{}};t.exports=r?n:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=d(t=i(e),s))?r:o?n(t):"Object"==(l=n(t))&&a(t.callee)?"Arguments":l}})),je=e(((e,t)=>{var r=l(),n=a(),s=m(),i=De(),o=b(),d=K(),u=function(){},c=[],p=o("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=r(f.exec),g=!f.exec(u),y=function(e){if(!s(e))return!1;try{return p(u,c,e),!0}catch{return!1}},v=function(e){if(!s(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!h(f,d(e))}catch{return!0}};v.sham=!0,t.exports=!p||n((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?v:y})),Te=e(((e,t)=>{var r=ve(),a=je(),n=y(),s=F()("species"),i=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(a(t)&&(t===i||r(t.prototype))||n(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?i:t}})),Ce=e(((e,t)=>{var r=Te();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),Ae=e((()=>{var e=fe(),t=we(),r=j(),a=O(),n=ne(),s=Ce();e({target:"Array",proto:!0},{flatMap:function(e){var i,o=a(this),d=n(o);return r(e),(i=s(o,0)).length=t(i,o,o,d,0,1,e,arguments.length>1?arguments[1]:void 0),i}})})),Pe=e(((e,t)=>{ge(),be(),Ae();var r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,i=(e,t)=>function(){return e&&(t=(0,e[n(e)[0]])(e=0)),t},o=(e,t)=>function(){return t||(0,e[n(e)[0]])((t={exports:{}}).exports,t),t.exports},d=(e,t)=>{for(var a in t)r(e,a,{get:t[a],enumerable:!0})},l=(e,t,i,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let d of n(t))!s.call(e,d)&&d!==i&&r(e,d,{get:()=>t[d],enumerable:!(o=a(t,d))||o.enumerable});return e},u=e=>l(r({},"__esModule",{value:!0}),e),c=i({""(){}}),p=o({"src/utils/try-combinations.js"(e,t){function r(){let e;for(var t=arguments.length,r=new Array(t),a=0;a{let n=a&&a.backwards;if(!1===r)return!1;let{length:s}=t,i=r;for(;i>=0&&i"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])_="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");_="LE"}}return _}function R(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function E(){return[]}function w(){return 0}function S(){return Number.MAX_VALUE}function D(){return Number.MAX_VALUE}function j(){return[]}function T(){return"Browser"}function C(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function A(){}function P(){}function k(){return"javascript"}function I(){return"browser"}function O(){return"/tmp"}d(v,{EOL:()=>F,arch:()=>k,cpus:()=>j,default:()=>B,endianness:()=>x,freemem:()=>S,getNetworkInterfaces:()=>P,hostname:()=>R,loadavg:()=>E,networkInterfaces:()=>A,platform:()=>I,release:()=>C,tmpDir:()=>O,tmpdir:()=>N,totalmem:()=>D,type:()=>T,uptime:()=>w});var _,N,F,B,M=i({"node-modules-polyfills:os"(){c(),B={EOL:F="\n",tmpdir:N=O,tmpDir:O,networkInterfaces:A,getNetworkInterfaces:P,release:C,type:T,cpus:j,totalmem:D,freemem:S,uptime:w,loadavg:E,hostname:R,endianness:x}}}),L=o({"node-modules-polyfills-commonjs:os"(e,t){c();var r=(M(),u(v));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),U=o({"node_modules/detect-newline/index.js"(e,t){c();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),W=o({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=L();return t=function(){return e},e}function r(){let e=a(U());return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}c(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=h,e.parse=m,e.parseWithComments=y,e.print=b,e.strip=g;var n=/\*\/$/,s=/^\/\*\*?/,i=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,d=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,f=[];function h(e){let t=e.match(i);return t?t[0].trimLeft():""}function g(e){let t=e.match(i);return t&&t[0]?e.substring(t[0].length):e}function m(e){return y(e).pragmas}function y(e){let a=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(n,"").replace(p,"$1");let i="";for(;i!==e;)i=e,e=e.replace(l,`${a}$1 $2${a}`);e=e.replace(d,"").trimRight();let c,h=Object.create(null),g=e.replace(u,"").replace(d,"").trimRight();for(;c=u.exec(e);){let e=c[2].replace(o,"");"string"==typeof h[c[1]]||Array.isArray(h[c[1]])?h[c[1]]=f.concat(h[c[1]],e):h[c[1]]=e}return{comments:g,pragmas:h}}function b(e){let{comments:a="",pragmas:n={}}=e,s=(0,r().default)(a)||t().EOL,i="/**",o=" *",d=" */",l=Object.keys(n),u=l.map((e=>v(e,n[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${o} ${e}${s}`)).join("");if(!a){if(0===l.length)return"";if(1===l.length&&!Array.isArray(n[l[0]])){let e=n[l[0]];return`${i} ${v(l[0],e)[0]}${d}`}}let c=a.split(s).map((e=>`${o} ${e}`)).join(s)+s;return i+s+(a?c:"")+(a&&l.length?o+s:"")+u+d}function v(e,t){return f.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),z=o({"src/common/end-of-line.js"(e,t){function r(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function a(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function n(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let a=e.match(r);return a?a.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}c(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:a,countEndOfLineChars:n,normalizeEndOfLine:s}}}),V=o({"src/language-js/pragma.js"(e,t){c();var{parseWithComments:r,strip:a,extract:n,print:s}=W(),{normalizeEndOfLine:i}=z(),o=f();function d(e){let t=o(e);t&&(e=e.slice(t.length+1));let a=n(e),{pragmas:s,comments:i}=r(a);return{shebang:t,text:e,pragmas:s,comments:i}}function l(e){let t=Object.keys(d(e).pragmas);return t.includes("prettier")||t.includes("format")}function u(e){let{shebang:t,text:r,pragmas:n,comments:o}=d(e),l=a(r),u=s({pragmas:Object.assign({format:""},n),comments:o.trimStart()});return(t?`${t}\n`:"")+i(u)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:u}}}),q=o({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}c(),t.exports=r}}),G=o({"src/language-js/loc.js"(e,t){c();var r=q();function a(e){var t,n;let s=e.range?e.range[0]:e.start,i=null!==(t=null===(n=e.declaration)||void 0===n?void 0:n.decorators)&&void 0!==t?t:e.decorators;return r(i)?Math.min(a(i[0]),s):s}function n(e){return e.range?e.range[1]:e.end}function s(e,t){let r=a(e);return Number.isInteger(r)&&r===a(t)}function i(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}function o(e,t){return s(e,t)&&i(e,t)}t.exports={locStart:a,locEnd:n,hasSameLocStart:s,hasSameLoc:o}}}),H=o({"src/language-js/parse/utils/create-parser.js"(e,t){c();var{hasPragma:r}=V(),{locStart:a,locEnd:n}=G();function s(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:r,locStart:a,locEnd:n},e)}t.exports=s}}),K=o({"src/common/parser-create-error.js"(e,t){function r(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}c(),t.exports=r}}),$=o({"src/language-js/parse/utils/create-babel-parse-error.js"(e,t){c();var r=K();function a(e){let{message:t,loc:a}=e;return r(t.replace(/ \(.*\)/,""),{start:{line:a?a.line:0,column:a?a.column+1:0}})}t.exports=a}}),J=o({"src/language-js/utils/is-ts-keyword-type.js"(e,t){function r(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}c(),t.exports=r}}),X=o({"src/language-js/utils/is-block-comment.js"(e,t){c();var r=new Set(["Block","CommentBlock","MultiLine"]),a=e=>r.has(null==e?void 0:e.type);t.exports=a}}),Y=o({"src/language-js/utils/is-type-cast-comment.js"(e,t){c();var r=X();function a(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}t.exports=a}}),Q=o({"src/utils/get-last.js"(e,t){c();var r=e=>e[e.length-1];t.exports=r}}),Z=o({"src/language-js/parse/postprocess/visit-node.js"(e,t){function r(e,t){if(Array.isArray(e)){for(let a=0;a{e.leadingComments&&e.leadingComments.some(s)&&t.add(r(e))})),e=o(e,(e=>{if("ParenthesizedExpression"===e.type){let{expression:a}=e;if("TypeCastExpression"===a.type)return a.range=e.range,a;let n=r(e);if(!t.has(n))return a.extra=Object.assign(Object.assign({},a.extra),{},{parenthesized:!0}),a}}))}return e=o(e,(e=>{switch(e.type){case"ChainExpression":return u(e.expression);case"LogicalExpression":if(p(e))return f(e);break;case"VariableDeclaration":{let t=i(e.declarations);t&&t.init&&l(e,t);break}case"TSParenthesizedType":return n(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[r(e),a(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=r(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"ObjectExpression":if("typescript"===t.parser){let t=e.properties.find((e=>"Property"===e.type&&"TSEmptyBodyFunctionExpression"===e.value.type));t&&d(t.value,"Unexpected token.")}break;case"SequenceExpression":{let t=i(e.expressions);e.range=[r(e),Math.min(a(t),a(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:n}=e;if("meriyah"===t.parser&&n&&"Identifier"===n.type){let s=t.originalText.slice(r(n),a(n));(s.startsWith('"')||s.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:s}))}break}case"PropertyDefinition":if("meriyah"===t.parser&&e.static&&!e.computed&&!e.key){let t="static",a=r(e);Object.assign(e,{static:!1,key:{type:"Identifier",name:t,range:[a,a+t.length]}})}}}));function l(e,n){";"!==t.originalText[a(n)]&&(e.range=[r(e),a(n)])}}function u(e){switch(e.type){case"CallExpression":e.type="OptionalCallExpression",e.callee=u(e.callee);break;case"MemberExpression":e.type="OptionalMemberExpression",e.object=u(e.object);break;case"TSNonNullExpression":e.expression=u(e.expression)}return e}function p(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function f(e){return p(e)?f({type:"LogicalExpression",operator:e.operator,left:f({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[r(e.left),a(e.right.left)]}),right:e.right.right,range:[r(e),a(e)]}):e}t.exports=l}}),re=o({"node_modules/@babel/parser/lib/index.js"(e){c(),Object.defineProperty(e,"__esModule",{value:!0});var t={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function r(e){if(e&&null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");let r={};for(let a of Object.keys(t))r[a]=e&&null!=e[a]?e[a]:t[a];return r}var a=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},n={brace:new a("{"),j_oTag:new a("...",!0)};n.template=new a("`",!0);var s=!0,i=!0,o=!0,d=!0,l=!0,u=!0,p=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}},f=new Map;function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;let r=w(e,t);return f.set(e,r),r}function g(e,t){return w(e,{beforeExpr:s,binop:t})}var m=-1,y=[],b=[],v=[],x=[],R=[],E=[];function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,a,n,s;return++m,b.push(e),v.push(null!=(r=t.binop)?r:-1),x.push(null!=(a=t.beforeExpr)&&a),R.push(null!=(n=t.startsExpr)&&n),E.push(null!=(s=t.prefix)&&s),y.push(new p(e,t)),m}function S(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,a,n,s;return++m,f.set(e,m),b.push(e),v.push(null!=(r=t.binop)?r:-1),x.push(null!=(a=t.beforeExpr)&&a),R.push(null!=(n=t.startsExpr)&&n),E.push(null!=(s=t.prefix)&&s),y.push(new p("name",t)),m}var D={bracketL:w("[",{beforeExpr:s,startsExpr:i}),bracketHashL:w("#[",{beforeExpr:s,startsExpr:i}),bracketBarL:w("[|",{beforeExpr:s,startsExpr:i}),bracketR:w("]"),bracketBarR:w("|]"),braceL:w("{",{beforeExpr:s,startsExpr:i}),braceBarL:w("{|",{beforeExpr:s,startsExpr:i}),braceHashL:w("#{",{beforeExpr:s,startsExpr:i}),braceR:w("}"),braceBarR:w("|}"),parenL:w("(",{beforeExpr:s,startsExpr:i}),parenR:w(")"),comma:w(",",{beforeExpr:s}),semi:w(";",{beforeExpr:s}),colon:w(":",{beforeExpr:s}),doubleColon:w("::",{beforeExpr:s}),dot:w("."),question:w("?",{beforeExpr:s}),questionDot:w("?."),arrow:w("=>",{beforeExpr:s}),template:w("template"),ellipsis:w("...",{beforeExpr:s}),backQuote:w("`",{startsExpr:i}),dollarBraceL:w("${",{beforeExpr:s,startsExpr:i}),templateTail:w("...`",{startsExpr:i}),templateNonTail:w("...${",{beforeExpr:s,startsExpr:i}),at:w("@"),hash:w("#",{startsExpr:i}),interpreterDirective:w("#!..."),eq:w("=",{beforeExpr:s,isAssign:d}),assign:w("_=",{beforeExpr:s,isAssign:d}),slashAssign:w("_=",{beforeExpr:s,isAssign:d}),xorAssign:w("_=",{beforeExpr:s,isAssign:d}),moduloAssign:w("_=",{beforeExpr:s,isAssign:d}),incDec:w("++/--",{prefix:l,postfix:u,startsExpr:i}),bang:w("!",{beforeExpr:s,prefix:l,startsExpr:i}),tilde:w("~",{beforeExpr:s,prefix:l,startsExpr:i}),doubleCaret:w("^^",{startsExpr:i}),doubleAt:w("@@",{startsExpr:i}),pipeline:g("|>",0),nullishCoalescing:g("??",1),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),lt:g("/<=/>=",7),gt:g("/<=/>=",7),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),bitShiftL:g("<>/>>>",8),bitShiftR:g("<>/>>>",8),plusMin:w("+/-",{beforeExpr:s,binop:9,prefix:l,startsExpr:i}),modulo:w("%",{binop:10,startsExpr:i}),star:w("*",{binop:10}),slash:g("/",10),exponent:w("**",{beforeExpr:s,binop:11,rightAssociative:!0}),_in:h("in",{beforeExpr:s,binop:7}),_instanceof:h("instanceof",{beforeExpr:s,binop:7}),_break:h("break"),_case:h("case",{beforeExpr:s}),_catch:h("catch"),_continue:h("continue"),_debugger:h("debugger"),_default:h("default",{beforeExpr:s}),_else:h("else",{beforeExpr:s}),_finally:h("finally"),_function:h("function",{startsExpr:i}),_if:h("if"),_return:h("return",{beforeExpr:s}),_switch:h("switch"),_throw:h("throw",{beforeExpr:s,prefix:l,startsExpr:i}),_try:h("try"),_var:h("var"),_const:h("const"),_with:h("with"),_new:h("new",{beforeExpr:s,startsExpr:i}),_this:h("this",{startsExpr:i}),_super:h("super",{startsExpr:i}),_class:h("class",{startsExpr:i}),_extends:h("extends",{beforeExpr:s}),_export:h("export"),_import:h("import",{startsExpr:i}),_null:h("null",{startsExpr:i}),_true:h("true",{startsExpr:i}),_false:h("false",{startsExpr:i}),_typeof:h("typeof",{beforeExpr:s,prefix:l,startsExpr:i}),_void:h("void",{beforeExpr:s,prefix:l,startsExpr:i}),_delete:h("delete",{beforeExpr:s,prefix:l,startsExpr:i}),_do:h("do",{isLoop:o,beforeExpr:s}),_for:h("for",{isLoop:o}),_while:h("while",{isLoop:o}),_as:S("as",{startsExpr:i}),_assert:S("assert",{startsExpr:i}),_async:S("async",{startsExpr:i}),_await:S("await",{startsExpr:i}),_from:S("from",{startsExpr:i}),_get:S("get",{startsExpr:i}),_let:S("let",{startsExpr:i}),_meta:S("meta",{startsExpr:i}),_of:S("of",{startsExpr:i}),_sent:S("sent",{startsExpr:i}),_set:S("set",{startsExpr:i}),_static:S("static",{startsExpr:i}),_using:S("using",{startsExpr:i}),_yield:S("yield",{startsExpr:i}),_asserts:S("asserts",{startsExpr:i}),_checks:S("checks",{startsExpr:i}),_exports:S("exports",{startsExpr:i}),_global:S("global",{startsExpr:i}),_implements:S("implements",{startsExpr:i}),_intrinsic:S("intrinsic",{startsExpr:i}),_infer:S("infer",{startsExpr:i}),_is:S("is",{startsExpr:i}),_mixins:S("mixins",{startsExpr:i}),_proto:S("proto",{startsExpr:i}),_require:S("require",{startsExpr:i}),_satisfies:S("satisfies",{startsExpr:i}),_keyof:S("keyof",{startsExpr:i}),_readonly:S("readonly",{startsExpr:i}),_unique:S("unique",{startsExpr:i}),_abstract:S("abstract",{startsExpr:i}),_declare:S("declare",{startsExpr:i}),_enum:S("enum",{startsExpr:i}),_module:S("module",{startsExpr:i}),_namespace:S("namespace",{startsExpr:i}),_interface:S("interface",{startsExpr:i}),_type:S("type",{startsExpr:i}),_opaque:S("opaque",{startsExpr:i}),name:w("name",{startsExpr:i}),string:w("string",{startsExpr:i}),num:w("num",{startsExpr:i}),bigint:w("bigint",{startsExpr:i}),decimal:w("decimal",{startsExpr:i}),regexp:w("regexp",{startsExpr:i}),privateName:w("#name",{startsExpr:i}),eof:w("eof"),jsxName:w("jsxName"),jsxText:w("jsxText",{beforeExpr:!0}),jsxTagStart:w("jsxTagStart",{startsExpr:!0}),jsxTagEnd:w("jsxTagEnd"),placeholder:w("%%",{startsExpr:!0})};function j(e){return e>=93&&e<=130}function T(e){return e<=92}function C(e){return e>=58&&e<=130}function A(e){return e>=58&&e<=134}function P(e){return x[e]}function k(e){return R[e]}function I(e){return e>=29&&e<=33}function O(e){return e>=127&&e<=129}function _(e){return e>=90&&e<=92}function N(e){return e>=58&&e<=92}function F(e){return e>=39&&e<=59}function B(e){return 34===e}function M(e){return E[e]}function L(e){return e>=119&&e<=121}function U(e){return e>=122&&e<=128}function W(e){return b[e]}function z(e){return v[e]}function V(e){return 57===e}function q(e){return e>=24&&e<=25}function G(e){return y[e]}function H(e,t){if(null==e)return{};var r,a,n={},s=Object.keys(e);for(a=0;a=0)&&(n[r]=e[r]);return n}y[8].updateContext=e=>{e.pop()},y[5].updateContext=y[7].updateContext=y[23].updateContext=e=>{e.push(n.brace)},y[22].updateContext=e=>{e[e.length-1]===n.template?e.pop():e.push(n.template)},y[140].updateContext=e=>{e.push(n.j_expr,n.j_oTag)};var K=class{constructor(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r}},$=class{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}};function J(e,t){let{line:r,column:a,index:n}=e;return new K(r,a+t,n+t)}var X={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},Y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;return{get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,a,n)=>n===t?e[a]=r:e[a]),this)}}},Q=(e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((e=>{let[,t]=e;return!!t})).map((e=>{let[t,r]=e;return[t,"function"==typeof r?{value:r,enumerable:!1}:"string"==typeof r.reflect?Object.assign({},r,Y(r.reflect.split("."))):r]})).reduce(((e,t)=>{let[r,a]=t;return Object.defineProperty(e,r,Object.assign({configurable:!0},a))}),Object.assign(new e,t)),Z={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:X.SourceTypeModuleError},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:X.SourceTypeModuleError}},ee={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},te=e=>{let{type:t,prefix:r}=e;return"UpdateExpression"===t?ee.UpdateExpression[String(r)]:ee[t]},re={AccessorIsGenerator:e=>{let{kind:t}=e;return`A ${t}ter cannot be a generator.`},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:e=>{let{kind:t}=e;return`Missing initializer in ${t} declaration.`},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:e=>{let{exportName:t}=e;return`\`${t}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:e=>{let{localName:t,exportName:r}=e;return`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${t}' as '${r}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:e=>{let{type:t}=e;return`'${"ForInStatement"===t?"for-in":"for-of"}' loop variable declaration may not have an initializer.`},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:e=>{let{type:t}=e;return`Unsyntactic ${"BreakStatement"===t?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:e=>{let{importName:t}=e;return`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${t}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:e=>{let{maxArgumentCount:t}=e;return`\`import()\` requires exactly ${1===t?"one argument":"one or two arguments"}.`},ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:e=>{let{radix:t}=e;return`Expected number in radix ${t}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:e=>{let{reservedWord:t}=e;return`Escape sequence in keyword ${t}.`},InvalidIdentifier:e=>{let{identifierName:t}=e;return`Invalid identifier ${t}.`},InvalidLhs:e=>{let{ancestor:t}=e;return`Invalid left-hand side in ${te(t)}.`},InvalidLhsBinding:e=>{let{ancestor:t}=e;return`Binding invalid left-hand side in ${te(t)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:e=>{let{unexpected:t}=e;return`Unexpected character '${t}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:e=>{let{identifierName:t}=e;return`Private name #${t} is not defined.`},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:e=>{let{labelName:t}=e;return`Label '${t}' is already declared.`},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling the parser plugin: ${t.map((e=>JSON.stringify(e))).join(", ")}.`},MissingOneOfPlugins:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map((e=>JSON.stringify(e))).join(", ")}.`},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:e=>{let{key:t}=e;return`Duplicate key "${t}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:e=>{let{surrogateCharCode:t}=e;return`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`},ModuleExportUndefined:e=>{let{localName:t}=e;return`Export '${t}' is not defined.`},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:e=>{let{identifierName:t}=e;return`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`},PrivateNameRedeclaration:e=>{let{identifierName:t}=e;return`Duplicate private name #${t}.`},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:e=>{let{keyword:t}=e;return`Unexpected keyword '${t}'.`},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:e=>{let{reservedWord:t}=e;return`Unexpected reserved word '${t}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:e=>{let{expected:t,unexpected:r}=e;return`Unexpected token${r?` '${r}'.`:""}${t?`, expected "${t}"`:""}`},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:e=>{let{target:t,onlyValidPropertyName:r}=e;return`The only valid meta property for ${t} is ${t}.${r}.`},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:e=>{let{identifierName:t}=e;return`Identifier '${t}' has already been declared.`},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},ae={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:e=>{let{referenceName:t}=e;return`Assigning to '${t}' in strict mode.`},StrictEvalArgumentsBinding:e=>{let{bindingName:t}=e;return`Binding '${t}' in strict mode.`},StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},ne=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),se={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:e=>{let{token:t}=e;return`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:e=>{let{type:t}=e;return`Hack-style pipe body cannot be an unparenthesized ${te({type:t})}; please wrap it in parentheses.`},PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},ie=["toMessage"],oe=["message"];function de(e){let{toMessage:t}=e,r=H(e,ie);return function e(a){let{loc:n,details:s}=a;return Q(SyntaxError,Object.assign({},r,{loc:n}),{clone(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.loc||{};return e({loc:new K("line"in r?r.line:this.loc.line,"column"in r?r.column:this.loc.column,"index"in r?r.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:s,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in s&&{reflect:"details.missingPlugin",enumerable:!0}})}}function le(e,t){if(Array.isArray(e))return t=>le(t,e[0]);let r={};for(let a of Object.keys(e)){let n=e[a],s="string"==typeof n?{message:()=>n}:"function"==typeof n?{message:n}:n,{message:i}=s,o=H(s,oe),d="string"==typeof i?()=>i:i;r[a]=de(Object.assign({code:X.SyntaxError,reasonCode:a,toMessage:d},t?{syntaxPlugin:t}:{},o))}return r}var ue=Object.assign({},le(Z),le(re),le(ae),le`pipelineOperator`(se)),{defineProperty:ce}=Object,pe=(e,t)=>ce(e,t,{enumerable:!1,value:e[t]});function fe(e){return e.loc.start&&pe(e.loc.start,"index"),e.loc.end&&pe(e.loc.end,"index"),e}var he=e=>class extends e{parse(){let e=fe(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(fe)),e}parseRegExpLiteral(e){let{pattern:t,flags:r}=e,a=null;try{a=new RegExp(t,r)}catch{}let n=this.estreeParseLiteral(a);return n.regex={pattern:t,flags:r},n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let t=e.value;delete e.value,t.type="Literal",t.raw=t.extra.raw,t.value=t.extra.expressionValue;let r=e;return r.type="ExpressionStatement",r.expression=t,r.directive=t.extra.rawValue,delete t.extra,r}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,t,r,a,n){super.parseBlockBody(e,t,r,a,n);let s=e.directives.map((e=>this.directiveToStmt(e)));e.body=s.concat(e.body),delete e.directives}pushClassMethod(e,t,r,a,n,s){this.parseMethod(t,r,a,n,s,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,a,n,s){let i=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=this.startNode();return o.kind=e.kind,o=super.parseMethod(o,t,r,a,n,s,i),o.type="FunctionExpression",delete o.kind,e.value=o,"ClassPrivateMethod"===s&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}parseClassProperty(){let e=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition"),e}parseClassPrivateProperty(){let e=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition",e.computed=!1),e}parseObjectMethod(e,t,r,a,n){let s=super.parseObjectMethod(e,t,r,a,n);return s&&(s.type="Property","method"===s.kind&&(s.kind="init"),s.shorthand=!1),s}parseObjectProperty(e,t,r,a){let n=super.parseObjectProperty(e,t,r,a);return n&&(n.kind="init",n.type="Property"),n}isValidLVal(e,t,r){return"Property"===e?"value":super.isValidLVal(e,t,r)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!=e&&this.isObjectProperty(e)){let{key:r,value:a}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(a,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,r){"get"===e.kind||"set"===e.kind?this.raise(ue.PatternHasAccessor,{at:e.key}):e.method?this.raise(ue.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,t,r)}finishCallExpression(e,t){let r=super.finishCallExpression(e,t);var a;"Import"===r.callee.type&&(r.type="ImportExpression",r.source=r.arguments[0],this.hasPlugin("importAssertions")&&(r.attributes=null!=(a=r.arguments[1])?a:null),delete r.arguments,delete r.callee);return r}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){let r=this.state.lastTokStartLoc,a=super.parseExport(e,t);switch(a.type){case"ExportAllDeclaration":a.exported=null;break;case"ExportNamedDeclaration":1===a.specifiers.length&&"ExportNamespaceSpecifier"===a.specifiers[0].type&&(a.type="ExportAllDeclaration",a.exported=a.specifiers[0].exported,delete a.specifiers);case"ExportDefaultDeclaration":{var n;let{declaration:e}=a;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(n=e.decorators)?void 0:n.length)>0&&e.start===a.start&&this.resetStartLocation(a,r)}}return a}parseSubscript(e,t,r,a){let n=super.parseSubscript(e,t,r,a);if(a.optionalChainMember){if(("OptionalMemberExpression"===n.type||"OptionalCallExpression"===n.type)&&(n.type=n.type.substring(8)),a.stop){let e=this.startNodeAtNode(n);return e.expression=n,this.finishNode(e,"ChainExpression")}}else("MemberExpression"===n.type||"CallExpression"===n.type)&&(n.optional=!1);return n}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,r){return fe(super.finishNodeAt(e,t,r))}resetStartLocation(e,t){super.resetStartLocation(e,t),fe(e)}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(e,t),fe(e)}},ge="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",me="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",ye=new RegExp("["+ge+"]"),be=new RegExp("["+ge+me+"]");ge=me=null;var ve=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],xe=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function Re(e,t){let r=65536;for(let a=0,n=t.length;ae)return!1;if(r+=t[a+1],r>=e)return!0}return!1}function Ee(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ye.test(String.fromCharCode(e)):Re(e,ve)))}function we(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&be.test(String.fromCharCode(e)):Re(e,ve)||Re(e,xe))))}var Se={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},De=new Set(Se.keyword),je=new Set(Se.strict),Te=new Set(Se.strictBind);function Ce(e,t){return t&&"await"===e||"enum"===e}function Ae(e,t){return Ce(e,t)||je.has(e)}function Pe(e){return Te.has(e)}function ke(e,t){return Ae(e,t)||Pe(e)}function Ie(e){return De.has(e)}function Oe(e,t,r){return 64===e&&64===t&&Ee(r)}var _e=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Ne(e){return _e.has(e)}var Fe=0,Be=1,Me=2,Le=4,Ue=8,We=16,ze=32,Ve=64,qe=128,Ge=256,He=Be|Me|qe|Ge,Ke=1,$e=2,Je=4,Xe=8,Ye=16,Qe=64,Ze=128,et=256,tt=512,rt=1024,at=2048,nt=4096,st=8192,it=Ke|$e|Xe|Ze|st,ot=0|Ke|Xe|st,dt=0|Ke|Xe|0,lt=0|Ke|Je|0,ut=0|Ke|Ye|0,ct=0|$e|Ze,pt=0|$e,ft=Ke|$e|Xe|et|st,ht=0|rt,gt=0|Qe,mt=0|Ke|Qe,yt=ft|tt,bt=0|rt,vt=0|$e|nt,xt=at,Rt=4,Et=2,wt=1,St=Et|wt,Dt=Et|Rt,jt=wt|Rt,Tt=Et,Ct=wt,At=0,Pt=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},kt=class{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(this.currentScope().flags&Be)>0}get inFunction(){return(this.currentVarScopeFlags()&Me)>0}get allowSuper(){return(this.currentThisScopeFlags()&We)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&ze)>0}get inClass(){return(this.currentThisScopeFlags()&Ve)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&Ve)>0&&0==(e&Me)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&qe)return!0;if(t&(He|Ve))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&Me)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Pt(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&(Me|qe)||!this.parser.inModule&&e.flags&Be)}declareName(e,t,r){let a=this.currentScope();if(t&Xe||t&Ye)this.checkRedeclarationInScope(a,e,t,r),t&Ye?a.functions.add(e):a.lexical.add(e),t&Xe&&this.maybeExportDefined(a,e);else if(t&Je)for(let n=this.scopeStack.length-1;n>=0&&(a=this.scopeStack[n],this.checkRedeclarationInScope(a,e,t,r),a.var.add(e),this.maybeExportDefined(a,e),!(a.flags&He));--n);this.parser.inModule&&a.flags&Be&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&e.flags&Be&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,a){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(ue.VarRedeclaration,{at:a,identifierName:t})}isRedeclaredInScope(e,t,r){return!!(r&Ke)&&(r&Xe?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):r&Ye?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(e.flags&Ue&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){let{name:t}=e,r=this.scopeStack[0];!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)&&this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&He)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&(He|Ve)&&!(t&Le))return t}}},It=class extends Pt{constructor(){super(...arguments),this.declareFunctions=new Set}},Ot=class extends kt{createScope(e){return new It(e)}declareName(e,t,r){let a=this.currentScope();if(t&at)return this.checkRedeclarationInScope(a,e,t,r),this.maybeExportDefined(a,e),void a.declareFunctions.add(e);super.declareName(e,t,r)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(e,t,r)||!!(r&at)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},_t=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{let[t,r]=e;if(!this.hasPlugin(t))return!1;let a=this.plugins.get(t);for(let e of Object.keys(r))if((null==a?void 0:a[e])!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}};function Nt(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function Ft(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}function Bt(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Mt(e,t,r){let a=null,n=t.length;for(;null===a&&n>0;)a=t[--n];null===a||a.start>r.start?Bt(e,r.comments):Nt(a,r.comments)}var Lt=class extends _t{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,r=t.length;if(0===r)return;let a=r-1,n=t[a];n.start===e.end&&(n.leadingNode=e,a--);let{start:s}=e;for(;a>=0;a--){let r=t[a],n=r.end;if(!(n>s)){n===s&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(a,1)}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Nt(e.leadingNode,t),null!==e.trailingNode&&Ft(e.trailingNode,t);else{let{containingNode:r,start:a}=e;if(44===this.input.charCodeAt(a-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Mt(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":Mt(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Mt(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Mt(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Mt(r,r.specifiers,e);break;default:Bt(r,t)}else Bt(r,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:r}=t;if(0===r)return;let a=t[r-1];a.leadingNode===e&&(a.leadingNode=null)}takeSurroundingComments(e,t,r){let{commentStack:a}=this.state,n=a.length;if(0===n)return;let s=n-1;for(;s>=0;s--){let n=a[s],i=n.end;if(n.start===r)n.leadingNode=e;else if(i===t)n.trailingNode=e;else if(i=48&&e<=57},$t={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Jt={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function Xt(e,t,r,a,n,s){let i=r,o=a,d=n,l="",u=null,c=r,{length:p}=t;for(;;){if(r>=p){s.unterminated(i,o,d),l+=t.slice(c,r);break}let f=t.charCodeAt(r);if(Yt(e,f,t,r)){l+=t.slice(c,r);break}if(92===f){l+=t.slice(c,r);let i=Qt(t,r,a,n,"template"===e,s);null!==i.ch||u?l+=i.ch:u={pos:r,lineStart:a,curLine:n},({pos:r,lineStart:a,curLine:n}=i),c=r}else 8232===f||8233===f?(++n,a=++r):10===f||13===f?"template"===e?(l+=t.slice(c,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++n,c=a=r):s.unterminated(i,o,d):++r}return{pos:r,str:l,firstInvalidLoc:u,lineStart:a,curLine:n,containsInvalid:!!u}}function Yt(e,t,r,a){return"template"===e?96===t||36===t&&123===r.charCodeAt(a+1):t===("double"===e?34:39)}function Qt(e,t,r,a,n,s){let i=!n;t++;let o=e=>({pos:t,ch:e,lineStart:r,curLine:a}),d=e.charCodeAt(t++);switch(d){case 110:return o("\n");case 114:return o("\r");case 120:{let n;return({code:n,pos:t}=Zt(e,t,r,a,2,!1,i,s)),o(null===n?null:String.fromCharCode(n))}case 117:{let n;return({code:n,pos:t}=tr(e,t,r,a,i,s)),o(null===n?null:String.fromCodePoint(n))}case 116:return o("\t");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++a;case 8232:case 8233:return o("");case 56:case 57:if(n)return o(null);s.strictNumericEscape(t-1,r,a);default:if(d>=48&&d<=55){let i=t-1,d=e.slice(i,t+2).match(/^[0-7]+/)[0],l=parseInt(d,8);l>255&&(d=d.slice(0,-1),l=parseInt(d,8)),t+=d.length-1;let u=e.charCodeAt(t);if("0"!==d||56===u||57===u){if(n)return o(null);s.strictNumericEscape(i,r,a)}return o(String.fromCharCode(l))}return o(String.fromCharCode(d))}}function Zt(e,t,r,a,n,s,i,o){let d,l=t;return({n:d,pos:t}=er(e,t,r,a,16,n,s,!1,o,!i)),null===d&&(i?o.invalidEscapeSequence(l,r,a):t=l-1),{code:d,pos:t}}function er(e,t,r,a,n,s,i,o,d,l){let u=t,c=16===n?$t.hex:$t.decBinOct,p=16===n?Jt.hex:10===n?Jt.dec:8===n?Jt.oct:Jt.bin,f=!1,h=0;for(let u=0,g=null==s?1/0:s;u=97?u-97+10:u>=65?u-65+10:Kt(u)?u-48:1/0,s>=n){if(s<=9&&l)return{n:null,pos:t};if(s<=9&&d.invalidDigit(t,r,a,n))s=0;else{if(!i)break;s=0,f=!0}}++t,h=h*n+s}else{let n=e.charCodeAt(t-1),s=e.charCodeAt(t+1);if(o){if(Number.isNaN(s)||!p(s)||c.has(n)||c.has(s)){if(l)return{n:null,pos:t};d.unexpectedNumericSeparator(t,r,a)}}else{if(l)return{n:null,pos:t};d.numericSeparatorInEscapeSequence(t,r,a)}++t}}return t===u||null!=s&&t-u!==s||f?{n:null,pos:t}:{n:h,pos:t}}function tr(e,t,r,a,n,s){let i;if(123===e.charCodeAt(t)){if(++t,({code:i,pos:t}=Zt(e,t,r,a,e.indexOf("}",t)-t,!0,n,s)),++t,null!==i&&i>1114111){if(!n)return{code:null,pos:t};s.invalidCodePoint(t,r,a)}}else({code:i,pos:t}=Zt(e,t,r,a,4,!1,n,s));return{code:i,pos:t}}var rr=["at"],ar=["at"];function nr(e,t,r){return new K(r,e-t,e)}var sr=new Set([103,109,115,105,121,117,100,118]),ir=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new $(e.startLoc,e.endLoc)}},or=class extends Lt{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,r,a)=>!!this.options.errorRecovery&&(this.raise(ue.InvalidDigit,{at:nr(e,t,r),radix:a}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(ue.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(ue.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(ue.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(ue.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,r)=>{this.recordStrictModeErrors(ue.StrictNumericEscape,{at:nr(e,t,r)})},unterminated:(e,t,r)=>{throw this.raise(ue.UnterminatedString,{at:nr(e-1,t,r)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(ue.StrictNumericEscape),unterminated:(e,t,r)=>{throw this.raise(ue.UnterminatedTemplate,{at:nr(e,t,r)})}}),this.state=new Ht,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new ir(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return Vt.lastIndex=e,Vt.test(this.input)?Vt.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e{let[t,r]=e;return this.raise(t,{at:r})})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(137):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());let r=this.state.pos,a=this.input.indexOf(e,r+2);if(-1===a)throw this.raise(ue.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=a+e.length,Wt.lastIndex=r+2;Wt.test(this.input)&&Wt.lastIndex<=a;)++this.state.curLine,this.state.lineStart=Wt.lastIndex;if(this.isLookahead)return;let n={type:"CommentBlock",value:this.input.slice(r+2,a),start:r,end:a+e.length,loc:new $(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(e){let t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());let a=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose))break e;{let e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}else{if(60!==r||this.inModule||!this.options.annexB)break e;{let e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{let e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}}if(t.length>0){let r={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(ue.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?ue.RecordExpressionHashIncorrectStartSyntaxType:ue.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else Ee(t)?(++this.state.pos,this.finishToken(136,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;let t=this.state.pos;for(this.state.pos+=1;!zt(e)&&++this.state.pos=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(ue.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(ue.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(Ee(e))return void this.readWord(e)}throw this.raise(ue.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){let e,t,r=this.state.startLoc,a=this.state.start+1,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(ue.UnterminatedRegExp,{at:J(r,1)});let a=this.input.charCodeAt(n);if(zt(a))throw this.raise(ue.UnterminatedRegExp,{at:J(r,1)});if(e)e=!1;else{if(91===a)t=!0;else if(93===a&&t)t=!1;else if(47===a&&!t)break;e=92===a}}let s=this.input.slice(a,n);++n;let i="",o=()=>J(r,n+2-a);for(;n2&&void 0!==arguments[2]&&arguments[2],a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{n:n,pos:s}=er(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,a,this.errorHandlers_readInt,!1);return this.state.pos=s,n}readRadixNumber(e){let t=this.state.curPosition(),r=!1;this.state.pos+=2;let a=this.readInt(e);null==a&&this.raise(ue.InvalidDigit,{at:J(t,2),radix:e});let n=this.input.charCodeAt(this.state.pos);if(110===n)++this.state.pos,r=!0;else if(109===n)throw this.raise(ue.InvalidDecimal,{at:t});if(Ee(this.codePointAtPos(this.state.pos)))throw this.raise(ue.NumberIdentifier,{at:this.state.curPosition()});if(r){let e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,e)}else this.finishToken(132,a)}readNumber(e){let t=this.state.pos,r=this.state.curPosition(),a=!1,n=!1,s=!1,i=!1,o=!1;!e&&null===this.readInt(10)&&this.raise(ue.InvalidNumber,{at:this.state.curPosition()});let d=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(d){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(ue.StrictOctalLiteral,{at:r}),!this.state.strict){let t=e.indexOf("_");t>0&&this.raise(ue.ZeroDigitNumericSeparator,{at:J(r,t)})}o=d&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46===l&&!o&&(++this.state.pos,this.readInt(10),a=!0,l=this.input.charCodeAt(this.state.pos)),(69===l||101===l)&&!o&&(l=this.input.charCodeAt(++this.state.pos),(43===l||45===l)&&++this.state.pos,null===this.readInt(10)&&this.raise(ue.InvalidOrMissingExponent,{at:r}),a=!0,i=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((a||d)&&this.raise(ue.InvalidBigIntLiteral,{at:r}),++this.state.pos,n=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(i||d)&&this.raise(ue.InvalidDecimal,{at:r}),++this.state.pos,s=!0),Ee(this.codePointAtPos(this.state.pos)))throw this.raise(ue.NumberIdentifier,{at:this.state.curPosition()});let u=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n)return void this.finishToken(133,u);if(s)return void this.finishToken(134,u);let c=o?parseInt(u,8):parseFloat(u);this.finishToken(132,c)}readCodePoint(e){let{code:t,pos:r}=tr(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=r,t}readString(e){let{str:t,pos:r,curLine:a,lineStart:n}=Xt(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=r+1,this.state.lineStart=n,this.state.curLine=a,this.finishToken(131,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:t,firstInvalidLoc:r,pos:a,curLine:n,lineStart:s}=Xt("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=a+1,this.state.lineStart=s,this.state.curLine=n,r&&(this.state.firstInvalidTemplateEscapePos=new K(r.curLine,r.pos-r.lineStart,r.pos)),96===this.input.codePointAt(a)?this.finishToken(24,r?null:e+t+"`"):(this.state.pos++,this.finishToken(25,r?null:e+t+"${"))}recordStrictModeErrors(e,t){let{at:r}=t,a=r.index;this.state.strict&&!this.state.strictErrors.has(a)?this.raise(e,{at:r}):this.state.strictErrors.set(a,[e,r])}readWord1(e){this.state.containsEsc=!1;let t="",r=this.state.pos,a=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos=0;t--){let r=i[t];if(r.loc.index===s)return i[t]=e({loc:n,details:a});if(r.loc.indexthis.hasPlugin(e))))throw this.raise(ue.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,r,a)=>{this.raise(e,{at:nr(t,r,a)})}}},dr=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},lr=class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new dr)}exit(){let e=this.stack.pop(),t=this.current();for(let[r,a]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,a):this.parser.raise(ue.InvalidPrivateFieldResolution,{at:a,identifierName:r})}declarePrivateName(e,t,r){let{privateNames:a,loneAccessors:n,undefinedPrivateNames:s}=this.current(),i=a.has(e);if(t&St){let r=i&&n.get(e);r?(i=(r&St)==(t&St)||(r&Rt)!=(t&Rt),i||n.delete(e)):i||n.set(e,t)}i&&this.parser.raise(ue.PrivateNameRedeclaration,{at:r,identifierName:e}),a.add(e),s.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.parser.raise(ue.InvalidPrivateFieldResolution,{at:t,identifierName:e})}},ur=0,cr=1,pr=2,fr=3,hr=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ur;this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return this.type===pr||this.type===cr}isCertainlyParameterDeclaration(){return this.type===fr}},gr=class extends hr{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let{at:r}=t,a=r.index;this.declarationErrors.set(a,[e,r])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},mr=class{constructor(e){this.parser=void 0,this.stack=[new hr],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{at:r}=t,a={at:r.loc.start},{stack:n}=this,s=n.length-1,i=n[s];for(;!i.isCertainlyParameterDeclaration();){if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,a),i=n[--s]}this.parser.raise(e,a)}recordArrowParameterBindingError(e,t){let{at:r}=t,{stack:a}=this,n=a[a.length-1],s={at:r.loc.start};if(n.isCertainlyParameterDeclaration())this.parser.raise(e,s);else{if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,s)}}recordAsyncArrowParametersError(e){let{at:t}=e,{stack:r}=this,a=r.length-1,n=r[a];for(;n.canBeArrowParameterDeclaration();)n.type===pr&&n.recordDeclarationError(ue.AwaitBindingIdentifier,{at:t}),n=r[--a]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((t=>{let[r,a]=t;this.parser.raise(r,{at:a});let n=e.length-2,s=e[n];for(;s.canBeArrowParameterDeclaration();)s.clearDeclarationError(a.index),s=e[--n]}))}};function yr(){return new hr(fr)}function br(){return new gr(cr)}function vr(){return new gr(pr)}function xr(){return new hr}var Rr=0,Er=1,wr=2,Sr=4,Dr=8,jr=class{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&wr)>0}get hasYield(){return(this.currentFlags()&Er)>0}get hasReturn(){return(this.currentFlags()&Sr)>0}get hasIn(){return(this.currentFlags()&Dr)>0}};function Tr(e,t){return(e?wr:0)|(t?Er:0)}var Cr=class extends or{addExtra(e,t,r){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!e)return;let n=e.extra=e.extra||{};a?n[t]=r:Object.defineProperty(n,t,{enumerable:a,value:r})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let r=e+t.length;if(this.input.slice(e,r)===t){let e=this.input.charCodeAt(r);return!(we(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,{at:this.state.startLoc});this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Ut.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return qt.lastIndex=this.state.end,qt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(ue.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),r={node:null};try{let a=e((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw r.node=e,r}));if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:a,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:a,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){let a=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:a};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:a};throw e}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:r,doubleProtoLoc:a,privateKeyLoc:n,optionalParametersLoc:s}=e;if(!t)return!!(r||a||s||n);null!=r&&this.raise(ue.InvalidCoverInitializedName,{at:r}),null!=a&&this.raise(ue.DuplicateProto,{at:a}),null!=n&&this.raise(ue.UnexpectedPrivateField,{at:n}),null!=s&&this.unexpected(s)}isLiteralPropertyName(){return A(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,t=this.state.labels;this.state.labels=[];let r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let a=this.inModule;this.inModule=e;let n=this.scope,s=this.getScopeHandler();this.scope=new s(this,e);let i=this.prodParam;this.prodParam=new jr;let o=this.classScope;this.classScope=new lr(this);let d=this.expressionScope;return this.expressionScope=new mr(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=a,this.scope=n,this.prodParam=i,this.classScope=o,this.expressionScope=d}}enterInitialScopes(){let e=Rr;this.inModule&&(e|=wr),this.scope.enter(Be),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}},Ar=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},Pr=class{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new $(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}},kr=Pr.prototype;function Ir(e){return Or(e)}function Or(e){let{type:t,start:r,end:a,loc:n,range:s,extra:i,name:o}=e,d=Object.create(kr);return d.type=t,d.start=r,d.end=a,d.loc=n,d.range=s,d.extra=i,d.name=o,"Placeholder"===t&&(d.expectedNode=e.expectedNode),d}function _r(e){let{type:t,start:r,end:a,loc:n,range:s,extra:i}=e;if("Placeholder"===t)return Ir(e);let o=Object.create(kr);return o.type=t,o.start=r,o.end=a,o.loc=n,o.range=s,void 0!==e.raw?o.raw=e.raw:o.extra=i,o.value=e.value,o}kr.__clone=function(){let e=new Pr(void 0,this.start,this.loc.start),t=Object.keys(this);for(let r=0,a=t.length;r1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}},Fr=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Br=le`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:e=>{let{reservedType:t}=e;return`Cannot overwrite reserved type ${t}.`},DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:e=>{let{memberName:t,enumName:r}=e;return`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${r}\`.`},EnumDuplicateMemberName:e=>{let{memberName:t,enumName:r}=e;return`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${r}\`.`},EnumInconsistentMemberValues:e=>{let{enumName:t}=e;return`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:e=>{let{invalidEnumType:t,enumName:r}=e;return`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${r}\`.`},EnumInvalidExplicitTypeUnknownSupplied:e=>{let{enumName:t}=e;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`},EnumInvalidMemberInitializerPrimaryType:e=>{let{enumName:t,memberName:r,explicitType:a}=e;return`Enum \`${t}\` has type \`${a}\`, so the initializer of \`${r}\` needs to be a ${a} literal.`},EnumInvalidMemberInitializerSymbolType:e=>{let{enumName:t,memberName:r}=e;return`Symbol enum members cannot be initialized. Use \`${r},\` in enum \`${t}\`.`},EnumInvalidMemberInitializerUnknownType:e=>{let{enumName:t,memberName:r}=e;return`The enum member initializer for \`${r}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`},EnumInvalidMemberName:e=>{let{enumName:t,memberName:r,suggestion:a}=e;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${r}\`, consider using \`${a}\`, in enum \`${t}\`.`},EnumNumberMemberNotInitialized:e=>{let{enumName:t,memberName:r}=e;return`Number enum members need to be initialized, e.g. \`${r} = 1\` in enum \`${t}\`.`},EnumStringMemberInconsistentlyInitailized:e=>{let{enumName:t}=e;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${t}\`.`},GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:e=>{let{reservedType:t}=e;return`Unexpected reserved type ${t}.`},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:e=>{let{unsupportedExportKind:t,suggestion:r}=e;return`\`declare export ${t}\` is not supported. Use \`${r}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Mr(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}function Lr(e){return"type"===e.importKind||"typeof"===e.importKind}function Ur(e){return C(e)&&97!==e}var Wr={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function zr(e,t){let r=[],a=[];for(let n=0;nclass extends e{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return Ot}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){131!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){let t=Vr.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>t.index+1&&this.raise(Br.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),r=this.startNode(),a=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let n=this.flowParseFunctionTypeParams();return r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),a.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(a,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,xt,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(125)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Br.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e)):this.isContextual(128)?this.flowParseDeclareTypeAlias(e):this.isContextual(129)?this.flowParseDeclareOpaqueType(e):this.isContextual(127)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,lt,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(Fe),this.match(131)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(Br.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(e)):(this.expectContextual(123,Br.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let a=null,n=!1;return r.forEach((e=>{Mr(e)?("CommonJS"===a&&this.raise(Br.AmbiguousDeclareModuleKind,{at:e}),a="ES"):"DeclareModuleExports"===e.type&&(n&&this.raise(Br.DuplicateDeclareModuleExports,{at:e}),"ES"===a&&this.raise(Br.AmbiguousDeclareModuleKind,{at:e}),a="CommonJS",n=!0)})),e.kind=a||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!t){let e=this.state.value;throw this.raise(Br.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Wr[e]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(109),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t}flowParseDeclareOpaqueType(e){this.next();let t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?ut:ot,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(this.eatContextual(115))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(111))do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Br.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,r){Fr.has(e)&&this.raise(r?Br.AssignReservedType:Br.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,ot,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(128),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,ot,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.state.startLoc,r=this.startNode(),a=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return r.name=n.name,r.variance=a,r.bound=n.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Br.MissingTypeParamDefault,{at:t}),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let r=!1;do{let e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(127),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){let r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType(e){let{allowStatic:t,allowExact:r,allowSpread:a,allowProto:n,allowInexact:s}=e,i=this.state.inType;this.state.inType=!0;let o=this.startNode();o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let d,l,u=!1;for(r&&this.match(6)?(this.expect(6),d=9,l=!0):(this.expect(5),d=8,l=!1),o.exact=l;!this.match(d);){let e=!1,r=null,i=null,d=this.startNode();if(n&&this.isContextual(116)){let e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),r=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){let t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),e=!0)}let c=this.flowParseVariance();if(this.eat(0))null!=r&&this.unexpected(r),this.eat(0)?(c&&this.unexpected(c.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(d,e))):o.indexers.push(this.flowParseObjectTypeIndexer(d,e,c));else if(this.match(10)||this.match(47))null!=r&&this.unexpected(r),c&&this.unexpected(c.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(d,e));else{let t="init";(this.isContextual(98)||this.isContextual(103))&&A(this.lookahead().type)&&(t=this.state.value,this.next());let n=this.flowParseObjectTypeProperty(d,e,r,c,t,a,null!=s?s:!l);null===n?(u=!0,i=this.state.lastTokStartLoc):o.properties.push(n)}this.flowObjectTypeSemicolon(),i&&!this.match(8)&&!this.match(9)&&this.raise(Br.UnexpectedExplicitInexactInObject,{at:i})}this.expect(d),a&&(o.inexact=u);let c=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=i,c}flowParseObjectTypeProperty(e,t,r,a,n,s,i){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(s?i||this.raise(Br.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Br.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),a&&this.raise(Br.InexactVariance,{at:a}),null):(s||this.raise(Br.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=r&&this.unexpected(r),a&&this.raise(Br.SpreadVariance,{at:a}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=n;let i=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),a&&this.unexpected(a.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),("get"===n||"set"===n)&&this.flowCheckGetterSetterParams(e),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(Br.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==n&&this.unexpected(),e.method=!1,this.eat(17)&&(i=!0),e.value=this.flowParseTypeInitialiser(),e.variance=a),e.optional=i,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Br.GetterMayNotHaveThisParam:Br.SetterMayNotHaveThisParam,{at:e.value.this}),r!==t&&this.raise("get"===e.kind?ue.BadGetterArity:ue.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(ue.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let r=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let t=this.startNodeAt(e);t.qualification=r,t.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(t,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t){let r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos0&&void 0!==arguments[0]?arguments[0]:[],t=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r){switch(r.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}flowParsePrimaryType(){let e,t,r=this.state.startLoc,a=this.startNode(),n=!1,s=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,t=this.flowParseTupleType(),this.state.noAnonFunctionType=s,t;case 47:return a.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),a.params=e.params,a.rest=e.rest,a.this=e._this,this.expect(11),this.expect(19),a.returnType=this.flowParseType(),this.finishNode(a,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(j(this.state.type)||this.match(78)){let e=this.lookahead().type;n=17!==e&&14!==e}else n=!0;if(n){if(this.state.noAnonFunctionType=!1,t=this.flowParseType(),this.state.noAnonFunctionType=s,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),t;this.eat(12)}return e=t?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(t)]):this.flowParseFunctionTypeParams(),a.params=e.params,a.rest=e.rest,a.this=e._this,this.expect(11),this.expect(19),a.returnType=this.flowParseType(),a.typeParameters=null,this.finishNode(a,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return a.value=this.match(85),this.next(),this.finishNode(a,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",a);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",a);throw this.raise(Br.UnexpectedSubtractionOperand,{at:this.state.startLoc})}return void this.unexpected();case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(a,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(a,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(a,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(a,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(N(this.state.type)){let e=W(this.state.type);return this.next(),super.createIdentifier(a,e)}if(j(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,a,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,t=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let a=this.startNodeAt(e),n=this.eat(18);r=r||n,this.expect(0),!n&&this.match(3)?(a.elementType=t,this.next(),t=this.finishNode(a,"ArrayTypeAnnotation")):(a.objectType=t,a.indexType=this.flowParseType(),this.expect(3),r?(a.optional=n,t=this.finishNode(a,"OptionalIndexedAccessType")):t=this.finishNode(a,"IndexedAccessType"))}return t}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(130===this.state.type&&"_"===this.state.value){let e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){if(C(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let t=super.parseStatementLike(e);return void 0===this.flowPragma&&!this.isValidDirective(t)&&(this.flowPragma=null),t}parseExpressionStatement(e,t,r){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||j(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(j(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){let{type:e}=this.state;return O(e)||this.shouldParseEnums()&&124===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return O(e)||this.shouldParseEnums()&&124===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(r),e}this.expect(17);let a=this.state.clone(),n=this.state.noArrowAt,s=this.startNodeAt(t),{consequent:i,failed:o}=this.tryParseConditionalConsequent(),[d,l]=this.getArrowLikeExpressions(i);if(o||l.length>0){let e=[...n];if(l.length>0){this.state=a,this.state.noArrowAt=e;for(let t=0;t1&&this.raise(Br.AmbiguousConditionalArrow,{at:a.startLoc}),o&&1===d.length&&(this.state=a,e.push(d[0].start),this.state.noArrowAt=e,({consequent:i,failed:o}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(i,!0),this.state.noArrowAt=n,this.expect(14),s.test=e,s.consequent=i,s.alternate=this.forwardNoArrowParamsConversionAt(s,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(s,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let r=[e],a=[];for(;0!==r.length;){let e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):a.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(a.forEach((e=>this.finishArrowValidation(e))),[a,[]]):zr(a,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(Me|Le),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e,t){let r=super.parseExport(e,t);return("ExportNamedDeclaration"===r.type||"ExportAllDeclaration"===r.type)&&(r.exportKind=r.exportKind||"value"),r}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(129)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(127)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind="value";let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(e)||!(!this.isContextual(128)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){let{startLoc:a}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Br.DeclareClassElement,{at:a}):t.value&&this.raise(Br.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){let e=super.readWord1(),t="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(ue.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(130,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):Oe(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!t&&"AssignmentExpression"===e.type&&"TypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,r){for(let t=0;t1||!t)&&this.raise(Br.TypeCastInPattern,{at:n.typeAnnotation})}return e}parseArrayLike(e,t,r,a){let n=super.parseArrayLike(e,t,r,a);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}isValidLVal(e,t,r){return"TypeCastExpression"===e||super.isValidLVal(e,t,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,a,n,s){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,a,n,s),t.params&&n){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Br.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&n&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Br.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,r,a){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,a)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(Br.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(Br.SetterMayNotHaveThisParam,{at:r})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,a,n,s,i){let o;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!s&&(o=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let d=super.parseObjPropValue(e,t,r,a,n,s,i);return o&&((d.value||d).typeParameters=o),d}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Br.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Br.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Br.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Br.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t){let r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,t)),s),!a.error)return a.node;let{context:r}=this.state,i=r[r.length-1];(i===n.j_oTag||i===n.j_expr)&&r.pop()}if(null!=(r=a)&&r.error||this.match(47)){var i,o;s=s||this.state.clone();let r,n=this.tryParse((a=>{var n;r=this.flowParseTypeParameterDeclaration();let s=this.forwardNoArrowParamsConversionAt(r,(()=>{let a=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(a,r),a}));null!=(n=s.extra)&&n.parenthesized&&a();let i=this.maybeUnwrapTypeCastExpression(s);return"ArrowFunctionExpression"!==i.type&&a(),i.typeParameters=r,this.resetStartLocationFromNode(i,r),s}),s),d=null;if(n.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(n.node).type){if(!n.error&&!n.aborted)return n.node.async&&this.raise(Br.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r}),n.node;d=n.node}if(null!=(i=a)&&i.node)return this.state=a.failState,a.node;if(d)return this.state=n.failState,d;throw null!=(o=a)&&o.thrown?a.error:n.thrown?n.error:this.raise(Br.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse((()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t0&&this.raise(Br.ThisParamMustBeFirst,{at:e.params[t]});super.checkParams(e,t,r,a)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t.index)){this.next();let r=this.startNodeAt(t);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){let a=this.state.clone(),n=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),a);if(!n.error&&!n.aborted)return n.node;let s=this.tryParse((()=>super.parseSubscripts(e,t,r)),a);if(s.node&&!s.error)return s.node;if(n.node)return this.state=n.failState,n.node;if(s.node)return this.state=s.failState,s.node;throw n.error||s.error}return super.parseSubscripts(e,t,r)}parseSubscript(e,t,r,a){if(this.match(18)&&this.isLookaheadToken_lt()){if(a.optionalChainMember=!0,r)return a.stop=!0,e;this.next();let n=this.startNodeAt(t);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),n.optional=!0,this.finishCallExpression(n,!0)}if(!r&&this.shouldParseTypes()&&this.match(47)){let r=this.startNodeAt(t);r.callee=e;let n=this.tryParse((()=>(r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),r.arguments=super.parseCallExpressionArguments(11,!1),a.optionalChainMember&&(r.optional=!1),this.finishCallExpression(r,a.optionalChainMember))));if(n.node)return n.error&&(this.state=n.failState),n.node}return super.parseSubscript(e,t,r,a)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){let t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){let r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Br.UnterminatedFlowComment,{at:this.state.curPosition()}),r}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Br.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let r=this.input.charCodeAt(t+e),a=this.input.charCodeAt(t+e+1);return 58===r&&58===a?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==a&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(ue.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,t){let{enumName:r,memberName:a}=t;this.raise(Br.EnumBooleanMemberNotInitialized,{at:e,memberName:a,enumName:r})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Br.EnumInvalidMemberInitializerSymbolType:Br.EnumInvalidMemberInitializerPrimaryType:Br.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,t){let{enumName:r,memberName:a}=t;this.raise(Br.EnumNumberMemberNotInitialized,{at:e,enumName:r,memberName:a})}flowEnumErrorStringMemberInconsistentlyInitailized(e,t){let{enumName:r}=t;this.raise(Br.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:r})}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 131:{let r=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){let{explicitType:a}=t;null!==a&&a!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers(e){let{enumName:t,explicitType:r}=e,a=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},s=!1;for(;!this.match(8);){if(this.eat(21)){s=!0;break}let e=this.startNode(),{id:i,init:o}=this.flowEnumMemberRaw(),d=i.name;if(""===d)continue;/^[a-z]/.test(d)&&this.raise(Br.EnumInvalidMemberName,{at:i,memberName:d,suggestion:d[0].toUpperCase()+d.slice(1),enumName:t}),a.has(d)&&this.raise(Br.EnumDuplicateMemberName,{at:i,memberName:d,enumName:t}),a.add(d);let l={enumName:t,explicitType:r,memberName:d};switch(e.id=i,o.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(o.loc,l,"boolean"),e.init=o.value,n.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(o.loc,l,"number"),e.init=o.value,n.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(o.loc,l,"string"),e.init=o.value,n.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(o.loc,l);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,l);break;default:n.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,r){let{enumName:a}=r;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:a});return t}for(let e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:a});return e}flowEnumParseExplicitType(e){let{enumName:t}=e;if(!this.eatContextual(101))return null;if(!j(this.state.type))throw this.raise(Br.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});let{value:r}=this.state;return this.next(),"boolean"!==r&&"number"!==r&&"string"!==r&&"symbol"!==r&&this.raise(Br.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:r}),r}flowEnumBody(e,t){let r=t.name,a=t.loc.start,n=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:s,hasUnknownMembers:i}=this.flowEnumMembers({enumName:r,explicitType:n});switch(e.hasUnknownMembers=i,n){case"boolean":return e.explicitType=!0,e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=s.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let n=s.booleanMembers.length,i=s.numberMembers.length,o=s.stringMembers.length,d=s.defaultedMembers.length;if(!(n||i||o||d))return t();if(!n&&!i)return e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!i&&!o&&n>=d){for(let e of s.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!n&&!o&&i>=d){for(let e of s.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Br.EnumInconsistentMemberValues,{at:a,enumName:r}),t()}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){let t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},Gr={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Hr=le`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:e=>{let{openingTagName:t}=e;return`Expected corresponding JSX closing tag for <${t}>.`},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:e=>{let{unexpected:t,HTMLEntity:r}=e;return`Unexpected token \`${t}\`. Did you mean \`${r}\` or \`{'${t}'}\`?`},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function Kr(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function $r(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return $r(e.object)+"."+$r(e.property);throw new Error("Node had unexpected type: "+e.type)}var Jr=e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Hr.UnterminatedJsxContent,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?void(60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(r)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(139,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:zt(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ue.UnterminatedString,{at:this.state.startLoc});let a=this.input.charCodeAt(this.state.pos);if(a===e)break;38===a?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):zt(a)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(131,t)}jsxReadEntity(){let e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,r=!1;for(;t++<10&&this.state.pos1)for(let t=0;t=0;e--){let r=this.scopeStack[e];if(r.types.has(t)||r.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}}},Qr=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t],Zr=e=>"ParenthesizedExpression"===e.type?Zr(e.expression):e,ea=class extends Nr{toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var r,a;let n;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(n=Zr(e),t?"Identifier"===n.type?this.expressionScope.recordArrowParameterBindingError(ue.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==n.type&&this.raise(ue.InvalidParenthesizedAssignment,{at:e}):this.raise(ue.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,a=e.properties.length,n=a-1;r"ObjectMethod"!==e.type&&(r===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||this.isAssignable(e)));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e){let t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){let e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r){let a=1&r,n=[],s=!0;for(;!this.eat(e);)if(s?s=!1:this.expect(12),a&&this.match(12))n.push(null);else{if(this.eat(e))break;if(this.match(21)){if(n.push(this.parseAssignableListItemTypes(this.parseRestBinding(),r)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(ue.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());n.push(this.parseAssignableListItem(r,e))}}return n}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let e=this.startNode(),{type:t,startLoc:r}=this.state;return 21===t?this.parseBindingRestProperty(e):(136===t?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,!1,!1,!0,!1))}parseAssignableListItem(e,t){let r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r,e);let a=this.parseMaybeDefault(r.loc.start,r);return t.length&&(r.decorators=t),a}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var r;if(null!=e||(e=this.state.startLoc),t=null!=(r=t)?r:this.parseBindingAtom(),!this.eat(29))return t;let a=this.startNodeAt(e);return a.left=t,a.right=this.parseMaybeAssignAllowIn(),this.finishNode(a,"AssignmentPattern")}isValidLVal(e,t,r){return Qr({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,t){let{in:r,binding:a=gt,checkClashes:n=!1,strictModeChanged:s=!1,hasParenthesizedAncestor:i=!1}=t;var o;let d=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===d)return void(a!==gt&&this.raise(ue.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===d){this.checkIdentifier(e,a,s);let{name:t}=e;return void(n&&(n.has(t)?this.raise(ue.ParamDupe,{at:e}):n.add(t)))}let l=this.isValidLVal(d,!(i||null!=(o=e.extra)&&o.parenthesized)&&"AssignmentExpression"===r.type,a);if(!0===l)return;if(!1===l){let t=a===gt?ue.InvalidLhs:ue.InvalidLhsBinding;return void this.raise(t,{at:e,ancestor:r})}let[u,c]=Array.isArray(l)?l:[l,"ParenthesizedExpression"===d],p="ArrayPattern"===d||"ObjectPattern"===d||"ParenthesizedExpression"===d?{type:d}:r;for(let t of[].concat(e[u]))t&&this.checkLVal(t,{in:p,binding:a,checkClashes:n,strictModeChanged:s,hasParenthesizedAncestor:c})}checkIdentifier(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.state.strict&&(r?ke(e.name,this.inModule):Pe(e.name))&&(t===gt?this.raise(ue.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(ue.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),t&st&&"let"===e.name&&this.raise(ue.LetInLexicalBinding,{at:e}),t>||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(ue.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?ue.RestTrailingComma:ue.ElementAfterRest,{at:this.state.startLoc}),!0)}},ta=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function ra(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}function aa(e){if(!e)throw new Error("Assert fail")}var na=le`typescript`({AbstractMethodHasImplementation:e=>{let{methodName:t}=e;return`Method '${t}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:e=>{let{propertyName:t}=e;return`Property '${t}' cannot have an initializer because it is marked abstract.`},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:e=>{let{kind:t}=e;return`'declare' is not allowed in ${t}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:e=>{let{modifier:t}=e;return"Accessibility modifier already seen."},DuplicateModifier:e=>{let{modifier:t}=e;return`Duplicate modifier: '${t}'.`},EmptyHeritageClauseType:e=>{let{token:t}=e;return`'${t}' list cannot be empty.`},EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:e=>{let{modifiers:t}=e;return`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:e=>{let{modifier:t}=e;return`Index signatures cannot have an accessibility modifier ('${t}').`},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:e=>{let{modifier:t}=e;return`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:e=>{let{orderedModifiers:t}=e;return`'${t[0]}' modifier must precede '${t[1]}' modifier.`},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:e=>{let{modifier:t}=e;return`Private elements cannot have an accessibility modifier ('${t}').`},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:e=>{let{typeParameterName:t}=e;return`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:e=>{let{type:t}=e;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`}});function sa(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function ia(e){return"private"===e||"public"===e||"protected"===e}function oa(e){return"in"===e||"out"===e}var da=e=>class extends e{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:na.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:na.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:na.InvalidModifierOnTypeParameter})}getScopeHandler(){return Yr}tsIsIdentifier(){return j(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!j(this.state.type)&&58!==this.state.type&&75!==this.state.type)return;let r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers(e,t){let{allowedModifiers:r,disallowedModifiers:a,stopOnStartOfClassStaticBlock:n,errorTemplate:s=na.InvalidModifierOnTypeMember}=e,i=(e,r,a,n)=>{r===a&&t[n]&&this.raise(na.InvalidModifiersOrder,{at:e,orderedModifiers:[a,n]})},o=(e,r,a,n)=>{(t[a]&&r===n||t[n]&&r===a)&&this.raise(na.IncompatibleModifiers,{at:e,modifiers:[a,n]})};for(;;){let{startLoc:e}=this.state,d=this.tsParseModifier(r.concat(null!=a?a:[]),n);if(!d)break;ia(d)?t.accessibility?this.raise(na.DuplicateAccessibilityModifier,{at:e,modifier:d}):(i(e,d,d,"override"),i(e,d,d,"static"),i(e,d,d,"readonly"),t.accessibility=d):oa(d)?(t[d]&&this.raise(na.DuplicateModifier,{at:e,modifier:d}),t[d]=!0,i(e,d,"in","out")):(Object.hasOwnProperty.call(t,d)?this.raise(na.DuplicateModifier,{at:e,modifier:d}):(i(e,d,"static","readonly"),i(e,d,"static","override"),i(e,d,"override","readonly"),i(e,d,"abstract","override"),o(e,d,"declare","override"),o(e,d,"static","abstract")),t[d]=!0),null!=a&&a.includes(d)&&this.raise(s,{at:e,modifier:d})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,t){let r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return ra(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,a){let n=[],s=-1;for(;!this.tsIsListTerminator(e);){s=-1;let a=t();if(null==a)return;if(n.push(a),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}s=this.state.lastTokStart}return a&&(a.value=s),n}tsParseBracketedList(e,t,r,a,n){a||(r?this.expect(0):this.expect(47));let s=this.tsParseDelimitedList(e,t,n);return r?this.expect(3):this.expect(48),s}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(na.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.parseIdentifier(e);for(;this.eat(16);){let r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let t=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(na.EmptyTypeParameters,{at:t}),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){let r=19===e,a="parameters",n="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t[a]=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t[n]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(na.UnsupportedSignatureParameterKind,{at:e,type:e.type}),e)))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!j(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);let r=e;if(this.match(10)||this.match(47)){t&&this.raise(na.ReadonlyForMethodSignature,{at:e});let a=r;a.kind&&this.match(47)&&this.raise(na.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,a),this.tsParseTypeMemberSemicolon();let n="parameters",s="typeAnnotation";if("get"===a.kind)a[n].length>0&&(this.raise(ue.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(a[n][0])&&this.raise(na.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===a.kind){if(1!==a[n].length)this.raise(ue.BadSetterArity,{at:this.state.curPosition()});else{let e=a[n][0];this.isThisParam(e)&&this.raise(na.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(na.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(na.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}a[s]&&this.raise(na.SetAccesorCannotHaveReturnType,{at:a[s]})}else a.kind="method";return this.finishNode(a,"TSMethodSignature")}{let e=r;t&&(e.readonly=!0);let a=this.tsTryParseTypeAnnotation();return a&&(e.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!(!this.match(0)||(this.next(),!this.tsIsIdentifier()))&&(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{let{type:a}=e;t&&"TSRestType"!==a&&"TSOptionalType"!==a&&!("TSNamedTupleMember"===a&&e.optional)&&this.raise(na.OptionalTypeBeforeRequired,{at:e}),t||(t="TSNamedTupleMember"===a&&e.optional||"TSOptionalType"===a);let n=a;"TSRestType"===a&&(n=(e=e.typeAnnotation).type);let s="TSNamedTupleMember"===n;null!=r||(r=s),r!==s&&this.raise(na.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let e,t,r,a,{startLoc:n}=this.state,s=this.eat(21),i=C(this.state.type)?this.lookaheadCharCode():null;if(58===i)e=!0,r=!1,t=this.parseIdentifier(!0),this.expect(14),a=this.tsParseType();else if(63===i){r=!0;let n=this.state.startLoc,s=this.state.value,i=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(e=!0,t=this.createIdentifier(this.startNodeAt(n),s),this.expect(17),this.expect(14),a=this.tsParseType()):(e=!1,a=i,this.expect(17))}else a=this.tsParseType(),r=this.eat(17),e=this.eat(14);if(e){let e;t?(e=this.startNodeAtNode(t),e.optional=r,e.label=t,e.elementType=a,this.eat(17)&&(e.optional=!0,this.raise(na.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(e=this.startNodeAtNode(a),e.optional=r,this.raise(na.InvalidTupleMemberLabel,{at:a}),e.label=a,e.elementType=this.tsParseType()),a=this.finishNode(e,"TSNamedTupleMember")}else if(r){let e=this.startNodeAtNode(a);e.typeAnnotation=a,a=this.finishNode(e,"TSOptionalType")}if(s){let e=this.startNodeAt(n);e.typeAnnotation=a,a=this.finishNode(e,"TSRestType")}return a}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){let r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,r))),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){let e=this.startNode(),t=this.lookahead();return 132!==t.type&&133!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(j(e)||88===e||84===e){let t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":sa(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{let t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(na.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(113);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return L(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){let a=this.startNode(),n=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||n?(a.types=s,this.finishNode(a,e)):s[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(j(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{let t=this.startNode();this.expect(e);let r=this.startNode(),a=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(a&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}let n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return a?(r.parameterName=this.parseIdentifier(),r.asserts=a,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);let s=this.tsParseTypeAnnotation(!1);return r.parameterName=n,r.typeAnnotation=s,r.asserts=a,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(107!==this.state.type)return!1;let e=this.state.containsEsc;return this.next(),!(!j(this.state.type)&&!this.match(78)||(e&&this.raise(ue.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),0))}tsParseTypeAnnotation(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){aa(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&77===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(na.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode();return e.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let t=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return r.length||this.raise(na.EmptyHeritageClauseType,{at:t,token:e}),r}tsParseInterfaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(127),t.declare&&(e.declare=!0),j(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,ct)):(e.id=null,this.raise(na.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,pt),e.typeAnnotation=this.tsInType((()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&16!==this.lookahead().type){let e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>(e(),this.tsParseType())))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(124),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?yt:ft),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(Fe),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,bt),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(Ge),this.prodParam.enter(Rr),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(110)?(e.global=!0,e.id=this.parseIdentifier()):this.match(131)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(Ge),this.prodParam.enter(Rr),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkIdentifier(e.id,nt),this.expect(29);let r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(na.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){let t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),r=e();if(void 0!==r&&!1!==r)return r;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(99)&&(r=74,t="let"),this.tsInAmbientContext((()=>{if(68===r)return e.declare=!0,super.parseFunctionStatement(e,!1,!1);if(80===r)return e.declare=!0,this.parseClass(e,!0,!1);if(124===r)return this.tsParseEnumDeclaration(e,{declare:!0});if(110===r)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===r||74===r)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));if(127===r){let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return j(r)?this.tsParseDeclaration(e,this.state.value,!0,null):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,r){switch(t.name){case"declare":{let t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(Ge),this.prodParam.enter(Rr);let r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1,r)}}tsParseDeclaration(e,t,r,a){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||j(this.state.type)))return this.tsParseAbstractDeclaration(e,a);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if(j(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&j(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&j(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let r=this.tsTryParseAndCatch((()=>{let t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t}));return this.state.maybeInArrowParameters=t,r?super.parseArrowExpression(r,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(na.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return U(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let r=this.state.startLoc,a={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},a);let n=a.accessibility,s=a.override,i=a.readonly;!(4&e)&&(n||i||s)&&this.raise(na.UnexpectedParameterModifier,{at:r});let o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o,e);let d=this.parseMaybeDefault(o.loc.start,o);if(n||i||s){let e=this.startNodeAt(r);return t.length&&(e.decorators=t),n&&(e.accessibility=n),i&&(e.readonly=i),s&&(e.override=s),"Identifier"!==d.type&&"AssignmentPattern"!==d.type&&this.raise(na.UnsupportedParameterPropertyKind,{at:e}),e.parameter=d,this.finishNode(e,"TSParameterProperty")}return t.length&&(o.decorators=t),d}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(na.PatternIsOptional,{at:t})}setArrowFunctionParameters(e,t,r){super.setArrowFunctionParameters(e,t,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let a="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return a&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,a):"TSDeclareFunction"===a&&this.state.isAmbientContext&&(this.raise(na.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,a,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,ht):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(na.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,r,a){let n=super.parseArrayLike(e,t,r,a);return"ArrayExpression"===n.type&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(e,t,r,a){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let r=this.startNodeAt(t);return r.expression=e,this.finishNode(r,"TSNonNullExpression")}let n=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(r)return a.stop=!0,e;a.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let s,i=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}let i=this.tsParseTypeArgumentsInExpression();if(!i)return;if(n&&!this.match(10))return void(s=this.state.curPosition());if(q(this.state.type)){let r=super.parseTaggedTemplateExpression(e,t,a);return r.typeParameters=i,r}if(!r&&this.eat(10)){let r=this.startNodeAt(t);return r.callee=e,r.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(r.arguments),r.typeParameters=i,a.optionalChainMember&&(r.optional=n),this.finishCallExpression(r,a.optionalChainMember)}let o=this.state.type;if(48===o||52===o||10!==o&&k(o)&&!this.hasPrecedingLineBreak())return;let d=this.startNodeAt(t);return d.expression=e,d.typeParameters=i,this.finishNode(d,"TSInstantiationExpression")}));if(s&&this.unexpected(s,10),i)return"TSInstantiationExpression"===i.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(na.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),i}return super.parseSubscript(e,t,r,a)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:r}=e;"TSInstantiationExpression"===r.type&&(null==(t=r.extra)||!t.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,t,r){let a;if(z(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(a=this.isContextual(118)))){let n=this.startNodeAt(t);return n.expression=e,n.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(a&&this.raise(ue.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(n,a?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,t,r)}return super.parseExprOp(e,t,r)}checkReservedWord(e,t,r,a){this.state.isAmbientContext||super.checkReservedWord(e,t,r,a)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(na.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",j(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(128)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),j(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}let t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(na.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e,t){if(this.match(83))return this.next(),this.isContextual(128)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){let t=e;return t.expression=super.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){let t=e;return this.expectContextual(126),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}if(e.exportKind="value",this.isContextual(128)){let t=this.lookaheadCharCode();(123===t||42===t)&&(this.next(),e.exportKind="type")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(122)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{isAmbientContext:a}=this.state,n=super.parseVarStatement(e,t,r||a);if(!a)return n;for(let{id:e,init:r}of n.declarations)r&&("const"!==t||e.typeAnnotation?this.raise(na.InitializerNotAllowedInAmbientContext,{at:r}):ua(r,this.hasPlugin("estree"))||this.raise(na.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r}));return n}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>ia(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){let a=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:a,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:na.InvalidModifierOnTypeParameterPositions},t);let n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,a)&&this.raise(na.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,t,r,a){let n=this.tsTryParseIndexSignature(t);if(n)return e.body.push(n),t.abstract&&this.raise(na.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(na.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(na.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(na.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(na.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(na.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,r,a)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(na.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(na.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t,r){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t,r):void 0)||super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r);let a=this.tryParse((()=>super.parseConditional(e,t)));return a.node?(a.error&&(this.state=a.failState),a.node):(a.error&&super.setOptionalParametersError(r,a.error),e)}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));let t=this.state.startLoc,r=this.eatContextual(123);if(r&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(na.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let a=j(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return a?(("TSInterfaceDeclaration"===a.type||"TSTypeAliasDeclaration"===a.type||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(a,t),a.declare=!0),a):null}parseClassId(e,t,r,a){if((!t||r)&&this.isContextual(111))return;super.parseClassId(e,t,r,e.declare?ht:it);let n=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(na.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise(na.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(na.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(na.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(na.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,r,a,n,s){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&n&&this.raise(na.ConstructorHasTypeParameters,{at:i});let{declare:o=!1,kind:d}=t;o&&("get"===d||"set"===d)&&this.raise(na.DeclareAccessor,{at:t,kind:d}),i&&(t.typeParameters=i),super.pushClassMethod(e,t,r,a,n,s)}pushClassPrivateMethod(e,t,r,a){let n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(t.typeParameters=n),super.pushClassPrivateMethod(e,t,r,a)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&!e.value.body||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,r,a,n,s,i){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);return o&&(e.typeParameters=o),super.parseObjPropValue(e,t,r,a,n,s,i)}parseFunctionParams(e,t){let r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var r,a,s,i,o,d,l;let u,c,p;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(u=this.state.clone(),c=this.tryParse((()=>super.parseMaybeAssign(e,t)),u),!c.error)return c.node;let{context:r}=this.state,a=r[r.length-1];(a===n.j_oTag||a===n.j_expr)&&r.pop()}if(!(null!=(r=c)&&r.error||this.match(47)))return super.parseMaybeAssign(e,t);(!u||u===this.state)&&(u=this.state.clone());let f,h=this.tryParse((r=>{var a,n;f=this.tsParseTypeParameters(this.tsParseConstModifier);let s=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==s.type||null!=(a=s.extra)&&a.parenthesized)&&r(),0!==(null==(n=f)?void 0:n.params.length)&&this.resetStartLocationFromNode(s,f),s.typeParameters=f,s}),u);if(!h.error&&!h.aborted)return f&&this.reportReservedArrowTypeParam(f),h.node;if(!c&&(aa(!this.hasPlugin("jsx")),p=this.tryParse((()=>super.parseMaybeAssign(e,t)),u),!p.error))return p.node;if(null!=(a=c)&&a.node)return this.state=c.failState,c.node;if(h.node)return this.state=h.failState,f&&this.reportReservedArrowTypeParam(f),h.node;if(null!=(s=p)&&s.node)return this.state=p.failState,p.node;throw null!=(i=c)&&i.thrown?c.error:h.thrown?h.error:null!=(o=p)&&o.thrown?p.error:(null==(d=c)?void 0:d.error)||h.error||(null==(l=p)?void 0:l.error)}reportReservedArrowTypeParam(e){var t;1===e.params.length&&!e.params[0].constraint&&(null==(t=e.extra)||!t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(na.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e,t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse((e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,t){if(!(2&t))return e;this.eat(17)&&(e.optional=!0);let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(na.UnexpectedTypeCastInParameter,{at:e}):this.raise(na.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":!t&&"TSTypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return ta({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==gt||!t)&&["expression",!0],TSSatisfiesExpression:(r!==gt||!t)&&["expression",!0],TSTypeAssertion:(r!==gt||!t)&&["expression",!0]},e)||super.isValidLVal(e,t,r)}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){let r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.startthis.isAssignable(e,!0))):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,r){let a=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,r)}finally{this.state.inAbstractClass=a}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(na.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,r,a,n,s,i){let o=super.parseMethod(e,t,r,a,n,s,i);if(o.abstract&&(this.hasPlugin("estree")?o.value.body:o.body)){let{key:e}=o;this.raise(na.AbstractMethodHasImplementation,{at:o,methodName:"Identifier"!==e.type||o.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return o}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,r,a){return!t&&a?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,a))}parseImportSpecifier(e,t,r,a,n){return!t&&a?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,a,r?vt:nt))}parseTypeOnlyImportExportSpecifier(e,t,r){let a,n=t?"imported":"local",s=t?"local":"exported",i=e[n],o=!1,d=!0,l=i.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let r=this.parseIdentifier();C(this.state.type)?(o=!0,i=e,a=t?this.parseIdentifier():this.parseModuleExportName(),d=!1):(a=r,d=!1)}else C(this.state.type)?(d=!1,a=t?this.parseIdentifier():this.parseModuleExportName()):(o=!0,i=e)}else C(this.state.type)&&(o=!0,t?(i=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(i.name,i.loc.start,!0,!0)):i=this.parseModuleExportName());o&&r&&this.raise(t?na.TypeModifierIsUsedInTypeImports:na.TypeModifierIsUsedInTypeExports,{at:l}),e[n]=i,e[s]=a,e[t?"importKind":"exportKind"]=o?"type":"value",d&&this.eatContextual(93)&&(e[s]=t?this.parseIdentifier():this.parseModuleExportName()),e[s]||(e[s]=Or(e[n])),t&&this.checkIdentifier(e[s],o?vt:nt)}};function la(e){if("MemberExpression"!==e.type)return!1;let{computed:t,property:r}=e;return(!t||"StringLiteral"===r.type||!("TemplateLiteral"!==r.type||r.expressions.length>0))&&fa(e.object)}function ua(e,t){var r;let{type:a}=e;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===a){let{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===a||"BooleanLiteral"===a)return!0;return!!(ca(e,t)||pa(e,t)||"TemplateLiteral"===a&&0===e.expressions.length||la(e))}function ca(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function pa(e,t){if("UnaryExpression"===e.type){let{operator:r,argument:a}=e;if("-"===r&&ca(a,t))return!0}return!1}function fa(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&fa(e.object)}var ha=le`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),ga=e=>class extends e{parsePlaceholder(e){if(this.match(142)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(142,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,r,a){void 0!==e&&super.checkReservedWord(e,t,r,a)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,r){return"Placeholder"===e||super.isValidLVal(e,t,r)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){return!(!super.chStartsBindingIdentifier(e,t)&&142!==this.lookahead().type)}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){let r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(e,t,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,r){let a=t?"ClassDeclaration":"ClassExpression";this.next();let n=this.state.strict,s=this.parsePlaceholder("Identifier");if(s){if(!(this.match(81)||this.match(142)||this.match(5))){if(r||!t)return e.id=null,e.body=this.finishPlaceholder(s,"ClassBody"),this.finishNode(e,a);throw this.raise(ha.ClassNameIsRequired,{at:this.state.startLoc})}e.id=s}else this.parseClassId(e,t,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,n),this.finishNode(e,a)}parseExport(e,t){let r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,t);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let a=this.startNode();return a.exported=r,e.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(W(142),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(e)}checkExport(e){let{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let r=this.startNodeAtNode(t);return r.local=t,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(ha.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},ma=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),j(this.state.type)){let e=this.parseIdentifierName(),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function ya(e,t){let[r,a]="string"==typeof t?[t,{}]:t,n=Object.keys(a),s=0===n.length;return e.some((e=>{if("string"==typeof e)return s&&e===r;{let[t,s]=e;if(t!==r)return!1;for(let e of n)if(s[e]!==a[e])return!1;return!0}}))}function ba(e,t,r){let a=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return a&&Array.isArray(a)&&a.length>1?a[1][r]:null}var va=["minimal","fsharp","hack","smart"],xa=["^^","@@","^","%","#"],Ra=["hash","bar"];function Ea(e){if(ya(e,"decorators")){if(ya(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=ba(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let r=ba(e,"decorators","allowCallParenthesized");if(null!=r&&"boolean"!=typeof r)throw new Error("'allowCallParenthesized' must be a boolean.")}if(ya(e,"flow")&&ya(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(ya(e,"placeholders")&&ya(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(ya(e,"pipelineOperator")){let t=ba(e,"pipelineOperator","proposal");if(!va.includes(t)){let e=va.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}let r=ya(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(ya(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(ya(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let t=ba(e,"pipelineOperator","topicToken");if(!xa.includes(t)){let e=xa.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(ya(e,"moduleAttributes")){if(ya(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==ba(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(ya(e,"recordAndTuple")&&null!=ba(e,"recordAndTuple","syntaxType")&&!Ra.includes(ba(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Ra.map((e=>`'${e}'`)).join(", "));if(ya(e,"asyncDoExpressions")&&!ya(e,"doExpressions")){let e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}var wa={estree:he,jsx:Jr,flow:qr,typescript:da,v8intrinsic:ma,placeholders:ga},Sa=Object.keys(wa),Da=class extends ea{checkProto(e,t,r,a){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;let n=e.key;if("__proto__"===("Identifier"===n.type?n.name:n.value)){if(t)return void this.raise(ue.RecordNoProto,{at:n});r.used&&(a?null===a.doubleProtoLoc&&(a.doubleProtoLoc=n.loc.start):this.raise(ue.DuplicateProto,{at:n})),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd((()=>this.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){let t=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){let a=this.startNodeAt(t);for(a.expressions=[r];this.eat(12);)a.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(a.expressions),this.finishNode(a,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParametersLoc=null!=(r=null==t?void 0:t.loc)?r:this.state.startLoc}parseMaybeAssign(e,t){let r,a=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,a)),e}e?r=!1:(e=new Ar,r=!0);let{type:n}=this.state;(10===n||j(n))&&(this.state.potentialArrowAt=this.state.start);let s=this.parseMaybeConditional(e);if(t&&(s=t.call(this,s,a)),I(this.state.type)){let t=this.startNodeAt(a),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(s,!0),t.left=s;let r=a.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else t.left=s;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(s,{in:this.finishNode(t,"AssignmentExpression")}),t}return r&&this.checkExpressionErrors(e,!0),s}parseMaybeConditional(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprOps(e);return this.shouldExitDescending(a,r)?a:this.parseConditional(a,t,e)}parseConditional(e,t,r){if(this.eat(17)){let r=this.startNodeAt(t);return r.test=e,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(a,r)?a:this.parseExprOp(a,t,-1)}parseExprOp(e,t,r){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(r>=z(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(ue.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let a=this.state.type;if(F(a)&&(this.prodParam.hasIn||!this.match(58))){let n=z(a);if(n>r){if(39===a){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}let s=this.startNodeAt(t);s.left=e,s.operator=this.state.value;let i=41===a||42===a,o=40===a;if(o&&(n=z(42)),this.next(),39===a&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(ue.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});s.right=this.parseExprOpRightExpr(a,n);let d=this.finishNode(s,i||o?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(o&&(41===l||42===l)||i&&40===l)throw this.raise(ue.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(d,t,r)}}return e}parseExprOpRightExpr(e,t){let r=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(ue.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){let r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,V(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,r=this.parseMaybeAssign();return ne.has(r.type)&&!(null!=(e=r.extra)&&e.parenthesized)&&this.raise(ue.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(ue.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(e){this.match(57)&&this.raise(ue.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let r=this.state.startLoc,a=this.isContextual(96);if(a&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(r);return t||this.checkExponentialAfterUnary(e),e}let n=this.match(34),s=this.startNode();if(M(this.state.type)){s.operator=this.state.value,s.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let r=this.match(89);if(this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){let e=s.argument;"Identifier"===e.type?this.raise(ue.StrictDelete,{at:s}):this.hasPropertyAsPrivateName(e)&&this.raise(ue.DeletePrivateField,{at:s})}if(!n)return t||this.checkExponentialAfterUnary(s),this.finishNode(s,"UnaryExpression")}let i=this.parseUpdate(s,n,e);if(a){let{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?k(e):k(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(ue.AwaitNotInAsyncContext,{at:r}),this.parseAwait(r)}return i}parseUpdate(e,t,r){if(t){let t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}let a=this.state.startLoc,n=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return n;for(;B(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(a);e.operator=this.state.value,e.prefix=!1,e.argument=n,this.next(),this.checkLVal(n,{in:n=this.finishNode(e,"UpdateExpression")})}return n}parseExprSubscripts(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprAtom(e);return this.shouldExitDescending(a,r)?a:this.parseSubscripts(a,t)}parseSubscripts(e,t,r){let a={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,a),a.maybeAsyncArrow=!1}while(!a.stop);return e}parseSubscript(e,t,r,a){let{type:n}=this.state;if(!r&&15===n)return this.parseBind(e,t,r,a);if(q(n))return this.parseTaggedTemplateExpression(e,t,a);let s=!1;if(18===n){if(r&&(this.raise(ue.OptionalChainingNoNew,{at:this.state.startLoc}),40===this.lookaheadCharCode()))return a.stop=!0,e;a.optionalChainMember=s=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,a,s);{let r=this.eat(0);return r||s||this.eat(16)?this.parseMember(e,t,a,r,s):(a.stop=!0,e)}}parseMember(e,t,r,a,n){let s=this.startNodeAt(t);return s.object=e,s.computed=a,a?(s.property=this.parseExpression(),this.expect(3)):this.match(136)?("Super"===e.type&&this.raise(ue.SuperPrivateField,{at:t}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),r.optionalChainMember?(s.optional=n,this.finishNode(s,"OptionalMemberExpression")):this.finishNode(s,"MemberExpression")}parseBind(e,t,r,a){let n=this.startNodeAt(t);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),a.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,r)}parseCoverCallAndAsyncArrowHead(e,t,r,a){let n=this.state.maybeInArrowParameters,s=null;this.state.maybeInArrowParameters=!0,this.next();let i=this.startNodeAt(t);i.callee=e;let{maybeAsyncArrow:o,optionalChainMember:d}=r;o&&(this.expressionScope.enter(vr()),s=new Ar),d&&(i.optional=a),i.arguments=a?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,i,s);let l=this.finishCallExpression(i,d);return o&&this.shouldParseAsyncArrow()&&!a?(r.stop=!0,this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(o&&(this.checkExpressionErrors(s,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=n,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r){let a=this.startNodeAt(t);return a.tag=e,a.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(ue.OptionalChainingNoTemplate,{at:t}),this.finishNode(a,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(ue.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let t of e.arguments)"SpreadElement"===t.type&&this.raise(ue.ImportCallSpreadArgument,{at:t});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,a,n){let s=[],i=!0,o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(i)i=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(ue.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),a&&this.addTrailingCommaExtraToNode(a),this.next();break}s.push(this.parseExprListItem(!1,n,r))}return this.state.inFSharpPipelineDirectBody=o,s}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingCommaLoc),t.innerComments&&Bt(e,t.innerComments),t.callee.trailingComments&&Bt(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,r=null,{type:a}=this.state;switch(a){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(ue.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:r=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(ue.UnsupportedBind,{at:e})}case 136:return this.raise(ue.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);this.unexpected();break}case 47:{let e=this.input.codePointAt(this.nextTokenStart());Ee(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(j(a)){if(this.isContextual(125)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){let{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(r));if(j(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(90===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=J(this.state.endLoc,-1),this.parseTopicReference(r);this.unexpected()}parseTopicReference(e){let t=this.startNode(),r=this.state.startLoc,a=this.state.type;return this.next(),this.finishTopicReference(t,r,e,a)}finishTopicReference(e,t,r,a){if(this.testTopicReferenceConfiguration(r,t,a)){let a="smart"===r?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===r?ue.PrimaryTopicNotAllowed:ue.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,a)}throw this.raise(ue.PipeTopicUnconfiguredToken,{at:t,token:W(a)})}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:W(r)}]);case"smart":return 27===r;default:throw this.raise(ue.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Tr(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(ue.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();let r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(wr),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(ue.UnexpectedSuper,{at:e}):this.raise(ue.SuperNotAllowed,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(ue.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(J(this.state.startLoc,1)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;let a=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||a)&&this.raise(ue.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(ue.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){let r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){let t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let t,r=this.state.startLoc;this.next(),this.expressionScope.enter(br());let a=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let s,i,o=this.state.startLoc,d=[],l=new Ar,u=!0;for(;!this.match(11);){if(u)u=!1;else if(this.expect(12,null===l.optionalParametersLoc?null:l.optionalParametersLoc),this.match(11)){i=this.state.startLoc;break}if(this.match(21)){let e=this.state.startLoc;if(s=this.state.startLoc,d.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else d.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}let c=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=a,this.state.inFSharpPipelineDirectBody=n;let p=this.startNodeAt(r);return e&&this.shouldParseArrow(d)&&(p=this.parseArrow(p))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(p,d,!1),p):(this.expressionScope.exit(),d.length||this.unexpected(this.state.lastTokStartLoc),i&&this.unexpected(i),s&&this.unexpected(s),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(d,!0),d.length>1?(t=this.startNodeAt(o),t.expressions=d,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,c)):t=d[0],this.wrapParenthesis(r,t))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;let r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let r=this.parseMetaProperty(e,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(ue.UnexpectedNewTarget,{at:r}),r}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr(),"Import"===e.callee.type&&this.raise(ue.ImportCallNotNewExpression,{at:e.callee})}parseTemplateElement(e){let{start:t,startLoc:r,end:a,value:n}=this.state,s=t+1,i=this.startNodeAt(J(r,1));null===n&&(e||this.raise(ue.InvalidEscapeSequenceTemplate,{at:J(this.state.firstInvalidTemplateEscapePos,1)}));let o=this.match(24),d=o?-1:-2,l=a+d;i.value={raw:this.input.slice(s,l).replace(/\r\n?/g,"\n"),cooked:null===n?null:n.slice(1,d)},i.tail=o,this.next();let u=this.finishNode(i,"TemplateElement");return this.resetEndLocation(u,J(this.state.lastTokEndLoc,d)),u}parseTemplate(e){let t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(r=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,a){r&&this.expectPlugin("recordAndTuple");let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=Object.create(null),i=!0,o=this.startNode();for(o.properties=[],this.next();!this.match(e);){if(i)i=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(o);break}let n;t?n=this.parseBindingProperty():(n=this.parsePropertyDefinition(a),this.checkProto(n,r,s,a)),r&&!this.isObjectProperty(n)&&"SpreadElement"!==n.type&&this.raise(ue.InvalidRecordProperty,{at:n}),n.shorthand&&this.addExtra(n,"shorthand",!0),o.properties.push(n)}this.next(),this.state.inFSharpPipelineDirectBody=n;let d="ObjectExpression";return t?d="ObjectPattern":r&&(d="RecordExpression"),this.finishNode(o,d)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(ue.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let r,a=this.startNode(),n=!1,s=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(a.decorators=t,t=[]),a.method=!1,e&&(r=this.state.startLoc);let i=this.eat(55);this.parsePropertyNamePrefixOperator(a);let o=this.state.containsEsc,d=this.parsePropertyName(a,e);if(!i&&!o&&this.maybeAsyncOrAccessorProp(a)){let e=d.name;"async"===e&&!this.hasPrecedingLineBreak()&&(n=!0,this.resetPreviousNodeTrailingComments(d),i=this.eat(55),this.parsePropertyName(a)),("get"===e||"set"===e)&&(s=!0,this.resetPreviousNodeTrailingComments(d),a.kind=e,this.match(55)&&(i=!0,this.raise(ue.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(a))}return this.parseObjPropValue(a,r,i,n,!1,s,e)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;let r=this.getGetterSetterExpectedParamCount(e),a=this.getObjectOrClassMethodParams(e);a.length!==r&&this.raise("get"===e.kind?ue.BadGetterArity:ue.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=a[a.length-1])?void 0:t.type)&&this.raise(ue.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,r,a,n){if(n){let r=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(r),r}if(r||t||this.match(10))return a&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,r,a){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(a),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,Or(e.key));else if(this.match(29)){let r=this.state.startLoc;null!=a?null===a.shorthandAssignLoc&&(a.shorthandAssignLoc=r):this.raise(ue.InvalidCoverInitializedName,{at:r}),e.value=this.parseMaybeDefault(t,Or(e.key))}else e.value=Or(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,a,n,s,i){let o=this.parseObjectMethod(e,r,a,n,s)||this.parseObjectProperty(e,t,n,i);return o||this.unexpected(),o}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let r,{type:a,value:n}=this.state;if(C(a))r=this.parseIdentifier(!0);else switch(a){case 132:r=this.parseNumericLiteral(n);break;case 131:r=this.parseStringLiteral(n);break;case 133:r=this.parseBigIntLiteral(n);break;case 134:r=this.parseDecimalLiteral(n);break;case 136:{let e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(ue.UnexpectedPrivateField,{at:e}),r=this.parsePrivateName();break}default:this.unexpected()}e.key=r,136!==a&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,r,a,n,s){let i=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,r),e.generator=t,this.scope.enter(Me|We|(i?Ve:0)|(n?ze:0)),this.prodParam.enter(Tr(r,e.generator)),this.parseFunctionParams(e,a);let o=this.parseFunctionBodyAndFinish(e,s,!0);return this.prodParam.exit(),this.scope.exit(),o}parseArrayLike(e,t,r,a){r&&this.expectPlugin("recordAndTuple");let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,a,s),this.state.inFSharpPipelineDirectBody=n,this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,a){this.scope.enter(Me|Le);let n=Tr(r,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=Dr),this.prodParam.enter(n),this.initFunction(e,r);let s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,a)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,!1),e.params=t}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=t&&!this.match(5);if(this.expressionScope.enter(xr()),a)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let a=this.state.strict,n=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Sr),e.body=this.parseBlock(!0,!1,(n=>{let s=!this.isSimpleParamList(e.params);n&&s&&this.raise(ue.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});let i=!a&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||s),t,i),this.state.strict&&e.id&&this.checkIdentifier(e.id,mt,i)})),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,r=e.length;t3&&void 0!==arguments[3])||arguments[3],n=!t&&new Set,s={type:"FormalParameters"};for(let t of e.params)this.checkLVal(t,{in:s,binding:lt,checkClashes:n,strictModeChanged:a})}parseExprList(e,t,r,a){let n=[],s=!0;for(;!this.eat(e);){if(s)s=!1;else if(this.expect(12),this.match(e)){a&&this.addTrailingCommaExtraToNode(a),this.next();break}n.push(this.parseExprListItem(t,r))}return n}parseExprListItem(e,t,r){let a;if(this.match(12))e||this.raise(ue.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),a=null;else if(this.match(21)){let e=this.state.startLoc;a=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(ue.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let e=this.startNode();this.next(),a=this.finishNode(e,"ArgumentPlaceholder")}else a=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return a}parseIdentifier(e){let t=this.startNode(),r=this.parseIdentifierName(e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t,{startLoc:r,type:a}=this.state;C(a)?t=this.state.value:this.unexpected();let n=T(a);return e?n&&this.replaceToken(130):this.checkReservedWord(t,r,n,!1),this.next(),t}checkReservedWord(e,t,r,a){if(!(e.length>10)&&Ne(e))if(r&&Ie(e))this.raise(ue.UnexpectedKeyword,{at:t,keyword:e});else if((this.state.strict?a?ke:Ae:Ce)(e,this.inModule))this.raise(ue.UnexpectedReservedWord,{at:t,reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(ue.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(ue.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(ue.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(ue.ArgumentsInClass,{at:t})}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e){let t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(ue.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(ue.ObsoleteAwaitStar,{at:t}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return 53===e||10===e||0===e||q(e)||101===e&&!this.state.containsEsc||135===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(ue.YieldInParameter,{at:e}),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(ue.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){let r=this.startNodeAt(t);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}{let r=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),r.expression=e,this.finishNode(r,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(ue.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(ue.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(Dr&~t){this.prodParam.enter(t|Dr);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(Dr&t){this.prodParam.enter(t&~Dr);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let a=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,a}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let t=this.startNodeAt(this.state.endLoc);this.next();let r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}},ja={kind:"loop"},Ta={kind:"switch"},Ca=/[\uD800-\uDFFF]/u,Aa=/in(?:stanceof)?/y;function Pa(e,t){for(let r=0;r1&&void 0!==arguments[1]?arguments[1]:137,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(e.sourceType=a,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,r),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[e,t]of Array.from(this.scope.undefinedExports))this.raise(ue.ModuleExportUndefined,{at:t,localName:e});return t=137===r?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",J(this.state.startLoc,-1)),t}stmtToDirective(e){let t=e;t.type="Directive",t.value=t.expression,delete t.expression;let r=t.value,a=r.value,n=this.input.slice(r.start,r.end),s=r.value=n.slice(1,-1);return this.addExtra(r,"raw",n),this.addExtra(r,"rawValue",s),this.addExtra(r,"expressionValue",a),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return!!this.isContextual(99)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(Ee(e)){if(Aa.lastIndex=t,Aa.test(this.input)){let e=this.codePointAtPos(Aa.lastIndex);if(!we(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasFollowingBindingIdentifier(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){let e=this.lookahead();return!(101===e.type&&!e.containsEsc||(this.expectPlugin("explicitResourceManagement"),0))}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type,a=this.startNode(),n=!!(2&e),s=!!(4&e),i=1&e;switch(r){case 60:return this.parseBreakContinueStatement(a,!0);case 63:return this.parseBreakContinueStatement(a,!1);case 64:return this.parseDebuggerStatement(a);case 90:return this.parseDoWhileStatement(a);case 91:return this.parseForStatement(a);case 68:if(46===this.lookaheadCharCode())break;return s||this.raise(this.state.strict?ue.StrictFunction:this.options.annexB?ue.SloppyFunctionAnnexB:ue.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(a,!1,!n&&s);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,a),!0);case 69:return this.parseIfStatement(a);case 70:return this.parseReturnStatement(a);case 71:return this.parseSwitchStatement(a);case 72:return this.parseThrowStatement(a);case 73:return this.parseTryStatement(a);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(ue.UnexpectedUsingDeclaration,{at:this.state.startLoc}):n||this.raise(ue.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(a,"using");case 99:{if(this.state.containsEsc)break;let e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t&&(!n&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(t,e)&&123!==t))break}case 75:n||this.raise(ue.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let e=this.state.value;return this.parseVarStatement(a,e)}case 92:return this.parseWhileStatement(a);case 76:return this.parseWithStatement(a);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(a);case 83:{let e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return!this.options.allowImportExportEverywhere&&!i&&this.raise(ue.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===r?(e=this.parseImport(a),"ImportDeclaration"===e.type&&(!e.importKind||"value"===e.importKind)&&(this.sawUnambiguousESM=!0)):(e=this.parseExport(a,t),("ExportNamedDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportAllDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportDefaultDeclaration"===e.type)&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return n||this.raise(ue.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(a,!0,!n&&s)}let o=this.state.value,d=this.parseExpression();return j(r)&&"Identifier"===d.type&&this.eat(14)?this.parseLabeledStatement(a,o,d,e):this.parseExpressionStatement(a,d,t)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(ue.ImportOutsideModule,{at:e})}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,r){return e&&(t.decorators&&t.decorators.length>0?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(ue.DecoratorsBeforeAfterExport,{at:t.decorators[0]}),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),r&&this.resetStartLocationFromNode(r,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(ue.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(ue.UnexpectedLeadingDecorator,{at:this.state.startLoc});return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){let t,r=this.state.startLoc;if(this.match(10)){let r=this.state.startLoc;this.next(),t=this.parseExpression(),this.expect(11),t=this.wrapParenthesis(r,t);let a=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(t),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==t&&this.raise(ue.DecoratorArgumentsOutsideParentheses,{at:a})}else{for(t=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(r);e.object=t,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,t=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){let t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;rthis.parseStatement())),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(ja);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(Fe),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);let r=this.isContextual(99),a=this.isContextual(105)&&!this.hasFollowingLineBreak(),n=r&&this.hasFollowingBindingAtom()||a&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||n){let r=this.startNode(),n=this.state.value;this.next(),this.parseVar(r,!0,n);let s=this.finishNode(r,"VariableDeclaration"),i=this.match(58);return i&&a&&this.raise(ue.ForInUsing,{at:s}),(i||this.isContextual(101))&&1===s.declarations.length?this.parseForIn(e,s,t):(null!==t&&this.unexpected(t),this.parseFor(e,s))}let s=this.isContextual(95),i=new Ar,o=this.parseExpression(!0,i),d=this.isContextual(101);if(d&&(r&&this.raise(ue.ForOfLet,{at:o}),null===t&&s&&"Identifier"===o.type&&this.raise(ue.ForOfAsync,{at:o})),d||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(o,!0);let r=d?"ForOfStatement":"ForInStatement";return this.checkLVal(o,{in:{type:r}}),this.parseForIn(e,o,t)}return this.checkExpressionErrors(i,!0),null!==t&&this.unexpected(t),this.parseFor(e,o)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(ue.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t,r,a=e.cases=[];for(this.expect(5),this.state.labels.push(Ta),this.scope.enter(Fe);!this.match(8);)if(this.match(61)||this.match(65)){let e=this.match(61);t&&this.finishNode(t,"SwitchCase"),a.push(t=this.startNode()),t.consequent=[],this.next(),e?t.test=this.parseExpression():(r&&this.raise(ue.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),r=!0,t.test=null),this.expect(14)}else t?t.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(ue.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?Ue:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:dt}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(Fe)),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(ue.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(ja),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(ue.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,a){for(let e of this.state.labels)e.name===t&&this.raise(ue.LabelRedeclaration,{at:r,labelName:t});let n=_(this.state.type)?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){let r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=n}return this.state.labels.push({name:t,kind:n,statementStart:this.state.start}),e.body=8&a?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,r){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,a=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(Fe),this.parseBlockBody(a,e,!1,8,r),t&&this.scope.exit(),this.finishNode(a,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,a,n){let s=e.body=[],i=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?i:void 0,r,a,n)}parseBlockOrModuleBlockBody(e,t,r,a,n){let s=this.state.strict,i=!1,o=!1;for(;!this.match(a);){let a=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!o){if(this.isValidDirective(a)){let e=this.stmtToDirective(a);t.push(e),!i&&"use strict"===e.value.value&&(i=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(a)}n&&n.call(this,i),s||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){let a=this.match(58);return this.next(),a?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!a||!this.options.annexB||this.state.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(ue.ForInOfLoopInitializer,{at:t,type:a?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(ue.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=a?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,a?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=e.declarations=[];for(e.kind=r;;){let e=this.startNode();if(this.parseVarId(e,r),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null===e.init&&!a&&("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"===r&&!(this.match(58)||this.isContextual(101))&&this.raise(ue.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(ue.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),n.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){"using"===t&&!this.inModule&&this.match(96)&&this.raise(ue.AwaitInUsingBinding,{at:this.state.startLoc});let r=this.parseBindingAtom();this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:"var"===t?lt:ot}),e.id=r}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=2&t,a=!!(1&t),n=a&&!(4&t),s=!!(8&t);this.initFunction(e,s),this.match(55)&&(r&&this.raise(ue.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),e.generator=!0),a&&(e.id=this.parseFunctionId(n));let i=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Me),this.prodParam.enter(Tr(s,e.generator)),a||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,a?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),a&&!r&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=i,e}parseFunctionId(e){return e||j(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(yr()),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?lt:ot:ut,e.id.loc.start)}parseClass(e,t,r){this.next();let a=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,a),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();let r={hadConstructor:!1,hadSuperClass:e},a=[],n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(a.length>0)throw this.raise(ue.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){a.push(this.parseDecorator());continue}let e=this.startNode();a.length&&(e.decorators=a,this.resetStartLocationFromNode(e,a[0]),a=[]),this.parseClassMember(n,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(ue.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),a.length)throw this.raise(ue.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(e,t){let r=this.parseIdentifier(!0);if(this.isClassMethod()){let a=t;return a.kind="method",a.computed=!1,a.key=r,a.static=!1,this.pushClassMethod(e,a,!1,!1,!1,!1),!0}if(this.isClassProperty()){let a=t;return a.computed=!1,a.key=r,a.static=!1,e.body.push(this.parseClassProperty(a)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){let a=this.isContextual(104);if(a){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,a)}parseClassMemberWithIsStatic(e,t,r,a){let n=t,s=t,i=t,o=t,d=t,l=n,u=n;if(t.static=a,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind="method";let t=this.match(136);return this.parseClassElementName(l),t?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(ue.ConstructorIsGenerator,{at:n.key}),void this.pushClassMethod(e,n,!0,!1,!1,!1))}let c=j(this.state.type)&&!this.state.containsEsc,p=this.match(136),f=this.parseClassElementName(t),h=this.state.startLoc;if(this.parsePostMemberNameModifiers(u),this.isClassMethod()){if(l.kind="method",p)return void this.pushClassPrivateMethod(e,s,!1,!1);let a=this.isNonstaticConstructor(n),i=!1;a&&(n.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(ue.DuplicateConstructor,{at:f}),a&&this.hasPlugin("typescript")&&t.override&&this.raise(ue.OverrideOnConstructor,{at:f}),r.hadConstructor=!0,i=r.hadSuperClass),this.pushClassMethod(e,n,!1,!1,a,i)}else if(this.isClassProperty())p?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,i);else if(c&&"async"===f.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);let t=this.eat(55);u.optional&&this.unexpected(h),l.kind="method";let r=this.match(136);this.parseClassElementName(l),this.parsePostMemberNameModifiers(u),r?this.pushClassPrivateMethod(e,s,t,!0):(this.isNonstaticConstructor(n)&&this.raise(ue.ConstructorIsAsync,{at:n.key}),this.pushClassMethod(e,n,t,!0,!1,!1))}else if(!c||"get"!==f.name&&"set"!==f.name||this.match(55)&&this.isLineTerminator())if(c&&"accessor"===f.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(f);let t=this.match(136);this.parseClassElementName(i),this.pushClassAccessorProperty(e,d,t)}else this.isLineTerminator()?p?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,i):this.unexpected();else{this.resetPreviousNodeTrailingComments(f),l.kind=f.name;let t=this.match(136);this.parseClassElementName(n),t?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(ue.ConstructorIsAccessor,{at:n.key}),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}}parseClassElementName(e){let{type:t,value:r}=this.state;if((130===t||131===t)&&e.static&&"prototype"===r&&this.raise(ue.StaticPrototype,{at:this.state.startLoc}),136===t){"constructor"===r&&this.raise(ue.ConstructorClassPrivateField,{at:this.state.startLoc});let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(Ve|qe|We);let a=this.state.labels;this.state.labels=[],this.prodParam.enter(Rr);let n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=a,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(ue.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){!t.computed&&("constructor"===t.key.name||"constructor"===t.key.value)&&this.raise(ue.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),At,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){let e=t.key;("constructor"===e.name||"constructor"===e.value)&&this.raise(ue.ConstructorClassField,{at:e})}let a=this.parseClassAccessorProperty(t);e.body.push(a),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(a.key),At,a.key.loc.start)}pushClassMethod(e,t,r,a,n,s){e.body.push(this.parseMethod(t,r,a,n,s,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,a){let n=this.parseMethod(t,r,a,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);let s="get"===n.kind?n.static?Dt:Tt:"set"===n.kind?n.static?jt:Ct:At;this.declareClassPrivateMethodInScope(n,s)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(Ve|We),this.expressionScope.enter(xr()),this.prodParam.enter(Rr),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:it;if(j(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,a);else{if(!r&&t)throw this.raise(ue.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){let r=this.maybeParseExportDefaultSpecifier(e),a=!r||this.eat(12),n=a&&this.eatExportStar(e),s=n&&this.maybeParseExportNamespaceSpecifier(e),i=a&&(!s||this.eat(12)),o=r||n;if(n&&!s){if(r&&this.unexpected(),t)throw this.raise(ue.UnsupportedDecoratorExport,{at:e});return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}let d,l=this.maybeParseExportNamedSpecifiers(e);if(r&&a&&!n&&!l&&this.unexpected(null,5),s&&i&&this.unexpected(null,97),o||l){if(d=!1,t)throw this.raise(ue.UnsupportedDecoratorExport,{at:e});this.parseExportFrom(e,o)}else d=this.maybeParseExportDeclaration(e);if(o||l||d){var u;let r=e;if(this.checkExport(r,!0,!1,!!r.source),"ClassDeclaration"===(null==(u=r.declaration)?void 0:u.type))this.maybeTakeDecorators(t,r.declaration,r);else if(t)throw this.raise(ue.UnsupportedDecoratorExport,{at:e});return this.finishNode(r,"ExportNamedDeclaration")}if(this.eat(65)){let r=e,a=this.parseExportDefaultExpression();if(r.declaration=a,"ClassDeclaration"===a.type)this.maybeTakeDecorators(t,a,r);else if(t)throw this.raise(ue.UnsupportedDecoratorExport,{at:e});return this.checkExport(r,!0,!0),this.finishNode(r,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);let t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!Ut.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(ue.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(ue.UnsupportedDefaultExport,{at:this.state.startLoc});let t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(j(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((128===e||127===e)&&!this.state.containsEsc){let{type:e}=this.lookahead();if(j(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||j(this.state.type)&&r)return!0;if(this.match(65)&&r){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let t=this.maybeParseImportAssertions();t&&(e.assertions=t,this.checkJSONModuleImport(e))}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(ue.DecoratorBeforeExport,{at:this.state.startLoc}),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,a){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var n;let t=e.declaration;"Identifier"===t.type&&"from"===t.name&&t.end-t.start==4&&(null==(n=t.extra)||!n.parenthesized)&&this.raise(ue.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let t of e.specifiers){let{exported:e}=t,r="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!a&&t.local){let{local:e}=t;"Identifier"!==e.type?this.raise(ue.ExportBindingIsString,{at:t,localName:e.value,exportName:r}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){let t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(let t of e.declaration.declarations)this.checkDeclaration(t.id)}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(let t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(let t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(ue.DuplicateDefaultExport,{at:e}):this.raise(ue.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;let a=this.isContextual(128),n=this.match(131),s=this.startNode();s.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(s,n,e,a))}return t}parseExportSpecifier(e,t,r,a){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=_r(e.local):e.exported||(e.exported=Or(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(Ca);return t&&this.raise(ue.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some((e=>{let{key:t,value:r}=e;return"json"===r.value&&("Identifier"===t.type?"type"===t.name:"type"===t.value)}))}checkImportReflection(e){var t;e.module&&((1!==e.specifiers.length||"ImportDefaultSpecifier"!==e.specifiers[0].type)&&this.raise(ue.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start}),(null==(t=e.assertions)?void 0:t.length)>0&&this.raise(ue.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start}))}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){let{specifiers:t}=e;if(null!=t){let e=t.find((e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==e&&this.raise(ue.ImportJSONBindingNotDefault,{at:e.loc.start})}}}parseMaybeImportReflection(e){let t=!1;if(this.isContextual(125)){let e=this.lookahead(),r=e.type;j(r)?(97!==r||102===this.input.charCodeAt(this.nextTokenStartSince(e.end)))&&(t=!0):12!==r&&(t=!0)}t?(this.expectPlugin("importReflection"),this.next(),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1)}parseImport(e){if(e.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(e);let t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{let t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return j(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ot;return this.checkLVal(e.local,{in:{type:t},binding:r}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let r=this.startNode(),a=this.state.value;if(t.has(a)&&this.raise(ue.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:a}),t.add(a),this.match(131)?r.key=this.parseStringLiteral(a):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(ue.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();let e=[],t=new Set;do{let r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(ue.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(ue.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(131))throw this.raise(ue.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);let e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(ue.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let r=this.startNode(),a=this.match(131),n=this.isContextual(128);r.imported=this.parseModuleExportName();let s=this.parseImportSpecifier(r,a,"type"===e.importKind||"typeof"===e.importKind,n,void 0);e.specifiers.push(s)}}parseImportSpecifier(e,t,r,a,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:r}=e;if(t)throw this.raise(ue.ImportBindingIsString,{at:e,importName:r.value});this.checkReservedWord(r.name,e.loc.start,!0,!0),e.local||(e.local=Or(r))}return this.finishImportSpecifier(e,"ImportSpecifier",n)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}},Ia=class extends ka{constructor(e,t){super(e=r(e),t),this.options=e,this.initializeScopes(),this.plugins=Oa(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return kt}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};function Oa(e){let t=new Map;for(let r of e){let[e,a]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,a||{})}return t}function _a(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return Ma(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";let r=Ma(t,e),a=r.parse();if(r.sawUnambiguousESM)return a;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",Ma(t,e).parse()}catch{}else a.program.sourceType="script";return a}catch(r){try{return t.sourceType="script",Ma(t,e).parse()}catch{}throw r}}function Na(e,t){let r=Ma(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function Fa(e){let t={};for(let r of Object.keys(e))t[r]=G(e[r]);return t}var Ba=Fa(D);function Ma(e,t){let r=Ia;return null!=e&&e.plugins&&(Ea(e.plugins),r=Ua(e.plugins)),new r(e,t)}var La={};function Ua(e){let t=Sa.filter((t=>ya(e,t))),r=t.join("/"),a=La[r];if(!a){a=Ia;for(let e of t)a=wa[e](a);La[r]=a}return a}e.parse=_a,e.parseExpression=Na,e.tokTypes=Ba}}),ae=o({"src/language-js/parse/json.js"(e,t){c();var r=q(),a=K(),n=H(),s=$();function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{allowComments:t=!0}=e;return function(e){let a,{parseExpression:n}=re();try{a=n(e,{tokens:!0,ranges:!0})}catch(e){throw s(e)}if(!t&&r(a.comments))throw o(a.comments[0],"Comment");return d(a),a}}function o(e,t){let[r,n]=[e.loc.start,e.loc.end].map((e=>{let{line:t,column:r}=e;return{line:t,column:r+1}}));return a(`${t} is not allowed in JSON.`,{start:r,end:n})}function d(e){switch(e.type){case"ArrayExpression":for(let t of e.elements)null!==t&&d(t);return;case"ObjectExpression":for(let t of e.properties)d(t);return;case"ObjectProperty":if(e.computed)throw o(e.key,"Computed key");if(e.shorthand)throw o(e.key,"Shorthand property");return"Identifier"!==e.key.type&&d(e.key),void d(e.value);case"UnaryExpression":{let{operator:t,argument:r}=e;if("+"!==t&&"-"!==t)throw o(e,`Operator '${e.operator}'`);if("NumericLiteral"===r.type||"Identifier"===r.type&&("Infinity"===r.name||"NaN"===r.name))return;throw o(r,`Operator '${t}' before '${r.type}'`)}case"Identifier":if("Infinity"!==e.name&&"NaN"!==e.name&&"undefined"!==e.name)throw o(e,`Identifier '${e.name}'`);return;case"TemplateLiteral":if(r(e.expressions))throw o(e.expressions[0],"'TemplateLiteral' with expression");for(let t of e.quasis)d(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw o(e,`'${e.type}'`)}}var l=i(),u={json:n({parse:l,hasPragma(){return!0}}),json5:n(l),"json-stringify":n({parse:i({allowComments:!1}),astFormat:"estree-json"})};t.exports=u}});c();var ne=p(),se=f(),ie=b(),oe=H(),de=$(),le=te(),ue=ae(),ce={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},pe=["recordAndTuple",{syntaxType:"hash"}],fe="v8intrinsic",he=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],me=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ce;return Object.assign(Object.assign({},t),{},{plugins:[...t.plugins,...e]})},ye=/@(?:no)?flow\b/;function ve(e,t){if(t.filepath&&t.filepath.endsWith(".js.flow"))return!0;let r=se(e);r&&(e=e.slice(r.length));let a=ie(e,0);return!1!==a&&(e=e.slice(0,a)),ye.test(e)}function xe(e,t,r){let a=(0,re()[e])(t,r),n=a.errors.find((e=>!Ce.has(e.reasonCode)));if(n)throw n;return a}function Re(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:{};if(("babel"===n.parser||"__babel_estree"===n.parser)&&ve(t,n))return n.parser="babel-flow",we(t,a,n);let s=r;"script"===n.__babelSourceType&&(s=s.map((e=>Object.assign(Object.assign({},e),{},{sourceType:"script"})))),/#[[{]/.test(t)&&(s=s.map((e=>me([pe],e))));let i=/%[A-Z]/.test(t);t.includes("|>")?s=(i?[...he,fe]:he).flatMap((e=>s.map((t=>me([e],t))))):i&&(s=s.map((e=>me([fe],e))));let{result:o,error:d}=ne(...s.map((r=>()=>xe(e,t,r))));if(!o)throw de(d);return n.originalText=t,le(o,n)}}var Ee=Re("parse",me(["jsx","flow"])),we=Re("parse",me(["jsx",["flow",{all:!0,enums:!0}]])),Se=Re("parse",me(["jsx","typescript"]),me(["typescript"])),De=Re("parse",me(["jsx","flow","estree"])),je=Re("parseExpression",me(["jsx"])),Te=Re("parseExpression",me(["typescript"])),Ce=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Pe=oe(Ee),ke=oe(Se),Ie=oe(je),Oe=oe(Te);t.exports={parsers:Object.assign(Object.assign({babel:Pe,"babel-flow":oe(we),"babel-ts":ke},ue),{},{__js_expression:Ie,__vue_expression:Ie,__vue_ts_expression:Oe,__vue_event_binding:Pe,__vue_ts_event_binding:ke,__babel_estree:oe(De)})}}));return Pe()}()},73945:function(e,t,r){var a,n,s;e.exports=function(){"use strict";var i=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),o=i(((e,t)=>{var a=function(e){return e&&e.Math==Math&&e};t.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),d=i(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),l=i(((e,t)=>{var r=d();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),u=i(((e,t)=>{var r=d();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),c=i(((e,t)=>{var r=u(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}})),p=i((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),f=i(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),h=i(((e,t)=>{var r=u(),a=Function.prototype,n=a.call,s=r&&a.bind.bind(n,n);t.exports=r?s:function(e){return function(){return n.apply(e,arguments)}}})),g=i(((e,t)=>{var r=h(),a=r({}.toString),n=r("".slice);t.exports=function(e){return n(a(e),8,-1)}})),m=i(((e,t)=>{var r=h(),a=d(),n=g(),s=Object,i=r("".split);t.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==n(e)?i(e,""):s(e)}:s})),y=i(((e,t)=>{t.exports=function(e){return null==e}})),b=i(((e,t)=>{var r=y(),a=TypeError;t.exports=function(e){if(r(e))throw a("Can't call method on "+e);return e}})),v=i(((e,t)=>{var r=m(),a=b();t.exports=function(e){return r(a(e))}})),x=i(((e,t)=>{var r="object"==typeof document&&document.all,a=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:a}})),R=i(((e,t)=>{var r=x(),a=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===a}:function(e){return"function"==typeof e}})),E=i(((e,t)=>{var r=R(),a=x(),n=a.all;t.exports=a.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===n}:function(e){return"object"==typeof e?null!==e:r(e)}})),w=i(((e,t)=>{var r=o(),a=R(),n=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?n(r[e]):r[e]&&r[e][t]}})),S=i(((e,t)=>{var r=h();t.exports=r({}.isPrototypeOf)})),D=i(((e,t)=>{var r=w();t.exports=r("navigator","userAgent")||""})),j=i(((e,t)=>{var r,a,n=o(),s=D(),i=n.process,d=n.Deno,l=i&&i.versions||d&&d.version,u=l&&l.v8;u&&(a=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(a=+r[1]),t.exports=a})),T=i(((e,t)=>{var r=j(),a=d();t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),C=i(((e,t)=>{var r=T();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),A=i(((e,t)=>{var r=w(),a=R(),n=S(),s=C(),i=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return a(t)&&n(t.prototype,i(e))}})),P=i(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),k=i(((e,t)=>{var r=R(),a=P(),n=TypeError;t.exports=function(e){if(r(e))return e;throw n(a(e)+" is not a function")}})),I=i(((e,t)=>{var r=k(),a=y();t.exports=function(e,t){var n=e[t];return a(n)?void 0:r(n)}})),O=i(((e,t)=>{var r=c(),a=R(),n=E(),s=TypeError;t.exports=function(e,t){var i,o;if("string"===t&&a(i=e.toString)&&!n(o=r(i,e))||a(i=e.valueOf)&&!n(o=r(i,e))||"string"!==t&&a(i=e.toString)&&!n(o=r(i,e)))return o;throw s("Can't convert object to primitive value")}})),_=i(((e,t)=>{t.exports=!1})),N=i(((e,t)=>{var r=o(),a=Object.defineProperty;t.exports=function(e,t){try{a(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),F=i(((e,t)=>{var r=o(),a=N(),n="__core-js_shared__",s=r[n]||a(n,{});t.exports=s})),B=i(((e,t)=>{var r=_(),a=F();(t.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"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"})})),M=i(((e,t)=>{var r=b(),a=Object;t.exports=function(e){return a(r(e))}})),L=i(((e,t)=>{var r=h(),a=M(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return n(a(e),t)}})),U=i(((e,t)=>{var r=h(),a=0,n=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++a+n,36)}})),W=i(((e,t)=>{var r=o(),a=B(),n=L(),s=U(),i=T(),d=C(),l=a("wks"),u=r.Symbol,c=u&&u.for,p=d?u:u&&u.withoutSetter||s;t.exports=function(e){if(!n(l,e)||!i&&"string"!=typeof l[e]){var t="Symbol."+e;i&&n(u,e)?l[e]=u[e]:l[e]=d&&c?c(t):p(t)}return l[e]}})),z=i(((e,t)=>{var r=c(),a=E(),n=A(),s=I(),i=O(),o=W(),d=TypeError,l=o("toPrimitive");t.exports=function(e,t){if(!a(e)||n(e))return e;var o,u=s(e,l);if(u){if(void 0===t&&(t="default"),o=r(u,e,t),!a(o)||n(o))return o;throw d("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}})),V=i(((e,t)=>{var r=z(),a=A();t.exports=function(e){var t=r(e,"string");return a(t)?t:t+""}})),q=i(((e,t)=>{var r=o(),a=E(),n=r.document,s=a(n)&&a(n.createElement);t.exports=function(e){return s?n.createElement(e):{}}})),G=i(((e,t)=>{var r=l(),a=d(),n=q();t.exports=!r&&!a((function(){return 7!=Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))})),H=i((e=>{var t=l(),r=c(),a=p(),n=f(),s=v(),i=V(),o=L(),d=G(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(e,t){if(e=s(e),t=i(t),d)try{return u(e,t)}catch{}if(o(e,t))return n(!r(a.f,e,t),e[t])}})),K=i(((e,t)=>{var r=l(),a=d();t.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),$=i(((e,t)=>{var r=E(),a=String,n=TypeError;t.exports=function(e){if(r(e))return e;throw n(a(e)+" is not an object")}})),J=i((e=>{var t=l(),r=G(),a=K(),n=$(),s=V(),i=TypeError,o=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",p="writable";e.f=t?a?function(e,t,r){if(n(e),t=s(t),n(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var a=d(e,t);a&&a[p]&&(e[t]=r.value,r={configurable:c in r?r[c]:a[c],enumerable:u in r?r[u]:a[u],writable:!1})}return o(e,t,r)}:o:function(e,t,a){if(n(e),t=s(t),n(a),r)try{return o(e,t,a)}catch{}if("get"in a||"set"in a)throw i("Accessors not supported");return"value"in a&&(e[t]=a.value),e}})),X=i(((e,t)=>{var r=l(),a=J(),n=f();t.exports=r?function(e,t,r){return a.f(e,t,n(1,r))}:function(e,t,r){return e[t]=r,e}})),Y=i(((e,t)=>{var r=l(),a=L(),n=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,i=a(n,"name"),o=i&&"something"===function(){}.name,d=i&&(!r||r&&s(n,"name").configurable);t.exports={EXISTS:i,PROPER:o,CONFIGURABLE:d}})),Q=i(((e,t)=>{var r=h(),a=R(),n=F(),s=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(e){return s(e)}),t.exports=n.inspectSource})),Z=i(((e,t)=>{var r=o(),a=R(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n))})),ee=i(((e,t)=>{var r=B(),a=U(),n=r("keys");t.exports=function(e){return n[e]||(n[e]=a(e))}})),te=i(((e,t)=>{t.exports={}})),re=i(((e,t)=>{var r,a,n,s,i,d=Z(),l=o(),u=E(),c=X(),p=L(),f=F(),h=ee(),g=te(),m="Object already initialized",y=l.TypeError,b=l.WeakMap,v=function(e){return n(e)?a(e):r(e,{})},x=function(e){return function(t){var r;if(!u(t)||(r=a(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return r}};d||f.state?((s=f.state||(f.state=new b)).get=s.get,s.has=s.has,s.set=s.set,r=function(e,t){if(s.has(e))throw y(m);return t.facade=e,s.set(e,t),t},a=function(e){return s.get(e)||{}},n=function(e){return s.has(e)}):(g[i=h("state")]=!0,r=function(e,t){if(p(e,i))throw y(m);return t.facade=e,c(e,i,t),t},a=function(e){return p(e,i)?e[i]:{}},n=function(e){return p(e,i)}),t.exports={set:r,get:a,has:n,enforce:v,getterFor:x}})),ae=i(((e,t)=>{var r=d(),a=R(),n=L(),s=l(),i=Y().CONFIGURABLE,o=Q(),u=re(),c=u.enforce,p=u.get,f=Object.defineProperty,h=s&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),g=String(String).split("String"),m=t.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!n(e,"name")||i&&e.name!==t)&&(s?f(e,"name",{value:t,configurable:!0}):e.name=t),h&&r&&n(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?s&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var a=c(e);return n(a,"source")||(a.source=g.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return a(this)&&p(this).source||o(this)}),"toString")})),ne=i(((e,t)=>{var r=R(),a=J(),n=ae(),s=N();t.exports=function(e,t,i,o){o||(o={});var d=o.enumerable,l=void 0!==o.name?o.name:t;if(r(i)&&n(i,l,o),o.global)d?e[t]=i:s(t,i);else{try{o.unsafe?e[t]&&(d=!0):delete e[t]}catch{}d?e[t]=i:a.f(e,t,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}})),se=i(((e,t)=>{var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?a:r)(t)}})),ie=i(((e,t)=>{var r=se();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}})),oe=i(((e,t)=>{var r=ie(),a=Math.max,n=Math.min;t.exports=function(e,t){var s=r(e);return s<0?a(s+t,0):n(s,t)}})),de=i(((e,t)=>{var r=ie(),a=Math.min;t.exports=function(e){return e>0?a(r(e),9007199254740991):0}})),le=i(((e,t)=>{var r=de();t.exports=function(e){return r(e.length)}})),ue=i(((e,t)=>{var r=v(),a=oe(),n=le(),s=function(e){return function(t,s,i){var o,d=r(t),l=n(d),u=a(i,l);if(e&&s!=s){for(;l>u;)if((o=d[u++])!=o)return!0}else for(;l>u;u++)if((e||u in d)&&d[u]===s)return e||u||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),ce=i(((e,t)=>{var r=h(),a=L(),n=v(),s=ue().indexOf,i=te(),o=r([].push);t.exports=function(e,t){var r,d=n(e),l=0,u=[];for(r in d)!a(i,r)&&a(d,r)&&o(u,r);for(;t.length>l;)a(d,r=t[l++])&&(~s(u,r)||o(u,r));return u}})),pe=i(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),fe=i((e=>{var t=ce(),r=pe().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),he=i((e=>{e.f=Object.getOwnPropertySymbols})),ge=i(((e,t)=>{var r=w(),a=h(),n=fe(),s=he(),i=$(),o=a([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=n.f(i(e)),r=s.f;return r?o(t,r(e)):t}})),me=i(((e,t)=>{var r=L(),a=ge(),n=H(),s=J();t.exports=function(e,t,i){for(var o=a(t),d=s.f,l=n.f,u=0;u{var r=d(),a=R(),n=/#|\.prototype\./,s=function(e,t){var n=o[i(e)];return n==u||n!=l&&(a(t)?r(t):!!t)},i=s.normalize=function(e){return String(e).replace(n,".").toLowerCase()},o=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s})),be=i(((e,t)=>{var r=o(),a=H().f,n=X(),s=ne(),i=N(),d=me(),l=ye();t.exports=function(e,t){var o,u,c,p,f,h=e.target,g=e.global,m=e.stat;if(o=g?r:m?r[h]||i(h,{}):(r[h]||{}).prototype)for(u in t){if(p=t[u],c=e.dontCallGetSet?(f=a(o,u))&&f.value:o[u],!l(g?u:h+(m?".":"#")+u,e.forced)&&void 0!==c){if(typeof p==typeof c)continue;d(p,c)}(e.sham||c&&c.sham)&&n(p,"sham",!0),s(o,u,p,e)}}})),ve=i(((e,t)=>{var r=g();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),xe=i(((e,t)=>{var r=TypeError,a=9007199254740991;t.exports=function(e){if(e>a)throw r("Maximum allowed index exceeded");return e}})),Re=i(((e,t)=>{var r=g(),a=h();t.exports=function(e){if("Function"===r(e))return a(e)}})),Ee=i(((e,t)=>{var r=Re(),a=k(),n=u(),s=r(r.bind);t.exports=function(e,t){return a(e),void 0===t?e:n?s(e,t):function(){return e.apply(t,arguments)}}})),we=i(((e,t)=>{var r=ve(),a=le(),n=xe(),s=Ee(),i=function(e,t,o,d,l,u,c,p){for(var f,h,g=l,m=0,y=!!c&&s(c,p);m0&&r(f)?(h=a(f),g=i(e,t,f,h,g,u-1)-1):(n(g+1),e[g]=f),g++),m++;return g};t.exports=i})),Se=i(((e,t)=>{var r={};r[W()("toStringTag")]="z",t.exports="[object z]"===String(r)})),De=i(((e,t)=>{var r=Se(),a=R(),n=g(),s=W()("toStringTag"),i=Object,o="Arguments"==n(function(){return arguments}()),d=function(e,t){try{return e[t]}catch{}};t.exports=r?n:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=d(t=i(e),s))?r:o?n(t):"Object"==(l=n(t))&&a(t.callee)?"Arguments":l}})),je=i(((e,t)=>{var r=h(),a=d(),n=R(),s=De(),i=w(),o=Q(),l=function(){},u=[],c=i("Reflect","construct"),p=/^\s*(?:class|function)\b/,f=r(p.exec),g=!p.exec(l),m=function(e){if(!n(e))return!1;try{return c(l,u,e),!0}catch{return!1}},y=function(e){if(!n(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!f(p,o(e))}catch{return!0}};y.sham=!0,t.exports=!c||a((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?y:m})),Te=i(((e,t)=>{var r=ve(),a=je(),n=E(),s=W()("species"),i=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(a(t)&&(t===i||r(t.prototype))||n(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?i:t}})),Ce=i(((e,t)=>{var r=Te();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),Ae=i((()=>{var e=be(),t=we(),r=k(),a=M(),n=le(),s=Ce();e({target:"Array",proto:!0},{flatMap:function(e){var i,o=a(this),d=n(o);return r(e),(i=s(o,0)).length=t(i,o,o,d,0,1,e,arguments.length>1?arguments[1]:void 0),i}})})),Pe=i(((e,t)=>{t.exports={}})),ke=i(((e,t)=>{var r=W(),a=Pe(),n=r("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(a.Array===e||s[n]===e)}})),Ie=i(((e,t)=>{var r=De(),a=I(),n=y(),s=Pe(),i=W()("iterator");t.exports=function(e){if(!n(e))return a(e,i)||a(e,"@@iterator")||s[r(e)]}})),Oe=i(((e,t)=>{var r=c(),a=k(),n=$(),s=P(),i=Ie(),o=TypeError;t.exports=function(e,t){var d=arguments.length<2?i(e):t;if(a(d))return n(r(d,e));throw o(s(e)+" is not iterable")}})),_e=i(((e,t)=>{var r=c(),a=$(),n=I();t.exports=function(e,t,s){var i,o;a(e);try{if(!(i=n(e,"return"))){if("throw"===t)throw s;return s}i=r(i,e)}catch(e){o=!0,i=e}if("throw"===t)throw s;if(o)throw i;return a(i),s}})),Ne=i(((e,t)=>{var r=Ee(),a=c(),n=$(),s=P(),i=ke(),o=le(),d=S(),l=Oe(),u=Ie(),p=_e(),f=TypeError,h=function(e,t){this.stopped=e,this.result=t},g=h.prototype;t.exports=function(e,t,c){var m,y,b,v,x,R,E,w=c&&c.that,S=!(!c||!c.AS_ENTRIES),D=!(!c||!c.IS_RECORD),j=!(!c||!c.IS_ITERATOR),T=!(!c||!c.INTERRUPTED),C=r(t,w),A=function(e){return m&&p(m,"normal",e),new h(!0,e)},P=function(e){return S?(n(e),T?C(e[0],e[1],A):C(e[0],e[1])):T?C(e,A):C(e)};if(D)m=e.iterator;else if(j)m=e;else{if(!(y=u(e)))throw f(s(e)+" is not iterable");if(i(y)){for(b=0,v=o(e);v>b;b++)if((x=P(e[b]))&&d(g,x))return x;return new h(!1)}m=l(e,y)}for(R=D?e.next:m.next;!(E=a(R,m)).done;){try{x=P(E.value)}catch(e){p(m,"throw",e)}if("object"==typeof x&&x&&d(g,x))return x}return new h(!1)}})),Fe=i(((e,t)=>{var r=V(),a=J(),n=f();t.exports=function(e,t,s){var i=r(t);i in e?a.f(e,i,n(0,s)):e[i]=s}})),Be=i((()=>{var e=be(),t=Ne(),r=Fe();e({target:"Object",stat:!0},{fromEntries:function(e){var a={};return t(e,(function(e,t){r(a,e,t)}),{AS_ENTRIES:!0}),a}})})),Me=i(((e,t)=>{var r=ae(),a=J();t.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),a.f(e,t,n)}})),Le=i(((e,t)=>{var r=$();t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),Ue=i((()=>{var e=o(),t=l(),r=Me(),a=Le(),n=d(),s=e.RegExp,i=s.prototype,u=t&&n((function(){var e=!0;try{s(".","d")}catch{e=!1}var t={},r="",a=e?"dgimsy":"gimsy",n=function(e,a){Object.defineProperty(t,e,{get:function(){return r+=a,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var d in e&&(o.hasIndices="d"),o)n(d,o[d]);return Object.getOwnPropertyDescriptor(i,"flags").get.call(t)!==a||r!==a}));u&&r(i,"flags",{configurable:!0,get:a})})),We=i((()=>{var e=be(),t=o();e({global:!0,forced:t.globalThis!==t},{globalThis:t})})),ze=i((()=>{We()})),Ve=i((()=>{var e=be(),t=we(),r=M(),a=le(),n=ie(),s=Ce();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,i=r(this),o=a(i),d=s(i,0);return d.length=t(d,i,i,o,0,void 0===e?1:n(e)),d}})})),qe=i(((r,i)=>{var o=["cliName","cliCategory","cliDescription"],d=["_"],l=["languageId"];function u(e,t){if(null==e)return{};var r,a,n=c(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function c(e,t){if(null==e)return{};var r,a,n={},s=Object.keys(e);for(a=0;a=0)&&(n[r]=e[r]);return n}Ae(),Be(),Ue(),ze(),Ve();var p,f=Object.create,h=Object.defineProperty,g=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,y=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty,v=(e,t)=>function(){return e&&(t=(0,e[m(e)[0]])(e=0)),t},x=(e,t)=>function(){return t||(0,e[m(e)[0]])((t={exports:{}}).exports,t),t.exports},R=(e,t)=>{for(var r in t)h(e,r,{get:t[r],enumerable:!0})},E=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of m(t))!b.call(e,n)&&n!==r&&h(e,n,{get:()=>t[n],enumerable:!(a=g(t,n))||a.enumerable});return e},w=(e,t,r)=>(r=null!=e?f(y(e)):{},E(!t&&e&&e.__esModule?r:h(r,"default",{value:e,enumerable:!0}),e)),S=e=>E(h({},"__esModule",{value:!0}),e),D=v({""(){p={env:{},argv:[]}}}),j=x({"package.json"(e,t){t.exports={version:"2.8.8"}}}),T=x({"node_modules/diff/lib/diff/base.js"(e){function t(){}function r(e,t,r,a,n){for(var s=0,i=t.length,o=0,d=0;se.length?r:e})),l.value=e.join(c)}else l.value=e.join(r.slice(o,o+l.count));o+=l.count,l.added||(d+=l.count)}}var p=t[i-1];return i>1&&"string"==typeof p.value&&(p.added||p.removed)&&e.equals("",p.value)&&(t[i-2].value+=p.value,t.pop()),t}function a(e){return{newPos:e.newPos,components:e.components.slice(0)}}D(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=n.callback;"function"==typeof n&&(s=n,n={}),this.options=n;var i=this;function o(e){return s?(setTimeout((function(){s(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var d=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,u=1,c=d+l,p=[{newPos:-1,components:[]}],f=this.extractCommon(p[0],t,e,0);if(p[0].newPos+1>=d&&f+1>=l)return o([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*u;n<=u;n+=2){var s=void 0,c=p[n-1],f=p[n+1],h=(f?f.newPos:0)-n;c&&(p[n-1]=void 0);var g=c&&c.newPos+1=d&&h+1>=l)return o(r(i,s.components,t,e,i.useLongestToken));p[n]=s}else p[n]=void 0}u++}if(s)!function e(){setTimeout((function(){if(u>c)return s();h()||e()}),0)}();else for(;u<=c;){var g=h();if(g)return g}},pushComponent:function(e,t,r){var a=e[e.length-1];a&&a.added===t&&a.removed===r?e[e.length-1]={count:a.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,a){for(var n=t.length,s=r.length,i=e.newPos,o=i-a,d=0;i+11&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}function i(e){return n(Number.NEGATIVE_INFINITY,e)}function o(e){return n({type:"root"},e)}function d(e){return n(-1,e)}function l(e,t){return s(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))}function u(e){return{type:"fill",parts:e}}function c(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}}function p(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}}function f(e){return{type:"line-suffix",contents:e}}D();var h={type:"line-suffix-boundary"},g={type:"break-parent"},m={type:"trim"},y={type:"line",hard:!0},b={type:"line",hard:!0,literal:!0},v={type:"line"},x={type:"line",soft:!0},R=r([y,g]),E=r([b,g]),w={type:"cursor",placeholder:Symbol("cursor")};function S(e,t){let a=[];for(let r=0;r0){for(let e=0;e=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function a(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function n(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let a=e.match(r);return a?a.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}D(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:a,countEndOfLineChars:n,normalizeEndOfLine:s}}}),k=x({"src/utils/get-last.js"(e,t){D();var r=e=>e[e.length-1];t.exports=r}});function I(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\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(t,e?void 0:"g")}var O=v({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){D()}});function _(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(I(),"")}var N=v({"node_modules/strip-ansi/index.js"(){D(),O()}});function F(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}var B=v({"node_modules/is-fullwidth-code-point/index.js"(){D()}}),M=x({"node_modules/emoji-regex/index.js"(e,t){D(),t.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}}}),L={};function U(e){if("string"!=typeof e||0===e.length||0===(e=_(e)).length)return 0;e=e.replace((0,W.default)()," ");let t=0;for(let r=0;r=127&&a<=159||a>=768&&a<=879||(a>65535&&r++,t+=F(a)?2:1)}return t}R(L,{default:()=>U});var W,z=v({"node_modules/string-width/index.js"(){D(),N(),B(),W=w(M())}}),V=x({"src/utils/get-string-width.js"(e,t){D();var r=(z(),S(L)).default,a=/[^\x20-\x7F]/;function n(e){return e?a.test(e)?r(e):e.length:0}t.exports=n}}),q=x({"src/document/doc-utils.js"(e,t){D();var r=k(),{literalline:a,join:n}=A(),s=e=>Array.isArray(e)||e&&"concat"===e.type,i=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},o={};function d(e,t,r,a){let n=[e];for(;n.length>0;){let e=n.pop();if(e!==o){if(r&&n.push(e,o),!t||!1!==t(e))if(s(e)||"fill"===e.type){let t=i(e);for(let e=t.length-1;e>=0;--e)n.push(t[e])}else if("if-break"===e.type)e.flatContents&&n.push(e.flatContents),e.breakContents&&n.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(a)for(let t=e.expandedStates.length-1;t>=0;--t)n.push(e.expandedStates[t]);else n.push(e.contents);else e.contents&&n.push(e.contents)}else r(n.pop())}}function l(e,t){let r=new Map;return a(e);function a(e){if(r.has(e))return r.get(e);let t=n(e);return r.set(e,t),t}function n(e){if(Array.isArray(e))return t(e.map(a));if("concat"===e.type||"fill"===e.type){let r=e.parts.map(a);return t(Object.assign(Object.assign({},e),{},{parts:r}))}if("if-break"===e.type){let r=e.breakContents&&a(e.breakContents),n=e.flatContents&&a(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:r,flatContents:n}))}if("group"===e.type&&e.expandedStates){let r=e.expandedStates.map(a),n=r[0];return t(Object.assign(Object.assign({},e),{},{contents:n,expandedStates:r}))}if(e.contents){let r=a(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:r}))}return t(e)}}function u(e,t,r){let a=r,n=!1;function s(e){let r=t(e);if(void 0!==r&&(n=!0,a=r),n)return!1}return d(e,s),a}function c(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function p(e){return u(e,c,!1)}function f(e){if(e.length>0){let t=r(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function h(e){let t=new Set,r=[];function a(e){if("break-parent"===e.type&&f(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}}function n(e){"group"===e.type&&r.pop().break&&f(r)}d(e,a,n,!0)}function g(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function m(e){return l(e,g)}var y=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function b(e){if(!e)return e;if(s(e)||"fill"===e.type){let t=i(e);for(;t.length>1&&y(...t.slice(-2));)t.length-=2;if(t.length>0){let e=b(r(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let t=b(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{let t=b(e.breakContents),r=b(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:r})}}return e}function v(e){return b(R(e))}function x(e){switch(e.type){case"fill":if(e.parts.every((e=>""===e)))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!s(e))return e;let t=[];for(let a of i(e)){if(!a)continue;let[e,...n]=s(a)?i(a):[a];"string"==typeof e&&"string"==typeof r(t)?t[t.length-1]+=e:t.push(e),t.push(...n)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}function R(e){return l(e,(e=>x(e)))}function E(e){let t=[],a=e.filter(Boolean);for(;a.length>0;){let e=a.shift();if(e){if(s(e)){a.unshift(...i(e));continue}if(t.length>0&&"string"==typeof r(t)&&"string"==typeof e){t[t.length-1]+=e;continue}t.push(e)}}return t}function w(e){return l(e,(e=>Array.isArray(e)?E(e):e.parts?Object.assign(Object.assign({},e),{},{parts:E(e.parts)}):e))}function S(e){return l(e,(e=>"string"==typeof e&&e.includes("\n")?j(e):e))}function j(e){return n(arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,e.split("\n")).parts}function T(e){if("line"===e.type)return!0}function C(e){return u(e,T,!1)}t.exports={isConcat:s,getDocParts:i,willBreak:p,traverseDoc:d,findInDoc:u,mapDoc:l,propagateBreaks:h,removeLines:m,stripTrailingHardline:v,normalizeParts:E,normalizeDoc:w,cleanDoc:R,replaceTextEndOfLine:j,replaceEndOfLine:S,canBreak:C}}}),G=x({"src/document/doc-printer.js"(e,t){D();var r,{convertEndOfLineToChars:a}=P(),n=k(),s=V(),{fill:i,cursor:o,indent:d}=A(),{isConcat:l,getDocParts:u}=q(),c=1,p=2;function f(){return{value:"",length:0,queue:[]}}function h(e,t){return m(e,{type:"indent"},t)}function g(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||f():t<0?m(e,{type:"dedent"},r):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):m(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r):e}function m(e,t,r){let a="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],n="",s=0,i=0,o=0;for(let e of a)switch(e.type){case"indent":u(),r.useTabs?d(1):l(r.tabWidth);break;case"stringAlign":u(),n+=e.n,s+=e.n.length;break;case"numberAlign":i+=1,o+=e.n;break;default:throw new Error(`Unexpected type '${e.type}'`)}return p(),Object.assign(Object.assign({},e),{},{value:n,length:s,queue:a});function d(e){n+="\t".repeat(e),s+=r.tabWidth*e}function l(e){n+=" ".repeat(e),s+=e}function u(){r.useTabs?c():p()}function c(){i>0&&d(i),f()}function p(){o>0&&l(o),f()}function f(){i=0,o=0}}function y(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof n(e)&&/^[\t ]*$/.test(n(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof n(e)){let r=n(e).replace(/[\t ]*$/,"");t+=n(e).length-r.length,e[e.length-1]=r}return t}function b(e,t,a,i,o){let d=t.length,f=[e],h=[];for(;a>=0;){if(0===f.length){if(0===d)return!0;f.push(t[--d]);continue}let{mode:e,doc:g}=f.pop();if("string"==typeof g)h.push(g),a-=s(g);else if(l(g)||"fill"===g.type){let t=u(g);for(let r=t.length-1;r>=0;r--)f.push({mode:e,doc:t[r]})}else switch(g.type){case"indent":case"align":case"indent-if-break":case"label":f.push({mode:e,doc:g.contents});break;case"trim":a+=y(h);break;case"group":{if(o&&g.break)return!1;let t=g.break?c:e,r=g.expandedStates&&t===c?n(g.expandedStates):g.contents;f.push({mode:t,doc:r});break}case"if-break":{let t=(g.groupId?r[g.groupId]||p:e)===c?g.breakContents:g.flatContents;t&&f.push({mode:e,doc:t});break}case"line":if(e===c||g.hard)return!0;g.soft||(h.push(" "),a--);break;case"line-suffix":i=!0;break;case"line-suffix-boundary":if(i)return!1}}return!1}function v(e,t){r={};let m=t.printWidth,v=a(t.endOfLine),x=0,R=[{ind:f(),mode:c,doc:e}],E=[],w=!1,S=[];for(;R.length>0;){let{ind:e,mode:a,doc:f}=R.pop();if("string"==typeof f){let e="\n"!==v?f.replace(/\n/g,v):f;E.push(e),x+=s(e)}else if(l(f)){let t=u(f);for(let r=t.length-1;r>=0;r--)R.push({ind:e,mode:a,doc:t[r]})}else switch(f.type){case"cursor":E.push(o.placeholder);break;case"indent":R.push({ind:h(e,t),mode:a,doc:f.contents});break;case"align":R.push({ind:g(e,f.n,t),mode:a,doc:f.contents});break;case"trim":x-=y(E);break;case"group":switch(a){case p:if(!w){R.push({ind:e,mode:f.break?c:p,doc:f.contents});break}case c:{w=!1;let t={ind:e,mode:p,doc:f.contents},r=m-x,a=S.length>0;if(!f.break&&b(t,R,r,a))R.push(t);else if(f.expandedStates){let t=n(f.expandedStates);if(f.break){R.push({ind:e,mode:c,doc:t});break}for(let n=1;n=f.expandedStates.length){R.push({ind:e,mode:c,doc:t});break}{let t=f.expandedStates[n],s={ind:e,mode:p,doc:t};if(b(s,R,r,a)){R.push(s);break}}}}else R.push({ind:e,mode:c,doc:f.contents});break}}f.id&&(r[f.id]=n(R).mode);break;case"fill":{let t=m-x,{parts:r}=f;if(0===r.length)break;let[n,s]=r,o={ind:e,mode:p,doc:n},d={ind:e,mode:c,doc:n},l=b(o,[],t,S.length>0,!0);if(1===r.length){l?R.push(o):R.push(d);break}let u={ind:e,mode:p,doc:s},h={ind:e,mode:c,doc:s};if(2===r.length){l?R.push(u,o):R.push(h,d);break}r.splice(0,2);let g={ind:e,mode:a,doc:i(r)},y=r[0];b({ind:e,mode:p,doc:[n,s,y]},[],t,S.length>0,!0)?R.push(g,u,o):l?R.push(g,h,o):R.push(g,h,d);break}case"if-break":case"indent-if-break":{let t=f.groupId?r[f.groupId]:a;if(t===c){let t="if-break"===f.type?f.breakContents:f.negate?f.contents:d(f.contents);t&&R.push({ind:e,mode:a,doc:t})}if(t===p){let t="if-break"===f.type?f.flatContents:f.negate?d(f.contents):f.contents;t&&R.push({ind:e,mode:a,doc:t})}break}case"line-suffix":S.push({ind:e,mode:a,doc:f.contents});break;case"line-suffix-boundary":S.length>0&&R.push({ind:e,mode:a,doc:{type:"line",hard:!0}});break;case"line":switch(a){case p:if(!f.hard){f.soft||(E.push(" "),x+=1);break}w=!0;case c:if(S.length>0){R.push({ind:e,mode:a,doc:f},...S.reverse()),S.length=0;break}f.literal?e.root?(E.push(v,e.root.value),x=e.root.length):(E.push(v),x=0):(x-=y(E),E.push(v+e.value),x=e.length)}break;case"label":R.push({ind:e,mode:a,doc:f.contents})}0===R.length&&S.length>0&&(R.push(...S.reverse()),S.length=0)}let D=E.indexOf(o.placeholder);if(-1!==D){let e=E.indexOf(o.placeholder,D+1),t=E.slice(0,D).join(""),r=E.slice(D+1,e).join("");return{formatted:t+r+E.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:E.join("")}}t.exports={printDocToString:v}}}),H=x({"src/document/doc-debug.js"(e,t){D();var{isConcat:r,getDocParts:a}=q();function n(e){if(!e)return"";if(r(e)){let t=[];for(let s of a(e))if(r(s))t.push(...n(s).parts);else{let e=n(s);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:n(e.breakContents),flatContents:n(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:n(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(n)}):"fill"===e.type?{type:"fill",parts:e.parts.map(n)}:e.contents?Object.assign(Object.assign({},e),{},{contents:n(e.contents)}):e}function s(e){let t=Object.create(null),s=new Set;return i(n(e));function i(e,t,n){if("string"==typeof e)return JSON.stringify(e);if(r(e)){let t=a(e).map(i).filter(Boolean);return 1===t.length?t[0]:`[${t.join(", ")}]`}if("line"===e.type){let r=Array.isArray(n)&&n[t+1]&&"break-parent"===n[t+1].type;return e.literal?r?"literalline":"literallineWithoutBreakParent":e.hard?r?"hardline":"hardlineWithoutBreakParent":e.soft?"softline":"line"}if("break-parent"===e.type)return Array.isArray(n)&&n[t-1]&&"line"===n[t-1].type&&n[t-1].hard?void 0:"breakParent";if("trim"===e.type)return"trim";if("indent"===e.type)return"indent("+i(e.contents)+")";if("align"===e.type)return e.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+i(e.contents)+")":e.n<0?"dedent("+i(e.contents)+")":"root"===e.n.type?"markAsRoot("+i(e.contents)+")":"align("+JSON.stringify(e.n)+", "+i(e.contents)+")";if("if-break"===e.type)return"ifBreak("+i(e.breakContents)+(e.flatContents?", "+i(e.flatContents):"")+(e.groupId?(e.flatContents?"":', ""')+`, { groupId: ${o(e.groupId)} }`:"")+")";if("indent-if-break"===e.type){let t=[];e.negate&&t.push("negate: true"),e.groupId&&t.push(`groupId: ${o(e.groupId)}`);let r=t.length>0?`, { ${t.join(", ")} }`:"";return`indentIfBreak(${i(e.contents)}${r})`}if("group"===e.type){let t=[];e.break&&"propagated"!==e.break&&t.push("shouldBreak: true"),e.id&&t.push(`id: ${o(e.id)}`);let r=t.length>0?`, { ${t.join(", ")} }`:"";return e.expandedStates?`conditionalGroup([${e.expandedStates.map((e=>i(e))).join(",")}]${r})`:`group(${i(e.contents)}${r})`}if("fill"===e.type)return`fill([${e.parts.map((e=>i(e))).join(", ")}])`;if("line-suffix"===e.type)return"lineSuffix("+i(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";if("label"===e.type)return`label(${JSON.stringify(e.label)}, ${i(e.contents)})`;throw new Error("Unknown doc type "+e.type)}function o(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];let r=String(e).slice(7,-1)||"symbol";for(let a=0;;a++){let n=r+(a>0?` #${a}`:"");if(!s.has(n))return s.add(n),t[e]=`Symbol.for(${JSON.stringify(n)})`}}}t.exports={printDocToDebug:s}}}),K=x({"src/document/index.js"(e,t){D(),t.exports={builders:A(),printer:G(),utils:q(),debug:H()}}}),$={};function J(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}R($,{default:()=>J});var X=v({"node_modules/escape-string-regexp/index.js"(){D()}}),Y=x({"node_modules/semver/internal/debug.js"(e,t){D();var r="object"==typeof p&&p.env&&p.env.NODE_DEBUG&&/\bsemver\b/i.test(p.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r{};t.exports=r}}),Q=x({"node_modules/semver/internal/constants.js"(e,t){D();var r="2.0.0",a=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,s=16;t.exports={SEMVER_SPEC_VERSION:r,MAX_LENGTH:a,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:s}}}),Z=x({"node_modules/semver/internal/re.js"(e,t){D();var{MAX_SAFE_COMPONENT_LENGTH:r}=Q(),a=Y(),n=(e=t.exports={}).re=[],s=e.src=[],i=e.t={},o=0,d=(e,t,r)=>{let d=o++;a(e,d,t),i[e]=d,s[d]=t,n[d]=new RegExp(t,r?"g":void 0)};d("NUMERICIDENTIFIER","0|[1-9]\\d*"),d("NUMERICIDENTIFIERLOOSE","[0-9]+"),d("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),d("MAINVERSION",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),d("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),d("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),d("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),d("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),d("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),d("BUILDIDENTIFIER","[0-9A-Za-z-]+"),d("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),d("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),d("FULL",`^${s[i.FULLPLAIN]}$`),d("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),d("LOOSE",`^${s[i.LOOSEPLAIN]}$`),d("GTLT","((?:<|>)?=?)"),d("XRANGEIDENTIFIERLOOSE",`${s[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),d("XRANGEIDENTIFIER",`${s[i.NUMERICIDENTIFIER]}|x|X|\\*`),d("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),d("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),d("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),d("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),d("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),d("COERCERTL",s[i.COERCE],!0),d("LONETILDE","(?:~>?)"),d("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",d("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),d("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),d("LONECARET","(?:\\^)"),d("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",d("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),d("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),d("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),d("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),d("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",d("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),d("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),d("STAR","(<|>)?=?\\s*\\*"),d("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),d("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),ee=x({"node_modules/semver/internal/parse-options.js"(e,t){D();var r=["includePrerelease","loose","rtl"],a=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};t.exports=a}}),te=x({"node_modules/semver/internal/identifiers.js"(e,t){D();var r=/^[0-9]+$/,a=(e,t)=>{let a=r.test(e),n=r.test(t);return a&&n&&(e=+e,t=+t),e===t?0:a&&!n?-1:n&&!a?1:ea(t,e);t.exports={compareIdentifiers:a,rcompareIdentifiers:n}}}),re=x({"node_modules/semver/classes/semver.js"(e,t){D();var r=Y(),{MAX_LENGTH:a,MAX_SAFE_INTEGER:n}=Q(),{re:s,t:i}=Z(),o=ee(),{compareIdentifiers:d}=te(),l=class{constructor(e,t){if(t=o(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let d=e.trim().match(t.loose?s[i.LOOSE]:s[i.FULL]);if(!d)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+d[1],this.minor=+d[2],this.patch=+d[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");d[4]?this.prerelease=d[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===d(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=l}}),ae=x({"node_modules/semver/functions/compare.js"(e,t){D();var r=re(),a=(e,t,a)=>new r(e,a).compare(new r(t,a));t.exports=a}}),ne=x({"node_modules/semver/functions/lt.js"(e,t){D();var r=ae(),a=(e,t,a)=>r(e,t,a)<0;t.exports=a}}),se=x({"node_modules/semver/functions/gte.js"(e,t){D();var r=ae(),a=(e,t,a)=>r(e,t,a)>=0;t.exports=a}}),ie=x({"src/utils/arrayify.js"(e,t){D(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,a]=e;return Object.assign({[t]:r},a)}))}}),oe=x({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,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:d,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:a},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:d,description:r` + Custom directory that contains prettier plugins in node_modules subdirectory. + Overrides default behavior when plugins are searched relatively to the location of Prettier. + Multiple values are accepted. + `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:a},printWidth:{since:"0.0.0",category:d,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:l,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r` + Format code ending at a given character offset (exclusive). + The range will extend forwards to the end of the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:n},rangeStart:{since:"1.4.0",category:l,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r` + Format code starting at a given character offset. + The range will extend backwards to the start of the first line containing the selected statement. + This option cannot be used with --cursor-offset. + `,cliCategory:n},requirePragma:{since:"1.7.0",category:l,type:"boolean",default:!1,description:r` + Require either '@prettier' or '@format' to be present in the file's first docblock comment + in order for it to be formatted. + `,cliCategory:i},tabWidth:{type:"int",category:d,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:d,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:d,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."}]}};t.exports={CATEGORY_CONFIG:a,CATEGORY_EDITOR:n,CATEGORY_FORMAT:s,CATEGORY_OTHER:i,CATEGORY_OUTPUT:o,CATEGORY_GLOBAL:d,CATEGORY_SPECIAL:l,options:u}}}),le=x({"src/main/support.js"(e,t){D();var r={compare:ae(),lt:ne(),gte:se()},a=ie(),n=j().version,s=de().options;function i(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:i=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=n.split("-",1)[0],p=e.flatMap((e=>e.languages||[])).filter(h),f=a(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),s),"name").filter((e=>h(e)&&g(e))).sort(((e,t)=>e.name===t.name?0:e.name{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(h).sort(((e,t)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>h(e)&&g(e))),"parser"===t.name&&d(t,p,e));let a=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:a})}));return{languages:p,options:f};function h(e){return t||!("since"in e)||e.since&&r.gte(c,e.since)}function g(e){return i||!("deprecated"in e)||e.deprecated&&r.lt(c,e.deprecated)}function m(e){if(l)return e;let{cliName:t,cliCategory:r,cliDescription:a}=e;return u(e,o)}}function d(e,t,r){let a=new Set(e.choices.map((e=>e.value)));for(let n of t)if(n.parsers)for(let t of n.parsers)if(!a.has(t)){a.add(t);let s=r.find((e=>e.parsers&&e.parsers[t])),i=n.name;s&&s.name&&(i+=` (plugin: ${s.name})`),e.choices.push({value:t,description:i})}}t.exports={getSupportInfo:i}}}),ue=x({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}D(),t.exports=r}}),ce=x({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,a)=>{let n=a&&a.backwards;if(!1===r)return!1;let{length:s}=t,i=r;for(;i>=0&&ie[e.length-2];function m(e){return(t,r,a)=>{let n=a&&a.backwards;if(!1===r)return!1;let{length:s}=t,i=r;for(;i>=0&&i2&&void 0!==arguments[2]?arguments[2]:{},a=d(e,r.backwards?t-1:t,r);return a!==f(e,a,r)}function b(e,t,r){for(let a=t;a2&&void 0!==arguments[2]?arguments[2]:{};return d(e,r.backwards?t-1:t,r)!==t}function T(e,t){let r=0;for(let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;a(e.match(s.regex)||[]).length?s:n),i}function P(e,t){let r=e.slice(1,-1);return I(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":A(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function I(e,t,r){let a='"'===t?"'":'"',n=/\\(.)|(["'])/gs,s=e.replace(n,((e,n,s)=>n===a?n:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(n)?n:"\\"+n)));return t+s+t}function O(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function _(e,t){let a=e.match(new RegExp(`(${r(t)})+`,"g"));return null===a?0:a.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)}function N(e,t){let a=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===a)return 0;let n=new Map,s=0;for(let e of a){let r=e.length/t.length;n.set(r,!0),r>s&&(s=r)}for(let e=1;e{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(`.${e}`)}));return a&&a.parsers[0]}function W(e){return e&&"front-matter"===e.type}function z(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}function q(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}t.exports={inferParserByLanguage:U,getStringWidth:i,getMaxContinuousCount:_,getMinNotPresentContinuousCount:N,getPenultimate:g,getLast:a,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:h,getNextNonSpaceNonCommentCharacterIndex:E,getNextNonSpaceNonCommentCharacter:w,skip:m,skipWhitespace:o,skipSpaces:d,skipToLineEnd:l,skipEverythingButNewLine:u,skipInlineComment:c,skipTrailingComment:p,skipNewline:f,isNextLineEmptyAfterIndex:x,isNextLineEmpty:R,isPreviousLineEmpty:v,hasNewline:y,hasNewlineInRange:b,hasSpaces:j,getAlignmentSize:T,getIndentSize:C,getPreferredQuote:A,printString:P,printNumber:O,makeString:I,addLeadingComment:B,addDanglingComment:M,addTrailingComment:L,isFrontMatterNode:W,isNonEmptyArray:s,createGroupIdMapper:z}}}),ye={};function be(e,t){for(var r=0,a=e.length-1;a>=0;a--){var n=e[a];"."===n?e.splice(a,1):".."===n?(e.splice(a,1),r++):r&&(e.splice(a,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function ve(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var a=r>=0?arguments[r]:"/";if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,t="/"===a.charAt(0))}return(t?"/":"")+(e=be(Te(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function xe(e){var t=Re(e),r="/"===_e(e,-1);return!(e=be(Te(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Re(e){return"/"===e.charAt(0)}function Ee(){return xe(Te(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function we(e,t){function r(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=ve(e).substr(1),t=ve(t).substr(1);for(var a=r(e.split("/")),n=r(t.split("/")),s=Math.min(a.length,n.length),i=s,o=0;oDe,default:()=>Oe,delimiter:()=>Ie,dirname:()=>Se,extname:()=>je,isAbsolute:()=>Re,join:()=>Ee,normalize:()=>xe,relative:()=>we,resolve:()=>ve,sep:()=>ke});var Ce,Pe,ke,Ie,Oe,_e,Ne=v({"node-modules-polyfills:path"(){D(),Ce=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Pe=function(e){return Ce.exec(e).slice(1)},Oe={extname:je,basename:De,dirname:Se,sep:ke="/",delimiter:Ie=":",relative:we,join:Ee,isAbsolute:Re,normalize:xe,resolve:ve},_e=function(e,t,r){return e.substr(t,r)}}}),Fe=x({"node-modules-polyfills-commonjs:path"(e,t){D();var r=(Ne(),S(ye));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Me=x({"src/common/errors.js"(e,t){D();var r=class extends Error{},a=class extends Error{},n=class extends Error{},s=class extends Error{};t.exports={ConfigError:r,DebugError:a,UndefinedParserError:n,ArgExpansionBailout:s}}}),Le={};function We(e,t){function r(){this.constructor=e}ct(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function qe(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n=0;o--)(n=e[o])&&(i=(s<3?n(i):s>3?n(t,r,i):n(t,r))||i);return s>3&&i&&Object.defineProperty(t,r,i),i}function He(e,t){return function(r,a){t(r,a,e)}}function Ke(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function $e(e,t,r,a){function n(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function i(e){try{d(a.next(e))}catch(e){s(e)}}function o(e){try{d(a.throw(e))}catch(e){s(e)}}function d(e){e.done?r(e.value):n(e.value).then(i,o)}d((a=a.apply(e,t||[])).next())}))}function Je(e,t){var r,a,n,s,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return d([e,t])}}function d(s){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,a&&(n=2&s[0]?a.return:s[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;switch(a=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,a=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(n=(n=i.trys).length>0&&n[n.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ze(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var a,n,s=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(a=s.next()).done;)i.push(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return i}function et(){for(var e=[],t=0;t1||o(e,t)}))})}function o(e,t){try{d(n[e](t))}catch(e){c(s[0][3],e)}}function d(e){e.value instanceof rt?Promise.resolve(e.value.v).then(l,u):c(s[0][2],e)}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}}function nt(e){var t,r;return t={},a("next"),a("throw",(function(e){throw e})),a("return"),t[Symbol.iterator]=function(){return this},t;function a(a,n){t[a]=e[a]?function(t){return(r=!r)?{value:rt(e[a](t)),done:"return"===a}:n?n(t):t}:n}}function st(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof Qe?Qe(e):e[Symbol.iterator](),t={},a("next"),a("throw"),a("return"),t[Symbol.asyncIterator]=function(){return this},t);function a(r){t[r]=e[r]&&function(t){return new Promise((function(a,s){n(a,s,(t=e[r](t)).done,t.value)}))}}function n(e,t,r,a){Promise.resolve(a).then((function(t){e({value:t,done:r})}),t)}}function it(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function ot(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function dt(e){return e&&e.__esModule?e:{default:e}}function lt(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function ut(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}R(Le,{__assign:()=>pt,__asyncDelegator:()=>nt,__asyncGenerator:()=>at,__asyncValues:()=>st,__await:()=>rt,__awaiter:()=>$e,__classPrivateFieldGet:()=>lt,__classPrivateFieldSet:()=>ut,__createBinding:()=>Xe,__decorate:()=>Ge,__exportStar:()=>Ye,__extends:()=>We,__generator:()=>Je,__importDefault:()=>dt,__importStar:()=>ot,__makeTemplateObject:()=>it,__metadata:()=>Ke,__param:()=>He,__read:()=>Ze,__rest:()=>qe,__spread:()=>et,__spreadArrays:()=>tt,__values:()=>Qe});var ct,pt,ft=v({"node_modules/tslib/tslib.es6.js"(){D(),ct=function(e,t){return(ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},pt=function(){return pt=Object.assign||function(e){for(var t,r=1,a=arguments.length;r/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return`[${t.map((t=>e.apiDescriptor.value(t))).join(", ")}]`;let r=Object.keys(t);return 0===r.length?"{}":`{ ${r.map((r=>`${e.apiDescriptor.key(r)}: ${e.apiDescriptor.value(t[r])}`)).join(", ")} }`},pair:t=>{let{key:r,value:a}=t;return e.apiDescriptor.value({[r]:a})}}}}),gt=x({"node_modules/vnopts/lib/descriptors/index.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0}),(ft(),S(Le)).__exportStar(ht(),e)}}),mt=x({"scripts/build/shims/chalk.cjs"(e,t){D();var r=e=>e;r.grey=r,r.red=r,r.bold=r,r.yellow=r,r.blue=r,r.default=r,t.exports=r}}),yt=x({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=mt();e.commonDeprecatedHandler=(e,r,a)=>{let{descriptor:n}=a,s=[`${t.default.yellow("string"==typeof e?n.key(e):n.pair(e))} is deprecated`];return r&&s.push(`we now treat it as ${t.default.blue("string"==typeof r?n.key(r):n.pair(r))}`),s.join("; ")+"."}}}),bt=x({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0}),(ft(),S(Le)).__exportStar(yt(),e)}}),vt=x({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=mt();e.commonInvalidHandler=(e,r,a)=>[`Invalid ${t.default.red(a.descriptor.key(e))} value.`,`Expected ${t.default.blue(a.schemas[e].expected(a))},`,`but received ${t.default.red(a.descriptor.value(r))}.`].join(" ")}}),xt=x({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0}),(ft(),S(Le)).__exportStar(vt(),e)}}),Rt=x({"node_modules/vnopts/node_modules/leven/index.js"(e,t){D();var r=[],a=[];t.exports=function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var s=e.length,i=t.length;if(0===s)return i;if(0===i)return s;for(;s>0&&e.charCodeAt(~-s)===t.charCodeAt(~-i);)s--,i--;if(0===s)return i;for(var o=0;ol?c>l?l+1:c:c>u?u+1:c;return l}}}),Et=x({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=mt(),r=Rt();e.levenUnknownHandler=(e,a,n)=>{let{descriptor:s,logger:i,schemas:o}=n,d=[`Ignored unknown option ${t.default.yellow(s.pair({key:e,value:a}))}.`],l=Object.keys(o).sort().find((t=>r(e,t)<3));l&&d.push(`Did you mean ${t.default.blue(s.key(l))}?`),i.warn(d.join(" "))}}}),wt=x({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0}),(ft(),S(Le)).__exportStar(Et(),e)}}),St=x({"node_modules/vnopts/lib/handlers/index.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ft(),S(Le));t.__exportStar(bt(),e),t.__exportStar(xt(),e),t.__exportStar(wt(),e)}}),Dt=x({"node_modules/vnopts/lib/schema.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,r){let s=new e(r),i=Object.create(s);for(let e of t)e in r&&(i[e]=n(r[e],s,a.prototype[e].length));return i}e.createSchema=r;var a=class{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function n(e,t,r){return"function"==typeof e?function(){for(var a=arguments.length,n=new Array(a),s=0;se}e.Schema=a}}),jt=x({"node_modules/vnopts/lib/schemas/alias.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Dt(),r=class extends t.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}};e.AliasSchema=r}}),Tt=x({"node_modules/vnopts/lib/schemas/any.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Dt(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),Ct=x({"node_modules/vnopts/lib/schemas/array.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ft(),S(Le)),r=Dt(),a=class extends r.Schema{constructor(e){var{valueSchema:r,name:a=r.name}=e,n=t.__rest(e,["valueSchema","name"]);super(Object.assign({},n,{name:a})),this._valueSchema=r}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let a of e){let e=t.normalizeValidateResult(this._valueSchema.validate(a,t),a);!0!==e&&r.push(e.value)}return 0===r.length||{value:r}}deprecated(e,t){let r=[];for(let a of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(a,t),a);!1!==e&&r.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return r}forward(e,t){let r=[];for(let a of e){let e=t.normalizeForwardResult(this._valueSchema.forward(a,t),a);r.push(...e.map(n))}return r}redirect(e,t){let r=[],a=[];for(let s of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(s,t),s);"remain"in e&&r.push(e.remain),a.push(...e.redirect.map(n))}return 0===r.length?{redirect:a}:{redirect:a,remain:r}}overlap(e,t){return e.concat(t)}};function n(e){let{from:t,to:r}=e;return{from:[t],to:r}}e.ArraySchema=a}}),At=x({"node_modules/vnopts/lib/schemas/boolean.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Dt(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),Pt=x({"node_modules/vnopts/lib/utils.js"(e){function t(e,t){let r=Object.create(null);for(let a of e){let e=a[t];if(r[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r[e]=a}return r}function r(e,t){let r=new Map;for(let a of e){let e=a[t];if(r.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r.set(e,a)}return r}function a(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}}function n(e,t){let r=[],a=[];for(let n of e)t(n)?r.push(n):a.push(n);return[r,a]}function s(e){return e===Math.floor(e)}function i(e,t){if(e===t)return 0;let r=typeof e,a=typeof t,n=["undefined","object","boolean","number","string"];return r!==a?n.indexOf(r)-n.indexOf(a):"string"!==r?Number(e)-Number(t):e.localeCompare(t)}function o(e){return void 0===e?{}:e}function d(e,t){return!0===e||(!1===e?{value:t}:e)}function l(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)}function u(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function c(e,t){return void 0===e?[]:Array.isArray(e)?e.map((e=>u(e,t))):[u(e,t)]}function p(e,t){let r=c("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===r.length?{remain:t,redirect:r}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}D(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=t,e.mapFromArray=r,e.createAutoChecklist=a,e.partition=n,e.isInt=s,e.comparePrimitive=i,e.normalizeDefaultResult=o,e.normalizeValidateResult=d,e.normalizeDeprecatedResult=l,e.normalizeTransferResult=u,e.normalizeForwardResult=c,e.normalizeRedirectResult=p}}),kt=x({"node_modules/vnopts/lib/schemas/choice.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Dt(),r=Pt(),a=class extends t.Schema{constructor(e){super(e),this._choices=r.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e,a=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(r.comparePrimitive).map(t.value),n=a.slice(0,-2),s=a.slice(-2);return n.concat(s.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}};e.ChoiceSchema=a}}),It=x({"node_modules/vnopts/lib/schemas/number.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Dt(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),Ot=x({"node_modules/vnopts/lib/schemas/integer.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pt(),r=It(),a=class extends r.NumberSchema{expected(){return"an integer"}validate(e,r){return!0===r.normalizeValidateResult(super.validate(e,r),e)&&t.isInt(e)}};e.IntegerSchema=a}}),_t=x({"node_modules/vnopts/lib/schemas/string.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Dt(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),Nt=x({"node_modules/vnopts/lib/schemas/index.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ft(),S(Le));t.__exportStar(jt(),e),t.__exportStar(Tt(),e),t.__exportStar(Ct(),e),t.__exportStar(At(),e),t.__exportStar(kt(),e),t.__exportStar(Ot(),e),t.__exportStar(It(),e),t.__exportStar(_t(),e)}}),Ft=x({"node_modules/vnopts/lib/defaults.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=ht(),r=yt(),a=xt(),n=Et();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=n.levenUnknownHandler,e.defaultInvalidHandler=a.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),Bt=x({"node_modules/vnopts/lib/normalize.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ft(),r=Pt();e.normalize=(e,t,r)=>new a(t,r).normalize(e);var a=class{constructor(e,a){let{logger:n=console,descriptor:s=t.defaultDescriptor,unknown:i=t.defaultUnknownHandler,invalid:o=t.defaultInvalidHandler,deprecated:d=t.defaultDeprecatedHandler}=a||{};this._utils={descriptor:s,logger:n||{warn:()=>{}},schemas:r.recordFromArray(e,"name"),normalizeDefaultResult:r.normalizeDefaultResult,normalizeDeprecatedResult:r.normalizeDeprecatedResult,normalizeForwardResult:r.normalizeForwardResult,normalizeRedirectResult:r.normalizeRedirectResult,normalizeValidateResult:r.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=o,this._deprecatedHandler=d,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=r.createAutoChecklist()}normalize(e){let t={},a=[e],n=()=>{for(;0!==a.length;){let e=a.shift(),r=this._applyNormalization(e,t);a.push(...r)}};n();for(let e of Object.keys(this._utils.schemas)){let n=this._utils.schemas[e];if(!(e in t)){let t=r.normalizeDefaultResult(n.default(this._utils));"value"in t&&a.push({[e]:t.value})}}n();for(let e of Object.keys(this._utils.schemas)){let r=this._utils.schemas[e];e in t&&(t[e]=r.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let a=[],[n,s]=r.partition(Object.keys(e),(e=>e in this._utils.schemas));for(let s of n){let n=this._utils.schemas[s],i=n.preprocess(e[s],this._utils),o=r.normalizeValidateResult(n.validate(i,this._utils),i);if(!0!==o){let{value:e}=o,t=this._invalidHandler(s,e,this._utils);throw"string"==typeof t?new Error(t):t}let d=e=>{let{from:t,to:r}=e;a.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},l=e=>{let{value:t,redirectTo:a}=e,o=r.normalizeDeprecatedResult(n.deprecated(t,this._utils),i,!0);if(!1!==o)if(!0===o)this._hasDeprecationWarned(s)||this._utils.logger.warn(this._deprecatedHandler(s,a,this._utils));else for(let{value:e}of o){let t={key:s,value:e};if(!this._hasDeprecationWarned(t)){let r="string"==typeof a?{key:a,value:e}:a;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};r.normalizeForwardResult(n.forward(i,this._utils),i).forEach(d);let u=r.normalizeRedirectResult(n.redirect(i,this._utils),i);if(u.redirect.forEach(d),"remain"in u){let e=u.remain;t[s]=s in t?n.overlap(t[s],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of u.redirect)l({value:e,redirectTo:t})}for(let r of s){let n=e[r],s=this._unknownHandler(r,n,this._utils);if(s)for(let e of Object.keys(s)){let r={[e]:s[e]};e in this._utils.schemas?a.push(r):Object.assign(t,r)}}return a}};e.Normalizer=a}}),Mt=x({"node_modules/vnopts/lib/index.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ft(),S(Le));t.__exportStar(gt(),e),t.__exportStar(St(),e),t.__exportStar(Nt(),e),t.__exportStar(Bt(),e),t.__exportStar(Dt(),e)}}),Lt=x({"src/main/options-normalizer.js"(e,t){D();var r,a=Mt(),n=k(),s={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>a.apiDescriptor.value(e),pair:e=>{let{key:t,value:r}=e;return!1===r?`--no-${t}`:!0===r?s.key(t):""===r?`${s.key(t)} without an argument`:`${s.key(t)}=${r}`}},i=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends a.ChoiceSchema{constructor(e){let{name:t,flags:r}=e;super({name:t,choices:r}),this._flags=[...r].sort()}preprocess(e,a){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let n=this._flags.find((t=>r(t,e)<3));if(n)return a.logger.warn([`Unknown flag ${t.yellow(a.descriptor.value(e))},`,`did you mean ${t.blue(a.descriptor.value(n))}?`].join(" ")),n}return e}expected(){return"a flag"}}};function o(e,t){let{logger:n=!1,isCLI:i=!1,passThrough:o=!1,colorsModule:c=null,levenshteinDistance:p=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,r)=>{let n=r.schemas,{_:s}=n,i=u(n,d);return a.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:i}))},h=i?s:a.apiDescriptor,g=l(t,{isCLI:i,colorsModule:c,levenshteinDistance:p}),m=new a.Normalizer(g,{logger:n,unknown:f,descriptor:h}),y=!1!==n;y&&r&&(m._hasDeprecationWarned=r);let b=m.normalize(e);return y&&(r=m._hasDeprecationWarned),i&&!1===b["plugin-search"]&&(b["plugin-search-dir"]=!1),b}function l(e,t){let{isCLI:r,colorsModule:n,levenshteinDistance:s}=t,i=[];r&&i.push(a.AnySchema.create({name:"_"}));for(let t of e)i.push(c(t,{isCLI:r,optionInfos:e,colorsModule:n,levenshteinDistance:s})),t.alias&&r&&i.push(a.AliasSchema.create({name:t.alias,sourceName:t.name}));return i}function c(e,t){let{isCLI:r,optionInfos:s,colorsModule:o,levenshteinDistance:d}=t,{name:l}=e;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return a.AnySchema.create({name:l,preprocess(e){return!1===e||(e=Array.isArray(e)?e:[e]),e},validate(e){return!1===e||e.every((e=>"string"==typeof e))},expected(){return"false or paths to plugin search dir"}});let u,c={name:l},p={};switch(e.type){case"int":u=a.IntegerSchema,r&&(c.preprocess=Number);break;case"string":case"path":u=a.StringSchema;break;case"choice":u=a.ChoiceSchema,c.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":u=a.BooleanSchema;break;case"flag":u=i({colorsModule:o,levenshteinDistance:d}),c.flags=s.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&`no-${e.name}`].filter(Boolean)));break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?c.validate=(t,r,a)=>e.exception(t)||r.validate(t,a):c.validate=(e,t,r)=>void 0===e||t.validate(e,r),e.redirect&&(p.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(p.deprecated=!0),r&&!e.array){let e=c.preprocess||(e=>e);c.preprocess=(t,r,a)=>r.preprocess(e(Array.isArray(t)?n(t):t),a)}return e.array?a.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),p),{},{valueSchema:u.create(c)})):u.create(Object.assign(Object.assign({},c),p))}function p(e,t,r){return o(e,t,r)}function f(e,t,r){return o(e,t,Object.assign({isCLI:!0},r))}t.exports={normalizeApiOptions:p,normalizeCliOptions:f}}}),Ut=x({"src/language-js/loc.js"(e,t){D();var r=ue();function a(e){var t,n;let s=e.range?e.range[0]:e.start,i=null!==(t=null===(n=e.declaration)||void 0===n?void 0:n.decorators)&&void 0!==t?t:e.decorators;return r(i)?Math.min(a(i[0]),s):s}function n(e){return e.range?e.range[1]:e.end}function s(e,t){let r=a(e);return Number.isInteger(r)&&r===a(t)}function i(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}function o(e,t){return s(e,t)&&i(e,t)}t.exports={locStart:a,locEnd:n,hasSameLocStart:s,hasSameLoc:o}}}),Wt=x({"src/main/load-parser.js"(e,t){D(),t.exports=()=>{}}}),zt=x({"scripts/build/shims/babel-highlight.cjs"(e,t){D();var r=mt(),a={shouldHighlight:()=>!1,getChalk:()=>r};t.exports=a}}),Vt=x({"node_modules/@babel/code-frame/lib/index.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=i,e.default=o;var t=zt(),r=!1;function a(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var n=/\r\n|[\n\r\u2028\u2029]/;function s(e,t,r){let a=Object.assign({column:0,line:-1},e.start),n=Object.assign({},a,e.end),{linesAbove:s=2,linesBelow:i=3}=r||{},o=a.line,d=a.column,l=n.line,u=n.column,c=Math.max(o-(s+1),0),p=Math.min(t.length,l+i);-1===o&&(c=0),-1===l&&(p=t.length);let f=l-o,h={};if(f)for(let e=0;e<=f;e++){let r=e+o;if(d)if(0===e){let e=t[r-1].length;h[r]=[d,e-d+1]}else if(e===f)h[r]=[0,u];else{let a=t[r-e].length;h[r]=[0,a]}else h[r]=!0}else h[o]=d===u?!d||[d,0]:[d,u-d];return{start:c,end:p,markerLines:h}}function i(e,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(i.highlightCode||i.forceColor)&&(0,t.shouldHighlight)(i),d=(0,t.getChalk)(i),l=a(d),u=(e,t)=>o?e(t):t,c=e.split(n),{start:p,end:f,markerLines:h}=s(r,c,i),g=r.start&&"number"==typeof r.start.column,m=String(f).length,y=(o?(0,t.default)(e,i):e).split(n,f).slice(p,f).map(((e,t)=>{let r=p+1+t,a=` ${` ${r}`.slice(-m)} |`,n=h[r],s=!h[r+1];if(n){let t="";if(Array.isArray(n)){let r=e.slice(0,Math.max(n[0]-1,0)).replace(/[^\t]/g," "),o=n[1]||1;t=["\n ",u(l.gutter,a.replace(/\d/g," "))," ",r,u(l.marker,"^").repeat(o)].join(""),s&&i.message&&(t+=" "+u(l.message,i.message))}return[u(l.marker,">"),u(l.gutter,a),e.length>0?` ${e}`:"",t].join("")}return` ${u(l.gutter,a)}${e.length>0?` ${e}`:""}`})).join("\n");return i.message&&!g&&(y=`${" ".repeat(m+1)}${i.message}\n${y}`),o?d.reset(y):y}function o(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";p.emitWarning?p.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return i(e,{start:{column:a=Math.max(a,0),line:t}},n)}}}),qt=x({"src/main/parser.js"(e,t){D();var{ConfigError:r}=Me(),a=Ut(),{locStart:n,locEnd:s}=(Wt(),a),i=Object.getOwnPropertyNames,o=Object.getOwnPropertyDescriptor;function d(e){let t={};for(let r of e.plugins)if(r.parsers)for(let e of i(r.parsers))Object.defineProperty(t,e,o(r.parsers,e));return t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:n,locEnd:s};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new r(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function u(e,t){let r=d(t),a=Object.defineProperties({},Object.fromEntries(Object.keys(r).map((e=>[e,{enumerable:!0,get(){return r[e].parse}}])))),n=l(t,r);try{return n.preprocess&&(e=n.preprocess(e,t)),{text:e,ast:n.parse(e,a,t)}}catch(t){let{loc:r}=t;if(r){let{codeFrameColumns:a}=Vt();throw t.codeFrame=a(e,r,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t}}t.exports={parse:u,resolveParser:l}}}),Gt=x({"src/main/options.js"(e,t){D();var r=Fe(),{UndefinedParserError:a}=Me(),{getSupportInfo:n}=le(),s=Lt(),{resolveParser:i}=qt(),o={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e),d=n({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,c=Object.assign(Object.assign({},o),Object.fromEntries(d.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!r.parser)if(r.filepath){if(r.parser=u(r.filepath,r.plugins),!r.parser)throw new a(`No parser could be inferred for file: ${r.filepath}`)}else(t.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."),r.parser="babel";let p=i(s.normalizeApiOptions(r,[d.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));r.astFormat=p.astFormat,r.locEnd=p.locEnd,r.locStart=p.locStart;let f=l(r);r.printer=f.printers[r.astFormat];let h=Object.fromEntries(d.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[f.name])).map((e=>[e.name,e.pluginDefaults[f.name]]))),g=Object.assign(Object.assign({},c),h);for(let[e,t]of Object.entries(g))(null===r[e]||void 0===r[e])&&(r[e]=t);return"json"===r.parser&&(r.trailingComma="none"),s.normalizeApiOptions(r,d,Object.assign({passThrough:Object.keys(o)},t))}function l(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let r=e.plugins.find((e=>e.printers&&e.printers[t]));if(!r)throw new Error(`Couldn't find plugin for AST format "${t}"`);return r}function u(e,t){let a=r.basename(e).toLowerCase(),s=n({plugins:t}).languages.filter((e=>null!==e.since)).find((e=>e.extensions&&e.extensions.some((e=>a.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===a))));return s&&s.parsers[0]}t.exports={normalize:d,hiddenDefaults:o,inferParser:u}}}),Ht=x({"src/main/massage-ast.js"(e,t){function r(e,t,a){if(Array.isArray(e))return e.map((e=>r(e,t,a))).filter(Boolean);if(!e||"object"!=typeof e)return e;let n,s=t.printer.massageAstNode;n=s&&s.ignoredProperties?s.ignoredProperties:new Set;let i={};for(let[a,s]of Object.entries(e))!n.has(a)&&"function"!=typeof s&&(i[a]=r(s,t,e));if(s){let t=s(e,i,a);if(null===t)return;if(t)return t}return i}D(),t.exports=r}}),Kt=x({"scripts/build/shims/assert.cjs"(e,t){D();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),$t=x({"src/main/comments.js"(e,t){D();var r=Kt(),{builders:{line:a,hardline:n,breakParent:s,indent:i,lineSuffix:o,join:d,cursor:l}}=K(),{hasNewline:u,skipNewline:c,skipSpaces:p,isPreviousLineEmpty:f,addLeadingComment:h,addDanglingComment:g,addTrailingComment:m}=me(),y=new WeakMap;function b(e,t,r){if(!e)return;let{printer:a,locStart:n,locEnd:s}=t;if(r){if(a.canAttachComment&&a.canAttachComment(e)){let t;for(t=r.length-1;t>=0&&!(n(r[t])<=n(e)&&s(r[t])<=s(e));--t);return void r.splice(t+1,0,e)}}else if(y.has(e))return y.get(e);let i=a.getCommentChildNodes&&a.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t&&"parent"!==t})).map((e=>{let[,t]=e;return t}));if(i){r||(r=[],y.set(e,r));for(let e of i)b(e,t,r);return r}}function v(e,t,r,a){let n,s,{locStart:i,locEnd:o}=r,d=i(t),l=o(t),u=b(e,r),c=0,p=u.length;for(;c>1,a=u[e],f=i(a),h=o(a);if(f<=d&&l<=h)return v(a,t,r,a);if(h<=d)n=a,c=e+1;else{if(!(l<=f))throw new Error("Comment location overlaps with node location");s=a,p=e}}if(a&&"TemplateLiteral"===a.type){let{quasis:e}=a,i=C(e,t,r);n&&C(e,n,r)!==i&&(n=null),s&&C(e,s,r)!==i&&(s=null)}return{enclosingNode:a,precedingNode:n,followingNode:s}}var x=()=>!1;function R(e,t,r,a){if(!Array.isArray(e))return;let n=[],{locStart:s,locEnd:i,printer:{handleComments:o={}}}=a,{avoidAstMutation:d,ownLine:l=x,endOfLine:u=x,remaining:c=x}=o,p=e.map(((n,s)=>Object.assign(Object.assign({},v(t,n,a)),{},{comment:n,text:r,options:a,ast:t,isLastComment:e.length-1===s})));for(let[e,t]of p.entries()){let r,{comment:a,precedingNode:o,enclosingNode:f,followingNode:y,text:b,options:v,ast:x,isLastComment:R}=t;if("json"===v.parser||"json5"===v.parser||"__js_expression"===v.parser||"__vue_expression"===v.parser||"__vue_ts_expression"===v.parser){if(s(a)-s(x)<=0){h(x,a);continue}if(i(a)-i(x)>=0){m(x,a);continue}}if(d?r=[t]:(a.enclosingNode=f,a.precedingNode=o,a.followingNode=y,r=[a,b,v,x,R]),w(b,v,p,e))a.placement="ownLine",l(...r)||(y?h(y,a):o?m(o,a):g(f||x,a));else if(S(b,v,p,e))a.placement="endOfLine",u(...r)||(o?m(o,a):y?h(y,a):g(f||x,a));else if(a.placement="remaining",!c(...r))if(o&&y){let e=n.length;e>0&&n[e-1].followingNode!==y&&j(n,b,v),n.push(t)}else o?m(o,a):y?h(y,a):g(f||x,a)}if(j(n,r,a),!d)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode}var E=e=>!/[\S\n\u2028\u2029]/.test(e);function w(e,t,r,a){let{comment:n,precedingNode:s}=r[a],{locStart:i,locEnd:o}=t,d=i(n);if(s)for(let t=a-1;t>=0;t--){let{comment:a,precedingNode:n}=r[t];if(n!==s||!E(e.slice(o(a),d)))break;d=i(a)}return u(e,d,{backwards:!0})}function S(e,t,r,a){let{comment:n,followingNode:s}=r[a],{locStart:i,locEnd:o}=t,d=o(n);if(s)for(let t=a+1;t0;--s){let{comment:n,precedingNode:d,followingNode:c}=e[s-1];r.strictEqual(d,i),r.strictEqual(c,o);let p=t.slice(a.locEnd(n),u);if(!l.test(p))break;u=a.locStart(n)}for(let[t,{comment:r}]of e.entries())t1&&e.comments.sort(((e,t)=>a.locStart(e)-a.locStart(t)));e.length=0}function T(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function C(e,t,r){let a=r.locStart(t)-1;for(let t=1;t{let r=e.getValue();!r.leading&&!r.trailing&&(!a||a(r))&&s.push(T(e,t))}),"comments"),0!==s.length)?r?d(n,s):i([n,d(n,s)]):""}function I(e,t,r){let a=e.getValue();if(!a)return{};let n=a.comments||[];r&&(n=n.filter((e=>!r.has(e))));let s=a===t.cursorNode;if(0===n.length){let e=s?l:"";return{leading:e,trailing:e}}let i=[],o=[];return e.each((()=>{let a=e.getValue();if(r&&r.has(a))return;let{leading:n,trailing:s}=a;n?i.push(A(e,t)):s&&o.push(P(e,t))}),"comments"),s&&(i.unshift(l),o.push(l)),{leading:i,trailing:o}}function O(e,t,r,a){let{leading:n,trailing:s}=I(e,r,a);return n||s?[n,t,s]:t}function _(e){if(e)for(let t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}t.exports={attach:R,printComments:O,printCommentsSeparately:I,printDanglingComments:k,getSortedChildNodes:b,ensureAllCommentsPrinted:_}}}),Jt=x({"src/common/ast-path.js"(e,t){D();var r=k();function a(e,t){let r=n(e.stack,t);return-1===r?null:e.stack[r]}function n(e,t){for(let r=e.length-1;r>=0;r-=2){let a=e[r];if(a&&!Array.isArray(a)&&--t<0)return r}return-1}var s=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return r(this.stack)}getNode(){return a(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return a(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){let{stack:t}=this,{length:a}=t,n=r(t);for(var s=arguments.length,i=new Array(s>1?s-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:0,r=n(this.stack,t+1),a=this.stack.splice(r+1),s=e(this);return this.stack.push(...a),s}each(e){let{stack:t}=this,{length:a}=t,n=r(t);for(var s=arguments.length,i=new Array(s>1?s-1:0),o=1;o1?r-1:0),n=1;n{t[a]=e(r,a,n)}),...a),t}try(e){let{stack:t}=this,r=[...t];try{return e()}finally{t.length=0,t.push(...r)}}match(){let e=this.stack.length-1,t=null,r=this.stack[e--];for(var a=arguments.length,n=new Array(a),s=0;si(e,t,r,a,n)),r)}function i(e,t,s,i){let{stripTrailingHardline:o=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},d=a(Object.assign(Object.assign(Object.assign({},s),t),{},{parentParser:s.parser,originalText:e}),{passThrough:!0}),l=qt().parse(e,d),{ast:u}=l;e=l.text;let c=u.comments;delete u.comments,n.attach(c,u,e,d),d[Symbol.for("comments")]=c||[],d[Symbol.for("tokens")]=u.tokens||[];let p=i(u,d);return n.ensureAllCommentsPrinted(c),o?"string"==typeof p?p.replace(/(?:\r?\n)*$/,""):r(p):p}t.exports={printSubtree:s}}}),Yt=x({"src/main/ast-to-doc.js"(e,t){D();var r=Jt(),{builders:{hardline:a,addAlignmentToDoc:n},utils:{propagateBreaks:s}}=K(),{printComments:i}=$t(),o=Xt();function d(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:o}=t;o.preprocess&&(e=o.preprocess(e,t));let d=new Map,l=new r(e),c=p();return i>0&&(c=n([a,c],i,t.tabWidth)),s(c),c;function p(e,t){return void 0===e||e===l?f(t):Array.isArray(e)?l.call((()=>f(t)),...e):l.call((()=>f(t)),e)}function f(e){let r=l.getValue(),a=r&&"object"==typeof r&&void 0===e;if(a&&d.has(r))return d.get(r);let n=u(l,t,p,e);return a&&d.set(r,n),n}}function l(e,t){let{originalText:r,[Symbol.for("comments")]:a,locStart:n,locEnd:s}=t,i=n(e),o=s(e),d=new Set;for(let e of a)n(e)>=i&&s(e)<=o&&(e.printed=!0,d.add(e));return{doc:r.slice(i,o),printedComments:d}}function u(e,t,r,a){let n,s,u=e.getValue(),{printer:c}=t;if(c.hasPrettierIgnore&&c.hasPrettierIgnore(e))({doc:n,printedComments:s}=l(u,t));else{if(u)try{n=o.printSubtree(e,r,t,d)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}n||(n=c.print(e,t,r,a))}return(!c.willPrintOwnComments||!c.willPrintOwnComments(e,t))&&(n=i(e,n,t,s)),n}t.exports=d}}),Qt=x({"src/main/range-util.js"(e,t){D();var r=Kt(),a=$t(),n=e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t};function s(e,t){let r=[e.node,...e.parentNodes],a=new Set([t.node,...t.parentNodes]);return r.find((e=>u.has(e.type)&&a.has(e)))}function i(e){let t=e.length-1;for(;;){let r=e[t];if(!r||"Program"!==r.type&&"File"!==r.type)break;t--}return e.slice(0,t+1)}function o(e,t,r){let{locStart:a,locEnd:n}=r,s=e.node,o=t.node;if(s===o)return{startNode:s,endNode:o};let d=a(e.node);for(let e of i(t.parentNodes)){if(!(a(e)>=d))break;o=e}let l=n(t.node);for(let t of i(e.parentNodes)){if(!(n(t)<=l))break;if(s=t,s===o)break}return{startNode:s,endNode:o}}function d(e,t,r,n){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5?arguments[5]:void 0,{locStart:o,locEnd:l}=r,u=o(e),c=l(e);if(!(t>c||ti);let f=e.slice(i,l).search(/\S/),h=-1===f;if(!h)for(i+=f;l>i&&!/\S/.test(e[l-1]);--l);let g,m,y=d(a,i,t,((e,r)=>p(t,e,r)),[],"rangeStart"),b=h?y:d(a,l,t,(e=>p(t,e)),[],"rangeEnd");if(!y||!b)return{rangeStart:0,rangeEnd:0};if(n(t)){let e=s(y,b);g=e,m=e}else({startNode:g,endNode:m}=o(y,b,t));return{rangeStart:Math.min(u(g),u(m)),rangeEnd:Math.max(c(g),c(m))}}t.exports={calculateRange:f,findNodeAtOffset:d}}}),Zt=x({"src/main/core.js"(e,t){D();var{diffArrays:r}=C(),{printer:{printDocToString:a},debug:{printDocToDebug:n}}=K(),{getAlignmentSize:s}=me(),{guessEndOfLine:i,convertEndOfLineToChars:o,countEndOfLineChars:d,normalizeEndOfLine:l}=P(),u=Gt().normalize,c=Ht(),p=$t(),f=qt(),h=Yt(),g=Qt(),m="\ufeff",y=Symbol("cursor");function b(e,t,r){let a=t.comments;return a&&(delete t.comments,p.attach(a,t,e,r)),r[Symbol.for("comments")]=a||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,a}function v(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:s,text:i}=f.parse(e,t);if(t.cursorOffset>=0){let e=g.findNodeAtOffset(s,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let d=b(i,s,t),l=h(s,t,n),u=a(l,t);if(p.ensureAllCommentsPrinted(d),n>0){let e=u.formatted.trim();void 0!==u.cursorNodeStart&&(u.cursorNodeStart-=u.formatted.indexOf(e)),u.formatted=e+o(t.endOfLine)}if(t.cursorOffset>=0){let e,a,n,s,o;if(t.cursorNode&&u.cursorNodeText?(e=t.locStart(t.cursorNode),a=i.slice(e,t.locEnd(t.cursorNode)),n=t.cursorOffset-e,s=u.cursorNodeStart,o=u.cursorNodeText):(e=0,a=i,n=t.cursorOffset,s=0,o=u.formatted),a===o)return{formatted:u.formatted,cursorOffset:s+n,comments:d};let l=[...a];l.splice(n,0,y);let c=[...o],p=r(l,c),f=s;for(let e of p)if(e.removed){if(e.value.includes(y))break}else f+=e.count;return{formatted:u.formatted,cursorOffset:f,comments:d}}return{formatted:u.formatted,cursorOffset:-1,comments:d}}function x(e,t){let{ast:r,text:a}=f.parse(e,t),{rangeStart:n,rangeEnd:i}=g.calculateRange(a,t,r),l=a.slice(n,i),u=Math.min(n,a.lastIndexOf("\n",n)+1),c=a.slice(u,n).match(/^\s*/)[0],p=s(c,t.tabWidth),h=v(l,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>n&&t.cursorOffset<=i?t.cursorOffset-n:-1,endOfLine:"lf"}),p),m=h.formatted.trimEnd(),{cursorOffset:y}=t;y>i?y+=m.length-l.length:h.cursorOffset>=0&&(y=h.cursorOffset+n);let b=a.slice(0,n)+m+a.slice(i);if("lf"!==t.endOfLine){let e=o(t.endOfLine);y>=0&&"\r\n"===e&&(y+=d(b.slice(0,y),"\n")),b=b.replace(/\n/g,e)}return{formatted:b,cursorOffset:y,comments:h.comments}}function R(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function E(e,t){let{cursorOffset:r,rangeStart:a,rangeEnd:n}=t;return r=R(e,r,-1),a=R(e,a,0),n=R(e,n,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:a,rangeEnd:n})}function w(e,t){let{cursorOffset:r,rangeStart:a,rangeEnd:n,endOfLine:s}=E(e,t),o=e.charAt(0)===m;if(o&&(e=e.slice(1),r--,a--,n--),"auto"===s&&(s=i(e)),e.includes("\r")){let t=t=>d(e.slice(0,Math.max(t,0)),"\r\n");r-=t(r),a-=t(a),n-=t(n),e=l(e)}return{hasBOM:o,text:e,options:E(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:a,rangeEnd:n,endOfLine:s}))}}function S(e,t){let r=f.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function j(e,t){let r,{hasBOM:a,text:n,options:s}=w(e,u(t));return s.rangeStart>=s.rangeEnd&&""!==n||s.requirePragma&&!S(n,s)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(s.rangeStart>0||s.rangeEnd=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:j,parse(e,t,r){let{text:a,options:n}=w(e,u(t)),s=f.parse(a,n);return r&&(s.ast=c(s.ast,n)),s},formatAST(e,t){t=u(t);let r=h(e,t);return a(r,t)},formatDoc(e,t){return j(n(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted},printToDoc(e,t){t=u(t);let{ast:r,text:a}=f.parse(e,t);return b(a,r,t),h(r,t)},printDocToString(e,t){return a(e,u(t))}}}}),er=x({"src/common/util-shared.js"(e,t){D();var{getMaxContinuousCount:r,getStringWidth:a,getAlignmentSize:n,getIndentSize:s,skip:i,skipWhitespace:o,skipSpaces:d,skipNewline:l,skipToLineEnd:u,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:f,hasNewline:h,hasNewlineInRange:g,hasSpaces:m,isNextLineEmpty:y,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:x,makeString:R,addLeadingComment:E,addDanglingComment:w,addTrailingComment:S}=me();t.exports={getMaxContinuousCount:r,getStringWidth:a,getAlignmentSize:n,getIndentSize:s,skip:i,skipWhitespace:o,skipSpaces:d,skipNewline:l,skipToLineEnd:u,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:f,hasNewline:h,hasNewlineInRange:g,hasSpaces:m,isNextLineEmpty:y,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:x,makeString:R,addLeadingComment:E,addDanglingComment:w,addTrailingComment:S}}}),tr=x({"src/utils/create-language.js"(e,t){D(),t.exports=function(e,t){let{languageId:r}=e,a=u(e,l);return Object.assign(Object.assign({linguistLanguageId:r},a),t(e))}}}),rr=x({"node_modules/esutils/lib/ast.js"(e,t){D(),function(){function e(e){if(null==e)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 r(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function a(e){if(null==e)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 n(e){return a(e)||null!=e&&"FunctionDeclaration"===e.type}function s(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}function i(e){var t;if("IfStatement"!==e.type||null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=s(t)}while(t);return!1}t.exports={isExpression:e,isStatement:a,isIterationStatement:r,isSourceElement:n,isProblematicIfStatement:i,trailingStatement:s}}()}}),ar=x({"node_modules/esutils/lib/code.js"(e,t){D(),function(){var e,r,a,n,s,i;function o(e){return 48<=e&&e<=57}function d(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function l(e){return e>=48&&e<=55}function u(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&a.indexOf(e)>=0}function c(e){return 10===e||13===e||8232===e||8233===e}function p(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(r={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]/},e={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]/},a=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],n=new Array(128),i=0;i<128;++i)n[i]=i>=97&&i<=122||i>=65&&i<=90||36===i||95===i;for(s=new Array(128),i=0;i<128;++i)s[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||36===i||95===i;function f(e){return e<128?n[e]:r.NonAsciiIdentifierStart.test(p(e))}function h(e){return e<128?s[e]:r.NonAsciiIdentifierPart.test(p(e))}function g(t){return t<128?n[t]:e.NonAsciiIdentifierStart.test(p(t))}function m(t){return t<128?s[t]:e.NonAsciiIdentifierPart.test(p(t))}t.exports={isDecimalDigit:o,isHexDigit:d,isOctalDigit:l,isWhiteSpace:u,isLineTerminator:c,isIdentifierStartES5:f,isIdentifierPartES5:h,isIdentifierStartES6:g,isIdentifierPartES6:m}}()}}),nr=x({"node_modules/esutils/lib/keyword.js"(e,t){D(),function(){var e=ar();function r(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function a(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(e,t){if(t&&r(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function s(e,t){return"null"===e||"true"===e||"false"===e||a(e,t)}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(e){return"eval"===e||"arguments"===e}function d(t){var r,a,n;if(0===t.length||(n=t.charCodeAt(0),!e.isIdentifierStartES5(n)))return!1;for(r=1,a=t.length;r=a||!(56320<=(s=t.charCodeAt(r))&&s<=57343))return!1;n=l(n,s)}if(!i(n))return!1;i=e.isIdentifierPartES6}return!0}function c(e,t){return d(e)&&!s(e,t)}function p(e,t){return u(e)&&!i(e,t)}t.exports={isKeywordES5:a,isKeywordES6:n,isReservedWordES5:s,isReservedWordES6:i,isRestrictedWord:o,isIdentifierNameES5:d,isIdentifierNameES6:u,isIdentifierES5:c,isIdentifierES6:p}}()}}),sr=x({"node_modules/esutils/lib/utils.js"(e){D(),e.ast=rr(),e.code=ar(),e.keyword=nr()}}),ir=x({"src/language-js/utils/is-block-comment.js"(e,t){D();var r=new Set(["Block","CommentBlock","MultiLine"]),a=e=>r.has(null==e?void 0:e.type);t.exports=a}}),or=x({"src/language-js/utils/is-node-matches.js"(e,t){function r(e,t){let r=t.split(".");for(let t=r.length-1;t>=0;t--){let a=r[t];if(0===t)return"Identifier"===e.type&&e.name===a;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==a)return!1;e=e.object}}function a(e,t){return t.some((t=>r(e,t)))}D(),t.exports=a}}),dr=x({"src/language-js/utils/index.js"(e,t){D();var r=sr().keyword.isIdentifierNameES5,{getLast:a,hasNewline:n,skipWhitespace:s,isNonEmptyArray:i,isNextLineEmptyAfterIndex:o,getStringWidth:d}=me(),{locStart:l,locEnd:u,hasSameLocStart:c}=Ut(),p=ir(),f=or(),h="(?:(?=.)\\s)",g=new RegExp(`^${h}*:`),m=new RegExp(`^${h}*::`);function y(e){var t,r;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&p(null===(r=e.trailingComments)||void 0===r?void 0:r[0])&&g.test(e.trailingComments[0].value)}function b(e){let t=null==e?void 0:e[0];return p(t)&&m.test(t.value)}function v(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some((e=>v(e,t)));let r=t(e);return"boolean"==typeof r?r:Object.values(e).some((e=>v(e,t)))}function x(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||X(e)||Y(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||Ve(e)||"TSNonNullExpression"===e.type}function R(e){var t,r,a,n,s,i;return e.expressions?e.expressions[0]:null!==(t=null!==(r=null!==(a=null!==(n=null!==(s=null!==(i=e.left)&&void 0!==i?i:e.test)&&void 0!==s?s:e.callee)&&void 0!==n?n:e.object)&&void 0!==a?a:e.tag)&&void 0!==r?r:e.argument)&&void 0!==t?t:e.expression}function E(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function w(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var S=w(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),j=w(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function T(e){let t=e.getParentNode();return"declaration"===e.getName()&&j(t)?t:null}var C=w(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function A(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function P(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&A(e.argument)}function k(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var I=w(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),O=w(["FunctionExpression","ArrowFunctionExpression"]);function _(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}function N(e){return X(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var F=w(["JSXElement","JSXFragment"]);function B(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!F(r.expression))return!1;let a=t.getParentNode();return"Program"===a.type&&1===a.body.length}function M(e){return"get"===e.kind||"set"===e.kind}function L(e){return M(e)||c(e,e.value)}function U(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||L(e))}function W(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||c(e,e.typeAnnotation))}var z=w(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function V(e){return Y(e)||"BindExpression"===e.type&&Boolean(e.object)}var q=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 G(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!q.has(e.type))}function H(e){let t=/^(?:before|after)(?:Each|All)$/;return"Identifier"===e.callee.type&&t.test(e.callee.name)&&1===e.arguments.length}var K=["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 $(e){return f(e,K)}function J(e,t){if("CallExpression"!==e.type)return!1;if(1===e.arguments.length){if(N(e)&&t&&J(t))return O(e.arguments[0]);if(H(e))return N(e.arguments[0])}else if((2===e.arguments.length||3===e.arguments.length)&&("TemplateLiteral"===e.arguments[0].type||k(e.arguments[0]))&&$(e.callee))return!(e.arguments[2]&&!A(e.arguments[2]))&&((2===e.arguments.length?O(e.arguments[1]):_(e.arguments[1])&&je(e.arguments[1]).length<=1)||N(e.arguments[1]));return!1}var X=w(["CallExpression","OptionalCallExpression"]),Y=w(["MemberExpression","OptionalMemberExpression"]);function Q(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every((e=>{if(Fe(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(Y(e)){let t=e;for(;Y(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,Fe(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))}function Z(e,t){return"+"===e||"-"===e?e+t:t}function ee(e,t){let r=l(t),a=s(e,u(t));return!1!==a&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(a,a+2)}function te(e,t){return F(t)?Ie(t):Fe(t,_e.Leading,(t=>n(e,u(t))))}function re(e,t){return"json"!==t.parser&&k(e.key)&&ce(e.key).slice(1,-1)===e.key.value&&(r(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||ae(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))}function ae(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function ne(e,t){let r=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&r.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&r.test(t.tag.object.object.name))}function se(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function ie(e,t){return("TemplateLiteral"===e.type&&se(e)||"TaggedTemplateExpression"===e.type&&se(e.quasi))&&!n(t,l(e),{backwards:!0})}function oe(e){if(!Fe(e))return!1;let t=a(Be(e,_e.Dangling));return t&&!p(t)}function de(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(O(r)){if(t+=1,t>1)return!0}else if(X(r))for(let e of r.arguments)if(O(e))return!0;return!1}function le(e){let t=e.getValue(),r=e.getParentNode();return X(t)&&X(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0}function ue(e,t){if(t>=2)return!1;let r=e=>ue(e,t+1),a="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;if(a&&d(a)>5)return!1;if("Literal"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"BooleanLiteral"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"Identifier"===e.type||"ThisExpression"===e.type||"Super"===e.type||"PrivateName"===e.type||"PrivateIdentifier"===e.type||"ArgumentPlaceholder"===e.type||"Import"===e.type)return!0;if("TemplateLiteral"===e.type)return e.quasis.every((e=>!e.value.raw.includes("\n")))&&e.expressions.every(r);if("ObjectExpression"===e.type)return e.properties.every((e=>!e.computed&&(e.shorthand||e.value&&r(e.value))));if("ArrayExpression"===e.type)return e.elements.every((e=>null===e||r(e)));if(Le(e))return("ImportExpression"===e.type||ue(e.callee,t))&&Ae(e).every(r);if(Y(e))return ue(e.object,t)&&ue(e.property,t);let n={"!":!0,"-":!0,"+":!0,"~":!0};if("UnaryExpression"===e.type&&n[e.operator])return ue(e.argument,t);let s={"++":!0,"--":!0};return"UpdateExpression"===e.type&&s[e.operator]?ue(e.argument,t):"TSNonNullExpression"===e.type&&ue(e.expression,t)}function ce(e){var t,r;return null!==(t=null===(r=e.extra)||void 0===r?void 0:r.raw)&&void 0!==t?t:e.raw}function pe(e){return e}function fe(e){return e.filepath&&/\.tsx$/i.test(e.filepath)}function he(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)}function ge(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return ge(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return ge(e.object,t);case"TaggedTemplateExpression":return"FunctionExpression"!==e.tag.type&&ge(e.tag,t);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==e.callee.type&&ge(e.callee,t);case"ConditionalExpression":return ge(e.test,t);case"UpdateExpression":return!e.prefix&&ge(e.argument,t);case"BindExpression":return e.object&&ge(e.object,t);case"SequenceExpression":return ge(e.expressions[0],t);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return ge(e.expression,t);default:return t(e)}}var ye={"==":!0,"!=":!0,"===":!0,"!==":!0},be={"*":!0,"/":!0,"%":!0},ve={">>":!0,">>>":!0,"<<":!0};function xe(e,t){return!(Ee(t)!==Ee(e)||"**"===e||ye[e]&&ye[t]||"%"===t&&be[e]||"%"===e&&be[t]||t!==e&&be[t]&&be[e]||ve[e]&&ve[t])}var Re=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function Ee(e){return Re.get(e)}function we(e){return Boolean(ve[e])||"|"===e||"^"===e||"&"===e}function Se(e){var t;if(e.rest)return!0;let r=je(e);return"RestElement"===(null===(t=a(r))||void 0===t?void 0:t.type)}var De=new WeakMap;function je(e){if(De.has(e))return De.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),De.set(e,t),t}function Te(e,t){let r=e.getValue(),a=0,n=e=>t(e,a++);r.this&&e.call(n,"this"),Array.isArray(r.parameters)?e.each(n,"parameters"):Array.isArray(r.params)&&e.each(n,"params"),r.rest&&e.call(n,"rest")}var Ce=new WeakMap;function Ae(e){if(Ce.has(e))return Ce.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),Ce.set(e,t),t}function Pe(e,t){let r=e.getValue();"ImportExpression"===r.type?(e.call((e=>t(e,0)),"source"),r.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")}function ke(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function Ie(e){return e&&(e.prettierIgnore||Fe(e,_e.PrettierIgnore))}function Oe(e){return Ie(e.getValue())}var _e={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Ne=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,a,n)=>!(e&_e.Leading&&!r.leading||e&_e.Trailing&&!r.trailing||e&_e.Dangling&&(r.leading||r.trailing)||e&_e.Block&&!p(r)||e&_e.Line&&!S(r)||e&_e.First&&0!==a||e&_e.Last&&a!==n.length-1||e&_e.PrettierIgnore&&!ke(r)||t&&!t(r))};function Fe(e,t,r){if(!i(null==e?void 0:e.comments))return!1;let a=Ne(t,r);return!a||e.comments.some(a)}function Be(e,t,r){if(!Array.isArray(null==e?void 0:e.comments))return[];let a=Ne(t,r);return a?e.comments.filter(a):e.comments}var Me=(e,t)=>{let{originalText:r}=t;return o(r,u(e))};function Le(e){return X(e)||"NewExpression"===e.type||"ImportExpression"===e.type}function Ue(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)}function We(e){return Boolean(e.__isUsingHackPipeline)}var ze=Symbol("ifWithoutBlockAndSameLineComment");function Ve(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:je,iterateFunctionParametersPath:Te,getCallArguments:Ae,iterateCallArgumentsPath:Pe,hasRestParameter:Se,getLeftSide:R,getLeftSidePathName:E,getParentExportDeclaration:T,getTypeScriptMappedTypeModifier:Z,hasFlowAnnotationComment:b,hasFlowShorthandAnnotationComment:y,hasLeadingOwnLineComment:te,hasNakedLeftSide:x,hasNode:v,hasIgnoreComment:Oe,hasNodeIgnoreComment:Ie,identity:pe,isBinaryish:z,isCallLikeExpression:Le,isEnabledHackPipeline:We,isLineComment:S,isPrettierIgnoreComment:ke,isCallExpression:X,isMemberExpression:Y,isExportDeclaration:j,isFlowAnnotationComment:ee,isFunctionCompositionArgs:de,isFunctionNotation:L,isFunctionOrArrowExpression:O,isGetterOrSetter:M,isJestEachTemplateLiteral:ne,isJsxNode:F,isLiteral:C,isLongCurriedCallExpression:le,isSimpleCallArgument:ue,isMemberish:V,isNumericLiteral:A,isSignedNumericLiteral:P,isObjectProperty:Ue,isObjectType:I,isObjectTypePropertyAFunction:U,isSimpleType:G,isSimpleNumber:ae,isSimpleTemplateLiteral:Q,isStringLiteral:k,isStringPropSafeToUnquote:re,isTemplateOnItsOwnLine:ie,isTestCall:J,isTheOnlyJsxElementInMarkdown:B,isTSXFile:fe,isTypeAnnotationAFunction:W,isNextLineEmpty:Me,needsHardlineAfterDanglingComment:oe,rawText:ce,shouldPrintComma:he,isBitwiseOperator:we,shouldFlatten:xe,startsWithNoLookaheadToken:ge,getPrecedence:Ee,hasComment:Fe,getComments:Be,CommentCheckFlags:_e,markerForIfWithoutBlockAndSameLineComment:ze,isTSTypeExpression:Ve}}}),lr=x({"src/language-js/print/template-literal.js"(e,t){D();var r=k(),{getStringWidth:a,getIndentSize:n}=me(),{builders:{join:s,hardline:i,softline:o,group:d,indent:l,align:u,lineSuffixBoundary:c,addAlignmentToDoc:p},printer:{printDocToString:f},utils:{mapDoc:h}}=K(),{isBinaryish:g,isJestEachTemplateLiteral:m,isSimpleTemplateLiteral:y,hasComment:b,isMemberExpression:v,isTSTypeExpression:x}=dr();function R(e,t,r){let a=e.getValue();if("TemplateLiteral"===a.type&&m(a,e.getParentNode())){let a=E(e,r,t);if(a)return a}let s="expressions";"TSTemplateLiteralType"===a.type&&(s="types");let i=[],h=e.map(t,s),R=y(a);return R&&(h=h.map((e=>f(e,Object.assign(Object.assign({},r),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),i.push(c,"`"),e.each((e=>{let f=e.getName();if(i.push(t()),f1||d.some((e=>e.length>0))){t.__inJestEach=!0;let u=e.map(n,"expressions");t.__inJestEach=!1;let p=[],h=u.map((e=>"${"+f(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),g=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length))),y=Array.from({length:m}).fill(0),b=[{cells:d},...g.filter((e=>e.cells.length>0))];for(let{cells:e}of b.filter((e=>!e.hasLineBreak)))for(let[t,r]of e.entries())y[t]=Math.max(y[t],a(r));return p.push(c,"`",l([i,s(i,b.map((e=>s(" | ",e.cells.map(((t,r)=>e.hasLineBreak?t:t+" ".repeat(y[r]-a(t))))))))]),i,"`"),p}}function w(e,t){let r=e.getValue(),a=t();return b(r)&&(a=d([l([o,a]),o])),["${",a,c,"}"]}function S(e,t){return e.map((e=>w(e,t)),"expressions")}function j(e,t){return h(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):T(e):e))}function T(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:R,printTemplateExpressions:S,escapeTemplateCharacters:j,uncookTemplateElementValue:T}}}),ur=x({"src/language-js/embed/markdown.js"(e,t){D();var{builders:{indent:r,softline:a,literalline:n,dedentToRoot:s}}=K(),{escapeTemplateCharacters:i}=lr();function o(e,t,o){let l=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`")),u=d(l),c=""!==u;c&&(l=l.replace(new RegExp(`^${u}`,"gm"),""));let p=i(o(l,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",c?r([a,p]):[n,s(p)],a,"`"]}function d(e){let t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}t.exports=o}}),cr=x({"src/language-js/embed/css.js"(e,t){D();var{isNonEmptyArray:r}=me(),{builders:{indent:a,hardline:n,softline:s},utils:{mapDoc:i,replaceEndOfLine:o,cleanDoc:d}}=K(),{printTemplateExpressions:l}=lr();function u(e,t,r){let a=e.getValue(),n=a.quasis.map((e=>e.value.raw)),s=0;return c(r(n.reduce(((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+s+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),a,l(e,t))}function c(e,t,r){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let i=p(e,r);if(!i)throw new Error("Couldn't insert all the expressions");return["`",a([n,i]),s,"`"]}function p(e,t){if(!r(t))return e;let a=0,n=i(d(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2==0?o(e):(a++,t[e]))):e));return t.length===a?n:null}t.exports=u}}),pr=x({"src/language-js/embed/graphql.js"(e,t){D();var{builders:{indent:r,join:a,hardline:n}}=K(),{escapeTemplateCharacters:s,printTemplateExpressions:i}=lr();function o(e,t,o){let l=e.getValue(),u=l.quasis.length;if(1===u&&""===l.quasis[0].value.raw.trim())return"``";let c=i(e,t),p=[];for(let e=0;e2&&""===n[0].trim()&&""===n[1].trim(),g=i>2&&""===n[i-1].trim()&&""===n[i-2].trim(),m=n.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!r&&/#[^\n\r]*$/.test(n[i-1]))return null;let y=null;y=m?d(n):o(a,{parser:"graphql"},{stripTrailingHardline:!0}),y?(y=s(y,!1),!t&&h&&p.push(""),p.push(y),!r&&g&&p.push("")):!t&&!r&&h&&p.push(""),f&&p.push(f)}return["`",r([n,a(n,p)]),n,"`"]}function d(e){let t=[],r=!1,s=e.map((e=>e.trim()));for(let[e,a]of s.entries())""!==a&&(""===s[e-1]&&r?t.push([n,a]):t.push(a),r=!0);return 0===t.length?null:a(n,t)}t.exports=o}}),fr=x({"src/language-js/embed/html.js"(e,t){D();var{builders:{indent:r,line:a,hardline:n,group:s},utils:{mapDoc:i}}=K(),{printTemplateExpressions:o,uncookTemplateElementValue:d}=lr(),l=0;function u(e,t,u,c,p){let{parser:f}=p,h=e.getValue(),g=l;l=l+1>>>0;let m=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${g}_IN_JS`,y=h.quasis.map(((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+m(t))).join(""),b=o(e,t);if(0===b.length&&0===y.trim().length)return"``";let v=new RegExp(m("(\\d+)"),"g"),x=0,R=u(y,{parser:f,__onHtmlRoot(e){x=e.children.length}},{stripTrailingHardline:!0}),E=i(R,(e=>{if("string"!=typeof e)return e;let t=[],r=e.split(v);for(let e=0;e1?r(s(E)):s(E),S,"`"])}t.exports=u}}),hr=x({"src/language-js/embed.js"(e,t){D();var{hasComment:r,CommentCheckFlags:a,isObjectProperty:n}=dr(),s=ur(),i=cr(),o=pr(),d=fr();function l(e){return p(e)||m(e)||y(e)||f(e)?"css":x(e)?"graphql":E(e)?"html":h(e)?"angular":c(e)?"markdown":void 0}function u(e,t,r,a){let n=e.getValue();if("TemplateLiteral"!==n.type||w(n))return;let u=l(e);if(u){if("markdown"===u)return s(e,t,r);if("css"===u)return i(e,t,r);if("graphql"===u)return o(e,t,r);if("html"===u||"angular"===u)return d(e,t,r,a,{parser:u})}}function c(e){let t=e.getValue(),r=e.getParentNode();return r&&"TaggedTemplateExpression"===r.type&&1===t.quasis.length&&"Identifier"===r.tag.type&&("md"===r.tag.name||"markdown"===r.tag.name)}function p(e){let t=e.getValue(),r=e.getParentNode(),a=e.getParentNode(1);return a&&t.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===a.type&&"style"===a.openingElement.name.name&&a.openingElement.attributes.some((e=>"jsx"===e.name.name))||r&&"TaggedTemplateExpression"===r.type&&"Identifier"===r.tag.type&&"css"===r.tag.name||r&&"TaggedTemplateExpression"===r.type&&"MemberExpression"===r.tag.type&&"css"===r.tag.object.name&&("global"===r.tag.property.name||"resolve"===r.tag.property.name)}function f(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>n(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...g)}function h(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>n(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...g)}var g=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function m(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let r="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(r.type){case"MemberExpression":return b(r.object)||v(r);case"CallExpression":return b(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(b(r.callee.object.object)||v(r.callee.object))||"CallExpression"===r.callee.object.type&&b(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}function y(e){let t=e.getParentNode(),r=e.getParentNode(1);return r&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===r.type&&"JSXIdentifier"===r.name.type&&"css"===r.name.name}function b(e){return"Identifier"===e.type&&"styled"===e.name}function v(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function x(e){let t=e.getValue(),r=e.getParentNode();return R(t,"GraphQL")||r&&("TaggedTemplateExpression"===r.type&&("MemberExpression"===r.tag.type&&"graphql"===r.tag.object.name&&"experimental"===r.tag.property.name||"Identifier"===r.tag.type&&("gql"===r.tag.name||"graphql"===r.tag.name))||"CallExpression"===r.type&&"Identifier"===r.callee.type&&"graphql"===r.callee.name)}function R(e,t){return r(e,a.Block|a.Leading,(e=>{let{value:r}=e;return r===` ${t} `}))}function E(e){return R(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}function w(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}t.exports=u}}),gr=x({"src/language-js/clean.js"(e,t){D();var r=ir(),a=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),n=e=>{for(let t of e.quasis)delete t.value};function s(e,t,a){if("Program"===e.type&&delete t.sourceType,("BigIntLiteral"===e.type||"BigIntLiteralTypeAnnotation"===e.type)&&t.value&&(t.value=t.value.toLowerCase()),("BigIntLiteral"===e.type||"Literal"===e.type)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if(("Property"===e.type||"ObjectProperty"===e.type||"MethodDefinition"===e.type||"ClassProperty"===e.type||"ClassMethod"===e.type||"PropertyDefinition"===e.type||"TSDeclareMethod"===e.type||"TSPropertySignature"===e.type||"ObjectTypeProperty"===e.type)&&"object"==typeof e.key&&e.key&&("Literal"===e.key.type||"NumericLiteral"===e.key.type||"StringLiteral"===e.key.type||"Identifier"===e.key.type)&&delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name)))for(let{type:e,expression:r}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===r.type&&n(r);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&n(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));let s=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===s.type&&"Component"===s.callee.name&&1===s.arguments.length){let r=e.expression.arguments[0].properties;for(let[e,a]of t.expression.arguments[0].properties.entries())switch(r[e].key.name){case"styles":"ArrayExpression"===a.value.type&&n(a.value.elements[0]);break;case"template":"TemplateLiteral"===a.value.type&&n(a.value)}}var i;return"TaggedTemplateExpression"===e.type&&("MemberExpression"===e.tag.type||"Identifier"===e.tag.type&&("gql"===e.tag.name||"graphql"===e.tag.name||"css"===e.tag.name||"md"===e.tag.name||"markdown"===e.tag.name||"html"===e.tag.name)||"CallExpression"===e.tag.type)&&n(t.quasi),"TemplateLiteral"===e.type&&((null===(i=e.leadingComments)||void 0===i?void 0:i.some((e=>r(e)&&["GraphQL","HTML"].some((t=>e.value===` ${t} `)))))||"CallExpression"===a.type&&"graphql"===a.callee.name||!e.leadingComments)&&n(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}s.ignoredProperties=a,t.exports=s}}),mr={};function yr(){if(typeof kr>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])kr="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");kr="LE"}}return kr}function br(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function vr(){return[]}function xr(){return 0}function Rr(){return Number.MAX_VALUE}function Er(){return Number.MAX_VALUE}function wr(){return[]}function Sr(){return"Browser"}function Dr(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function jr(){}function Tr(){}function Cr(){return"javascript"}function Ar(){return"browser"}function Pr(){return"/tmp"}R(mr,{EOL:()=>Or,arch:()=>Cr,cpus:()=>wr,default:()=>_r,endianness:()=>yr,freemem:()=>Rr,getNetworkInterfaces:()=>Tr,hostname:()=>br,loadavg:()=>vr,networkInterfaces:()=>jr,platform:()=>Ar,release:()=>Dr,tmpDir:()=>Pr,tmpdir:()=>Ir,totalmem:()=>Er,type:()=>Sr,uptime:()=>xr});var kr,Ir,Or,_r,Nr=v({"node-modules-polyfills:os"(){D(),_r={EOL:Or="\n",tmpdir:Ir=Pr,tmpDir:Pr,networkInterfaces:jr,getNetworkInterfaces:Tr,release:Dr,type:Sr,cpus:wr,totalmem:Er,freemem:Rr,uptime:xr,loadavg:vr,hostname:br,endianness:yr}}}),Fr=x({"node-modules-polyfills-commonjs:os"(e,t){D();var r=(Nr(),S(mr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Br=x({"node_modules/detect-newline/index.js"(e,t){D();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),Mr=x({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=Fr();return t=function(){return e},e}function r(){let e=a(Br());return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}D(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=f,e.parse=g,e.parseWithComments=m,e.print=y,e.strip=h;var n=/\*\/$/,s=/^\/\*\*?/,i=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,d=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,c=/(\r?\n|^) *\* ?/g,p=[];function f(e){let t=e.match(i);return t?t[0].trimLeft():""}function h(e){let t=e.match(i);return t&&t[0]?e.substring(t[0].length):e}function g(e){return m(e).pragmas}function m(e){let a=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(n,"").replace(c,"$1");let i="";for(;i!==e;)i=e,e=e.replace(l,`${a}$1 $2${a}`);e=e.replace(d,"").trimRight();let f,h=Object.create(null),g=e.replace(u,"").replace(d,"").trimRight();for(;f=u.exec(e);){let e=f[2].replace(o,"");"string"==typeof h[f[1]]||Array.isArray(h[f[1]])?h[f[1]]=p.concat(h[f[1]],e):h[f[1]]=e}return{comments:g,pragmas:h}}function y(e){let{comments:a="",pragmas:n={}}=e,s=(0,r().default)(a)||t().EOL,i="/**",o=" *",d=" */",l=Object.keys(n),u=l.map((e=>b(e,n[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${o} ${e}${s}`)).join("");if(!a){if(0===l.length)return"";if(1===l.length&&!Array.isArray(n[l[0]])){let e=n[l[0]];return`${i} ${b(l[0],e)[0]}${d}`}}let c=a.split(s).map((e=>`${o} ${e}`)).join(s)+s;return i+s+(a?c:"")+(a&&l.length?o+s:"")+u+d}function b(e,t){return p.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),Lr=x({"src/language-js/utils/get-shebang.js"(e,t){function r(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}D(),t.exports=r}}),Ur=x({"src/language-js/pragma.js"(e,t){D();var{parseWithComments:r,strip:a,extract:n,print:s}=Mr(),{normalizeEndOfLine:i}=P(),o=Lr();function d(e){let t=o(e);t&&(e=e.slice(t.length+1));let a=n(e),{pragmas:s,comments:i}=r(a);return{shebang:t,text:e,pragmas:s,comments:i}}function l(e){let t=Object.keys(d(e).pragmas);return t.includes("prettier")||t.includes("format")}function u(e){let{shebang:t,text:r,pragmas:n,comments:o}=d(e),l=a(r),u=s({pragmas:Object.assign({format:""},n),comments:o.trimStart()});return(t?`${t}\n`:"")+i(u)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:u}}}),Wr=x({"src/language-js/utils/is-type-cast-comment.js"(e,t){D();var r=ir();function a(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}t.exports=a}}),zr=x({"src/language-js/comments.js"(e,t){D();var{getLast:r,hasNewline:a,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:n,getNextNonSpaceNonCommentCharacter:s,hasNewlineInRange:i,addLeadingComment:o,addTrailingComment:d,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:u,isNonEmptyArray:c}=me(),{getFunctionParameters:p,isPrettierIgnoreComment:f,isJsxNode:h,hasFlowShorthandAnnotationComment:g,hasFlowAnnotationComment:m,hasIgnoreComment:y,isCallLikeExpression:b,getCallArguments:v,isCallExpression:x,isMemberExpression:R,isObjectProperty:E,isLineComment:w,getComments:S,CommentCheckFlags:j,markerForIfWithoutBlockAndSameLineComment:T}=dr(),{locStart:C,locEnd:A}=Ut(),P=ir(),k=Wr();function I(e){return[pe,Q,W,M,L,U,G,se,re,ne,ie,oe,K,Z,ee].some((t=>t(e)))}function O(e){return[B,Q,z,ie,M,L,U,G,Z,te,ae,ne,ue,ee,he].some((t=>t(e)))}function _(e){return[pe,M,L,V,Y,K,ne,X,J,fe,ee,ce].some((t=>t(e)))}function N(e,t){let r=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));r?o(r,t):l(e,t)}function F(e,t){"BlockStatement"===e.type?N(e,t):o(e,t)}function B(e){let{comment:t,followingNode:r}=e;return!(!r||!k(t)||(o(r,t),0))}function M(e){let{comment:t,precedingNode:r,enclosingNode:a,followingNode:n,text:i}=e;if("IfStatement"!==(null==a?void 0:a.type)||!n)return!1;if(")"===s(i,t,A))return d(r,t),!0;if(r===a.consequent&&n===a.alternate){if("BlockStatement"===r.type)d(r,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,n=t.loc.start.line===r.loc.start.line;e&&n?l(r,t,T):l(a,t)}return!0}return"BlockStatement"===n.type?(N(n,t),!0):"IfStatement"===n.type?(F(n.consequent,t),!0):a.consequent===n&&(o(n,t),!0)}function L(e){let{comment:t,precedingNode:r,enclosingNode:a,followingNode:n,text:i}=e;return!("WhileStatement"!==(null==a?void 0:a.type)||!n||(")"===s(i,t,A)?(d(r,t),0):"BlockStatement"===n.type?(N(n,t),0):a.body!==n||(o(n,t),0)))}function U(e){let{comment:t,precedingNode:r,enclosingNode:a,followingNode:n}=e;return!("TryStatement"!==(null==a?void 0:a.type)&&"CatchClause"!==(null==a?void 0:a.type)||!n||("CatchClause"===a.type&&r?(d(r,t),0):"BlockStatement"===n.type?(N(n,t),0):"TryStatement"===n.type?(F(n.finalizer,t),0):"CatchClause"!==n.type||(F(n.body,t),0)))}function W(e){let{comment:t,enclosingNode:r,followingNode:a}=e;return!(!R(r)||"Identifier"!==(null==a?void 0:a.type)||(o(r,t),0))}function z(e){let{comment:t,precedingNode:r,enclosingNode:a,followingNode:n,text:s}=e,d=r&&!i(s,A(r),C(t));return!(r&&d||"ConditionalExpression"!==(null==a?void 0:a.type)&&"TSConditionalType"!==(null==a?void 0:a.type)||!n||(o(n,t),0))}function V(e){let{comment:t,precedingNode:r,enclosingNode:a}=e;return!(!E(a)||!a.shorthand||a.key!==r||"AssignmentPattern"!==a.value.type||(d(a.value.left,t),0))}var q=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function G(e){let{comment:t,precedingNode:a,enclosingNode:n,followingNode:s}=e;if(q.has(null==n?void 0:n.type)){if(c(n.decorators)&&(!s||"Decorator"!==s.type))return d(r(n.decorators),t),!0;if(n.body&&s===n.body)return N(n.body,t),!0;if(s){if(n.superClass&&s===n.superClass&&a&&(a===n.id||a===n.typeParameters))return d(a,t),!0;for(let e of["implements","extends","mixins"])if(n[e]&&s===n[e][0])return!a||a!==n.id&&a!==n.typeParameters&&a!==n.superClass?l(n,t,e):d(a,t),!0}}return!1}var H=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function K(e){let{comment:t,precedingNode:r,enclosingNode:a,text:n}=e;return!!(a&&r&&"("===s(n,t,A)&&("Property"===a.type||"TSDeclareMethod"===a.type||"TSAbstractMethodDefinition"===a.type)&&"Identifier"===r.type&&a.key===r&&":"!==s(n,r,A)||"Decorator"===(null==r?void 0:r.type)&&H.has(null==a?void 0:a.type))&&(d(r,t),!0)}var $=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function J(e){let{comment:t,precedingNode:r,enclosingNode:a,text:n}=e;return!("("!==s(n,t,A)||!r||!$.has(null==a?void 0:a.type)||(d(r,t),0))}function X(e){let{comment:t,enclosingNode:r,text:a}=e;if("ArrowFunctionExpression"!==(null==r?void 0:r.type))return!1;let n=u(a,t,A);return!1!==n&&"=>"===a.slice(n,n+2)&&(l(r,t),!0)}function Y(e){let{comment:t,enclosingNode:r,text:a}=e;return!(")"!==s(a,t,A)||(r&&(ge(r)&&0===p(r).length||b(r)&&0===v(r).length)?(l(r,t),0):"MethodDefinition"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||0!==p(r.value).length||(l(r.value,t),0)))}function Q(e){let{comment:t,precedingNode:a,enclosingNode:i,followingNode:o,text:l}=e;if("FunctionTypeParam"===(null==a?void 0:a.type)&&"FunctionTypeAnnotation"===(null==i?void 0:i.type)&&"FunctionTypeParam"!==(null==o?void 0:o.type)||("Identifier"===(null==a?void 0:a.type)||"AssignmentPattern"===(null==a?void 0:a.type))&&i&&ge(i)&&")"===s(l,t,A))return d(a,t),!0;if("FunctionDeclaration"===(null==i?void 0:i.type)&&"BlockStatement"===(null==o?void 0:o.type)){let e=(()=>{let e=p(i);if(e.length>0)return n(l,A(r(e)));let t=n(l,A(i.id));return!1!==t&&n(l,t+1)})();if(C(t)>e)return N(o,t),!0}return!1}function Z(e){let{comment:t,enclosingNode:r}=e;return"LabeledStatement"===(null==r?void 0:r.type)&&(o(r,t),!0)}function ee(e){let{comment:t,enclosingNode:r}=e;return!("ContinueStatement"!==(null==r?void 0:r.type)&&"BreakStatement"!==(null==r?void 0:r.type)||r.label||(d(r,t),0))}function te(e){let{comment:t,precedingNode:r,enclosingNode:a}=e;return!!(x(a)&&r&&a.callee===r&&a.arguments.length>0)&&(o(a.arguments[0],t),!0)}function re(e){let{comment:t,precedingNode:r,enclosingNode:a,followingNode:n}=e;return"UnionTypeAnnotation"===(null==a?void 0:a.type)||"TSUnionType"===(null==a?void 0:a.type)?(f(t)&&(n.prettierIgnore=!0,t.unignore=!0),!!r&&(d(r,t),!0)):(("UnionTypeAnnotation"===(null==n?void 0:n.type)||"TSUnionType"===(null==n?void 0:n.type))&&f(t)&&(n.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function ae(e){let{comment:t,enclosingNode:r}=e;return!!E(r)&&(o(r,t),!0)}function ne(e){let{comment:t,enclosingNode:r,followingNode:a,ast:n,isLastComment:s}=e;return n&&n.body&&0===n.body.length?(s?l(n,t):o(n,t),!0):"Program"!==(null==r?void 0:r.type)||0!==(null==r?void 0:r.body.length)||c(r.directives)?"Program"===(null==a?void 0:a.type)&&0===(null==a?void 0:a.body.length)&&"ModuleExpression"===(null==r?void 0:r.type)&&(l(a,t),!0):(s?l(r,t):o(r,t),!0)}function se(e){let{comment:t,enclosingNode:r}=e;return("ForInStatement"===(null==r?void 0:r.type)||"ForOfStatement"===(null==r?void 0:r.type))&&(o(r,t),!0)}function ie(e){let{comment:t,precedingNode:r,enclosingNode:n,text:s}=e;if("ImportSpecifier"===(null==n?void 0:n.type)||"ExportSpecifier"===(null==n?void 0:n.type))return o(n,t),!0;let i="ImportSpecifier"===(null==r?void 0:r.type)&&"ImportDeclaration"===(null==n?void 0:n.type),l="ExportSpecifier"===(null==r?void 0:r.type)&&"ExportNamedDeclaration"===(null==n?void 0:n.type);return!(!i&&!l||!a(s,A(t))||(d(r,t),0))}function oe(e){let{comment:t,enclosingNode:r}=e;return"AssignmentPattern"===(null==r?void 0:r.type)&&(o(r,t),!0)}var de=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),le=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ue(e){let{comment:t,enclosingNode:r,followingNode:a}=e;return!(!de.has(null==r?void 0:r.type)||!a||!le.has(a.type)&&!P(t)||(o(a,t),0))}function ce(e){let{comment:t,enclosingNode:r,followingNode:a,text:n}=e;return!(a||"TSMethodSignature"!==(null==r?void 0:r.type)&&"TSDeclareFunction"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||";"!==s(n,t,A)||(d(r,t),0))}function pe(e){let{comment:t,enclosingNode:r,followingNode:a}=e;if(f(t)&&"TSMappedType"===(null==r?void 0:r.type)&&"TSTypeParameter"===(null==a?void 0:a.type)&&a.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function fe(e){let{comment:t,precedingNode:r,enclosingNode:a,followingNode:n}=e;return!("TSMappedType"!==(null==a?void 0:a.type)||("TSTypeParameter"===(null==n?void 0:n.type)&&n.name?(o(n.name,t),0):"TSTypeParameter"!==(null==r?void 0:r.type)||!r.constraint||(d(r.constraint,t),0)))}function he(e){let{comment:t,enclosingNode:r,followingNode:a}=e;return!(!r||"SwitchCase"!==r.type||r.test||!a||a!==r.consequent[0]||("BlockStatement"===a.type&&w(t)?N(a,t):l(r,t),0))}function ge(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function ye(e,t){if(("typescript"===t.parser||"flow"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===p(e.value).length&&!e.value.returnType&&!c(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function be(e){let t=e.getValue(),r=e.getParentNode(),a=e=>m(S(e,j.Leading))||m(S(e,j.Trailing));return(t&&(h(t)||g(t)||x(r)&&a(t))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!y(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)}t.exports={handleOwnLineComment:I,handleEndOfLineComment:O,handleRemainingComment:_,getCommentChildNodes:ye,willPrintOwnComments:be}}}),Vr=x({"src/language-js/needs-parens.js"(e,t){D();var r=k(),a=ue(),{getFunctionParameters:n,getLeftSidePathName:s,hasFlowShorthandAnnotationComment:i,hasNakedLeftSide:o,hasNode:d,isBitwiseOperator:l,startsWithNoLookaheadToken:u,shouldFlatten:c,getPrecedence:p,isCallExpression:f,isMemberExpression:h,isObjectProperty:g,isTSTypeExpression:m}=dr();function y(e,t){let r=e.getParentNode();if(!r)return!1;let s=e.getName(),o=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&R(o)&&E(e))return!0;if(b(o))return!1;if("flow"!==t.parser&&i(e.getValue()))return!0;if("Identifier"===o.type){if(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name)||"left"===s&&("async"===o.name&&!r.await||"let"===o.name)&&"ForOfStatement"===r.type)return!0;if("let"===o.name){var d;let t=null===(d=e.findAncestor((e=>"ForOfStatement"===e.type)))||void 0===d?void 0:d.left;if(t&&u(t,(e=>e===o)))return!0}if("object"===s&&"let"===o.name&&"MemberExpression"===r.type&&r.computed&&!r.optional){let t=e.findAncestor((e=>"ExpressionStatement"===e.type||"ForStatement"===e.type||"ForInStatement"===e.type)),r=t?"ExpressionStatement"===t.type?t.expression:"ForStatement"===t.type?t.init:t.left:void 0;if(r&&u(r,(e=>e===o)))return!0}return!1}if("ObjectExpression"===o.type||"FunctionExpression"===o.type||"ClassExpression"===o.type||"DoExpression"===o.type){var y;let t=null===(y=e.findAncestor((e=>"ExpressionStatement"===e.type)))||void 0===y?void 0:y.expression;if(t&&u(t,(e=>e===o)))return!0}switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===s&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type||"TSNonNullExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return w(e,t)||"SequenceExpression"===o.type;case"Decorator":if("expression"===s){if(h(o)&&o.computed)return!0;let e=!1,r=!1,a=o;for(;a;)switch(a.type){case"MemberExpression":r=!0,a=a.object;break;case"CallExpression":if(r||e)return"typescript"!==t.parser;e=!0,a=a.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===s&&"SequenceExpression"!==o.type&&u(o,(e=>"ObjectExpression"===e.type)))return!0}switch(o.type){case"UpdateExpression":if("UnaryExpression"===r.type)return o.prefix&&("++"===o.operator&&"+"===r.operator||"--"===o.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return o.operator===r.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"BinaryExpression":return"left"===s&&"**"===r.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===r.type||"in"===o.operator&&v(e))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){let t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(r.type){case"TSSatisfiesExpression":case"TSAsExpression":return!m(o);case"ConditionalExpression":return m(o);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===s;case"ClassExpression":case"ClassDeclaration":return"superClass"===s;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"object"===s;case"AssignmentExpression":case"AssignmentPattern":return"left"===s&&("TSTypeAssertion"===o.type||m(o));case"LogicalExpression":if("LogicalExpression"===o.type)return r.operator!==o.operator;case"BinaryExpression":{let{operator:e,type:t}=o;if(!e&&"TSTypeAssertion"!==t)return!0;let a=p(e),n=r.operator,i=p(n);return i>a||"right"===s&&i===a||i===a&&!c(n,e)||(i"===r.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===s&&"TSConditionalType"===r.type){if("TSConditionalType"===o.type)return!0;let{typeAnnotation:e}=o.returnType||o.typeAnnotation;if("TSTypePredicate"===e.type&&e.typeAnnotation&&(e=e.typeAnnotation.typeAnnotation),"TSInferType"===e.type&&e.typeParameter.constraint)return!0}if("checkType"===s&&"TSConditionalType"===r.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===r.type||"TSIntersectionType"===r.type)&&r.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===r.type)return!1;case"TSTypeOperator":return"TSArrayType"===r.type||"TSOptionalType"===r.type||"TSRestType"===r.type||"objectType"===s&&"TSIndexedAccessType"===r.type||"TSTypeOperator"===r.type||"TSTypeAnnotation"===r.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===s&&"TSIndexedAccessType"===r.type||"elementType"===s&&"TSArrayType"===r.type;case"TypeofTypeAnnotation":return"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type)||"elementType"===s&&"ArrayTypeAnnotation"===r.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===r.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"NullableTypeAnnotation"===r.type||"IntersectionTypeAnnotation"===r.type||"UnionTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"FunctionTypeAnnotation":{let t="NullableTypeAnnotation"===r.type?e.getParentNode(1):r;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===s&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===r.type&&null===r.name&&n(o).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===s&&"IndexedAccessType"===r.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===r.type&&!r.directive){let t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===s&&"MemberExpression"===r.type&&"number"==typeof o.value;case"AssignmentExpression":{let t=e.getParentNode(1);return"body"===s&&"ArrowFunctionExpression"===r.type||("key"!==s||"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type||!r.computed)&&("init"!==s&&"update"!==s||"ForStatement"!==r.type)&&("ExpressionStatement"===r.type?"ObjectPattern"===o.left.type:!("key"===s&&"TSPropertySignature"===r.type||"AssignmentExpression"===r.type||"SequenceExpression"===r.type&&t&&"ForStatement"===t.type&&(t.init===r||t.update===r)||"value"===s&&"Property"===r.type&&t&&"ObjectPattern"===t.type&&t.properties.includes(r)||"NGChainedExpression"===r.type))}case"ConditionalExpression":switch(r.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"callee"===s;case"ConditionalExpression":return"test"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"BinaryExpression":return"|>"!==r.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===s;default:return!1}case"ClassExpression":return!!a(o.decorators)||"NewExpression"===r.type&&"callee"===s;case"OptionalMemberExpression":case"OptionalCallExpression":{let t=e.getParentNode(1);if("object"===s&&"MemberExpression"===r.type||"callee"===s&&("CallExpression"===r.type||"NewExpression"===r.type)||"TSNonNullExpression"===r.type&&"MemberExpression"===t.type&&t.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===s&&("BindExpression"===r.type||"NewExpression"===r.type)){let e=o;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===s&&("BindExpression"===r.type||"NewExpression"===r.type)||"object"===s&&h(r);case"NGPipeExpression":return!("NGRoot"===r.type||"NGMicrosyntaxExpression"===r.type||"ObjectProperty"===r.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===r.type||f(r)&&r.arguments[s]===o||"right"===s&&"NGPipeExpression"===r.type||"property"===s&&"MemberExpression"===r.type||"AssignmentExpression"===r.type);case"JSXFragment":case"JSXElement":return"callee"===s||"left"===s&&"BinaryExpression"===r.type&&"<"===r.operator||"ArrayExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"AssignmentExpression"!==r.type&&"AssignmentPattern"!==r.type&&"BinaryExpression"!==r.type&&"NewExpression"!==r.type&&"ConditionalExpression"!==r.type&&"ExpressionStatement"!==r.type&&"JsExpressionRoot"!==r.type&&"JSXAttribute"!==r.type&&"JSXElement"!==r.type&&"JSXExpressionContainer"!==r.type&&"JSXFragment"!==r.type&&"LogicalExpression"!==r.type&&!f(r)&&!g(r)&&"ReturnStatement"!==r.type&&"ThrowStatement"!==r.type&&"TypeCastExpression"!==r.type&&"VariableDeclarator"!==r.type&&"YieldExpression"!==r.type;case"TypeAnnotation":return"returnType"===s&&"ArrowFunctionExpression"===r.type&&x(o)}return!1}function b(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}function v(e){let t=0,r=e.getValue();for(;r;){let a=e.getParentNode(t++);if(a&&"ForStatement"===a.type&&a.init===r)return!0;r=a}return!1}function x(e){return d(e,(e=>"ObjectTypeAnnotation"===e.type&&d(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}function R(e){return"ObjectExpression"===e.type}function E(e){let t=e.getValue(),a=e.getParentNode(),n=e.getName();switch(a.type){case"NGPipeExpression":if("number"==typeof n&&a.arguments[n]===t&&a.arguments.length-1===n)return e.callParent(E);break;case"ObjectProperty":if("value"===n){let t=e.getParentNode(1);return r(t.properties)===a}break;case"BinaryExpression":case"LogicalExpression":if("right"===n)return e.callParent(E);break;case"ConditionalExpression":if("alternate"===n)return e.callParent(E);break;case"UnaryExpression":if(a.prefix)return e.callParent(E)}return!1}function w(e,t){let r=e.getValue(),a=e.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===a.type||!y(e,t):!(!o(r)||"ExportDefaultDeclaration"!==a.type&&y(e,t))&&e.call((e=>w(e,t)),...s(e,r))}t.exports=y}}),qr=x({"src/language-js/print-preprocess.js"(e,t){function r(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}}D(),t.exports=r}}),Gr=x({"src/language-js/print/html-binding.js"(e,t){D();var{builders:{join:r,line:a,group:n,softline:s,indent:i}}=K();function o(e,t,o){let d=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(d,t),"File"===d.type){if(t.__isVueForBindingLeft)return e.call((e=>{let t=r([",",a],e.map(o,"params")),{params:d}=e.getValue();return 1===d.length?t:["(",i([s,n(t)]),s,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((e=>r([",",a],e.map(o,"params"))),"program","body",0)}}function d(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return d(e.object)}return!1;case"Identifier":return!0;default:return!1}}t.exports={isVueEventBindingExpression:d,printHtmlBinding:o}}}),Hr=x({"src/language-js/print/binaryish.js"(e,t){D();var{printComments:r}=$t(),{getLast:a}=me(),{builders:{join:n,line:s,softline:i,group:o,indent:d,align:l,indentIfBreak:u},utils:{cleanDoc:c,getDocParts:p,isConcat:f}}=K(),{hasLeadingOwnLineComment:h,isBinaryish:g,isJsxNode:m,shouldFlatten:y,hasComment:b,CommentCheckFlags:v,isCallExpression:x,isMemberExpression:R,isObjectProperty:E,isEnabledHackPipeline:w}=dr(),S=0;function j(e,t,r){let n=e.getValue(),s=e.getParentNode(),l=e.getParentNode(1),c=n!==s.body&&("IfStatement"===s.type||"WhileStatement"===s.type||"SwitchStatement"===s.type||"DoWhileStatement"===s.type),p=w(t)&&"|>"===n.operator,f=T(e,r,t,!1,c);if(c)return f;if(p)return o(f);if(x(s)&&s.callee===n||"UnaryExpression"===s.type||R(s)&&!s.computed)return o([d([i,...f]),i]);let h="ReturnStatement"===s.type||"ThrowStatement"===s.type||"JSXExpressionContainer"===s.type&&"JSXAttribute"===l.type||"|"!==n.operator&&"JsExpressionRoot"===s.type||"NGPipeExpression"!==n.type&&("NGRoot"===s.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===s.type&&"NGMicrosyntax"===l.type&&1===l.body.length)||n===s.body&&"ArrowFunctionExpression"===s.type||n!==s.body&&"ForStatement"===s.type||"ConditionalExpression"===s.type&&"ReturnStatement"!==l.type&&"ThrowStatement"!==l.type&&!x(l)||"TemplateLiteral"===s.type,b="AssignmentExpression"===s.type||"VariableDeclarator"===s.type||"ClassProperty"===s.type||"PropertyDefinition"===s.type||"TSAbstractPropertyDefinition"===s.type||"ClassPrivateProperty"===s.type||E(s),v=g(n.left)&&y(n.operator,n.left.operator);if(h||C(n)&&!v||!C(n)&&b)return o(f);if(0===f.length)return"";let D=m(n.right),j=f.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),A=f.slice(0,-1===j?1:j+1),P=f.slice(A.length,D?-1:void 0),k=Symbol("logicalChain-"+ ++S),I=o([...A,d(P)],{id:k});if(!D)return I;let O=a(f);return o([I,u(O,{groupId:k})])}function T(e,t,a,i,u){let m=e.getValue();if(!g(m))return[o(t())];let x=[];y(m.operator,m.left.operator)?x=e.call((e=>T(e,t,a,!0,u)),"left"):x.push(o(t("left")));let R,E=C(m),S=("|>"===m.operator||"NGPipeExpression"===m.type||"|"===m.operator&&"__vue_expression"===a.parser)&&!h(a.originalText,m.right),D="NGPipeExpression"===m.type?"|":m.operator,j="NGPipeExpression"===m.type&&m.arguments.length>0?o(d([s,": ",n([s,": "],e.map(t,"arguments").map((e=>l(2,o(e)))))])):"";if(E)R=[D," ",t("right"),j];else{let r=w(a)&&"|>"===D?e.call((e=>T(e,t,a,!0,u)),"right"):t("right");R=[S?s:"",D,S?" ":s,r,j]}let A=e.getParentNode(),P=b(m.left,v.Trailing|v.Line),k=P||!(u&&"LogicalExpression"===m.type)&&A.type!==m.type&&m.left.type!==m.type&&m.right.type!==m.type;if(x.push(S?"":" ",k?o(R,{shouldBreak:P}):R),i&&b(m)){let t=c(r(e,x,a));return f(t)||"fill"===t.type?p(t):[t]}return x}function C(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||m(e.right))}t.exports={printBinaryishExpression:j,shouldInlineLogicalExpression:C}}}),Kr=x({"src/language-js/print/angular.js"(e,t){D();var{builders:{join:r,line:a,group:n}}=K(),{hasNode:s,hasComment:i,getComments:o}=dr(),{printBinaryishExpression:d}=Hr();function l(e,t,s){let l=e.getValue();if(l.type.startsWith("NG"))switch(l.type){case"NGRoot":return[s("node"),i(l.node)?" //"+o(l.node)[0].value.trimEnd():""];case"NGPipeExpression":return d(e,t,s);case"NGChainedExpression":return n(r([";",a],e.map((e=>c(e)?s():["(",s(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[l.prefix,": ",l.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":u(e.getValue(),t,l)?" ":[";",a],s()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(l.name)?l.name:JSON.stringify(l.name);case"NGMicrosyntaxExpression":return[s("expression"),null===l.alias?"":[" as ",s("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),r=e.getParentNode(),a=u(l,t,r)||(1===t&&("then"===l.key.name||"else"===l.key.name)||2===t&&"else"===l.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return[s("key"),a?" ":": ",s("expression")]}case"NGMicrosyntaxLet":return["let ",s("key"),null===l.value?"":[" = ",s("value")]];case"NGMicrosyntaxAs":return[s("key")," as ",s("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(l.type)}.`)}}function u(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.body[0].value}function c(e){return s(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}t.exports={printAngular:l}}}),$r=x({"src/language-js/print/jsx.js"(e,t){D();var{printComments:r,printDanglingComments:a,printCommentsSeparately:n}=$t(),{builders:{line:s,hardline:i,softline:o,group:d,indent:l,conditionalGroup:u,fill:c,ifBreak:p,lineSuffixBoundary:f,join:h},utils:{willBreak:g}}=K(),{getLast:m,getPreferredQuote:y}=me(),{isJsxNode:b,rawText:v,isCallExpression:x,isStringLiteral:R,isBinaryish:E,hasComment:w,CommentCheckFlags:S,hasNodeIgnoreComment:j}=dr(),T=Vr(),{willPrintOwnComments:C}=zr(),A=e=>""===e||e===s||e===i||e===o;function P(e,t,r){let a=e.getValue();if("JSXElement"===a.type&&Y(a))return[r("openingElement"),r("closingElement")];let n="JSXElement"===a.type?r("openingElement"):r("openingFragment"),s="JSXElement"===a.type?r("closingElement"):r("closingFragment");if(1===a.children.length&&"JSXExpressionContainer"===a.children[0].type&&("TemplateLiteral"===a.children[0].expression.type||"TaggedTemplateExpression"===a.children[0].expression.type))return[n,...e.map(r,"children"),s];a.children=a.children.map((e=>Z(e)?{type:"JSXText",value:" ",raw:" "}:e));let f=a.children.some(b),h=a.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,y="JSXElement"===a.type&&a.openingElement.attributes.length>1,v=g(n)||f||y||h,x="mdx"===e.getParentNode().rootMarker,R=t.singleQuote?"{' '}":'{" "}',E=x?" ":p([R,o]," "),w=k(e,t,r,E,a.openingElement&&a.openingElement.name&&"fbt"===a.openingElement.name.name),S=a.children.some((e=>Q(e)));for(let e=w.length-2;e>=0;e--){let t=""===w[e]&&""===w[e+1],r=w[e]===i&&""===w[e+1]&&w[e+2]===i,a=(w[e]===o||w[e]===i)&&""===w[e+1]&&w[e+2]===E,n=w[e]===E&&""===w[e+1]&&(w[e+2]===o||w[e+2]===i),s=w[e]===E&&""===w[e+1]&&w[e+2]===E,d=w[e]===o&&""===w[e+1]&&w[e+2]===i||w[e]===i&&""===w[e+1]&&w[e+2]===o;r&&S||t||a||s||d?w.splice(e,2):n&&w.splice(e+1,2)}for(;w.length>0&&A(m(w));)w.pop();for(;w.length>1&&A(w[0])&&A(w[1]);)w.shift(),w.shift();let D=[];for(let[e,t]of w.entries()){if(t===E){if(1===e&&""===w[e-1]){if(2===w.length){D.push(R);continue}D.push([R,i]);continue}if(e===w.length-1){D.push(R);continue}if(""===w[e-1]&&w[e-2]===i){D.push(R);continue}}D.push(t),g(t)&&(v=!0)}let j=S?c(D):d(D,{shouldBreak:!0});if(x)return j;let T=d([n,l([i,j]),i,s]);return v?T:u([d([n,...w,s]),T])}function k(e,t,r,a,n){let o=[];return e.each(((e,t,d)=>{let l=e.getValue();if("JSXText"===l.type){let e=v(l);if(Q(l)){let r,i=e.split($);if(""===i[0]){if(o.push(""),i.shift(),/\n/.test(i[0])){let e=d[t+1];o.push(O(n,i[1],l,e))}else o.push(a);i.shift()}if(""===m(i)&&(i.pop(),r=i.pop()),0===i.length)return;for(let[e,t]of i.entries())e%2==1?o.push(s):o.push(t);if(void 0!==r)if(/\n/.test(r)){let e=d[t+1];o.push(O(n,m(o),l,e))}else o.push(a);else{let e=d[t+1];o.push(I(n,m(o),l,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&o.push("",i):o.push("",a)}else{let e=r();o.push(e);let a=d[t+1];if(a&&Q(a)){let e=X(v(a)).split($)[0];o.push(I(n,e,l,a))}else o.push(i)}}),"children"),o}function I(e,t,r,a){return e?"":"JSXElement"===r.type&&!r.closingElement||a&&"JSXElement"===a.type&&!a.closingElement?1===t.length?o:i:o}function O(e,t,r,a){return e?i:1===t.length?"JSXElement"===r.type&&!r.closingElement||a&&"JSXElement"===a.type&&!a.closingElement?i:o:i}function _(e,t,r){let a=e.getParentNode();if(!a||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[a.type])return t;let n=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),x,(e=>"JSXExpressionContainer"===e.type)),s=T(e,r);return d([s?"":p("("),l([o,t]),o,s?"":p(")")],{shouldBreak:n})}function N(e,t,r){let a=e.getValue(),s=[];if(s.push(r("name")),a.value){let i;if(R(a.value)){let r=v(a.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:s,quote:o,regex:d}=y(r,t.jsxSingleQuote?"'":'"');r=r.replace(d,s);let{leading:l,trailing:u}=e.call((()=>n(e,t)),"value");i=[l,o,r,o,u]}else i=r("value");s.push("=",i)}return s}function F(e,t,r){let a=e.getValue(),n=(e,t)=>"JSXEmptyExpression"===e.type||!w(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(n(e.argument,e)||"JSXElement"===e.argument.type)||x(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||b(t)&&("ConditionalExpression"===e.type||E(e)));return n(a.expression,e.getParentNode(0))?d(["{",r("expression"),f,"}"]):d(["{",l([o,r("expression")]),o,f,"}"])}function B(e,t,r){let a=e.getValue(),n=a.name&&w(a.name)||a.typeParameters&&w(a.typeParameters);if(a.selfClosing&&0===a.attributes.length&&!n)return["<",r("name"),r("typeParameters")," />"];if(a.attributes&&1===a.attributes.length&&a.attributes[0].value&&R(a.attributes[0].value)&&!a.attributes[0].value.value.includes("\n")&&!n&&!w(a.attributes[0]))return d(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),a.selfClosing?" />":">"]);let o=a.attributes&&a.attributes.some((e=>e.value&&R(e.value)&&e.value.value.includes("\n"))),u=t.singleAttributePerLine&&a.attributes.length>1?i:s;return d(["<",r("name"),r("typeParameters"),l(e.map((()=>[u,r()]),"attributes")),...M(a,t,n)],{shouldBreak:o})}function M(e,t,r){return e.selfClosing?[s,"/>"]:L(e,t,r)?[">"]:[o,">"]}function L(e,t,r){let a=e.attributes.length>0&&w(m(e.attributes),S.Trailing);return 0===e.attributes.length&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!a}function U(e,t,r){let a=e.getValue(),n=[];n.push(""),n}function W(e,t){let r=e.getValue(),n=w(r),s=w(r,S.Line),o="JSXOpeningFragment"===r.type;return[o?"<":""]}function z(e,t,a){return _(e,r(e,P(e,t,a),t),t)}function V(e,t){let r=e.getValue(),n=w(r,S.Line);return[a(e,t,!n),n?i:""]}function q(e,t,a){let n=e.getValue();return["{",e.call((e=>{let n=["...",a()],s=e.getValue();return w(s)&&C(e)?[l([o,r(e,n,t)]),o]:n}),"JSXSpreadAttribute"===n.type?"argument":"expression"),"}"]}function G(e,t,r){let a=e.getValue();if(a.type.startsWith("JSX"))switch(a.type){case"JSXAttribute":return N(e,t,r);case"JSXIdentifier":return String(a.name);case"JSXNamespacedName":return h(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return h(".",[r("object"),r("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return q(e,t,r);case"JSXExpressionContainer":return F(e,t,r);case"JSXFragment":case"JSXElement":return z(e,t,r);case"JSXOpeningElement":return B(e,t,r);case"JSXClosingElement":return U(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return W(e,t);case"JSXEmptyExpression":return V(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(a.type)}.`)}}var H=" \n\r\t",$=new RegExp("(["+H+"]+)"),J=new RegExp("[^"+H+"]"),X=e=>e.replace(new RegExp("(?:^"+$.source+"|"+$.source+"$)"),"");function Y(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return"JSXText"===t.type&&!Q(t)}function Q(e){return"JSXText"===e.type&&(J.test(v(e))||!/\n/.test(v(e)))}function Z(e){return"JSXExpressionContainer"===e.type&&R(e.expression)&&" "===e.expression.value&&!w(e.expression)}function ee(e){let t=e.getValue(),r=e.getParentNode();if(!(r&&t&&b(t)&&b(r)))return!1;let a=null;for(let e=r.children.indexOf(t);e>0;e--){let t=r.children[e-1];if("JSXText"!==t.type||Q(t)){a=t;break}}return a&&"JSXExpressionContainer"===a.type&&"JSXEmptyExpression"===a.expression.type&&j(a.expression)}t.exports={hasJsxIgnoreComment:ee,printJsx:G}}}),Jr=x({"src/language-js/print/misc.js"(e,t){D();var{isNonEmptyArray:r}=me(),{builders:{indent:a,join:n,line:s}}=K(),{isFlowAnnotationComment:i}=dr();function o(e){let t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}function d(e){return e.getValue().definite||e.match(void 0,((e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite))?"!":""}function l(e,t,r){let a=e.getValue();return a.typeArguments?r("typeArguments"):a.typeParameters?r("typeParameters"):""}function u(e,t,r){let a=e.getValue();if(!a.typeAnnotation)return"";let n=e.getParentNode(),s="DeclareFunction"===n.type&&n.id===a;return i(t.originalText,a.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[s?"":": ",r("typeAnnotation")]}function c(e,t,r){return["::",r("callee")]}function p(e,t,a){let s=e.getValue();return r(s.modifiers)?[n(" ",e.map(a,"modifiers"))," "]:""}function f(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:a([s,t])}function h(e,t,r){return["...",r("argument"),u(e,t,r)]}function g(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let a=t.singleQuote?"'":'"';return a+r+a}t.exports={printOptionalToken:o,printDefiniteToken:d,printFunctionTypeParameters:l,printBindExpressionCallee:c,printTypeScriptModifiers:p,printTypeAnnotation:u,printRestSpread:h,adjustClause:f,printDirective:g}}}),Xr=x({"src/language-js/print/array.js"(e,t){D();var{printDanglingComments:r}=$t(),{builders:{line:a,softline:n,hardline:s,group:i,indent:o,ifBreak:d,fill:l}}=K(),{getLast:u,hasNewline:c}=me(),{shouldPrintComma:p,hasComment:f,CommentCheckFlags:h,isNextLineEmpty:g,isNumericLiteral:m,isSignedNumericLiteral:y}=dr(),{locStart:b}=Ut(),{printOptionalToken:v,printTypeAnnotation:x}=Jr();function R(e,t,a){let s=e.getValue(),l=[],c="TupleExpression"===s.type?"#[":"[",g="]";if(0===s.elements.length)f(s,h.Dangling)?l.push(i([c,r(e,t),n,g])):l.push(c,g);else{let f=u(s.elements),h=!(f&&"RestElement"===f.type),m=null===f,y=Symbol("array"),b=!t.__inJestEach&&s.elements.length>1&&s.elements.every(((e,t,r)=>{let a=e&&e.type;if("ArrayExpression"!==a&&"ObjectExpression"!==a)return!1;let n=r[t+1];if(n&&a!==n.type)return!1;let s="ArrayExpression"===a?"elements":"properties";return e[s]&&e[s].length>1})),v=E(s,t),x=h?m?",":p(t)?v?d(",","",{groupId:y}):d(","):"":"";l.push(i([c,o([n,v?S(e,t,a,x):[w(e,t,"elements",a),x],r(e,t,!0)]),n,g],{shouldBreak:b,id:y}))}return l.push(v(e),x(e,t,a)),l}function E(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(m(e)||y(e)&&!f(e.argument))&&!f(e,h.Trailing|h.Line,(e=>!c(t.originalText,b(e),{backwards:!0})))))}function w(e,t,r,s){let o=[],d=[];return e.each((e=>{o.push(d,i(s())),d=[",",a],e.getValue()&&g(e.getValue(),t)&&d.push(n)}),r),o}function S(e,t,r,n){let i=[];return e.each(((e,o,d)=>{let l=o===d.length-1;i.push([r(),l?n:","]),l||i.push(g(e.getValue(),t)?[s,s]:f(d[o+1],h.Leading|h.Line)?s:a)}),"elements"),l(i)}t.exports={printArray:R,printArrayItems:w,isConciselyPrintedArray:E}}}),Yr=x({"src/language-js/print/call-arguments.js"(e,t){D();var{printDanglingComments:r}=$t(),{getLast:a,getPenultimate:n}=me(),{getFunctionParameters:s,hasComment:i,CommentCheckFlags:o,isFunctionCompositionArgs:d,isJsxNode:l,isLongCurriedCallExpression:u,shouldPrintComma:c,getCallArguments:p,iterateCallArgumentsPath:f,isNextLineEmpty:h,isCallExpression:g,isStringLiteral:m,isObjectProperty:y,isTSTypeExpression:b}=dr(),{builders:{line:v,hardline:x,softline:R,group:E,indent:w,conditionalGroup:S,ifBreak:j,breakParent:T},utils:{willBreak:C}}=K(),{ArgExpansionBailout:A}=Me(),{isConciselyPrintedArray:P}=Xr();function k(e,t,n){let s=e.getValue(),i="ImportExpression"===s.type,o=p(s);if(0===o.length)return["(",r(e,t,!0),")"];if(N(o))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];let l=!1,g=!1,m=o.length-1,y=[];f(e,((e,r)=>{let a=e.getNode(),s=[n()];r===m||(h(a,t)?(0===r&&(g=!0),l=!0,s.push(",",x,x)):s.push(",",v)),y.push(s)}));let b=i||s.callee&&"Import"===s.callee.type||!c(t,"all")?"":",";function D(){return E(["(",w([v,...y]),b,v,")"],{shouldBreak:!0})}if(l||"Decorator"!==e.getParentNode().type&&d(o))return D();let P=_(o),k=O(o,t);if(P||k){if(P?y.slice(1).some(C):y.slice(0,-1).some(C))return D();let t=[];try{e.try((()=>{f(e,((e,r)=>{P&&0===r&&(t=[[n([],{expandFirstArg:!0}),y.length>1?",":"",g?x:v,g?x:""],...y.slice(1)]),k&&r===m&&(t=[...y.slice(0,-1),n([],{expandLastArg:!0})])}))}))}catch(e){if(e instanceof A)return D();throw e}return[y.some(C)?T:"",S([["(",...t,")"],P?["(",E(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...y.slice(0,-1),E(a(t),{shouldBreak:!0}),")"],D()])]}let I=["(",w([R,...y]),j(b),R,")"];return u(e)?I:E(I,{shouldBreak:y.some(C)||l})}function I(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||i(e))||"ArrayExpression"===e.type&&(e.elements.length>0||i(e))||"TSTypeAssertion"===e.type&&I(e.expression)||b(e)&&I(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||F(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&I(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(g(e.body)||"ConditionalExpression"===e.body.type)||l(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function O(e,t){let r=a(e),s=n(e);return!i(r,o.Leading)&&!i(r,o.Trailing)&&I(r)&&(!s||s.type!==r.type)&&(2!==e.length||"ArrowFunctionExpression"!==s.type||"ArrayExpression"!==r.type)&&!(e.length>1&&"ArrayExpression"===r.type&&P(r,t))}function _(e){if(2!==e.length)return!1;let[t,r]=e;return!("ModuleExpression"!==t.type||!B(r))||!i(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!I(r)}function N(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===s(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>i(e)))}function F(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||i(e,o.Dangling))}function B(e){return"ObjectExpression"===e.type&&1===e.properties.length&&y(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&m(e.properties[0].value)&&"module"===e.properties[0].value.value}t.exports=k}}),Qr=x({"src/language-js/print/member.js"(e,t){D();var{builders:{softline:r,group:a,indent:n,label:s}}=K(),{isNumericLiteral:i,isMemberExpression:o,isCallExpression:d}=dr(),{printOptionalToken:l}=Jr();function u(e,t,i){let l,u=e.getValue(),p=e.getParentNode(),f=0;do{l=e.getParentNode(f),f++}while(l&&(o(l)||"TSNonNullExpression"===l.type));let h=i("object"),g=c(e,t,i),m=l&&("NewExpression"===l.type||"BindExpression"===l.type||"AssignmentExpression"===l.type&&"Identifier"!==l.left.type)||u.computed||"Identifier"===u.object.type&&"Identifier"===u.property.type&&!o(p)||("AssignmentExpression"===p.type||"VariableDeclarator"===p.type)&&(d(u.object)&&u.object.arguments.length>0||"TSNonNullExpression"===u.object.type&&d(u.object.expression)&&u.object.expression.arguments.length>0||"member-chain"===h.label);return s("member-chain"===h.label?"member-chain":"member",[h,m?g:a(n([r,g]))])}function c(e,t,s){let o=s("property"),d=e.getValue(),u=l(e);return d.computed?!d.property||i(d.property)?[u,"[",o,"]"]:a([u,"[",n([r,o]),r,"]"]):[u,".",o]}t.exports={printMemberExpression:u,printMemberLookup:c}}}),Zr=x({"src/language-js/print/member-chain.js"(e,t){D();var{printComments:r}=$t(),{getLast:a,isNextLineEmptyAfterIndex:n,getNextNonSpaceNonCommentCharacterIndex:s}=me(),i=Vr(),{isCallExpression:o,isMemberExpression:d,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:u,isMemberish:c,isNumericLiteral:p,isSimpleCallArgument:f,hasComment:h,CommentCheckFlags:g,isNextLineEmpty:m}=dr(),{locEnd:y}=Ut(),{builders:{join:b,hardline:v,group:x,indent:R,conditionalGroup:E,breakParent:w,label:S},utils:{willBreak:j}}=K(),T=Yr(),{printMemberLookup:C}=Qr(),{printOptionalToken:A,printFunctionTypeParameters:P,printBindExpressionCallee:k}=Jr();function I(e,t,D){let I=e.getParentNode(),O=!I||"ExpressionStatement"===I.type,_=[];function N(e){let{originalText:r}=t,a=s(r,e,y);return")"===r.charAt(a)?!1!==a&&n(r,a+1):m(e,t)}function F(e){let a=e.getValue();o(a)&&(c(a.callee)||o(a.callee))?(_.unshift({node:a,printed:[r(e,[A(e),P(e,t,D),T(e,t,D)],t),N(a)?v:""]}),e.call((e=>F(e)),"callee")):c(a)?(_.unshift({node:a,needsParens:i(e,t),printed:r(e,d(a)?C(e,t,D):k(e,t,D),t)}),e.call((e=>F(e)),"object")):"TSNonNullExpression"===a.type?(_.unshift({node:a,printed:r(e,"!",t)}),e.call((e=>F(e)),"expression")):_.unshift({node:a,printed:D()})}let B=e.getValue();_.unshift({node:B,printed:[A(e),P(e,t,D),T(e,t,D)]}),B.callee&&e.call((e=>F(e)),"callee");let M=[],L=[_[0]],U=1;for(;U<_.length&&("TSNonNullExpression"===_[U].node.type||o(_[U].node)||d(_[U].node)&&_[U].node.computed&&p(_[U].node.property));++U)L.push(_[U]);if(!o(_[0].node))for(;U+1<_.length&&c(_[U].node)&&c(_[U+1].node);++U)L.push(_[U]);M.push(L),L=[];let W=!1;for(;U<_.length;++U){if(W&&c(_[U].node)){if(_[U].node.computed&&p(_[U].node.property)){L.push(_[U]);continue}M.push(L),L=[],W=!1}(o(_[U].node)||"ImportExpression"===_[U].node.type)&&(W=!0),L.push(_[U]),h(_[U].node,g.Trailing)&&(M.push(L),L=[],W=!1)}function z(e){return/^[A-Z]|^[$_]+$/.test(e)}function V(e){return e.length<=t.tabWidth}function q(e){let t=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){let r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(z(r.name)||O&&V(r.name)||t)}let r=a(e[0]).node;return d(r)&&"Identifier"===r.property.type&&(z(r.property.name)||t)}L.length>0&&M.push(L);let G=M.length>=2&&!h(M[1][0].node)&&q(M);function H(e){let t=e.map((e=>e.printed));return e.length>0&&a(e).needsParens?["(",...t,")"]:t}function K(e){return 0===e.length?"":R(x([v,b(v,e.map(H))]))}let $=M.map(H),J=$,X=G?3:2,Y=M.flat(),Q=Y.slice(1,-1).some((e=>h(e.node,g.Leading)))||Y.slice(0,-1).some((e=>h(e.node,g.Trailing)))||M[X]&&h(M[X][0].node,g.Leading);if(M.length<=X&&!Q)return u(e)?J:x(J);let Z,ee=a(M[G?1:0]).node,te=!o(ee)&&N(ee),re=[H(M[0]),G?M.slice(1,2).map(H):"",te?v:"",K(M.slice(G?2:1))],ae=_.map((e=>{let{node:t}=e;return t})).filter(o);function ne(){let e=a(a(M)).node,t=a($);return o(e)&&j(t)&&ae.slice(0,-1).some((e=>e.arguments.some(l)))}return Z=Q||ae.length>2&&ae.some((e=>!e.arguments.every((e=>f(e,0)))))||$.slice(0,-1).some(j)||ne()?x(re):[j(J)||te?w:"",E([J,re])],S("member-chain",Z)}t.exports=I}}),ea=x({"src/language-js/print/call-expression.js"(e,t){D();var{builders:{join:r,group:a}}=K(),n=Vr(),{getCallArguments:s,hasFlowAnnotationComment:i,isCallExpression:o,isMemberish:d,isStringLiteral:l,isTemplateOnItsOwnLine:u,isTestCall:c,iterateCallArgumentsPath:p}=dr(),f=Zr(),h=Yr(),{printOptionalToken:g,printFunctionTypeParameters:m}=Jr();function y(e,t,l){let y=e.getValue(),v=e.getParentNode(),x="NewExpression"===y.type,R="ImportExpression"===y.type,E=g(e),w=s(y);if(w.length>0&&(!R&&!x&&b(y,v)||1===w.length&&u(w[0],t.originalText)||!x&&c(y,v))){let a=[];return p(e,(()=>{a.push(l())})),[x?"new ":"",l("callee"),E,m(e,t,l),"(",r(", ",a),")"]}let S=("babel"===t.parser||"babel-flow"===t.parser)&&y.callee&&"Identifier"===y.callee.type&&i(y.callee.trailingComments);if(S&&(y.callee.trailingComments[0].printed=!0),!R&&!x&&d(y.callee)&&!e.call((e=>n(e,t)),"callee"))return f(e,t,l);let D=[x?"new ":"",R?"import":l("callee"),E,S?`/*:: ${y.callee.trailingComments[0].value.slice(2).trim()} */`:"",m(e,t,l),h(e,t,l)];return R||o(y.callee)?a(D):D}function b(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let r=s(e);return"ExpressionStatement"===t.type&&(1===r.length||2===r.length&&"ArrayExpression"===r[0].type||3===r.length&&l(r[0])&&"ArrayExpression"===r[1].type)}return!1}t.exports={printCallExpression:y}}}),ta=x({"src/language-js/print/assignment.js"(e,t){D();var{isNonEmptyArray:r,getStringWidth:a}=me(),{builders:{line:n,group:s,indent:i,indentIfBreak:o,lineSuffixBoundary:d},utils:{cleanDoc:l,willBreak:u,canBreak:c}}=K(),{hasLeadingOwnLineComment:p,isBinaryish:f,isStringLiteral:h,isLiteral:g,isNumericLiteral:m,isCallExpression:y,isMemberExpression:b,getCallArguments:v,rawText:x,hasComment:R,isSignedNumericLiteral:E,isObjectProperty:w}=dr(),{shouldInlineLogicalExpression:S}=Hr(),{printCallExpression:j}=ea();function T(e,t,r,a,l,u){let c=P(e,t,r,a,u),p=r(u,{assignmentLayout:c});switch(c){case"break-after-operator":return s([s(a),l,s(i([n,p]))]);case"never-break-after-operator":return s([s(a),l," ",p]);case"fluid":{let e=Symbol("assignment");return s([s(a),l,s(i(n),{id:e}),d,o(p,{groupId:e})])}case"break-lhs":return s([a,l," ",s(p)]);case"chain":return[s(a),l,n,p];case"chain-tail":return[s(a),l,i([n,p])];case"chain-tail-arrow-chain":return[s(a),l,p];case"only-left":return a}}function C(e,t,r){let a=e.getValue();return T(e,t,r,r("left"),[" ",a.operator],"right")}function A(e,t,r){return T(e,t,r,r("id")," =","init")}function P(e,t,r,a,n){let s=e.getValue(),i=s[n];if(!i)return"only-left";let o=!O(i);if(e.match(O,_,(e=>!o||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return o?"ArrowFunctionExpression"===i.type&&"ArrowFunctionExpression"===i.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!o&&O(i.right)||p(t.originalText,i))return"break-after-operator";if("CallExpression"===i.type&&"require"===i.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(I(s)||N(s)||M(s)||L(s)&&c(a))return"break-lhs";let d=G(s,a,t);return e.call((()=>k(e,t,r,d)),n)?"break-after-operator":d||"TemplateLiteral"===i.type||"TaggedTemplateExpression"===i.type||"BooleanLiteral"===i.type||m(i)||"ClassExpression"===i.type?"never-break-after-operator":"fluid"}function k(e,t,a,n){let s=e.getValue();if(f(s)&&!S(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=s;return f(e)&&!S(e)}case"ClassExpression":return r(s.decorators)}if(n)return!1;let i=s,o=[];for(;;)if("UnaryExpression"===i.type)i=i.argument,o.push("argument");else{if("TSNonNullExpression"!==i.type)break;i=i.expression,o.push("expression")}return!(!h(i)&&!e.call((()=>z(e,t,a)),...o))}function I(e){if(_(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>w(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)))}return!1}function O(e){return"AssignmentExpression"===e.type}function _(e){return O(e)||"VariableDeclarator"===e.type}function N(e){let t=F(e);if(r(t)){let r="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[r]||e.default)))return!0}return!1}function F(e){return B(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function B(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}function M(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let a=U(t.typeAnnotation);return r(a)&&a.length>1&&a.some((e=>r(U(e))||"TSConditionalType"===e.type))}function L(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function U(e){return W(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function W(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}function z(e,t,r){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=e.getValue(),s=()=>z(e,t,r,!0);if("TSNonNullExpression"===n.type)return e.call(s,"expression");if(y(n)){if("member-chain"===j(e,t,r).label)return!1;let a=v(n);return!(!(0===a.length||1===a.length&&q(a[0],t))||H(n,r))&&e.call(s,"callee")}return b(n)?e.call(s,"object"):a&&("Identifier"===n.type||"ThisExpression"===n.type)}var V=.25;function q(e,t){let{printWidth:r}=t;if(R(e))return!1;let a=r*V;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=a||E(e)&&!R(e.argument))return!0;let n="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return n?n.length<=a:h(e)?x(e).length<=a:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=a&&!e.quasis[0].value.raw.includes("\n"):g(e)}function G(e,t,r){if(!w(e))return!1;let n=3;return"string"==typeof(t=l(t))&&a(t)1)return!0;if(1===a.length){let e=a[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}let r=e.typeParameters?"typeParameters":"typeArguments";if(u(t(r)))return!0}return!1}function $(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}t.exports={printVariableDeclarator:A,printAssignmentExpression:C,printAssignment:T,isArrowFunctionVariableDeclarator:L}}}),ra=x({"src/language-js/print/function-parameters.js"(e,t){D();var{getNextNonSpaceNonCommentCharacter:r}=me(),{printDanglingComments:a}=$t(),{builders:{line:n,hardline:s,softline:i,group:o,indent:d,ifBreak:l},utils:{removeLines:u,willBreak:c}}=K(),{getFunctionParameters:p,iterateFunctionParametersPath:f,isSimpleType:h,isTestCall:g,isTypeAnnotationAFunction:m,isObjectType:y,isObjectTypePropertyAFunction:b,hasRestParameter:v,shouldPrintComma:x,hasComment:R,isNextLineEmpty:E}=dr(),{locEnd:w}=Ut(),{ArgExpansionBailout:S}=Me(),{printFunctionTypeParameters:j}=Jr();function T(e,t,y,R,D){let T=e.getValue(),A=p(T),P=D?j(e,y,t):"";if(0===A.length)return[P,"(",a(e,y,!0,(e=>")"===r(y.originalText,e,w))),")"];let k=e.getParentNode(),I=g(k),O=C(T),_=[];if(f(e,((e,r)=>{let a=r===A.length-1;a&&T.rest&&_.push("..."),_.push(t()),!a&&(_.push(","),I||O?_.push(" "):E(A[r],y)?_.push(s,s):_.push(n))})),R){if(c(P)||c(_))throw new S;return o([u(P),"(",u(_),")"])}let N=A.every((e=>!e.decorators));return O&&N||I?[P,"(",..._,")"]:(b(k)||m(k)||"TypeAlias"===k.type||"UnionTypeAnnotation"===k.type||"TSUnionType"===k.type||"IntersectionTypeAnnotation"===k.type||"FunctionTypeAnnotation"===k.type&&k.returnType===T)&&1===A.length&&null===A[0].name&&T.this!==A[0]&&A[0].typeAnnotation&&null===T.typeParameters&&h(A[0].typeAnnotation)&&!T.rest?"always"===y.arrowParens?["(",..._,")"]:_:[P,"(",d([i,..._]),l(!v(T)&&x(y,"all")?",":""),i,")"]}function C(e){if(!e)return!1;let t=p(e);if(1!==t.length)return!1;let[r]=t;return!R(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&y(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&y(r.typeAnnotation)||"AssignmentPattern"===r.type&&("ObjectPattern"===r.left.type||"ArrayPattern"===r.left.type)&&("Identifier"===r.right.type||"ObjectExpression"===r.right.type&&0===r.right.properties.length||"ArrayExpression"===r.right.type&&0===r.right.elements.length))}function A(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function P(e,t){let r=A(e);if(!r)return!1;let a=e.typeParameters&&e.typeParameters.params;if(a){if(a.length>1)return!1;if(1===a.length){let e=a[0];if(e.constraint||e.default)return!1}}return 1===p(e).length&&(y(r)||c(t))}t.exports={printFunctionParameters:T,shouldHugFunctionParameters:C,shouldGroupFunctionParameters:P}}}),aa=x({"src/language-js/print/type-annotation.js"(e,t){D();var{printComments:r,printDanglingComments:a}=$t(),{isNonEmptyArray:n}=me(),{builders:{group:s,join:i,line:o,softline:d,indent:l,align:u,ifBreak:c}}=K(),p=Vr(),{locStart:f}=Ut(),{isSimpleType:h,isObjectType:g,hasLeadingOwnLineComment:m,isObjectTypePropertyAFunction:y,shouldPrintComma:b}=dr(),{printAssignment:v}=ta(),{printFunctionParameters:x,shouldGroupFunctionParameters:R}=ra(),{printArrayItems:E}=Xr();function w(e){if(h(e)||g(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){let t=e.types.filter((e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type)).length,r=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&r)return!0}return!1}function S(e,t,r){let a=t.semi?";":"",n=e.getValue(),s=[];return s.push("opaque type ",r("id"),r("typeParameters")),n.supertype&&s.push(": ",r("supertype")),n.impltype&&s.push(" = ",r("impltype")),s.push(a),s}function j(e,t,r){let a=t.semi?";":"",n=e.getValue(),s=[];n.declare&&s.push("declare "),s.push("type ",r("id"),r("typeParameters"));let i="TSTypeAliasDeclaration"===n.type?"typeAnnotation":"right";return[v(e,t,r,s," =",i),a]}function T(e,t,r){let a=e.getValue(),n=e.map(r,"types"),i=[],d=!1;for(let e=0;e1&&(d=!0),i.push(" & ",e>1?l(n[e]):n[e])):i.push(l([" &",o,n[e]]));return s(i)}function C(e,t,a){let n=e.getValue(),f=e.getParentNode(),h=!("TypeParameterInstantiation"===f.type||"TSTypeParameterInstantiation"===f.type||"GenericTypeAnnotation"===f.type||"TSTypeReference"===f.type||"TSTypeAssertion"===f.type||"TupleTypeAnnotation"===f.type||"TSTupleType"===f.type||"FunctionTypeParam"===f.type&&!f.name&&e.getParentNode(1).this!==f||("TypeAlias"===f.type||"VariableDeclarator"===f.type||"TSTypeAliasDeclaration"===f.type)&&m(t.originalText,n)),g=w(n),y=e.map((e=>{let n=a();return g||(n=u(2,n)),r(e,n,t)}),"types");if(g)return i(" | ",y);let b=h&&!m(t.originalText,n),v=[c([b?o:"","| "]),i([o,"| "],y)];return p(e,t)?s([l(v),d]):"TupleTypeAnnotation"===f.type&&f.types.length>1||"TSTupleType"===f.type&&f.elementTypes.length>1?s([l([c(["(",d]),v]),d,c(")")]):s(h?l(v):v)}function A(e,t,r){let a=e.getValue(),n=[],i=e.getParentNode(0),o=e.getParentNode(1),d=e.getParentNode(2),l="TSFunctionType"===a.type||!(("ObjectTypeProperty"===i.type||"ObjectTypeInternalSlot"===i.type)&&!i.variance&&!i.optional&&f(i)===f(a)||"ObjectTypeCallProperty"===i.type||d&&"DeclareFunction"===d.type),u=l&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type),c=u&&l&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type)&&"ArrowFunctionExpression"===o.type;y(i)&&(l=!0,u=!0),c&&n.push("(");let p=x(e,r,t,!1,!0),h=a.returnType||a.predicate||a.typeAnnotation?[l?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",g=R(a,h);return n.push(g?s(p):p),h&&n.push(h),c&&n.push(")"),s(n)}function P(e,t,r){let i=e.getValue(),o="TSTupleType"===i.type?"elementTypes":"types",u=i[o],p=n(u),f=p?d:"";return s(["[",l([f,E(e,t,o,r)]),c(p&&b(t,"all")?",":""),a(e,t,!0),f,"]"])}function k(e,t,r){let a=e.getValue(),n="OptionalIndexedAccessType"===a.type&&a.optional?"?.[":"[";return[r("objectType"),n,r("indexType"),"]"]}function I(e,t,r){let a=e.getValue();return[a.postfix?"":r,t("typeAnnotation"),a.postfix?r:""]}t.exports={printOpaqueType:S,printTypeAlias:j,printIntersectionType:T,printUnionType:C,printFunctionType:A,printTupleType:P,printIndexedAccessType:k,shouldHugType:w,printJSDocType:I}}}),na=x({"src/language-js/print/type-parameters.js"(e,t){D();var{printDanglingComments:r}=$t(),{builders:{join:a,line:n,hardline:s,softline:i,group:o,indent:d,ifBreak:l}}=K(),{isTestCall:u,hasComment:c,CommentCheckFlags:p,isTSXFile:f,shouldPrintComma:h,getFunctionParameters:g,isObjectType:m,getTypeScriptMappedTypeModifier:y}=dr(),{createGroupIdMapper:b}=me(),{shouldHugType:v}=aa(),{isArrowFunctionVariableDeclarator:x}=ta(),R=b("typeParameters");function E(e,t,r,s){let c=e.getValue();if(!c[s])return"";if(!Array.isArray(c[s]))return r(s);let p=e.getNode(2),y=p&&u(p),b=e.match((e=>!(1===e[s].length&&m(e[s][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),x);if(0===c[s].length||!b&&(y||1===c[s].length&&("NullableTypeAnnotation"===c[s][0].type||v(c[s][0]))))return["<",a(", ",e.map(r,s)),w(e,t),">"];let E="TSTypeParameterInstantiation"===c.type?"":1===g(c).length&&f(t)&&!c[s][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":h(t,"all")?l(","):"";return o(["<",d([i,a([",",n],e.map(r,s))]),E,i,">"],{id:R(c)})}function w(e,t){let a=e.getValue();if(!c(a,p.Dangling))return"";let n=!c(a,p.Line),i=r(e,t,n);return n?i:[i,s]}function S(e,t,r){let a=e.getValue(),n=["TSTypeParameter"===a.type&&a.const?"const ":""],s=e.getParentNode();return"TSMappedType"===s.type?(s.readonly&&n.push(y(s.readonly,"readonly")," "),n.push("[",r("name")),a.constraint&&n.push(" in ",r("constraint")),s.nameType&&n.push(" as ",e.callParent((()=>r("nameType")))),n.push("]"),n):(a.variance&&n.push(r("variance")),a.in&&n.push("in "),a.out&&n.push("out "),n.push(r("name")),a.bound&&n.push(": ",r("bound")),a.constraint&&n.push(" extends ",r("constraint")),a.default&&n.push(" = ",r("default")),n)}t.exports={printTypeParameter:S,printTypeParameters:E,getTypeParametersGroupId:R}}}),sa=x({"src/language-js/print/property.js"(e,t){D();var{printComments:r}=$t(),{printString:a,printNumber:n}=me(),{isNumericLiteral:s,isSimpleNumber:i,isStringLiteral:o,isStringPropSafeToUnquote:d,rawText:l}=dr(),{printAssignment:u}=ta(),c=new WeakMap;function p(e,t,u){let p=e.getNode();if(p.computed)return["[",u("key"),"]"];let f=e.getParentNode(),{key:h}=p;if("consistent"===t.quoteProps&&!c.has(f)){let e=(f.properties||f.body||f.members).some((e=>!e.computed&&e.key&&o(e.key)&&!d(e,t)));c.set(f,e)}if(("Identifier"===h.type||s(h)&&i(n(l(h)))&&String(h.value)===n(l(h))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&c.get(f))){let n=a(JSON.stringify("Identifier"===h.type?h.name:h.value.toString()),t);return e.call((e=>r(e,n,t)),"key")}return d(p,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!c.get(f))?e.call((e=>r(e,/^\d/.test(h.value)?n(h.value):h.value,t)),"key"):u("key")}function f(e,t,r){return e.getValue().shorthand?r("value"):u(e,t,r,p(e,t,r),":","value")}t.exports={printProperty:f,printPropertyKey:p}}}),ia=x({"src/language-js/print/function.js"(e,t){D();var r=Kt(),{printDanglingComments:a,printCommentsSeparately:n}=$t(),s=k(),{getNextNonSpaceNonCommentCharacterIndex:i}=me(),{builders:{line:o,softline:d,group:l,indent:u,ifBreak:c,hardline:p,join:f,indentIfBreak:h},utils:{removeLines:g,willBreak:m}}=K(),{ArgExpansionBailout:y}=Me(),{getFunctionParameters:b,hasLeadingOwnLineComment:v,isFlowAnnotationComment:x,isJsxNode:R,isTemplateOnItsOwnLine:E,shouldPrintComma:w,startsWithNoLookaheadToken:S,isBinaryish:j,isLineComment:T,hasComment:C,getComments:A,CommentCheckFlags:P,isCallLikeExpression:I,isCallExpression:O,getCallArguments:_,hasNakedLeftSide:N,getLeftSide:F}=dr(),{locEnd:B}=Ut(),{printFunctionParameters:M,shouldGroupFunctionParameters:L}=ra(),{printPropertyKey:U}=sa(),{printFunctionTypeParameters:W}=Jr();function z(e,t,r,a){let n=e.getValue(),s=!1;if(("FunctionDeclaration"===n.type||"FunctionExpression"===n.type)&&a&&a.expandLastArg){let t=e.getParentNode();O(t)&&_(t).length>1&&(s=!0)}let i=[];"TSDeclareFunction"===n.type&&n.declare&&i.push("declare "),n.async&&i.push("async "),n.generator?i.push("function* "):i.push("function "),n.id&&i.push(t("id"));let o=M(e,t,r,s),d=Y(e,t,r),u=L(n,d);return i.push(W(e,r,t),l([u?l(o):o,d]),n.body?" ":"",t("body")),r.semi&&(n.declare||!n.body)&&i.push(";"),i}function V(e,t,a){let n=e.getNode(),{kind:s}=n,i=n.value||n,o=[];return s&&"init"!==s&&"method"!==s&&"constructor"!==s?(r.ok("get"===s||"set"===s),o.push(s," ")):i.async&&o.push("async "),i.generator&&o.push("*"),o.push(U(e,t,a),n.optional||n.key.optional?"?":""),n===i?o.push(q(e,t,a)):"FunctionExpression"===i.type?o.push(e.call((e=>q(e,t,a)),"value")):o.push(a("value")),o}function q(e,t,r){let a=e.getNode(),n=M(e,r,t),s=Y(e,r,t),i=L(a,s),o=[W(e,t,r),l([i?l(n):n,s])];return a.body?o.push(" ",r("body")):o.push(t.semi?";":""),o}function G(e,t,r,n){let s=[];if(e.getValue().async&&s.push("async "),X(e,t))s.push(r(["params",0]));else{let a=n&&(n.expandLastArg||n.expandFirstArg),i=Y(e,r,t);if(a){if(m(i))throw new y;i=l(g(i))}s.push(l([M(e,r,t,a,!0),i]))}let o=a(e,t,!0,(e=>{let r=i(t.originalText,e,B);return!1!==r&&"=>"===t.originalText.slice(r,r+2)}));return o&&s.push(" ",o),s}function H(e,t,r,a,n,s){let i=e.getName(),p=e.getParentNode(),g=I(p)&&"callee"===i,m=Boolean(t&&t.assignmentLayout),y="BlockStatement"!==s.body.type&&"ObjectExpression"!==s.body.type&&"SequenceExpression"!==s.body.type,b=g&&y||t&&"chain-tail-arrow-chain"===t.assignmentLayout,v=Symbol("arrow-chain");return"SequenceExpression"===s.body.type&&(n=l(["(",u([d,n]),d,")"])),l([l(u([g||m?d:"",l(f([" =>",o],r),{shouldBreak:a})]),{id:v,shouldBreak:b})," =>",h(y?u([o,n]):[" ",n],{groupId:v}),g?c(d,"",{groupId:v}):""])}function $(e,t,r,a){let s=e.getValue(),i=[],p=[],f=!1;if(function o(){let d=G(e,t,r,a);if(0===i.length)i.push(d);else{let{leading:r,trailing:a}=n(e,t);i.push([r,d]),p.unshift(a)}f=f||s.returnType&&b(s).length>0||s.typeParameters||b(s).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==s.body.type||a&&a.expandLastArg?p.unshift(r("body",a)):(s=s.body,e.call(o,"body"))}(),i.length>1)return H(e,a,i,f,p,s);let h=i;if(h.push(" =>"),!v(t.originalText,s.body)&&("ArrayExpression"===s.body.type||"ObjectExpression"===s.body.type||"BlockStatement"===s.body.type||R(s.body)||E(s.body,t.originalText)||"ArrowFunctionExpression"===s.body.type||"DoExpression"===s.body.type))return l([...h," ",p]);if("SequenceExpression"===s.body.type)return l([...h,l([" (",u([d,p]),d,")"])]);let g=(a&&a.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!C(s),m=a&&a.expandLastArg&&w(t,"all"),y="ConditionalExpression"===s.body.type&&!S(s.body,(e=>"ObjectExpression"===e.type));return l([...h,l([u([o,y?c("","("):"",p,y?c("",")"):""]),g?[c(m?",":""),d]:""])])}function J(e){let t=b(e);return!(1!==t.length||e.typeParameters||C(e,P.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||C(t[0])||t[0].optional||e.predicate||e.returnType)}function X(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&J(e.getValue()))}function Y(e,t,r){let a=e.getValue(),n=t("returnType");if(a.returnType&&x(r.originalText,a.returnType))return[" /*: ",n," */"];let s=[n];return a.returnType&&a.returnType.typeAnnotation&&s.unshift(": "),a.predicate&&s.push(a.returnType?" ":": ",t("predicate")),s}function Q(e,t,r){let n=e.getValue(),i=t.semi?";":"",o=[];n.argument&&(te(t,n.argument)?o.push([" (",u([p,r("argument")]),p,")"]):j(n.argument)||"SequenceExpression"===n.argument.type?o.push(l([c(" ("," "),u([d,r("argument")]),d,c(")")])):o.push(" ",r("argument")));let f=A(n),h=s(f),g=h&&T(h);return g&&o.push(i),C(n,P.Dangling)&&o.push(" ",a(e,t,!0)),g||o.push(i),o}function Z(e,t,r){return["return",Q(e,t,r)]}function ee(e,t,r){return["throw",Q(e,t,r)]}function te(e,t){if(v(e.originalText,t))return!0;if(N(t)){let r,a=t;for(;r=F(a);)if(a=r,v(e.originalText,a))return!0}return!1}t.exports={printFunction:z,printArrowFunction:$,printMethod:V,printReturnStatement:Z,printThrowStatement:ee,printMethodInternal:q,shouldPrintParamsWithoutParens:X}}}),oa=x({"src/language-js/print/decorators.js"(e,t){D();var{isNonEmptyArray:r,hasNewline:a}=me(),{builders:{line:n,hardline:s,join:i,breakParent:o,group:d}}=K(),{locStart:l,locEnd:u}=Ut(),{getParentExportDeclaration:c}=dr();function p(e,t,r){let a=e.getValue();return d([i(n,e.map(r,"decorators")),g(a,t)?s:n])}function f(e,t,r){return[i(s,e.map(r,"declaration","decorators")),s]}function h(e,t,a){let d=e.getValue(),{decorators:l}=d;if(!r(l)||m(e.getParentNode()))return;let u="ClassExpression"===d.type||"ClassDeclaration"===d.type||g(d,t);return[c(e)?s:u?o:"",i(n,e.map(a,"decorators")),n]}function g(e,t){return e.decorators.some((e=>a(t.originalText,u(e))))}function m(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;let t=e.declaration&&e.declaration.decorators;return r(t)&&l(e)===l(t[0])}t.exports={printDecorators:h,printClassMemberDecorators:p,printDecoratorsBeforeExport:f,hasDecoratorsBeforeExport:m}}}),da=x({"src/language-js/print/class.js"(e,t){D();var{isNonEmptyArray:r,createGroupIdMapper:a}=me(),{printComments:n,printDanglingComments:s}=$t(),{builders:{join:i,line:o,hardline:d,softline:l,group:u,indent:c,ifBreak:p}}=K(),{hasComment:f,CommentCheckFlags:h}=dr(),{getTypeParametersGroupId:g}=na(),{printMethod:m}=ia(),{printOptionalToken:y,printTypeAnnotation:b,printDefiniteToken:v}=Jr(),{printPropertyKey:x}=sa(),{printAssignment:R}=ta(),{printClassMemberDecorators:E}=oa();function w(e,t,a){let s=e.getValue(),i=[];s.declare&&i.push("declare "),s.abstract&&i.push("abstract "),i.push("class");let d=s.id&&f(s.id,h.Trailing)||s.typeParameters&&f(s.typeParameters,h.Trailing)||s.superClass&&f(s.superClass)||r(s.extends)||r(s.mixins)||r(s.implements),l=[],p=[];if(s.id&&l.push(" ",a("id")),l.push(a("typeParameters")),s.superClass){let r=[P(e,t,a),a("superTypeParameters")],s=e.call((e=>["extends ",n(e,r,t)]),"superClass");d?p.push(o,u(s)):p.push(" ",s)}else p.push(A(e,t,a,"extends"));if(p.push(A(e,t,a,"mixins"),A(e,t,a,"implements")),d){let e;e=C(s)?[...l,c(p)]:c([...l,p]),i.push(u(e,{id:S(s)}))}else i.push(...l,...p);return i.push(" ",a("body")),i}var S=a("heritageGroup");function j(e){return p(d,"",{groupId:S(e)})}function T(e){return["superClass","extends","mixins","implements"].filter((t=>Boolean(e[t]))).length>1}function C(e){return e.typeParameters&&!f(e.typeParameters,h.Trailing|h.Line)&&!T(e)}function A(e,t,a,n){let l=e.getValue();if(!r(l[n]))return"";let f=s(e,t,!0,(e=>{let{marker:t}=e;return t===n}));return[C(l)?p(" ",o,{groupId:g(l.typeParameters)}):o,f,f&&d,n,u(c([o,i([",",o],e.map(a,n))]))]}function P(e,t,r){let a=r("superClass");return"AssignmentExpression"===e.getParentNode().type?u(p(["(",c([l,a]),l,")"],a)):a}function k(e,t,a){let n=e.getValue(),s=[];return r(n.decorators)&&s.push(E(e,t,a)),n.accessibility&&s.push(n.accessibility+" "),n.readonly&&s.push("readonly "),n.declare&&s.push("declare "),n.static&&s.push("static "),("TSAbstractMethodDefinition"===n.type||n.abstract)&&s.push("abstract "),n.override&&s.push("override "),s.push(m(e,t,a)),s}function I(e,t,a){let n=e.getValue(),s=[],i=t.semi?";":"";return r(n.decorators)&&s.push(E(e,t,a)),n.accessibility&&s.push(n.accessibility+" "),n.declare&&s.push("declare "),n.static&&s.push("static "),("TSAbstractPropertyDefinition"===n.type||"TSAbstractAccessorProperty"===n.type||n.abstract)&&s.push("abstract "),n.override&&s.push("override "),n.readonly&&s.push("readonly "),n.variance&&s.push(a("variance")),("ClassAccessorProperty"===n.type||"AccessorProperty"===n.type||"TSAbstractAccessorProperty"===n.type)&&s.push("accessor "),s.push(x(e,t,a),y(e),v(e),b(e,t,a)),[R(e,t,a,s," =","value"),i]}t.exports={printClass:w,printClassMethod:k,printClassProperty:I,printHardlineAfterHeritage:j}}}),la=x({"src/language-js/print/interface.js"(e,t){D();var{isNonEmptyArray:r}=me(),{builders:{join:a,line:n,group:s,indent:i,ifBreak:o}}=K(),{hasComment:d,identity:l,CommentCheckFlags:u}=dr(),{getTypeParametersGroupId:c}=na(),{printTypeScriptModifiers:p}=Jr();function f(e,t,f){let h=e.getValue(),g=[];h.declare&&g.push("declare "),"TSInterfaceDeclaration"===h.type&&g.push(h.abstract?"abstract ":"",p(e,t,f)),g.push("interface");let m=[],y=[];"InterfaceTypeAnnotation"!==h.type&&m.push(" ",f("id"),f("typeParameters"));let b=h.typeParameters&&!d(h.typeParameters,u.Trailing|u.Line);return r(h.extends)&&y.push(b?o(" ",n,{groupId:c(h.typeParameters)}):n,"extends ",(1===h.extends.length?l:i)(a([",",n],e.map(f,"extends")))),h.id&&d(h.id,u.Trailing)||r(h.extends)?b?g.push(s([...m,i(y)])):g.push(s(i([...m,...y]))):g.push(...m,...y),g.push(" ",f("body")),s(g)}t.exports={printInterface:f}}}),ua=x({"src/language-js/print/module.js"(e,t){D();var{isNonEmptyArray:r}=me(),{builders:{softline:a,group:n,indent:s,join:i,line:o,ifBreak:d,hardline:l}}=K(),{printDanglingComments:u}=$t(),{hasComment:c,CommentCheckFlags:p,shouldPrintComma:f,needsHardlineAfterDanglingComment:h,isStringLiteral:g,rawText:m}=dr(),{locStart:y,hasSameLoc:b}=Ut(),{hasDecoratorsBeforeExport:v,printDecoratorsBeforeExport:x}=oa();function R(e,t,r){let a=e.getValue(),n=t.semi?";":"",s=[],{importKind:i}=a;return s.push("import"),i&&"value"!==i&&s.push(" ",i),s.push(T(e,t,r),j(e,t,r),A(e,t,r),n),s}function E(e,t,r){let a=e.getValue(),n=[];v(a)&&n.push(x(e,t,r));let{type:s,exportKind:i,declaration:o}=a;return n.push("export"),(a.default||"ExportDefaultDeclaration"===s)&&n.push(" default"),c(a,p.Dangling)&&(n.push(" ",u(e,t,!0)),h(a)&&n.push(l)),o?n.push(" ",r("declaration")):n.push("type"===i?" type":"",T(e,t,r),j(e,t,r),A(e,t,r)),S(a,t)&&n.push(";"),n}function w(e,t,r){let a=e.getValue(),n=t.semi?";":"",s=[],{exportKind:i,exported:o}=a;return s.push("export"),"type"===i&&s.push(" type"),s.push(" *"),o&&s.push(" as ",r("exported")),s.push(j(e,t,r),A(e,t,r),n),s}function S(e,t){if(!t.semi)return!1;let{type:r,declaration:a}=e,n=e.default||"ExportDefaultDeclaration"===r;if(!a)return!0;let{type:s}=a;return!(!n||"ClassDeclaration"===s||"FunctionDeclaration"===s||"TSInterfaceDeclaration"===s||"DeclareClass"===s||"DeclareFunction"===s||"TSDeclareFunction"===s||"EnumDeclaration"===s)}function j(e,t,r){let a=e.getValue();if(!a.source)return"";let n=[];return C(a,t)||n.push(" from"),n.push(" ",r("source")),n}function T(e,t,l){let u=e.getValue();if(C(u,t))return"";let p=[" "];if(r(u.specifiers)){let r=[],h=[];e.each((()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)r.push(l());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error(`Unknown specifier type ${JSON.stringify(t)}`);h.push(l())}}),"specifiers"),p.push(i(", ",r)),h.length>0&&(r.length>0&&p.push(", "),h.length>1||r.length>0||u.specifiers.some((e=>c(e)))?p.push(n(["{",s([t.bracketSpacing?o:a,i([",",o],h)]),d(f(t)?",":""),t.bracketSpacing?o:a,"}"])):p.push(["{",t.bracketSpacing?" ":"",...h,t.bracketSpacing?" ":"","}"]))}else p.push("{}");return p}function C(e,t){let{type:a,importKind:n,source:s,specifiers:i}=e;return"ImportDeclaration"===a&&!r(i)&&"type"!==n&&!/{\s*}/.test(t.originalText.slice(y(e),y(s)))}function A(e,t,a){let n=e.getNode();return r(n.assertions)?[" assert {",t.bracketSpacing?" ":"",i(", ",e.map(a,"assertions")),t.bracketSpacing?" ":"","}"]:""}function P(e,t,r){let a=e.getNode(),{type:n}=a,s=[],i="ImportSpecifier"===n?a.importKind:a.exportKind;i&&"value"!==i&&s.push(i," ");let o=n.startsWith("Import"),d=o?"imported":"local",l=o?"local":"exported",u=a[d],c=a[l],p="",f="";return"ExportNamespaceSpecifier"===n||"ImportNamespaceSpecifier"===n?p="*":u&&(p=r(d)),c&&!k(a)&&(f=r(l)),s.push(p,p&&f?" as ":"",f),s}function k(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:r}=e;return!(t.type!==r.type||!b(t,r))&&(g(t)?t.value===r.value&&m(t)===m(r):"Identifier"===t.type&&t.name===r.name)}t.exports={printImportDeclaration:R,printExportDeclaration:E,printExportAllDeclaration:w,printModuleSpecifier:P}}}),ca=x({"src/language-js/print/object.js"(e,t){D();var{printDanglingComments:r}=$t(),{builders:{line:a,softline:n,group:s,indent:i,ifBreak:o,hardline:d}}=K(),{getLast:l,hasNewlineInRange:u,hasNewline:c,isNonEmptyArray:p}=me(),{shouldPrintComma:f,hasComment:h,getComments:g,CommentCheckFlags:m,isNextLineEmpty:y}=dr(),{locStart:b,locEnd:v}=Ut(),{printOptionalToken:x,printTypeAnnotation:R}=Jr(),{shouldHugFunctionParameters:E}=ra(),{shouldHugType:w}=aa(),{printHardlineAfterHeritage:S}=da();function j(e,t,D){let j,T=t.semi?";":"",C=e.getValue();j="TSTypeLiteral"===C.type?"members":"TSInterfaceBody"===C.type?"body":"properties";let A="ObjectTypeAnnotation"===C.type,P=[j];A&&P.push("indexers","callProperties","internalSlots");let k=P.map((e=>C[e][0])).sort(((e,t)=>b(e)-b(t)))[0],I=e.getParentNode(0),O=A&&I&&("InterfaceDeclaration"===I.type||"DeclareInterface"===I.type||"DeclareClass"===I.type)&&"body"===e.getName(),_="TSInterfaceBody"===C.type||O||"ObjectPattern"===C.type&&"FunctionDeclaration"!==I.type&&"FunctionExpression"!==I.type&&"ArrowFunctionExpression"!==I.type&&"ObjectMethod"!==I.type&&"ClassMethod"!==I.type&&"ClassPrivateMethod"!==I.type&&"AssignmentPattern"!==I.type&&"CatchClause"!==I.type&&C.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==C.type&&k&&u(t.originalText,b(C),b(k)),N=O?";":"TSInterfaceBody"===C.type||"TSTypeLiteral"===C.type?o(T,";"):",",F="RecordExpression"===C.type?"#{":C.exact?"{|":"{",B=C.exact?"|}":"}",M=[];for(let t of P)e.each((e=>{let t=e.getValue();M.push({node:t,printed:D(),loc:b(t)})}),t);P.length>1&&M.sort(((e,t)=>e.loc-t.loc));let L=[],U=M.map((e=>{let r=[...L,s(e.printed)];return L=[N,a],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&h(e.node,m.PrettierIgnore)&&L.shift(),y(e.node,t)&&L.push(d),r}));if(C.inexact){let n;if(h(C,m.Dangling)){let s=h(C,m.Line);n=[r(e,t,!0),s||c(t.originalText,v(l(g(C))))?d:a,"..."]}else n=["..."];U.push([...L,...n])}let W,z=l(C[j]),V=!(C.inexact||z&&"RestElement"===z.type||z&&("TSPropertySignature"===z.type||"TSCallSignatureDeclaration"===z.type||"TSMethodSignature"===z.type||"TSConstructSignatureDeclaration"===z.type)&&h(z,m.PrettierIgnore));if(0===U.length){if(!h(C,m.Dangling))return[F,B,R(e,t,D)];W=s([F,r(e,t),n,B,x(e),R(e,t,D)])}else W=[O&&p(C.properties)?S(I):"",F,i([t.bracketSpacing?a:n,...U]),o(V&&(","!==N||f(t))?N:""),t.bracketSpacing?a:n,B,x(e),R(e,t,D)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,r)=>E(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||e.match(w,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,r)=>E(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||!_&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?W:s(W,{shouldBreak:_})}t.exports={printObject:j}}}),pa=x({"src/language-js/print/flow.js"(e,t){D();var r=Kt(),{printDanglingComments:a}=$t(),{printString:n,printNumber:s}=me(),{builders:{hardline:i,softline:o,group:d,indent:l}}=K(),{getParentExportDeclaration:u,isFunctionNotation:c,isGetterOrSetter:p,rawText:f,shouldPrintComma:h}=dr(),{locStart:g,locEnd:m}=Ut(),{replaceTextEndOfLine:y}=q(),{printClass:b}=da(),{printOpaqueType:v,printTypeAlias:x,printIntersectionType:R,printUnionType:E,printFunctionType:w,printTupleType:S,printIndexedAccessType:j}=aa(),{printInterface:T}=la(),{printTypeParameter:C,printTypeParameters:A}=na(),{printExportDeclaration:P,printExportAllDeclaration:k}=ua(),{printArrayItems:I}=Xr(),{printObject:O}=ca(),{printPropertyKey:_}=sa(),{printOptionalToken:N,printTypeAnnotation:F,printRestSpread:B}=Jr();function M(e,t,u){let D=e.getValue(),M=t.semi?";":"",U=[];switch(D.type){case"DeclareClass":return L(e,b(e,t,u));case"DeclareFunction":return L(e,["function ",u("id"),D.predicate?" ":"",u("predicate"),M]);case"DeclareModule":return L(e,["module ",u("id")," ",u("body")]);case"DeclareModuleExports":return L(e,["module.exports",": ",u("typeAnnotation"),M]);case"DeclareVariable":return L(e,["var ",u("id"),M]);case"DeclareOpaqueType":return L(e,v(e,t,u));case"DeclareInterface":return L(e,T(e,t,u));case"DeclareTypeAlias":return L(e,x(e,t,u));case"DeclareExportDeclaration":return L(e,P(e,t,u));case"DeclareExportAllDeclaration":return L(e,k(e,t,u));case"OpaqueType":return v(e,t,u);case"TypeAlias":return x(e,t,u);case"IntersectionTypeAnnotation":return R(e,t,u);case"UnionTypeAnnotation":return E(e,t,u);case"FunctionTypeAnnotation":return w(e,t,u);case"TupleTypeAnnotation":return S(e,t,u);case"GenericTypeAnnotation":return[u("id"),A(e,t,u,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return j(e,t,u);case"TypeAnnotation":return u("typeAnnotation");case"TypeParameter":return C(e,t,u);case"TypeofTypeAnnotation":return["typeof ",u("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[u("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(D.value);case"EnumDeclaration":return["enum ",u("id")," ",u("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===D.type||D.explicitType){let e=null;switch(D.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}U.push("of ",e," ")}if(0!==D.members.length||D.hasUnknownMembers){let r=D.members.length>0?[i,I(e,t,"members",u),D.hasUnknownMembers||h(t)?",":""]:[];U.push(d(["{",l([...r,...D.hasUnknownMembers?[i,"..."]:[]]),a(e,t,!0),i,"}"]))}else U.push(d(["{",a(e,t),o,"}"]));return U;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[u("id")," = ","object"==typeof D.init?u("init"):String(D.init)];case"EnumDefaultedMember":return u("id");case"FunctionTypeParam":{let t=D.name?u("name"):e.getParentNode().this===D?"this":"";return[t,N(e),t?": ":"",u("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return T(e,t,u);case"ClassImplements":case"InterfaceExtends":return[u("id"),u("typeParameters")];case"NullableTypeAnnotation":return["?",u("typeAnnotation")];case"Variance":{let{kind:e}=D;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return D.static&&U.push("static "),U.push(u("value")),U;case"ObjectTypeIndexer":return[D.static?"static ":"",D.variance?u("variance"):"","[",u("id"),D.id?": ":"",u("key"),"]: ",u("value")];case"ObjectTypeProperty":{let r="";return D.proto?r="proto ":D.static&&(r="static "),[r,p(D)?D.kind+" ":"",D.variance?u("variance"):"",_(e,t,u),N(e),c(D)?"":": ",u("value")]}case"ObjectTypeAnnotation":return O(e,t,u);case"ObjectTypeInternalSlot":return[D.static?"static ":"","[[",u("id"),"]]",N(e),D.method?"":": ",u("value")];case"ObjectTypeSpreadProperty":return B(e,t,u);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[u("qualification"),".",u("id")];case"StringLiteralTypeAnnotation":return y(n(f(D),t));case"NumberLiteralTypeAnnotation":r.strictEqual(typeof D.value,"number");case"BigIntLiteralTypeAnnotation":return D.extra?s(D.extra.raw):s(D.raw);case"TypeCastExpression":return["(",u("expression"),F(e,t,u),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=A(e,t,u,"params");if("flow"===t.parser){let e=g(D),a=m(D),n=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",a);if(-1!==n&&-1!==s){let e=t.originalText.slice(n+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"]}}return r}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",u("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(D.type))}}function L(e,t){let a=u(e);return a?(r.strictEqual(a.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:M}}}),fa=x({"src/language-js/utils/is-ts-keyword-type.js"(e,t){function r(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}D(),t.exports=r}}),ha=x({"src/language-js/print/ternary.js"(e,t){D();var{hasNewlineInRange:r}=me(),{isJsxNode:a,getComments:n,isCallExpression:s,isMemberExpression:i,isTSTypeExpression:o}=dr(),{locStart:d,locEnd:l}=Ut(),u=ir(),{builders:{line:c,softline:p,group:f,indent:h,align:g,ifBreak:m,dedent:y,breakParent:b}}=K();function v(e){let t=[e];for(let e=0;eI[e]===w)),_=I.type===w.type&&!O,N=0;do{R=o||w,o=e.getParentNode(N),N++}while(o&&o.type===w.type&&T.every((e=>o[e]!==R)));let F=o||I,B=R;if(S&&(a(w[T[0]])||a(C)||a(A)||v(B))){k=!0,_=!0;let e=e=>[m("("),h([p,e]),p,m(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;P.push(" ? ",t(C)?s(D):e(s(D))," : ",A.type===w.type||t(A)?s(j):e(s(j)))}else{let e=[c,"? ",C.type===w.type?m("","("):"",g(2,s(D)),C.type===w.type?m("",")"):"",c,": ",A.type===w.type?s(j):g(2,s(j))];P.push(I.type!==w.type||I[j]===w||O?e:t.useTabs?y(h(e)):g(Math.max(0,t.tabWidth-2),e))}let M=[...T.map((e=>n(w[e]))),n(C),n(A)].flat().some((e=>u(e)&&r(t.originalText,d(e),l(e)))),L=e=>I===F?f(e,{shouldBreak:M}):M?[e,b]:e,U=!k&&(i(I)||"NGPipeExpression"===I.type&&I.left===w)&&!I.computed,W=E(e),z=L([x(e,t,s),_?P:h(P),S&&U&&!W?p:""]);return O||W?f([h([p,z]),p]):z}t.exports={printTernary:w}}}),ga=x({"src/language-js/print/statement.js"(e,t){D();var{builders:{hardline:r}}=K(),a=Vr(),{getLeftSidePathName:n,hasNakedLeftSide:s,isJsxNode:i,isTheOnlyJsxElementInMarkdown:o,hasComment:d,CommentCheckFlags:l,isNextLineEmpty:u}=dr(),{shouldPrintParamsWithoutParens:c}=ia();function p(e,t,a,n){let s=e.getValue(),i=[],c="ClassBody"===s.type,p=f(s[n]);return e.each(((e,n,s)=>{let f=e.getValue();if("EmptyStatement"===f.type)return;let g=a();t.semi||c||o(t,e)||!h(e,t)?i.push(g):d(f,l.Leading)?i.push(a([],{needsSemi:!0})):i.push(";",g),!t.semi&&c&&b(f)&&v(f,s[n+1])&&i.push(";"),f!==p&&(i.push(r),u(f,t)&&i.push(r))}),n),i}function f(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}function h(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((e=>g(e,t)),"expression")}function g(e,t){let r=e.getValue();switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!c(e,t))return!0;break;case"UnaryExpression":{let{prefix:e,operator:t}=r;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(i(r))return!0}return!!a(e,t)||!!s(r)&&e.call((e=>g(e,t)),...n(e,r))}function m(e,t,r){return p(e,t,r,"body")}function y(e,t,r){return p(e,t,r,"consequent")}var b=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t||"AccessorProperty"===t||"TSAbstractPropertyDefinition"===t||"TSAbstractAccessorProperty"===t};function v(e,t){let{type:r,name:a}=e.key;if(!(e.computed||"Identifier"!==r||"static"!==a&&"get"!==a&&"set"!==a&&"accessor"!==a||e.value||e.typeAnnotation))return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(b(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;let e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}t.exports={printBody:m,printSwitchCaseConsequent:y}}}),ma=x({"src/language-js/print/block.js"(e,t){D();var{printDanglingComments:r}=$t(),{isNonEmptyArray:a}=me(),{builders:{hardline:n,indent:s}}=K(),{hasComment:i,CommentCheckFlags:o,isNextLineEmpty:d}=dr(),{printHardlineAfterHeritage:l}=da(),{printBody:u}=ga();function c(e,t,r){let i=e.getValue(),o=[];if("StaticBlock"===i.type&&o.push("static "),"ClassBody"===i.type&&a(i.body)){let t=e.getParentNode();o.push(l(t))}o.push("{");let d=p(e,t,r);if(d)o.push(s([n,d]),n);else{let t=e.getParentNode(),r=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!r.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===i.type||"ClassBody"===i.type||o.push(n)}return o.push("}"),o}function p(e,t,s){let l=e.getValue(),c=a(l.directives),p=l.body.some((e=>"EmptyStatement"!==e.type)),f=i(l,o.Dangling);if(!c&&!p&&!f)return"";let h=[];if(c&&e.each(((e,r,a)=>{h.push(s()),(r"]),r=[c("("),l([o,D("expression")]),o,c(")")];return e?u([[t,D("expression")],[t,d(r,{shouldBreak:!0})],[t,D("expression")]]):d([t,D("expression")])}case"TSDeclareFunction":return _(e,D,t);case"TSExportAssignment":return["export = ",D("expression"),H];case"TSModuleBlock":return B(e,t,D);case"TSInterfaceBody":case"TSTypeLiteral":return C(e,t,D);case"TSTypeAliasDeclaration":return M(e,t,D);case"TSQualifiedName":return n(".",[D("left"),D("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return P(e,t,D);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return A(e,t,D);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return K.push(D("expression")),G.typeParameters&&K.push(D("typeParameters")),K;case"TSTemplateLiteralType":return j(e,D,t);case"TSNamedTupleMember":return[D("label"),G.optional?"?":"",": ",D("elementType")];case"TSRestType":return["...",D("typeAnnotation")];case"TSOptionalType":return[D("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return F(e,t,D);case"TSClassImplements":case"TSInstantiationExpression":return[D("expression"),D("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return I(e,t,D,"params");case"TSTypeParameter":return k(e,t,D);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===G.type?"as":"satisfies";K.push(D("expression"),` ${t} `,D("typeAnnotation"));let r=e.getParentNode();return g(r)&&r.callee===G||m(r)&&r.object===G?d([l([o,...K]),o]):K}case"TSArrayType":return[D("elementType"),"[]"];case"TSPropertySignature":return G.readonly&&K.push("readonly "),K.push(O(e,t,D),x(e)),G.typeAnnotation&&K.push(": ",D("typeAnnotation")),G.initializer&&K.push(" = ",D("initializer")),K;case"TSParameterProperty":return G.accessibility&&K.push(G.accessibility+" "),G.export&&K.push("export "),G.static&&K.push("static "),G.override&&K.push("override "),G.readonly&&K.push("readonly "),K.push(D("parameter")),K;case"TSTypeQuery":return["typeof ",D("exprName"),D("typeParameters")];case"TSIndexSignature":{let r=e.getParentNode(),a=G.parameters.length>1?c(h(t)?",":""):"",s=d([l([o,n([", ",o],e.map(D,"parameters"))]),a,o]);return[G.export?"export ":"",G.accessibility?[G.accessibility," "]:"",G.static?"static ":"",G.readonly?"readonly ":"",G.declare?"declare ":"","[",G.parameters?s:"",G.typeAnnotation?"]: ":"]",G.typeAnnotation?D("typeAnnotation"):"","ClassBody"===r.type?H:""]}case"TSTypePredicate":return[G.asserts?"asserts ":"",D("parameterName"),G.typeAnnotation?[" is ",D("typeAnnotation")]:""];case"TSNonNullExpression":return[D("expression"),"!"];case"TSImportType":return[G.isTypeOf?"typeof ":"","import(",D(G.parameter?"parameter":"argument"),")",G.qualifier?[".",D("qualifier")]:"",I(e,t,D,"typeParameters")];case"TSLiteralType":return D("literal");case"TSIndexedAccessType":return V(e,t,D);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===G.type&&G.abstract&&K.push("abstract "),"TSCallSignatureDeclaration"!==G.type&&K.push("new "),K.push(d(w(e,D,t,!1,!0))),G.returnType||G.typeAnnotation){let e="TSConstructorType"===G.type;K.push(e?" => ":": ",D("returnType"),D("typeAnnotation"))}return K;case"TSTypeOperator":return[G.operator," ",D("typeAnnotation")];case"TSMappedType":{let n=a(t.originalText,b(G),v(G));return d(["{",l([t.bracketSpacing?s:o,D("typeParameter"),G.optional?f(G.optional,"?"):"",G.typeAnnotation?": ":"",D("typeAnnotation"),c(H)]),r(e,t,!0),t.bracketSpacing?s:o,"}"],{shouldBreak:n})}case"TSMethodSignature":{let r=G.kind&&"method"!==G.kind?`${G.kind} `:"";K.push(G.accessibility?[G.accessibility," "]:"",r,G.export?"export ":"",G.static?"static ":"",G.readonly?"readonly ":"",G.abstract?"abstract ":"",G.declare?"declare ":"",G.computed?"[":"",D("key"),G.computed?"]":"",x(e));let a=w(e,D,t,!1,!0),n=G.returnType?"returnType":"typeAnnotation",s=G[n],i=s?D(n):"",o=S(G,i);return K.push(o?d(a):a),s&&K.push(": ",d(i)),d(K)}case"TSNamespaceExportDeclaration":return K.push("export as namespace ",D("id")),t.semi&&K.push(";"),d(K);case"TSEnumDeclaration":return G.declare&&K.push("declare "),G.modifiers&&K.push(R(e,t,D)),G.const&&K.push("const "),K.push("enum ",D("id")," "),0===G.members.length?K.push(d(["{",r(e,t),o,"}"])):K.push(d(["{",l([i,T(e,t,"members",D),h(t,"es5")?",":""]),r(e,t,!0),i,"}"])),K;case"TSEnumMember":return G.computed?K.push("[",D("id"),"]"):K.push(D("id")),G.initializer&&K.push(" = ",D("initializer")),K;case"TSImportEqualsDeclaration":return G.isExport&&K.push("export "),K.push("import "),G.importKind&&"value"!==G.importKind&&K.push(G.importKind," "),K.push(D("id")," = ",D("moduleReference")),t.semi&&K.push(";"),d(K);case"TSExternalModuleReference":return["require(",D("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),a=p(G.id),n="TSModuleDeclaration"===r.type,s=G.body&&"TSModuleDeclaration"===G.body.type;if(n)K.push(".");else{G.declare&&K.push("declare "),K.push(R(e,t,D));let r=t.originalText.slice(b(G),b(G.id));"Identifier"===G.id.type&&"global"===G.id.name&&!/namespace|module/.test(r)||K.push(a||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return K.push(D("id")),s?K.push(D("body")):G.body?K.push(" ",d(D("body"))):K.push(H),K}case"TSConditionalType":return E(e,t,D);case"TSInferType":return["infer"," ",D("typeParameter")];case"TSIntersectionType":return L(e,t,D);case"TSUnionType":return U(e,t,D);case"TSFunctionType":return W(e,t,D);case"TSTupleType":return z(e,t,D);case"TSTypeReference":return[D("typeName"),I(e,t,D,"typeParameters")];case"TSTypeAnnotation":return D("typeAnnotation");case"TSEmptyBodyFunctionExpression":return N(e,t,D);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return q(e,D,"?");case"TSJSDocNonNullableType":return q(e,D,"!");default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(G.type)}.`)}}t.exports={printTypescript:G}}}),ba=x({"src/language-js/print/comment.js"(e,t){D();var{hasNewline:r}=me(),{builders:{join:a,hardline:n},utils:{replaceTextEndOfLine:s}}=K(),{isLineComment:i}=dr(),{locStart:o,locEnd:d}=Ut(),l=ir();function u(e,t){let a=e.getValue();if(i(a))return t.originalText.slice(o(a),d(a)).trimEnd();if(l(a)){if(c(a)){let e=p(a);return a.trailing&&!r(t.originalText,o(a),{backwards:!0})?[n,e]:e}let e=d(a),i="*-/"===t.originalText.slice(e-3,e);return["/*",s(a.value),i?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(a))}function c(e){let t=`*${e.value}*`.split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}function p(e){let t=e.value.split("\n");return["/*",a(n,t.map(((e,r)=>0===r?e.trimEnd():" "+(r{let{marker:t}=e;return t===C}));return[c("expression"),x(t,e)?"":h,a?[" ",a]:""]}case"ParenthesizedExpression":return b(f.expression)||"ObjectExpression"!==f.expression.type&&"ArrayExpression"!==f.expression.type?d(["(",l([o,c("expression")]),o,")"]):["(",c("expression"),")"];case"AssignmentExpression":return pe(e,t,c);case"VariableDeclarator":return ce(e,t,c);case"BinaryExpression":case"LogicalExpression":return fe(e,t,c);case"AssignmentPattern":return[c("left")," = ",c("right")];case"OptionalMemberExpression":case"MemberExpression":return ge(e,t,c);case"MetaProperty":return[c("meta"),".",c("property")];case"BindExpression":return f.object&&g.push(c("object")),g.push(d(l([o,U(e,t,c)]))),g;case"Identifier":return[f.name,L(e),q(e),W(e,t,c)];case"V8IntrinsicIdentifier":return["%",f.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return V(e,t,c);case"FunctionDeclaration":case"FunctionExpression":return se(e,c,t,p);case"ArrowFunctionExpression":return ie(e,t,c,p);case"YieldExpression":return g.push("yield"),f.delegate&&g.push("*"),f.argument&&g.push(" ",c("argument")),g;case"AwaitExpression":if(g.push("await"),f.argument){g.push(" ",c("argument"));let t=e.getParentNode();if(j(t)&&t.callee===f||T(t)&&t.object===f){g=[l([o,...g]),o];let t=e.findAncestor((e=>"AwaitExpression"===e.type||"BlockStatement"===e.type));if(!t||"AwaitExpression"!==t.type)return d(g)}}return g;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return $(e,t,c);case"ExportAllDeclaration":return J(e,t,c);case"ImportDeclaration":return H(e,t,c);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return X(e,t,c);case"ImportAttribute":return[c("key"),": ",c("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ye(e,t,c);case"ThrowStatement":return le(e,t,c);case"ReturnStatement":return de(e,t,c);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ue(e,t,c);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,c);case"ObjectProperty":case"Property":return f.method||"get"===f.kind||"set"===f.kind?oe(e,t,c):ne(e,t,c);case"ObjectMethod":return oe(e,t,c);case"Decorator":return["@",c("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Z(e,t,c);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each(((e,r)=>{0===r?t.push(c()):t.push(",",l([s,c()]))}),"expressions"),d(t)}return d(n([",",s],e.map(c,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[c("value"),h];case"DirectiveLiteral":return G(f.extra.raw,t);case"UnaryExpression":return g.push(f.operator),/[a-z]$/.test(f.operator)&&g.push(" "),b(f.argument)?g.push(d(["(",l([o,c("argument")]),o,")"])):g.push(c("argument")),g;case"UpdateExpression":return g.push(c("argument"),f.operator),f.prefix&&g.reverse(),g;case"ConditionalExpression":return Y(e,t,c);case"VariableDeclaration":{let t,r=e.map(c,"declarations"),a=e.getParentNode(),n="ForStatement"===a.type||"ForInStatement"===a.type||"ForOfStatement"===a.type,o=f.declarations.some((e=>e.init));return 1!==r.length||b(f.declarations[0])?r.length>0&&(t=l(r[0])):t=r[0],g=[f.declare?"declare ":"",f.kind,t?[" ",t]:"",l(r.slice(1).map((e=>[",",o&&!n?i:s,e])))],n&&a.body!==f||g.push(h),d(g)}case"WithStatement":return d(["with (",c("object"),")",z(f.body,c("body"))]);case"IfStatement":{let a=z(f.consequent,c("consequent")),n=d(["if (",d([l([o,c("test")]),o]),")",a]);if(g.push(n),f.alternate){let a=b(f.consequent,v.Trailing|v.Line)||w(f),n="BlockStatement"===f.consequent.type&&!a;g.push(n?" ":i),b(f,v.Dangling)&&g.push(r(e,t,!0),a?i:" "),g.push("else",d(z(f.alternate,c("alternate"),"IfStatement"===f.alternate.type)))}return g}case"ForStatement":{let a=z(f.body,c("body")),n=r(e,t,!0),i=n?[n,o]:"";return f.init||f.test||f.update?[i,d(["for (",d([l([o,c("init"),";",s,c("test"),";",s,c("update")]),o]),")",a])]:[i,d(["for (;;)",a])]}case"WhileStatement":return d(["while (",d([l([o,c("test")]),o]),")",z(f.body,c("body"))]);case"ForInStatement":return d(["for (",c("left")," in ",c("right"),")",z(f.body,c("body"))]);case"ForOfStatement":return d(["for",f.await?" await":""," (",c("left")," of ",c("right"),")",z(f.body,c("body"))]);case"DoWhileStatement":{let e=z(f.body,c("body"));return g=[d(["do",e])],"BlockStatement"===f.body.type?g.push(" "):g.push(i),g.push("while (",d([l([o,c("test")]),o]),")",h),g}case"DoExpression":return[f.async?"async ":"","do ",c("body")];case"BreakStatement":return g.push("break"),f.label&&g.push(" ",c("label")),g.push(h),g;case"ContinueStatement":return g.push("continue"),f.label&&g.push(" ",c("label")),g.push(h),g;case"LabeledStatement":return"EmptyStatement"===f.body.type?[c("label"),":;"]:[c("label"),": ",c("body")];case"TryStatement":return["try ",c("block"),f.handler?[" ",c("handler")]:"",f.finalizer?[" finally ",c("finalizer")]:""];case"CatchClause":if(f.param){let e=b(f.param,(e=>!k(e)||e.leading&&a(t.originalText,P(e))||e.trailing&&a(t.originalText,A(e),{backwards:!0}))),r=c("param");return["catch ",e?["(",l([o,r]),o,") "]:["(",r,") "],c("body")]}return["catch ",c("body")];case"SwitchStatement":return[d(["switch (",l([o,c("discriminant")]),o,")"])," {",f.cases.length>0?l([i,n(i,e.map(((e,r,a)=>{let n=e.getValue();return[c(),r!==a.length-1&&E(n,t)?i:""]}),"cases"))]):"",i,"}"];case"SwitchCase":{f.test?g.push("case ",c("test"),":"):g.push("default:"),b(f,v.Dangling)&&g.push(" ",r(e,t,!0));let a=f.consequent.filter((e=>"EmptyStatement"!==e.type));if(a.length>0){let r=he(e,t,c);g.push(1===a.length&&"BlockStatement"===a[0].type?[" ",r]:l([i,r]))}return g}case"DebuggerStatement":return["debugger",h];case"ClassDeclaration":case"ClassExpression":return te(e,t,c);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return re(e,t,c);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return ae(e,t,c);case"TemplateElement":return u(f.value.raw);case"TemplateLiteral":return Q(e,c,t);case"TaggedTemplateExpression":return[c("tag"),c("typeParameters"),c("quasi")];case"PrivateIdentifier":return["#",c("name")];case"PrivateName":return["#",c("id")];case"InterpreterDirective":return g.push("#!",f.value,i),E(f,t)&&g.push(i),g;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{g.push("module {");let e=c("body");return e&&g.push(l([i,e]),i),g.push("}"),g}default:throw new Error("unknown type: "+JSON.stringify(f.type))}}function Se(e){return e.type&&!k(e)&&!R(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type}t.exports={preprocess:m,print:Ee,embed:c,insertPragma:f,massageAstNode:p,hasPrettierIgnore(e){return S(e)||F(e)},willPrintOwnComments:h.willPrintOwnComments,canAttachComment:Se,printComment:ve,isBlockComment:k,handleComments:{avoidAstMutation:!0,ownLine:h.handleOwnLineComment,endOfLine:h.handleEndOfLineComment,remaining:h.handleRemainingComment},getCommentChildNodes:h.getCommentChildNodes}}}),Ra=x({"src/language-js/printer-estree-json.js"(e,t){D();var{builders:{hardline:r,indent:a,join:n}}=K(),s=qr();function i(e,t,s){let i=e.getValue();switch(i.type){case"JsonRoot":return[s("node"),r];case"ArrayExpression":{if(0===i.elements.length)return"[]";let t=e.map((()=>null===e.getValue()?"null":s()),"elements");return["[",a([r,n([",",r],t)]),r,"]"]}case"ObjectExpression":return 0===i.properties.length?"{}":["{",a([r,n([",",r],e.map(s,"properties"))]),r,"}"];case"ObjectProperty":return[s("key"),": ",s("value")];case"UnaryExpression":return["+"===i.operator?"":i.operator,s("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return i.value?"true":"false";case"StringLiteral":return JSON.stringify(i.value);case"NumericLiteral":return o(e)?JSON.stringify(String(i.value)):JSON.stringify(i.value);case"Identifier":return o(e)?JSON.stringify(i.name):i.name;case"TemplateLiteral":return s(["quasis",0]);case"TemplateElement":return JSON.stringify(i.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(i.type))}}function o(e){return"key"===e.getName()&&"ObjectProperty"===e.getParentNode().type}var d=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function l(e,t){let{type:r}=e;if("ObjectProperty"!==r){if("UnaryExpression"===r&&"+"===e.operator)return t.argument;if("ArrayExpression"!==r)return"TemplateLiteral"===r?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[r,a]of e.elements.entries())null===a&&t.elements.splice(r,0,{type:"NullLiteral"})}else{let{key:r}=e;"Identifier"===r.type?t.key={type:"StringLiteral",value:r.name}:"NumericLiteral"===r.type&&(t.key={type:"StringLiteral",value:String(r.value)})}}l.ignoredProperties=d,t.exports={preprocess:s,print:i,massageAstNode:l}}}),Ea=x({"src/common/common-options.js"(e,t){D();var r="Common";t.exports={bracketSpacing:{since:"0.0.0",category:r,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:r,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:r,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:r,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:r,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),wa=x({"src/language-js/options.js"(e,t){D();var r=Ea(),a="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:a,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:r.bracketSameLine,bracketSpacing:r.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:a,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:a,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:r.singleQuote,jsxSingleQuote:{since:"1.15.0",category:a,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:a,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:a,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:r.singleAttributePerLine}}}),Sa=x({"src/language-js/parse/parsers.js"(){D()}}),Da=x({"node_modules/linguist-languages/data/JavaScript.json"(e,t){t.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}}}),ja=x({"node_modules/linguist-languages/data/TypeScript.json"(e,t){t.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}}}),Ta=x({"node_modules/linguist-languages/data/TSX.json"(e,t){t.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Ca=x({"node_modules/linguist-languages/data/JSON.json"(e,t){t.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}}}),Aa=x({"node_modules/linguist-languages/data/JSON with Comments.json"(e,t){t.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}}}),Pa=x({"node_modules/linguist-languages/data/JSON5.json"(e,t){t.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),ka=x({"src/language-js/index.js"(e,t){D();var r=tr(),a=xa(),n=Ra(),s=wa(),i=Sa(),o=[r(Da(),(e=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter((e=>".jsx"!==e)),".wxs"]}))),r(Da(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),r(Da(),(()=>({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}))),r(ja(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),r(Ta(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),r(Ca(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}))),r(Ca(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),r(Aa(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]}))),r(Pa(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],d={estree:a,"estree-json":n};t.exports={languages:o,options:s,printers:d,parsers:i}}}),Ia=x({"src/language-css/clean.js"(e,t){D();var{isFrontMatterNode:r}=me(),a=k(),n=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function s(e,t,n){if(r(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0&&((n.nodes[0]===e||r(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===n.type&&a(n.nodes)===e))return null;if("value-root"===e.type&&delete t.text,("media-query"===e.type||"media-query-list"===e.type||"media-feature-expression"===e.type)&&delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),("css-atrule"===e.type||"css-import"===e.type)&&(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),("media-feature"===e.type||"media-keyword"===e.type||"media-type"===e.type||"media-unknown"===e.type||"media-url"===e.type||"media-value"===e.type||"selector-attribute"===e.type||"selector-string"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"value-string"===e.type)&&t.value&&(t.value=i(t.value)),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),("media-value"===e.type||"media-type"===e.type||"value-number"===e.type||"selector-root-invalid"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"selector-tag"===e.type)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((e,t,r)=>{let a=Number(t);return Number.isNaN(a)?e:a+r.toLowerCase()}))),"selector-tag"===e.type){let r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}if("css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value,"value-comma_group"===e.type){let r=e.groups.findIndex((e=>"value-number"===e.type&&"..."===e.unit));-1!==r&&(t.groups[r].unit="",t.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}return"value-comma_group"===e.type&&e.groups.some((e=>"value-atword"===e.type&&e.value.endsWith("[")||"value-word"===e.type&&e.value.startsWith("]")))?{type:"value-atword",value:e.groups.map((e=>e.value)).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}:void 0}function i(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}s.ignoredProperties=n,t.exports=s}}),Oa=x({"src/utils/front-matter/print.js"(e,t){D();var{builders:{hardline:r,markAsRoot:a}}=K();function n(e,t){if("yaml"===e.lang){let n=e.value.trim(),s=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return a([e.startDelimiter,r,s,s?r:"",e.endDelimiter])}}t.exports=n}}),_a=x({"src/language-css/embed.js"(e,t){D();var{builders:{hardline:r}}=K(),a=Oa();function n(e,t,n){let s=e.getValue();if("front-matter"===s.type){let e=a(s,n);return e?[e,r]:""}}t.exports=n}}),Na=x({"src/utils/front-matter/parse.js"(e,t){D();var r=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function a(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:a,language:n,value:s="",endDelimiter:i}=t.groups,o=n.trim()||"yaml";if("+++"===a&&(o="toml"),"yaml"!==o&&a!==i)return{content:e};let[d]=t;return{frontMatter:{type:"front-matter",lang:o,value:s,startDelimiter:a,endDelimiter:i,raw:d.replace(/\n$/,"")},content:d.replace(/[^\n]/g," ")+e.slice(d.length)}}t.exports=a}}),Fa=x({"src/language-css/pragma.js"(e,t){D();var r=Ur(),a=Na();function n(e){return r.hasPragma(a(e).content)}function s(e){let{frontMatter:t,content:n}=a(e);return(t?t.raw+"\n\n":"")+r.insertPragma(n)}t.exports={hasPragma:n,insertPragma:s}}}),Ba=x({"src/language-css/utils/index.js"(e,t){D();var r=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 a(e,t){let r,a=Array.isArray(t)?t:[t],n=-1;for(;r=e.getParentNode(++n);)if(a.includes(r.type))return n;return-1}function n(e,t){let r=a(e,t);return-1===r?null:e.getParentNode(r)}function s(e){var t;let r=n(e,"css-decl");return null==r||null===(t=r.prop)||void 0===t?void 0:t.toLowerCase()}var i=new Set(["initial","inherit","unset","revert"]);function o(e){return i.has(e.toLowerCase())}function d(e,t){let r=n(e,"css-atrule");return(null==r?void 0:r.name)&&r.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())}function l(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()}function u(e,t){var r;let a=n(e,"value-func");return(null==a||null===(r=a.value)||void 0===r?void 0:r.toLowerCase())===t}function c(e){var t;let r=n(e,"css-rule"),a=null==r||null===(t=r.raws)||void 0===t?void 0:t.selector;return a&&(a.startsWith(":import")||a.startsWith(":export"))}function p(e,t){let r=Array.isArray(t)?t:[t],a=n(e,"css-atrule");return a&&r.includes(a.name.toLowerCase())}function f(e){let t=e.getValue(),r=n(e,"css-atrule");return"import"===(null==r?void 0:r.name)&&"url"===t.groups[0].value&&2===t.groups.length}function h(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()}function g(e,t){var r;let a=null===(r=e.getParentNode())||void 0===r?void 0:r.nodes;return a&&a.indexOf(t)===a.length-1}function m(e){let{selector:t}=e;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))}function y(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)}function b(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)}function v(e){return"value-word"===e.type&&"in"===e.value}function x(e){return"value-operator"===e.type&&"*"===e.value}function R(e){return"value-operator"===e.type&&"/"===e.value}function E(e){return"value-operator"===e.type&&"+"===e.value}function w(e){return"value-operator"===e.type&&"-"===e.value}function S(e){return"value-operator"===e.type&&"%"===e.value}function j(e){return x(e)||R(e)||E(e)||w(e)||S(e)}function T(e){return"value-word"===e.type&&["==","!="].includes(e.value)}function C(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)}function A(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)}function P(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)}function k(e){return e.name.startsWith("prettier-placeholder")}function I(e){return e.prop.startsWith("@prettier-placeholder")}function O(e,t){return"$$"===e.value&&"value-func"===e.type&&"value-word"===(null==t?void 0:t.type)&&!t.raws.before}function _(e){var t,r;return"value-root"===(null===(t=e.value)||void 0===t?void 0:t.type)&&"value-value"===(null===(r=e.value.group)||void 0===r?void 0:r.type)&&"composes"===e.prop.toLowerCase()}function N(e){var t,r,a;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(r=t.group)||void 0===r||null===(a=r.group)||void 0===a?void 0:a.type)&&null!==e.value.group.group.open&&null!==e.value.group.group.close}function F(e){var t;return""===(null===(t=e.raws)||void 0===t?void 0:t.before)}function B(e){var t,r;return"value-comma_group"===e.type&&"value-colon"===(null===(t=e.groups)||void 0===t||null===(r=t[1])||void 0===r?void 0:r.type)}function M(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&B(e.groups[0])}function L(e){var t;let r=e.getValue();if(0===r.groups.length)return!1;let a=e.getParentNode(1);if(!(M(r)||a&&M(a)))return!1;let s=n(e,"css-decl");return!!(null!=s&&null!==(t=s.prop)&&void 0!==t&&t.startsWith("$")||M(a)||"value-func"===a.type)}function U(e){return"value-comment"===e.type&&e.inline}function W(e){return"value-word"===e.type&&"#"===e.value}function z(e){return"value-word"===e.type&&"{"===e.value}function V(e){return"value-word"===e.type&&"}"===e.value}function q(e){return["value-word","value-atword"].includes(e.type)}function G(e){return"value-colon"===(null==e?void 0:e.type)}function H(e,t){if(!B(t))return!1;let{groups:r}=t,a=r.indexOf(e);return-1!==a&&G(r[a+1])}function K(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function $(e){return"value-func"===e.type&&r.has(e.value.toLowerCase())}function J(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function X(e){return"value-atword"===(null==e?void 0:e.type)&&e.value.startsWith("prettier-placeholder-")}function Y(e,t){var r,a;if("("!==(null===(r=e.open)||void 0===r?void 0:r.value)||")"!==(null===(a=e.close)||void 0===a?void 0:a.value)||e.groups.some((e=>"value-comma_group"!==e.type)))return!1;if("value-comma_group"===t.type){let r=t.groups.indexOf(e)-1,a=t.groups[r];if("value-word"===(null==a?void 0:a.type)&&"with"===a.value)return!0}return!1}function Q(e){var t,r;return"value-paren_group"===e.type&&"("===(null===(t=e.open)||void 0===t?void 0:t.value)&&")"===(null===(r=e.close)||void 0===r?void 0:r.value)}t.exports={getAncestorCounter:a,getAncestorNode:n,getPropOfDeclNode:s,maybeToLowerCase:l,insideValueFunctionNode:u,insideICSSRuleNode:c,insideAtRuleNode:p,insideURLFunctionInImportAtRuleNode:f,isKeyframeAtRuleKeywords:d,isWideKeywords:o,isLastNode:g,isSCSSControlDirectiveNode:A,isDetachedRulesetDeclarationNode:m,isRelationalOperatorNode:C,isEqualityOperatorNode:T,isMultiplicationNode:x,isDivisionNode:R,isAdditionNode:E,isSubtractionNode:w,isModuloNode:S,isMathOperatorNode:j,isEachKeywordNode:v,isForKeywordNode:y,isURLFunctionNode:h,isIfElseKeywordNode:b,hasComposesNode:_,hasParensAroundNode:N,hasEmptyRawBefore:F,isDetachedRulesetCallNode:P,isTemplatePlaceholderNode:k,isTemplatePropNode:I,isPostcssSimpleVarNode:O,isKeyValuePairNode:B,isKeyValuePairInParenGroupNode:M,isKeyInValuePairNode:H,isSCSSMapItemNode:L,isInlineValueCommentNode:U,isHashNode:W,isLeftCurlyBraceNode:z,isRightCurlyBraceNode:V,isWordNode:q,isColonNode:G,isMediaAndSupportsKeywords:K,isColorAdjusterFuncNode:$,lastLineHasInlineComment:J,isAtWordPlaceholderNode:X,isConfigurationNode:Y,isParenGroupNode:Q}}}),Ma=x({"src/utils/line-column-to-index.js"(e,t){D(),t.exports=function(e,t){let r=0;for(let a=0;a0?c:""]}case"css-comment":{let e=s.inline||s.raws.inline,r=t.originalText.slice(ve(s),xe(s));return e?r.trimEnd():r}case"css-rule":return[a("selector"),s.important?" !important":"",s.nodes?[s.selector&&"selector-unknown"===s.selector.type&&he(s.selector.value)?u:" ","{",s.nodes.length>0?g([c,je(e,t,a)]):"",c,"}",B(s)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:n}=s.raws,i=n.trim(),o=":"===i,d=X(s)?v(a("value")):a("value");return!o&&he(i)&&(d=g([c,m(d)])),[s.raws.before.replace(/[\s;]/g,""),"css-atrule"===r.type&&r.variable||A(e)?s.prop:T(s.prop),i.startsWith("//")?" ":"",i,s.extend?"":" ",Re(t)&&s.extend&&s.selector?["extend(",a("selector"),")"]:"",d,s.raws.important?s.raws.important.replace(/\s*!\s*important/i," !important"):s.important?" !important":"",s.raws.scssDefault?s.raws.scssDefault.replace(/\s*!default/i," !default"):s.scssDefault?" !default":"",s.raws.scssGlobal?s.raws.scssGlobal.replace(/\s*!global/i," !global"):s.scssGlobal?" !global":"",s.nodes?[" {",g([p,je(e,t,a)]),p,"}"]:ae(s)&&!r.raws.semicolon&&";"!==t.originalText[xe(s)-1]?"":t.__isHTMLStyleAttribute&&N(e,s)?y(";"):";"]}case"css-atrule":{let r=e.getParentNode(),n=re(s)&&!r.raws.semicolon&&";"!==t.originalText[xe(s)-1];if(Re(t)){if(s.mixin)return[a("selector"),s.important?" !important":"",n?"":";"];if(s.function)return[s.name,a("params"),n?"":";"];if(s.variable)return["@",s.name,": ",s.value?a("value"):"",s.raws.between.trim()?s.raws.between.trim()+" ":"",s.nodes?["{",g([s.nodes.length>0?p:"",je(e,t,a)]),p,"}"]:"",n?"":";"]}return["@",te(s)||s.name.endsWith(":")?s.name:T(s.name),s.params?[te(s)?"":re(s)?""===s.raws.afterName?"":s.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(s.raws.afterName)?[c,c]:/^\s*\n/.test(s.raws.afterName)?c:" ":" ",a("params")]:"",s.selector?g([" ",a("selector")]):"",s.value?f([" ",a("value"),F(s)?Y(s)?" ":u:""]):"else"===s.name?" ":"",s.nodes?[F(s)?"":s.selector&&!s.selector.nodes&&"string"==typeof s.selector.value&&he(s.selector.value)||!s.selector&&"string"==typeof s.params&&he(s.params)?u:" ","{",g([s.nodes.length>0?p:"",je(e,t,a)]),p,"}"]:n?"":";"]}case"media-query-list":{let t=[];return e.each((e=>{let r=e.getValue();"media-query"===r.type&&""===r.value||t.push(a())}),"nodes"),f(g(l(u,t)))}case"media-query":return[l(" ",e.map(a,"nodes")),N(e,s)?"":","];case"media-type":case"media-value":return _e(Ie(s.value,t));case"media-feature-expression":return s.nodes?["(",...e.map(a,"nodes"),")"]:s.value;case"media-feature":return T(Ie(s.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[s.value," "];case"media-keyword":case"selector-string":return Ie(s.value,t);case"media-url":return Ie(s.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return s.value;case"selector-root":return f([P(e,"custom-selector")?[S(e,"css-atrule").customSelector,u]:"",l([",",P(e,["extend","custom-selector","nest"])?u:c],e.map(a,"nodes"))]);case"selector-selector":return f(g(e.map(a,"nodes")));case"selector-tag":{let t=e.getParentNode(),r=t&&t.nodes.indexOf(s),a=r&&t.nodes[r-1];return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"","selector-nesting"===a.type?s.value:_e(O(e,s.value)?s.value.toLowerCase():s.value)]}case"selector-id":return["#",s.value];case"selector-class":return[".",_e(Ie(s.value,t))];case"selector-attribute":var i;return["[",s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.attribute.trim(),null!==(i=s.operator)&&void 0!==i?i:"",s.value?Oe(Ie(s.value.trim(),t),t):"",s.insensitive?" i":"","]"];case"selector-combinator":if("+"===s.value||">"===s.value||"~"===s.value||">>>"===s.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===s?"":u,s.value,N(e,s)?"":" "]}return[s.value.trim().startsWith("(")?u:"",_e(Ie(s.value.trim(),t))||u];case"selector-universal":return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.value];case"selector-pseudo":return[T(s.value),d(s.nodes)?f(["(",g([p,l([",",u],e.map(a,"nodes"))]),p,")"]):""];case"selector-unknown":{let r=S(e,"css-rule");if(r&&r.isSCSSNesterProperty)return _e(Ie(T(s.value),t));let a=e.getParentNode();if(a.raws&&a.raws.selector){let e=ve(a),r=e+a.raws.selector.length;return t.originalText.slice(e,r).trim()}let n=e.getParentNode(1);if("value-paren_group"===a.type&&n&&"value-func"===n.type&&"selector"===n.value){let e=xe(a.open)+1,r=ve(a.close),n=t.originalText.slice(e,r).trim();return he(n)?[b,n]:n}return s.value}case"value-value":case"value-root":return a("group");case"value-comment":return t.originalText.slice(ve(s),xe(s));case"value-comma_group":{let r=e.getParentNode(),n=e.getParentNode(1),i=j(e),o=i&&"value-value"===r.type&&("grid"===i||i.startsWith("grid-template")),d=S(e,"css-atrule"),l=d&&F(d),y=s.groups.some((e=>ie(e))),v=e.map(a,"groups"),x=[],E=C(e,"url"),w=!1,D=!1;for(let a=0;at:-1!==e?w=!0:-1!==t&&(w=!1)}if(w||ce(f)||ce(h)||"value-atword"===f.type&&(""===f.value||f.value.endsWith("["))||"value-word"===h.type&&h.value.startsWith("]")||"~"===f.value||f.value&&f.value.includes("\\")&&h&&"value-comment"!==h.type||i&&i.value&&i.value.indexOf("\\")===i.value.length-1&&"value-operator"===f.type&&"/"===f.value||"\\"===f.value||ne(f,h)||oe(f)||de(f)||le(h)||de(h)&&Q(h)||le(f)&&Q(h)||"--"===f.value&&oe(h))continue;let y=q(f),b=q(h);if((y&&oe(h)||b&&le(f))&&Q(h)||!i&&W(f)||C(e,"calc")&&(z(f)||z(h)||V(f)||V(h))&&Q(h))continue;let S=(z(f)||V(f))&&0===a&&("value-number"===h.type||h.isHex)&&n&&fe(n)&&!Q(h),j=g&&"value-func"===g.type||g&&ue(g)||"value-func"===f.type||ue(f),T="value-func"===h.type||ue(h)||i&&"value-func"===i.type||i&&ue(i);if((U(h)||U(f)||C(e,"calc")||S||!(W(h)&&!j||W(f)&&!T||z(h)&&!j||z(f)&&!T||V(h)||V(f))||!(Q(h)||y&&(!i||i&&q(i))))&&("scss"!==t.parser&&"less"!==t.parser||!y||"-"!==f.value||!be(h)||xe(f)!==ve(h.open)||"("!==h.open.value)){if(ie(f)){if("value-paren_group"===r.type){x.push(m(c));continue}x.push(c);continue}if(l&&(L(h)||M(h)||J(h)||G(f)||H(f))){x.push(" ");continue}if(d&&"namespace"===d.name.toLowerCase()){x.push(" ");continue}if(o){f.source&&h.source&&f.source.start.line!==h.source.start.line?(x.push(c),D=!0):x.push(" ");continue}if(b){x.push(" ");continue}if(!(h&&"..."===h.value||ge(f)&&ge(h)&&xe(f)===ve(h))){if(ge(f)&&be(h)&&xe(f)===ve(h.open)){x.push(p);continue}if("with"===f.value&&be(h)){x.push(" ");continue}null!==(R=f.value)&&void 0!==R&&R.endsWith("#")&&"{"===h.value&&be(h.group)||x.push(u)}}}return y&&x.push(b),D&&x.unshift(c),l?f(g(x)):I(e)?f(h(x)):f(g(h(x)))}case"value-paren_group":{let n=e.getParentNode();if(n&&$(n)&&(1===s.groups.length||s.groups.length>0&&"value-comma_group"===s.groups[0].type&&s.groups[0].groups.length>0&&"value-word"===s.groups[0].groups[0].type&&s.groups[0].groups[0].value.startsWith("data:")))return[s.open?a("open"):"",l(",",e.map(a,"groups")),s.close?a("close"):""];if(!s.open){let t=e.map(a,"groups"),r=[];for(let e=0;e{let i=e.getValue(),l=n===s.groups.length-1,u=[a(),l?"":","];if(Z(i)&&"value-comma_group"===i.type&&i.groups&&"value-paren_group"!==i.groups[0].type&&i.groups[2]&&"value-paren_group"===i.groups[2].type){let e=x(u[0].contents.contents);e[1]=f(e[1]),u=[f(m(u))]}if(!l&&"value-comma_group"===i.type&&d(i.groups)){let e=r(i.groups);!e.source&&e.close&&(e=e.close),e.source&&o(t.originalText,e,xe)&&u.push(c)}return u}),"groups"))]),y(!v&&Ee(t.parser,t.originalText)&&i&&Se(t)?",":""),p,s.close?a("close"):""],{shouldBreak:w});return S?m(D):D}case"value-func":return[s.value,P(e,"supports")&&pe(s)?" ":"",a("group")];case"value-number":return[Ne(s.value),we(s.unit)];case"value-word":return s.isColor&&s.isHex||_(s.value)?s.value.toLowerCase():s.value;case"value-colon":{let t=e.getParentNode(),a=t&&t.groups.indexOf(s),n=a&&t.groups[a-1];return[s.value,n&&"string"==typeof n.value&&"\\"===r(n.value)||C(e,"url")?"":u]}case"value-string":return n(s.raws.quote+s.value+s.raws.quote,t);case"value-atword":return["@",s.value];default:throw new Error(`Unknown postcss type ${JSON.stringify(s.type)}`)}}function je(e,t,r){let a=[];return e.each(((e,n,d)=>{let l=d[n-1];if(l&&"css-comment"===l.type&&"prettier-ignore"===l.text.trim()){let r=e.getValue();a.push(t.originalText.slice(ve(r),xe(r)))}else a.push(r());n!==d.length-1&&("css-comment"===d[n+1].type&&!s(t.originalText,ve(d[n+1]),{backwards:!0})&&!i(d[n])||"css-atrule"===d[n+1].type&&"else"===d[n+1].name&&"css-comment"!==d[n].type?a.push(" "):(a.push(t.__isHTMLStyleAttribute?u:c),o(t.originalText,e.getValue(),xe)&&!i(d[n])&&a.push(c)))}),"nodes"),a}var Te=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ce=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Ae=/[A-Za-z]+/g,Pe=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,ke=new RegExp(Te.source+`|(${Pe.source})?(${Ce.source})(${Ae.source})?`,"g");function Ie(e,t){return e.replace(Te,(e=>n(e,t)))}function Oe(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function _e(e){return e.replace(ke,((e,t,r,a,n)=>!r&&a?Ne(a)+T(n||""):e))}function Ne(e){return a(e).replace(/\.0(?=$|e)/,"")}t.exports={print:De,embed:E,insertPragma:w,massageAstNode:R}}}),Ga=x({"src/language-css/options.js"(e,t){D();var r=Ea();t.exports={singleQuote:r.singleQuote}}}),Ha=x({"src/language-css/parsers.js"(){D()}}),Ka=x({"node_modules/linguist-languages/data/CSS.json"(e,t){t.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),$a=x({"node_modules/linguist-languages/data/PostCSS.json"(e,t){t.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Ja=x({"node_modules/linguist-languages/data/Less.json"(e,t){t.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}}}),Xa=x({"node_modules/linguist-languages/data/SCSS.json"(e,t){t.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Ya=x({"src/language-css/index.js"(e,t){D();var r=tr(),a=qa(),n=Ga(),s=Ha(),i=[r(Ka(),(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),r($a(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),r(Ja(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),r(Xa(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],o={postcss:a};t.exports={languages:i,options:n,printers:o,parsers:s}}}),Qa=x({"src/language-handlebars/loc.js"(e,t){function r(e){return e.loc.start.offset}function a(e){return e.loc.end.offset}D(),t.exports={locStart:r,locEnd:a}}}),Za=x({"src/language-handlebars/clean.js"(e,t){function r(e,t){if("TextNode"===e.type){let r=e.chars.trim();if(!r)return null;t.chars=r.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}D(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),en=x({"src/language-handlebars/html-void-elements.evaluate.js"(e,t){t.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),tn=x({"src/language-handlebars/utils.js"(e,t){D();var r=k(),a=en();function n(e){let t=e.getValue(),a=e.getParentNode(0);return!!(p(e,["ElementNode"])&&r(a.children)===t||p(e,["Block"])&&r(a.body)===t)}function s(e){return e.toUpperCase()===e}function i(e){return c(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(s(e.tag[0])||e.tag.includes("."))}var o=new Set(a);function d(e){return o.has(e.toLowerCase())&&!s(e[0])}function l(e){return!0===e.selfClosing||d(e.tag)||i(e)&&e.children.every((e=>u(e)))}function u(e){return c(e,["TextNode"])&&!/\S/.test(e.chars)}function c(e,t){return e&&t.includes(e.type)}function p(e,t){return c(e.getParentNode(0),t)}function f(e,t){return c(m(e),t)}function h(e,t){return c(y(e),t)}function g(e,t){var r,a,n,s;let i=e.getValue(),o=null!==(r=e.getParentNode(0))&&void 0!==r?r:{},d=null!==(a=null!==(n=null!==(s=o.children)&&void 0!==s?s:o.body)&&void 0!==n?n:o.parts)&&void 0!==a?a:[],l=d.indexOf(i);return-1!==l&&d[l+t]}function m(e){return g(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function y(e){return g(e,1)}function b(e){return c(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}function v(e){let t=e.getValue(),r=m(e,2);return b(t)||b(r)}t.exports={getNextNode:y,getPreviousNode:m,hasPrettierIgnore:v,isLastNodeOfSiblings:n,isNextNodeOfSomeType:h,isNodeOfSomeType:c,isParentOfSomeType:p,isPreviousNodeOfSomeType:f,isVoid:l,isWhitespaceNode:u}}}),rn=x({"src/language-handlebars/printer-glimmer.js"(e,t){D();var{builders:{dedent:r,fill:a,group:n,hardline:s,ifBreak:i,indent:o,join:d,line:l,softline:u},utils:{getDocParts:c,replaceTextEndOfLine:p}}=K(),{getPreferredQuote:f,isNonEmptyArray:h}=me(),{locStart:g,locEnd:m}=Qa(),y=Za(),{getNextNode:b,getPreviousNode:v,hasPrettierIgnore:x,isLastNodeOfSiblings:R,isNextNodeOfSomeType:E,isNodeOfSomeType:w,isParentOfSomeType:S,isPreviousNodeOfSomeType:j,isVoid:T,isWhitespaceNode:C}=tn(),A=2;function P(e,t,i){let c=e.getValue();if(!c)return"";if(x(e))return t.originalText.slice(g(c),m(c));let h=t.singleQuote?"'":'"';switch(c.type){case"Block":case"Program":case"Template":return n(e.map(i,"body"));case"ElementNode":{let r=n(I(e,i)),a="ignore"===t.htmlWhitespaceSensitivity&&E(e,["ElementNode"])?u:"";if(T(c))return[r,a];let d=[""];return 0===c.children.length?[r,o(d),a]:"ignore"===t.htmlWhitespaceSensitivity?[r,o(O(e,t,i)),s,o(d),a]:[r,o(n(O(e,t,i))),o(d),a]}case"BlockStatement":{let r=e.getParentNode(1);return r&&r.inverse&&1===r.inverse.body.length&&r.inverse.body[0]===c&&r.inverse.body[0].path.parts[0]===r.path.parts[0]?[G(e,i,r.inverse.body[0].path.parts[0]),Y(e,i,t),Q(e,i,t)]:[V(e,i),n([Y(e,i,t),Q(e,i,t),H(e,i,t)])]}case"ElementModifierStatement":return n(["{{",le(e,i),"}}"]);case"MustacheStatement":return n([N(c),le(e,i),F(c)]);case"SubExpression":return n(["(",de(e,i),u,")"]);case"AttrNode":{let e="TextNode"===c.value.type;if(e&&""===c.value.chars&&g(c.value)===m(c.value))return c.name;let t=e?f(c.value.chars,h).quote:"ConcatStatement"===c.value.type?f(c.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),h).quote:"",r=i("value");return[c.name,"=",t,"class"===c.name&&t?n(o(r)):r,t]}case"ConcatStatement":return e.map(i,"parts");case"Hash":return d(l,e.map(i,"pairs"));case"HashPair":return[c.key,"=",i("value")];case"TextNode":{let n=c.chars.replace(/{{/g,"\\{{"),s=te(e);if(s){if("class"===s){let t=n.trim().split(/\s+/).join(" "),r=!1,a=!1;return S(e,["ConcatStatement"])&&(j(e,["MustacheStatement"])&&/^\s/.test(n)&&(r=!0),E(e,["MustacheStatement"])&&/\s$/.test(n)&&""!==t&&(a=!0)),[r?l:"",t,a?l:""]}return p(n)}let i=/^[\t\n\f\r ]*$/.test(n),o=!v(e),d=!b(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,s=/[\t\n\f\r ]*$/,u=d&&S(e,["Template"]),c=o&&S(e,["Template"]);if(i){if(c||u)return"";let t=[l],a=re(n);return a&&(t=se(a)),R(e)&&(t=t.map((e=>r(e)))),t}let[p]=n.match(t),[f]=n.match(s),h=[];if(p){h=[l];let e=re(p);e&&(h=se(e)),n=n.replace(t,"")}let g=[];if(f){if(!u){g=[l];let t=re(f);t&&(g=se(t)),R(e)&&(g=g.map((e=>r(e))))}n=n.replace(s,"")}return[...h,a(Z(n)),...g]}let u=re(n),f=ae(n),h=ne(n);if((o||d)&&i&&S(e,["Block","ElementNode","Template"]))return"";i&&u?(f=Math.min(u,A),h=0):(E(e,["BlockStatement","ElementNode"])&&(h=Math.max(h,1)),j(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)));let g="",m="";return 0===h&&E(e,["MustacheStatement"])&&(m=" "),0===f&&j(e,["MustacheStatement"])&&(g=" "),o&&(f=0,g=""),d&&(h=0,m=""),n=n.replace(/^[\t\n\f\r ]+/g,g).replace(/[\t\n\f\r ]+$/,m),[...se(f),a(Z(n)),...se(h)]}case"MustacheCommentStatement":{let e=g(c),r=m(c),a="~"===t.originalText.charAt(e+2),n="~"===t.originalText.charAt(r-3),s=c.value.includes("}}")?"--":"";return["{{",a?"~":"","!",s,c.value,s,n?"~":"","}}"]}case"PathExpression":return c.original;case"BooleanLiteral":case"NumberLiteral":return String(c.value);case"CommentStatement":return["\x3c!--",c.value,"--\x3e"];case"StringLiteral":if(oe(e)){let e=t.singleQuote?'"':"'";return ie(c.value,e)}return ie(c.value,h);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(c.type))}}function k(e,t){return g(e)-g(t)}function I(e,t){let r=e.getValue(),a=["attributes","modifiers","comments"].filter((e=>h(r[e]))),n=a.flatMap((e=>r[e])).sort(k);for(let r of a)e.each((e=>{let r=n.indexOf(e.getValue());n.splice(r,1,[l,t()])}),r);return h(r.blockParams)&&n.push(l,pe(r)),["<",r.tag,o(n),_(r)]}function O(e,t,r){let a=e.getValue().children.every((e=>C(e)));return"ignore"===t.htmlWhitespaceSensitivity&&a?"":e.map(((e,a)=>{let n=r();return 0===a&&"ignore"===t.htmlWhitespaceSensitivity?[u,n]:n}),"children")}function _(e){return T(e)?i([u,"/>"],[" />",u]):i([u,">"],">")}function N(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function F(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function B(e){return[N(e),e.openStrip.open?"~":"","#"]}function M(e){let t=F(e);return[e.openStrip.close?"~":"",t]}function L(e){return[N(e),e.closeStrip.open?"~":"","/"]}function U(e){let t=F(e);return[e.closeStrip.close?"~":"",t]}function W(e){return[N(e),e.inverseStrip.open?"~":""]}function z(e){let t=F(e);return[e.inverseStrip.close?"~":"",t]}function V(e,t){let r=e.getValue(),a=[],s=ce(e,t);return s&&a.push(n(s)),h(r.program.blockParams)&&a.push(pe(r.program)),n([B(r),ue(e,t),a.length>0?o([l,d(l,a)]):"",u,M(r)])}function q(e,t){return["ignore"===t.htmlWhitespaceSensitivity?s:"",W(e),"else",z(e)]}function G(e,t,r){let a=e.getValue(),s=e.getParentNode(1);return n([W(s),["else"," ",r],o([l,n(ce(e,t)),...h(a.program.blockParams)?[l,pe(a.program)]:[]]),u,z(s)])}function H(e,t,r){let a=e.getValue();return"ignore"===r.htmlWhitespaceSensitivity?[$(a)?u:s,L(a),t("path"),U(a)]:[L(a),t("path"),U(a)]}function $(e){return w(e,["BlockStatement"])&&e.program.body.every((e=>C(e)))}function J(e){return X(e)&&1===e.inverse.body.length&&w(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}function X(e){return w(e,["BlockStatement"])&&e.inverse}function Y(e,t,r){if($(e.getValue()))return"";let a=t("program");return"ignore"===r.htmlWhitespaceSensitivity?o([s,a]):o(a)}function Q(e,t,r){let a=e.getValue(),n=t("inverse"),i="ignore"===r.htmlWhitespaceSensitivity?[s,n]:n;return J(a)?i:X(a)?[q(a,r),o(i)]:""}function Z(e){return c(d(l,ee(e)))}function ee(e){return e.split(/[\t\n\f\r ]+/)}function te(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&"AttrNode"===r.type)return r.name.toLowerCase()}}function re(e){return(e="string"==typeof e?e:"").split("\n").length-1}function ae(e){return re(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}function ne(e){return re(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}function se(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,A)}).fill(s)}function ie(e,t){let{quote:r,regex:a}=f(e,t);return[r,e.replace(a,`\\${r}`),r]}function oe(e){let t=0,r=e.getParentNode(t);for(;r&&w(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&w(e.getParentNode(t+1),["ConcatStatement"])&&w(e.getParentNode(t+2),["AttrNode"]))}function de(e,t){let r=ue(e,t),a=ce(e,t);return a?o([r,l,n(a)]):r}function le(e,t){let r=ue(e,t),a=ce(e,t);return a?[o([r,l,a]),u]:r}function ue(e,t){return t("path")}function ce(e,t){let r=e.getValue(),a=[];if(r.params.length>0){let r=e.map(t,"params");a.push(...r)}if(r.hash&&r.hash.pairs.length>0){let e=t("hash");a.push(e)}return 0===a.length?"":d(l,a)}function pe(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:P,massageAstNode:y}}}),an=x({"src/language-handlebars/parsers.js"(){D()}}),nn=x({"node_modules/linguist-languages/data/Handlebars.json"(e,t){t.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),sn=x({"src/language-handlebars/index.js"(e,t){D();var r=tr(),a=rn(),n=an(),s=[r(nn(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],i={glimmer:a};t.exports={languages:s,printers:i,parsers:n}}}),on=x({"src/language-graphql/pragma.js"(e,t){function r(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function a(e){return"# @format\n\n"+e}D(),t.exports={hasPragma:r,insertPragma:a}}}),dn=x({"src/language-graphql/loc.js"(e,t){function r(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start}function a(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}D(),t.exports={locStart:r,locEnd:a}}}),ln=x({"src/language-graphql/printer-graphql.js"(e,t){D();var{builders:{join:r,hardline:a,line:n,softline:s,group:i,indent:o,ifBreak:d}}=K(),{isNextLineEmpty:l,isNonEmptyArray:u}=me(),{insertPragma:c}=on(),{locStart:p,locEnd:f}=dn();function h(e,t,c){let h=e.getValue();if(!h)return"";if("string"==typeof h)return h;switch(h.kind){case"Document":{let r=[];return e.each(((e,n,s)=>{r.push(c()),n!==s.length-1&&(r.push(a),l(t.originalText,e.getValue(),f)&&r.push(a))}),"definitions"),[...r,a]}case"OperationDefinition":{let a="{"!==t.originalText[p(h)],n=Boolean(h.name);return[a?h.operation:"",a&&n?[" ",c("name")]:"",a&&!n&&u(h.variableDefinitions)?" ":"",u(h.variableDefinitions)?i(["(",o([s,r([d("",", "),s],e.map(c,"variableDefinitions"))]),s,")"]):"",g(e,c,h),h.selectionSet&&(a||n)?" ":"",c("selectionSet")]}case"FragmentDefinition":return["fragment ",c("name"),u(h.variableDefinitions)?i(["(",o([s,r([d("",", "),s],e.map(c,"variableDefinitions"))]),s,")"]):""," on ",c("typeCondition"),g(e,c,h)," ",c("selectionSet")];case"SelectionSet":return["{",o([a,r(a,m(e,t,c,"selections"))]),a,"}"];case"Field":return i([h.alias?[c("alias"),": "]:"",c("name"),h.arguments.length>0?i(["(",o([s,r([d("",", "),s],m(e,t,c,"arguments"))]),s,")"]):"",g(e,c,h),h.selectionSet?" ":"",c("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return h.value;case"StringValue":if(h.block){let e=h.value.replace(/"""/g,"\\$&").split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every((e=>""===e))&&(e.length=0),r(a,['"""',...e,'"""'])}return['"',h.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return h.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",c("name")];case"ListValue":return i(["[",o([s,r([d("",", "),s],e.map(c,"values"))]),s,"]"]);case"ObjectValue":return i(["{",t.bracketSpacing&&h.fields.length>0?" ":"",o([s,r([d("",", "),s],e.map(c,"fields"))]),s,d("",t.bracketSpacing&&h.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[c("name"),": ",c("value")];case"Directive":return["@",c("name"),h.arguments.length>0?i(["(",o([s,r([d("",", "),s],m(e,t,c,"arguments"))]),s,")"]):""];case"NamedType":return c("name");case"VariableDefinition":return[c("variable"),": ",c("type"),h.defaultValue?[" = ",c("defaultValue")]:"",g(e,c,h)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[c("description"),h.description?a:"","ObjectTypeExtension"===h.kind?"extend ":"","type ",c("name"),h.interfaces.length>0?[" implements ",...v(e,t,c)]:"",g(e,c,h),h.fields.length>0?[" {",o([a,r(a,m(e,t,c,"fields"))]),a,"}"]:""];case"FieldDefinition":return[c("description"),h.description?a:"",c("name"),h.arguments.length>0?i(["(",o([s,r([d("",", "),s],m(e,t,c,"arguments"))]),s,")"]):"",": ",c("type"),g(e,c,h)];case"DirectiveDefinition":return[c("description"),h.description?a:"","directive ","@",c("name"),h.arguments.length>0?i(["(",o([s,r([d("",", "),s],m(e,t,c,"arguments"))]),s,")"]):"",h.repeatable?" repeatable":""," on ",r(" | ",e.map(c,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[c("description"),h.description?a:"","EnumTypeExtension"===h.kind?"extend ":"","enum ",c("name"),g(e,c,h),h.values.length>0?[" {",o([a,r(a,m(e,t,c,"values"))]),a,"}"]:""];case"EnumValueDefinition":return[c("description"),h.description?a:"",c("name"),g(e,c,h)];case"InputValueDefinition":return[c("description"),h.description?h.description.block?a:n:"",c("name"),": ",c("type"),h.defaultValue?[" = ",c("defaultValue")]:"",g(e,c,h)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[c("description"),h.description?a:"","InputObjectTypeExtension"===h.kind?"extend ":"","input ",c("name"),g(e,c,h),h.fields.length>0?[" {",o([a,r(a,m(e,t,c,"fields"))]),a,"}"]:""];case"SchemaExtension":return["extend schema",g(e,c,h),...h.operationTypes.length>0?[" {",o([a,r(a,m(e,t,c,"operationTypes"))]),a,"}"]:[]];case"SchemaDefinition":return[c("description"),h.description?a:"","schema",g(e,c,h)," {",h.operationTypes.length>0?o([a,r(a,m(e,t,c,"operationTypes"))]):"",a,"}"];case"OperationTypeDefinition":return[c("operation"),": ",c("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[c("description"),h.description?a:"","InterfaceTypeExtension"===h.kind?"extend ":"","interface ",c("name"),h.interfaces.length>0?[" implements ",...v(e,t,c)]:"",g(e,c,h),h.fields.length>0?[" {",o([a,r(a,m(e,t,c,"fields"))]),a,"}"]:""];case"FragmentSpread":return["...",c("name"),g(e,c,h)];case"InlineFragment":return["...",h.typeCondition?[" on ",c("typeCondition")]:"",g(e,c,h)," ",c("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return i([c("description"),h.description?a:"",i(["UnionTypeExtension"===h.kind?"extend ":"","union ",c("name"),g(e,c,h),h.types.length>0?[" =",d(""," "),o([d([n," "]),r([n,"| "],e.map(c,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[c("description"),h.description?a:"","ScalarTypeExtension"===h.kind?"extend ":"","scalar ",c("name"),g(e,c,h)];case"NonNullType":return[c("type"),"!"];case"ListType":return["[",c("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(h.kind))}}function g(e,t,a){if(0===a.directives.length)return"";let d=r(n,e.map(t,"directives"));return"FragmentDefinition"===a.kind||"OperationDefinition"===a.kind?i([n,d]):[" ",i(o([s,d]))]}function m(e,t,r,n){return e.map(((e,n,s)=>{let i=r();return nr(e)),"interfaces");for(let e=0;e"prettier-ignore"===e.value.trim()))}x.ignoredProperties=new Set(["loc","comments"]),t.exports={print:h,massageAstNode:x,hasPrettierIgnore:R,insertPragma:c,printComment:b,canAttachComment:y}}}),un=x({"src/language-graphql/options.js"(e,t){D();var r=Ea();t.exports={bracketSpacing:r.bracketSpacing}}}),cn=x({"src/language-graphql/parsers.js"(){D()}}),pn=x({"node_modules/linguist-languages/data/GraphQL.json"(e,t){t.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),fn=x({"src/language-graphql/index.js"(e,t){D();var r=tr(),a=ln(),n=un(),s=cn(),i=[r(pn(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],o={graphql:a};t.exports={languages:i,options:n,printers:o,parsers:s}}}),hn=x({"node_modules/collapse-white-space/index.js"(e,t){function r(e){return String(e).replace(/\s+/g," ")}D(),t.exports=r}}),gn=x({"src/language-markdown/loc.js"(e,t){function r(e){return e.position.start.offset}function a(e){return e.position.end.offset}D(),t.exports={locStart:r,locEnd:a}}}),mn=x({"src/language-markdown/constants.evaluate.js"(e,t){t.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]"}}}),yn=x({"src/language-markdown/utils.js"(e,t){D();var{getLast:r}=me(),{locStart:a,locEnd:n}=gn(),{cjkPattern:s,kPattern:i,punctuationPattern:o}=mn(),d=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],l=[...d,"tableCell","paragraph","heading"],u=new RegExp(i),c=new RegExp(o);function p(e,t){let a="non-cjk",n="cj-letter",i="k-letter",o="cjk-punctuation",d=[],l=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${s})\n(${s})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of l.entries()){if(e%2==1){d.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===l.length-1)&&""===t)continue;let f=t.split(new RegExp(`(${s})`));for(let[e,t]of f.entries())if(0!==e&&e!==f.length-1||""!==t){if(e%2==0){""!==t&&p({type:"word",value:t,kind:a,hasLeadingPunctuation:c.test(t[0]),hasTrailingPunctuation:c.test(r(t))});continue}p(c.test(t)?{type:"word",value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:u.test(t)?i:n,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return d;function p(e){let t=r(d);function s(r,a){return t.kind===r&&e.kind===a||t.kind===a&&e.kind===r}t&&"word"===t.type&&(t.kind===a&&e.kind===n&&!t.hasTrailingPunctuation||t.kind===n&&e.kind===a&&!e.hasLeadingPunctuation?d.push({type:"whitespace",value:" "}):!s(a,o)&&![t.value,e.value].some((e=>/\u3000/.test(e)))&&d.push({type:"whitespace",value:""})),d.push(e)}}function f(e,t){let[,r,a,n]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:a,leadingSpaces:n}}function h(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(f(e.children[0],t.originalText).numberText),a=Number(f(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(f(e.children[2],t.originalText).numberText);return 1===a&&1===r}return 1===a}function g(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r}function m(e,t){return function e(r,a,n){let s=Object.assign({},t(r,a,n));return s.children&&(s.children=s.children.map(((t,r)=>e(t,r,[s,...n])))),s}(e,null,[])}function y(e){if("link"!==(null==e?void 0:e.type)||1!==e.children.length)return!1;let[t]=e.children;return a(e)===a(t)&&n(e)===n(t)}t.exports={mapAst:m,splitText:p,punctuationPattern:o,getFencedCodeBlockValue:g,getOrderedListItemInfo:f,hasGitDiffFriendlyOrderedList:h,INLINE_NODE_TYPES:d,INLINE_NODE_WRAPPER_TYPES:l,isAutolink:y}}}),bn=x({"src/language-markdown/embed.js"(e,t){D();var{inferParserByLanguage:r,getMaxContinuousCount:a}=me(),{builders:{hardline:n,markAsRoot:s},utils:{replaceEndOfLine:i}}=K(),o=Oa(),{getFencedCodeBlockValue:d}=yn();function l(e,t,l,u){let c=e.getValue();if("code"===c.type&&null!==c.lang){let e=r(c.lang,u);if(e){let t=u.__inJsTemplate?"~":"`",r=t.repeat(Math.max(3,a(c.value,t)+1)),o={parser:e};"tsx"===c.lang&&(o.filepath="dummy.tsx");let p=l(d(c,u.originalText),o,{stripTrailingHardline:!0});return s([r,c.lang,c.meta?" "+c.meta:"",n,i(p),n,r])}}switch(c.type){case"front-matter":return o(c,l);case"importExport":return[l(c.value,{parser:"babel"},{stripTrailingHardline:!0}),n];case"jsx":return l(`<$>${c.value}`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}t.exports=l}}),vn=x({"src/language-markdown/pragma.js"(e,t){D();var r=Na(),a=["format","prettier"];function n(e){let t=`@(${a.join("|")})`,r=new RegExp([`\x3c!--\\s*${t}\\s*--\x3e`,`{\\s*\\/\\*\\s*${t}\\s*\\*\\/\\s*}`,`\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*${t}[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e`].join("|"),"m"),n=e.match(r);return 0===(null==n?void 0:n.index)}t.exports={startWithPragma:n,hasPragma:e=>n(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),n=`\x3c!-- @${a[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${n}\n\n${t.content}`:`${n}\n\n${t.content}`}}}}),xn=x({"src/language-markdown/print-preprocess.js"(e,t){D();var r=k(),{getOrderedListItemInfo:a,mapAst:n,splitText:s}=yn(),i=/^.$/su;function o(e,t){return e=c(e=d(e=h(e=m(e=g(e=l(e=f(e=u(e,t)),t),t),t),t)))}function d(e){return n(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}function l(e,t){return n(e,(e=>"inlineCode"!==e.type||"preserve"===t.proseWrap?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})))}function u(e,t){return n(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&i.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e))}function c(e){return p(e,((e,t)=>"importExport"===e.type&&"importExport"===t.type),((e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}})))}function p(e,t,a){return n(e,(e=>{if(!e.children)return e;let n=e.children.reduce(((e,n)=>{let s=r(e);return s&&t(s,n)?e.splice(-1,1,a(s,n)):e.push(n),e}),[]);return Object.assign(Object.assign({},e),{},{children:n})}))}function f(e){return p(e,((e,t)=>"text"===e.type&&"text"===t.type),((e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})))}function h(e,t){return n(e,((e,r,a)=>{let[n]=a;if("text"!==e.type)return e;let{value:i}=e;return"paragraph"===n.type&&(0===r&&(i=i.trimStart()),r===n.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:e.position,children:s(i,t)}}))}function g(e,t){return n(e,((e,r,a)=>{if("code"===e.type){let r=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=r,r)for(let e=0;e{if("list"===e.type&&e.children.length>0){for(let t=0;t1)return!0;let i=r(n);return-1!==i&&(1===e.children.length?i%t.tabWidth==0:i===r(s)&&(i%t.tabWidth==0||a(s,t.originalText).leadingSpaces.length>1))}}t.exports=o}}),Rn=x({"src/language-markdown/clean.js"(e,t){D();var r=hn(),{isFrontMatterNode:a}=me(),{startWithPragma:n}=vn(),s=new Set(["position","raw"]);function i(e,t,s){if(("front-matter"===e.type||"code"===e.type||"yaml"===e.type||"import"===e.type||"export"===e.type||"jsx"===e.type)&&delete t.value,"list"===e.type&&delete t.isAligned,("list"===e.type||"listItem"===e.type)&&(delete t.spread,delete t.loose),"text"===e.type||("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),("definition"===e.type||"linkReference"===e.type||"imageReference"===e.type)&&(t.label=r(e.label)),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),s&&"root"===s.type&&s.children.length>0&&(s.children[0]===e||a(s.children[0])&&s.children[1]===e)&&"html"===e.type&&n(e.value)))return null}i.ignoredProperties=s,t.exports=i}}),En=x({"src/language-markdown/printer-markdown.js"(e,t){D();var r=hn(),{getLast:a,getMinNotPresentContinuousCount:n,getMaxContinuousCount:s,getStringWidth:i,isNonEmptyArray:o}=me(),{builders:{breakParent:d,join:l,line:u,literalline:c,markAsRoot:p,hardline:f,softline:h,ifBreak:g,fill:m,align:y,indent:b,group:v,hardlineWithoutBreakParent:x},utils:{normalizeDoc:R,replaceTextEndOfLine:E},printer:{printDocToString:w}}=K(),S=bn(),{insertPragma:j}=vn(),{locStart:T,locEnd:C}=gn(),A=xn(),P=Rn(),{getFencedCodeBlockValue:k,hasGitDiffFriendlyOrderedList:I,splitText:O,punctuationPattern:_,INLINE_NODE_TYPES:N,INLINE_NODE_WRAPPER_TYPES:F,isAutolink:B}=yn(),M=new Set(["importExport"]),L=["heading","tableCell","link","wikiLink"],U=new Set(["listItem","definition","footnoteDefinition"]);function W(e,t,r){let i=e.getValue();if(se(e))return O(t.originalText.slice(i.position.start.offset,i.position.end.offset),t).map((r=>"word"===r.type?r.value:""===r.value?"":J(e,r.value,t)));switch(i.type){case"front-matter":return t.originalText.slice(i.position.start.offset,i.position.end.offset);case"root":return 0===i.children.length?"":[R(Y(e,t,r)),M.has(ee(i).type)?"":f];case"paragraph":return Q(e,t,r,{postprocessor:m});case"sentence":return Q(e,t,r);case"word":{let t=i.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${_})(_+)`,`(_+)(${_}|$)`].join("|"),"g"),((e,t,r,a,n)=>(r?`${t}${r}`:`${a}${n}`).replace(/_/g,"\\_"))),r=(e,t,r)=>"sentence"===e.type&&0===r,a=(e,t,r)=>B(e.children[r-1]);return t!==i.value&&(e.match(void 0,r,a)||e.match(void 0,r,((e,t,r)=>"emphasis"===e.type&&0===r),a))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{let r=e.getParentNode(),a=r.children.indexOf(i),n=r.children[a+1],s=n&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(n.value)?"never":t.proseWrap;return J(e,i.value,{proseWrap:s})}case"emphasis":{let n;if(B(i.children[0]))n=t.originalText[i.position.start.offset];else{let t=e.getParentNode(),r=t.children.indexOf(i),s=t.children[r-1],o=t.children[r+1];n=s&&"sentence"===s.type&&s.children.length>0&&"word"===a(s.children).type&&!a(s.children).hasTrailingPunctuation||o&&"sentence"===o.type&&o.children.length>0&&"word"===o.children[0].type&&!o.children[0].hasLeadingPunctuation||$(e,"emphasis")?"*":"_"}return[n,Q(e,t,r),n]}case"strong":return["**",Q(e,t,r),"**"];case"delete":return["~~",Q(e,t,r),"~~"];case"inlineCode":{let e=n(i.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(i.value)?" ":"";return[t,r,i.value,r,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?i.value:i.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[i.position.start.offset]){case"<":{let e="mailto:";return["<",i.url.startsWith(e)&&t.originalText.slice(i.position.start.offset+1,i.position.start.offset+1+e.length)!==e?i.url.slice(e.length):i.url,">"]}case"[":return["[",Q(e,t,r),"](",ie(i.url,")"),oe(i.title,t),")"];default:return t.originalText.slice(i.position.start.offset,i.position.end.offset)}case"image":return["![",i.alt||"","](",ie(i.url,")"),oe(i.title,t),")"];case"blockquote":return["> ",y("> ",Q(e,t,r))];case"heading":return["#".repeat(i.depth)+" ",Q(e,t,r)];case"code":{if(i.isIndented){let e=" ".repeat(4);return y(e,[e,...E(i.value,f)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,s(i.value,e)+1));return[r,i.lang||"",i.meta?" "+i.meta:"",f,...E(k(i,t.originalText),f),f,r]}case"html":{let t=e.getParentNode(),r="root"===t.type&&a(t.children)===i?i.value.trimEnd():i.value,n=/^$/s.test(r);return E(r,n?f:p(c))}case"list":{let a=q(i,e.getParentNode()),n=I(i,t);return Q(e,t,r,{processor:(e,s)=>{let o=l(),d=e.getValue();return 2===d.children.length&&"html"===d.children[1].type&&d.children[0].position.start.column!==d.children[1].position.start.column?[o,z(e,t,r,o)]:[o,y(" ".repeat(o.length),z(e,t,r,o))];function l(){let e=i.ordered?(0===s?i.start:n?1:i.start+s)+(a%2==0?". ":") "):a%2==0?"- ":"* ";return i.isAligned||i.hasIndentedCodeblock?V(e,t):e}}})}case"thematicBreak":{let t=H(e,"list");return-1===t?"---":q(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",Q(e,t,r),"]","full"===i.referenceType?ue(i):"collapsed"===i.referenceType?"[]":""];case"imageReference":return"full"===i.referenceType?["![",i.alt||"","]",ue(i)]:["![",i.alt,"]","collapsed"===i.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?u:" ";return v([ue(i),":",b([e,ie(i.url),null===i.title?"":[e,oe(i.title,t,!1)]])])}case"footnote":return["[^",Q(e,t,r),"]"];case"footnoteReference":return ce(i);case"footnoteDefinition":{let a=e.getParentNode().children[e.getName()+1],n=1===i.children.length&&"paragraph"===i.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&i.children[0].position.start.line===i.children[0].position.end.line);return[ce(i),": ",n?Q(e,t,r):v([y(" ".repeat(4),Q(e,t,r,{processor:(e,t)=>0===t?v([h,r()]):r()})),a&&"footnoteDefinition"===a.type?h:""])]}case"table":return X(e,t,r);case"tableCell":return Q(e,t,r);case"break":return/\s/.test(t.originalText[i.position.start.offset])?[" ",p(c)]:["\\",f];case"liquidNode":return E(i.value,f);case"importExport":return[i.value,f];case"esComment":return["{/* ",i.value," */}"];case"jsx":return i.value;case"math":return["$$",f,i.value?[...E(i.value,f),f]:"","$$"];case"inlineMath":return t.originalText.slice(T(i),C(i));default:throw new Error(`Unknown markdown type ${JSON.stringify(i.type)}`)}}function z(e,t,r,a){let n=e.getValue(),s=null===n.checked?"":n.checked?"[x] ":"[ ] ";return[s,Q(e,t,r,{processor:(e,n)=>{if(0===n&&"list"!==e.getValue().type)return y(" ".repeat(s.length),r());let i=" ".repeat(de(t.tabWidth-a.length,0,3));return[i,y(i,r())]}})]}function V(e,t){let r=a();return e+" ".repeat(r>=4?0:r);function a(){let r=e.length%t.tabWidth;return 0===r?0:t.tabWidth-r}}function q(e,t){return G(e,t,(t=>t.ordered===e.ordered))}function G(e,t,r){let a=-1;for(let n of t.children)if(n.type===e.type&&r(n)?a++:a=-1,n===e)return a}function H(e,t){let r,a=Array.isArray(t)?t:[t],n=-1;for(;r=e.getParentNode(++n);)if(a.includes(r.type))return n;return-1}function $(e,t){let r=H(e,t);return-1===r?null:e.getParentNode(r)}function J(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return f;let a="always"===r.proseWrap&&!$(e,L);return""!==t?a?u:" ":a?h:""}function X(e,t,r){let a=e.getValue(),n=[],s=e.map((e=>e.map(((e,a)=>{let s=w(r(),t).formatted,o=i(s);return n[a]=Math.max(n[a]||3,o),{text:s,width:o}}),"children")),"children"),o=c(!1);if("never"!==t.proseWrap)return[d,o];let u=c(!0);return[d,v(g(u,o))];function c(e){let t=[f(s[0],e),p(e)];return s.length>1&&t.push(l(x,s.slice(1).map((t=>f(t,e))))),l(x,t)}function p(e){return`| ${n.map(((t,r)=>{let n=a.align[r],s="center"===n||"right"===n?":":"-";return`${"center"===n||"left"===n?":":"-"}${e?"-":"-".repeat(t-2)}${s}`})).join(" | ")} |`}function f(e,t){return`| ${e.map(((e,r)=>{let{text:s,width:i}=e;if(t)return s;let o=n[r]-i,d=a.align[r],l=0;"right"===d?l=o:"center"===d&&(l=Math.floor(o/2));let u=o-l;return`${" ".repeat(l)}${s}${" ".repeat(u)}`})).join(" | ")} |`}}function Y(e,t,r){let a=[],n=null,{children:s}=e.getValue();for(let[e,t]of s.entries())switch(te(t)){case"start":null===n&&(n={index:e,offset:t.position.end.offset});break;case"end":null!==n&&(a.push({start:n,end:{index:e,offset:t.position.start.offset}}),n=null)}return Q(e,t,r,{processor:(e,n)=>{if(a.length>0){let e=a[0];if(n===e.start.index)return[Z(s[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),Z(s[e.end.index])];if(e.start.index3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:s}=n,i=n.processor||(()=>r()),o=e.getValue(),d=[];return e.each(((e,r)=>{let n=e.getValue(),s=i(e,r);if(!1!==s){let e={parts:d,prevNode:a,parentNode:o,options:t};re(n,e)&&(d.push(f),a&&M.has(a.type)||(ae(n,e)||ne(n,e))&&d.push(f),ne(n,e)&&d.push(f)),d.push(s),a=n}}),"children"),s?s(d):d}function Z(e){return"html"===e.type?e.value:"paragraph"===e.type&&Array.isArray(e.children)&&1===e.children.length&&"esComment"===e.children[0].type?["{/* ",e.children[0].value," */}"]:void 0}function ee(e){let t=e;for(;o(t.children);)t=a(t.children);return t}function te(e){let t;if("html"===e.type)t=e.value.match(/^$/);else{let r;"esComment"===e.type?r=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function re(e,t){let r=0===t.parts.length,a=N.includes(e.type),n="html"===e.type&&F.includes(t.parentNode.type);return!r&&!a&&!n}function ae(e,t){var r,a,n;let s=(t.prevNode&&t.prevNode.type)===e.type&&U.has(e.type),i="listItem"===t.parentNode.type&&!t.parentNode.loose,o="listItem"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.loose,d="next"===te(t.prevNode),l="html"===e.type&&"html"===(null===(a=t.prevNode)||void 0===a?void 0:a.type)&&t.prevNode.position.end.line+1===e.position.start.line,u="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.position.end.line+1===e.position.start.line;return o||!(s||i||d||l||u)}function ne(e,t){let r=t.prevNode&&"list"===t.prevNode.type,a="code"===e.type&&e.isIndented;return r&&a}function se(e){let t=$(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}function ie(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map((e=>`\\${e}`)).join("|")).test(e)?`<${e}>`:e}function oe(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+oe(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,a=e.split('"').length-1,n=r>a?'"':a>r||t.singleQuote?"'":'"';return`${n}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${n})`,"g"),"\\$1")}${n}`}function de(e,t,r){return er?r:e}function le(e){let t=Number(e.getName());return 0!==t&&"next"===te(e.getParentNode().children[t-1])}function ue(e){return`[${r(e.label)}]`}function ce(e){return`[^${e.label}]`}t.exports={preprocess:A,print:W,embed:S,massageAstNode:P,hasPrettierIgnore:le,insertPragma:j}}}),wn=x({"src/language-markdown/options.js"(e,t){D();var r=Ea();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),Sn=x({"src/language-markdown/parsers.js"(){D()}}),Dn=x({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.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}}}),jn=x({"src/language-markdown/index.js"(e,t){D();var r=tr(),a=En(),n=wn(),s=Sn(),i=[r(Dn(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),r(Dn(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],o={mdast:a};t.exports={languages:i,options:n,printers:o,parsers:s}}}),Tn=x({"src/language-html/clean.js"(e,t){D();var{isFrontMatterNode:r}=me(),a=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function n(e,t){if("text"===e.type||"comment"===e.type||r(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}n.ignoredProperties=a,t.exports=n}}),Cn=x({"src/language-html/constants.evaluate.js"(e,t){t.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"}}}),An=x({"src/language-html/utils/is-unknown-namespace.js"(e,t){function r(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}D(),t.exports=r}}),Pn=x({"src/language-html/utils/index.js"(e,t){D();var{inferParserByLanguage:r,isFrontMatterNode:a}=me(),{builders:{line:n,hardline:s,join:i},utils:{getDocParts:o,replaceTextEndOfLine:d}}=K(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:u,CSS_WHITE_SPACE_TAGS:c,CSS_WHITE_SPACE_DEFAULT:p}=Cn(),f=An(),h=new Set(["\t","\n","\f","\r"," "]),g=e=>e.replace(/^[\t\n\f\r ]+/,""),m=e=>e.replace(/[\t\n\f\r ]+$/,""),y=e=>g(m(e)),b=e=>e.replace(/^[\t\f\r ]*\n/g,""),v=e=>b(m(e)),x=e=>e.split(/[\t\n\f\r ]+/),R=e=>e.match(/^[\t\n\f\r ]*/)[0],E=e=>{let[,t,r,a]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:a,text:r}},w=e=>/[\t\n\f\r ]/.test(e);function S(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||ae(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||ge(e,t)&&!A(e)&&"interpolation"!==e.type)}function j(e){return!("attribute"===e.type||!e.parent||!e.prev)&&T(e.prev)}function T(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}function C(e){return"text"===e.type||"comment"===e.type}function A(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||f(e)&&("script"===e.name||"style"===e.name))}function P(e){return e.children&&!A(e)}function k(e){return A(e)||"interpolation"===e.type||I(e)}function I(e){return oe(e).startsWith("pre")}function O(e,t){let r=n();return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r;function n(){return!(a(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!ae(e.parent)&&(!e.prev&&("root"===e.parent.type||ae(e)&&e.parent||A(e.parent)||fe(e.parent,t)||!Q(e.parent.cssDisplay))||e.prev&&!te(e.prev.cssDisplay))))}}function _(e,t){return!(a(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!ae(e.parent)&&(!e.next&&("root"===e.parent.type||ae(e)&&e.parent||A(e.parent)||fe(e.parent,t)||!Z(e.parent.cssDisplay))||e.next&&!ee(e.next.cssDisplay))))}function N(e){return re(e.cssDisplay)&&!A(e)}function F(e){return a(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some((e=>H(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&z(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||V(e.lastChild))}function M(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function L(e){return q(e)||e.prev&&U(e.prev)||W(e)}function U(e){return q(e)||"element"===e.type&&"br"===e.fullName||W(e)}function W(e){return z(e)&&V(e)}function z(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function q(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function G(e){return e.lastChild?G(e.lastChild):e}function H(e){return e.children&&e.children.some((e=>"text"!==e.type))}function $(e){let{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))||"speculationrules"===t?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function J(e,t){let{lang:a}=e.attrMap;return a&&"postcss"!==a&&"css"!==a?"scss"===a?"scss":"less"===a?"less":"stylus"===a?r("stylus",t):void 0:"css"}function X(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?J(e,t):t&&ge(e,t)?$(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?$(e):"babel"}function Y(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Q(e){return!Y(e)&&"inline-block"!==e}function Z(e){return!Y(e)&&"inline-block"!==e}function ee(e){return!Y(e)}function te(e){return!Y(e)}function re(e){return!Y(e)&&"inline-block"!==e}function ae(e){return oe(e).startsWith("pre")}function ne(e,t){let r=0;for(let a=e.stack.length-1;a>=0;a--){let n=e.stack[a];n&&"object"==typeof n&&!Array.isArray(n)&&t(n)&&r++}return r}function se(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function ie(e,t){if(e.prev&&"comment"===e.prev.type){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let r=!1;if("element"===e.type&&"svg"===e.namespace){if(!se(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||f(e))&&l[e.name]||u}}function oe(e){return"element"===e.type&&(!e.namespace||f(e))&&c[e.name]||p}function de(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;if(!h.has(r[0]))return 0;let e=R(r).length;r.length!==e&&e1&&void 0!==arguments[1]?arguments[1]:de(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}function ue(e,t){let r=0;for(let a=0;a1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?d(t):d(le(v(t)),s):o(i(n,x(t)))}function xe(e,t){return he(e,t)&&"script"===e.name}t.exports={htmlTrim:y,htmlTrimPreserveIndentation:v,hasHtmlWhitespace:w,getLeadingAndTrailingHtmlWhitespace:E,canHaveInterpolation:P,countChars:ue,countParents:ne,dedentString:le,forceBreakChildren:M,forceBreakContent:B,forceNextEmptyLine:F,getLastDescendant:G,getNodeCssStyleDisplay:ie,getNodeCssStyleWhiteSpace:oe,hasPrettierIgnore:j,inferScriptParser:X,isVueCustomBlock:fe,isVueNonHtmlBlock:ge,isVueScriptTag:xe,isVueSlotAttribute:ye,isVueSfcBindingsAttribute:be,isVueSfcBlock:he,isDanglingSpaceSensitiveNode:N,isIndentationSensitiveNode:I,isLeadingSpaceSensitiveNode:O,isPreLikeNode:ae,isScriptLikeTag:A,isTextLikeNode:C,isTrailingSpaceSensitiveNode:_,isWhitespaceSensitiveNode:k,isUnknownNamespace:f,preferHardlineAsLeadingSpaces:L,preferHardlineAsTrailingSpaces:U,shouldPreserveContent:S,unescapeQuoteEntities:ce,getTextValueParts:ve}}}),kn=x({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}function r(t){return e.$0<=t&&t<=e.$9}function a(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function n(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||r(t)}function s(t){return t===e.$LF||t===e.$CR}function i(t){return e.$0<=t&&t<=e.$7}D(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=t,e.isDigit=r,e.isAsciiLetter=a,e.isAsciiHexDigit=n,e.isNewLine=s,e.isOctalDigit=i}}),In=x({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t;var r=class{constructor(){this.cache=new Map}get(e,r,a){let n=`"${e}".${r}${(a=a||[]).length?`.${a.join(".")}`:""}`,s=this.cache.get(n);return s||(s=new t(e,r,a),this.cache.set(n,s)),s}};e.StaticSymbolCache=r}}),On=x({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;ri(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((a=>{r[a]=i(e[a],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}};function u(e){throw new Error(`Internal Error: ${e}`)}function c(e,t){let r=Error(e);return r[p]=!0,t&&(r[f]=t),r}e.ValueTransformer=l,e.SyncAsync={assertSync:e=>{if(E(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>E(e)?e.then(t):t(e),all:e=>e.some(E)?Promise.all(e):e},e.error=u,e.syntaxError=c;var p="ngSyntaxError",f="ngParseErrors";function h(e){return e[p]}function g(e){return e[f]||[]}function m(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.isSyntaxError=h,e.getParseErrors=g,e.escapeRegExp=m;var y=Object.getPrototypeOf({});function b(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===y}function v(e){let t="";for(let r=0;r=55296&&a<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,a=(a-55296<<10)+t-56320+65536)}a<=127?t+=String.fromCharCode(a):a<=2047?t+=String.fromCharCode(a>>6&31|192,63&a|128):a<=65535?t+=String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128):a<=2097151&&(t+=String.fromCharCode(a>>18&7|240,a>>12&63|128,a>>6&63|128,63&a|128))}return t}function x(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(x).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;if(!e.toString)return"object";let t=e.toString();if(null==t)return""+t;let r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function R(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function E(e){return!!e&&"function"==typeof e.then}e.utf8Encode=v,e.stringify=x,e.resolveForwardRef=R,e.isPromise=E;var w=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};e.Version=w;var S=typeof window<"u"&&window,j=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,T=typeof globalThis<"u"&&globalThis||S||j;e.global=T}}),_n=x({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=In(),r=On(),a=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function n(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=n;var s,i,o=0;function d(e){if(!e||!e.reference)return null;let a=e.reference;if(a instanceof t.StaticSymbol)return a.name;if(a.__anonymousType)return a.__anonymousType;let s=r.stringify(a);return s.indexOf("(")>=0?(s="anonymous_"+o++,a.__anonymousType=s):s=n(s),s}function l(e){let a=e.reference;return a instanceof t.StaticSymbol?a.filePath:`./${r.stringify(a)}`}function u(e,t){return`View_${d({reference:e})}_${t}`}function c(e){return`RenderType_${d({reference:e})}`}function p(e){return`HostView_${d({reference:e})}`}function f(e){return`${d({reference:e})}NgFactory`}function h(e){return null!=e.value?n(e.value):d(e.identifier)}function g(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=d,e.identifierModuleUrl=l,e.viewClassName=u,e.rendererTypeName=c,e.hostViewClassName=p,e.componentFactoryName=f,(i=s=e.CompileSummaryKind||(e.CompileSummaryKind={}))[i.Pipe=0]="Pipe",i[i.Directive=1]="Directive",i[i.NgModule=2]="NgModule",i[i.Injectable=3]="Injectable",e.tokenName=h,e.tokenReference=g;var m=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=w(t),this.styleUrls=w(r)}};e.CompileStylesheetMetadata=m;var y=class{constructor(e){let{encapsulation:t,template:r,templateUrl:a,htmlAst:n,styles:s,styleUrls:i,externalStylesheets:o,animations:d,ngContentSelectors:l,interpolation:u,isInline:c,preserveWhitespaces:p}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=a,this.htmlAst=n,this.styles=w(s),this.styleUrls=w(i),this.externalStylesheets=w(o),this.animations=d?j(d):[],this.ngContentSelectors=l||[],u&&2!=u.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=u,this.isInline=c,this.preserveWhitespaces=p}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=y;var b=class{static create(e){let{isHost:t,type:n,isComponent:s,selector:i,exportAs:o,changeDetection:d,inputs:l,outputs:u,host:c,providers:p,viewProviders:f,queries:h,guards:g,viewQueries:m,entryComponents:y,template:v,componentViewType:x,rendererType:R,componentFactory:E}=e,w={},S={},D={};null!=c&&Object.keys(c).forEach((e=>{let t=c[e],r=e.match(a);null===r?D[e]=t:null!=r[1]?S[r[1]]=t:null!=r[2]&&(w[r[2]]=t)}));let j={};null!=l&&l.forEach((e=>{let t=r.splitAtColon(e,[e,e]);j[t[0]]=t[1]}));let T={};return null!=u&&u.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]})),new b({isHost:t,type:n,isComponent:!!s,selector:i,exportAs:o,changeDetection:d,inputs:j,outputs:T,hostListeners:w,hostProperties:S,hostAttributes:D,providers:p,viewProviders:f,queries:h,guards:g,viewQueries:m,entryComponents:y,template:v,componentViewType:x,rendererType:R,componentFactory:E})}constructor(e){let{isHost:t,type:r,isComponent:a,selector:n,exportAs:s,changeDetection:i,inputs:o,outputs:d,hostListeners:l,hostProperties:u,hostAttributes:c,providers:p,viewProviders:f,queries:h,guards:g,viewQueries:m,entryComponents:y,template:b,componentViewType:v,rendererType:x,componentFactory:R}=e;this.isHost=!!t,this.type=r,this.isComponent=a,this.selector=n,this.exportAs=s,this.changeDetection=i,this.inputs=o,this.outputs=d,this.hostListeners=l,this.hostProperties=u,this.hostAttributes=c,this.providers=w(p),this.viewProviders=w(f),this.queries=w(h),this.guards=g,this.viewQueries=w(m),this.entryComponents=w(y),this.template=b,this.componentViewType=v,this.rendererType=x,this.componentFactory=R}toSummary(){return{summaryKind:s.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}}};e.CompileDirectiveMetadata=b;var v=class{constructor(e){let{type:t,name:r,pure:a}=e;this.type=t,this.name=r,this.pure=!!a}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=v;var x=class{};e.CompileShallowModuleMetadata=x;var R=class{constructor(e){let{type:t,providers:r,declaredDirectives:a,exportedDirectives:n,declaredPipes:s,exportedPipes:i,entryComponents:o,bootstrapComponents:d,importedModules:l,exportedModules:u,schemas:c,transitiveModule:p,id:f}=e;this.type=t||null,this.declaredDirectives=w(a),this.exportedDirectives=w(n),this.declaredPipes=w(s),this.exportedPipes=w(i),this.providers=w(r),this.entryComponents=w(o),this.bootstrapComponents=w(d),this.importedModules=w(l),this.exportedModules=w(u),this.schemas=w(c),this.id=f||null,this.transitiveModule=p||null}toSummary(){let e=this.transitiveModule;return{summaryKind:s.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};e.CompileNgModuleMetadata=R;var E=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(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function w(e){return e||[]}e.TransitiveCompileNgModuleMetadata=E;var S=class{constructor(e,t){let{useClass:r,useValue:a,useExisting:n,useFactory:s,deps:i,multi:o}=t;this.token=e,this.useClass=r||null,this.useValue=a,this.useExisting=n,this.useFactory=s||null,this.dependencies=i||null,this.multi=!!o}};function j(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?j(t):t;return e.concat(r)}),[])}function T(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function C(e,r,a){let n;return n=a.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${d(e)}/${d(r.type)}.html`:a.templateUrl,r.type.reference instanceof t.StaticSymbol?n:T(n)}function A(e,t){let r=e.moduleUrl.split(/\/\\/g);return T(`css/${t}${r[r.length-1]}.ngstyle.js`)}function P(e){return T(`${d(e.type)}/module.ngfactory.js`)}function k(e,t){return T(`${d(e)}/${d(t.type)}.ngfactory.js`)}e.ProviderMeta=S,e.flatten=j,e.templateSourceUrl=C,e.sharedStylesheetJitUrl=A,e.ngModuleJitUrl=P,e.templateJitUrl=k}}),Nn=x({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=kn(),r=_n(),a=class{constructor(e,t,r,a){this.file=e,this.offset=t,this.line=r,this.col=a}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,n=r.length,s=this.offset,i=this.line,o=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){i--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));o=e>0?s-e:s}else o--;for(;s0;){let a=r.charCodeAt(s);s++,e--,a==t.$LF?(i++,o=0):o++}return new a(this.file,s,i,o)}getContext(e,t){let r=this.file.content,a=this.offset;if(null!=a){a>r.length-1&&(a=r.length-1);let n=a,s=0,i=0;for(;s0&&(a--,s++,"\n"!=r[a]||++i!=t););for(s=0,i=0;s2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=o,e.EMPTY_PARSE_LOCATION=new a(new n("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new o(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(i=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[i.WARNING=0]="WARNING",i[i.ERROR=1]="ERROR";var d=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${s[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};function l(e,t){let s=r.identifierModuleUrl(t),i=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,d=new n("",i);return new o(new a(d,-1,-1,-1),new a(d,-1,-1,-1))}function u(e,t,r){let s=new n("",`in ${e} ${t} in ${r}`);return new o(new a(s,-1,-1,-1),new a(s,-1,-1,-1))}e.ParseError=d,e.typeSourceSpan=l,e.r3JitTypeSourceSpan=u}}),Fn=x({"src/language-html/print-preprocess.js"(e,t){D();var{ParseSourceSpan:r}=Nn(),{htmlTrim:a,getLeadingAndTrailingHtmlWhitespace:n,hasHtmlWhitespace:s,canHaveInterpolation:i,getNodeCssStyleDisplay:o,isDanglingSpaceSensitiveNode:d,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:u,isTrailingSpaceSensitiveNode:c,isWhitespaceSensitiveNode:p,isVueScriptTag:f}=Pn(),h=[m,y,v,R,E,j,w,S,T,x,C];function g(e,t){for(let r of h)r(e,t);return e}function m(e){e.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}}))}function y(e){let t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk((e=>{if(e.children)for(let a=0;a{if(e.children)for(let n=0;n"cdata"===e.type),(e=>``))}function x(e){let t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!s(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk((e=>{if(e.children)for(let a=0;a`+n.firstChild.value+``+i.value,s.sourceSpan=new r(s.sourceSpan.start,i.sourceSpan.end),s.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,s.hasTrailingSpaces=i.hasTrailingSpaces,e.removeChild(n),a--,e.removeChild(i)}}))}function R(e,t){if("html"===t.parser)return;let a=/{{(.+?)}}/s;e.walk((e=>{if(i(e))for(let t of e.children){if("text"!==t.type)continue;let n=t.sourceSpan.start,s=null,i=t.value.split(a);for(let a=0;a0&&e.insertChildBefore(t,{type:"text",value:o,sourceSpan:new r(n,s)}))}e.removeChild(t)}}))}function E(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===a(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=p(e),s=l(e);if(!t)for(let t=0;t{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))}function S(e,t){e.walk((e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))}))}function j(e,t){e.walk((e=>{e.cssDisplay=o(e,t)}))}function T(e,t){e.walk((e=>{let{children:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=d(e));for(let e of r)e.isLeadingSpaceSensitive=u(e,t),e.isTrailingSpaceSensitive=c(e,t);for(let e=0;ef(e,t)));if(!r)return;let{lang:a}=r.attrMap;("ts"===a||"typescript"===a)&&(t.__should_parse_vue_template_with_ts=!0)}}t.exports=g}}),Bn=x({"src/language-html/pragma.js"(e,t){function r(e){return/^\s*/.test(e)}function a(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}D(),t.exports={hasPragma:r,insertPragma:a}}}),Mn=x({"src/language-html/loc.js"(e,t){function r(e){return e.sourceSpan.start.offset}function a(e){return e.sourceSpan.end.offset}D(),t.exports={locStart:r,locEnd:a}}}),Ln=x({"src/language-html/print/tag.js"(e,t){D();var r=Kt(),{isNonEmptyArray:a}=me(),{builders:{indent:n,join:s,line:i,softline:o,hardline:d},utils:{replaceTextEndOfLine:l}}=K(),{locStart:u,locEnd:c}=Mn(),{isTextLikeNode:p,getLastDescendant:f,isPreLikeNode:h,hasPrettierIgnore:g,shouldPreserveContent:m,isVueSfcBlock:y}=Pn();function b(e,t){return[e.isSelfClosing?"":v(e,t),x(e,t)]}function v(e,t){return e.lastChild&&A(e.lastChild)?"":[R(e,t),w(e,t)]}function x(e,t){return(e.next?T(e.next):C(e.parent))?"":[S(e,t),E(e,t)]}function R(e,t){return C(e)?S(e.lastChild,t):""}function E(e,t){return A(e)?w(e.parent,t):P(e)?M(e.next):""}function w(e,t){if(r(!e.isSelfClosing),j(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function j(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(g(e)||m(e.parent,t))}function T(e){return e.prev&&"docType"!==e.prev.type&&!p(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function C(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!p(f(e.lastChild))&&!h(e)}function A(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&p(f(e))}function P(e){return e.next&&!p(e.next)&&p(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function k(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}function I(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function O(e,t,r){let p=e.getValue();if(!a(p.attrs))return p.isSelfClosing?" ":"";let f=p.prev&&"comment"===p.prev.type&&k(p.prev.value),h="boolean"==typeof f?()=>f:Array.isArray(f)?e=>f.includes(e.rawName):()=>!1,g=e.map((e=>{let a=e.getValue();return h(a)?l(t.originalText.slice(u(a),c(a))):r()}),"attrs"),m="element"===p.type&&"script"===p.fullName&&1===p.attrs.length&&"src"===p.attrs[0].fullName&&0===p.children.length,b=t.singleAttributePerLine&&p.attrs.length>1&&!y(p,t)?d:i,v=[n([m?" ":i,s(b,g)])];return p.firstChild&&I(p.firstChild)||p.isSelfClosing&&C(p.parent)||m?v.push(p.isSelfClosing?" ":""):v.push(t.bracketSameLine?p.isSelfClosing?" ":"":p.isSelfClosing?i:o),v}function _(e){return e.firstChild&&I(e.firstChild)?"":L(e)}function N(e,t,r){let a=e.getValue();return[F(a,t),O(e,t,r),a.isSelfClosing?"":_(a)]}function F(e,t){return e.prev&&P(e.prev)?"":[B(e,t),M(e)]}function B(e,t){return I(e)?L(e.parent):T(e)?S(e.prev,t):""}function M(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function L(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}t.exports={printClosingTag:b,printClosingTagStart:v,printClosingTagStartMarker:w,printClosingTagEndMarker:S,printClosingTagSuffix:E,printClosingTagEnd:x,needsToBorrowLastChildClosingTagEndMarker:C,needsToBorrowParentClosingTagStartMarker:A,needsToBorrowPrevClosingTagEndMarker:T,printOpeningTag:N,printOpeningTagStart:F,printOpeningTagPrefix:B,printOpeningTagStartMarker:M,printOpeningTagEndMarker:L,needsToBorrowNextOpeningTagStartMarker:P,needsToBorrowParentOpeningTagEndMarker:I}}}),Un=x({"node_modules/parse-srcset/src/parse-srcset.js"(r,i){var o;D(),o=function(){return function(e,t){var r=t&&t.logger||console;function a(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var r,a=t.exec(e.substring(y));if(a)return r=a[0],y+=r.length,r}for(var s,i,o,d,l,u=e.length,c=/^[ \t\n\r\u000c]+/,p=/^[, \t\n\r\u000c]+/,f=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,g=/^\d+$/,m=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,b=[];;){if(n(p),y>=u)return b;s=n(f),i=[],","===s.slice(-1)?(s=s.replace(h,""),x()):v()}function v(){for(n(c),o="",d="in descriptor";;){if(l=e.charAt(y),"in descriptor"===d)if(a(l))o&&(i.push(o),o="",d="after descriptor");else{if(","===l)return y+=1,o&&i.push(o),void x();if("("===l)o+=l,d="in parens";else{if(""===l)return o&&i.push(o),void x();o+=l}}else if("in parens"===d)if(")"===l)o+=l,d="in descriptor";else{if(""===l)return i.push(o),void x();o+=l}else if("after descriptor"===d&&!a(l)){if(""===l)return void x();d="in descriptor",y-=1}y+=1}}function x(){var t,a,n,o,d,l,u,c,p,f=!1,h={};for(o=0;o{let{w:t}=e;return t})),o=t.some((e=>{let{h:t}=e;return t}));if(i+o+t.some((e=>{let{d:t}=e;return t}))>1)throw new Error("Mixed descriptor in srcset is not supported");let d=i?"w":o?"h":"d",l=i?"w":o?"h":"x",u=e=>Math.max(...e),c=t.map((e=>e.url)),p=u(c.map((e=>e.length))),f=t.map((e=>e[d])).map((e=>e?e.toString():"")),h=f.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),g=u(h);return n([",",s],c.map(((e,t)=>{let r=[e],n=f[t];if(n){let s=p-e.length+1,i=g-h[t],o=" ".repeat(s+i);r.push(a(o," "),n+l)}return r})))}function o(e){return e.trim().split(/\s+/).join(" ")}t.exports={printImgSrcset:i,printClassNames:o}}}),zn=x({"src/language-html/syntax-vue.js"(e,t){D();var{builders:{group:r}}=K();function a(e,t){let{left:a,operator:s,right:i}=n(e);return[r(t(`function _(${a}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",s," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function n(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,a=/^\(|\)$/g,n=e.match(t);if(!n)return;let s={};if(s.for=n[3].trim(),!s.for)return;let i=n[1].trim().replace(a,""),o=i.match(r);o?(s.alias=i.replace(r,""),s.iterator1=o[1].trim(),o[2]&&(s.iterator2=o[2].trim())):s.alias=i;let d=[s.alias,s.iterator1,s.iterator2];return d.some(((e,t)=>!e&&(0===t||d.slice(t+1).some(Boolean))))?void 0:{left:d.filter(Boolean).join(","),operator:n[2],right:s.for}}function s(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}function i(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,a=e.trim();return t.test(a)||r.test(a)}t.exports={isVueEventBindingExpression:i,printVueFor:a,printVueBindings:s}}}),Vn=x({"src/language-html/get-node-content.js"(e,t){D();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:a,needsToBorrowLastChildClosingTagEndMarker:n,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:i,printOpeningTagEndMarker:o}=Ln();function d(e,t){let d=e.startSourceSpan.end.offset;e.firstChild&&i(e.firstChild)&&(d-=o(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?l+=a(e,t).length:n(e)&&(l-=s(e.lastChild,t).length),t.originalText.slice(d,l)}t.exports=d}}),qn=x({"src/language-html/embed.js"(e,t){D();var{builders:{breakParent:r,group:a,hardline:n,indent:s,line:i,fill:o,softline:d},utils:{mapDoc:l,replaceTextEndOfLine:u}}=K(),c=Oa(),{printClosingTag:p,printClosingTagSuffix:f,needsToBorrowPrevClosingTagEndMarker:h,printOpeningTagPrefix:g,printOpeningTag:m}=Ln(),{printImgSrcset:y,printClassNames:b}=Wn(),{printVueFor:v,printVueBindings:x,isVueEventBindingExpression:R}=zn(),{isScriptLikeTag:E,isVueNonHtmlBlock:w,inferScriptParser:S,htmlTrimPreserveIndentation:j,dedentString:T,unescapeQuoteEntities:C,isVueSlotAttribute:A,isVueSfcBindingsAttribute:P,getTextValueParts:k}=Pn(),I=Vn();function O(e,t,r){let n=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>C(e.value),c=!1,p=(e,t)=>{let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||"__vue_expression"===t.parser&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))&&(c=!0)},f=e=>a(e),h=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return a([s([d,e]),t?d:""])},g=e=>c?f(e):h(e),m=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:p,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return h(y(l()));if("class"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return b(e)}if("style"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return h(m(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return v(l(),m);if(A(e)||P(e,r))return x(l(),m);let t=["^:","^v-bind:"],a=["^v-"];if(n(["^@","^v-on:"])){let e=l(),t=R(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return g(m(e,{parser:t}))}if(n(t))return g(m(l(),{parser:"__vue_expression"}));if(n(a))return g(m(l(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>m(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],d=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],c=["^i18n(-.+)?$"];if(n(["^\\(.+\\)$","^on-"]))return g(t(l(),{parser:"__ng_action"}));if(n(d))return g(t(l(),{parser:"__ng_binding"}));if(n(c)){let t=l().trim();return h(o(k(e,t)),!t.includes("@@"))}if(n(r))return g(t(l(),{parser:"__ng_directive"}));let p=/{{(.+?)}}/s,f=l();if(p.test(f)){let e=[];for(let[r,n]of f.split(p).entries())if(r%2==0)e.push(u(n));else try{e.push(a(["{{",s([i,t(n,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),i,"}}"]))}catch{e.push("{{",u(n),"}}")}return a(e)}}return null}function _(e,t,o,d){let u=e.getValue();switch(u.type){case"element":if(E(u)||"interpolation"===u.type)return;if(!u.isSelfClosing&&w(u,d)){let r=S(u,d);if(!r)return;let s=I(u,d),i=/^\s*$/.test(s),l="";return i||(l=o(j(s),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),i=""===l),[g(u,d),a(m(e,d,t)),i?"":n,l,i?"":n,p(u,d),f(u,d)]}break;case"text":if(E(u.parent)){let e=S(u.parent,d);if(e){let t="markdown"===e?T(u.value.replace(/^[^\S\n]*\n/,"")):u.value,a={parser:e,__embeddedInHtml:!0};if("html"===d.parser&&"babel"===e){let e="script",{attrMap:t}=u.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),a.__babelSourceType=e}return[r,g(u,d),o(t,a,{stripTrailingHardline:!0}),f(u,d)]}}else if("interpolation"===u.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===d.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===d.parser?e.parser=d.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[s([i,o(u.value,e,{stripTrailingHardline:!0})]),u.parent.next&&h(u.parent.next)?" ":i]}break;case"attribute":{if(!u.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(d.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];if("lwc"===d.parser&&/^{.*}$/s.test(d.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];let e=O(u,((e,t)=>o(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),d);if(e)return[u.rawName,'="',a(l(e,(e=>"string"==typeof e?e.replace(/"/g,"""):e))),'"'];break}case"front-matter":return c(u,o)}}t.exports=_}}),Gn=x({"src/language-html/print/children.js"(e,t){D();var{builders:{breakParent:r,group:a,ifBreak:n,line:s,softline:i,hardline:o},utils:{replaceTextEndOfLine:d}}=K(),{locStart:l,locEnd:u}=Mn(),{forceBreakChildren:c,forceNextEmptyLine:p,isTextLikeNode:f,hasPrettierIgnore:h,preferHardlineAsLeadingSpaces:g}=Pn(),{printOpeningTagPrefix:m,needsToBorrowNextOpeningTagStartMarker:y,printOpeningTagStartMarker:b,needsToBorrowPrevClosingTagEndMarker:v,printClosingTagEndMarker:x,printClosingTagSuffix:R,needsToBorrowParentClosingTagStartMarker:E}=Ln();function w(e,t,r){let a=e.getValue();return h(a)?[m(a,t),...d(t.originalText.slice(l(a)+(a.prev&&y(a.prev)?b(a).length:0),u(a)-(a.next&&v(a.next)?x(a,t).length:0))),R(a,t)]:r()}function S(e,t){return f(e)&&f(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?g(t)?o:s:"":g(t)?o:i:y(e)&&(h(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&v(t)?"":!t.isLeadingSpaceSensitive||g(t)||v(t)&&e.lastChild&&E(e.lastChild)&&e.lastChild.lastChild&&E(e.lastChild.lastChild)?o:t.hasLeadingSpaces?s:i}function j(e,t,s){let d=e.getValue();if(c(d))return[r,...e.map((e=>{let r=e.getValue(),a=r.prev?S(r.prev,r):"";return[a?[a,p(r.prev)?o:""]:"",w(e,t,s)]}),"children")];let l=d.children.map((()=>Symbol("")));return e.map(((e,r)=>{let d=e.getValue();if(f(d)){if(d.prev&&f(d.prev)){let r=S(d.prev,d);if(r)return p(d.prev)?[o,o,w(e,t,s)]:[r,w(e,t,s)]}return w(e,t,s)}let u=[],c=[],h=[],g=[],m=d.prev?S(d.prev,d):"",y=d.next?S(d,d.next):"";return m&&(p(d.prev)?u.push(o,o):m===o?u.push(o):f(d.prev)?c.push(m):c.push(n("",i,{groupId:l[r-1]}))),y&&(p(d)?f(d.next)&&g.push(o,o):y===o?f(d.next)&&g.push(o):h.push(y)),[...u,a([...c,a([w(e,t,s),...h],{id:l[r]})]),...g]}),"children")}t.exports={printChildren:j}}}),Hn=x({"src/language-html/print/element.js"(e,t){D();var{builders:{breakParent:r,dedentToRoot:a,group:n,ifBreak:s,indentIfBreak:i,indent:o,line:d,softline:l},utils:{replaceTextEndOfLine:u}}=K(),c=Vn(),{shouldPreserveContent:p,isScriptLikeTag:f,isVueCustomBlock:h,countParents:g,forceBreakContent:m}=Pn(),{printOpeningTagPrefix:y,printOpeningTag:b,printClosingTagSuffix:v,printClosingTag:x,needsToBorrowPrevClosingTagEndMarker:R,needsToBorrowLastChildClosingTagEndMarker:E}=Ln(),{printChildren:w}=Gn();function S(e,t,S){let D=e.getValue();if(p(D,t))return[y(D,t),n(b(e,t,S)),...u(c(D,t)),...x(D,t),v(D,t)];let j=1===D.children.length&&"interpolation"===D.firstChild.type&&D.firstChild.isLeadingSpaceSensitive&&!D.firstChild.hasLeadingSpaces&&D.lastChild.isTrailingSpaceSensitive&&!D.lastChild.hasTrailingSpaces,T=Symbol("element-attr-group-id"),C=r=>n([n(b(e,t,S),{id:T}),r,x(D,t)]),A=e=>j?i(e,{groupId:T}):!f(D)&&!h(D,t)||"root"!==D.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?o(e):e,P=()=>j?s(l,"",{groupId:T}):D.firstChild.hasLeadingSpaces&&D.firstChild.isLeadingSpaceSensitive?d:"text"===D.firstChild.type&&D.isWhitespaceSensitive&&D.isIndentationSensitive?a(l):l,k=()=>(D.next?R(D.next):E(D.parent))?D.lastChild.hasTrailingSpaces&&D.lastChild.isTrailingSpaceSensitive?" ":"":j?s(l,"",{groupId:T}):D.lastChild.hasTrailingSpaces&&D.lastChild.isTrailingSpaceSensitive?d:("comment"===D.lastChild.type||"text"===D.lastChild.type&&D.isWhitespaceSensitive&&D.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*g(e,(e=>e.parent&&"root"!==e.parent.type))}}$`).test(D.lastChild.value)?"":l;return 0===D.children.length?C(D.hasDanglingSpaces&&D.isDanglingSpaceSensitive?d:""):C([m(D)?r:"",A([P(),w(e,t,S)]),k()])}t.exports={printElement:S}}}),Kn=x({"src/language-html/printer-html.js"(e,t){D();var{builders:{fill:r,group:a,hardline:n,literalline:s},utils:{cleanDoc:i,getDocParts:o,isConcat:d,replaceTextEndOfLine:l}}=K(),u=Tn(),{countChars:c,unescapeQuoteEntities:p,getTextValueParts:f}=Pn(),h=Fn(),{insertPragma:g}=Bn(),{locStart:m,locEnd:y}=Mn(),b=qn(),{printClosingTagSuffix:v,printClosingTagEnd:x,printOpeningTagPrefix:R,printOpeningTagStart:E}=Ln(),{printElement:w}=Hn(),{printChildren:S}=Gn();function j(e,t,u){let h=e.getValue();switch(h.type){case"front-matter":return l(h.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(h),[a(S(e,t,u)),n];case"element":case"ieConditionalComment":return w(e,t,u);case"ieConditionalStartComment":case"ieConditionalEndComment":return[E(h),x(h)];case"interpolation":return[E(h,t),...e.map(u,"children"),x(h,t)];case"text":{if("interpolation"===h.parent.type){let e=/\n[^\S\n]*$/,t=e.test(h.value),r=t?h.value.replace(e,""):h.value;return[...l(r),t?n:""]}let e=i([R(h,t),...f(h),v(h,t)]);return d(e)||"fill"===e.type?r(o(e)):e}case"docType":return[a([E(h,t)," ",h.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),x(h,t)];case"comment":return[R(h,t),...l(t.originalText.slice(m(h),y(h)),s),v(h,t)];case"attribute":{if(null===h.value)return h.rawName;let e=p(h.value),t=c(e,"'")({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),r(Xn(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),r(Xn(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),r(Yn(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],o={html:a};t.exports={languages:i,printers:o,options:n,parsers:s}}}),Zn=x({"src/language-yaml/pragma.js"(e,t){function r(e){return/^\s*@(?:prettier|format)\s*$/.test(e)}function a(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)}function n(e){return`# @format\n\n${e}`}D(),t.exports={isPragma:r,hasPragma:a,insertPragma:n}}}),es=x({"src/language-yaml/loc.js"(e,t){function r(e){return e.position.start.offset}function a(e){return e.position.end.offset}D(),t.exports={locStart:r,locEnd:a}}}),ts=x({"src/language-yaml/embed.js"(e,t){function r(e,t,r,a){if("root"===e.getValue().type&&a.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(a.filepath))return r(a.originalText,Object.assign(Object.assign({},a),{},{parser:"json"}))}D(),t.exports=r}}),rs=x({"src/language-yaml/utils.js"(e,t){D();var{getLast:r,isNonEmptyArray:a}=me();function n(e,t){let r=0,a=e.stack.length-1;for(let n=0;ni(r,t,e)))}):e,r)}function o(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})}function d(e,t){let r=0,a=t.length;for(let n=e.position.end.offset-1;n0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===a.proseWrap?n.map((e=>0===e.length?[]:[e])):n.map((e=>0===e.length?[]:x(e))).reduce(((t,a,s)=>0!==s&&n[s-1].length>0&&a.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...a]]:[...t,a]),[]).map((e=>"never"===a.proseWrap?[e.join(" ")]:e))}function E(e,t){let a,{parentIndent:n,isLastDescendant:s,options:i}=t,o=e.position.start.line===e.position.end.line?"":i.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=o.match(/^(? *)[^\n\r ]/m);a=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else a=e.indent-1+n;let d=o.split("\n").map((e=>e.slice(a)));return"preserve"===i.proseWrap||"blockLiteral"===e.type?l(d.map((e=>0===e.length?[]:[e]))):l(d.map((e=>0===e.length?[]:x(e))).reduce(((e,t,a)=>0!==a&&d[a-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[...e.slice(0,-1),[...r(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(r(e))?[...e.slice(0,-1),r(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===i.proseWrap?[e.join(" ")]:e)));function l(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let a=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)a++;return 0===a?t:a>=2&&!s?t.slice(0,-(a-1)):t.slice(0,-a)}}function w(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}t.exports={getLast:r,getAncestorCount:n,isNode:s,isEmptyNode:f,isInlineNode:w,mapNode:i,defineShortcut:o,isNextLineEmpty:d,isLastDescendantNode:l,getBlockValueLineContents:E,getFlowScalarLineContents:R,getLastDescendantNode:u,hasPrettierIgnore:p,hasLeadingComments:g,hasMiddleComments:m,hasIndicatorComment:y,hasTrailingComment:b,hasEndComments:v}}}),as=x({"src/language-yaml/print-preprocess.js"(e,t){D();var{defineShortcut:r,mapNode:a}=rs();function n(e){return a(e,s)}function s(e){switch(e.type){case"document":r(e,"head",(()=>e.children[0])),r(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":r(e,"key",(()=>e.children[0])),r(e,"value",(()=>e.children[1]))}return e}t.exports=n}}),ns=x({"src/language-yaml/print/misc.js"(e,t){D();var{builders:{softline:r,align:a}}=K(),{hasEndComments:n,isNextLineEmpty:s,isNode:i}=rs(),o=new WeakMap;function d(e,t){let a,n=e.getValue(),i=e.stack[0];return o.has(i)?a=o.get(i):(a=new Set,o.set(i,a)),a.has(n.position.end.line)||(a.add(n.position.end.line),!s(n,t)||l(e.getParentNode()))?"":r}function l(e){return n(e)&&!i(e,["documentHead","documentBody","flowMapping","flowSequence"])}function u(e,t){return a(" ".repeat(e),t)}t.exports={alignWithSpaces:u,shouldPrintEndComments:l,printNextEmptyLine:d}}}),ss=x({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){D();var{builders:{ifBreak:r,line:a,softline:n,hardline:s,join:i}}=K(),{isEmptyNode:o,getLast:d,hasEndComments:l}=rs(),{printNextEmptyLine:u,alignWithSpaces:c}=ns();function p(e,t,u){let p=e.getValue(),h="flowMapping"===p.type,g=h?"{":"[",m=h?"}":"]",y=n;h&&p.children.length>0&&u.bracketSpacing&&(y=a);let b=d(p.children),v=b&&"flowMappingItem"===b.type&&o(b.key)&&o(b.value);return[g,c(u.tabWidth,[y,f(e,t,u),"none"===u.trailingComma?"":r(","),l(p)?[s,i(s,e.map(t,"endComments"))]:""]),v?"":y,m]}function f(e,t,r){let n=e.getValue();return e.map(((e,s)=>[t(),s===n.children.length-1?"":[",",a,n.children[s].position.start.line!==n.children[s+1].position.start.line?u(e,r.originalText):""]]),"children")}t.exports={printFlowMapping:p,printFlowSequence:p}}}),is=x({"src/language-yaml/print/mapping-item.js"(e,t){D();var{builders:{conditionalGroup:r,group:a,hardline:n,ifBreak:s,join:i,line:o}}=K(),{hasLeadingComments:d,hasMiddleComments:l,hasTrailingComment:u,hasEndComments:c,isNode:p,isEmptyNode:f,isInlineNode:h}=rs(),{alignWithSpaces:g}=ns();function m(e,t,m,x,R){let{key:E,value:w}=e,S=f(E),D=f(w);if(S&&D)return": ";let j=x("key"),T=b(e)?" ":"";if(D)return"flowMappingItem"===e.type&&"flowMapping"===t.type?j:"mappingItem"!==e.type||!y(E.content,R)||u(E.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",g(2,j)]:[j,T,":"];let C=x("value");if(S)return[": ",g(2,C)];if(d(w)||!h(E.content))return["? ",g(2,j),n,i("",m.map(x,"value","leadingComments").map((e=>[e,n]))),": ",g(2,C)];if(v(E.content)&&!d(E.content)&&!l(E.content)&&!u(E.content)&&!c(E)&&!d(w.content)&&!l(w.content)&&!c(w)&&y(w.content,R))return[j,T,": ",C];let A=Symbol("mappingKey"),P=a([s("? "),a(g(2,j),{id:A})]),k=[n,": ",g(2,C)],I=[T,":"];d(w.content)||c(w)&&w.content&&!p(w.content,["mapping","sequence"])||"mapping"===t.type&&u(E.content)&&h(w.content)||p(w.content,["mapping","sequence"])&&null===w.content.tag&&null===w.content.anchor?I.push(n):w.content&&I.push(o),I.push(C);let O=g(R.tabWidth,I);return!y(E.content,R)||d(E.content)||l(E.content)||c(E)?r([[P,s(k,O,{groupId:A})]]):r([[j,O]])}function y(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function b(e){return e.key.content&&"alias"===e.key.content.type}function v(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}t.exports=m}}),os=x({"src/language-yaml/print/block.js"(e,t){D();var{builders:{dedent:r,dedentToRoot:a,fill:n,hardline:s,join:i,line:o,literalline:d,markAsRoot:l},utils:{getDocParts:u}}=K(),{getAncestorCount:c,getBlockValueLineContents:p,hasIndicatorComment:f,isLastDescendantNode:h,isNode:g}=rs(),{alignWithSpaces:m}=ns();function y(e,t,y){let b=e.getValue(),v=c(e,(e=>g(e,["sequence","mapping"]))),x=h(e),R=["blockFolded"===b.type?">":"|"];null!==b.indent&&R.push(b.indent.toString()),"clip"!==b.chomping&&R.push("keep"===b.chomping?"+":"-"),f(b)&&R.push(" ",t("indicatorComment"));let E=p(b,{parentIndent:v,isLastDescendant:x,options:y}),w=[];for(let[e,t]of E.entries())0===e&&w.push(s),w.push(n(u(i(o,t)))),e!==E.length-1?w.push(0===t.length?s:l(d)):"keep"===b.chomping&&x&&w.push(a(0===t.length?s:d));return null===b.indent?R.push(r(m(y.tabWidth,w))):R.push(a(m(b.indent-1+v,w))),R}t.exports=y}}),ds=x({"src/language-yaml/printer-yaml.js"(e,t){D();var{builders:{breakParent:r,fill:a,group:n,hardline:s,join:i,line:o,lineSuffix:d,literalline:l},utils:{getDocParts:u,replaceTextEndOfLine:c}}=K(),{isPreviousLineEmpty:p}=me(),{insertPragma:f,isPragma:h}=Zn(),{locStart:g}=es(),m=ts(),{getFlowScalarLineContents:y,getLastDescendantNode:b,hasLeadingComments:v,hasMiddleComments:x,hasTrailingComment:R,hasEndComments:E,hasPrettierIgnore:w,isLastDescendantNode:S,isNode:j,isInlineNode:T}=rs(),C=as(),{alignWithSpaces:A,printNextEmptyLine:P,shouldPrintEndComments:k}=ns(),{printFlowMapping:I,printFlowSequence:O}=ss(),_=is(),N=os();function F(e,t,a){let o=e.getValue(),u=[];"mappingValue"!==o.type&&v(o)&&u.push([i(s,e.map(a,"leadingComments")),s]);let{tag:f,anchor:h}=o;f&&u.push(a("tag")),f&&h&&u.push(" "),h&&u.push(a("anchor"));let m="";j(o,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!S(e)&&(m=P(e,t.originalText)),(f||h)&&(j(o,["sequence","mapping"])&&!x(o)?u.push(s):u.push(" ")),x(o)&&u.push([1===o.middleComments.length?"":s,i(s,e.map(a,"middleComments")),s]);let y=e.getParentNode();return w(e)?u.push(c(t.originalText.slice(o.position.start.offset,o.position.end.offset).trimEnd(),l)):u.push(n(B(o,y,e,t,a))),R(o)&&!j(o,["document","documentHead"])&&u.push(d(["mappingValue"!==o.type||o.content?" ":"","mappingKey"===y.type&&"mapping"===e.getParentNode(2).type&&T(o)?"":r,a("trailingComment")])),k(o)&&u.push(A("sequenceItem"===o.type?2:0,[s,i(s,e.map((e=>[p(t.originalText,e.getValue(),g)?s:"",a()]),"endComments"))])),u.push(m),u}function B(e,t,r,a,n){switch(e.type){case"root":{let{children:t}=e,a=[];r.each(((e,r)=>{let i=t[r],o=t[r+1];0!==r&&a.push(s),a.push(n()),L(i,o)?(a.push(s,"..."),R(i)&&a.push(" ",n("trailingComment"))):o&&!R(o.head)&&a.push(s,"---")}),"children");let i=b(e);return(!j(i,["blockLiteral","blockFolded"])||"keep"!==i.chomping)&&a.push(s),a}case"document":{let o=[];return"head"===U(e,t.children[r.getName()+1],t,a)&&((e.head.children.length>0||e.head.endComments.length>0)&&o.push(n("head")),R(e.head)?o.push(["---"," ",n(["head","trailingComment"])]):o.push("---")),M(e)&&o.push(n("body")),i(s,o)}case"documentHead":return i(s,[...r.map(n,"children"),...r.map(n,"endComments")]);case"documentBody":{let{children:t,endComments:a}=e,o="";if(t.length>0&&a.length>0){let t=b(e);j(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(o=[s,s]):o=s}return[i(s,r.map(n,"children")),o,i(s,r.map(n,"endComments"))]}case"directive":return["%",i(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return a.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return W(e.type,a.originalText.slice(e.position.start.offset,e.position.end.offset),a);case"quoteDouble":case"quoteSingle":{let t="'",r='"',n=a.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&n.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(n)){let s="quoteDouble"===e.type?r:t;return[s,W(e.type,n,a),s]}if(n.includes(r))return[t,W(e.type,"quoteDouble"===e.type?n.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):n,a),t];if(n.includes(t))return[r,W(e.type,"quoteSingle"===e.type?n.replace(/''/g,t):n,a),r];let s=a.singleQuote?t:r;return[s,W(e.type,n,a),s]}case"blockFolded":case"blockLiteral":return N(r,n,a);case"mapping":case"sequence":return i(s,r.map(n,"children"));case"sequenceItem":return["- ",A(2,e.content?n("content"):"")];case"mappingKey":case"mappingValue":return e.content?n("content"):"";case"mappingItem":case"flowMappingItem":return _(e,t,r,n,a);case"flowMapping":return I(r,n,a);case"flowSequence":return O(r,n,a);case"flowSequenceItem":return n("content");default:throw new Error(`Unexpected node type ${e.type}`)}}function M(e){return e.body.children.length>0||E(e.body)}function L(e,t){return R(e)||t&&(t.head.children.length>0||E(t.head))}function U(e,t,r,a){return r.children[0]===e&&/---(?:\s|$)/.test(a.originalText.slice(g(e),g(e)+4))||e.head.children.length>0||E(e.head)||R(e.head)?"head":!L(e,t)&&!!t&&"root"}function W(e,t,r){let n=y(e,t,r);return i(s,n.map((e=>a(u(i(o,e))))))}function z(e,t){if(j(t))switch(delete t.position,t.type){case"comment":if(h(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}}t.exports={preprocess:C,embed:m,print:F,massageAstNode:z,insertPragma:f}}}),ls=x({"src/language-yaml/options.js"(e,t){D();var r=Ea();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),us=x({"src/language-yaml/parsers.js"(){D()}}),cs=x({"node_modules/linguist-languages/data/YAML.json"(e,t){t.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}}}),ps=x({"src/language-yaml/index.js"(e,t){D();var r=tr(),a=ds(),n=ls(),s=us(),i=[r(cs(),(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter((e=>"yarn.lock"!==e)),".prettierrc",".stylelintrc",".lintstagedrc"]})))];t.exports={languages:i,printers:{yaml:a},options:n,parsers:s}}}),fs=x({"src/languages.js"(e,t){D(),t.exports=[ka(),Ya(),sn(),fn(),jn(),Qn(),ps()]}});D();var{version:hs}=j(),gs=Zt(),{getSupportInfo:ms}=le(),ys=er(),bs=fs(),vs=K();function xs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,a=new Array(r),n=0;n1&&void 0!==arguments[1]?arguments[1]:60,r=null;return function(){for(var a=this,n=arguments.length,s=new Array(n),i=0;i=0;--s){var i=this.tryEntries[s],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var d=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(d&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;P(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,a){return this.delegate={iterator:I(t),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=e),y}},t}function i(e,t,r,a,n,s,i){try{var o=e[s](i),d=o.value}catch(e){return void r(e)}o.done?t(d):Promise.resolve(d).then(a,n)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var s=e.apply(t,r);function o(e){i(s,a,n,o,d,"next",e)}function d(e){i(s,a,n,o,d,"throw",e)}o(void 0)}))}}function d(e,t){for(var r=0;r=0||(n[r]=e[r]);return n}function b(e,t){if(null==e)return{};var r,a,n=y(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e,t){return t||(t=e.slice(0)),e.raw=t,e}function R(e,t){return S(e)||n(e,t)||j(e,t)||A()}function E(e){return w(e)||D(e)||j(e)||C()}function w(e){if(Array.isArray(e))return T(e)}function S(e){if(Array.isArray(e))return e}function D(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function j(e,t){if(e){if("string"==typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function I(e){var t=k(e,"string");return"symbol"==typeof t?t:String(t)}var O=["Identifier","JSXIdentifier"],_=["MemberExpression"],N=["Identifier"],F=["Statement"],B=["Expression"],M=["Scopable","Pattern"],L=null,U=null,W=["VariableDeclaration"],z=null,V=null,q=null,G=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],H=["RestElement"],K=["RestElement"],$=["ExistsTypeAnnotation"],J=["NumberLiteralTypeAnnotation"],X=["ForOfStatement"],Y=Object.freeze({__proto__:null,BindingIdentifier:N,BlockScoped:U,ExistentialTypeParam:$,Expression:B,Flow:G,ForAwaitStatement:X,Generated:V,NumericLiteralTypeAnnotation:J,Pure:q,Referenced:L,ReferencedIdentifier:O,ReferencedMemberExpression:_,RestProperty:H,Scope:M,SpreadProperty:K,Statement:F,User:z,Var:W});function Q(e,t){for(var r=0,a=Object.keys(t);rn.length)return!1;for(var i=0,o=s.length-1;i1)for(var r=1;re)return!1;if((r+=t[a+1])>=e)return!0}return!1}function Gi(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ui.test(String.fromCharCode(e)):qi(e,zi)))}function Hi(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Wi.test(String.fromCharCode(e)):qi(e,zi)||qi(e,Vi))))}function Ki(e){for(var t=!0,r=0;r=48&&e<=57},so={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},io={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function oo(e,t,r,a,n,s){for(var i=r,o=a,d=n,l="",u=null,c=r,p=t.length;;){if(r>=p){s.unterminated(i,o,d),l+=t.slice(c,r);break}var f=t.charCodeAt(r);if(lo(e,f,t,r)){l+=t.slice(c,r);break}if(92===f){l+=t.slice(c,r);var h=uo(t,r,a,n,"template"===e,s);null!==h.ch||u?l+=h.ch:u={pos:r,lineStart:a,curLine:n},r=h.pos,a=h.lineStart,n=h.curLine,c=r}else 8232===f||8233===f?(++n,a=++r):10===f||13===f?"template"===e?(l+=t.slice(c,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++n,c=a=r):s.unterminated(i,o,d):++r}return{pos:r,str:l,firstInvalidLoc:u,lineStart:a,curLine:n,containsInvalid:!!u}}function lo(e,t,r,a){return"template"===e?96===t||36===t&&123===r.charCodeAt(a+1):t===("double"===e?34:39)}function uo(e,t,r,a,n,s){var i=!n;t++;var o=function(e){return{pos:t,ch:e,lineStart:r,curLine:a}},d=e.charCodeAt(t++);switch(d){case 110:return o("\n");case 114:return o("\r");case 120:var l,u=co(e,t,r,a,2,!1,i,s);return l=u.code,t=u.pos,o(null===l?null:String.fromCharCode(l));case 117:var c,p=fo(e,t,r,a,i,s);return c=p.code,t=p.pos,o(null===c?null:String.fromCodePoint(c));case 116:return o("\t");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++a;case 8232:case 8233:return o("");case 56:case 57:if(n)return o(null);s.strictNumericEscape(t-1,r,a);default:if(d>=48&&d<=55){var f=t-1,h=e.slice(f,t+2).match(/^[0-7]+/)[0],g=parseInt(h,8);g>255&&(h=h.slice(0,-1),g=parseInt(h,8)),t+=h.length-1;var m=e.charCodeAt(t);if("0"!==h||56===m||57===m){if(n)return o(null);s.strictNumericEscape(f,r,a)}return o(String.fromCharCode(g))}return o(String.fromCharCode(d))}}function co(e,t,r,a,n,s,i,o){var d,l=t,u=po(e,t,r,a,16,n,s,!1,o,!i);return d=u.n,t=u.pos,null===d&&(i?o.invalidEscapeSequence(l,r,a):t=l-1),{code:d,pos:t}}function po(e,t,r,a,n,s,i,o,d,l){for(var u=t,c=16===n?so.hex:so.decBinOct,p=16===n?io.hex:10===n?io.dec:8===n?io.oct:io.bin,f=!1,h=0,g=0,m=null==s?1/0:s;g=97?y-97+10:y>=65?y-65+10:no(y)?y-48:1/0)>=n){if(b<=9&&l)return{n:null,pos:t};if(b<=9&&d.invalidDigit(t,r,a,n))b=0;else{if(!i)break;b=0,f=!0}}++t,h=h*n+b}else{var v=e.charCodeAt(t-1),x=e.charCodeAt(t+1);if(o){if(Number.isNaN(x)||!p(x)||c.has(v)||c.has(x)){if(l)return{n:null,pos:t};d.unexpectedNumericSeparator(t,r,a)}}else{if(l)return{n:null,pos:t};d.numericSeparatorInEscapeSequence(t,r,a)}++t}}return t===u||null!=s&&t-u!==s||f?{n:null,pos:t}:{n:h,pos:t}}function fo(e,t,r,a,n,s){var i;if(123===e.charCodeAt(t)){var o=co(e,++t,r,a,e.indexOf("}",t)-t,!0,n,s);if(i=o.code,t=o.pos,++t,null!==i&&i>1114111){if(!n)return{code:null,pos:t};s.invalidCodePoint(t,r,a)}}else{var d=co(e,t,r,a,4,!1,n,s);i=d.code,t=d.pos}return{code:i,pos:t}}var ho=["consequent","body","alternate"],go=["body","expressions"],mo=["left","init"],yo=["leadingComments","trailingComments","innerComments"],bo=["||","&&","??"],vo=["++","--"],xo=[">","<",">=","<="],Ro=["==","===","!=","!=="],Eo=[].concat(Ro,["in","instanceof"]),wo=[].concat(E(Eo),xo),So=["-","/","%","*","**","&","|",">>",">>>","<<","^"],Do=["+"].concat(So,E(wo),["|>"]),jo=["=","+="].concat(E(So.map((function(e){return e+"="}))),E(bo.map((function(e){return e+"="})))),To=["delete","!"],Co=["+","-","~"],Ao=["typeof"],Po=["void","throw"].concat(To,Co,Ao),ko={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},Io=Symbol.for("var used to be block scoped"),Oo=Symbol.for("should not be considered a local binding"),_o={},No={},Fo={},Bo={},Mo={},Lo={},Uo={};function Wo(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function zo(e){return{validate:e}}function Vo(e){return"string"==typeof e?Qo(e):Qo.apply(void 0,E(e))}function qo(e){return zo(Vo(e))}function Go(e){return{validate:e,optional:!0}}function Ho(e){return{validate:Vo(e),optional:!0}}function Ko(e){return ad(ed("array"),Xo(e))}function $o(e){return Ko(Vo(e))}function Jo(e){return zo($o(e))}function Xo(e){function t(t,r,a){if(Array.isArray(a))for(var n=0;n=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return a}var nd=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],sd=["default","optional","deprecated","validate"],id={};function od(){for(var e=arguments.length,t=new Array(e),r=0;r0:d&&"object"==typeof d)throw new Error("field defaults can only be primitives or empty arrays currently");a[i]={default:Array.isArray(d)?[]:d,optional:o.optional,deprecated:o.deprecated,validate:o.validate}}for(var l=t.visitor||r.visitor||[],u=t.aliases||r.aliases||[],c=t.builder||r.builder||t.visitor||[],p=0,f=Object.keys(t);p+s+1)throw new TypeError("RestElement must be last element of "+n)}}}),ld("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Qo("Expression"),optional:!0}}}),ld("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:ad(ed("array"),Xo(Qo("Expression")))}},aliases:["Expression"]}),ld("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:Qo("Expression")}}}),ld("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:Qo("Expression"),optional:!0},consequent:{validate:ad(ed("array"),Xo(Qo("Statement")))}}}),ld("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:Qo("Expression")},cases:{validate:ad(ed("array"),Xo(Qo("SwitchCase")))}}}),ld("ThisExpression",{aliases:["Expression"]}),ld("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Qo("Expression")}}}),ld("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:ad(Qo("BlockStatement"),Object.assign((function(e){if(Ai.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:Qo("CatchClause")},finalizer:{optional:!0,validate:Qo("BlockStatement")}}}),ld("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:Qo("Expression")},operator:{validate:Yo.apply(void 0,E(Po))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),ld("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:Ai.env.BABEL_TYPES_8_BREAKING?Qo("Identifier","MemberExpression"):Qo("Expression")},operator:{validate:Yo.apply(void 0,E(vo))}},visitor:["argument"],aliases:["Expression"]}),ld("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:ed("boolean"),optional:!0},kind:{validate:Yo("var","let","const","using","await using")},declarations:{validate:ad(ed("array"),Xo(Qo("VariableDeclarator")))}},validate:function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING&&Bi("ForXStatement",e,{left:r})&&1!==r.declarations.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+e.type)}}),ld("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!Ai.env.BABEL_TYPES_8_BREAKING)return Qo("LVal");var e=Qo("Identifier","ArrayPattern","ObjectPattern"),t=Qo("Identifier");return function(r,a,n){(r.init?e:t)(r,a,n)}}()},definite:{optional:!0,validate:ed("boolean")},init:{optional:!0,validate:Qo("Expression")}}}),ld("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:Qo("Expression")},body:{validate:Qo("Statement")}}}),ld("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:Qo("Expression")},body:{validate:Qo("Statement")}}}),ld("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},bd(),{left:{validate:Qo("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:Qo("Expression")},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0}})}),ld("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},bd(),{elements:{validate:ad(ed("array"),Xo(Zo("null","PatternLike","LVal")))}})}),ld("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ud(),cd(),{expression:{validate:ed("boolean")},body:{validate:Qo("BlockStatement","Expression")},predicate:{validate:Qo("DeclaredPredicate","InferredPredicate"),optional:!0}})}),ld("ClassBody",{visitor:["body"],fields:{body:{validate:ad(ed("array"),Xo(Qo("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),ld("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:Qo("Identifier"),optional:!0},typeParameters:{validate:Qo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Qo("ClassBody")},superClass:{optional:!0,validate:Qo("Expression")},superTypeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:ad(ed("array"),Xo(Qo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},mixins:{validate:Qo("InterfaceExtends"),optional:!0}}}),ld("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:Qo("Identifier"),optional:!0},typeParameters:{validate:Qo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Qo("ClassBody")},superClass:{optional:!0,validate:Qo("Expression")},superTypeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:ad(ed("array"),Xo(Qo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},mixins:{validate:Qo("InterfaceExtends"),optional:!0},declare:{validate:ed("boolean"),optional:!0},abstract:{validate:ed("boolean"),optional:!0}},validate:function(){var e=Qo("Identifier");return function(t,r,a){Ai.env.BABEL_TYPES_8_BREAKING&&(Bi("ExportDefaultDeclaration",t)||e(a,"id",a.id))}}()}),ld("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:Qo("StringLiteral")},exportKind:Go(Yo("type","value")),attributes:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},assertions:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))}}}),ld("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:Qo("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:Go(Yo("value"))}}),ld("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:ad(Qo("Declaration"),Object.assign((function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw new TypeError("Cannot export a declaration from a source")}))},attributes:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},assertions:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},specifiers:{default:[],validate:ad(ed("array"),Xo((fd=Qo("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),hd=Qo("ExportSpecifier"),Ai.env.BABEL_TYPES_8_BREAKING?function(e,t,r){(e.source?fd:hd)(e,t,r)}:fd)))},source:{validate:Qo("StringLiteral"),optional:!0},exportKind:Go(Yo("type","value"))}}),ld("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")},exported:{validate:Qo("Identifier","StringLiteral")},exportKind:{validate:Yo("type","value"),optional:!0}}}),ld("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!Ai.env.BABEL_TYPES_8_BREAKING)return Qo("VariableDeclaration","LVal");var e=Qo("VariableDeclaration"),t=Qo("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,a,n){Bi("VariableDeclaration",n)?e(r,a,n):t(r,a,n)}}()},right:{validate:Qo("Expression")},body:{validate:Qo("Statement")},await:{default:!1}}}),ld("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},assertions:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},module:{optional:!0,validate:ed("boolean")},phase:{default:null,validate:Yo("source","defer")},specifiers:{validate:ad(ed("array"),Xo(Qo("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:Qo("StringLiteral")},importKind:{validate:Yo("type","typeof","value"),optional:!0}}}),ld("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")}}}),ld("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")}}}),ld("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")},imported:{validate:Qo("Identifier","StringLiteral")},importKind:{validate:Yo("type","typeof","value"),optional:!0}}}),ld("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:Yo("source","defer")},source:{validate:Qo("Expression")},options:{validate:Qo("Expression"),optional:!0}}}),ld("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:ad(Qo("Identifier"),Object.assign((function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING){var a;switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta"}if(!Bi("Identifier",e.property,{name:a}))throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:Qo("Identifier")}}});var vd=function(){return{abstract:{validate:ed("boolean"),optional:!0},accessibility:{validate:Yo("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:ed("boolean"),optional:!0},key:{validate:ad(function(){var e=Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=Qo("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}},xd=function(){return Object.assign({},ud(),vd(),{params:{validate:ad(ed("array"),Xo(Qo("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:Yo("get","set","method","constructor"),default:"method"},access:{validate:ad(ed("string"),Yo("public","private","protected")),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0}})};ld("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},xd(),cd(),{body:{validate:Qo("BlockStatement")}})}),ld("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},bd(),{properties:{validate:ad(ed("array"),Xo(Qo("RestElement","ObjectProperty")))}})}),ld("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:Qo("Expression")}}}),ld("Super",{aliases:["Expression"]}),ld("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:Qo("Expression")},quasi:{validate:Qo("TemplateLiteral")},typeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),ld("TemplateElement",{builder:["value","tail"],fields:{value:{validate:ad(td({raw:{validate:ed("string")},cooked:{validate:ed("string"),optional:!0}}),(function(e){var t=e.value.raw,r=!1,a=function(){throw new Error("Internal @babel/types error.")},n=oo("template",t,0,0,0,{unterminated:function(){r=!0},strictNumericEscape:a,invalidEscapeSequence:a,numericSeparatorInEscapeSequence:a,unexpectedNumericSeparator:a,invalidDigit:a,invalidCodePoint:a}),s=n.str,i=n.firstInvalidLoc;if(!r)throw new Error("Invalid raw");e.value.cooked=i?null:s}))},tail:{default:!1}}}),ld("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:ad(ed("array"),Xo(Qo("TemplateElement")))},expressions:{validate:ad(ed("array"),Xo(Qo("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of "+e.type+" quasis should be exactly one more than the number of expressions.\nExpected "+(r.length+1)+" quasis but got "+e.quasis.length)}))}}}),ld("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:ad(ed("boolean"),Object.assign((function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING&&r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})),default:!1},argument:{optional:!0,validate:Qo("Expression")}}}),ld("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:Qo("Expression")}}}),ld("Import",{aliases:["Expression"]}),ld("BigIntLiteral",{builder:["value"],fields:{value:{validate:ed("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),ld("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:Qo("Identifier")}}}),ld("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:Qo("Expression")},property:{validate:function(){var e=Qo("Identifier"),t=Qo("Expression"),r=Object.assign((function(r,a,n){(r.computed?t:e)(r,a,n)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:!1},optional:{validate:Ai.env.BABEL_TYPES_8_BREAKING?ad(ed("boolean"),rd()):ed("boolean")}}}),ld("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:Qo("Expression")},arguments:{validate:ad(ed("array"),Xo(Qo("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:Ai.env.BABEL_TYPES_8_BREAKING?ad(ed("boolean"),rd()):ed("boolean")},typeArguments:{validate:Qo("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:Qo("TSTypeParameterInstantiation"),optional:!0}}}),ld("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},vd(),{value:{validate:Qo("Expression"),optional:!0},definite:{validate:ed("boolean"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},readonly:{validate:ed("boolean"),optional:!0},declare:{validate:ed("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}})}),ld("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},vd(),{key:{validate:ad(function(){var e=Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=Qo("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:Qo("Expression"),optional:!0},definite:{validate:ed("boolean"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},readonly:{validate:ed("boolean"),optional:!0},declare:{validate:ed("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}})}),ld("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:Qo("PrivateName")},value:{validate:Qo("Expression"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},static:{validate:ed("boolean"),default:!1},readonly:{validate:ed("boolean"),optional:!0},definite:{validate:ed("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}}}),ld("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},xd(),cd(),{kind:{validate:Yo("get","set","method"),default:"method"},key:{validate:Qo("PrivateName")},body:{validate:Qo("BlockStatement")}})}),ld("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:Qo("Identifier")}}}),ld("StaticBlock",{visitor:["body"],fields:{body:{validate:ad(ed("array"),Xo(Qo("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]});var Rd=od("Flow"),Ed=function(e){var t="DeclareClass"===e;Rd(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends"].concat(E(t?["mixins","implements"]:[]),["body"]),aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),extends:Go($o("InterfaceExtends"))},t?{mixins:Go($o("InterfaceExtends")),implements:Go($o("ClassImplements"))}:{},{body:qo("ObjectTypeAnnotation")})})};Rd("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:qo("FlowType")}}),Rd("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:zo(ed("boolean"))}}),Rd("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("ClassImplements",{visitor:["id","typeParameters"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterInstantiation")}}),Ed("DeclareClass"),Rd("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),predicate:Ho("DeclaredPredicate")}}),Ed("DeclareInterface"),Rd("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo(["Identifier","StringLiteral"]),body:qo("BlockStatement"),kind:Go(Yo("CommonJS","ES"))}}),Rd("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:qo("TypeAnnotation")}}),Rd("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),right:qo("FlowType")}}),Rd("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),supertype:Ho("FlowType"),impltype:Ho("FlowType")}}),Rd("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier")}}),Rd("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:Ho("Flow"),specifiers:Go($o(["ExportSpecifier","ExportNamespaceSpecifier"])),source:Ho("StringLiteral"),default:Go(ed("boolean"))}}),Rd("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:qo("StringLiteral"),exportKind:Go(Yo("type","value"))}}),Rd("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:qo("Flow")}}),Rd("ExistsTypeAnnotation",{aliases:["FlowType"]}),Rd("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:Ho("TypeParameterDeclaration"),params:zo($o("FunctionTypeParam")),rest:Ho("FunctionTypeParam"),this:Ho("FunctionTypeParam"),returnType:qo("FlowType")}}),Rd("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:Ho("Identifier"),typeAnnotation:qo("FlowType"),optional:Go(ed("boolean"))}}),Rd("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:qo(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Ho("TypeParameterInstantiation")}}),Rd("InferredPredicate",{aliases:["FlowPredicate"]}),Rd("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:qo(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Ho("TypeParameterInstantiation")}}),Ed("InterfaceDeclaration"),Rd("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:Go($o("InterfaceExtends")),body:qo("ObjectTypeAnnotation")}}),Rd("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:zo($o("FlowType"))}}),Rd("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:qo("FlowType")}}),Rd("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:zo(ed("number"))}}),Rd("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:zo($o(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:$o("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:$o("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:$o("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:ed("boolean"),default:!1},inexact:Go(ed("boolean"))}}),Rd("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:qo("Identifier"),value:qo("FlowType"),optional:zo(ed("boolean")),static:zo(ed("boolean")),method:zo(ed("boolean"))}}),Rd("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:qo("FlowType"),static:zo(ed("boolean"))}}),Rd("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:Ho("Identifier"),key:qo("FlowType"),value:qo("FlowType"),static:zo(ed("boolean")),variance:Ho("Variance")}}),Rd("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:qo(["Identifier","StringLiteral"]),value:qo("FlowType"),kind:zo(Yo("init","get","set")),static:zo(ed("boolean")),proto:zo(ed("boolean")),optional:zo(ed("boolean")),variance:Ho("Variance"),method:zo(ed("boolean"))}}),Rd("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:qo("FlowType")}}),Rd("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),supertype:Ho("FlowType"),impltype:qo("FlowType")}}),Rd("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:qo("Identifier"),qualification:qo(["Identifier","QualifiedTypeIdentifier"])}}),Rd("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:zo(ed("string"))}}),Rd("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:zo($o("FlowType"))}}),Rd("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:qo("FlowType")}}),Rd("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),right:qo("FlowType")}}),Rd("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:qo("FlowType")}}),Rd("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:qo("Expression"),typeAnnotation:qo("TypeAnnotation")}}),Rd("TypeParameter",{visitor:["bound","default","variance"],fields:{name:zo(ed("string")),bound:Ho("TypeAnnotation"),default:Ho("FlowType"),variance:Ho("Variance")}}),Rd("TypeParameterDeclaration",{visitor:["params"],fields:{params:zo($o("TypeParameter"))}}),Rd("TypeParameterInstantiation",{visitor:["params"],fields:{params:zo($o("FlowType"))}}),Rd("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:zo($o("FlowType"))}}),Rd("Variance",{builder:["kind"],fields:{kind:zo(Yo("minus","plus"))}}),Rd("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:qo("Identifier"),body:qo(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),Rd("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:zo(ed("boolean")),members:Jo("EnumBooleanMember"),hasUnknownMembers:zo(ed("boolean"))}}),Rd("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:zo(ed("boolean")),members:Jo("EnumNumberMember"),hasUnknownMembers:zo(ed("boolean"))}}),Rd("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:zo(ed("boolean")),members:Jo(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:zo(ed("boolean"))}}),Rd("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:Jo("EnumDefaultedMember"),hasUnknownMembers:zo(ed("boolean"))}}),Rd("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:qo("Identifier"),init:qo("BooleanLiteral")}}),Rd("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:qo("Identifier"),init:qo("NumericLiteral")}}),Rd("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:qo("Identifier"),init:qo("StringLiteral")}}),Rd("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:qo("Identifier")}}),Rd("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:qo("FlowType"),indexType:qo("FlowType")}}),Rd("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:qo("FlowType"),indexType:qo("FlowType"),optional:zo(ed("boolean"))}});var wd=od("JSX");wd("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:Qo("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),wd("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),wd("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:Qo("JSXOpeningElement")},closingElement:{optional:!0,validate:Qo("JSXClosingElement")},children:{validate:ad(ed("array"),Xo(Qo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:ed("boolean"),optional:!0}})}),wd("JSXEmptyExpression",{}),wd("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Qo("Expression","JSXEmptyExpression")}}}),wd("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Qo("Expression")}}}),wd("JSXIdentifier",{builder:["name"],fields:{name:{validate:ed("string")}}}),wd("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:Qo("JSXMemberExpression","JSXIdentifier")},property:{validate:Qo("JSXIdentifier")}}}),wd("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:Qo("JSXIdentifier")},name:{validate:Qo("JSXIdentifier")}}}),wd("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:ad(ed("array"),Xo(Qo("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),wd("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:Qo("Expression")}}}),wd("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:ed("string")}}}),wd("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:Qo("JSXOpeningFragment")},closingFragment:{validate:Qo("JSXClosingFragment")},children:{validate:ad(ed("array"),Xo(Qo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),wd("JSXOpeningFragment",{aliases:["Immutable"]}),wd("JSXClosingFragment",{aliases:["Immutable"]});for(var Sd=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Dd={Declaration:["Statement"],Pattern:["PatternLike","LVal"]},jd=0,Td=Sd;jd=0)){if(Ft(o))return[o];if(xs(o))a.set(o.type,o);else if(Or(o))n.has(o.types)||(t.push.apply(t,E(o.types)),n.add(o.types));else if(rr(o)){var d=xv(o.id);if(r.has(d)){var l,u=r.get(d);u.typeParameters?o.typeParameters&&((l=u.typeParameters.params).push.apply(l,E(o.typeParameters.params)),u.typeParameters.params=Rv(u.typeParameters.params)):u=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var c,p=P(a);!(c=p()).done;){var f=R(c.value,2)[1];s.push(f)}for(var h,g=P(r);!(h=g()).done;){var m=R(h.value,2)[1];s.push(m)}return s}function Ev(e){var t=Rv(e);return 1===t.length?t[0]:jc(t)}function wv(e){return we(e)?e.name:e.right.name+"."+wv(e.left)}function Sv(e){for(var t=Array.from(e),r=new Map,a=new Map,n=new Set,s=[],i=0;i=0)){if(_a(o))return[o];if(Ps(o))a.set(o.type,o);else if(sn(o))n.has(o.types)||(t.push.apply(t,E(o.types)),n.add(o.types));else if(Xa(o)&&o.typeParameters){var d=wv(o.typeName);if(r.has(d)){var l,u=r.get(d);u.typeParameters?o.typeParameters&&((l=u.typeParameters.params).push.apply(l,E(o.typeParameters.params)),u.typeParameters.params=Sv(u.typeParameters.params)):u=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var c,p=P(a);!(c=p()).done;){var f=R(c.value,2)[1];s.push(f)}for(var h,g=P(r);!(h=g()).done;){var m=R(h.value,2)[1];s.push(m)}return s}function Dv(e){var t=e.map((function(e){return On(e)?e.typeAnnotation:e})),r=Sv(t);return 1===r.length?r[0]:Qp(r)}function jv(){return Ul("void",xl(0),!0)}var Tv=Function.call.bind(Object.prototype.hasOwnProperty);function Cv(e,t,r,a){return e&&"string"==typeof e.type?kv(e,t,r,a):e}function Av(e,t,r,a){return Array.isArray(e)?e.map((function(e){return Cv(e,t,r,a)})):Cv(e,t,r,a)}function Pv(e,t,r){return void 0===t&&(t=!0),void 0===r&&(r=!1),kv(e,t,r,new Map)}function kv(e,t,r,a){if(void 0===t&&(t=!0),void 0===r&&(r=!1),!e)return e;var n=e.type,s={type:e.type};if(we(e))s.name=e.name,Tv(e,"optional")&&"boolean"==typeof e.optional&&(s.optional=e.optional),Tv(e,"typeAnnotation")&&(s.typeAnnotation=t?Av(e.typeAnnotation,!0,r,a):e.typeAnnotation);else{if(!Tv(Bo,n))throw new Error('Unknown node type: "'+n+'"');for(var i=0,o=Object.keys(Bo[n]);i=Number.MAX_SAFE_INTEGER?Qx.uid=0:Qx.uid++};var eR=Function.call.bind(Object.prototype.toString);function tR(e){return"[object RegExp]"===eR(e)}function rR(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function aR(e){if(void 0===e)return ml("undefined");if(!0===e||!1===e)return El(e);if(null===e)return Rl();if("string"==typeof e)return vl(e);var t;if("number"==typeof e)return t=Number.isFinite(e)?xl(Math.abs(e)):Yd("/",Number.isNaN(e)?xl(0):xl(1),xl(0)),(e<0||Object.is(e,-0))&&(t=Ul("-",t)),t;if(tR(e))return wl(e.source,e.toString().match(/\/([a-z]+|)$/)[1]);if(Array.isArray(e))return Jd(e.map(aR));if(rR(e)){for(var r=[],a=0,n=Object.keys(e);a=0)return!0}else if(s===e)return!0}return!1}function pR(e){return Je(e)&&("var"!==e.kind||e[Io])}function fR(e){return Re(e)||nt(e)||pR(e)}function hR(e){return!!Ni(e.type,"Immutable")||!!we(e)&&"undefined"===e.name}function gR(e,t){if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return e===t;if(e.type!==t.type)return!1;for(var r=Object.keys(Bo[e.type]||e.type),a=_o[e.type],n=0,s=r;n100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(o){var d=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*n;case"days":case"day":case"d":return d*a;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function o(n){var s=Math.abs(n);return s>=a?Math.round(n/a)+"d":s>=r?Math.round(n/r)+"h":s>=t?Math.round(n/t)+"m":s>=e?Math.round(n/e)+"s":n+"ms"}function d(n){var s=Math.abs(n);return s>=a?l(n,s,a,"day"):s>=r?l(n,s,r,"hour"):s>=t?l(n,s,t,"minute"):s>=e?l(n,s,e,"second"):n+" ms"}function l(e,t,r,a){var n=t>=1.5*r;return Math.round(e/r)+" "+a+(n?"s":"")}return _E=function(e,t){t=t||{};var r=typeof e;if("string"===r&&e.length>0)return i(e);if("number"===r&&isFinite(e))return t.long?d(e):o(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))},_E}function LE(e){function t(e){for(var t=0,a=0;a=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function n(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var a=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(n=a))})),t.splice(n,0,r)}}function s(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}}function i(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==Ai&&"env"in Ai&&(e=Ai.env.DEBUG),e}function o(){try{return localStorage}catch(e){}}t.formatArgs=n,t.save=s,t.load=i,t.useColors=a,t.storage=o(),t.destroy=(r=!1,function(){r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=UE(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(BE,BE.exports);var WE=BE.exports,zE=Pv,VE=eu,qE=tu,GE=ml,HE=zl,KE=Vl;function $E(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){var t=e.get("declaration"),r=t.isFunctionDeclaration()||t.isClassDeclaration(),a=t.isFunctionExpression()||t.isClassExpression(),n=t.isScope()?t.scope.parent:t.scope,s=t.node.id,i=!1;s?a&&n.hasBinding(s.name)&&(i=!0,s=n.generateUidIdentifier(s.name)):(i=!0,s=n.generateUidIdentifier("default"),(r||a)&&(t.node.id=zE(s)));var o=r?t.node:HE("var",[KE(zE(s),t.node)]),d=VE(null,[qE(zE(s),GE("default"))]);return e.insertAfter(d),e.replaceWith(o),i&&n.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");var l=e.get("declaration"),u=l.getOuterBindingIdentifiers(),c=Object.keys(u).map((function(e){return qE(GE(e),GE(e))})),p=VE(null,c);return e.insertAfter(p),e.replaceWith(l.node),e}function JE(e){var t=e.context,r=e.node;if(r.computed&&t.maybeQueue(e.get("key")),r.decorators)for(var a,n=P(e.get("decorators"));!(a=n()).done;){var s=a.value;t.maybeQueue(s)}}var XE={FunctionParent:function(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&JE(e))},Property:function(e){e.isObjectProperty()||(e.skip(),JE(e))}},YE={ReferencedIdentifier:function(e,t){var r=e.node;r.name===t.oldName&&(r.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&JE(e))},ObjectProperty:function(e,t){var r,a=e.node,n=e.scope,s=a.key.name;!a.shorthand||s!==t.oldName&&s!==t.newName||n.getBindingIdentifier(s)!==t.binding.identifier||(a.shorthand=!1,null!=(r=a.extra)&&r.shorthand&&(a.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator":function(e,t){if(!e.isVariableDeclaration()){var r=e.getOuterBindingIdentifiers();for(var a in r)a===t.oldName&&(r[a].name=t.newName)}}},QE=function(){function e(e,t,r){this.newName=r,this.oldName=t,this.binding=e}var t=e.prototype;return t.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){var r=t.node.declaration;if(ts(r)&&!r.id)return}t.isExportAllDeclaration()||$E(t)}},t.maybeConvertFromClassFunctionDeclaration=function(e){return e},t.maybeConvertFromClassFunctionExpression=function(e){return e},t.rename=function(){var e=this.binding,t=this.oldName,r=this.newName,a=e.scope,n=e.path,s=n.find((function(e){return e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()}));s&&s.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(s),uG(arguments[0]||a.block,gE(YE),a,this,a.path,{discriminant:!0}),arguments[0]||(a.removeOwnBinding(t),a.bindings[r]=e,this.binding.identifier.name=r),s&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))},l(e)}(),ZE=function(){function e(e){var t=e.identifier,r=e.scope,a=e.path,n=e.kind;this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=a,this.kind=n,"var"!==n&&"hoisted"!==n||!ew(a)||this.reassign(a),this.clearValue()}var t=e.prototype;return t.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},t.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},t.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},t.reassign=function(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)},t.reference=function(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},t.dereference=function(){this.references--,this.referenced=!!this.references},l(e)}();function ew(e){for(var t=e.parentPath,r=e.key;t;t=(a=t).parentPath,r=a.key,a){var a;if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&"body"===r)return!0}return!1}var tw,rw,aw={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};function nw(){return rw?tw:(rw=1,tw=aw)}function sw(e){return null!=e&&e&&"false"!==e&&"0"!==e}var iw=(sw(Ai.env.BABEL_8_BREAKING),nw()),ow=Oo,dw=al,lw=Pv,uw=oR,cw=ml,pw=re,fw=Ln,hw=ps,gw=rt,mw=nt,yw=st,bw=it,vw=ot,xw=Re,Rw=we,Ew=ut,ww=ss,Sw=os,Dw=gs,jw=Ce,Tw=Ne,Cw=ls,Aw=es,Pw=Pe,kw=vt,Iw=xt,Ow=Et,_w=qe,Nw=Ke,Fw=Je,Bw=Fs,Mw=Dl,Lw=xl,Uw=Vx,Ww=zl,zw=Vl,Vw=ya,qw=ba,Gw=Be,Hw=Ra,Kw=gt,$w=_t,Jw=hs,Xw=jv;function Yw(e,t){switch(null==e?void 0:e.type){default:var r;if(Ew(e)||Jw(e))if((yw(e)||vw(e)||Ew(e))&&e.source)Yw(e.source,t);else if((vw(e)||Ew(e))&&null!=(r=e.specifiers)&&r.length)for(var a,n=P(e.specifiers);!(a=n()).done;)Yw(a.value,t);else(bw(e)||vw(e))&&e.declaration&&Yw(e.declaration,t);else Dw(e)?Yw(e.local,t):!ww(e)||jw(e)||Pw(e)||Ow(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Yw(e.object,t),Yw(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Yw(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(var s,i=P(e.properties);!(s=i()).done;)Yw(s.value,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":Yw(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Yw(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),Yw(e.argument,t);break;case"AwaitExpression":t.push("await"),Yw(e.argument,t);break;case"AssignmentExpression":Yw(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":Yw(e.id,t);break;case"ParenthesizedExpression":Yw(e.expression,t);break;case"MetaProperty":Yw(e.meta,t),Yw(e.property,t);break;case"JSXElement":Yw(e.openingElement,t);break;case"JSXOpeningElement":Yw(e.name,t);break;case"JSXFragment":Yw(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":Yw(e.namespace,t),Yw(e.name,t)}}var Qw={ForStatement:function(e){var t=e.get("init");if(t.isVar()){var r=e.scope;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration:function(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration:function(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){t.references.push(e)},ForXStatement:function(e,t){var r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){var a=e.scope;(a.getFunctionParent()||a.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit:function(e){var t=e.node,r=e.scope;if(!yw(t)){var a=t.declaration;if(mw(a)||xw(a)){var n=a.id;if(!n)return;var s=r.getBinding(n.name);null==s||s.reference(e)}else if(Fw(a))for(var i,o=P(a.declarations);!(i=o()).done;)for(var d=i.value,l=0,u=Object.keys(uw(d));l1&&(r+=t),"_"+r},t.generateUidBasedOnNode=function(e,t){var r=[];Yw(e,r);var a=r.join("$");return a=a.replace(/^_/,"")||t||"ref",this.generateUid(a.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return cw(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(_w(e)||kw(e)||Hw(e))return!0;if(Rw(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),lw(r))},t.checkBlockScopedCollisions=function(e,t,r,a){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.hub.buildError(a,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new QE(r,e,t).rename(arguments[2]))},t._renameFromMap=function(e,t,r,a){e[t]&&(e[r]=a,e[t]=null)},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,a=Object.keys(t.bindings);r0)&&this.isPure(e.body,t);if(gw(e)){for(var i,o=P(e.body);!(i=o()).done;){var d=i.value;if(!this.isPure(d,t))return!1}return!0}if(fw(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(pw(e)||qw(e)){for(var l,u=P(e.elements);!(l=u()).done;){var c=l.value;if(null!==c&&!this.isPure(c,t))return!1}return!0}if(Tw(e)||Vw(e)){for(var p,f=P(e.properties);!(p=f()).done;){var h=p.value;if(!this.isPure(h,t))return!1}return!0}if(Sw(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(n=e.decorators)?void 0:n.length)>0);if(Cw(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(s=e.decorators)?void 0:s.length)>0||(Gw(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(Nw(e))return this.isPure(e.argument,t);if(Iw(e))return Bw(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,t);if(Ow(e)){for(var g,m=P(e.expressions);!(g=m()).done;){var y=g.value;if(!this.isPure(y,t))return!1}return!0}return Aw(e)},t.setData=function(e,t){return this.data[e]=t},t.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},t.removeData=function(e){var t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)},t.init=function(){this.inited||(this.inited=!0,this.crawl())},t.crawl=function(){var e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);var t=this.getProgramParent();if(!t.crawling){var r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&hE(Qw)){for(var a,n=P(Qw.enter);!(a=n()).done;)a.value.call(r,e,r);var s=Qw[e.type];if(s)for(var i,o=P(s.enter);!(i=o()).done;)i.value.call(r,e,r)}e.traverse(Qw,r),this.crawling=!1;for(var d,l=P(r.assignments);!(d=l()).done;){for(var u=d.value,c=u.getBindingIdentifiers(),p=0,f=Object.keys(c);p0)throw new Error("Invalid string. Length must be a multiple of 4");s="="===e[o-2]?2:"="===e[o-1]?1:0,i=new oS(3*o/4-s),a=s>0?o-4:o;var d=0;for(t=0,r=0;t>16&255,i[d++]=n>>8&255,i[d++]=255&n;return 2===s?(n=iS[e.charCodeAt(t)]<<2|iS[e.charCodeAt(t+1)]>>4,i[d++]=255&n):1===s&&(n=iS[e.charCodeAt(t)]<<10|iS[e.charCodeAt(t+1)]<<4|iS[e.charCodeAt(t+2)]>>2,i[d++]=n>>8&255,i[d++]=255&n),i}function cS(e){return sS[e>>18&63]+sS[e>>12&63]+sS[e>>6&63]+sS[63&e]}function pS(e,t,r){for(var a,n=[],s=t;sd?d:o+i));return 1===a?(t=e[r-1],n+=sS[t>>2],n+=sS[t<<4&63],n+="=="):2===a&&(t=(e[r-2]<<8)+e[r-1],n+=sS[t>>10],n+=sS[t>>4&63],n+=sS[t<<2&63],n+="="),s.push(n),s.join("")}function hS(e,t,r,a,n){var s,i,o=8*n-a-1,d=(1<>1,u=-7,c=r?n-1:0,p=r?-1:1,f=e[t+c];for(c+=p,s=f&(1<<-u)-1,f>>=-u,u+=o;u>0;s=256*s+e[t+c],c+=p,u-=8);for(i=s&(1<<-u)-1,s>>=-u,u+=a;u>0;i=256*i+e[t+c],c+=p,u-=8);if(0===s)s=1-l;else{if(s===d)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,a),s-=l}return(f?-1:1)*i*Math.pow(2,s-a)}function gS(e,t,r,a,n,s){var i,o,d,l=8*s-n-1,u=(1<>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=a?0:s-1,h=a?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-i))<1&&(i--,d*=2),(t+=i+c>=1?p/d:p*Math.pow(2,1-c))*d>=2&&(i++,d/=2),i+c>=u?(o=0,i=u):i+c>=1?(o=(t*d-1)*Math.pow(2,n),i+=c):(o=t*Math.pow(2,c-1)*Math.pow(2,n),i=0));n>=8;e[r+f]=255&o,f+=h,o/=256,n-=8);for(i=i<0;e[r+f]=255&i,f+=h,i/=256,l-=8);e[r+f-h]|=128*g}var mS={}.toString,yS=Array.isArray||function(e){return"[object Array]"==mS.call(e)},bS=50;function vS(){return RS.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function xS(e,t){if(vS()=vS())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+vS().toString(16)+" bytes");return 0|e}function kS(e){return!(null==e||!e._isBuffer)}function IS(e,t){if(kS(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return dD(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return cD(e).length;default:if(a)return dD(e).length;t=(""+t).toLowerCase(),a=!0}}function OS(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return JS(this,t,r);case"utf8":case"utf-8":return qS(this,t,r);case"ascii":return KS(this,t,r);case"latin1":case"binary":return $S(this,t,r);case"base64":return VS(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return XS(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function _S(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function NS(e,t,r,a,n){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=RS.from(t,a)),kS(t))return 0===t.length?-1:FS(e,t,r,a,n);if("number"==typeof t)return t&=255,RS.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):FS(e,[t],r,a,n);throw new TypeError("val must be string, number or Buffer")}function FS(e,t,r,a,n){var s,i=1,o=e.length,d=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;i=2,o/=2,d/=2,r/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(n){var u=-1;for(s=r;so&&(r=o-d),s=r;s>=0;s--){for(var c=!0,p=0;pn&&(a=n):a=n;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var i=0;i239?4:l>223?3:l>191?2:1;if(n+c<=r)switch(c){case 1:l<128&&(u=l);break;case 2:128==(192&(s=e[n+1]))&&(d=(31&l)<<6|63&s)>127&&(u=d);break;case 3:s=e[n+1],i=e[n+2],128==(192&s)&&128==(192&i)&&(d=(15&l)<<12|(63&s)<<6|63&i)>2047&&(d<55296||d>57343)&&(u=d);break;case 4:s=e[n+1],i=e[n+2],o=e[n+3],128==(192&s)&&128==(192&i)&&128==(192&o)&&(d=(15&l)<<18|(63&s)<<12|(63&i)<<6|63&o)>65535&&d<1114112&&(u=d)}null===u?(u=65533,c=1):u>65535&&(u-=65536,a.push(u>>>10&1023|55296),u=56320|1023&u),a.push(u),n+=c}return HS(a)}RS.TYPED_ARRAY_SUPPORT=void 0===Us.TYPED_ARRAY_SUPPORT||Us.TYPED_ARRAY_SUPPORT,vS(),RS.poolSize=8192,RS._augment=function(e){return e.__proto__=RS.prototype,e},RS.from=function(e,t,r){return ES(null,e,t,r)},RS.TYPED_ARRAY_SUPPORT&&(RS.prototype.__proto__=Uint8Array.prototype,RS.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&RS[Symbol.species]),RS.alloc=function(e,t,r){return SS(null,e,t,r)},RS.allocUnsafe=function(e){return DS(null,e)},RS.allocUnsafeSlow=function(e){return DS(null,e)},RS.isBuffer=hD,RS.compare=function(e,t){if(!kS(e)||!kS(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,n=0,s=Math.min(r,a);n0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},RS.prototype.compare=function(e,t,r,a,n){if(!kS(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===n&&(n=this.length),t<0||r>e.length||a<0||n>this.length)throw new RangeError("out of range index");if(a>=n&&t>=r)return 0;if(a>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(n>>>=0)-(a>>>=0),i=(r>>>=0)-(t>>>=0),o=Math.min(s,i),d=this.slice(a,n),l=e.slice(t,r),u=0;un)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return BS(this,e,t,r);case"utf8":case"utf-8":return MS(this,e,t,r);case"ascii":return LS(this,e,t,r);case"latin1":case"binary":return US(this,e,t,r);case"base64":return WS(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zS(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},RS.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var GS=4096;function HS(e){var t=e.length;if(t<=GS)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var n="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function QS(e,t,r,a,n,s){if(!kS(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw new RangeError("Index out of range")}function ZS(e,t,r,a){t<0&&(t=65535+t+1);for(var n=0,s=Math.min(e.length-r,2);n>>8*(a?n:1-n)}function eD(e,t,r,a){t<0&&(t=4294967295+t+1);for(var n=0,s=Math.min(e.length-r,4);n>>8*(a?n:3-n)&255}function tD(e,t,r,a,n,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function rD(e,t,r,a,n){return n||tD(e,t,r,4),gS(e,t,r,a,23,4),r+4}function aD(e,t,r,a,n){return n||tD(e,t,r,8),gS(e,t,r,a,52,8),r+8}RS.prototype.slice=function(e,t){var r,a=this.length;if((e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t0&&(n*=256);)a+=this[e+--t]*n;return a},RS.prototype.readUInt8=function(e,t){return t||YS(e,1,this.length),this[e]},RS.prototype.readUInt16LE=function(e,t){return t||YS(e,2,this.length),this[e]|this[e+1]<<8},RS.prototype.readUInt16BE=function(e,t){return t||YS(e,2,this.length),this[e]<<8|this[e+1]},RS.prototype.readUInt32LE=function(e,t){return t||YS(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},RS.prototype.readUInt32BE=function(e,t){return t||YS(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},RS.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||YS(e,t,this.length);for(var a=this[e],n=1,s=0;++s=(n*=128)&&(a-=Math.pow(2,8*t)),a},RS.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||YS(e,t,this.length);for(var a=t,n=1,s=this[e+--a];a>0&&(n*=256);)s+=this[e+--a]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},RS.prototype.readInt8=function(e,t){return t||YS(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},RS.prototype.readInt16LE=function(e,t){t||YS(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},RS.prototype.readInt16BE=function(e,t){t||YS(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},RS.prototype.readInt32LE=function(e,t){return t||YS(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},RS.prototype.readInt32BE=function(e,t){return t||YS(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},RS.prototype.readFloatLE=function(e,t){return t||YS(e,4,this.length),hS(this,e,!0,23,4)},RS.prototype.readFloatBE=function(e,t){return t||YS(e,4,this.length),hS(this,e,!1,23,4)},RS.prototype.readDoubleLE=function(e,t){return t||YS(e,8,this.length),hS(this,e,!0,52,8)},RS.prototype.readDoubleBE=function(e,t){return t||YS(e,8,this.length),hS(this,e,!1,52,8)},RS.prototype.writeUIntLE=function(e,t,r,a){e=+e,t|=0,r|=0,a||QS(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+n]=e/s&255;return t+r},RS.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,1,255,0),RS.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},RS.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,2,65535,0),RS.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ZS(this,e,t,!0),t+2},RS.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,2,65535,0),RS.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ZS(this,e,t,!1),t+2},RS.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,4,4294967295,0),RS.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):eD(this,e,t,!0),t+4},RS.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,4,4294967295,0),RS.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):eD(this,e,t,!1),t+4},RS.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);QS(this,e,t,r,n-1,-n)}var s=0,i=1,o=0;for(this[t]=255&e;++s>0)-o&255;return t+r},RS.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);QS(this,e,t,r,n-1,-n)}var s=r-1,i=1,o=0;for(this[t+s]=255&e;--s>=0&&(i*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/i>>0)-o&255;return t+r},RS.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,1,127,-128),RS.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},RS.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,2,32767,-32768),RS.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ZS(this,e,t,!0),t+2},RS.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,2,32767,-32768),RS.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ZS(this,e,t,!1),t+2},RS.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,4,2147483647,-2147483648),RS.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):eD(this,e,t,!0),t+4},RS.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),RS.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):eD(this,e,t,!1),t+4},RS.prototype.writeFloatLE=function(e,t,r){return rD(this,e,t,!0,r)},RS.prototype.writeFloatBE=function(e,t,r){return rD(this,e,t,!1,r)},RS.prototype.writeDoubleLE=function(e,t,r){return aD(this,e,t,!0,r)},RS.prototype.writeDoubleBE=function(e,t,r){return aD(this,e,t,!1,r)},RS.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--n)e[n+t]=this[n+r];else if(s<1e3||!RS.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(s=t;s55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(i+1===a){(t-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function lD(e){for(var t=[],r=0;r>8,n=r%256,s.push(n),s.push(a);return s}function cD(e){return uS(sD(e))}function pD(e,t,r,a){for(var n=0;n=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function fD(e){return e!=e}function hD(e){return null!=e&&(!!e._isBuffer||gD(e)||mD(e))}function gD(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function mD(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&gD(e.slice(0,0))}var yD,bD={exports:{}};function vD(){return yD||(yD=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),i=0;i>>=1,l&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(h)}function h(e,t){return e[0]-t[0]}function g(e){for(var a=new Int32Array(5),n=16384,s=n-36,i=new Uint8Array(n),o=i.subarray(0,s),l=0,u="",c=0;c0&&(l===n&&(u+=d.decode(i),l=0),i[l++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(u+=d.decode(o),i.copyWithin(0,s,l),l-=s),f>0&&(i[l++]=t),l=m(i,l,a,h,0),1!==h.length&&(l=m(i,l,a,h,1),l=m(i,l,a,h,2),l=m(i,l,a,h,3),4!==h.length&&(l=m(i,l,a,h,4)))}}}return u+d.decode(i.subarray(0,l))}function m(e,t,r,a,s){var i=a[s],o=i-r[s];r[s]=i,o=o<0?-o<<1|1:o<<1;do{var d=31&o;(o>>>=5)>0&&(d|=32),e[t++]=n[d]}while(o>0);return t}e.decode=l,e.encode=g,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,bD.exports)),bD.exports}var xD,RD={exports:{}},ED={exports:{}};function wD(){return xD||(xD=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),i=0;i>>=1,l&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(h)}function h(e,t){return e[0]-t[0]}function g(e){for(var a=new Int32Array(5),n=16384,s=n-36,i=new Uint8Array(n),o=i.subarray(0,s),l=0,u="",c=0;c0&&(l===n&&(u+=d.decode(i),l=0),i[l++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(u+=d.decode(o),i.copyWithin(0,s,l),l-=s),f>0&&(i[l++]=t),l=m(i,l,a,h,0),1!==h.length&&(l=m(i,l,a,h,1),l=m(i,l,a,h,2),l=m(i,l,a,h,3),4!==h.length&&(l=m(i,l,a,h,4)))}}}return u+d.decode(i.subarray(0,l))}function m(e,t,r,a,s){var i=a[s],o=i-r[s];r[s]=i,o=o<0?-o<<1|1:o<<1;do{var d=31&o;(o>>>=5)>0&&(d|=32),e[t++]=n[d]}while(o>0);return t}e.decode=l,e.encode=g,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,ED.exports)),ED.exports}var SD,DD={exports:{}};function jD(){return SD||(SD=1,e=DD,function(t,r){e.exports=r()}(0,(function(){var e,t=/^[\w+.-]+:\/\//,r=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,a=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function n(e){return t.test(e)}function s(e){return e.startsWith("//")}function i(e){return e.startsWith("/")}function o(e){return e.startsWith("file:")}function d(e){return/^[.?#]/.test(e)}function l(e){var t=r.exec(e);return c(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function u(e){var t=a.exec(e),r=t[2];return c("file:","",t[1]||"","",i(r)?r:"/"+r,t[3]||"",t[4]||"")}function c(t,r,a,n,s,i,o){return{scheme:t,user:r,host:a,port:n,path:s,query:i,hash:o,type:e.Absolute}}function p(t){if(s(t)){var r=l("http:"+t);return r.scheme="",r.type=e.SchemeRelative,r}if(i(t)){var a=l("http://foo.com"+t);return a.scheme="",a.host="",a.type=e.AbsolutePath,a}if(o(t))return u(t);if(n(t))return l(t);var d=l("http://foo.com/"+t);return d.scheme="",d.host="",d.type=t?t.startsWith("?")?e.Query:t.startsWith("#")?e.Hash:e.RelativePath:e.Empty,d}function f(e){if(e.endsWith("/.."))return e;var t=e.lastIndexOf("/");return e.slice(0,t+1)}function h(e,t){g(t,t.type),"/"===e.path?e.path=t.path:e.path=f(t.path)+e.path}function g(t,r){for(var a=r<=e.RelativePath,n=t.path.split("/"),s=1,i=0,o=!1,d=1;dn&&(n=i)}g(a,n);var o=a.query+a.hash;switch(n){case e.Hash:case e.Query:return o;case e.RelativePath:var l=a.path.slice(1);return l?d(r||t)&&!d(l)?"./"+l+o:l+o:o||".";case e.AbsolutePath:return a.path+o;default:return a.scheme+"//"+a.user+a.host+a.port+a.path+o}}return function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(e||(e={})),m}))),DD.exports;var e}!function(e,t){!function(e,r){r(t,wD(),jD())}(0,(function(e,t,r){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(r);function s(e,t){return t&&!t.endsWith("/")&&(t+="/"),n.default(e,t)}function i(e){if(!e)return"";var t=e.lastIndexOf("/");return e.slice(0,t+1)}var o=0,d=1,u=2,c=3,p=4,f=1,h=2;function g(e,t){var r=m(e,0);if(r===e.length)return e;t||(e=e.slice());for(var a=r;a>1),s=e[n][o]-t;if(0===s)return x=!0,n;s<0?r=n+1:a=n-1}return x=!1,r-1}function E(e,t,r){for(var a=r+1;a=0&&e[a][o]===t;r=a--);return r}function S(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function D(e,t,r,a){var n=r.lastKey,s=r.lastNeedle,i=r.lastIndex,d=0,l=e.length-1;if(a===n){if(t===s)return x=-1!==i&&e[i][o]===t,i;t>=s?d=-1===i?0:i:l=i}return r.lastKey=a,r.lastNeedle=t,r.lastIndex=R(e,t,d,l)}function j(e,t){for(var r=t.map(C),a=0;at;a--)e[a]=e[a-1];e[t]=r}function C(){return{__proto__:null}}var A=function(t,r){var a="string"==typeof t?JSON.parse(t):t;if(!("sections"in a))return new M(a,r);var n=[],s=[],i=[],o=[];P(a,r,n,s,i,o,0,0,1/0,1/0);var d={version:3,file:a.file,names:o,sources:s,sourcesContent:i,mappings:n};return e.presortedDecodedMap(d)};function P(e,t,r,a,n,s,i,o,d,l){for(var u=e.sections,c=0;ch)return;for(var D=O(a,S),j=0===w?f:0,T=v[w],C=0;C=g)return;if(1!==A.length){var _=y+A[d],N=A[u],F=A[c];D.push(4===A.length?[k,_,N,F]:[k,_,N,F,b+A[p]])}else D.push([k])}}}function I(e,t){for(var r=0;r=n.length)return null;var s=n[r],i=z(s,t._decodedMemo,r,a,B);return-1===i?null:s[i]},e.originalPositionFor=function(t,r){var a=r.line,n=r.column,s=r.bias;if(--a<0)throw new Error(_);if(n<0)throw new Error(N);var i=e.decodedMappings(t);if(a>=i.length)return U(null,null,null,null);var o=i[a],l=z(o,t._decodedMemo,a,n,s||B);if(-1===l)return U(null,null,null,null);var f=o[l];if(1===f.length)return U(null,null,null,null);var h=t.names;return U(t.resolvedSources[f[d]],f[u]+1,f[c],5===f.length?h[f[p]]:null)},e.allGeneratedPositionsFor=function(e,t){return r(e,t.source,t.line,t.column,t.bias||F,!0)},e.generatedPositionFor=function(e,t){return r(e,t.source,t.line,t.column,t.bias||B,!1)},e.eachMapping=function(t,r){for(var a=e.decodedMappings(t),n=t.names,s=t.resolvedSources,i=0;i=0&&!(t>=e[a][s]);r=a--);return r}function g(e,t,r){for(var a=e.length;a>t;a--)e[a]=e[a-1];e[t]=r}function m(e){for(var t=e.length,r=t,a=r-1;a>=0&&!(e[a].length>0);r=a,a--);r1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)},t._append=function(e,t,r){var a=e.length,n=this._position;if(this._last=e.charCodeAt(a-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,r||this._map){var s=t.column,i=t.identifierName,o=t.identifierNamePos,d=t.filename,l=t.line;null==i&&null==o||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);var u=e.indexOf("\n"),c=0;for(0!==u&&this._mark(l,s,i,o,d);-1!==u;)n.line++,n.column=0,(c=u+1)=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t},t.endsWithCharAndNewline=function(){var e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}},t.hasContent=function(){return 0!==this._queueCursor||!!this._last},t.exactSource=function(e,t){if(this._map){this.source("start",e);var r=e.identifierName,a=this._sourcePosition;r&&(this._canMarkIdName=!1,a.identifierName=r),t(),r&&(this._canMarkIdName=!0,a.identifierName=void 0,a.identifierNamePos=void 0),this.source("end",e)}else t()},t.source=function(e,t){this._map&&this._normalizePosition(e,t,0)},t.sourceWithOffset=function(e,t,r){this._map&&this._normalizePosition(e,t,r)},t.withSource=function(e,t,r){this._map&&this.source(e,t),r()},t._normalizePosition=function(e,t,r){var a=t[e],n=this._sourcePosition;a&&(n.line=a.line,n.column=Math.max(a.column+r,0),n.filename=t.filename)},t.getCurrentColumn=function(){for(var e=this._queue,t=this._queueCursor,r=-1,a=0,n=0;n",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function dj(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}var lj=function(e,t){var r=t.type;return("ClassDeclaration"===r||"ClassExpression"===r)&&t.superClass===e},uj=function(e,t){var r=t.type;return("MemberExpression"===r||"OptionalMemberExpression"===r)&&t.object===e||("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r)&&t.callee===e||"TaggedTemplateExpression"===r&&t.tag===e||"TSNonNullExpression"===r};function cj(e,t){return XD(t)}function pj(e,t,r){if(!(r.length<3)){var a=t.type;return"UnionTypeAnnotation"===a||"IntersectionTypeAnnotation"===a||"ArrayTypeAnnotation"===a||"TypeAnnotation"===a&&YD(r[r.length-3])}}function fj(e,t){return uj(e,t)||lj(e,t)}function hj(e,t,r){return Nj(r,3)}function gj(e,t,r){return!e.async&&Nj(r,1)}function mj(e,t){var r=t.type;if("**"===e.operator&&"BinaryExpression"===r&&"**"===t.operator)return t.left===e;if(lj(e,t))return!0;if(uj(e,t)||"UnaryExpression"===r||"SpreadElement"===r||"AwaitExpression"===r)return!0;if("BinaryExpression"===r||"LogicalExpression"===r){var a=oj.get(t.operator),n=oj.get(e.operator);if(a===n&&t.right===e&&"LogicalExpression"!==r||a>n)return!0}}function yj(e,t){var r=t.type;return"ArrayTypeAnnotation"===r||"NullableTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"UnionTypeAnnotation"===r}function bj(e,t){return rj(t)&&t.objectType===e}function vj(){return!0}function xj(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r||"TSIntersectionType"===r||"TSUnionType"===r||"TSRestType"===r}function Rj(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r}function Ej(e,t){var r=t.type;return("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r||"TSInstantiationExpression"===r)&&!!t.typeParameters}function wj(e,t){if("in"===e.operator){var r=t.type;return"VariableDeclarator"===r||"ForStatement"===r||"ForInStatement"===r||"ForOfStatement"===r}return!1}function Sj(e,t){var r=t.type;return!("ForStatement"===r||"ThrowStatement"===r||"ReturnStatement"===r||"IfStatement"===r&&t.test===e||"WhileStatement"===r&&t.test===e||"ForInStatement"===r&&t.right===e||"SwitchStatement"===r&&t.discriminant===e||"ExpressionStatement"===r&&t.expression===e)}function Dj(e,t){var r=t.type;return"BinaryExpression"===r||"LogicalExpression"===r||"UnaryExpression"===r||"SpreadElement"===r||uj(e,t)||"AwaitExpression"===r&&ij(e)||"ConditionalExpression"===r&&e===t.test||lj(e,t)}function jj(e,t,r){return Nj(r,5)}function Tj(e,t){return uj(e,t)||QD(t)&&"**"===t.operator&&t.left===e||lj(e,t)}function Cj(e,t,r){return Nj(r,5)}function Aj(e,t){return ej(t)||Pj(e,t)}function Pj(e,t){var r=t.type;return!!("UnaryExpression"===r||"SpreadElement"===r||"BinaryExpression"===r||"LogicalExpression"===r||"ConditionalExpression"===r&&t.test===e||"AwaitExpression"===r||dj(r))||Tj(e,t)}function kj(e,t){return ZD(t)&&t.callee===e||aj(t)&&t.object===e}function Ij(e,t){return!!nj(e.left)||Pj(e,t)}function Oj(e,t){var r=t.type;if(dj(r))return!0;if("LogicalExpression"!==r)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}}function _j(e,t,r){var a,n=t.type;if(null!=(a=e.extra)&&a.parenthesized&&"AssignmentExpression"===n&&t.left===e){var s=t.right.type;if(("FunctionExpression"===s||"ClassExpression"===s)&&null==t.right.id)return!0}return"let"===e.name?Nj(r,aj(t,{object:e,computed:!0})||sj(t,{object:e,computed:!0,optional:!1})?57:32):"async"===e.name&&tj(t)&&e===t.left}function Nj(e,t){var r=1&t,a=2&t,n=4&t,s=8&t,i=16&t,o=32&t,d=e.length-1;if(!(d<=0)){for(var l=e[d],u=e[--d];d>=0;){var c=u.type;if(r&&"ExpressionStatement"===c&&u.expression===l||n&&"ExportDefaultDeclaration"===c&&l===u.declaration||a&&"ArrowFunctionExpression"===c&&u.body===l||s&&"ForStatement"===c&&u.init===l||i&&"ForInStatement"===c&&u.left===l||o&&"ForOfStatement"===c&&u.left===l)return!0;if(!(d>0&&(uj(l,u)&&"NewExpression"!==c||"SequenceExpression"===c&&u.expressions[0]===l||"UpdateExpression"===c&&!u.prefix||"ConditionalExpression"===c&&u.test===l||("BinaryExpression"===c||"LogicalExpression"===c)&&u.left===l||"AssignmentExpression"===c&&u.left===l)))return!1;l=u,u=e[--d]}return!1}}var Fj=Fo,Bj=ue,Mj=Ie,Lj=Oe;function Uj(e){var t=new Map;function r(e,r){var a=t.get(e);t.set(e,a?function(e,t,n){var s;return null!=(s=a(e,t,n))?s:r(e,t,n)}:r)}for(var a=0,n=Object.keys(e);a1}),jT(t))if(TT(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()}function YT(e){this.print(e.id,e),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init,e))}var QT=it,ZT=ot;function eC(e,t){(QT(t)||ZT(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators,e),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id,e)),this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e)),this.space(),this.print(e.body,e)}function tC(e){this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(e))}function rC(e){var t;this.printJoin(e.decorators,e);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function aC(e){var t;this.printJoin(e.decorators,e);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function nC(e){this.printJoin(e.decorators,e),e.static&&(this.word("static"),this.space()),this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function sC(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function iC(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function oC(e){var t;this.printJoin(e.decorators,e);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),this._methodHead(e)}function dC(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e))}var lC=we;function uC(e,t,r){this.print(e.typeParameters,e);var a=vC.call(this,t,r);a&&this.sourceIdentifierName(a.name,a.pos),this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);var n="ArrowFunctionExpression"===e.type;this.print(e.returnType,e,n),this._noLineTerminator=n}function cC(e,t){for(var r=e.length,a=0;a"),this.space(),this.print(e.body,e)}function bC(e,t){var r,a;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||null!=(r=t.leadingComments)&&r.length||null!=(a=t.trailingComments)&&a.length)}function vC(e,t){var r=e;if(!r&&t){var a=t.type;"VariableDeclarator"===a?r=t.id:"AssignmentExpression"===a||"AssignmentPattern"===a?r=t.left:"ObjectProperty"===a||"ClassProperty"===a?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==a&&"ClassAccessorProperty"!==a||(r=t.key)}if(r){var n,s,i;if("Identifier"===r.type)n={pos:null==(s=r.loc)?void 0:s.start,name:(null==(i=r.loc)?void 0:i.identifierName)||r.name};else if("PrivateName"===r.type){var o;n={pos:null==(o=r.loc)?void 0:o.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var d;n={pos:null==(d=r.loc)?void 0:d.start,name:r.value}}return n}}var xC=nt,RC=ma,EC=Tt,wC=ct,SC=pt,DC=Vn;function jC(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))}function TC(e){this.print(e.local,e)}function CC(e){this.print(e.exported,e)}function AC(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))}function PC(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)}var kC,IC,OC=!1;function _C(e){var t=this.format.importAttributesKeyword,r=e.attributes,a=e.assertions;!r||t||OC||(OC=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));var n="assert"===t||!t&&a;this.word(n?"assert":"with"),this.space(),n||"with"===t?(this.tokenChar(123),this.space(),this.printList(r||a,e),this.space(),this.tokenChar(125)):this.printList(r||a,e)}function NC(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function FC(e,t){xC(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}function BC(e){if(FC(this,e),this.word("export"),this.space(),e.declaration){var t=e.declaration;this.print(t,e),DC(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());for(var r,a,n=e.specifiers.slice(0),s=!1;;){var i=n[0];if(!RC(i)&&!EC(i))break;s=!0,this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}(n.length||!n.length&&!s)&&(this.tokenChar(123),n.length&&(this.space(),this.printList(n,e),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(r=e.attributes)&&r.length||null!=(a=e.assertions)&&a.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e)),this.semicolon()}}function MC(e){FC(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();var t=e.declaration;this.print(t,e),DC(t)||this.semicolon()}function LC(e){var t,r;this.word("import"),this.space();var a="type"===e.importKind||"typeof"===e.importKind;a?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());for(var n=e.specifiers.slice(0),s=!!n.length;s;){var i=n[0];if(!wC(i)&&!SC(i))break;this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}n.length?(this.tokenChar(123),this.space(),this.printList(n,e),this.space(),this.tokenChar(125)):a&&!s&&(this.tokenChar(123),this.tokenChar(125)),(s||a)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function UC(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function WC(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)}function zC(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40),this.print(e.source,e),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options,e)),this.tokenChar(41)}function VC(){if(IC)return kC;IC=1;var e={},t=e.hasOwnProperty,r=function(e,r){for(var a in e)t.call(e,a)&&r(a,e[a])},a=function(e,t){return t?(r(t,(function(t,r){e[t]=r})),e):e},n=function(e,t){for(var r=e.length,a=-1;++a=55296&&U<=56319&&M>B+1){var W=F.charCodeAt(B+1);if(W>=56320&&W<=57343){var z=(1024*(U-55296)+W-56320+65536).toString(16);S||(z=z.toUpperCase()),R+="\\u{"+z+"}",++B;continue}}}if(!s.escapeEverything){if(y.test(L)){R+=L;continue}if('"'==L){R+=E==L?'\\"':L;continue}if("`"==L){R+=E==L?"\\`":L;continue}if("'"==L){R+=E==L?"\\'":L;continue}}if("\0"!=L||x||m.test(F.charAt(B+1)))if(g.test(L))R+=h[L];else{var V=L.charCodeAt(0);if(s.minimal&&8232!=V&&8233!=V)R+=L;else{var q=V.toString(16);S||(q=q.toUpperCase());var G=q.length>2||x,H="\\"+(G?"u":"x")+("0000"+q).slice(G?-4:-2);R+=H}}else R+="\\0"}return s.wrap&&(R=E+R+E),"`"==E&&(R=R.replace(/\$\{/g,"\\${")),s.isScriptContext?R.replace(/<\/(script|style)/gi,"<\\/$1").replace(/$/s.test(r);return E(r,n?f:p(c))}case"list":{let a=q(i,e.getParentNode()),n=I(i,t);return Q(e,t,r,{processor:(e,s)=>{let o=l(),d=e.getValue();return 2===d.children.length&&"html"===d.children[1].type&&d.children[0].position.start.column!==d.children[1].position.start.column?[o,z(e,t,r,o)]:[o,y(" ".repeat(o.length),z(e,t,r,o))];function l(){let e=i.ordered?(0===s?i.start:n?1:i.start+s)+(a%2==0?". ":") "):a%2==0?"- ":"* ";return i.isAligned||i.hasIndentedCodeblock?V(e,t):e}}})}case"thematicBreak":{let t=H(e,"list");return-1===t?"---":q(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",Q(e,t,r),"]","full"===i.referenceType?ue(i):"collapsed"===i.referenceType?"[]":""];case"imageReference":return"full"===i.referenceType?["![",i.alt||"","]",ue(i)]:["![",i.alt,"]","collapsed"===i.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?u:" ";return v([ue(i),":",b([e,ie(i.url),null===i.title?"":[e,oe(i.title,t,!1)]])])}case"footnote":return["[^",Q(e,t,r),"]"];case"footnoteReference":return ce(i);case"footnoteDefinition":{let a=e.getParentNode().children[e.getName()+1],n=1===i.children.length&&"paragraph"===i.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&i.children[0].position.start.line===i.children[0].position.end.line);return[ce(i),": ",n?Q(e,t,r):v([y(" ".repeat(4),Q(e,t,r,{processor:(e,t)=>0===t?v([h,r()]):r()})),a&&"footnoteDefinition"===a.type?h:""])]}case"table":return X(e,t,r);case"tableCell":return Q(e,t,r);case"break":return/\s/.test(t.originalText[i.position.start.offset])?[" ",p(c)]:["\\",f];case"liquidNode":return E(i.value,f);case"importExport":return[i.value,f];case"esComment":return["{/* ",i.value," */}"];case"jsx":return i.value;case"math":return["$$",f,i.value?[...E(i.value,f),f]:"","$$"];case"inlineMath":return t.originalText.slice(T(i),C(i));default:throw new Error(`Unknown markdown type ${JSON.stringify(i.type)}`)}}function z(e,t,r,a){let n=e.getValue(),s=null===n.checked?"":n.checked?"[x] ":"[ ] ";return[s,Q(e,t,r,{processor:(e,n)=>{if(0===n&&"list"!==e.getValue().type)return y(" ".repeat(s.length),r());let i=" ".repeat(de(t.tabWidth-a.length,0,3));return[i,y(i,r())]}})]}function V(e,t){let r=a();return e+" ".repeat(r>=4?0:r);function a(){let r=e.length%t.tabWidth;return 0===r?0:t.tabWidth-r}}function q(e,t){return G(e,t,(t=>t.ordered===e.ordered))}function G(e,t,r){let a=-1;for(let n of t.children)if(n.type===e.type&&r(n)?a++:a=-1,n===e)return a}function H(e,t){let r,a=Array.isArray(t)?t:[t],n=-1;for(;r=e.getParentNode(++n);)if(a.includes(r.type))return n;return-1}function $(e,t){let r=H(e,t);return-1===r?null:e.getParentNode(r)}function J(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return f;let a="always"===r.proseWrap&&!$(e,L);return""!==t?a?u:" ":a?h:""}function X(e,t,r){let a=e.getValue(),n=[],s=e.map((e=>e.map(((e,a)=>{let s=w(r(),t).formatted,o=i(s);return n[a]=Math.max(n[a]||3,o),{text:s,width:o}}),"children")),"children"),o=c(!1);if("never"!==t.proseWrap)return[d,o];let u=c(!0);return[d,v(g(u,o))];function c(e){let t=[f(s[0],e),p(e)];return s.length>1&&t.push(l(x,s.slice(1).map((t=>f(t,e))))),l(x,t)}function p(e){return`| ${n.map(((t,r)=>{let n=a.align[r],s="center"===n||"right"===n?":":"-";return`${"center"===n||"left"===n?":":"-"}${e?"-":"-".repeat(t-2)}${s}`})).join(" | ")} |`}function f(e,t){return`| ${e.map(((e,r)=>{let{text:s,width:i}=e;if(t)return s;let o=n[r]-i,d=a.align[r],l=0;"right"===d?l=o:"center"===d&&(l=Math.floor(o/2));let u=o-l;return`${" ".repeat(l)}${s}${" ".repeat(u)}`})).join(" | ")} |`}}function Y(e,t,r){let a=[],n=null,{children:s}=e.getValue();for(let[e,t]of s.entries())switch(te(t)){case"start":null===n&&(n={index:e,offset:t.position.end.offset});break;case"end":null!==n&&(a.push({start:n,end:{index:e,offset:t.position.start.offset}}),n=null)}return Q(e,t,r,{processor:(e,n)=>{if(a.length>0){let e=a[0];if(n===e.start.index)return[Z(s[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),Z(s[e.end.index])];if(e.start.index3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:s}=n,i=n.processor||(()=>r()),o=e.getValue(),d=[];return e.each(((e,r)=>{let n=e.getValue(),s=i(e,r);if(!1!==s){let e={parts:d,prevNode:a,parentNode:o,options:t};re(n,e)&&(d.push(f),a&&M.has(a.type)||(ae(n,e)||ne(n,e))&&d.push(f),ne(n,e)&&d.push(f)),d.push(s),a=n}}),"children"),s?s(d):d}function Z(e){return"html"===e.type?e.value:"paragraph"===e.type&&Array.isArray(e.children)&&1===e.children.length&&"esComment"===e.children[0].type?["{/* ",e.children[0].value," */}"]:void 0}function ee(e){let t=e;for(;o(t.children);)t=a(t.children);return t}function te(e){let t;if("html"===e.type)t=e.value.match(/^$/);else{let r;"esComment"===e.type?r=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function re(e,t){let r=0===t.parts.length,a=N.includes(e.type),n="html"===e.type&&F.includes(t.parentNode.type);return!r&&!a&&!n}function ae(e,t){var r,a,n;let s=(t.prevNode&&t.prevNode.type)===e.type&&U.has(e.type),i="listItem"===t.parentNode.type&&!t.parentNode.loose,o="listItem"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.loose,d="next"===te(t.prevNode),l="html"===e.type&&"html"===(null===(a=t.prevNode)||void 0===a?void 0:a.type)&&t.prevNode.position.end.line+1===e.position.start.line,u="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.position.end.line+1===e.position.start.line;return o||!(s||i||d||l||u)}function ne(e,t){let r=t.prevNode&&"list"===t.prevNode.type,a="code"===e.type&&e.isIndented;return r&&a}function se(e){let t=$(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}function ie(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map((e=>`\\${e}`)).join("|")).test(e)?`<${e}>`:e}function oe(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+oe(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,a=e.split('"').length-1,n=r>a?'"':a>r||t.singleQuote?"'":'"';return`${n}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${n})`,"g"),"\\$1")}${n}`}function de(e,t,r){return er?r:e}function le(e){let t=Number(e.getName());return 0!==t&&"next"===te(e.getParentNode().children[t-1])}function ue(e){return`[${r(e.label)}]`}function ce(e){return`[^${e.label}]`}t.exports={preprocess:A,print:W,embed:S,massageAstNode:P,hasPrettierIgnore:le,insertPragma:j}}}),wn=x({"src/language-markdown/options.js"(e,t){D();var r=Ea();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),Sn=x({"src/language-markdown/parsers.js"(){D()}}),Dn=x({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.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}}}),jn=x({"src/language-markdown/index.js"(e,t){D();var r=tr(),a=En(),n=wn(),s=Sn(),i=[r(Dn(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),r(Dn(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],o={mdast:a};t.exports={languages:i,options:n,printers:o,parsers:s}}}),Tn=x({"src/language-html/clean.js"(e,t){D();var{isFrontMatterNode:r}=me(),a=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function n(e,t){if("text"===e.type||"comment"===e.type||r(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}n.ignoredProperties=a,t.exports=n}}),Cn=x({"src/language-html/constants.evaluate.js"(e,t){t.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"}}}),An=x({"src/language-html/utils/is-unknown-namespace.js"(e,t){function r(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}D(),t.exports=r}}),Pn=x({"src/language-html/utils/index.js"(e,t){D();var{inferParserByLanguage:r,isFrontMatterNode:a}=me(),{builders:{line:n,hardline:s,join:i},utils:{getDocParts:o,replaceTextEndOfLine:d}}=K(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:u,CSS_WHITE_SPACE_TAGS:c,CSS_WHITE_SPACE_DEFAULT:p}=Cn(),f=An(),h=new Set(["\t","\n","\f","\r"," "]),g=e=>e.replace(/^[\t\n\f\r ]+/,""),m=e=>e.replace(/[\t\n\f\r ]+$/,""),y=e=>g(m(e)),b=e=>e.replace(/^[\t\f\r ]*\n/g,""),v=e=>b(m(e)),x=e=>e.split(/[\t\n\f\r ]+/),R=e=>e.match(/^[\t\n\f\r ]*/)[0],E=e=>{let[,t,r,a]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:a,text:r}},w=e=>/[\t\n\f\r ]/.test(e);function S(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||ae(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||ge(e,t)&&!A(e)&&"interpolation"!==e.type)}function j(e){return!("attribute"===e.type||!e.parent||!e.prev)&&T(e.prev)}function T(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}function C(e){return"text"===e.type||"comment"===e.type}function A(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||f(e)&&("script"===e.name||"style"===e.name))}function P(e){return e.children&&!A(e)}function k(e){return A(e)||"interpolation"===e.type||I(e)}function I(e){return oe(e).startsWith("pre")}function _(e,t){let r=n();return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r;function n(){return!(a(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!ae(e.parent)&&(!e.prev&&("root"===e.parent.type||ae(e)&&e.parent||A(e.parent)||fe(e.parent,t)||!Q(e.parent.cssDisplay))||e.prev&&!te(e.prev.cssDisplay))))}}function O(e,t){return!(a(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!ae(e.parent)&&(!e.next&&("root"===e.parent.type||ae(e)&&e.parent||A(e.parent)||fe(e.parent,t)||!Z(e.parent.cssDisplay))||e.next&&!ee(e.next.cssDisplay))))}function N(e){return re(e.cssDisplay)&&!A(e)}function F(e){return a(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some((e=>H(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&z(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||V(e.lastChild))}function M(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function L(e){return q(e)||e.prev&&U(e.prev)||W(e)}function U(e){return q(e)||"element"===e.type&&"br"===e.fullName||W(e)}function W(e){return z(e)&&V(e)}function z(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function q(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function G(e){return e.lastChild?G(e.lastChild):e}function H(e){return e.children&&e.children.some((e=>"text"!==e.type))}function $(e){let{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))||"speculationrules"===t?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function J(e,t){let{lang:a}=e.attrMap;return a&&"postcss"!==a&&"css"!==a?"scss"===a?"scss":"less"===a?"less":"stylus"===a?r("stylus",t):void 0:"css"}function X(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?J(e,t):t&&ge(e,t)?$(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?$(e):"babel"}function Y(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Q(e){return!Y(e)&&"inline-block"!==e}function Z(e){return!Y(e)&&"inline-block"!==e}function ee(e){return!Y(e)}function te(e){return!Y(e)}function re(e){return!Y(e)&&"inline-block"!==e}function ae(e){return oe(e).startsWith("pre")}function ne(e,t){let r=0;for(let a=e.stack.length-1;a>=0;a--){let n=e.stack[a];n&&"object"==typeof n&&!Array.isArray(n)&&t(n)&&r++}return r}function se(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function ie(e,t){if(e.prev&&"comment"===e.prev.type){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let r=!1;if("element"===e.type&&"svg"===e.namespace){if(!se(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||f(e))&&l[e.name]||u}}function oe(e){return"element"===e.type&&(!e.namespace||f(e))&&c[e.name]||p}function de(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;if(!h.has(r[0]))return 0;let e=R(r).length;r.length!==e&&e1&&void 0!==arguments[1]?arguments[1]:de(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}function ue(e,t){let r=0;for(let a=0;a1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?d(t):d(le(v(t)),s):o(i(n,x(t)))}function xe(e,t){return he(e,t)&&"script"===e.name}t.exports={htmlTrim:y,htmlTrimPreserveIndentation:v,hasHtmlWhitespace:w,getLeadingAndTrailingHtmlWhitespace:E,canHaveInterpolation:P,countChars:ue,countParents:ne,dedentString:le,forceBreakChildren:M,forceBreakContent:B,forceNextEmptyLine:F,getLastDescendant:G,getNodeCssStyleDisplay:ie,getNodeCssStyleWhiteSpace:oe,hasPrettierIgnore:j,inferScriptParser:X,isVueCustomBlock:fe,isVueNonHtmlBlock:ge,isVueScriptTag:xe,isVueSlotAttribute:ye,isVueSfcBindingsAttribute:be,isVueSfcBlock:he,isDanglingSpaceSensitiveNode:N,isIndentationSensitiveNode:I,isLeadingSpaceSensitiveNode:_,isPreLikeNode:ae,isScriptLikeTag:A,isTextLikeNode:C,isTrailingSpaceSensitiveNode:O,isWhitespaceSensitiveNode:k,isUnknownNamespace:f,preferHardlineAsLeadingSpaces:L,preferHardlineAsTrailingSpaces:U,shouldPreserveContent:S,unescapeQuoteEntities:ce,getTextValueParts:ve}}}),kn=x({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}function r(t){return e.$0<=t&&t<=e.$9}function a(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function n(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||r(t)}function s(t){return t===e.$LF||t===e.$CR}function i(t){return e.$0<=t&&t<=e.$7}D(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=t,e.isDigit=r,e.isAsciiLetter=a,e.isAsciiHexDigit=n,e.isNewLine=s,e.isOctalDigit=i}}),In=x({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t;var r=class{constructor(){this.cache=new Map}get(e,r,a){let n=`"${e}".${r}${(a=a||[]).length?`.${a.join(".")}`:""}`,s=this.cache.get(n);return s||(s=new t(e,r,a),this.cache.set(n,s)),s}};e.StaticSymbolCache=r}}),_n=x({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;ri(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((a=>{r[a]=i(e[a],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}};function u(e){throw new Error(`Internal Error: ${e}`)}function c(e,t){let r=Error(e);return r[p]=!0,t&&(r[f]=t),r}e.ValueTransformer=l,e.SyncAsync={assertSync:e=>{if(E(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>E(e)?e.then(t):t(e),all:e=>e.some(E)?Promise.all(e):e},e.error=u,e.syntaxError=c;var p="ngSyntaxError",f="ngParseErrors";function h(e){return e[p]}function g(e){return e[f]||[]}function m(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.isSyntaxError=h,e.getParseErrors=g,e.escapeRegExp=m;var y=Object.getPrototypeOf({});function b(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===y}function v(e){let t="";for(let r=0;r=55296&&a<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,a=(a-55296<<10)+t-56320+65536)}a<=127?t+=String.fromCharCode(a):a<=2047?t+=String.fromCharCode(a>>6&31|192,63&a|128):a<=65535?t+=String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128):a<=2097151&&(t+=String.fromCharCode(a>>18&7|240,a>>12&63|128,a>>6&63|128,63&a|128))}return t}function x(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(x).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;if(!e.toString)return"object";let t=e.toString();if(null==t)return""+t;let r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function R(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function E(e){return!!e&&"function"==typeof e.then}e.utf8Encode=v,e.stringify=x,e.resolveForwardRef=R,e.isPromise=E;var w=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};e.Version=w;var S=typeof window<"u"&&window,j=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,T=typeof globalThis<"u"&&globalThis||S||j;e.global=T}}),On=x({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=In(),r=_n(),a=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function n(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=n;var s,i,o=0;function d(e){if(!e||!e.reference)return null;let a=e.reference;if(a instanceof t.StaticSymbol)return a.name;if(a.__anonymousType)return a.__anonymousType;let s=r.stringify(a);return s.indexOf("(")>=0?(s="anonymous_"+o++,a.__anonymousType=s):s=n(s),s}function l(e){let a=e.reference;return a instanceof t.StaticSymbol?a.filePath:`./${r.stringify(a)}`}function u(e,t){return`View_${d({reference:e})}_${t}`}function c(e){return`RenderType_${d({reference:e})}`}function p(e){return`HostView_${d({reference:e})}`}function f(e){return`${d({reference:e})}NgFactory`}function h(e){return null!=e.value?n(e.value):d(e.identifier)}function g(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=d,e.identifierModuleUrl=l,e.viewClassName=u,e.rendererTypeName=c,e.hostViewClassName=p,e.componentFactoryName=f,(i=s=e.CompileSummaryKind||(e.CompileSummaryKind={}))[i.Pipe=0]="Pipe",i[i.Directive=1]="Directive",i[i.NgModule=2]="NgModule",i[i.Injectable=3]="Injectable",e.tokenName=h,e.tokenReference=g;var m=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=w(t),this.styleUrls=w(r)}};e.CompileStylesheetMetadata=m;var y=class{constructor(e){let{encapsulation:t,template:r,templateUrl:a,htmlAst:n,styles:s,styleUrls:i,externalStylesheets:o,animations:d,ngContentSelectors:l,interpolation:u,isInline:c,preserveWhitespaces:p}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=a,this.htmlAst=n,this.styles=w(s),this.styleUrls=w(i),this.externalStylesheets=w(o),this.animations=d?j(d):[],this.ngContentSelectors=l||[],u&&2!=u.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=u,this.isInline=c,this.preserveWhitespaces=p}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=y;var b=class{static create(e){let{isHost:t,type:n,isComponent:s,selector:i,exportAs:o,changeDetection:d,inputs:l,outputs:u,host:c,providers:p,viewProviders:f,queries:h,guards:g,viewQueries:m,entryComponents:y,template:v,componentViewType:x,rendererType:R,componentFactory:E}=e,w={},S={},D={};null!=c&&Object.keys(c).forEach((e=>{let t=c[e],r=e.match(a);null===r?D[e]=t:null!=r[1]?S[r[1]]=t:null!=r[2]&&(w[r[2]]=t)}));let j={};null!=l&&l.forEach((e=>{let t=r.splitAtColon(e,[e,e]);j[t[0]]=t[1]}));let T={};return null!=u&&u.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]})),new b({isHost:t,type:n,isComponent:!!s,selector:i,exportAs:o,changeDetection:d,inputs:j,outputs:T,hostListeners:w,hostProperties:S,hostAttributes:D,providers:p,viewProviders:f,queries:h,guards:g,viewQueries:m,entryComponents:y,template:v,componentViewType:x,rendererType:R,componentFactory:E})}constructor(e){let{isHost:t,type:r,isComponent:a,selector:n,exportAs:s,changeDetection:i,inputs:o,outputs:d,hostListeners:l,hostProperties:u,hostAttributes:c,providers:p,viewProviders:f,queries:h,guards:g,viewQueries:m,entryComponents:y,template:b,componentViewType:v,rendererType:x,componentFactory:R}=e;this.isHost=!!t,this.type=r,this.isComponent=a,this.selector=n,this.exportAs=s,this.changeDetection=i,this.inputs=o,this.outputs=d,this.hostListeners=l,this.hostProperties=u,this.hostAttributes=c,this.providers=w(p),this.viewProviders=w(f),this.queries=w(h),this.guards=g,this.viewQueries=w(m),this.entryComponents=w(y),this.template=b,this.componentViewType=v,this.rendererType=x,this.componentFactory=R}toSummary(){return{summaryKind:s.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}}};e.CompileDirectiveMetadata=b;var v=class{constructor(e){let{type:t,name:r,pure:a}=e;this.type=t,this.name=r,this.pure=!!a}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=v;var x=class{};e.CompileShallowModuleMetadata=x;var R=class{constructor(e){let{type:t,providers:r,declaredDirectives:a,exportedDirectives:n,declaredPipes:s,exportedPipes:i,entryComponents:o,bootstrapComponents:d,importedModules:l,exportedModules:u,schemas:c,transitiveModule:p,id:f}=e;this.type=t||null,this.declaredDirectives=w(a),this.exportedDirectives=w(n),this.declaredPipes=w(s),this.exportedPipes=w(i),this.providers=w(r),this.entryComponents=w(o),this.bootstrapComponents=w(d),this.importedModules=w(l),this.exportedModules=w(u),this.schemas=w(c),this.id=f||null,this.transitiveModule=p||null}toSummary(){let e=this.transitiveModule;return{summaryKind:s.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};e.CompileNgModuleMetadata=R;var E=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(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function w(e){return e||[]}e.TransitiveCompileNgModuleMetadata=E;var S=class{constructor(e,t){let{useClass:r,useValue:a,useExisting:n,useFactory:s,deps:i,multi:o}=t;this.token=e,this.useClass=r||null,this.useValue=a,this.useExisting=n,this.useFactory=s||null,this.dependencies=i||null,this.multi=!!o}};function j(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?j(t):t;return e.concat(r)}),[])}function T(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function C(e,r,a){let n;return n=a.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${d(e)}/${d(r.type)}.html`:a.templateUrl,r.type.reference instanceof t.StaticSymbol?n:T(n)}function A(e,t){let r=e.moduleUrl.split(/\/\\/g);return T(`css/${t}${r[r.length-1]}.ngstyle.js`)}function P(e){return T(`${d(e.type)}/module.ngfactory.js`)}function k(e,t){return T(`${d(e)}/${d(t.type)}.ngfactory.js`)}e.ProviderMeta=S,e.flatten=j,e.templateSourceUrl=C,e.sharedStylesheetJitUrl=A,e.ngModuleJitUrl=P,e.templateJitUrl=k}}),Nn=x({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){D(),Object.defineProperty(e,"__esModule",{value:!0});var t=kn(),r=On(),a=class{constructor(e,t,r,a){this.file=e,this.offset=t,this.line=r,this.col=a}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,n=r.length,s=this.offset,i=this.line,o=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){i--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));o=e>0?s-e:s}else o--;for(;s0;){let a=r.charCodeAt(s);s++,e--,a==t.$LF?(i++,o=0):o++}return new a(this.file,s,i,o)}getContext(e,t){let r=this.file.content,a=this.offset;if(null!=a){a>r.length-1&&(a=r.length-1);let n=a,s=0,i=0;for(;s0&&(a--,s++,"\n"!=r[a]||++i!=t););for(s=0,i=0;s2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=o,e.EMPTY_PARSE_LOCATION=new a(new n("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new o(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(i=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[i.WARNING=0]="WARNING",i[i.ERROR=1]="ERROR";var d=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${s[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};function l(e,t){let s=r.identifierModuleUrl(t),i=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,d=new n("",i);return new o(new a(d,-1,-1,-1),new a(d,-1,-1,-1))}function u(e,t,r){let s=new n("",`in ${e} ${t} in ${r}`);return new o(new a(s,-1,-1,-1),new a(s,-1,-1,-1))}e.ParseError=d,e.typeSourceSpan=l,e.r3JitTypeSourceSpan=u}}),Fn=x({"src/language-html/print-preprocess.js"(e,t){D();var{ParseSourceSpan:r}=Nn(),{htmlTrim:a,getLeadingAndTrailingHtmlWhitespace:n,hasHtmlWhitespace:s,canHaveInterpolation:i,getNodeCssStyleDisplay:o,isDanglingSpaceSensitiveNode:d,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:u,isTrailingSpaceSensitiveNode:c,isWhitespaceSensitiveNode:p,isVueScriptTag:f}=Pn(),h=[m,y,v,R,E,j,w,S,T,x,C];function g(e,t){for(let r of h)r(e,t);return e}function m(e){e.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}}))}function y(e){let t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk((e=>{if(e.children)for(let a=0;a{if(e.children)for(let n=0;n"cdata"===e.type),(e=>``))}function x(e){let t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!s(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk((e=>{if(e.children)for(let a=0;a`+n.firstChild.value+``+i.value,s.sourceSpan=new r(s.sourceSpan.start,i.sourceSpan.end),s.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,s.hasTrailingSpaces=i.hasTrailingSpaces,e.removeChild(n),a--,e.removeChild(i)}}))}function R(e,t){if("html"===t.parser)return;let a=/{{(.+?)}}/s;e.walk((e=>{if(i(e))for(let t of e.children){if("text"!==t.type)continue;let n=t.sourceSpan.start,s=null,i=t.value.split(a);for(let a=0;a0&&e.insertChildBefore(t,{type:"text",value:o,sourceSpan:new r(n,s)}))}e.removeChild(t)}}))}function E(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===a(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=p(e),s=l(e);if(!t)for(let t=0;t{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))}function S(e,t){e.walk((e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))}))}function j(e,t){e.walk((e=>{e.cssDisplay=o(e,t)}))}function T(e,t){e.walk((e=>{let{children:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=d(e));for(let e of r)e.isLeadingSpaceSensitive=u(e,t),e.isTrailingSpaceSensitive=c(e,t);for(let e=0;ef(e,t)));if(!r)return;let{lang:a}=r.attrMap;("ts"===a||"typescript"===a)&&(t.__should_parse_vue_template_with_ts=!0)}}t.exports=g}}),Bn=x({"src/language-html/pragma.js"(e,t){function r(e){return/^\s*/.test(e)}function a(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}D(),t.exports={hasPragma:r,insertPragma:a}}}),Mn=x({"src/language-html/loc.js"(e,t){function r(e){return e.sourceSpan.start.offset}function a(e){return e.sourceSpan.end.offset}D(),t.exports={locStart:r,locEnd:a}}}),Ln=x({"src/language-html/print/tag.js"(e,t){D();var r=Kt(),{isNonEmptyArray:a}=me(),{builders:{indent:n,join:s,line:i,softline:o,hardline:d},utils:{replaceTextEndOfLine:l}}=K(),{locStart:u,locEnd:c}=Mn(),{isTextLikeNode:p,getLastDescendant:f,isPreLikeNode:h,hasPrettierIgnore:g,shouldPreserveContent:m,isVueSfcBlock:y}=Pn();function b(e,t){return[e.isSelfClosing?"":v(e,t),x(e,t)]}function v(e,t){return e.lastChild&&A(e.lastChild)?"":[R(e,t),w(e,t)]}function x(e,t){return(e.next?T(e.next):C(e.parent))?"":[S(e,t),E(e,t)]}function R(e,t){return C(e)?S(e.lastChild,t):""}function E(e,t){return A(e)?w(e.parent,t):P(e)?M(e.next):""}function w(e,t){if(r(!e.isSelfClosing),j(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function j(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(g(e)||m(e.parent,t))}function T(e){return e.prev&&"docType"!==e.prev.type&&!p(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function C(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!p(f(e.lastChild))&&!h(e)}function A(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&p(f(e))}function P(e){return e.next&&!p(e.next)&&p(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function k(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}function I(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function _(e,t,r){let p=e.getValue();if(!a(p.attrs))return p.isSelfClosing?" ":"";let f=p.prev&&"comment"===p.prev.type&&k(p.prev.value),h="boolean"==typeof f?()=>f:Array.isArray(f)?e=>f.includes(e.rawName):()=>!1,g=e.map((e=>{let a=e.getValue();return h(a)?l(t.originalText.slice(u(a),c(a))):r()}),"attrs"),m="element"===p.type&&"script"===p.fullName&&1===p.attrs.length&&"src"===p.attrs[0].fullName&&0===p.children.length,b=t.singleAttributePerLine&&p.attrs.length>1&&!y(p,t)?d:i,v=[n([m?" ":i,s(b,g)])];return p.firstChild&&I(p.firstChild)||p.isSelfClosing&&C(p.parent)||m?v.push(p.isSelfClosing?" ":""):v.push(t.bracketSameLine?p.isSelfClosing?" ":"":p.isSelfClosing?i:o),v}function O(e){return e.firstChild&&I(e.firstChild)?"":L(e)}function N(e,t,r){let a=e.getValue();return[F(a,t),_(e,t,r),a.isSelfClosing?"":O(a)]}function F(e,t){return e.prev&&P(e.prev)?"":[B(e,t),M(e)]}function B(e,t){return I(e)?L(e.parent):T(e)?S(e.prev,t):""}function M(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function L(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}t.exports={printClosingTag:b,printClosingTagStart:v,printClosingTagStartMarker:w,printClosingTagEndMarker:S,printClosingTagSuffix:E,printClosingTagEnd:x,needsToBorrowLastChildClosingTagEndMarker:C,needsToBorrowParentClosingTagStartMarker:A,needsToBorrowPrevClosingTagEndMarker:T,printOpeningTag:N,printOpeningTagStart:F,printOpeningTagPrefix:B,printOpeningTagStartMarker:M,printOpeningTagEndMarker:L,needsToBorrowNextOpeningTagStartMarker:P,needsToBorrowParentOpeningTagEndMarker:I}}}),Un=x({"node_modules/parse-srcset/src/parse-srcset.js"(r,i){var o;D(),o=function(){return function(e,t){var r=t&&t.logger||console;function a(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var r,a=t.exec(e.substring(y));if(a)return r=a[0],y+=r.length,r}for(var s,i,o,d,l,u=e.length,c=/^[ \t\n\r\u000c]+/,p=/^[, \t\n\r\u000c]+/,f=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,g=/^\d+$/,m=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,b=[];;){if(n(p),y>=u)return b;s=n(f),i=[],","===s.slice(-1)?(s=s.replace(h,""),x()):v()}function v(){for(n(c),o="",d="in descriptor";;){if(l=e.charAt(y),"in descriptor"===d)if(a(l))o&&(i.push(o),o="",d="after descriptor");else{if(","===l)return y+=1,o&&i.push(o),void x();if("("===l)o+=l,d="in parens";else{if(""===l)return o&&i.push(o),void x();o+=l}}else if("in parens"===d)if(")"===l)o+=l,d="in descriptor";else{if(""===l)return i.push(o),void x();o+=l}else if("after descriptor"===d&&!a(l)){if(""===l)return void x();d="in descriptor",y-=1}y+=1}}function x(){var t,a,n,o,d,l,u,c,p,f=!1,h={};for(o=0;o{let{w:t}=e;return t})),o=t.some((e=>{let{h:t}=e;return t}));if(i+o+t.some((e=>{let{d:t}=e;return t}))>1)throw new Error("Mixed descriptor in srcset is not supported");let d=i?"w":o?"h":"d",l=i?"w":o?"h":"x",u=e=>Math.max(...e),c=t.map((e=>e.url)),p=u(c.map((e=>e.length))),f=t.map((e=>e[d])).map((e=>e?e.toString():"")),h=f.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),g=u(h);return n([",",s],c.map(((e,t)=>{let r=[e],n=f[t];if(n){let s=p-e.length+1,i=g-h[t],o=" ".repeat(s+i);r.push(a(o," "),n+l)}return r})))}function o(e){return e.trim().split(/\s+/).join(" ")}t.exports={printImgSrcset:i,printClassNames:o}}}),zn=x({"src/language-html/syntax-vue.js"(e,t){D();var{builders:{group:r}}=K();function a(e,t){let{left:a,operator:s,right:i}=n(e);return[r(t(`function _(${a}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",s," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function n(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,a=/^\(|\)$/g,n=e.match(t);if(!n)return;let s={};if(s.for=n[3].trim(),!s.for)return;let i=n[1].trim().replace(a,""),o=i.match(r);o?(s.alias=i.replace(r,""),s.iterator1=o[1].trim(),o[2]&&(s.iterator2=o[2].trim())):s.alias=i;let d=[s.alias,s.iterator1,s.iterator2];return d.some(((e,t)=>!e&&(0===t||d.slice(t+1).some(Boolean))))?void 0:{left:d.filter(Boolean).join(","),operator:n[2],right:s.for}}function s(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}function i(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,a=e.trim();return t.test(a)||r.test(a)}t.exports={isVueEventBindingExpression:i,printVueFor:a,printVueBindings:s}}}),Vn=x({"src/language-html/get-node-content.js"(e,t){D();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:a,needsToBorrowLastChildClosingTagEndMarker:n,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:i,printOpeningTagEndMarker:o}=Ln();function d(e,t){let d=e.startSourceSpan.end.offset;e.firstChild&&i(e.firstChild)&&(d-=o(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?l+=a(e,t).length:n(e)&&(l-=s(e.lastChild,t).length),t.originalText.slice(d,l)}t.exports=d}}),qn=x({"src/language-html/embed.js"(e,t){D();var{builders:{breakParent:r,group:a,hardline:n,indent:s,line:i,fill:o,softline:d},utils:{mapDoc:l,replaceTextEndOfLine:u}}=K(),c=_a(),{printClosingTag:p,printClosingTagSuffix:f,needsToBorrowPrevClosingTagEndMarker:h,printOpeningTagPrefix:g,printOpeningTag:m}=Ln(),{printImgSrcset:y,printClassNames:b}=Wn(),{printVueFor:v,printVueBindings:x,isVueEventBindingExpression:R}=zn(),{isScriptLikeTag:E,isVueNonHtmlBlock:w,inferScriptParser:S,htmlTrimPreserveIndentation:j,dedentString:T,unescapeQuoteEntities:C,isVueSlotAttribute:A,isVueSfcBindingsAttribute:P,getTextValueParts:k}=Pn(),I=Vn();function _(e,t,r){let n=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>C(e.value),c=!1,p=(e,t)=>{let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||"__vue_expression"===t.parser&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))&&(c=!0)},f=e=>a(e),h=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return a([s([d,e]),t?d:""])},g=e=>c?f(e):h(e),m=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:p,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return h(y(l()));if("class"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return b(e)}if("style"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return h(m(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return v(l(),m);if(A(e)||P(e,r))return x(l(),m);let t=["^:","^v-bind:"],a=["^v-"];if(n(["^@","^v-on:"])){let e=l(),t=R(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return g(m(e,{parser:t}))}if(n(t))return g(m(l(),{parser:"__vue_expression"}));if(n(a))return g(m(l(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>m(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],d=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],c=["^i18n(-.+)?$"];if(n(["^\\(.+\\)$","^on-"]))return g(t(l(),{parser:"__ng_action"}));if(n(d))return g(t(l(),{parser:"__ng_binding"}));if(n(c)){let t=l().trim();return h(o(k(e,t)),!t.includes("@@"))}if(n(r))return g(t(l(),{parser:"__ng_directive"}));let p=/{{(.+?)}}/s,f=l();if(p.test(f)){let e=[];for(let[r,n]of f.split(p).entries())if(r%2==0)e.push(u(n));else try{e.push(a(["{{",s([i,t(n,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),i,"}}"]))}catch{e.push("{{",u(n),"}}")}return a(e)}}return null}function O(e,t,o,d){let u=e.getValue();switch(u.type){case"element":if(E(u)||"interpolation"===u.type)return;if(!u.isSelfClosing&&w(u,d)){let r=S(u,d);if(!r)return;let s=I(u,d),i=/^\s*$/.test(s),l="";return i||(l=o(j(s),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),i=""===l),[g(u,d),a(m(e,d,t)),i?"":n,l,i?"":n,p(u,d),f(u,d)]}break;case"text":if(E(u.parent)){let e=S(u.parent,d);if(e){let t="markdown"===e?T(u.value.replace(/^[^\S\n]*\n/,"")):u.value,a={parser:e,__embeddedInHtml:!0};if("html"===d.parser&&"babel"===e){let e="script",{attrMap:t}=u.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),a.__babelSourceType=e}return[r,g(u,d),o(t,a,{stripTrailingHardline:!0}),f(u,d)]}}else if("interpolation"===u.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===d.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===d.parser?e.parser=d.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[s([i,o(u.value,e,{stripTrailingHardline:!0})]),u.parent.next&&h(u.parent.next)?" ":i]}break;case"attribute":{if(!u.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(d.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];if("lwc"===d.parser&&/^{.*}$/s.test(d.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];let e=_(u,((e,t)=>o(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),d);if(e)return[u.rawName,'="',a(l(e,(e=>"string"==typeof e?e.replace(/"/g,"""):e))),'"'];break}case"front-matter":return c(u,o)}}t.exports=O}}),Gn=x({"src/language-html/print/children.js"(e,t){D();var{builders:{breakParent:r,group:a,ifBreak:n,line:s,softline:i,hardline:o},utils:{replaceTextEndOfLine:d}}=K(),{locStart:l,locEnd:u}=Mn(),{forceBreakChildren:c,forceNextEmptyLine:p,isTextLikeNode:f,hasPrettierIgnore:h,preferHardlineAsLeadingSpaces:g}=Pn(),{printOpeningTagPrefix:m,needsToBorrowNextOpeningTagStartMarker:y,printOpeningTagStartMarker:b,needsToBorrowPrevClosingTagEndMarker:v,printClosingTagEndMarker:x,printClosingTagSuffix:R,needsToBorrowParentClosingTagStartMarker:E}=Ln();function w(e,t,r){let a=e.getValue();return h(a)?[m(a,t),...d(t.originalText.slice(l(a)+(a.prev&&y(a.prev)?b(a).length:0),u(a)-(a.next&&v(a.next)?x(a,t).length:0))),R(a,t)]:r()}function S(e,t){return f(e)&&f(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?g(t)?o:s:"":g(t)?o:i:y(e)&&(h(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&v(t)?"":!t.isLeadingSpaceSensitive||g(t)||v(t)&&e.lastChild&&E(e.lastChild)&&e.lastChild.lastChild&&E(e.lastChild.lastChild)?o:t.hasLeadingSpaces?s:i}function j(e,t,s){let d=e.getValue();if(c(d))return[r,...e.map((e=>{let r=e.getValue(),a=r.prev?S(r.prev,r):"";return[a?[a,p(r.prev)?o:""]:"",w(e,t,s)]}),"children")];let l=d.children.map((()=>Symbol("")));return e.map(((e,r)=>{let d=e.getValue();if(f(d)){if(d.prev&&f(d.prev)){let r=S(d.prev,d);if(r)return p(d.prev)?[o,o,w(e,t,s)]:[r,w(e,t,s)]}return w(e,t,s)}let u=[],c=[],h=[],g=[],m=d.prev?S(d.prev,d):"",y=d.next?S(d,d.next):"";return m&&(p(d.prev)?u.push(o,o):m===o?u.push(o):f(d.prev)?c.push(m):c.push(n("",i,{groupId:l[r-1]}))),y&&(p(d)?f(d.next)&&g.push(o,o):y===o?f(d.next)&&g.push(o):h.push(y)),[...u,a([...c,a([w(e,t,s),...h],{id:l[r]})]),...g]}),"children")}t.exports={printChildren:j}}}),Hn=x({"src/language-html/print/element.js"(e,t){D();var{builders:{breakParent:r,dedentToRoot:a,group:n,ifBreak:s,indentIfBreak:i,indent:o,line:d,softline:l},utils:{replaceTextEndOfLine:u}}=K(),c=Vn(),{shouldPreserveContent:p,isScriptLikeTag:f,isVueCustomBlock:h,countParents:g,forceBreakContent:m}=Pn(),{printOpeningTagPrefix:y,printOpeningTag:b,printClosingTagSuffix:v,printClosingTag:x,needsToBorrowPrevClosingTagEndMarker:R,needsToBorrowLastChildClosingTagEndMarker:E}=Ln(),{printChildren:w}=Gn();function S(e,t,S){let D=e.getValue();if(p(D,t))return[y(D,t),n(b(e,t,S)),...u(c(D,t)),...x(D,t),v(D,t)];let j=1===D.children.length&&"interpolation"===D.firstChild.type&&D.firstChild.isLeadingSpaceSensitive&&!D.firstChild.hasLeadingSpaces&&D.lastChild.isTrailingSpaceSensitive&&!D.lastChild.hasTrailingSpaces,T=Symbol("element-attr-group-id"),C=r=>n([n(b(e,t,S),{id:T}),r,x(D,t)]),A=e=>j?i(e,{groupId:T}):!f(D)&&!h(D,t)||"root"!==D.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?o(e):e,P=()=>j?s(l,"",{groupId:T}):D.firstChild.hasLeadingSpaces&&D.firstChild.isLeadingSpaceSensitive?d:"text"===D.firstChild.type&&D.isWhitespaceSensitive&&D.isIndentationSensitive?a(l):l,k=()=>(D.next?R(D.next):E(D.parent))?D.lastChild.hasTrailingSpaces&&D.lastChild.isTrailingSpaceSensitive?" ":"":j?s(l,"",{groupId:T}):D.lastChild.hasTrailingSpaces&&D.lastChild.isTrailingSpaceSensitive?d:("comment"===D.lastChild.type||"text"===D.lastChild.type&&D.isWhitespaceSensitive&&D.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*g(e,(e=>e.parent&&"root"!==e.parent.type))}}$`).test(D.lastChild.value)?"":l;return 0===D.children.length?C(D.hasDanglingSpaces&&D.isDanglingSpaceSensitive?d:""):C([m(D)?r:"",A([P(),w(e,t,S)]),k()])}t.exports={printElement:S}}}),Kn=x({"src/language-html/printer-html.js"(e,t){D();var{builders:{fill:r,group:a,hardline:n,literalline:s},utils:{cleanDoc:i,getDocParts:o,isConcat:d,replaceTextEndOfLine:l}}=K(),u=Tn(),{countChars:c,unescapeQuoteEntities:p,getTextValueParts:f}=Pn(),h=Fn(),{insertPragma:g}=Bn(),{locStart:m,locEnd:y}=Mn(),b=qn(),{printClosingTagSuffix:v,printClosingTagEnd:x,printOpeningTagPrefix:R,printOpeningTagStart:E}=Ln(),{printElement:w}=Hn(),{printChildren:S}=Gn();function j(e,t,u){let h=e.getValue();switch(h.type){case"front-matter":return l(h.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(h),[a(S(e,t,u)),n];case"element":case"ieConditionalComment":return w(e,t,u);case"ieConditionalStartComment":case"ieConditionalEndComment":return[E(h),x(h)];case"interpolation":return[E(h,t),...e.map(u,"children"),x(h,t)];case"text":{if("interpolation"===h.parent.type){let e=/\n[^\S\n]*$/,t=e.test(h.value),r=t?h.value.replace(e,""):h.value;return[...l(r),t?n:""]}let e=i([R(h,t),...f(h),v(h,t)]);return d(e)||"fill"===e.type?r(o(e)):e}case"docType":return[a([E(h,t)," ",h.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),x(h,t)];case"comment":return[R(h,t),...l(t.originalText.slice(m(h),y(h)),s),v(h,t)];case"attribute":{if(null===h.value)return h.rawName;let e=p(h.value),t=c(e,"'")({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),r(Xn(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),r(Xn(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),r(Yn(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],o={html:a};t.exports={languages:i,printers:o,options:n,parsers:s}}}),Zn=x({"src/language-yaml/pragma.js"(e,t){function r(e){return/^\s*@(?:prettier|format)\s*$/.test(e)}function a(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)}function n(e){return`# @format\n\n${e}`}D(),t.exports={isPragma:r,hasPragma:a,insertPragma:n}}}),es=x({"src/language-yaml/loc.js"(e,t){function r(e){return e.position.start.offset}function a(e){return e.position.end.offset}D(),t.exports={locStart:r,locEnd:a}}}),ts=x({"src/language-yaml/embed.js"(e,t){function r(e,t,r,a){if("root"===e.getValue().type&&a.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(a.filepath))return r(a.originalText,Object.assign(Object.assign({},a),{},{parser:"json"}))}D(),t.exports=r}}),rs=x({"src/language-yaml/utils.js"(e,t){D();var{getLast:r,isNonEmptyArray:a}=me();function n(e,t){let r=0,a=e.stack.length-1;for(let n=0;ni(r,t,e)))}):e,r)}function o(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})}function d(e,t){let r=0,a=t.length;for(let n=e.position.end.offset-1;n0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===a.proseWrap?n.map((e=>0===e.length?[]:[e])):n.map((e=>0===e.length?[]:x(e))).reduce(((t,a,s)=>0!==s&&n[s-1].length>0&&a.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...a]]:[...t,a]),[]).map((e=>"never"===a.proseWrap?[e.join(" ")]:e))}function E(e,t){let a,{parentIndent:n,isLastDescendant:s,options:i}=t,o=e.position.start.line===e.position.end.line?"":i.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=o.match(/^(? *)[^\n\r ]/m);a=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else a=e.indent-1+n;let d=o.split("\n").map((e=>e.slice(a)));return"preserve"===i.proseWrap||"blockLiteral"===e.type?l(d.map((e=>0===e.length?[]:[e]))):l(d.map((e=>0===e.length?[]:x(e))).reduce(((e,t,a)=>0!==a&&d[a-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[...e.slice(0,-1),[...r(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(r(e))?[...e.slice(0,-1),r(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===i.proseWrap?[e.join(" ")]:e)));function l(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let a=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)a++;return 0===a?t:a>=2&&!s?t.slice(0,-(a-1)):t.slice(0,-a)}}function w(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}t.exports={getLast:r,getAncestorCount:n,isNode:s,isEmptyNode:f,isInlineNode:w,mapNode:i,defineShortcut:o,isNextLineEmpty:d,isLastDescendantNode:l,getBlockValueLineContents:E,getFlowScalarLineContents:R,getLastDescendantNode:u,hasPrettierIgnore:p,hasLeadingComments:g,hasMiddleComments:m,hasIndicatorComment:y,hasTrailingComment:b,hasEndComments:v}}}),as=x({"src/language-yaml/print-preprocess.js"(e,t){D();var{defineShortcut:r,mapNode:a}=rs();function n(e){return a(e,s)}function s(e){switch(e.type){case"document":r(e,"head",(()=>e.children[0])),r(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":r(e,"key",(()=>e.children[0])),r(e,"value",(()=>e.children[1]))}return e}t.exports=n}}),ns=x({"src/language-yaml/print/misc.js"(e,t){D();var{builders:{softline:r,align:a}}=K(),{hasEndComments:n,isNextLineEmpty:s,isNode:i}=rs(),o=new WeakMap;function d(e,t){let a,n=e.getValue(),i=e.stack[0];return o.has(i)?a=o.get(i):(a=new Set,o.set(i,a)),a.has(n.position.end.line)||(a.add(n.position.end.line),!s(n,t)||l(e.getParentNode()))?"":r}function l(e){return n(e)&&!i(e,["documentHead","documentBody","flowMapping","flowSequence"])}function u(e,t){return a(" ".repeat(e),t)}t.exports={alignWithSpaces:u,shouldPrintEndComments:l,printNextEmptyLine:d}}}),ss=x({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){D();var{builders:{ifBreak:r,line:a,softline:n,hardline:s,join:i}}=K(),{isEmptyNode:o,getLast:d,hasEndComments:l}=rs(),{printNextEmptyLine:u,alignWithSpaces:c}=ns();function p(e,t,u){let p=e.getValue(),h="flowMapping"===p.type,g=h?"{":"[",m=h?"}":"]",y=n;h&&p.children.length>0&&u.bracketSpacing&&(y=a);let b=d(p.children),v=b&&"flowMappingItem"===b.type&&o(b.key)&&o(b.value);return[g,c(u.tabWidth,[y,f(e,t,u),"none"===u.trailingComma?"":r(","),l(p)?[s,i(s,e.map(t,"endComments"))]:""]),v?"":y,m]}function f(e,t,r){let n=e.getValue();return e.map(((e,s)=>[t(),s===n.children.length-1?"":[",",a,n.children[s].position.start.line!==n.children[s+1].position.start.line?u(e,r.originalText):""]]),"children")}t.exports={printFlowMapping:p,printFlowSequence:p}}}),is=x({"src/language-yaml/print/mapping-item.js"(e,t){D();var{builders:{conditionalGroup:r,group:a,hardline:n,ifBreak:s,join:i,line:o}}=K(),{hasLeadingComments:d,hasMiddleComments:l,hasTrailingComment:u,hasEndComments:c,isNode:p,isEmptyNode:f,isInlineNode:h}=rs(),{alignWithSpaces:g}=ns();function m(e,t,m,x,R){let{key:E,value:w}=e,S=f(E),D=f(w);if(S&&D)return": ";let j=x("key"),T=b(e)?" ":"";if(D)return"flowMappingItem"===e.type&&"flowMapping"===t.type?j:"mappingItem"!==e.type||!y(E.content,R)||u(E.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",g(2,j)]:[j,T,":"];let C=x("value");if(S)return[": ",g(2,C)];if(d(w)||!h(E.content))return["? ",g(2,j),n,i("",m.map(x,"value","leadingComments").map((e=>[e,n]))),": ",g(2,C)];if(v(E.content)&&!d(E.content)&&!l(E.content)&&!u(E.content)&&!c(E)&&!d(w.content)&&!l(w.content)&&!c(w)&&y(w.content,R))return[j,T,": ",C];let A=Symbol("mappingKey"),P=a([s("? "),a(g(2,j),{id:A})]),k=[n,": ",g(2,C)],I=[T,":"];d(w.content)||c(w)&&w.content&&!p(w.content,["mapping","sequence"])||"mapping"===t.type&&u(E.content)&&h(w.content)||p(w.content,["mapping","sequence"])&&null===w.content.tag&&null===w.content.anchor?I.push(n):w.content&&I.push(o),I.push(C);let _=g(R.tabWidth,I);return!y(E.content,R)||d(E.content)||l(E.content)||c(E)?r([[P,s(k,_,{groupId:A})]]):r([[j,_]])}function y(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function b(e){return e.key.content&&"alias"===e.key.content.type}function v(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}t.exports=m}}),os=x({"src/language-yaml/print/block.js"(e,t){D();var{builders:{dedent:r,dedentToRoot:a,fill:n,hardline:s,join:i,line:o,literalline:d,markAsRoot:l},utils:{getDocParts:u}}=K(),{getAncestorCount:c,getBlockValueLineContents:p,hasIndicatorComment:f,isLastDescendantNode:h,isNode:g}=rs(),{alignWithSpaces:m}=ns();function y(e,t,y){let b=e.getValue(),v=c(e,(e=>g(e,["sequence","mapping"]))),x=h(e),R=["blockFolded"===b.type?">":"|"];null!==b.indent&&R.push(b.indent.toString()),"clip"!==b.chomping&&R.push("keep"===b.chomping?"+":"-"),f(b)&&R.push(" ",t("indicatorComment"));let E=p(b,{parentIndent:v,isLastDescendant:x,options:y}),w=[];for(let[e,t]of E.entries())0===e&&w.push(s),w.push(n(u(i(o,t)))),e!==E.length-1?w.push(0===t.length?s:l(d)):"keep"===b.chomping&&x&&w.push(a(0===t.length?s:d));return null===b.indent?R.push(r(m(y.tabWidth,w))):R.push(a(m(b.indent-1+v,w))),R}t.exports=y}}),ds=x({"src/language-yaml/printer-yaml.js"(e,t){D();var{builders:{breakParent:r,fill:a,group:n,hardline:s,join:i,line:o,lineSuffix:d,literalline:l},utils:{getDocParts:u,replaceTextEndOfLine:c}}=K(),{isPreviousLineEmpty:p}=me(),{insertPragma:f,isPragma:h}=Zn(),{locStart:g}=es(),m=ts(),{getFlowScalarLineContents:y,getLastDescendantNode:b,hasLeadingComments:v,hasMiddleComments:x,hasTrailingComment:R,hasEndComments:E,hasPrettierIgnore:w,isLastDescendantNode:S,isNode:j,isInlineNode:T}=rs(),C=as(),{alignWithSpaces:A,printNextEmptyLine:P,shouldPrintEndComments:k}=ns(),{printFlowMapping:I,printFlowSequence:_}=ss(),O=is(),N=os();function F(e,t,a){let o=e.getValue(),u=[];"mappingValue"!==o.type&&v(o)&&u.push([i(s,e.map(a,"leadingComments")),s]);let{tag:f,anchor:h}=o;f&&u.push(a("tag")),f&&h&&u.push(" "),h&&u.push(a("anchor"));let m="";j(o,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!S(e)&&(m=P(e,t.originalText)),(f||h)&&(j(o,["sequence","mapping"])&&!x(o)?u.push(s):u.push(" ")),x(o)&&u.push([1===o.middleComments.length?"":s,i(s,e.map(a,"middleComments")),s]);let y=e.getParentNode();return w(e)?u.push(c(t.originalText.slice(o.position.start.offset,o.position.end.offset).trimEnd(),l)):u.push(n(B(o,y,e,t,a))),R(o)&&!j(o,["document","documentHead"])&&u.push(d(["mappingValue"!==o.type||o.content?" ":"","mappingKey"===y.type&&"mapping"===e.getParentNode(2).type&&T(o)?"":r,a("trailingComment")])),k(o)&&u.push(A("sequenceItem"===o.type?2:0,[s,i(s,e.map((e=>[p(t.originalText,e.getValue(),g)?s:"",a()]),"endComments"))])),u.push(m),u}function B(e,t,r,a,n){switch(e.type){case"root":{let{children:t}=e,a=[];r.each(((e,r)=>{let i=t[r],o=t[r+1];0!==r&&a.push(s),a.push(n()),L(i,o)?(a.push(s,"..."),R(i)&&a.push(" ",n("trailingComment"))):o&&!R(o.head)&&a.push(s,"---")}),"children");let i=b(e);return(!j(i,["blockLiteral","blockFolded"])||"keep"!==i.chomping)&&a.push(s),a}case"document":{let o=[];return"head"===U(e,t.children[r.getName()+1],t,a)&&((e.head.children.length>0||e.head.endComments.length>0)&&o.push(n("head")),R(e.head)?o.push(["---"," ",n(["head","trailingComment"])]):o.push("---")),M(e)&&o.push(n("body")),i(s,o)}case"documentHead":return i(s,[...r.map(n,"children"),...r.map(n,"endComments")]);case"documentBody":{let{children:t,endComments:a}=e,o="";if(t.length>0&&a.length>0){let t=b(e);j(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(o=[s,s]):o=s}return[i(s,r.map(n,"children")),o,i(s,r.map(n,"endComments"))]}case"directive":return["%",i(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return a.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return W(e.type,a.originalText.slice(e.position.start.offset,e.position.end.offset),a);case"quoteDouble":case"quoteSingle":{let t="'",r='"',n=a.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&n.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(n)){let s="quoteDouble"===e.type?r:t;return[s,W(e.type,n,a),s]}if(n.includes(r))return[t,W(e.type,"quoteDouble"===e.type?n.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):n,a),t];if(n.includes(t))return[r,W(e.type,"quoteSingle"===e.type?n.replace(/''/g,t):n,a),r];let s=a.singleQuote?t:r;return[s,W(e.type,n,a),s]}case"blockFolded":case"blockLiteral":return N(r,n,a);case"mapping":case"sequence":return i(s,r.map(n,"children"));case"sequenceItem":return["- ",A(2,e.content?n("content"):"")];case"mappingKey":case"mappingValue":return e.content?n("content"):"";case"mappingItem":case"flowMappingItem":return O(e,t,r,n,a);case"flowMapping":return I(r,n,a);case"flowSequence":return _(r,n,a);case"flowSequenceItem":return n("content");default:throw new Error(`Unexpected node type ${e.type}`)}}function M(e){return e.body.children.length>0||E(e.body)}function L(e,t){return R(e)||t&&(t.head.children.length>0||E(t.head))}function U(e,t,r,a){return r.children[0]===e&&/---(?:\s|$)/.test(a.originalText.slice(g(e),g(e)+4))||e.head.children.length>0||E(e.head)||R(e.head)?"head":!L(e,t)&&!!t&&"root"}function W(e,t,r){let n=y(e,t,r);return i(s,n.map((e=>a(u(i(o,e))))))}function z(e,t){if(j(t))switch(delete t.position,t.type){case"comment":if(h(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}}t.exports={preprocess:C,embed:m,print:F,massageAstNode:z,insertPragma:f}}}),ls=x({"src/language-yaml/options.js"(e,t){D();var r=Ea();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),us=x({"src/language-yaml/parsers.js"(){D()}}),cs=x({"node_modules/linguist-languages/data/YAML.json"(e,t){t.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}}}),ps=x({"src/language-yaml/index.js"(e,t){D();var r=tr(),a=ds(),n=ls(),s=us(),i=[r(cs(),(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter((e=>"yarn.lock"!==e)),".prettierrc",".stylelintrc",".lintstagedrc"]})))];t.exports={languages:i,printers:{yaml:a},options:n,parsers:s}}}),fs=x({"src/languages.js"(e,t){D(),t.exports=[ka(),Ya(),sn(),fn(),jn(),Qn(),ps()]}});D();var{version:hs}=j(),gs=Zt(),{getSupportInfo:ms}=le(),ys=er(),bs=fs(),vs=K();function xs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,a=new Array(r),n=0;n1&&void 0!==arguments[1]?arguments[1]:60,r=null;return function(){for(var a=this,n=arguments.length,s=new Array(n),i=0;i=0;--s){var i=this.tryEntries[s],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var d=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(d&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;P(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,a){return this.delegate={iterator:I(t),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=e),y}},t}function i(e,t,r,a,n,s,i){try{var o=e[s](i),d=o.value}catch(e){return void r(e)}o.done?t(d):Promise.resolve(d).then(a,n)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var s=e.apply(t,r);function o(e){i(s,a,n,o,d,"next",e)}function d(e){i(s,a,n,o,d,"throw",e)}o(void 0)}))}}function d(e,t){for(var r=0;r=0||(n[r]=e[r]);return n}function b(e,t){if(null==e)return{};var r,a,n=y(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e,t){return t||(t=e.slice(0)),e.raw=t,e}function R(e,t){return S(e)||n(e,t)||j(e,t)||A()}function E(e){return w(e)||D(e)||j(e)||C()}function w(e){if(Array.isArray(e))return T(e)}function S(e){if(Array.isArray(e))return e}function D(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function j(e,t){if(e){if("string"==typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function I(e){var t=k(e,"string");return"symbol"==typeof t?t:String(t)}var _=["Identifier","JSXIdentifier"],O=["MemberExpression"],N=["Identifier"],F=["Statement"],B=["Expression"],M=["Scopable","Pattern"],L=null,U=null,W=["VariableDeclaration"],z=null,V=null,q=null,G=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],H=["RestElement"],K=["RestElement"],$=["ExistsTypeAnnotation"],J=["NumberLiteralTypeAnnotation"],X=["ForOfStatement"],Y=Object.freeze({__proto__:null,BindingIdentifier:N,BlockScoped:U,ExistentialTypeParam:$,Expression:B,Flow:G,ForAwaitStatement:X,Generated:V,NumericLiteralTypeAnnotation:J,Pure:q,Referenced:L,ReferencedIdentifier:_,ReferencedMemberExpression:O,RestProperty:H,Scope:M,SpreadProperty:K,Statement:F,User:z,Var:W});function Q(e,t){for(var r=0,a=Object.keys(t);rn.length)return!1;for(var i=0,o=s.length-1;i1)for(var r=1;re)return!1;if((r+=t[a+1])>=e)return!0}return!1}function Gi(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ui.test(String.fromCharCode(e)):qi(e,zi)))}function Hi(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Wi.test(String.fromCharCode(e)):qi(e,zi)||qi(e,Vi))))}function Ki(e){for(var t=!0,r=0;r=48&&e<=57},so={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},io={bin:function(e){return 48===e||49===e},oct:function(e){return e>=48&&e<=55},dec:function(e){return e>=48&&e<=57},hex:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}};function oo(e,t,r,a,n,s){for(var i=r,o=a,d=n,l="",u=null,c=r,p=t.length;;){if(r>=p){s.unterminated(i,o,d),l+=t.slice(c,r);break}var f=t.charCodeAt(r);if(lo(e,f,t,r)){l+=t.slice(c,r);break}if(92===f){l+=t.slice(c,r);var h=uo(t,r,a,n,"template"===e,s);null!==h.ch||u?l+=h.ch:u={pos:r,lineStart:a,curLine:n},r=h.pos,a=h.lineStart,n=h.curLine,c=r}else 8232===f||8233===f?(++n,a=++r):10===f||13===f?"template"===e?(l+=t.slice(c,r)+"\n",++r,13===f&&10===t.charCodeAt(r)&&++r,++n,c=a=r):s.unterminated(i,o,d):++r}return{pos:r,str:l,firstInvalidLoc:u,lineStart:a,curLine:n,containsInvalid:!!u}}function lo(e,t,r,a){return"template"===e?96===t||36===t&&123===r.charCodeAt(a+1):t===("double"===e?34:39)}function uo(e,t,r,a,n,s){var i=!n;t++;var o=function(e){return{pos:t,ch:e,lineStart:r,curLine:a}},d=e.charCodeAt(t++);switch(d){case 110:return o("\n");case 114:return o("\r");case 120:var l,u=co(e,t,r,a,2,!1,i,s);return l=u.code,t=u.pos,o(null===l?null:String.fromCharCode(l));case 117:var c,p=fo(e,t,r,a,i,s);return c=p.code,t=p.pos,o(null===c?null:String.fromCodePoint(c));case 116:return o("\t");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++a;case 8232:case 8233:return o("");case 56:case 57:if(n)return o(null);s.strictNumericEscape(t-1,r,a);default:if(d>=48&&d<=55){var f=t-1,h=e.slice(f,t+2).match(/^[0-7]+/)[0],g=parseInt(h,8);g>255&&(h=h.slice(0,-1),g=parseInt(h,8)),t+=h.length-1;var m=e.charCodeAt(t);if("0"!==h||56===m||57===m){if(n)return o(null);s.strictNumericEscape(f,r,a)}return o(String.fromCharCode(g))}return o(String.fromCharCode(d))}}function co(e,t,r,a,n,s,i,o){var d,l=t,u=po(e,t,r,a,16,n,s,!1,o,!i);return d=u.n,t=u.pos,null===d&&(i?o.invalidEscapeSequence(l,r,a):t=l-1),{code:d,pos:t}}function po(e,t,r,a,n,s,i,o,d,l){for(var u=t,c=16===n?so.hex:so.decBinOct,p=16===n?io.hex:10===n?io.dec:8===n?io.oct:io.bin,f=!1,h=0,g=0,m=null==s?1/0:s;g=97?y-97+10:y>=65?y-65+10:no(y)?y-48:1/0)>=n){if(b<=9&&l)return{n:null,pos:t};if(b<=9&&d.invalidDigit(t,r,a,n))b=0;else{if(!i)break;b=0,f=!0}}++t,h=h*n+b}else{var v=e.charCodeAt(t-1),x=e.charCodeAt(t+1);if(o){if(Number.isNaN(x)||!p(x)||c.has(v)||c.has(x)){if(l)return{n:null,pos:t};d.unexpectedNumericSeparator(t,r,a)}}else{if(l)return{n:null,pos:t};d.numericSeparatorInEscapeSequence(t,r,a)}++t}}return t===u||null!=s&&t-u!==s||f?{n:null,pos:t}:{n:h,pos:t}}function fo(e,t,r,a,n,s){var i;if(123===e.charCodeAt(t)){var o=co(e,++t,r,a,e.indexOf("}",t)-t,!0,n,s);if(i=o.code,t=o.pos,++t,null!==i&&i>1114111){if(!n)return{code:null,pos:t};s.invalidCodePoint(t,r,a)}}else{var d=co(e,t,r,a,4,!1,n,s);i=d.code,t=d.pos}return{code:i,pos:t}}var ho=["consequent","body","alternate"],go=["body","expressions"],mo=["left","init"],yo=["leadingComments","trailingComments","innerComments"],bo=["||","&&","??"],vo=["++","--"],xo=[">","<",">=","<="],Ro=["==","===","!=","!=="],Eo=[].concat(Ro,["in","instanceof"]),wo=[].concat(E(Eo),xo),So=["-","/","%","*","**","&","|",">>",">>>","<<","^"],Do=["+"].concat(So,E(wo),["|>"]),jo=["=","+="].concat(E(So.map((function(e){return e+"="}))),E(bo.map((function(e){return e+"="})))),To=["delete","!"],Co=["+","-","~"],Ao=["typeof"],Po=["void","throw"].concat(To,Co,Ao),ko={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},Io=Symbol.for("var used to be block scoped"),_o=Symbol.for("should not be considered a local binding"),Oo={},No={},Fo={},Bo={},Mo={},Lo={},Uo={};function Wo(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function zo(e){return{validate:e}}function Vo(e){return"string"==typeof e?Qo(e):Qo.apply(void 0,E(e))}function qo(e){return zo(Vo(e))}function Go(e){return{validate:e,optional:!0}}function Ho(e){return{validate:Vo(e),optional:!0}}function Ko(e){return ad(ed("array"),Xo(e))}function $o(e){return Ko(Vo(e))}function Jo(e){return zo($o(e))}function Xo(e){function t(t,r,a){if(Array.isArray(a))for(var n=0;n=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return a}var nd=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],sd=["default","optional","deprecated","validate"],id={};function od(){for(var e=arguments.length,t=new Array(e),r=0;r0:d&&"object"==typeof d)throw new Error("field defaults can only be primitives or empty arrays currently");a[i]={default:Array.isArray(d)?[]:d,optional:o.optional,deprecated:o.deprecated,validate:o.validate}}for(var l=t.visitor||r.visitor||[],u=t.aliases||r.aliases||[],c=t.builder||r.builder||t.visitor||[],p=0,f=Object.keys(t);p+s+1)throw new TypeError("RestElement must be last element of "+n)}}}),ld("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Qo("Expression"),optional:!0}}}),ld("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:ad(ed("array"),Xo(Qo("Expression")))}},aliases:["Expression"]}),ld("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:Qo("Expression")}}}),ld("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:Qo("Expression"),optional:!0},consequent:{validate:ad(ed("array"),Xo(Qo("Statement")))}}}),ld("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:Qo("Expression")},cases:{validate:ad(ed("array"),Xo(Qo("SwitchCase")))}}}),ld("ThisExpression",{aliases:["Expression"]}),ld("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:Qo("Expression")}}}),ld("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:ad(Qo("BlockStatement"),Object.assign((function(e){if(Ai.env.BABEL_TYPES_8_BREAKING&&!e.handler&&!e.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:Qo("CatchClause")},finalizer:{optional:!0,validate:Qo("BlockStatement")}}}),ld("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:Qo("Expression")},operator:{validate:Yo.apply(void 0,E(Po))}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),ld("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:Ai.env.BABEL_TYPES_8_BREAKING?Qo("Identifier","MemberExpression"):Qo("Expression")},operator:{validate:Yo.apply(void 0,E(vo))}},visitor:["argument"],aliases:["Expression"]}),ld("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:ed("boolean"),optional:!0},kind:{validate:Yo("var","let","const","using","await using")},declarations:{validate:ad(ed("array"),Xo(Qo("VariableDeclarator")))}},validate:function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING&&Bi("ForXStatement",e,{left:r})&&1!==r.declarations.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+e.type)}}),ld("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!Ai.env.BABEL_TYPES_8_BREAKING)return Qo("LVal");var e=Qo("Identifier","ArrayPattern","ObjectPattern"),t=Qo("Identifier");return function(r,a,n){(r.init?e:t)(r,a,n)}}()},definite:{optional:!0,validate:ed("boolean")},init:{optional:!0,validate:Qo("Expression")}}}),ld("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:Qo("Expression")},body:{validate:Qo("Statement")}}}),ld("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:Qo("Expression")},body:{validate:Qo("Statement")}}}),ld("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},bd(),{left:{validate:Qo("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:Qo("Expression")},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0}})}),ld("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},bd(),{elements:{validate:ad(ed("array"),Xo(Zo("null","PatternLike","LVal")))}})}),ld("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ud(),cd(),{expression:{validate:ed("boolean")},body:{validate:Qo("BlockStatement","Expression")},predicate:{validate:Qo("DeclaredPredicate","InferredPredicate"),optional:!0}})}),ld("ClassBody",{visitor:["body"],fields:{body:{validate:ad(ed("array"),Xo(Qo("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),ld("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:Qo("Identifier"),optional:!0},typeParameters:{validate:Qo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Qo("ClassBody")},superClass:{optional:!0,validate:Qo("Expression")},superTypeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:ad(ed("array"),Xo(Qo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},mixins:{validate:Qo("InterfaceExtends"),optional:!0}}}),ld("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:Qo("Identifier"),optional:!0},typeParameters:{validate:Qo("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:Qo("ClassBody")},superClass:{optional:!0,validate:Qo("Expression")},superTypeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:ad(ed("array"),Xo(Qo("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},mixins:{validate:Qo("InterfaceExtends"),optional:!0},declare:{validate:ed("boolean"),optional:!0},abstract:{validate:ed("boolean"),optional:!0}},validate:function(){var e=Qo("Identifier");return function(t,r,a){Ai.env.BABEL_TYPES_8_BREAKING&&(Bi("ExportDefaultDeclaration",t)||e(a,"id",a.id))}}()}),ld("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:Qo("StringLiteral")},exportKind:Go(Yo("type","value")),attributes:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},assertions:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))}}}),ld("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:Qo("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:Go(Yo("value"))}}),ld("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:ad(Qo("Declaration"),Object.assign((function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING&&r&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING&&r&&e.source)throw new TypeError("Cannot export a declaration from a source")}))},attributes:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},assertions:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},specifiers:{default:[],validate:ad(ed("array"),Xo((fd=Qo("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),hd=Qo("ExportSpecifier"),Ai.env.BABEL_TYPES_8_BREAKING?function(e,t,r){(e.source?fd:hd)(e,t,r)}:fd)))},source:{validate:Qo("StringLiteral"),optional:!0},exportKind:Go(Yo("type","value"))}}),ld("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")},exported:{validate:Qo("Identifier","StringLiteral")},exportKind:{validate:Yo("type","value"),optional:!0}}}),ld("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!Ai.env.BABEL_TYPES_8_BREAKING)return Qo("VariableDeclaration","LVal");var e=Qo("VariableDeclaration"),t=Qo("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,a,n){Bi("VariableDeclaration",n)?e(r,a,n):t(r,a,n)}}()},right:{validate:Qo("Expression")},body:{validate:Qo("Statement")},await:{default:!1}}}),ld("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},assertions:{optional:!0,validate:ad(ed("array"),Xo(Qo("ImportAttribute")))},module:{optional:!0,validate:ed("boolean")},phase:{default:null,validate:Yo("source","defer")},specifiers:{validate:ad(ed("array"),Xo(Qo("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:Qo("StringLiteral")},importKind:{validate:Yo("type","typeof","value"),optional:!0}}}),ld("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")}}}),ld("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")}}}),ld("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:Qo("Identifier")},imported:{validate:Qo("Identifier","StringLiteral")},importKind:{validate:Yo("type","typeof","value"),optional:!0}}}),ld("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:Yo("source","defer")},source:{validate:Qo("Expression")},options:{validate:Qo("Expression"),optional:!0}}}),ld("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:ad(Qo("Identifier"),Object.assign((function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING){var a;switch(r.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta"}if(!Bi("Identifier",e.property,{name:a}))throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:Qo("Identifier")}}});var vd=function(){return{abstract:{validate:ed("boolean"),optional:!0},accessibility:{validate:Yo("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:ed("boolean"),optional:!0},key:{validate:ad(function(){var e=Qo("Identifier","StringLiteral","NumericLiteral"),t=Qo("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}},xd=function(){return Object.assign({},ud(),vd(),{params:{validate:ad(ed("array"),Xo(Qo("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:Yo("get","set","method","constructor"),default:"method"},access:{validate:ad(ed("string"),Yo("public","private","protected")),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0}})};ld("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},xd(),cd(),{body:{validate:Qo("BlockStatement")}})}),ld("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},bd(),{properties:{validate:ad(ed("array"),Xo(Qo("RestElement","ObjectProperty")))}})}),ld("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:Qo("Expression")}}}),ld("Super",{aliases:["Expression"]}),ld("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:Qo("Expression")},quasi:{validate:Qo("TemplateLiteral")},typeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),ld("TemplateElement",{builder:["value","tail"],fields:{value:{validate:ad(td({raw:{validate:ed("string")},cooked:{validate:ed("string"),optional:!0}}),(function(e){var t=e.value.raw,r=!1,a=function(){throw new Error("Internal @babel/types error.")},n=oo("template",t,0,0,0,{unterminated:function(){r=!0},strictNumericEscape:a,invalidEscapeSequence:a,numericSeparatorInEscapeSequence:a,unexpectedNumericSeparator:a,invalidDigit:a,invalidCodePoint:a}),s=n.str,i=n.firstInvalidLoc;if(!r)throw new Error("Invalid raw");e.value.cooked=i?null:s}))},tail:{default:!1}}}),ld("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:ad(ed("array"),Xo(Qo("TemplateElement")))},expressions:{validate:ad(ed("array"),Xo(Qo("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError("Number of "+e.type+" quasis should be exactly one more than the number of expressions.\nExpected "+(r.length+1)+" quasis but got "+e.quasis.length)}))}}}),ld("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:ad(ed("boolean"),Object.assign((function(e,t,r){if(Ai.env.BABEL_TYPES_8_BREAKING&&r&&!e.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})),default:!1},argument:{optional:!0,validate:Qo("Expression")}}}),ld("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:Qo("Expression")}}}),ld("Import",{aliases:["Expression"]}),ld("BigIntLiteral",{builder:["value"],fields:{value:{validate:ed("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),ld("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:Qo("Identifier")}}}),ld("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:Qo("Expression")},property:{validate:function(){var e=Qo("Identifier"),t=Qo("Expression"),r=Object.assign((function(r,a,n){(r.computed?t:e)(r,a,n)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:!1},optional:{validate:Ai.env.BABEL_TYPES_8_BREAKING?ad(ed("boolean"),rd()):ed("boolean")}}}),ld("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:Qo("Expression")},arguments:{validate:ad(ed("array"),Xo(Qo("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:Ai.env.BABEL_TYPES_8_BREAKING?ad(ed("boolean"),rd()):ed("boolean")},typeArguments:{validate:Qo("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:Qo("TSTypeParameterInstantiation"),optional:!0}}}),ld("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},vd(),{value:{validate:Qo("Expression"),optional:!0},definite:{validate:ed("boolean"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},readonly:{validate:ed("boolean"),optional:!0},declare:{validate:ed("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}})}),ld("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},vd(),{key:{validate:ad(function(){var e=Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=Qo("Expression");return function(r,a,n){(r.computed?t:e)(r,a,n)}}(),Qo("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:Qo("Expression"),optional:!0},definite:{validate:ed("boolean"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},readonly:{validate:ed("boolean"),optional:!0},declare:{validate:ed("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}})}),ld("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:Qo("PrivateName")},value:{validate:Qo("Expression"),optional:!0},typeAnnotation:{validate:Qo("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:ad(ed("array"),Xo(Qo("Decorator"))),optional:!0},static:{validate:ed("boolean"),default:!1},readonly:{validate:ed("boolean"),optional:!0},definite:{validate:ed("boolean"),optional:!0},variance:{validate:Qo("Variance"),optional:!0}}}),ld("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},xd(),cd(),{kind:{validate:Yo("get","set","method"),default:"method"},key:{validate:Qo("PrivateName")},body:{validate:Qo("BlockStatement")}})}),ld("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:Qo("Identifier")}}}),ld("StaticBlock",{visitor:["body"],fields:{body:{validate:ad(ed("array"),Xo(Qo("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]});var Rd=od("Flow"),Ed=function(e){var t="DeclareClass"===e;Rd(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends"].concat(E(t?["mixins","implements"]:[]),["body"]),aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),extends:Go($o("InterfaceExtends"))},t?{mixins:Go($o("InterfaceExtends")),implements:Go($o("ClassImplements"))}:{},{body:qo("ObjectTypeAnnotation")})})};Rd("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:qo("FlowType")}}),Rd("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:zo(ed("boolean"))}}),Rd("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("ClassImplements",{visitor:["id","typeParameters"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterInstantiation")}}),Ed("DeclareClass"),Rd("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),predicate:Ho("DeclaredPredicate")}}),Ed("DeclareInterface"),Rd("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo(["Identifier","StringLiteral"]),body:qo("BlockStatement"),kind:Go(Yo("CommonJS","ES"))}}),Rd("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:qo("TypeAnnotation")}}),Rd("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),right:qo("FlowType")}}),Rd("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),supertype:Ho("FlowType"),impltype:Ho("FlowType")}}),Rd("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier")}}),Rd("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:Ho("Flow"),specifiers:Go($o(["ExportSpecifier","ExportNamespaceSpecifier"])),source:Ho("StringLiteral"),default:Go(ed("boolean"))}}),Rd("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:qo("StringLiteral"),exportKind:Go(Yo("type","value"))}}),Rd("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:qo("Flow")}}),Rd("ExistsTypeAnnotation",{aliases:["FlowType"]}),Rd("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:Ho("TypeParameterDeclaration"),params:zo($o("FunctionTypeParam")),rest:Ho("FunctionTypeParam"),this:Ho("FunctionTypeParam"),returnType:qo("FlowType")}}),Rd("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:Ho("Identifier"),typeAnnotation:qo("FlowType"),optional:Go(ed("boolean"))}}),Rd("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:qo(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Ho("TypeParameterInstantiation")}}),Rd("InferredPredicate",{aliases:["FlowPredicate"]}),Rd("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:qo(["Identifier","QualifiedTypeIdentifier"]),typeParameters:Ho("TypeParameterInstantiation")}}),Ed("InterfaceDeclaration"),Rd("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:Go($o("InterfaceExtends")),body:qo("ObjectTypeAnnotation")}}),Rd("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:zo($o("FlowType"))}}),Rd("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:qo("FlowType")}}),Rd("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:zo(ed("number"))}}),Rd("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:zo($o(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:$o("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:$o("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:$o("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:ed("boolean"),default:!1},inexact:Go(ed("boolean"))}}),Rd("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:qo("Identifier"),value:qo("FlowType"),optional:zo(ed("boolean")),static:zo(ed("boolean")),method:zo(ed("boolean"))}}),Rd("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:qo("FlowType"),static:zo(ed("boolean"))}}),Rd("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:Ho("Identifier"),key:qo("FlowType"),value:qo("FlowType"),static:zo(ed("boolean")),variance:Ho("Variance")}}),Rd("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:qo(["Identifier","StringLiteral"]),value:qo("FlowType"),kind:zo(Yo("init","get","set")),static:zo(ed("boolean")),proto:zo(ed("boolean")),optional:zo(ed("boolean")),variance:Ho("Variance"),method:zo(ed("boolean"))}}),Rd("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:qo("FlowType")}}),Rd("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),supertype:Ho("FlowType"),impltype:qo("FlowType")}}),Rd("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:qo("Identifier"),qualification:qo(["Identifier","QualifiedTypeIdentifier"])}}),Rd("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:zo(ed("string"))}}),Rd("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:zo($o("FlowType"))}}),Rd("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:qo("FlowType")}}),Rd("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:qo("Identifier"),typeParameters:Ho("TypeParameterDeclaration"),right:qo("FlowType")}}),Rd("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:qo("FlowType")}}),Rd("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:qo("Expression"),typeAnnotation:qo("TypeAnnotation")}}),Rd("TypeParameter",{visitor:["bound","default","variance"],fields:{name:zo(ed("string")),bound:Ho("TypeAnnotation"),default:Ho("FlowType"),variance:Ho("Variance")}}),Rd("TypeParameterDeclaration",{visitor:["params"],fields:{params:zo($o("TypeParameter"))}}),Rd("TypeParameterInstantiation",{visitor:["params"],fields:{params:zo($o("FlowType"))}}),Rd("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:zo($o("FlowType"))}}),Rd("Variance",{builder:["kind"],fields:{kind:zo(Yo("minus","plus"))}}),Rd("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),Rd("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:qo("Identifier"),body:qo(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),Rd("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:zo(ed("boolean")),members:Jo("EnumBooleanMember"),hasUnknownMembers:zo(ed("boolean"))}}),Rd("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:zo(ed("boolean")),members:Jo("EnumNumberMember"),hasUnknownMembers:zo(ed("boolean"))}}),Rd("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:zo(ed("boolean")),members:Jo(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:zo(ed("boolean"))}}),Rd("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:Jo("EnumDefaultedMember"),hasUnknownMembers:zo(ed("boolean"))}}),Rd("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:qo("Identifier"),init:qo("BooleanLiteral")}}),Rd("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:qo("Identifier"),init:qo("NumericLiteral")}}),Rd("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:qo("Identifier"),init:qo("StringLiteral")}}),Rd("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:qo("Identifier")}}),Rd("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:qo("FlowType"),indexType:qo("FlowType")}}),Rd("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:qo("FlowType"),indexType:qo("FlowType"),optional:zo(ed("boolean"))}});var wd=od("JSX");wd("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:Qo("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),wd("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),wd("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:Qo("JSXOpeningElement")},closingElement:{optional:!0,validate:Qo("JSXClosingElement")},children:{validate:ad(ed("array"),Xo(Qo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:ed("boolean"),optional:!0}})}),wd("JSXEmptyExpression",{}),wd("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Qo("Expression","JSXEmptyExpression")}}}),wd("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Qo("Expression")}}}),wd("JSXIdentifier",{builder:["name"],fields:{name:{validate:ed("string")}}}),wd("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:Qo("JSXMemberExpression","JSXIdentifier")},property:{validate:Qo("JSXIdentifier")}}}),wd("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:Qo("JSXIdentifier")},name:{validate:Qo("JSXIdentifier")}}}),wd("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:Qo("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:ad(ed("array"),Xo(Qo("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:Qo("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),wd("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:Qo("Expression")}}}),wd("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:ed("string")}}}),wd("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:Qo("JSXOpeningFragment")},closingFragment:{validate:Qo("JSXClosingFragment")},children:{validate:ad(ed("array"),Xo(Qo("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),wd("JSXOpeningFragment",{aliases:["Immutable"]}),wd("JSXClosingFragment",{aliases:["Immutable"]});for(var Sd=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Dd={Declaration:["Statement"],Pattern:["PatternLike","LVal"]},jd=0,Td=Sd;jd=0)){if(Ft(o))return[o];if(xs(o))a.set(o.type,o);else if(_r(o))n.has(o.types)||(t.push.apply(t,E(o.types)),n.add(o.types));else if(rr(o)){var d=xv(o.id);if(r.has(d)){var l,u=r.get(d);u.typeParameters?o.typeParameters&&((l=u.typeParameters.params).push.apply(l,E(o.typeParameters.params)),u.typeParameters.params=Rv(u.typeParameters.params)):u=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var c,p=P(a);!(c=p()).done;){var f=R(c.value,2)[1];s.push(f)}for(var h,g=P(r);!(h=g()).done;){var m=R(h.value,2)[1];s.push(m)}return s}function Ev(e){var t=Rv(e);return 1===t.length?t[0]:jc(t)}function wv(e){return we(e)?e.name:e.right.name+"."+wv(e.left)}function Sv(e){for(var t=Array.from(e),r=new Map,a=new Map,n=new Set,s=[],i=0;i=0)){if(Oa(o))return[o];if(Ps(o))a.set(o.type,o);else if(sn(o))n.has(o.types)||(t.push.apply(t,E(o.types)),n.add(o.types));else if(Xa(o)&&o.typeParameters){var d=wv(o.typeName);if(r.has(d)){var l,u=r.get(d);u.typeParameters?o.typeParameters&&((l=u.typeParameters.params).push.apply(l,E(o.typeParameters.params)),u.typeParameters.params=Sv(u.typeParameters.params)):u=o.typeParameters}else r.set(d,o)}else s.push(o)}}for(var c,p=P(a);!(c=p()).done;){var f=R(c.value,2)[1];s.push(f)}for(var h,g=P(r);!(h=g()).done;){var m=R(h.value,2)[1];s.push(m)}return s}function Dv(e){var t=e.map((function(e){return _n(e)?e.typeAnnotation:e})),r=Sv(t);return 1===r.length?r[0]:Qp(r)}function jv(){return Ul("void",xl(0),!0)}var Tv=Function.call.bind(Object.prototype.hasOwnProperty);function Cv(e,t,r,a){return e&&"string"==typeof e.type?kv(e,t,r,a):e}function Av(e,t,r,a){return Array.isArray(e)?e.map((function(e){return Cv(e,t,r,a)})):Cv(e,t,r,a)}function Pv(e,t,r){return void 0===t&&(t=!0),void 0===r&&(r=!1),kv(e,t,r,new Map)}function kv(e,t,r,a){if(void 0===t&&(t=!0),void 0===r&&(r=!1),!e)return e;var n=e.type,s={type:e.type};if(we(e))s.name=e.name,Tv(e,"optional")&&"boolean"==typeof e.optional&&(s.optional=e.optional),Tv(e,"typeAnnotation")&&(s.typeAnnotation=t?Av(e.typeAnnotation,!0,r,a):e.typeAnnotation);else{if(!Tv(Bo,n))throw new Error('Unknown node type: "'+n+'"');for(var i=0,o=Object.keys(Bo[n]);i=Number.MAX_SAFE_INTEGER?Qx.uid=0:Qx.uid++};var eR=Function.call.bind(Object.prototype.toString);function tR(e){return"[object RegExp]"===eR(e)}function rR(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function aR(e){if(void 0===e)return ml("undefined");if(!0===e||!1===e)return El(e);if(null===e)return Rl();if("string"==typeof e)return vl(e);var t;if("number"==typeof e)return t=Number.isFinite(e)?xl(Math.abs(e)):Yd("/",Number.isNaN(e)?xl(0):xl(1),xl(0)),(e<0||Object.is(e,-0))&&(t=Ul("-",t)),t;if(tR(e))return wl(e.source,e.toString().match(/\/([a-z]+|)$/)[1]);if(Array.isArray(e))return Jd(e.map(aR));if(rR(e)){for(var r=[],a=0,n=Object.keys(e);a=0)return!0}else if(s===e)return!0}return!1}function pR(e){return Je(e)&&("var"!==e.kind||e[Io])}function fR(e){return Re(e)||nt(e)||pR(e)}function hR(e){return!!Ni(e.type,"Immutable")||!!we(e)&&"undefined"===e.name}function gR(e,t){if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return e===t;if(e.type!==t.type)return!1;for(var r=Object.keys(Bo[e.type]||e.type),a=Oo[e.type],n=0,s=r;n100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(o){var d=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*n;case"days":case"day":case"d":return d*a;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function o(n){var s=Math.abs(n);return s>=a?Math.round(n/a)+"d":s>=r?Math.round(n/r)+"h":s>=t?Math.round(n/t)+"m":s>=e?Math.round(n/e)+"s":n+"ms"}function d(n){var s=Math.abs(n);return s>=a?l(n,s,a,"day"):s>=r?l(n,s,r,"hour"):s>=t?l(n,s,t,"minute"):s>=e?l(n,s,e,"second"):n+" ms"}function l(e,t,r,a){var n=t>=1.5*r;return Math.round(e/r)+" "+a+(n?"s":"")}return OE=function(e,t){t=t||{};var r=typeof e;if("string"===r&&e.length>0)return i(e);if("number"===r&&isFinite(e))return t.long?d(e):o(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))},OE}function LE(e){function t(e){for(var t=0,a=0;a=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function n(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var a=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(a++,"%c"===e&&(n=a))})),t.splice(n,0,r)}}function s(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}}function i(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==Ai&&"env"in Ai&&(e=Ai.env.DEBUG),e}function o(){try{return localStorage}catch(e){}}t.formatArgs=n,t.save=s,t.load=i,t.useColors=a,t.storage=o(),t.destroy=(r=!1,function(){r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=UE(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(BE,BE.exports);var WE=BE.exports,zE=Pv,VE=eu,qE=tu,GE=ml,HE=zl,KE=Vl;function $E(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){var t=e.get("declaration"),r=t.isFunctionDeclaration()||t.isClassDeclaration(),a=t.isFunctionExpression()||t.isClassExpression(),n=t.isScope()?t.scope.parent:t.scope,s=t.node.id,i=!1;s?a&&n.hasBinding(s.name)&&(i=!0,s=n.generateUidIdentifier(s.name)):(i=!0,s=n.generateUidIdentifier("default"),(r||a)&&(t.node.id=zE(s)));var o=r?t.node:HE("var",[KE(zE(s),t.node)]),d=VE(null,[qE(zE(s),GE("default"))]);return e.insertAfter(d),e.replaceWith(o),i&&n.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");var l=e.get("declaration"),u=l.getOuterBindingIdentifiers(),c=Object.keys(u).map((function(e){return qE(GE(e),GE(e))})),p=VE(null,c);return e.insertAfter(p),e.replaceWith(l.node),e}function JE(e){var t=e.context,r=e.node;if(r.computed&&t.maybeQueue(e.get("key")),r.decorators)for(var a,n=P(e.get("decorators"));!(a=n()).done;){var s=a.value;t.maybeQueue(s)}}var XE={FunctionParent:function(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&JE(e))},Property:function(e){e.isObjectProperty()||(e.skip(),JE(e))}},YE={ReferencedIdentifier:function(e,t){var r=e.node;r.name===t.oldName&&(r.name=t.newName)},Scope:function(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&JE(e))},ObjectProperty:function(e,t){var r,a=e.node,n=e.scope,s=a.key.name;!a.shorthand||s!==t.oldName&&s!==t.newName||n.getBindingIdentifier(s)!==t.binding.identifier||(a.shorthand=!1,null!=(r=a.extra)&&r.shorthand&&(a.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator":function(e,t){if(!e.isVariableDeclaration()){var r=e.getOuterBindingIdentifiers();for(var a in r)a===t.oldName&&(r[a].name=t.newName)}}},QE=function(){function e(e,t,r){this.newName=r,this.oldName=t,this.binding=e}var t=e.prototype;return t.maybeConvertFromExportDeclaration=function(e){var t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){var r=t.node.declaration;if(ts(r)&&!r.id)return}t.isExportAllDeclaration()||$E(t)}},t.maybeConvertFromClassFunctionDeclaration=function(e){return e},t.maybeConvertFromClassFunctionExpression=function(e){return e},t.rename=function(){var e=this.binding,t=this.oldName,r=this.newName,a=e.scope,n=e.path,s=n.find((function(e){return e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()}));s&&s.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(s),cG(arguments[0]||a.block,gE(YE),a,this,a.path,{discriminant:!0}),arguments[0]||(a.removeOwnBinding(t),a.bindings[r]=e,this.binding.identifier.name=r),s&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))},l(e)}(),ZE=function(){function e(e){var t=e.identifier,r=e.scope,a=e.path,n=e.kind;this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=t,this.scope=r,this.path=a,this.kind=n,"var"!==n&&"hoisted"!==n||!ew(a)||this.reassign(a),this.clearValue()}var t=e.prototype;return t.deoptValue=function(){this.clearValue(),this.hasDeoptedValue=!0},t.setValue=function(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)},t.clearValue=function(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},t.reassign=function(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)},t.reference=function(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))},t.dereference=function(){this.references--,this.referenced=!!this.references},l(e)}();function ew(e){for(var t=e.parentPath,r=e.key;t;t=(a=t).parentPath,r=a.key,a){var a;if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&"body"===r)return!0}return!1}var tw,rw,aw={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}};function nw(){return rw?tw:(rw=1,tw=aw)}function sw(e){return null!=e&&e&&"false"!==e&&"0"!==e}var iw=(sw(Ai.env.BABEL_8_BREAKING),nw()),ow=_o,dw=al,lw=Pv,uw=oR,cw=ml,pw=re,fw=Ln,hw=ps,gw=rt,mw=nt,yw=st,bw=it,vw=ot,xw=Re,Rw=we,Ew=ut,ww=ss,Sw=os,Dw=gs,jw=Ce,Tw=Ne,Cw=ls,Aw=es,Pw=Pe,kw=vt,Iw=xt,_w=Et,Ow=qe,Nw=Ke,Fw=Je,Bw=Fs,Mw=Dl,Lw=xl,Uw=Vx,Ww=zl,zw=Vl,Vw=ya,qw=ba,Gw=Be,Hw=Ra,Kw=gt,$w=Ot,Jw=hs,Xw=jv;function Yw(e,t){switch(null==e?void 0:e.type){default:var r;if(Ew(e)||Jw(e))if((yw(e)||vw(e)||Ew(e))&&e.source)Yw(e.source,t);else if((vw(e)||Ew(e))&&null!=(r=e.specifiers)&&r.length)for(var a,n=P(e.specifiers);!(a=n()).done;)Yw(a.value,t);else(bw(e)||vw(e))&&e.declaration&&Yw(e.declaration,t);else Dw(e)?Yw(e.local,t):!ww(e)||jw(e)||Pw(e)||_w(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Yw(e.object,t),Yw(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Yw(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(var s,i=P(e.properties);!(s=i()).done;)Yw(s.value,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":Yw(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Yw(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield"),Yw(e.argument,t);break;case"AwaitExpression":t.push("await"),Yw(e.argument,t);break;case"AssignmentExpression":Yw(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":Yw(e.id,t);break;case"ParenthesizedExpression":Yw(e.expression,t);break;case"MetaProperty":Yw(e.meta,t),Yw(e.property,t);break;case"JSXElement":Yw(e.openingElement,t);break;case"JSXOpeningElement":Yw(e.name,t);break;case"JSXFragment":Yw(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":Yw(e.namespace,t),Yw(e.name,t)}}var Qw={ForStatement:function(e){var t=e.get("init");if(t.isVar()){var r=e.scope;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",t)}},Declaration:function(e){e.isBlockScoped()||e.isImportDeclaration()||e.isExportDeclaration()||(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration:function(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier:function(e,t){t.references.push(e)},ForXStatement:function(e,t){var r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){var a=e.scope;(a.getFunctionParent()||a.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit:function(e){var t=e.node,r=e.scope;if(!yw(t)){var a=t.declaration;if(mw(a)||xw(a)){var n=a.id;if(!n)return;var s=r.getBinding(n.name);null==s||s.reference(e)}else if(Fw(a))for(var i,o=P(a.declarations);!(i=o()).done;)for(var d=i.value,l=0,u=Object.keys(uw(d));l1&&(r+=t),"_"+r},t.generateUidBasedOnNode=function(e,t){var r=[];Yw(e,r);var a=r.join("$");return a=a.replace(/^_/,"")||t||"ref",this.generateUid(a.slice(0,20))},t.generateUidIdentifierBasedOnNode=function(e,t){return cw(this.generateUidBasedOnNode(e,t))},t.isStatic=function(e){if(Ow(e)||kw(e)||Hw(e))return!0;if(Rw(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),lw(r))},t.checkBlockScopedCollisions=function(e,t,r,a){if("param"!==t&&"local"!==e.kind&&("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t))throw this.hub.buildError(a,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t){var r=this.getBinding(e);r&&(t||(t=this.generateUidIdentifier(e).name),new QE(r,e,t).rename(arguments[2]))},t._renameFromMap=function(e,t,r,a){e[t]&&(e[r]=a,e[t]=null)},t.dump=function(){var e="-".repeat(60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r=0,a=Object.keys(t.bindings);r0)&&this.isPure(e.body,t);if(gw(e)){for(var i,o=P(e.body);!(i=o()).done;){var d=i.value;if(!this.isPure(d,t))return!1}return!0}if(fw(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(pw(e)||qw(e)){for(var l,u=P(e.elements);!(l=u()).done;){var c=l.value;if(null!==c&&!this.isPure(c,t))return!1}return!0}if(Tw(e)||Vw(e)){for(var p,f=P(e.properties);!(p=f()).done;){var h=p.value;if(!this.isPure(h,t))return!1}return!0}if(Sw(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(n=e.decorators)?void 0:n.length)>0);if(Cw(e))return!(e.computed&&!this.isPure(e.key,t)||(null==(s=e.decorators)?void 0:s.length)>0||(Gw(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t));if(Nw(e))return this.isPure(e.argument,t);if(Iw(e))return Bw(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,t);if(_w(e)){for(var g,m=P(e.expressions);!(g=m()).done;){var y=g.value;if(!this.isPure(y,t))return!1}return!0}return Aw(e)},t.setData=function(e,t){return this.data[e]=t},t.getData=function(e){var t=this;do{var r=t.data[e];if(null!=r)return r}while(t=t.parent)},t.removeData=function(e){var t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)},t.init=function(){this.inited||(this.inited=!0,this.crawl())},t.crawl=function(){var e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);var t=this.getProgramParent();if(!t.crawling){var r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&hE(Qw)){for(var a,n=P(Qw.enter);!(a=n()).done;)a.value.call(r,e,r);var s=Qw[e.type];if(s)for(var i,o=P(s.enter);!(i=o()).done;)i.value.call(r,e,r)}e.traverse(Qw,r),this.crawling=!1;for(var d,l=P(r.assignments);!(d=l()).done;){for(var u=d.value,c=u.getBindingIdentifiers(),p=0,f=Object.keys(c);p0)throw new Error("Invalid string. Length must be a multiple of 4");s="="===e[o-2]?2:"="===e[o-1]?1:0,i=new oS(3*o/4-s),a=s>0?o-4:o;var d=0;for(t=0,r=0;t>16&255,i[d++]=n>>8&255,i[d++]=255&n;return 2===s?(n=iS[e.charCodeAt(t)]<<2|iS[e.charCodeAt(t+1)]>>4,i[d++]=255&n):1===s&&(n=iS[e.charCodeAt(t)]<<10|iS[e.charCodeAt(t+1)]<<4|iS[e.charCodeAt(t+2)]>>2,i[d++]=n>>8&255,i[d++]=255&n),i}function cS(e){return sS[e>>18&63]+sS[e>>12&63]+sS[e>>6&63]+sS[63&e]}function pS(e,t,r){for(var a,n=[],s=t;sd?d:o+i));return 1===a?(t=e[r-1],n+=sS[t>>2],n+=sS[t<<4&63],n+="=="):2===a&&(t=(e[r-2]<<8)+e[r-1],n+=sS[t>>10],n+=sS[t>>4&63],n+=sS[t<<2&63],n+="="),s.push(n),s.join("")}function hS(e,t,r,a,n){var s,i,o=8*n-a-1,d=(1<>1,u=-7,c=r?n-1:0,p=r?-1:1,f=e[t+c];for(c+=p,s=f&(1<<-u)-1,f>>=-u,u+=o;u>0;s=256*s+e[t+c],c+=p,u-=8);for(i=s&(1<<-u)-1,s>>=-u,u+=a;u>0;i=256*i+e[t+c],c+=p,u-=8);if(0===s)s=1-l;else{if(s===d)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,a),s-=l}return(f?-1:1)*i*Math.pow(2,s-a)}function gS(e,t,r,a,n,s){var i,o,d,l=8*s-n-1,u=(1<>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=a?0:s-1,h=a?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-i))<1&&(i--,d*=2),(t+=i+c>=1?p/d:p*Math.pow(2,1-c))*d>=2&&(i++,d/=2),i+c>=u?(o=0,i=u):i+c>=1?(o=(t*d-1)*Math.pow(2,n),i+=c):(o=t*Math.pow(2,c-1)*Math.pow(2,n),i=0));n>=8;e[r+f]=255&o,f+=h,o/=256,n-=8);for(i=i<0;e[r+f]=255&i,f+=h,i/=256,l-=8);e[r+f-h]|=128*g}var mS={}.toString,yS=Array.isArray||function(e){return"[object Array]"==mS.call(e)},bS=50;function vS(){return RS.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function xS(e,t){if(vS()=vS())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+vS().toString(16)+" bytes");return 0|e}function kS(e){return!(null==e||!e._isBuffer)}function IS(e,t){if(kS(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return dD(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return cD(e).length;default:if(a)return dD(e).length;t=(""+t).toLowerCase(),a=!0}}function _S(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return JS(this,t,r);case"utf8":case"utf-8":return qS(this,t,r);case"ascii":return KS(this,t,r);case"latin1":case"binary":return $S(this,t,r);case"base64":return VS(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return XS(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function OS(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function NS(e,t,r,a,n){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=RS.from(t,a)),kS(t))return 0===t.length?-1:FS(e,t,r,a,n);if("number"==typeof t)return t&=255,RS.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):FS(e,[t],r,a,n);throw new TypeError("val must be string, number or Buffer")}function FS(e,t,r,a,n){var s,i=1,o=e.length,d=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;i=2,o/=2,d/=2,r/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(n){var u=-1;for(s=r;so&&(r=o-d),s=r;s>=0;s--){for(var c=!0,p=0;pn&&(a=n):a=n;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var i=0;i239?4:l>223?3:l>191?2:1;if(n+c<=r)switch(c){case 1:l<128&&(u=l);break;case 2:128==(192&(s=e[n+1]))&&(d=(31&l)<<6|63&s)>127&&(u=d);break;case 3:s=e[n+1],i=e[n+2],128==(192&s)&&128==(192&i)&&(d=(15&l)<<12|(63&s)<<6|63&i)>2047&&(d<55296||d>57343)&&(u=d);break;case 4:s=e[n+1],i=e[n+2],o=e[n+3],128==(192&s)&&128==(192&i)&&128==(192&o)&&(d=(15&l)<<18|(63&s)<<12|(63&i)<<6|63&o)>65535&&d<1114112&&(u=d)}null===u?(u=65533,c=1):u>65535&&(u-=65536,a.push(u>>>10&1023|55296),u=56320|1023&u),a.push(u),n+=c}return HS(a)}RS.TYPED_ARRAY_SUPPORT=void 0===Us.TYPED_ARRAY_SUPPORT||Us.TYPED_ARRAY_SUPPORT,vS(),RS.poolSize=8192,RS._augment=function(e){return e.__proto__=RS.prototype,e},RS.from=function(e,t,r){return ES(null,e,t,r)},RS.TYPED_ARRAY_SUPPORT&&(RS.prototype.__proto__=Uint8Array.prototype,RS.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&RS[Symbol.species]),RS.alloc=function(e,t,r){return SS(null,e,t,r)},RS.allocUnsafe=function(e){return DS(null,e)},RS.allocUnsafeSlow=function(e){return DS(null,e)},RS.isBuffer=hD,RS.compare=function(e,t){if(!kS(e)||!kS(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,n=0,s=Math.min(r,a);n0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},RS.prototype.compare=function(e,t,r,a,n){if(!kS(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===n&&(n=this.length),t<0||r>e.length||a<0||n>this.length)throw new RangeError("out of range index");if(a>=n&&t>=r)return 0;if(a>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(n>>>=0)-(a>>>=0),i=(r>>>=0)-(t>>>=0),o=Math.min(s,i),d=this.slice(a,n),l=e.slice(t,r),u=0;un)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return BS(this,e,t,r);case"utf8":case"utf-8":return MS(this,e,t,r);case"ascii":return LS(this,e,t,r);case"latin1":case"binary":return US(this,e,t,r);case"base64":return WS(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zS(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},RS.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var GS=4096;function HS(e){var t=e.length;if(t<=GS)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var n="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function QS(e,t,r,a,n,s){if(!kS(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw new RangeError("Index out of range")}function ZS(e,t,r,a){t<0&&(t=65535+t+1);for(var n=0,s=Math.min(e.length-r,2);n>>8*(a?n:1-n)}function eD(e,t,r,a){t<0&&(t=4294967295+t+1);for(var n=0,s=Math.min(e.length-r,4);n>>8*(a?n:3-n)&255}function tD(e,t,r,a,n,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function rD(e,t,r,a,n){return n||tD(e,t,r,4),gS(e,t,r,a,23,4),r+4}function aD(e,t,r,a,n){return n||tD(e,t,r,8),gS(e,t,r,a,52,8),r+8}RS.prototype.slice=function(e,t){var r,a=this.length;if((e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t0&&(n*=256);)a+=this[e+--t]*n;return a},RS.prototype.readUInt8=function(e,t){return t||YS(e,1,this.length),this[e]},RS.prototype.readUInt16LE=function(e,t){return t||YS(e,2,this.length),this[e]|this[e+1]<<8},RS.prototype.readUInt16BE=function(e,t){return t||YS(e,2,this.length),this[e]<<8|this[e+1]},RS.prototype.readUInt32LE=function(e,t){return t||YS(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},RS.prototype.readUInt32BE=function(e,t){return t||YS(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},RS.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||YS(e,t,this.length);for(var a=this[e],n=1,s=0;++s=(n*=128)&&(a-=Math.pow(2,8*t)),a},RS.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||YS(e,t,this.length);for(var a=t,n=1,s=this[e+--a];a>0&&(n*=256);)s+=this[e+--a]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},RS.prototype.readInt8=function(e,t){return t||YS(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},RS.prototype.readInt16LE=function(e,t){t||YS(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},RS.prototype.readInt16BE=function(e,t){t||YS(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},RS.prototype.readInt32LE=function(e,t){return t||YS(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},RS.prototype.readInt32BE=function(e,t){return t||YS(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},RS.prototype.readFloatLE=function(e,t){return t||YS(e,4,this.length),hS(this,e,!0,23,4)},RS.prototype.readFloatBE=function(e,t){return t||YS(e,4,this.length),hS(this,e,!1,23,4)},RS.prototype.readDoubleLE=function(e,t){return t||YS(e,8,this.length),hS(this,e,!0,52,8)},RS.prototype.readDoubleBE=function(e,t){return t||YS(e,8,this.length),hS(this,e,!1,52,8)},RS.prototype.writeUIntLE=function(e,t,r,a){e=+e,t|=0,r|=0,a||QS(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+n]=e/s&255;return t+r},RS.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,1,255,0),RS.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},RS.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,2,65535,0),RS.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ZS(this,e,t,!0),t+2},RS.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,2,65535,0),RS.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ZS(this,e,t,!1),t+2},RS.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,4,4294967295,0),RS.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):eD(this,e,t,!0),t+4},RS.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,4,4294967295,0),RS.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):eD(this,e,t,!1),t+4},RS.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);QS(this,e,t,r,n-1,-n)}var s=0,i=1,o=0;for(this[t]=255&e;++s>0)-o&255;return t+r},RS.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t|=0,!a){var n=Math.pow(2,8*r-1);QS(this,e,t,r,n-1,-n)}var s=r-1,i=1,o=0;for(this[t+s]=255&e;--s>=0&&(i*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/i>>0)-o&255;return t+r},RS.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,1,127,-128),RS.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},RS.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,2,32767,-32768),RS.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ZS(this,e,t,!0),t+2},RS.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,2,32767,-32768),RS.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ZS(this,e,t,!1),t+2},RS.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,4,2147483647,-2147483648),RS.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):eD(this,e,t,!0),t+4},RS.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||QS(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),RS.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):eD(this,e,t,!1),t+4},RS.prototype.writeFloatLE=function(e,t,r){return rD(this,e,t,!0,r)},RS.prototype.writeFloatBE=function(e,t,r){return rD(this,e,t,!1,r)},RS.prototype.writeDoubleLE=function(e,t,r){return aD(this,e,t,!0,r)},RS.prototype.writeDoubleBE=function(e,t,r){return aD(this,e,t,!1,r)},RS.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--n)e[n+t]=this[n+r];else if(s<1e3||!RS.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(s=t;s55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(i+1===a){(t-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function lD(e){for(var t=[],r=0;r>8,n=r%256,s.push(n),s.push(a);return s}function cD(e){return uS(sD(e))}function pD(e,t,r,a){for(var n=0;n=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function fD(e){return e!=e}function hD(e){return null!=e&&(!!e._isBuffer||gD(e)||mD(e))}function gD(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function mD(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&gD(e.slice(0,0))}var yD,bD={exports:{}};function vD(){return yD||(yD=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),i=0;i>>=1,l&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(h)}function h(e,t){return e[0]-t[0]}function g(e){for(var a=new Int32Array(5),n=16384,s=n-36,i=new Uint8Array(n),o=i.subarray(0,s),l=0,u="",c=0;c0&&(l===n&&(u+=d.decode(i),l=0),i[l++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(u+=d.decode(o),i.copyWithin(0,s,l),l-=s),f>0&&(i[l++]=t),l=m(i,l,a,h,0),1!==h.length&&(l=m(i,l,a,h,1),l=m(i,l,a,h,2),l=m(i,l,a,h,3),4!==h.length&&(l=m(i,l,a,h,4)))}}}return u+d.decode(i.subarray(0,l))}function m(e,t,r,a,s){var i=a[s],o=i-r[s];r[s]=i,o=o<0?-o<<1|1:o<<1;do{var d=31&o;(o>>>=5)>0&&(d|=32),e[t++]=n[d]}while(o>0);return t}e.decode=l,e.encode=g,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,bD.exports)),bD.exports}var xD,RD={exports:{}},ED={exports:{}};function wD(){return xD||(xD=1,function(e,t){!function(e,r){r(t)}(0,(function(e){for(var t=",".charCodeAt(0),r=";".charCodeAt(0),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(64),s=new Uint8Array(128),i=0;i>>=1,l&&(n=-2147483648|-n),r[a]+=n,t}function p(e,r,a){return!(r>=a)&&e.charCodeAt(r)!==t}function f(e){e.sort(h)}function h(e,t){return e[0]-t[0]}function g(e){for(var a=new Int32Array(5),n=16384,s=n-36,i=new Uint8Array(n),o=i.subarray(0,s),l=0,u="",c=0;c0&&(l===n&&(u+=d.decode(i),l=0),i[l++]=r),0!==p.length){a[0]=0;for(var f=0;fs&&(u+=d.decode(o),i.copyWithin(0,s,l),l-=s),f>0&&(i[l++]=t),l=m(i,l,a,h,0),1!==h.length&&(l=m(i,l,a,h,1),l=m(i,l,a,h,2),l=m(i,l,a,h,3),4!==h.length&&(l=m(i,l,a,h,4)))}}}return u+d.decode(i.subarray(0,l))}function m(e,t,r,a,s){var i=a[s],o=i-r[s];r[s]=i,o=o<0?-o<<1|1:o<<1;do{var d=31&o;(o>>>=5)>0&&(d|=32),e[t++]=n[d]}while(o>0);return t}e.decode=l,e.encode=g,Object.defineProperty(e,"__esModule",{value:!0})}))}(0,ED.exports)),ED.exports}var SD,DD={exports:{}};function jD(){return SD||(SD=1,e=DD,function(t,r){e.exports=r()}(0,(function(){var e,t=/^[\w+.-]+:\/\//,r=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,a=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function n(e){return t.test(e)}function s(e){return e.startsWith("//")}function i(e){return e.startsWith("/")}function o(e){return e.startsWith("file:")}function d(e){return/^[.?#]/.test(e)}function l(e){var t=r.exec(e);return c(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function u(e){var t=a.exec(e),r=t[2];return c("file:","",t[1]||"","",i(r)?r:"/"+r,t[3]||"",t[4]||"")}function c(t,r,a,n,s,i,o){return{scheme:t,user:r,host:a,port:n,path:s,query:i,hash:o,type:e.Absolute}}function p(t){if(s(t)){var r=l("http:"+t);return r.scheme="",r.type=e.SchemeRelative,r}if(i(t)){var a=l("http://foo.com"+t);return a.scheme="",a.host="",a.type=e.AbsolutePath,a}if(o(t))return u(t);if(n(t))return l(t);var d=l("http://foo.com/"+t);return d.scheme="",d.host="",d.type=t?t.startsWith("?")?e.Query:t.startsWith("#")?e.Hash:e.RelativePath:e.Empty,d}function f(e){if(e.endsWith("/.."))return e;var t=e.lastIndexOf("/");return e.slice(0,t+1)}function h(e,t){g(t,t.type),"/"===e.path?e.path=t.path:e.path=f(t.path)+e.path}function g(t,r){for(var a=r<=e.RelativePath,n=t.path.split("/"),s=1,i=0,o=!1,d=1;dn&&(n=i)}g(a,n);var o=a.query+a.hash;switch(n){case e.Hash:case e.Query:return o;case e.RelativePath:var l=a.path.slice(1);return l?d(r||t)&&!d(l)?"./"+l+o:l+o:o||".";case e.AbsolutePath:return a.path+o;default:return a.scheme+"//"+a.user+a.host+a.port+a.path+o}}return function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(e||(e={})),m}))),DD.exports;var e}!function(e,t){!function(e,r){r(t,wD(),jD())}(0,(function(e,t,r){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(r);function s(e,t){return t&&!t.endsWith("/")&&(t+="/"),n.default(e,t)}function i(e){if(!e)return"";var t=e.lastIndexOf("/");return e.slice(0,t+1)}var o=0,d=1,u=2,c=3,p=4,f=1,h=2;function g(e,t){var r=m(e,0);if(r===e.length)return e;t||(e=e.slice());for(var a=r;a>1),s=e[n][o]-t;if(0===s)return x=!0,n;s<0?r=n+1:a=n-1}return x=!1,r-1}function E(e,t,r){for(var a=r+1;a=0&&e[a][o]===t;r=a--);return r}function S(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function D(e,t,r,a){var n=r.lastKey,s=r.lastNeedle,i=r.lastIndex,d=0,l=e.length-1;if(a===n){if(t===s)return x=-1!==i&&e[i][o]===t,i;t>=s?d=-1===i?0:i:l=i}return r.lastKey=a,r.lastNeedle=t,r.lastIndex=R(e,t,d,l)}function j(e,t){for(var r=t.map(C),a=0;at;a--)e[a]=e[a-1];e[t]=r}function C(){return{__proto__:null}}var A=function(t,r){var a="string"==typeof t?JSON.parse(t):t;if(!("sections"in a))return new M(a,r);var n=[],s=[],i=[],o=[];P(a,r,n,s,i,o,0,0,1/0,1/0);var d={version:3,file:a.file,names:o,sources:s,sourcesContent:i,mappings:n};return e.presortedDecodedMap(d)};function P(e,t,r,a,n,s,i,o,d,l){for(var u=e.sections,c=0;ch)return;for(var D=_(a,S),j=0===w?f:0,T=v[w],C=0;C=g)return;if(1!==A.length){var O=y+A[d],N=A[u],F=A[c];D.push(4===A.length?[k,O,N,F]:[k,O,N,F,b+A[p]])}else D.push([k])}}}function I(e,t){for(var r=0;r=n.length)return null;var s=n[r],i=z(s,t._decodedMemo,r,a,B);return-1===i?null:s[i]},e.originalPositionFor=function(t,r){var a=r.line,n=r.column,s=r.bias;if(--a<0)throw new Error(O);if(n<0)throw new Error(N);var i=e.decodedMappings(t);if(a>=i.length)return U(null,null,null,null);var o=i[a],l=z(o,t._decodedMemo,a,n,s||B);if(-1===l)return U(null,null,null,null);var f=o[l];if(1===f.length)return U(null,null,null,null);var h=t.names;return U(t.resolvedSources[f[d]],f[u]+1,f[c],5===f.length?h[f[p]]:null)},e.allGeneratedPositionsFor=function(e,t){return r(e,t.source,t.line,t.column,t.bias||F,!0)},e.generatedPositionFor=function(e,t){return r(e,t.source,t.line,t.column,t.bias||B,!1)},e.eachMapping=function(t,r){for(var a=e.decodedMappings(t),n=t.names,s=t.resolvedSources,i=0;i=0&&!(t>=e[a][s]);r=a--);return r}function g(e,t,r){for(var a=e.length;a>t;a--)e[a]=e[a-1];e[t]=r}function m(e){for(var t=e.length,r=t,a=r-1;a>=0&&!(e[a].length>0);r=a,a--);r1?this._indentChar.repeat(t):this._indentChar}else this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);10!==e?(this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0)},t._append=function(e,t,r){var a=e.length,n=this._position;if(this._last=e.charCodeAt(a-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,r||this._map){var s=t.column,i=t.identifierName,o=t.identifierNamePos,d=t.filename,l=t.line;null==i&&null==o||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);var u=e.indexOf("\n"),c=0;for(0!==u&&this._mark(l,s,i,o,d);-1!==u;)n.line++,n.column=0,(c=u+1)=0&&10===this._queue[r].char;r--)t++;return t===e&&10===this._last?t+1:t},t.endsWithCharAndNewline=function(){var e=this._queue,t=this._queueCursor;if(0!==t){if(10!==e[t-1].char)return;return t>1?e[t-2].char:this._last}},t.hasContent=function(){return 0!==this._queueCursor||!!this._last},t.exactSource=function(e,t){if(this._map){this.source("start",e);var r=e.identifierName,a=this._sourcePosition;r&&(this._canMarkIdName=!1,a.identifierName=r),t(),r&&(this._canMarkIdName=!0,a.identifierName=void 0,a.identifierNamePos=void 0),this.source("end",e)}else t()},t.source=function(e,t){this._map&&this._normalizePosition(e,t,0)},t.sourceWithOffset=function(e,t,r){this._map&&this._normalizePosition(e,t,r)},t.withSource=function(e,t,r){this._map&&this.source(e,t),r()},t._normalizePosition=function(e,t,r){var a=t[e],n=this._sourcePosition;a&&(n.line=a.line,n.column=Math.max(a.column+r,0),n.filename=t.filename)},t.getCurrentColumn=function(){for(var e=this._queue,t=this._queueCursor,r=-1,a=0,n=0;n",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function dj(e){return"TSAsExpression"===e||"TSSatisfiesExpression"===e||"TSTypeAssertion"===e}var lj=function(e,t){var r=t.type;return("ClassDeclaration"===r||"ClassExpression"===r)&&t.superClass===e},uj=function(e,t){var r=t.type;return("MemberExpression"===r||"OptionalMemberExpression"===r)&&t.object===e||("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r)&&t.callee===e||"TaggedTemplateExpression"===r&&t.tag===e||"TSNonNullExpression"===r};function cj(e,t){return XD(t)}function pj(e,t,r){if(!(r.length<3)){var a=t.type;return"UnionTypeAnnotation"===a||"IntersectionTypeAnnotation"===a||"ArrayTypeAnnotation"===a||"TypeAnnotation"===a&&YD(r[r.length-3])}}function fj(e,t){return uj(e,t)||lj(e,t)}function hj(e,t,r){return Nj(r,3)}function gj(e,t,r){return!e.async&&Nj(r,1)}function mj(e,t){var r=t.type;if("**"===e.operator&&"BinaryExpression"===r&&"**"===t.operator)return t.left===e;if(lj(e,t))return!0;if(uj(e,t)||"UnaryExpression"===r||"SpreadElement"===r||"AwaitExpression"===r)return!0;if("BinaryExpression"===r||"LogicalExpression"===r){var a=oj.get(t.operator),n=oj.get(e.operator);if(a===n&&t.right===e&&"LogicalExpression"!==r||a>n)return!0}}function yj(e,t){var r=t.type;return"ArrayTypeAnnotation"===r||"NullableTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"UnionTypeAnnotation"===r}function bj(e,t){return rj(t)&&t.objectType===e}function vj(){return!0}function xj(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r||"TSIntersectionType"===r||"TSUnionType"===r||"TSRestType"===r}function Rj(e,t){var r=t.type;return"TSArrayType"===r||"TSOptionalType"===r}function Ej(e,t){var r=t.type;return("CallExpression"===r||"OptionalCallExpression"===r||"NewExpression"===r||"TSInstantiationExpression"===r)&&!!t.typeParameters}function wj(e,t){if("in"===e.operator){var r=t.type;return"VariableDeclarator"===r||"ForStatement"===r||"ForInStatement"===r||"ForOfStatement"===r}return!1}function Sj(e,t){var r=t.type;return!("ForStatement"===r||"ThrowStatement"===r||"ReturnStatement"===r||"IfStatement"===r&&t.test===e||"WhileStatement"===r&&t.test===e||"ForInStatement"===r&&t.right===e||"SwitchStatement"===r&&t.discriminant===e||"ExpressionStatement"===r&&t.expression===e)}function Dj(e,t){var r=t.type;return"BinaryExpression"===r||"LogicalExpression"===r||"UnaryExpression"===r||"SpreadElement"===r||uj(e,t)||"AwaitExpression"===r&&ij(e)||"ConditionalExpression"===r&&e===t.test||lj(e,t)}function jj(e,t,r){return Nj(r,5)}function Tj(e,t){return uj(e,t)||QD(t)&&"**"===t.operator&&t.left===e||lj(e,t)}function Cj(e,t,r){return Nj(r,5)}function Aj(e,t){return ej(t)||Pj(e,t)}function Pj(e,t){var r=t.type;return!!("UnaryExpression"===r||"SpreadElement"===r||"BinaryExpression"===r||"LogicalExpression"===r||"ConditionalExpression"===r&&t.test===e||"AwaitExpression"===r||dj(r))||Tj(e,t)}function kj(e,t){return ZD(t)&&t.callee===e||aj(t)&&t.object===e}function Ij(e,t){return!!nj(e.left)||Pj(e,t)}function _j(e,t){var r=t.type;if(dj(r))return!0;if("LogicalExpression"!==r)return!1;switch(e.operator){case"||":return"??"===t.operator||"&&"===t.operator;case"&&":return"??"===t.operator;case"??":return"??"!==t.operator}}function Oj(e,t,r){var a,n=t.type;if(null!=(a=e.extra)&&a.parenthesized&&"AssignmentExpression"===n&&t.left===e){var s=t.right.type;if(("FunctionExpression"===s||"ClassExpression"===s)&&null==t.right.id)return!0}return"let"===e.name?Nj(r,aj(t,{object:e,computed:!0})||sj(t,{object:e,computed:!0,optional:!1})?57:32):"async"===e.name&&tj(t)&&e===t.left}function Nj(e,t){var r=1&t,a=2&t,n=4&t,s=8&t,i=16&t,o=32&t,d=e.length-1;if(!(d<=0)){for(var l=e[d],u=e[--d];d>=0;){var c=u.type;if(r&&"ExpressionStatement"===c&&u.expression===l||n&&"ExportDefaultDeclaration"===c&&l===u.declaration||a&&"ArrowFunctionExpression"===c&&u.body===l||s&&"ForStatement"===c&&u.init===l||i&&"ForInStatement"===c&&u.left===l||o&&"ForOfStatement"===c&&u.left===l)return!0;if(!(d>0&&(uj(l,u)&&"NewExpression"!==c||"SequenceExpression"===c&&u.expressions[0]===l||"UpdateExpression"===c&&!u.prefix||"ConditionalExpression"===c&&u.test===l||("BinaryExpression"===c||"LogicalExpression"===c)&&u.left===l||"AssignmentExpression"===c&&u.left===l)))return!1;l=u,u=e[--d]}return!1}}var Fj=Fo,Bj=ue,Mj=Ie,Lj=_e;function Uj(e){var t=new Map;function r(e,r){var a=t.get(e);t.set(e,a?function(e,t,n){var s;return null!=(s=a(e,t,n))?s:r(e,t,n)}:r)}for(var a=0,n=Object.keys(e);a1}),jT(t))if(TT(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()}function YT(e){this.print(e.id,e),e.definite&&this.tokenChar(33),this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.tokenChar(61),this.space(),this.print(e.init,e))}var QT=it,ZT=ot;function eC(e,t){(QT(t)||ZT(t))&&this._shouldPrintDecoratorsBeforeExport(t)||this.printJoin(e.decorators,e),e.declare&&(this.word("declare"),this.space()),e.abstract&&(this.word("abstract"),this.space()),this.word("class"),e.id&&(this.space(),this.print(e.id,e)),this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e)),e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e)),this.space(),this.print(e.body,e)}function tC(e){this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(e))}function rC(e){var t;this.printJoin(e.decorators,e);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function aC(e){var t;this.printJoin(e.decorators,e);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),this.word("accessor",!0),this.space(),e.computed?(this.tokenChar(91),this.print(e.key,e),this.tokenChar(93)):(this._variance(e),this.print(e.key,e)),e.optional&&this.tokenChar(63),e.definite&&this.tokenChar(33),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function nC(e){this.printJoin(e.decorators,e),e.static&&(this.word("static"),this.space()),this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.tokenChar(61),this.space(),this.print(e.value,e)),this.semicolon()}function sC(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function iC(e){this._classMethodHead(e),this.space(),this.print(e.body,e)}function oC(e){var t;this.printJoin(e.decorators,e);var r=null==(t=e.key.loc)||null==(t=t.end)?void 0:t.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(e),this._methodHead(e)}function dC(e){this.word("static"),this.space(),this.tokenChar(123),0===e.body.length?this.tokenChar(125):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e))}var lC=we;function uC(e,t,r){this.print(e.typeParameters,e);var a=vC.call(this,t,r);a&&this.sourceIdentifierName(a.name,a.pos),this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);var n="ArrowFunctionExpression"===e.type;this.print(e.returnType,e,n),this._noLineTerminator=n}function cC(e,t){for(var r=e.length,a=0;a"),this.space(),this.print(e.body,e)}function bC(e,t){var r,a;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||null!=(r=t.leadingComments)&&r.length||null!=(a=t.trailingComments)&&a.length)}function vC(e,t){var r=e;if(!r&&t){var a=t.type;"VariableDeclarator"===a?r=t.id:"AssignmentExpression"===a||"AssignmentPattern"===a?r=t.left:"ObjectProperty"===a||"ClassProperty"===a?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==a&&"ClassAccessorProperty"!==a||(r=t.key)}if(r){var n,s,i;if("Identifier"===r.type)n={pos:null==(s=r.loc)?void 0:s.start,name:(null==(i=r.loc)?void 0:i.identifierName)||r.name};else if("PrivateName"===r.type){var o;n={pos:null==(o=r.loc)?void 0:o.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var d;n={pos:null==(d=r.loc)?void 0:d.start,name:r.value}}return n}}var xC=nt,RC=ma,EC=Tt,wC=ct,SC=pt,DC=Vn;function jC(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space()),this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))}function TC(e){this.print(e.local,e)}function CC(e){this.print(e.exported,e)}function AC(e){"type"===e.exportKind&&(this.word("type"),this.space()),this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))}function PC(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)}var kC,IC,_C=!1;function OC(e){var t=this.format.importAttributesKeyword,r=e.attributes,a=e.assertions;!r||t||_C||(_C=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));var n="assert"===t||!t&&a;this.word(n?"assert":"with"),this.space(),n||"with"===t?(this.tokenChar(123),this.space(),this.printList(r||a,e),this.space(),this.tokenChar(125)):this.printList(r||a,e)}function NC(e){var t,r;this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function FC(e,t){xC(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}function BC(e){if(FC(this,e),this.word("export"),this.space(),e.declaration){var t=e.declaration;this.print(t,e),DC(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());for(var r,a,n=e.specifiers.slice(0),s=!1;;){var i=n[0];if(!RC(i)&&!EC(i))break;s=!0,this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}(n.length||!n.length&&!s)&&(this.tokenChar(123),n.length&&(this.space(),this.printList(n,e),this.space()),this.tokenChar(125)),e.source&&(this.space(),this.word("from"),this.space(),null!=(r=e.attributes)&&r.length||null!=(a=e.assertions)&&a.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e)),this.semicolon()}}function MC(e){FC(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();var t=e.declaration;this.print(t,e),DC(t)||this.semicolon()}function LC(e){var t,r;this.word("import"),this.space();var a="type"===e.importKind||"typeof"===e.importKind;a?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):e.phase&&(this.noIndentInnerCommentsHere(),this.word(e.phase),this.space());for(var n=e.specifiers.slice(0),s=!!n.length;s;){var i=n[0];if(!wC(i)&&!SC(i))break;this.print(n.shift(),e),n.length&&(this.tokenChar(44),this.space())}n.length?(this.tokenChar(123),this.space(),this.printList(n,e),this.space(),this.tokenChar(125)):a&&!s&&(this.tokenChar(123),this.tokenChar(125)),(s||a)&&(this.space(),this.word("from"),this.space()),null!=(t=e.attributes)&&t.length||null!=(r=e.assertions)&&r.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e),this.semicolon()}function UC(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)}function WC(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)}function zC(e){this.word("import"),e.phase&&(this.tokenChar(46),this.word(e.phase)),this.tokenChar(40),this.print(e.source,e),null!=e.options&&(this.tokenChar(44),this.space(),this.print(e.options,e)),this.tokenChar(41)}function VC(){if(IC)return kC;IC=1;var e={},t=e.hasOwnProperty,r=function(e,r){for(var a in e)t.call(e,a)&&r(a,e[a])},a=function(e,t){return t?(r(t,(function(t,r){e[t]=r})),e):e},n=function(e,t){for(var r=e.length,a=-1;++a=55296&&U<=56319&&M>B+1){var W=F.charCodeAt(B+1);if(W>=56320&&W<=57343){var z=(1024*(U-55296)+W-56320+65536).toString(16);S||(z=z.toUpperCase()),R+="\\u{"+z+"}",++B;continue}}}if(!s.escapeEverything){if(y.test(L)){R+=L;continue}if('"'==L){R+=E==L?'\\"':L;continue}if("`"==L){R+=E==L?"\\`":L;continue}if("'"==L){R+=E==L?"\\'":L;continue}}if("\0"!=L||x||m.test(F.charAt(B+1)))if(g.test(L))R+=h[L];else{var V=L.charCodeAt(0);if(s.minimal&&8232!=V&&8233!=V)R+=L;else{var q=V.toString(16);S||(q=q.toUpperCase());var G=q.length>2||x,H="\\"+(G?"u":"x")+("0000"+q).slice(G?-4:-2);R+=H}}else R+="\\0"}return s.wrap&&(R=E+R+E),"`"==E&&(R=R.replace(/\$\{/g,"\\${")),s.isScriptContext?R.replace(/<\/(script|style)/gi,"<\\/$1").replace(//,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},y.languages.markup.tag.inside["attr-value"].inside.entity=y.languages.markup.entity,y.languages.markup.doctype.inside["internal-subset"].inside=y.languages.markup,y.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(y.languages.markup.tag,"addInlined",{value:function(e,t){var a={};a["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:y.languages[t]},a.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:a}};n["language-"+t]={pattern:/[\s\S]+/,inside:y.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},y.languages.insertBefore("markup","cdata",r)}}),Object.defineProperty(y.languages.markup.tag,"addAttribute",{value:function(e,t){y.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:y.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),y.languages.html=y.languages.markup,y.languages.mathml=y.languages.markup,y.languages.svg=y.languages.markup,y.languages.xml=y.languages.extend("markup",{}),y.languages.ssml=y.languages.xml,y.languages.atom=y.languages.xml,y.languages.rss=y.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:a,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=n.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},y.languages.c=y.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),y.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),y.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},y.languages.c.string],char:y.languages.c.char,comment:y.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:y.languages.c}}}}),y.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete y.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,a=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return a}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(y),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var a=e.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}(y),function(e){var t,a=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+a.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[a,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var n={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,number:r})}(y),y.languages.javascript=y.languages.extend("clike",{"class-name":[y.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),y.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,y.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:y.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:y.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:y.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:y.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),y.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:y.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),y.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),y.languages.markup&&(y.languages.markup.tag.addInlined("script","javascript"),y.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),y.languages.js=y.languages.javascript,function(e){var t=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:a}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(y),function(e){var t=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+a.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+a.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var a=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return n})).replace(/<>/g,(function(){return e}));return RegExp(a,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return n}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return n})).replace(/<>/g,(function(){return"(?:"+r+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(y),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return n})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+o+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+o+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(a){t!==a&&(e.languages.markdown[t].inside.content.inside[a]=e.languages.markdown[a])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var a=0,n=t.length;a",quot:'"'},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(y),y.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:y.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},y.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),a=0;a0)){var l=p(/^\{$/,/^\}$/);if(-1===l)continue;for(var c=a;c=0&&v(d,"variable-input")}}}}function u(e){return t[a+e]}function s(e,t){t=t||0;for(var a=0;a?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],a=t.pattern.source,n=t.inside.interpolation,r=n.inside["interpolation-punctuation"],o=n.pattern.source;function i(t,n){if(e.languages[t])return{pattern:RegExp("((?:"+n+")\\s*)"+a),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function c(t,a,n){var r={code:t,grammar:a,language:n};return e.hooks.run("before-tokenize",r),r.tokens=e.tokenize(r.code,r.grammar),e.hooks.run("after-tokenize",r),r.tokens}function d(t){var a={};a["interpolation-punctuation"]=r;var o=e.tokenize(t,a);if(3===o.length){var i=[1,1];i.push.apply(i,c(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,n.alias,t)}function u(t,a,n){var r=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,u={},s=c(r.map((function(e){if("string"==typeof e)return e;for(var a,r=e.content;-1!==t.indexOf(a=l(i++,n)););return u[a]=r,a})).join(""),a,n),p=Object.keys(u);return i=0,function e(t){for(var a=0;a=p.length)return;var n=t[a];if("string"==typeof n||"string"==typeof n.content){var r=p[i],o="string"==typeof n?n:n.content,l=o.indexOf(r);if(-1!==l){++i;var c=o.substring(0,l),s=d(u[r]),v=o.substring(l+r.length),f=[];if(c&&f.push(c),f.push(s),v){var I=[v];e(I),f.push.apply(f,I)}"string"==typeof n?(t.splice.apply(t,[a,1].concat(f)),a+=f.length-1):n.content=f}}else{var h=n.content;Array.isArray(h)?e(h):e([h])}}}(s),new e.Token(n,s,"language-"+n,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in s&&function t(a){for(var n=0,r=a.length;n]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(y),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var a=["function","function-variable","method","method-variable","property-access"],n=0;n*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return a})).replace(//g,(function(){return n})).replace(//g,(function(){return r})),RegExp(e,t)}r=o(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var a=[],n=0;n0&&a[a.length-1].tagName===i(r.content[0].content[1])&&a.pop():"/>"===r.content[r.content.length-1].content||a.push({tagName:i(r.content[0].content[1]),openedBraces:0}):a.length>0&&"punctuation"===r.type&&"{"===r.content?a[a.length-1].openedBraces++:a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?a[a.length-1].openedBraces--:o=!0),(o||"string"==typeof r)&&a.length>0&&0===a[a.length-1].openedBraces){var c=i(r);n0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(c=i(t[n-1])+c,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",c,null,c)}r.content&&"string"!=typeof r.content&&l(r.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(y),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(a){var n=t[a],r=[];/^\w+$/.test(a)||r.push(/\w+/.exec(a)[0]),"diff"===a&&r.push("bold"),e.languages.diff[a]={pattern:RegExp("^(?:["+n+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:r,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(y),y.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},y.languages.go=y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),y.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete y.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,n,r,o){if(a.language===n){var i=a.tokenStack=[];a.code=a.code.replace(r,(function(e){if("function"==typeof o&&!o(e))return e;for(var r,l=i.length;-1!==a.code.indexOf(r=t(n,l));)++l;return i[l]=e,r})),a.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(a,n){if(a.language===n&&a.tokenStack){a.grammar=e.languages[n];var r=0,o=Object.keys(a.tokenStack);!function i(l){for(var c=0;c=o.length);c++){var d=l[c];if("string"==typeof d||d.content&&"string"==typeof d.content){var u=o[r],s=a.tokenStack[u],p="string"==typeof d?d:d.content,v=t(n,u),f=p.indexOf(v);if(f>-1){++r;var I=p.substring(0,f),h=new e.Token(n,e.tokenize(s,a.grammar),"language-"+n,s),m=p.substring(f+v.length),x=[];I&&x.push.apply(x,i([I])),x.push(h),m&&x.push.apply(x,i([m])),"string"==typeof d?l.splice.apply(l,[c,1].concat(x)):d.content=x}}else d.content&&i(d.content)}return l}(a.tokens)}}}})}(y),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(y),y.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},y.languages.webmanifest=y.languages.json,y.languages.less=y.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),y.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),y.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},y.languages.objectivec=y.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete y.languages.objectivec["class-name"],y.languages.objc=y.languages.objectivec,y.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},y.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},y.languages.python["string-interpolation"].inside.interpolation.inside.rest=y.languages.python,y.languages.py=y.languages.python,y.languages.reason=y.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),y.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete y.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:a,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(y),y.languages.scss=y.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),y.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),y.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),y.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),y.languages.scss.atrule.inside.rest=y.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},n={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/};n.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:n}},n.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:n}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:n}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:n}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:n}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:n.interpolation}},rest:n}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:n.interpolation,comment:n.comment,punctuation:/[{},]/}},func:n.func,string:n.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:n.interpolation,punctuation:/[{}()\[\];:.]/}}(y),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var a=e.languages.tsx.tag;a.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+a.pattern.source+")",a.pattern.flags),a.lookbehind=!0}(y),y.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var b={Prism:y,theme:{plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]}};function w(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function C(){return C=Object.assign||function(e){for(var t=1;t0&&e[a-1]===t?e:e.concat(t)},k=function(e,t){var a=e.plain,n=Object.create(null),r=e.styles.reduce((function(e,a){var n=a.languages,r=a.style;return n&&!n.includes(t)||a.types.forEach((function(t){var a=C({},e[t],r);e[t]=a})),e}),n);return r.root=a,r.plain=C({},a,{backgroundColor:null}),r};function T(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===t.indexOf(n)&&(a[n]=e[n]);return a}var M=function(e){function t(){for(var t=this,a=[],n=arguments.length;n--;)a[n]=arguments[n];e.apply(this,a),w(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var a=e.theme?k(e.theme,e.language):void 0;return t.themeDict=a})),w(this,"getLineProps",(function(e){var a=e.key,n=e.className,r=e.style,o=C({},T(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),i=t.getThemeDict(t.props);return void 0!==i&&(o.style=i.plain),void 0!==r&&(o.style=void 0!==o.style?C({},o.style,r):r),void 0!==a&&(o.key=a),n&&(o.className+=" "+n),o})),w(this,"getStyleForToken",(function(e){var a=e.types,n=e.empty,r=a.length,o=t.getThemeDict(t.props);if(void 0!==o){if(1===r&&"plain"===a[0])return n?{display:"inline-block"}:void 0;if(1===r&&!n)return o[a[0]];var i=n?{display:"inline-block"}:{},l=a.map((function(e){return o[e]}));return Object.assign.apply(Object,[i].concat(l))}})),w(this,"getTokenProps",(function(e){var a=e.key,n=e.className,r=e.style,o=e.token,i=C({},T(e,["key","className","style","token"]),{className:"token "+o.types.join(" "),children:o.content,style:t.getStyleForToken(o),key:void 0});return void 0!==r&&(i.style=void 0!==i.style?C({},i.style,r):r),void 0!==a&&(i.key=a),n&&(i.className+=" "+n),i})),w(this,"tokenize",(function(e,t,a,n){var r={code:t,grammar:a,language:n,tokens:[]};e.hooks.run("before-tokenize",r);var o=r.tokens=e.tokenize(r.code,r.grammar,r.language);return e.hooks.run("after-tokenize",r),o}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,a=e.language,n=e.code,r=e.children,o=this.getThemeDict(this.props),i=t.languages[a];return r({tokens:function(e){for(var t=[[]],a=[e],n=[0],r=[e.length],o=0,i=0,l=[],c=[l];i>-1;){for(;(o=n[i]++)0?u:["plain"],d=s):(u=E(u,s.type),s.alias&&(u=E(u,s.alias)),d=s.content),"string"==typeof d){var p=d.split(_),v=p.length;l.push({types:u,content:p[0]});for(var f=1;fe.length)&&(t=e.length);for(var a=0,n=new Array(t);a)\s/gm,"");f(e)}}),[r,a]),n.createElement("div",{className:"dumi-default-source-code"},n.createElement(Z.CopyToClipboard,{text:v,onCopy:function(){s(!0),clearTimeout(l.current),l.current=window.setTimeout((function(){return s(!1)}),2e3)}},n.createElement("button",{type:"button",className:"dumi-default-source-code-copy","data-copied":u||void 0},u?n.createElement(d,null):n.createElement(I,null))),n.createElement(O,L({},b,{code:a.trim(),language:N[r]||r,theme:void 0}),(function(e){var t=e.className,a=e.style,r=e.tokens,o=e.getLineProps,l=e.getTokenProps;return n.createElement("pre",{className:t,style:a},r.map((function(e,t){return n.createElement("div",{key:String(t),className:m()({highlighted:i.includes(t+1),wrap:h.showLineNum})},h.showLineNum&&n.createElement("span",{className:"token-line-num"},t+1),n.createElement("div",L({},o({line:e,key:t}),{className:m()({"line-cell":h.showLineNum})}),e.map((function(e,t){return n.createElement("span",l({token:e,key:t}))}))))})))})))}},2477:function(e,t,a){"use strict";a.r(t)},49571:function(e,t,a){"use strict";a.r(t)},91163:function(e,t,a){"use strict";a.r(t)},1697:function(e,t,a){"use strict";a.r(t)},16475:function(e,t,a){"use strict";a.r(t)},52964:function(e,t,a){"use strict";a.r(t)},94419:function(e,t,a){"use strict";a.r(t)},76798:function(e,t,a){"use strict";a.r(t)},25913:function(e,t,a){"use strict";var n=a(62435),r=a(80017);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a