diff --git a/.gitignore b/.gitignore index 07f221634d9a490a30ce4c8dcf2a08cf9e60da5b..1052e38ce6846615088f634ff773b878bfc11237 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ # next.js /.next/ -/out/ # production /build diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 8edeb6df9e9a96d4c689857d030119e55e7218a6..0000000000000000000000000000000000000000 --- a/Dockerfile +++ /dev/null @@ -1,60 +0,0 @@ -FROM node:18 AS base - -# Install dependencies only when needed -FROM base AS deps - -WORKDIR /app - -# Install dependencies based on the preferred package manager -COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./ -RUN \ - if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ - elif [ -f package-lock.json ]; then npm ci; \ - elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \ - else echo "Lockfile not found." && exit 1; \ - fi - -# Uncomment the following lines if you want to use a secret at buildtime, -# for example to access your private npm packages -# RUN --mount=type=secret,id=HF_EXAMPLE_SECRET,mode=0444,required=true \ -# $(cat /run/secrets/HF_EXAMPLE_SECRET) - -# Rebuild the source code only when needed -FROM base AS builder -WORKDIR /app -COPY --from=deps /app/node_modules ./node_modules -COPY . . - -# Next.js collects completely anonymous telemetry data about general usage. -# Learn more here: https://nextjs.org/telemetry -# Uncomment the following line in case you want to disable telemetry during the build. -# ENV NEXT_TELEMETRY_DISABLED 1 - -# RUN yarn build - -# If you use yarn, comment out this line and use the line above -RUN npm run build - -# Production image, copy all the files and run next -FROM base AS runner -WORKDIR /app - -ENV NODE_ENV production -# Uncomment the following line in case you want to disable telemetry during runtime. -# ENV NEXT_TELEMETRY_DISABLED 1 - -RUN addgroup --system --gid 1001 nodejs -RUN adduser --system --uid 1001 nextjs - -COPY --from=builder /app/public ./public - -# Automatically leverage output traces to reduce image size -# https://nextjs.org/docs/advanced-features/output-file-tracing -COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ -COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static - -USER nextjs - -EXPOSE 3000 - -ENV PORT 3000 \ No newline at end of file diff --git a/README.md b/README.md index e8fad4b397b3ebc67c2abc1b80d5a2b503c2ef76..260b776596352b9e9eeff106b8b9fbe89cad3c13 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ --- title: Codetree emoji: 🎳🌲 -colorFrom: yellow -colorTo: indigo -sdk: docker +colorFrom: purple +colorTo: yellow +sdk: static pinned: false +app_file: out/index.html --- <p align="center"> diff --git a/next.config.js b/next.config.js index 3172987f6ce41de91d30419f1f6cadfd66b97e1a..9346cdcc75934604d2db1d160446b853367c96cf 100644 --- a/next.config.js +++ b/next.config.js @@ -12,4 +12,5 @@ module.exports = { "storage.googleapis.com", ], }, + basePath: '/staticspaceiframe/matthoffner/open-codetree/out', }; diff --git a/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_buildManifest.js b/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_buildManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..1b396d6c44b44aeb56ca10e63bf5b61291502f0f --- /dev/null +++ b/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/161-e5320a838d0de03c.js","static/chunks/pages/index-2ccae7562589e76e.js"],"/_error":["static/chunks/pages/_error-37464598caa95bdb.js"],"/oauth/github":["static/chunks/pages/oauth/github-89630e7e8d2855b9.js"],"/oauth/google":["static/chunks/pages/oauth/google-68598bd51f10ddb9.js"],sortedPages:["/","/_app","/_error","/oauth/github","/oauth/google"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_ssgManifest.js b/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_ssgManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..0511aa895e5036ab4b50d97112e1d6aed9a3cd79 --- /dev/null +++ b/out/_next/static/1fu01ur6GDWf5D7Kzonuo/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB(); \ No newline at end of file diff --git a/out/_next/static/chunks/161-e5320a838d0de03c.js b/out/_next/static/chunks/161-e5320a838d0de03c.js new file mode 100644 index 0000000000000000000000000000000000000000..1ee4cd91a49805574e0e37242736ca74c041028e --- /dev/null +++ b/out/_next/static/chunks/161-e5320a838d0de03c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[161],{9967:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}}function f(e){return function t(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return i.length>=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.apply(n,[].concat(i,r))}}}function d(e){return{}.toString.call(e).includes("Object")}function p(e){return"function"===typeof e}n.d(t,{ZP:function(){return de}});var h=f((function(e,t){throw new Error(e[t]||e.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),m={changes:function(e,t){return d(t)||h("changeType"),Object.keys(t).some((function(t){return n=e,r=t,!Object.prototype.hasOwnProperty.call(n,r);var n,r}))&&h("changeField"),t},selector:function(e){p(e)||h("selectorType")},handler:function(e){p(e)||d(e)||h("handlerType"),d(e)&&Object.values(e).some((function(e){return!p(e)}))&&h("handlersType")},initial:function(e){var t;e||h("initialIsRequired"),d(e)||h("initialType"),t=e,Object.keys(t).length||h("initialContent")}};function v(e,t){return p(t)?t(e.current):t}function g(e,t){return e.current=s(s({},e.current),t),t}function y(e,t,n){return p(t)?t(e.current):Object.keys(n).forEach((function(n){var r;return null===(r=t[n])||void 0===r?void 0:r.call(t,e.current[n])})),n}var b={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};m.initial(e),m.handler(t);var n={current:e},r=f(y)(n,t),i=f(g)(n),o=f(m.changes)(e),a=f(v)(n);function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return m.selector(e),e(n.current)}function l(e){c(r,i,o,a)(e)}return[u,l]}},w=b,x={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.25.2/min/vs"}};var E=function(e){return function t(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return i.length>=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.apply(n,[].concat(i,r))}}};var k=function(e){return{}.toString.call(e).includes("Object")};var S={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},C=E((function(e,t){throw new Error(e[t]||e.default)}))(S),_={config:function(e){return e||C("configIsRequired"),k(e)||C("configType"),e.urls?(console.warn(S.deprecation),{paths:{vs:e.urls.monacoBase}}):e}},O=_,M=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}};var T=function e(t,n){return Object.keys(n).forEach((function(r){n[r]instanceof Object&&t[r]&&Object.assign(n[r],e(t[r],n[r]))})),o(o({},t),n)},P={type:"cancelation",msg:"operation is manually canceled"};var I,A,z=function(e){var t=!1,n=new Promise((function(n,r){e.then((function(e){return t?r(P):n(e)})),e.catch(r)}));return n.cancel=function(){return t=!0},n},N=w.create({config:x,isInitialized:!1,resolve:null,reject:null,monaco:null}),R=(A=2,function(e){if(Array.isArray(e))return e}(I=N)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){i=!0,o=l}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}}(I,A)||function(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(I,A)||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.")}()),D=R[0],L=R[1];function F(e){return document.body.appendChild(e)}function j(e){var t=D((function(e){return{config:e.config,reject:e.reject}})),n=function(e){var t=document.createElement("script");return e&&(t.src=e),t}("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function V(){var e=D((function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}})),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],(function(t){Z(t),e.resolve(t)}),(function(t){e.reject(t)}))}function Z(e){D().monaco||L({monaco:e})}var H=new Promise((function(e,t){return L({resolve:e,reject:t})})),B={config:function(e){L((function(t){return{config:T(t.config,O.config(e))}}))},init:function(){if(!D((function(e){return{isInitialized:e.isInitialized}})).isInitialized){if(window.monaco&&window.monaco.editor)return Z(window.monaco),z(Promise.resolve(window.monaco));M(F,j)(V),L({isInitialized:!0})}return z(H)},__getMonacoInstance:function(){return D((function(e){return e.monaco}))}},U=B,W=n(7294),K=n(5697),q=n.n(K);const Y={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"};var $=function({content:e}){return W.createElement("div",{style:Y},e)};var X={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}};function G({width:e,height:t,isEditorReady:n,loading:r,_ref:i,className:o,wrapperClassName:a}){return W.createElement("section",{style:{...X.wrapper,width:e,height:t},className:a},!n&&W.createElement($,{content:r}),W.createElement("div",{ref:i,style:{...X.fullWidth,...!n&&X.hide},className:o}))}G.propTypes={width:q().oneOfType([q().number,q().string]).isRequired,height:q().oneOfType([q().number,q().string]).isRequired,loading:q().oneOfType([q().element,q().string]).isRequired,isEditorReady:q().bool.isRequired,className:q().string,wrapperClassName:q().string};var Q=G,J=(0,W.memo)(Q);var ee=function(e){(0,W.useEffect)(e,[])};var te=function(e,t,n=!0){const r=(0,W.useRef)(!0);(0,W.useEffect)(r.current||!n?()=>{r.current=!1}:e,t)};function ne(){}function re(e,t,n,r){return function(e,t){return e.editor.getModel(ie(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r&&ie(e,r))}(e,t,n,r)}function ie(e,t){return e.Uri.parse(t)}function oe({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:i,originalModelPath:o,modifiedModelPath:a,keepCurrentOriginalModel:u,keepCurrentModifiedModel:l,theme:s,loading:c,options:f,height:d,width:p,className:h,wrapperClassName:m,beforeMount:v,onMount:g}){const[y,b]=(0,W.useState)(!1),[w,x]=(0,W.useState)(!0),E=(0,W.useRef)(null),k=(0,W.useRef)(null),S=(0,W.useRef)(null),C=(0,W.useRef)(g),_=(0,W.useRef)(v);ee((()=>{const e=U.init();return e.then((e=>(k.current=e)&&x(!1))).catch((e=>"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e))),()=>E.current?function(){const e=E.current.getModel();var t,n;u||null===(t=e.original)||void 0===t||t.dispose();l||null===(n=e.modified)||void 0===n||n.dispose();E.current.dispose()}():e.cancel()})),te((()=>{const e=E.current.getModifiedEditor();e.getOption(k.current.editor.EditorOption.readOnly)?e.setValue(t):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t,forceMoveMarkers:!0}]),e.pushUndoStop())}),[t],y),te((()=>{E.current.getModel().original.setValue(e)}),[e],y),te((()=>{const{original:e,modified:t}=E.current.getModel();k.current.editor.setModelLanguage(e,r||n),k.current.editor.setModelLanguage(t,i||n)}),[n,r,i],y),te((()=>{k.current.editor.setTheme(s)}),[s],y),te((()=>{E.current.updateOptions(f)}),[f],y);const O=(0,W.useCallback)((()=>{_.current(k.current);const u=k.current.editor.createModel(e,r||n,o&&k.current.Uri.parse(o)),l=k.current.editor.createModel(t,i||n,a&&k.current.Uri.parse(a));E.current.setModel({original:u,modified:l})}),[n,t,i,e,r,o,a]),M=(0,W.useCallback)((()=>{E.current=k.current.editor.createDiffEditor(S.current,{automaticLayout:!0,...f}),O(),k.current.editor.setTheme(s),b(!0)}),[f,s,O]);return(0,W.useEffect)((()=>{y&&C.current(E.current,k.current)}),[y]),(0,W.useEffect)((()=>{!w&&!y&&M()}),[w,y,M]),W.createElement(J,{width:p,height:d,isEditorReady:y,loading:c,_ref:S,className:h,wrapperClassName:m})}oe.propTypes={original:q().string,modified:q().string,language:q().string,originalLanguage:q().string,modifiedLanguage:q().string,originalModelPath:q().string,modifiedModelPath:q().string,keepCurrentOriginalModel:q().bool,keepCurrentModifiedModel:q().bool,theme:q().string,loading:q().oneOfType([q().element,q().string]),options:q().object,width:q().oneOfType([q().number,q().string]),height:q().oneOfType([q().number,q().string]),className:q().string,wrapperClassName:q().string,beforeMount:q().func,onMount:q().func},oe.defaultProps={theme:"light",loading:"Loading...",options:{},keepCurrentOriginalModel:!1,keepCurrentModifiedModel:!1,width:"100%",height:"100%",beforeMount:ne,onMount:ne};var ae=function(e){const t=(0,W.useRef)();return(0,W.useEffect)((()=>{t.current=e}),[e]),t.current};const[ue,le]=w.create({backup:null}),se=new Map;function ce({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:i,path:o,theme:a,line:u,loading:l,options:s,overrideServices:c,saveViewState:f,keepCurrentModel:d,width:p,height:h,className:m,wrapperClassName:v,beforeMount:g,onMount:y,onChange:b,onValidate:w}){const[x,E]=(0,W.useState)(!1),[k,S]=(0,W.useState)(!0),C=(0,W.useRef)(null),_=(0,W.useRef)(null),O=(0,W.useRef)(null),M=(0,W.useRef)(y),T=(0,W.useRef)(g),P=(0,W.useRef)(null),I=(0,W.useRef)(r),A=ae(o);ee((()=>{const e=U.init();return e.then((e=>(C.current=e)&&S(!1))).catch((e=>"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e))),()=>_.current?function(){var e,t;null===(e=P.current)||void 0===e||e.dispose(),d?f&&se.set(o,_.current.saveViewState()):null===(t=_.current.getModel())||void 0===t||t.dispose();_.current.dispose()}():e.cancel()})),te((()=>{const n=re(C.current,e||r,t||i,o);n!==_.current.getModel()&&(f&&se.set(A,_.current.saveViewState()),_.current.setModel(n),f&&_.current.restoreViewState(se.get(o)))}),[o],x),te((()=>{_.current.updateOptions(s)}),[s],x),te((()=>{_.current.getOption(C.current.editor.EditorOption.readOnly)?_.current.setValue(r):r!==_.current.getValue()&&(_.current.executeEdits("",[{range:_.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),_.current.pushUndoStop())}),[r],x),te((()=>{C.current.editor.setModelLanguage(_.current.getModel(),i)}),[i],x),te((()=>{void 0!==u&&_.current.revealLine(u)}),[u],x),te((()=>{C.current.editor.setTheme(a)}),[a],x);const z=(0,W.useCallback)((()=>{T.current(C.current);const u=o||n,l=re(C.current,r||e,t||i,u);_.current=C.current.editor.create(O.current,{model:l,automaticLayout:!0,...s},c),f&&_.current.restoreViewState(se.get(u)),C.current.editor.setTheme(a),ue().backup||le({backup:C.current.editor.setModelMarkers}),E(!0)}),[e,t,n,r,i,o,s,c,f,a]);return(0,W.useEffect)((()=>{x&&M.current(_.current,C.current)}),[x]),(0,W.useEffect)((()=>{!k&&!x&&z()}),[k,x,z]),I.current=r,(0,W.useEffect)((()=>{var e,t;x&&b&&(null===(e=P.current)||void 0===e||e.dispose(),P.current=null===(t=_.current)||void 0===t?void 0:t.onDidChangeModelContent((e=>{const t=_.current.getValue();I.current!==t&&b(t,e)})))}),[x,b]),(0,W.useEffect)((()=>{x&&(C.current.editor.setModelMarkers=function(e,t,n){var r;null===(r=ue().backup)||void 0===r||r.call(C.current.editor,e,t,n),null===w||void 0===w||w(n)})}),[x,w]),W.createElement(J,{width:p,height:h,isEditorReady:x,loading:l,_ref:O,className:m,wrapperClassName:v})}ce.propTypes={defaultValue:q().string,defaultPath:q().string,defaultLanguage:q().string,value:q().string,language:q().string,path:q().string,theme:q().string,line:q().number,loading:q().oneOfType([q().element,q().string]),options:q().object,overrideServices:q().object,saveViewState:q().bool,keepCurrentModel:q().bool,width:q().oneOfType([q().number,q().string]),height:q().oneOfType([q().number,q().string]),className:q().string,wrapperClassName:q().string,beforeMount:q().func,onMount:q().func,onChange:q().func,onValidate:q().func},ce.defaultProps={theme:"light",loading:"Loading...",options:{},overrideServices:{},saveViewState:!0,keepCurrentModel:!1,width:"100%",height:"100%",beforeMount:ne,onMount:ne,onValidate:ne};var fe=ce,de=(0,W.memo)(fe)},4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},4470:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},u=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,s,c,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=l(f,n),f!==(i=l(t,n))&&(h&&i&&(a(i)||(s=o(i)))?(s?(s=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},u(f,{name:n,newValue:e(h,c,i)})):"undefined"!==typeof i&&u(f,{name:n,newValue:i}));return f}},8139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,l=/^\s+|\s+$/g,s="";function c(e){return e?e.replace(l,s):s}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=l.source}m.prototype.content=e;var v=[];function g(t){var n=new Error(l.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=f,n.column=d,n.source=e,!l.silent)throw n;v.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function E(){var e=h(),n=y(i);if(n){if(x(),!y(o))return g("property missing ':'");var r=y(a),l=e({type:"declaration",property:c(n[0].replace(t,s)),value:r?c(r[0].replace(t,s)):s});return y(u),l}}return b(),function(){var e,t=[];for(w(t);e=E();)!1!==e&&(t.push(e),w(t));return t}()}},8738:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},2703:function(e,t,n){"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6083:function(e,t,n){"use strict";n.d(t,{J:function(){return go},Z:function(){return Eo}});var r=n(7462),i=n(4942);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(c){s=!0,i=c}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}(e,t)||a(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.")}()}var l=n(1002);function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=n(1413),f=n(7294),d=n(4184),p=n.n(d),h=n(9864);function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return f.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(m(e)):(0,h.isFragment)(e)&&e.props?n=n.concat(m(e.props.children,t)):n.push(e))})),n}var v=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4))};function g(e){var t=f.useRef();t.current=e;var n=f.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}function y(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}var b=y()?f.useLayoutEffect:f.useEffect,w=function(e,t){var n=f.useRef(!0);b((function(){return e(n.current)}),t),b((function(){return n.current=!1,function(){n.current=!0}}),[])},x=function(e,t){w((function(t){if(!t)return e()}),t)},E=w;function k(e){var t=f.useRef(!1),n=u(f.useState(e),2),r=n[0],i=n[1];return f.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[r,function(e,n){n&&t.current||i(e)}]}function S(e){return void 0!==e}function C(e,t){var n=t||{},r=n.defaultValue,i=n.value,o=n.onChange,a=n.postState,l=u(k((function(){return S(i)?i:S(r)?"function"===typeof r?r():r:"function"===typeof e?e():e})),2),s=l[0],c=l[1],f=void 0!==i?i:s,d=a?a(f):f,p=g(o),h=u(k([f]),2),m=h[0],v=h[1];return x((function(){var e=m[0];s!==e&&p(s,e)}),[m]),x((function(){S(i)||c(i)}),[i]),[d,g((function(e,t){c(e,t),v([f],t)}))]}function _(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)||a(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.")}()}var O=function(e){return+setTimeout(e,16)},M=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(O=function(e){return window.requestAnimationFrame(e)},M=function(e){return window.cancelAnimationFrame(e)});var T=0,P=new Map;function I(e){P.delete(e)}var A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=T+=1;function r(t){if(0===t)I(n),e();else{var i=O((function(){r(t-1)}));P.set(n,i)}}return r(t),n};A.cancel=function(e){var t=P.get(e);return I(t),M(t)};var z=A,N={},R=[];function D(e,t){}function L(e,t){}function F(e,t,n){t||N[n]||(e(!1,n),N[n]=!0)}function j(e,t){F(D,e,t)}j.preMessage=function(e){R.push(e)},j.resetWarned=function(){N={}},j.noteOnce=function(e,t){F(L,e,t)};var V=j;function Z(e,t){"function"===typeof e?e(t):"object"===(0,l.Z)(e)&&e&&"current"in e&&(e.current=t)}function H(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter((function(e){return e}));return r.length<=1?r[0]:function(e){t.forEach((function(t){Z(t,e)}))}}function B(e){var t,n,r=(0,h.isMemo)(e)?e.type.type:e.type;return!!("function"!==typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render)&&!!("function"!==typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render)}var U=n(3935);function W(e){return function(e){return e instanceof HTMLElement||e instanceof SVGElement}(e)?e:e instanceof f.Component?U.findDOMNode(e):null}var K=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),q="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,Y="undefined"!==typeof n.g&&n.g.Math===Math?n.g:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")(),$="function"===typeof requestAnimationFrame?requestAnimationFrame.bind(Y):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var X=["top","right","bottom","left","width","height","size","weight"],G="undefined"!==typeof MutationObserver,Q=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&u()}function a(){$(o)}function u(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);i=e}return u}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){q&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),G?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){q&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;X.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),J=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},ee=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Y},te=ue(0,0,0,0);function ne(e){return parseFloat(e)||0}function re(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+ne(e["border-"+n+"-width"])}),0)}function ie(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return te;var r=ee(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=ne(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,u=ne(r.width),l=ne(r.height);if("border-box"===r.boxSizing&&(Math.round(u+o)!==t&&(u-=re(r,"left","right")+o),Math.round(l+a)!==n&&(l-=re(r,"top","bottom")+a)),!function(e){return e===ee(e).document.documentElement}(e)){var s=Math.round(u+o)-t,c=Math.round(l+a)-n;1!==Math.abs(s)&&(u-=s),1!==Math.abs(c)&&(l-=c)}return ue(i.left,i.top,u,l)}var oe="undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof ee(e).SVGGraphicsElement}:function(e){return e instanceof ee(e).SVGElement&&"function"===typeof e.getBBox};function ae(e){return q?oe(e)?function(e){var t=e.getBBox();return ue(0,0,t.width,t.height)}(e):ie(e):te}function ue(e,t,n,r){return{x:e,y:t,width:n,height:r}}var le=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ue(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=ae(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),se=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return J(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}(t);J(this,{target:e,contentRect:n})},ce=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new K,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof ee(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new le(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof ee(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new se(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),fe="undefined"!==typeof WeakMap?new WeakMap:new K,de=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Q.getInstance(),r=new ce(t,n,this);fe.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){de.prototype[e]=function(){var t;return(t=fe.get(this))[e].apply(t,arguments)}}));var pe="undefined"!==typeof Y.ResizeObserver?Y.ResizeObserver:de,he=new Map;var me=new pe((function(e){e.forEach((function(e){var t,n=e.target;null===(t=he.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));function ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ge=n(3997);function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,ge.Z)(r.key),r)}}function be(e,t,n){return t&&ye(e.prototype,t),n&&ye(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function we(e,t){return we=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},we(e,t)}function xe(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&we(e,t)}function Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ee(e)}function ke(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Se(e,t){if(t&&("object"===(0,l.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ke(e)}function Ce(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ee(e);if(t){var i=Ee(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Se(this,n)}}var _e=function(e){xe(n,e);var t=Ce(n);function n(){return ve(this,n),t.apply(this,arguments)}return be(n,[{key:"render",value:function(){return this.props.children}}]),n}(f.Component),Oe=f.createContext(null);function Me(e,t){var n=e.children,r=e.disabled,i=f.useRef(null),o=f.useRef(null),a=f.useContext(Oe),u="function"===typeof n,l=u?n(i):n,s=f.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!u&&f.isValidElement(l)&&B(l),p=d?l.ref:null,h=f.useMemo((function(){return H(p,i)}),[p,i]),m=function(){return W(i.current)||W(o.current)};f.useImperativeHandle(t,(function(){return m()}));var v=f.useRef(e);v.current=e;var g=f.useCallback((function(e){var t=v.current,n=t.onResize,r=t.data,i=e.getBoundingClientRect(),o=i.width,u=i.height,l=e.offsetWidth,f=e.offsetHeight,d=Math.floor(o),p=Math.floor(u);if(s.current.width!==d||s.current.height!==p||s.current.offsetWidth!==l||s.current.offsetHeight!==f){var h={width:d,height:p,offsetWidth:l,offsetHeight:f};s.current=h;var m=l===Math.round(o)?o:l,g=f===Math.round(u)?u:f,y=(0,c.Z)((0,c.Z)({},h),{},{offsetWidth:m,offsetHeight:g});null===a||void 0===a||a(y,e,r),n&&Promise.resolve().then((function(){n(y,e)}))}}),[]);return f.useEffect((function(){var e,t,n=m();return n&&!r&&(e=n,t=g,he.has(e)||(he.set(e,new Set),me.observe(e)),he.get(e).add(t)),function(){return function(e,t){he.has(e)&&(he.get(e).delete(t),he.get(e).size||(me.unobserve(e),he.delete(e)))}(n,g)}}),[i.current,r]),f.createElement(_e,{ref:o},d?f.cloneElement(l,{ref:h}):l)}var Te=f.forwardRef(Me);function Pe(e,t){var n=e.children;return("function"===typeof n?[n]:m(n)).map((function(n,i){var o=(null===n||void 0===n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return f.createElement(Te,(0,r.Z)({},e,{key:o,ref:0===i?t:void 0}),n)}))}var Ie=f.forwardRef(Pe);Ie.Collection=function(e){var t=e.children,n=e.onBatchResize,r=f.useRef(0),i=f.useRef([]),o=f.useContext(Oe),a=f.useCallback((function(e,t,a){r.current+=1;var u=r.current;i.current.push({size:e,element:t,data:a}),Promise.resolve().then((function(){u===r.current&&(null===n||void 0===n||n(i.current),i.current=[])})),null===o||void 0===o||o(e,t,a)}),[n,o]);return f.createElement(Oe.Provider,{value:a},t)};var Ae=Ie;function ze(e){var t=(0,f.useRef)(),n=(0,f.useRef)(!1);return(0,f.useEffect)((function(){return n.current=!1,function(){n.current=!0,z.cancel(t.current)}}),[]),function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];n.current||(z.cancel(t.current),t.current=z((function(){e.apply(void 0,i)})))}}var Ne={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Ne.F1&&t<=Ne.F12)return!1;switch(t){case Ne.ALT:case Ne.CAPS_LOCK:case Ne.CONTEXT_MENU:case Ne.CTRL:case Ne.DOWN:case Ne.END:case Ne.ESC:case Ne.HOME:case Ne.INSERT:case Ne.LEFT:case Ne.MAC_FF_META:case Ne.META:case Ne.NUMLOCK:case Ne.NUM_CENTER:case Ne.PAGE_DOWN:case Ne.PAGE_UP:case Ne.PAUSE:case Ne.PRINT_SCREEN:case Ne.RIGHT:case Ne.SHIFT:case Ne.UP:case Ne.WIN_KEY:case Ne.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Ne.ZERO&&e<=Ne.NINE)return!0;if(e>=Ne.NUM_ZERO&&e<=Ne.NUM_MULTIPLY)return!0;if(e>=Ne.A&&e<=Ne.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case Ne.SPACE:case Ne.QUESTION_MARK:case Ne.NUM_PLUS:case Ne.NUM_MINUS:case Ne.NUM_PERIOD:case Ne.NUM_DIVISION:case Ne.SEMICOLON:case Ne.DASH:case Ne.EQUALS:case Ne.COMMA:case Ne.PERIOD:case Ne.SLASH:case Ne.APOSTROPHE:case Ne.SINGLE_QUOTE:case Ne.OPEN_SQUARE_BRACKET:case Ne.BACKSLASH:case Ne.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Re=Ne;function De(e,t){var n,r=e.prefixCls,o=e.id,a=e.active,u=e.tab,l=u.key,s=u.tab,c=u.disabled,d=u.closeIcon,h=e.closable,m=e.renderWrapper,v=e.removeAriaLabel,g=e.editable,y=e.onClick,b=e.onRemove,w=e.onFocus,x=e.style,E="".concat(r,"-tab");f.useEffect((function(){return b}),[]);var k=g&&!1!==h&&!c;function S(e){c||y(e)}var C=f.createElement("div",{key:l,ref:t,className:p()(E,(n={},(0,i.Z)(n,"".concat(E,"-with-remove"),k),(0,i.Z)(n,"".concat(E,"-active"),a),(0,i.Z)(n,"".concat(E,"-disabled"),c),n)),style:x,onClick:S},f.createElement("div",{role:"tab","aria-selected":a,id:o&&"".concat(o,"-tab-").concat(l),className:"".concat(E,"-btn"),"aria-controls":o&&"".concat(o,"-panel-").concat(l),"aria-disabled":c,tabIndex:c?null:0,onClick:function(e){e.stopPropagation(),S(e)},onKeyDown:function(e){[Re.SPACE,Re.ENTER].includes(e.which)&&(e.preventDefault(),S(e))},onFocus:w},s),k&&f.createElement("button",{type:"button","aria-label":v||"remove",tabIndex:0,className:"".concat(E,"-remove"),onClick:function(e){var t;e.stopPropagation(),(t=e).preventDefault(),t.stopPropagation(),g.onEdit("remove",{key:l,event:t})}},d||g.removeIcon||"\xd7"));return m?m(C):C}var Le=f.forwardRef(De),Fe={width:0,height:0,left:0,top:0};var je={width:0,height:0,left:0,top:0,right:0};var Ve=n(6774),Ze=n.n(Ve),He=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Be=void 0;function Ue(e,t){var n=e.prefixCls,i=e.invalidate,o=e.item,a=e.renderItem,u=e.responsive,l=e.responsiveDisabled,d=e.registerSize,h=e.itemKey,m=e.className,v=e.style,g=e.children,y=e.display,b=e.order,w=e.component,x=void 0===w?"div":w,E=s(e,He),k=u&&!y;function S(e){d(h,e)}f.useEffect((function(){return function(){S(null)}}),[]);var C,_=a&&o!==Be?a(o):g;i||(C={opacity:k?0:1,height:k?0:Be,overflowY:k?"hidden":Be,order:u?b:Be,pointerEvents:k?"none":Be,position:k?"absolute":Be});var O={};k&&(O["aria-hidden"]=!0);var M=f.createElement(x,(0,r.Z)({className:p()(!i&&n,m),style:(0,c.Z)((0,c.Z)({},C),v)},O,E,{ref:t}),_);return u&&(M=f.createElement(Ae,{onResize:function(e){S(e.offsetWidth)},disabled:l},M)),M}var We=f.forwardRef(Ue);We.displayName="Item";var Ke=We;function qe(){var e=f.useRef(null);return function(t){e.current||(e.current=[],function(e){if("undefined"===typeof MessageChannel)z(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){(0,U.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(t)}}function Ye(e,t){var n=u(f.useState(t),2),r=n[0],i=n[1];return[r,g((function(t){e((function(){i(t)}))}))]}var $e=f.createContext(null),Xe=["component"],Ge=["className"],Qe=["className"],Je=function(e,t){var n=f.useContext($e);if(!n){var i=e.component,o=void 0===i?"div":i,a=s(e,Xe);return f.createElement(o,(0,r.Z)({},a,{ref:t}))}var u=n.className,l=s(n,Ge),c=e.className,d=s(e,Qe);return f.createElement($e.Provider,{value:null},f.createElement(Ke,(0,r.Z)({ref:t,className:p()(u,c)},l,d)))},et=f.forwardRef(Je);et.displayName="RawItem";var tt=et,nt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],rt="responsive",it="invalidate";function ot(e){return"+ ".concat(e.length," ...")}function at(e,t){var n=e.prefixCls,i=void 0===n?"rc-overflow":n,o=e.data,a=void 0===o?[]:o,l=e.renderItem,d=e.renderRawItem,h=e.itemKey,m=e.itemWidth,v=void 0===m?10:m,g=e.ssr,y=e.style,b=e.className,w=e.maxCount,x=e.renderRest,k=e.renderRawRest,S=e.suffix,C=e.component,_=void 0===C?"div":C,O=e.itemComponent,M=e.onVisibleChange,T=s(e,nt),P="full"===g,I=qe(),A=u(Ye(I,null),2),z=A[0],N=A[1],R=z||0,D=u(Ye(I,new Map),2),L=D[0],F=D[1],j=u(Ye(I,0),2),V=j[0],Z=j[1],H=u(Ye(I,0),2),B=H[0],U=H[1],W=u(Ye(I,0),2),K=W[0],q=W[1],Y=u((0,f.useState)(null),2),$=Y[0],X=Y[1],G=u((0,f.useState)(null),2),Q=G[0],J=G[1],ee=f.useMemo((function(){return null===Q&&P?Number.MAX_SAFE_INTEGER:Q||0}),[Q,z]),te=u((0,f.useState)(!1),2),ne=te[0],re=te[1],ie="".concat(i,"-item"),oe=Math.max(V,B),ae=w===rt,ue=a.length&&ae,le=w===it,se=ue||"number"===typeof w&&a.length>w,ce=(0,f.useMemo)((function(){var e=a;return ue?e=null===z&&P?a:a.slice(0,Math.min(a.length,R/v)):"number"===typeof w&&(e=a.slice(0,w)),e}),[a,v,z,w,ue]),fe=(0,f.useMemo)((function(){return ue?a.slice(ee+1):a.slice(ce.length)}),[a,ce,ue,ee]),de=(0,f.useCallback)((function(e,t){var n;return"function"===typeof h?h(e):null!==(n=h&&(null===e||void 0===e?void 0:e[h]))&&void 0!==n?n:t}),[h]),pe=(0,f.useCallback)(l||function(e){return e},[l]);function he(e,t,n){(Q!==e||void 0!==t&&t!==$)&&(J(e),n||(re(e<a.length-1),null===M||void 0===M||M(e)),void 0!==t&&X(t))}function me(e,t){F((function(n){var r=new Map(n);return null===t?r.delete(e):r.set(e,t),r}))}function ve(e){return L.get(de(ce[e],e))}E((function(){if(R&&"number"===typeof oe&&ce){var e=K,t=ce.length,n=t-1;if(!t)return void he(0,null);for(var r=0;r<t;r+=1){var i=ve(r);if(P&&(i=i||0),void 0===i){he(r-1,void 0,!0);break}if(e+=i,0===n&&e<=R||r===n-1&&e+ve(n)<=R){he(n,null);break}if(e+oe>R){he(r-1,e-i-K+B);break}}S&&ve(0)+K>R&&X(null)}}),[R,L,B,K,de,ce]);var ge=ne&&!!fe.length,ye={};null!==$&&ue&&(ye={position:"absolute",left:$,top:0});var be,we={prefixCls:ie,responsive:ue,component:O,invalidate:le},xe=d?function(e,t){var n=de(e,t);return f.createElement($e.Provider,{key:n,value:(0,c.Z)((0,c.Z)({},we),{},{order:t,item:e,itemKey:n,registerSize:me,display:t<=ee})},d(e,t))}:function(e,t){var n=de(e,t);return f.createElement(Ke,(0,r.Z)({},we,{order:t,key:n,item:e,renderItem:pe,itemKey:n,registerSize:me,display:t<=ee}))},Ee={order:ge?ee:Number.MAX_SAFE_INTEGER,className:"".concat(ie,"-rest"),registerSize:function(e,t){U(t),Z(B)},display:ge};if(k)k&&(be=f.createElement($e.Provider,{value:(0,c.Z)((0,c.Z)({},we),Ee)},k(fe)));else{var ke=x||ot;be=f.createElement(Ke,(0,r.Z)({},we,Ee),"function"===typeof ke?ke(fe):ke)}var Se=f.createElement(_,(0,r.Z)({className:p()(!le&&i,b),style:y,ref:t},T),ce.map(xe),se?be:null,S&&f.createElement(Ke,(0,r.Z)({},we,{responsive:ae,responsiveDisabled:!ue,order:ee,className:"".concat(ie,"-suffix"),registerSize:function(e,t){q(t)},display:!0,style:ye}),S));return ae&&(Se=f.createElement(Ae,{onResize:function(e,t){N(t.clientWidth)},disabled:!ue},Se)),Se}var ut=f.forwardRef(at);ut.displayName="Overflow",ut.Item=tt,ut.RESPONSIVE=rt,ut.INVALIDATE=it;var lt=ut;function st(e,t){var n=(0,c.Z)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}var ct=["children","locked"],ft=f.createContext(null);function dt(e){var t=e.children,n=e.locked,r=s(e,ct),i=f.useContext(ft),o=function(e,t,n){var r=f.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}((function(){return function(e,t){var n=(0,c.Z)({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}(i,r)}),[i,r],(function(e,t){return!n&&(e[0]!==t[0]||!Ze()(e[1],t[1]))}));return f.createElement(ft.Provider,{value:o},t)}function pt(e,t,n,r){var i=f.useContext(ft),o=i.activeKey,a=i.onActive,u=i.onInactive,l={active:o===e};return t||(l.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),a(e)},l.onMouseLeave=function(t){null===r||void 0===r||r({key:e,domEvent:t}),u(e)}),l}var ht=["item"];function mt(e){var t=e.item,n=s(e,ht);return Object.defineProperty(n,"item",{get:function(){return V(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function vt(e){var t=e.icon,n=e.props,r=e.children;return("function"===typeof t?f.createElement(t,(0,c.Z)({},n)):t)||r||null}function gt(e){var t=f.useContext(ft),n=t.mode,r=t.rtl,i=t.inlineIndent;if("inline"!==n)return null;return r?{paddingRight:e*i}:{paddingLeft:e*i}}var yt=[],bt=f.createContext(null);function wt(){return f.useContext(bt)}var xt=f.createContext(yt);function Et(e){var t=f.useContext(xt);return f.useMemo((function(){return void 0!==e?[].concat(_(t),[e]):t}),[t,e])}var kt=f.createContext(null),St=f.createContext(null);function Ct(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function _t(e){return Ct(f.useContext(St),e)}var Ot=f.createContext({}),Mt=["title","attribute","elementRef"],Tt=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Pt=["active"],It=function(e){xe(n,e);var t=Ce(n);function n(){return ve(this,n),t.apply(this,arguments)}return be(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,i=e.elementRef,o=st(s(e,Mt),["eventKey"]);return V(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),f.createElement(lt.Item,(0,r.Z)({},n,{title:"string"===typeof t?t:void 0},o,{ref:i}))}}]),n}(f.Component),At=function(e){var t,n=e.style,o=e.className,a=e.eventKey,u=(e.warnKey,e.disabled),l=e.itemIcon,d=e.children,h=e.role,m=e.onMouseEnter,v=e.onMouseLeave,g=e.onClick,y=e.onKeyDown,b=e.onFocus,w=s(e,Tt),x=_t(a),E=f.useContext(ft),k=E.prefixCls,S=E.onItemClick,C=E.disabled,O=E.overflowDisabled,M=E.itemIcon,T=E.selectedKeys,P=E.onActive,I=f.useContext(Ot)._internalRenderMenuItem,A="".concat(k,"-item"),z=f.useRef(),N=f.useRef(),R=C||u,D=Et(a);var L=function(e){return{key:a,keyPath:_(D).reverse(),item:z.current,domEvent:e}},F=l||M,j=pt(a,R,m,v),V=j.active,Z=s(j,Pt),H=T.includes(a),B=gt(D.length),U={};"option"===e.role&&(U["aria-selected"]=H);var W=f.createElement(It,(0,r.Z)({ref:z,elementRef:N,role:null===h?"none":h||"menuitem",tabIndex:u?null:-1,"data-menu-id":O&&x?null:x},w,Z,U,{component:"li","aria-disabled":u,style:(0,c.Z)((0,c.Z)({},B),n),className:p()(A,(t={},(0,i.Z)(t,"".concat(A,"-active"),V),(0,i.Z)(t,"".concat(A,"-selected"),H),(0,i.Z)(t,"".concat(A,"-disabled"),R),t),o),onClick:function(e){if(!R){var t=L(e);null===g||void 0===g||g(mt(t)),S(t)}},onKeyDown:function(e){if(null===y||void 0===y||y(e),e.which===Re.ENTER){var t=L(e);null===g||void 0===g||g(mt(t)),S(t)}},onFocus:function(e){P(a),null===b||void 0===b||b(e)}}),d,f.createElement(vt,{props:(0,c.Z)((0,c.Z)({},e),{},{isSelected:H}),icon:F}));return I&&(W=I(W,e,{selected:H})),W};var zt=function(e){var t=e.eventKey,n=wt(),r=Et(t);return f.useEffect((function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}}),[r]),n?null:f.createElement(At,e)},Nt=["label","children","key","type"];function Rt(e,t){return m(e).map((function(e,n){if(f.isValidElement(e)){var r,i,o=e.key,a=null!==(r=null===(i=e.props)||void 0===i?void 0:i.eventKey)&&void 0!==r?r:o;(null===a||void 0===a)&&(a="tmp_key-".concat([].concat(_(t),[n]).join("-")));var u={key:a,eventKey:a};return f.cloneElement(e,u)}return e}))}function Dt(e){return(e||[]).map((function(e,t){if(e&&"object"===(0,l.Z)(e)){var n=e.label,i=e.children,o=e.key,a=e.type,u=s(e,Nt),c=null!==o&&void 0!==o?o:"tmp-".concat(t);return i||"group"===a?"group"===a?f.createElement(qi,(0,r.Z)({key:c},u,{title:n}),Dt(i)):f.createElement(wi,(0,r.Z)({key:c},u,{title:n}),Dt(i)):"divider"===a?f.createElement(Yi,(0,r.Z)({key:c},u)):f.createElement(zt,(0,r.Z)({key:c},u),n)}return null})).filter((function(e){return e}))}function Lt(e,t,n){var r=e;return t&&(r=Dt(t)),Rt(r,n)}function Ft(e){var t=f.useRef(e);t.current=e;var n=f.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return e?n:void 0}var jt=["className","children"],Vt=function(e,t){var n=e.className,i=e.children,o=s(e,jt),a=f.useContext(ft),u=a.prefixCls,l=a.mode,c=a.rtl;return f.createElement("ul",(0,r.Z)({className:p()(u,c&&"".concat(u,"-rtl"),"".concat(u,"-sub"),"".concat(u,"-").concat("inline"===l?"inline":"vertical"),n)},o,{"data-menu-list":!0,ref:t}),i)},Zt=f.forwardRef(Vt);Zt.displayName="SubMenuList";var Ht=Zt;function Bt(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}function Ut(e,t,n,r){var i=U.unstable_batchedUpdates?function(e){U.unstable_batchedUpdates(n,e)}:n;return null!==e&&void 0!==e&&e.addEventListener&&e.addEventListener(t,i,r),{remove:function(){null!==e&&void 0!==e&&e.removeEventListener&&e.removeEventListener(t,i,r)}}}var Wt=(0,f.forwardRef)((function(e,t){var n=e.didUpdate,r=e.getContainer,i=e.children,o=(0,f.useRef)(),a=(0,f.useRef)();(0,f.useImperativeHandle)(t,(function(){return{}}));var u=(0,f.useRef)(!1);return!u.current&&y()&&(a.current=r(),o.current=a.current.parentNode,u.current=!0),(0,f.useEffect)((function(){null===n||void 0===n||n(e)})),(0,f.useEffect)((function(){return null===a.current.parentNode&&null!==o.current&&o.current.appendChild(a.current),function(){var e,t;null===(e=a.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(a.current)}}),[]),a.current?U.createPortal(i,a.current):null}));function Kt(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var qt=f.createContext({});var Yt=function(e){xe(n,e);var t=Ce(n);function n(){return ve(this,n),t.apply(this,arguments)}return be(n,[{key:"render",value:function(){return this.props.children}}]),n}(f.Component),$t=Yt,Xt="none",Gt="appear",Qt="enter",Jt="leave",en="none",tn="prepare",nn="start",rn="active",on="end",an="prepared";function un(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var ln=function(e,t){var n={animationend:un("Animation","AnimationEnd"),transitionend:un("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}(y(),"undefined"!==typeof window?window:{}),sn={};if(y()){var cn=document.createElement("div");sn=cn.style}var fn={};function dn(e){if(fn[e])return fn[e];var t=ln[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i<r;i+=1){var o=n[i];if(Object.prototype.hasOwnProperty.call(t,o)&&o in sn)return fn[e]=t[o],fn[e]}return""}var pn=dn("animationend"),hn=dn("transitionend"),mn=!(!pn||!hn),vn=pn||"animationend",gn=hn||"transitionend";function yn(e,t){return e?"object"===(0,l.Z)(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}var bn=y()?f.useLayoutEffect:f.useEffect,wn=[tn,nn,rn,on],xn=[tn,an];function En(e){return e===rn||e===on}var kn=function(e,t,n){var r=u(k(en),2),i=r[0],o=r[1],a=function(){var e=f.useRef(null);function t(){z.cancel(e.current)}return f.useEffect((function(){return function(){t()}}),[]),[function n(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var o=z((function(){i<=1?r({isCanceled:function(){return o!==e.current}}):n(r,i-1)}));e.current=o},t]}(),l=u(a,2),s=l[0],c=l[1];var d=t?xn:wn;return bn((function(){if(i!==en&&i!==on){var e=d.indexOf(i),t=d[e+1],r=n(i);false===r?o(t,!0):t&&s((function(e){function n(){e.isCanceled()||o(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,i]),f.useEffect((function(){return function(){c()}}),[]),[function(){o(tn,!0)},i]};function Sn(e,t,n,r){var o=r.motionEnter,a=void 0===o||o,l=r.motionAppear,s=void 0===l||l,d=r.motionLeave,p=void 0===d||d,h=r.motionDeadline,m=r.motionLeaveImmediately,v=r.onAppearPrepare,g=r.onEnterPrepare,y=r.onLeavePrepare,b=r.onAppearStart,w=r.onEnterStart,x=r.onLeaveStart,E=r.onAppearActive,S=r.onEnterActive,C=r.onLeaveActive,_=r.onAppearEnd,O=r.onEnterEnd,M=r.onLeaveEnd,T=r.onVisibleChanged,P=u(k(),2),I=P[0],A=P[1],z=u(k(Xt),2),N=z[0],R=z[1],D=u(k(null),2),L=D[0],F=D[1],j=(0,f.useRef)(!1),V=(0,f.useRef)(null);function Z(){return n()}var H=(0,f.useRef)(!1);function B(){R(Xt,!0),F(null,!0)}function U(e){var t=Z();if(!e||e.deadline||e.target===t){var n,r=H.current;N===Gt&&r?n=null===_||void 0===_?void 0:_(t,e):N===Qt&&r?n=null===O||void 0===O?void 0:O(t,e):N===Jt&&r&&(n=null===M||void 0===M?void 0:M(t,e)),N!==Xt&&r&&!1!==n&&B()}}var W=function(e){var t=(0,f.useRef)(),n=(0,f.useRef)(e);n.current=e;var r=f.useCallback((function(e){n.current(e)}),[]);function i(e){e&&(e.removeEventListener(gn,r),e.removeEventListener(vn,r))}return f.useEffect((function(){return function(){i(t.current)}}),[]),[function(e){t.current&&t.current!==e&&i(t.current),e&&e!==t.current&&(e.addEventListener(gn,r),e.addEventListener(vn,r),t.current=e)},i]}(U),K=u(W,1)[0],q=function(e){var t,n,r;switch(e){case Gt:return t={},(0,i.Z)(t,tn,v),(0,i.Z)(t,nn,b),(0,i.Z)(t,rn,E),t;case Qt:return n={},(0,i.Z)(n,tn,g),(0,i.Z)(n,nn,w),(0,i.Z)(n,rn,S),n;case Jt:return r={},(0,i.Z)(r,tn,y),(0,i.Z)(r,nn,x),(0,i.Z)(r,rn,C),r;default:return{}}},Y=f.useMemo((function(){return q(N)}),[N]),$=u(kn(N,!e,(function(e){if(e===tn){var t=Y.prepare;return!!t&&t(Z())}var n;G in Y&&F((null===(n=Y[G])||void 0===n?void 0:n.call(Y,Z(),null))||null);return G===rn&&(K(Z()),h>0&&(clearTimeout(V.current),V.current=setTimeout((function(){U({deadline:!0})}),h))),G===an&&B(),true})),2),X=$[0],G=$[1],Q=En(G);H.current=Q,bn((function(){A(t);var n,r=j.current;j.current=!0,!r&&t&&s&&(n=Gt),r&&t&&a&&(n=Qt),(r&&!t&&p||!r&&m&&!t&&p)&&(n=Jt);var i=q(n);n&&(e||i.prepare)?(R(n),X()):R(Xt)}),[t]),(0,f.useEffect)((function(){(N===Gt&&!s||N===Qt&&!a||N===Jt&&!p)&&R(Xt)}),[s,a,p]),(0,f.useEffect)((function(){return function(){j.current=!1,clearTimeout(V.current)}}),[]);var J=f.useRef(!1);(0,f.useEffect)((function(){I&&(J.current=!0),void 0!==I&&N===Xt&&((J.current||I)&&(null===T||void 0===T||T(I)),J.current=!0)}),[I,N]);var ee=L;return Y.prepare&&G===nn&&(ee=(0,c.Z)({transition:"none"},ee)),[N,G,ee,null!==I&&void 0!==I?I:t]}var Cn=function(e){var t=e;"object"===(0,l.Z)(e)&&(t=e.transitionSupport);var n=f.forwardRef((function(e,n){var r=e.visible,o=void 0===r||r,a=e.removeOnLeave,l=void 0===a||a,s=e.forceRender,d=e.children,h=e.motionName,m=e.leavedClassName,v=e.eventProps,g=function(e,n){return!(!e.motionName||!t||!1===n)}(e,f.useContext(qt).motion),y=(0,f.useRef)(),b=(0,f.useRef)();var w=u(Sn(g,o,(function(){try{return y.current instanceof HTMLElement?y.current:W(b.current)}catch(e){return null}}),e),4),x=w[0],E=w[1],k=w[2],S=w[3],C=f.useRef(S);S&&(C.current=!0);var _,O=f.useCallback((function(e){y.current=e,Z(n,e)}),[n]),M=(0,c.Z)((0,c.Z)({},v),{},{visible:o});if(d)if(x===Xt)_=S?d((0,c.Z)({},M),O):!l&&C.current&&m?d((0,c.Z)((0,c.Z)({},M),{},{className:m}),O):s||!l&&!m?d((0,c.Z)((0,c.Z)({},M),{},{style:{display:"none"}}),O):null;else{var T,P;E===tn?P="prepare":En(E)?P="active":E===nn&&(P="start");var I=yn(h,"".concat(x,"-").concat(P));_=d((0,c.Z)((0,c.Z)({},M),{},{className:p()(yn(h,x),(T={},(0,i.Z)(T,I,I&&P),(0,i.Z)(T,h,"string"===typeof h),T)),style:k}),O)}else _=null;f.isValidElement(_)&&B(_)&&(_.ref||(_=f.cloneElement(_,{ref:O})));return f.createElement($t,{ref:b},_)}));return n.displayName="CSSMotion",n}(mn),_n="add",On="keep",Mn="remove",Tn="removed";function Pn(e){var t;return t=e&&"object"===(0,l.Z)(e)&&"key"in e?e:{key:e},(0,c.Z)((0,c.Z)({},t),{},{key:String(t.key)})}function In(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(Pn)}function An(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,o=In(e),a=In(t);o.forEach((function(e){for(var t=!1,o=r;o<i;o+=1){var u=a[o];if(u.key===e.key){r<o&&(n=n.concat(a.slice(r,o).map((function(e){return(0,c.Z)((0,c.Z)({},e),{},{status:_n})}))),r=o),n.push((0,c.Z)((0,c.Z)({},u),{},{status:On})),r+=1,t=!0;break}}t||n.push((0,c.Z)((0,c.Z)({},e),{},{status:Mn}))})),r<i&&(n=n.concat(a.slice(r).map((function(e){return(0,c.Z)((0,c.Z)({},e),{},{status:_n})}))));var u={};n.forEach((function(e){var t=e.key;u[t]=(u[t]||0)+1}));var l=Object.keys(u).filter((function(e){return u[e]>1}));return l.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==Mn}))).forEach((function(t){t.key===e&&(t.status=On)}))})),n}var zn=["component","children","onVisibleChanged","onAllRemoved"],Nn=["status"],Rn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cn,n=function(e){xe(o,e);var n=Ce(o);function o(){var e;ve(this,o);for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return e=n.call.apply(n,[this].concat(r)),(0,i.Z)(ke(e),"state",{keyEntities:[]}),(0,i.Z)(ke(e),"removeKey",(function(t){var n=e.state.keyEntities.map((function(e){return e.key!==t?e:(0,c.Z)((0,c.Z)({},e),{},{status:Tn})}));return e.setState({keyEntities:n}),n.filter((function(e){return e.status!==Tn})).length})),e}return be(o,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,i=this.props,o=i.component,a=i.children,u=i.onVisibleChanged,l=i.onAllRemoved,c=s(i,zn),d=o||f.Fragment,p={};return Rn.forEach((function(e){p[e]=c[e],delete c[e]})),delete c.keys,f.createElement(d,c,n.map((function(n){var i=n.status,o=s(n,Nn),c=i===_n||i===On;return f.createElement(t,(0,r.Z)({},p,{key:o.key,visible:c,eventProps:o,onVisibleChanged:function(t){(null===u||void 0===u||u(t,{key:o.key}),t)||0===e.removeKey(o.key)&&l&&l()}}),a)})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,i=In(n);return{keyEntities:An(r,i).filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==Tn||e.status!==Mn}))}}}]),o}(f.Component);(0,i.Z)(n,"defaultProps",{component:"div"})}(mn);var Dn,Ln=Cn;function Fn(e){var t=e.prefixCls,n=e.motion,r=e.animation,i=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:i?{motionName:i}:null)}function jn(e){var t=e.prefixCls,n=e.visible,i=e.zIndex,o=e.mask,a=e.maskMotion,u=e.maskAnimation,l=e.maskTransitionName;if(!o)return null;var s={};return(a||l||u)&&(s=(0,c.Z)({motionAppear:!0},Fn({motion:a,prefixCls:t,transitionName:l,animation:u}))),f.createElement(Ln,(0,r.Z)({},s,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return f.createElement("div",{style:{zIndex:i},className:p()("".concat(t,"-mask"),n)})}))}function Vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(n),!0).forEach((function(t){Bn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hn(e){return Hn="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},Hn(e)}function Bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Un={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function Wn(){if(void 0!==Dn)return Dn;Dn="";var e=document.createElement("p").style;for(var t in Un)t+"Transform"in e&&(Dn=t);return Dn}function Kn(){return Wn()?"".concat(Wn(),"TransitionProperty"):"transitionProperty"}function qn(){return Wn()?"".concat(Wn(),"Transform"):"transform"}function Yn(e,t){var n=Kn();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function $n(e,t){var n=qn();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var Xn,Gn=/matrix\((.*)\)/,Qn=/matrix3d\((.*)\)/;function Jn(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function er(e,t,n){var r=n;if("object"!==Hn(t))return"undefined"!==typeof r?("number"===typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):Xn(e,t);for(var i in t)t.hasOwnProperty(i)&&er(e,i,t[i])}function tr(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var i=e.document;"number"!==typeof(n=i.documentElement[r])&&(n=i.body[r])}return n}function nr(e){return tr(e)}function rr(e){return tr(e,!0)}function ir(e){var t=function(e){var t,n,r,i=e.ownerDocument,o=i.body,a=i&&i.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),r=Math.floor(t.top),{left:n-=a.clientLeft||o.clientLeft||0,top:r-=a.clientTop||o.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=nr(r),t.top+=rr(r),t}function or(e){return null!==e&&void 0!==e&&e==e.window}function ar(e){return or(e)?e.document:9===e.nodeType?e:e.ownerDocument}var ur=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),lr=/^(top|right|bottom|left)$/;function sr(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function cr(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function fr(e,t,n){"static"===er(e,"position")&&(e.style.position="relative");var r=-999,i=-999,o=sr("left",n),a=sr("top",n),u=cr(o),l=cr(a);"left"!==o&&(r=999),"top"!==a&&(i=999);var s,c="",f=ir(e);("left"in t||"top"in t)&&(c=(s=e).style.transitionProperty||s.style[Kn()]||"",Yn(e,"none")),"left"in t&&(e.style[u]="",e.style[o]="".concat(r,"px")),"top"in t&&(e.style[l]="",e.style[a]="".concat(i,"px")),Jn(e);var d=ir(e),p={};for(var h in t)if(t.hasOwnProperty(h)){var m=sr(h,n),v="left"===h?r:i,g=f[h]-d[h];p[m]=m===h?v+g:v-g}er(e,p),Jn(e),("left"in t||"top"in t)&&Yn(e,c);var y={};for(var b in t)if(t.hasOwnProperty(b)){var w=sr(b,n),x=t[b]-f[b];y[w]=b===w?p[w]+x:p[w]-x}er(e,y)}function dr(e,t){var n=ir(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(qn());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(e),i={x:r.x,y:r.y};"left"in t&&(i.x=r.x+t.left-n.left),"top"in t&&(i.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(qn());if(r&&"none"!==r){var i,o=r.match(Gn);o?((i=(o=o[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,i[5]=t.y,$n(e,"matrix(".concat(i.join(","),")"))):((i=r.match(Qn)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,i[13]=t.y,$n(e,"matrix3d(".concat(i.join(","),")")))}else $n(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,i)}function pr(e,t){for(var n=0;n<e.length;n++)t(e[n])}function hr(e){return"border-box"===Xn(e,"boxSizing")}"undefined"!==typeof window&&(Xn=window.getComputedStyle?function(e,t,n){var r=n,i="",o=ar(e);return(r=r||o.defaultView.getComputedStyle(e,null))&&(i=r.getPropertyValue(t)||r[t]),i}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(ur.test(n)&&!lr.test(t)){var r=e.style,i=r.left,o=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,r.left="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r.left=i,e.runtimeStyle.left=o}return""===n?"auto":n});var mr=["margin","border","padding"];function vr(e,t,n){var r,i={},o=e.style;for(r in t)t.hasOwnProperty(r)&&(i[r]=o[r],o[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(o[r]=i[r])}function gr(e,t,n){var r,i,o,a=0;for(i=0;i<t.length;i++)if(r=t[i])for(o=0;o<n.length;o++){var u=void 0;u="border"===r?"".concat(r).concat(n[o],"Width"):r+n[o],a+=parseFloat(Xn(e,u))||0}return a}var yr={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function br(e,t,n){var r=n;if(or(e))return"width"===t?yr.viewportWidth(e):yr.viewportHeight(e);if(9===e.nodeType)return"width"===t?yr.docWidth(e):yr.docHeight(e);var i="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=hr(e),u=0;(null===o||void 0===o||o<=0)&&(o=void 0,(null===(u=Xn(e,t))||void 0===u||Number(u)<0)&&(u=e.style[t]||0),u=Math.floor(parseFloat(u))||0),void 0===r&&(r=a?1:-1);var l=void 0!==o||a,s=o||u;return-1===r?l?s-gr(e,["border","padding"],i):u:l?1===r?s:s+(2===r?-gr(e,["border"],i):gr(e,["margin"],i)):u+gr(e,mr.slice(r),i)}pr(["Width","Height"],(function(e){yr["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],yr["viewport".concat(e)](n))},yr["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,i=r.body,o=r.documentElement[n];return"CSS1Compat"===r.compatMode&&o||i&&i[n]||o}}));var wr={position:"absolute",visibility:"hidden",display:"block"};function xr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t[0];return 0!==i.offsetWidth?r=br.apply(void 0,t):vr(i,wr,(function(){r=br.apply(void 0,t)})),r}function Er(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}pr(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);yr["outer".concat(t)]=function(t,n){return t&&xr(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];yr[e]=function(t,r){var i=r;return void 0!==i?t?(hr(t)&&(i+=gr(t,["padding","border"],n)),er(t,e,i)):void 0:t&&xr(t,e,-1)}}));var kr={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:ar,offset:function(e,t,n){if("undefined"===typeof t)return ir(e);!function(e,t,n){if(n.ignoreShake){var r=ir(e),i=r.left.toFixed(0),o=r.top.toFixed(0),a=t.left.toFixed(0),u=t.top.toFixed(0);if(i===a&&o===u)return}n.useCssRight||n.useCssBottom?fr(e,t,n):n.useCssTransform&&qn()in document.body.style?dr(e,t):fr(e,t,n)}(e,t,n||{})},isWindow:or,each:pr,css:er,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:Er,getWindowScrollLeft:function(e){return nr(e)},getWindowScrollTop:function(e){return rr(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)kr.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};Er(kr,yr);var Sr=kr.getParent;function Cr(e){if(kr.isWindow(e)||9===e.nodeType)return null;var t,n=kr.getDocument(e).body,r=kr.css(e,"position");if(!("fixed"===r||"absolute"===r))return"html"===e.nodeName.toLowerCase()?null:Sr(e);for(t=Sr(e);t&&t!==n&&9!==t.nodeType;t=Sr(t))if("static"!==(r=kr.css(t,"position")))return t;return null}var _r=kr.getParent;function Or(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=Cr(e),i=kr.getDocument(e),o=i.defaultView||i.parentWindow,a=i.body,u=i.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===u||"visible"===kr.css(r,"overflow")){if(r===a||r===u)break}else{var l=kr.offset(r);l.left+=r.clientLeft,l.top+=r.clientTop,n.top=Math.max(n.top,l.top),n.right=Math.min(n.right,l.left+r.clientWidth),n.bottom=Math.min(n.bottom,l.top+r.clientHeight),n.left=Math.max(n.left,l.left)}r=Cr(r)}var s=null;kr.isWindow(e)||9===e.nodeType||(s=e.style.position,"absolute"===kr.css(e,"position")&&(e.style.position="fixed"));var c=kr.getWindowScrollLeft(o),f=kr.getWindowScrollTop(o),d=kr.viewportWidth(o),p=kr.viewportHeight(o),h=u.scrollWidth,m=u.scrollHeight,v=window.getComputedStyle(a);if("hidden"===v.overflowX&&(h=o.innerWidth),"hidden"===v.overflowY&&(m=o.innerHeight),e.style&&(e.style.position=s),t||function(e){if(kr.isWindow(e)||9===e.nodeType)return!1;var t=kr.getDocument(e),n=t.body,r=null;for(r=_r(e);r&&r!==n&&r!==t;r=_r(r))if("fixed"===kr.css(r,"position"))return!0;return!1}(e))n.left=Math.max(n.left,c),n.top=Math.max(n.top,f),n.right=Math.min(n.right,c+d),n.bottom=Math.min(n.bottom,f+p);else{var g=Math.max(h,c+d);n.right=Math.min(n.right,g);var y=Math.max(m,f+p);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function Mr(e){var t,n,r;if(kr.isWindow(e)||9===e.nodeType){var i=kr.getWindow(e);t={left:kr.getWindowScrollLeft(i),top:kr.getWindowScrollTop(i)},n=kr.viewportWidth(i),r=kr.viewportHeight(i)}else t=kr.offset(e),n=kr.outerWidth(e),r=kr.outerHeight(e);return t.width=n,t.height=r,t}function Tr(e,t){var n=t.charAt(0),r=t.charAt(1),i=e.width,o=e.height,a=e.left,u=e.top;return"c"===n?u+=o/2:"b"===n&&(u+=o),"c"===r?a+=i/2:"r"===r&&(a+=i),{left:a,top:u}}function Pr(e,t,n,r,i){var o=Tr(t,n[1]),a=Tr(e,n[0]),u=[a.left-o.left,a.top-o.top];return{left:Math.round(e.left-u[0]+r[0]-i[0]),top:Math.round(e.top-u[1]+r[1]-i[1])}}function Ir(e,t,n){return e.left<n.left||e.left+t.width>n.right}function Ar(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function zr(e,t,n){var r=[];return kr.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Nr(e,t){return e[t]=-e[t],e}function Rr(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function Dr(e,t){e[0]=Rr(e[0],t.width),e[1]=Rr(e[1],t.height)}function Lr(e,t,n,r){var i=n.points,o=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,l=n.source||e;o=[].concat(o),a=[].concat(a);var s={},c=0,f=Or(l,!(!(u=u||{})||!u.alwaysByViewport)),d=Mr(l);Dr(o,d),Dr(a,t);var p=Pr(d,t,i,o,a),h=kr.merge(d,p);if(f&&(u.adjustX||u.adjustY)&&r){if(u.adjustX&&Ir(p,d,f)){var m=zr(i,/[lr]/gi,{l:"r",r:"l"}),v=Nr(o,0),g=Nr(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(Pr(d,t,m,v,g),d,f)||(c=1,i=m,o=v,a=g)}if(u.adjustY&&Ar(p,d,f)){var y=zr(i,/[tb]/gi,{t:"b",b:"t"}),b=Nr(o,1),w=Nr(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(Pr(d,t,y,b,w),d,f)||(c=1,i=y,o=b,a=w)}c&&(p=Pr(d,t,i,o,a),kr.mix(h,p));var x=Ir(p,d,f),E=Ar(p,d,f);if(x||E){var k=i;x&&(k=zr(i,/[lr]/gi,{l:"r",r:"l"})),E&&(k=zr(i,/[tb]/gi,{t:"b",b:"t"})),i=k,o=n.offset||[0,0],a=n.targetOffset||[0,0]}s.adjustX=u.adjustX&&x,s.adjustY=u.adjustY&&E,(s.adjustX||s.adjustY)&&(h=function(e,t,n,r){var i=kr.clone(e),o={width:t.width,height:t.height};return r.adjustX&&i.left<n.left&&(i.left=n.left),r.resizeWidth&&i.left>=n.left&&i.left+o.width>n.right&&(o.width-=i.left+o.width-n.right),r.adjustX&&i.left+o.width>n.right&&(i.left=Math.max(n.right-o.width,n.left)),r.adjustY&&i.top<n.top&&(i.top=n.top),r.resizeHeight&&i.top>=n.top&&i.top+o.height>n.bottom&&(o.height-=i.top+o.height-n.bottom),r.adjustY&&i.top+o.height>n.bottom&&(i.top=Math.max(n.bottom-o.height,n.top)),kr.mix(i,o)}(p,d,f,s))}return h.width!==d.width&&kr.css(l,"width",kr.width(l)+h.width-d.width),h.height!==d.height&&kr.css(l,"height",kr.height(l)+h.height-d.height),kr.offset(l,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:i,offset:o,targetOffset:a,overflow:s}}function Fr(e,t,n){var r=n.target||t,i=Mr(r),o=!function(e,t){var n=Or(e,t),r=Mr(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport);return Lr(e,i,n,o)}Fr.__getOffsetParent=Cr,Fr.__getVisibleRectForElement=Or;var jr=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Set;function i(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=r.has(e);if(V(!a,"Warning: There may be circular references"),a)return!1;if(e===t)return!0;if(n&&o>1)return!1;r.add(e);var u=o+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var s=0;s<e.length;s++)if(!i(e[s],t[s],u))return!1;return!0}if(e&&t&&"object"===(0,l.Z)(e)&&"object"===(0,l.Z)(t)){var c=Object.keys(e);return c.length===Object.keys(t).length&&c.every((function(n){return i(e[n],t[n],u)}))}return!1}return i(e,t)},Vr=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var i=e.getBoundingClientRect(),o=i.width,a=i.height;if(o||a)return!0}}return!1};function Zr(e,t){var n=null,r=null;var i=new pe((function(e){var i=u(e,1)[0].target;if(document.documentElement.contains(i)){var o=i.getBoundingClientRect(),a=o.width,l=o.height,s=Math.floor(a),c=Math.floor(l);n===s&&r===c||Promise.resolve().then((function(){t({width:s,height:c})})),n=s,r=c}}));return e&&i.observe(e),function(){i.disconnect()}}function Hr(e){return"function"!==typeof e?null:e()}function Br(e){return"object"===(0,l.Z)(e)&&e?e:null}var Ur=function(e,t){var n=e.children,r=e.disabled,i=e.target,o=e.align,a=e.onAlign,l=e.monitorWindowResize,s=e.monitorBufferTime,c=void 0===s?0:s,d=f.useRef({}),p=f.useRef(),h=f.Children.only(n),m=f.useRef({});m.current.disabled=r,m.current.target=i,m.current.align=o,m.current.onAlign=a;var v=function(e,t){var n=f.useRef(!1),r=f.useRef(null);function i(){window.clearTimeout(r.current)}return[function o(a){if(i(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,o()}),t);else{if(!1===e(a))return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,i()}]}((function(){var e=m.current,t=e.disabled,n=e.target,r=e.align,i=e.onAlign,o=p.current;if(!t&&n&&o){var a,u=Hr(n),l=Br(n);d.current.element=u,d.current.point=l,d.current.align=r;var s=document.activeElement;return u&&Vr(u)?a=Fr(o,u,r):l&&(a=function(e,t,n){var r,i,o=kr.getDocument(e),a=o.defaultView||o.parentWindow,u=kr.getWindowScrollLeft(a),l=kr.getWindowScrollTop(a),s=kr.viewportWidth(a),c=kr.viewportHeight(a),f={left:r="pageX"in t?t.pageX:u+t.clientX,top:i="pageY"in t?t.pageY:l+t.clientY,width:0,height:0},d=r>=0&&r<=u+s&&i>=0&&i<=l+c,p=[n.points[0],"cc"];return Lr(e,f,Zn(Zn({},n),{},{points:p}),d)}(o,l,r)),function(e,t){e!==document.activeElement&&Bt(t,e)&&"function"===typeof e.focus&&e.focus()}(s,o),i&&a&&i(o,a),!0}return!1}),c),g=u(v,2),y=g[0],b=g[1],w=u(f.useState(),2),x=w[0],k=w[1],S=u(f.useState(),2),C=S[0],_=S[1];return E((function(){k(Hr(i)),_(Br(i))})),f.useEffect((function(){var e,t;d.current.element===x&&((e=d.current.point)===(t=C)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&jr(d.current.align,o)||y()})),f.useEffect((function(){return Zr(p.current,y)}),[p.current]),f.useEffect((function(){return Zr(x,y)}),[x]),f.useEffect((function(){r?b():y()}),[r]),f.useEffect((function(){if(l)return Ut(window,"resize",y).remove}),[l]),f.useEffect((function(){return function(){b()}}),[]),f.useImperativeHandle(t,(function(){return{forceAlign:function(){return y(!0)}}})),f.isValidElement(h)&&(h=f.cloneElement(h,{ref:H(h.ref,p)})),h},Wr=f.forwardRef(Ur);Wr.displayName="Align";var Kr=Wr;function qr(){qr=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(T){s=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var o=t&&t.prototype instanceof p?t:p,a=Object.create(o.prototype),u=new _(i||[]);return r(a,"_invoke",{value:E(e,n,u)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(T){return{type:"throw",arg:T}}}e.wrap=c;var d={};function p(){}function h(){}function m(){}var v={};s(v,o,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(O([])));y&&y!==t&&n.call(y,o)&&(v=y);var b=m.prototype=p.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function i(r,o,a,u){var s=f(e[r],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==(0,l.Z)(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,a,u)}),(function(e){i("throw",e,a,u)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,u)}))}u(s.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function E(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return M()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=k(a,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function k(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(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 _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:M}}function M(){return{value:void 0,done:!0}}return h.prototype=m,r(b,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:h,configurable:!0}),h.displayName=s(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(x.prototype),s(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),s(b,u,"Generator"),s(b,o,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=O,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(u&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function Yr(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(s){return void n(s)}u.done?t(l):Promise.resolve(l).then(r,i)}function $r(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Yr(o,r,i,a,u,"next",e)}function u(e){Yr(o,r,i,a,u,"throw",e)}a(void 0)}))}}var Xr=["measure","alignPre","align",null,"motion"],Gr=f.forwardRef((function(e,t){var n=e.visible,i=e.prefixCls,o=e.className,a=e.style,l=e.children,s=e.zIndex,d=e.stretch,h=e.destroyPopupOnHide,m=e.forceRender,v=e.align,g=e.point,y=e.getRootDomNode,b=e.getClassNameFromAlign,w=e.onAlign,x=e.onMouseEnter,S=e.onMouseLeave,C=e.onMouseDown,_=e.onTouchStart,O=e.onClick,M=(0,f.useRef)(),T=(0,f.useRef)(),P=u((0,f.useState)(),2),I=P[0],A=P[1],N=function(e){var t=u(f.useState({width:0,height:0}),2),n=t[0],r=t[1];return[f.useMemo((function(){var t={};if(e){var r=n.width,i=n.height;-1!==e.indexOf("height")&&i?t.height=i:-1!==e.indexOf("minHeight")&&i&&(t.minHeight=i),-1!==e.indexOf("width")&&r?t.width=r:-1!==e.indexOf("minWidth")&&r&&(t.minWidth=r)}return t}),[e,n]),function(e){var t=e.offsetWidth,n=e.offsetHeight,i=e.getBoundingClientRect(),o=i.width,a=i.height;Math.abs(t-o)<1&&Math.abs(n-a)<1&&(t=o,n=a),r({width:t,height:n})}]}(d),R=u(N,2),D=R[0],L=R[1];var F=function(e,t){var n=u(k(null),2),r=n[0],i=n[1],o=(0,f.useRef)();function a(e){i(e,!0)}function l(){z.cancel(o.current)}return(0,f.useEffect)((function(){a("measure")}),[e]),(0,f.useEffect)((function(){"measure"===r&&t(),r&&(o.current=z($r(qr().mark((function e(){var t,n;return qr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Xr.indexOf(r),(n=Xr[t+1])&&-1!==t&&a(n);case 3:case"end":return e.stop()}}),e)})))))}),[r]),(0,f.useEffect)((function(){return function(){l()}}),[]),[r,function(e){l(),o.current=z((function(){a((function(e){switch(r){case"align":return"motion";case"motion":return"stable"}return e})),null===e||void 0===e||e()}))}]}(n,(function(){d&&L(y())})),j=u(F,2),V=j[0],Z=j[1],H=u((0,f.useState)(0),2),B=H[0],U=H[1],W=(0,f.useRef)();function K(){var e;null===(e=M.current)||void 0===e||e.forceAlign()}function q(e,t){var n=b(t);I!==n&&A(n),U((function(e){return e+1})),"align"===V&&(null===w||void 0===w||w(e,t))}E((function(){"alignPre"===V&&U(0)}),[V]),E((function(){"align"===V&&(B<3?K():Z((function(){var e;null===(e=W.current)||void 0===e||e.call(W)})))}),[B]);var Y=(0,c.Z)({},Fn(e));function $(){return new Promise((function(e){W.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=Y[e];Y[e]=function(e,n){return Z(),null===t||void 0===t?void 0:t(e,n)}})),f.useEffect((function(){Y.motionName||"motion"!==V||Z()}),[Y.motionName,V]),f.useImperativeHandle(t,(function(){return{forceAlign:K,getElement:function(){return T.current}}}));var X=(0,c.Z)((0,c.Z)({},D),{},{zIndex:s,opacity:"motion"!==V&&"stable"!==V&&n?0:void 0,pointerEvents:n||"stable"===V?void 0:"none"},a),G=!0;null===v||void 0===v||!v.points||"align"!==V&&"stable"!==V||(G=!1);var Q=l;return f.Children.count(l)>1&&(Q=f.createElement("div",{className:"".concat(i,"-content")},l)),f.createElement(Ln,(0,r.Z)({visible:n,ref:T,leavedClassName:"".concat(i,"-hidden")},Y,{onAppearPrepare:$,onEnterPrepare:$,removeOnLeave:h,forceRender:m}),(function(e,t){var n=e.className,r=e.style,a=p()(i,o,I,n);return f.createElement(Kr,{target:g||y,key:"popup",ref:M,monitorWindowResize:!0,disabled:G,align:v,onAlign:q},f.createElement("div",{ref:t,className:a,onMouseEnter:x,onMouseLeave:S,onMouseDownCapture:C,onTouchStartCapture:_,onClick:O,style:(0,c.Z)((0,c.Z)({},r),X)},Q))}))}));Gr.displayName="PopupInner";var Qr=Gr,Jr=f.forwardRef((function(e,t){var n=e.prefixCls,i=e.visible,o=e.zIndex,a=e.children,u=e.mobile,l=(u=void 0===u?{}:u).popupClassName,s=u.popupStyle,d=u.popupMotion,h=void 0===d?{}:d,m=u.popupRender,v=e.onClick,g=f.useRef();f.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return g.current}}}));var y=(0,c.Z)({zIndex:o},s),b=a;return f.Children.count(a)>1&&(b=f.createElement("div",{className:"".concat(n,"-content")},a)),m&&(b=m(b)),f.createElement(Ln,(0,r.Z)({visible:i,ref:g,removeOnLeave:!0},h),(function(e,t){var r=e.className,i=e.style,o=p()(n,l,r);return f.createElement("div",{ref:t,className:o,onClick:v,style:(0,c.Z)((0,c.Z)({},i),y)},b)}))}));Jr.displayName="MobilePopupInner";var ei=Jr,ti=["visible","mobile"],ni=f.forwardRef((function(e,t){var n=e.visible,i=e.mobile,o=s(e,ti),a=u((0,f.useState)(n),2),l=a[0],d=a[1],p=u((0,f.useState)(!1),2),h=p[0],m=p[1],g=(0,c.Z)((0,c.Z)({},o),{},{visible:l});(0,f.useEffect)((function(){d(n),n&&i&&m(v())}),[n,i]);var y=h?f.createElement(ei,(0,r.Z)({},g,{mobile:i,ref:t})):f.createElement(Qr,(0,r.Z)({},g,{ref:t}));return f.createElement("div",null,f.createElement(jn,g),y)}));ni.displayName="Popup";var ri=ni,ii=f.createContext(null);function oi(){}function ai(){return""}function ui(e){return e?e.ownerDocument:window.document}var li=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];var si=function(e){var t=function(t){xe(o,t);var n=Ce(o);function o(e){var t,a;return ve(this,o),t=n.call(this,e),(0,i.Z)(ke(t),"popupRef",f.createRef()),(0,i.Z)(ke(t),"triggerRef",f.createRef()),(0,i.Z)(ke(t),"portalContainer",void 0),(0,i.Z)(ke(t),"attachId",void 0),(0,i.Z)(ke(t),"clickOutsideHandler",void 0),(0,i.Z)(ke(t),"touchOutsideHandler",void 0),(0,i.Z)(ke(t),"contextMenuOutsideHandler1",void 0),(0,i.Z)(ke(t),"contextMenuOutsideHandler2",void 0),(0,i.Z)(ke(t),"mouseDownTimeout",void 0),(0,i.Z)(ke(t),"focusTime",void 0),(0,i.Z)(ke(t),"preClickTime",void 0),(0,i.Z)(ke(t),"preTouchTime",void 0),(0,i.Z)(ke(t),"delayTimer",void 0),(0,i.Z)(ke(t),"hasPopupMouseDown",void 0),(0,i.Z)(ke(t),"onMouseEnter",(function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)})),(0,i.Z)(ke(t),"onMouseMove",(function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)})),(0,i.Z)(ke(t),"onMouseLeave",(function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),(0,i.Z)(ke(t),"onPopupMouseEnter",(function(){t.clearDelayTimer()})),(0,i.Z)(ke(t),"onPopupMouseLeave",(function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&Bt(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),(0,i.Z)(ke(t),"onFocus",(function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))})),(0,i.Z)(ke(t),"onMouseDown",(function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()})),(0,i.Z)(ke(t),"onTouchStart",(function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()})),(0,i.Z)(ke(t),"onBlur",(function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)})),(0,i.Z)(ke(t),"onContextMenu",(function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)})),(0,i.Z)(ke(t),"onContextMenuClose",(function(){t.isContextMenuToShow()&&t.close()})),(0,i.Z)(ke(t),"onClick",(function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)})),(0,i.Z)(ke(t),"onPopupMouseDown",(function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)})),(0,i.Z)(ke(t),"onDocumentClick",(function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),i=t.getPopupDomNode();Bt(r,n)&&!t.isContextMenuOnly()||Bt(i,n)||t.hasPopupMouseDown||t.close()}})),(0,i.Z)(ke(t),"getRootDomNode",(function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=W(t.triggerRef.current);if(n)return n}catch(r){}return U.findDOMNode(ke(t))})),(0,i.Z)(ke(t),"getPopupClassNameFromAlign",(function(e){var n=[],r=t.props,i=r.popupPlacement,o=r.builtinPlacements,a=r.prefixCls,u=r.alignPoint,l=r.getPopupClassNameFromAlign;return i&&o&&n.push(function(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a<o.length;a+=1){var u=o[a];if(Kt(e[u].points,i,r))return"".concat(t,"-placement-").concat(u)}return""}(o,a,e,u)),l&&n.push(l(e)),n.join(" ")})),(0,i.Z)(ke(t),"getComponent",(function(){var e=t.props,n=e.prefixCls,i=e.destroyPopupOnHide,o=e.popupClassName,a=e.onPopupAlign,u=e.popupMotion,l=e.popupAnimation,s=e.popupTransitionName,c=e.popupStyle,d=e.mask,p=e.maskAnimation,h=e.maskTransitionName,m=e.maskMotion,v=e.zIndex,g=e.popup,y=e.stretch,b=e.alignPoint,w=e.mobile,x=e.forceRender,E=e.onPopupClick,k=t.state,S=k.popupVisible,C=k.point,_=t.getPopupAlign(),O={};return t.isMouseEnterToShow()&&(O.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(O.onMouseLeave=t.onPopupMouseLeave),O.onMouseDown=t.onPopupMouseDown,O.onTouchStart=t.onPopupMouseDown,f.createElement(ri,(0,r.Z)({prefixCls:n,destroyPopupOnHide:i,visible:S,point:b&&C,className:o,align:_,onAlign:a,animation:l,getClassNameFromAlign:t.getPopupClassNameFromAlign},O,{stretch:y,getRootDomNode:t.getRootDomNode,style:c,mask:d,zIndex:v,transitionName:s,maskAnimation:p,maskTransitionName:h,maskMotion:m,ref:t.popupRef,motion:u,mobile:w,forceRender:x,onClick:E}),"function"===typeof g?g():g)})),(0,i.Z)(ke(t),"attachParent",(function(e){z.cancel(t.attachId);var n,r=t.props,i=r.getPopupContainer,o=r.getDocument,a=t.getRootDomNode();i?(a||0===i.length)&&(n=i(a)):n=o(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=z((function(){t.attachParent(e)}))})),(0,i.Z)(ke(t),"getContainer",(function(){if(!t.portalContainer){var e=(0,t.props.getDocument)(t.getRootDomNode()).createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",t.portalContainer=e}return t.attachParent(t.portalContainer),t.portalContainer})),(0,i.Z)(ke(t),"setPoint",(function(e){t.props.alignPoint&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})})),(0,i.Z)(ke(t),"handlePortalUpdate",(function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)})),(0,i.Z)(ke(t),"triggerContextValue",{onPopupMouseDown:t.onPopupMouseDown}),a="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:a,popupVisible:a},li.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return be(o,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Ut(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Ut(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Ut(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Ut(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),z.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?function(e,t,n){var r=e[t]||{};return(0,c.Z)((0,c.Z)({},r),n)}(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,i=1e3*t;if(this.clearDelayTimer(),i){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),i)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,r=n.children,i=n.forceRender,o=n.alignPoint,a=n.className,u=n.autoDestroy,l=f.Children.only(r),s={key:"trigger"};this.isContextMenuToShow()?s.onContextMenu=this.onContextMenu:s.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(s.onClick=this.onClick,s.onMouseDown=this.onMouseDown,s.onTouchStart=this.onTouchStart):(s.onClick=this.createTwoChains("onClick"),s.onMouseDown=this.createTwoChains("onMouseDown"),s.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(s.onMouseEnter=this.onMouseEnter,o&&(s.onMouseMove=this.onMouseMove)):s.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?s.onMouseLeave=this.onMouseLeave:s.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(s.onFocus=this.onFocus,s.onBlur=this.onBlur):(s.onFocus=this.createTwoChains("onFocus"),s.onBlur=this.createTwoChains("onBlur"));var d=p()(l&&l.props&&l.props.className,a);d&&(s.className=d);var h=(0,c.Z)({},s);B(l)&&(h.ref=H(this.triggerRef,l.ref));var m,v=f.cloneElement(l,h);return(t||this.popupRef.current||i)&&(m=f.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&u&&(m=null),f.createElement(ii.Provider,{value:this.triggerContextValue},v,m)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),o}(f.Component);return(0,i.Z)(t,"contextType",ii),(0,i.Z)(t,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:ai,getDocument:ui,onPopupVisibleChange:oi,afterPopupVisibleChange:oi,onPopupAlign:oi,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),t}(Wt),ci={adjustX:1,adjustY:1},fi={topLeft:{points:["bl","tl"],overflow:ci,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ci,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:ci,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:ci,offset:[4,0]}},di={topLeft:{points:["bl","tl"],overflow:ci,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ci,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:ci,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:ci,offset:[4,0]}};function pi(e,t,n){return t||(n?n[e]||n.other:void 0)}var hi={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function mi(e){var t=e.prefixCls,n=e.visible,r=e.children,o=e.popup,a=e.popupClassName,l=e.popupOffset,s=e.disabled,d=e.mode,h=e.onVisibleChange,m=f.useContext(ft),v=m.getPopupContainer,g=m.rtl,y=m.subMenuOpenDelay,b=m.subMenuCloseDelay,w=m.builtinPlacements,x=m.triggerSubMenuAction,E=m.forceSubMenuRender,k=m.rootClassName,S=m.motion,C=m.defaultMotions,_=u(f.useState(!1),2),O=_[0],M=_[1],T=g?(0,c.Z)((0,c.Z)({},di),w):(0,c.Z)((0,c.Z)({},fi),w),P=hi[d],I=pi(d,S,C),A=(0,c.Z)((0,c.Z)({},I),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),N=f.useRef();return f.useEffect((function(){return N.current=z((function(){M(n)})),function(){z.cancel(N.current)}}),[n]),f.createElement(si,{prefixCls:t,popupClassName:p()("".concat(t,"-popup"),(0,i.Z)({},"".concat(t,"-rtl"),g),a,k),stretch:"horizontal"===d?"minWidth":null,getPopupContainer:v,builtinPlacements:T,popupPlacement:P,popupVisible:O,popup:o,popupAlign:l&&{offset:l},action:s?[]:[x],mouseEnterDelay:y,mouseLeaveDelay:b,onPopupVisibleChange:h,forceRender:E,popupMotion:A},r)}function vi(e){var t=e.id,n=e.open,i=e.keyPath,o=e.children,a="inline",l=f.useContext(ft),s=l.prefixCls,d=l.forceSubMenuRender,p=l.motion,h=l.defaultMotions,m=l.mode,v=f.useRef(!1);v.current=m===a;var g=u(f.useState(!v.current),2),y=g[0],b=g[1],w=!!v.current&&n;f.useEffect((function(){v.current&&b(!1)}),[m]);var x=(0,c.Z)({},pi(a,p,h));i.length>1&&(x.motionAppear=!1);var E=x.onVisibleChanged;return x.onVisibleChanged=function(e){return v.current||e||b(!0),null===E||void 0===E?void 0:E(e)},y?null:f.createElement(dt,{mode:a,locked:!v.current},f.createElement(Ln,(0,r.Z)({visible:w},x,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),(function(e){var n=e.className,r=e.style;return f.createElement(Ht,{id:t,className:n,style:r},o)})))}var gi=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],yi=["active"],bi=function(e){var t,n=e.style,o=e.className,a=e.title,l=e.eventKey,d=(e.warnKey,e.disabled),h=e.internalPopupClose,m=e.children,v=e.itemIcon,g=e.expandIcon,y=e.popupClassName,b=e.popupOffset,w=e.onClick,x=e.onMouseEnter,E=e.onMouseLeave,k=e.onTitleClick,S=e.onTitleMouseEnter,C=e.onTitleMouseLeave,_=s(e,gi),O=_t(l),M=f.useContext(ft),T=M.prefixCls,P=M.mode,I=M.openKeys,A=M.disabled,z=M.overflowDisabled,N=M.activeKey,R=M.selectedKeys,D=M.itemIcon,L=M.expandIcon,F=M.onItemClick,j=M.onOpenChange,V=M.onActive,Z=f.useContext(Ot)._internalRenderSubMenuItem,H=f.useContext(kt).isSubPathKey,B=Et(),U="".concat(T,"-submenu"),W=A||d,K=f.useRef(),q=f.useRef();var Y=v||D,$=g||L,X=I.includes(l),G=!z&&X,Q=H(R,l),J=pt(l,W,S,C),ee=J.active,te=s(J,yi),ne=u(f.useState(!1),2),re=ne[0],ie=ne[1],oe=function(e){W||ie(e)},ae=f.useMemo((function(){return ee||"inline"!==P&&(re||H([N],l))}),[P,ee,N,re,l,H]),ue=gt(B.length),le=Ft((function(e){null===w||void 0===w||w(mt(e)),F(e)})),se=O&&"".concat(O,"-popup"),ce=f.createElement("div",(0,r.Z)({role:"menuitem",style:ue,className:"".concat(U,"-title"),tabIndex:W?null:-1,ref:K,title:"string"===typeof a?a:null,"data-menu-id":z&&O?null:O,"aria-expanded":G,"aria-haspopup":!0,"aria-controls":se,"aria-disabled":W,onClick:function(e){W||(null===k||void 0===k||k({key:l,domEvent:e}),"inline"===P&&j(l,!X))},onFocus:function(){V(l)}},te),a,f.createElement(vt,{icon:"horizontal"!==P?$:null,props:(0,c.Z)((0,c.Z)({},e),{},{isOpen:G,isSubMenu:!0})},f.createElement("i",{className:"".concat(U,"-arrow")}))),fe=f.useRef(P);if("inline"!==P&&(fe.current=B.length>1?"vertical":P),!z){var de=fe.current;ce=f.createElement(mi,{mode:de,prefixCls:U,visible:!h&&G&&"inline"!==P,popupClassName:y,popupOffset:b,popup:f.createElement(dt,{mode:"horizontal"===de?"vertical":de},f.createElement(Ht,{id:se,ref:q},m)),disabled:W,onVisibleChange:function(e){"inline"!==P&&j(l,e)}},ce)}var pe=f.createElement(lt.Item,(0,r.Z)({role:"none"},_,{component:"li",style:n,className:p()(U,"".concat(U,"-").concat(P),o,(t={},(0,i.Z)(t,"".concat(U,"-open"),G),(0,i.Z)(t,"".concat(U,"-active"),ae),(0,i.Z)(t,"".concat(U,"-selected"),Q),(0,i.Z)(t,"".concat(U,"-disabled"),W),t)),onMouseEnter:function(e){oe(!0),null===x||void 0===x||x({key:l,domEvent:e})},onMouseLeave:function(e){oe(!1),null===E||void 0===E||E({key:l,domEvent:e})}}),ce,!z&&f.createElement(vi,{id:se,open:G,keyPath:B},m));return Z&&(pe=Z(pe,e,{selected:Q,active:ae,open:G,disabled:W})),f.createElement(dt,{onItemClick:le,mode:"horizontal"===P?"vertical":P,itemIcon:Y,expandIcon:$},pe)};function wi(e){var t,n=e.eventKey,r=e.children,i=Et(n),o=Rt(r,i),a=wt();return f.useEffect((function(){if(a)return a.registerPath(n,i),function(){a.unregisterPath(n,i)}}),[i]),t=a?o:f.createElement(bi,e,o),f.createElement(xt.Provider,{value:i},t)}function xi(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Vr(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),o=Number(i),a=null;return i&&!Number.isNaN(o)?a=o:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}function Ei(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=_(e.querySelectorAll("*")).filter((function(e){return xi(e,t)}));return xi(e,t)&&n.unshift(e),n}var ki=Re.LEFT,Si=Re.RIGHT,Ci=Re.UP,_i=Re.DOWN,Oi=Re.ENTER,Mi=Re.ESC,Ti=Re.HOME,Pi=Re.END,Ii=[Ci,_i,ki,Si];function Ai(e,t){return Ei(e,!0).filter((function(e){return t.has(e)}))}function zi(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var i=Ai(e,t),o=i.length,a=i.findIndex((function(e){return n===e}));return r<0?-1===a?a=o-1:a-=1:r>0&&(a+=1),i[a=(a+o)%o]}function Ni(e,t,n,r,o,a,u,l,s,c){var d=f.useRef(),p=f.useRef();p.current=t;var h=function(){z.cancel(d.current)};return f.useEffect((function(){return function(){h()}}),[]),function(f){var m=f.which;if([].concat(Ii,[Oi,Mi,Ti,Pi]).includes(m)){var v,g,y,b=function(){return v=new Set,g=new Map,y=new Map,a().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(Ct(r,e),"']"));t&&(v.add(t),y.set(t,e),g.set(e,t))})),v};b();var w=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(g.get(t),v),x=y.get(w),E=function(e,t,n,r){var o,a,u,l,s="prev",c="next",f="children",d="parent";if("inline"===e&&r===Oi)return{inlineTrigger:!0};var p=(o={},(0,i.Z)(o,Ci,s),(0,i.Z)(o,_i,c),o),h=(a={},(0,i.Z)(a,ki,n?c:s),(0,i.Z)(a,Si,n?s:c),(0,i.Z)(a,_i,f),(0,i.Z)(a,Oi,f),a),m=(u={},(0,i.Z)(u,Ci,s),(0,i.Z)(u,_i,c),(0,i.Z)(u,Oi,f),(0,i.Z)(u,Mi,d),(0,i.Z)(u,ki,n?f:d),(0,i.Z)(u,Si,n?d:f),u);switch(null===(l={inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m}["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[r]){case s:return{offset:-1,sibling:!0};case c:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(e,1===u(x,!0).length,n,m);if(!E&&m!==Ti&&m!==Pi)return;(Ii.includes(m)||[Ti,Pi].includes(m))&&f.preventDefault();var k=function(e){if(e){var t=e,n=e.querySelector("a");(null===n||void 0===n?void 0:n.getAttribute("href"))&&(t=n);var r=y.get(e);l(r),h(),d.current=z((function(){p.current===r&&t.focus()}))}};if([Ti,Pi].includes(m)||E.sibling||!w){var S,C,_=Ai(S=w&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(w):o.current,v);C=m===Ti?_[0]:m===Pi?_[_.length-1]:zi(S,v,w,E.offset),k(C)}else if(E.inlineTrigger)s(x);else if(E.offset>0)s(x,!0),h(),d.current=z((function(){b();var e=w.getAttribute("aria-controls"),t=zi(document.getElementById(e),v);k(t)}),5);else if(E.offset<0){var O=u(x,!0),M=O[O.length-2],T=g.get(M);s(M,!1),k(T)}}null===c||void 0===c||c(f)}}var Ri=Math.random().toFixed(5).toString().slice(2),Di=0;var Li="__RC_UTIL_PATH_SPLIT__",Fi=function(e){return e.join(Li)},ji="rc-menu-more";function Vi(){var e=u(f.useState({}),2)[1],t=(0,f.useRef)(new Map),n=(0,f.useRef)(new Map),r=u(f.useState([]),2),i=r[0],o=r[1],a=(0,f.useRef)(0),l=(0,f.useRef)(!1),s=(0,f.useCallback)((function(r,i){var o=Fi(i);n.current.set(o,r),t.current.set(r,o),a.current+=1;var u,s=a.current;u=function(){s===a.current&&(l.current||e({}))},Promise.resolve().then(u)}),[]),c=(0,f.useCallback)((function(e,r){var i=Fi(r);n.current.delete(i),t.current.delete(e)}),[]),d=(0,f.useCallback)((function(e){o(e)}),[]),p=(0,f.useCallback)((function(e,n){var r=t.current.get(e)||"",o=r.split(Li);return n&&i.includes(o[0])&&o.unshift(ji),o}),[i]),h=(0,f.useCallback)((function(e,t){return e.some((function(e){return p(e,!0).includes(t)}))}),[p]),m=(0,f.useCallback)((function(e){var r="".concat(t.current.get(e)).concat(Li),i=new Set;return _(n.current.keys()).forEach((function(e){e.startsWith(r)&&i.add(n.current.get(e))})),i}),[]);return f.useEffect((function(){return function(){l.current=!0}}),[]),{registerPath:s,unregisterPath:c,refreshOverflowKeys:d,isSubPathKey:h,getKeyPath:p,getKeys:function(){var e=_(t.current.keys());return i.length&&e.push(ji),e},getSubPathKeys:m}}var Zi=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Hi=[],Bi=f.forwardRef((function(e,t){var n,o,a=e.prefixCls,l=void 0===a?"rc-menu":a,d=e.rootClassName,h=e.style,m=e.className,v=e.tabIndex,g=void 0===v?0:v,y=e.items,b=e.children,w=e.direction,x=e.id,E=e.mode,k=void 0===E?"vertical":E,S=e.inlineCollapsed,O=e.disabled,M=e.disabledOverflow,T=e.subMenuOpenDelay,P=void 0===T?.1:T,I=e.subMenuCloseDelay,A=void 0===I?.1:I,z=e.forceSubMenuRender,N=e.defaultOpenKeys,R=e.openKeys,D=e.activeKey,L=e.defaultActiveFirst,F=e.selectable,j=void 0===F||F,V=e.multiple,Z=void 0!==V&&V,H=e.defaultSelectedKeys,B=e.selectedKeys,U=e.onSelect,W=e.onDeselect,K=e.inlineIndent,q=void 0===K?24:K,Y=e.motion,$=e.defaultMotions,X=e.triggerSubMenuAction,G=void 0===X?"hover":X,Q=e.builtinPlacements,J=e.itemIcon,ee=e.expandIcon,te=e.overflowedIndicator,ne=void 0===te?"...":te,re=e.overflowedIndicatorPopupClassName,ie=e.getPopupContainer,oe=e.onClick,ae=e.onOpenChange,ue=e.onKeyDown,le=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),se=e._internalRenderSubMenuItem,ce=s(e,Zi),fe=f.useMemo((function(){return Lt(b,y,Hi)}),[b,y]),de=u(f.useState(!1),2),pe=de[0],he=de[1],me=f.useRef(),ve=function(e){var t=u(C(e,{value:e}),2),n=t[0],r=t[1];return f.useEffect((function(){Di+=1;var e="".concat(Ri,"-").concat(Di);r("rc-menu-uuid-".concat(e))}),[]),n}(x),ge="rtl"===w;var ye=u(f.useMemo((function(){return"inline"!==k&&"vertical"!==k||!S?[k,!1]:["vertical",S]}),[k,S]),2),be=ye[0],we=ye[1],xe=u(f.useState(0),2),Ee=xe[0],ke=xe[1],Se=Ee>=fe.length-1||"horizontal"!==be||M,Ce=u(C(N,{value:R,postState:function(e){return e||Hi}}),2),_e=Ce[0],Oe=Ce[1],Me=function(e){Oe(e),null===ae||void 0===ae||ae(e)},Te=u(f.useState(_e),2),Pe=Te[0],Ie=Te[1],Ae="inline"===be,ze=f.useRef(!1);f.useEffect((function(){Ae&&Ie(_e)}),[_e]),f.useEffect((function(){ze.current&&(Ae?Oe(Pe):Me(Hi))}),[Ae]),f.useEffect((function(){return ze.current=!0,function(){ze.current=!1}}),[]);var Ne=Vi(),Re=Ne.registerPath,De=Ne.unregisterPath,Le=Ne.refreshOverflowKeys,Fe=Ne.isSubPathKey,je=Ne.getKeyPath,Ve=Ne.getKeys,He=Ne.getSubPathKeys,Be=f.useMemo((function(){return{registerPath:Re,unregisterPath:De}}),[Re,De]),Ue=f.useMemo((function(){return{isSubPathKey:Fe}}),[Fe]);f.useEffect((function(){Le(Se?Hi:fe.slice(Ee+1).map((function(e){return e.key})))}),[Ee,Se]);var We=u(C(D||L&&(null===(n=fe[0])||void 0===n?void 0:n.key),{value:D}),2),Ke=We[0],qe=We[1],Ye=Ft((function(e){qe(e)})),$e=Ft((function(){qe(void 0)}));(0,f.useImperativeHandle)(t,(function(){return{list:me.current,focus:function(e){var t,n,r,i,o=null!==Ke&&void 0!==Ke?Ke:null===(t=fe.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;o&&(null===(n=me.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(Ct(ve,o),"']")))||void 0===r||null===(i=r.focus)||void 0===i||i.call(r,e))}}}));var Xe=u(C(H||[],{value:B,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?Hi:[e]}}),2),Ge=Xe[0],Qe=Xe[1],Je=Ft((function(e){null===oe||void 0===oe||oe(mt(e)),function(e){if(j){var t,n=e.key,r=Ge.includes(n);t=Z?r?Ge.filter((function(e){return e!==n})):[].concat(_(Ge),[n]):[n],Qe(t);var i=(0,c.Z)((0,c.Z)({},e),{},{selectedKeys:t});r?null===W||void 0===W||W(i):null===U||void 0===U||U(i)}!Z&&_e.length&&"inline"!==be&&Me(Hi)}(e)})),et=Ft((function(e,t){var n=_e.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==be){var r=He(e);n=n.filter((function(e){return!r.has(e)}))}Ze()(_e,n)||Me(n)})),tt=Ft(ie),nt=Ni(be,Ke,ge,ve,me,Ve,je,qe,(function(e,t){var n=null!==t&&void 0!==t?t:!_e.includes(e);et(e,n)}),ue);f.useEffect((function(){he(!0)}),[]);var rt=f.useMemo((function(){return{_internalRenderMenuItem:le,_internalRenderSubMenuItem:se}}),[le,se]),it="horizontal"!==be||M?fe:fe.map((function(e,t){return f.createElement(dt,{key:e.key,overflowDisabled:t>Ee},e)})),ot=f.createElement(lt,(0,r.Z)({id:x,ref:me,prefixCls:"".concat(l,"-overflow"),component:"ul",itemComponent:zt,className:p()(l,"".concat(l,"-root"),"".concat(l,"-").concat(be),m,(o={},(0,i.Z)(o,"".concat(l,"-inline-collapsed"),we),(0,i.Z)(o,"".concat(l,"-rtl"),ge),o),d),dir:w,style:h,role:"menu",tabIndex:g,data:it,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?fe.slice(-t):null;return f.createElement(wi,{eventKey:ji,title:ne,disabled:Se,internalPopupClose:0===t,popupClassName:re},n)},maxCount:"horizontal"!==be||M?lt.INVALIDATE:lt.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){ke(e)},onKeyDown:nt},ce));return f.createElement(Ot.Provider,{value:rt},f.createElement(St.Provider,{value:ve},f.createElement(dt,{prefixCls:l,rootClassName:d,mode:be,openKeys:_e,rtl:ge,disabled:O,motion:pe?Y:null,defaultMotions:pe?$:null,activeKey:Ke,onActive:Ye,onInactive:$e,selectedKeys:Ge,inlineIndent:q,subMenuOpenDelay:P,subMenuCloseDelay:A,forceSubMenuRender:z,builtinPlacements:Q,triggerSubMenuAction:G,getPopupContainer:tt,itemIcon:J,expandIcon:ee,onItemClick:Je,onOpenChange:et},f.createElement(kt.Provider,{value:Ue},ot),f.createElement("div",{style:{display:"none"},"aria-hidden":!0},f.createElement(bt.Provider,{value:Be},fe)))))})),Ui=["className","title","eventKey","children"],Wi=["children"],Ki=function(e){var t=e.className,n=e.title,i=(e.eventKey,e.children),o=s(e,Ui),a=f.useContext(ft).prefixCls,u="".concat(a,"-item-group");return f.createElement("li",(0,r.Z)({},o,{onClick:function(e){return e.stopPropagation()},className:p()(u,t)}),f.createElement("div",{className:"".concat(u,"-title"),title:"string"===typeof n?n:void 0},n),f.createElement("ul",{className:"".concat(u,"-list")},i))};function qi(e){var t=e.children,n=s(e,Wi),r=Rt(t,Et(n.eventKey));return wt()?r:f.createElement(Ki,st(n,["warnKey"]),r)}function Yi(e){var t=e.className,n=e.style,r=f.useContext(ft).prefixCls;return wt()?null:f.createElement("li",{className:p()("".concat(r,"-item-divider"),t),style:n})}var $i=Bi;$i.Item=zt,$i.SubMenu=wi,$i.ItemGroup=qi,$i.Divider=Yi;var Xi=$i,Gi={adjustX:1,adjustY:1},Qi=[0,0],Ji={topLeft:{points:["bl","tl"],overflow:Gi,offset:[0,-4],targetOffset:Qi},topCenter:{points:["bc","tc"],overflow:Gi,offset:[0,-4],targetOffset:Qi},topRight:{points:["br","tr"],overflow:Gi,offset:[0,-4],targetOffset:Qi},bottomLeft:{points:["tl","bl"],overflow:Gi,offset:[0,4],targetOffset:Qi},bottomCenter:{points:["tc","bc"],overflow:Gi,offset:[0,4],targetOffset:Qi},bottomRight:{points:["tr","br"],overflow:Gi,offset:[0,4],targetOffset:Qi}},eo=Re.ESC,to=Re.TAB;var no=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function ro(e,t){var n=e.arrow,r=void 0!==n&&n,o=e.prefixCls,a=void 0===o?"rc-dropdown":o,l=e.transitionName,d=e.animation,h=e.align,m=e.placement,v=void 0===m?"bottomLeft":m,g=e.placements,y=void 0===g?Ji:g,b=e.getPopupContainer,w=e.showAction,x=e.hideAction,E=e.overlayClassName,k=e.overlayStyle,S=e.visible,C=e.trigger,_=void 0===C?["hover"]:C,O=e.autoFocus,M=s(e,no),T=u(f.useState(),2),P=T[0],I=T[1],A="visible"in e?S:P,N=f.useRef(null);f.useImperativeHandle(t,(function(){return N.current})),function(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,i=e.onVisibleChange,o=e.autoFocus,a=f.useRef(!1),u=function(){var e,o,a,u;t&&r.current&&(null===(e=r.current)||void 0===e||null===(o=e.triggerRef)||void 0===o||null===(a=o.current)||void 0===a||null===(u=a.focus)||void 0===u||u.call(a),n(!1),"function"===typeof i&&i(!1))},l=function(){var e,t,n,i,o=Ei(null===(e=r.current)||void 0===e||null===(t=e.popupRef)||void 0===t||null===(n=t.current)||void 0===n||null===(i=n.getElement)||void 0===i?void 0:i.call(n))[0];return!!(null===o||void 0===o?void 0:o.focus)&&(o.focus(),a.current=!0,!0)},s=function(e){switch(e.keyCode){case eo:u();break;case to:var t=!1;a.current||(t=l()),t?e.preventDefault():u()}};f.useEffect((function(){return t?(window.addEventListener("keydown",s),o&&z(l,3),function(){window.removeEventListener("keydown",s),a.current=!1}):function(){a.current=!1}}),[t])}({visible:A,setTriggerVisible:I,triggerRef:N,onVisibleChange:e.onVisibleChange,autoFocus:O});var R=function(){var t=function(){var t=e.overlay;return"function"===typeof t?t():t}();return f.createElement(f.Fragment,null,r&&f.createElement("div",{className:"".concat(a,"-arrow")}),t)},D=x;return D||-1===_.indexOf("contextMenu")||(D=["click"]),f.createElement(si,(0,c.Z)((0,c.Z)({builtinPlacements:y},M),{},{prefixCls:a,ref:N,popupClassName:p()(E,(0,i.Z)({},"".concat(a,"-show-arrow"),r)),popupStyle:k,action:_,showAction:w,hideAction:D||[],popupPlacement:v,popupAlign:h,popupTransitionName:l,popupAnimation:d,popupVisible:A,stretch:function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n}()?"minWidth":"",popup:"function"===typeof e.overlay?R:R(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;I(t),"function"===typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;I(!1),n&&n(t)},getPopupContainer:b}),function(){var t=e.children,n=t.props?t.props:{},r=p()(n.className,function(){var t=e.openClassName;return void 0!==t?t:"".concat(a,"-open")}());return A&&t?f.cloneElement(t,{className:r}):t}())}var io=f.forwardRef(ro);function oo(e,t){var n=e.prefixCls,r=e.editable,i=e.locale,o=e.style;return r&&!1!==r.showAdd?f.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(null===i||void 0===i?void 0:i.addAriaLabel)||"Add tab",onClick:function(e){r.onEdit("add",{event:e})}},r.addIcon||"+"):null}var ao=f.forwardRef(oo);function uo(e,t){var n=e.prefixCls,r=e.id,o=e.tabs,a=e.locale,l=e.mobile,s=e.moreIcon,c=void 0===s?"More":s,d=e.moreTransitionName,h=e.style,m=e.className,v=e.editable,g=e.tabBarGutter,y=e.rtl,b=e.removeAriaLabel,w=e.onTabClick,x=e.getPopupContainer,E=e.popupClassName,k=u((0,f.useState)(!1),2),S=k[0],C=k[1],_=u((0,f.useState)(null),2),O=_[0],M=_[1],T="".concat(r,"-more-popup"),P="".concat(n,"-dropdown"),I=null!==O?"".concat(T,"-").concat(O):null,A=null===a||void 0===a?void 0:a.dropdownAriaLabel;var z=f.createElement(Xi,{onClick:function(e){var t=e.key,n=e.domEvent;w(t,n),C(!1)},prefixCls:"".concat(P,"-menu"),id:T,tabIndex:-1,role:"listbox","aria-activedescendant":I,selectedKeys:[O],"aria-label":void 0!==A?A:"expanded dropdown"},o.map((function(e){var t=v&&!1!==e.closable&&!e.disabled;return f.createElement(zt,{key:e.key,id:"".concat(T,"-").concat(e.key),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(e.key),disabled:e.disabled},f.createElement("span",null,e.tab),t&&f.createElement("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(P,"-menu-item-remove"),onClick:function(t){var n,r;t.stopPropagation(),n=t,r=e.key,n.preventDefault(),n.stopPropagation(),v.onEdit("remove",{key:r,event:n})}},e.closeIcon||v.removeIcon||"\xd7"))})));function N(e){for(var t=o.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===O}))||0,r=t.length,i=0;i<r;i+=1){var a=t[n=(n+e+r)%r];if(!a.disabled)return void M(a.key)}}(0,f.useEffect)((function(){var e=document.getElementById(I);e&&e.scrollIntoView&&e.scrollIntoView(!1)}),[O]),(0,f.useEffect)((function(){S||M(null)}),[S]);var R=(0,i.Z)({},y?"marginRight":"marginLeft",g);o.length||(R.visibility="hidden",R.order=1);var D=p()((0,i.Z)({},"".concat(P,"-rtl"),y)),L=l?null:f.createElement(io,{prefixCls:P,overlay:z,trigger:["hover"],visible:!!o.length&&S,transitionName:d,onVisibleChange:C,overlayClassName:p()(D,E),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:x},f.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:R,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":T,id:"".concat(r,"-more"),"aria-expanded":S,onKeyDown:function(e){var t=e.which;if(S)switch(t){case Re.UP:N(-1),e.preventDefault();break;case Re.DOWN:N(1),e.preventDefault();break;case Re.ESC:C(!1);break;case Re.SPACE:case Re.ENTER:null!==O&&w(O,e)}else[Re.DOWN,Re.SPACE,Re.ENTER].includes(t)&&(C(!0),e.preventDefault())}},c));return f.createElement("div",{className:p()("".concat(n,"-nav-operations"),m),style:h,ref:t},L,f.createElement(ao,{prefixCls:n,locale:a,editable:v}))}var lo=f.memo(f.forwardRef(uo),(function(e,t){return t.tabMoving})),so=(0,f.createContext)(null),co=Math.pow(.995,20);function fo(e,t){var n=f.useRef(e),r=u(f.useState({}),2)[1];return[n.current,function(e){var i="function"===typeof e?e(n.current):e;i!==n.current&&t(i,n.current),n.current=i,r({})}]}var po=function(e){var t,n=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var o={};return i&&"object"===(0,l.Z)(i)&&!f.isValidElement(i)?o=i:o.right=i,"right"===n&&(t=o.right),"left"===n&&(t=o.left),t?f.createElement("div",{className:"".concat(r,"-extra-content")},t):null};function ho(e,t){var n,o=f.useContext(so),a=o.prefixCls,l=o.tabs,s=e.className,d=e.style,h=e.id,m=e.animated,v=e.activeKey,g=e.rtl,y=e.extra,b=e.editable,w=e.locale,x=e.tabPosition,E=e.tabBarGutter,k=e.children,S=e.onTabClick,C=e.onTabScroll,O=(0,f.useRef)(),M=(0,f.useRef)(),T=(0,f.useRef)(),P=(0,f.useRef)(),I=u(function(){var e=(0,f.useRef)(new Map);return[function(t){return e.current.has(t)||e.current.set(t,f.createRef()),e.current.get(t)},function(t){e.current.delete(t)}]}(),2),A=I[0],N=I[1],R="top"===x||"bottom"===x,D=u(fo(0,(function(e,t){R&&C&&C({direction:e>t?"left":"right"})})),2),L=D[0],F=D[1],j=u(fo(0,(function(e,t){!R&&C&&C({direction:e>t?"top":"bottom"})})),2),V=j[0],Z=j[1],H=u((0,f.useState)(0),2),B=H[0],U=H[1],W=u((0,f.useState)(0),2),K=W[0],q=W[1],Y=u((0,f.useState)(null),2),$=Y[0],X=Y[1],G=u((0,f.useState)(null),2),Q=G[0],J=G[1],ee=u((0,f.useState)(0),2),te=ee[0],ne=ee[1],re=u((0,f.useState)(0),2),ie=re[0],oe=re[1],ae=function(e){var t=(0,f.useRef)([]),n=u((0,f.useState)({}),2)[1],r=(0,f.useRef)("function"===typeof e?e():e),i=ze((function(){var e=r.current;t.current.forEach((function(t){e=t(e)})),t.current=[],r.current=e,n({})}));return[r.current,function(e){t.current.push(e),i()}]}(new Map),ue=u(ae,2),le=ue[0],se=ue[1],ce=function(e,t,n){return(0,f.useMemo)((function(){for(var n,r=new Map,i=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||Fe,o=i.left+i.width,a=0;a<e.length;a+=1){var u,l=e[a].key,s=t.get(l);s||(s=t.get(null===(u=e[a-1])||void 0===u?void 0:u.key)||Fe);var f=r.get(l)||(0,c.Z)({},s);f.right=o-f.left-f.width,r.set(l,f)}return r}),[e.map((function(e){return e.key})).join("_"),t,n])}(l,le,B),fe="".concat(a,"-nav-operations-hidden"),de=0,pe=0;function he(e){return e<de?de:e>pe?pe:e}R?g?(de=0,pe=Math.max(0,B-$)):(de=Math.min(0,$-B),pe=0):(de=Math.min(0,Q-K),pe=0);var me=(0,f.useRef)(),ve=u((0,f.useState)(),2),ge=ve[0],ye=ve[1];function be(){ye(Date.now())}function we(){window.clearTimeout(me.current)}function xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=ce.get(e)||{width:0,height:0,left:0,right:0,top:0};if(R){var n=L;g?t.right<L?n=t.right:t.right+t.width>L+$&&(n=t.right+t.width-$):t.left<-L?n=-t.left:t.left+t.width>-L+$&&(n=-(t.left+t.width-$)),Z(0),F(he(n))}else{var r=V;t.top<-V?r=-t.top:t.top+t.height>-V+Q&&(r=-(t.top+t.height-Q)),F(0),Z(he(r))}}!function(e,t){var n=u((0,f.useState)(),2),r=n[0],i=n[1],o=u((0,f.useState)(0),2),a=o[0],l=o[1],s=u((0,f.useState)(0),2),c=s[0],d=s[1],p=u((0,f.useState)(),2),h=p[0],m=p[1],v=(0,f.useRef)(),g=(0,f.useRef)(),y=(0,f.useRef)(null);y.current={onTouchStart:function(e){var t=e.touches[0],n=t.screenX,r=t.screenY;i({x:n,y:r}),window.clearInterval(v.current)},onTouchMove:function(e){if(r){e.preventDefault();var n=e.touches[0],o=n.screenX,u=n.screenY;i({x:o,y:u});var s=o-r.x,c=u-r.y;t(s,c);var f=Date.now();l(f),d(f-a),m({x:s,y:c})}},onTouchEnd:function(){if(r&&(i(null),m(null),h)){var e=h.x/c,n=h.y/c,o=Math.abs(e),a=Math.abs(n);if(Math.max(o,a)<.1)return;var u=e,l=n;v.current=window.setInterval((function(){Math.abs(u)<.01&&Math.abs(l)<.01?window.clearInterval(v.current):t(20*(u*=co),20*(l*=co))}),20)}},onWheel:function(e){var n=e.deltaX,r=e.deltaY,i=0,o=Math.abs(n),a=Math.abs(r);o===a?i="x"===g.current?n:r:o>a?(i=n,g.current="x"):(i=r,g.current="y"),t(-i,-i)&&e.preventDefault()}},f.useEffect((function(){function t(e){y.current.onTouchMove(e)}function n(e){y.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){y.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){y.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(O,(function(e,t){function n(e,t){e((function(e){return he(e+t)}))}if(R){if($>=B)return!1;n(F,e)}else{if(Q>=K)return!1;n(Z,t)}return we(),be(),!0})),(0,f.useEffect)((function(){return we(),ge&&(me.current=window.setTimeout((function(){ye(0)}),100)),we}),[ge]);var Ee=function(e,t,n,r,i){var o,a,u,l=i.tabs,s=i.tabPosition,c=i.rtl;["top","bottom"].includes(s)?(o="width",a=c?"right":"left",u=Math.abs(t.left)):(o="height",a="top",u=-t.top);var d=t[o],p=n[o],h=r[o],m=d;return p+h>d&&p<d&&(m=d-h),(0,f.useMemo)((function(){if(!l.length)return[0,0];for(var t=l.length,n=t,r=0;r<t;r+=1){var i=e.get(l[r].key)||je;if(i[a]+i[o]>u+m){n=r-1;break}}for(var s=0,c=t-1;c>=0;c-=1)if((e.get(l[c].key)||je)[a]<u){s=c+1;break}return[s,n]}),[e,u,m,s,l.map((function(e){return e.key})).join("_"),c])}(ce,{width:$,height:Q,left:L,top:V},{width:B,height:K},{width:te,height:ie},(0,c.Z)((0,c.Z)({},e),{},{tabs:l})),ke=u(Ee,2),Se=ke[0],Ce=ke[1],_e={};"top"===x||"bottom"===x?_e[g?"marginRight":"marginLeft"]=E:_e.marginTop=E;var Oe=l.map((function(e,t){var n=e.key;return f.createElement(Le,{id:h,prefixCls:a,key:n,tab:e,style:0===t?void 0:_e,closable:e.closable,editable:b,active:n===v,renderWrapper:k,removeAriaLabel:null===w||void 0===w?void 0:w.removeAriaLabel,ref:A(n),onClick:function(e){S(n,e)},onRemove:function(){N(n)},onFocus:function(){xe(n),be(),O.current&&(g||(O.current.scrollLeft=0),O.current.scrollTop=0)}})})),Me=ze((function(){var e,t,n,r,i,o,a=(null===(e=O.current)||void 0===e?void 0:e.offsetWidth)||0,u=(null===(t=O.current)||void 0===t?void 0:t.offsetHeight)||0,s=(null===(n=P.current)||void 0===n?void 0:n.offsetWidth)||0,c=(null===(r=P.current)||void 0===r?void 0:r.offsetHeight)||0;X(a),J(u),ne(s),oe(c);var f=((null===(i=M.current)||void 0===i?void 0:i.offsetWidth)||0)-s,d=((null===(o=M.current)||void 0===o?void 0:o.offsetHeight)||0)-c;U(f),q(d),se((function(){var e=new Map;return l.forEach((function(t){var n=t.key,r=A(n).current;r&&e.set(n,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})})),e}))})),Te=l.slice(0,Se),Pe=l.slice(Ce+1),Ie=[].concat(_(Te),_(Pe)),Ne=u((0,f.useState)(),2),Re=Ne[0],De=Ne[1],Ve=ce.get(v),Ze=(0,f.useRef)();function He(){z.cancel(Ze.current)}(0,f.useEffect)((function(){var e={};return Ve&&(R?(g?e.right=Ve.right:e.left=Ve.left,e.width=Ve.width):(e.top=Ve.top,e.height=Ve.height)),He(),Ze.current=z((function(){De(e)})),He}),[Ve,R,g]),(0,f.useEffect)((function(){xe()}),[v,Ve,ce,R]),(0,f.useEffect)((function(){Me()}),[g,E,v,l.map((function(e){return e.key})).join("_")]);var Be,Ue,We,Ke,qe=!!Ie.length,Ye="".concat(a,"-nav-wrap");return R?g?(Ue=L>0,Be=L+$<B):(Be=L<0,Ue=-L+$<B):(We=V<0,Ke=-V+Q<K),f.createElement("div",{ref:t,role:"tablist",className:p()("".concat(a,"-nav"),s),style:d,onKeyDown:function(){be()}},f.createElement(po,{position:"left",extra:y,prefixCls:a}),f.createElement(Ae,{onResize:Me},f.createElement("div",{className:p()(Ye,(n={},(0,i.Z)(n,"".concat(Ye,"-ping-left"),Be),(0,i.Z)(n,"".concat(Ye,"-ping-right"),Ue),(0,i.Z)(n,"".concat(Ye,"-ping-top"),We),(0,i.Z)(n,"".concat(Ye,"-ping-bottom"),Ke),n)),ref:O},f.createElement(Ae,{onResize:Me},f.createElement("div",{ref:M,className:"".concat(a,"-nav-list"),style:{transform:"translate(".concat(L,"px, ").concat(V,"px)"),transition:ge?"none":void 0}},Oe,f.createElement(ao,{ref:P,prefixCls:a,locale:w,editable:b,style:(0,c.Z)((0,c.Z)({},0===Oe.length?void 0:_e),{},{visibility:qe?"hidden":null})}),f.createElement("div",{className:p()("".concat(a,"-ink-bar"),(0,i.Z)({},"".concat(a,"-ink-bar-animated"),m.inkBar)),style:Re}))))),f.createElement(lo,(0,r.Z)({},e,{removeAriaLabel:null===w||void 0===w?void 0:w.removeAriaLabel,ref:T,prefixCls:a,tabs:Ie,className:!qe&&fe,tabMoving:!!ge})),f.createElement(po,{position:"right",extra:y,prefixCls:a}))}var mo=f.forwardRef(ho);function vo(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,a=e.rtl,u=e.destroyInactiveTabPane,l=f.useContext(so),s=l.prefixCls,c=l.tabs,d=r.tabPane,h=c.findIndex((function(e){return e.key===n}));return f.createElement("div",{className:p()("".concat(s,"-content-holder"))},f.createElement("div",{className:p()("".concat(s,"-content"),"".concat(s,"-content-").concat(o),(0,i.Z)({},"".concat(s,"-content-animated"),d)),style:h&&d?(0,i.Z)({},a?"marginRight":"marginLeft","-".concat(h,"00%")):null},c.map((function(e){return f.cloneElement(e.node,{key:e.key,prefixCls:s,tabKey:e.key,id:t,animated:d,active:e.key===n,destroyInactiveTabPane:u})}))))}function go(e){var t=e.prefixCls,n=e.forceRender,r=e.className,i=e.style,o=e.id,a=e.active,l=e.animated,s=e.destroyInactiveTabPane,d=e.tabKey,h=e.children,m=u(f.useState(n),2),v=m[0],g=m[1];f.useEffect((function(){a?g(!0):s&&g(!1)}),[a,s]);var y={};return a||(l?(y.visibility="hidden",y.height=0,y.overflowY="hidden"):y.display="none"),f.createElement("div",{id:o&&"".concat(o,"-panel-").concat(d),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(d),"aria-hidden":!a,style:(0,c.Z)((0,c.Z)({},y),i),className:p()("".concat(t,"-tabpane"),a&&"".concat(t,"-tabpane-active"),r)},(a||v||n)&&h)}var yo=["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],bo=0;function wo(e,t){var n,o,a=e.id,d=e.prefixCls,h=void 0===d?"rc-tabs":d,g=e.className,y=e.children,b=e.direction,w=e.activeKey,x=e.defaultActiveKey,E=e.editable,k=e.animated,S=void 0===k?{inkBar:!0,tabPane:!1}:k,_=e.tabPosition,O=void 0===_?"top":_,M=e.tabBarGutter,T=e.tabBarStyle,P=e.tabBarExtraContent,I=e.locale,A=e.moreIcon,z=e.moreTransitionName,N=e.destroyInactiveTabPane,R=e.renderTabBar,D=e.onChange,L=e.onTabClick,F=e.onTabScroll,j=e.getPopupContainer,V=e.popupClassName,Z=s(e,yo),H=function(e){return m(e).map((function(e){if(f.isValidElement(e)){var t=void 0!==e.key?String(e.key):void 0;return(0,c.Z)((0,c.Z)({key:t},e.props),{},{node:e})}return null})).filter((function(e){return e}))}(y),B="rtl"===b;o=!1===S?{inkBar:!1,tabPane:!1}:!0===S?{inkBar:!0,tabPane:!0}:(0,c.Z)({inkBar:!0,tabPane:!1},"object"===(0,l.Z)(S)?S:{});var U=u((0,f.useState)(!1),2),W=U[0],K=U[1];(0,f.useEffect)((function(){K(v())}),[]);var q=u(C((function(){var e;return null===(e=H[0])||void 0===e?void 0:e.key}),{value:w,defaultValue:x}),2),Y=q[0],$=q[1],X=u((0,f.useState)((function(){return H.findIndex((function(e){return e.key===Y}))})),2),G=X[0],Q=X[1];(0,f.useEffect)((function(){var e,t=H.findIndex((function(e){return e.key===Y}));-1===t&&(t=Math.max(0,Math.min(G,H.length-1)),$(null===(e=H[t])||void 0===e?void 0:e.key));Q(t)}),[H.map((function(e){return e.key})).join("_"),Y,G]);var J=u(C(null,{value:a}),2),ee=J[0],te=J[1],ne=O;W&&!["left","right"].includes(O)&&(ne="top"),(0,f.useEffect)((function(){a||(te("rc-tabs-".concat(bo)),bo+=1)}),[]);var re,ie={id:ee,activeKey:Y,animated:o,tabPosition:ne,rtl:B,mobile:W},oe=(0,c.Z)((0,c.Z)({},ie),{},{editable:E,locale:I,moreIcon:A,moreTransitionName:z,tabBarGutter:M,onTabClick:function(e,t){null===L||void 0===L||L(e,t);var n=e!==Y;$(e),n&&(null===D||void 0===D||D(e))},onTabScroll:F,extra:P,style:T,panes:y,getPopupContainer:j,popupClassName:V});return re=R?R(oe,mo):f.createElement(mo,oe),f.createElement(so.Provider,{value:{tabs:H,prefixCls:h}},f.createElement("div",(0,r.Z)({ref:t,id:a,className:p()(h,"".concat(h,"-").concat(ne),(n={},(0,i.Z)(n,"".concat(h,"-mobile"),W),(0,i.Z)(n,"".concat(h,"-editable"),E),(0,i.Z)(n,"".concat(h,"-rtl"),B),n),g)},Z),re,f.createElement(vo,(0,r.Z)({destroyInactiveTabPane:N},ie,{animated:o}))))}var xo=f.forwardRef(wo);xo.TabPane=go;var Eo=xo},1471:function(e,t){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case u:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case m:case h:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=s,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=i,t.Profiler=u,t.StrictMode=a,t.Suspense=d,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return g(e)===s},t.isContextProvider=function(e){return g(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return g(e)===f},t.isFragment=function(e){return g(e)===o},t.isLazy=function(e){return g(e)===m},t.isMemo=function(e){return g(e)===h},t.isPortal=function(e){return g(e)===i},t.isProfiler=function(e){return g(e)===u},t.isStrictMode=function(e){return g(e)===a},t.isSuspense=function(e){return g(e)===d},t.isSuspenseList=function(e){return g(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===u||e===a||e===d||e===p||e===v||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===s||e.$$typeof===f||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=g},2143:function(e,t,n){"use strict";e.exports=n(1471)},6774:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var s=o[l];if(!u(s))return!1;var c=e[s],f=t[s];if(!1===(i=n?n.call(r,c,f,s):void 0)||void 0===i&&c!==f)return!1}return!0}},7848:function(e,t,n){var r=n(8139);function i(e,t){var n,i=null;if(!e||"string"!==typeof e)return i;for(var o,a,u=r(e),l="function"===typeof t,s=0,c=u.length;s<c;s++)o=(n=u[s]).property,a=n.value,l?t(o,a,n):a&&(i||(i={}),i[o]=a);return i}e.exports=i,e.exports.default=i},3250:function(e,t,n){"use strict";var r=n(7294);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},o=r.useState,a=r.useEffect,u=r.useLayoutEffect,l=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return u((function(){i.value=n,i.getSnapshot=t,s(i)&&c({inst:i})}),[e,n,t]),a((function(){return s(i)&&c({inst:i}),e((function(){s(i)&&c({inst:i})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},1688:function(e,t,n){"use strict";e.exports=n(3250)},7415:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return a},default:function(){return u}});const r=n(9758),i=(n(8025),r._(n(5088)));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function u(e,t){let n=i.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"===typeof e?r.loader=e:"object"===typeof e&&(r={...r,...e}),r={...r,...t};const u=r.loader;return r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!==typeof r.ssr||r.ssr?n({...r,loader:()=>null!=u?u().then(o):Promise.resolve(o((()=>null)))}):(delete r.webpack,delete r.modules,a(n,r))}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5572:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});const r=n(9758)._(n(8025)).default.createContext(null)},5088:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=n(9758)._(n(8025)),i=n(5572);const o=[],a=[];let u=!1;function l(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((e=>(n.loading=!1,n.loaded=e,e))).catch((e=>{throw n.loading=!1,n.error=e,e})),n}function s(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function l(){if(!o){const t=new c(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!u){const e=n.webpack?n.webpack():n.modules;e&&a.push((t=>{for(const n of e)if(t.includes(n))return l()}))}function s(e,t){!function(){l();const e=r.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach((t=>{e(t)}))}();const a=r.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return r.default.useImperativeHandle(t,(()=>({retry:o.retry})),[]),r.default.useMemo((()=>{return a.loading||a.error?r.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:o.retry}):a.loaded?r.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null;var t}),[e,a])}return s.preload=()=>l(),s.displayName="LoadableComponent",r.default.forwardRef(s)}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};const{_res:e,_opts:t}=this;e.loading&&("number"===typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout((()=>{this._update({pastDelay:!0})}),t.delay)),"number"===typeof t.timeout&&(this._timeout=setTimeout((()=>{this._update({timedOut:!0})}),t.timeout))),this._res.promise.then((()=>{this._update({}),this._clearTimeouts()})).catch((e=>{this._update({}),this._clearTimeouts()})),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach((e=>e()))}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return s(l,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then((()=>{if(e.length)return d(e,t)}))}f.preloadAll=()=>new Promise(((e,t)=>{d(o).then(e,t)})),f.preloadReady=e=>(void 0===e&&(e=[]),new Promise((t=>{const n=()=>(u=!0,t());d(a,e).then(n,n)}))),window.__NEXT_PRELOADREADY=f.preloadReady;const p=f},6389:function(e,t,n){e.exports=n(7415)},2192:function(e,t,n){"use strict";n.d(t,{R:function(){return ie}});var r=n(7294),i=n(1688);const o=()=>{},a=o(),u=Object,l=e=>e===a,s=e=>"function"==typeof e,c=(e,t)=>({...e,...t}),f=new WeakMap;let d=0;const p=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let i,o;if(u(e)!==e||r||n==RegExp)i=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=f.get(e),i)return i;if(i=++d+"~",f.set(e,i),n==Array){for(i="@",o=0;o<e.length;o++)i+=p(e[o])+",";f.set(e,i)}if(n==u){i="#";const t=u.keys(e).sort();for(;!l(o=t.pop());)l(e[o])||(i+=o+":"+p(e[o])+",");f.set(e,i)}}return i},h=new WeakMap,m={},v={},g="undefined",y=typeof window!=g,b=typeof document!=g,w=(e,t)=>{const n=h.get(e);return[()=>!l(t)&&e.get(t)||m,r=>{if(!l(t)){const i=e.get(t);t in v||(v[t]=i),n[5](t,c(i,r),i||m)}},n[6],()=>!l(t)&&t in v?v[t]:!l(t)&&e.get(t)||m]};let x=!0;const[E,k]=y&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],S={isOnline:()=>x,isVisible:()=>{const e=b&&document.visibilityState;return l(e)||"hidden"!==e}},C={initFocus:e=>(b&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{b&&document.removeEventListener("visibilitychange",e),k("focus",e)}),initReconnect:e=>{const t=()=>{x=!0,e()},n=()=>{x=!1};return E("online",t),E("offline",n),()=>{k("online",t),k("offline",n)}}},_=!r.useId,O=!y||"Deno"in window,M=e=>y&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),T=O?r.useEffect:r.useLayoutEffect,P="undefined"!==typeof navigator&&navigator.connection,I=!O&&P&&(["slow-2g","2g"].includes(P.effectiveType)||P.saveData),A=e=>{if(s(e))try{e=e()}catch(n){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?p(e):"",t]};let z=0;const N=()=>++z;var R=3,D=0,L=2,F=1;async function j(...e){const[t,n,r,i]=e,o=c({populateCache:!0,throwOnError:!0},"boolean"===typeof i?{revalidate:i}:i||{});let u=o.populateCache;const f=o.rollbackOnError;let d=o.optimisticData;const p=!1!==o.revalidate,m=o.throwOnError;if(s(n)){const e=n,r=[],i=t.keys();for(const n of i)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(v))}return v(n);async function v(n){const[i]=A(n);if(!i)return;const[o,c]=w(t,i),[v,g,y,b]=h.get(t),x=v[i],E=()=>p&&(delete y[i],delete b[i],x&&x[0])?x[0](2).then((()=>o().data)):o().data;if(e.length<3)return E();let k,S=r;const C=N();g[i]=[C,0];const _=!l(d),O=o(),M=O.data,T=O._c,P=l(T)?M:T;if(_&&(d=s(d)?d(P,M):d,c({data:d,_c:P})),s(S))try{S=S(P)}catch(z){k=z}if(S&&s(S.then)){if(S=await S.catch((e=>{k=e})),C!==g[i][0]){if(k)throw k;return S}k&&_&&(e=>"function"===typeof f?f(e):!1!==f)(k)&&(u=!0,S=P,c({data:S,_c:a}))}u&&(k||(s(u)&&(S=u(S,P)),c({data:S,error:a,_c:a}))),g[i][1]=N();const I=await E();if(c({_c:a}),!k)return u?I:S;if(m)throw k}}const V=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Z=(e,t)=>{if(!h.has(e)){const n=c(C,t),r={},i=j.bind(a,e);let u=o;const l={},s=(e,t)=>{const n=l[e]||[];return l[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,r)=>{e.set(t,n);const i=l[t];if(i)for(const e of i)e(n,r)},d=()=>{if(!h.has(e)&&(h.set(e,[r,{},{},{},i,f,s]),!O)){const t=n.initFocus(setTimeout.bind(a,V.bind(a,r,0))),i=n.initReconnect(setTimeout.bind(a,V.bind(a,r,1)));u=()=>{t&&t(),i&&i(),h.delete(e)}}};return d(),[e,i,d,u]}return[e,h.get(e)[4]]},[H,B]=Z(new Map),U=c({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:(e,t,n,r,i)=>{const o=n.errorRetryCount,a=i.retryCount,u=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!l(o)&&a>o||setTimeout(r,u,i)},onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:I?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:I?5e3:3e3,compare:(e,t)=>p(e)==p(t),isPaused:()=>!1,cache:H,mutate:B,fallback:{}},S),W=(e,t)=>{const n=c(e,t);if(t){const{use:r,fallback:i}=e,{use:o,fallback:a}=t;r&&o&&(n.use=r.concat(o)),i&&a&&(n.fallback=c(i,a))}return n},K=(0,r.createContext)({}),q=y&&window.__SWR_DEVTOOLS_USE__,Y=q?window.__SWR_DEVTOOLS_USE__:[],$=e=>s(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],X=Y.concat((e=>(t,n,r)=>e(t,n&&((...e)=>{const[r]=A(t),[,,,i]=h.get(H),o=i[r];return l(o)?n(...e):(delete i[r],o)}),r)));q&&(window.__SWR_DEVTOOLS_REACT__=r);const G=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),Q={dedupe:!0},J=(u.defineProperty((e=>{const{value:t}=e,n=(0,r.useContext)(K),i=s(t),o=(0,r.useMemo)((()=>i?t(n):t),[i,n,t]),u=(0,r.useMemo)((()=>i?o:W(n,o)),[i,n,o]),l=o&&o.provider,f=(0,r.useRef)(a);l&&!f.current&&(f.current=Z(l(u.cache||H),o));const d=f.current;return d&&(u.cache=d[0],u.mutate=d[1]),T((()=>{if(d)return d[2]&&d[2](),d[3]}),[]),(0,r.createElement)(K.Provider,c(e,{value:u}))}),"defaultValue",{value:U}),ee=(e,t,n)=>{const{cache:o,compare:u,suspense:f,fallbackData:d,revalidateOnMount:p,revalidateIfStale:m,refreshInterval:v,refreshWhenHidden:g,refreshWhenOffline:y,keepPreviousData:b}=n,[x,E,k,S]=h.get(o),[C,P]=A(e),I=(0,r.useRef)(!1),z=(0,r.useRef)(!1),V=(0,r.useRef)(C),Z=(0,r.useRef)(t),H=(0,r.useRef)(n),B=()=>H.current,U=()=>B().isVisible()&&B().isOnline(),[W,K,q,Y]=w(o,C),$=(0,r.useRef)({}).current,X=l(d)?n.fallback[C]:d,J=(e,t)=>{for(const n in $){const r=n;if("data"===r){if(!u(e[r],t[r])){if(!l(e[r]))return!1;if(!u(le,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},ee=(0,r.useMemo)((()=>{const e=!!C&&!!t&&(l(p)?!B().isPaused()&&!f&&(!!l(m)||m):p),n=t=>{const n=c(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=W(),i=Y(),o=n(r),a=r===i?o:n(i);let u=o;return[()=>{const e=n(W());return J(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>a]}),[o,C]),te=(0,i.useSyncExternalStore)((0,r.useCallback)((e=>q(C,((t,n)=>{J(n,t)||e()}))),[o,C]),ee[0],ee[1]),ne=!I.current,re=x[C]&&x[C].length>0,ie=te.data,oe=l(ie)?X:ie,ae=te.error,ue=(0,r.useRef)(oe),le=b?l(ie)?ue.current:ie:oe,se=!(re&&!l(ae))&&(ne&&!l(p)?p:!B().isPaused()&&(f?!l(oe)&&m:l(oe)||m)),ce=!!(C&&t&&ne&&se),fe=l(te.isValidating)?ce:te.isValidating,de=l(te.isLoading)?ce:te.isLoading,pe=(0,r.useCallback)((async e=>{const t=Z.current;if(!C||!t||z.current||B().isPaused())return!1;let r,i,o=!0;const c=e||{},f=!k[C]||!c.dedupe,d=()=>_?!z.current&&C===V.current&&I.current:C===V.current,p={isValidating:!1,isLoading:!1},h=()=>{K(p)},m=()=>{const e=k[C];e&&e[1]===i&&delete k[C]},v={isValidating:!0};l(W().data)&&(v.isLoading=!0);try{if(f&&(K(v),n.loadingTimeout&&l(W().data)&&setTimeout((()=>{o&&d()&&B().onLoadingSlow(C,n)}),n.loadingTimeout),k[C]=[t(P),N()]),[r,i]=k[C],r=await r,f&&setTimeout(m,n.dedupingInterval),!k[C]||k[C][1]!==i)return f&&d()&&B().onDiscarded(C),!1;p.error=a;const e=E[C];if(!l(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return h(),f&&d()&&B().onDiscarded(C),!1;const s=W().data;p.data=u(s,r)?s:r,f&&d()&&B().onSuccess(r,C,n)}catch(g){m();const e=B(),{shouldRetryOnError:t}=e;e.isPaused()||(p.error=g,f&&d()&&(e.onError(g,C,e),(!0===t||s(t)&&t(g))&&U()&&e.onErrorRetry(g,C,e,(e=>{const t=x[C];t&&t[0]&&t[0](R,e)}),{retryCount:(c.retryCount||0)+1,dedupe:!0})))}return o=!1,h(),!0}),[C,o]),he=(0,r.useCallback)(((...e)=>j(o,V.current,...e)),[]);if(T((()=>{Z.current=t,H.current=n,l(ie)||(ue.current=ie)})),T((()=>{if(!C)return;const e=pe.bind(a,Q);let t=0;const n=((e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}})(C,x,((n,r={})=>{if(n==D){const n=Date.now();B().revalidateOnFocus&&n>t&&U()&&(t=n+B().focusThrottleInterval,e())}else if(n==F)B().revalidateOnReconnect&&U()&&e();else{if(n==L)return pe();if(n==R)return pe(r)}}));return z.current=!1,V.current=C,I.current=!0,K({_k:P}),se&&(l(oe)||O?e():M(e)),()=>{z.current=!0,n()}}),[C]),T((()=>{let e;function t(){const t=s(v)?v(W().data):v;t&&-1!==e&&(e=setTimeout(n,t))}function n(){W().error||!g&&!B().isVisible()||!y&&!B().isOnline()?t():pe(Q).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[v,g,y,C]),(0,r.useDebugValue)(le),f&&l(oe)&&C){if(!_&&O)throw new Error("Fallback data is required when using suspense in SSR.");Z.current=t,H.current=n,z.current=!1;const e=S[C];if(!l(e)){const t=he(e);G(t)}if(!l(ae))throw ae;{const e=pe(Q);l(le)||(e.status="fulfilled",e.value=!0),G(e)}}return{mutate:he,get data(){return $.data=!0,le},get error(){return $.error=!0,ae},get isValidating(){return $.isValidating=!0,fe},get isLoading(){return $.isLoading=!0,de}}},function(...e){const t=c(U,(0,r.useContext)(K)),[n,i,o]=$(e),a=W(t,o);let u=ee;const{use:l}=a,s=(l||[]).concat(X);for(let r=s.length;r--;)u=s[r](u);return u(n,i||a.fetcher||null,a)});var ee;var te=((e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r})("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",7);function ne(){const e=new TextDecoder;return function(t){return t?e.decode(t,{stream:!0}):""}}var re=async(e,t,n,r,i,o,a,u,l)=>{var s,c;const f=i.current;n(t.messages,!1);const d=await fetch(e,{method:"POST",body:JSON.stringify({messages:l?t.messages:t.messages.map((({role:e,content:t,name:n,function_call:r})=>({role:e,content:t,...void 0!==n&&{name:n},...void 0!==r&&{function_call:r}}))),...r.current.body,...null==(s=t.options)?void 0:s.body,...void 0!==t.functions&&{functions:t.functions},...void 0!==t.function_call&&{function_call:t.function_call}}),credentials:r.current.credentials,headers:{...r.current.headers,...null==(c=t.options)?void 0:c.headers},...null!==o.current&&{signal:o.current.signal}}).catch((e=>{throw n(f,!1),e}));if(u)try{await u(d)}catch(b){throw b}if(!d.ok)throw n(f,!1),new Error(await d.text()||"Failed to fetch the chat response.");if(!d.body)throw new Error("The response body is empty.");let p="";const h=new Date,m=te(),v=d.body.getReader(),g=ne();let y={id:m,createdAt:h,content:"",role:"assistant"};for(;;){const{done:e,value:r}=await v.read();if(e)break;if(p+=g(r),p.startsWith('{"function_call":')?y.function_call=p:y.content=p,n([...t.messages,{...y}],!1),null===o.current){v.cancel();break}}if(p.startsWith('{"function_call":')){const e=JSON.parse(p).function_call;y.function_call=e,n([...t.messages,{...y}])}return a&&a(y),y};function ie({api:e="/api/chat",id:t,initialMessages:n=[],initialInput:i="",sendExtraMessageFields:o,experimental_onFunctionCall:a,onResponse:u,onFinish:l,onError:s,credentials:c,headers:f,body:d}={}){const p=(0,r.useId)(),h=t||p,{data:m,mutate:v}=J([e,h],null,{fallbackData:n}),{data:g=!1,mutate:y}=J([h,"loading"],null),b=m,w=(0,r.useRef)(b);(0,r.useEffect)((()=>{w.current=b}),[b]);const x=(0,r.useRef)(null),E=(0,r.useRef)({credentials:c,headers:f,body:d});(0,r.useEffect)((()=>{E.current={credentials:c,headers:f,body:d}}),[c,f,d]);const[k,S]=(0,r.useState)();async function C(t){try{y(!0);const n=new AbortController;for(x.current=n;;){const n=await re(e,t,v,E,w,x,l,u,o);if(void 0===n.function_call||"string"===typeof n.function_call)break;if(a){const e=n.function_call,r=await a(w.current,e);if(void 0===r)break;t=r}}return x.current=null,null}catch(n){if("AbortError"===n.name)return x.current=null,null;s&&n instanceof Error&&s(n),S(n)}finally{y(!1)}}const _=(0,r.useCallback)((async(e,{options:t,functions:n,function_call:r}={})=>{e.id||(e.id=te());return C({messages:w.current.concat(e),options:t,...void 0!==n&&{functions:n},...void 0!==r&&{function_call:r}})}),[C]),O=(0,r.useCallback)((async({options:e,functions:t,function_call:n}={})=>{if(0===w.current.length)return null;if("assistant"===w.current[w.current.length-1].role){return C({messages:w.current.slice(0,-1),options:e,...void 0!==t&&{functions:t},...void 0!==n&&{function_call:n}})}return C({messages:w.current,options:e,...void 0!==t&&{functions:t},...void 0!==n&&{function_call:n}})}),[C]),M=(0,r.useCallback)((()=>{x.current&&(x.current.abort(),x.current=null)}),[]),T=(0,r.useCallback)((e=>{v(e,!1),w.current=e}),[v]),[P,I]=(0,r.useState)(i),A=(0,r.useCallback)(((e,{options:t,functions:n,function_call:r}={},i)=>{i&&(E.current={...E.current,...i}),e.preventDefault(),P&&(_({content:P,role:"user",createdAt:new Date},{options:t,functions:n,function_call:r}),I(""))}),[P,_]);return{messages:b,error:k,append:_,reload:O,stop:M,setMessages:T,input:P,setInput:I,handleInputChange:e=>{I(e.target.value)},handleSubmit:A,isLoading:g}}},524:function(e,t,n){"use strict";n.d(t,{oL:function(){return ke}});var r=n(7294);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var u,l={exports:{}};u=l,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)n.push(i);else if(Array.isArray(i)){if(i.length){var a=t.apply(null,i);a&&n.push(a)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var u in i)e.call(i,u)&&i[u]&&n.push(u);else n.push(i.toString())}}return n.join(" ")}u.exports?(t.default=t,u.exports=t):window.classNames=t}();var s=a(l.exports),c=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,m=Object.prototype.toString;function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==m.call(e)}(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var n=d.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):f.test(e)?NaN:+e}var y=a((function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=g(n))==n?n:0),void 0!==t&&(t=(t=g(t))==t?t:0),function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}(g(e),t,n)})),b={exports:{}};!function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,i="[object Arguments]",a="[object Array]",u="[object Boolean]",l="[object Date]",s="[object Error]",c="[object Function]",f="[object Map]",d="[object Number]",p="[object Object]",h="[object Promise]",m="[object RegExp]",v="[object Set]",g="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",x=/^\[object .+?Constructor\]$/,E=/^(?:0|[1-9]\d*)$/,k={};k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[i]=k[a]=k[b]=k[u]=k[w]=k[l]=k[s]=k[c]=k[f]=k[d]=k[p]=k[m]=k[v]=k[g]=k[y]=!1;var S="object"==typeof o&&o&&o.Object===Object&&o,C="object"==typeof self&&self&&self.Object===Object&&self,_=S||C||Function("return this")(),O=t&&!t.nodeType&&t,M=O&&e&&!e.nodeType&&e,T=M&&M.exports===O,P=T&&S.process,I=function(){try{return P&&P.binding&&P.binding("util")}catch(e){}}(),A=I&&I.isTypedArray;function z(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function N(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function R(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var D,L,F,j=Array.prototype,V=Function.prototype,Z=Object.prototype,H=_["__core-js_shared__"],B=V.toString,U=Z.hasOwnProperty,W=(D=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"",K=Z.toString,q=RegExp("^"+B.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Y=T?_.Buffer:void 0,$=_.Symbol,X=_.Uint8Array,G=Z.propertyIsEnumerable,Q=j.splice,J=$?$.toStringTag:void 0,ee=Object.getOwnPropertySymbols,te=Y?Y.isBuffer:void 0,ne=(L=Object.keys,F=Object,function(e){return L(F(e))}),re=Me(_,"DataView"),ie=Me(_,"Map"),oe=Me(_,"Promise"),ae=Me(_,"Set"),ue=Me(_,"WeakMap"),le=Me(Object,"create"),se=Ae(re),ce=Ae(ie),fe=Ae(oe),de=Ae(ae),pe=Ae(ue),he=$?$.prototype:void 0,me=he?he.valueOf:void 0;function ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function be(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ye;++t<n;)this.add(e[t])}function we(e){var t=this.__data__=new ge(e);this.size=t.size}function xe(e,t){for(var n=e.length;n--;)if(ze(e[n][0],t))return n;return-1}function Ee(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":J&&J in Object(e)?function(e){var t=U.call(e,J),n=e[J];try{e[J]=void 0;var r=!0}catch(e){}var i=K.call(e);return r&&(t?e[J]=n:delete e[J]),i}(e):function(e){return K.call(e)}(e)}function ke(e){return Ve(e)&&Ee(e)==i}function Se(e,t,n,r,o){return e===t||(null==e||null==t||!Ve(e)&&!Ve(t)?e!=e&&t!=t:function(e,t,n,r,o,c){var h=Re(e),y=Re(t),x=h?a:Pe(e),E=y?a:Pe(t),k=(x=x==i?p:x)==p,S=(E=E==i?p:E)==p,C=x==E;if(C&&De(e)){if(!De(t))return!1;h=!0,k=!1}if(C&&!k)return c||(c=new we),h||Ze(e)?Ce(e,t,n,r,o,c):function(e,t,n,r,i,o,a){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case b:return!(e.byteLength!=t.byteLength||!o(new X(e),new X(t)));case u:case l:case d:return ze(+e,+t);case s:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case f:var c=N;case v:var p=1&r;if(c||(c=R),e.size!=t.size&&!p)return!1;var h=a.get(e);if(h)return h==t;r|=2,a.set(e,t);var y=Ce(c(e),c(t),r,i,o,a);return a.delete(e),y;case"[object Symbol]":if(me)return me.call(e)==me.call(t)}return!1}(e,t,x,n,r,o,c);if(!(1&n)){var _=k&&U.call(e,"__wrapped__"),O=S&&U.call(t,"__wrapped__");if(_||O){var M=_?e.value():e,T=O?t.value():t;return c||(c=new we),o(M,T,n,r,c)}}return!!C&&(c||(c=new we),function(e,t,n,r,i,o){var a=1&n,u=_e(e),l=u.length;if(l!=_e(t).length&&!a)return!1;for(var s=l;s--;){var c=u[s];if(!(a?c in t:U.call(t,c)))return!1}var f=o.get(e);if(f&&o.get(t))return f==t;var d=!0;o.set(e,t),o.set(t,e);for(var p=a;++s<l;){var h=e[c=u[s]],m=t[c];if(r)var v=a?r(m,h,c,t,e,o):r(h,m,c,e,t,o);if(!(void 0===v?h===m||i(h,m,n,r,o):v)){d=!1;break}p||(p="constructor"==c)}if(d&&!p){var g=e.constructor,y=t.constructor;g==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,o,c))}(e,t,n,r,Se,o))}function Ce(e,t,n,r,i,o){var a=1&n,u=e.length,l=t.length;if(u!=l&&!(a&&l>u))return!1;var s=o.get(e);if(s&&o.get(t))return s==t;var c=-1,f=!0,d=2&n?new be:void 0;for(o.set(e,t),o.set(t,e);++c<u;){var p=e[c],h=t[c];if(r)var m=a?r(h,p,c,t,e,o):r(p,h,c,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!z(t,(function(e,t){if(a=t,!d.has(a)&&(p===e||i(p,e,n,r,o)))return d.push(t);var a}))){f=!1;break}}else if(p!==h&&!i(p,h,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function _e(e){return function(e,t,n){var r=t(e);return Re(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,He,Te)}function Oe(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!je(e)||function(e){return!!W&&W in e}(e))&&(Le(e)?q:x).test(Ae(e))}(n)?n:void 0}ve.prototype.clear=function(){this.__data__=le?le(null):{},this.size=0},ve.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ve.prototype.get=function(e){var t=this.__data__;if(le){var r=t[e];return r===n?void 0:r}return U.call(t,e)?t[e]:void 0},ve.prototype.has=function(e){var t=this.__data__;return le?void 0!==t[e]:U.call(t,e)},ve.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=le&&void 0===t?n:t,this},ge.prototype.clear=function(){this.__data__=[],this.size=0},ge.prototype.delete=function(e){var t=this.__data__,n=xe(t,e);return!(n<0)&&(n==t.length-1?t.pop():Q.call(t,n,1),--this.size,!0)},ge.prototype.get=function(e){var t=this.__data__,n=xe(t,e);return n<0?void 0:t[n][1]},ge.prototype.has=function(e){return xe(this.__data__,e)>-1},ge.prototype.set=function(e,t){var n=this.__data__,r=xe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ye.prototype.clear=function(){this.size=0,this.__data__={hash:new ve,map:new(ie||ge),string:new ve}},ye.prototype.delete=function(e){var t=Oe(this,e).delete(e);return this.size-=t?1:0,t},ye.prototype.get=function(e){return Oe(this,e).get(e)},ye.prototype.has=function(e){return Oe(this,e).has(e)},ye.prototype.set=function(e,t){var n=Oe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},be.prototype.add=be.prototype.push=function(e){return this.__data__.set(e,n),this},be.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new ge,this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ge){var r=n.__data__;if(!ie||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ye(r)}return n.set(e,t),this.size=n.size,this};var Te=ee?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a)&&(o[i++]=a)}return o}(ee(e),(function(t){return G.call(e,t)})))}:function(){return[]},Pe=Ee;function Ie(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||E.test(e))&&e>-1&&e%1==0&&e<t}function Ae(e){if(null!=e){try{return B.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ze(e,t){return e===t||e!=e&&t!=t}(re&&Pe(new re(new ArrayBuffer(1)))!=w||ie&&Pe(new ie)!=f||oe&&Pe(oe.resolve())!=h||ae&&Pe(new ae)!=v||ue&&Pe(new ue)!=y)&&(Pe=function(e){var t=Ee(e),n=t==p?e.constructor:void 0,r=n?Ae(n):"";if(r)switch(r){case se:return w;case ce:return f;case fe:return h;case de:return v;case pe:return y}return t});var Ne=ke(function(){return arguments}())?ke:function(e){return Ve(e)&&U.call(e,"callee")&&!G.call(e,"callee")},Re=Array.isArray,De=te||function(){return!1};function Le(e){if(!je(e))return!1;var t=Ee(e);return t==c||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Fe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function je(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ve(e){return null!=e&&"object"==typeof e}var Ze=A?function(e){return function(t){return e(t)}}(A):function(e){return Ve(e)&&Fe(e.length)&&!!k[Ee(e)]};function He(e){return null!=(t=e)&&Fe(t.length)&&!Le(t)?function(e,t){var n=Re(e),r=!n&&Ne(e),i=!n&&!r&&De(e),o=!n&&!r&&!i&&Ze(e),a=n||r||i||o,u=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=u.length;for(var s in e)!t&&!U.call(e,s)||a&&("length"==s||i&&("offset"==s||"parent"==s)||o&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Ie(s,l))||u.push(s);return u}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||Z))return ne(e);var t,n,r=[];for(var i in Object(e))U.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e);var t}e.exports=function(e,t){return Se(e,t)}}(b,b.exports);var w=a(b.exports);function x(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}function E(e){void 0===e&&(e={});var t=e.onResize,n=(0,r.useRef)(void 0);n.current=t;var i=e.round||Math.round,o=(0,r.useRef)(),a=(0,r.useState)({width:void 0,height:void 0}),u=a[0],l=a[1],s=(0,r.useRef)(!1);(0,r.useEffect)((function(){return s.current=!1,function(){s.current=!0}}),[]);var c=(0,r.useRef)({width:void 0,height:void 0}),f=function(e,t){var n=(0,r.useRef)(null),i=(0,r.useRef)(null);i.current=t;var o=(0,r.useRef)(null);(0,r.useEffect)((function(){a()}));var a=(0,r.useCallback)((function(){var t=o.current,r=i.current,a=t||(r?r instanceof Element?r:r.current:null);n.current&&n.current.element===a&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:a,subscriber:e,cleanup:a?e(a):void 0})}),[e]);return(0,r.useEffect)((function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}}),[]),(0,r.useCallback)((function(e){o.current=e,a()}),[a])}((0,r.useCallback)((function(t){return o.current&&o.current.box===e.box&&o.current.round===i||(o.current={box:e.box,round:i,instance:new ResizeObserver((function(t){var r=t[0],o="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",a=x(r,o,"inlineSize"),u=x(r,o,"blockSize"),f=a?i(a):void 0,d=u?i(u):void 0;if(c.current.width!==f||c.current.height!==d){var p={width:f,height:d};c.current.width=f,c.current.height=d,n.current?n.current(p):s.current||l(p)}}))}),o.current.instance.observe(t,{box:e.box}),function(){o.current&&o.current.instance.unobserve(t)}}),[e.box,i]),e.ref);return(0,r.useMemo)((function(){return{ref:f,width:u.width,height:u.height}}),[f,u.width,u.height])}var k="allotment-module_splitViewView__MGZ6O";let S,C=!1,_=!1;"object"==typeof navigator&&(S=navigator.userAgent,_=S.indexOf("Macintosh")>=0,C=(S.indexOf("Macintosh")>=0||S.indexOf("iPad")>=0||S.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0);const O=C,M=_,T="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;class P{constructor(){this._size=void 0}getSize(){return this._size}setSize(e){this._size=e}}function I(e,t){const n=e.length,r=n-t.length;return r>=0&&e.slice(r,n)===t}var A={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var u=new i(r,o||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],u]:e._events[l].push(u):(e._events[l]=u,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function u(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),u.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},u.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},u.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},u.prototype.emit=function(e,t,r,i,o,a){var u=n?n+e:e;if(!this._events[u])return!1;var l,s,c=this._events[u],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,i),!0;case 5:return c.fn.call(c.context,t,r,i,o),!0;case 6:return c.fn.call(c.context,t,r,i,o,a),!0}for(s=1,l=new Array(f-1);s<f;s++)l[s-1]=arguments[s];c.fn.apply(c.context,l)}else{var d,p=c.length;for(s=0;s<p;s++)switch(c[s].once&&this.removeListener(e,c[s].fn,void 0,!0),f){case 1:c[s].fn.call(c[s].context);break;case 2:c[s].fn.call(c[s].context,t);break;case 3:c[s].fn.call(c[s].context,t,r);break;case 4:c[s].fn.call(c[s].context,t,r,i);break;default:if(!l)for(d=1,l=new Array(f-1);d<f;d++)l[d-1]=arguments[d];c[s].fn.apply(c[s].context,l)}}return!0},u.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},u.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},u.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var u=this._events[o];if(u.fn)u.fn!==t||i&&!u.once||r&&u.context!==r||a(this,o);else{for(var l=0,s=[],c=u.length;l<c;l++)(u[l].fn!==t||i&&!u[l].once||r&&u[l].context!==r)&&s.push(u[l]);s.length?this._events[o]=1===s.length?s[0]:s:a(this,o)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=n,u.EventEmitter=u,e.exports=u}(A);var z=a(A.exports);function N(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function R(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function D(e,t,n=1){const r=Math.max(0,Math.ceil((t-e)/n)),i=new Array(r);let o=-1;for(;++o<r;)i[o]=e+o*n;return i}var L=/^\s+|\s+$/g,F=/^[-+]0x[0-9a-f]+$/i,j=/^0b[01]+$/i,V=/^0o[0-7]+$/i,Z=parseInt,H="object"==typeof o&&o&&o.Object===Object&&o,B="object"==typeof self&&self&&self.Object===Object&&self,U=H||B||Function("return this")(),W=Object.prototype.toString,K=Math.max,q=Math.min,Y=function(){return U.Date.now()};function $(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function X(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==W.call(e)}(e))return NaN;if($(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(L,"");var n=j.test(e);return n||V.test(e)?Z(e.slice(2),n?2:8):F.test(e)?NaN:+e}var G=a((function(e,t,n){var r,i,o,a,u,l,s=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,o=i;return r=i=void 0,s=t,a=e.apply(o,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||f&&e-s>=o}function m(){var e=Y();if(h(e))return v(e);u=setTimeout(m,function(e){var n=t-(e-l);return f?q(n,o-(e-s)):n}(e))}function v(e){return u=void 0,d&&r?p(e):(r=i=void 0,a)}function g(){var e=Y(),n=h(e);if(r=arguments,i=this,l=e,n){if(void 0===u)return function(e){return s=e,u=setTimeout(m,t),c?p(e):a}(l);if(f)return u=setTimeout(m,t),p(l)}return void 0===u&&(u=setTimeout(m,t)),a}return t=X(t)||0,$(n)&&(c=!!n.leading,o=(f="maxWait"in n)?K(X(n.maxWait)||0,t):o,d="trailing"in n?!!n.trailing:d),g.cancel=function(){void 0!==u&&clearTimeout(u),s=0,r=l=i=u=void 0},g.flush=function(){return void 0===u?a:v(Y())},g})),Q="sash-module_vertical__pB-rs",J="sash-module_horizontal__kFbiw",ee="sash-module_hover__80W6I",te="sash-module_active__bJspD";let ne=((oe={}).Vertical="VERTICAL",oe.Horizontal="HORIZONTAL",oe),re=function(e){return e.Disabled="DISABLED",e.Minimum="MINIMUM",e.Maximum="MAXIMUM",e.Enabled="ENABLED",e}({}),ie=O?20:8;var oe;const ae=new z;class ue extends z{get state(){return this._state}set state(e){this._state!==e&&(this.el.classList.toggle("sash-module_disabled__Hm-wx",e===re.Disabled),this.el.classList.toggle("dash-disabled",e===re.Disabled),this.el.classList.toggle("sash-module_minimum__-UKxp",e===re.Minimum),this.el.classList.toggle("sash-minimum",e===re.Minimum),this.el.classList.toggle("sash-module_maximum__TCWxD",e===re.Maximum),this.el.classList.toggle("sash-maximum",e===re.Maximum),this._state=e,this.emit("enablementChange",e))}constructor(e,t,n){var r;super(),this.el=void 0,this.layoutProvider=void 0,this.orientation=void 0,this.size=void 0,this.hoverDelay=300,this.hoverDelayer=G((e=>e.classList.add("sash-hover",ee)),this.hoverDelay),this._state=re.Enabled,this.onPointerStart=e=>{const t=e.pageX,n=e.pageY,r={startX:t,currentX:t,startY:n,currentY:n};this.el.classList.add("sash-active",te),this.emit("start",r),this.el.setPointerCapture(e.pointerId);const i=e=>{e.preventDefault();const r={startX:t,currentX:e.pageX,startY:n,currentY:e.pageY};this.emit("change",r)},o=e=>{e.preventDefault(),this.el.classList.remove("sash-active",te),this.hoverDelayer.cancel(),this.emit("end"),this.el.releasePointerCapture(e.pointerId),window.removeEventListener("pointermove",i),window.removeEventListener("pointerup",o)};window.addEventListener("pointermove",i),window.addEventListener("pointerup",o)},this.onPointerDoublePress=()=>{this.emit("reset")},this.onMouseEnter=()=>{this.el.classList.contains(te)?(this.hoverDelayer.cancel(),this.el.classList.add("sash-hover",ee)):this.hoverDelayer(this.el)},this.onMouseLeave=()=>{this.hoverDelayer.cancel(),this.el.classList.remove("sash-hover",ee)},this.el=document.createElement("div"),this.el.classList.add("sash","sash-module_sash__K-9lB"),this.el.dataset.testid="sash",e.append(this.el),M&&this.el.classList.add("sash-mac","sash-module_mac__Jf6OJ"),this.el.addEventListener("pointerdown",this.onPointerStart),this.el.addEventListener("dblclick",this.onPointerDoublePress),this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("mouseleave",this.onMouseLeave),"number"==typeof n.size?(this.size=n.size,n.orientation===ne.Vertical?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=ie,ae.on("onDidChangeGlobalSize",(e=>{this.size=e,this.layout()}))),this.layoutProvider=t,this.orientation=null!=(r=n.orientation)?r:ne.Vertical,this.orientation===ne.Horizontal?(this.el.classList.add("sash-horizontal",J),this.el.classList.remove("sash-vertical",Q)):(this.el.classList.remove("sash-horizontal",J),this.el.classList.add("sash-vertical",Q)),this.layout()}layout(){if(this.orientation===ne.Vertical){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}dispose(){this.el.removeEventListener("pointerdown",this.onPointerStart),this.el.removeEventListener("dblclick",this.onPointerDoublePress),this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("mouseleave",(()=>this.onMouseLeave)),this.el.remove()}}let le;var se;(se=le||(le={})).Distribute={type:"distribute"},se.Split=function(e){return{type:"split",index:e}},se.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}};let ce=function(e){return e.Normal="NORMAL",e.Low="LOW",e.High="HIGH",e}({});class fe{constructor(e,t,n){this.container=void 0,this.view=void 0,this._size=void 0,this._cachedVisibleSize=void 0,this.container=e,this.view=t,this.container.classList.add("split-view-view",k),this.container.dataset.testid="split-view-view","number"==typeof n?(this._size=n,this._cachedVisibleSize=void 0,e.classList.add("split-view-view-visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get priority(){return this.view.priority}get snap(){return!!this.view.snap}get cachedVisibleSize(){return this._cachedVisibleSize}get visible(){return void 0===this._cachedVisibleSize}setVisible(e,t){e!==this.visible&&(e?(this.size=y(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof t?t:this.size,this.size=0),this.container.classList.toggle("split-view-view-visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e){this.layoutContainer(e),this.view.layout(this.size,e)}}class de extends fe{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}}class pe extends fe{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}}class he extends z{get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}constructor(e,t={},n,r,i){var o,a;if(super(),this.onDidChange=void 0,this.onDidDragStart=void 0,this.onDidDragEnd=void 0,this.orientation=void 0,this.sashContainer=void 0,this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.sashDragState=void 0,this.proportionalLayout=void 0,this.getSashOrthogonalSize=void 0,this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onSashEnd=e=>{this.emit("sashchange",e),this.saveProportions();for(const t of this.viewItems)t.enabled=!0},this.orientation=null!=(o=t.orientation)?o:ne.Vertical,this.proportionalLayout=null==(a=t.proportionalLayout)||a,this.getSashOrthogonalSize=t.getSashOrthogonalSize,n&&(this.onDidChange=n),r&&(this.onDidDragStart=r),i&&(this.onDidDragEnd=i),this.sashContainer=document.createElement("div"),this.sashContainer.classList.add("sash-container","allotment-module_sashContainer__fzwJF"),e.prepend(this.sashContainer),t.descriptor){this.size=t.descriptor.size;for(const[e,n]of t.descriptor.views.entries()){const t=n.size,r=n.container,i=n.view;this.addView(r,i,t,e,!0)}this.contentSize=this.viewItems.reduce(((e,t)=>e+t.size),0),this.saveProportions()}}addView(e,t,n,r=this.viewItems.length,i){let o;o="number"==typeof n?n:"split"===n.type?this.getViewSize(n.index)/2:"invisible"===n.type?{cachedVisibleSize:n.cachedVisibleSize}:t.minimumSize;const a=this.orientation===ne.Vertical?new pe(e,t,o):new de(e,t,o);if(this.viewItems.splice(r,0,a),this.viewItems.length>1){const e=this.orientation===ne.Vertical?new ue(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},{orientation:ne.Horizontal}):new ue(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},{orientation:ne.Vertical}),t=this.orientation===ne.Vertical?t=>({sash:e,start:t.startY,current:t.currentY}):t=>({sash:e,start:t.startX,current:t.currentX});e.on("start",(e=>{var n;this.emit("sashDragStart"),this.onSashStart(t(e));const r=this.viewItems.map((e=>e.size));null==(n=this.onDidDragStart)||n.call(this,r)})),e.on("change",(e=>this.onSashChange(t(e)))),e.on("end",(()=>{var t;this.emit("sashDragEnd"),this.onSashEnd(this.sashItems.findIndex((t=>t.sash===e)));const n=this.viewItems.map((e=>e.size));null==(t=this.onDidDragEnd)||t.call(this,n)})),e.on("reset",(()=>{const t=this.sashItems.findIndex((t=>t.sash===e)),n=D(t,-1,-1),r=D(t+1,this.viewItems.length),i=this.findFirstSnapIndex(n),o=this.findFirstSnapIndex(r);("number"!=typeof i||this.viewItems[i].visible)&&("number"!=typeof o||this.viewItems[o].visible)&&this.emit("sashreset",t)}));const n={sash:e};this.sashItems.splice(r-1,0,n)}i||this.relayout(),i||"number"==typeof n||"distribute"!==n.type||this.distributeViewSizes()}removeView(e,t){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");const n=this.viewItems.splice(e,1)[0].view;if(this.viewItems.length>=1){const t=Math.max(e-1,0);this.sashItems.splice(t,1)[0].sash.dispose()}return this.relayout(),t&&"distribute"===t.type&&this.distributeViewSizes(),n}moveView(e,t,n){const r=this.getViewCachedVisibleSize(t),i=void 0===r?this.getViewSize(t):le.Invisible(r),o=this.removeView(t);this.addView(e,o,i,n)}getViewCachedVisibleSize(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].cachedVisibleSize}layout(e=this.size){const t=Math.max(this.size,this.contentSize);if(this.size=e,this.proportions)for(let n=0;n<this.viewItems.length;n++){const t=this.viewItems[n];t.size=y(Math.round(this.proportions[n]*e),t.minimumSize,t.maximumSize)}else{const n=D(0,this.viewItems.length),r=n.filter((e=>this.viewItems[e].priority===ce.Low)),i=n.filter((e=>this.viewItems[e].priority===ce.High));this.resize(this.viewItems.length-1,e-t,void 0,r,i)}this.distributeEmptySpace(),this.layoutViews()}resizeView(e,t){if(e<0||e>=this.viewItems.length)return;const n=D(0,this.viewItems.length).filter((t=>t!==e)),r=[...n.filter((e=>this.viewItems[e].priority===ce.Low)),e],i=n.filter((e=>this.viewItems[e].priority===ce.High)),o=this.viewItems[e];t=Math.round(t),t=y(t,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=t,this.relayout(r,i)}resizeViews(e){for(let t=0;t<e.length;t++){const n=this.viewItems[t];let r=e[t];r=Math.round(r),r=y(r,n.minimumSize,Math.min(n.maximumSize,this.size)),n.size=r}this.contentSize=this.viewItems.reduce(((e,t)=>e+t.size),0),this.saveProportions(),this.layout(this.size)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}isViewVisible(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].visible}setViewVisible(e,t){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");this.viewItems[e].setVisible(t),this.distributeEmptySpace(e),this.layoutViews(),this.saveProportions()}distributeViewSizes(){const e=[];let t=0;for(const a of this.viewItems)a.maximumSize-a.minimumSize>0&&(e.push(a),t+=a.size);const n=Math.floor(t/e.length);for(const a of e)a.size=y(n,a.minimumSize,a.maximumSize);const r=D(0,this.viewItems.length),i=r.filter((e=>this.viewItems[e].priority===ce.Low)),o=r.filter((e=>this.viewItems[e].priority===ce.High));this.relayout(i,o)}dispose(){this.sashItems.forEach((e=>e.sash.dispose())),this.sashItems=[],this.sashContainer.remove()}relayout(e,t){const n=this.viewItems.reduce(((e,t)=>e+t.size),0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}onSashStart({sash:e,start:t}){const n=this.sashItems.findIndex((t=>t.sash===e));(e=>{const t=this.viewItems.map((e=>e.size));let r,i,o=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY;const u=D(n,-1,-1),l=D(n+1,this.viewItems.length),s=u.reduce(((e,n)=>e+(this.viewItems[n].minimumSize-t[n])),0),c=u.reduce(((e,n)=>e+(this.viewItems[n].viewMaximumSize-t[n])),0),f=0===l.length?Number.POSITIVE_INFINITY:l.reduce(((e,n)=>e+(t[n]-this.viewItems[n].minimumSize)),0),d=0===l.length?Number.NEGATIVE_INFINITY:l.reduce(((e,n)=>e+(t[n]-this.viewItems[n].viewMaximumSize)),0);o=Math.max(s,d),a=Math.min(f,c);const p=this.findFirstSnapIndex(u),h=this.findFirstSnapIndex(l);if("number"==typeof p){const e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);r={index:p,limitDelta:e.visible?o-t:o+t,size:e.size}}if("number"==typeof h){const e=this.viewItems[h],t=Math.floor(e.viewMinimumSize/2);i={index:h,limitDelta:e.visible?a+t:a-t,size:e.size}}this.sashDragState={start:e,current:e,index:n,sizes:t,minDelta:o,maxDelta:a,snapBefore:r,snapAfter:i}})(t)}onSashChange({current:e}){const{index:t,start:n,sizes:r,minDelta:i,maxDelta:o,snapBefore:a,snapAfter:u}=this.sashDragState;this.sashDragState.current=e;const l=e-n;this.resize(t,l,r,void 0,void 0,i,o,a,u),this.distributeEmptySpace(),this.layoutViews()}getSashPosition(e){let t=0;for(let n=0;n<this.sashItems.length;n++)if(t+=this.viewItems[n].size,this.sashItems[n].sash===e)return t;return 0}resize(e,t,n=this.viewItems.map((e=>e.size)),r,i,o=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY,u,l){if(e<0||e>=this.viewItems.length)return 0;const s=D(e,-1,-1),c=D(e+1,this.viewItems.length);if(i)for(const y of i)N(s,y),N(c,y);if(r)for(const y of r)R(s,y),R(c,y);const f=s.map((e=>this.viewItems[e])),d=s.map((e=>n[e])),p=c.map((e=>this.viewItems[e])),h=c.map((e=>n[e])),m=s.reduce(((e,t)=>e+(this.viewItems[t].minimumSize-n[t])),0),v=s.reduce(((e,t)=>e+(this.viewItems[t].maximumSize-n[t])),0),g=0===c.length?Number.POSITIVE_INFINITY:c.reduce(((e,t)=>e+(n[t]-this.viewItems[t].minimumSize)),0),b=0===c.length?Number.NEGATIVE_INFINITY:c.reduce(((e,t)=>e+(n[t]-this.viewItems[t].maximumSize)),0),w=Math.max(m,b,o),x=Math.min(g,v,a);let E=!1;if(u){const e=this.viewItems[u.index],n=t>=u.limitDelta;E=n!==e.visible,e.setVisible(n,u.size)}if(!E&&l){const e=this.viewItems[l.index],n=t<l.limitDelta;E=n!==e.visible,e.setVisible(n,l.size)}if(E)return this.resize(e,t,n,r,i,o,a);for(let k=0,S=t=y(t,w,x);k<f.length;k++){const e=f[k],t=y(d[k]+S,e.minimumSize,e.maximumSize);S-=t-d[k],e.size=t}for(let k=0,S=t;k<p.length;k++){const e=p[k],t=y(h[k]-S,e.minimumSize,e.maximumSize);S+=t-h[k],e.size=t}return t}distributeEmptySpace(e){const t=this.viewItems.reduce(((e,t)=>e+t.size),0);let n=this.size-t;const r=D(this.viewItems.length-1,-1,-1);"number"==typeof e&&R(r,e);for(let i=0;0!==n&&i<r.length;i++){const e=this.viewItems[r[i]],t=y(e.size+n,e.minimumSize,e.maximumSize);n-=t-e.size,e.size=t}}layoutViews(){var e;this.contentSize=this.viewItems.reduce(((e,t)=>e+t.size),0);let t=0;for(const n of this.viewItems)n.layout(t),t+=n.size;null!=(e=this.onDidChange)&&e.call(this,this.viewItems.map((e=>e.size))),this.sashItems.forEach((e=>e.sash.layout())),this.updateSashEnablement()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map((e=>e.size/this.contentSize)))}updateSashEnablement(){let e=!1;const t=this.viewItems.map((t=>e=t.size-t.minimumSize>0||e));e=!1;const n=this.viewItems.map((t=>e=t.maximumSize-t.size>0||e)),r=[...this.viewItems].reverse();e=!1;const i=r.map((t=>e=t.size-t.minimumSize>0||e)).reverse();e=!1;const o=r.map((t=>e=t.maximumSize-t.size>0||e)).reverse();let a=0;for(let u=0;u<this.sashItems.length;u++){const{sash:e}=this.sashItems[u];a+=this.viewItems[u].size;const r=!(t[u]&&o[u+1]),l=!(n[u]&&i[u+1]);if(r&&l){const n=D(u,-1,-1),r=D(u+1,this.viewItems.length),o=this.findFirstSnapIndex(n),l=this.findFirstSnapIndex(r),s="number"==typeof o&&!this.viewItems[o].visible,c="number"==typeof l&&!this.viewItems[l].visible;s&&i[u]&&(a>0||this.startSnappingEnabled)?e.state=re.Minimum:c&&t[u]&&(a<this.contentSize||this.endSnappingEnabled)?e.state=re.Maximum:e.state=re.Disabled}else e.state=r&&!l?re.Minimum:!r&&l?re.Maximum:re.Enabled}}findFirstSnapIndex(e){for(const t of e){const e=this.viewItems[t];if(e.visible&&e.snap)return t}for(const t of e){const e=this.viewItems[t];if(e.visible&&e.maximumSize-e.minimumSize>0)return;if(!e.visible&&e.snap)return t}}}class me{constructor(e){this.size=void 0,this.size=e}getPreferredSize(){return this.size}}class ve{constructor(e,t){this.proportion=void 0,this.layoutService=void 0,this.proportion=e,this.layoutService=t}getPreferredSize(){return this.proportion*this.layoutService.getSize()}}class ge{getPreferredSize(){}}class ye{get preferredSize(){return this.layoutStrategy.getPreferredSize()}set preferredSize(e){if("number"==typeof e)this.layoutStrategy=new me(e);else if("string"==typeof e){const t=e.trim();if(I(t,"%")){const e=Number(t.slice(0,-1))/100;this.layoutStrategy=new ve(e,this.layoutService)}else if(I(t,"px")){const e=Number(t.slice(0,-2))/100;this.layoutStrategy=new me(e)}else if("number"==typeof Number.parseFloat(t)){const e=Number.parseFloat(t);this.layoutStrategy=new me(e)}else this.layoutStrategy=new ge}else this.layoutStrategy=new ge}constructor(e,t){var n;if(this.minimumSize=0,this.maximumSize=Number.POSITIVE_INFINITY,this.element=void 0,this.priority=void 0,this.snap=void 0,this.layoutService=void 0,this.layoutStrategy=void 0,this.layoutService=e,this.element=t.element,this.minimumSize="number"==typeof t.minimumSize?t.minimumSize:30,this.maximumSize="number"==typeof t.maximumSize?t.maximumSize:Number.POSITIVE_INFINITY,"number"==typeof t.preferredSize)this.layoutStrategy=new me(t.preferredSize);else if("string"==typeof t.preferredSize){const e=t.preferredSize.trim();if(I(e,"%")){const t=Number(e.slice(0,-1))/100;this.layoutStrategy=new ve(t,this.layoutService)}else if(I(e,"px")){const t=Number(e.slice(0,-2));this.layoutStrategy=new me(t)}else if("number"==typeof Number.parseFloat(e)){const t=Number.parseFloat(e);this.layoutStrategy=new me(t)}else this.layoutStrategy=new ge}else this.layoutStrategy=new ge;this.priority=null!=(n=t.priority)?n:ce.Normal,this.snap="boolean"==typeof t.snap&&t.snap}layout(e){}}function be(e){return void 0!==e.minSize||void 0!==e.maxSize||void 0!==e.preferredSize||void 0!==e.priority||void 0!==e.visible}const we=(0,r.forwardRef)((({className:e,children:t},n)=>r.createElement("div",{ref:n,className:s("split-view-view",k,e)},t)));we.displayName="Allotment.Pane";const xe=(0,r.forwardRef)((({children:e,className:t,maxSize:n=1/0,minSize:o=30,proportionalLayout:a=!0,separator:u=!0,sizes:l,defaultSizes:c=l,snap:f=!1,vertical:d=!1,onChange:p,onReset:h,onVisibleChange:m,onDragStart:v,onDragEnd:g},y)=>{const b=(0,r.useRef)(null),x=(0,r.useRef)([]),k=(0,r.useRef)(new Map),S=(0,r.useRef)(null),C=(0,r.useRef)(new Map),_=(0,r.useRef)(new P),M=(0,r.useRef)([]),[I,A]=(0,r.useState)(!1),z=(0,r.useMemo)((()=>r.Children.toArray(e).filter(r.isValidElement)),[e]),N=(0,r.useCallback)((e=>{var t,n;const r=null==(t=M.current)?void 0:t[e];return"number"==typeof(null==r?void 0:r.preferredSize)&&(null!=(n=S.current)&&n.resizeView(e,Math.round(r.preferredSize)),!0)}),[]);return(0,r.useImperativeHandle)(y,(()=>({reset:()=>{if(h)h();else{var e;null==(e=S.current)||e.distributeViewSizes();for(let e=0;e<M.current.length;e++)N(e)}},resize:e=>{var t;null==(t=S.current)||t.resizeViews(e)}}))),T((()=>{let e=!0;c&&C.current.size!==c.length&&(e=!1,console.warn(`Expected ${c.length} children based on defaultSizes but found ${C.current.size}`)),e&&c&&(x.current=z.map((e=>e.key)));const t=i({orientation:d?ne.Vertical:ne.Horizontal,proportionalLayout:a},e&&c&&{descriptor:{size:c.reduce(((e,t)=>e+t),0),views:c.map(((e,t)=>{var r,a,u,l;const s=k.current.get(x.current[t]),c=new ye(_.current,i({element:document.createElement("div"),minimumSize:null!=(r=null==s?void 0:s.minSize)?r:o,maximumSize:null!=(a=null==s?void 0:s.maxSize)?a:n,priority:null!=(u=null==s?void 0:s.priority)?u:ce.Normal},(null==s?void 0:s.preferredSize)&&{preferredSize:null==s?void 0:s.preferredSize},{snap:null!=(l=null==s?void 0:s.snap)?l:f}));return M.current.push(c),{container:[...C.current.values()][t],size:e,view:c}}))}});S.current=new he(b.current,t,p,v,g),S.current.on("sashDragStart",(()=>{var e;null==(e=b.current)||e.classList.add("split-view-sash-dragging")})),S.current.on("sashDragEnd",(()=>{var e;null==(e=b.current)||e.classList.remove("split-view-sash-dragging")})),S.current.on("sashchange",(e=>{if(m&&S.current){const e=z.map((e=>e.key));for(let t=0;t<e.length;t++){const n=k.current.get(e[t]);void 0!==(null==n?void 0:n.visible)&&n.visible!==S.current.isViewVisible(t)&&m(t,S.current.isViewVisible(t))}}})),S.current.on("sashreset",(e=>{if(h)h();else{var t;if(N(e))return;if(N(e+1))return;null==(t=S.current)||t.distributeViewSizes()}}));const r=S.current;return()=>{r.dispose()}}),[]),T((()=>{if(I){const m=z.map((e=>e.key)),v=[...x.current],g=m.filter((e=>!x.current.includes(e))),y=m.filter((e=>x.current.includes(e))),b=x.current.map((e=>!m.includes(e)));for(let t=b.length-1;t>=0;t--){var e;b[t]&&(null!=(e=S.current)&&e.removeView(t),v.splice(t,1),M.current.splice(t,1))}for(const e of g){var t,r,a,u,l;const s=k.current.get(e),c=new ye(_.current,i({element:document.createElement("div"),minimumSize:null!=(t=null==s?void 0:s.minSize)?t:o,maximumSize:null!=(r=null==s?void 0:s.maxSize)?r:n,priority:null!=(a=null==s?void 0:s.priority)?a:ce.Normal},(null==s?void 0:s.preferredSize)&&{preferredSize:null==s?void 0:s.preferredSize},{snap:null!=(u=null==s?void 0:s.snap)?u:f}));null!=(l=S.current)&&l.addView(C.current.get(e),c,le.Distribute,m.findIndex((t=>t===e))),v.splice(m.findIndex((t=>t===e)),0,e),M.current.splice(m.findIndex((t=>t===e)),0,c)}for(;!w(m,v);)for(const[e,t]of m.entries()){const n=v.findIndex((e=>e===t));if(n!==e){var s;null==(s=S.current)||s.moveView(C.current.get(t),n,e);const r=v[n];v.splice(n,1),v.splice(e,0,r);break}}for(const e of g){var c;const t=m.findIndex((t=>t===e)),n=M.current[t].preferredSize;void 0!==n&&(null==(c=S.current)||c.resizeView(t,n))}for(const e of[...g,...y]){var d,p;const t=k.current.get(e),n=m.findIndex((t=>t===e));t&&be(t)&&void 0!==t.visible&&(null==(d=S.current)?void 0:d.isViewVisible(n))!==t.visible&&(null==(p=S.current)||p.setViewVisible(n,t.visible))}for(const e of y){const t=k.current.get(e),n=m.findIndex((t=>t===e));if(t&&be(t)){var h;void 0!==t.preferredSize&&M.current[n].preferredSize!==t.preferredSize&&(M.current[n].preferredSize=t.preferredSize);let e=!1;void 0!==t.minSize&&M.current[n].minimumSize!==t.minSize&&(M.current[n].minimumSize=t.minSize,e=!0),void 0!==t.maxSize&&M.current[n].maximumSize!==t.maxSize&&(M.current[n].maximumSize=t.maxSize,e=!0),e&&(null==(h=S.current)||h.layout())}}(g.length>0||b.length>0)&&(x.current=m)}}),[z,I,n,o,f]),(0,r.useEffect)((()=>{S.current&&(S.current.onDidChange=p)}),[p]),(0,r.useEffect)((()=>{S.current&&(S.current.onDidDragStart=v)}),[v]),(0,r.useEffect)((()=>{S.current&&(S.current.onDidDragEnd=g)}),[g]),E({ref:b,onResize:({width:e,height:t})=>{var n;e&&t&&(null!=(n=S.current)&&n.layout(d?t:e),_.current.setSize(d?t:e),A(!0))}}),T((()=>{if(!I){var e;const{height:t,width:n}=b.current.getBoundingClientRect();null!=(e=S.current)&&e.layout(d?t:n),_.current.setSize(d?t:n),A(!0)}}),[I,d]),(0,r.useEffect)((()=>{O&&Ee(20)}),[]),r.createElement("div",{ref:b,className:s("split-view",d?"split-view-vertical":"split-view-horizontal",{"split-view-separator-border":u},"allotment-module_splitView__L-yRc",d?"allotment-module_vertical__WSwwa":"allotment-module_horizontal__7doS8",{"allotment-module_separatorBorder__x-rDS":u},t)},r.createElement("div",{className:s("split-view-container","allotment-module_splitViewContainer__rQnVa")},r.Children.toArray(e).map((e=>{if(!r.isValidElement(e))return null;const t=e.key;return"Allotment.Pane"===e.type.displayName?(k.current.set(t,e.props),r.cloneElement(e,{key:t,ref:n=>{const r=e.ref;r&&(r.current=n),n?C.current.set(t,n):C.current.delete(t)}})):r.createElement(we,{key:t,ref:e=>{e?C.current.set(t,e):C.current.delete(t)}},e)}))))}));function Ee(e){const t=y(e,4,20),n=y(e,1,8);document.documentElement.style.setProperty("--sash-size",t+"px"),document.documentElement.style.setProperty("--sash-hover-size",n+"px"),function(e){ie=e,ae.emit("onDidChangeGlobalSize",e)}(t)}xe.displayName="Allotment";var ke=Object.assign(xe,{Pane:we})},5299:function(e,t,n){"use strict";n.d(t,{D:function(){return Qn}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return ht},contentInitial:function(){return lt},disable:function(){return mt},document:function(){return ut},flow:function(){return ct},flowInitial:function(){return st},insideSpan:function(){return pt},string:function(){return ft},text:function(){return dt}});var i={};n.r(i),n.d(i,{boolean:function(){return ln},booleanish:function(){return sn},commaOrSpaceSeparated:function(){return hn},commaSeparated:function(){return pn},number:function(){return fn},overloadedBoolean:function(){return cn},spaceSeparated:function(){return dn}});var o=n(7294),a=n(8738);function u(e){return e&&"object"===typeof e?"position"in e||"type"in e?s(e.position):"start"in e||"end"in e?s(e):"line"in e||"column"in e?l(e):"":""}function l(e){return c(e&&e.line)+":"+c(e&&e.column)}function s(e){return l(e&&e.start)+"-"+l(e&&e.end)}function c(e){return e&&"number"===typeof e?e:1}class f extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"===typeof t&&(n=t,t=void 0),"string"===typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=u(t)||"1:1",this.message="object"===typeof e?e.message:e,this.stack="","object"===typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}f.prototype.file="",f.prototype.name="",f.prototype.reason="",f.prototype.message="",f.prototype.stack="",f.prototype.fatal=null,f.prototype.column=null,f.prototype.line=null,f.prototype.source=null,f.prototype.ruleId=null,f.prototype.position=null;const d={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');p(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,u=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),u>-1&&(e.charCodeAt(o)===t.charCodeAt(u--)?u<0&&(i=o):(u=-1,i=a));r===i?i=a:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(p(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){p(e);let t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){const u=e.charCodeAt(n);if(47!==u)r<0&&(t=!0,r=n+1),46===u?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===a||1===a&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)p(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){p(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,i="",o=0,a=-1,u=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===u);else if(a!==l-1&&2===u){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),a=l,u=0;continue}}else if(i.length>0){i="",o=0,a=l,u=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,u=0}else 46===n&&u>-1?u++:u=-1}return i}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function p(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function v(e){if("string"===typeof e)e=new URL(e);else if(!m(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const g=["history","path","basename","stem","extname","dirname"];class y{constructor(e){let t;t=e?"string"===typeof e||function(e){return a(e)}(e)?{value:e}:m(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=h.cwd(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<g.length;){const e=g[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)g.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){m(e)&&(e=v(e)),w(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"===typeof this.path?d.dirname(this.path):void 0}set dirname(e){x(this.basename,"dirname"),this.path=d.join(e||"",this.basename)}get basename(){return"string"===typeof this.path?d.basename(this.path):void 0}set basename(e){w(e,"basename"),b(e,"basename"),this.path=d.join(this.dirname||"",e)}get extname(){return"string"===typeof this.path?d.extname(this.path):void 0}set extname(e){if(b(e,"extname"),x(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=d.join(this.dirname,this.stem+(e||""))}get stem(){return"string"===typeof this.path?d.basename(this.path,this.extname):void 0}set stem(e){w(e,"stem"),b(e,"stem"),this.path=d.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){const r=new f(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function b(e,t){if(e&&e.includes(d.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+d.sep+"`")}function w(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function x(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function E(e){if(e)throw e}var k=n(4470);function S(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function C(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!==typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(o,...a){const u=e[++n];let l=-1;if(o)r(o);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,u?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let u;r&&t.push(i);try{u=e.apply(this,t)}catch(o){const t=o;if(r&&n)throw t;return i(t)}r||(u instanceof Promise?u.then(a,i):u instanceof Error?i(u):a(u))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}(u,i)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!==typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const _=function e(){const t=C(),n=[];let r,i={},o=-1;return u.data=function(e,t){if("string"===typeof e)return 2===arguments.length?(I("data",r),i[e]=t,u):O.call(i,e)&&i[e]||null;if(e)return I("data",r),i=e,u;return i},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(r)return u;for(;++o<n.length;){const[e,...r]=n[o];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const i=e.call(u,...r);"function"===typeof i&&t.use(i)}return r=!0,o=Number.POSITIVE_INFINITY,u},u.attachers=n,u.use=function(e,...t){let o;if(I("use",r),null===e||void 0===e);else if("function"===typeof e)c(e,...t);else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?s(e):l(e)}o&&(i.settings=Object.assign(i.settings||{},o));return u;function a(e){if("function"===typeof e)c(e);else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;c(t,...n)}else l(e)}}function l(e){s(e.plugins),e.settings&&(o=Object.assign(o||{},e.settings))}function s(e){let t=-1;if(null===e||void 0===e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){a(e[t])}}}function c(e,t){let r,i=-1;for(;++i<n.length;)if(n[i][0]===e){r=n[i];break}r?(S(r[1])&&S(t)&&(t=k(!0,r[1],t)),r[1]=t):n.push([...arguments])}},u.parse=function(e){u.freeze();const t=N(e),n=u.Parser;if(T("parse",n),M(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},u.stringify=function(e,t){u.freeze();const n=N(t),r=u.Compiler;if(P("stringify",r),A(e),M(r,"compile"))return new r(e,n).compile();return r(e,n)},u.run=function(e,n,r){A(e),u.freeze(),r||"function"!==typeof n||(r=n,n=void 0);if(!r)return new Promise(i);function i(i,o){function a(t,n,a){n=n||e,t?o(t):i?i(n):r(null,n,a)}t.run(e,N(n),a)}i(null,r)},u.runSync=function(e,t){let n,r;return u.run(e,t,i),z("runSync","run",r),n;function i(e,t){E(e),n=t,r=!0}},u.process=function(e,t){if(u.freeze(),T("process",u.Parser),P("process",u.Compiler),!t)return new Promise(n);function n(n,r){const i=N(e);function o(e,i){e||!i?r(e):n?n(i):t(null,i)}u.run(u.parse(i),i,((e,t,n)=>{if(!e&&t&&n){const i=u.stringify(t,n);void 0===i||null===i||("string"===typeof(r=i)||a(r)?n.value=i:n.result=i),o(e,n)}else o(e);var r}))}n(null,t)},u.processSync=function(e){let t;u.freeze(),T("processSync",u.Parser),P("processSync",u.Compiler);const n=N(e);return u.process(n,r),z("processSync","process",t),n;function r(e){t=!0,E(e)}},u;function u(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(k(!0,{},i)),t}}().freeze(),O={}.hasOwnProperty;function M(e,t){return"function"===typeof e&&e.prototype&&(function(e){let t;for(t in e)if(O.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function T(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function P(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function I(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function A(e){if(!S(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function z(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function N(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new y(e)}const R={};function D(e,t,n){if(function(e){return Boolean(e&&"object"===typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return L(e.children,t,n)}return Array.isArray(e)?L(e,t,n):""}function L(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=D(e[i],t,n);return r.join("")}function F(e,t,n,r){const i=e.length;let o,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function j(e,t){return e.length>0?(F(e,e.length,0,t),e):t}const V={}.hasOwnProperty;function Z(e,t){let n;for(n in t){const r=(V.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){V.call(r,o)||(r[o]=[]);const e=i[o];H(r[o],Array.isArray(e)?e:e?[e]:[])}}}function H(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);F(e,0,0,r)}const B=te(/[A-Za-z]/),U=te(/[\dA-Za-z]/),W=te(/[#-'*+\--9=?A-Z^-~]/);function K(e){return null!==e&&(e<32||127===e)}const q=te(/\d/),Y=te(/[\dA-Fa-f]/),$=te(/[!-/:-@[-`{-~]/);function X(e){return null!==e&&e<-2}function G(e){return null!==e&&(e<0||32===e)}function Q(e){return-2===e||-1===e||32===e}const J=te(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\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\u1B7D\u1B7E\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\u2E52-\u2E5D\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]/),ee=te(/\s/);function te(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function ne(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(Q(r))return e.enter(n),a(r);return t(r)};function a(r){return Q(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}const re={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):X(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};const ie={tokenize:function(e){const t=this,n=[];let r,i,o,a=0;return u;function u(r){if(a<n.length){const i=n[a];return t.containerState=i[1],e.attempt(i[0].continuation,l,s)(r)}return s(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&y();const n=t.events.length;let i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}g(a);let u=n;for(;u<t.events.length;)t.events[u][1].end=Object.assign({},i),u++;return F(t.events,o+1,0,t.events.slice(n)),t.events.length=u,s(e)}return u(e)}function s(i){if(a===n.length){if(!r)return d(i);if(r.currentConstruct&&r.currentConstruct.concrete)return h(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(oe,c,f)(i)}function c(e){return r&&y(),g(a),d(e)}function f(e){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,h(e)}function d(n){return t.containerState={},e.attempt(oe,p,h)(n)}function p(e){return a++,n.push([t.currentConstruct,t.containerState]),d(e)}function h(n){return null===n?(r&&y(),g(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),m(n))}function m(n){return null===n?(v(e.exit("chunkFlow"),!0),g(0),void e.consume(n)):X(n)?(e.consume(n),v(e.exit("chunkFlow")),a=0,t.interrupt=void 0,u):(e.consume(n),m)}function v(e,n){const u=t.sliceStream(e);if(n&&u.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(u),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,u,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){u=t.events[l][1].end;break}i=!0}for(g(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},u),e++;F(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function g(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},oe={tokenize:function(e,t,n){return ne(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ae={tokenize:function(e,t,n){return function(t){return Q(t)?ne(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||X(e)?t(e):n(e)}},partial:!0};function ue(e){const t={};let n,r,i,o,a,u,l,s=-1;for(;++s<e.length;){for(;s in t;)s=t[s];if(n=e[s],s&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[s-1][1].type&&(u=n[1]._tokenizer.events,i=0,i<u.length&&"lineEndingBlank"===u[i][1].type&&(i+=2),i<u.length&&"content"===u[i][1].type))for(;++i<u.length&&"content"!==u[i][1].type;)"chunkText"===u[i][1].type&&(u[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,le(e,s)),s=t[s],l=!0);else if(n[1]._container){for(i=s,r=void 0;i--&&(o=e[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(e[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},e[r][1].start),a=e.slice(r,s),a.unshift(n),F(e,r,s-r+1,a))}}return!l}function le(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),u=a.events,l=[],s={};let c,f,d=-1,p=n,h=0,m=0;const v=[m];for(;p;){for(;e[++i][1]!==p;);o.push(i),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),f&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=n;++d<u.length;)"exit"===u[d][0]&&"enter"===u[d-1][0]&&u[d][1].type===u[d-1][1].type&&u[d][1].start.line!==u[d][1].end.line&&(m=d+1,v.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):v.pop(),d=v.length;d--;){const t=u.slice(v[d],v[d+1]),n=o.pop();l.unshift([n,n+t.length-1]),F(e,n,2,t)}for(d=-1;++d<l.length;)s[h+l[d][0]]=h+l[d][1],h+=l[d][1]-l[d][0]-1;return s}const se={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):X(t)?e.check(ce,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return ue(e),e}},ce={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ne(e,i,"linePrefix")};function i(i){if(null===i||X(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0};const fe={tokenize:function(e){const t=this,n=e.attempt(ae,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,ne(e,e.attempt(this.parser.constructs.flow,r,e.attempt(se,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const de={resolveAll:ve()},pe=me("string"),he=me("text");function me(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),u;t.consume(e)}function u(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),u)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:ve("text"===e?ge:void 0)}}function ve(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function ge(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let o,a=i.length,u=-1,l=0;for(;a--;){const e=i[a];if("string"===typeof e){for(u=e.length;32===e.charCodeAt(u-1);)l++,u--;if(u)break;u=-1}else if(-2===e)o=!0,l++;else if(-1!==e){a++;break}}if(l){const i={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?u:r.start._bufferIndex+u},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}function ye(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function be(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],u=[],l=!0;const s={consume:function(e){X(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,w()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=h(),c.events.push(["enter",n,c]),u.push(n),n},exit:function(e){const t=u.pop();return t.end=h(),c.events.push(["exit",t,c]),t},attempt:y((function(e,t){b(e,t.from)})),check:y(g),interrupt:y(g,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if("string"===typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(p(e),t)},now:h,defineSkip:function(e){i[e.line]=e.column,w()},write:function(e){if(a=j(a,e),m(),null!==a[a.length-1])return[];return b(t,0),c.events=ye(o,c.events,c),c.events}};let f,d=t.tokenize.call(c,s);return t.resolveAll&&o.push(t),c;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const e=a[0];"string"===typeof e?a[0]=e.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}(a,e)}function h(){const{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function m(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"===typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)v(t.charCodeAt(r._bufferIndex));else v(t)}}function v(e){l=void 0,f=e,d=d(e)}function g(e,t){t.restore()}function y(e,t){return function(n,i,o){let a,f,d,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,f=0,0===e.length?o:v(e[f])}function v(e){return function(n){p=function(){const e=h(),t=c.previous,n=c.currentConstruct,i=c.events.length,o=Array.from(u);return{restore:a,from:i};function a(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,u=o,w()}}(),d=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return y(n);return e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,g,y)(n)}}function g(t){return l=!0,e(d,p),i}function y(e){return l=!0,p.restore(),++f<a.length?v(a[f]):o}}}function b(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&F(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function w(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const we={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||X(o))?(e.exit("thematicBreak"),t(o)):n(o)}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),Q(t)?ne(e,o,"whitespace")(t):o(t))}}};const xe={name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:q(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(we,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(t)}return n(t)};function u(t){return q(t)&&++a<10?(e.consume(t),u):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ae,r.interrupt?n:s,e.attempt(Ee,f,c))}function s(e){return r.containerState.initialBlankLine=!0,o++,f(e)}function c(t){return Q(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ae,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ne(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!Q(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ke,t,a)(n))}function a(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,ne(e,e.attempt(xe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},Ee={tokenize:function(e,t,n){const r=this;return ne(e,(function(e){const i=r.events[r.events.length-1];return!Q(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},ke={tokenize:function(e,t,n){const r=this;return ne(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const Se={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return Q(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Q(t))return ne(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return i(t)};function i(r){return e.attempt(Se,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Ce(e,t,n,r,i,o,a,u,l){const s=l||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),f;if(null===t||32===t||41===t||K(t))return n(t);return e.enter(r),e.enter(a),e.enter(u),e.enter("chunkString",{contentType:"string"}),h(t)};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(u),f(t)):null===t||60===t||X(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(i){return c||null!==i&&41!==i&&!G(i)?c<s&&40===i?(e.consume(i),c++,h):41===i?(e.consume(i),c--,h):null===i||32===i||40===i||K(i)?n(i):(e.consume(i),92===i?m:h):(e.exit("chunkString"),e.exit(u),e.exit(a),e.exit(r),t(i))}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function _e(e,t,n,r,i,o){const a=this;let u,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),s};function s(f){return l>999||null===f||91===f||93===f&&!u||94===f&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):X(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||X(t)||l++>999?(e.exit("chunkString"),s(t)):(e.consume(t),u||(u=!Q(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function Oe(e,t,n,r,i,o){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,u;return n(t)};function u(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),u(a)):null===t?n(t):X(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ne(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===a||null===t||X(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:s)}function c(t){return t===a||92===t?(e.consume(t),s):s(t)}}function Me(e,t){let n;return function r(i){if(X(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(Q(i))return ne(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function Te(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pe={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return _e.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return G(t)?Me(e,u)(t):u(t)}function u(t){return Ce(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Ie,s,s)(t)}function s(t){return Q(t)?ne(e,c,"whitespace")(t):c(t)}function c(o){return null===o||X(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},Ie={tokenize:function(e,t,n){return function(t){return G(t)?Me(e,r)(t):n(t)};function r(t){return Oe(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return Q(t)?ne(e,o,"whitespace")(t):o(t)}function o(e){return null===e||X(e)?t(e):n(e)}},partial:!0};const Ae={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),ne(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?u(t):X(t)?e.attempt(ze,o,u)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||X(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function u(n){return e.exit("codeIndented"),t(n)}}},ze={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):X(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):ne(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):X(e)?i(e):n(e)}},partial:!0};const Ne={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||G(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||X(n)?(e.exit("atxHeading"),t(n)):Q(n)?ne(e,o,"whitespace")(n):(e.enter("atxHeadingText"),u(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function u(t){return null===t||35===t||G(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),u)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},F(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Re={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i;return function(t){let a,u=r.events.length;for(;u--;)if("lineEnding"!==r.events[u][1].type&&"linePrefix"!==r.events[u][1].type&&"content"!==r.events[u][1].type){a="paragraph"===r.events[u][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),Q(t)?ne(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||X(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const De=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Le=["pre","script","style","textarea"],Fe={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,a,u,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s}(t)};function s(u){return 33===u?(e.consume(u),c):47===u?(e.consume(u),o=!0,p):63===u?(e.consume(u),i=3,r.interrupt?t:N):B(u)?(e.consume(u),a=String.fromCharCode(u),h):n(u)}function c(o){return 45===o?(e.consume(o),i=2,f):91===o?(e.consume(o),i=5,u=0,d):B(o)?(e.consume(o),i=4,r.interrupt?t:N):n(o)}function f(i){return 45===i?(e.consume(i),r.interrupt?t:N):n(i)}function d(i){const o="CDATA[";return i===o.charCodeAt(u++)?(e.consume(i),u===o.length?r.interrupt?t:_:d):n(i)}function p(t){return B(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(u){if(null===u||47===u||62===u||G(u)){const l=47===u,s=a.toLowerCase();return l||o||!Le.includes(s)?De.includes(a.toLowerCase())?(i=6,l?(e.consume(u),m):r.interrupt?t(u):_(u)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(u):o?v(u):g(u)):(i=1,r.interrupt?t(u):_(u))}return 45===u||U(u)?(e.consume(u),a+=String.fromCharCode(u),h):n(u)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:_):n(i)}function v(t){return Q(t)?(e.consume(t),v):S(t)}function g(t){return 47===t?(e.consume(t),S):58===t||95===t||B(t)?(e.consume(t),y):Q(t)?(e.consume(t),g):S(t)}function y(t){return 45===t||46===t||58===t||95===t||U(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),w):Q(t)?(e.consume(t),b):g(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,x):Q(t)?(e.consume(t),w):E(t)}function x(t){return t===l?(e.consume(t),l=null,k):null===t||X(t)?n(t):(e.consume(t),x)}function E(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||G(t)?b(t):(e.consume(t),E)}function k(e){return 47===e||62===e||Q(e)?g(e):n(e)}function S(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||X(t)?_(t):Q(t)?(e.consume(t),C):n(t)}function _(t){return 45===t&&2===i?(e.consume(t),P):60===t&&1===i?(e.consume(t),I):62===t&&4===i?(e.consume(t),R):63===t&&3===i?(e.consume(t),N):93===t&&5===i?(e.consume(t),z):!X(t)||6!==i&&7!==i?null===t||X(t)?(e.exit("htmlFlowData"),O(t)):(e.consume(t),_):(e.exit("htmlFlowData"),e.check(je,D,O)(t))}function O(t){return e.check(Ve,M,D)(t)}function M(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return null===t||X(t)?O(t):(e.enter("htmlFlowData"),_(t))}function P(t){return 45===t?(e.consume(t),N):_(t)}function I(t){return 47===t?(e.consume(t),a="",A):_(t)}function A(t){if(62===t){const n=a.toLowerCase();return Le.includes(n)?(e.consume(t),R):_(t)}return B(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),A):_(t)}function z(t){return 93===t?(e.consume(t),N):_(t)}function N(t){return 62===t?(e.consume(t),R):45===t&&2===i?(e.consume(t),N):_(t)}function R(t){return null===t||X(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),R)}function D(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},je={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ae,t,n)}},partial:!0},Ve={tokenize:function(e,t,n){const r=this;return function(t){if(X(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i;return n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Ze={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},He={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let i=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),Q(t)?ne(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===o?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===o?(i++,e.consume(t),c):i>=u?(e.exit("codeFencedFenceSequence"),Q(t)?ne(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||X(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,a=0,u=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(u++,e.consume(t),l):u<3?n(t):(e.exit("codeFencedFenceSequence"),Q(t)?ne(e,s,"whitespace")(t):s(t))}function s(n){return null===n||X(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Ze,p,y)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||X(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(t)):Q(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ne(e,f,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),c)}function f(t){return null===t||X(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||X(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(t)):96===t&&t===o?n(t):(e.consume(t),d)}function p(t){return e.attempt(i,y,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&Q(t)?ne(e,v,"linePrefix",a+1)(t):v(t)}function v(t){return null===t||X(t)?e.check(Ze,p,y)(t):(e.enter("codeFlowValue"),g(t))}function g(t){return null===t||X(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),g)}function y(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Be=document.createElement("i");function Ue(e){const t="&"+e+";";Be.innerHTML=t;const n=Be.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const We={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),u};function u(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=U,s(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Y,s):(e.enter("characterReferenceValue"),i=7,o=q,s(t))}function s(u){if(59===u&&a){const i=e.exit("characterReferenceValue");return o!==U||Ue(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(u)}return o(u)&&a++<i?(e.consume(u),s):n(u)}}};const Ke={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return $(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const qe={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,t,"linePrefix")}}};const Ye={name:"labelEnd",tokenize:function(e,t,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(t){if(!i)return n(t);if(i._inactive)return c(t);return o=r.parser.defined.includes(Te(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),u};function u(t){return 40===t?e.attempt($e,s,o?s:c)(t):91===t?e.attempt(Xe,s,o?l:c)(t):o?s(t):c(t)}function l(t){return e.attempt(Ge,s,c)(t)}function s(e){return t(e)}function c(e){return i._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,a=e.length,u=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){u=2;break}}else"labelEnd"===n.type&&(i=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},c={type:"labelText",start:Object.assign({},e[r+u+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",s,t]],o=j(o,e.slice(r+1,r+u+3)),o=j(o,[["enter",c,t]]),o=j(o,ye(t.parser.constructs.insideSpan.null,e.slice(r+u+4,i-3),t)),o=j(o,[["exit",c,t],e[i-2],e[i-1],["exit",s,t]]),o=j(o,e.slice(i+1)),o=j(o,[["exit",l,t]]),F(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},$e={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return G(t)?Me(e,i)(t):i(t)}function i(t){return 41===t?s(t):Ce(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return G(t)?Me(e,u)(t):s(t)}function a(e){return n(e)}function u(t){return 34===t||39===t||40===t?Oe(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):s(t)}function l(t){return G(t)?Me(e,s)(t):s(t)}function s(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Xe={tokenize:function(e,t,n){const r=this;return function(t){return _e.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},Ge={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Qe={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Ye.resolveAll};function Je(e){return null===e||G(e)||ee(e)?1:J(e)?2:void 0}const et={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Je(r);let o;return function(t){return o=t,e.enter("attentionSequence"),a(t)};function a(u){if(u===o)return e.consume(u),a;const l=e.exit("attentionSequence"),s=Je(u),c=!s||2===s&&i||n.includes(u),f=!i||2===i&&s||n.includes(r);return l._open=Boolean(42===o?c:c&&(i||!f)),l._close=Boolean(42===o?f:f&&(s||!c)),t(u)}},resolveAll:function(e,t){let n,r,i,o,a,u,l,s,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close)for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[c][1].start);tt(f,-u),tt(d,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},a={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:d},i={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=j(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=j(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=j(l,ye(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=j(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,l=j(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,F(e,n-1,c-n+3,l),c=n+l.length-s-2;break}c=-1;for(;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function tt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const nt={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return B(t)?(e.consume(t),o):l(t)}function o(e){return 43===e||45===e||46===e||U(e)?(r=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),r=0,u):(43===t||45===t||46===t||U(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}function u(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||K(r)?n(r):(e.consume(r),u)}function l(t){return 64===t?(e.consume(t),s):W(t)?(e.consume(t),l):n(t)}function s(e){return U(e)?c(e):n(e)}function c(n){return 46===n?(e.consume(n),r=0,s):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):f(n)}function f(t){if((45===t||U(t))&&r++<63){const n=45===t?f:c;return e.consume(t),n}return n(t)}}};const rt={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,o,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),u};function u(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),w):63===t?(e.consume(t),y):B(t)?(e.consume(t),k):n(t)}function l(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),o=0,p):B(t)?(e.consume(t),g):n(t)}function s(t){return 45===t?(e.consume(t),d):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),f):X(t)?(a=c,A(t)):(e.consume(t),c)}function f(t){return 45===t?(e.consume(t),d):c(t)}function d(e){return 62===e?I(e):45===e?f(e):c(e)}function p(t){const r="CDATA[";return t===r.charCodeAt(o++)?(e.consume(t),o===r.length?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):X(t)?(a=h,A(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),v):h(t)}function v(t){return 62===t?I(t):93===t?(e.consume(t),v):h(t)}function g(t){return null===t||62===t?I(t):X(t)?(a=g,A(t)):(e.consume(t),g)}function y(t){return null===t?n(t):63===t?(e.consume(t),b):X(t)?(a=y,A(t)):(e.consume(t),y)}function b(e){return 62===e?I(e):y(e)}function w(t){return B(t)?(e.consume(t),x):n(t)}function x(t){return 45===t||U(t)?(e.consume(t),x):E(t)}function E(t){return X(t)?(a=E,A(t)):Q(t)?(e.consume(t),E):I(t)}function k(t){return 45===t||U(t)?(e.consume(t),k):47===t||62===t||G(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),I):58===t||95===t||B(t)?(e.consume(t),C):X(t)?(a=S,A(t)):Q(t)?(e.consume(t),S):I(t)}function C(t){return 45===t||46===t||58===t||95===t||U(t)?(e.consume(t),C):_(t)}function _(t){return 61===t?(e.consume(t),O):X(t)?(a=_,A(t)):Q(t)?(e.consume(t),_):S(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,M):X(t)?(a=O,A(t)):Q(t)?(e.consume(t),O):(e.consume(t),T)}function M(t){return t===i?(e.consume(t),i=void 0,P):null===t?n(t):X(t)?(a=M,A(t)):(e.consume(t),M)}function T(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||G(t)?S(t):(e.consume(t),T)}function P(e){return 47===e||62===e||G(e)?S(e):n(e)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function A(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),z}function z(t){return Q(t)?ne(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):N(t)}function N(t){return e.enter("htmlTextData"),a(t)}}};const it={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Ye.resolveAll};const ot={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return X(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const at={name:"codeText",tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),u(t))}function u(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),u):96===t?(i=e.enter("codeTextSequence"),r=0,s(t)):X(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||X(t)?(e.exit("codeTextData"),u(t)):(e.consume(t),l)}function s(n){return 96===n?(e.consume(n),r++,s):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[i][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}t=i-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const ut={42:xe,43:xe,45:xe,48:xe,49:xe,50:xe,51:xe,52:xe,53:xe,54:xe,55:xe,56:xe,57:xe,62:Se},lt={91:Pe},st={[-2]:Ae,[-1]:Ae,32:Ae},ct={35:Ne,42:we,45:[Re,we],60:Fe,61:Re,95:we,96:He,126:He},ft={38:We,92:Ke},dt={[-5]:qe,[-4]:qe,[-3]:qe,33:Qe,38:We,42:et,60:[nt,rt],91:it,92:[ot,Ke],93:Ye,95:et,96:at},pt={null:[et,de]},ht={null:[42,95]},mt={null:[]};function vt(e){const t=function(e){const t={};let n=-1;for(;++n<e.length;)Z(t,e[n]);return t}([r,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:t,content:i(re),document:i(ie),flow:i(fe),string:i(pe),text:i(he)};return n;function i(e){return function(t){return be(n,e,t)}}}const gt=/[\0\t\n\r]/g;function yt(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const bt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function wt(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return yt(n.slice(t?2:1),t?16:10)}return Ue(n)||e}const xt={}.hasOwnProperty,Et=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(oe),autolinkProtocol:M,autolinkEmail:M,atxHeading:l(te),blockQuote:l(X),characterEscape:M,characterReference:M,codeFenced:l(G),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:l(G,s),codeText:l(Q,s),codeTextData:M,data:M,codeFlowValue:M,definition:l(J),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:l(ee),hardBreakEscape:l(ne),hardBreakTrailing:l(ne),htmlFlow:l(re,s),htmlFlowData:M,htmlText:l(re,s),htmlTextData:M,image:l(ie),label:s,link:l(oe),listItem:l(ue),listItemValue:m,listOrdered:l(ae,h),listUnordered:l(ae),paragraph:l(le),reference:U,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:l(te),strong:l(se),thematicBreak:l(fe)},exit:{atxHeading:f(),atxHeadingSequence:S,autolink:f(),autolinkEmail:$,autolinkProtocol:Y,blockQuote:f(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:K,characterReferenceMarkerNumeric:K,characterReferenceValue:q,codeFenced:f(b),codeFencedFence:y,codeFencedFenceInfo:v,codeFencedFenceMeta:g,codeFlowValue:T,codeIndented:f(w),codeText:f(N),codeTextData:T,data:T,definition:f(),definitionDestinationString:k,definitionLabelString:x,definitionTitleString:E,emphasis:f(),hardBreakEscape:f(I),hardBreakTrailing:f(I),htmlFlow:f(A),htmlFlowData:T,htmlText:f(z),htmlTextData:T,image:f(F),label:V,labelText:j,lineEnding:P,link:f(L),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:W,resourceDestinationString:Z,resourceTitleString:H,resource:B,setextHeading:f(O),setextHeadingLineSequence:_,setextHeadingText:C,strong:f(),thematicBreak:f()}};St(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let n={type:"root",children:[]};const r={stack:[n],tokenStack:[],config:t,enter:c,exit:d,buffer:s,resume:p,setData:o,getData:a},u=[];let l=-1;for(;++l<e.length;)if("listOrdered"===e[l][1].type||"listUnordered"===e[l][1].type)if("enter"===e[l][0])u.push(l);else{l=i(e,u.pop(),l)}for(l=-1;++l<e.length;){const n=t[e[l][0]];xt.call(n,e[l][1].type)&&n[e[l][1].type].call(Object.assign({sliceSerialize:e[l][2].sliceSerialize},r),e[l][1])}if(r.tokenStack.length>0){const e=r.tokenStack[r.tokenStack.length-1];(e[1]||_t).call(r,void 0,e[0])}for(n.position={start:kt(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:kt(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;++l<t.transforms.length;)n=t.transforms[l](n)||n;return n}function i(e,t,n){let r,i,o,a,u=t-1,l=-1,s=!1;for(;++u<=n;){const t=e[u];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||a||l||o||(o=u),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=u;for(i=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",s=!0),t[1].type="lineEnding",i=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||u,0,["exit",r,t[2]]),u++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(u,0,["enter",r,t[2]]),u++,n++,o=void 0,a=!0)}}return e[t][1]._spread=s,n}function o(e,t){n[e]=t}function a(e){return n[e]}function l(e,t){return n;function n(n){c.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:"fragment",children:[]})}function c(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:kt(t.start)},e}function f(e){return t;function t(t){e&&e.call(this,t),d.call(this,t)}}function d(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+u({start:e.start,end:e.end})+"): it\u2019s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||_t).call(this,e,r[0])}return n.position.end=kt(e.end),n}function p(){return function(e,t){const n=t||R;return D(e,"boolean"!==typeof n.includeImageAlt||n.includeImageAlt,"boolean"!==typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function h(){o("expectingFirstListItemValue",!0)}function m(e){if(a("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue")}}function v(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function g(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function y(){a("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function b(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function x(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Te(this.sliceSerialize(e)).toLowerCase()}function E(){const e=this.resume();this.stack[this.stack.length-1].title=e}function k(){const e=this.resume();this.stack[this.stack.length-1].url=e}function S(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function C(){o("setextHeadingSlurpLineEnding",!0)}function _(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function O(){o("setextHeadingSlurpLineEnding")}function M(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n=ce(),n.position={start:kt(e.start)},t.children.push(n)),this.stack.push(n)}function T(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=kt(e.end)}function P(e){const n=this.stack[this.stack.length-1];if(a("atHardBreak")){return n.children[n.children.length-1].position.end=kt(e.end),void o("atHardBreak")}!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(M.call(this,e),T.call(this,e))}function I(){o("atHardBreak",!0)}function A(){const e=this.resume();this.stack[this.stack.length-1].value=e}function z(){const e=this.resume();this.stack[this.stack.length-1].value=e}function N(){const e=this.resume();this.stack[this.stack.length-1].value=e}function L(){const e=this.stack[this.stack.length-1];if(a("inReference")){const t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}function F(){const e=this.stack[this.stack.length-1];if(a("inReference")){const t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}function j(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(bt,wt)}(t),n.identifier=Te(t).toLowerCase()}function V(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(o("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function Z(){const e=this.resume();this.stack[this.stack.length-1].url=e}function H(){const e=this.resume();this.stack[this.stack.length-1].title=e}function B(){o("inReference")}function U(){o("referenceType","collapsed")}function W(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Te(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")}function K(e){o("characterReferenceType",e.type)}function q(e){const t=this.sliceSerialize(e),n=a("characterReferenceType");let r;if(n)r=yt(t,"characterReferenceMarkerNumeric"===n?10:16),o("characterReferenceType");else{r=Ue(t)}const i=this.stack.pop();i.value+=r,i.position.end=kt(e.end)}function Y(e){T.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function $(e){T.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function X(){return{type:"blockquote",children:[]}}function G(){return{type:"code",lang:null,meta:null,value:""}}function Q(){return{type:"inlineCode",value:""}}function J(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ee(){return{type:"emphasis",children:[]}}function te(){return{type:"heading",depth:void 0,children:[]}}function ne(){return{type:"break"}}function re(){return{type:"html",value:""}}function ie(){return{type:"image",title:null,url:"",alt:null}}function oe(){return{type:"link",title:null,url:"",children:[]}}function ae(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ue(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function le(){return{type:"paragraph",children:[]}}function se(){return{type:"strong",children:[]}}function ce(){return{type:"text",value:""}}function fe(){return{type:"thematicBreak"}}}(n)(function(e){for(;!ue(e););return e}(vt(n).document().write(function(){let e,t=1,n="",r=!0;return function(i,o,a){const u=[];let l,s,c,f,d;for(i=n+i.toString(o),c=0,n="",r&&(65279===i.charCodeAt(0)&&c++,r=void 0);c<i.length;){if(gt.lastIndex=c,l=gt.exec(i),f=l&&void 0!==l.index?l.index:i.length,d=i.charCodeAt(f),!l){n=i.slice(c);break}if(10===d&&c===f&&e)u.push(-3),e=void 0;else switch(e&&(u.push(-5),e=void 0),c<f&&(u.push(i.slice(c,f)),t+=f-c),d){case 0:u.push(65533),t++;break;case 9:for(s=4*Math.ceil(t/4),u.push(-2);t++<s;)u.push(-1);break;case 10:u.push(-4),t=1;break;default:e=!0,t=1}c=f+1}return a&&(e&&u.push(-5),n&&u.push(n),u.push(null)),u}}()(e,t,!0))))};function kt(e){return{line:e.line,column:e.column,offset:e.offset}}function St(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?St(e,r):Ct(e,r)}}function Ct(e,t){let n;for(n in t)if(xt.call(t,n))if("canContainEols"===n){const r=t[n];r&&e[n].push(...r)}else if("transforms"===n){const r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){const r=t[n];r&&Object.assign(e[n],r)}}function _t(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+u({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+u({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+u({start:t.start,end:t.end})+") is still open")}function Ot(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return Et(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function Mt(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(37===o&&U(e.charCodeAt(n+1))&&U(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="\ufffd"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}const Tt=function(e){if(void 0===e||null===e)return It;if("string"===typeof e)return function(e){return Pt(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Tt(e[n]);return Pt(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function(e){return Pt(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"===typeof e)return Pt(e);throw new Error("Expected function, string, or object as test")};function Pt(e){return function(t,...n){return Boolean(t&&"object"===typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function It(){return!0}const At=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null);const i=Tt(t),o=r?-1:1;!function e(a,u,l){const s=a&&"object"===typeof a?a:{};if("string"===typeof s.type){const e="string"===typeof s.tagName?s.tagName:"string"===typeof s.name?s.name:void 0;Object.defineProperty(c,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return c;function c(){let s,c,f,d=[];if((!t||i(a,u,l[l.length-1]||null))&&(d=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(n(a,l)),false===d[0]))return d;if(a.children&&"skip"!==d[0])for(c=(r?a.children.length:-1)+o,f=l.concat(a);c>-1&&c<a.children.length;){if(s=e(a.children[c],c,f)(),false===s[0])return s;c="number"===typeof s[1]?s[1]:c+o}return d}}(e,void 0,[])()};const zt=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null),At(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)},Nt=Dt("start"),Rt=Dt("end");function Dt(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const Lt={}.hasOwnProperty;function Ft(e){return String(e||"").toUpperCase()}function jt(e,t){const n=String(t.identifier).toUpperCase(),r=Mt(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;-1===i?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const a=e.footnoteCounts[n],u={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function Vt(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function Zt(e){const t=e.spread;return void 0===t||null===t?e.children.length>1:t}function Ht(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(Bt(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Bt(t.slice(i),i>0,!1)),o.join("")}function Bt(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}const Ut={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:jt,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},jt(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Vt(e,t);const r={src:Mt(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:Mt(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Vt(e,t);const r={href:Mt(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:Mt(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Zt(n[r])}return t}(n):Zt(t),o={},a=[];if("boolean"===typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const e=r[u];(i||0!==u||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}const l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const s={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,s),e.applyData(t,s)},list:function(e,t){const n={},r=e.all(t);let i=-1;for("number"===typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){const e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Nt(t.children[1]),a=Rt(t.children[t.children.length-1]);o.line&&a.line&&(r.position={start:o,end:a}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length;let u=-1;const l=[];for(;++u<a;){const n=t.children[u],r={},a=o?o[u]:void 0;a&&(r.align=a);let s={type:"element",tagName:i,properties:r,children:[]};n&&(s.children=e.all(n),e.patch(n,s),s=e.applyData(t,s)),l.push(s)}const s={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,s),e.applyData(t,s)},text:function(e,t){const n={type:"text",value:Ht(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Wt,yaml:Wt,definition:Wt,footnoteDefinition:Wt};function Wt(){return null}const Kt={}.hasOwnProperty;function qt(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...Ut,...n.handlers},a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return zt(e,"definition",(e=>{const n=Ft(e.identifier);n&&!Lt.call(t,n)&&(t[n]=e)})),function(e){const n=Ft(e);return n&&Lt.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=Yt,a.applyData=$t,a.one=function(e,t){return Xt(a,e,t)},a.all=function(e){return Gt(a,e)},a.wrap=Qt,a.augment=o,zt(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Kt.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const n="type"in e?e:{position:e};(function(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column})(n)||(t.position={start:Nt(n),end:Rt(n)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function Yt(e,t){e.position&&(t.position=function(e){return{start:Nt(e),end:Rt(e)}}(e))}function $t(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"===typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!==r&&void 0!==r&&(n.children=r)}return n}function Xt(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Kt.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:Gt(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||Kt.call(n,"hProperties")||Kt.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:Gt(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function Gt(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i<r.length;){const o=Xt(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function Qt(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function Jt(e,t){const n=qt(e,t),r=n.one(e,null),i=function(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const i=e.all(r),o=String(r.identifier).toUpperCase(),a=Mt(o.toLowerCase());let u=0;const l=[];for(;++u<=e.footnoteCounts[o];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(u>1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};u>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const s=i[i.length-1];if(s&&"element"===s.type&&"p"===s.tagName){const e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...l)}else i.push(...l);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}var en=function(e,t){return e&&"run"in e?function(e,t){return(n,r,i)=>{e.run(Jt(n,t),r,(e=>{i(e)}))}}(e,t):function(e){return t=>Jt(t,e)}(e||t)};var tn=n(5697);class nn{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function rn(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new nn(n,r,t)}function on(e){return e.toLowerCase()}nn.prototype.property={},nn.prototype.normal={},nn.prototype.space=null;class an{constructor(e,t){this.property=e,this.attribute=t}}an.prototype.space=null,an.prototype.boolean=!1,an.prototype.booleanish=!1,an.prototype.overloadedBoolean=!1,an.prototype.number=!1,an.prototype.commaSeparated=!1,an.prototype.spaceSeparated=!1,an.prototype.commaOrSpaceSeparated=!1,an.prototype.mustUseProperty=!1,an.prototype.defined=!1;let un=0;const ln=mn(),sn=mn(),cn=mn(),fn=mn(),dn=mn(),pn=mn(),hn=mn();function mn(){return 2**++un}const vn=Object.keys(i);class gn extends an{constructor(e,t,n,r){let o=-1;if(super(e,t),yn(this,"space",r),"number"===typeof n)for(;++o<vn.length;){const e=vn[o];yn(this,vn[o],(n&i[e])===i[e])}}}function yn(e,t,n){n&&(e[t]=n)}gn.prototype.defined=!0;const bn={}.hasOwnProperty;function wn(e){const t={},n={};let r;for(r in e.properties)if(bn.call(e.properties,r)){const i=e.properties[r],o=new gn(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[on(r)]=r,n[on(o.attribute)]=r}return new nn(t,n,e.space)}const xn=wn({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),En=wn({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function kn(e,t){return t in e?e[t]:t}function Sn(e,t){return kn(e,t.toLowerCase())}const Cn=wn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Sn,properties:{xmlns:null,xmlnsXLink:null}}),_n=wn({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:sn,ariaAutoComplete:null,ariaBusy:sn,ariaChecked:sn,ariaColCount:fn,ariaColIndex:fn,ariaColSpan:fn,ariaControls:dn,ariaCurrent:null,ariaDescribedBy:dn,ariaDetails:null,ariaDisabled:sn,ariaDropEffect:dn,ariaErrorMessage:null,ariaExpanded:sn,ariaFlowTo:dn,ariaGrabbed:sn,ariaHasPopup:null,ariaHidden:sn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dn,ariaLevel:fn,ariaLive:null,ariaModal:sn,ariaMultiLine:sn,ariaMultiSelectable:sn,ariaOrientation:null,ariaOwns:dn,ariaPlaceholder:null,ariaPosInSet:fn,ariaPressed:sn,ariaReadOnly:sn,ariaRelevant:null,ariaRequired:sn,ariaRoleDescription:dn,ariaRowCount:fn,ariaRowIndex:fn,ariaRowSpan:fn,ariaSelected:sn,ariaSetSize:fn,ariaSort:null,ariaValueMax:fn,ariaValueMin:fn,ariaValueNow:fn,ariaValueText:null,role:null}}),On=wn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Sn,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pn,acceptCharset:dn,accessKey:dn,action:null,allow:null,allowFullScreen:ln,allowPaymentRequest:ln,allowUserMedia:ln,alt:null,as:null,async:ln,autoCapitalize:null,autoComplete:dn,autoFocus:ln,autoPlay:ln,capture:ln,charSet:null,checked:ln,cite:null,className:dn,cols:fn,colSpan:null,content:null,contentEditable:sn,controls:ln,controlsList:dn,coords:fn|pn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ln,defer:ln,dir:null,dirName:null,disabled:ln,download:cn,draggable:sn,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ln,formTarget:null,headers:dn,height:fn,hidden:ln,high:fn,href:null,hrefLang:null,htmlFor:dn,httpEquiv:dn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:ln,itemId:null,itemProp:dn,itemRef:dn,itemScope:ln,itemType:dn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ln,low:fn,manifest:null,max:null,maxLength:fn,media:null,method:null,min:null,minLength:fn,multiple:ln,muted:ln,name:null,nonce:null,noModule:ln,noValidate:ln,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ln,optimum:fn,pattern:null,ping:dn,placeholder:null,playsInline:ln,poster:null,preload:null,readOnly:ln,referrerPolicy:null,rel:dn,required:ln,reversed:ln,rows:fn,rowSpan:fn,sandbox:dn,scope:null,scoped:ln,seamless:ln,selected:ln,shape:null,size:fn,sizes:null,slot:null,span:fn,spellCheck:sn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:fn,step:null,style:null,tabIndex:fn,target:null,title:null,translate:null,type:null,typeMustMatch:ln,useMap:null,value:sn,width:fn,wrap:null,align:null,aLink:null,archive:dn,axis:null,background:null,bgColor:null,border:fn,borderColor:null,bottomMargin:fn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ln,declare:ln,event:null,face:null,frame:null,frameBorder:null,hSpace:fn,leftMargin:fn,link:null,longDesc:null,lowSrc:null,marginHeight:fn,marginWidth:fn,noResize:ln,noHref:ln,noShade:ln,noWrap:ln,object:null,profile:null,prompt:null,rev:null,rightMargin:fn,rules:null,scheme:null,scrolling:sn,standby:null,summary:null,text:null,topMargin:fn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:fn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ln,disableRemotePlayback:ln,prefix:null,property:null,results:fn,security:null,unselectable:null}}),Mn=wn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:kn,properties:{about:hn,accentHeight:fn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:fn,amplitude:fn,arabicForm:null,ascent:fn,attributeName:null,attributeType:null,azimuth:fn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:fn,by:null,calcMode:null,capHeight:fn,className:dn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:fn,diffuseConstant:fn,direction:null,display:null,dur:null,divisor:fn,dominantBaseline:null,download:ln,dx:null,dy:null,edgeMode:null,editable:null,elevation:fn,enableBackground:null,end:null,event:null,exponent:fn,externalResourcesRequired:null,fill:null,fillOpacity:fn,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pn,g2:pn,glyphName:pn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:fn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:fn,horizOriginX:fn,horizOriginY:fn,id:null,ideographic:fn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:fn,k:fn,k1:fn,k2:fn,k3:fn,k4:fn,kernelMatrix:hn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:fn,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:fn,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:fn,overlineThickness:fn,paintOrder:null,panose1:null,path:null,pathLength:fn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:fn,pointsAtY:fn,pointsAtZ:fn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:hn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:hn,rev:hn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:hn,requiredFeatures:hn,requiredFonts:hn,requiredFormats:hn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:fn,specularExponent:fn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:fn,strikethroughThickness:fn,string:null,stroke:null,strokeDashArray:hn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:fn,strokeOpacity:fn,strokeWidth:null,style:null,surfaceScale:fn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:hn,tabIndex:fn,tableValues:null,target:null,targetX:fn,targetY:fn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:hn,to:null,transform:null,u1:null,u2:null,underlinePosition:fn,underlineThickness:fn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:fn,values:null,vAlphabetic:fn,vMathematical:fn,vectorEffect:null,vHanging:fn,vIdeographic:fn,version:null,vertAdvY:fn,vertOriginX:fn,vertOriginY:fn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:fn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Tn=rn([En,xn,Cn,_n,On],"html"),Pn=rn([En,xn,Cn,_n,Mn],"svg");function In(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{zt(t,"element",((t,n,r)=>{const i=r;let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"===typeof n&&(o=!e.allowElement(t,n,i)),o&&"number"===typeof n)return e.unwrapDisallowed&&t.children?i.children.splice(n,1,...t.children):i.children.splice(n,1),n}))}}var An=n(2143);function zn(e){const t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const Nn=/^data[-\w.:]+$/i,Rn=/-[a-z]/g,Dn=/[A-Z]/g;function Ln(e){return"-"+e.toLowerCase()}function Fn(e){return e.charAt(1).toUpperCase()}const jn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Vn=n(7848);const Zn=["http","https","mailto","tel"];function Hn(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++i<Zn.length;){const e=Zn[i];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return i=t.indexOf("?"),-1!==i&&r>i?t:(i=t.indexOf("#"),-1!==i&&r>i?t:"javascript:void(0)")}const Bn={}.hasOwnProperty,Un=new Set(["table","thead","tbody","tfoot","tr"]);function Wn(e,t){const n=[];let r,i=-1;for(;++i<t.children.length;)r=t.children[i],"element"===r.type?n.push(Kn(e,r,i,t)):"text"===r.type?"element"===t.type&&Un.has(t.tagName)&&zn(r)||n.push(r.value):"raw"!==r.type||e.options.skipHtml||n.push(r.value);return n}function Kn(e,t,n,r){const i=e.options,a=void 0===i.transformLinkUri?Hn:i.transformLinkUri,u=e.schema,l=t.tagName,s={};let c,f=u;if("html"===u.space&&"svg"===l&&(f=Pn,e.schema=f),t.properties)for(c in t.properties)Bn.call(t.properties,c)&&Yn(s,c,t.properties[c],e);"ol"!==l&&"ul"!==l||e.listDepth++;const d=Wn(e,t);"ol"!==l&&"ul"!==l||e.listDepth--,e.schema=u;const p=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=i.components&&Bn.call(i.components,l)?i.components[l]:l,m="string"===typeof h||h===o.Fragment;if(!An.isValidElementType(h))throw new TypeError(`Component for name \`${l}\` not defined or is not renderable`);if(s.key=n,"a"===l&&i.linkTarget&&(s.target="function"===typeof i.linkTarget?i.linkTarget(String(s.href||""),t.children,"string"===typeof s.title?s.title:null):i.linkTarget),"a"===l&&a&&(s.href=a(String(s.href||""),t.children,"string"===typeof s.title?s.title:null)),m||"code"!==l||"element"!==r.type||"pre"===r.tagName||(s.inline=!0),m||"h1"!==l&&"h2"!==l&&"h3"!==l&&"h4"!==l&&"h5"!==l&&"h6"!==l||(s.level=Number.parseInt(l.charAt(1),10)),"img"===l&&i.transformImageUri&&(s.src=i.transformImageUri(String(s.src||""),String(s.alt||""),"string"===typeof s.title?s.title:null)),!m&&"li"===l&&"element"===r.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);s.checked=e&&e.properties?Boolean(e.properties.checked):null,s.index=qn(r,t),s.ordered="ol"===r.tagName}var v;return m||"ol"!==l&&"ul"!==l||(s.ordered="ol"===l,s.depth=e.listDepth),"td"!==l&&"th"!==l||(s.align&&(s.style||(s.style={}),s.style.textAlign=s.align,delete s.align),m||(s.isHeader="th"===l)),m||"tr"!==l||"element"!==r.type||(s.isHeader=Boolean("thead"===r.tagName)),i.sourcePos&&(s["data-sourcepos"]=[(v=p).start.line,":",v.start.column,"-",v.end.line,":",v.end.column].map(String).join("")),!m&&i.rawSourcePos&&(s.sourcePosition=t.position),!m&&i.includeElementIndex&&(s.index=qn(r,t),s.siblingCount=qn(r)),m||(s.node=t),d.length>0?o.createElement(h,s,d):o.createElement(h,s)}function qn(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function Yn(e,t,n,r){const i=function(e,t){const n=on(t);let r=t,i=an;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Nn.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Rn,Fn);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Rn.test(e)){let n=e.replace(Dn,Ln);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=gn}return new i(r,t)}(r.schema,t);let o=n;null!==o&&void 0!==o&&o===o&&(Array.isArray(o)&&(o=i.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===i.property&&"string"===typeof o&&(o=function(e){const t={};try{Vn(e,n)}catch{}return t;function n(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,$n)]=n}}(o)),i.space&&i.property?e[Bn.call(jn,i.property)?jn[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function $n(e,t){return t.toUpperCase()}const Xn={}.hasOwnProperty,Gn={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Qn(e){for(const o in Gn)if(Xn.call(Gn,o)&&Xn.call(e,o)){const e=Gn[o];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${o}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete Gn[o]}const t=_().use(Ot).use(e.remarkPlugins||[]).use(en,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(In,e),n=new y;"string"===typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let i=o.createElement(o.Fragment,{},Wn({options:e,schema:Tn,listDepth:0},r));return e.className&&(i=o.createElement("div",{className:e.className},i)),i}Qn.propTypes={children:tn.string,className:tn.string,allowElement:tn.func,allowedElements:tn.arrayOf(tn.string),disallowedElements:tn.arrayOf(tn.string),unwrapDisallowed:tn.bool,remarkPlugins:tn.arrayOf(tn.oneOfType([tn.object,tn.func,tn.arrayOf(tn.oneOfType([tn.bool,tn.string,tn.object,tn.func,tn.arrayOf(tn.any)]))])),rehypePlugins:tn.arrayOf(tn.oneOfType([tn.object,tn.func,tn.arrayOf(tn.oneOfType([tn.bool,tn.string,tn.object,tn.func,tn.arrayOf(tn.any)]))])),sourcePos:tn.bool,rawSourcePos:tn.bool,skipHtml:tn.bool,includeElementIndex:tn.bool,transformLinkUri:tn.oneOfType([tn.func,tn.bool]),linkTarget:tn.oneOfType([tn.func,tn.string]),transformImageUri:tn.func,components:tn.object}}}]); \ No newline at end of file diff --git a/out/_next/static/chunks/426.3c08c3140383afb7.js b/out/_next/static/chunks/426.3c08c3140383afb7.js new file mode 100644 index 0000000000000000000000000000000000000000..b1cd9695b39b7e0c0c38bb9f27fef648d1d22175 --- /dev/null +++ b/out/_next/static/chunks/426.3c08c3140383afb7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[426],{9426:function(e,t,n){!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!==typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".JSXElement.JSXIdentifier{color:#4169e1}.JSXElement.JSXBracket{color:#ff8c00}.JSXElement.JSXText{color:#b8860b}.JSXElement.JSXGlyph{background:#0ff;opacity:.25}.JSXClosingFragment.JSXBracket,.JSXOpeningElement.JSXBracket,.JSXOpeningFragment.JSXBracket{color:#ff8c00;font-weight:700}.JSXOpeningElement.JSXIdentifier{color:#4169e1}.JSXClosingElement.JSXBracket{color:#ff8c00;font-weight:lighter}.JSXClosingElement.JSXIdentifier{color:#4169e1;font-weight:lighter}.JSXAttribute.JSXIdentifier{color:#4682b4}.JSXExpressionContainer.JSXBracket,.JSXSpreadAttribute.JSXBracket,.JSXSpreadChild.JSXBracket{color:#ff8c00}");let i=null,o=null,s=null;const r={parser:"babel",isHighlightGlyph:!1,iShowHover:!1,isUseSeparateElementStyles:!1,isThrowJSXParseErrors:!1};function a(e,t=s){const n=function(){const e=[],t=t=>e.filter((e=>e.type===t));return{jsxExpressions:e,find:t,findJSXElements:()=>t("JSXElement"),jsxTraverse:t=>{t.type.toUpperCase().includes("JSX")&&e.push(t)}}}();return t(e,{enter:n.jsxTraverse}),n}function l(e,t={},n={}){return n.iShowHover?{...t,hoverMessage:`(${e.type})`}:t}const h="ALL",c="IDENTIFIER",d="EDGE",m="STYLE",g={["ELEMENT"]:(e,t,n=[],i,o)=>{const s=e.node.loc,r=e.node.openingElement;let a=null;if(r){a=r.name.name;const e={start:{...r.loc.start},end:{...r.name.loc.start}},t={start:{...r.loc.end},end:{...r.loc.end}};t.start.column--,r.selfClosing&&t.start.column--,n.push({range:o(e),options:i.isUseSeparateElementStyles?S.JSXBracket.openingElementOptions:S.JSXBracket.options}),n.push({range:o(t),options:i.isUseSeparateElementStyles?S.JSXBracket.openingElementOptions:S.JSXBracket.options})}const l=e.node.closingElement;if(l){const e={start:{...l.loc.start},end:{...l.name.loc.start}},t={start:{...l.loc.end},end:{...l.loc.end}};t.start.column--,n.push({range:o(e),options:i.isUseSeparateElementStyles?S.JSXBracket.closingElementOptions:S.JSXBracket.options}),n.push({range:o(t),options:i.isUseSeparateElementStyles?S.JSXBracket.closingElementOptions:S.JSXBracket.options})}i.isHighlightGlyph&&n.push({range:o(s),options:S.JSXElement.options(a)})},[h]:(e,t,n=[],i,o)=>{const s={start:{...e.node.loc.start},end:{...e.node.loc.end}};return"object"===e.key&&(s.end={...e.container.property.loc.start}),o&&n.push({range:o(s),options:l(e,t,i)}),n},[c]:(e,t={},n=[],i={},o)=>("object"!==e.key&&"property"!==e.key&&"name"!==e.key&&"namespace"!==e.key||g[h](e,e.parentPath&&e.parentPath.isJSXAttribute()?S.JSXAttribute.options:t,n,i,o),n),[d]:(e,t,n=[],i,o)=>{const s=l(e,t,i),r=e.node.loc;let a=e.isJSXSpreadChild()?"expression":e.isJSXSpreadAttribute()?"argument":null,h=null;if(a){const t=e.node[a];h={start:{...t.loc.start},end:{...t.loc.end}},t.extra&&t.extra.parenthesized&&(h.start.column--,h.end.column++)}else h={start:{...r.start},end:{...r.end}},h.start.column++,h.end.column--;const c={start:{...r.start},end:{...h.start}},d={start:{...h.end},end:{...r.end}};return n.push({range:o(c),options:s}),n.push({range:o(d),options:s}),n},[m]:()=>[]},S={JSXIdentifier:{highlightScope:c,options:{inlineClassName:"JSXElement.JSXIdentifier"}},JSXOpeningFragment:{highlightScope:h,options:{inlineClassName:"JSXOpeningFragment.JSXBracket"}},JSXClosingFragment:{highlightScope:h,options:{inlineClassName:"JSXClosingFragment.JSXBracket"}},JSXText:{highlightScope:h,options:{inlineClassName:"JSXElement.JSXText"}},JSXExpressionContainer:{highlightScope:d,options:{inlineClassName:"JSXExpressionContainer.JSXBracket"}},JSXSpreadChild:{highlightScope:d,options:{inlineClassName:"JSXSpreadChild.JSXBracket"}},JSXSpreadAttribute:{highlightScope:d,options:{inlineClassName:"JSXSpreadAttribute.JSXBracket"}},JSXElement:{highlightScope:m,options:e=>({glyphMarginClassName:"JSXElement.JSXGlyph",glyphMarginHoverMessage:"JSX Element"+(e?": "+e:"")})},JSXBracket:{highlightScope:m,options:{inlineClassName:"JSXElement.JSXBracket"},openingElementOptions:{inlineClassName:"JSXOpeningElement.JSXBracket"},closingElementOptions:{inlineClassName:"JSXClosingElement.JSXBracket"}},JSXOpeningElement:{highlightScope:m,options:{inlineClassName:"JSXOpeningElement.JSXIdentifier"}},JSXClosingElement:{highlightScope:m,options:{inlineClassName:"JSXClosingElement.JSXIdentifier"}},JSXAttribute:{highlightScope:m,options:{inlineClassName:"JSXAttribute.JSXIdentifier"}}},p="JS",u="JSX",J="editor.action.commentLine";t.default=class{constructor(e,t,n,a,l={}){this.resetState=this.resetState.bind(this),this.resetDeltaDecorations=this.resetDeltaDecorations.bind(this),this.getAstPromise=this.getAstPromise.bind(this),this.highLightOnDidChangeModelContent=this.highLightOnDidChangeModelContent.bind(this),this.highlightCode=this.highlightCode.bind(this),this.highlight=this.highlight.bind(this),this.createDecoratorsByType=this.createDecoratorsByType.bind(this),this.createJSXElementDecorators=this.createJSXElementDecorators.bind(this),this.extractAllDecorators=this.extractAllDecorators.bind(this),this.getJSXContext=this.getJSXContext.bind(this),this.runJSXCommentContextAndAction=this.runJSXCommentContextAndAction.bind(this),this.addJSXCommentCommand=this.addJSXCommentCommand.bind(this),this._isHighlightBoundToModelContentChanges=!1,this._isJSXCommentCommandActive=!1,i=e,o=t,s=n,this.options={...r,...l};const{parserType:h}=this.options;this.locToMonacoRange=((e=i,t="babel")=>(t,n=0,i=0,o=0,s=0)=>t&&t.start?new e.Range(n+t.start.line,i+t.start.column+1,o+t.end?t.end.line:t.start.line,s+t.end?t.end.column+1:t.start.column+1):new e.Range(1,1,1,1))(i,h),this.monacoEditor=a,this.resetState()}resetState(){this.prevEditorValue=null,this.editorValue=null,this.ast=null,this.jsxManager=null}resetDeltaDecorations(){this.JSXDecoratorIds=this.monacoEditor&&this.monacoEditor.deltaDecorations(this.JSXDecoratorIds||[],[])}getAstPromise(e){return new Promise((t=>{if(e||!this.editorValue||this.editorValue!==this.prevEditorValue){this.prevEditorValue=this.editorValue,this.editorValue=this.monacoEditor.getValue();try{this.ast=o(this.editorValue)}catch(n){if(n instanceof SyntaxError&&!n.message.includes("JSX"))throw this.resetState(),n;if(this.options.isThrowJSXParseErrors)throw n;t(this.ast)}}t(this.ast)}))}highLightOnDidChangeModelContent(e=100,t=(e=>e),n=(e=>console.error(e)),i,o=(e=>console.log(e))){i=i||this.getAstPromise;const s=()=>{this.highlightCode(t,n,i,o)};s();let r={onDidChangeModelContentDisposer:this.monacoEditor.onDidChangeModelContent((()=>{clearTimeout(null),setTimeout(s,e)})),onDidChangeModelDisposer:this.monacoEditor.onDidChangeModel((()=>{s()})),dispose:()=>{r.onDidChangeModelContentDisposer.dispose(),r.onDidChangeModelDisposer.dispose()}};this._isHighlightBoundToModelContentChanges=!0;return this.monacoEditor.onDidDispose((()=>{this.resetDeltaDecorations(),r=null,this._isHighlightBoundToModelContentChanges=!1})),()=>{this.resetState(),this.resetDeltaDecorations(),this._isHighlightBoundToModelContentChanges&&(this._isHighlightBoundToModelContentChanges=!1,r&&r.dispose(),r=null)}}highlightCode(e=(e=>e),t=(e=>console.error(e)),n,i=(e=>e)){return(n=n||this.getAstPromise)().then((e=>this.highlight(e))).catch(i).then(e).catch(t)}highlight(e,t=a){return new Promise((n=>{e&&(this.jsxManager=t(e),this.decorators=this.extractAllDecorators(this.jsxManager)),n(e)}))}createDecoratorsByType(e,t,n,i,o=[],s,r){return s=s||this.options,r=r||this.locToMonacoRange,e&&e.find(t).forEach((e=>g[i](e,n,o,s,r))),o}createJSXElementDecorators(e,t=[],n,i){return n=n||this.options,i=i||this.locToMonacoRange,e&&e.findJSXElements().forEach((e=>g.ELEMENT(e,null,t,n,i))),t}extractAllDecorators(e){e=e||this.jsxManager;const t=this.createJSXElementDecorators(e);for(const n in S)this.createDecoratorsByType(e,n,S[n].options,S[n].highlightScope,t);return this.JSXDecoratorIds=this.monacoEditor.deltaDecorations(this.JSXDecoratorIds||[],t),t}getJSXContext(e,t,n,o){n=n||this.monacoEditor,o=o||this.locToMonacoRange;let s=t?this.jsxManager:null;if(this._isHighlightBoundToModelContentChanges||(s=t?a(t):null),!s)return p;let r=n.getModel().getLineFirstNonWhitespaceColumn(e.startLineNumber);const l=new i.Range(e.startLineNumber,r,e.startLineNumber,r);r=r?r-1:0;const h=new i.Range(e.startLineNumber,r,e.startLineNumber,r);let c=null,d=null,m=null,g=null;return s.jsxExpressions.forEach((e=>{const t=o(e.node.loc);("name"===e.key||"property"===e.key)&&e.isJSXIdentifier()&&t.intersectRanges(l)&&(d&&!d.containsRange(t)||(d=t,g=e)),t.intersectRanges(h)&&(c&&!c.containsRange(t)||(c=t,m=e))})),!m||m.isJSXExpressionContainer()||g?p:u}runJSXCommentContextAndAction(e,t,n=(e=>e),i,o){return t=t||this.getAstPromise,i=i||this.monacoEditor,new Promise((s=>{this._isHighlightBoundToModelContentChanges?s(o(this.getJSXContext(e,this.ast,i))):t().then((t=>{s(o(this.getJSXContext(e,t,i)))})).catch((t=>s(o(this.getJSXContext(e,null,i)))||n(t)))})).catch((t=>o(this.getJSXContext(e,null,i))||n(t)))}addJSXCommentCommand(e,t=(e=>e),n){return e=e||this.getAstPromise,n=n||this.monacoEditor,this._editorCommandId?(this._isJSXCommentCommandActive=!0,this.editorCommandOnDispose):(this._editorCommandId=n.addCommand(i.KeyMod.CtrlCmd|i.KeyCode.US_SLASH,(()=>{if(!this._isJSXCommentCommandActive)return void n.getAction(J).run();const o=n.getSelection(),s=n.getModel(),r=new i.Range(o.startLineNumber,s.getLineFirstNonWhitespaceColumn(o.startLineNumber),o.startLineNumber,s.getLineMaxColumn(o.startLineNumber));if(s.getValueInRange(r).match(/^\s*\/[/*]/))return n.getAction(J).run(),void this.resetState();this.runJSXCommentContextAndAction(o,e,t,n,(e=>{let t=!0;const r=[];for(let n=o.startLineNumber;n<=o.endLineNumber;n++){const e=new i.Range(n,s.getLineFirstNonWhitespaceColumn(n),n,s.getLineMaxColumn(n)),o=s.getValueInRange(e);r.push({commentRange:e,commentText:o}),t=t&&!!o.match(/{\/\*/)}if(e!==u&&!t)return n.getAction(J).run(),void this.resetState();let a=[],l=0;for(let n=o.startLineNumber;n<=o.endLineNumber;n++){let{commentText:e,commentRange:n}=r[l++];t?(e=e.replace(/{\/\*/,""),e=e.replace(/\*\/}/,"")):e=`{/*${e}*/}`,a.push({identifier:{major:1,minor:1},range:n,text:e,forceMoveMarkers:!0})}a.length&&n.executeEdits(this._editorCommandId,a)})).catch(t)})),this.editorCommandOnDispose=()=>{this._isJSXCommentCommandActive=!1},this._isJSXCommentCommandActive=!0,n.onDidDispose(this.editorCommandOnDispose),this.editorCommandOnDispose)}}}}]); \ No newline at end of file diff --git a/out/_next/static/chunks/456.a0ff842ef500eb0b.js b/out/_next/static/chunks/456.a0ff842ef500eb0b.js new file mode 100644 index 0000000000000000000000000000000000000000..c0292c641647ee489b867aaf7e026c004ffcea80 --- /dev/null +++ b/out/_next/static/chunks/456.a0ff842ef500eb0b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[456],{7234:function(e,t,r){"use strict";r.d(t,{Ni:function(){return x},Xn:function(){return C}});var n=r(7294);var o=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)===0){var t,r=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,t),this.tags.push(r)}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{var a=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,a?0:o.cssRules.length)}catch(i){0}}else n.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var a=function(e){function t(e,n,c,l,p){for(var d,h,m,b,v,E=0,_=0,x=0,C=0,k=0,S=0,P=m=d=0,M=0,I=0,B=0,U=0,G=c.length,H=G-1,V="",z="",F="",q="";M<G;){if(h=c.charCodeAt(M),M===H&&0!==_+C+x+E&&(0!==_&&(h=47===_?10:47),C=x=E=0,G++,H++),0===_+C+x+E){if(M===H&&(0<I&&(V=V.replace(f,"")),0<V.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:V+=c.charAt(M)}h=59}switch(h){case 123:for(d=(V=V.trim()).charCodeAt(0),m=1,U=++M;M<G;){switch(h=c.charCodeAt(M)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(M+1)){case 42:case 47:e:{for(P=M+1;P<H;++P)switch(c.charCodeAt(P)){case 47:if(42===h&&42===c.charCodeAt(P-1)&&M+2!==P){M=P+1;break e}break;case 10:if(47===h){M=P+1;break e}}M=P}}break;case 91:h++;case 40:h++;case 34:case 39:for(;M++<H&&c.charCodeAt(M)!==h;);}if(0===m)break;M++}if(m=c.substring(U,M),0===d&&(d=(V=V.replace(u,"").trim()).charCodeAt(0)),64===d){switch(0<I&&(V=V.replace(f,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:case 45:I=n;break;default:I=L}if(U=(m=t(n,I,m,h,p+1)).length,0<j&&(v=s(3,m,I=r(L,V,B),n,T,w,U,h,p,l),V=I.join(""),void 0!==v&&0===(U=(m=v.trim()).length)&&(h=0,m="")),0<U)switch(h){case 115:V=V.replace(A,i);case 100:case 109:case 45:m=V+"{"+m+"}";break;case 107:m=(V=V.replace(g,"$1 $2"))+"{"+m+"}",m=1===R||2===R&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=V+m,112===l&&(z+=m,m="")}else m=""}else m=t(n,r(n,V,B),m,l,p+1);F+=m,m=B=I=P=d=0,V="",h=c.charCodeAt(++M);break;case 125:case 59:if(1<(U=(V=(0<I?V.replace(f,""):V).trim()).length))switch(0===P&&(d=V.charCodeAt(0),45===d||96<d&&123>d)&&(U=(V=V.replace(" ",":")).length),0<j&&void 0!==(v=s(1,V,n,e,T,w,z.length,l,p,l))&&0===(U=(V=v.trim()).length)&&(V="\0\0"),d=V.charCodeAt(0),h=V.charCodeAt(1),d){case 0:break;case 64:if(105===h||99===h){q+=V+c.charAt(M);break}default:58!==V.charCodeAt(U-1)&&(z+=o(V,d,h,V.charCodeAt(2)))}B=I=P=d=0,V="",h=c.charCodeAt(++M)}}switch(h){case 13:case 10:47===_?_=0:0===1+d&&107!==l&&0<V.length&&(I=1,V+="\0"),0<j*D&&s(0,V,n,e,T,w,z.length,l,p,l),w=1,T++;break;case 59:case 125:if(0===_+C+x+E){w++;break}default:switch(w++,b=c.charAt(M),h){case 9:case 32:if(0===C+E+_)switch(k){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===C+_+E&&(I=B=1,b="\f"+b);break;case 108:if(0===C+_+E+N&&0<P)switch(M-P){case 2:112===k&&58===c.charCodeAt(M-3)&&(N=k);case 8:111===S&&(N=S)}break;case 58:0===C+_+E&&(P=M);break;case 44:0===_+x+C+E&&(I=1,b+="\r");break;case 34:case 39:0===_&&(C=C===h?0:0===C?h:C);break;case 91:0===C+_+x&&E++;break;case 93:0===C+_+x&&E--;break;case 41:0===C+_+E&&x--;break;case 40:if(0===C+_+E){if(0===d)if(2*k+3*S===533);else d=1;x++}break;case 64:0===_+x+C+E+P+m&&(m=1);break;case 42:case 47:if(!(0<C+E+x))switch(_){case 0:switch(2*h+3*c.charCodeAt(M+1)){case 235:_=47;break;case 220:U=M,_=42}break;case 42:47===h&&42===k&&U+2!==M&&(33===c.charCodeAt(U+2)&&(z+=c.substring(U,M+1)),b="",_=0)}}0===_&&(V+=b)}S=k,k=h,M++}if(0<(U=z.length)){if(I=n,0<j&&(void 0!==(v=s(2,z,I,e,T,w,U,l,p,l))&&0===(z=v).length))return q+z+F;if(z=I.join(",")+"{"+z+"}",0!==R*N){switch(2!==R||a(z,2)||(N=0),N){case 111:z=z.replace(O,":-moz-$1")+z;break;case 112:z=z.replace(y,"::-webkit-input-$1")+z.replace(y,"::-moz-$1")+z.replace(y,":-ms-input-$1")+z}N=0}}return q+z+F}function r(e,t,r){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=n(e,t[s],r).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=n(e[l]+" ",o[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var i=e+";",s=2*t+3*r+4*n;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===R||2===R&&a(c,1)?"-webkit-"+c+c:c}if(0===R||2===R&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(k,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return d.test(i)?i.replace(p,":-webkit-")+i.replace(p,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(v,"tb");break;case 232:c=i.replace(v,"tb-rl");break;case 220:c=i.replace(v,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(_,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(_,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),P(2!==t?n:n.replace(x,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(E," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,a,i,s,c,u){for(var f,p=0,d=t;p<j;++p)switch(f=S[p].call(l,e,d,r,n,o,a,i,s,c,u)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==t)return d}function c(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!==typeof e?R=1:(R=2,P=e):R=0),c}function l(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<j){var o=s(-1,r,n,n,T,w,0,0,0,0);void 0!==o&&"string"===typeof o&&(r=o)}var a=t(L,n,r,0,0);return 0<j&&(void 0!==(o=s(-2,a,n,n,T,w,a.length,0,0,0))&&(a=o)),"",N=0,w=T=1,a}var u=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,O=/:(read-only)/g,v=/[svh]\w+-[tblr]{2}/,A=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,_=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,k=/([^-])(image-set\()/,w=1,T=1,N=0,R=1,L=[],S=[],j=0,P=null,D=0;return l.use=function e(t){switch(t){case void 0:case null:j=S.length=0;break;default:if("function"===typeof t)S[j++]=t;else if("object"===typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else D=0|!!t}return e},l.set=c,void 0!==e&&c(e),l},i="/*|*/";function s(e){e&&c.current.insert(e+"}")}var c={current:null},l=function(e,t,r,n,o,a,l,u,f,p){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return c.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===u)return t+i;break;case 3:switch(u){case 102:case 112:return c.current.insert(r[0]+t),"";default:return t+(0===p?i:"")}case-2:t.split("/*|*/}").forEach(s)}},u=function(e){void 0===e&&(e={});var t,r=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var n=new a(t);var i,s={};i=e.container||document.head;var u,f=document.querySelectorAll("style[data-emotion-"+r+"]");Array.prototype.forEach.call(f,(function(e){e.getAttribute("data-emotion-"+r).split(" ").forEach((function(e){s[e]=!0})),e.parentNode!==i&&i.appendChild(e)})),n.use(e.stylisPlugins)(l),u=function(e,t,r,o){var a=t.name;c.current=r,n(e,t.styles),o&&(p.inserted[a]=!0)};var p={key:r,sheet:new o({key:r,container:i,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:s,registered:{},insert:u};return p};var f=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},p={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var d=/[A-Z]|^ms/g,h=/_EMO_([^_]+?)_([^]*?)_EMO_/g,m=function(e){return 45===e.charCodeAt(1)},b=function(e){return null!=e&&"boolean"!==typeof e},g=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return m(e)?e:e.replace(d,"-$&").toLowerCase()})),y=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(h,(function(e,t,r){return v={name:t,styles:r,next:v},t}))}return 1===p[e]||m(e)||"number"!==typeof t||0===t?t:t+"px"};function O(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return v={name:r.name,styles:r.styles,next:v},r.name;if(void 0!==r.styles){var o=r.next;if(void 0!==o)for(;void 0!==o;)v={name:o.name,styles:o.styles,next:v},o=o.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=O(e,t,r[o],!1);else for(var a in r){var i=r[a];if("object"!==typeof i)null!=t&&void 0!==t[i]?n+=a+"{"+t[i]+"}":b(i)&&(n+=g(a)+":"+y(a,i)+";");else if(!Array.isArray(i)||"string"!==typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=O(e,t,i,!1);switch(a){case"animation":case"animationName":n+=g(a)+":"+s+";";break;default:n+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)b(i[c])&&(n+=g(a)+":"+y(a,i[c])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=v,i=r(e);return v=a,O(e,t,i,n)}}if(null==t)return r;var s=t[r];return void 0===s||n?r:s}var v,A=/label:\s*([^\s;\n{]+)\s*;/g;var E=function(e,t,r){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";v=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=O(r,t,a,!1)):o+=a[0];for(var i=1;i<e.length;i++)o+=O(r,t,e[i],46===o.charCodeAt(o.length-1)),n&&(o+=a[i]);A.lastIndex=0;for(var s,c="";null!==(s=A.exec(o));)c+="-"+s[1];return{name:f(o)+c,styles:o,next:v}},_=(Object.prototype.hasOwnProperty,(0,n.createContext)("undefined"!==typeof HTMLElement?u():null)),x=(0,n.createContext)({}),C=(_.Provider,function(e){var t=function(t,r){return(0,n.createElement)(_.Consumer,null,(function(n){return e(t,n,r)}))};return(0,n.forwardRef)(t)});var k=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+n,o,e.sheet,!0);o=o.next}while(void 0!==o)}};var w=/[A-Z]|^ms/g,T=function(e){return 45===e.charCodeAt(1)};!function(e){var t={}}((function(e){return T(e)?e:e.replace(w,"-$&").toLowerCase()}));var N=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var a=t[n];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var s in i="",a)a[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};function R(e,t,r){var n=[],o=function(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]):n+=r+" "})),n}(e,n,r);return n.length<2?r:o+t(n)}C((function(e,t){return(0,n.createElement)(x.Consumer,null,(function(r){var n=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=E(r,t.registered);return k(t,o,!1),t.key+"-"+o.name},o={css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return R(t.registered,n,N(r))},theme:r},a=e.children(o);return!0,a}))}))},6005:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return N}});var n=r(4942),o=r(7294);var a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),s=r(7234);function c(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]):n+=r+" "})),n}var l=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+n,o,e.sheet,!0);o=o.next}while(void 0!==o)}};var u=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},f={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var p=/[A-Z]|^ms/g,d=/_EMO_([^_]+?)_([^]*?)_EMO_/g,h=function(e){return 45===e.charCodeAt(1)},m=function(e){return null!=e&&"boolean"!==typeof e},b=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return h(e)?e:e.replace(p,"-$&").toLowerCase()})),g=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(d,(function(e,t,r){return O={name:t,styles:r,next:O},t}))}return 1===f[e]||h(e)||"number"!==typeof t||0===t?t:t+"px"};function y(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return O={name:r.name,styles:r.styles,next:O},r.name;if(void 0!==r.styles){var o=r.next;if(void 0!==o)for(;void 0!==o;)O={name:o.name,styles:o.styles,next:O},o=o.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=y(e,t,r[o],!1);else for(var a in r){var i=r[a];if("object"!==typeof i)null!=t&&void 0!==t[i]?n+=a+"{"+t[i]+"}":m(i)&&(n+=b(a)+":"+g(a,i)+";");else if(!Array.isArray(i)||"string"!==typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=y(e,t,i,!1);switch(a){case"animation":case"animationName":n+=b(a)+":"+s+";";break;default:n+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)m(i[c])&&(n+=b(a)+":"+g(a,i[c])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=O,i=r(e);return O=a,y(e,t,i,n)}}if(null==t)return r;var s=t[r];return void 0===s||n?r:s}var O,v=/label:\s*([^\s;\n{]+)\s*;/g;var A=function(e,t,r){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";O=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=y(r,t,a,!1)):o+=a[0];for(var i=1;i<e.length;i++)o+=y(r,t,e[i],46===o.charCodeAt(o.length-1)),n&&(o+=a[i]);v.lastIndex=0;for(var s,c="";null!==(s=v.exec(o));)c+="-"+s[1];return{name:u(o)+c,styles:o,next:O}},E=i,_=function(e){return"theme"!==e&&"innerRef"!==e},x=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?E:_};function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(r,!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var w=function e(t,r){var n,a,i;void 0!==r&&(n=r.label,i=r.target,a=t.__emotion_forwardProp&&r.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&r.shouldForwardProp(e)}:r.shouldForwardProp);var u=t.__emotion_real===t,f=u&&t.__emotion_base||t;"function"!==typeof a&&u&&(a=t.__emotion_forwardProp);var p=a||x(f),d=!p("as");return function(){var h=arguments,m=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&m.push("label:"+n+";"),null==h[0]||void 0===h[0].raw)m.push.apply(m,h);else{0,m.push(h[0][0]);for(var b=h.length,g=1;g<b;g++)m.push(h[g],h[0][g])}var y=(0,s.Xn)((function(e,t,r){return(0,o.createElement)(s.Ni.Consumer,null,(function(n){var s=d&&e.as||f,u="",h=[],b=e;if(null==e.theme){for(var g in b={},e)b[g]=e[g];b.theme=n}"string"===typeof e.className?u=c(t.registered,h,e.className):null!=e.className&&(u=e.className+" ");var y=A(m.concat(h),t.registered,b);l(t,y,"string"===typeof s);u+=t.key+"-"+y.name,void 0!==i&&(u+=" "+i);var O=d&&void 0===a?x(s):p,v={};for(var E in e)d&&"as"===E||O(E)&&(v[E]=e[E]);return v.className=u,v.ref=r||e.innerRef,(0,o.createElement)(s,v)}))}));return y.displayName=void 0!==n?n:"Styled("+("string"===typeof f?f:f.displayName||f.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=f,y.__emotion_styles=m,y.__emotion_forwardProp=a,Object.defineProperty(y,"toString",{value:function(){return"."+i}}),y.withComponent=function(t,n){return e(t,void 0!==n?k({},r||{},{},n):r).apply(void 0,m)},y}},T=w.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){T[e]=T(e)}));var N=T},1284:function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&a(t,e,r);return i(t,e),t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var l=s(r(7294)),u=r(2797),f=r(1096),p=c(r(6110)),d=c(r(965)),h=c(r(9777)),m=/(%[coOs])|(%(([0-9]*[.])?[0-9]+)?[dif])/g,b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.theme=function(e){return o(o({},e),{method:t.props.log.method})},t}return n(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.log.amount!==e.log.amount},t.prototype.render=function(){var e=this.props.log;return l.createElement(u.ThemeProvider,{theme:this.theme},l.createElement(f.Message,{"data-method":e.method},e.amount>1?l.createElement(f.AmountIcon,null,e.amount):l.createElement(f.Icon,null),e.timestamp?l.createElement(f.Timestamp,null,e.timestamp):l.createElement("span",null),l.createElement(f.Content,null,this.getNode())))},t.prototype.getNode=function(){var e,t=this.props.log,r=this.typeCheck(t);if(r)return r;if(t.data.length>0&&"string"===typeof t.data[0]){var n=null===(e=t.data[0].match(m))||void 0===e?void 0:e.length;if(n){var a=t.data.slice(1+n);return l.createElement(l.Fragment,null,l.createElement(p.default,{data:t.data}),a.length>0&&l.createElement(d.default,{quoted:!1,log:o(o({},t),{data:a}),linkifyOptions:this.props.linkifyOptions}))}}if(t.data.every((function(e){return"string"===typeof e}))&&"error"===t.method)return l.createElement(h.default,{error:t.data.join(" ")});var i="string"!==typeof t.data[0];return l.createElement(d.default,{log:t,quoted:i,linkifyOptions:this.props.linkifyOptions})},t.prototype.typeCheck=function(e){return e?!(e.data instanceof Array)&&l.createElement(p.default,{data:["%c[console-feed] %cFailed to parse message! %clog.data was not an array!","color: red","color: orange","color: cyan"]}):l.createElement(p.default,{data:["%c[console-feed] %cFailed to parse message! %clog was typeof "+typeof e+", but it should've been a log object","color: red","color: orange","color: cyan"]})},t}(l.Component);t.default=b},2477:function(e,t,r){"use strict";t.__esModule=!0;var n=r(2903);t.default=function(e,t,r){var o={};function a(e){return"number"!==typeof e?"NaN":Math.floor(e)}var i=null;function s(e){for(var t=["background","border","color","font","line","margin","padding","text","-webkit-background","-webkit-border","-webkit-font","-webkit-margin","-webkit-padding","-webkit-text"],r=0;r<t.length;r++)if(e.startsWith(t[r]))return!0;return!1}function c(e){for(var t in i)e.style[t]=i[t]}return o.s=function(e){return"string"!==typeof e?"":String(e)},o.f=function(e){return"number"!==typeof e?"NaN":e},o.i=a,o.d=a,o.c=function(e){i={};var t=document.createElement("span");t.setAttribute("style",e);for(var r=0;r<t.style.length;r++){var n=t.style[r];s(n)&&(i[n]=t.style[n])}},n.String.format(e,t,o,r,(function(e,t){if(t instanceof Node)e.appendChild(t);else if("undefined"!==typeof t){var r=function(e){var t=document.createDocumentFragment();return t.appendChild(document.createTextNode(e)),t}(String(t));if(i){var n=document.createElement("span");n.appendChild(r),c(n);for(var o=0;o<n.children.length;++o)c(n.children[o]);r=n}e.appendChild(r)}return e}))}},2880:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=n(r(4224)),a=n(r(2477));t.default=function(e){var t=document.createElement("span");return a.default(e[0],e.slice(1),t),o.default(t.outerHTML.replace(/(?:\r\n|\r|\n)/g,"<br />"))}},2903:function(e,t){"use strict";t.__esModule=!0,t.String=void 0,function(e){function t(e,t){var r=e.charCodeAt(t);return 48<=r&&r<=57}e.format=function(e,r,n,o,a,i){if(!e||!r||!r.length)return{formattedResult:a(o,e),unusedSubstitutions:r};function s(){return'String.format("'+e+'", "'+Array.prototype.join.call(r,'", "')+'")'}function c(e){console.error(s()+": "+e)}for(var l,u=o,f=i||function(e,r){var n=[],o=0;function a(e){n.length&&"string"===n[n.length-1].type?n[n.length-1].value+=e:n.push({type:"string",value:e})}function i(e,t,r){n.push({type:"specifier",specifier:e,precision:t,substitutionIndex:r})}for(var s=0,c=e.indexOf("%",s);-1!==c&&e.length!==s;c=e.indexOf("%",s))if(a(e.substring(s,c)),"%"!==e[s=c+1]){if(t(e,s)){for(var l=parseInt(e.substring(s),10);t(e,s);)++s;l>0&&"$"===e[s]&&(o=l-1,++s)}var u=-1;if("."===e[s])for(++s,u=parseInt(e.substring(s),10),isNaN(u)&&(u=0);t(e,s);)++s;e[s]in r?(i(e[s],u,o),++o,++s):(a(e.substring(c,s+1)),++s)}else a("%"),++s;return a(e.substring(s)),n}(e,n),p={},d=0;d<f.length;++d){var h=f[d];"string"!==h.type?"specifier"===h.type?h.substitutionIndex>=r.length?(c("not enough substitution arguments. Had "+r.length+" but needed "+(h.substitutionIndex+1)+", so substitution was skipped."),u=a(u,"%"+(h.precision>-1?h.precision:"")+h.specifier)):(p[h.substitutionIndex]=!0,h.specifier in n?u=a(u,n[h.specifier](r[h.substitutionIndex],h)):(l="unsupported format character \u201c"+h.specifier+"\u201d. Treating as a string.",console.warn(s()+": "+l),u=a(u,r[h.substitutionIndex]))):c('Unknown token type "'+h.type+'" found.'):u=a(u,h.value)}var m=[];for(d=0;d<r.length;++d)d in p||m.push(r[d]);return{formattedResult:u,unusedSubstitutions:m}}}(t.String||(t.String={}))},1096:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0,t.Content=t.Timestamp=t.AmountIcon=t.Icon=t.Message=t.Root=void 0;var o=n(r(3727)),a=function(e,t,r){return r["LOG_"+t.toUpperCase()+"_"+e.toUpperCase()]||r["LOG_"+e.toUpperCase()]};t.Root=o.default("div")({wordBreak:"break-word",width:"100%"}),t.Message=o.default("div")((function(e){var t=e.theme,r=t.styles,n=t.method;return{position:"relative",display:"flex",color:a("color",n,r),backgroundColor:a("background",n,r),borderTop:"1px solid "+a("border",n,r),borderBottom:"1px solid "+a("border",n,r),marginTop:-1,marginBottom:+/^warn|error$/.test(n),paddingLeft:10,boxSizing:"border-box","& *":{verticalAlign:"top",boxSizing:"border-box",fontFamily:r.BASE_FONT_FAMILY,whiteSpace:"pre-wrap",fontSize:r.BASE_FONT_SIZE},"& a":{color:r.LOG_LINK_COLOR}}})),t.Icon=o.default("div")((function(e){var t=e.theme,r=t.styles,n=t.method;return{width:r.LOG_ICON_WIDTH,height:r.LOG_ICON_HEIGHT,backgroundImage:a("icon",n,r),backgroundRepeat:"no-repeat",backgroundSize:r.LOG_ICON_BACKGROUND_SIZE,backgroundPosition:"50% 50%"}})),t.AmountIcon=o.default("div")((function(e){var t=e.theme,r=t.styles,n=t.method;return{height:"16px",margin:"1px 0",whiteSpace:"nowrap",fontSize:"10px",lineHeight:"17px",padding:"0px 3px",background:a("amount_background",n,r),color:a("amount_color",n,r),borderRadius:"8px",minWidth:"18px",textAlign:"center"}})),t.Timestamp=o.default("div")((function(e){var t=e.theme,r=t.styles;t.method;return{padding:"3px 0px 0px 5px",width:"110px",height:r.LOG_ICON_HEIGHT,color:"dimgray"}})),t.Content=o.default("div")((function(e){return{clear:"right",position:"relative",padding:e.theme.styles.PADDING,marginLeft:15,minHeight:18,flex:"auto",width:"calc(100% - 15px)"}}))},9456:function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&a(t,e,r);return i(t,e),t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var l=s(r(7294)),u=r(2797),f=c(r(6491)),p=r(1096),d=c(r(1284)),h=function(e){return{variant:e.variant||"light",styles:o(o({},f.default(e)),e.styles)}},m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={theme:h(t.props),prevStyles:t.props.styles,prevVariant:t.props.variant},t}return n(t,e),t.getDerivedStateFromProps=function(e,t){return e.variant!==t.prevVariant||JSON.stringify(e.styles)!==JSON.stringify(e.prevStyles)?{theme:h(e),prevStyles:e.styles,prevVariant:e.variant}:null},t.prototype.render=function(){var e=this,t=this.props,r=t.filter,n=void 0===r?[]:r,a=t.logs,i=void 0===a?[]:a,s=t.searchKeywords,c=t.logFilter,f=t.logGrouping,h=void 0===f||f;if(s){var m=new RegExp(s),b=c||function(e){try{return m.test(function(e){var t=new Set;return JSON.stringify(e,(function(e,r){if("object"===typeof r&&null!==r){if(t.has(r))return;t.add(r)}return r}))}(e))}catch(t){return!0}};i=i.filter(b)}return h&&(i=i.reduce((function(e,t){var r=e[e.length-1];return r&&r.amount&&r.method===t.method&&r.data.length===t.data.length&&r.data.every((function(e,r){return t.data[r]===e}))?(r.amount+=1,e):(e.push(o(o({},t),{amount:1})),e)}),[])),l.createElement(u.ThemeProvider,{theme:this.state.theme},l.createElement(p.Root,null,i.map((function(t,r){return 0!==n.length&&t.method&&-1===n.indexOf(t.method)?null:l.createElement(d.default,{log:t,key:t.id||t.method+"-"+r,linkifyOptions:e.props.linkifyOptions})}))))},t}(l.PureComponent);t.default=m},9777:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var s=a(r(7294)),c=i(r(5819));t.default=function(e){var t,r=e.error,n=function(e){var t=e.indexOf("\n");return-1===t?e:e.substr(0,t)}(r),o=r.split("\n");return o.length>1&&(t=o.slice(1)),t?s.createElement("details",null,s.createElement("summary",{style:{outline:"none",cursor:"pointer"}},n),s.createElement(c.default,null,t.join("\n\r"))):s.createElement(c.default,null,r)}},6110:function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var c=i(r(7294)),l=r(9730),u=s(r(2880)),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.render=function(){return c.createElement(l.Root,{"data-type":"formatted",dangerouslySetInnerHTML:{__html:u.default(this.props.data||[])}})},t}(c.PureComponent);t.default=f},965:function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var c=i(r(7294)),l=r(2797),u=r(9730),f=s(r(5819)),p=s(r(1194)),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.render=function(){var e=this,t=this.props,r=t.theme,n=t.quoted;return t.log.data.map((function(t,o){if("string"===typeof t){var a=!n&&t.length?t+" ":c.createElement("span",null,c.createElement("span",null,'"'),c.createElement("span",{style:{color:r.styles.OBJECT_VALUE_STRING_COLOR}},t),c.createElement("span",null,'" '));return c.createElement(u.Root,{"data-type":"string",key:o},c.createElement(f.default,{options:e.props.linkifyOptions},a))}return c.createElement(p.default,{data:t,key:o})}))},t}(c.PureComponent);t.default=l.withTheme(d)},9730:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0,t.Constructor=t.HTML=t.Table=t.Root=void 0;var o=n(r(3727));t.Root=o.default("div")({display:"inline-block",wordBreak:"break-all","&::after":{content:"' '",display:"inline-block"},"& > li, & > ol, & > details":{backgroundColor:"transparent !important",display:"inline-block"},"& ol:empty":{paddingLeft:"0 !important"}}),t.Table=o.default("span")({"& > li":{display:"inline-block",marginTop:5}}),t.HTML=o.default("span")({display:"inline-block","& div:hover":{backgroundColor:"rgba(255, 220, 158, .05) !important",borderRadius:"2px"}}),t.Constructor=o.default("span")({"& > span > span:nth-child(1)":{opacity:.6}})},1194:function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&a(t,e,r);return i(t,e),t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var l=r(2797),u=s(r(7294)),f=r(2255),p=c(r(9777)),d=r(9730),h="__console_feed_remaining__";var m=function(e){if(!e||e.length<1)return 0;if(void 0===e[e.length-1].toString().split(h)[1])return e.length;var t=parseInt(e[e.length-1].toString().split(h)[1]);return e.length-1+t},b=function(e){var t=e.name,r=e.data,n=r;if("object"===typeof r&&!Array.isArray(r)&&null!==r){var o={};for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(Array.isArray(i)){var s=m(i);o[a]=new Array(s)}else o[a]=i}n=Object.assign(Object.create(Object.getPrototypeOf(r)),o)}return"string"===typeof t?u.createElement("span",null,u.createElement(f.ObjectName,{name:t}),u.createElement("span",null,": "),u.createElement(f.ObjectPreview,{data:n})):u.createElement(f.ObjectPreview,{data:n})},g=function(e){var t=e.name,r=e.data,n=e.isNonenumerable,o=void 0!==n&&n;return t===h?r>0?u.createElement("span",null,r," more..."):null:u.createElement("span",null,"string"===typeof t?u.createElement(f.ObjectName,{name:t,dimmed:o}):u.createElement(f.ObjectPreview,{data:t}),u.createElement("span",null,": "),u.createElement(f.ObjectValue,{object:r}))},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.render=function(){var e=this.props,t=e.data,r=e.theme,n=r.styles,a=r.method,i=t instanceof HTMLElement,s="table"===a;return u.createElement(d.Root,{"data-type":s?"table":i?"html":"object"},s?u.createElement(d.Table,null,u.createElement(f.Inspector,o({},this.props,{theme:n,table:!0})),u.createElement(f.Inspector,o({},this.props,{theme:n,nodeRenderer:this.nodeRenderer.bind(this)}))):i?u.createElement(d.HTML,null,u.createElement(f.DOMInspector,o({},this.props,{theme:n}))):u.createElement(f.Inspector,o({},this.props,{theme:n,nodeRenderer:this.nodeRenderer.bind(this)})))},t.prototype.getCustomNode=function(e){var t,r,n,o=this.props.theme.styles,a=null===(t=null===e||void 0===e?void 0:e.constructor)||void 0===t?void 0:t.name;if("Function"===a)return u.createElement("span",{style:{fontStyle:"italic"}},u.createElement(f.ObjectPreview,{data:e})," {",u.createElement("span",{style:{color:"rgb(181, 181, 181)"}},e.body),"}");if(e instanceof Error&&"string"===typeof e.stack)return u.createElement(p.default,{error:e.stack});if("Promise"===a)return u.createElement("span",{style:{fontStyle:"italic"}},"Promise ","{",u.createElement("span",{style:{opacity:.6}},"<pending>"),"}");if(e instanceof HTMLElement)return u.createElement(d.HTML,null,u.createElement(f.DOMInspector,{data:e,theme:o}));if(Array.isArray(e)){var i=m(e),s=o.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES;"string"===typeof e[e.length-1]&&e[e.length-1].includes(h)&&(e=e.slice(0,-1));var c=e.slice(0,s).map((function(e,t){return Array.isArray(e)?u.createElement(f.ObjectValue,{key:t,object:new Array(m(e))}):u.createElement(f.ObjectValue,{key:t,object:e})}));return i>s&&c.push(u.createElement("span",{key:"ellipsis"},"\u2026")),u.createElement(u.Fragment,null,u.createElement("span",{style:o.objectDescription},0===i?"":"("+i+")\xa0"),u.createElement("span",{style:o.preview},"[",(n=", ",0===(r=c).length?[]:r.slice(1).reduce((function(e,t){return e.concat([n,t])}),[r[0]])),"]"))}return null},t.prototype.nodeRenderer=function(e){var t=e.depth,r=e.name,n=e.data,o=e.isNonenumerable;if(0===t)return this.getCustomNode(n)||u.createElement(b,{name:r,data:n});if("string"===typeof n&&n.includes(h)&&(r=h,n=n.split(h)[1]),"constructor"===r)return u.createElement(d.Constructor,null,u.createElement(f.ObjectLabel,{name:"<constructor>",data:n.name,isNonenumerable:o}));var a=this.getCustomNode(n);return a?u.createElement(d.Root,null,u.createElement(f.ObjectName,{name:r}),u.createElement("span",null,": "),a):u.createElement(g,{name:r,data:n,isNonenumerable:o})},t}(u.PureComponent);t.default=l.withTheme(y)},6491:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};t.__esModule=!0;var o=r(2255);t.default=function(e){var t="light"===(e.variant||"light"),r=t?o.chromeLight:o.chromeDark;return n(n({},r),{PADDING:"3px 22px 2px 0",LOG_COLOR:r.BASE_COLOR,LOG_BACKGROUND:"transparent",LOG_BORDER:t?"rgb(236,236,236)":"rgb(44,44,44)",LOG_ICON_WIDTH:10,LOG_ICON_HEIGHT:18,LOG_ICON:"none",LOG_AMOUNT_BACKGROUND:"#42597f",LOG_AMOUNT_COLOR:"#8d8f91",LOG_LINK_COLOR:t?"rgb(66, 66, 66)":"rgb(177, 177, 177)",LOG_WARN_ICON:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACkSURBVChTbY7BCoJQFERn0Q/3BX1JuxQjsSCXiV8gtCgxhCIrKIRIqKDVzXl5w5cNHBjm6eGinXiAXu5inY2xYm/mbpIh+vcFhLA3sx0athNUhymEsP+10lAEEA17x8o/9wFuNGnYuVlWve0SQl7P0sBu3aq2R1Q/1JzSkYGd29eqNv2wjdnUuvNRciC/N+qe+7gidbA8zyHkOINsvA/sumcOkjcabcBmw2+mMgAAAABJRU5ErkJggg==)",LOG_WARN_BACKGROUND:t?"rgb(255,250,220)":"#332b00",LOG_WARN_COLOR:t?"rgb(73,45,2)":"#ffdc9e",LOG_WARN_BORDER:t?"rgb(255,244,181)":"#650",LOG_WARN_AMOUNT_BACKGROUND:"#ffbb17",LOG_WARN_AMOUNT_COLOR:"#8d8f91",LOG_ERROR_ICON:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADESURBVChTY4CB7ZI8tmfU5E6e01b+DMIgNkgMKg0BR9Vkux6YWPx/bemIgkFiIDmwogOaqrYPzazAEm8DwuGKYGyQHEgNw0VT05Mwib9v3v7/kJEHxiA2TDFIDcNNU4vPMFPACj58/P/v40cwGyYOUsNwy8IZRSFIEUgxskKQGoZrzp4ErQapYbgYHG371M4dLACTQGaD5EBqwD6/FpzQ9dTBE64IhkFiIDmwIhi4mlJqey8o4eR9r8jPIAxig8QgsgwMAFZz1YtGPXgjAAAAAElFTkSuQmCC)",LOG_ERROR_BACKGROUND:t?"rgb(255,235,235)":"#290000",LOG_ERROR_BORDER:t?"rgb(253,204,205)":"#5b0000",LOG_ERROR_COLOR:t?"rgb(252,0,5)":"#ff8080",LOG_ERROR_AMOUNT_BACKGROUND:"#dc2727",LOG_ERROR_AMOUNT_COLOR:"#8d8f91",LOG_DEBUG_ICON:"url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 459 459'%3e%3cpath fill='%234D88FF' d='M433.5 127.5h-71.4a177.7 177.7 0 0 0-45.9-51L357 35.7 321.3 0l-56.1 56.1c-10.2-2.6-23-5.1-35.7-5.1s-25.5 2.5-35.7 5.1L137.7 0 102 35.7l40.8 40.8a177.7 177.7 0 0 0-45.9 51H25.5v51H79c-2.5 7.7-2.5 17.9-2.5 25.5v25.5h-51v51h51V306a88 88 0 0 0 2.5 25.5H25.5v51h71.4A152.2 152.2 0 0 0 229.5 459c56.1 0 107.1-30.6 132.6-76.5h71.4v-51H380c2.5-7.7 2.5-17.9 2.5-25.5v-25.5h51v-51h-51V204c0-7.7 0-17.9-2.5-25.5h53.5v-51zm-153 204h-102v-51h102v51zm0-102h-102v-51h102v51z'/%3e%3c/svg%3e\")",LOG_DEBUG_BACKGROUND:"",LOG_DEBUG_BORDER:"",LOG_DEBUG_COLOR:"#4D88FF",LOG_COMMAND_ICON:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABaSURBVChTY6AtmDx5cvnUqVP1oFzsoL+/XwCo8DEQv584caIVVBg7mDBhghxQ4Y2+vr6vU6ZM8YAKYwdA00SB+CxQ8S+g4jCoMCYgSiFRVpPkGaAiHMHDwAAA5Ko+F4/l6+MAAAAASUVORK5CYII=)",LOG_RESULT_ICON:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABpSURBVChTY6A92LNnj96uXbvKoVzsYMeOHVbbt29/D1T4eP/+/QJQYVSwe/duD6CCr0B8A8iWgwqjAqBk2NatW38B6bPbtm0TBYkBFbsA+c9ANFgRCBCtEASAAoSthgGiPAMD2IOHgQEA521bM7uG52wAAAAASUVORK5CYII=)",LOG_INFO_ICON:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADISURBVChTY4ABp/AztmZBZ07qe538rO114rOa8+GTskYHbKHSEOARd6nLIOTsf61gIA46U6kVePYQiK3uc/K/hPG+LrCi8IyrtkZh5yCKgk/80w46ba0RdGYGhH/2v6rXyf88qtttGVwSLp2ECQLxeiAu1wo6uwpJ7L+o2f6TDA6xZz8jCyqFnuHXCj4djywmZXHoM/EK0azGqhBsNYpngL6VCTnGqRF4xgKo+D5IDO4ZEEAKnjcQBafvqwWf/YoSPDCAP8AZGAC7mLM81zgOTQAAAABJRU5ErkJggg==)",BASE_FONT_FAMILY:"Consolas, Lucida Console, Courier New, monospace",BASE_FONT_SIZE:"12px",ARROW_FONT_SIZE:10,OBJECT_VALUE_STRING_COLOR:"rgb(233,63,59)"})}},3727:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=n(r(6005));t.default=o.default},4224:function(e,t,r){e.exports=r(6271).default},6271:function(e,t,r){"use strict";t.default=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.default.tokenize(e),o=[],i=[];for(r=new c(r),t=0;t<n.length;t++){var b=n[t];if(b.type!==l)if(b.type===f){var g=d(b.chars,r);o.push.apply(o,g)}else o.push(b);else{o.push(b);var y=b.tagName.toUpperCase(),O="A"===y||s.contains(r.ignoreTags,y);if(!O)continue;var v=o.length;h(y,n,++t,o),t+=o.length-v-1}}for(t=0;t<o.length;t++){var A=o[t];switch(A.type){case l:var E="<"+A.tagName;if(A.attributes.length>0){var _=m(A.attributes);E+=" "+_.join(" ")}E+=">",i.push(E);break;case u:i.push("</"+A.tagName+">");break;case f:i.push(A.chars);break;case p:i.push("\x3c!--"+A.chars+"--\x3e")}}return i.join("")};var n,o=r(5949),a=(n=o)&&n.__esModule?n:{default:n},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(3374));var s=i.options,c=s.Options,l="StartTag",u="EndTag",f="Chars",p="Comment";function d(e,t){for(var r=i.tokenize(e),n=[],o=0;o<r.length;o++){var a=r[o];if("nl"===a.type&&t.nl2br)n.push({type:l,tagName:"br",attributes:[],selfClosing:!0});else if(a.isLink&&t.check(a)){var s=t.resolve(a),c=s.formatted,p=s.formattedHref,d=s.tagName,h=s.className,m=s.target,b=s.attributes,g=[["href",p]];for(var y in h&&g.push(["class",h]),m&&g.push(["target",m]),b)g.push([y,b[y]]);n.push({type:l,tagName:d,attributes:g,selfClosing:!1}),n.push({type:f,chars:c}),n.push({type:u,tagName:d})}else n.push({type:f,chars:a.toString()})}return n}function h(e,t,r,n){for(var o=1;r<t.length&&o>0;){var a=t[r];a.type===l&&a.tagName.toUpperCase()===e?o++:a.type===u&&a.tagName.toUpperCase()===e&&o--,n.push(a),r++}return n}function m(e){for(var t=[],r=0;r<e.length;r++){var n=e[r],o=n[0],a=n[1];t.push(o+'="'+(a.replace(/"/g,""")+'"'))}return t}},8276:function(e,t,r){"use strict";var n,o=r(7294),a=(n=o)&&n.__esModule?n:{default:n},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(3374));function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=i.options,u=l.Options;function f(e,t){for(var r=i.tokenize(e),n=[],o=0,s=0;s<r.length;s++){var c=r[s];if("nl"===c.type&&t.nl2br)n.push(a.default.createElement("br",{key:"linkified-"+ ++o}));else if(c.isLink&&t.check(c)){var l=t.resolve(c),u=l.formatted,f=l.formattedHref,p=l.tagName,d=l.className,h=l.target,m=l.attributes,b={key:"linkified-"+ ++o,href:f};if(d&&(b.className=d),h&&(b.target=h),m)for(var g in m)b[g]=m[g];n.push(a.default.createElement(p,b,u))}else n.push(c.toString())}return n}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===a.default.Children.count(e.props.children))return e;var n=[];a.default.Children.forEach(e.props.children,(function(e){"string"===typeof e?(r+=1,n.push.apply(n,f(e,t))):a.default.isValidElement(e)?"string"===typeof e.type&&l.contains(t.ignoreTags,e.type.toUpperCase())?n.push(e):n.push(p(e,t,++r)):n.push(e)}));var o={key:"linkified-element-"+r};for(var i in e.props)o[i]=e.props[i];return a.default.cloneElement(e,o,n)}var d=function(e){function t(){return s(this,t),c(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e={key:"linkified-element-0"};for(var t in this.props)"options"!==t&&"tagName"!==t&&(e[t]=this.props[t]);var r=new u(this.props.options),n=this.props.tagName||"span";return p(a.default.createElement(n,e),r,0)},t}(a.default.Component);t.default=d},3374:function(e,t,r){"use strict";t.__esModule=!0,t.tokenize=t.test=t.scanner=t.parser=t.options=t.inherits=t.find=void 0;var n=r(1132),o=s(r(4014)),a=s(r(3860)),i=s(r(2493));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var c=function(e){return i.run(a.run(e))};t.find=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=c(e),n=[],o=0;o<r.length;o++){var a=r[o];!a.isLink||t&&a.type!==t||n.push(a.toObject())}return n},t.inherits=n.inherits,t.options=o,t.parser=i,t.scanner=a,t.test=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=c(e);return 1===r.length&&r[0].isLink&&(!t||r[0].type===t)},t.tokenize=c},2493:function(e,t,r){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var n=r(4180),o=r(3476),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(o),i=r(7902);var s=function(e){return new n.TokenState(e)},c=s(),l=s(),u=s(),f=s(),p=s(),d=s(),h=s(),m=s(o.URL),b=s(),g=s(o.URL),y=s(o.URL),O=s(),v=s(),A=s(),E=s(),_=s(),x=s(o.URL),C=s(o.URL),k=s(o.URL),w=s(o.URL),T=s(),N=s(),R=s(),L=s(),S=s(),j=s(),P=s(o.EMAIL),D=s(),M=s(o.EMAIL),I=s(o.MAILTOEMAIL),B=s(),U=s(),G=s(),H=s(),V=s(o.NL);c.on(i.NL,V).on(i.PROTOCOL,l).on(i.MAILTO,u).on(i.SLASH,f),l.on(i.SLASH,f),f.on(i.SLASH,p),c.on(i.TLD,d).on(i.DOMAIN,d).on(i.LOCALHOST,m).on(i.NUM,d),p.on(i.TLD,y).on(i.DOMAIN,y).on(i.NUM,y).on(i.LOCALHOST,y),d.on(i.DOT,h),S.on(i.DOT,j),h.on(i.TLD,m).on(i.DOMAIN,d).on(i.NUM,d).on(i.LOCALHOST,d),j.on(i.TLD,P).on(i.DOMAIN,S).on(i.NUM,S).on(i.LOCALHOST,S),m.on(i.DOT,h),P.on(i.DOT,j),m.on(i.COLON,b).on(i.SLASH,y),b.on(i.NUM,g),g.on(i.SLASH,y),P.on(i.COLON,D),D.on(i.NUM,M);var z=[i.DOMAIN,i.AT,i.LOCALHOST,i.NUM,i.PLUS,i.POUND,i.PROTOCOL,i.SLASH,i.TLD,i.UNDERSCORE,i.SYM,i.AMPERSAND],F=[i.COLON,i.DOT,i.QUERY,i.PUNCTUATION,i.CLOSEBRACE,i.CLOSEBRACKET,i.CLOSEANGLEBRACKET,i.CLOSEPAREN,i.OPENBRACE,i.OPENBRACKET,i.OPENANGLEBRACKET,i.OPENPAREN];y.on(i.OPENBRACE,v).on(i.OPENBRACKET,A).on(i.OPENANGLEBRACKET,E).on(i.OPENPAREN,_),O.on(i.OPENBRACE,v).on(i.OPENBRACKET,A).on(i.OPENANGLEBRACKET,E).on(i.OPENPAREN,_),v.on(i.CLOSEBRACE,y),A.on(i.CLOSEBRACKET,y),E.on(i.CLOSEANGLEBRACKET,y),_.on(i.CLOSEPAREN,y),x.on(i.CLOSEBRACE,y),C.on(i.CLOSEBRACKET,y),k.on(i.CLOSEANGLEBRACKET,y),w.on(i.CLOSEPAREN,y),T.on(i.CLOSEBRACE,y),N.on(i.CLOSEBRACKET,y),R.on(i.CLOSEANGLEBRACKET,y),L.on(i.CLOSEPAREN,y),v.on(z,x),A.on(z,C),E.on(z,k),_.on(z,w),v.on(F,T),A.on(F,N),E.on(F,R),_.on(F,L),x.on(z,x),C.on(z,C),k.on(z,k),w.on(z,w),x.on(F,x),C.on(F,C),k.on(F,k),w.on(F,w),T.on(z,x),N.on(z,C),R.on(z,k),L.on(z,w),T.on(F,T),N.on(F,N),R.on(F,R),L.on(F,L),y.on(z,y),O.on(z,y),y.on(F,O),O.on(F,O),u.on(i.TLD,I).on(i.DOMAIN,I).on(i.NUM,I).on(i.LOCALHOST,I),I.on(z,I).on(F,B),B.on(z,I).on(F,B);var q=[i.DOMAIN,i.NUM,i.PLUS,i.POUND,i.QUERY,i.UNDERSCORE,i.SYM,i.AMPERSAND,i.TLD];d.on(q,U).on(i.AT,G),m.on(q,U).on(i.AT,G),h.on(q,U),U.on(q,U).on(i.AT,G).on(i.DOT,H),H.on(q,U),G.on(i.TLD,S).on(i.DOMAIN,S).on(i.LOCALHOST,P);t.State=n.TokenState,t.TOKENS=a,t.run=function(e){for(var t=e.length,r=0,n=[],a=[];r<t;){for(var i=c,s=null,l=null,u=0,f=null,p=-1;r<t&&!(s=i.next(e[r]));)a.push(e[r++]);for(;r<t&&(l=s||i.next(e[r]));)s=null,(i=l).accepts()?(p=0,f=i):p>=0&&p++,r++,u++;if(p<0)for(var d=r-u;d<r;d++)a.push(e[d]);else{a.length>0&&(n.push(new o.TEXT(a)),a=[]),r-=p,u-=p;var h=f.emit();n.push(new h(e.slice(r-u,r)))}}return a.length>0&&n.push(new o.TEXT(a)),n},t.start=c},3860:function(e,t,r){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var n=r(4180),o=r(7902),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(o);var i="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),s="0123456789".split(""),c="0123456789abcdefghijklmnopqrstuvwxyz".split(""),l=[" ","\f","\r","\t","\v","\xa0","\u1680","\u180e"],u=[],f=function(e){return new n.CharacterState(e)},p=f(),d=f(o.NUM),h=f(o.DOMAIN),m=f(),b=f(o.WS);p.on("@",f(o.AT)).on(".",f(o.DOT)).on("+",f(o.PLUS)).on("#",f(o.POUND)).on("?",f(o.QUERY)).on("/",f(o.SLASH)).on("_",f(o.UNDERSCORE)).on(":",f(o.COLON)).on("{",f(o.OPENBRACE)).on("[",f(o.OPENBRACKET)).on("<",f(o.OPENANGLEBRACKET)).on("(",f(o.OPENPAREN)).on("}",f(o.CLOSEBRACE)).on("]",f(o.CLOSEBRACKET)).on(">",f(o.CLOSEANGLEBRACKET)).on(")",f(o.CLOSEPAREN)).on("&",f(o.AMPERSAND)).on([",",";","!",'"',"'"],f(o.PUNCTUATION)),p.on("\n",f(o.NL)).on(l,b),b.on(l,b);for(var g=0;g<i.length;g++){var y=(0,n.stateify)(i[g],p,o.TLD,o.DOMAIN);u.push.apply(u,y)}var O=(0,n.stateify)("file",p,o.DOMAIN,o.DOMAIN),v=(0,n.stateify)("ftp",p,o.DOMAIN,o.DOMAIN),A=(0,n.stateify)("http",p,o.DOMAIN,o.DOMAIN),E=(0,n.stateify)("mailto",p,o.DOMAIN,o.DOMAIN);u.push.apply(u,O),u.push.apply(u,v),u.push.apply(u,A),u.push.apply(u,E);var _=O.pop(),x=v.pop(),C=A.pop(),k=E.pop(),w=f(o.DOMAIN),T=f(o.PROTOCOL),N=f(o.MAILTO);x.on("s",w).on(":",T),C.on("s",w).on(":",T),u.push(w),_.on(":",T),w.on(":",T),k.on(":",N);var R=(0,n.stateify)("localhost",p,o.LOCALHOST,o.DOMAIN);u.push.apply(u,R),p.on(s,d),d.on("-",m).on(s,d).on(c,h),h.on("-",m).on(c,h);for(var L=0;L<u.length;L++)u[L].on("-",m).on(c,h);m.on("-",m).on(s,h).on(c,h),p.defaultTransition=f(o.SYM);var S=p;t.State=n.CharacterState,t.TOKENS=a,t.run=function(e){for(var t=e.replace(/[A-Z]/g,(function(e){return e.toLowerCase()})),r=e.length,n=[],o=0;o<r;){for(var a=p,i=null,s=0,c=null,l=-1;o<r&&(i=a.next(t[o]));)(a=i).accepts()?(l=0,c=a):l>=0&&l++,s++,o++;if(!(l<0)){o-=l,s-=l;var u=c.emit();n.push(new u(e.substr(o-s,s)))}}return n},t.start=S},4180:function(e,t,r){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var n=r(1132);var o=function(e){this.j=[],this.T=e||null};o.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var r=0;r<e.length;r++)this.j.push([e[r],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var r=this.j[t],n=r[0],o=r[1];if(this.test(e,n))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var a=(0,n.inherits)(o,(function(e){this.j=[],this.T=e||null}),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),i=(0,n.inherits)(o,(function(e){this.j=[],this.T=e||null}),{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=this.next(new e(""));return r===this.defaultTransition?(r=new this.constructor(t),this.on(e,r)):t&&(r.T=t),r},test:function(e,t){return e instanceof t}});t.CharacterState=a,t.TokenState=i,t.stateify=function(e,t,r,n){for(var o=0,i=e.length,s=t,c=[],l=void 0;o<i&&(l=s.next(e[o]));)s=l,o++;if(o>=i)return[];for(;o<i-1;)l=new a(n),c.push(l),s.on(e[o],l),s=l,o++;return l=new a(r),c.push(l),s.on(e[i-1],l),c}},153:function(e,t){"use strict";t.__esModule=!0,t.createTokenClass=function(){return function(e){e&&(this.v=e)}}},3476:function(e,t,r){"use strict";t.__esModule=!0,t.URL=t.TEXT=t.NL=t.EMAIL=t.MAILTOEMAIL=t.Base=void 0;var n=r(153),o=r(1132),a=r(7902);function i(e){return e instanceof a.DOMAIN||e instanceof a.TLD}var s=(0,n.createTokenClass)();s.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.v.length;t++)e.push(this.v[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var c=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"email",isLink:!0}),l=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),u=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"text"}),f=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"nl"}),p=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,r=!1,n=this.v,o=[],s=0;n[s]instanceof a.PROTOCOL;)t=!0,o.push(n[s].toString().toLowerCase()),s++;for(;n[s]instanceof a.SLASH;)r=!0,o.push(n[s].toString()),s++;for(;i(n[s]);)o.push(n[s].toString().toLowerCase()),s++;for(;s<n.length;s++)o.push(n[s].toString());return o=o.join(""),t||r||(o=e+"://"+o),o},hasProtocol:function(){return this.v[0]instanceof a.PROTOCOL}});t.Base=s,t.MAILTOEMAIL=c,t.EMAIL=l,t.NL=f,t.TEXT=u,t.URL=p},7902:function(e,t,r){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var n=r(153),o=r(1132),a=(0,n.createTokenClass)();function i(e){var t=e?{v:e}:{};return(0,o.inherits)(a,(0,n.createTokenClass)(),t)}a.prototype={toString:function(){return this.v+""}};var s=i(),c=i("@"),l=i(":"),u=i("."),f=i(),p=i(),d=i("\n"),h=i(),m=i("+"),b=i("#"),g=i(),y=i("mailto:"),O=i("?"),v=i("/"),A=i("_"),E=i(),_=i(),x=i(),C=i("{"),k=i("["),w=i("<"),T=i("("),N=i("}"),R=i("]"),L=i(">"),S=i(")"),j=i("&");t.Base=a,t.DOMAIN=s,t.AT=c,t.COLON=l,t.DOT=u,t.PUNCTUATION=f,t.LOCALHOST=p,t.NL=d,t.NUM=h,t.PLUS=m,t.POUND=b,t.QUERY=O,t.PROTOCOL=g,t.MAILTO=y,t.SLASH=v,t.UNDERSCORE=A,t.SYM=E,t.TLD=_,t.WS=x,t.OPENBRACE=C,t.OPENBRACKET=k,t.OPENANGLEBRACKET=w,t.OPENPAREN=T,t.CLOSEBRACE=N,t.CLOSEBRACKET=R,t.CLOSEANGLEBRACKET=L,t.CLOSEPAREN=S,t.AMPERSAND=j},1132:function(e,t){"use strict";t.__esModule=!0,t.inherits=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Object.create(e.prototype);for(var o in r)n[o]=r[o];return n.constructor=t,t.prototype=n,t}},4014:function(e,t){"use strict";t.__esModule=!0;var r="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},n={defaultProtocol:"http",events:null,format:a,formatHref:a,nl2br:!1,tagName:"a",target:function(e,t){return"url"===t?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function o(e){e=e||{},this.defaultProtocol=e.hasOwnProperty("defaultProtocol")?e.defaultProtocol:n.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:n.events,this.format=e.hasOwnProperty("format")?e.format:n.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:n.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:n.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:n.tagName,this.target=e.hasOwnProperty("target")?e.target:n.target,this.validate=e.hasOwnProperty("validate")?e.validate:n.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||n.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||n.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:n.ignoreTags,r=0;r<t.length;r++)this.ignoreTags.push(t[r].toUpperCase())}function a(e){return e}t.defaults=n,t.Options=o,t.contains=function(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return!0;return!1},o.prototype={resolve:function(e){var t=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",t,e),tagName:this.get("tagName",t,e),className:this.get("className",t,e),target:this.get("target",t,e),events:this.getObject("events",t,e),attributes:this.getObject("attributes",t,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,o){var a=void 0,i=this[e];if(!i)return i;switch("undefined"===typeof i?"undefined":r(i)){case"function":return i(t,o.type);case"object":return"function"===typeof(a=i.hasOwnProperty(o.type)?i[o.type]:n[e])?a(t,o.type):a}return i},getObject:function(e,t,r){var n=this[e];return"function"===typeof n?n(t,r.type):n}}},5949:function(e,t,r){"use strict";t.__esModule=!0;var n=c(r(6719)),o=c(r(6966)),a=c(r(8602)),i=c(r(111)),s=c(r(7676));function c(e){return e&&e.__esModule?e:{default:e}}var l={HTML5NamedCharRefs:n.default,EntityParser:o.default,EventedTokenizer:a.default,Tokenizer:i.default,tokenize:s.default};t.default=l},6966:function(e,t){"use strict";function r(e){this.named=e}t.__esModule=!0;var n=/^#[xX]([A-Fa-f0-9]+)$/,o=/^#([0-9]+)$/,a=/^([A-Za-z0-9]+)$/;r.prototype.parse=function(e){if(e){var t=e.match(n);return t?"&#x"+t[1]+";":(t=e.match(o))?"&#"+t[1]+";":(t=e.match(a))?this.named[t[1]]||"&"+t[1]+";":void 0}},t.default=r},8602:function(e,t,r){"use strict";t.__esModule=!0;var n=r(8665);function o(e,t){this.delegate=e,this.entityParser=t,this.state=null,this.input=null,this.index=-1,this.line=-1,this.column=-1,this.tagLine=-1,this.tagColumn=-1,this.reset()}o.prototype={reset:function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},tokenize:function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},tokenizePart:function(e){for(this.input+=(0,n.preprocessInput)(e);this.index<this.input.length;)this.states[this.state].call(this)},tokenizeEOF:function(){this.flushData()},flushData:function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},peek:function(){return this.input.charAt(this.index)},consume:function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},consumeCharRef:function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),r=this.entityParser.parse(t);if(r){for(var n=t.length;n;)this.consume(),n--;return this.consume(),r}}},markTagStart:function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},states:{beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.state="markupDeclaration":"/"===e?this.state="endTagOpen":(0,n.isAlpha)(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();(0,n.isSpace)(e)?this.state="beforeAttributeName":"/"===e?this.state="selfClosingStartTag":">"===e?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();(0,n.isSpace)(e)?this.consume():"/"===e?(this.state="selfClosingStartTag",this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},attributeName:function(){var e=this.peek();(0,n.isSpace)(e)?(this.state="afterAttributeName",this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.state="beforeAttributeValue",this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();(0,n.isSpace)(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.consume(),this.state="beforeAttributeValue"):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();(0,n.isSpace)(e)?this.consume():'"'===e?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();(0,n.isSpace)(e)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();(0,n.isSpace)(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();(0,n.isAlpha)(e)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(e.toLowerCase()))}}},t.default=o},6719:function(e,t){"use strict";t.__esModule=!0;t.default={nbsp:"\xa0"}},7676:function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){return new n.default(new o.default(a.default),t).tokenize(e)};var n=i(r(111)),o=i(r(6966)),a=i(r(6719));function i(e){return e&&e.__esModule?e:{default:e}}},111:function(e,t,r){"use strict";t.__esModule=!0;var n,o=r(8602),a=(n=o)&&n.__esModule?n:{default:n};function i(e,t){this.token=null,this.startLine=1,this.startColumn=0,this.options=t||{},this.tokenizer=new a.default(this,e)}i.prototype={tokenize:function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},tokenizePart:function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},tokenizeEOF:function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},reset:function(){this.token=null,this.startLine=1,this.startColumn=0},addLocInfo:function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},beginData:function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},appendToData:function(e){this.token.chars+=e},finishData:function(){this.addLocInfo()},beginComment:function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},appendToCommentData:function(e){this.token.chars+=e},finishComment:function(){this.addLocInfo()},beginStartTag:function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},beginEndTag:function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},finishTag:function(){this.addLocInfo()},markTagAsSelfClosing:function(){this.token.selfClosing=!0},appendToTagName:function(e){this.token.tagName+=e},beginAttribute:function(){this._currentAttribute=["","",null],this.token.attributes.push(this._currentAttribute)},appendToAttributeName:function(e){this._currentAttribute[0]+=e},beginAttributeValue:function(e){this._currentAttribute[2]=e},appendToAttributeValue:function(e){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=e},finishAttributeValue:function(){}},t.default=i},8665:function(e,t){"use strict";t.__esModule=!0,t.isSpace=function(e){return r.test(e)},t.isAlpha=function(e){return n.test(e)},t.preprocessInput=function(e){return e.replace(o,"\n")};var r=/[\t\n\f ]/,n=/[A-Za-z]/,o=/\r\n?/g},5819:function(e,t,r){e.exports=r(8276).default},2797:function(e,t,r){"use strict";r.r(t),r.d(t,{ThemeProvider:function(){return d},useTheme:function(){return m},withTheme:function(){return h}});var n=r(4942),o=r(7294),a=r(7234),i=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},s=r(7462),c=r(8679),l=r.n(c);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var f=function(e,t){return"function"===typeof t?t(e):function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{},t)},p=i((function(e){return i((function(t){return f(e,t)}))})),d=function(e){return(0,o.createElement)(a.Ni.Consumer,null,(function(t){return e.theme!==t&&(t=p(t)(e.theme)),(0,o.createElement)(a.Ni.Provider,{value:t},e.children)}))};function h(e){var t=e.displayName||e.name||"Component",r=function(t,r){return(0,o.createElement)(a.Ni.Consumer,null,(function(n){return(0,o.createElement)(e,(0,s.Z)({theme:n,ref:r},t))}))},n=(0,o.forwardRef)(r);return n.displayName="WithTheme("+t+")",l()(n,e)}function m(){return o.useContext(a.Ni)}},7689:function(e,t,r){var n=r(6240),o=r(312);e.exports=function(e){return!(!n(e)||!o(window)||"function"!==typeof window.Node)&&("number"===typeof e.nodeType&&"string"===typeof e.nodeName)}},6240:function(e){"use strict";e.exports=function(e){return"object"===typeof e&&null!==e}},312:function(e){"use strict";e.exports=function(e){if(null==e)return!1;var t=Object(e);return t===t.window}},2255:function(e,t,r){"use strict";r.r(t),r.d(t,{DOMInspector:function(){return Me},Inspector:function(){return Ie},ObjectInspector:function(){return ge},ObjectLabel:function(){return pe},ObjectName:function(){return re},ObjectPreview:function(){return ue},ObjectRootLabel:function(){return fe},ObjectValue:function(){return ae},TableInspector:function(){return Te},chromeDark:function(){return h},chromeLight:function(){return m}});var n=r(7294),o=r(5697),a=r.n(o),i=r(7689),s=r.n(i);function c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e,t){return e(t={exports:{}},t.exports),t.exports}var u=l((function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),f=c(u),p=l((function(e){e.exports=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.default=e.exports,e.exports.__esModule=!0}));c(p);var d=c(l((function(e){e.exports=function(e,t){if(null==e)return{};var r,n,o=p(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.default=e.exports,e.exports.__esModule=!0}))),h={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},m={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},b=Object.freeze({__proto__:null,chromeDark:h,chromeLight:m}),g=l((function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0}));c(g);var y=l((function(e){e.exports=function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}},e.exports.default=e.exports,e.exports.__esModule=!0}));c(y);var O=l((function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0}));c(O);var v=l((function(e){e.exports=function(e,t){if(e){if("string"===typeof e)return O(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)?O(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0}));c(v);var A=l((function(e){e.exports=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.")},e.exports.default=e.exports,e.exports.__esModule=!0}));c(A);var E=c(l((function(e){e.exports=function(e,t){return g(e)||y(e,t)||v(e,t)||A()},e.exports.default=e.exports,e.exports.__esModule=!0}))),_=l((function(e){function t(r){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),x=c(_),C=l((function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(L){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,a=Object.create(o.prototype),i=new T(n||[]);return a._invoke=function(e,t,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw a;return R()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=C(i,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=u(e,t,r);if("normal"===c.type){if(n=r.done?h:p,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=l;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",m={};function b(){}function g(){}function y(){}var O={};O[a]=function(){return this};var v=Object.getPrototypeOf,A=v&&v(v(N([])));A&&A!==r&&n.call(A,a)&&(O=A);var E=y.prototype=b.prototype=Object.create(O);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,a,i,s){var c=u(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(f).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,s)}))}s(c.arg)}var o;this._invoke=function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=u(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function k(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 w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function N(e){if(e){var r=e[a];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:R}}function R(){return{value:t,done:!0}}return g.prototype=E.constructor=y,y.constructor=g,g.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},_(x.prototype),x.prototype[i]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new x(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},_(E),c(E,s,"Generator"),E[a]=function(){return this},E.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=N,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(w),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;w(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}})),k=l((function(e){e.exports=function(e){if(Array.isArray(e))return O(e)},e.exports.default=e.exports,e.exports.__esModule=!0}));c(k);var w=l((function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0}));c(w);var T=l((function(e){e.exports=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.")},e.exports.default=e.exports,e.exports.__esModule=!0}));c(T);var N=c(l((function(e){e.exports=function(e){return k(e)||w(e)||v(e)||T()},e.exports.default=e.exports,e.exports.__esModule=!0}))),R=c(l((function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0}))),L=(0,n.createContext)([{},function(){}]),S={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"};function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var D=function(e){return{DOMNodePreview:{htmlOpenTag:{base:{color:e.HTML_TAG_COLOR},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM},htmlAttributeName:{color:e.HTML_ATTRIBUTE_NAME_COLOR},htmlAttributeValue:{color:e.HTML_ATTRIBUTE_VALUE_COLOR}},htmlCloseTag:{base:{color:e.HTML_TAG_COLOR},offsetLeft:{marginLeft:-e.TREENODE_PADDING_LEFT},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM}},htmlComment:{color:e.HTML_COMMENT_COLOR},htmlDoctype:{color:e.HTML_DOCTYPE_COLOR}},ObjectPreview:{objectDescription:{fontStyle:"italic"},preview:{fontStyle:"italic"},arrayMaxProperties:e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES,objectMaxProperties:e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES},ObjectName:{base:{color:e.OBJECT_NAME_COLOR},dimmed:{opacity:.6}},ObjectValue:{objectValueNull:{color:e.OBJECT_VALUE_NULL_COLOR},objectValueUndefined:{color:e.OBJECT_VALUE_UNDEFINED_COLOR},objectValueRegExp:{color:e.OBJECT_VALUE_REGEXP_COLOR},objectValueString:{color:e.OBJECT_VALUE_STRING_COLOR},objectValueSymbol:{color:e.OBJECT_VALUE_SYMBOL_COLOR},objectValueNumber:{color:e.OBJECT_VALUE_NUMBER_COLOR},objectValueBoolean:{color:e.OBJECT_VALUE_BOOLEAN_COLOR},objectValueFunctionPrefix:{color:e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR,fontStyle:"italic"},objectValueFunctionName:{fontStyle:"italic"}},TreeView:{treeViewOutline:{padding:0,margin:0,listStyleType:"none"}},TreeNode:{treeNodeBase:{color:e.BASE_COLOR,backgroundColor:e.BASE_BACKGROUND_COLOR,lineHeight:e.TREENODE_LINE_HEIGHT,cursor:"default",boxSizing:"border-box",listStyle:"none",fontFamily:e.TREENODE_FONT_FAMILY,fontSize:e.TREENODE_FONT_SIZE},treeNodePreviewContainer:{},treeNodePlaceholder:P({whiteSpace:"pre",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT},S),treeNodeArrow:{base:P(P({color:e.ARROW_COLOR,display:"inline-block",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT},parseFloat(e.ARROW_ANIMATION_DURATION)>0?{transition:"transform ".concat(e.ARROW_ANIMATION_DURATION," ease 0s")}:{}),S),expanded:{WebkitTransform:"rotateZ(90deg)",MozTransform:"rotateZ(90deg)",transform:"rotateZ(90deg)"},collapsed:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"}},treeNodeChildNodesContainer:{margin:0,paddingLeft:e.TREENODE_PADDING_LEFT}},TableInspector:{base:{color:e.BASE_COLOR,position:"relative",border:"1px solid ".concat(e.TABLE_BORDER_COLOR),fontFamily:e.BASE_FONT_FAMILY,fontSize:e.BASE_FONT_SIZE,lineHeight:"120%",boxSizing:"border-box",cursor:"default"}},TableInspectorHeaderContainer:{base:{top:0,height:"17px",left:0,right:0,overflowX:"hidden"},table:{tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",height:"100%",width:"100%",margin:0}},TableInspectorDataContainer:{tr:{display:"table-row"},td:{boxSizing:"border-box",border:"none",height:"16px",verticalAlign:"top",padding:"1px 4px",WebkitUserSelect:"text",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px"},div:{position:"static",top:"17px",bottom:0,overflowY:"overlay",transform:"translateZ(0)",left:0,right:0,overflowX:"hidden"},table:{positon:"static",left:0,top:0,right:0,bottom:0,borderTop:"0 none transparent",margin:0,backgroundImage:e.TABLE_DATA_BACKGROUND_IMAGE,backgroundSize:e.TABLE_DATA_BACKGROUND_SIZE,tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",width:"100%",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorTH:{base:{position:"relative",height:"auto",textAlign:"left",backgroundColor:e.TABLE_TH_BACKGROUND_COLOR,borderBottom:"1px solid ".concat(e.TABLE_BORDER_COLOR),fontWeight:"normal",verticalAlign:"middle",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px",":hover":{backgroundColor:e.TABLE_TH_HOVER_COLOR}},div:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorLeftBorder:{none:{borderLeft:"none"},solid:{borderLeft:"1px solid ".concat(e.TABLE_BORDER_COLOR)}},TableInspectorSortIcon:P({display:"block",marginRight:3,width:8,height:7,marginTop:-7,color:e.TABLE_SORT_ICON_COLOR,fontSize:12},S)}},M="chromeLight",I=(0,n.createContext)(D(b.chromeLight)),B=function(e){return(0,n.useContext)(I)[e]},U=function(e){var t=function(t){var r=t.theme,o=void 0===r?M:r,a=d(t,["theme"]),i=(0,n.useMemo)((function(){switch(Object.prototype.toString.call(o)){case"[object String]":return D(b[o]);case"[object Object]":return D(o);default:return D(b.chromeLight)}}),[o]);return n.createElement(I.Provider,{value:i},n.createElement(e,a))};return t.propTypes={theme:a().oneOfType([a().string,a().object])},t};function G(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?G(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var V=function(e){var t=e.expanded,r=e.styles;return n.createElement("span",{style:H(H({},r.base),t?r.expanded:r.collapsed)},"\u25b6")},z=(0,n.memo)((function(e){var t=e=H({expanded:!0,nodeRenderer:function(e){var t=e.name;return n.createElement("span",null,t)},onClick:function(){},shouldShowArrow:!1,shouldShowPlaceholder:!0},e),r=t.expanded,o=t.onClick,a=t.children,i=t.nodeRenderer,s=t.title,c=t.shouldShowArrow,l=t.shouldShowPlaceholder,u=B("TreeNode"),f=i;return n.createElement("li",{"aria-expanded":r,role:"treeitem",style:u.treeNodeBase,title:s},n.createElement("div",{style:u.treeNodePreviewContainer,onClick:o},c||n.Children.count(a)>0?n.createElement(V,{expanded:r,styles:u.treeNodeArrow}):l&&n.createElement("span",{style:u.treeNodePlaceholder},"\xa0"),n.createElement(f,e)),n.createElement("ol",{role:"group",style:u.treeNodeChildNodesContainer},r?a:void 0))}));function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return K(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 K(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}z.propTypes={name:a().string,data:a().any,expanded:a().bool,shouldShowArrow:a().bool,shouldShowPlaceholder:a().bool,nodeRenderer:a().func,onClick:a().func};var Y="$";function W(e,t){return!t(e).next().done}var J=function(e,t,r,n,o){var a,i=[].concat((a=n,Array.from({length:a},(function(e,t){return[Y].concat(Array.from({length:t},(function(){return"*"}))).join(".")})))).concat(r).filter((function(e){return"string"===typeof e})),s=[];return i.forEach((function(r){var n=r.split(".");!function e(r,o,a){if(a!==n.length){var i=n[a];if(0===a)!W(r,t)||i!==Y&&"*"!==i||e(r,Y,a+1);else if("*"===i){var c,l=q(t(r));try{for(l.s();!(c=l.n()).done;){var u=c.value,f=u.name,p=u.data;W(p,t)&&e(p,"".concat(o,".").concat(f),a+1)}}catch(h){l.e(h)}finally{l.f()}}else{var d=r[i];W(d,t)&&e(d,"".concat(o,".").concat(i),a+1)}}else s.push(o)}(e,"",0)})),s.reduce((function(e,t){return e[t]=!0,e}),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},o))};function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function X(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Z=(0,n.memo)((function(e){var t=e.data,r=e.dataIterator,o=e.path,a=e.depth,i=e.nodeRenderer,s=(0,n.useContext)(L),c=E(s,2),l=c[0],u=c[1],p=W(t,r),h=!!l[o],m=(0,n.useCallback)((function(){return p&&u((function(e){return X(X({},e),{},R({},o,!h))}))}),[p,u,o,h]);return n.createElement(z,f({expanded:h,onClick:m,shouldShowArrow:p,shouldShowPlaceholder:a>0,nodeRenderer:i},e),h?N(r(t)).map((function(e){var t=e.name,s=e.data,c=d(e,["name","data"]);return n.createElement(Z,f({name:t,data:s,depth:a+1,path:"".concat(o,".").concat(t),key:t,dataIterator:r,nodeRenderer:i},c))})):null)}));Z.propTypes={name:a().string,data:a().any,dataIterator:a().func,depth:a().number,expanded:a().bool,nodeRenderer:a().func};var $=(0,n.memo)((function(e){var t=e.name,r=e.data,o=e.dataIterator,a=e.nodeRenderer,i=e.expandPaths,s=e.expandLevel,c=B("TreeView"),l=(0,n.useState)({}),u=E(l,2)[1];return(0,n.useLayoutEffect)((function(){return u((function(e){return J(r,o,i,s,e)}))}),[r,o,i,s]),n.createElement(L.Provider,{value:l},n.createElement("ol",{role:"tree",style:c.treeViewOutline},n.createElement(Z,{name:t,data:r,dataIterator:o,depth:0,path:Y,nodeRenderer:a})))}));function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}$.propTypes={name:a().string,data:a().any,dataIterator:a().func,nodeRenderer:a().func,expandPaths:a().oneOfType([a().string,a().array]),expandLevel:a().number};var re=function(e){var t=e.name,r=e.dimmed,o=void 0!==r&&r,a=e.styles,i=void 0===a?{}:a,s=B("ObjectName"),c=te(te(te({},s.base),o?s.dimmed:{}),i);return n.createElement("span",{style:c},t)};function ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ne(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}re.propTypes={name:a().string,dimmed:a().bool};var ae=function(e){var t=e.object,r=e.styles,o=B("ObjectValue"),a=function(e){return oe(oe({},o[e]),r)};switch(x(t)){case"bigint":return n.createElement("span",{style:a("objectValueNumber")},String(t),"n");case"number":return n.createElement("span",{style:a("objectValueNumber")},String(t));case"string":return n.createElement("span",{style:a("objectValueString")},'"',t,'"');case"boolean":return n.createElement("span",{style:a("objectValueBoolean")},String(t));case"undefined":return n.createElement("span",{style:a("objectValueUndefined")},"undefined");case"object":return null===t?n.createElement("span",{style:a("objectValueNull")},"null"):t instanceof Date?n.createElement("span",null,t.toString()):t instanceof RegExp?n.createElement("span",{style:a("objectValueRegExp")},t.toString()):Array.isArray(t)?n.createElement("span",null,"Array(".concat(t.length,")")):t.constructor?"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)?n.createElement("span",null,"Buffer[".concat(t.length,"]")):n.createElement("span",null,t.constructor.name):n.createElement("span",null,"Object");case"function":return n.createElement("span",null,n.createElement("span",{style:a("objectValueFunctionPrefix")},"\u0192\xa0"),n.createElement("span",{style:a("objectValueFunctionName")},t.name,"()"));case"symbol":return n.createElement("span",{style:a("objectValueSymbol")},t.toString());default:return n.createElement("span",null)}};ae.propTypes={object:a().any};var ie=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;function ce(e,t){var r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch(n){return r.get}return e[t]}function le(e,t){return 0===e.length?[]:e.slice(1).reduce((function(e,r){return e.concat([t,r])}),[e[0]])}var ue=function(e){var t=e.data,r=B("ObjectPreview"),o=t;if("object"!==x(o)||null===o||o instanceof Date||o instanceof RegExp)return n.createElement(ae,{object:o});if(Array.isArray(o)){var a=r.arrayMaxProperties,i=o.slice(0,a).map((function(e,t){return n.createElement(ae,{key:t,object:e})}));o.length>a&&i.push(n.createElement("span",{key:"ellipsis"},"\u2026"));var s=o.length;return n.createElement(n.Fragment,null,n.createElement("span",{style:r.objectDescription},0===s?"":"(".concat(s,")\xa0")),n.createElement("span",{style:r.preview},"[",le(i,", "),"]"))}var c=r.objectMaxProperties,l=[];for(var u in o)if(ie.call(o,u)){var f=void 0;l.length===c-1&&Object.keys(o).length>c&&(f=n.createElement("span",{key:"ellipsis"},"\u2026"));var p=ce(o,u);if(l.push(n.createElement("span",{key:u},n.createElement(re,{name:u||'""'}),":\xa0",n.createElement(ae,{object:p}),f)),f)break}var d=o.constructor?o.constructor.name:"Object";return n.createElement(n.Fragment,null,n.createElement("span",{style:r.objectDescription},"Object"===d?"":"".concat(d," ")),n.createElement("span",{style:r.preview},"{",le(l,", "),"}"))},fe=function(e){var t=e.name,r=e.data;return"string"===typeof t?n.createElement("span",null,n.createElement(re,{name:t}),n.createElement("span",null,": "),n.createElement(ue,{data:r})):n.createElement(ue,{data:r})},pe=function(e){var t=e.name,r=e.data,o=e.isNonenumerable,a=void 0!==o&&o,i=r;return n.createElement("span",null,"string"===typeof t?n.createElement(re,{name:t,dimmed:a}):n.createElement(ue,{data:t}),n.createElement("span",null,": "),n.createElement(ae,{object:i}))};function de(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return he(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 he(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function he(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}pe.propTypes={isNonenumerable:a().bool};var me=function(e){var t=e.depth,r=e.name,o=e.data,a=e.isNonenumerable;return 0===t?n.createElement(fe,{name:r,data:o}):n.createElement(pe,{name:r,data:o,isNonenumerable:a})},be=function(e){var t=e.showNonenumerable,r=void 0!==t&&t,o=e.sortObjectKeys,a=e.nodeRenderer,i=d(e,["showNonenumerable","sortObjectKeys","nodeRenderer"]),s=function(e,t){return C.mark((function r(n){var o,a,i,s,c,l,u,f,p,d,h,m,b,g;return C.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("object"===x(n)&&null!==n||"function"===typeof n){r.next=3;break}return r.abrupt("return");case 3:if((o=Array.isArray(n))||!n[Symbol.iterator]){r.next=32;break}a=0,i=de(n),r.prev=7,i.s();case 9:if((s=i.n()).done){r.next=22;break}if(c=s.value,!Array.isArray(c)||2!==c.length){r.next=17;break}return l=E(c,2),u=l[0],f=l[1],r.next=15,{name:u,data:f};case 15:r.next=19;break;case 17:return r.next=19,{name:a.toString(),data:c};case 19:a++;case 20:r.next=9;break;case 22:r.next=27;break;case 24:r.prev=24,r.t0=r.catch(7),i.e(r.t0);case 27:return r.prev=27,i.f(),r.finish(27);case 30:r.next=64;break;case 32:p=Object.getOwnPropertyNames(n),!0!==t||o?"function"===typeof t&&p.sort(t):p.sort(),d=de(p),r.prev=35,d.s();case 37:if((h=d.n()).done){r.next=53;break}if(m=h.value,!se.call(n,m)){r.next=45;break}return b=ce(n,m),r.next=43,{name:m||'""',data:b};case 43:r.next=51;break;case 45:if(!e){r.next=51;break}g=void 0;try{g=ce(n,m)}catch(y){}if(void 0===g){r.next=51;break}return r.next=51,{name:m,data:g,isNonenumerable:!0};case 51:r.next=37;break;case 53:r.next=58;break;case 55:r.prev=55,r.t1=r.catch(35),d.e(r.t1);case 58:return r.prev=58,d.f(),r.finish(58);case 61:if(!e||n===Object.prototype){r.next=64;break}return r.next=64,{name:"__proto__",data:Object.getPrototypeOf(n),isNonenumerable:!0};case 64:case"end":return r.stop()}}),r,null,[[7,24,27,30],[35,55,58,61]])}))}(r,o),c=a||me;return n.createElement($,f({nodeRenderer:c,dataIterator:s},i))};be.propTypes={expandLevel:a().number,expandPaths:a().oneOfType([a().string,a().array]),name:a().string,data:a().any,showNonenumerable:a().bool,sortObjectKeys:a().oneOfType([a().bool,a().func]),nodeRenderer:a().func};var ge=U(be);function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Array.prototype.includes||(Array.prototype.includes=function(e){var t=Object(this),r=parseInt(t.length)||0;if(0===r)return!1;var n,o,a=parseInt(arguments[1])||0;for(a>=0?n=a:(n=r+a)<0&&(n=0);n<r;){if(e===(o=t[n])||e!==e&&o!==o)return!0;n++}return!1});var ve=function(e){var t=e.rows,r=e.columns,o=e.rowsData,a=B("TableInspectorDataContainer"),i=B("TableInspectorLeftBorder");return n.createElement("div",{style:a.div},n.createElement("table",{style:a.table},n.createElement("colgroup",null),n.createElement("tbody",null,t.map((function(e,t){return n.createElement("tr",{key:e,style:a.tr},n.createElement("td",{style:Oe(Oe({},a.td),i.none)},e),r.map((function(e){var r=o[t];return"object"===x(r)&&null!==r&&ie.call(r,e)?n.createElement("td",{key:e,style:Oe(Oe({},a.td),i.solid)},n.createElement(ae,{object:r[e]})):n.createElement("td",{key:e,style:Oe(Oe({},a.td),i.solid)})})))})))))};function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _e=function(e){return n.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children)},xe=function(e){var t=e.sortAscending,r=B("TableInspectorSortIcon"),o=t?"\u25b2":"\u25bc";return n.createElement("div",{style:r},o)},Ce=function(e){var t=e.sortAscending,r=void 0!==t&&t,o=e.sorted,a=void 0!==o&&o,i=e.onClick,s=void 0===i?void 0:i,c=e.borderStyle,l=void 0===c?{}:c,u=e.children,p=d(e,["sortAscending","sorted","onClick","borderStyle","children"]),h=B("TableInspectorTH"),m=(0,n.useState)(!1),b=E(m,2),g=b[0],y=b[1],O=(0,n.useCallback)((function(){return y(!0)}),[]),v=(0,n.useCallback)((function(){return y(!1)}),[]);return n.createElement("th",f({},p,{style:Ee(Ee(Ee({},h.base),l),g?h.base[":hover"]:{}),onMouseEnter:O,onMouseLeave:v,onClick:s}),n.createElement("div",{style:h.div},u),a&&n.createElement(_e,null,n.createElement(xe,{sortAscending:r})))},ke=function(e){var t=e.indexColumnText,r=void 0===t?"(index)":t,o=e.columns,a=void 0===o?[]:o,i=e.sorted,s=e.sortIndexColumn,c=e.sortColumn,l=e.sortAscending,u=e.onTHClick,f=e.onIndexTHClick,p=B("TableInspectorHeaderContainer"),d=B("TableInspectorLeftBorder");return n.createElement("div",{style:p.base},n.createElement("table",{style:p.table},n.createElement("tbody",null,n.createElement("tr",null,n.createElement(Ce,{borderStyle:d.none,sorted:i&&s,sortAscending:l,onClick:f},r),a.map((function(e){return n.createElement(Ce,{borderStyle:d.solid,key:e,sorted:i&&c===e,sortAscending:l,onClick:u.bind(null,e)},e)}))))))},we=function(e){var t=e.data,r=e.columns,o=B("TableInspector"),a=(0,n.useState)({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),i=E(a,2),s=i[0],c=s.sorted,l=s.sortIndexColumn,u=s.sortColumn,f=s.sortAscending,p=i[1],d=(0,n.useCallback)((function(){p((function(e){var t=e.sortIndexColumn,r=e.sortAscending;return{sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:!t||!r}}))}),[]),h=(0,n.useCallback)((function(e){p((function(t){var r=t.sortColumn,n=t.sortAscending;return{sorted:!0,sortIndexColumn:!1,sortColumn:e,sortAscending:e!==r||!n}}))}),[]);if("object"!==x(t)||null===t)return n.createElement("div",null);var m=function(e){if("object"===x(e)){var t;if(Array.isArray(e)){var r=e.length;t=N(Array(r).keys())}else null!==e&&(t=Object.keys(e));var n=t.reduce((function(t,r){var n=e[r];return"object"===x(n)&&null!==n&&Object.keys(n).reduce((function(e,t){return e.includes(t)||e.push(t),e}),t),t}),[]);return{rowHeaders:t,colHeaders:n}}}(t),b=m.rowHeaders,g=m.colHeaders;void 0!==r&&(g=r);var y,O,v,A=b.map((function(e){return t[e]}));if(void 0!==u?y=A.map((function(e,t){return"object"===x(e)&&null!==e?[e[u],t]:[void 0,t]})):l&&(y=b.map((function(e,t){return[b[t],t]}))),void 0!==y){var _=y.sort((O=function(e){return e[0]},v=f,function(e,t){var r,n=O(e),o=O(t),a=x(n),i=x(o),s=function(e,t){return e<t?-1:e>t?1:0};if(a===i)r=s(n,o);else{var c={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};r=s(c[a],c[i])}return v||(r=-r),r})).map((function(e){return e[1]}));b=_.map((function(e){return b[e]})),A=_.map((function(e){return A[e]}))}return n.createElement("div",{style:o.base},n.createElement(ke,{columns:g,sorted:c,sortIndexColumn:l,sortColumn:u,sortAscending:f,onTHClick:h,onIndexTHClick:d}),n.createElement(ve,{rows:b,columns:g,rowsData:A}))};we.propTypes={data:a().oneOfType([a().array,a().object]),columns:a().array};var Te=U(we),Ne=function(e){return 0===e.childNodes.length||1===e.childNodes.length&&e.childNodes[0].nodeType===Node.TEXT_NODE&&e.textContent.length<80},Re=function(e){var t=e.tagName,r=e.attributes,o=e.styles;return n.createElement("span",{style:o.base},"<",n.createElement("span",{style:o.tagName},t),function(){if(r){for(var e=[],t=0;t<r.length;t++){var a=r[t];e.push(n.createElement("span",{key:t}," ",n.createElement("span",{style:o.htmlAttributeName},a.name),'="',n.createElement("span",{style:o.htmlAttributeValue},a.value),'"'))}return e}}(),">")},Le=function(e){var t=e.tagName,r=e.isChildNode,o=void 0!==r&&r,a=e.styles;return n.createElement("span",{style:f({},a.base,o&&a.offsetLeft)},"</",n.createElement("span",{style:a.tagName},t),">")},Se={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},je=function(e){var t=e.isCloseTag,r=e.data,o=e.expanded,a=B("DOMNodePreview");if(t)return n.createElement(Le,{styles:a.htmlCloseTag,isChildNode:!0,tagName:r.tagName});switch(r.nodeType){case Node.ELEMENT_NODE:return n.createElement("span",null,n.createElement(Re,{tagName:r.tagName,attributes:r.attributes,styles:a.htmlOpenTag}),Ne(r)?r.textContent:!o&&"\u2026",!o&&n.createElement(Le,{tagName:r.tagName,styles:a.htmlCloseTag}));case Node.TEXT_NODE:return n.createElement("span",null,r.textContent);case Node.CDATA_SECTION_NODE:return n.createElement("span",null,"<![CDATA["+r.textContent+"]]>");case Node.COMMENT_NODE:return n.createElement("span",{style:a.htmlComment},"\x3c!--",r.textContent,"--\x3e");case Node.PROCESSING_INSTRUCTION_NODE:return n.createElement("span",null,r.nodeName);case Node.DOCUMENT_TYPE_NODE:return n.createElement("span",{style:a.htmlDoctype},"<!DOCTYPE ",r.name,r.publicId?' PUBLIC "'.concat(r.publicId,'"'):"",!r.publicId&&r.systemId?" SYSTEM":"",r.systemId?' "'.concat(r.systemId,'"'):"",">");case Node.DOCUMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:return n.createElement("span",null,r.nodeName);default:return n.createElement("span",null,Se[r.nodeType])}};je.propTypes={isCloseTag:a().bool,name:a().string,data:a().object.isRequired,expanded:a().bool.isRequired};var Pe=C.mark((function e(t){var r,n;return C.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t||!t.childNodes){e.next=17;break}if(!Ne(t)){e.next=4;break}return e.abrupt("return");case 4:r=0;case 5:if(!(r<t.childNodes.length)){e.next=14;break}if((n=t.childNodes[r]).nodeType!==Node.TEXT_NODE||0!==n.textContent.trim().length){e.next=9;break}return e.abrupt("continue",11);case 9:return e.next=11,{name:"".concat(n.tagName,"[").concat(r,"]"),data:n};case 11:r++,e.next=5;break;case 14:if(!t.tagName){e.next=17;break}return e.next=17,{name:"CLOSE_TAG",data:{tagName:t.tagName},isCloseTag:!0};case 17:case"end":return e.stop()}}),e)})),De=function(e){return n.createElement($,f({nodeRenderer:je,dataIterator:Pe},e))};De.propTypes={data:a().object.isRequired};var Me=U(De),Ie=function(e){var t=e.table,r=void 0!==t&&t,o=e.data,a=d(e,["table","data"]);return r?n.createElement(Te,f({data:o},a)):s()(o)?n.createElement(Me,f({data:o},a)):n.createElement(ge,f({data:o},a))};Ie.propTypes={data:a().any,name:a().string,table:a().bool},t.default=Ie}}]); \ No newline at end of file diff --git a/out/_next/static/chunks/552.2938953d61d2f4b8.js b/out/_next/static/chunks/552.2938953d61d2f4b8.js new file mode 100644 index 0000000000000000000000000000000000000000..384b2da8a4af2077f7bf059fd8f44e5cbe6997a8 --- /dev/null +++ b/out/_next/static/chunks/552.2938953d61d2f4b8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552],{5288:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0;var a=n(r(8965)),i=n(r(6910)),o=r(5575);e.default=function(t,e,r,n){void 0===r&&(r=!0);for(var u=t,s={pointers:{},src:{npm:"https://npmjs.com/package/console-feed",github:"https://github.com/samdenty/console-feed"}},f=function(t){var a=u[t];u[t]=function(){a.apply(this,arguments);var u=[].slice.call(arguments);setTimeout((function(){var a=i.default(t,u);if(a){var s=a;r&&(s=o.Encode(a,n)),e(s,a)}}))},s.pointers[t]=a},c=0,l=a.default;c<l.length;c++){f(l[c])}return u.feed=s,u}},9721:function(t,e){e.__esModule=!0,e.default=function(){var t=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+"-"+Date.now()}},6910:function(t,e,r){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},n.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&a(e,t,r);return i(e,t),e},u=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),a=0;for(e=0;e<r;e++)for(var i=arguments[e],o=0,u=i.length;o<u;o++,a++)n[a]=i[o];return n},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0;var f=s(r(9721)),c=o(r(5226)),l=o(r(2391)),d=o(r(7769));e.default=function(t,e,r){var a=r||f.default();switch(t){case"clear":return{method:t,id:a};case"count":return!!(i="string"===typeof e[0]?e[0]:"default")&&n(n({},l.increment(i)),{id:a});case"time":case"timeEnd":var i;return!!(i="string"===typeof e[0]?e[0]:"default")&&("time"===t?(c.start(i),!1):n(n({},c.stop(i)),{id:a}));case"assert":if(0!==e.length){var o=d.test.apply(d,u([e[0]],e.slice(1)));if(o)return n(n({},o),{id:a})}return!1;case"error":return{method:t,id:a,data:e.map((function(t){try{return t.stack||t}catch(e){return t}}))};default:return{method:t,id:a,data:e}}}},7769:function(t,e){var r=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),a=0;for(e=0;e<r;e++)for(var i=arguments[e],o=0,u=i.length;o<u;o++,a++)n[a]=i[o];return n};e.__esModule=!0,e.test=void 0,e.test=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return!t&&(0===e.length&&e.push("console.assert"),{method:"error",data:r(["Assertion failed:"],e)})}},2391:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0,e.increment=void 0;var a=r(3585),i=n(r(1616)),o=r(4138);e.increment=function(t){return i.default(o.count(t)),{method:"log",data:[t+": "+a.state.count[t]]}}},5226:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0,e.stop=e.start=void 0;var a=r(3585),i=n(r(1616)),o=r(4138);e.start=function(t){i.default(o.timeStart(t))},e.stop=function(t){var e=null===a.state||void 0===a.state?void 0:a.state.timings[t];return e&&!e.end?(i.default(o.timeEnd(t)),{method:"log",data:[t+": "+a.state.timings[t].time+"ms"]}):{method:"warn",data:["Timer '"+t+"' does not exist"]}}},4138:function(t,e){e.__esModule=!0,e.timeEnd=e.timeStart=e.count=void 0,e.count=function(t){return{type:"COUNT",name:t}},e.timeStart=function(t){return{type:"TIME_START",name:t}},e.timeEnd=function(t){return{type:"TIME_END",name:t}}},1616:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0;var a=n(r(3591)),i=r(3585);e.default=function(t){i.update(a.default(i.state,t))}},3591:function(t,e){var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},r.apply(this,arguments)};e.__esModule=!0,e.initialState=void 0,e.initialState={timings:{},count:{}};var n=function(){return"undefined"!==typeof performance&&performance.now?performance.now():Date.now()};e.default=function(t,a){var i,o,u;switch(void 0===t&&(t=e.initialState),a.type){case"COUNT":var s=t.count[a.name]||0;return r(r({},t),{count:r(r({},t.count),(i={},i[a.name]=s+1,i))});case"TIME_START":return r(r({},t),{timings:r(r({},t.timings),(o={},o[a.name]={start:n()},o))});case"TIME_END":var f=t.timings[a.name],c=n(),l=c-f.start;return r(r({},t),{timings:r(r({},t.timings),(u={},u[a.name]=r(r({},f),{end:c,time:l}),u))});default:return t}}},3585:function(t,e){e.__esModule=!0,e.update=e.state=void 0,e.update=function(t){e.state=t}},1254:function(t,e){e.__esModule=!0,e.default={type:"BigInt",shouldTransform:function(t,e){return"bigint"===typeof e},toSerializable:function(t){return t+"n"},fromSerializable:function(t){return BigInt(t.slice(0,-1))}}},76:function(t,e){e.__esModule=!0,e.default={type:"Function",lookup:Function,shouldTransform:function(t,e){return"function"===typeof e},toSerializable:function(t){var e="";try{e=t.toString().substring(e.indexOf("{")+1,e.lastIndexOf("}"))}catch(r){}return{name:t.name,body:e,proto:Object.getPrototypeOf(t).constructor.name}},fromSerializable:function(t){try{var e=function(){};return"string"===typeof t.name&&Object.defineProperty(e,"name",{value:t.name,writable:!1}),"string"===typeof t.body&&Object.defineProperty(e,"body",{value:t.body,writable:!1}),"string"===typeof t.proto&&(e.constructor={name:t.proto}),e}catch(r){return t}}}},9329:function(t,e){var r;function n(t){for(var e={},r=0,n=t.attributes;r<n.length;r++){var a=n[r];e[a.name]=a.value}return e}e.__esModule=!0,e.default={type:"HTMLElement",shouldTransform:function(t,e){return e&&e.children&&"string"===typeof e.innerHTML&&"string"===typeof e.tagName},toSerializable:function(t){return{tagName:t.tagName.toLowerCase(),attributes:n(t),innerHTML:t.innerHTML}},fromSerializable:function(t){try{var e=(r||(r=document.implementation.createHTMLDocument("sandbox"))).createElement(t.tagName);e.innerHTML=t.innerHTML;for(var n=0,a=Object.keys(t.attributes);n<a.length;n++){var i=a[n];try{e.setAttribute(i,t.attributes[i])}catch(o){}}return e}catch(o){return t}}}},5761:function(t,e){var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},r.apply(this,arguments)};e.__esModule=!0,e.default={type:"Map",lookup:Map,shouldTransform:function(t,e){return e&&e.constructor&&"Map"===e.constructor.name},toSerializable:function(t){var e={};return t.forEach((function(t,r){var n="object"==typeof r?JSON.stringify(r):r;e[n]=t})),{name:"Map",body:e,proto:Object.getPrototypeOf(t).constructor.name}},fromSerializable:function(t){var e=t.body,n=r({},e);return"string"===typeof t.proto&&(n.constructor={name:t.proto}),n}}},4290:function(t,e){var r;e.__esModule=!0,function(t){t[t.infinity=0]="infinity",t[t.minusInfinity=1]="minusInfinity",t[t.minusZero=2]="minusZero"}(r||(r={})),e.default={type:"Arithmetic",lookup:Number,shouldTransform:function(t,e){return"number"===t&&(e===1/0||e===-1/0||function(t){return 1/t===-1/0}(e))},toSerializable:function(t){return t===1/0?r.infinity:t===-1/0?r.minusInfinity:r.minusZero},fromSerializable:function(t){return t===r.infinity?1/0:t===r.minusInfinity?-1/0:t===r.minusZero?-0:t}}},5575:function(t,e,r){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0,e.Decode=e.Encode=void 0;var a=n(r(4290)),i=n(r(1254)),o=n(r(76)),u=n(r(9329)),s=n(r(5761)),f=n(r(5954)),c=[u.default,o.default,a.default,s.default,i.default],l=new f.default;l.addTransforms(c),e.Encode=function(t,e){return JSON.parse(l.encode(t,e))},e.Decode=function(t){var e=l.decode(JSON.stringify(t));return e.data.pop(),e}},5954:function(t,e){e.__esModule=!0;var r=/^#*@(t|r)$/,n="__console_feed_remaining__",a=(0,eval)("this"),i="function"===typeof ArrayBuffer,o="function"===typeof Map,u="function"===typeof Set,s=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"],f=Array.prototype.slice,c={serialize:function(t){return JSON.stringify(t)},deserialize:function(t){return JSON.parse(t)}},l=function(){function t(t,e,r){this.references=t,this.transforms=e,this.transformsMap=this._makeTransformsMap(),this.circularCandidates=[],this.circularCandidatesDescrs=[],this.circularRefCount=0,this.limit=null!==r&&void 0!==r?r:1/0}return t._createRefMark=function(t){var e=Object.create(null);return e["@r"]=t,e},t.prototype._createCircularCandidate=function(t,e,r){this.circularCandidates.push(t),this.circularCandidatesDescrs.push({parent:e,key:r,refIdx:-1})},t.prototype._applyTransform=function(t,e,r,n){var a=Object.create(null),i=n.toSerializable(t);return"object"===typeof i&&this._createCircularCandidate(t,e,r),a["@t"]=n.type,a.data=this._handleValue((function(){return i}),e,r),a},t.prototype._handleArray=function(t){for(var e=[],r=Math.min(t.length,this.limit),a=t.length-r,i=function(r){e[r]=o._handleValue((function(){return t[r]}),e,r)},o=this,u=0;u<r;u++)i(u);return e[r]=n+a,e},t.prototype._handlePlainObject=function(t){var e,a,i=Object.create(null),o=0,u=0,s=function(e){if(Reflect.has(t,e)){if(o>=f.limit)return u++,"continue";var n=r.test(e)?"#"+e:e;i[n]=f._handleValue((function(){return t[e]}),i,n),o++,u++}},f=this;for(var c in t)s(c);var l=u-o,d=null===(a=null===(e=null===t||void 0===t?void 0:t.__proto__)||void 0===e?void 0:e.constructor)||void 0===a?void 0:a.name;return d&&"Object"!==d&&(i.constructor={name:d}),l&&(i[n]=l),i},t.prototype._handleObject=function(t,e,r){return this._createCircularCandidate(t,e,r),Array.isArray(t)?this._handleArray(t):this._handlePlainObject(t)},t.prototype._ensureCircularReference=function(e){var r=this.circularCandidates.indexOf(e);if(r>-1){var n=this.circularCandidatesDescrs[r];return-1===n.refIdx&&(n.refIdx=n.parent?++this.circularRefCount:0),t._createRefMark(n.refIdx)}return null},t.prototype._handleValue=function(t,e,r){try{var n=t(),a=typeof n,i="object"===a&&null!==n;if(i){var o=this._ensureCircularReference(n);if(o)return o}var u=this._findTransform(a,n);return u?this._applyTransform(n,e,r,u):i?this._handleObject(n,e,r):n}catch(s){try{return this._handleValue((function(){return s instanceof Error?s:new Error(s)}),e,r)}catch(f){return null}}},t.prototype._makeTransformsMap=function(){if(o){var t=new Map;return this.transforms.forEach((function(e){e.lookup&&t.set(e.lookup,e)})),t}},t.prototype._findTransform=function(t,e){if(o&&(e&&e.constructor&&(null===(a=this.transformsMap.get(e.constructor))||void 0===a?void 0:a.shouldTransform(t,e))))return a;for(var r=0,n=this.transforms;r<n.length;r++){var a;if((a=n[r]).shouldTransform(t,e))return a}},t.prototype.transform=function(){for(var e=this,r=[this._handleValue((function(){return e.references}),null,null)],n=0,a=this.circularCandidatesDescrs;n<a.length;n++){var i=a[n];i.refIdx>0&&(r[i.refIdx]=i.parent[i.key],i.parent[i.key]=t._createRefMark(i.refIdx))}return r},t}(),d=function(){function t(t,e){this.activeTransformsStack=[],this.visitedRefs=Object.create(null),this.references=t,this.transformMap=e}return t.prototype._handlePlainObject=function(t){var e=Object.create(null);for(var n in"constructor"in t&&(t.constructor&&"string"===typeof t.constructor.name||(t.constructor={name:"Object"})),t)t.hasOwnProperty(n)&&(this._handleValue(t[n],t,n),r.test(n)&&(e[n.substring(1)]=t[n],delete t[n]));for(var a in e)t[a]=e[a]},t.prototype._handleTransformedObject=function(t,e,r){var n=t["@t"],a=this.transformMap[n];if(!a)throw new Error("Can't find transform for \""+n+'" type.');this.activeTransformsStack.push(t),this._handleValue(t.data,t,"data"),this.activeTransformsStack.pop(),e[r]=a.fromSerializable(t.data)},t.prototype._handleCircularSelfRefDuringTransform=function(t,e,r){var n=this.references;Object.defineProperty(e,r,{val:void 0,configurable:!0,enumerable:!0,get:function(){return void 0===this.val&&(this.val=n[t]),this.val},set:function(t){this.val=t}})},t.prototype._handleCircularRef=function(t,e,r){this.activeTransformsStack.includes(this.references[t])?this._handleCircularSelfRefDuringTransform(t,e,r):(this.visitedRefs[t]||(this.visitedRefs[t]=!0,this._handleValue(this.references[t],this.references,t)),e[r]=this.references[t])},t.prototype._handleValue=function(t,e,r){if("object"===typeof t&&null!==t){var n=t["@r"];if(void 0!==n)this._handleCircularRef(n,e,r);else if(t["@t"])this._handleTransformedObject(t,e,r);else if(Array.isArray(t))for(var a=0;a<t.length;a++)this._handleValue(t[a],t,a);else this._handlePlainObject(t)}},t.prototype.transform=function(){return this.visitedRefs[0]=!0,this._handleValue(this.references[0],this.references,0),this.references[0]},t}(),h=[{type:"[[NaN]]",shouldTransform:function(t,e){return"number"===t&&isNaN(e)},toSerializable:function(){return""},fromSerializable:function(){return NaN}},{type:"[[undefined]]",shouldTransform:function(t){return"undefined"===t},toSerializable:function(){return""},fromSerializable:function(){}},{type:"[[Date]]",lookup:Date,shouldTransform:function(t,e){return e instanceof Date},toSerializable:function(t){return t.getTime()},fromSerializable:function(t){var e=new Date;return e.setTime(t),e}},{type:"[[RegExp]]",lookup:RegExp,shouldTransform:function(t,e){return e instanceof RegExp},toSerializable:function(t){var e={src:t.source,flags:""};return t.global&&(e.flags+="g"),t.ignoreCase&&(e.flags+="i"),t.multiline&&(e.flags+="m"),e},fromSerializable:function(t){return new RegExp(t.src,t.flags)}},{type:"[[Error]]",lookup:Error,shouldTransform:function(t,e){return e instanceof Error},toSerializable:function(t){var e,r;return t.stack||null===(r=(e=Error).captureStackTrace)||void 0===r||r.call(e,t),{name:t.name,message:t.message,stack:t.stack}},fromSerializable:function(t){var e=new(a[t.name]||Error)(t.message);return e.stack=t.stack,e}},{type:"[[ArrayBuffer]]",lookup:i&&ArrayBuffer,shouldTransform:function(t,e){return i&&e instanceof ArrayBuffer},toSerializable:function(t){var e=new Int8Array(t);return f.call(e)},fromSerializable:function(t){if(i){var e=new ArrayBuffer(t.length);return new Int8Array(e).set(t),e}return t}},{type:"[[TypedArray]]",shouldTransform:function(t,e){if(i)return ArrayBuffer.isView(e)&&!(e instanceof DataView);for(var r=0,n=s;r<n.length;r++){var o=n[r];if("function"===typeof a[o]&&e instanceof a[o])return!0}return!1},toSerializable:function(t){return{ctorName:t.constructor.name,arr:f.call(t)}},fromSerializable:function(t){return"function"===typeof a[t.ctorName]?new a[t.ctorName](t.arr):t.arr}},{type:"[[Map]]",lookup:o&&Map,shouldTransform:function(t,e){return o&&e instanceof Map},toSerializable:function(t){var e=[];return t.forEach((function(t,r){e.push(r),e.push(t)})),e},fromSerializable:function(t){if(o){for(var e=new Map,r=0;r<t.length;r+=2)e.set(t[r],t[r+1]);return e}for(var n=[],a=0;a<t.length;a+=2)n.push([t[r],t[r+1]]);return n}},{type:"[[Set]]",lookup:u&&Set,shouldTransform:function(t,e){return u&&e instanceof Set},toSerializable:function(t){var e=[];return t.forEach((function(t){e.push(t)})),e},fromSerializable:function(t){if(u){for(var e=new Set,r=0;r<t.length;r++)e.add(t[r]);return e}return t}}],p=function(){function t(t){this.transforms=[],this.transformsMap=Object.create(null),this.serializer=t||c,this.addTransforms(h)}return t.prototype.addTransforms=function(t){for(var e=0,r=t=Array.isArray(t)?t:[t];e<r.length;e++){var n=r[e];if(this.transformsMap[n.type])throw new Error('Transform with type "'+n.type+'" was already added.');this.transforms.push(n),this.transformsMap[n.type]=n}return this},t.prototype.removeTransforms=function(t){for(var e=0,r=t=Array.isArray(t)?t:[t];e<r.length;e++){var n=r[e],a=this.transforms.indexOf(n);a>-1&&this.transforms.splice(a,1),delete this.transformsMap[n.type]}return this},t.prototype.encode=function(t,e){var r=new l(t,this.transforms,e).transform();return this.serializer.serialize(r)},t.prototype.decode=function(t){var e=this.serializer.deserialize(t);return new d(e,this.transformsMap).transform()},t}();e.default=p},5558:function(t,e){e.__esModule=!0,e.default=function(t){if(t.feed){for(var e=0,r=Object.keys(t.feed.pointers);e<r.length;e++){var n=r[e];t[n]=t.feed.pointers[n]}return delete t.feed}return!1}},8965:function(t,e){e.__esModule=!0;e.default=["log","debug","info","warn","error","table","clear","time","timeEnd","count","assert","command","result","dir"]},6582:function(t,e,r){var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]});e.__esModule=!0,e.Encode=e.Decode=e.Unhook=e.Hook=e.Console=void 0,n(e,r(9456),"default","Console"),n(e,r(5288),"default","Hook"),n(e,r(5558),"default","Unhook"),n(e,r(5575),"Decode"),n(e,r(5575),"Encode")}}]); \ No newline at end of file diff --git a/out/_next/static/chunks/763.4aae46117cb888e4.js b/out/_next/static/chunks/763.4aae46117cb888e4.js new file mode 100644 index 0000000000000000000000000000000000000000..2453ad2c8879fad8c0bc215c27903f46665ce9ab --- /dev/null +++ b/out/_next/static/chunks/763.4aae46117cb888e4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[763],{2509:function(e,t,n){!function(e,t,n,r){"use strict";const i=0,a=1,s=2,o=3,l=4,c=-1;let u;e.addSegment=void 0,e.addMapping=void 0,e.maybeAddSegment=void 0,e.maybeAddMapping=void 0,e.setSourceContent=void 0,e.toDecodedMap=void 0,e.toEncodedMap=void 0,e.fromMap=void 0,e.allMappings=void 0;class p{constructor({file:e,sourceRoot:n}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=n}}function f(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}function d(e,t){let n=e.length;for(let r=n-1;r>=0&&!(t>=e[r][i]);n=r--);return n}function y(e,t,n){for(let r=e.length;r>t;r--)e[r]=e[r-1];e[t]=n}function h(e){const{length:t}=e;let n=t;for(let r=n-1;r>=0&&!(e[r].length>0);n=r,r--);n<t&&(e.length=n)}function m(e,n){for(let r=0;r<n.length;r++)t.put(e,n[r])}function T(e,t){return 0===t||1===e[t-1].length}function S(e,t,n,r,i,u){if(0===t)return!1;const p=e[t-1];return 1!==p.length&&n===p[a]&&r===p[s]&&i===p[o]&&u===(5===p.length?p[l]:c)}function b(e,t,n){const{generated:r,source:i,original:a,name:s,content:o}=n;if(!i)return u(e,t,r.line-1,r.column,null,null,null,null,null);const l=i;return u(e,t,r.line-1,r.column,l,a.line-1,a.column,s,o)}e.addSegment=(e,t,n,r,i,a,s,o)=>u(!1,e,t,n,r,i,a,s,o),e.maybeAddSegment=(e,t,n,r,i,a,s,o)=>u(!0,e,t,n,r,i,a,s,o),e.addMapping=(e,t)=>b(!1,e,t),e.maybeAddMapping=(e,t)=>b(!0,e,t),e.setSourceContent=(e,n,r)=>{const{_sources:i,_sourcesContent:a}=e;a[t.put(i,n)]=r},e.toDecodedMap=e=>{const{file:t,sourceRoot:n,_mappings:r,_sources:i,_sourcesContent:a,_names:s}=e;return h(r),{version:3,file:t||void 0,names:s.array,sourceRoot:n||void 0,sources:i.array,sourcesContent:a,mappings:r}},e.toEncodedMap=t=>{const r=e.toDecodedMap(t);return Object.assign(Object.assign({},r),{mappings:n.encode(r.mappings)})},e.allMappings=e=>{const t=[],{_mappings:n,_sources:r,_names:c}=e;for(let u=0;u<n.length;u++){const e=n[u];for(let n=0;n<e.length;n++){const p=e[n],f={line:u+1,column:p[i]};let d,y,h;1!==p.length&&(d=r.array[p[a]],y={line:p[s]+1,column:p[o]},5===p.length&&(h=c.array[p[l]])),t.push({generated:f,source:d,original:y,name:h})}}return t},e.fromMap=e=>{const t=new r.TraceMap(e),n=new p({file:t.file,sourceRoot:t.sourceRoot});return m(n._names,t.names),m(n._sources,t.sources),n._sourcesContent=t.sourcesContent||t.sources.map((()=>null)),n._mappings=r.decodedMappings(t),n},u=(e,n,r,i,a,s,o,l,u)=>{const{_mappings:p,_sources:h,_sourcesContent:m,_names:b}=n,g=f(p,r),E=d(g,i);if(!a){if(e&&T(g,E))return;return y(g,E,[i])}const P=t.put(h,a),v=l?t.put(b,l):c;if(P===m.length&&(m[P]=null!==u&&void 0!==u?u:null),!e||!S(g,E,P,s,o,v))return y(g,E,l?[i,P,s,o,v]:[i,P,s,o])},e.GenMapping=p,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(2208),n(2297),n(3446))},8435:function(e){e.exports=function(){"use strict";const e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var r;function i(t){return e.test(t)}function a(e){return e.startsWith("//")}function s(e){return e.startsWith("/")}function o(e){return e.startsWith("file:")}function l(e){return/^[.?#]/.test(e)}function c(e){const n=t.exec(e);return p(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function u(e){const t=n.exec(e),r=t[2];return p("file:","",t[1]||"","",s(r)?r:"/"+r,t[3]||"",t[4]||"")}function p(e,t,n,i,a,s,o){return{scheme:e,user:t,host:n,port:i,path:a,query:s,hash:o,type:r.Absolute}}function f(e){if(a(e)){const t=c("http:"+e);return t.scheme="",t.type=r.SchemeRelative,t}if(s(e)){const t=c("http://foo.com"+e);return t.scheme="",t.host="",t.type=r.AbsolutePath,t}if(o(e))return u(e);if(i(e))return c(e);const t=c("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?r.Query:e.startsWith("#")?r.Hash:r.RelativePath:r.Empty,t}function d(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}function y(e,t){h(t,t.type),"/"===e.path?e.path=t.path:e.path=d(t.path)+e.path}function h(e,t){const n=t<=r.RelativePath,i=e.path.split("/");let a=1,s=0,o=!1;for(let r=1;r<i.length;r++){const e=i[r];e?(o=!1,"."!==e&&(".."!==e?(i[a++]=e,s++):s?(o=!0,s--,a--):n&&(i[a++]=e))):o=!0}let l="";for(let r=1;r<a;r++)l+="/"+i[r];(!l||o&&!l.endsWith("/.."))&&(l+="/"),e.path=l}function m(e,t){if(!e&&!t)return"";const n=f(e);let i=n.type;if(t&&i!==r.Absolute){const e=f(t),a=e.type;switch(i){case r.Empty:n.hash=e.hash;case r.Hash:n.query=e.query;case r.Query:case r.RelativePath:y(n,e);case r.AbsolutePath:n.user=e.user,n.host=e.host,n.port=e.port;case r.SchemeRelative:n.scheme=e.scheme}a>i&&(i=a)}h(n,i);const a=n.query+n.hash;switch(i){case r.Hash:case r.Query:return a;case r.RelativePath:{const r=n.path.slice(1);return r?l(t||e)&&!l(r)?"./"+r+a:r+a:a||"."}case r.AbsolutePath:return n.path+a;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+a}}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"}(r||(r={})),m}()},2208:function(e,t){!function(e){"use strict";e.get=void 0,e.put=void 0,e.pop=void 0;class t{constructor(){this._indexes={__proto__:null},this.array=[]}}e.get=(e,t)=>e._indexes[t],e.put=(t,n)=>{const r=e.get(t,n);if(void 0!==r)return r;const{array:i,_indexes:a}=t;return a[n]=i.push(n)-1},e.pop=e=>{const{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.SetArray=t,Object.defineProperty(e,"__esModule",{value:!0})}(t)},2297:function(e,t,n){var r=n(8764).lW;!function(e){"use strict";const t=",".charCodeAt(0),n=";".charCodeAt(0),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),s=new Uint8Array(128);for(let r=0;r<i.length;r++){const e=i.charCodeAt(r);a[r]=e,s[e]=r}const o="undefined"!==typeof TextDecoder?new TextDecoder:"undefined"!==typeof r?{decode:e=>r.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}};function l(e){const t=new Int32Array(5),n=[];let r=0;do{const i=c(e,r),a=[];let s=!0,o=0;t[0]=0;for(let n=r;n<i;n++){let r;n=u(e,n,t,0);const l=t[0];l<o&&(s=!1),o=l,p(e,n,i)?(n=u(e,n,t,1),n=u(e,n,t,2),n=u(e,n,t,3),p(e,n,i)?(n=u(e,n,t,4),r=[l,t[1],t[2],t[3],t[4]]):r=[l,t[1],t[2],t[3]]):r=[l],a.push(r)}s||f(a),n.push(a),r=i+1}while(r<=e.length);return n}function c(e,t){const n=e.indexOf(";",t);return-1===n?e.length:n}function u(e,t,n,r){let i=0,a=0,o=0;do{const n=e.charCodeAt(t++);o=s[n],i|=(31&o)<<a,a+=5}while(32&o);const l=1&i;return i>>>=1,l&&(i=-2147483648|-i),n[r]+=i,t}function p(e,n,r){return!(n>=r)&&e.charCodeAt(n)!==t}function f(e){e.sort(d)}function d(e,t){return e[0]-t[0]}function y(e){const r=new Int32Array(5),i=16384,a=i-36,s=new Uint8Array(i),l=s.subarray(0,a);let c=0,u="";for(let p=0;p<e.length;p++){const f=e[p];if(p>0&&(c===i&&(u+=o.decode(s),c=0),s[c++]=n),0!==f.length){r[0]=0;for(let e=0;e<f.length;e++){const n=f[e];c>a&&(u+=o.decode(l),s.copyWithin(0,a,c),c-=a),e>0&&(s[c++]=t),c=h(s,c,r,n,0),1!==n.length&&(c=h(s,c,r,n,1),c=h(s,c,r,n,2),c=h(s,c,r,n,3),4!==n.length&&(c=h(s,c,r,n,4)))}}}return u+o.decode(s.subarray(0,c))}function h(e,t,n,r,i){const s=r[i];let o=s-n[i];n[i]=s,o=o<0?-o<<1|1:o<<1;do{let n=31&o;o>>>=5,o>0&&(n|=32),e[t++]=a[n]}while(o>0);return t}e.decode=l,e.encode=y,Object.defineProperty(e,"__esModule",{value:!0})}(t)},3446:function(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var i=r(n);function a(e,t){return t&&!t.endsWith("/")&&(t+="/"),i.default(e,t)}function s(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}const o=0,l=1,c=2,u=3,p=4,f=1,d=2;function y(e,t){const n=h(e,0);if(n===e.length)return e;t||(e=e.slice());for(let r=n;r<e.length;r=h(e,r+1))e[r]=T(e[r],t);return e}function h(e,t){for(let n=t;n<e.length;n++)if(!m(e[n]))return n;return e.length}function m(e){for(let t=1;t<e.length;t++)if(e[t][o]<e[t-1][o])return!1;return!0}function T(e,t){return t||(e=e.slice()),e.sort(S)}function S(e,t){return e[o]-t[o]}let b=!1;function g(e,t,n,r){for(;n<=r;){const i=n+(r-n>>1),a=e[i][o]-t;if(0===a)return b=!0,i;a<0?n=i+1:r=i-1}return b=!1,n-1}function E(e,t,n){for(let r=n+1;r<e.length&&e[r][o]===t;n=r++);return n}function P(e,t,n){for(let r=n-1;r>=0&&e[r][o]===t;n=r--);return n}function v(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function x(e,t,n,r){const{lastKey:i,lastNeedle:a,lastIndex:s}=n;let l=0,c=e.length-1;if(r===i){if(t===a)return b=-1!==s&&e[s][o]===t,s;t>=a?l=-1===s?0:s:c=s}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=g(e,t,l,c)}function A(e,t){const n=t.map(C);for(let r=0;r<e.length;r++){const i=e[r];for(let e=0;e<i.length;e++){const a=i[e];if(1===a.length)continue;const s=a[l],p=a[c],f=a[u],d=n[s],y=d[p]||(d[p]=[]),h=t[s],m=E(y,f,x(y,f,h,p));O(y,h.lastIndex=m+1,[f,r,a[o]])}}return n}function O(e,t,n){for(let r=e.length;r>t;r--)e[r]=e[r-1];e[t]=n}function C(){return{__proto__:null}}const I=function(t,n){const r="string"===typeof t?JSON.parse(t):t;if(!("sections"in r))return new B(r,n);const i=[],a=[],s=[],o=[];w(r,n,i,a,s,o,0,0,1/0,1/0);const l={version:3,file:r.file,names:o,sources:a,sourcesContent:s,mappings:i};return e.presortedDecodedMap(l)};function w(e,t,n,r,i,a,s,o,l,c){const{sections:u}=e;for(let p=0;p<u.length;p++){const{map:e,offset:f}=u[p];let d=l,y=c;if(p+1<u.length){const e=u[p+1].offset;d=Math.min(l,s+e.line),d===l?y=Math.min(c,o+e.column):d<l&&(y=o+e.column)}_(e,t,n,r,i,a,s+f.line,o+f.column,d,y)}}function _(t,n,r,i,a,s,f,d,y,h){if("sections"in t)return w(...arguments);const m=new B(t,n),T=i.length,S=s.length,b=e.decodedMappings(m),{resolvedSources:g,sourcesContent:E}=m;if(D(i,g),D(s,m.names),E)D(a,E);else for(let e=0;e<g.length;e++)a.push(null);for(let e=0;e<b.length;e++){const t=f+e;if(t>y)return;const n=k(r,t),i=0===e?d:0,a=b[e];for(let e=0;e<a.length;e++){const r=a[e],s=i+r[o];if(t===y&&s>=h)return;if(1===r.length){n.push([s]);continue}const f=T+r[l],d=r[c],m=r[u];n.push(4===r.length?[s,f,d,m]:[s,f,d,m,S+r[p]])}}}function D(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}function k(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}const N="`line` must be greater than 0 (lines start at line 1)",M="`column` must be greater than or equal to 0 (columns start at column 0)",L=-1,j=1;e.encodedMappings=void 0,e.decodedMappings=void 0,e.traceSegment=void 0,e.originalPositionFor=void 0,e.generatedPositionFor=void 0,e.allGeneratedPositionsFor=void 0,e.eachMapping=void 0,e.sourceContentFor=void 0,e.presortedDecodedMap=void 0,e.decodedMap=void 0,e.encodedMap=void 0;class B{constructor(e,t){const n="string"===typeof e;if(!n&&e._decodedMemo)return e;const r=n?JSON.parse(e):e,{version:i,file:o,names:l,sourceRoot:c,sources:u,sourcesContent:p}=r;this.version=i,this.file=o,this.names=l,this.sourceRoot=c,this.sources=u,this.sourcesContent=p;const f=a(c||"",s(t));this.resolvedSources=u.map((e=>a(e||"",f)));const{mappings:d}=r;"string"===typeof d?(this._encoded=d,this._decoded=void 0):(this._encoded=void 0,this._decoded=y(d,n)),this._decodedMemo=v(),this._bySources=void 0,this._bySourceMemos=void 0}}function F(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t}}function R(e,t,n,r){return{source:e,line:t,column:n,name:r}}function V(e,t){return{line:e,column:t}}function K(e,t,n,r,i){let a=x(e,r,t,n);return b?a=(i===L?E:P)(e,r,a):i===L&&a++,-1===a||a===e.length?-1:a}function U(e,t,n,r,i){let a=K(e,t,n,r,j);if(b||i!==L||a++,-1===a||a===e.length)return[];const s=b?r:e[a][o];b||(a=P(e,s,a));const l=E(e,s,a),c=[];for(;a<=l;a++){const t=e[a];c.push(V(t[f]+1,t[d]))}return c}(()=>{function n(t,n,r,i,a,s){if(--r<0)throw new Error(N);if(i<0)throw new Error(M);const{sources:o,resolvedSources:l}=t;let c=o.indexOf(n);if(-1===c&&(c=l.indexOf(n)),-1===c)return s?[]:V(null,null);const u=(t._bySources||(t._bySources=A(e.decodedMappings(t),t._bySourceMemos=o.map(v))))[c][r];if(null==u)return s?[]:V(null,null);const p=t._bySourceMemos[c];if(s)return U(u,p,r,i,a);const y=K(u,p,r,i,a);if(-1===y)return V(null,null);const h=u[y];return V(h[f]+1,h[d])}e.encodedMappings=e=>{var n;return null!==(n=e._encoded)&&void 0!==n?n:e._encoded=t.encode(e._decoded)},e.decodedMappings=e=>e._decoded||(e._decoded=t.decode(e._encoded)),e.traceSegment=(t,n,r)=>{const i=e.decodedMappings(t);if(n>=i.length)return null;const a=i[n],s=K(a,t._decodedMemo,n,r,j);return-1===s?null:a[s]},e.originalPositionFor=(t,{line:n,column:r,bias:i})=>{if(--n<0)throw new Error(N);if(r<0)throw new Error(M);const a=e.decodedMappings(t);if(n>=a.length)return R(null,null,null,null);const s=a[n],o=K(s,t._decodedMemo,n,r,i||j);if(-1===o)return R(null,null,null,null);const f=s[o];if(1===f.length)return R(null,null,null,null);const{names:d,resolvedSources:y}=t;return R(y[f[l]],f[c]+1,f[u],5===f.length?d[f[p]]:null)},e.allGeneratedPositionsFor=(e,{source:t,line:r,column:i,bias:a})=>n(e,t,r,i,a||L,!0),e.generatedPositionFor=(e,{source:t,line:r,column:i,bias:a})=>n(e,t,r,i,a||j,!1),e.eachMapping=(t,n)=>{const r=e.decodedMappings(t),{names:i,resolvedSources:a}=t;for(let e=0;e<r.length;e++){const t=r[e];for(let r=0;r<t.length;r++){const s=t[r],o=e+1,l=s[0];let c=null,u=null,p=null,f=null;1!==s.length&&(c=a[s[1]],u=s[2]+1,p=s[3]),5===s.length&&(f=i[s[4]]),n({generatedLine:o,generatedColumn:l,source:c,originalLine:u,originalColumn:p,name:f})}}},e.sourceContentFor=(e,t)=>{const{sources:n,resolvedSources:r,sourcesContent:i}=e;if(null==i)return null;let a=n.indexOf(t);return-1===a&&(a=r.indexOf(t)),-1===a?null:i[a]},e.presortedDecodedMap=(e,t)=>{const n=new B(F(e,[]),t);return n._decoded=e.mappings,n},e.decodedMap=t=>F(t,e.decodedMappings(t)),e.encodedMap=t=>F(t,e.encodedMappings(t))})(),e.AnyMap=I,e.GREATEST_LOWER_BOUND=j,e.LEAST_UPPER_BOUND=L,e.TraceMap=B,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(2297),n(8435))},6434:function(e,t,n){"use strict";e=n.nmd(e);const r=n(2618),i=(e,t)=>function(){const n=e.apply(r,arguments);return`\x1b[${n+t}m`},a=(e,t)=>function(){const n=e.apply(r,arguments);return`\x1b[${38+t};5;${n}m`},s=(e,t)=>function(){const n=e.apply(r,arguments);return`\x1b[${38+t};2;${n[0]};${n[1]};${n[2]}m`};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const i=n[r];t[r]={open:`\x1b[${i[0]}m`,close:`\x1b[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1])}Object.defineProperty(t,r,{value:n,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}const n=e=>e,o=(e,t,n)=>[e,t,n];t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",t.color.ansi={ansi:i(n,0)},t.color.ansi256={ansi256:a(n,0)},t.color.ansi16m={rgb:s(o,0)},t.bgColor.ansi={ansi:i(n,10)},t.bgColor.ansi256={ansi256:a(n,10)},t.bgColor.ansi16m={rgb:s(o,10)};for(let l of Object.keys(r)){if("object"!==typeof r[l])continue;const e=r[l];"ansi16"===l&&(l="ansi"),"ansi16"in e&&(t.color.ansi[l]=i(e.ansi16,0),t.bgColor.ansi[l]=i(e.ansi16,10)),"ansi256"in e&&(t.color.ansi256[l]=a(e.ansi256,0),t.bgColor.ansi256[l]=a(e.ansi256,10)),"rgb"in e&&(t.color.ansi16m[l]=s(e.rgb,0),t.bgColor.ansi16m[l]=s(e.rgb,10))}return t}})},6841:function(e,t,n){var r=n(1355),i={};for(var a in r)r.hasOwnProperty(a)&&(i[r[a]]=a);var s=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in s)if(s.hasOwnProperty(o)){if(!("channels"in s[o]))throw new Error("missing channels property: "+o);if(!("labels"in s[o]))throw new Error("missing channel labels property: "+o);if(s[o].labels.length!==s[o].channels)throw new Error("channel and label counts mismatch: "+o);var l=s[o].channels,c=s[o].labels;delete s[o].channels,delete s[o].labels,Object.defineProperty(s[o],"channels",{value:l}),Object.defineProperty(s[o],"labels",{value:c})}s.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,s=Math.min(r,i,a),o=Math.max(r,i,a),l=o-s;return o===s?t=0:r===o?t=(i-a)/l:i===o?t=2+(a-r)/l:a===o&&(t=4+(r-i)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(s+o)/2,[t,100*(o===s?0:n<=.5?l/(o+s):l/(2-o-s)),100*n]},s.rgb.hsv=function(e){var t,n,r,i,a,s=e[0]/255,o=e[1]/255,l=e[2]/255,c=Math.max(s,o,l),u=c-Math.min(s,o,l),p=function(e){return(c-e)/6/u+.5};return 0===u?i=a=0:(a=u/c,t=p(s),n=p(o),r=p(l),s===c?i=r-n:o===c?i=1/3+t-r:l===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*a,100*c]},s.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[s.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},s.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},s.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,a,s,o=1/0;for(var l in r)if(r.hasOwnProperty(l)){var c=r[l],u=(a=e,s=c,Math.pow(a[0]-s[0],2)+Math.pow(a[1]-s[1],2)+Math.pow(a[2]-s[2],2));u<o&&(o=u,n=l)}return n},s.keyword.rgb=function(e){return r[e]},s.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},s.rgb.lab=function(e){var t=s.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},s.hsl.rgb=function(e){var t,n,r,i,a,s=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return[a=255*l,a,a];t=2*l-(n=l<.5?l*(1+o):l+o-l*o),i=[0,0,0];for(var c=0;c<3;c++)(r=s+1/3*-(c-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[c]=255*a;return i},s.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=a<=1?a:2-a,[t,100*(0===r?2*i/(a+i):2*n/(r+n)),100*((r+n)/2)]},s.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),o=255*r*(1-n*a),l=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,l,s];case 1:return[o,r,s];case 2:return[s,r,l];case 3:return[s,o,r];case 4:return[l,s,r];case 5:return[r,s,o]}},s.hsv.hsl=function(e){var t,n,r,i=e[0],a=e[1]/100,s=e[2]/100,o=Math.max(s,.01);return r=(2-a)*s,n=a*o,[i,100*(n=(n/=(t=(2-a)*o)<=1?t:2-t)||0),100*(r/=2)]},s.hwb.rgb=function(e){var t,n,r,i,a,s,o,l=e[0]/360,c=e[1]/100,u=e[2]/100,p=c+u;switch(p>1&&(c/=p,u/=p),r=6*l-(t=Math.floor(6*l)),0!==(1&t)&&(r=1-r),i=c+r*((n=1-u)-c),t){default:case 6:case 0:a=n,s=i,o=c;break;case 1:a=i,s=n,o=c;break;case 2:a=c,s=n,o=i;break;case 3:a=c,s=i,o=n;break;case 4:a=i,s=c,o=n;break;case 5:a=n,s=c,o=i}return[255*a,255*s,255*o]},s.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},s.xyz.rgb=function(e){var t,n,r,i=e[0]/100,a=e[1]/100,s=e[2]/100;return n=-.9689*i+1.8758*a+.0415*s,r=.0557*i+-.204*a+1.057*s,t=(t=3.2406*i+-1.5372*a+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},s.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},s.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),s=Math.pow(t,3),o=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},s.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},s.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},s.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(a+=60),a},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},s.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},s.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},s.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},s.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,a=Math.max(Math.max(n,r),i),s=Math.min(Math.min(n,r),i),o=a-s;return t=o<=0?0:a===n?(r-i)/o%6:a===r?2+(i-n)/o:4+(n-r)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?s/(1-o):0)]},s.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},s.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},s.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,a=[0,0,0],s=t%1*6,o=s%1,l=1-o;switch(Math.floor(s)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return i=(1-n)*r,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},s.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},s.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},s.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},s.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=s.gray.hsv=function(e){return[0,0,e[0]]},s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},2618:function(e,t,n){var r=n(6841),i=n(6399),a={};Object.keys(r).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:r[e].channels}),Object.defineProperty(a[e],"labels",{value:r[e].labels});var t=i(e);Object.keys(t).forEach((function(n){var r=t[n];a[e][n]=function(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),a[e][n].raw=function(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))})),e.exports=a},6399:function(e,t,n){var r=n(6841);function i(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var i=n.pop(),a=Object.keys(r[i]),s=a.length,o=0;o<s;o++){var l=a[o],c=t[l];-1===c.distance&&(c.distance=t[i].distance+1,c.parent=i,n.unshift(l))}return t}function a(e,t){return function(n){return t(e(n))}}function s(e,t){for(var n=[t[e].parent,e],i=r[t[e].parent][e],s=t[e].parent;t[s].parent;)n.unshift(t[s].parent),i=a(r[t[s].parent][s],i),s=t[s].parent;return i.conversion=n,i}e.exports=function(e){for(var t=i(e),n={},r=Object.keys(t),a=r.length,o=0;o<a;o++){var l=r[o];null!==t[l].parent&&(n[l]=s(l,t))}return n}},1355:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},2589:function(e,t,n){"use strict";var r=n(2725);const i=n(7964),a=n(6434),s=n(8555).stdout,o=n(6864),l="win32"===r.platform&&!(r.env.TERM||"").toLowerCase().startsWith("xterm"),c=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),p=Object.create(null);function f(e,t){t=t||{};const n=s?s.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function d(e){if(!this||!(this instanceof d)||this.template){const t={};return f(t,e),t.template=function(){const e=[].slice.call(arguments);return T.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,d.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=d,t.template}f(this,e)}l&&(a.blue.open="\x1b[94m");for(const S of Object.keys(a))a[S].closeRe=new RegExp(i(a[S].close),"g"),p[S]={get(){const e=a[S];return h.call(this,this._styles?this._styles.concat(e):[e],this._empty,S)}};p.visible={get(){return h.call(this,this._styles||[],!0,"visible")}},a.color.closeRe=new RegExp(i(a.color.close),"g");for(const S of Object.keys(a.color.ansi))u.has(S)||(p[S]={get(){const e=this.level;return function(){const t=a.color[c[e]][S].apply(null,arguments),n={open:t,close:a.color.close,closeRe:a.color.closeRe};return h.call(this,this._styles?this._styles.concat(n):[n],this._empty,S)}}});a.bgColor.closeRe=new RegExp(i(a.bgColor.close),"g");for(const S of Object.keys(a.bgColor.ansi)){if(u.has(S))continue;p["bg"+S[0].toUpperCase()+S.slice(1)]={get(){const e=this.level;return function(){const t=a.bgColor[c[e]][S].apply(null,arguments),n={open:t,close:a.bgColor.close,closeRe:a.bgColor.closeRe};return h.call(this,this._styles?this._styles.concat(n):[n],this._empty,S)}}}}const y=Object.defineProperties((()=>{}),p);function h(e,t,n){const r=function(){return m.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=y,r}function m(){const e=arguments,t=e.length;let n=String(arguments[0]);if(0===t)return"";if(t>1)for(let i=1;i<t;i++)n+=" "+e[i];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;const r=a.dim.open;l&&this.hasGrey&&(a.dim.open="");for(const i of this._styles.slice().reverse())n=i.open+n.replace(i.closeRe,i.open)+i.close,n=n.replace(/\r?\n/g,`${i.close}$&${i.open}`);return a.dim.open=r,n}function T(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const n=[].slice.call(arguments,2),r=[t.raw[0]];for(let i=1;i<t.length;i++)r.push(String(n[i-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[i]));return o(e,r.join(""))}Object.defineProperties(d.prototype,p),e.exports=d(),e.exports.supportsColor=s,e.exports.default=e.exports},7964:function(e){"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(t,"\\$&")}},6864:function(e){"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function s(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):a.get(e)||e}function o(e,t){const n=[],a=t.trim().split(/\s*,\s*/g);let o;for(const l of a)if(isNaN(l)){if(!(o=l.match(r)))throw new Error(`Invalid Chalk template style argument: ${l} (in style '${e}')`);n.push(o[2].replace(i,((e,t,n)=>t?s(t):n)))}else n.push(Number(l));return n}function l(e){n.lastIndex=0;const t=[];let r;for(;null!==(r=n.exec(e));){const e=r[1];if(r[2]){const n=o(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function c(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error(`Unknown Chalk style: ${i}`);r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}e.exports=(e,n)=>{const r=[],i=[];let a=[];if(n.replace(t,((t,n,o,u,p,f)=>{if(n)a.push(s(n));else if(u){const t=a.join("");a=[],i.push(0===r.length?t:c(e,r)(t)),r.push({inverse:o,styles:l(u)})}else if(p){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");i.push(c(e,r)(a.join(""))),a=[],r.pop()}else a.push(f)})),i.push(a.join("")),r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`;throw new Error(e)}return i.join("")}},1227:function(e,t,n){var r=n(2725);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!==typeof r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!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||(()=>{}),e.exports=n(2447)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2447:function(e,t,n){e.exports=function(e){function t(e){let n,i,a,s=null;function o(...e){if(!o.enabled)return;const r=o,i=Number(new Date),a=i-(n||i);r.diff=a,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!==typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";s++;const a=t.formatters[i];if("function"===typeof a){const t=e[s];n=a.call(r,t),e.splice(s,1),s--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=r,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,a=t.enabled(e)),a),set:e=>{s=e}}),"function"===typeof t.init&&t.init(o),o}function r(e,n){const r=t(this.namespace+("undefined"===typeof n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"===typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(7824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},1272:function(e,t,n){"use strict";e.exports=n(8487)},3312:function(e,t,n){"use strict";var r=n(8764).lW;const i={},a=i.hasOwnProperty,s=(e,t)=>{for(const n in e)a.call(e,n)&&t(n,e[n])},o=i.toString,l=Array.isArray,c=r.isBuffer,u={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},p=/["'\\\b\f\n\r\t]/,f=/[0-9]/,d=/[ !#-&\(-\[\]-_a-~]/,y=(e,t)=>{const n=()=>{g=b,++t.indentLevel,b=t.indent.repeat(t.indentLevel)},r={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},i=t&&t.json;var a,h;i&&(r.quotes="double",r.wrap=!0),a=r,t=(h=t)?(s(h,((e,t)=>{a[e]=t})),a):a,"single"!=t.quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");const m="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",T=t.compact,S=t.lowercaseHex;let b=t.indent.repeat(t.indentLevel),g="";const E=t.__inline1__,P=t.__inline2__,v=T?"":"\n";let x,A=!0;const O="binary"==t.numbers,C="octal"==t.numbers,I="decimal"==t.numbers,w="hexadecimal"==t.numbers;if(i&&e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!(e=>"string"==typeof e||"[object String]"==o.call(e))(e)){if((e=>"[object Map]"==o.call(e))(e))return 0==e.size?"new Map()":(T||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+y(Array.from(e),t)+")");if((e=>"[object Set]"==o.call(e))(e))return 0==e.size?"new Set()":"new Set("+y(Array.from(e),t)+")";if(c(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+y(Array.from(e),t)+")";if(l(e))return x=[],t.wrap=!0,E&&(t.__inline1__=!1,t.__inline2__=!0),P||n(),((e,t)=>{const n=e.length;let r=-1;for(;++r<n;)t(e[r])})(e,(e=>{A=!1,P&&(t.__inline2__=!1),x.push((T||P?"":b)+y(e,t))})),A?"[]":P?"["+x.join(", ")+"]":"["+v+x.join(","+v)+v+(T?"":g)+"]";if(!(e=>"number"==typeof e||"[object Number]"==o.call(e))(e))return(e=>"[object Object]"==o.call(e))(e)?(x=[],t.wrap=!0,n(),s(e,((e,n)=>{A=!1,x.push((T?"":b)+y(e,t)+":"+(T?"":" ")+y(n,t))})),A?"{}":"{"+v+x.join(","+v)+v+(T?"":g)+"}"):i?JSON.stringify(e)||"null":String(e);if(i)return JSON.stringify(e);if(I)return String(e);if(w){let t=e.toString(16);return S||(t=t.toUpperCase()),"0x"+t}if(O)return"0b"+e.toString(2);if(C)return"0o"+e.toString(8)}const _=e;let D=-1;const k=_.length;for(x="";++D<k;){const e=_.charAt(D);if(t.es6){const e=_.charCodeAt(D);if(e>=55296&&e<=56319&&k>D+1){const t=_.charCodeAt(D+1);if(t>=56320&&t<=57343){let n=(1024*(e-55296)+t-56320+65536).toString(16);S||(n=n.toUpperCase()),x+="\\u{"+n+"}",++D;continue}}}if(!t.escapeEverything){if(d.test(e)){x+=e;continue}if('"'==e){x+=m==e?'\\"':e;continue}if("`"==e){x+=m==e?"\\`":e;continue}if("'"==e){x+=m==e?"\\'":e;continue}}if("\0"==e&&!i&&!f.test(_.charAt(D+1))){x+="\\0";continue}if(p.test(e)){x+=u[e];continue}const n=e.charCodeAt(0);if(t.minimal&&8232!=n&&8233!=n){x+=e;continue}let r=n.toString(16);S||(r=r.toUpperCase());const a=r.length>2||i,s="\\"+(a?"u":"x")+("0000"+r).slice(a?-4:-2);x+=s}return t.wrap&&(x=m+x+m),"`"==m&&(x=x.replace(/\$\{/g,"\\${")),t.isScriptContext?x.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,i?"\\u003C!--":"\\x3C!--"):x};y.version="2.5.2",e.exports=y},7824:function(e){var t=1e3,n=60*t,r=60*n,i=24*r,a=7*i,s=365.25*i;function o(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;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(e);if(!o)return;var l=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"weeks":case"week":case"w":return l*a;case"days":case"day":case"d":return l*i;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var a=Math.abs(e);if(a>=i)return o(e,a,i,"day");if(a>=r)return o(e,a,r,"hour");if(a>=n)return o(e,a,n,"minute");if(a>=t)return o(e,a,t,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=i)return Math.round(e/i)+"d";if(a>=r)return Math.round(e/r)+"h";if(a>=n)return Math.round(e/n)+"m";if(a>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},8555:function(e){"use strict";e.exports={stdout:!1,stderr:!1}},3164:function(e){"use strict";let t=null;function n(e){if(null!==t&&(t.property,1)){const e=t;return t=n.prototype=null,e}return t=n.prototype=null==e?Object.create(null):e,new n}n(),e.exports=function(e){return n(e)}},4704:function(e,t,n){"use strict";var r=n(2725);Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=o,t.default=function(e,t,n,i={}){if(!a){a=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(r.emitWarning)r.emitWarning(e,"DeprecationWarning");else{new Error(e).name="DeprecationWarning",console.warn(new Error(e))}}n=Math.max(n,0);return o(e,{start:{column:n,line:t}},i)};var i=n(8530);let a=!1;const s=/\r\n|[\n\r\u2028\u2029]/;function o(e,t,n={}){const r=(n.highlightCode||n.forceColor)&&(0,i.shouldHighlight)(n),a=(0,i.getChalk)(n),o=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(a),l=(e,t)=>r?e(t):t,c=e.split(s),{start:u,end:p,markerLines:f}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:a=2,linesBelow:s=3}=n||{},o=r.line,l=r.column,c=i.line,u=i.column;let p=Math.max(o-(a+1),0),f=Math.min(t.length,c+s);-1===o&&(p=0),-1===c&&(f=t.length);const d=c-o,y={};if(d)for(let h=0;h<=d;h++){const e=h+o;if(l)if(0===h){const n=t[e-1].length;y[e]=[l,n-l+1]}else if(h===d)y[e]=[0,u];else{const n=t[e-h].length;y[e]=[0,n]}else y[e]=!0}else y[o]=l===u?!l||[l,0]:[l,u-l];return{start:p,end:f,markerLines:y}}(t,c,n),d=t.start&&"number"===typeof t.start.column,y=String(p).length;let h=(r?(0,i.default)(e,n):e).split(s,p).slice(u,p).map(((e,t)=>{const r=u+1+t,i=` ${` ${r}`.slice(-y)} |`,a=f[r],s=!f[r+1];if(a){let t="";if(Array.isArray(a)){const r=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),c=a[1]||1;t=["\n ",l(o.gutter,i.replace(/\d/g," "))," ",r,l(o.marker,"^").repeat(c)].join(""),s&&n.message&&(t+=" "+l(o.message,n.message))}return[l(o.marker,">"),l(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}return` ${l(o.gutter,i)}${e.length>0?` ${e}`:""}`})).join("\n");return n.message&&!d&&(h=`${" ".repeat(y+1)}${n.message}\n${h}`),r?a.reset(h):h}},8726:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._allocQueue()}_allocQueue(){const e=this._queue;for(let t=0;t<16;t++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,t,n,r,i){const a=this._queueCursor;a===this._queue.length&&this._allocQueue();const s=this._queue[a];s.char=e,s.repeat=t,s.line=n,s.column=r,s.filename=i,this._queueCursor++}_popQueue(){if(0===this._queueCursor)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();const e=this._map,t={code:(this._buf+this._str).trimRight(),decodedMap:null==e?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){const n=e?e.get():null;return t.map=n,n},set map(e){Object.defineProperty(t,"map",{value:e,writable:!0})},get rawMappings(){const n=null==e?void 0:e.getRawMappings();return t.rawMappings=n,n},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:!0})}};return t}append(e,t){this._flush(),this._append(e,this._sourcePosition,t)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(10===e)for(;0!==this._queueCursor;){const e=this._queue[this._queueCursor-1].char;if(32!==e&&9!==e)break;this._queueCursor--}const t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e,t){this._pushQueue(e,t,void 0,void 0,void 0)}_flush(){const e=this._queueCursor,t=this._queue;for(let n=0;n<e;n++){const e=t[n];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,n){this._last=e,this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e),10!==e?(this._mark(n.line,n.column,n.identifierName,n.identifierNamePos,n.filename),this._position.column+=t):(this._position.line++,this._position.column=0),this._canMarkIdName&&(n.identifierName=void 0,n.identifierNamePos=void 0)}_append(e,t,n){const r=e.length,i=this._position;if(this._last=e.charCodeAt(r-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!n&&!this._map)return void(i.column+=r);const{column:a,identifierName:s,identifierNamePos:o,filename:l}=t;let c=t.line;null==s&&null==o||!this._canMarkIdName||(t.identifierName=void 0,t.identifierNamePos=void 0);let u=e.indexOf("\n"),p=0;for(0!==u&&this._mark(c,a,s,o,l);-1!==u;)i.line++,i.column=0,p=u+1,p<r&&void 0!==c&&this._mark(++c,0,null,null,l),u=e.indexOf("\n",p);i.column+=r-p}_mark(e,t,n,r,i){var a;null==(a=this._map)||a.mark(this._position,e,t,n,r,i)}removeTrailingNewline(){const e=this._queueCursor;0!==e&&10===this._queue[e-1].char&&this._queueCursor--}removeLastSemicolon(){const e=this._queueCursor;0!==e&&59===this._queue[e-1].char&&this._queueCursor--}getLastChar(){const e=this._queueCursor;return 0!==e?this._queue[e-1].char:this._last}getNewlineCount(){const e=this._queueCursor;let t=0;if(0===e)return 10===this._last?1:0;for(let n=e-1;n>=0&&10===this._queue[n].char;n--)t++;return t===e&&10===this._last?t+1:t}endsWithCharAndNewline(){const 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}}hasContent(){return 0!==this._queueCursor||!!this._last}exactSource(e,t){if(!this._map)return void t();this.source("start",e);const n=e.identifierName,r=this._sourcePosition;n&&(this._canMarkIdName=!1,r.identifierName=n),t(),n&&(this._canMarkIdName=!0,r.identifierName=void 0,r.identifierNamePos=void 0),this.source("end",e)}source(e,t){this._map&&this._normalizePosition(e,t,0)}sourceWithOffset(e,t,n){this._map&&this._normalizePosition(e,t,n)}withSource(e,t,n){this._map&&this.source(e,t),n()}_normalizePosition(e,t,n){const r=t[e],i=this._sourcePosition;r&&(i.line=r.line,i.column=Math.max(r.column+n,0),i.filename=t.filename)}getCurrentColumn(){const e=this._queue,t=this._queueCursor;let n=-1,r=0;for(let i=0;i<t;i++){const t=e[i];10===t.char&&(n=r),r+=t.repeat}return-1===n?this._position.column+r:r-1-n}getCurrentLine(){let e=0;const t=this._queue;for(let n=0;n<this._queueCursor;n++)10===t[n].char&&e++;return this._position.line+e}}},9230:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.tokenChar(123);const n=null==(t=e.directives)?void 0:t.length;if(n){var r;const t=e.body.length?2:1;this.printSequence(e.directives,e,{indent:!0,trailingCommentsLineOffset:t}),null!=(r=e.directives[n-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body,e,{indent:!0}),this.rightBrace(e)},t.Directive=function(e){this.print(e.value,e),this.semicolon()},t.DirectiveLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const{value:i}=e;if(r.test(i)){if(n.test(i))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${i}'`)}else this.token(`"${i}"`)},t.File=function(e){e.program&&this.print(e.program.interpreter,e);this.print(e.program,e)},t.InterpreterDirective=function(e){this.token(`#!${e.value}`),this.newline(1,!0)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()},t.Program=function(e){var t;this.noIndentInnerCommentsHere(),this.printInnerComments();const n=null==(t=e.directives)?void 0:t.length;if(n){var r;const t=e.body.length?2:1;this.printSequence(e.directives,e,{trailingCommentsLineOffset:t}),null!=(r=e.directives[n-1].trailingComments)&&r.length||this.newline(t)}this.printSequence(e.body,e)};const n=/(?:^|[^\\])(?:\\\\)*'/,r=/(?:^|[^\\])(?:\\\\)*"/},695:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClassAccessorProperty=function(e){var t,n;this.printJoin(e.decorators,e);const r=null==(t=e.key.loc)||null==(n=t.end)?void 0:n.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()},t.ClassBody=function(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))},t.ClassExpression=t.ClassDeclaration=function(e,t){(i(t)||a(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)},t.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body,e)},t.ClassPrivateMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body,e)},t.ClassPrivateProperty=function(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()},t.ClassProperty=function(e){var t,n;this.printJoin(e.decorators,e);const r=null==(t=e.key.loc)||null==(n=t.end)?void 0:n.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()},t.StaticBlock=function(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))},t._classMethodHead=function(e){var t,n;this.printJoin(e.decorators,e);const r=null==(t=e.key.loc)||null==(n=t.end)?void 0:n.line;r&&this.catchUp(r);this.tsPrintClassMemberModifiers(e),this._methodHead(e)};var r=n(6067);const{isExportDefaultDeclaration:i,isExportNamedDeclaration:a}=r},7240:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e,t){const n=this.inForStatementInitCounter&&"in"===e.operator&&!i.needsParens(e,t);n&&this.tokenChar(40);this.print(e.left,e),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):this.token(e.operator);this.space(),this.print(e.right,e),n&&this.tokenChar(41)},t.AssignmentPattern=function(e){this.print(e.left,e),e.left.optional&&this.tokenChar(63);this.print(e.left.typeAnnotation,e),this.space(),this.tokenChar(61),this.space(),this.print(e.right,e)},t.AwaitExpression=function(e){this.word("await"),e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))},t.BindExpression=function(e){this.print(e.object,e),this.token("::"),this.print(e.callee,e)},t.CallExpression=function(e){this.print(e.callee,e),this.print(e.typeArguments,e),this.print(e.typeParameters,e),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test,e),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent,e),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate,e)},t.Decorator=function(e){this.tokenChar(64);const{expression:t}=e;!function(e){if("ParenthesizedExpression"===e.type)return!1;return!c("CallExpression"===e.type?e.callee:e)}(t)?this.print(t,e):(this.tokenChar(40),this.print(t,e),this.tokenChar(41));this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space());this.word("do"),this.space(),this.print(e.body,e)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.print(e.expression,e),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object,e),!e.computed&&o(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;s(e.property)&&"number"===typeof e.property.value&&(t=!0);t?(this.tokenChar(91),this.print(e.property,e),this.tokenChar(93)):(this.tokenChar(46),this.print(e.property,e))},t.MetaProperty=function(e){this.print(e.meta,e),this.tokenChar(46),this.print(e.property,e)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:t}=e;(t.body.length||t.directives.length)&&this.newline();this.print(t,e),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee,e),this.format.minified&&0===e.arguments.length&&!e.optional&&!a(t,{callee:e})&&!o(t)&&!l(t))return;this.print(e.typeArguments,e),this.print(e.typeParameters,e),e.optional&&this.token("?.");this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee,e),this.print(e.typeParameters,e),e.optional&&this.token("?.");this.print(e.typeArguments,e),this.tokenChar(40),this.printList(e.arguments,e),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e;const{optional:n,property:r}=e;if(this.print(e.object,e),!t&&o(r))throw new TypeError("Got a MemberExpression for MemberExpression property");s(r)&&"number"===typeof r.value&&(t=!0);n&&this.token("?.");t?(this.tokenChar(91),this.print(r,e),this.tokenChar(93)):(n||this.tokenChar(46),this.print(r,e))},t.ParenthesizedExpression=function(e){this.tokenChar(40),this.print(e.expression,e),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id,e)},t.SequenceExpression=function(e){this.printList(e.expressions,e)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){const{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t);this.print(e.argument,e)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument,e)):(this.printTerminatorless(e.argument,e,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){this.word("yield",!0),e.delegate?(this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument,e))):e.argument&&(this.space(),this.printTerminatorless(e.argument,e,!1))},t._shouldPrintDecoratorsBeforeExport=function(e){if("boolean"===typeof this.format.decoratorsBeforeExport)return this.format.decoratorsBeforeExport;return"number"===typeof e.start&&e.start===e.declaration.start};var r=n(6067),i=n(7533);const{isCallExpression:a,isLiteral:s,isMemberExpression:o,isNewExpression:l}=r;function c(e){switch(e.type){case"Identifier":return!0;case"MemberExpression":return!e.computed&&"Identifier"===e.property.type&&c(e.object);default:return!1}}},4735:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=function(){this.word("any")},t.ArrayTypeAnnotation=function(e){this.print(e.elementType,e,!0),this.tokenChar(91),this.tokenChar(93)},t.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.DeclareClass=function(e,t){s(t)||(this.word("declare"),this.space());this.word("class"),this.space(),this._interfaceish(e)},t.DeclareExportAllDeclaration=function(e){this.word("declare"),this.space(),i.ExportAllDeclaration.call(this,e)},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space());p.call(this,e)},t.DeclareFunction=function(e,t){s(t)||(this.word("declare"),this.space());this.word("function"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation.typeAnnotation,e),e.predicate&&(this.space(),this.print(e.predicate,e));this.semicolon()},t.DeclareInterface=function(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)},t.DeclareModule=function(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id,e),this.space(),this.print(e.body,e)},t.DeclareModuleExports=function(e){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(e.typeAnnotation,e)},t.DeclareOpaqueType=function(e,t){s(t)||(this.word("declare"),this.space());this.OpaqueType(e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareVariable=function(e,t){s(t)||(this.word("declare"),this.space());this.word("var"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation,e),this.semicolon()},t.DeclaredPredicate=function(e){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(e.value,e),this.tokenChar(41)},t.EmptyTypeAnnotation=function(){this.word("empty")},t.EnumBooleanBody=function(e){const{explicitType:t}=e;l(this,"boolean",t),c(this,e)},t.EnumBooleanMember=function(e){u(this,e)},t.EnumDeclaration=function(e){const{id:t,body:n}=e;this.word("enum"),this.space(),this.print(t,e),this.print(n,e)},t.EnumDefaultedMember=function(e){const{id:t}=e;this.print(t,e),this.tokenChar(44)},t.EnumNumberBody=function(e){const{explicitType:t}=e;l(this,"number",t),c(this,e)},t.EnumNumberMember=function(e){u(this,e)},t.EnumStringBody=function(e){const{explicitType:t}=e;l(this,"string",t),c(this,e)},t.EnumStringMember=function(e){u(this,e)},t.EnumSymbolBody=function(e){l(this,"symbol",!0),c(this,e)},t.ExistsTypeAnnotation=function(){this.tokenChar(42)},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters,e),this.tokenChar(40),e.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(e.this.typeAnnotation,e),(e.params.length||e.rest)&&(this.tokenChar(44),this.space()));this.printList(e.params,e),e.rest&&(e.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(e.rest,e));this.tokenChar(41);const n=null==t?void 0:t.type;null!=n&&("ObjectTypeCallProperty"===n||"ObjectTypeInternalSlot"===n||"DeclareFunction"===n||"ObjectTypeProperty"===n&&t.method)?this.tokenChar(58):(this.space(),this.token("=>"));this.space(),this.print(e.returnType,e)},t.FunctionTypeParam=function(e){this.print(e.name,e),e.optional&&this.tokenChar(63);e.name&&(this.tokenChar(58),this.space());this.print(e.typeAnnotation,e)},t.IndexedAccessType=function(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)},t.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id,e),this.print(e.typeParameters,e,!0)},t.InterfaceTypeAnnotation=function(e){var t;this.word("interface"),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e));this.space(),this.print(e.body,e)},t.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:f})},t.MixedTypeAnnotation=function(){this.word("mixed")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.NullableTypeAnnotation=function(e){this.tokenChar(63),this.print(e.typeAnnotation,e)},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.NumericLiteral}}),t.NumberTypeAnnotation=function(){this.word("number")},t.ObjectTypeAnnotation=function(e){e.exact?this.token("{|"):this.tokenChar(123);const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];t.length&&(this.newline(),this.space(),this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:!0,statement:!0,iterator:()=>{(1!==t.length||e.inexact)&&(this.tokenChar(44),this.space())}}),this.space());e.inexact&&(this.indent(),this.token("..."),t.length&&this.newline(),this.dedent());e.exact?this.token("|}"):this.tokenChar(125)},t.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space());this.print(e.value,e)},t.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space());this._variance(e),this.tokenChar(91),e.id&&(this.print(e.id,e),this.tokenChar(58),this.space());this.print(e.key,e),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(e.value,e)},t.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space());this.tokenChar(91),this.tokenChar(91),this.print(e.id,e),this.tokenChar(93),this.tokenChar(93),e.optional&&this.tokenChar(63);e.method||(this.tokenChar(58),this.space());this.print(e.value,e)},t.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space());e.static&&(this.word("static"),this.space());"get"!==e.kind&&"set"!==e.kind||(this.word(e.kind),this.space());this._variance(e),this.print(e.key,e),e.optional&&this.tokenChar(63);e.method||(this.tokenChar(58),this.space());this.print(e.value,e)},t.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument,e)},t.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),e.supertype&&(this.tokenChar(58),this.space(),this.print(e.supertype,e));e.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(e.impltype,e));this.semicolon()},t.OptionalIndexedAccessType=function(e){this.print(e.objectType,e),e.optional&&this.token("?.");this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification,e),this.tokenChar(46),this.print(e.id,e)},Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.StringLiteral}}),t.StringTypeAnnotation=function(){this.word("string")},t.SymbolTypeAnnotation=function(){this.word("symbol")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.tokenChar(91),this.printList(e.types,e),this.tokenChar(93)},t.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),this.space(),this.tokenChar(61),this.space(),this.print(e.right,e),this.semicolon()},t.TypeAnnotation=function(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63);this.print(e.typeAnnotation,e)},t.TypeCastExpression=function(e){this.tokenChar(40),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.tokenChar(41)},t.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound,e);e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default,e))},t.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.tokenChar(60),this.printList(e.params,e,{}),this.tokenChar(62)},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument,e)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:d})},t.Variance=function(e){"plus"===e.kind?this.tokenChar(43):this.tokenChar(45)},t.VoidTypeAnnotation=function(){this.word("void")},t._interfaceish=function(e){var t;this.print(e.id,e),this.print(e.typeParameters,e),null!=(t=e.extends)&&t.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e));if("DeclareClass"===e.type){var n,r;null!=(n=e.mixins)&&n.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e)),null!=(r=e.implements)&&r.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e))}this.space(),this.print(e.body,e)},t._variance=function(e){var t;const n=null==(t=e.variance)?void 0:t.kind;null!=n&&("plus"===n?this.tokenChar(43):"minus"===n&&this.tokenChar(45))};var r=n(6067),i=n(4272),a=n(7585);const{isDeclareExportDeclaration:s,isStatement:o}=r;function l(e,t,n){n&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function c(e,t){const{members:n}=t;e.token("{"),e.indent(),e.newline();for(const r of n)e.print(r,t),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function u(e,t){const{id:n,init:r}=t;e.print(n,t),e.space(),e.token("="),e.space(),e.print(r,t),e.token(",")}function p(e){if(e.declaration){const t=e.declaration;this.print(t,e),o(t)||this.semicolon()}else this.tokenChar(123),e.specifiers.length&&(this.space(),this.printList(e.specifiers,e),this.space()),this.tokenChar(125),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source,e)),this.semicolon()}function f(){this.space(),this.tokenChar(38),this.space()}function d(){this.space(),this.tokenChar(124),this.space()}},4236:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9716);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var i=n(7240);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(9296);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(695);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var o=n(7011);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var l=n(4272);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=n(7585);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=n(4735);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var p=n(9230);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=n(7878);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var d=n(5447);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}))},7878:function(e,t){"use strict";function n(){this.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name,e),e.value&&(this.tokenChar(61),this.print(e.value,e))},t.JSXClosingElement=function(e){this.token("</"),this.print(e.name,e),this.tokenChar(62)},t.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},t.JSXElement=function(e){const t=e.openingElement;if(this.print(t,e),t.selfClosing)return;this.indent();for(const n of e.children)this.print(n,e);this.dedent(),this.print(e.closingElement,e)},t.JSXEmptyExpression=function(){this.printInnerComments()},t.JSXExpressionContainer=function(e){this.tokenChar(123),this.print(e.expression,e),this.tokenChar(125)},t.JSXFragment=function(e){this.print(e.openingFragment,e),this.indent();for(const t of e.children)this.print(t,e);this.dedent(),this.print(e.closingFragment,e)},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object,e),this.tokenChar(46),this.print(e.property,e)},t.JSXNamespacedName=function(e){this.print(e.namespace,e),this.tokenChar(58),this.print(e.name,e)},t.JSXOpeningElement=function(e){this.tokenChar(60),this.print(e.name,e),this.print(e.typeParameters,e),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,e,{separator:n}));e.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)},t.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},t.JSXSpreadAttribute=function(e){this.tokenChar(123),this.token("..."),this.print(e.argument,e),this.tokenChar(125)},t.JSXSpreadChild=function(e){this.tokenChar(123),this.token("..."),this.print(e.expression,e),this.tokenChar(125)},t.JSXText=function(e){const t=this.getPossibleRaw(e);void 0!==t?this.token(t,!0):this.token(e.value,!0)}},7011:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){e.async&&(this.word("async",!0),this.space());let n;this.format.retainLines||1!==e.params.length||!i(n=e.params[0])||function(e,t){var n,r;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||null!=(n=t.leadingComments)&&n.length||null!=(r=t.trailingComments)&&r.length)}(e,n)?this._params(e,void 0,t):this.print(n,e,!0);this._predicate(e,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.print(e.body,e)},t.FunctionDeclaration=t.FunctionExpression=function(e,t){this._functionHead(e,t),this.space(),this.print(e.body,e)},t._functionHead=function(e,t){e.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space());this.word("function"),e.generator&&(this._endsWithInnerRaw=!1,this.tokenChar(42));this.space(),e.id&&this.print(e.id,e);this._params(e,e.id,t),"TSDeclareFunction"!==e.type&&this._predicate(e)},t._methodHead=function(e){const t=e.kind,n=e.key;"get"!==t&&"set"!==t||(this.word(t),this.space());e.async&&(this.word("async",!0),this.space());"method"!==t&&"init"!==t||e.generator&&this.tokenChar(42);e.computed?(this.tokenChar(91),this.print(n,e),this.tokenChar(93)):this.print(n,e);e.optional&&this.tokenChar(63);this._params(e,e.computed&&"StringLiteral"!==e.key.type?void 0:e.key,void 0)},t._param=function(e,t){this.printJoin(e.decorators,e),this.print(e,t),e.optional&&this.tokenChar(63);this.print(e.typeAnnotation,e)},t._parameters=function(e,t){const n=e.length;for(let r=0;r<n;r++)this._param(e[r],t),r<e.length-1&&(this.tokenChar(44),this.space())},t._params=function(e,t,n){this.print(e.typeParameters,e);const r=a.call(this,t,n);r&&this.sourceIdentifierName(r.name,r.pos);this.tokenChar(40),this._parameters(e.params,e),this.tokenChar(41);const i="ArrowFunctionExpression"===e.type;this.print(e.returnType,e,i),this._noLineTerminator=i},t._predicate=function(e,t){e.predicate&&(e.returnType||this.tokenChar(58),this.space(),this.print(e.predicate,e,t))};var r=n(6067);const{isIdentifier:i}=r;function a(e,t){let n,r=e;if(!r&&t){const e=t.type;"VariableDeclarator"===e?r=t.id:"AssignmentExpression"===e||"AssignmentPattern"===e?r=t.left:"ObjectProperty"===e||"ClassProperty"===e?t.computed&&"StringLiteral"!==t.key.type||(r=t.key):"ClassPrivateProperty"!==e&&"ClassAccessorProperty"!==e||(r=t.key)}if(r){var i,a;if("Identifier"===r.type)n={pos:null==(i=r.loc)?void 0:i.start,name:(null==(a=r.loc)?void 0:a.identifierName)||r.name};else if("PrivateName"===r.type){var s;n={pos:null==(s=r.loc)?void 0:s.start,name:"#"+r.id.name}}else if("StringLiteral"===r.type){var o;n={pos:null==(o=r.loc)?void 0:o.start,name:r.value}}return n}}},4272:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExportAllDeclaration=function(e){var t,n;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!=(n=e.assertions)&&n.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e);this.semicolon()},t.ExportDefaultDeclaration=function(e){p(this,e),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();const t=e.declaration;this.print(t,e),c(t)||this.semicolon()},t.ExportDefaultSpecifier=function(e){this.print(e.exported,e)},t.ExportNamedDeclaration=function(e){if(p(this,e),this.word("export"),this.space(),e.declaration){const t=e.declaration;this.print(t,e),c(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());const r=e.specifiers.slice(0);let i=!1;for(;;){const t=r[0];if(!a(t)&&!s(t))break;i=!0,this.print(r.shift(),e),r.length&&(this.tokenChar(44),this.space())}var t,n;if((r.length||!r.length&&!i)&&(this.tokenChar(123),r.length&&(this.space(),this.printList(r,e),this.space()),this.tokenChar(125)),e.source)this.space(),this.word("from"),this.space(),null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e);this.semicolon()}},t.ExportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.exported,e)},t.ExportSpecifier=function(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))},t.ImportAttribute=function(e){this.print(e.key),this.tokenChar(58),this.space(),this.print(e.value)},t.ImportDeclaration=function(e){var t,n;this.word("import"),this.space();const r="type"===e.importKind||"typeof"===e.importKind;r?(this.noIndentInnerCommentsHere(),this.word(e.importKind),this.space()):e.module&&(this.noIndentInnerCommentsHere(),this.word("module"),this.space());const i=e.specifiers.slice(0),a=!!i.length;for(;a;){const t=i[0];if(!o(t)&&!l(t))break;this.print(i.shift(),e),i.length&&(this.tokenChar(44),this.space())}i.length?(this.tokenChar(123),this.space(),this.printList(i,e),this.space(),this.tokenChar(125)):r&&!a&&(this.tokenChar(123),this.tokenChar(125));(a||r)&&(this.space(),this.word("from"),this.space());null!=(t=e.attributes)&&t.length||null!=(n=e.assertions)&&n.length?(this.print(e.source,e,!0),this.space(),this._printAttributes(e)):this.print(e.source,e);this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local,e)},t.ImportNamespaceSpecifier=function(e){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(e.local,e)},t.ImportSpecifier=function(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))},t._printAttributes=function(e){const{importAttributesKeyword:t}=this.format,{attributes:n,assertions:r}=e;!n||t||u||(u=!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'));const i="assert"===t||!t&&r;if(this.word(i?"assert":"with"),this.space(),!i&&"with"!==t)return void this.printList(n||r,e);this.tokenChar(123),this.space(),this.printList(n||r,e),this.space(),this.tokenChar(125)};var r=n(6067);const{isClassDeclaration:i,isExportDefaultSpecifier:a,isExportNamespaceSpecifier:s,isImportDefaultSpecifier:o,isImportNamespaceSpecifier:l,isStatement:c}=r;let u=!1;function p(e,t){i(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)&&e.printJoin(t.declaration.decorators,t)}},9296:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=function(e){this.word("break"),f(this,e.label,e,!0)},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.tokenChar(40),this.print(e.param,e),this.print(e.param.typeAnnotation,e),this.tokenChar(41),this.space());this.print(e.body,e)},t.ContinueStatement=function(e){this.word("continue"),f(this,e.label,e,!0)},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body,e),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.semicolon()},t.ForOfStatement=t.ForInStatement=void 0,t.ForStatement=function(e){this.word("for"),this.space(),this.tokenChar(40),this.inForStatementInitCounter++,this.print(e.init,e),this.inForStatementInitCounter--,this.tokenChar(59),e.test&&(this.space(),this.print(e.test,e));this.tokenChar(59),e.update&&(this.space(),this.print(e.update,e));this.tokenChar(41),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.space();const t=e.alternate&&s(l(e.consequent));t&&(this.tokenChar(123),this.newline(),this.indent());this.printAndIndentOnComments(e.consequent,e),t&&(this.dedent(),this.newline(),this.tokenChar(125));e.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate,e))},t.LabeledStatement=function(e){this.print(e.label,e),this.tokenChar(58),this.space(),this.print(e.body,e)},t.ReturnStatement=function(e){this.word("return"),f(this,e.argument,e,!1)},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test,e),this.tokenChar(58)):(this.word("default"),this.tokenChar(58));e.consequent.length&&(this.newline(),this.printSequence(e.consequent,e,{indent:!0}))},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.tokenChar(40),this.print(e.discriminant,e),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(e.cases,e,{indent:!0,addNewlines(t,n){if(!t&&e.cases[e.cases.length-1]===n)return-1}}),this.rightBrace(e)},t.ThrowStatement=function(e){this.word("throw"),f(this,e.argument,e,!1)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block,e),this.space(),e.handlers?this.print(e.handlers[0],e):this.print(e.handler,e);e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer,e))},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());const{kind:n}=e;this.word(n,"using"===n||"await using"===n),this.space();let r=!1;if(!i(t))for(const i of e.declarations)i.init&&(r=!0);if(this.printList(e.declarations,e,{separator:r?function(){this.tokenChar(44),this.newline()}:void 0,indent:e.declarations.length>1}),i(t))if(a(t)){if(t.init===e)return}else if(t.left===e)return;this.semicolon()},t.VariableDeclarator=function(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))},t.WhileStatement=function(e){this.word("while"),this.space(),this.tokenChar(40),this.print(e.test,e),this.tokenChar(41),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.tokenChar(40),this.print(e.object,e),this.tokenChar(41),this.printBlock(e)};var r=n(6067);const{isFor:i,isForStatement:a,isIfStatement:s,isStatement:o}=r;function l(e){const{body:t}=e;return!1===o(t)?e:l(t)}function c(e){this.word("for"),this.space();const t="ForOfStatement"===e.type;t&&e.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.print(e.left,e),this.space(),this.word(t?"of":"in"),this.space(),this.print(e.right,e),this.tokenChar(41),this.printBlock(e)}const u=c;t.ForInStatement=u;const p=c;function f(e,t,n,r){t&&(e.space(),e.printTerminatorless(t,n,r)),e.semicolon()}t.ForOfStatement=p},9716:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag,e),this.print(e.typeParameters,e),this.print(e.quasi,e)},t.TemplateElement=function(e,t){const n=t.quasis[0]===e,r=t.quasis[t.quasis.length-1]===e,i=(n?"`":"}")+e.value.raw+(r?"`":"${");this.token(i,!0)},t.TemplateLiteral=function(e){const t=e.quasis;for(let n=0;n<t.length;n++)this.print(t[n],e),n+1<t.length&&this.print(e.expressions[n],e)}},7585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.tokenChar(63)},t.ArrayPattern=t.ArrayExpression=function(e){const t=e.elements,n=t.length;this.tokenChar(91);for(let r=0;r<t.length;r++){const i=t[r];i?(r>0&&this.space(),this.print(i,e),r<n-1&&this.tokenChar(44)):this.tokenChar(44)}this.tokenChar(93)},t.BigIntLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.word(t);this.word(e.value+"n")},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.DecimalLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.word(t);this.word(e.value+"m")},t.Identifier=function(e){var t;this.sourceIdentifierName((null==(t=e.loc)?void 0:t.identifierName)||e.name),this.word(e.name)},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){const t=this.getPossibleRaw(e),n=this.format.jsescOption,r=e.value+"";n.numbers?this.number(i(e.value,n)):null==t?this.number(r):this.format.minified?this.number(t.length<r.length?t:r):this.number(t)},t.ObjectPattern=t.ObjectExpression=function(e){const t=e.properties;this.tokenChar(123),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space());this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)},t.ObjectMethod=function(e){this.printJoin(e.decorators,e),this._methodHead(e),this.space(),this.print(e.body,e)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators,e),e.computed)this.tokenChar(91),this.print(e.key,e),this.tokenChar(93);else{if(a(e.value)&&s(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value,e);if(this.print(e.key,e),e.shorthand&&s(e.key)&&s(e.value)&&e.key.name===e.value.name)return}this.tokenChar(58),this.space(),this.print(e.value,e)},t.PipelineBareFunction=function(e){this.print(e.callee,e)},t.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},t.PipelineTopicExpression=function(e){this.print(e.expression,e)},t.RecordExpression=function(e){const t=e.properties;let n,r;if("bar"===this.format.recordAndTupleSyntaxType)n="{|",r="|}";else{if("hash"!==this.format.recordAndTupleSyntaxType&&null!=this.format.recordAndTupleSyntaxType)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);n="#{",r="}"}this.token(n),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space());this.token(r)},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument,e)},t.StringLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&void 0!==t)return void this.token(t);const n=i(e.value,this.format.jsescOption);this.token(n)},t.TopicReference=function(){const{topicToken:e}=this.format;if(!o.has(e)){const t=JSON.stringify(e),n=Array.from(o,(e=>JSON.stringify(e)));throw new Error(`The "topicToken" generator option must be one of ${n.join(", ")} (${t} received instead).`)}this.token(e)},t.TupleExpression=function(e){const t=e.elements,n=t.length;let r,i;if("bar"===this.format.recordAndTupleSyntaxType)r="[|",i="|]";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);r="#[",i="]"}this.token(r);for(let a=0;a<t.length;a++){const r=t[a];r&&(a>0&&this.space(),this.print(r,e),a<n-1&&this.tokenChar(44))}this.token(i)};var r=n(6067),i=n(3312);const{isAssignmentPattern:a,isIdentifier:s}=r;const o=new Set(["^^","@@","^","%","#"])},5447:function(e,t){"use strict";function n(e,t,n){if(e.token("{"),t.length){e.indent(),e.newline();for(const r of t)e.print(r,n),e.newline();e.dedent()}e.rightBrace(n)}function r(e,t,n){e.printJoin(t.types,t,{separator(){this.space(),this.token(n),this.space()}})}function i(e,t){!0!==t&&e.token(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,e,!0),this.token("[]")},t.TSSatisfiesExpression=t.TSAsExpression=function(e){var t;const{type:n,expression:r,typeAnnotation:i}=e,a=!(null==(t=r.trailingComments)||!t.length);this.print(r,e,!0,void 0,a),this.space(),this.word("TSAsExpression"===n?"as":"satisfies"),this.space(),this.print(i,e)},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(e.trueType),this.space(),this.tokenChar(58),this.space(),this.print(e.falseType)},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space());this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.TSDeclareFunction=function(e,t){e.declare&&(this.word("declare"),this.space());this._functionHead(e,t),this.tokenChar(59)},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.tokenChar(59)},t.TSEnumDeclaration=function(e){const{declare:t,const:r,id:i,members:a}=e;t&&(this.word("declare"),this.space());r&&(this.word("const"),this.space());this.word("enum"),this.space(),this.print(i,e),this.space(),n(this,a,e)},t.TSEnumMember=function(e){const{id:t,initializer:n}=e;this.print(t,e),n&&(this.space(),this.tokenChar(61),this.space(),this.print(n,e));this.tokenChar(44)},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(e.expression,e),this.tokenChar(59)},t.TSExpressionWithTypeArguments=function(e){this.print(e.expression,e),this.print(e.typeParameters,e)},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression,e),this.tokenChar(41)},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSImportEqualsDeclaration=function(e){const{isExport:t,id:n,moduleReference:r}=e;t&&(this.word("export"),this.space());this.word("import"),this.space(),this.print(n,e),this.space(),this.tokenChar(61),this.space(),this.print(r,e),this.tokenChar(59)},t.TSImportType=function(e){const{argument:t,qualifier:n,typeParameters:r}=e;this.word("import"),this.tokenChar(40),this.print(t,e),this.tokenChar(41),n&&(this.tokenChar(46),this.print(n,e));r&&this.print(r,e)},t.TSIndexSignature=function(e){const{readonly:t,static:n}=e;n&&(this.word("static"),this.space());t&&(this.word("readonly"),this.space());this.tokenChar(91),this._parameters(e.parameters,e),this.tokenChar(93),this.print(e.typeAnnotation,e),this.tokenChar(59)},t.TSIndexedAccessType=function(e){this.print(e.objectType,e,!0),this.tokenChar(91),this.print(e.indexType,e),this.tokenChar(93)},t.TSInferType=function(e){this.token("infer"),this.space(),this.print(e.typeParameter)},t.TSInstantiationExpression=function(e){this.print(e.expression,e),this.print(e.typeParameters,e)},t.TSInterfaceBody=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)},t.TSInterfaceDeclaration=function(e){const{declare:t,id:n,typeParameters:r,extends:i,body:a}=e;t&&(this.word("declare"),this.space());this.word("interface"),this.space(),this.print(n,e),this.print(r,e),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i,e));this.space(),this.print(a,e)},t.TSIntersectionType=function(e){r(this,e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal,e)},t.TSMappedType=function(e){const{nameType:t,optional:n,readonly:r,typeParameter:a}=e;this.tokenChar(123),this.space(),r&&(i(this,r),this.word("readonly"),this.space());this.tokenChar(91),this.word(a.name),this.space(),this.word("in"),this.space(),this.print(a.constraint,a),t&&(this.space(),this.word("as"),this.space(),this.print(t,e));this.tokenChar(93),n&&(i(this,n),this.tokenChar(63));this.tokenChar(58),this.space(),this.print(e.typeAnnotation,e),this.space(),this.tokenChar(125)},t.TSMethodSignature=function(e){const{kind:t}=e;"set"!==t&&"get"!==t||(this.word(t),this.space());this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),this.tokenChar(59)},t.TSModuleBlock=function(e){n(this,e.body,e)},t.TSModuleDeclaration=function(e){const{declare:t,id:n}=e;t&&(this.word("declare"),this.space());e.global||(this.word("Identifier"===n.type?"namespace":"module"),this.space());if(this.print(n,e),!e.body)return void this.tokenChar(59);let r=e.body;for(;"TSModuleDeclaration"===r.type;)this.tokenChar(46),this.print(r.id,r),r=r.body;this.space(),this.print(r,e)},t.TSNamedTupleMember=function(e){this.print(e.label,e),e.optional&&this.tokenChar(63);this.tokenChar(58),this.space(),this.print(e.elementType,e)},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id,e)},t.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression,e),this.tokenChar(33)},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation,e),this.tokenChar(63)},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space());e.readonly&&(this.word("readonly"),this.space());this._param(e.parameter)},t.TSParenthesizedType=function(e){this.tokenChar(40),this.print(e.typeAnnotation,e),this.tokenChar(41)},t.TSPropertySignature=function(e){const{readonly:t,initializer:n}=e;t&&(this.word("readonly"),this.space());this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation,e),n&&(this.space(),this.tokenChar(61),this.space(),this.print(n,e));this.tokenChar(59)},t.TSQualifiedName=function(e){this.print(e.left,e),this.tokenChar(46),this.print(e.right,e)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation,e)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.tokenChar(91),this.printList(e.elementTypes,e),this.tokenChar(93)},t.TSTypeAliasDeclaration=function(e){const{declare:t,id:n,typeParameters:r,typeAnnotation:i}=e;t&&(this.word("declare"),this.space());this.word("type"),this.space(),this.print(n,e),this.print(r,e),this.space(),this.tokenChar(61),this.space(),this.print(i,e),this.tokenChar(59)},t.TSTypeAnnotation=function(e){this.tokenChar(58),this.space(),e.optional&&this.tokenChar(63);this.print(e.typeAnnotation,e)},t.TSTypeAssertion=function(e){const{typeAnnotation:t,expression:n}=e;this.tokenChar(60),this.print(t,e),this.tokenChar(62),this.space(),this.print(n,e)},t.TSTypeLiteral=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation,e)},t.TSTypeParameter=function(e){e.in&&(this.word("in"),this.space());e.out&&(this.word("out"),this.space());this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint,e));e.default&&(this.space(),this.tokenChar(61),this.space(),this.print(e.default,e))},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e,t){this.tokenChar(60),this.printList(e.params,e,{}),"ArrowFunctionExpression"===t.type&&1===e.params.length&&this.tokenChar(44);this.tokenChar(62)},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space());this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName),e.typeParameters&&this.print(e.typeParameters,e)},t.TSTypeReference=function(e){this.print(e.typeName,e,!0),this.print(e.typeParameters,e,!0)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){r(this,e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},t.tsPrintClassMemberModifiers=function(e){const t="ClassAccessorProperty"===e.type||"ClassProperty"===e.type;t&&e.declare&&(this.word("declare"),this.space());e.accessibility&&(this.word(e.accessibility),this.space());e.static&&(this.word("static"),this.space());e.override&&(this.word("override"),this.space());e.abstract&&(this.word("abstract"),this.space());t&&e.readonly&&(this.word("readonly"),this.space())},t.tsPrintFunctionOrConstructorType=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t,e),this.tokenChar(40),this._parameters(n,e),this.tokenChar(41),this.space(),this.token("=>"),this.space();const r=e.typeAnnotation;this.print(r.typeAnnotation,e)},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.tokenChar(91);this.print(e.key,e),e.computed&&this.tokenChar(93);e.optional&&this.tokenChar(63)},t.tsPrintSignatureDeclarationBase=function(e){const{typeParameters:t}=e,n=e.parameters;this.print(t,e),this.tokenChar(40),this._parameters(n,e),this.tokenChar(41);const r=e.typeAnnotation;this.print(r,e)},t.tsPrintTypeLiteralOrInterfaceBody=function(e,t){n(this,e,t)}},5059:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGenerator=void 0,t.default=function(e,t,n){return new a(e,t,n).generate()};var r=n(2564),i=n(516);class a extends i.default{constructor(e,t={},n){const i=function(e,t){var n;const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),recordAndTupleSyntaxType:null!=(n=t.recordAndTupleSyntaxType)?n:"hash",topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};r.decoratorsBeforeExport=t.decoratorsBeforeExport,r.jsescOption.json=t.jsonCompatibleStrings,r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.includes("@license")||e.includes("@preserve"));"auto"===r.compact&&(r.compact="string"===typeof e&&e.length>5e5,r.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`));r.compact&&(r.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:i,auxiliaryCommentAfter:a,shouldPrintComment:s}=r;i&&!s(i)&&(r.auxiliaryCommentBefore=void 0);a&&!s(a)&&(r.auxiliaryCommentAfter=void 0);return r}(n,t);super(i,t.sourceMaps?new r.default(t,n):null),this.ast=void 0,this.ast=e}generate(){return super.generate(this.ast)}}t.CodeGenerator=class{constructor(e,t,n){this._generator=void 0,this._generator=new a(e,t,n)}generate(){return this._generator.generate()}}},7533:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.needsParens=function(e,t,n){if(!t)return!1;if(u(t)&&t.callee===e&&h(e))return!0;return y(f,e,t,n)},t.needsWhitespace=m,t.needsWhitespaceAfter=function(e,t){return m(e,t,2)},t.needsWhitespaceBefore=function(e,t){return m(e,t,1)};var r=n(9750),i=n(7363),a=n(6067);const{FLIPPED_ALIAS_KEYS:s,isCallExpression:o,isExpressionStatement:l,isMemberExpression:c,isNewExpression:u}=a;function p(e){const t={};function n(e,n){const r=t[e];t[e]=r?function(e,t,i){const a=r(e,t,i);return null==a?n(e,t,i):a}:n}for(const r of Object.keys(e)){const t=s[r];if(t)for(const i of t)n(i,e[r]);else n(r,e[r])}return t}const f=p(i),d=p(r.nodes);function y(e,t,n,r){const i=e[t.type];return i?i(t,n,r):null}function h(e){return!!o(e)||c(e)&&h(e.object)}function m(e,t,n){if(!e)return!1;l(e)&&(e=e.expression);const r=y(d,e,t);return"number"===typeof r&&0!==(r&n)}},7363:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){return m(t)||se(e,t)},t.AssignmentExpression=function(e,t){return!!D(e.left)||se(e,t)},t.Binary=function(e,t){if("**"===e.operator&&c(t,{operator:"**"}))return t.left===e;if(re(e,t))return!0;if(ie(e,t)||$(t)||o(t))return!0;if(l(t)){const n=t.operator,r=te[n],i=e.operator,a=te[i];if(r===a&&t.right===e&&!C(t)||r>a)return!0}},t.BinaryExpression=function(e,t){return"in"===e.operator&&(z(t)||b(t))},t.ClassExpression=function(e,t,n){return oe(n,5)},t.ConditionalExpression=se,t.DoExpression=function(e,t,n){return!e.async&&oe(n,1)},t.FunctionExpression=function(e,t,n){return oe(n,5)},t.FunctionTypeAnnotation=function(e,t,n){if(n.length<3)return;return H(t)||O(t)||i(t)||G(t)&&a(n[n.length-3])},t.Identifier=function(e,t,n){var r;if(null!=(r=e.extra)&&r.parenthesized&&s(t,{left:e})&&(v(t.right)||d(t.right))&&null==t.right.id)return!0;if("let"===e.name){const r=I(t,{object:e,computed:!0})||N(t,{object:e,computed:!0,optional:!1});return oe(n,r?57:32)}return"async"===e.name&&E(t)&&e===t.left},t.LogicalExpression=function(e,t){if(ne(t))return!0;switch(e.operator){case"||":return!!C(t)&&("??"===t.operator||"&&"===t.operator);case"&&":return C(t,{operator:"??"});case"??":return C(t)&&"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return i(t)},t.ObjectExpression=function(e,t,n){return oe(n,3)},t.OptionalIndexedAccessType=function(e,t){return A(t,{objectType:e})},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return p(t,{callee:e})||I(t,{object:e})},t.SequenceExpression=function(e,t){if(P(t)||X(t)||M(t)||x(t)&&t.test===e||Q(t)&&t.test===e||g(t)&&t.right===e||j(t)&&t.discriminant===e||S(t)&&t.expression===e)return!1;return!0},t.TSTypeAssertion=t.TSSatisfiesExpression=t.TSAsExpression=function(){return!0},t.TSInferType=function(e,t){return B(t)||U(t)},t.TSInstantiationExpression=function(e,t){return(p(t)||k(t)||w(t)||R(t))&&!!t.typeParameters},t.TSIntersectionType=t.TSUnionType=function(e,t){return B(t)||U(t)||V(t)||q(t)||W(t)},t.UnaryLike=ae,t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){return i(t)||_(t)||O(t)||H(t)},t.UpdateExpression=function(e,t){return ie(e,t)||re(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){return l(t)||$(t)||ie(e,t)||o(t)&&Z(e)||h(t)&&e===t.test||re(e,t)};var r=n(6067);const{isArrayTypeAnnotation:i,isArrowFunctionExpression:a,isAssignmentExpression:s,isAwaitExpression:o,isBinary:l,isBinaryExpression:c,isUpdateExpression:u,isCallExpression:p,isClass:f,isClassExpression:d,isConditional:y,isConditionalExpression:h,isExportDeclaration:m,isExportDefaultDeclaration:T,isExpressionStatement:S,isFor:b,isForInStatement:g,isForOfStatement:E,isForStatement:P,isFunctionExpression:v,isIfStatement:x,isIndexedAccessType:A,isIntersectionTypeAnnotation:O,isLogicalExpression:C,isMemberExpression:I,isNewExpression:w,isNullableTypeAnnotation:_,isObjectPattern:D,isOptionalCallExpression:k,isOptionalMemberExpression:N,isReturnStatement:M,isSequenceExpression:L,isSwitchStatement:j,isTSArrayType:B,isTSAsExpression:F,isTSInstantiationExpression:R,isTSIntersectionType:V,isTSNonNullExpression:K,isTSOptionalType:U,isTSRestType:W,isTSTypeAssertion:Y,isTSUnionType:q,isTaggedTemplateExpression:J,isThrowStatement:X,isTypeAnnotation:G,isUnaryLike:$,isUnionTypeAnnotation:H,isVariableDeclarator:z,isWhileStatement:Q,isYieldExpression:Z,isTSSatisfiesExpression:ee}=r,te={"||":0,"??":0,"|>":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 ne(e){return F(e)||ee(e)||Y(e)}const re=(e,t)=>f(t,{superClass:e}),ie=(e,t)=>(I(t)||N(t))&&t.object===e||(p(t)||k(t)||w(t))&&t.callee===e||J(t)&&t.tag===e||K(t);function ae(e,t){return ie(e,t)||c(t,{operator:"**",left:e})||re(e,t)}function se(e,t){return!!($(t)||l(t)||h(t,{test:e})||o(t)||ne(t))||ae(e,t)}function oe(e,t){const n=1&t,r=2&t,i=4&t,o=8&t,c=16&t,p=32&t;let f=e.length-1;if(f<=0)return;let d=e[f];f--;let h=e[f];for(;f>=0;){if(n&&S(h,{expression:d})||i&&T(h,{declaration:d})||r&&a(h,{body:d})||o&&P(h,{init:d})||c&&g(h,{left:d})||p&&E(h,{left:d}))return!0;if(!(f>0&&(ie(d,h)&&!w(h)||L(h)&&h.expressions[0]===d||u(h)&&!h.prefix||y(h,{test:d})||l(h,{left:d})||s(h,{left:d}))))return!1;d=h,f--,h=e[f]}return!1}},9750:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nodes=void 0;var r=n(6067);const{FLIPPED_ALIAS_KEYS:i,isArrayExpression:a,isAssignmentExpression:s,isBinary:o,isBlockStatement:l,isCallExpression:c,isFunction:u,isIdentifier:p,isLiteral:f,isMemberExpression:d,isObjectExpression:y,isOptionalCallExpression:h,isOptionalMemberExpression:m,isStringLiteral:T}=r;function S(e,t){return e?(d(e)||m(e)?(S(e.object,t),e.computed&&S(e.property,t)):o(e)||s(e)?(S(e.left,t),S(e.right,t)):c(e)||h(e)?(t.hasCall=!0,S(e.callee,t)):u(e)?t.hasFunction=!0:p(e)&&(t.hasHelper=t.hasHelper||e.callee&&g(e.callee)),t):t}function b(e){return S(e,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function g(e){return!!e&&(d(e)?g(e.object)||g(e.property):p(e)?"require"===e.name||95===e.name.charCodeAt(0):c(e)?g(e.callee):!(!o(e)&&!s(e))&&(p(e.left)&&g(e.left)||g(e.right)))}function E(e){return f(e)||y(e)||a(e)||p(e)||d(e)}const P={AssignmentExpression(e){const t=b(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return t.hasFunction?3:2},SwitchCase:(e,t)=>(e.consequent.length||t.cases[0]===e?1:0)|(e.consequent.length||t.cases[t.cases.length-1]!==e?0:2),LogicalExpression(e){if(u(e.left)||u(e.right))return 2},Literal(e){if(T(e)&&"use strict"===e.value)return 2},CallExpression(e){if(u(e.callee)||g(e))return 3},OptionalCallExpression(e){if(u(e.callee))return 3},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const n=e.declarations[t];let r=g(n.id)&&!E(n.init);if(!r&&n.init){const e=b(n.init);r=g(n.init)&&e.hasCall||e.hasFunction}if(r)return 3}},IfStatement(e){if(l(e.consequent))return 3}};t.nodes=P,P.ObjectProperty=P.ObjectTypeProperty=P.ObjectMethod=function(e,t){if(t.properties[0]===e)return 1},P.ObjectTypeCallProperty=function(e,t){var n;if(t.callProperties[0]===e&&(null==(n=t.properties)||!n.length))return 1},P.ObjectTypeIndexer=function(e,t){var n,r;if(t.indexers[0]===e&&(null==(n=t.properties)||!n.length)&&(null==(r=t.callProperties)||!r.length))return 1},P.ObjectTypeInternalSlot=function(e,t){var n,r,i;if(t.internalSlots[0]===e&&(null==(n=t.properties)||!n.length)&&(null==(r=t.callProperties)||!r.length)&&(null==(i=t.indexers)||!i.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function([e,t]){[e].concat(i[e]||[]).forEach((function(e){const n=t?3:0;P[e]=()=>n}))}))},516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8726),i=n(7533),a=n(6067),s=n(4236);const{isFunction:o,isStatement:l,isClassBody:c,isTSInterfaceBody:u,isTSEnumDeclaration:p}=a,f=/e/i,d=/\.0+$/,y=/^0[box]/,h=/^\s*[@#]__PURE__\s*$/,m=/[\n\r\u2028\u2029]/,T=/\*\//,{needsParens:S}=i;class b{constructor(e,t){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._indentChar=0,this._indentRepeat=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=e,this._buf=new r.default(t),this._indentChar=e.indent.style.charCodeAt(0),this._indentRepeat=e.indent.style.length,this._inputMap=null==t?void 0:t._inputMap}generate(e){return this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(e=!1){this._maybeAddAuxComment(),e?this._appendChar(59):this._queue(59),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}space(e=!1){if(!this.format.compact)if(e)this._space();else if(this._buf.hasContent()){const e=this.getLastChar();32!==e&&10!==e&&this._space()}}word(e,t=!1){this._maybePrintInnerComments(),(this._endsWithWord||47===e.charCodeAt(0)&&this.endsWith(47))&&this._space(),this._maybeAddAuxComment(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=t}number(e){this.word(e),this._endsWithInteger=Number.isInteger(+e)&&!y.test(e)&&!f.test(e)&&!d.test(e)&&46!==e.charCodeAt(e.length-1)}token(e,t=!1){this._maybePrintInnerComments();const n=this.getLastChar(),r=e.charCodeAt(0);(33===n&&("--"===e||61===r)||43===r&&43===n||45===r&&45===n||46===r&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e,t),this._noLineTerminator=!1}tokenChar(e){this._maybePrintInnerComments();const t=this.getLastChar();(43===e&&43===t||45===e&&45===t||46===e&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,t){if(!(e<=0)){if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}e>2&&(e=2),e-=this._buf.getNewlineCount();for(let t=0;t<e;t++)this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){e?(this._catchUp("start",e),this._buf.exactSource(e,t)):t()}source(e,t){t&&(this._catchUp(e,t),this._buf.source(e,t))}sourceWithOffset(e,t,n){t&&(this._catchUp(e,t),this._buf.sourceWithOffset(e,t,n))}withSource(e,t,n){t?(this._catchUp(e,t),this._buf.withSource(e,t,n)):n()}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;const n=this._buf._sourcePosition;n.identifierNamePos=t,n.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_append(e,t){this._maybeAddParen(e),this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,t),this._endsWithWord=!1,this._endsWithInteger=!1}_appendChar(e){this._maybeAddParenChar(e),this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1}_queue(e){this._maybeAddParenChar(e),this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&10!==e&&this.endsWith(10)&&this._buf.queueIndentation(this._indentChar,this._getIndent())}_shouldIndent(e){if(this._indent&&10!==e&&this.endsWith(10))return!0}_maybeAddParenChar(e){const t=this._parenPushNewlineState;t&&32!==e&&(10===e?(this.tokenChar(40),this.indent(),t.printed=!0):this._parenPushNewlineState=null)}_maybeAddParen(e){const t=this._parenPushNewlineState;if(!t)return;const n=e.length;let r;for(r=0;r<n&&32===e.charCodeAt(r);r++)continue;if(r===n)return;const i=e.charCodeAt(r);if(10!==i){if(47!==i||r+1===n)return void(this._parenPushNewlineState=null);const t=e.charCodeAt(r+1);if(42===t){if(h.test(e.slice(r+2,n-2)))return}else if(47!==t)return void(this._parenPushNewlineState=null)}this.tokenChar(40),this.indent(),t.printed=!0}catchUp(e){if(!this.format.retainLines)return;const t=e-this._buf.getCurrentLine();for(let n=0;n<t;n++)this._newline()}_catchUp(e,t){var n;if(!this.format.retainLines)return;const r=null==t||null==(n=t[e])?void 0:n.line;if(null!=r){const e=r-this._buf.getCurrentLine();for(let t=0;t<e;t++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e,t,n){if(n)this._noLineTerminator=!0,this.print(e,t);else{const n={printed:!1};this._parenPushNewlineState=n,this.print(e,t),n.printed&&(this.dedent(),this.newline(),this.tokenChar(41))}}print(e,t,n,r,i){var a;if(!e)return;this._endsWithInnerRaw=!1;const s=e.type,o=this.format,l=o.concise;e._compact&&(o.concise=!0);const c=this[s];if(void 0===c)throw new ReferenceError(`unknown node of type ${JSON.stringify(s)} with constructor ${JSON.stringify(e.constructor.name)}`);this._printStack.push(e);const u=this._insideAux;this._insideAux=void 0==e.loc,this._maybeAddAuxComment(this._insideAux&&!u);const p=i||o.retainFunctionParens&&"FunctionExpression"===s&&(null==(a=e.extra)?void 0:a.parenthesized)||S(e,t,this._printStack);p&&(this.tokenChar(40),this._endsWithInnerRaw=!1),this._lastCommentLine=0,this._printLeadingComments(e,t);const f="Program"===s||"File"===s?null:e.loc;this.exactSource(f,c.bind(this,e,t)),p?(this._printTrailingComments(e,t),this.tokenChar(41),this._noLineTerminator=n):n&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,t)):this._printTrailingComments(e,t,r),this._printStack.pop(),o.concise=l,this._insideAux=u,this._endsWithInnerRaw=!1}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;const e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){const t=e.extra;if(t&&null!=t.raw&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,n={}){if(null==e||!e.length)return;let{indent:r}=n;if(null==r&&this.format.retainLines){var i;const t=null==(i=e[0].loc)?void 0:i.start.line;null!=t&&t!==this._buf.getCurrentLine()&&(r=!0)}r&&this.indent();const a={addNewlines:n.addNewlines,nextNodeStartLine:0},s=n.separator?n.separator.bind(this):null,o=e.length;for(let c=0;c<o;c++){const r=e[c];if(r&&(n.statement&&this._printNewline(0===c,a),this.print(r,t,void 0,n.trailingCommentsLineOffset||0),null==n.iterator||n.iterator(r,c),c<o-1&&(null==s||s()),n.statement))if(c+1===o)this.newline(1);else{var l;const t=e[c+1];a.nextNodeStartLine=(null==(l=t.loc)?void 0:l.start.line)||0,this._printNewline(!0,a)}}r&&this.dedent()}printAndIndentOnComments(e,t){const n=e.leadingComments&&e.leadingComments.length>0;n&&this.indent(),this.print(e,t),n&&this.dedent()}printBlock(e){const t=e.body;"EmptyStatement"!==t.type&&this.space(),this.print(t,e)}_printTrailingComments(e,t,n){const{innerComments:r,trailingComments:i}=e;null!=r&&r.length&&this._printComments(2,r,e,t,n),null!=i&&i.length&&this._printComments(2,i,e,t,n)}_printLeadingComments(e,t){const n=e.leadingComments;null!=n&&n.length&&this._printComments(0,n,e,t)}_maybePrintInnerComments(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){const e=this._printStack[this._printStack.length-1],t=e.innerComments;if(null==t||!t.length)return;const n=this.endsWith(32),r=this._indentInnerComments,i=this._printedComments.size;r&&this.indent(),this._printComments(1,t,e),n&&i!==this._printedComments.size&&this.space(),r&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,t,n={}){n.statement=!0,null!=n.indent||(n.indent=!1),this.printJoin(e,t,n)}printList(e,t,n={}){null==n.separator&&(n.separator=E),this.printJoin(e,t,n)}_printNewline(e,t){const n=this.format;if(n.retainLines||n.compact)return;if(n.concise)return void this.space();if(!e)return;const r=t.nextNodeStartLine,i=this._lastCommentLine;if(r>0&&i>0){const e=r-i;if(e>=0)return void this.newline(e||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e){return e.ignore||this._printedComments.has(e)?0:this._noLineTerminator&&(m.test(e.value)||T.test(e.value))?2:(this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0)}_printComment(e,t){const n=this._noLineTerminator,r="CommentBlock"===e.type,i=r&&1!==t&&!this._noLineTerminator;i&&this._buf.hasContent()&&2!==t&&this.newline(1);const a=this.getLastChar();let s;if(91!==a&&123!==a&&this.space(),r){if(s=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var o;const t=null==(o=e.loc)?void 0:o.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");s=s.replace(e,"\n")}let n=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(n+=this._getIndent()),s=s.replace(/\n(?!$)/g,`\n${" ".repeat(n)}`)}}else s=n?`/*${e.value}*/`:`//${e.value}`;this.endsWith(47)&&this._space(),this.source("start",e.loc),this._append(s,r),r||n||this.newline(1,!0),i&&3!==t&&this.newline(1)}_printComments(e,t,n,r,i=0){const a=n.loc,s=t.length;let f=!!a;const d=f?a.start.line:0,y=f?a.end.line:0;let h=0,T=0;const S=this._noLineTerminator?function(){}:this.newline.bind(this);for(let b=0;b<s;b++){const a=t[b],g=this._shouldPrintComment(a);if(2===g){f=!1;break}if(f&&a.loc&&1===g){const t=a.loc.start.line,n=a.loc.end.line;if(0===e){let e=0;0===b?!this._buf.hasContent()||"CommentLine"!==a.type&&t==n||(e=T=1):e=t-h,h=n,S(e),this._printComment(a,1),b+1===s&&(S(Math.max(d-h,T)),h=d)}else if(1===e){const e=t-(0===b?d:h);h=n,S(e),this._printComment(a,1),b+1===s&&(S(Math.min(1,y-h)),h=y)}else{const e=t-(0===b?y-i:h);h=n,S(e),this._printComment(a,1)}}else{if(f=!1,1!==g)continue;if(1===s){const t=a.loc?a.loc.start.line===a.loc.end.line:!m.test(a.value),i=t&&!l(n)&&!c(r)&&!u(r)&&!p(r);0===e?this._printComment(a,i&&"ObjectExpression"!==n.type||t&&o(r,{body:n})?1:0):i&&2===e?this._printComment(a,1):this._printComment(a,0)}else 1!==e||"ObjectExpression"===n.type&&n.properties.length>1||"ClassBody"===n.type||"TSInterfaceBody"===n.type?this._printComment(a,0):this._printComment(a,0===b?2:b===s-1?3:0)}}2===e&&f&&h&&(this._lastCommentLine=h)}}Object.assign(b.prototype,s),b.prototype.Noop=function(){};var g=b;function E(){this.tokenChar(44),this.space()}t.default=g},2564:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2509),i=n(3446);t.default=class{constructor(e,t){var n;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;const a=this._map=new r.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=null==(n=e.sourceFileName)?void 0:n.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new i.TraceMap(e.inputSourceMap);const t=this._inputMap.resolvedSources;if(t.length)for(let e=0;e<t.length;e++){var s;(0,r.setSourceContent)(a,t[e],null==(s=this._inputMap.sourcesContent)?void 0:s[e])}}if("string"!==typeof t||e.inputSourceMap){if("object"===typeof t)for(const i of Object.keys(t))(0,r.setSourceContent)(a,i.replace(/\\/g,"/"),t[i])}else(0,r.setSourceContent)(a,this._sourceFileName,t)}get(){return(0,r.toEncodedMap)(this._map)}getDecoded(){return(0,r.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,r.allMappings)(this._map))}mark(e,t,n,a,s,o){var l;let c;if(this._rawMappings=void 0,null!=t)if(this._inputMap){if(c=(0,i.originalPositionFor)(this._inputMap,{line:t,column:n}),!c.name&&s){const e=(0,i.originalPositionFor)(this._inputMap,s);e.name&&(a=e.name)}}else c={source:(null==o?void 0:o.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:n};(0,r.maybeAddMapping)(this._map,{name:a,generated:e,source:null==(l=c)?void 0:l.source,original:c})}}},4705:function(e,t){"use strict";function n(e){const{context:t,node:n}=e;if(n.computed&&t.maybeQueue(e.get("key")),n.decorators)for(const r of e.get("decorators"))t.maybeQueue(r)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.requeueComputedKeyAndDecorators=n,t.skipAllButComputedKey=function(e){e.skip(),e.node.computed&&e.context.maybeQueue(e.get("key"))};var r={FunctionParent(e){e.isArrowFunctionExpression()||(e.skip(),e.isMethod()&&n(e))},Property(e){e.isObjectProperty()||(e.skip(),n(e))}};t.default=r},2023:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({node:e,parent:t,scope:n,id:r},i=!1,x=!1){if(e.id)return;if(!h(t)&&!y(t,{kind:"method"})||t.computed&&!f(t.key)){if(b(t)){if(r=t.id,p(r)&&!i){const t=n.parent.getBinding(r.name);if(t&&t.constant&&n.getBinding(r.name)===t)return e.id=s(r),void(e.id[a]=!0)}}else if(l(t,{operator:"="}))r=t.left;else if(!r)return}else r=t.key;let A;r&&f(r)?A=function(e){if(d(e))return"null";if(m(e))return`_${e.pattern}_${e.flags}`;if(S(e))return e.quasis.map((e=>e.value.raw)).join("");if(void 0!==e.value)return e.value+"";return""}(r):r&&p(r)&&(A=r.name);if(void 0===A)return;if(!x&&u(e)&&/[\uD800-\uDFFF]/.test(A))return;A=g(A);const O=o(A);O[a]=!0;return function(e,t,n,r){if(e.selfReference){if(!r.hasBinding(n.name)||r.hasGlobal(n.name)){if(!u(t))return;let e=E;t.generator&&(e=P);const i=e({FUNCTION:t,FUNCTION_ID:n,FUNCTION_KEY:r.generateUidIdentifier(n.name)}).expression,a=i.callee.body.body[0].params;for(let n=0,s=function(e){const t=e.params.findIndex((e=>c(e)||T(e)));return-1===t?e.params.length:t}(t);n<s;n++)a.push(r.generateUidIdentifier("x"));return i}r.rename(n.name)}t.id=n,r.getProgramParent().references[n.name]=!0}(function(e,t,n){const r={selfAssignment:!1,selfReference:!1,outerDeclar:n.getBindingIdentifier(t),name:t},i=n.getOwnBinding(t);i?"param"===i.kind&&(r.selfReference=!0):(r.outerDeclar||n.hasGlobal(t))&&n.traverse(e,v,r);return r}(e,A,n),e,O,n)||e};var r=n(3065),i=n(6067);const{NOT_LOCAL_BINDING:a,cloneNode:s,identifier:o,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:u,isIdentifier:p,isLiteral:f,isNullLiteral:d,isObjectMethod:y,isObjectProperty:h,isRegExpLiteral:m,isRestElement:T,isTemplateLiteral:S,isVariableDeclarator:b,toBindingIdentifierName:g}=i;const E=r.default.statement("\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n"),P=r.default.statement("\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n"),v={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;e.scope.getBindingIdentifier(t.name)===t.outerDeclar&&(t.selfReference=!0,e.stop())}}},7438:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n="var"){e.traverse(o,{kind:n,emit:t})};var r=n(6067);const{assignmentExpression:i,expressionStatement:a,identifier:s}=r,o={Scope(e,t){"let"===t.kind&&e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const n=[],r=e.get("declarations");let o;for(const l of r){o=l.node.id,l.node.init&&n.push(a(i("=",l.node.id,l.node.init)));for(const e of Object.keys(l.getBindingIdentifiers()))t.emit(s(e),e,null!==l.node.init)}e.parentPath.isFor({left:e.node})?e.replaceWith(o):e.replaceWithMultiple(n)}}},3472:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(e.isExportDefaultDeclaration()){const t=e.get("declaration"),n=t.isFunctionDeclaration()||t.isClassDeclaration(),r=t.isFunctionExpression()||t.isClassExpression(),u=t.isScope()?t.scope.parent:t.scope;let p=t.node.id,f=!1;p?r&&u.hasBinding(p.name)&&(f=!0,p=u.generateUidIdentifier(p.name)):(f=!0,p=u.generateUidIdentifier("default"),(n||r)&&(t.node.id=i(p)));const d=n?t.node:l("var",[c(i(p),t.node)]),y=a(null,[s(i(p),o("default"))]);return e.insertAfter(y),e.replaceWith(d),f&&u.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const t=e.get("declaration"),n=t.getOuterBindingIdentifiers(),r=Object.keys(n).map((e=>s(o(e),o(e)))),u=a(null,r);return e.insertAfter(u),e.replaceWith(t.node),e};var r=n(6067);const{cloneNode:i,exportNamedDeclaration:a,exportSpecifier:s,identifier:o,variableDeclaration:l,variableDeclarator:c}=r},7648:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readCodePoint=c,t.readInt=l,t.readStringContents=function(e,t,n,r,i,o){const l=n,c=r,u=i;let p="",f=null,d=n;const{length:y}=t;for(;;){if(n>=y){o.unterminated(l,c,u),p+=t.slice(d,n);break}const h=t.charCodeAt(n);if(a(e,h,t,n)){p+=t.slice(d,n);break}if(92===h){p+=t.slice(d,n);const a=s(t,n,r,i,"template"===e,o);null!==a.ch||f?p+=a.ch:f={pos:n,lineStart:r,curLine:i},({pos:n,lineStart:r,curLine:i}=a),d=n}else 8232===h||8233===h?(++n,++i,r=n):10===h||13===h?"template"===e?(p+=t.slice(d,n)+"\n",++n,13===h&&10===t.charCodeAt(n)&&++n,++i,d=r=n):o.unterminated(l,c,u):++n}return{pos:n,str:p,firstInvalidLoc:f,lineStart:r,curLine:i,containsInvalid:!!f}};var n=function(e){return e>=48&&e<=57};const r={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},i={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 a(e,t,n,r){return"template"===e?96===t||36===t&&123===n.charCodeAt(r+1):t===("double"===e?34:39)}function s(e,t,n,r,i,a){const s=!i;t++;const l=e=>({pos:t,ch:e,lineStart:n,curLine:r}),u=e.charCodeAt(t++);switch(u){case 110:return l("\n");case 114:return l("\r");case 120:{let i;return({code:i,pos:t}=o(e,t,n,r,2,!1,s,a)),l(null===i?null:String.fromCharCode(i))}case 117:{let i;return({code:i,pos:t}=c(e,t,n,r,s,a)),l(null===i?null:String.fromCodePoint(i))}case 116:return l("\t");case 98:return l("\b");case 118:return l("\v");case 102:return l("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:n=t,++r;case 8232:case 8233:return l("");case 56:case 57:if(i)return l(null);a.strictNumericEscape(t-1,n,r);default:if(u>=48&&u<=55){const s=t-1;let o=e.slice(s,t+2).match(/^[0-7]+/)[0],c=parseInt(o,8);c>255&&(o=o.slice(0,-1),c=parseInt(o,8)),t+=o.length-1;const u=e.charCodeAt(t);if("0"!==o||56===u||57===u){if(i)return l(null);a.strictNumericEscape(s,n,r)}return l(String.fromCharCode(c))}return l(String.fromCharCode(u))}}function o(e,t,n,r,i,a,s,o){const c=t;let u;return({n:u,pos:t}=l(e,t,n,r,16,i,a,!1,o,!s)),null===u&&(s?o.invalidEscapeSequence(c,n,r):t=c-1),{code:u,pos:t}}function l(e,t,a,s,o,l,c,u,p,f){const d=t,y=16===o?r.hex:r.decBinOct,h=16===o?i.hex:10===o?i.dec:8===o?i.oct:i.bin;let m=!1,T=0;for(let r=0,i=null==l?1/0:l;r<i;++r){const r=e.charCodeAt(t);let i;if(95!==r||"bail"===u){if(i=r>=97?r-97+10:r>=65?r-65+10:n(r)?r-48:1/0,i>=o){if(i<=9&&f)return{n:null,pos:t};if(i<=9&&p.invalidDigit(t,a,s,o))i=0;else{if(!c)break;i=0,m=!0}}++t,T=T*o+i}else{const n=e.charCodeAt(t-1),r=e.charCodeAt(t+1);if(u){if(Number.isNaN(r)||!h(r)||y.has(n)||y.has(r)){if(f)return{n:null,pos:t};p.unexpectedNumericSeparator(t,a,s)}}else{if(f)return{n:null,pos:t};p.numericSeparatorInEscapeSequence(t,a,s)}++t}}return t===d||null!=l&&t-d!==l||m?{n:null,pos:t}:{n:T,pos:t}}function c(e,t,n,r,i,a){let s;if(123===e.charCodeAt(t)){if(++t,({code:s,pos:t}=o(e,t,n,r,e.indexOf("}",t)-t,!0,i,a)),++t,null!==s&&s>1114111){if(!i)return{code:null,pos:t};a.invalidCodePoint(t,n,r)}}else({code:s,pos:t}=o(e,t,n,r,4,!1,i,a));return{code:s,pos:t}}},7749:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=u,t.isIdentifierName=function(e){let t=!0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(55296===(64512&r)&&n+1<e.length){const t=e.charCodeAt(++n);56320===(64512&t)&&(r=65536+((1023&r)<<10)+(1023&t))}if(t){if(t=!1,!c(r))return!1}else if(!u(r))return!1}return!t},t.isIdentifierStart=c;let n="\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\u0560-\u0588\u05d0-\u05ea\u05ef-\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\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\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\u09fc\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\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\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\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\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-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\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-\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-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\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-\uab69\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",r="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";const i=new RegExp("["+n+"]"),a=new RegExp("["+n+r+"]");n=r=null;const s=[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],o=[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 l(e,t){let n=65536;for(let r=0,i=t.length;r<i;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function c(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,s)))}function u(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):l(e,s)||l(e,o))))}},9649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return r.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return r.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return r.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var r=n(7749),i=n(5562)},5562:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return i.has(e)},t.isReservedWord=o,t.isStrictBindOnlyReservedWord=c,t.isStrictBindReservedWord=function(e,t){return l(e,t)||c(e)},t.isStrictReservedWord=l;const n=["implements","interface","let","package","private","protected","public","static","yield"],r=["eval","arguments"],i=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"]),a=new Set(n),s=new Set(r);function o(e,t){return t&&"await"===e||"enum"===e}function l(e,t){return o(e,t)||a.has(e)}function c(e){return s.has(e)}},8530:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){if(""!==e&&u(t)){const n=function(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(p(t));return function(e,t){let n="";for(const{type:r,value:i}of c(t)){const t=e[r];n+=t?i.split(o).map((e=>t(e))).join("\n"):i}return n}(n,e)}return e},t.getChalk=p,t.shouldHighlight=u;var r=n(6188),i=n(9649),a=n(2589);const s=new Set(["as","async","from","get","of","set"]);const o=/\r\n|[\n\r\u2028\u2029]/,l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i,t=function(t,n,r){if("name"===t.type){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,!0)||s.has(t.value))return"keyword";if(e.test(t.value)&&("<"===r[n-1]||"</"==r.slice(n-2,n)))return"jsxIdentifier";if(t.value[0]!==t.value[0].toLowerCase())return"capitalized"}return"punctuator"===t.type&&l.test(t.value)?"bracket":"invalid"!==t.type||"@"!==t.value&&"#"!==t.value?t.type:"punctuator"};c=function*(e){let n;for(;n=r.default.exec(e);){const i=r.matchToToken(n);yield{type:t(i,n.index,e),value:i.value}}}}function u(e){return!!a.supportsColor||e.forceColor}function p(e){return e.forceColor?new a.constructor({enabled:!0,level:1}):a}},5467:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){const l=new WeakMap,c=new WeakMap,u=n||(0,r.validate)(null);return Object.assign(((n,...s)=>{if("string"===typeof n){if(s.length>1)throw new Error("Unexpected extra params.");return o((0,i.default)(t,n,(0,r.merge)(u,(0,r.validate)(s[0]))))}if(Array.isArray(n)){let e=l.get(n);return e||(e=(0,a.default)(t,n,u),l.set(n,e)),o(e(s))}if("object"===typeof n&&n){if(s.length>0)throw new Error("Unexpected extra params.");return e(t,(0,r.merge)(u,(0,r.validate)(n)))}throw new Error("Unexpected template param "+typeof n)}),{ast:(e,...n)=>{if("string"===typeof e){if(n.length>1)throw new Error("Unexpected extra params.");return(0,i.default)(t,e,(0,r.merge)((0,r.merge)(u,(0,r.validate)(n[0])),s))()}if(Array.isArray(e)){let i=c.get(e);return i||(i=(0,a.default)(t,e,(0,r.merge)(u,s)),c.set(e,i)),i(n)()}throw new Error("Unexpected template param "+typeof e)}})};var r=n(2655),i=n(5650),a=n(2579);const s=(0,r.validate)({placeholderPattern:!1});function o(e){let t="";try{throw new Error}catch(n){n.stack&&(t=n.stack.split("\n").slice(3).join("\n"))}return n=>{try{return e(n)}catch(r){throw r.stack+=`\n =============\n${t}`,r}}}},6586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=void 0;var r=n(6067);const{assertExpressionStatement:i}=r;function a(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const s=a((e=>e.length>1?e:e[0]));t.smart=s;const o=a((e=>e));t.statements=o;const l=a((e=>{if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]}));t.statement=l;const c={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===c.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{const[t]=e.body;return i(t),t.expression}};t.expression=c;t.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}},3065:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=t.default=void 0;var r=n(6586),i=n(5467);const a=(0,i.default)(r.smart);t.smart=a;const s=(0,i.default)(r.statement);t.statement=s;const o=(0,i.default)(r.statements);t.statements=o;const l=(0,i.default)(r.expression);t.expression=l;const c=(0,i.default)(r.program);t.program=c;var u=Object.assign(a.bind(void 0),{smart:a,statement:s,statements:o,expression:l,program:c,ast:a.ast});t.default=u},2579:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{metadata:s,names:o}=function(e,t,n){let r="BABEL_TPL$";const a=t.join("");do{r="$$"+r}while(a.includes(r));const{names:s,code:o}=function(e,t){const n=[];let r=e[0];for(let i=1;i<e.length;i++){const a=`${t}${i-1}`;n.push(a),r+=a+e[i]}return{names:n,code:r}}(t,r);return{metadata:(0,i.default)(e,e.code(o),{parser:n.parser,placeholderWhitelist:new Set(s.concat(n.placeholderWhitelist?Array.from(n.placeholderWhitelist):[])),placeholderPattern:n.placeholderPattern,preserveComments:n.preserveComments,syntacticPlaceholders:n.syntacticPlaceholders}),names:s}}(e,t,n);return t=>{const n={};return t.forEach(((e,t)=>{n[o[t]]=e})),t=>{const i=(0,r.normalizeReplacements)(t);return i&&Object.keys(i).forEach((e=>{if(Object.prototype.hasOwnProperty.call(n,e))throw new Error("Unexpected replacement overlap.")})),e.unwrap((0,a.default)(s,i?Object.assign(i,n):n))}}};var r=n(2655),i=n(6382),a=n(8112)},2655:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=function(e,t){const{placeholderWhitelist:n=e.placeholderWhitelist,placeholderPattern:r=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:a=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:n,placeholderPattern:r,preserveComments:i,syntacticPlaceholders:a}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce(((e,t,n)=>(e["$"+n]=t,e)),{});if("object"===typeof e||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},t.validate=function(e){if(null!=e&&"object"!==typeof e)throw new Error("Unknown template options.");const t=e||{},{placeholderWhitelist:r,placeholderPattern:i,preserveComments:a,syntacticPlaceholders:s}=t,o=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,n);if(null!=r&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=i&&!(i instanceof RegExp)&&!1!==i)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=a&&"boolean"!==typeof a)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=s&&"boolean"!==typeof s)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===s&&(null!=r||null!=i))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:o,placeholderWhitelist:r||void 0,placeholderPattern:null==i?void 0:i,preserveComments:null==a?void 0:a,syntacticPlaceholders:null==s?void 0:s}};const n=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},6382:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{placeholderWhitelist:r,placeholderPattern:s,preserveComments:o,syntacticPlaceholders:l}=n,c=function(e,t,n){const r=(t.plugins||[]).slice();!1!==n&&r.push("placeholders");t=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},t,{plugins:r});try{return(0,i.parse)(e,t)}catch(s){const t=s.loc;throw t&&(s.message+="\n"+(0,a.codeFrameColumns)(e,{start:t}),s.code="BABEL_TEMPLATE_PARSE_ERROR"),s}}(t,n.parser,l);h(c,{preserveComments:o}),e.validate(c);const u={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:r,placeholderPattern:s,syntacticPlaceholders:l};return m(c,S,u),Object.assign({ast:c},u.syntactic.placeholders.length?u.syntactic:u.legacy)};var r=n(6067),i=n(7191),a=n(4704);const{isCallExpression:s,isExpressionStatement:o,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:f,isStatement:d,isStringLiteral:y,removePropertiesDeep:h,traverse:m}=r,T=/^[_$A-Z0-9]+$/;function S(e,t,n){var r;let i,a=n.syntactic.placeholders.length>0;if(f(e)){if(!1===n.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,a=!0}else{if(a||n.syntacticPlaceholders)return;if(c(e)||u(e))i=e.name;else{if(!y(e))return;i=e.value}}if(a&&(null!=n.placeholderPattern||null!=n.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!a&&(!1===n.placeholderPattern||!(n.placeholderPattern||T).test(i))&&(null==(r=n.placeholderWhitelist)||!r.has(i)))return;t=t.slice();const{node:h,key:m}=t[t.length-1];let S;y(e)||f(e,{expectedNode:"StringLiteral"})?S="string":p(h)&&"arguments"===m||s(h)&&"arguments"===m||l(h)&&"params"===m?S="param":o(h)&&!f(e)?(S="statement",t=t.slice(0,-1)):S=d(e)&&f(e)?"statement":"other";const{placeholders:b,placeholderNames:g}=a?n.syntactic:n.legacy;b.push({name:i,type:S,resolve:e=>function(e,t){let n=e;for(let a=0;a<t.length-1;a++){const{key:e,index:r}=t[a];n=void 0===r?n[e]:n[e][r]}const{key:r,index:i}=t[t.length-1];return{parent:n,key:r,index:i}}(e,t),isDuplicate:g.has(i)}),g.add(i)}},8112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=a(e.ast);t&&(e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}})),Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t))throw new Error(`Unknown substitution "${t}" given`)})));return e.placeholders.slice().reverse().forEach((e=>{try{!function(e,t,n){e.isDuplicate&&(Array.isArray(n)?n=n.map((e=>a(e))):"object"===typeof n&&(n=a(n)));const{parent:r,key:d,index:y}=e.resolve(t);if("string"===e.type){if("string"===typeof n&&(n=p(n)),!n||!u(n))throw new Error("Expected string substitution")}else if("statement"===e.type)void 0===y?n?Array.isArray(n)?n=i(n):"string"===typeof n?n=o(l(n)):c(n)||(n=o(n)):n=s():n&&!Array.isArray(n)&&("string"===typeof n&&(n=l(n)),c(n)||(n=o(n)));else if("param"===e.type){if("string"===typeof n&&(n=l(n)),void 0===y)throw new Error("Assertion failure.")}else if("string"===typeof n&&(n=l(n)),Array.isArray(n))throw new Error("Cannot replace single expression with an array.");if(void 0===y)f(r,d,n),r[d]=n;else{const t=r[d].slice();"statement"===e.type||"param"===e.type?null==n?t.splice(y,1):Array.isArray(n)?t.splice(y,1,...n):t[y]=n:t[y]=n,f(r,d,t),r[d]=t}}(e,n,t&&t[e.name]||null)}catch(r){throw r.message=`@babel/template placeholder "${e.name}": ${r.message}`,r}})),n};var r=n(6067);const{blockStatement:i,cloneNode:a,emptyStatement:s,expressionStatement:o,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:f}=r},5650:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let s;return t=e.code(t),o=>{const l=(0,r.normalizeReplacements)(o);return s||(s=(0,i.default)(e,t,n)),e.unwrap((0,a.default)(s,l))}};var r=n(2655),i=n(6382),a=n(8112)},9446:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){i(),a()},t.clearPath=i,t.clearScope=a,t.scope=t.path=void 0;let n=new WeakMap;t.path=n;let r=new WeakMap;function i(){t.path=n=new WeakMap}function a(){t.scope=r=new WeakMap}t.scope=r},4165:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(763),i=n(6067);const{VISITOR_KEYS:a}=i;t.default=class{constructor(e,t,n,r){this.queue=null,this.priorityQueue=null,this.parentPath=r,this.scope=e,this.state=n,this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return!0;if(t[e.type])return!0;const n=a[e.type];if(null==n||!n.length)return!1;for(const r of n)if(e[r])return!0;return!1}create(e,t,n,i){return r.default.get({parentPath:this.parentPath,parent:e,container:t,key:n,listKey:i})}maybeQueue(e,t){this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,t,n){if(0===e.length)return!1;const r=[];for(let i=0;i<e.length;i++){const a=e[i];a&&this.shouldVisit(a)&&r.push(this.create(t,e,i,n))}return this.visitQueue(r)}visitSingle(e,t){return!!this.shouldVisit(e[t])&&this.visitQueue([this.create(e,e,t)])}visitQueue(e){this.queue=e,this.priorityQueue=[];const t=new WeakSet;let n=!1;for(const r of e){if(r.resync(),0!==r.contexts.length&&r.contexts[r.contexts.length-1]===this||r.pushContext(this),null===r.key)continue;const{node:i}=r;if(!t.has(i)){if(i&&t.add(i),r.visit()){n=!0;break}if(this.priorityQueue.length&&(n=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,n))break}}for(const r of e)r.popContext();return this.queue=null,n}visit(e,t){const n=e[t];return!!n&&(Array.isArray(n)?this.visitMultiple(n,e,t):this.visitSingle(e,t))}}},9799:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,n=TypeError){return new n(t)}}},5686:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"NodePath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return l.default}}),t.visitors=t.default=void 0;var r=n(6510);t.visitors=r;var i=n(6067),a=n(9446),s=n(9432),o=n(763),l=n(200),c=n(9799);const{VISITOR_KEYS:u,removeProperties:p,traverseFast:f}=i;function d(e,t={},n,i,a){if(e){if(!t.noScope&&!n&&"Program"!==e.type&&"File"!==e.type)throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${e.type} node without passing scope and parentPath.`);u[e.type]&&(r.explode(t),(0,s.traverseNode)(e,t,n,i,a))}}var y=d;function h(e,t){e.node.type===t.type&&(t.has=!0,e.stop())}t.default=y,d.visitors=r,d.verify=r.verify,d.explode=r.explode,d.cheap=function(e,t){f(e,t)},d.node=function(e,t,n,r,i,a){(0,s.traverseNode)(e,t,n,r,i,a)},d.clearNode=function(e,t){p(e,t),a.path.delete(e)},d.removeProperties=function(e,t){return f(e,d.clearNode,t),e},d.hasType=function(e,t,n){if(null!=n&&n.includes(e.type))return!1;if(e.type===t)return!0;const r={has:!1,type:t};return d(e,{noScope:!0,denylist:n,enter:h},null,r),r.has},d.cache=a},531:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null},t.findParent=function(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null},t.getAncestry=function(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t},t.getDeepestCommonAncestorFrom=function(e,t){if(!e.length)return this;if(1===e.length)return e[0];let n,r,i=1/0;const a=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);return t.length<i&&(i=t.length),t})),s=a[0];e:for(let o=0;o<i;o++){const e=s[o];for(const t of a)if(t[o]!==e)break e;n=o,r=e}if(r)return t?t(r,n,a):r;throw new Error("Couldn't find intersection")},t.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,n){let r;const a=i[e.type];for(const i of n){const e=i[t+1];if(!r){r=e;continue}if(e.listKey&&r.listKey===e.listKey&&e.key<r.key){r=e;continue}a.indexOf(r.parentKey)>a.indexOf(e.parentKey)&&(r=e)}return r}))},t.getFunctionParent=function(){return this.findParent((e=>e.isFunction()))},t.getStatementParent=function(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e},t.inType=function(...e){let t=this;for(;t;){for(const n of e)if(t.node.type===n)return!0;t=t.parentPath}return!1},t.isAncestor=function(e){return e.isDescendant(this)},t.isDescendant=function(e){return!!this.findParent((t=>t===e))};var r=n(6067);const{VISITOR_KEYS:i}=r},1801:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addComment=function(e,t,n){i(this.node,e,t,n)},t.addComments=function(e,t){a(this.node,e,t)},t.shareCommentsWithSiblings=function(){if("string"===typeof this.key)return;const e=this.node;if(!e)return;const t=e.trailingComments,n=e.leadingComments;if(!t&&!n)return;const r=this.getSibling(this.key-1),i=this.getSibling(this.key+1),a=Boolean(r.node),o=Boolean(i.node);a&&(n&&r.addComments("trailing",s(n,r.node.trailingComments)),t&&!o&&r.addComments("trailing",t));o&&(t&&i.addComments("leading",s(t,i.node.leadingComments)),n&&!a&&i.addComments("leading",n))};var r=n(6067);const{addComment:i,addComments:a}=r;function s(e,t){if(!t)return e;let n=-1;return e.filter((e=>{const r=t.indexOf(e,n);if(-1===r)return!0;n=r}))}},2981:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._call=function(e){if(!e)return!1;for(const t of e){if(!t)continue;const e=this.node;if(!e)return!0;const n=t.call(this.state,this,this.state);if(n&&"object"===typeof n&&"function"===typeof n.then)throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(n)throw new Error(`Unexpected return value from visitor method ${t}`);if(this.node!==e)return!0;if(this._traverseFlags>0)return!0}return!1},t._getQueueContexts=function(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,e);)t=e.contexts;return t},t._resyncKey=function(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++)if(this.container[e]===this.node)return void this.setKey(e)}else for(const e of Object.keys(this.container))if(this.container[e]===this.node)return void this.setKey(e);this.key=null},t._resyncList=function(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];if(this.container===e)return;this.container=e||null},t._resyncParent=function(){this.parentPath&&(this.parent=this.parentPath.node)},t._resyncRemoved=function(){null!=this.key&&this.container&&this.container[this.key]===this.node||this._markRemoved()},t.call=function(e){const t=this.opts;if(this.debug(e),this.node&&this._call(t[e]))return!0;var n;return!!this.node&&this._call(null==(n=t[this.node.type])?void 0:n[e])},t.isBlacklisted=t.isDenylisted=function(){var e;const t=null!=(e=this.opts.denylist)?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1},t.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},t.pushContext=function(e){this.contexts.push(e),this.setContext(e)},t.requeue=function(e=this){if(e.removed)return;const t=this.contexts;for(const n of t)n.maybeQueue(e)},t.resync=function(){if(this.removed)return;this._resyncParent(),this._resyncList(),this._resyncKey()},t.setContext=function(e){null!=this.skipKeys&&(this.skipKeys={});this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts);return this.setScope(),this},t.setKey=function(e){var t;this.key=e,this.node=this.container[this.key],this.type=null==(t=this.node)?void 0:t.type},t.setScope=function(){var e,t;if(null!=(e=this.opts)&&e.noScope)return;let n,r=this.parentPath;(("key"===this.key||"decorators"===this.listKey)&&r.isMethod()||"discriminant"===this.key&&r.isSwitchStatement())&&(r=r.parentPath);for(;r&&!n;){var i;if(null!=(i=r.opts)&&i.noScope)return;n=r.scope,r=r.parentPath}this.scope=this.getScope(n),null==(t=this.scope)||t.init()},t.setup=function(e,t,n,r){this.listKey=n,this.container=t,this.parentPath=e||this.parentPath,this.setKey(r)},t.skip=function(){this.shouldSkip=!0},t.skipKey=function(e){null==this.skipKeys&&(this.skipKeys={});this.skipKeys[e]=!0},t.stop=function(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP},t.visit=function(){var e,t;if(!this.node)return!1;if(this.isDenylisted())return!1;if(null!=(e=(t=this.opts).shouldSkip)&&e.call(t,this))return!1;const n=this.context;if(this.shouldSkip||this.call("enter"))return this.debug("Skip..."),this.shouldStop;return a(this,n),this.debug("Recursing into..."),this.shouldStop=(0,r.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),a(this,n),this.call("exit"),this.shouldStop};var r=n(9432),i=n(763);function a(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}},6309:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrowFunctionToExpression=function({allowInsertArrow:e=!0,allowInsertArrowWithRest:t=e,noNewArrows:n=!(()=>{var e;return null==(e=arguments[0])?void 0:e.specCompliant})()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");const{thisBinding:r,fnPath:i}=M(this,n,e,t);if(i.ensureBlock(),k(i,"FunctionExpression"),!n){const e=r?null:i.scope.generateUidIdentifier("arrowCheckId");return e&&i.parentPath.scope.push({id:e,init:P([])}),i.get("body").unshiftContainer("body",d(p(this.hub.addHelper("newArrowCheck"),[w(),y(e?e.name:r)]))),i.replaceWith(p(b((0,a.default)(this,!0)||i.node,y("bind")),[e?y(e.name):w()])),i.get("callee.object")}return i},t.ensureBlock=function(){const e=this.get("body"),t=e.node;if(Array.isArray(e))throw new Error("Can't convert array path to a block statement");if(!t)throw new Error("Can't convert node without a body");if(e.isBlockStatement())return t;const n=[];let r,i,a="body";e.isStatement()?(i="body",r=0,n.push(e.node)):(a+=".body.0",this.isFunction()?(r="argument",n.push(x(e.node))):(r="expression",n.push(d(e.node))));this.node.body=u(n);const s=this.get(a);return e.setup(s,i?s.node[i]:s.node,i,r),this.node},t.toComputedKey=function(){let e;if(this.isMemberExpression())e=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");e=this.node.key}this.node.computed||h(e)&&(e=C(e.name));return e},t.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");M(this)};var r=n(6067),i=n(4705),a=n(2023),s=n(6510);const{arrowFunctionExpression:o,assignmentExpression:l,binaryExpression:c,blockStatement:u,callExpression:p,conditionalExpression:f,expressionStatement:d,identifier:y,isIdentifier:h,jsxIdentifier:m,logicalExpression:T,LOGICAL_OPERATORS:S,memberExpression:b,metaProperty:g,numericLiteral:E,objectExpression:P,restElement:v,returnStatement:x,sequenceExpression:A,spreadElement:O,stringLiteral:C,super:I,thisExpression:w,toExpression:_,unaryExpression:D}=r;function k(e,t){e.node.type=t}t.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};const N=(0,s.merge)([{CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}},i.default]);function M(e,t=!0,n=!0,r=!0){let i,a=e.findParent((e=>e.isArrowFunctionExpression()?(null!=i||(i=e),!1):e.isFunction()||e.isProgram()||e.isClassProperty({static:!1})||e.isClassPrivateProperty({static:!1})));const s=a.isClassMethod({kind:"constructor"});if(a.isClassProperty()||a.isClassPrivateProperty())if(i)a=i;else{if(!n)throw e.buildCodeFrameError("Unable to transform arrow inside class property");e.replaceWith(p(o([],_(e.node)),[])),a=e.get("callee"),e=a.get("body")}const{thisPaths:u,argumentsPaths:d,newTargetPaths:h,superProps:P,superCalls:x}=function(e){const t=[],n=[],r=[],i=[],a=[];return e.traverse(F,{thisPaths:t,argumentsPaths:n,newTargetPaths:r,superProps:i,superCalls:a}),{thisPaths:t,argumentsPaths:n,newTargetPaths:r,superProps:i,superCalls:a}}(e);if(s&&x.length>0){if(!n)throw x[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!r)throw x[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");const e=[];a.traverse(N,{allSuperCalls:e});const t=function(e){return B(e,"supercall",(()=>{const t=e.scope.generateUidIdentifier("args");return o([v(t)],p(I(),[O(y(t.name))]))}))}(a);e.forEach((e=>{const n=y(t);n.loc=e.node.callee.loc,e.get("callee").replaceWith(n)}))}if(d.length>0){const e=B(a,"arguments",(()=>{const e=()=>y("arguments");return a.scope.path.isProgram()?f(c("===",D("typeof",e()),C("undefined")),a.scope.buildUndefinedNode(),e()):e()}));d.forEach((t=>{const n=y(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(h.length>0){const e=B(a,"newtarget",(()=>g(y("new"),y("target"))));h.forEach((t=>{const n=y(e);n.loc=t.node.loc,t.replaceWith(n)}))}if(P.length>0){if(!n)throw P[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");P.reduce(((e,t)=>e.concat(function(e){if(e.parentPath.isAssignmentExpression()&&"="!==e.parentPath.node.operator){const n=e.parentPath,r=n.node.operator.slice(0,-1),i=n.node.right,a=function(e){return S.includes(e)}(r);if(e.node.computed){const s=e.scope.generateDeclaredUidIdentifier("tmp"),o=e.node.object,c=e.node.property;n.get("left").replaceWith(b(o,l("=",s,c),!0)),n.get("right").replaceWith(t(a?"=":r,b(o,y(s.name),!0),i))}else{const s=e.node.object,o=e.node.property;n.get("left").replaceWith(b(s,o)),n.get("right").replaceWith(t(a?"=":r,b(s,y(o.name)),i))}return a?n.replaceWith(T(r,n.node.left,n.node.right)):n.node.operator="=",[n.get("left"),n.get("right").get("left")]}if(e.parentPath.isUpdateExpression()){const t=e.parentPath,n=e.scope.generateDeclaredUidIdentifier("tmp"),r=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,i=[l("=",n,b(e.node.object,r?l("=",r,e.node.property):e.node.property,e.node.computed)),l("=",b(e.node.object,r?y(r.name):e.node.property,e.node.computed),c(e.parentPath.node.operator[0],y(n.name),E(1)))];e.parentPath.node.prefix||i.push(y(n.name)),t.replaceWith(A(i));return[t.get("expressions.0.right"),t.get("expressions.1.left")]}return[e];function t(e,t,n){return"="===e?l("=",t,n):c(e,t,n)}}(t))),[]).forEach((e=>{const t=e.node.computed?"":e.get("property").node.name,n=e.parentPath,r=n.isAssignmentExpression({left:e.node}),i=n.isCallExpression({callee:e.node}),s=n.isTaggedTemplateExpression({tag:e.node}),c=function(e,t,n){return B(e,`superprop_${t?"set":"get"}:${n||""}`,(()=>{const r=[];let i;if(n)i=b(I(),y(n));else{const t=e.scope.generateUidIdentifier("prop");r.unshift(t),i=b(I(),y(t.name),!0)}if(t){const t=e.scope.generateUidIdentifier("value");r.push(t),i=l("=",i,y(t.name))}return o(r,i)}))}(a,r,t),f=[];if(e.node.computed&&f.push(e.get("property").node),r){const e=n.node.right;f.push(e)}const d=p(y(c),f);i?(n.unshiftContainer("arguments",w()),e.replaceWith(b(d,y("call"))),u.push(n.get("arguments.0"))):r?n.replaceWith(d):s?(e.replaceWith(p(b(d,y("bind"),!1),[w()])),u.push(e.get("arguments.0"))):e.replaceWith(d)}))}let k;return(u.length>0||!t)&&(k=function(e,t){return B(e,"this",(n=>{if(!t||!L(e))return w();e.traverse(j,{supers:new WeakSet,thisBinding:n})}))}(a,s),(t||s&&L(a))&&(u.forEach((e=>{const t=e.isJSX()?m(k):y(k);t.loc=e.node.loc,e.replaceWith(t)})),t||(k=null))),{thisBinding:k,fnPath:e}}function L(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const j=(0,s.merge)([{CallExpression(e,{supers:t,thisBinding:n}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,l("=",y(n),y("this"))])))}},i.default]);function B(e,t,n){const r="binding:"+t;let i=e.getData(r);if(!i){const a=e.scope.generateUidIdentifier(t);i=a.name,e.setData(r,i),e.scope.push({id:a,init:n(i)})}return i}const F=(0,s.merge)([{ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){"this"===e.node.name&&(e.parentPath.isJSXMemberExpression({object:e.node})||e.parentPath.isJSXOpeningElement({name:e.node}))&&t.push(e)},CallExpression(e,{superCalls:t}){e.get("callee").isSuper()&&t.push(e)},MemberExpression(e,{superProps:t}){e.get("object").isSuper()&&t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let n=e.scope;do{if(n.hasOwnBinding("arguments"))return void n.rename("arguments");if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&t.push(e)}},i.default])},2822:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evaluate=function(){const e={confident:!0,deoptPath:null,seen:new Map};let t=l(this,e);e.confident||(t=void 0);return{confident:e.confident,deopt:e.deoptPath,value:t}},t.evaluateTruthy=function(){const e=this.evaluate();if(e.confident)return!!e.value};const r=["String","Number","Math"],i=["random"];function a(e){return r.includes(e)}function s(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}const o=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function l(e,t){const{node:r}=e,{seen:u}=t;if(u.has(r)){const n=u.get(r);return n.resolved?n.value:void s(e,t)}{const p={resolved:!1};u.set(r,p);const f=function(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const n=e.get("expressions");return l(n[n.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral())return e.node.value;if(e.isNullLiteral())return null;if(e.isTemplateLiteral())return c(e,e.node.quasis,t);if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const n=e.get("tag.object"),{node:{name:r}}=n,i=e.get("tag.property");if(n.isIdentifier()&&"String"===r&&!e.scope.getBinding(r)&&i.isIdentifier()&&"raw"===i.node.name)return c(e,e.node.quasi.quasis,t,!0)}if(e.isConditionalExpression()){const n=l(e.get("test"),t);if(!t.confident)return;return l(n?e.get("consequent"):e.get("alternate"),t)}if(e.isExpressionWrapper())return l(e.get("expression"),t);if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const n=e.get("property"),r=e.get("object");if(r.isLiteral()){const i=r.node.value,a=typeof i;let s=null;if(e.node.computed){if(s=l(n,t),!t.confident)return}else n.isIdentifier()&&(s=n.node.name);if(("number"===a||"string"===a)&&null!=s&&("number"===typeof s||"string"===typeof s))return i[s]}}if(e.isReferencedIdentifier()){const n=e.scope.getBinding(e.node.name);if(n){if(n.constantViolations.length>0||e.node.start<n.path.node.end)return void s(n.path,t);if(n.hasValue)return n.value}const r=e.node.name;if(o.has(r))return n?void s(n.path,t):o.get(r);const i=e.resolve();return i===e?void s(e,t):l(i,t)}if(e.isUnaryExpression({prefix:!0})){if("void"===e.node.operator)return;const n=e.get("argument");if("typeof"===e.node.operator&&(n.isFunction()||n.isClass()))return"function";const r=l(n,t);if(!t.confident)return;switch(e.node.operator){case"!":return!r;case"+":return+r;case"-":return-r;case"~":return~r;case"typeof":return typeof r}}if(e.isArrayExpression()){const n=[],r=e.get("elements");for(const e of r){const r=e.evaluate();if(!r.confident)return void s(r.deopt,t);n.push(r.value)}return n}if(e.isObjectExpression()){const n={},r=e.get("properties");for(const e of r){if(e.isObjectMethod()||e.isSpreadElement())return void s(e,t);const r=e.get("key");let i;if(e.node.computed){if(i=r.evaluate(),!i.confident)return void s(i.deopt,t);i=i.value}else i=r.isIdentifier()?r.node.name:r.node.value;let a=e.get("value").evaluate();if(!a.confident)return void s(a.deopt,t);a=a.value,n[i]=a}return n}if(e.isLogicalExpression()){const n=t.confident,r=l(e.get("left"),t),i=t.confident;t.confident=n;const a=l(e.get("right"),t),s=t.confident;switch(e.node.operator){case"||":if(t.confident=i&&(!!r||s),!t.confident)return;return r||a;case"&&":if(t.confident=i&&(!r||s),!t.confident)return;return r&&a;case"??":if(t.confident=i&&(null!=r||s),!t.confident)return;return null!=r?r:a}}if(e.isBinaryExpression()){const n=l(e.get("left"),t);if(!t.confident)return;const r=l(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return n-r;case"+":return n+r;case"/":return n/r;case"*":return n*r;case"%":return n%r;case"**":return Math.pow(n,r);case"<":return n<r;case">":return n>r;case"<=":return n<=r;case">=":return n>=r;case"==":return n==r;case"!=":return n!=r;case"===":return n===r;case"!==":return n!==r;case"|":return n|r;case"&":return n&r;case"^":return n^r;case"<<":return n<<r;case">>":return n>>r;case">>>":return n>>>r}}if(e.isCallExpression()){const r=e.get("callee");let s,o;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&a(r.node.name)&&(o=n.g[r.node.name]),r.isMemberExpression()){const e=r.get("object"),t=r.get("property");if(e.isIdentifier()&&t.isIdentifier()&&a(e.node.name)&&!function(e){return i.includes(e)}(t.node.name)&&(s=n.g[e.node.name],o=s[t.node.name]),e.isLiteral()&&t.isIdentifier()){const n=typeof e.node.value;"string"!==n&&"number"!==n||(s=e.node.value,o=s[t.node.name])}}if(o){const n=e.get("arguments").map((e=>l(e,t)));if(!t.confident)return;return o.apply(s,n)}}s(e,t)}(e,t);return t.confident&&(p.resolved=!0,p.value=f),f}}function c(e,t,n,r=!1){let i="",a=0;const s=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(const o of t){if(!n.confident)break;i+=r?o.value.raw:o.value.cooked;const e=s[a++];e&&(i+=String(l(e,n)))}if(n.confident)return i}},8782:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getKey=function(e,t){const n=this.node,i=n[e];return Array.isArray(i)?i.map(((a,s)=>r.default.get({listKey:e,parentPath:this,parent:n,container:i,key:s}).setContext(t))):r.default.get({parentPath:this,parent:n,container:n,key:e}).setContext(t)},t._getPattern=function(e,t){let n=this;for(const r of e)n="."===r?n.parentPath:Array.isArray(n)?n[r]:n.get(r,t);return n},t.get=function(e,t=!0){!0===t&&(t=this.context);const n=e.split(".");return 1===n.length?this._getKey(e,t):this._getPattern(n,t)},t.getAllNextSiblings=function(){let e=this.key,t=this.getSibling(++e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(++e);return n},t.getAllPrevSiblings=function(){let e=this.key,t=this.getSibling(--e);const n=[];for(;t.node;)n.push(t),t=this.getSibling(--e);return n},t.getBindingIdentifierPaths=function(e=!1,t=!1){const n=[this],r=Object.create(null);for(;n.length;){const i=n.shift();if(!i)continue;if(!i.node)continue;const s=a.keys[i.node.type];if(i.isIdentifier())if(e){(r[i.node.name]=r[i.node.name]||[]).push(i)}else r[i.node.name]=i;else if(i.isExportDeclaration()){const e=i.get("declaration");o(e)&&n.push(e)}else{if(t){if(i.isFunctionDeclaration()){n.push(i.get("id"));continue}if(i.isFunctionExpression())continue}if(s)for(let e=0;e<s.length;e++){const t=s[e],r=i.get(t);Array.isArray(r)?n.push(...r):r.node&&n.push(r)}}}return r},t.getBindingIdentifiers=function(e){return a(this.node,e)},t.getCompletionRecords=function(){return y(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((e=>e.path))},t.getNextSibling=function(){return this.getSibling(this.key+1)},t.getOpposite=function(){if("left"===this.key)return this.getSibling("right");if("right"===this.key)return this.getSibling("left");return null},t.getOuterBindingIdentifierPaths=function(e=!1){return this.getBindingIdentifierPaths(e,!0)},t.getOuterBindingIdentifiers=function(e){return s(this.node,e)},t.getPrevSibling=function(){return this.getSibling(this.key-1)},t.getSibling=function(e){return r.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)};var r=n(763),i=n(6067);const{getBindingIdentifiers:a,getOuterBindingIdentifiers:s,isDeclaration:o,numericLiteral:l,unaryExpression:c}=i;function u(e,t,n){return e&&t.push(...y(e,n)),t}function p(e){e.forEach((e=>{e.type=1}))}function f(e,t){e.forEach((e=>{e.path.isBreakStatement({label:null})&&(t?e.path.replaceWith(c("void",l(0))):e.path.remove())}))}function d(e,t){const n=[];if(t.canHaveBreak){let r=[];for(let i=0;i<e.length;i++){const a=e[i],s=Object.assign({},t,{inCaseClause:!1});a.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?s.shouldPopulateBreak=!0:s.shouldPopulateBreak=!1;const o=y(a,s);if(o.length>0&&o.every((e=>1===e.type))){r.length>0&&o.every((e=>e.path.isBreakStatement({label:null})))?(p(r),n.push(...r),r.some((e=>e.path.isDeclaration()))&&(n.push(...o),f(o,!0)),f(o,!1)):(n.push(...o),t.shouldPopulateBreak||f(o,!0));break}if(i===e.length-1)n.push(...o);else{r=[];for(let e=0;e<o.length;e++){const t=o[e];1===t.type&&n.push(t),0===t.type&&r.push(t)}}}}else if(e.length)for(let r=e.length-1;r>=0;r--){const i=y(e[r],t);if(i.length>1||1===i.length&&!i[0].path.isVariableDeclaration()){n.push(...i);break}}return n}function y(e,t){let n=[];if(e.isIfStatement())n=u(e.get("consequent"),n,t),n=u(e.get("alternate"),n,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return u(e.get("body"),n,t);if(e.isProgram()||e.isBlockStatement())return d(e.get("body"),t);if(e.isFunction())return y(e.get("body"),t);if(e.isTryStatement())n=u(e.get("block"),n,t),n=u(e.get("handler"),n,t);else{if(e.isCatchClause())return u(e.get("body"),n,t);if(e.isSwitchStatement())return function(e,t,n){let r=[];for(let i=0;i<e.length;i++){const a=y(e[i],n),s=[],o=[];for(const e of a)0===e.type&&s.push(e),1===e.type&&o.push(e);s.length&&(r=s),t.push(...o)}return t.push(...r),t}(e.get("cases"),n,t);if(e.isSwitchCase())return d(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});e.isBreakStatement()?n.push(function(e){return{type:1,path:e}}(e)):n.push(function(e){return{type:0,path:e}}(e))}}return n}},763:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var r=n(8176),i=n(1227),a=n(5686),s=n(200),o=n(6067),l=o,c=n(9446),u=n(5059),p=n(531),f=n(326),d=n(383),y=n(2822),h=n(6309),m=n(4989),T=n(2981),S=n(1319),b=n(4825),g=n(8782),E=n(1801),P=n(8745);const{validate:v}=o,x=i("babel");t.REMOVED=1;t.SHOULD_STOP=2;t.SHOULD_SKIP=4;class A{constructor(e,t){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=t,this.hub=e,this.data=null,this.context=null,this.scope=null}static get({hub:e,parentPath:t,parent:n,container:r,listKey:i,key:a}){if(!e&&t&&(e=t.hub),!n)throw new Error("To get a node path the parent needs to exist");const s=r[a];let o=c.path.get(n);o||(o=new Map,c.path.set(n,o));let l=o.get(s);return l||(l=new A(e,n),s&&o.set(s,l)),l.setup(t,r,i,a),l}getScope(e){return this.isScope()?new s.default(this):e}setData(e,t){return null==this.data&&(this.data=Object.create(null)),this.data[e]=t}getData(e,t){null==this.data&&(this.data=Object.create(null));let n=this.data[e];return void 0===n&&void 0!==t&&(n=this.data[e]=t),n}hasNode(){return null!=this.node}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,a.default)(this.node,e,this.scope,t,this)}set(e,t){v(this.node,e,t),this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let n=t.key;t.inList&&(n=`${t.listKey}[${n}]`),e.unshift(n)}while(t=t.parentPath);return e.join(".")}debug(e){x.enabled&&x(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(4&this._traverseFlags)}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}get shouldStop(){return!!(2&this._traverseFlags)}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get removed(){return!!(1&this._traverseFlags)}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}}Object.assign(A.prototype,p,f,d,y,h,m,T,S,b,g,E),A.prototype._guessExecutionStatusRelativeToDifferentFunctions=m._guessExecutionStatusRelativeTo;for(const C of l.TYPES){const e=`is${C}`,t=l[e];A.prototype[e]=function(e){return t(this.node,e)},A.prototype[`assert${C}`]=function(e){if(!t(this.node,e))throw new TypeError(`Expected node path of type ${C}`)}}Object.assign(A.prototype,P);for(const C of Object.keys(r))"_"!==C[0]&&(l.TYPES.includes(C)||l.TYPES.push(C));var O=A;t.default=O},326:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getTypeAnnotation=function(){const e=this.node;if(!e){if("init"===this.key&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath,t=e.parentPath;return"left"===e.key&&t.isForInStatement()?v():"left"===e.key&&t.isForOfStatement()?a():x()}return}if(e.typeAnnotation)return e.typeAnnotation;if(A.has(e))return;A.add(e);try{var t;let n=r[e.type];if(n)return n.call(this,e);if(n=r[this.parentPath.type],null!=(t=n)&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{A.delete(e)}},t.baseTypeStrictlyMatches=function(e){const t=this.getTypeAnnotation(),n=e.getTypeAnnotation();if(!s(t)&&u(t))return n.type===t.type;return!1},t.couldBeBaseType=function(e){const t=this.getTypeAnnotation();if(s(t))return!0;if(E(t)){for(const n of t.types)if(s(n)||O(e,n,!0))return!0;return!1}return O(e,t,!0)},t.getTypeAnnotation=function(){let e=this.getData("typeAnnotation");if(null!=e)return e;e=this._getTypeAnnotation()||a(),(g(e)||T(e))&&(e=e.typeAnnotation);return this.setData("typeAnnotation",e),e},t.isBaseType=function(e,t){return O(e,this.getTypeAnnotation(),t)},t.isGenericType=function(e){const t=this.getTypeAnnotation();if("Array"===e&&(m(t)||o(t)||b(t)))return!0;return p(t)&&f(t.id,{name:e})||S(t)&&f(t.typeName,{name:e})};var r=n(3239),i=n(6067);const{anyTypeAnnotation:a,isAnyTypeAnnotation:s,isArrayTypeAnnotation:o,isBooleanTypeAnnotation:l,isEmptyTypeAnnotation:c,isFlowBaseAnnotation:u,isGenericTypeAnnotation:p,isIdentifier:f,isMixedTypeAnnotation:d,isNumberTypeAnnotation:y,isStringTypeAnnotation:h,isTSArrayType:m,isTSTypeAnnotation:T,isTSTypeReference:S,isTupleTypeAnnotation:b,isTypeAnnotation:g,isUnionTypeAnnotation:E,isVoidTypeAnnotation:P,stringTypeAnnotation:v,voidTypeAnnotation:x}=i;const A=new WeakSet;function O(e,t,n){if("string"===e)return h(t);if("number"===e)return y(t);if("boolean"===e)return l(t);if("any"===e)return s(t);if("mixed"===e)return d(t);if("empty"===e)return c(t);if("void"===e)return P(t);if(n)return!1;throw new Error(`Unknown base type ${e}`)}},475:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t)return t.identifier.typeAnnotation?t.identifier.typeAnnotation:function(e,t,n){const r=[],a=[];let s=c(e,t,a);const o=p(e,t,n);if(o){const t=c(e,o.ifStatement);s=s.filter((e=>t.indexOf(e)<0)),r.push(o.typeAnnotation)}if(s.length){s.push(...a);for(const e of s)r.push(e.getTypeAnnotation())}if(!r.length)return;return(0,i.createUnionType)(r)}(t,this,e.name);if("undefined"===e.name)return l();if("NaN"===e.name||"Infinity"===e.name)return o();e.name};var r=n(6067),i=n(5193);const{BOOLEAN_NUMBER_BINARY_OPERATORS:a,createTypeAnnotationBasedOnTypeof:s,numberTypeAnnotation:o,voidTypeAnnotation:l}=r;function c(e,t,n){const r=e.constantViolations.slice();return r.unshift(e.path),r.filter((e=>{const r=(e=e.resolve())._guessExecutionStatusRelativeTo(t);return n&&"unknown"===r&&n.push(e),"before"===r}))}function u(e,t){const n=t.node.operator,r=t.get("right").resolve(),i=t.get("left").resolve();let l,c,u;if(i.isIdentifier({name:e})?l=r:r.isIdentifier({name:e})&&(l=i),l)return"==="===n?l.getTypeAnnotation():a.indexOf(n)>=0?o():void 0;if("==="!==n&&"=="!==n)return;if(i.isUnaryExpression({operator:"typeof"})?(c=i,u=r):r.isUnaryExpression({operator:"typeof"})&&(c=r,u=i),!c)return;if(!c.get("argument").isIdentifier({name:e}))return;if(u=u.resolve(),!u.isLiteral())return;const p=u.node.value;return"string"===typeof p?s(p):void 0}function p(e,t,n){const r=function(e,t,n){let r;for(;r=t.parentPath;){if(r.isIfStatement()||r.isConditionalExpression()){if("test"===t.key)return;return r}if(r.isFunction()&&r.parentPath.scope.getBinding(n)!==e)return;t=r}}(e,t,n);if(!r)return;const a=[r.get("test")],s=[];for(let i=0;i<a.length;i++){const e=a[i];if(e.isLogicalExpression())"&&"===e.node.operator&&(a.push(e.get("left")),a.push(e.get("right")));else if(e.isBinaryExpression()){const t=u(n,e);t&&s.push(t)}}return s.length?{typeAnnotation:(0,i.createUnionType)(s),ifStatement:r}:p(e,r,n)}},3239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayExpression=O,t.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},t.BinaryExpression=function(e){const t=e.operator;if(l.indexOf(t)>=0)return S();if(s.indexOf(t)>=0)return d();if("+"===t){const e=this.get("right"),t=this.get("left");return t.isBaseType("number")&&e.isBaseType("number")?S():t.isBaseType("string")||e.isBaseType("string")?b():E([b(),S()])}},t.BooleanLiteral=function(){return d()},t.CallExpression=function(){const{callee:e}=this.node;if(w(e))return f(b());if(I(e)||_(e)||v(e,{name:"Array"}))return f(p());if(D(e))return f(g([b(),p()]));return k(this.get("callee"))},t.ConditionalExpression=function(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,a.createUnionType)(e)},t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=function(){return h(m("Function"))},Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return i.default}}),t.LogicalExpression=function(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,a.createUnionType)(e)},t.NewExpression=function(e){if("Identifier"===e.callee.type)return h(e.callee)},t.NullLiteral=function(){return T()},t.NumericLiteral=function(){return S()},t.ObjectExpression=function(){return h(m("Object"))},t.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},t.RegExpLiteral=function(){return h(m("RegExp"))},t.RestElement=C,t.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},t.StringLiteral=function(){return b()},t.TSAsExpression=A,t.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},t.TaggedTemplateExpression=function(){return k(this.get("tag"))},t.TemplateLiteral=function(){return b()},t.TypeCastExpression=x,t.UnaryExpression=function(e){const t=e.operator;if("void"===t)return P();if(c.indexOf(t)>=0)return S();if(u.indexOf(t)>=0)return b();if(o.indexOf(t)>=0)return d()},t.UpdateExpression=function(e){const t=e.operator;if("++"===t||"--"===t)return S()},t.VariableDeclarator=function(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()};var r=n(6067),i=n(475),a=n(5193);const{BOOLEAN_BINARY_OPERATORS:s,BOOLEAN_UNARY_OPERATORS:o,NUMBER_BINARY_OPERATORS:l,NUMBER_UNARY_OPERATORS:c,STRING_UNARY_OPERATORS:u,anyTypeAnnotation:p,arrayTypeAnnotation:f,booleanTypeAnnotation:d,buildMatchMemberExpression:y,genericTypeAnnotation:h,identifier:m,nullLiteralTypeAnnotation:T,numberTypeAnnotation:S,stringTypeAnnotation:b,tupleTypeAnnotation:g,unionTypeAnnotation:E,voidTypeAnnotation:P,isIdentifier:v}=r;function x(e){return e.typeAnnotation}function A(e){return e.typeAnnotation}function O(){return h(m("Array"))}function C(){return O()}x.validParent=!0,A.validParent=!0,C.validParent=!0;const I=y("Array.from"),w=y("Object.keys"),_=y("Object.values"),D=y("Object.entries");function k(e){if((e=e.resolve()).isFunction()){const{node:t}=e;if(t.async)return t.generator?h(m("AsyncIterator")):h(m("Promise"));if(t.generator)return h(m("Iterator"));if(e.node.returnType)return e.node.returnType}}},5193:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUnionType=function(e){if(o(e[0]))return i?i(e):s(e);if(a)return a(e)};var r=n(6067);const{createFlowUnionType:i,createTSUnionType:a,createUnionTypeAnnotation:s,isFlowType:o,isTSType:l}=r},4989:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._guessExecutionStatusRelativeTo=function(e){return b(this,e,new Map)},t._resolve=function(e,t){if(t&&t.indexOf(this)>=0)return;if((t=t||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){const n=this.scope.getBinding(this.node.name);if(!n)return;if(!n.constant)return;if("module"===n.kind)return;if(n.path!==this){const r=n.path.resolve(e,t);if(this.find((e=>e.node===r.node)))return;return r}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){const n=this.toComputedKey();if(!c(n))return;const r=n.value,i=this.get("object").resolve(e,t);if(i.isObjectExpression()){const n=i.get("properties");for(const i of n){if(!i.isProperty())continue;const n=i.get("key");let a=i.isnt("computed")&&n.isIdentifier({name:r});if(a=a||n.isLiteral({value:r}),a)return i.get("value").resolve(e,t)}}else if(i.isArrayExpression()&&!isNaN(+r)){const n=i.get("elements")[r];if(n)return n.resolve(e,t)}}}},t.canHaveVariableDeclarationOrExpression=function(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()},t.canSwapBetweenExpressionAndStatement=function(e){if("body"!==this.key||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return s(e);if(this.isBlockStatement())return o(e);return!1},t.equals=function(e,t){return this.node[e]===t},t.getSource=function(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""},t.has=d,t.is=void 0,t.isCompletionRecord=function(e){let t=this,n=!0;do{const{type:r,container:i}=t;if(!n&&(t.isFunction()||"StaticBlock"===r))return!!e;if(n=!1,Array.isArray(i)&&t.key!==i.length-1)return!1}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return!0},t.isConstantExpression=function(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);return!!e&&e.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every((e=>e.isConstantExpression())));if(this.isUnaryExpression())return"void"===this.node.operator&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){const{operator:e}=this.node;return"in"!==e&&"instanceof"!==e&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return!1},t.isInStrictMode=function(){const e=this.isProgram()?this:this.parentPath;return!!e.find((e=>{if(e.isProgram({sourceType:"module"}))return!0;if(e.isClass())return!0;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement())return!1;let t;if(e.isFunction())t=e.node.body;else{if(!e.isProgram())return!1;t=e.node}for(const n of t.directives)if("use strict"===n.value.value)return!0}))},t.isNodeType=function(e){return p(this.type,e)},t.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!s(this.container)&&i.includes(this.key)},t.isStatic=function(){return this.scope.isStatic(this.node)},t.isnt=function(e){return!this.has(e)},t.matchesPattern=function(e,t){return f(this.node,e,t)},t.referencesImport=function(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?u(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return!1}const n=this.scope.getBinding(this.node.name);if(!n||"module"!==n.kind)return!1;const r=n.path,i=r.parentPath;if(!i.isImportDeclaration())return!1;if(i.node.source.value!==e)return!1;if(!t)return!0;if(r.isImportDefaultSpecifier()&&"default"===t)return!0;if(r.isImportNamespaceSpecifier()&&"*"===t)return!0;if(r.isImportSpecifier()&&l(r.node.imported,{name:t}))return!0;return!1},t.resolve=function(e,t){return this._resolve(e,t)||this},t.willIMaybeExecuteBefore=function(e){return"after"!==this._guessExecutionStatusRelativeTo(e)};var r=n(6067);const{STATEMENT_OR_BLOCK_KEYS:i,VISITOR_KEYS:a,isBlockStatement:s,isExpression:o,isIdentifier:l,isLiteral:c,isStringLiteral:u,isType:p,matchesPattern:f}=r;function d(e){const t=this.node&&this.node[e];return t&&Array.isArray(t)?!!t.length:!!t}const y=d;function h(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function m(e,t){switch(e){case"LogicalExpression":case"AssignmentPattern":return"right"===t;case"ConditionalExpression":case"IfStatement":return"consequent"===t||"alternate"===t;case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return"body"===t;case"ForStatement":return"body"===t||"update"===t;case"SwitchStatement":return"cases"===t;case"TryStatement":return"handler"===t;case"OptionalMemberExpression":return"property"===t;case"OptionalCallExpression":return"arguments"===t;default:return!1}}function T(e,t){for(let n=0;n<t;n++){const t=e[n];if(m(t.parent.type,t.parentKey))return!0}return!1}t.is=y;const S=Symbol();function b(e,t,n){const r={this:h(e),target:h(t)};if(r.target.node!==r.this.node)return function(e,t,n){let r,i=n.get(e.node);if(i){if(r=i.get(t.node))return r===S?"unknown":r}else n.set(e.node,i=new Map);i.set(t.node,S);const a=function(e,t,n){if(!t.isFunctionDeclaration())return"before"===b(e,t,n)?"before":"unknown";if(t.parentPath.isExportDeclaration())return"unknown";const r=t.scope.getBinding(t.node.id.name);if(!r.references)return"before";const i=r.referencePaths;let a;for(const s of i){if(!!s.find((e=>e.node===t.node)))continue;if("callee"!==s.key||!s.parentPath.isCallExpression())return"unknown";const r=b(e,s,n);if(a&&a!==r)return"unknown";a=r}return a}(e,t,n);return i.set(t.node,a),a}(e,r.target,n);const i={target:t.getAncestry(),this:e.getAncestry()};if(i.target.indexOf(e)>=0)return"after";if(i.this.indexOf(t)>=0)return"before";let s;const o={target:0,this:0};for(;!s&&o.this<i.this.length;){const e=i.this[o.this];o.target=i.target.indexOf(e),o.target>=0?s=e:o.this++}if(!s)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(T(i.this,o.this-1)||T(i.target,o.target-1))return"unknown";const l={this:i.this[o.this-1],target:i.target[o.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container)return l.target.key>l.this.key?"before":"after";const c=a[s.type],u=c.indexOf(l.this.parentKey);return c.indexOf(l.target.parentKey)>u?"before":"after"}},6698:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6067),i=r;const{react:a}=r,{cloneNode:s,jsxExpressionContainer:o,variableDeclaration:l,variableDeclarator:c}=i,u={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&a.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression())return;if("this"===e.node.name){let n=e.scope;do{if(n.path.isFunction()&&!n.path.isArrowFunctionExpression())break}while(n=n.parent);n&&t.breakOnScopePaths.push(n.path)}const n=e.scope.getBinding(e.node.name);if(n){for(const r of n.constantViolations)if(r.scope!==n.path.scope)return t.mutableBinding=!0,void e.stop();n===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=n)}}};t.default=class{constructor(e,t){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=t,this.path=e,this.attachAfter=!1}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const n=this.bindings[t];if(!e.bindingIdentifierEquals(t,n.identifier))return!1}return!0}getCompatibleScopes(){let e=this.path.scope;do{if(!this.isCompatibleScope(e))break;if(this.scopes.push(e),this.breakOnScopePaths.indexOf(e.path)>=0)break}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e&&(t=e.scope.parent),t.path.isProgram()||t.path.isFunction())for(const n of Object.keys(this.bindings)){if(!t.hasOwnBinding(n))continue;const r=this.bindings[n];if("param"===r.kind||"params"===r.path.parentKey)continue;if(this.getAttachmentParentForPath(r.path).key>=e.key){this.attachAfter=!0,e=r.path;for(const t of r.constantViolations)this.getAttachmentParentForPath(t).key>e.key&&(e=t)}}return e}_getAttachmentPath(){const e=this.scopes.pop();if(e)if(e.path.isFunction()){if(!this.hasOwnParamBindings(e))return this.getNextScopeAttachmentParent();{if(this.scope===e)return;const t=e.path.get("body").get("body");for(let e=0;e<t.length;e++)if(!t[e].node._blockHoist)return t[e]}}else if(e.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())return e}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const n=this.bindings[t];if("param"===n.kind&&n.constant)return!0}return!1}run(){if(this.path.traverse(u,this),this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const n=c(t,this.path.node),r=this.attachAfter?"insertAfter":"insertBefore",[i]=e[r]([e.isVariableDeclarator()?n:l("var",[n])]),a=this.path.parentPath;return a.isJSXElement()&&this.path.container===a.node.children&&(t=o(t)),this.path.replaceWith(s(t)),e.isVariableDeclarator()?i.get("init"):i.get("declarations.0.init")}}},308:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0;t.hooks=[function(e,t){if("test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&"consequent"===e.key||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},8745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBindingIdentifier=function(){const{node:e,parent:t}=this,n=this.parentPath.parent;return p(e)&&i(e,t,n)},t.isBlockScoped=function(){return a(this.node)},t.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},t.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():o(this.node)},t.isFlow=function(){const{node:e}=this;return!!l(e)||(f(e)?"type"===e.importKind||"typeof"===e.importKind:s(e)?"type"===e.exportKind:!!d(e)&&("type"===e.importKind||"typeof"===e.importKind))},t.isForAwaitStatement=function(){return x(this.node,{await:!0})},t.isGenerated=function(){return!this.isUser()},t.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")},t.isPure=function(e){return this.scope.isPure(this.node,e)},t.isReferenced=function(){return S(this.node,this.parent)},t.isReferencedIdentifier=function(e){const{node:t,parent:n}=this;if(!p(t,e)&&!h(n,e)){if(!y(t,e))return!1;if(A(t.name))return!1}return S(t,n,this.parentPath.parent)},t.isReferencedMemberExpression=function(){const{node:e,parent:t}=this;return m(e)&&S(e,t)},t.isRestProperty=function(){return T(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()},t.isScope=function(){return b(this.node,this.parent)},t.isSpreadProperty=function(){return T(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()},t.isStatement=function(){const{node:e,parent:t}=this;if(g(e)){if(P(e)){if(u(t,{left:e}))return!1;if(c(t,{init:e}))return!1}return!0}return!1},t.isUser=function(){return this.node&&!!this.node.loc},t.isVar=function(){return E(this.node)};var r=n(6067);const{isBinding:i,isBlockScoped:a,isExportDeclaration:s,isExpression:o,isFlow:l,isForStatement:c,isForXStatement:u,isIdentifier:p,isImportDeclaration:f,isImportSpecifier:d,isJSXIdentifier:y,isJSXMemberExpression:h,isMemberExpression:m,isRestElement:T,isReferenced:S,isScope:b,isStatement:g,isVar:E,isVariableDeclaration:P,react:v,isForOfStatement:x}=r,{isCompatTag:A}=v},8176:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0;t.ReferencedIdentifier=["Identifier","JSXIdentifier"];t.ReferencedMemberExpression=["MemberExpression"];t.BindingIdentifier=["Identifier"];t.Statement=["Statement"];t.Expression=["Expression"];t.Scope=["Scopable","Pattern"];t.Referenced=null;t.BlockScoped=null;t.Var=["VariableDeclaration"];t.User=null;t.Generated=null;t.Pure=null;t.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"];t.RestProperty=["RestElement"];t.SpreadProperty=["RestElement"];t.ExistentialTypeParam=["ExistsTypeAnnotation"];t.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"];t.ForAwaitStatement=["ForOfStatement"]},4825:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._containerInsert=function(e,t){this.updateSiblingKeys(e,t.length);const n=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){const t=e+i,r=this.getSibling(t);n.push(r),this.context&&this.context.queue&&r.pushContext(this.context)}const r=this._getQueueContexts();for(const i of n){i.setScope(),i.debug("Inserted.");for(const e of r)e.maybeQueue(i,!0)}return n},t._containerInsertAfter=function(e){return this._containerInsert(this.key+1,e)},t._containerInsertBefore=function(e){return this._containerInsert(this.key,e)},t._verifyNodeList=function(e){if(!e)return[];Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){const n=e[t];let r;if(n?"object"!==typeof n?r="contains a non-object node":n.type?n instanceof a.default&&(r="has a NodePath when it expected a raw object"):r="without a type":r="has falsy node",r){const e=Array.isArray(n)?"array":typeof n;throw new Error(`Node list ${r} with the index of ${t} and type of ${e}`)}}return e},t.hoist=function(e=this.scope){return new i.default(this,e).run()},t.insertAfter=function(e){if(this._assertUnremoved(),this.isSequenceExpression())return P(this.get("expressions")).insertAfter(e);const t=this._verifyNodeList(e),{parentPath:n,parent:r}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||m(r)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertAfter(t.map((e=>T(e)?d(e):e)));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!n.isJSXElement()||n.isForStatement()&&"init"===this.key){if(this.node){const e=this.node;let{scope:r}=this;if(r.path.isPattern())return l(e),this.replaceWith(p(o([],e),[])),this.get("callee.body").insertAfter(t),[this];if(v(this))t.unshift(e);else if(h(e)&&g(e.callee))t.unshift(e),t.push(E());else if(function(e,t){if(!y(e)||!S(e.left))return!1;const n=t.getBlockParent();return n.hasOwnBinding(e.left.name)&&n.getOwnBinding(e.left.name).constantViolations.length<=1}(e,r))t.unshift(e),t.push(f(e.left));else if(r.isPure(e,!0))t.push(e);else{n.isMethod({computed:!0,key:e})&&(r=r.parent);const i=r.generateDeclaredUidIdentifier();t.unshift(d(c("=",f(i),e))),t.push(d(f(i)))}}return this.replaceExpressionWithStatements(t)}if(Array.isArray(this.container))return this._containerInsertAfter(t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(u(n?[e]:[])),this.pushContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.insertBefore=function(e){this._assertUnremoved();const t=this._verifyNodeList(e),{parentPath:n,parent:r}=this;if(n.isExpressionStatement()||n.isLabeledStatement()||m(r)||n.isExportDefaultDeclaration()&&this.isDeclaration())return n.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||n.isForStatement()&&"init"===this.key)return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return this._containerInsertBefore(t);if(this.isStatementOrBlock()){const e=this.node,n=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(u(n?[e]:[])),this.unshiftContainer("body",t)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},t.pushContainer=function(e,t){this._assertUnremoved();const n=this._verifyNodeList(t),r=this.node[e];return a.default.get({parentPath:this,parent:this.node,container:r,listKey:e,key:r.length}).setContext(this.context).replaceWithMultiple(n)},t.unshiftContainer=function(e,t){this._assertUnremoved(),t=this._verifyNodeList(t);return a.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context)._containerInsertBefore(t)},t.updateSiblingKeys=function(e,t){if(!this.parent)return;const n=r.path.get(this.parent);for(const[,r]of n)"number"===typeof r.key&&r.key>=e&&(r.key+=t)};var r=n(9446),i=n(6698),a=n(763),s=n(6067);const{arrowFunctionExpression:o,assertExpression:l,assignmentExpression:c,blockStatement:u,callExpression:p,cloneNode:f,expressionStatement:d,isAssignmentExpression:y,isCallExpression:h,isExportNamedDeclaration:m,isExpression:T,isIdentifier:S,isSequenceExpression:b,isSuper:g,thisExpression:E}=s;const P=e=>e[e.length-1];function v(e){return b(e.parent)&&(P(e.parent.expressions)!==e.node||v(e.parentPath))}},1319:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._assertUnremoved=function(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")},t._callRemovalHooks=function(){for(const e of r.hooks)if(e(this,this.parentPath))return!0},t._markRemoved=function(){this._traverseFlags|=a.SHOULD_SKIP|a.REMOVED,this.parent&&i.path.get(this.parent).delete(this.node);this.node=null},t._remove=function(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)},t._removeFromScope=function(){const e=this.getBindingIdentifiers();Object.keys(e).forEach((e=>this.scope.removeBinding(e)))},t.remove=function(){var e;this._assertUnremoved(),this.resync(),null!=(e=this.opts)&&e.noScope||this._removeFromScope();if(this._callRemovalHooks())return void this._markRemoved();this.shareCommentsWithSiblings(),this._remove(),this._markRemoved()};var r=n(308),i=n(9446),a=n(763)},383:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._replaceWith=function(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?I(this.parent,this.key,[e]):I(this.parent,this.key,e);this.debug(`Replace with ${null==e?void 0:e.type}`),null==(t=s.path.get(this.parent))||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e},t.replaceExpressionWithStatements=function(e){this.resync();const t=C(e,this.scope);if(t)return this.replaceWith(t)[0].get("expressions");const n=this.getFunctionParent(),r=null==n?void 0:n.is("async"),a=null==n?void 0:n.is("generator"),s=p([],y(e));this.replaceWith(h(s,[]));const o=this.get("callee");(0,c.default)(o.get("body"),(e=>{this.scope.push({id:e})}),"var");const l=this.get("callee").getCompletionRecords();for(const i of l){if(!i.isExpressionStatement())continue;const e=i.findParent((e=>e.isLoop()));if(e){let t=e.getData("expressionReplacementReturnUid");t?t=S(t.name):(t=o.scope.generateDeclaredUidIdentifier("ret"),o.get("body").pushContainer("body",O(m(t))),e.setData("expressionReplacementReturnUid",t)),i.get("expression").replaceWith(f("=",m(t),i.node.expression))}else i.replaceWith(O(i.node.expression))}o.arrowFunctionToExpression();const T=o,b=r&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",u),g=a&&i.default.hasType(this.get("callee.body").node,"YieldExpression",u);b&&(T.set("async",!0),g||this.replaceWith(d(this.node)));g&&(T.set("generator",!0),this.replaceWith(w(this.node,!0)));return T.get("body.body")},t.replaceInline=function(e){if(this.resync(),Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);return this.remove(),t}return this.replaceWithMultiple(e)}return this.replaceWith(e)},t.replaceWith=function(e){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");let t=e instanceof a.default?e.node:e;if(!t)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!v(t))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"===typeof t)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let n="";this.isNodeType("Statement")&&P(t)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(t)||this.parentPath.isExportDefaultDeclaration()||(t=T(t),n="expression"));if(this.isNodeType("Expression")&&x(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);const r=this.node;r&&(E(t,r),A(r));return this._replaceWith(t),this.type=t.type,this.setScope(),this.requeue(),[n?this.get(n):this]},t.replaceWithMultiple=function(e){var t;this.resync(),e=this._verifyNodeList(e),b(e[0],this.node),g(e[e.length-1],this.node),null==(t=s.path.get(this.parent))||t.delete(this.node),this.node=this.container[this.key]=null;const n=this.insertAfter(e);this.node?this.requeue():this.remove();return n},t.replaceWithSourceString=function(e){let t;this.resync();try{e=`(${e})`,t=(0,o.parse)(e)}catch(a){const t=a.loc;throw t&&(a.message+=" - make sure this is an expression.\n"+(0,r.codeFrameColumns)(e,{start:{line:t.line,column:t.column+1}}),a.code="BABEL_REPLACE_SOURCE_ERROR"),a}const n=t.program.body[0].expression;return i.default.removeProperties(n),this.replaceWith(n)};var r=n(4704),i=n(5686),a=n(763),s=n(9446),o=n(7191),l=n(6067),c=n(7438);const{FUNCTION_TYPES:u,arrowFunctionExpression:p,assignmentExpression:f,awaitExpression:d,blockStatement:y,callExpression:h,cloneNode:m,expressionStatement:T,identifier:S,inheritLeadingComments:b,inheritTrailingComments:g,inheritsComments:E,isExpression:P,isProgram:v,isStatement:x,removeComments:A,returnStatement:O,toSequenceExpression:C,validate:I,yieldExpression:w}=l},8670:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor({identifier:e,scope:t,path:n,kind:r}){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=e,this.scope=t,this.path=n,this.kind=r,"var"!==r&&"hoisted"!==r||!function(e){for(let{parentPath:t,key:n}=e;t;({parentPath:t,key:n}=t)){if(t.isFunctionParent())return!1;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&"body"===n)return!0}return!1}(n||(()=>{throw new Error("Internal Babel error: unreachable ")})())||this.reassign(n),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)}reference(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}}},200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6426),i=n(5686),a=n(8670),s=n(1272),o=n(6067),l=o,c=n(9446),u=n(6510);const{NOT_LOCAL_BINDING:p,callExpression:f,cloneNode:d,getBindingIdentifiers:y,identifier:h,isArrayExpression:m,isBinary:T,isClass:S,isClassBody:b,isClassDeclaration:g,isExportAllDeclaration:E,isExportDefaultDeclaration:P,isExportNamedDeclaration:v,isFunctionDeclaration:x,isIdentifier:A,isImportDeclaration:O,isLiteral:C,isMethod:I,isModuleSpecifier:w,isNullLiteral:_,isObjectExpression:D,isProperty:k,isPureish:N,isRegExpLiteral:M,isSuper:L,isTaggedTemplateExpression:j,isTemplateLiteral:B,isThisExpression:F,isUnaryExpression:R,isVariableDeclaration:V,matchesPattern:K,memberExpression:U,numericLiteral:W,toIdentifier:Y,unaryExpression:q,variableDeclaration:J,variableDeclarator:X,isRecordExpression:G,isTupleExpression:$,isObjectProperty:H,isTopicReference:z,isMetaProperty:Q,isPrivateName:Z,isExportDeclaration:ee}=o;function te(e,t){switch(null==e?void 0:e.type){default:if(O(e)||ee(e))if((E(e)||v(e)||O(e))&&e.source)te(e.source,t);else if((v(e)||O(e))&&e.specifiers&&e.specifiers.length)for(const n of e.specifiers)te(n,t);else(P(e)||v(e))&&e.declaration&&te(e.declaration,t);else w(e)?te(e.local,t):!C(e)||_(e)||M(e)||B(e)||t.push(e.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":te(e.object,t),te(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":te(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const n of e.properties)te(n,t);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":te(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":te(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"),te(e.argument,t);break;case"AwaitExpression":t.push("await"),te(e.argument,t);break;case"AssignmentExpression":te(e.left,t);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":te(e.id,t);break;case"ParenthesizedExpression":te(e.expression,t);break;case"MetaProperty":te(e.meta,t),te(e.property,t);break;case"JSXElement":te(e.openingElement,t);break;case"JSXOpeningElement":te(e.name,t);break;case"JSXFragment":te(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":te(e.namespace,t),te(e.name,t)}}const ne={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:n}=e;(n.getFunctionParent()||n.getProgramParent()).registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped())return;if(e.isImportDeclaration())return;if(e.isExportDeclaration())return;(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ImportDeclaration(e){e.scope.getBlockParent().registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const n=e.get("left");if(n.isPattern()||n.isIdentifier())t.constantViolations.push(e);else if(n.isVar()){const{scope:t}=e;(t.getFunctionParent()||t.getProgramParent()).registerBinding("var",n)}},ExportDeclaration:{exit(e){const{node:t,scope:n}=e;if(E(t))return;const r=t.declaration;if(g(r)||x(r)){const t=r.id;if(!t)return;const i=n.getBinding(t.name);null==i||i.reference(e)}else if(V(r))for(const i of r.declarations)for(const t of Object.keys(y(i))){const r=n.getBinding(t);null==r||r.reference(e)}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){"delete"===e.node.operator&&t.constantViolations.push(e)},BlockScoped(e){let t=e.scope;t.path===e&&(t=t.parent);if(t.getBlockParent().registerDeclaration(e),e.isClassDeclaration()&&e.node.id){const t=e.node.id.name;e.scope.bindings[t]=e.scope.parent.getBinding(t)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const n of t)e.scope.registerBinding("param",n);e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[p]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.has("id")&&!e.get("id").node[p]&&e.scope.registerBinding("local",e)}};let re=0;class ie{constructor(e){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;const{node:t}=e,n=c.scope.get(t);if((null==n?void 0:n.path)===e)return n;c.scope.set(t,this),this.uid=re++,this.block=t,this.path=e,this.labels=new Map,this.inited=!1}get parent(){var e;let t,n=this.path;do{const e="key"===n.key||"decorators"===n.listKey;n=n.parentPath,e&&n.isMethod()&&(n=n.parentPath),n&&n.isScope()&&(t=n)}while(n&&!t);return null==(e=t)?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,n){(0,i.default)(e,t,this,n,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);return this.push({id:t}),d(t)}generateUidIdentifier(e){return h(this.generateUid(e))}generateUid(e="temp"){let t;e=Y(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let n=1;do{t=this._generateUid(e,n),n++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const r=this.getProgramParent();return r.references[t]=!0,r.uids[t]=!0,t}_generateUid(e,t){let n=e;return t>1&&(n+=t),`_${n}`}generateUidBasedOnNode(e,t){const n=[];te(e,n);let r=n.join("$");return r=r.replace(/^_/,"")||t||"ref",this.generateUid(r.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return h(this.generateUidBasedOnNode(e,t))}isStatic(e){if(F(e)||L(e)||z(e))return!0;if(A(e)){const t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,t){if(this.isStatic(e))return null;{const n=this.generateUidIdentifierBasedOnNode(e);return t?n:(this.push({id:n}),d(n))}}checkBlockScopedCollisions(e,t,n,r){if("param"===t)return;if("local"===e.kind)return;if("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&"const"===t)throw this.hub.buildError(r,`Duplicate declaration "${n}"`,TypeError)}rename(e,t){const n=this.getBinding(e);if(n){t||(t=this.generateUidIdentifier(e).name);new r.default(n,e,t).rename(arguments[2])}}_renameFromMap(e,t,n,r){e[t]&&(e[n]=r,e[t]=null)}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const n=t.bindings[e];console.log(" -",e,{constant:n.constant,references:n.references,violations:n.constantViolations.length,kind:n.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,n){if(A(e)){const t=this.getBinding(e.name);if(null!=t&&t.constant&&t.path.isGenericType("Array"))return e}if(m(e))return e;if(A(e,{name:"arguments"}))return f(U(U(U(h("Array"),h("prototype")),h("slice")),h("call")),[e]);let r;const i=[e];return!0===t?r="toConsumableArray":"number"===typeof t?(i.push(W(t)),r="slicedToArray"):r="toArray",n&&(i.unshift(this.hub.addHelper(r)),r="maybeArrayLike"),f(this.hub.addHelper(r),i)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){const t=e.get("declarations"),{kind:n}=e.node;for(const e of t)this.registerBinding("using"===n||"await using"===n?"const":n,e)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t="type"===e.node.importKind||"typeof"===e.node.importKind,n=e.get("specifiers");for(const e of n){const n=t||e.isImportSpecifier()&&("type"===e.node.importKind||"typeof"===e.node.importKind);this.registerBinding(n?"unknown":"module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration())&&this.registerDeclaration(t)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return q("void",W(0),!0)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){var n;null==(n=this.getBinding(r))||n.reassign(e)}}registerBinding(e,t,n=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const n=t.get("declarations");for(const t of n)this.registerBinding(e,t);return}const r=this.getProgramParent(),i=t.getOuterBindingIdentifiers(!0);for(const s of Object.keys(i)){r.references[s]=!0;for(const t of i[s]){const r=this.getOwnBinding(s);if(r){if(r.identifier===t)continue;this.checkBlockScopedCollisions(r,e,s,t)}r?this.registerConstantViolation(n):this.bindings[s]=new a.default({identifier:t,scope:this,path:n,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return!0}while(t=t.parent);return!1}hasGlobal(e){let t=this;do{if(t.globals[e])return!0}while(t=t.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(A(e)){const n=this.getBinding(e.name);return!!n&&(!t||n.constant)}if(F(e)||Q(e)||z(e)||Z(e))return!0;var n,r,i;if(S(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&(!((null==(n=e.decorators)?void 0:n.length)>0)&&this.isPure(e.body,t));if(b(e)){for(const n of e.body)if(!this.isPure(n,t))return!1;return!0}if(T(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(m(e)||$(e)){for(const n of e.elements)if(null!==n&&!this.isPure(n,t))return!1;return!0}if(D(e)||G(e)){for(const n of e.properties)if(!this.isPure(n,t))return!1;return!0}if(I(e))return!(e.computed&&!this.isPure(e.key,t))&&!((null==(r=e.decorators)?void 0:r.length)>0);if(k(e))return!(e.computed&&!this.isPure(e.key,t))&&(!((null==(i=e.decorators)?void 0:i.length)>0)&&!((H(e)||e.static)&&null!==e.value&&!this.isPure(e.value,t)));if(R(e))return this.isPure(e.argument,t);if(j(e))return K(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,t);if(B(e)){for(const n of e.expressions)if(!this.isPure(n,t))return!1;return!0}return N(e)}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const n=t.data[e];if(null!=n)return n}while(t=t.parent)}removeData(e){let t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){const 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);const t=this.getProgramParent();if(t.crawling)return;const n={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&(0,u.isExplodedVisitor)(ne)){for(const r of ne.enter)r.call(n,e,n);const t=ne[e.type];if(t)for(const r of t.enter)r.call(n,e,n)}e.traverse(ne,n),this.crawling=!1;for(const r of n.assignments){const e=r.getBindingIdentifiers();for(const n of Object.keys(e))r.scope.getBinding(n)||t.addGlobal(e[n]);r.scope.registerConstantViolation(r)}for(const r of n.references){const e=r.scope.getBinding(r.node.name);e?e.reference(r):t.addGlobal(r.node)}for(const r of n.constantViolations)r.scope.registerConstantViolation(r)}push(e){let t=this.path;t.isPattern()?t=this.getPatternParent().path:t.isBlockStatement()||t.isProgram()||(t=this.getBlockParent().path),t.isSwitchStatement()&&(t=(this.getFunctionParent()||this.getProgramParent()).path);const{init:n,unique:r,kind:i="var",id:a}=e;if(!n&&!r&&("var"===i||"let"===i)&&t.isFunction()&&!t.node.name&&l.isCallExpression(t.parent,{callee:t.node})&&t.parent.arguments.length<=t.node.params.length&&l.isIdentifier(a))return t.pushContainer("params",a),void t.scope.registerBinding("param",t.get("params")[t.node.params.length-1]);(t.isLoop()||t.isCatchClause()||t.isFunction())&&(t.ensureBlock(),t=t.get("body"));const s=null==e._blockHoist?2:e._blockHoist,o=`declaration:${i}:${s}`;let c=!r&&t.getData(o);if(!c){const e=J(i,[]);e._blockHoist=s,[c]=t.unshiftContainer("body",[e]),r||t.setData(o,c)}const u=X(a,n),p=c.node.declarations.push(u);t.scope.registerBinding(i,c.get("declarations")[p-1])}getProgramParent(){let e=this;do{if(e.path.isProgram())return e}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent())return e}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent())return e}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do{if(!e.path.isPattern())return e.getBlockParent()}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const n of Object.keys(t.bindings))n in e===!1&&(e[n]=t.bindings[n]);t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const n of e){let e=this;do{for(const r of Object.keys(e.bindings)){const i=e.bindings[r];i.kind===n&&(t[r]=i)}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t,n=this;do{const i=n.getOwnBinding(e);var r;if(i){if(null==(r=t)||!r.isPattern()||"param"===i.kind||"local"===i.kind)return i}else if(!i&&"arguments"===e&&n.path.isFunction()&&!n.path.isArrowFunctionExpression())break;t=n.path}while(n=n.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return null==(t=this.getBinding(e))?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return null==t?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){var n,r,i;return!!e&&(!!this.hasOwnBinding(e)||("boolean"===typeof t&&(t={noGlobals:t}),!!this.parentHasBinding(e,t)||(!(null!=(n=t)&&n.noUids||!this.hasUid(e))||(!(null!=(r=t)&&r.noGlobals||!ie.globals.includes(e))||!(null!=(i=t)&&i.noGlobals||!ie.contextVariables.includes(e))))))}parentHasBinding(e,t){var n;return null==(n=this.parent)?void 0:n.hasBinding(e,t)}moveBindingTo(e,t){const n=this.getBinding(e);n&&(n.scope.removeOwnBinding(e),n.scope=t,t.bindings[e]=n)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;null==(t=this.getBinding(e))||t.scope.removeOwnBinding(e);let n=this;do{n.uids[e]&&(n.uids[e]=!1)}while(n=n.parent)}}t.default=ie,ie.globals=Object.keys(s.builtin),ie.contextVariables=["arguments","undefined","Infinity","NaN"]},6426:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3472),i=n(6067),a=n(4705),s=n(9432),o=n(6510);const l={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||(e.skip(),e.isMethod()&&(0,a.requeueComputedKeyAndDecorators)(e))},ObjectProperty({node:e,scope:t},n){const{name:r}=e.key;var i;!e.shorthand||r!==n.oldName&&r!==n.newName||t.getBindingIdentifier(r)!==n.binding.identifier||(e.shorthand=!1,null!=(i=e.extra)&&i.shorthand&&(e.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const n=e.getOuterBindingIdentifiers();for(const r in n)r===t.oldName&&(n[r].name=t.newName)}};t.default=class{constructor(e,t,n){this.newName=n,this.oldName=t,this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(t.isExportDeclaration()){if(t.isExportDefaultDeclaration()){const{declaration:e}=t.node;if(i.isDeclaration(e)&&!e.id)return}t.isExportAllDeclaration()||(0,r.default)(t)}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){const{binding:e,oldName:t,newName:n}=this,{scope:r,path:i}=e,a=i.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));if(a){a.getOuterBindingIdentifiers()[t]===e.identifier&&this.maybeConvertFromExportDeclaration(a)}const c=arguments[0]||r.block;(0,s.traverseNode)(c,(0,o.explode)(l),r,this,r.path,{discriminant:!0}),arguments[0]||(r.removeOwnBinding(t),r.bindings[n]=e,this.binding.identifier.name=n),a&&(this.maybeConvertFromClassFunctionDeclaration(i),this.maybeConvertFromClassFunctionExpression(i))}}},9432:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.traverseNode=function(e,t,n,i,s,o){const l=a[e.type];if(!l)return!1;const c=new r.default(n,t,i,s);for(const r of l)if((!o||!o[r])&&c.visit(e,r))return!0;return!1};var r=n(4165),i=n(6067);const{VISITOR_KEYS:a}=i},6510:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.explode=p,t.isExplodedVisitor=u,t.merge=function(e,t=[],n){const r={};for(let i=0;i<e.length;i++){const a=p(e[i]),s=t[i];let o=a;(s||n)&&(o=y(o,s,n)),S(r,o);for(const e of Object.keys(a)){if(T(e))continue;let t=a[e];(s||n)&&(t=y(t,s,n));S(r[e]||(r[e]={}),t)}}return r},t.verify=f;var r=n(8176),i=n(6067);const{DEPRECATED_KEYS:a,DEPRECATED_ALIASES:s,FLIPPED_ALIAS_KEYS:o,TYPES:l,__internal__deprecationWarning:c}=i;function u(e){return null==e?void 0:e._exploded}function p(e){if(u(e))return e;e._exploded=!0;for(const t of Object.keys(e)){if(T(t))continue;const n=t.split("|");if(1===n.length)continue;const r=e[t];delete e[t];for(const t of n)e[t]=r}f(e),delete e.__esModule,function(e){for(const t of Object.keys(e)){if(T(t))continue;const n=e[t];"function"===typeof n&&(e[t]={enter:n})}}(e),h(e);for(const t of Object.keys(e)){if(T(t))continue;if(!(t in r))continue;const n=e[t];for(const e of Object.keys(n))n[e]=m(t,n[e]);delete e[t];const i=r[t];if(null!==i)for(const t of i)e[t]?S(e[t],n):e[t]=n;else S(e,n)}for(const t of Object.keys(e)){if(T(t))continue;let n=o[t];if(t in a){const e=a[t];c(t,e,"Visitor "),n=[e]}else if(t in s){const e=s[t];c(t,e,"Visitor "),n=o[e]}if(!n)continue;const r=e[t];delete e[t];for(const t of n){const n=e[t];n?S(n,r):e[t]=Object.assign({},r)}}for(const t of Object.keys(e))T(t)||h(e[t]);return e}function f(e){if(!e._verified){if("function"===typeof e)throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(const t of Object.keys(e)){if("enter"!==t&&"exit"!==t||d(t,e[t]),T(t))continue;if(l.indexOf(t)<0)throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`);const n=e[t];if("object"===typeof n)for(const e of Object.keys(n)){if("enter"!==e&&"exit"!==e)throw new Error(`You passed \`traverse()\` a visitor object with the property ${t} that has the invalid property ${e}`);d(`${t}.${e}`,n[e])}}e._verified=!0}}function d(e,t){const n=[].concat(t);for(const r of n)if("function"!==typeof r)throw new TypeError(`Non-function found defined in ${e} with type ${typeof r}`)}function y(e,t,n){const r={};for(const i of["enter","exit"]){let a=e[i];Array.isArray(a)&&(a=a.map((function(e){let r=e;return t&&(r=function(n){e.call(t,n,t)}),n&&(r=n(null==t?void 0:t.key,i,r)),r!==e&&(r.toString=()=>e.toString()),r})),r[i]=a)}return r}function h(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function m(e,t){const n=function(n){if(n[`is${e}`]())return t.apply(this,arguments)};return n.toString=()=>t.toString(),n}function T(e){return"_"===e[0]||("enter"===e||"exit"===e||"shouldSkip"===e||("denylist"===e||"noScope"===e||"skipKeys"===e||"blacklist"===e))}function S(e,t){for(const n of["enter","exit"])t[n]&&(e[n]=[].concat(e[n]||[],t[n]))}},391:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,r.default)(e)){var t;const n=null!=(t=null==e?void 0:e.type)?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${n}"`)}};var r=n(4814)},163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertAccessor=function(e,t){a("Accessor",e,t)},t.assertAnyTypeAnnotation=function(e,t){a("AnyTypeAnnotation",e,t)},t.assertArgumentPlaceholder=function(e,t){a("ArgumentPlaceholder",e,t)},t.assertArrayExpression=function(e,t){a("ArrayExpression",e,t)},t.assertArrayPattern=function(e,t){a("ArrayPattern",e,t)},t.assertArrayTypeAnnotation=function(e,t){a("ArrayTypeAnnotation",e,t)},t.assertArrowFunctionExpression=function(e,t){a("ArrowFunctionExpression",e,t)},t.assertAssignmentExpression=function(e,t){a("AssignmentExpression",e,t)},t.assertAssignmentPattern=function(e,t){a("AssignmentPattern",e,t)},t.assertAwaitExpression=function(e,t){a("AwaitExpression",e,t)},t.assertBigIntLiteral=function(e,t){a("BigIntLiteral",e,t)},t.assertBinary=function(e,t){a("Binary",e,t)},t.assertBinaryExpression=function(e,t){a("BinaryExpression",e,t)},t.assertBindExpression=function(e,t){a("BindExpression",e,t)},t.assertBlock=function(e,t){a("Block",e,t)},t.assertBlockParent=function(e,t){a("BlockParent",e,t)},t.assertBlockStatement=function(e,t){a("BlockStatement",e,t)},t.assertBooleanLiteral=function(e,t){a("BooleanLiteral",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t){a("BooleanLiteralTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t){a("BooleanTypeAnnotation",e,t)},t.assertBreakStatement=function(e,t){a("BreakStatement",e,t)},t.assertCallExpression=function(e,t){a("CallExpression",e,t)},t.assertCatchClause=function(e,t){a("CatchClause",e,t)},t.assertClass=function(e,t){a("Class",e,t)},t.assertClassAccessorProperty=function(e,t){a("ClassAccessorProperty",e,t)},t.assertClassBody=function(e,t){a("ClassBody",e,t)},t.assertClassDeclaration=function(e,t){a("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t){a("ClassExpression",e,t)},t.assertClassImplements=function(e,t){a("ClassImplements",e,t)},t.assertClassMethod=function(e,t){a("ClassMethod",e,t)},t.assertClassPrivateMethod=function(e,t){a("ClassPrivateMethod",e,t)},t.assertClassPrivateProperty=function(e,t){a("ClassPrivateProperty",e,t)},t.assertClassProperty=function(e,t){a("ClassProperty",e,t)},t.assertCompletionStatement=function(e,t){a("CompletionStatement",e,t)},t.assertConditional=function(e,t){a("Conditional",e,t)},t.assertConditionalExpression=function(e,t){a("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t){a("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t){a("DebuggerStatement",e,t)},t.assertDecimalLiteral=function(e,t){a("DecimalLiteral",e,t)},t.assertDeclaration=function(e,t){a("Declaration",e,t)},t.assertDeclareClass=function(e,t){a("DeclareClass",e,t)},t.assertDeclareExportAllDeclaration=function(e,t){a("DeclareExportAllDeclaration",e,t)},t.assertDeclareExportDeclaration=function(e,t){a("DeclareExportDeclaration",e,t)},t.assertDeclareFunction=function(e,t){a("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t){a("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t){a("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t){a("DeclareModuleExports",e,t)},t.assertDeclareOpaqueType=function(e,t){a("DeclareOpaqueType",e,t)},t.assertDeclareTypeAlias=function(e,t){a("DeclareTypeAlias",e,t)},t.assertDeclareVariable=function(e,t){a("DeclareVariable",e,t)},t.assertDeclaredPredicate=function(e,t){a("DeclaredPredicate",e,t)},t.assertDecorator=function(e,t){a("Decorator",e,t)},t.assertDirective=function(e,t){a("Directive",e,t)},t.assertDirectiveLiteral=function(e,t){a("DirectiveLiteral",e,t)},t.assertDoExpression=function(e,t){a("DoExpression",e,t)},t.assertDoWhileStatement=function(e,t){a("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t){a("EmptyStatement",e,t)},t.assertEmptyTypeAnnotation=function(e,t){a("EmptyTypeAnnotation",e,t)},t.assertEnumBody=function(e,t){a("EnumBody",e,t)},t.assertEnumBooleanBody=function(e,t){a("EnumBooleanBody",e,t)},t.assertEnumBooleanMember=function(e,t){a("EnumBooleanMember",e,t)},t.assertEnumDeclaration=function(e,t){a("EnumDeclaration",e,t)},t.assertEnumDefaultedMember=function(e,t){a("EnumDefaultedMember",e,t)},t.assertEnumMember=function(e,t){a("EnumMember",e,t)},t.assertEnumNumberBody=function(e,t){a("EnumNumberBody",e,t)},t.assertEnumNumberMember=function(e,t){a("EnumNumberMember",e,t)},t.assertEnumStringBody=function(e,t){a("EnumStringBody",e,t)},t.assertEnumStringMember=function(e,t){a("EnumStringMember",e,t)},t.assertEnumSymbolBody=function(e,t){a("EnumSymbolBody",e,t)},t.assertExistsTypeAnnotation=function(e,t){a("ExistsTypeAnnotation",e,t)},t.assertExportAllDeclaration=function(e,t){a("ExportAllDeclaration",e,t)},t.assertExportDeclaration=function(e,t){a("ExportDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t){a("ExportDefaultDeclaration",e,t)},t.assertExportDefaultSpecifier=function(e,t){a("ExportDefaultSpecifier",e,t)},t.assertExportNamedDeclaration=function(e,t){a("ExportNamedDeclaration",e,t)},t.assertExportNamespaceSpecifier=function(e,t){a("ExportNamespaceSpecifier",e,t)},t.assertExportSpecifier=function(e,t){a("ExportSpecifier",e,t)},t.assertExpression=function(e,t){a("Expression",e,t)},t.assertExpressionStatement=function(e,t){a("ExpressionStatement",e,t)},t.assertExpressionWrapper=function(e,t){a("ExpressionWrapper",e,t)},t.assertFile=function(e,t){a("File",e,t)},t.assertFlow=function(e,t){a("Flow",e,t)},t.assertFlowBaseAnnotation=function(e,t){a("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t){a("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t){a("FlowPredicate",e,t)},t.assertFlowType=function(e,t){a("FlowType",e,t)},t.assertFor=function(e,t){a("For",e,t)},t.assertForInStatement=function(e,t){a("ForInStatement",e,t)},t.assertForOfStatement=function(e,t){a("ForOfStatement",e,t)},t.assertForStatement=function(e,t){a("ForStatement",e,t)},t.assertForXStatement=function(e,t){a("ForXStatement",e,t)},t.assertFunction=function(e,t){a("Function",e,t)},t.assertFunctionDeclaration=function(e,t){a("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t){a("FunctionExpression",e,t)},t.assertFunctionParent=function(e,t){a("FunctionParent",e,t)},t.assertFunctionTypeAnnotation=function(e,t){a("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t){a("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t){a("GenericTypeAnnotation",e,t)},t.assertIdentifier=function(e,t){a("Identifier",e,t)},t.assertIfStatement=function(e,t){a("IfStatement",e,t)},t.assertImmutable=function(e,t){a("Immutable",e,t)},t.assertImport=function(e,t){a("Import",e,t)},t.assertImportAttribute=function(e,t){a("ImportAttribute",e,t)},t.assertImportDeclaration=function(e,t){a("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t){a("ImportDefaultSpecifier",e,t)},t.assertImportNamespaceSpecifier=function(e,t){a("ImportNamespaceSpecifier",e,t)},t.assertImportOrExportDeclaration=function(e,t){a("ImportOrExportDeclaration",e,t)},t.assertImportSpecifier=function(e,t){a("ImportSpecifier",e,t)},t.assertIndexedAccessType=function(e,t){a("IndexedAccessType",e,t)},t.assertInferredPredicate=function(e,t){a("InferredPredicate",e,t)},t.assertInterfaceDeclaration=function(e,t){a("InterfaceDeclaration",e,t)},t.assertInterfaceExtends=function(e,t){a("InterfaceExtends",e,t)},t.assertInterfaceTypeAnnotation=function(e,t){a("InterfaceTypeAnnotation",e,t)},t.assertInterpreterDirective=function(e,t){a("InterpreterDirective",e,t)},t.assertIntersectionTypeAnnotation=function(e,t){a("IntersectionTypeAnnotation",e,t)},t.assertJSX=function(e,t){a("JSX",e,t)},t.assertJSXAttribute=function(e,t){a("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t){a("JSXClosingElement",e,t)},t.assertJSXClosingFragment=function(e,t){a("JSXClosingFragment",e,t)},t.assertJSXElement=function(e,t){a("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t){a("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t){a("JSXExpressionContainer",e,t)},t.assertJSXFragment=function(e,t){a("JSXFragment",e,t)},t.assertJSXIdentifier=function(e,t){a("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t){a("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t){a("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t){a("JSXOpeningElement",e,t)},t.assertJSXOpeningFragment=function(e,t){a("JSXOpeningFragment",e,t)},t.assertJSXSpreadAttribute=function(e,t){a("JSXSpreadAttribute",e,t)},t.assertJSXSpreadChild=function(e,t){a("JSXSpreadChild",e,t)},t.assertJSXText=function(e,t){a("JSXText",e,t)},t.assertLVal=function(e,t){a("LVal",e,t)},t.assertLabeledStatement=function(e,t){a("LabeledStatement",e,t)},t.assertLiteral=function(e,t){a("Literal",e,t)},t.assertLogicalExpression=function(e,t){a("LogicalExpression",e,t)},t.assertLoop=function(e,t){a("Loop",e,t)},t.assertMemberExpression=function(e,t){a("MemberExpression",e,t)},t.assertMetaProperty=function(e,t){a("MetaProperty",e,t)},t.assertMethod=function(e,t){a("Method",e,t)},t.assertMiscellaneous=function(e,t){a("Miscellaneous",e,t)},t.assertMixedTypeAnnotation=function(e,t){a("MixedTypeAnnotation",e,t)},t.assertModuleDeclaration=function(e,t){(0,i.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),a("ModuleDeclaration",e,t)},t.assertModuleExpression=function(e,t){a("ModuleExpression",e,t)},t.assertModuleSpecifier=function(e,t){a("ModuleSpecifier",e,t)},t.assertNewExpression=function(e,t){a("NewExpression",e,t)},t.assertNoop=function(e,t){a("Noop",e,t)},t.assertNullLiteral=function(e,t){a("NullLiteral",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t){a("NullLiteralTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t){a("NullableTypeAnnotation",e,t)},t.assertNumberLiteral=function(e,t){(0,i.default)("assertNumberLiteral","assertNumericLiteral"),a("NumberLiteral",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t){a("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t){a("NumberTypeAnnotation",e,t)},t.assertNumericLiteral=function(e,t){a("NumericLiteral",e,t)},t.assertObjectExpression=function(e,t){a("ObjectExpression",e,t)},t.assertObjectMember=function(e,t){a("ObjectMember",e,t)},t.assertObjectMethod=function(e,t){a("ObjectMethod",e,t)},t.assertObjectPattern=function(e,t){a("ObjectPattern",e,t)},t.assertObjectProperty=function(e,t){a("ObjectProperty",e,t)},t.assertObjectTypeAnnotation=function(e,t){a("ObjectTypeAnnotation",e,t)},t.assertObjectTypeCallProperty=function(e,t){a("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t){a("ObjectTypeIndexer",e,t)},t.assertObjectTypeInternalSlot=function(e,t){a("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeProperty=function(e,t){a("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t){a("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t){a("OpaqueType",e,t)},t.assertOptionalCallExpression=function(e,t){a("OptionalCallExpression",e,t)},t.assertOptionalIndexedAccessType=function(e,t){a("OptionalIndexedAccessType",e,t)},t.assertOptionalMemberExpression=function(e,t){a("OptionalMemberExpression",e,t)},t.assertParenthesizedExpression=function(e,t){a("ParenthesizedExpression",e,t)},t.assertPattern=function(e,t){a("Pattern",e,t)},t.assertPatternLike=function(e,t){a("PatternLike",e,t)},t.assertPipelineBareFunction=function(e,t){a("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t){a("PipelinePrimaryTopicReference",e,t)},t.assertPipelineTopicExpression=function(e,t){a("PipelineTopicExpression",e,t)},t.assertPlaceholder=function(e,t){a("Placeholder",e,t)},t.assertPrivate=function(e,t){a("Private",e,t)},t.assertPrivateName=function(e,t){a("PrivateName",e,t)},t.assertProgram=function(e,t){a("Program",e,t)},t.assertProperty=function(e,t){a("Property",e,t)},t.assertPureish=function(e,t){a("Pureish",e,t)},t.assertQualifiedTypeIdentifier=function(e,t){a("QualifiedTypeIdentifier",e,t)},t.assertRecordExpression=function(e,t){a("RecordExpression",e,t)},t.assertRegExpLiteral=function(e,t){a("RegExpLiteral",e,t)},t.assertRegexLiteral=function(e,t){(0,i.default)("assertRegexLiteral","assertRegExpLiteral"),a("RegexLiteral",e,t)},t.assertRestElement=function(e,t){a("RestElement",e,t)},t.assertRestProperty=function(e,t){(0,i.default)("assertRestProperty","assertRestElement"),a("RestProperty",e,t)},t.assertReturnStatement=function(e,t){a("ReturnStatement",e,t)},t.assertScopable=function(e,t){a("Scopable",e,t)},t.assertSequenceExpression=function(e,t){a("SequenceExpression",e,t)},t.assertSpreadElement=function(e,t){a("SpreadElement",e,t)},t.assertSpreadProperty=function(e,t){(0,i.default)("assertSpreadProperty","assertSpreadElement"),a("SpreadProperty",e,t)},t.assertStandardized=function(e,t){a("Standardized",e,t)},t.assertStatement=function(e,t){a("Statement",e,t)},t.assertStaticBlock=function(e,t){a("StaticBlock",e,t)},t.assertStringLiteral=function(e,t){a("StringLiteral",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t){a("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t){a("StringTypeAnnotation",e,t)},t.assertSuper=function(e,t){a("Super",e,t)},t.assertSwitchCase=function(e,t){a("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t){a("SwitchStatement",e,t)},t.assertSymbolTypeAnnotation=function(e,t){a("SymbolTypeAnnotation",e,t)},t.assertTSAnyKeyword=function(e,t){a("TSAnyKeyword",e,t)},t.assertTSArrayType=function(e,t){a("TSArrayType",e,t)},t.assertTSAsExpression=function(e,t){a("TSAsExpression",e,t)},t.assertTSBaseType=function(e,t){a("TSBaseType",e,t)},t.assertTSBigIntKeyword=function(e,t){a("TSBigIntKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t){a("TSBooleanKeyword",e,t)},t.assertTSCallSignatureDeclaration=function(e,t){a("TSCallSignatureDeclaration",e,t)},t.assertTSConditionalType=function(e,t){a("TSConditionalType",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t){a("TSConstructSignatureDeclaration",e,t)},t.assertTSConstructorType=function(e,t){a("TSConstructorType",e,t)},t.assertTSDeclareFunction=function(e,t){a("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t){a("TSDeclareMethod",e,t)},t.assertTSEntityName=function(e,t){a("TSEntityName",e,t)},t.assertTSEnumDeclaration=function(e,t){a("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t){a("TSEnumMember",e,t)},t.assertTSExportAssignment=function(e,t){a("TSExportAssignment",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t){a("TSExpressionWithTypeArguments",e,t)},t.assertTSExternalModuleReference=function(e,t){a("TSExternalModuleReference",e,t)},t.assertTSFunctionType=function(e,t){a("TSFunctionType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t){a("TSImportEqualsDeclaration",e,t)},t.assertTSImportType=function(e,t){a("TSImportType",e,t)},t.assertTSIndexSignature=function(e,t){a("TSIndexSignature",e,t)},t.assertTSIndexedAccessType=function(e,t){a("TSIndexedAccessType",e,t)},t.assertTSInferType=function(e,t){a("TSInferType",e,t)},t.assertTSInstantiationExpression=function(e,t){a("TSInstantiationExpression",e,t)},t.assertTSInterfaceBody=function(e,t){a("TSInterfaceBody",e,t)},t.assertTSInterfaceDeclaration=function(e,t){a("TSInterfaceDeclaration",e,t)},t.assertTSIntersectionType=function(e,t){a("TSIntersectionType",e,t)},t.assertTSIntrinsicKeyword=function(e,t){a("TSIntrinsicKeyword",e,t)},t.assertTSLiteralType=function(e,t){a("TSLiteralType",e,t)},t.assertTSMappedType=function(e,t){a("TSMappedType",e,t)},t.assertTSMethodSignature=function(e,t){a("TSMethodSignature",e,t)},t.assertTSModuleBlock=function(e,t){a("TSModuleBlock",e,t)},t.assertTSModuleDeclaration=function(e,t){a("TSModuleDeclaration",e,t)},t.assertTSNamedTupleMember=function(e,t){a("TSNamedTupleMember",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t){a("TSNamespaceExportDeclaration",e,t)},t.assertTSNeverKeyword=function(e,t){a("TSNeverKeyword",e,t)},t.assertTSNonNullExpression=function(e,t){a("TSNonNullExpression",e,t)},t.assertTSNullKeyword=function(e,t){a("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t){a("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t){a("TSObjectKeyword",e,t)},t.assertTSOptionalType=function(e,t){a("TSOptionalType",e,t)},t.assertTSParameterProperty=function(e,t){a("TSParameterProperty",e,t)},t.assertTSParenthesizedType=function(e,t){a("TSParenthesizedType",e,t)},t.assertTSPropertySignature=function(e,t){a("TSPropertySignature",e,t)},t.assertTSQualifiedName=function(e,t){a("TSQualifiedName",e,t)},t.assertTSRestType=function(e,t){a("TSRestType",e,t)},t.assertTSSatisfiesExpression=function(e,t){a("TSSatisfiesExpression",e,t)},t.assertTSStringKeyword=function(e,t){a("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t){a("TSSymbolKeyword",e,t)},t.assertTSThisType=function(e,t){a("TSThisType",e,t)},t.assertTSTupleType=function(e,t){a("TSTupleType",e,t)},t.assertTSType=function(e,t){a("TSType",e,t)},t.assertTSTypeAliasDeclaration=function(e,t){a("TSTypeAliasDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t){a("TSTypeAnnotation",e,t)},t.assertTSTypeAssertion=function(e,t){a("TSTypeAssertion",e,t)},t.assertTSTypeElement=function(e,t){a("TSTypeElement",e,t)},t.assertTSTypeLiteral=function(e,t){a("TSTypeLiteral",e,t)},t.assertTSTypeOperator=function(e,t){a("TSTypeOperator",e,t)},t.assertTSTypeParameter=function(e,t){a("TSTypeParameter",e,t)},t.assertTSTypeParameterDeclaration=function(e,t){a("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameterInstantiation=function(e,t){a("TSTypeParameterInstantiation",e,t)},t.assertTSTypePredicate=function(e,t){a("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t){a("TSTypeQuery",e,t)},t.assertTSTypeReference=function(e,t){a("TSTypeReference",e,t)},t.assertTSUndefinedKeyword=function(e,t){a("TSUndefinedKeyword",e,t)},t.assertTSUnionType=function(e,t){a("TSUnionType",e,t)},t.assertTSUnknownKeyword=function(e,t){a("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t){a("TSVoidKeyword",e,t)},t.assertTaggedTemplateExpression=function(e,t){a("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t){a("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t){a("TemplateLiteral",e,t)},t.assertTerminatorless=function(e,t){a("Terminatorless",e,t)},t.assertThisExpression=function(e,t){a("ThisExpression",e,t)},t.assertThisTypeAnnotation=function(e,t){a("ThisTypeAnnotation",e,t)},t.assertThrowStatement=function(e,t){a("ThrowStatement",e,t)},t.assertTopicReference=function(e,t){a("TopicReference",e,t)},t.assertTryStatement=function(e,t){a("TryStatement",e,t)},t.assertTupleExpression=function(e,t){a("TupleExpression",e,t)},t.assertTupleTypeAnnotation=function(e,t){a("TupleTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t){a("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t){a("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t){a("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t){a("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t){a("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t){a("TypeParameterInstantiation",e,t)},t.assertTypeScript=function(e,t){a("TypeScript",e,t)},t.assertTypeofTypeAnnotation=function(e,t){a("TypeofTypeAnnotation",e,t)},t.assertUnaryExpression=function(e,t){a("UnaryExpression",e,t)},t.assertUnaryLike=function(e,t){a("UnaryLike",e,t)},t.assertUnionTypeAnnotation=function(e,t){a("UnionTypeAnnotation",e,t)},t.assertUpdateExpression=function(e,t){a("UpdateExpression",e,t)},t.assertUserWhitespacable=function(e,t){a("UserWhitespacable",e,t)},t.assertV8IntrinsicIdentifier=function(e,t){a("V8IntrinsicIdentifier",e,t)},t.assertVariableDeclaration=function(e,t){a("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t){a("VariableDeclarator",e,t)},t.assertVariance=function(e,t){a("Variance",e,t)},t.assertVoidTypeAnnotation=function(e,t){a("VoidTypeAnnotation",e,t)},t.assertWhile=function(e,t){a("While",e,t)},t.assertWhileStatement=function(e,t){a("WhileStatement",e,t)},t.assertWithStatement=function(e,t){a("WithStatement",e,t)},t.assertYieldExpression=function(e,t){a("YieldExpression",e,t)};var r=n(5171),i=n(4619);function a(e,t,n){if(!(0,r.default)(e,t,n))throw new Error(`Expected type "${e}" with option ${JSON.stringify(n)}, but instead got "${t.type}".`)}},7625:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,i.default)(e);return 1===t.length?t[0]:(0,r.unionTypeAnnotation)(t)};var r=n(1411),i=n(8874)},5976:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1411),i=function(e){switch(e){case"string":return(0,r.stringTypeAnnotation)();case"number":return(0,r.numberTypeAnnotation)();case"undefined":return(0,r.voidTypeAnnotation)();case"boolean":return(0,r.booleanTypeAnnotation)();case"function":return(0,r.genericTypeAnnotation)((0,r.identifier)("Function"));case"object":return(0,r.genericTypeAnnotation)((0,r.identifier)("Object"));case"symbol":return(0,r.genericTypeAnnotation)((0,r.identifier)("Symbol"));case"bigint":return(0,r.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)};t.default=i},1411:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},t.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},t.arrayExpression=function(e=[]){return(0,r.default)({type:"ArrayExpression",elements:e})},t.arrayPattern=function(e){return(0,r.default)({type:"ArrayPattern",elements:e})},t.arrayTypeAnnotation=function(e){return(0,r.default)({type:"ArrayTypeAnnotation",elementType:e})},t.arrowFunctionExpression=function(e,t,n=!1){return(0,r.default)({type:"ArrowFunctionExpression",params:e,body:t,async:n,expression:null})},t.assignmentExpression=function(e,t,n){return(0,r.default)({type:"AssignmentExpression",operator:e,left:t,right:n})},t.assignmentPattern=function(e,t){return(0,r.default)({type:"AssignmentPattern",left:e,right:t})},t.awaitExpression=function(e){return(0,r.default)({type:"AwaitExpression",argument:e})},t.bigIntLiteral=function(e){return(0,r.default)({type:"BigIntLiteral",value:e})},t.binaryExpression=function(e,t,n){return(0,r.default)({type:"BinaryExpression",operator:e,left:t,right:n})},t.bindExpression=function(e,t){return(0,r.default)({type:"BindExpression",object:e,callee:t})},t.blockStatement=function(e,t=[]){return(0,r.default)({type:"BlockStatement",body:e,directives:t})},t.booleanLiteral=function(e){return(0,r.default)({type:"BooleanLiteral",value:e})},t.booleanLiteralTypeAnnotation=function(e){return(0,r.default)({type:"BooleanLiteralTypeAnnotation",value:e})},t.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},t.breakStatement=function(e=null){return(0,r.default)({type:"BreakStatement",label:e})},t.callExpression=function(e,t){return(0,r.default)({type:"CallExpression",callee:e,arguments:t})},t.catchClause=function(e=null,t){return(0,r.default)({type:"CatchClause",param:e,body:t})},t.classAccessorProperty=function(e,t=null,n=null,i=null,a=!1,s=!1){return(0,r.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:n,decorators:i,computed:a,static:s})},t.classBody=function(e){return(0,r.default)({type:"ClassBody",body:e})},t.classDeclaration=function(e,t=null,n,i=null){return(0,r.default)({type:"ClassDeclaration",id:e,superClass:t,body:n,decorators:i})},t.classExpression=function(e=null,t=null,n,i=null){return(0,r.default)({type:"ClassExpression",id:e,superClass:t,body:n,decorators:i})},t.classImplements=function(e,t=null){return(0,r.default)({type:"ClassImplements",id:e,typeParameters:t})},t.classMethod=function(e="method",t,n,i,a=!1,s=!1,o=!1,l=!1){return(0,r.default)({type:"ClassMethod",kind:e,key:t,params:n,body:i,computed:a,static:s,generator:o,async:l})},t.classPrivateMethod=function(e="method",t,n,i,a=!1){return(0,r.default)({type:"ClassPrivateMethod",kind:e,key:t,params:n,body:i,static:a})},t.classPrivateProperty=function(e,t=null,n=null,i=!1){return(0,r.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:n,static:i})},t.classProperty=function(e,t=null,n=null,i=null,a=!1,s=!1){return(0,r.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:n,decorators:i,computed:a,static:s})},t.conditionalExpression=function(e,t,n){return(0,r.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:n})},t.continueStatement=function(e=null){return(0,r.default)({type:"ContinueStatement",label:e})},t.debuggerStatement=function(){return{type:"DebuggerStatement"}},t.decimalLiteral=function(e){return(0,r.default)({type:"DecimalLiteral",value:e})},t.declareClass=function(e,t=null,n=null,i){return(0,r.default)({type:"DeclareClass",id:e,typeParameters:t,extends:n,body:i})},t.declareExportAllDeclaration=function(e){return(0,r.default)({type:"DeclareExportAllDeclaration",source:e})},t.declareExportDeclaration=function(e=null,t=null,n=null){return(0,r.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:n})},t.declareFunction=function(e){return(0,r.default)({type:"DeclareFunction",id:e})},t.declareInterface=function(e,t=null,n=null,i){return(0,r.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:n,body:i})},t.declareModule=function(e,t,n=null){return(0,r.default)({type:"DeclareModule",id:e,body:t,kind:n})},t.declareModuleExports=function(e){return(0,r.default)({type:"DeclareModuleExports",typeAnnotation:e})},t.declareOpaqueType=function(e,t=null,n=null){return(0,r.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:n})},t.declareTypeAlias=function(e,t=null,n){return(0,r.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:n})},t.declareVariable=function(e){return(0,r.default)({type:"DeclareVariable",id:e})},t.declaredPredicate=function(e){return(0,r.default)({type:"DeclaredPredicate",value:e})},t.decorator=function(e){return(0,r.default)({type:"Decorator",expression:e})},t.directive=function(e){return(0,r.default)({type:"Directive",value:e})},t.directiveLiteral=function(e){return(0,r.default)({type:"DirectiveLiteral",value:e})},t.doExpression=function(e,t=!1){return(0,r.default)({type:"DoExpression",body:e,async:t})},t.doWhileStatement=function(e,t){return(0,r.default)({type:"DoWhileStatement",test:e,body:t})},t.emptyStatement=function(){return{type:"EmptyStatement"}},t.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},t.enumBooleanBody=function(e){return(0,r.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})},t.enumBooleanMember=function(e){return(0,r.default)({type:"EnumBooleanMember",id:e,init:null})},t.enumDeclaration=function(e,t){return(0,r.default)({type:"EnumDeclaration",id:e,body:t})},t.enumDefaultedMember=function(e){return(0,r.default)({type:"EnumDefaultedMember",id:e})},t.enumNumberBody=function(e){return(0,r.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})},t.enumNumberMember=function(e,t){return(0,r.default)({type:"EnumNumberMember",id:e,init:t})},t.enumStringBody=function(e){return(0,r.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})},t.enumStringMember=function(e,t){return(0,r.default)({type:"EnumStringMember",id:e,init:t})},t.enumSymbolBody=function(e){return(0,r.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})},t.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},t.exportAllDeclaration=function(e){return(0,r.default)({type:"ExportAllDeclaration",source:e})},t.exportDefaultDeclaration=function(e){return(0,r.default)({type:"ExportDefaultDeclaration",declaration:e})},t.exportDefaultSpecifier=function(e){return(0,r.default)({type:"ExportDefaultSpecifier",exported:e})},t.exportNamedDeclaration=function(e=null,t=[],n=null){return(0,r.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:n})},t.exportNamespaceSpecifier=function(e){return(0,r.default)({type:"ExportNamespaceSpecifier",exported:e})},t.exportSpecifier=function(e,t){return(0,r.default)({type:"ExportSpecifier",local:e,exported:t})},t.expressionStatement=function(e){return(0,r.default)({type:"ExpressionStatement",expression:e})},t.file=function(e,t=null,n=null){return(0,r.default)({type:"File",program:e,comments:t,tokens:n})},t.forInStatement=function(e,t,n){return(0,r.default)({type:"ForInStatement",left:e,right:t,body:n})},t.forOfStatement=function(e,t,n,i=!1){return(0,r.default)({type:"ForOfStatement",left:e,right:t,body:n,await:i})},t.forStatement=function(e=null,t=null,n=null,i){return(0,r.default)({type:"ForStatement",init:e,test:t,update:n,body:i})},t.functionDeclaration=function(e=null,t,n,i=!1,a=!1){return(0,r.default)({type:"FunctionDeclaration",id:e,params:t,body:n,generator:i,async:a})},t.functionExpression=function(e=null,t,n,i=!1,a=!1){return(0,r.default)({type:"FunctionExpression",id:e,params:t,body:n,generator:i,async:a})},t.functionTypeAnnotation=function(e=null,t,n=null,i){return(0,r.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:n,returnType:i})},t.functionTypeParam=function(e=null,t){return(0,r.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})},t.genericTypeAnnotation=function(e,t=null){return(0,r.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})},t.identifier=function(e){return(0,r.default)({type:"Identifier",name:e})},t.ifStatement=function(e,t,n=null){return(0,r.default)({type:"IfStatement",test:e,consequent:t,alternate:n})},t.import=function(){return{type:"Import"}},t.importAttribute=function(e,t){return(0,r.default)({type:"ImportAttribute",key:e,value:t})},t.importDeclaration=function(e,t){return(0,r.default)({type:"ImportDeclaration",specifiers:e,source:t})},t.importDefaultSpecifier=function(e){return(0,r.default)({type:"ImportDefaultSpecifier",local:e})},t.importNamespaceSpecifier=function(e){return(0,r.default)({type:"ImportNamespaceSpecifier",local:e})},t.importSpecifier=function(e,t){return(0,r.default)({type:"ImportSpecifier",local:e,imported:t})},t.indexedAccessType=function(e,t){return(0,r.default)({type:"IndexedAccessType",objectType:e,indexType:t})},t.inferredPredicate=function(){return{type:"InferredPredicate"}},t.interfaceDeclaration=function(e,t=null,n=null,i){return(0,r.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:n,body:i})},t.interfaceExtends=function(e,t=null){return(0,r.default)({type:"InterfaceExtends",id:e,typeParameters:t})},t.interfaceTypeAnnotation=function(e=null,t){return(0,r.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})},t.interpreterDirective=function(e){return(0,r.default)({type:"InterpreterDirective",value:e})},t.intersectionTypeAnnotation=function(e){return(0,r.default)({type:"IntersectionTypeAnnotation",types:e})},t.jSXAttribute=t.jsxAttribute=function(e,t=null){return(0,r.default)({type:"JSXAttribute",name:e,value:t})},t.jSXClosingElement=t.jsxClosingElement=function(e){return(0,r.default)({type:"JSXClosingElement",name:e})},t.jSXClosingFragment=t.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},t.jSXElement=t.jsxElement=function(e,t=null,n,i=null){return(0,r.default)({type:"JSXElement",openingElement:e,closingElement:t,children:n,selfClosing:i})},t.jSXEmptyExpression=t.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},t.jSXExpressionContainer=t.jsxExpressionContainer=function(e){return(0,r.default)({type:"JSXExpressionContainer",expression:e})},t.jSXFragment=t.jsxFragment=function(e,t,n){return(0,r.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:n})},t.jSXIdentifier=t.jsxIdentifier=function(e){return(0,r.default)({type:"JSXIdentifier",name:e})},t.jSXMemberExpression=t.jsxMemberExpression=function(e,t){return(0,r.default)({type:"JSXMemberExpression",object:e,property:t})},t.jSXNamespacedName=t.jsxNamespacedName=function(e,t){return(0,r.default)({type:"JSXNamespacedName",namespace:e,name:t})},t.jSXOpeningElement=t.jsxOpeningElement=function(e,t,n=!1){return(0,r.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:n})},t.jSXOpeningFragment=t.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},t.jSXSpreadAttribute=t.jsxSpreadAttribute=function(e){return(0,r.default)({type:"JSXSpreadAttribute",argument:e})},t.jSXSpreadChild=t.jsxSpreadChild=function(e){return(0,r.default)({type:"JSXSpreadChild",expression:e})},t.jSXText=t.jsxText=function(e){return(0,r.default)({type:"JSXText",value:e})},t.labeledStatement=function(e,t){return(0,r.default)({type:"LabeledStatement",label:e,body:t})},t.logicalExpression=function(e,t,n){return(0,r.default)({type:"LogicalExpression",operator:e,left:t,right:n})},t.memberExpression=function(e,t,n=!1,i=null){return(0,r.default)({type:"MemberExpression",object:e,property:t,computed:n,optional:i})},t.metaProperty=function(e,t){return(0,r.default)({type:"MetaProperty",meta:e,property:t})},t.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},t.moduleExpression=function(e){return(0,r.default)({type:"ModuleExpression",body:e})},t.newExpression=function(e,t){return(0,r.default)({type:"NewExpression",callee:e,arguments:t})},t.noop=function(){return{type:"Noop"}},t.nullLiteral=function(){return{type:"NullLiteral"}},t.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},t.nullableTypeAnnotation=function(e){return(0,r.default)({type:"NullableTypeAnnotation",typeAnnotation:e})},t.numberLiteral=function(e){return(0,i.default)("NumberLiteral","NumericLiteral","The node type "),a(e)},t.numberLiteralTypeAnnotation=function(e){return(0,r.default)({type:"NumberLiteralTypeAnnotation",value:e})},t.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},t.numericLiteral=a,t.objectExpression=function(e){return(0,r.default)({type:"ObjectExpression",properties:e})},t.objectMethod=function(e="method",t,n,i,a=!1,s=!1,o=!1){return(0,r.default)({type:"ObjectMethod",kind:e,key:t,params:n,body:i,computed:a,generator:s,async:o})},t.objectPattern=function(e){return(0,r.default)({type:"ObjectPattern",properties:e})},t.objectProperty=function(e,t,n=!1,i=!1,a=null){return(0,r.default)({type:"ObjectProperty",key:e,value:t,computed:n,shorthand:i,decorators:a})},t.objectTypeAnnotation=function(e,t=[],n=[],i=[],a=!1){return(0,r.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:n,internalSlots:i,exact:a})},t.objectTypeCallProperty=function(e){return(0,r.default)({type:"ObjectTypeCallProperty",value:e,static:null})},t.objectTypeIndexer=function(e=null,t,n,i=null){return(0,r.default)({type:"ObjectTypeIndexer",id:e,key:t,value:n,variance:i,static:null})},t.objectTypeInternalSlot=function(e,t,n,i,a){return(0,r.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:n,static:i,method:a})},t.objectTypeProperty=function(e,t,n=null){return(0,r.default)({type:"ObjectTypeProperty",key:e,value:t,variance:n,kind:null,method:null,optional:null,proto:null,static:null})},t.objectTypeSpreadProperty=function(e){return(0,r.default)({type:"ObjectTypeSpreadProperty",argument:e})},t.opaqueType=function(e,t=null,n=null,i){return(0,r.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:n,impltype:i})},t.optionalCallExpression=function(e,t,n){return(0,r.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:n})},t.optionalIndexedAccessType=function(e,t){return(0,r.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})},t.optionalMemberExpression=function(e,t,n=!1,i){return(0,r.default)({type:"OptionalMemberExpression",object:e,property:t,computed:n,optional:i})},t.parenthesizedExpression=function(e){return(0,r.default)({type:"ParenthesizedExpression",expression:e})},t.pipelineBareFunction=function(e){return(0,r.default)({type:"PipelineBareFunction",callee:e})},t.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},t.pipelineTopicExpression=function(e){return(0,r.default)({type:"PipelineTopicExpression",expression:e})},t.placeholder=function(e,t){return(0,r.default)({type:"Placeholder",expectedNode:e,name:t})},t.privateName=function(e){return(0,r.default)({type:"PrivateName",id:e})},t.program=function(e,t=[],n="script",i=null){return(0,r.default)({type:"Program",body:e,directives:t,sourceType:n,interpreter:i,sourceFile:null})},t.qualifiedTypeIdentifier=function(e,t){return(0,r.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})},t.recordExpression=function(e){return(0,r.default)({type:"RecordExpression",properties:e})},t.regExpLiteral=s,t.regexLiteral=function(e,t=""){return(0,i.default)("RegexLiteral","RegExpLiteral","The node type "),s(e,t)},t.restElement=o,t.restProperty=function(e){return(0,i.default)("RestProperty","RestElement","The node type "),o(e)},t.returnStatement=function(e=null){return(0,r.default)({type:"ReturnStatement",argument:e})},t.sequenceExpression=function(e){return(0,r.default)({type:"SequenceExpression",expressions:e})},t.spreadElement=l,t.spreadProperty=function(e){return(0,i.default)("SpreadProperty","SpreadElement","The node type "),l(e)},t.staticBlock=function(e){return(0,r.default)({type:"StaticBlock",body:e})},t.stringLiteral=function(e){return(0,r.default)({type:"StringLiteral",value:e})},t.stringLiteralTypeAnnotation=function(e){return(0,r.default)({type:"StringLiteralTypeAnnotation",value:e})},t.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},t.super=function(){return{type:"Super"}},t.switchCase=function(e=null,t){return(0,r.default)({type:"SwitchCase",test:e,consequent:t})},t.switchStatement=function(e,t){return(0,r.default)({type:"SwitchStatement",discriminant:e,cases:t})},t.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},t.taggedTemplateExpression=function(e,t){return(0,r.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})},t.templateElement=function(e,t=!1){return(0,r.default)({type:"TemplateElement",value:e,tail:t})},t.templateLiteral=function(e,t){return(0,r.default)({type:"TemplateLiteral",quasis:e,expressions:t})},t.thisExpression=function(){return{type:"ThisExpression"}},t.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},t.throwStatement=function(e){return(0,r.default)({type:"ThrowStatement",argument:e})},t.topicReference=function(){return{type:"TopicReference"}},t.tryStatement=function(e,t=null,n=null){return(0,r.default)({type:"TryStatement",block:e,handler:t,finalizer:n})},t.tSAnyKeyword=t.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},t.tSArrayType=t.tsArrayType=function(e){return(0,r.default)({type:"TSArrayType",elementType:e})},t.tSAsExpression=t.tsAsExpression=function(e,t){return(0,r.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})},t.tSBigIntKeyword=t.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},t.tSBooleanKeyword=t.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=function(e=null,t,n=null){return(0,r.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:n})},t.tSConditionalType=t.tsConditionalType=function(e,t,n,i){return(0,r.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:n,falseType:i})},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=function(e=null,t,n=null){return(0,r.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:n})},t.tSConstructorType=t.tsConstructorType=function(e=null,t,n=null){return(0,r.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:n})},t.tSDeclareFunction=t.tsDeclareFunction=function(e=null,t=null,n,i=null){return(0,r.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:n,returnType:i})},t.tSDeclareMethod=t.tsDeclareMethod=function(e=null,t,n=null,i,a=null){return(0,r.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:n,params:i,returnType:a})},t.tSEnumDeclaration=t.tsEnumDeclaration=function(e,t){return(0,r.default)({type:"TSEnumDeclaration",id:e,members:t})},t.tSEnumMember=t.tsEnumMember=function(e,t=null){return(0,r.default)({type:"TSEnumMember",id:e,initializer:t})},t.tSExportAssignment=t.tsExportAssignment=function(e){return(0,r.default)({type:"TSExportAssignment",expression:e})},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=function(e,t=null){return(0,r.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})},t.tSExternalModuleReference=t.tsExternalModuleReference=function(e){return(0,r.default)({type:"TSExternalModuleReference",expression:e})},t.tSFunctionType=t.tsFunctionType=function(e=null,t,n=null){return(0,r.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:n})},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=function(e,t){return(0,r.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})},t.tSImportType=t.tsImportType=function(e,t=null,n=null){return(0,r.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:n})},t.tSIndexSignature=t.tsIndexSignature=function(e,t=null){return(0,r.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})},t.tSIndexedAccessType=t.tsIndexedAccessType=function(e,t){return(0,r.default)({type:"TSIndexedAccessType",objectType:e,indexType:t})},t.tSInferType=t.tsInferType=function(e){return(0,r.default)({type:"TSInferType",typeParameter:e})},t.tSInstantiationExpression=t.tsInstantiationExpression=function(e,t=null){return(0,r.default)({type:"TSInstantiationExpression",expression:e,typeParameters:t})},t.tSInterfaceBody=t.tsInterfaceBody=function(e){return(0,r.default)({type:"TSInterfaceBody",body:e})},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=function(e,t=null,n=null,i){return(0,r.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:n,body:i})},t.tSIntersectionType=t.tsIntersectionType=function(e){return(0,r.default)({type:"TSIntersectionType",types:e})},t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},t.tSLiteralType=t.tsLiteralType=function(e){return(0,r.default)({type:"TSLiteralType",literal:e})},t.tSMappedType=t.tsMappedType=function(e,t=null,n=null){return(0,r.default)({type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:n})},t.tSMethodSignature=t.tsMethodSignature=function(e,t=null,n,i=null){return(0,r.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:n,typeAnnotation:i,kind:null})},t.tSModuleBlock=t.tsModuleBlock=function(e){return(0,r.default)({type:"TSModuleBlock",body:e})},t.tSModuleDeclaration=t.tsModuleDeclaration=function(e,t){return(0,r.default)({type:"TSModuleDeclaration",id:e,body:t})},t.tSNamedTupleMember=t.tsNamedTupleMember=function(e,t,n=!1){return(0,r.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:n})},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=function(e){return(0,r.default)({type:"TSNamespaceExportDeclaration",id:e})},t.tSNeverKeyword=t.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},t.tSNonNullExpression=t.tsNonNullExpression=function(e){return(0,r.default)({type:"TSNonNullExpression",expression:e})},t.tSNullKeyword=t.tsNullKeyword=function(){return{type:"TSNullKeyword"}},t.tSNumberKeyword=t.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},t.tSObjectKeyword=t.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},t.tSOptionalType=t.tsOptionalType=function(e){return(0,r.default)({type:"TSOptionalType",typeAnnotation:e})},t.tSParameterProperty=t.tsParameterProperty=function(e){return(0,r.default)({type:"TSParameterProperty",parameter:e})},t.tSParenthesizedType=t.tsParenthesizedType=function(e){return(0,r.default)({type:"TSParenthesizedType",typeAnnotation:e})},t.tSPropertySignature=t.tsPropertySignature=function(e,t=null,n=null){return(0,r.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,initializer:n,kind:null})},t.tSQualifiedName=t.tsQualifiedName=function(e,t){return(0,r.default)({type:"TSQualifiedName",left:e,right:t})},t.tSRestType=t.tsRestType=function(e){return(0,r.default)({type:"TSRestType",typeAnnotation:e})},t.tSSatisfiesExpression=t.tsSatisfiesExpression=function(e,t){return(0,r.default)({type:"TSSatisfiesExpression",expression:e,typeAnnotation:t})},t.tSStringKeyword=t.tsStringKeyword=function(){return{type:"TSStringKeyword"}},t.tSSymbolKeyword=t.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},t.tSThisType=t.tsThisType=function(){return{type:"TSThisType"}},t.tSTupleType=t.tsTupleType=function(e){return(0,r.default)({type:"TSTupleType",elementTypes:e})},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=function(e,t=null,n){return(0,r.default)({type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:n})},t.tSTypeAnnotation=t.tsTypeAnnotation=function(e){return(0,r.default)({type:"TSTypeAnnotation",typeAnnotation:e})},t.tSTypeAssertion=t.tsTypeAssertion=function(e,t){return(0,r.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})},t.tSTypeLiteral=t.tsTypeLiteral=function(e){return(0,r.default)({type:"TSTypeLiteral",members:e})},t.tSTypeOperator=t.tsTypeOperator=function(e){return(0,r.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})},t.tSTypeParameter=t.tsTypeParameter=function(e=null,t=null,n){return(0,r.default)({type:"TSTypeParameter",constraint:e,default:t,name:n})},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=function(e){return(0,r.default)({type:"TSTypeParameterDeclaration",params:e})},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=function(e){return(0,r.default)({type:"TSTypeParameterInstantiation",params:e})},t.tSTypePredicate=t.tsTypePredicate=function(e,t=null,n=null){return(0,r.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:n})},t.tSTypeQuery=t.tsTypeQuery=function(e,t=null){return(0,r.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})},t.tSTypeReference=t.tsTypeReference=function(e,t=null){return(0,r.default)({type:"TSTypeReference",typeName:e,typeParameters:t})},t.tSUndefinedKeyword=t.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},t.tSUnionType=t.tsUnionType=function(e){return(0,r.default)({type:"TSUnionType",types:e})},t.tSUnknownKeyword=t.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},t.tSVoidKeyword=t.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},t.tupleExpression=function(e=[]){return(0,r.default)({type:"TupleExpression",elements:e})},t.tupleTypeAnnotation=function(e){return(0,r.default)({type:"TupleTypeAnnotation",types:e})},t.typeAlias=function(e,t=null,n){return(0,r.default)({type:"TypeAlias",id:e,typeParameters:t,right:n})},t.typeAnnotation=function(e){return(0,r.default)({type:"TypeAnnotation",typeAnnotation:e})},t.typeCastExpression=function(e,t){return(0,r.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})},t.typeParameter=function(e=null,t=null,n=null){return(0,r.default)({type:"TypeParameter",bound:e,default:t,variance:n,name:null})},t.typeParameterDeclaration=function(e){return(0,r.default)({type:"TypeParameterDeclaration",params:e})},t.typeParameterInstantiation=function(e){return(0,r.default)({type:"TypeParameterInstantiation",params:e})},t.typeofTypeAnnotation=function(e){return(0,r.default)({type:"TypeofTypeAnnotation",argument:e})},t.unaryExpression=function(e,t,n=!0){return(0,r.default)({type:"UnaryExpression",operator:e,argument:t,prefix:n})},t.unionTypeAnnotation=function(e){return(0,r.default)({type:"UnionTypeAnnotation",types:e})},t.updateExpression=function(e,t,n=!1){return(0,r.default)({type:"UpdateExpression",operator:e,argument:t,prefix:n})},t.v8IntrinsicIdentifier=function(e){return(0,r.default)({type:"V8IntrinsicIdentifier",name:e})},t.variableDeclaration=function(e,t){return(0,r.default)({type:"VariableDeclaration",kind:e,declarations:t})},t.variableDeclarator=function(e,t=null){return(0,r.default)({type:"VariableDeclarator",id:e,init:t})},t.variance=function(e){return(0,r.default)({type:"Variance",kind:e})},t.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},t.whileStatement=function(e,t){return(0,r.default)({type:"WhileStatement",test:e,body:t})},t.withStatement=function(e,t){return(0,r.default)({type:"WithStatement",object:e,body:t})},t.yieldExpression=function(e=null,t=!1){return(0,r.default)({type:"YieldExpression",argument:e,delegate:t})};var r=n(6505),i=n(4619);function a(e){return(0,r.default)({type:"NumericLiteral",value:e})}function s(e,t=""){return(0,r.default)({type:"RegExpLiteral",pattern:e,flags:t})}function o(e){return(0,r.default)({type:"RestElement",argument:e})}function l(e){return(0,r.default)({type:"SpreadElement",argument:e})}},9470:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:!0,get:function(){return r.anyTypeAnnotation}}),Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:!0,get:function(){return r.argumentPlaceholder}}),Object.defineProperty(t,"ArrayExpression",{enumerable:!0,get:function(){return r.arrayExpression}}),Object.defineProperty(t,"ArrayPattern",{enumerable:!0,get:function(){return r.arrayPattern}}),Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return r.arrayTypeAnnotation}}),Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:!0,get:function(){return r.arrowFunctionExpression}}),Object.defineProperty(t,"AssignmentExpression",{enumerable:!0,get:function(){return r.assignmentExpression}}),Object.defineProperty(t,"AssignmentPattern",{enumerable:!0,get:function(){return r.assignmentPattern}}),Object.defineProperty(t,"AwaitExpression",{enumerable:!0,get:function(){return r.awaitExpression}}),Object.defineProperty(t,"BigIntLiteral",{enumerable:!0,get:function(){return r.bigIntLiteral}}),Object.defineProperty(t,"BinaryExpression",{enumerable:!0,get:function(){return r.binaryExpression}}),Object.defineProperty(t,"BindExpression",{enumerable:!0,get:function(){return r.bindExpression}}),Object.defineProperty(t,"BlockStatement",{enumerable:!0,get:function(){return r.blockStatement}}),Object.defineProperty(t,"BooleanLiteral",{enumerable:!0,get:function(){return r.booleanLiteral}}),Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return r.booleanLiteralTypeAnnotation}}),Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return r.booleanTypeAnnotation}}),Object.defineProperty(t,"BreakStatement",{enumerable:!0,get:function(){return r.breakStatement}}),Object.defineProperty(t,"CallExpression",{enumerable:!0,get:function(){return r.callExpression}}),Object.defineProperty(t,"CatchClause",{enumerable:!0,get:function(){return r.catchClause}}),Object.defineProperty(t,"ClassAccessorProperty",{enumerable:!0,get:function(){return r.classAccessorProperty}}),Object.defineProperty(t,"ClassBody",{enumerable:!0,get:function(){return r.classBody}}),Object.defineProperty(t,"ClassDeclaration",{enumerable:!0,get:function(){return r.classDeclaration}}),Object.defineProperty(t,"ClassExpression",{enumerable:!0,get:function(){return r.classExpression}}),Object.defineProperty(t,"ClassImplements",{enumerable:!0,get:function(){return r.classImplements}}),Object.defineProperty(t,"ClassMethod",{enumerable:!0,get:function(){return r.classMethod}}),Object.defineProperty(t,"ClassPrivateMethod",{enumerable:!0,get:function(){return r.classPrivateMethod}}),Object.defineProperty(t,"ClassPrivateProperty",{enumerable:!0,get:function(){return r.classPrivateProperty}}),Object.defineProperty(t,"ClassProperty",{enumerable:!0,get:function(){return r.classProperty}}),Object.defineProperty(t,"ConditionalExpression",{enumerable:!0,get:function(){return r.conditionalExpression}}),Object.defineProperty(t,"ContinueStatement",{enumerable:!0,get:function(){return r.continueStatement}}),Object.defineProperty(t,"DebuggerStatement",{enumerable:!0,get:function(){return r.debuggerStatement}}),Object.defineProperty(t,"DecimalLiteral",{enumerable:!0,get:function(){return r.decimalLiteral}}),Object.defineProperty(t,"DeclareClass",{enumerable:!0,get:function(){return r.declareClass}}),Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return r.declareExportAllDeclaration}}),Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:!0,get:function(){return r.declareExportDeclaration}}),Object.defineProperty(t,"DeclareFunction",{enumerable:!0,get:function(){return r.declareFunction}}),Object.defineProperty(t,"DeclareInterface",{enumerable:!0,get:function(){return r.declareInterface}}),Object.defineProperty(t,"DeclareModule",{enumerable:!0,get:function(){return r.declareModule}}),Object.defineProperty(t,"DeclareModuleExports",{enumerable:!0,get:function(){return r.declareModuleExports}}),Object.defineProperty(t,"DeclareOpaqueType",{enumerable:!0,get:function(){return r.declareOpaqueType}}),Object.defineProperty(t,"DeclareTypeAlias",{enumerable:!0,get:function(){return r.declareTypeAlias}}),Object.defineProperty(t,"DeclareVariable",{enumerable:!0,get:function(){return r.declareVariable}}),Object.defineProperty(t,"DeclaredPredicate",{enumerable:!0,get:function(){return r.declaredPredicate}}),Object.defineProperty(t,"Decorator",{enumerable:!0,get:function(){return r.decorator}}),Object.defineProperty(t,"Directive",{enumerable:!0,get:function(){return r.directive}}),Object.defineProperty(t,"DirectiveLiteral",{enumerable:!0,get:function(){return r.directiveLiteral}}),Object.defineProperty(t,"DoExpression",{enumerable:!0,get:function(){return r.doExpression}}),Object.defineProperty(t,"DoWhileStatement",{enumerable:!0,get:function(){return r.doWhileStatement}}),Object.defineProperty(t,"EmptyStatement",{enumerable:!0,get:function(){return r.emptyStatement}}),Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return r.emptyTypeAnnotation}}),Object.defineProperty(t,"EnumBooleanBody",{enumerable:!0,get:function(){return r.enumBooleanBody}}),Object.defineProperty(t,"EnumBooleanMember",{enumerable:!0,get:function(){return r.enumBooleanMember}}),Object.defineProperty(t,"EnumDeclaration",{enumerable:!0,get:function(){return r.enumDeclaration}}),Object.defineProperty(t,"EnumDefaultedMember",{enumerable:!0,get:function(){return r.enumDefaultedMember}}),Object.defineProperty(t,"EnumNumberBody",{enumerable:!0,get:function(){return r.enumNumberBody}}),Object.defineProperty(t,"EnumNumberMember",{enumerable:!0,get:function(){return r.enumNumberMember}}),Object.defineProperty(t,"EnumStringBody",{enumerable:!0,get:function(){return r.enumStringBody}}),Object.defineProperty(t,"EnumStringMember",{enumerable:!0,get:function(){return r.enumStringMember}}),Object.defineProperty(t,"EnumSymbolBody",{enumerable:!0,get:function(){return r.enumSymbolBody}}),Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return r.existsTypeAnnotation}}),Object.defineProperty(t,"ExportAllDeclaration",{enumerable:!0,get:function(){return r.exportAllDeclaration}}),Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return r.exportDefaultDeclaration}}),Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return r.exportDefaultSpecifier}}),Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:!0,get:function(){return r.exportNamedDeclaration}}),Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return r.exportNamespaceSpecifier}}),Object.defineProperty(t,"ExportSpecifier",{enumerable:!0,get:function(){return r.exportSpecifier}}),Object.defineProperty(t,"ExpressionStatement",{enumerable:!0,get:function(){return r.expressionStatement}}),Object.defineProperty(t,"File",{enumerable:!0,get:function(){return r.file}}),Object.defineProperty(t,"ForInStatement",{enumerable:!0,get:function(){return r.forInStatement}}),Object.defineProperty(t,"ForOfStatement",{enumerable:!0,get:function(){return r.forOfStatement}}),Object.defineProperty(t,"ForStatement",{enumerable:!0,get:function(){return r.forStatement}}),Object.defineProperty(t,"FunctionDeclaration",{enumerable:!0,get:function(){return r.functionDeclaration}}),Object.defineProperty(t,"FunctionExpression",{enumerable:!0,get:function(){return r.functionExpression}}),Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return r.functionTypeAnnotation}}),Object.defineProperty(t,"FunctionTypeParam",{enumerable:!0,get:function(){return r.functionTypeParam}}),Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:!0,get:function(){return r.genericTypeAnnotation}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return r.identifier}}),Object.defineProperty(t,"IfStatement",{enumerable:!0,get:function(){return r.ifStatement}}),Object.defineProperty(t,"Import",{enumerable:!0,get:function(){return r.import}}),Object.defineProperty(t,"ImportAttribute",{enumerable:!0,get:function(){return r.importAttribute}}),Object.defineProperty(t,"ImportDeclaration",{enumerable:!0,get:function(){return r.importDeclaration}}),Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return r.importDefaultSpecifier}}),Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return r.importNamespaceSpecifier}}),Object.defineProperty(t,"ImportSpecifier",{enumerable:!0,get:function(){return r.importSpecifier}}),Object.defineProperty(t,"IndexedAccessType",{enumerable:!0,get:function(){return r.indexedAccessType}}),Object.defineProperty(t,"InferredPredicate",{enumerable:!0,get:function(){return r.inferredPredicate}}),Object.defineProperty(t,"InterfaceDeclaration",{enumerable:!0,get:function(){return r.interfaceDeclaration}}),Object.defineProperty(t,"InterfaceExtends",{enumerable:!0,get:function(){return r.interfaceExtends}}),Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return r.interfaceTypeAnnotation}}),Object.defineProperty(t,"InterpreterDirective",{enumerable:!0,get:function(){return r.interpreterDirective}}),Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return r.intersectionTypeAnnotation}}),Object.defineProperty(t,"JSXAttribute",{enumerable:!0,get:function(){return r.jsxAttribute}}),Object.defineProperty(t,"JSXClosingElement",{enumerable:!0,get:function(){return r.jsxClosingElement}}),Object.defineProperty(t,"JSXClosingFragment",{enumerable:!0,get:function(){return r.jsxClosingFragment}}),Object.defineProperty(t,"JSXElement",{enumerable:!0,get:function(){return r.jsxElement}}),Object.defineProperty(t,"JSXEmptyExpression",{enumerable:!0,get:function(){return r.jsxEmptyExpression}}),Object.defineProperty(t,"JSXExpressionContainer",{enumerable:!0,get:function(){return r.jsxExpressionContainer}}),Object.defineProperty(t,"JSXFragment",{enumerable:!0,get:function(){return r.jsxFragment}}),Object.defineProperty(t,"JSXIdentifier",{enumerable:!0,get:function(){return r.jsxIdentifier}}),Object.defineProperty(t,"JSXMemberExpression",{enumerable:!0,get:function(){return r.jsxMemberExpression}}),Object.defineProperty(t,"JSXNamespacedName",{enumerable:!0,get:function(){return r.jsxNamespacedName}}),Object.defineProperty(t,"JSXOpeningElement",{enumerable:!0,get:function(){return r.jsxOpeningElement}}),Object.defineProperty(t,"JSXOpeningFragment",{enumerable:!0,get:function(){return r.jsxOpeningFragment}}),Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:!0,get:function(){return r.jsxSpreadAttribute}}),Object.defineProperty(t,"JSXSpreadChild",{enumerable:!0,get:function(){return r.jsxSpreadChild}}),Object.defineProperty(t,"JSXText",{enumerable:!0,get:function(){return r.jsxText}}),Object.defineProperty(t,"LabeledStatement",{enumerable:!0,get:function(){return r.labeledStatement}}),Object.defineProperty(t,"LogicalExpression",{enumerable:!0,get:function(){return r.logicalExpression}}),Object.defineProperty(t,"MemberExpression",{enumerable:!0,get:function(){return r.memberExpression}}),Object.defineProperty(t,"MetaProperty",{enumerable:!0,get:function(){return r.metaProperty}}),Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:!0,get:function(){return r.mixedTypeAnnotation}}),Object.defineProperty(t,"ModuleExpression",{enumerable:!0,get:function(){return r.moduleExpression}}),Object.defineProperty(t,"NewExpression",{enumerable:!0,get:function(){return r.newExpression}}),Object.defineProperty(t,"Noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(t,"NullLiteral",{enumerable:!0,get:function(){return r.nullLiteral}}),Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return r.nullLiteralTypeAnnotation}}),Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:!0,get:function(){return r.nullableTypeAnnotation}}),Object.defineProperty(t,"NumberLiteral",{enumerable:!0,get:function(){return r.numberLiteral}}),Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return r.numberLiteralTypeAnnotation}}),Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:!0,get:function(){return r.numberTypeAnnotation}}),Object.defineProperty(t,"NumericLiteral",{enumerable:!0,get:function(){return r.numericLiteral}}),Object.defineProperty(t,"ObjectExpression",{enumerable:!0,get:function(){return r.objectExpression}}),Object.defineProperty(t,"ObjectMethod",{enumerable:!0,get:function(){return r.objectMethod}}),Object.defineProperty(t,"ObjectPattern",{enumerable:!0,get:function(){return r.objectPattern}}),Object.defineProperty(t,"ObjectProperty",{enumerable:!0,get:function(){return r.objectProperty}}),Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return r.objectTypeAnnotation}}),Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return r.objectTypeCallProperty}}),Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:!0,get:function(){return r.objectTypeIndexer}}),Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return r.objectTypeInternalSlot}}),Object.defineProperty(t,"ObjectTypeProperty",{enumerable:!0,get:function(){return r.objectTypeProperty}}),Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return r.objectTypeSpreadProperty}}),Object.defineProperty(t,"OpaqueType",{enumerable:!0,get:function(){return r.opaqueType}}),Object.defineProperty(t,"OptionalCallExpression",{enumerable:!0,get:function(){return r.optionalCallExpression}}),Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return r.optionalIndexedAccessType}}),Object.defineProperty(t,"OptionalMemberExpression",{enumerable:!0,get:function(){return r.optionalMemberExpression}}),Object.defineProperty(t,"ParenthesizedExpression",{enumerable:!0,get:function(){return r.parenthesizedExpression}}),Object.defineProperty(t,"PipelineBareFunction",{enumerable:!0,get:function(){return r.pipelineBareFunction}}),Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return r.pipelinePrimaryTopicReference}}),Object.defineProperty(t,"PipelineTopicExpression",{enumerable:!0,get:function(){return r.pipelineTopicExpression}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return r.placeholder}}),Object.defineProperty(t,"PrivateName",{enumerable:!0,get:function(){return r.privateName}}),Object.defineProperty(t,"Program",{enumerable:!0,get:function(){return r.program}}),Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return r.qualifiedTypeIdentifier}}),Object.defineProperty(t,"RecordExpression",{enumerable:!0,get:function(){return r.recordExpression}}),Object.defineProperty(t,"RegExpLiteral",{enumerable:!0,get:function(){return r.regExpLiteral}}),Object.defineProperty(t,"RegexLiteral",{enumerable:!0,get:function(){return r.regexLiteral}}),Object.defineProperty(t,"RestElement",{enumerable:!0,get:function(){return r.restElement}}),Object.defineProperty(t,"RestProperty",{enumerable:!0,get:function(){return r.restProperty}}),Object.defineProperty(t,"ReturnStatement",{enumerable:!0,get:function(){return r.returnStatement}}),Object.defineProperty(t,"SequenceExpression",{enumerable:!0,get:function(){return r.sequenceExpression}}),Object.defineProperty(t,"SpreadElement",{enumerable:!0,get:function(){return r.spreadElement}}),Object.defineProperty(t,"SpreadProperty",{enumerable:!0,get:function(){return r.spreadProperty}}),Object.defineProperty(t,"StaticBlock",{enumerable:!0,get:function(){return r.staticBlock}}),Object.defineProperty(t,"StringLiteral",{enumerable:!0,get:function(){return r.stringLiteral}}),Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return r.stringLiteralTypeAnnotation}}),Object.defineProperty(t,"StringTypeAnnotation",{enumerable:!0,get:function(){return r.stringTypeAnnotation}}),Object.defineProperty(t,"Super",{enumerable:!0,get:function(){return r.super}}),Object.defineProperty(t,"SwitchCase",{enumerable:!0,get:function(){return r.switchCase}}),Object.defineProperty(t,"SwitchStatement",{enumerable:!0,get:function(){return r.switchStatement}}),Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return r.symbolTypeAnnotation}}),Object.defineProperty(t,"TSAnyKeyword",{enumerable:!0,get:function(){return r.tsAnyKeyword}}),Object.defineProperty(t,"TSArrayType",{enumerable:!0,get:function(){return r.tsArrayType}}),Object.defineProperty(t,"TSAsExpression",{enumerable:!0,get:function(){return r.tsAsExpression}}),Object.defineProperty(t,"TSBigIntKeyword",{enumerable:!0,get:function(){return r.tsBigIntKeyword}}),Object.defineProperty(t,"TSBooleanKeyword",{enumerable:!0,get:function(){return r.tsBooleanKeyword}}),Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return r.tsCallSignatureDeclaration}}),Object.defineProperty(t,"TSConditionalType",{enumerable:!0,get:function(){return r.tsConditionalType}}),Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return r.tsConstructSignatureDeclaration}}),Object.defineProperty(t,"TSConstructorType",{enumerable:!0,get:function(){return r.tsConstructorType}}),Object.defineProperty(t,"TSDeclareFunction",{enumerable:!0,get:function(){return r.tsDeclareFunction}}),Object.defineProperty(t,"TSDeclareMethod",{enumerable:!0,get:function(){return r.tsDeclareMethod}}),Object.defineProperty(t,"TSEnumDeclaration",{enumerable:!0,get:function(){return r.tsEnumDeclaration}}),Object.defineProperty(t,"TSEnumMember",{enumerable:!0,get:function(){return r.tsEnumMember}}),Object.defineProperty(t,"TSExportAssignment",{enumerable:!0,get:function(){return r.tsExportAssignment}}),Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return r.tsExpressionWithTypeArguments}}),Object.defineProperty(t,"TSExternalModuleReference",{enumerable:!0,get:function(){return r.tsExternalModuleReference}}),Object.defineProperty(t,"TSFunctionType",{enumerable:!0,get:function(){return r.tsFunctionType}}),Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return r.tsImportEqualsDeclaration}}),Object.defineProperty(t,"TSImportType",{enumerable:!0,get:function(){return r.tsImportType}}),Object.defineProperty(t,"TSIndexSignature",{enumerable:!0,get:function(){return r.tsIndexSignature}}),Object.defineProperty(t,"TSIndexedAccessType",{enumerable:!0,get:function(){return r.tsIndexedAccessType}}),Object.defineProperty(t,"TSInferType",{enumerable:!0,get:function(){return r.tsInferType}}),Object.defineProperty(t,"TSInstantiationExpression",{enumerable:!0,get:function(){return r.tsInstantiationExpression}}),Object.defineProperty(t,"TSInterfaceBody",{enumerable:!0,get:function(){return r.tsInterfaceBody}}),Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return r.tsInterfaceDeclaration}}),Object.defineProperty(t,"TSIntersectionType",{enumerable:!0,get:function(){return r.tsIntersectionType}}),Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return r.tsIntrinsicKeyword}}),Object.defineProperty(t,"TSLiteralType",{enumerable:!0,get:function(){return r.tsLiteralType}}),Object.defineProperty(t,"TSMappedType",{enumerable:!0,get:function(){return r.tsMappedType}}),Object.defineProperty(t,"TSMethodSignature",{enumerable:!0,get:function(){return r.tsMethodSignature}}),Object.defineProperty(t,"TSModuleBlock",{enumerable:!0,get:function(){return r.tsModuleBlock}}),Object.defineProperty(t,"TSModuleDeclaration",{enumerable:!0,get:function(){return r.tsModuleDeclaration}}),Object.defineProperty(t,"TSNamedTupleMember",{enumerable:!0,get:function(){return r.tsNamedTupleMember}}),Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return r.tsNamespaceExportDeclaration}}),Object.defineProperty(t,"TSNeverKeyword",{enumerable:!0,get:function(){return r.tsNeverKeyword}}),Object.defineProperty(t,"TSNonNullExpression",{enumerable:!0,get:function(){return r.tsNonNullExpression}}),Object.defineProperty(t,"TSNullKeyword",{enumerable:!0,get:function(){return r.tsNullKeyword}}),Object.defineProperty(t,"TSNumberKeyword",{enumerable:!0,get:function(){return r.tsNumberKeyword}}),Object.defineProperty(t,"TSObjectKeyword",{enumerable:!0,get:function(){return r.tsObjectKeyword}}),Object.defineProperty(t,"TSOptionalType",{enumerable:!0,get:function(){return r.tsOptionalType}}),Object.defineProperty(t,"TSParameterProperty",{enumerable:!0,get:function(){return r.tsParameterProperty}}),Object.defineProperty(t,"TSParenthesizedType",{enumerable:!0,get:function(){return r.tsParenthesizedType}}),Object.defineProperty(t,"TSPropertySignature",{enumerable:!0,get:function(){return r.tsPropertySignature}}),Object.defineProperty(t,"TSQualifiedName",{enumerable:!0,get:function(){return r.tsQualifiedName}}),Object.defineProperty(t,"TSRestType",{enumerable:!0,get:function(){return r.tsRestType}}),Object.defineProperty(t,"TSSatisfiesExpression",{enumerable:!0,get:function(){return r.tsSatisfiesExpression}}),Object.defineProperty(t,"TSStringKeyword",{enumerable:!0,get:function(){return r.tsStringKeyword}}),Object.defineProperty(t,"TSSymbolKeyword",{enumerable:!0,get:function(){return r.tsSymbolKeyword}}),Object.defineProperty(t,"TSThisType",{enumerable:!0,get:function(){return r.tsThisType}}),Object.defineProperty(t,"TSTupleType",{enumerable:!0,get:function(){return r.tsTupleType}}),Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return r.tsTypeAliasDeclaration}}),Object.defineProperty(t,"TSTypeAnnotation",{enumerable:!0,get:function(){return r.tsTypeAnnotation}}),Object.defineProperty(t,"TSTypeAssertion",{enumerable:!0,get:function(){return r.tsTypeAssertion}}),Object.defineProperty(t,"TSTypeLiteral",{enumerable:!0,get:function(){return r.tsTypeLiteral}}),Object.defineProperty(t,"TSTypeOperator",{enumerable:!0,get:function(){return r.tsTypeOperator}}),Object.defineProperty(t,"TSTypeParameter",{enumerable:!0,get:function(){return r.tsTypeParameter}}),Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return r.tsTypeParameterDeclaration}}),Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return r.tsTypeParameterInstantiation}}),Object.defineProperty(t,"TSTypePredicate",{enumerable:!0,get:function(){return r.tsTypePredicate}}),Object.defineProperty(t,"TSTypeQuery",{enumerable:!0,get:function(){return r.tsTypeQuery}}),Object.defineProperty(t,"TSTypeReference",{enumerable:!0,get:function(){return r.tsTypeReference}}),Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:!0,get:function(){return r.tsUndefinedKeyword}}),Object.defineProperty(t,"TSUnionType",{enumerable:!0,get:function(){return r.tsUnionType}}),Object.defineProperty(t,"TSUnknownKeyword",{enumerable:!0,get:function(){return r.tsUnknownKeyword}}),Object.defineProperty(t,"TSVoidKeyword",{enumerable:!0,get:function(){return r.tsVoidKeyword}}),Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:!0,get:function(){return r.taggedTemplateExpression}}),Object.defineProperty(t,"TemplateElement",{enumerable:!0,get:function(){return r.templateElement}}),Object.defineProperty(t,"TemplateLiteral",{enumerable:!0,get:function(){return r.templateLiteral}}),Object.defineProperty(t,"ThisExpression",{enumerable:!0,get:function(){return r.thisExpression}}),Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:!0,get:function(){return r.thisTypeAnnotation}}),Object.defineProperty(t,"ThrowStatement",{enumerable:!0,get:function(){return r.throwStatement}}),Object.defineProperty(t,"TopicReference",{enumerable:!0,get:function(){return r.topicReference}}),Object.defineProperty(t,"TryStatement",{enumerable:!0,get:function(){return r.tryStatement}}),Object.defineProperty(t,"TupleExpression",{enumerable:!0,get:function(){return r.tupleExpression}}),Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:!0,get:function(){return r.tupleTypeAnnotation}}),Object.defineProperty(t,"TypeAlias",{enumerable:!0,get:function(){return r.typeAlias}}),Object.defineProperty(t,"TypeAnnotation",{enumerable:!0,get:function(){return r.typeAnnotation}}),Object.defineProperty(t,"TypeCastExpression",{enumerable:!0,get:function(){return r.typeCastExpression}}),Object.defineProperty(t,"TypeParameter",{enumerable:!0,get:function(){return r.typeParameter}}),Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:!0,get:function(){return r.typeParameterDeclaration}}),Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:!0,get:function(){return r.typeParameterInstantiation}}),Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return r.typeofTypeAnnotation}}),Object.defineProperty(t,"UnaryExpression",{enumerable:!0,get:function(){return r.unaryExpression}}),Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:!0,get:function(){return r.unionTypeAnnotation}}),Object.defineProperty(t,"UpdateExpression",{enumerable:!0,get:function(){return r.updateExpression}}),Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return r.v8IntrinsicIdentifier}}),Object.defineProperty(t,"VariableDeclaration",{enumerable:!0,get:function(){return r.variableDeclaration}}),Object.defineProperty(t,"VariableDeclarator",{enumerable:!0,get:function(){return r.variableDeclarator}}),Object.defineProperty(t,"Variance",{enumerable:!0,get:function(){return r.variance}}),Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:!0,get:function(){return r.voidTypeAnnotation}}),Object.defineProperty(t,"WhileStatement",{enumerable:!0,get:function(){return r.whileStatement}}),Object.defineProperty(t,"WithStatement",{enumerable:!0,get:function(){return r.withStatement}}),Object.defineProperty(t,"YieldExpression",{enumerable:!0,get:function(){return r.yieldExpression}});var r=n(1411)},4225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[];for(let n=0;n<e.children.length;n++){let a=e.children[n];(0,r.isJSXText)(a)?(0,i.default)(a,t):((0,r.isJSXExpressionContainer)(a)&&(a=a.expression),(0,r.isJSXEmptyExpression)(a)||t.push(a))}return t};var r=n(9869),i=n(8730)},6752:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.map((e=>(0,a.isTSTypeAnnotation)(e)?e.typeAnnotation:e)),n=(0,i.default)(t);return 1===n.length?n[0]:(0,r.tsUnionType)(n)};var r=n(1411),i=n(2819),a=n(9869)},6505:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=i.BUILDER_KEYS[e.type];for(const n of t)(0,r.default)(e,n,e[n]);return e};var r=n(7750),i=n(6067)},8229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e,!1)};var r=n(2419)},8030:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)};var r=n(2419)},8519:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e,!0,!0)};var r=n(2419)},2419:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0,n=!1){return l(e,t,n,new Map)};var r=n(1678),i=n(9869);const a=Function.call.bind(Object.prototype.hasOwnProperty);function s(e,t,n,r){return e&&"string"===typeof e.type?l(e,t,n,r):e}function o(e,t,n,r){return Array.isArray(e)?e.map((e=>s(e,t,n,r))):s(e,t,n,r)}function l(e,t=!0,n=!1,s){if(!e)return e;const{type:l}=e,u={type:e.type};if((0,i.isIdentifier)(e))u.name=e.name,a(e,"optional")&&"boolean"===typeof e.optional&&(u.optional=e.optional),a(e,"typeAnnotation")&&(u.typeAnnotation=t?o(e.typeAnnotation,!0,n,s):e.typeAnnotation);else{if(!a(r.NODE_FIELDS,l))throw new Error(`Unknown node type: "${l}"`);for(const p of Object.keys(r.NODE_FIELDS[l]))a(e,p)&&(u[p]=t?(0,i.isFile)(e)&&"comments"===p?c(e.comments,t,n,s):o(e[p],!0,n,s):e[p])}return a(e,"loc")&&(u.loc=n?null:e.loc),a(e,"leadingComments")&&(u.leadingComments=c(e.leadingComments,t,n,s)),a(e,"innerComments")&&(u.innerComments=c(e.innerComments,t,n,s)),a(e,"trailingComments")&&(u.trailingComments=c(e.trailingComments,t,n,s)),a(e,"extra")&&(u.extra=Object.assign({},e.extra)),u}function c(e,t,n,r){return e&&t?e.map((e=>{const t=r.get(e);if(t)return t;const{type:i,value:a,loc:s}=e,o={type:i,value:a,loc:s};return n&&(o.loc=null),r.set(e,o),o})):e}},9381:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e,!1,!0)};var r=n(2419)},109:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){return(0,r.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:n}])};var r=n(8647)},8647:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!n||!e)return e;const r=`${t}Comments`;e[r]?"leading"===t?e[r]=n.concat(e[r]):e[r].push(...n):e[r]=n;return e}},2823:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)("innerComments",e,t)};var r=n(9906)},8930:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)("leadingComments",e,t)};var r=n(9906)},2714:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)("trailingComments",e,t)};var r=n(9906)},9134:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e,t),(0,i.default)(e,t),(0,a.default)(e,t),e};var r=n(2714),i=n(8930),a=n(2823)},698:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r.COMMENT_KEYS.forEach((t=>{e[t]=null})),e};var r=n(3725)},4998:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMPORTOREXPORTDECLARATION_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=t.ACCESSOR_TYPES=void 0;var r=n(1678);const i=r.FLIPPED_ALIAS_KEYS.Standardized;t.STANDARDIZED_TYPES=i;const a=r.FLIPPED_ALIAS_KEYS.Expression;t.EXPRESSION_TYPES=a;const s=r.FLIPPED_ALIAS_KEYS.Binary;t.BINARY_TYPES=s;const o=r.FLIPPED_ALIAS_KEYS.Scopable;t.SCOPABLE_TYPES=o;const l=r.FLIPPED_ALIAS_KEYS.BlockParent;t.BLOCKPARENT_TYPES=l;const c=r.FLIPPED_ALIAS_KEYS.Block;t.BLOCK_TYPES=c;const u=r.FLIPPED_ALIAS_KEYS.Statement;t.STATEMENT_TYPES=u;const p=r.FLIPPED_ALIAS_KEYS.Terminatorless;t.TERMINATORLESS_TYPES=p;const f=r.FLIPPED_ALIAS_KEYS.CompletionStatement;t.COMPLETIONSTATEMENT_TYPES=f;const d=r.FLIPPED_ALIAS_KEYS.Conditional;t.CONDITIONAL_TYPES=d;const y=r.FLIPPED_ALIAS_KEYS.Loop;t.LOOP_TYPES=y;const h=r.FLIPPED_ALIAS_KEYS.While;t.WHILE_TYPES=h;const m=r.FLIPPED_ALIAS_KEYS.ExpressionWrapper;t.EXPRESSIONWRAPPER_TYPES=m;const T=r.FLIPPED_ALIAS_KEYS.For;t.FOR_TYPES=T;const S=r.FLIPPED_ALIAS_KEYS.ForXStatement;t.FORXSTATEMENT_TYPES=S;const b=r.FLIPPED_ALIAS_KEYS.Function;t.FUNCTION_TYPES=b;const g=r.FLIPPED_ALIAS_KEYS.FunctionParent;t.FUNCTIONPARENT_TYPES=g;const E=r.FLIPPED_ALIAS_KEYS.Pureish;t.PUREISH_TYPES=E;const P=r.FLIPPED_ALIAS_KEYS.Declaration;t.DECLARATION_TYPES=P;const v=r.FLIPPED_ALIAS_KEYS.PatternLike;t.PATTERNLIKE_TYPES=v;const x=r.FLIPPED_ALIAS_KEYS.LVal;t.LVAL_TYPES=x;const A=r.FLIPPED_ALIAS_KEYS.TSEntityName;t.TSENTITYNAME_TYPES=A;const O=r.FLIPPED_ALIAS_KEYS.Literal;t.LITERAL_TYPES=O;const C=r.FLIPPED_ALIAS_KEYS.Immutable;t.IMMUTABLE_TYPES=C;const I=r.FLIPPED_ALIAS_KEYS.UserWhitespacable;t.USERWHITESPACABLE_TYPES=I;const w=r.FLIPPED_ALIAS_KEYS.Method;t.METHOD_TYPES=w;const _=r.FLIPPED_ALIAS_KEYS.ObjectMember;t.OBJECTMEMBER_TYPES=_;const D=r.FLIPPED_ALIAS_KEYS.Property;t.PROPERTY_TYPES=D;const k=r.FLIPPED_ALIAS_KEYS.UnaryLike;t.UNARYLIKE_TYPES=k;const N=r.FLIPPED_ALIAS_KEYS.Pattern;t.PATTERN_TYPES=N;const M=r.FLIPPED_ALIAS_KEYS.Class;t.CLASS_TYPES=M;const L=r.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;t.IMPORTOREXPORTDECLARATION_TYPES=L;const j=r.FLIPPED_ALIAS_KEYS.ExportDeclaration;t.EXPORTDECLARATION_TYPES=j;const B=r.FLIPPED_ALIAS_KEYS.ModuleSpecifier;t.MODULESPECIFIER_TYPES=B;const F=r.FLIPPED_ALIAS_KEYS.Accessor;t.ACCESSOR_TYPES=F;const R=r.FLIPPED_ALIAS_KEYS.Private;t.PRIVATE_TYPES=R;const V=r.FLIPPED_ALIAS_KEYS.Flow;t.FLOW_TYPES=V;const K=r.FLIPPED_ALIAS_KEYS.FlowType;t.FLOWTYPE_TYPES=K;const U=r.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;t.FLOWBASEANNOTATION_TYPES=U;const W=r.FLIPPED_ALIAS_KEYS.FlowDeclaration;t.FLOWDECLARATION_TYPES=W;const Y=r.FLIPPED_ALIAS_KEYS.FlowPredicate;t.FLOWPREDICATE_TYPES=Y;const q=r.FLIPPED_ALIAS_KEYS.EnumBody;t.ENUMBODY_TYPES=q;const J=r.FLIPPED_ALIAS_KEYS.EnumMember;t.ENUMMEMBER_TYPES=J;const X=r.FLIPPED_ALIAS_KEYS.JSX;t.JSX_TYPES=X;const G=r.FLIPPED_ALIAS_KEYS.Miscellaneous;t.MISCELLANEOUS_TYPES=G;const $=r.FLIPPED_ALIAS_KEYS.TypeScript;t.TYPESCRIPT_TYPES=$;const H=r.FLIPPED_ALIAS_KEYS.TSTypeElement;t.TSTYPEELEMENT_TYPES=H;const z=r.FLIPPED_ALIAS_KEYS.TSType;t.TSTYPE_TYPES=z;const Q=r.FLIPPED_ALIAS_KEYS.TSBaseType;t.TSBASETYPE_TYPES=Q;const Z=L;t.MODULEDECLARATION_TYPES=Z},3725:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.NOT_LOCAL_BINDING=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BLOCK_SCOPED_SYMBOL=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0;t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"];t.FLATTENABLE_KEYS=["body","expressions"];t.FOR_INIT_KEYS=["left","init"];t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];const n=["||","&&","??"];t.LOGICAL_OPERATORS=n;t.UPDATE_OPERATORS=["++","--"];const r=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=r;const i=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=i;const a=[...i,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=a;const s=[...a,...r];t.BOOLEAN_BINARY_OPERATORS=s;const o=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=o;const l=["+",...o,...s,"|>"];t.BINARY_OPERATORS=l;const c=["=","+=",...o.map((e=>e+"=")),...n.map((e=>e+"="))];t.ASSIGNMENT_OPERATORS=c;const u=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=u;const p=["+","-","~"];t.NUMBER_UNARY_OPERATORS=p;const f=["typeof"];t.STRING_UNARY_OPERATORS=f;const d=["void","throw",...u,...p,...f];t.UNARY_OPERATORS=d;t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};const y=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=y;const h=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=h},8560:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="body"){const n=(0,r.default)(e[t],e);return e[t]=n,n};var r=n(9988)},3556:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,o){const l=[];let c=!0;for(const u of t)if((0,i.isEmptyStatement)(u)||(c=!1),(0,i.isExpression)(u))l.push(u);else if((0,i.isExpressionStatement)(u))l.push(u.expression);else if((0,i.isVariableDeclaration)(u)){if("var"!==u.kind)return;for(const e of u.declarations){const t=(0,r.default)(e);for(const e of Object.keys(t))o.push({kind:u.kind,id:(0,s.default)(t[e])});e.init&&l.push((0,a.assignmentExpression)("=",e.id,e.init))}c=!0}else if((0,i.isIfStatement)(u)){const t=u.consequent?e([u.consequent],n,o):n.buildUndefinedNode(),r=u.alternate?e([u.alternate],n,o):n.buildUndefinedNode();if(!t||!r)return;l.push((0,a.conditionalExpression)(u.test,t,r))}else if((0,i.isBlockStatement)(u)){const t=e(u.body,n,o);if(!t)return;l.push(t)}else{if(!(0,i.isEmptyStatement)(u))return;0===t.indexOf(u)&&(c=!0)}c&&l.push(n.buildUndefinedNode());return 1===l.length?l[0]:(0,a.sequenceExpression)(l)};var r=n(984),i=n(9869),a=n(1411),s=n(2419)},5200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"eval"!==(e=(0,r.default)(e))&&"arguments"!==e||(e="_"+e);return e};var r=n(7885)},9988:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.isBlockStatement)(e))return e;let n=[];(0,r.isEmptyStatement)(e)?n=[]:((0,r.isStatement)(e)||(e=(0,r.isFunction)(t)?(0,i.returnStatement)(e):(0,i.expressionStatement)(e)),n=[e]);return(0,i.blockStatement)(n)};var r=n(9869),i=n(1411)},3816:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=e.key||e.property){!e.computed&&(0,r.isIdentifier)(t)&&(t=(0,i.stringLiteral)(t.name));return t};var r=n(9869),i=n(1411)},5317:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(9869),i=function(e){(0,r.isExpressionStatement)(e)&&(e=e.expression);if((0,r.isExpression)(e))return e;(0,r.isClass)(e)?e.type="ClassExpression":(0,r.isFunction)(e)&&(e.type="FunctionExpression");if(!(0,r.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e};t.default=i},7885:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e+="";let t="";for(const n of e)t+=(0,i.isIdentifierChar)(n.codePointAt(0))?n:"-";t=t.replace(/^[-0-9]+/,""),t=t.replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""})),(0,r.default)(t)||(t=`_${t}`);return t||"_"};var r=n(5820),i=n(9649)},5046:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=n(9869),i=n(2419),a=n(857);function s(e,t=e.key){let n;return"method"===e.kind?s.increment()+"":(n=(0,r.isIdentifier)(t)?t.name:(0,r.isStringLiteral)(t)?JSON.stringify(t.value):JSON.stringify((0,a.default)((0,i.default)(t))),e.computed&&(n=`[${n}]`),e.static&&(n=`static:${n}`),n)}s.uid=0,s.increment=function(){return s.uid>=Number.MAX_SAFE_INTEGER?s.uid=0:s.uid++}},2473:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e||!e.length)return;const n=[],i=(0,r.default)(e,t,n);if(!i)return;for(const r of n)t.push(r);return i};var r=n(3556)},350:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(9869),i=n(1411),a=function(e,t){if((0,r.isStatement)(e))return e;let n,a=!1;if((0,r.isClass)(e))a=!0,n="ClassDeclaration";else if((0,r.isFunction)(e))a=!0,n="FunctionDeclaration";else if((0,r.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);a&&!e.id&&(n=!1);if(!n){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=n,e};t.default=a},1382:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5820),i=n(1411),a=function e(t){if(void 0===t)return(0,i.identifier)("undefined");if(!0===t||!1===t)return(0,i.booleanLiteral)(t);if(null===t)return(0,i.nullLiteral)();if("string"===typeof t)return(0,i.stringLiteral)(t);if("number"===typeof t){let e;if(Number.isFinite(t))e=(0,i.numericLiteral)(Math.abs(t));else{let n;n=Number.isNaN(t)?(0,i.numericLiteral)(0):(0,i.numericLiteral)(1),e=(0,i.binaryExpression)("/",n,(0,i.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,i.unaryExpression)("-",e)),e}if(function(e){return"[object RegExp]"===s(e)}(t)){const e=t.source,n=t.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(e,n)}if(Array.isArray(t))return(0,i.arrayExpression)(t.map(e));if(function(e){if("object"!==typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(t)){const n=[];for(const a of Object.keys(t)){let s;s=(0,r.default)(a)?(0,i.identifier)(a):(0,i.stringLiteral)(a),n.push((0,i.objectProperty)(s,e(t[a])))}return(0,i.objectExpression)(n)}throw new Error("don't know how to turn this value into a node")};t.default=a;const s=Function.call.bind(Object.prototype.toString)},8248:function(e,t,n){"use strict";var r=n(2725);Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var i=n(5171),a=n(5820),s=n(9649),o=n(7648),l=n(3725),c=n(1514);const u=(0,c.defineAliasedType)("Standardized");u("ArrayExpression",{fields:{elements:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:r.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),u("AssignmentExpression",{fields:{operator:{validate:function(){if(!r.env.BABEL_TYPES_8_BREAKING)return(0,c.assertValueType)("string");const e=(0,c.assertOneOf)(...l.ASSIGNMENT_OPERATORS),t=(0,c.assertOneOf)("=");return function(n,r,a){((0,i.default)("Pattern",n.left)?t:e)(n,r,a)}}()},left:{validate:r.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,c.assertNodeType)("LVal")},right:{validate:(0,c.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),u("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,c.assertOneOf)(...l.BINARY_OPERATORS)},left:{validate:function(){const e=(0,c.assertNodeType)("Expression"),t=(0,c.assertNodeType)("Expression","PrivateName");return Object.assign((function(n,r,i){("in"===n.operator?t:e)(n,r,i)}),{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,c.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),u("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}}}),u("Directive",{visitor:["value"],fields:{value:{validate:(0,c.assertNodeType)("DirectiveLiteral")}}}),u("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}}}),u("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Directive"))),default:[]},body:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),u("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,c.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),u("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,c.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},r.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,c.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,c.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),u("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,c.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),u("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},consequent:{validate:(0,c.assertNodeType)("Expression")},alternate:{validate:(0,c.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),u("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,c.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),u("DebuggerStatement",{aliases:["Statement"]}),u("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),u("EmptyStatement",{aliases:["Statement"]}),u("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,c.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),u("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,c.assertNodeType)("Program")},comments:{validate:r.env.BABEL_TYPES_8_BREAKING?(0,c.assertEach)((0,c.assertNodeType)("CommentBlock","CommentLine")):Object.assign((()=>{}),{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,c.assertEach)(Object.assign((()=>{}),{type:"any"})),optional:!0}}}),u("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:r.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,c.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}}}),u("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,c.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,c.assertNodeType)("Expression"),optional:!0},update:{validate:(0,c.assertNodeType)("Expression"),optional:!0},body:{validate:(0,c.assertNodeType)("Statement")}}});const p=()=>({params:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});t.functionCommon=p;const f=()=>({returnType:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});t.functionTypeAnnotationCommon=f;const d=()=>Object.assign({},p(),{declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=d,u("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},d(),f(),{body:{validate:(0,c.assertNodeType)("BlockStatement")},predicate:{validate:(0,c.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!r.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,c.assertNodeType)("Identifier");return function(t,n,r){(0,i.default)("ExportDefaultDeclaration",t)||e(r,"id",r.id)}}()}),u("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},p(),f(),{id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,c.assertNodeType)("BlockStatement")},predicate:{validate:(0,c.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});const y=()=>({typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0}});t.patternLikeCommon=y,u("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},y(),{name:{validate:(0,c.chain)((0,c.assertValueType)("string"),Object.assign((function(e,t,n){if(r.env.BABEL_TYPES_8_BREAKING&&!(0,a.default)(n,!1))throw new TypeError(`"${n}" is not a valid identifier name`)}),{type:"string"}))}}),validate(e,t,n){if(!r.env.BABEL_TYPES_8_BREAKING)return;const a=/\.(\w+)$/.exec(t);if(!a)return;const[,o]=a,l={computed:!1};if("property"===o){if((0,i.default)("MemberExpression",e,l))return;if((0,i.default)("OptionalMemberExpression",e,l))return}else if("key"===o){if((0,i.default)("Property",e,l))return;if((0,i.default)("Method",e,l))return}else if("exported"===o){if((0,i.default)("ExportSpecifier",e))return}else if("imported"===o){if((0,i.default)("ImportSpecifier",e,{imported:n}))return}else if("meta"===o&&(0,i.default)("MetaProperty",e,{meta:n}))return;if(((0,s.isKeyword)(n.name)||(0,s.isReservedWord)(n.name,!1))&&"this"!==n.name)throw new TypeError(`"${n.name}" is not a valid identifier`)}}),u("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},consequent:{validate:(0,c.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,c.assertNodeType)("Statement")}}}),u("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,c.assertNodeType)("Identifier")},body:{validate:(0,c.assertNodeType)("Statement")}}}),u("StringLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,c.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),u("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,c.assertValueType)("string")},flags:{validate:(0,c.chain)((0,c.assertValueType)("string"),Object.assign((function(e,t,n){if(!r.env.BABEL_TYPES_8_BREAKING)return;const i=/[^gimsuy]/.exec(n);if(i)throw new TypeError(`"${i[0]}" is not a valid RegExp flag`)}),{type:"string"})),default:""}}}),u("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,c.assertOneOf)(...l.LOGICAL_OPERATORS)},left:{validate:(0,c.assertNodeType)("Expression")},right:{validate:(0,c.assertNodeType)("Expression")}}}),u("MemberExpression",{builder:["object","property","computed",...r.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,c.assertNodeType)("Expression","Super")},property:{validate:function(){const e=(0,c.assertNodeType)("Identifier","PrivateName"),t=(0,c.assertNodeType)("Expression"),n=function(n,r,i){(n.computed?t:e)(n,r,i)};return n.oneOfNodeTypes=["Expression","Identifier","PrivateName"],n}()},computed:{default:!1}},r.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,c.assertOneOf)(!0,!1),optional:!0}})}),u("NewExpression",{inherits:"CallExpression"}),u("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,c.assertValueType)("string")},sourceType:{validate:(0,c.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,c.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Directive"))),default:[]},body:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),u("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),u("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},p(),f(),{kind:Object.assign({validate:(0,c.assertOneOf)("method","get","set")},r.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){const e=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),t=(0,c.assertNodeType)("Expression"),n=function(n,r,i){(n.computed?t:e)(n,r,i)};return n.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],n}()},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,c.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),u("ObjectProperty",{builder:["key","value","computed","shorthand",...r.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){const e=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),t=(0,c.assertNodeType)("Expression");return Object.assign((function(n,r,i){(n.computed?t:e)(n,r,i)}),{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,c.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,c.chain)((0,c.assertValueType)("boolean"),Object.assign((function(e,t,n){if(r.env.BABEL_TYPES_8_BREAKING&&n&&e.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}),{type:"boolean"}),(function(e,t,n){if(r.env.BABEL_TYPES_8_BREAKING&&n&&!(0,i.default)("Identifier",e.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")})),default:!1},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,c.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),t=(0,c.assertNodeType)("Expression");return function(n,a,s){if(!r.env.BABEL_TYPES_8_BREAKING)return;((0,i.default)("ObjectPattern",n)?e:t)(s,"value",s.value)}}()}),u("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},y(),{argument:{validate:r.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,c.assertNodeType)("LVal")}}),validate(e,t){if(!r.env.BABEL_TYPES_8_BREAKING)return;const n=/(\w+)\[(\d+)\]/.exec(t);if(!n)throw new Error("Internal Babel error: malformed key.");const[,i,a]=n;if(e[i].length>+a+1)throw new TypeError(`RestElement must be last element of ${i}`)}}),u("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,c.assertNodeType)("Expression"),optional:!0}}}),u("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Expression")))}},aliases:["Expression"]}),u("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,c.assertNodeType)("Expression")}}}),u("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,c.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Statement")))}}}),u("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,c.assertNodeType)("Expression")},cases:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("SwitchCase")))}}}),u("ThisExpression",{aliases:["Expression"]}),u("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,c.assertNodeType)("Expression")}}}),u("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,c.chain)((0,c.assertNodeType)("BlockStatement"),Object.assign((function(e){if(r.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:(0,c.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,c.assertNodeType)("BlockStatement")}}}),u("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,c.assertNodeType)("Expression")},operator:{validate:(0,c.assertOneOf)(...l.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),u("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:r.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","MemberExpression"):(0,c.assertNodeType)("Expression")},operator:{validate:(0,c.assertOneOf)(...l.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),u("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},kind:{validate:(0,c.assertOneOf)("var","let","const","using","await using")},declarations:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("VariableDeclarator")))}},validate(e,t,n){if(r.env.BABEL_TYPES_8_BREAKING&&(0,i.default)("ForXStatement",e,{left:n})&&1!==n.declarations.length)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}),u("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!r.env.BABEL_TYPES_8_BREAKING)return(0,c.assertNodeType)("LVal");const e=(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),t=(0,c.assertNodeType)("Identifier");return function(n,r,i){(n.init?e:t)(n,r,i)}}()},definite:{optional:!0,validate:(0,c.assertValueType)("boolean")},init:{optional:!0,validate:(0,c.assertNodeType)("Expression")}}}),u("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}}}),u("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}}}),u("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{left:{validate:(0,c.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,c.assertNodeType)("Expression")},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0}})}),u("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{elements:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeOrValueType)("null","PatternLike","LVal")))}})}),u("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},p(),f(),{expression:{validate:(0,c.assertValueType)("boolean")},body:{validate:(0,c.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,c.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),u("ClassBody",{visitor:["body"],fields:{body:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),u("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,c.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,c.assertNodeType)("Expression")},superTypeParameters:{validate:(0,c.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,c.assertNodeType)("InterfaceExtends"),optional:!0}}}),u("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,c.assertNodeType)("Identifier")},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,c.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,c.assertNodeType)("Expression")},superTypeParameters:{validate:(0,c.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,c.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,c.assertValueType)("boolean"),optional:!0}},validate:function(){const e=(0,c.assertNodeType)("Identifier");return function(t,n,a){r.env.BABEL_TYPES_8_BREAKING&&((0,i.default)("ExportDefaultDeclaration",t)||e(a,"id",a.id))}}()}),u("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,c.assertNodeType)("StringLiteral")},exportKind:(0,c.validateOptional)((0,c.assertOneOf)("type","value")),attributes:{optional:!0,validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("ImportAttribute")))}}}),u("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,c.assertNodeType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,c.validateOptional)((0,c.assertOneOf)("value"))}}),u("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,c.chain)((0,c.assertNodeType)("Declaration"),Object.assign((function(e,t,n){if(r.env.BABEL_TYPES_8_BREAKING&&n&&e.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,n){if(r.env.BABEL_TYPES_8_BREAKING&&n&&e.source)throw new TypeError("Cannot export a declaration from a source")}))},attributes:{optional:!0,validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)(function(){const e=(0,c.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),t=(0,c.assertNodeType)("ExportSpecifier");return r.env.BABEL_TYPES_8_BREAKING?function(n,r,i){(n.source?e:t)(n,r,i)}:e}()))},source:{validate:(0,c.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,c.validateOptional)((0,c.assertOneOf)("type","value"))}}),u("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")},exported:{validate:(0,c.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,c.assertOneOf)("type","value"),optional:!0}}}),u("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!r.env.BABEL_TYPES_8_BREAKING)return(0,c.assertNodeType)("VariableDeclaration","LVal");const e=(0,c.assertNodeType)("VariableDeclaration"),t=(0,c.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(n,r,a){(0,i.default)("VariableDeclaration",a)?e(n,r,a):t(n,r,a)}}()},right:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")},await:{default:!1}}}),u("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("ImportAttribute")))},module:{optional:!0,validate:(0,c.assertValueType)("boolean")},specifiers:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,c.assertNodeType)("StringLiteral")},importKind:{validate:(0,c.assertOneOf)("type","typeof","value"),optional:!0}}}),u("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")}}}),u("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")}}}),u("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")},imported:{validate:(0,c.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,c.assertOneOf)("type","typeof","value"),optional:!0}}}),u("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,c.chain)((0,c.assertNodeType)("Identifier"),Object.assign((function(e,t,n){if(!r.env.BABEL_TYPES_8_BREAKING)return;let a;switch(n.name){case"function":a="sent";break;case"new":a="target";break;case"import":a="meta"}if(!(0,i.default)("Identifier",e.property,{name:a}))throw new TypeError("Unrecognised MetaProperty")}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,c.assertNodeType)("Identifier")}}});const h=()=>({abstract:{validate:(0,c.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,c.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},key:{validate:(0,c.chain)(function(){const e=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,c.assertNodeType)("Expression");return function(n,r,i){(n.computed?t:e)(n,r,i)}}(),(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});t.classMethodOrPropertyCommon=h;const m=()=>Object.assign({},p(),h(),{params:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,c.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,c.chain)((0,c.assertValueType)("string"),(0,c.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0}});t.classMethodOrDeclareMethodCommon=m,u("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({},m(),f(),{body:{validate:(0,c.assertNodeType)("BlockStatement")}})}),u("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{properties:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("RestElement","ObjectProperty")))}})}),u("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,c.assertNodeType)("Expression")}}}),u("Super",{aliases:["Expression"]}),u("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,c.assertNodeType)("Expression")},quasi:{validate:(0,c.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),u("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,c.chain)((0,c.assertShape)({raw:{validate:(0,c.assertValueType)("string")},cooked:{validate:(0,c.assertValueType)("string"),optional:!0}}),(function(e){const t=e.value.raw;let n=!1;const r=()=>{throw new Error("Internal @babel/types error.")},{str:i,firstInvalidLoc:a}=(0,o.readStringContents)("template",t,0,0,0,{unterminated(){n=!0},strictNumericEscape:r,invalidEscapeSequence:r,numericSeparatorInEscapeSequence:r,unexpectedNumericSeparator:r,invalidDigit:r,invalidCodePoint:r});if(!n)throw new Error("Invalid raw");e.value.cooked=a?null:i}))},tail:{default:!1}}}),u("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("TemplateElement")))},expressions:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Expression","TSType")),(function(e,t,n){if(e.quasis.length!==n.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${n.length+1} quasis but got ${e.quasis.length}`)}))}}}),u("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,c.chain)((0,c.assertValueType)("boolean"),Object.assign((function(e,t,n){if(r.env.BABEL_TYPES_8_BREAKING&&n&&!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:(0,c.assertNodeType)("Expression")}}}),u("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,c.assertNodeType)("Expression")}}}),u("Import",{aliases:["Expression"]}),u("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),u("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,c.assertNodeType)("Identifier")}}}),u("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,c.assertNodeType)("Expression")},property:{validate:function(){const e=(0,c.assertNodeType)("Identifier"),t=(0,c.assertNodeType)("Expression");return Object.assign((function(n,r,i){(n.computed?t:e)(n,r,i)}),{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:r.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),(0,c.assertOptionalChainStart)()):(0,c.assertValueType)("boolean")}}}),u("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,c.assertNodeType)("Expression")},arguments:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:r.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),(0,c.assertOptionalChainStart)()):(0,c.assertValueType)("boolean")},typeArguments:{validate:(0,c.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),u("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},h(),{value:{validate:(0,c.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,c.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,c.assertValueType)("boolean"),optional:!0},declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},variance:{validate:(0,c.assertNodeType)("Variance"),optional:!0}})}),u("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},h(),{key:{validate:(0,c.chain)(function(){const e=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),t=(0,c.assertNodeType)("Expression");return function(n,r,i){(n.computed?t:e)(n,r,i)}}(),(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,c.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,c.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,c.assertValueType)("boolean"),optional:!0},declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},variance:{validate:(0,c.assertNodeType)("Variance"),optional:!0}})}),u("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,c.assertNodeType)("PrivateName")},value:{validate:(0,c.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Decorator"))),optional:!0},static:{validate:(0,c.assertValueType)("boolean"),default:!1},readonly:{validate:(0,c.assertValueType)("boolean"),optional:!0},definite:{validate:(0,c.assertValueType)("boolean"),optional:!0},variance:{validate:(0,c.assertNodeType)("Variance"),optional:!0}}}),u("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},m(),f(),{kind:{validate:(0,c.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,c.assertNodeType)("PrivateName")},body:{validate:(0,c.assertNodeType)("BlockStatement")}})}),u("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,c.assertNodeType)("Identifier")}}}),u("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},6937:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_ALIASES=void 0;t.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},1190:function(e,t,n){"use strict";var r=n(2725),i=n(1514);(0,i.default)("ArgumentPlaceholder",{}),(0,i.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:r.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,i.assertNodeType)("Expression")},callee:{validate:(0,i.assertNodeType)("Expression")}}:{object:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})}}}),(0,i.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,i.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,i.assertNodeType)("StringLiteral")}}}),(0,i.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}}}),(0,i.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,i.assertNodeType)("BlockStatement")},async:{validate:(0,i.assertValueType)("boolean"),default:!1}}}),(0,i.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,i.assertNodeType)("Identifier")}}}),(0,i.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("ObjectProperty","SpreadElement")))}}}),(0,i.default)("TupleExpression",{fields:{elements:{validate:(0,i.chain)((0,i.assertValueType)("array"),(0,i.assertEach)((0,i.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,i.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,i.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,i.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,i.assertNodeType)("Program")}},aliases:["Expression"]}),(0,i.default)("TopicReference",{aliases:["Expression"]}),(0,i.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,i.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,i.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,i.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,i.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},3940:function(e,t,n){"use strict";var r=n(1514);const i=(0,r.defineAliasedType)("Flow"),a=e=>{const t="DeclareClass"===e;i(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),extends:(0,r.validateOptional)((0,r.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,r.validateOptional)((0,r.arrayOfType)("InterfaceExtends")),implements:(0,r.validateOptional)((0,r.arrayOfType)("ClassImplements"))}:{},{body:(0,r.validateType)("ObjectTypeAnnotation")})})};i("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,r.validateType)("FlowType")}}),i("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,r.validate)((0,r.assertValueType)("boolean"))}}),i("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterInstantiation")}}),a("DeclareClass"),i("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),predicate:(0,r.validateOptionalType)("DeclaredPredicate")}}),a("DeclareInterface"),i("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)(["Identifier","StringLiteral"]),body:(0,r.validateType)("BlockStatement"),kind:(0,r.validateOptional)((0,r.assertOneOf)("CommonJS","ES"))}}),i("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,r.validateType)("TypeAnnotation")}}),i("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),right:(0,r.validateType)("FlowType")}}),i("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,r.validateOptionalType)("FlowType"),impltype:(0,r.validateOptionalType)("FlowType")}}),i("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier")}}),i("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,r.validateOptionalType)("Flow"),specifiers:(0,r.validateOptional)((0,r.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,r.validateOptionalType)("StringLiteral"),default:(0,r.validateOptional)((0,r.assertValueType)("boolean"))}}),i("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,r.validateType)("StringLiteral"),exportKind:(0,r.validateOptional)((0,r.assertOneOf)("type","value"))}}),i("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,r.validateType)("Flow")}}),i("ExistsTypeAnnotation",{aliases:["FlowType"]}),i("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),params:(0,r.validate)((0,r.arrayOfType)("FunctionTypeParam")),rest:(0,r.validateOptionalType)("FunctionTypeParam"),this:(0,r.validateOptionalType)("FunctionTypeParam"),returnType:(0,r.validateType)("FlowType")}}),i("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,r.validateOptionalType)("Identifier"),typeAnnotation:(0,r.validateType)("FlowType"),optional:(0,r.validateOptional)((0,r.assertValueType)("boolean"))}}),i("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,r.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,r.validateOptionalType)("TypeParameterInstantiation")}}),i("InferredPredicate",{aliases:["FlowPredicate"]}),i("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,r.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,r.validateOptionalType)("TypeParameterInstantiation")}}),a("InterfaceDeclaration"),i("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,r.validateOptional)((0,r.arrayOfType)("InterfaceExtends")),body:(0,r.validateType)("ObjectTypeAnnotation")}}),i("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,r.validate)((0,r.arrayOfType)("FlowType"))}}),i("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,r.validateType)("FlowType")}}),i("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,r.validate)((0,r.assertValueType)("number"))}}),i("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,r.validate)((0,r.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,r.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,r.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,r.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,r.assertValueType)("boolean"),default:!1},inexact:(0,r.validateOptional)((0,r.assertValueType)("boolean"))}}),i("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,r.validateType)("Identifier"),value:(0,r.validateType)("FlowType"),optional:(0,r.validate)((0,r.assertValueType)("boolean")),static:(0,r.validate)((0,r.assertValueType)("boolean")),method:(0,r.validate)((0,r.assertValueType)("boolean"))}}),i("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,r.validateType)("FlowType"),static:(0,r.validate)((0,r.assertValueType)("boolean"))}}),i("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,r.validateOptionalType)("Identifier"),key:(0,r.validateType)("FlowType"),value:(0,r.validateType)("FlowType"),static:(0,r.validate)((0,r.assertValueType)("boolean")),variance:(0,r.validateOptionalType)("Variance")}}),i("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,r.validateType)(["Identifier","StringLiteral"]),value:(0,r.validateType)("FlowType"),kind:(0,r.validate)((0,r.assertOneOf)("init","get","set")),static:(0,r.validate)((0,r.assertValueType)("boolean")),proto:(0,r.validate)((0,r.assertValueType)("boolean")),optional:(0,r.validate)((0,r.assertValueType)("boolean")),variance:(0,r.validateOptionalType)("Variance"),method:(0,r.validate)((0,r.assertValueType)("boolean"))}}),i("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,r.validateType)("FlowType")}}),i("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,r.validateOptionalType)("FlowType"),impltype:(0,r.validateType)("FlowType")}}),i("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,r.validateType)("Identifier"),qualification:(0,r.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),i("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,r.validate)((0,r.assertValueType)("string"))}}),i("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,r.validate)((0,r.arrayOfType)("FlowType"))}}),i("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,r.validateType)("FlowType")}}),i("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TypeParameterDeclaration"),right:(0,r.validateType)("FlowType")}}),i("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("FlowType")}}),i("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,r.validateType)("Expression"),typeAnnotation:(0,r.validateType)("TypeAnnotation")}}),i("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,r.validate)((0,r.assertValueType)("string")),bound:(0,r.validateOptionalType)("TypeAnnotation"),default:(0,r.validateOptionalType)("FlowType"),variance:(0,r.validateOptionalType)("Variance")}}),i("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,r.validate)((0,r.arrayOfType)("TypeParameter"))}}),i("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,r.validate)((0,r.arrayOfType)("FlowType"))}}),i("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,r.validate)((0,r.arrayOfType)("FlowType"))}}),i("Variance",{builder:["kind"],fields:{kind:(0,r.validate)((0,r.assertOneOf)("minus","plus"))}}),i("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,r.validateType)("Identifier"),body:(0,r.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),i("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,r.validate)((0,r.assertValueType)("boolean")),members:(0,r.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,r.validate)((0,r.assertValueType)("boolean"))}}),i("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,r.validate)((0,r.assertValueType)("boolean")),members:(0,r.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,r.validate)((0,r.assertValueType)("boolean"))}}),i("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,r.validate)((0,r.assertValueType)("boolean")),members:(0,r.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,r.validate)((0,r.assertValueType)("boolean"))}}),i("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,r.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,r.validate)((0,r.assertValueType)("boolean"))}}),i("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,r.validateType)("Identifier"),init:(0,r.validateType)("BooleanLiteral")}}),i("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,r.validateType)("Identifier"),init:(0,r.validateType)("NumericLiteral")}}),i("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,r.validateType)("Identifier"),init:(0,r.validateType)("StringLiteral")}}),i("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,r.validateType)("Identifier")}}),i("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,r.validateType)("FlowType"),indexType:(0,r.validateType)("FlowType")}}),i("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,r.validateType)("FlowType"),indexType:(0,r.validateType)("FlowType"),optional:(0,r.validate)((0,r.assertValueType)("boolean"))}})},1678:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return i.ALIAS_KEYS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return i.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return s.DEPRECATED_ALIASES}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return i.DEPRECATED_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return i.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return i.NODE_FIELDS}}),Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return i.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return a.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return a.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return i.VISITOR_KEYS}});var r=n(3164);n(8248),n(3940),n(1410),n(3858),n(1190),n(4);var i=n(1514),a=n(7389),s=n(6937);Object.keys(s.DEPRECATED_ALIASES).forEach((e=>{i.FLIPPED_ALIAS_KEYS[e]=i.FLIPPED_ALIAS_KEYS[s.DEPRECATED_ALIASES[e]]})),r(i.VISITOR_KEYS),r(i.ALIAS_KEYS),r(i.FLIPPED_ALIAS_KEYS),r(i.NODE_FIELDS),r(i.BUILDER_KEYS),r(i.DEPRECATED_KEYS),r(a.PLACEHOLDERS_ALIAS),r(a.PLACEHOLDERS_FLIPPED_ALIAS);const o=[].concat(Object.keys(i.VISITOR_KEYS),Object.keys(i.FLIPPED_ALIAS_KEYS),Object.keys(i.DEPRECATED_KEYS));t.TYPES=o},1410:function(e,t,n){"use strict";var r=n(1514);const i=(0,r.defineAliasedType)("JSX");i("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,r.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),i("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),i("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,r.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,r.assertNodeType)("JSXClosingElement")},children:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,r.assertValueType)("boolean"),optional:!0}})}),i("JSXEmptyExpression",{}),i("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,r.assertNodeType)("Expression","JSXEmptyExpression")}}}),i("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}}}),i("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,r.assertValueType)("string")}}}),i("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,r.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,r.assertNodeType)("JSXIdentifier")}}}),i("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,r.assertNodeType)("JSXIdentifier")},name:{validate:(0,r.assertNodeType)("JSXIdentifier")}}}),i("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,r.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),i("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,r.assertNodeType)("Expression")}}}),i("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}}}),i("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,r.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,r.assertNodeType)("JSXClosingFragment")},children:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),i("JSXOpeningFragment",{aliases:["Immutable"]}),i("JSXClosingFragment",{aliases:["Immutable"]})},3858:function(e,t,n){"use strict";var r=n(1514),i=n(7389);const a=(0,r.defineAliasedType)("Miscellaneous");a("Noop",{visitor:[]}),a("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,r.assertNodeType)("Identifier")},expectedNode:{validate:(0,r.assertOneOf)(...i.PLACEHOLDERS)}}}),a("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,r.assertValueType)("string")}}})},7389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var r=n(1514);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const o of i){const e=r.ALIAS_KEYS[o];null!=e&&e.length&&(a[o]=e)}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s,Object.keys(a).forEach((e=>{a[e].forEach((t=>{Object.hasOwnProperty.call(s,t)||(s[t]=[]),s[t].push(e)}))}))},4:function(e,t,n){"use strict";var r=n(1514),i=n(8248),a=n(5171);const s=(0,r.defineAliasedType)("TypeScript"),o=(0,r.assertValueType)("boolean"),l=()=>({returnType:{validate:(0,r.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,r.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});s("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,r.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,r.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,r.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,r.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("Decorator"))),optional:!0}}}),s("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,i.functionDeclarationCommon)(),l())}),s("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,i.classMethodOrDeclareMethodCommon)(),l())}),s("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,r.validateType)("TSEntityName"),right:(0,r.validateType)("Identifier")}});const c=()=>({typeParameters:(0,r.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,r.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation")}),u={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:c()};s("TSCallSignatureDeclaration",u),s("TSConstructSignatureDeclaration",u);const p=()=>({key:(0,r.validateType)("Expression"),computed:{default:!1},optional:(0,r.validateOptional)(o)});s("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},p(),{readonly:(0,r.validateOptional)(o),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation"),initializer:(0,r.validateOptionalType)("Expression"),kind:{validate:(0,r.assertOneOf)("get","set")}})}),s("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},c(),p(),{kind:{validate:(0,r.assertOneOf)("method","get","set")}})}),s("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,r.validateOptional)(o),static:(0,r.validateOptional)(o),parameters:(0,r.validateArrayOfType)("Identifier"),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation")}});const f=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const m of f)s(m,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});s("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const d={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};s("TSFunctionType",Object.assign({},d,{fields:c()})),s("TSConstructorType",Object.assign({},d,{fields:Object.assign({},c(),{abstract:(0,r.validateOptional)(o)})})),s("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,r.validateType)("TSEntityName"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),s("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,r.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation"),asserts:(0,r.validateOptional)(o)}}),s("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,r.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),s("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,r.validateArrayOfType)("TSTypeElement")}}),s("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,r.validateType)("TSType")}}),s("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,r.validateArrayOfType)(["TSType","TSNamedTupleMember"])}}),s("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("TSType")}}),s("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("TSType")}}),s("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,r.validateType)("Identifier"),optional:{validate:o,default:!1},elementType:(0,r.validateType)("TSType")}});const y={aliases:["TSType"],visitor:["types"],fields:{types:(0,r.validateArrayOfType)("TSType")}};s("TSUnionType",y),s("TSIntersectionType",y),s("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,r.validateType)("TSType"),extendsType:(0,r.validateType)("TSType"),trueType:(0,r.validateType)("TSType"),falseType:(0,r.validateType)("TSType")}}),s("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,r.validateType)("TSTypeParameter")}}),s("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("TSType")}}),s("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,r.validate)((0,r.assertValueType)("string")),typeAnnotation:(0,r.validateType)("TSType")}}),s("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,r.validateType)("TSType"),indexType:(0,r.validateType)("TSType")}}),s("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,r.validateOptional)((0,r.assertOneOf)(!0,!1,"+","-")),typeParameter:(0,r.validateType)("TSTypeParameter"),optional:(0,r.validateOptional)((0,r.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,r.validateOptionalType)("TSType"),nameType:(0,r.validateOptionalType)("TSType")}}),s("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,r.assertNodeType)("NumericLiteral","BigIntLiteral"),t=(0,r.assertOneOf)("-"),n=(0,r.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function i(r,i,s){(0,a.default)("UnaryExpression",s)?(t(s,"operator",s.operator),e(s,"argument",s.argument)):n(r,i,s)}return i.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],i}()}}}),s("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,r.validateType)("TSEntityName"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),s("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,r.validateOptional)(o),id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,r.validateOptional)((0,r.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,r.validateType)("TSInterfaceBody")}}),s("TSInterfaceBody",{visitor:["body"],fields:{body:(0,r.validateArrayOfType)("TSTypeElement")}}),s("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,r.validateOptional)(o),id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,r.validateType)("TSType")}}),s("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,r.validateType)("Expression"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}});const h={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,r.validateType)("Expression"),typeAnnotation:(0,r.validateType)("TSType")}};s("TSAsExpression",h),s("TSSatisfiesExpression",h),s("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,r.validateType)("TSType"),expression:(0,r.validateType)("Expression")}}),s("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,r.validateOptional)(o),const:(0,r.validateOptional)(o),id:(0,r.validateType)("Identifier"),members:(0,r.validateArrayOfType)("TSEnumMember"),initializer:(0,r.validateOptionalType)("Expression")}}),s("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,r.validateType)(["Identifier","StringLiteral"]),initializer:(0,r.validateOptionalType)("Expression")}}),s("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,r.validateOptional)(o),global:(0,r.validateOptional)(o),id:(0,r.validateType)(["Identifier","StringLiteral"]),body:(0,r.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),s("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,r.validateArrayOfType)("Statement")}}),s("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,r.validateType)("StringLiteral"),qualifier:(0,r.validateOptionalType)("TSEntityName"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),s("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,r.validate)(o),id:(0,r.validateType)("Identifier"),moduleReference:(0,r.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,r.assertOneOf)("type","value"),optional:!0}}}),s("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,r.validateType)("StringLiteral")}}),s("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,r.validateType)("Expression")}}),s("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,r.validateType)("Expression")}}),s("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,r.validateType)("Identifier")}}),s("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,r.assertNodeType)("TSType")}}}),s("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("TSType")))}}}),s("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("TSTypeParameter")))}}}),s("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,r.assertValueType)("string")},in:{validate:(0,r.assertValueType)("boolean"),optional:!0},out:{validate:(0,r.assertValueType)("boolean"),optional:!0},const:{validate:(0,r.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,r.assertNodeType)("TSType"),optional:!0},default:{validate:(0,r.assertNodeType)("TSType"),optional:!0}}})},1514:function(e,t,n){"use strict";var r=n(2725);Object.defineProperty(t,"__esModule",{value:!0}),t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0,t.arrayOf=m,t.arrayOfType=T,t.assertEach=S,t.assertNodeOrValueType=function(...e){function t(t,n,r){for(const s of e)if(d(r)===s||(0,i.default)(s,r))return void(0,a.validateChild)(t,n,r);throw new TypeError(`Property ${n} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==r?void 0:r.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertNodeType=b,t.assertOneOf=function(...e){function t(t,n,r){if(e.indexOf(r)<0)throw new TypeError(`Property ${n} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(r)}`)}return t.oneOf=e,t},t.assertOptionalChainStart=function(){return function(e){var t;let n=e;for(;e;){const{type:e}=n;if("OptionalCallExpression"!==e){if("OptionalMemberExpression"!==e)break;if(n.optional)return;n=n.object}else{if(n.optional)return;n=n.callee}}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${null==(t=n)?void 0:t.type}`)}},t.assertShape=function(e){function t(t,n,r){const i=[];for(const o of Object.keys(e))try{(0,a.validateField)(t,o,r[o],e[o])}catch(s){if(s instanceof TypeError){i.push(s.message);continue}throw s}if(i.length)throw new TypeError(`Property ${n} of ${t.type} expected to have the following:\n${i.join("\n")}`)}return t.shapeOf=e,t},t.assertValueType=g,t.chain=E,t.default=A,t.defineAliasedType=function(...e){return(t,n={})=>{let r=n.aliases;var i;r||(n.inherits&&(r=null==(i=x[n.inherits].aliases)?void 0:i.slice()),null!=r||(r=[]),n.aliases=r);const a=e.filter((e=>!r.includes(e)));r.unshift(...a),A(t,n)}},t.typeIs=h,t.validate=y,t.validateArrayOfType=function(e){return y(T(e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(e){return{validate:h(e),optional:!0}},t.validateType=function(e){return y(h(e))};var i=n(5171),a=n(7750);const s={};t.VISITOR_KEYS=s;const o={};t.ALIAS_KEYS=o;const l={};t.FLIPPED_ALIAS_KEYS=l;const c={};t.NODE_FIELDS=c;const u={};t.BUILDER_KEYS=u;const p={};t.DEPRECATED_KEYS=p;const f={};function d(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function y(e){return{validate:e}}function h(e){return"string"===typeof e?b(e):b(...e)}function m(e){return E(g("array"),S(e))}function T(e){return m(h(e))}function S(e){function t(t,n,i){if(Array.isArray(i))for(let s=0;s<i.length;s++){const o=`${n}[${s}]`,l=i[s];e(t,o,l),r.env.BABEL_TYPES_8_BREAKING&&(0,a.validateChild)(t,o,l)}}return t.each=e,t}function b(...e){function t(t,n,r){for(const s of e)if((0,i.default)(s,r))return void(0,a.validateChild)(t,n,r);throw new TypeError(`Property ${n} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==r?void 0:r.type)}`)}return t.oneOfNodeTypes=e,t}function g(e){function t(t,n,r){if(!(d(r)===e))throw new TypeError(`Property ${n} expected type of ${e} but got ${d(r)}`)}return t.type=e,t}function E(...e){function t(...t){for(const n of e)n(...t)}if(t.chainOf=e,e.length>=2&&"type"in e[0]&&"array"===e[0].type&&!("each"in e[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return t}t.NODE_PARENT_VALIDATIONS=f;const P=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],v=["default","optional","deprecated","validate"],x={};function A(e,t={}){const n=t.inherits&&x[t.inherits]||{};let r=t.fields;if(!r&&(r={},n.fields)){const e=Object.getOwnPropertyNames(n.fields);for(const t of e){const e=n.fields[t],i=e.default;if(Array.isArray(i)?i.length>0:i&&"object"===typeof i)throw new Error("field defaults can only be primitives or empty arrays currently");r[t]={default:Array.isArray(i)?[]:i,optional:e.optional,deprecated:e.deprecated,validate:e.validate}}}const i=t.visitor||n.visitor||[],a=t.aliases||n.aliases||[],y=t.builder||n.builder||t.visitor||[];for(const s of Object.keys(t))if(-1===P.indexOf(s))throw new Error(`Unknown type option "${s}" on ${e}`);t.deprecatedAlias&&(p[t.deprecatedAlias]=e);for(const s of i.concat(y))r[s]=r[s]||{};for(const s of Object.keys(r)){const t=r[s];void 0!==t.default&&-1===y.indexOf(s)&&(t.optional=!0),void 0===t.default?t.default=null:t.validate||null==t.default||(t.validate=g(d(t.default)));for(const n of Object.keys(t))if(-1===v.indexOf(n))throw new Error(`Unknown field key "${n}" on ${e}.${s}`)}s[e]=t.visitor=i,u[e]=t.builder=y,c[e]=t.fields=r,o[e]=t.aliases=a,a.forEach((t=>{l[t]=l[t]||[],l[t].push(e)})),t.validate&&(f[e]=t.validate),x[e]=t}},6067:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(t,"__internal__deprecationWarning",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"createFlowUnionType",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"createTSUnionType",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return K.default}}),t.react=void 0,Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return B.default}});var i=n(4229),a=n(9733),s=n(4225),o=n(391),l=n(163);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=n(5976),u=n(7625),p=n(6752),f=n(1411);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var d=n(9470);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var y=n(2419),h=n(8229),m=n(8030),T=n(8519),S=n(9381),b=n(109),g=n(8647),E=n(2823),P=n(8930),v=n(9134),x=n(2714),A=n(698),O=n(4998);Object.keys(O).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===O[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}}))}));var C=n(3725);Object.keys(C).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===C[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}}))}));var I=n(8560),w=n(5200),_=n(9988),D=n(3816),k=n(5317),N=n(7885),M=n(5046),L=n(2473),j=n(350),B=n(1382),F=n(1678);Object.keys(F).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===F[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return F[e]}}))}));var R=n(2115),V=n(4151),K=n(2369),U=n(7665),W=n(857),Y=n(8874),q=n(984),J=n(179),X=n(9787);Object.keys(X).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===X[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return X[e]}}))}));var G=n(5139),$=n(9960),H=n(5171),z=n(8443),Q=n(964),Z=n(1689),ee=n(3066),te=n(4814),ne=n(7997),re=n(8894),ie=n(3683),ae=n(2126),se=n(8691),oe=n(5179),le=n(7879),ce=n(5820),ue=n(3358),pe=n(2693),fe=n(7750),de=n(2051),ye=n(9869);Object.keys(ye).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===ye[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ye[e]}}))}));var he=n(4619);const me={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=me},2115:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n=!1){return e.object=(0,r.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!n,e};var r=n(1411)},8874:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const n=Array.from(t),a=new Map,s=new Map,o=new Set,l=[];for(let c=0;c<n.length;c++){const t=n[c];if(t&&!(l.indexOf(t)>=0)){if((0,r.isAnyTypeAnnotation)(t))return[t];if((0,r.isFlowBaseAnnotation)(t))s.set(t.type,t);else if((0,r.isUnionTypeAnnotation)(t))o.has(t.types)||(n.push(...t.types),o.add(t.types));else if((0,r.isGenericTypeAnnotation)(t)){const n=i(t.id);if(a.has(n)){let r=a.get(n);r.typeParameters?t.typeParameters&&(r.typeParameters.params.push(...t.typeParameters.params),r.typeParameters.params=e(r.typeParameters.params)):r=t.typeParameters}else a.set(n,t)}else l.push(t)}}for(const[,r]of s)l.push(r);for(const[,r]of a)l.push(r);return l};var r=n(9869);function i(e){return(0,r.isIdentifier)(e)?e.name:`${e.id.name}.${i(e.qualification)}`}},4151:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(const n of r.INHERIT_KEYS.optional)null==e[n]&&(e[n]=t[n]);for(const n of Object.keys(t))"_"===n[0]&&"__clone"!==n&&(e[n]=t[n]);for(const n of r.INHERIT_KEYS.force)e[n]=t[n];return(0,i.default)(e,t),e};var r=n(3725),i=n(9134)},2369:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.isSuper)(e.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return e.object=(0,r.memberExpression)(t,e.object),e};var r=n(1411),i=n(6067)},7665:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const n=t.preserveComments?i:a;for(const i of n)null!=e[i]&&(e[i]=void 0);for(const i of Object.keys(e))"_"===i[0]&&null!=e[i]&&(e[i]=void 0);const r=Object.getOwnPropertySymbols(e);for(const i of r)e[i]=null};var r=n(3725);const i=["tokens","start","end","loc","raw","rawValue"],a=[...r.COMMENT_KEYS,"comments",...i]},857:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e,i.default,t),e};var r=n(5139),i=n(7665)},2819:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const n=Array.from(t),a=new Map,s=new Map,o=new Set,l=[];for(let c=0;c<n.length;c++){const t=n[c];if(t&&!(l.indexOf(t)>=0)){if((0,r.isTSAnyKeyword)(t))return[t];if((0,r.isTSBaseType)(t))s.set(t.type,t);else if((0,r.isTSUnionType)(t))o.has(t.types)||(n.push(...t.types),o.add(t.types));else if((0,r.isTSTypeReference)(t)&&t.typeParameters){const n=i(t.typeName);if(a.has(n)){let r=a.get(n);r.typeParameters?t.typeParameters&&(r.typeParameters.params.push(...t.typeParameters.params),r.typeParameters.params=e(r.typeParameters.params)):r=t.typeParameters}else a.set(n,t)}else l.push(t)}}for(const[,r]of s)l.push(r);for(const[,r]of a)l.push(r);return l};var r=n(9869);function i(e){return(0,r.isIdentifier)(e)?e.name:`${e.right.name}.${i(e.left)}`}},984:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(9869);function i(e,t,n){const a=[].concat(e),s=Object.create(null);for(;a.length;){const e=a.shift();if(!e)continue;const o=i.keys[e.type];if((0,r.isIdentifier)(e))if(t){(s[e.name]=s[e.name]||[]).push(e)}else s[e.name]=e;else if(!(0,r.isExportDeclaration)(e)||(0,r.isExportAllDeclaration)(e)){if(n){if((0,r.isFunctionDeclaration)(e)){a.push(e.id);continue}if((0,r.isFunctionExpression)(e))continue}if(o)for(let t=0;t<o.length;t++){const n=e[o[t]];n&&(Array.isArray(n)?a.push(...n):a.push(n))}}else(0,r.isDeclaration)(e.declaration)&&a.push(e.declaration)}return s}i.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},179:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(984),i=function(e,t){return(0,r.default)(e,t,!0)};t.default=i},9787:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){"function"===typeof t&&(t={enter:t});const{enter:r,exit:a}=t;i(e,r,a,n,[])};var r=n(1678);function i(e,t,n,a,s){const o=r.VISITOR_KEYS[e.type];if(o){t&&t(e,s,a);for(const r of o){const o=e[r];if(Array.isArray(o))for(let l=0;l<o.length;l++){const c=o[l];c&&(s.push({node:e,key:r,index:l}),i(c,t,n,a,s),s.pop())}else o&&(s.push({node:e,key:r}),i(o,t,n,a,s),s.pop())}n&&n(e,s,a)}}},5139:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n,i){if(!t)return;const a=r.VISITOR_KEYS[t.type];if(!a)return;n(t,i=i||{});for(const r of a){const a=t[r];if(Array.isArray(a))for(const t of a)e(t,n,i);else e(a,n,i)}};var r=n(1678)},4619:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=""){if(n.has(e))return;n.add(e);const{internal:i,trace:a}=function(e,t){const{stackTraceLimit:n,prepareStackTrace:r}=Error;let i;if(Error.stackTraceLimit=1+e+t,Error.prepareStackTrace=function(e,t){i=t},(new Error).stack,Error.stackTraceLimit=n,Error.prepareStackTrace=r,!i)return{internal:!1,trace:""};const a=i.slice(1+e,1+e+t);return{internal:/[\\/]@babel[\\/]/.test(a[1].getFileName()),trace:a.map((e=>` at ${e}`)).join("\n")}}(1,2);if(i)return;console.warn(`${r}\`${e}\` has been deprecated, please migrate to \`${t}\`\n${a}`)};const n=new Set},9906:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){t&&n&&(t[e]=Array.from(new Set([].concat(t[e],n[e]).filter(Boolean))))}},8730:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=e.value.split(/\r\n|\n|\r/);let a=0;for(let r=0;r<n.length;r++)n[r].match(/[^ \t]/)&&(a=r);let s="";for(let r=0;r<n.length;r++){const e=n[r],t=0===r,i=r===n.length-1,o=r===a;let l=e.replace(/\t/g," ");t||(l=l.replace(/^[ ]+/,"")),i||(l=l.replace(/[ ]+$/,"")),l&&(o||(l+=" "),s+=l)}s&&t.push((0,i.inherits)((0,r.stringLiteral)(s),e))};var r=n(1411),i=n(6067)},9960:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=Object.keys(t);for(const r of n)if(e[r]!==t[r])return!1;return!0}},2051:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=e.split(".");return e=>(0,r.default)(e,n,t)};var r=n(2693)},9869:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAccessor=function(e,t){if(!e)return!1;if("ClassAccessorProperty"!==e.type)return!1;return null==t||(0,r.default)(e,t)},t.isAnyTypeAnnotation=function(e,t){return!!e&&("AnyTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isArgumentPlaceholder=function(e,t){return!!e&&("ArgumentPlaceholder"===e.type&&(null==t||(0,r.default)(e,t)))},t.isArrayExpression=function(e,t){return!!e&&("ArrayExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isArrayPattern=function(e,t){return!!e&&("ArrayPattern"===e.type&&(null==t||(0,r.default)(e,t)))},t.isArrayTypeAnnotation=function(e,t){return!!e&&("ArrayTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isArrowFunctionExpression=function(e,t){return!!e&&("ArrowFunctionExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isAssignmentExpression=function(e,t){return!!e&&("AssignmentExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isAssignmentPattern=function(e,t){return!!e&&("AssignmentPattern"===e.type&&(null==t||(0,r.default)(e,t)))},t.isAwaitExpression=function(e,t){return!!e&&("AwaitExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isBigIntLiteral=function(e,t){return!!e&&("BigIntLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isBinary=function(e,t){if(!e)return!1;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isBinaryExpression=function(e,t){return!!e&&("BinaryExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isBindExpression=function(e,t){return!!e&&("BindExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isBlock=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isBlockParent=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isBlockStatement=function(e,t){return!!e&&("BlockStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isBooleanLiteral=function(e,t){return!!e&&("BooleanLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isBooleanLiteralTypeAnnotation=function(e,t){return!!e&&("BooleanLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isBooleanTypeAnnotation=function(e,t){return!!e&&("BooleanTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isBreakStatement=function(e,t){return!!e&&("BreakStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isCallExpression=function(e,t){return!!e&&("CallExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isCatchClause=function(e,t){return!!e&&("CatchClause"===e.type&&(null==t||(0,r.default)(e,t)))},t.isClass=function(e,t){if(!e)return!1;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isClassAccessorProperty=function(e,t){return!!e&&("ClassAccessorProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isClassBody=function(e,t){return!!e&&("ClassBody"===e.type&&(null==t||(0,r.default)(e,t)))},t.isClassDeclaration=function(e,t){return!!e&&("ClassDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isClassExpression=function(e,t){return!!e&&("ClassExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isClassImplements=function(e,t){return!!e&&("ClassImplements"===e.type&&(null==t||(0,r.default)(e,t)))},t.isClassMethod=function(e,t){return!!e&&("ClassMethod"===e.type&&(null==t||(0,r.default)(e,t)))},t.isClassPrivateMethod=function(e,t){return!!e&&("ClassPrivateMethod"===e.type&&(null==t||(0,r.default)(e,t)))},t.isClassPrivateProperty=function(e,t){return!!e&&("ClassPrivateProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isClassProperty=function(e,t){return!!e&&("ClassProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isCompletionStatement=function(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isConditional=function(e,t){if(!e)return!1;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isConditionalExpression=function(e,t){return!!e&&("ConditionalExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isContinueStatement=function(e,t){return!!e&&("ContinueStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDebuggerStatement=function(e,t){return!!e&&("DebuggerStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDecimalLiteral=function(e,t){return!!e&&("DecimalLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if("Declaration"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isDeclareClass=function(e,t){return!!e&&("DeclareClass"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclareExportAllDeclaration=function(e,t){return!!e&&("DeclareExportAllDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclareExportDeclaration=function(e,t){return!!e&&("DeclareExportDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclareFunction=function(e,t){return!!e&&("DeclareFunction"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclareInterface=function(e,t){return!!e&&("DeclareInterface"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclareModule=function(e,t){return!!e&&("DeclareModule"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclareModuleExports=function(e,t){return!!e&&("DeclareModuleExports"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclareOpaqueType=function(e,t){return!!e&&("DeclareOpaqueType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclareTypeAlias=function(e,t){return!!e&&("DeclareTypeAlias"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclareVariable=function(e,t){return!!e&&("DeclareVariable"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDeclaredPredicate=function(e,t){return!!e&&("DeclaredPredicate"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDecorator=function(e,t){return!!e&&("Decorator"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDirective=function(e,t){return!!e&&("Directive"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDirectiveLiteral=function(e,t){return!!e&&("DirectiveLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDoExpression=function(e,t){return!!e&&("DoExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isDoWhileStatement=function(e,t){return!!e&&("DoWhileStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEmptyStatement=function(e,t){return!!e&&("EmptyStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEmptyTypeAnnotation=function(e,t){return!!e&&("EmptyTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEnumBody=function(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isEnumBooleanBody=function(e,t){return!!e&&("EnumBooleanBody"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEnumBooleanMember=function(e,t){return!!e&&("EnumBooleanMember"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEnumDeclaration=function(e,t){return!!e&&("EnumDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEnumDefaultedMember=function(e,t){return!!e&&("EnumDefaultedMember"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEnumMember=function(e,t){if(!e)return!1;switch(e.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isEnumNumberBody=function(e,t){return!!e&&("EnumNumberBody"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEnumNumberMember=function(e,t){return!!e&&("EnumNumberMember"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEnumStringBody=function(e,t){return!!e&&("EnumStringBody"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEnumStringMember=function(e,t){return!!e&&("EnumStringMember"===e.type&&(null==t||(0,r.default)(e,t)))},t.isEnumSymbolBody=function(e,t){return!!e&&("EnumSymbolBody"===e.type&&(null==t||(0,r.default)(e,t)))},t.isExistsTypeAnnotation=function(e,t){return!!e&&("ExistsTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isExportAllDeclaration=function(e,t){return!!e&&("ExportAllDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isExportDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isExportDefaultDeclaration=function(e,t){return!!e&&("ExportDefaultDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isExportDefaultSpecifier=function(e,t){return!!e&&("ExportDefaultSpecifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isExportNamedDeclaration=function(e,t){return!!e&&("ExportNamedDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isExportNamespaceSpecifier=function(e,t){return!!e&&("ExportNamespaceSpecifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isExportSpecifier=function(e,t){return!!e&&("ExportSpecifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isExpression=function(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isExpressionStatement=function(e,t){return!!e&&("ExpressionStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isExpressionWrapper=function(e,t){if(!e)return!1;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFile=function(e,t){return!!e&&("File"===e.type&&(null==t||(0,r.default)(e,t)))},t.isFlow=function(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFlowDeclaration=function(e,t){if(!e)return!1;switch(e.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFlowPredicate=function(e,t){if(!e)return!1;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFlowType=function(e,t){if(!e)return!1;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFor=function(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isForInStatement=function(e,t){return!!e&&("ForInStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isForOfStatement=function(e,t){return!!e&&("ForOfStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isForStatement=function(e,t){return!!e&&("ForStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isForXStatement=function(e,t){if(!e)return!1;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunction=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunctionDeclaration=function(e,t){return!!e&&("FunctionDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isFunctionExpression=function(e,t){return!!e&&("FunctionExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isFunctionParent=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isFunctionTypeAnnotation=function(e,t){return!!e&&("FunctionTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isFunctionTypeParam=function(e,t){return!!e&&("FunctionTypeParam"===e.type&&(null==t||(0,r.default)(e,t)))},t.isGenericTypeAnnotation=function(e,t){return!!e&&("GenericTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isIdentifier=function(e,t){return!!e&&("Identifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isIfStatement=function(e,t){return!!e&&("IfStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isImmutable=function(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isImport=function(e,t){return!!e&&("Import"===e.type&&(null==t||(0,r.default)(e,t)))},t.isImportAttribute=function(e,t){return!!e&&("ImportAttribute"===e.type&&(null==t||(0,r.default)(e,t)))},t.isImportDeclaration=function(e,t){return!!e&&("ImportDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isImportDefaultSpecifier=function(e,t){return!!e&&("ImportDefaultSpecifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isImportNamespaceSpecifier=function(e,t){return!!e&&("ImportNamespaceSpecifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isImportOrExportDeclaration=a,t.isImportSpecifier=function(e,t){return!!e&&("ImportSpecifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isIndexedAccessType=function(e,t){return!!e&&("IndexedAccessType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isInferredPredicate=function(e,t){return!!e&&("InferredPredicate"===e.type&&(null==t||(0,r.default)(e,t)))},t.isInterfaceDeclaration=function(e,t){return!!e&&("InterfaceDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isInterfaceExtends=function(e,t){return!!e&&("InterfaceExtends"===e.type&&(null==t||(0,r.default)(e,t)))},t.isInterfaceTypeAnnotation=function(e,t){return!!e&&("InterfaceTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isInterpreterDirective=function(e,t){return!!e&&("InterpreterDirective"===e.type&&(null==t||(0,r.default)(e,t)))},t.isIntersectionTypeAnnotation=function(e,t){return!!e&&("IntersectionTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSX=function(e,t){if(!e)return!1;switch(e.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isJSXAttribute=function(e,t){return!!e&&("JSXAttribute"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXClosingElement=function(e,t){return!!e&&("JSXClosingElement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXClosingFragment=function(e,t){return!!e&&("JSXClosingFragment"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXElement=function(e,t){return!!e&&("JSXElement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXEmptyExpression=function(e,t){return!!e&&("JSXEmptyExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXExpressionContainer=function(e,t){return!!e&&("JSXExpressionContainer"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXFragment=function(e,t){return!!e&&("JSXFragment"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXIdentifier=function(e,t){return!!e&&("JSXIdentifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXMemberExpression=function(e,t){return!!e&&("JSXMemberExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXNamespacedName=function(e,t){return!!e&&("JSXNamespacedName"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXOpeningElement=function(e,t){return!!e&&("JSXOpeningElement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXOpeningFragment=function(e,t){return!!e&&("JSXOpeningFragment"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXSpreadAttribute=function(e,t){return!!e&&("JSXSpreadAttribute"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXSpreadChild=function(e,t){return!!e&&("JSXSpreadChild"===e.type&&(null==t||(0,r.default)(e,t)))},t.isJSXText=function(e,t){return!!e&&("JSXText"===e.type&&(null==t||(0,r.default)(e,t)))},t.isLVal=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isLabeledStatement=function(e,t){return!!e&&("LabeledStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isLiteral=function(e,t){if(!e)return!1;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isLogicalExpression=function(e,t){return!!e&&("LogicalExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isLoop=function(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isMemberExpression=function(e,t){return!!e&&("MemberExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isMetaProperty=function(e,t){return!!e&&("MetaProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isMethod=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isMiscellaneous=function(e,t){if(!e)return!1;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isMixedTypeAnnotation=function(e,t){return!!e&&("MixedTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isModuleDeclaration=function(e,t){return(0,i.default)("isModuleDeclaration","isImportOrExportDeclaration"),a(e,t)},t.isModuleExpression=function(e,t){return!!e&&("ModuleExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isModuleSpecifier=function(e,t){if(!e)return!1;switch(e.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isNewExpression=function(e,t){return!!e&&("NewExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isNoop=function(e,t){return!!e&&("Noop"===e.type&&(null==t||(0,r.default)(e,t)))},t.isNullLiteral=function(e,t){return!!e&&("NullLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isNullLiteralTypeAnnotation=function(e,t){return!!e&&("NullLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isNullableTypeAnnotation=function(e,t){return!!e&&("NullableTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isNumberLiteral=function(e,t){return(0,i.default)("isNumberLiteral","isNumericLiteral"),!!e&&("NumberLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isNumberLiteralTypeAnnotation=function(e,t){return!!e&&("NumberLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isNumberTypeAnnotation=function(e,t){return!!e&&("NumberTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isNumericLiteral=function(e,t){return!!e&&("NumericLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectExpression=function(e,t){return!!e&&("ObjectExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectMember=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isObjectMethod=function(e,t){return!!e&&("ObjectMethod"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectPattern=function(e,t){return!!e&&("ObjectPattern"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectProperty=function(e,t){return!!e&&("ObjectProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectTypeAnnotation=function(e,t){return!!e&&("ObjectTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectTypeCallProperty=function(e,t){return!!e&&("ObjectTypeCallProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectTypeIndexer=function(e,t){return!!e&&("ObjectTypeIndexer"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectTypeInternalSlot=function(e,t){return!!e&&("ObjectTypeInternalSlot"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectTypeProperty=function(e,t){return!!e&&("ObjectTypeProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isObjectTypeSpreadProperty=function(e,t){return!!e&&("ObjectTypeSpreadProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isOpaqueType=function(e,t){return!!e&&("OpaqueType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isOptionalCallExpression=function(e,t){return!!e&&("OptionalCallExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isOptionalIndexedAccessType=function(e,t){return!!e&&("OptionalIndexedAccessType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isOptionalMemberExpression=function(e,t){return!!e&&("OptionalMemberExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isParenthesizedExpression=function(e,t){return!!e&&("ParenthesizedExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isPattern=function(e,t){if(!e)return!1;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if("Pattern"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPatternLike=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPipelineBareFunction=function(e,t){return!!e&&("PipelineBareFunction"===e.type&&(null==t||(0,r.default)(e,t)))},t.isPipelinePrimaryTopicReference=function(e,t){return!!e&&("PipelinePrimaryTopicReference"===e.type&&(null==t||(0,r.default)(e,t)))},t.isPipelineTopicExpression=function(e,t){return!!e&&("PipelineTopicExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isPlaceholder=function(e,t){return!!e&&("Placeholder"===e.type&&(null==t||(0,r.default)(e,t)))},t.isPrivate=function(e,t){if(!e)return!1;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPrivateName=function(e,t){return!!e&&("PrivateName"===e.type&&(null==t||(0,r.default)(e,t)))},t.isProgram=function(e,t){return!!e&&("Program"===e.type&&(null==t||(0,r.default)(e,t)))},t.isProperty=function(e,t){if(!e)return!1;switch(e.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isPureish=function(e,t){if(!e)return!1;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if("StringLiteral"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isQualifiedTypeIdentifier=function(e,t){return!!e&&("QualifiedTypeIdentifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isRecordExpression=function(e,t){return!!e&&("RecordExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isRegExpLiteral=function(e,t){return!!e&&("RegExpLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isRegexLiteral=function(e,t){return(0,i.default)("isRegexLiteral","isRegExpLiteral"),!!e&&("RegexLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isRestElement=function(e,t){return!!e&&("RestElement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isRestProperty=function(e,t){return(0,i.default)("isRestProperty","isRestElement"),!!e&&("RestProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isReturnStatement=function(e,t){return!!e&&("ReturnStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isScopable=function(e,t){if(!e)return!1;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if("BlockStatement"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isSequenceExpression=function(e,t){return!!e&&("SequenceExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isSpreadElement=function(e,t){return!!e&&("SpreadElement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isSpreadProperty=function(e,t){return(0,i.default)("isSpreadProperty","isSpreadElement"),!!e&&("SpreadProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isStandardized=function(e,t){if(!e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(e.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isStatement=function(e,t){if(!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"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(e.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return null==t||(0,r.default)(e,t)},t.isStaticBlock=function(e,t){return!!e&&("StaticBlock"===e.type&&(null==t||(0,r.default)(e,t)))},t.isStringLiteral=function(e,t){return!!e&&("StringLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isStringLiteralTypeAnnotation=function(e,t){return!!e&&("StringLiteralTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isStringTypeAnnotation=function(e,t){return!!e&&("StringTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isSuper=function(e,t){return!!e&&("Super"===e.type&&(null==t||(0,r.default)(e,t)))},t.isSwitchCase=function(e,t){return!!e&&("SwitchCase"===e.type&&(null==t||(0,r.default)(e,t)))},t.isSwitchStatement=function(e,t){return!!e&&("SwitchStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isSymbolTypeAnnotation=function(e,t){return!!e&&("SymbolTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSAnyKeyword=function(e,t){return!!e&&("TSAnyKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSArrayType=function(e,t){return!!e&&("TSArrayType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSAsExpression=function(e,t){return!!e&&("TSAsExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSBaseType=function(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSBigIntKeyword=function(e,t){return!!e&&("TSBigIntKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSBooleanKeyword=function(e,t){return!!e&&("TSBooleanKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSCallSignatureDeclaration=function(e,t){return!!e&&("TSCallSignatureDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSConditionalType=function(e,t){return!!e&&("TSConditionalType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSConstructSignatureDeclaration=function(e,t){return!!e&&("TSConstructSignatureDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSConstructorType=function(e,t){return!!e&&("TSConstructorType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSDeclareFunction=function(e,t){return!!e&&("TSDeclareFunction"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSDeclareMethod=function(e,t){return!!e&&("TSDeclareMethod"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSEntityName=function(e,t){if(!e)return!1;switch(e.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if("Identifier"===e.expectedNode)break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSEnumDeclaration=function(e,t){return!!e&&("TSEnumDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSEnumMember=function(e,t){return!!e&&("TSEnumMember"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSExportAssignment=function(e,t){return!!e&&("TSExportAssignment"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSExpressionWithTypeArguments=function(e,t){return!!e&&("TSExpressionWithTypeArguments"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSExternalModuleReference=function(e,t){return!!e&&("TSExternalModuleReference"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSFunctionType=function(e,t){return!!e&&("TSFunctionType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSImportEqualsDeclaration=function(e,t){return!!e&&("TSImportEqualsDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSImportType=function(e,t){return!!e&&("TSImportType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSIndexSignature=function(e,t){return!!e&&("TSIndexSignature"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSIndexedAccessType=function(e,t){return!!e&&("TSIndexedAccessType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSInferType=function(e,t){return!!e&&("TSInferType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSInstantiationExpression=function(e,t){return!!e&&("TSInstantiationExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSInterfaceBody=function(e,t){return!!e&&("TSInterfaceBody"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSInterfaceDeclaration=function(e,t){return!!e&&("TSInterfaceDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSIntersectionType=function(e,t){return!!e&&("TSIntersectionType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSIntrinsicKeyword=function(e,t){return!!e&&("TSIntrinsicKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSLiteralType=function(e,t){return!!e&&("TSLiteralType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSMappedType=function(e,t){return!!e&&("TSMappedType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSMethodSignature=function(e,t){return!!e&&("TSMethodSignature"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSModuleBlock=function(e,t){return!!e&&("TSModuleBlock"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSModuleDeclaration=function(e,t){return!!e&&("TSModuleDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSNamedTupleMember=function(e,t){return!!e&&("TSNamedTupleMember"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSNamespaceExportDeclaration=function(e,t){return!!e&&("TSNamespaceExportDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSNeverKeyword=function(e,t){return!!e&&("TSNeverKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSNonNullExpression=function(e,t){return!!e&&("TSNonNullExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSNullKeyword=function(e,t){return!!e&&("TSNullKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSNumberKeyword=function(e,t){return!!e&&("TSNumberKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSObjectKeyword=function(e,t){return!!e&&("TSObjectKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSOptionalType=function(e,t){return!!e&&("TSOptionalType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSParameterProperty=function(e,t){return!!e&&("TSParameterProperty"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSParenthesizedType=function(e,t){return!!e&&("TSParenthesizedType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSPropertySignature=function(e,t){return!!e&&("TSPropertySignature"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSQualifiedName=function(e,t){return!!e&&("TSQualifiedName"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSRestType=function(e,t){return!!e&&("TSRestType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSSatisfiesExpression=function(e,t){return!!e&&("TSSatisfiesExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSStringKeyword=function(e,t){return!!e&&("TSStringKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSSymbolKeyword=function(e,t){return!!e&&("TSSymbolKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSThisType=function(e,t){return!!e&&("TSThisType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTupleType=function(e,t){return!!e&&("TSTupleType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSType=function(e,t){if(!e)return!1;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSTypeAliasDeclaration=function(e,t){return!!e&&("TSTypeAliasDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypeAnnotation=function(e,t){return!!e&&("TSTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypeAssertion=function(e,t){return!!e&&("TSTypeAssertion"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypeElement=function(e,t){if(!e)return!1;switch(e.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTSTypeLiteral=function(e,t){return!!e&&("TSTypeLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypeOperator=function(e,t){return!!e&&("TSTypeOperator"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypeParameter=function(e,t){return!!e&&("TSTypeParameter"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypeParameterDeclaration=function(e,t){return!!e&&("TSTypeParameterDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypeParameterInstantiation=function(e,t){return!!e&&("TSTypeParameterInstantiation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypePredicate=function(e,t){return!!e&&("TSTypePredicate"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypeQuery=function(e,t){return!!e&&("TSTypeQuery"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSTypeReference=function(e,t){return!!e&&("TSTypeReference"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSUndefinedKeyword=function(e,t){return!!e&&("TSUndefinedKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSUnionType=function(e,t){return!!e&&("TSUnionType"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSUnknownKeyword=function(e,t){return!!e&&("TSUnknownKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTSVoidKeyword=function(e,t){return!!e&&("TSVoidKeyword"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTaggedTemplateExpression=function(e,t){return!!e&&("TaggedTemplateExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTemplateElement=function(e,t){return!!e&&("TemplateElement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTemplateLiteral=function(e,t){return!!e&&("TemplateLiteral"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTerminatorless=function(e,t){if(!e)return!1;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isThisExpression=function(e,t){return!!e&&("ThisExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isThisTypeAnnotation=function(e,t){return!!e&&("ThisTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isThrowStatement=function(e,t){return!!e&&("ThrowStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTopicReference=function(e,t){return!!e&&("TopicReference"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTryStatement=function(e,t){return!!e&&("TryStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTupleExpression=function(e,t){return!!e&&("TupleExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTupleTypeAnnotation=function(e,t){return!!e&&("TupleTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTypeAlias=function(e,t){return!!e&&("TypeAlias"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTypeAnnotation=function(e,t){return!!e&&("TypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTypeCastExpression=function(e,t){return!!e&&("TypeCastExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTypeParameter=function(e,t){return!!e&&("TypeParameter"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTypeParameterDeclaration=function(e,t){return!!e&&("TypeParameterDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTypeParameterInstantiation=function(e,t){return!!e&&("TypeParameterInstantiation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isTypeScript=function(e,t){if(!e)return!1;switch(e.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isTypeofTypeAnnotation=function(e,t){return!!e&&("TypeofTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isUnaryExpression=function(e,t){return!!e&&("UnaryExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isUnaryLike=function(e,t){if(!e)return!1;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isUnionTypeAnnotation=function(e,t){return!!e&&("UnionTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isUpdateExpression=function(e,t){return!!e&&("UpdateExpression"===e.type&&(null==t||(0,r.default)(e,t)))},t.isUserWhitespacable=function(e,t){if(!e)return!1;switch(e.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isV8IntrinsicIdentifier=function(e,t){return!!e&&("V8IntrinsicIdentifier"===e.type&&(null==t||(0,r.default)(e,t)))},t.isVariableDeclaration=function(e,t){return!!e&&("VariableDeclaration"===e.type&&(null==t||(0,r.default)(e,t)))},t.isVariableDeclarator=function(e,t){return!!e&&("VariableDeclarator"===e.type&&(null==t||(0,r.default)(e,t)))},t.isVariance=function(e,t){return!!e&&("Variance"===e.type&&(null==t||(0,r.default)(e,t)))},t.isVoidTypeAnnotation=function(e,t){return!!e&&("VoidTypeAnnotation"===e.type&&(null==t||(0,r.default)(e,t)))},t.isWhile=function(e,t){if(!e)return!1;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return null==t||(0,r.default)(e,t)},t.isWhileStatement=function(e,t){return!!e&&("WhileStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isWithStatement=function(e,t){return!!e&&("WithStatement"===e.type&&(null==t||(0,r.default)(e,t)))},t.isYieldExpression=function(e,t){return!!e&&("YieldExpression"===e.type&&(null==t||(0,r.default)(e,t)))};var r=n(9960),i=n(4619);function a(e,t){if(!e)return!1;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return null==t||(0,r.default)(e,t)}},5171:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!t)return!1;if(!(0,i.default)(t.type,e))return!n&&"Placeholder"===t.type&&e in s.FLIPPED_ALIAS_KEYS&&(0,a.default)(t.expectedNode,e);return"undefined"===typeof n||(0,r.default)(t,n)};var r=n(9960),i=n(5179),a=n(8894),s=n(1678)},8443:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(n&&"Identifier"===e.type&&"ObjectProperty"===t.type&&"ObjectExpression"===n.type)return!1;const i=r.default.keys[t.type];if(i)for(let r=0;r<i.length;r++){const n=i[r],a=t[n];if(Array.isArray(a)){if(a.indexOf(e)>=0)return!0}else if(a===e)return!0}return!1};var r=n(984)},964:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isFunctionDeclaration)(e)||(0,r.isClassDeclaration)(e)||(0,i.default)(e)};var r=n(9869),i=n(3066)},1689:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,r.default)(e.type,"Immutable"))return!0;if((0,i.isIdentifier)(e))return"undefined"===e.name;return!1};var r=n(5179),i=n(9869)},3066:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isVariableDeclaration)(e)&&("var"!==e.kind||e[i.BLOCK_SCOPED_SYMBOL])};var r=n(9869),i=n(3725)},4814:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!r.VISITOR_KEYS[e.type])};var r=n(1678)},7997:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){if("object"!==typeof t||"object"!==typeof n||null==t||null==n)return t===n;if(t.type!==n.type)return!1;const i=Object.keys(r.NODE_FIELDS[t.type]||t.type),a=r.VISITOR_KEYS[t.type];for(const r of i){const i=t[r],s=n[r];if(typeof i!==typeof s)return!1;if(null!=i||null!=s){if(null==i||null==s)return!1;if(Array.isArray(i)){if(!Array.isArray(s))return!1;if(i.length!==s.length)return!1;for(let t=0;t<i.length;t++)if(!e(i[t],s[t]))return!1}else if("object"!==typeof i||null!=a&&a.includes(r)){if(!e(i,s))return!1}else for(const e of Object.keys(i))if(i[e]!==s[e])return!1}}return!0};var r=n(1678)},8894:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;const n=r.PLACEHOLDERS_ALIAS[e];if(n)for(const r of n)if(t===r)return!0;return!1};var r=n(1678)},3683:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":return t.key===e?!!t.computed:!n||"ObjectPattern"!==n.type;case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":return t.key!==e||!!t.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":return(null==n||!n.source)&&t.local===e;case"TSEnumMember":return t.id!==e}return!0}},2126:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.isBlockStatement)(e)&&((0,r.isFunction)(t)||(0,r.isCatchClause)(t)))return!1;if((0,r.isPattern)(e)&&((0,r.isFunction)(t)||(0,r.isCatchClause)(t)))return!0;return(0,r.isScopable)(e)};var r=n(9869)},8691:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isImportDefaultSpecifier)(e)||(0,r.isIdentifier)(e.imported||e.exported,{name:"default"})};var r=n(9869)},5179:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;if(r.ALIAS_KEYS[t])return!1;const n=r.FLIPPED_ALIAS_KEYS[t];if(n){if(n[0]===e)return!0;for(const t of n)if(e===t)return!0}return!1};var r=n(1678)},7879:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)&&!i.has(e)};var r=n(5820);const i=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},5820:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0){if("string"!==typeof e)return!1;if(t&&((0,r.isKeyword)(e)||(0,r.isStrictReservedWord)(e,!0)))return!1;return(0,r.isIdentifierName)(e)};var r=n(9649)},3358:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]};var r=n(9869),i=n(3725)},2693:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!(0,r.isMemberExpression)(e))return!1;const i=Array.isArray(t)?t:t.split("."),a=[];let s;for(s=e;(0,r.isMemberExpression)(s);s=s.object)a.push(s.property);if(a.push(s),a.length<i.length)return!1;if(!n&&a.length>i.length)return!1;for(let o=0,l=a.length-1;o<i.length;o++,l--){const e=a[l];let t;if((0,r.isIdentifier)(e))t=e.name;else if((0,r.isStringLiteral)(e))t=e.value;else{if(!(0,r.isThisExpression)(e))return!1;t="this"}if(i[o]!==t)return!1}return!0};var r=n(9869)},9733:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},4229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(2051).default)("React.Component");t.default=r},7750:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!e)return;const s=r.NODE_FIELDS[e.type];if(!s)return;const o=s[t];i(e,t,n,o),a(e,t,n)},t.validateChild=a,t.validateField=i;var r=n(1678);function i(e,t,n,r){null!=r&&r.validate&&(r.optional&&null==n||r.validate(e,t,n))}function a(e,t,n){if(null==n)return;const i=r.NODE_PARENT_VALIDATIONS[n.type];i&&i(e,t,n)}},8487:function(e){"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}}]); \ No newline at end of file diff --git a/out/_next/static/chunks/d57d79ab.248ce0ac85183b44.js b/out/_next/static/chunks/d57d79ab.248ce0ac85183b44.js new file mode 100644 index 0000000000000000000000000000000000000000..cf7755a97eaf11e2b2636d4bae5010eaf122dc0e --- /dev/null +++ b/out/_next/static/chunks/d57d79ab.248ce0ac85183b44.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[797],{7191:function(t,e){function s(t,e){if(null==t)return{};var s,i,r={},a=Object.keys(t);for(i=0;i<a.length;i++)s=a[i],e.indexOf(s)>=0||(r[s]=t[s]);return r}Object.defineProperty(e,"__esModule",{value:!0});class i{constructor(t,e,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=s}}class r{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}}function a(t,e){const{line:s,column:r,index:a}=t;return new i(s,r+e,a+e)}var n="BABEL_PARSER_SYNTAX_ERROR",o="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";const h=(t,e=t.length-1)=>({get(){return t.reduce(((t,e)=>t[e]),this)},set(s){t.reduce(((t,i,r)=>r===e?t[i]=s:t[i]),this)}});var p={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:o},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:o}};const c={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"},l=({type:t,prefix:e})=>"UpdateExpression"===t?c.UpdateExpression[String(e)]:c[t];var u={AccessorIsGenerator:({kind:t})=>`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.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",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:({kind:t})=>`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:({exportName:t})=>`\`${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:({localName:t,exportName:e})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${t}' as '${e}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:t})=>`'${"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:({type:t})=>`Unsyntactic ${"BreakStatement"===t?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:t})=>`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:({maxArgumentCount:t})=>`\`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:({radix:t})=>`Expected number in radix ${t}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:t})=>`Escape sequence in keyword ${t}.`,InvalidIdentifier:({identifierName:t})=>`Invalid identifier ${t}.`,InvalidLhs:({ancestor:t})=>`Invalid left-hand side in ${l(t)}.`,InvalidLhsBinding:({ancestor:t})=>`Binding invalid left-hand side in ${l(t)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:t})=>`Unexpected character '${t}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:t})=>`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:({labelName:t})=>`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:({missingPlugin:t})=>`This experimental syntax requires enabling the parser plugin: ${t.map((t=>JSON.stringify(t))).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:t})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map((t=>JSON.stringify(t))).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:({key:t})=>`Duplicate key "${t}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:t})=>`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`,ModuleExportUndefined:({localName:t})=>`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:({identifierName:t})=>`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`,PrivateNameRedeclaration:({identifierName:t})=>`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:({keyword:t})=>`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:({reservedWord:t})=>`Unexpected reserved word '${t}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:t,unexpected:e})=>`Unexpected token${e?` '${e}'.`:""}${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:({target:t,onlyValidPropertyName:e})=>`The only valid meta property for ${t} is ${t}.${e}.`,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:({identifierName:t})=>`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."};const d=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var m={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:({token:t})=>`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:({type:t})=>`Hack-style pipe body cannot be an unparenthesized ${l({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.'};const f=["toMessage"],y=["message"];function x(t){let{toMessage:e}=t,r=s(t,f);return function t({loc:s,details:a}){return((t,e,s)=>Object.keys(s).map((t=>[t,s[t]])).filter((([,t])=>!!t)).map((([t,e])=>[t,"function"===typeof e?{value:e,enumerable:!1}:"string"===typeof e.reflect?Object.assign({},e,h(e.reflect.split("."))):e])).reduce(((t,[e,s])=>Object.defineProperty(t,e,Object.assign({configurable:!0},s))),Object.assign(new t,e)))(SyntaxError,Object.assign({},r,{loc:s}),{clone(e={}){const s=e.loc||{};return t({loc:new i("line"in s?s.line:this.loc.line,"column"in s?s.column:this.loc.column,"index"in s?s.index:this.loc.index),details:Object.assign({},this.details,e.details)})},details:{value:a,enumerable:!1},message:{get(){return`${e(this.details)} (${this.loc.line}:${this.loc.column})`},set(t){Object.defineProperty(this,"message",{value:t})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in a&&{reflect:"details.missingPlugin",enumerable:!0}})}}function P(t,e){if(Array.isArray(t))return e=>P(e,t[0]);const i={};for(const r of Object.keys(t)){const a=t[r],o="string"===typeof a?{message:()=>a}:"function"===typeof a?{message:a}:a,{message:h}=o,p=s(o,y),c="string"===typeof h?()=>h:h;i[r]=x(Object.assign({code:n,reasonCode:r,toMessage:c},e?{syntaxPlugin:e}:{},p))}return i}const g=Object.assign({},P(p),P(u),P({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:t})=>`Assigning to '${t}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:t})=>`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."}),P`pipelineOperator`(m)),{defineProperty:T}=Object,b=(t,e)=>T(t,e,{enumerable:!1,value:t[e]});function A(t){return t.loc.start&&b(t.loc.start,"index"),t.loc.end&&b(t.loc.end,"index"),t}class E{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}}const S={brace:new E("{"),j_oTag:new E("<tag"),j_cTag:new E("</tag"),j_expr:new E("<tag>...</tag>",!0)};S.template=new E("`",!0);const w=!0,C=!0,I=!0,N=!0,v=!0;class k{constructor(t,e={}){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=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=null!=e.binop?e.binop:null,this.updateContext=null}}const L=new Map;function M(t,e={}){e.keyword=t;const s=z(t,e);return L.set(t,s),s}function D(t,e){return z(t,{beforeExpr:w,binop:e})}let O=-1;const F=[],B=[],R=[],U=[],j=[],_=[];function z(t,e={}){var s,i,r,a;return++O,B.push(t),R.push(null!=(s=e.binop)?s:-1),U.push(null!=(i=e.beforeExpr)&&i),j.push(null!=(r=e.startsExpr)&&r),_.push(null!=(a=e.prefix)&&a),F.push(new k(t,e)),O}function H(t,e={}){var s,i,r,a;return++O,L.set(t,O),B.push(t),R.push(null!=(s=e.binop)?s:-1),U.push(null!=(i=e.beforeExpr)&&i),j.push(null!=(r=e.startsExpr)&&r),_.push(null!=(a=e.prefix)&&a),F.push(new k("name",e)),O}const V={bracketL:z("[",{beforeExpr:w,startsExpr:C}),bracketHashL:z("#[",{beforeExpr:w,startsExpr:C}),bracketBarL:z("[|",{beforeExpr:w,startsExpr:C}),bracketR:z("]"),bracketBarR:z("|]"),braceL:z("{",{beforeExpr:w,startsExpr:C}),braceBarL:z("{|",{beforeExpr:w,startsExpr:C}),braceHashL:z("#{",{beforeExpr:w,startsExpr:C}),braceR:z("}"),braceBarR:z("|}"),parenL:z("(",{beforeExpr:w,startsExpr:C}),parenR:z(")"),comma:z(",",{beforeExpr:w}),semi:z(";",{beforeExpr:w}),colon:z(":",{beforeExpr:w}),doubleColon:z("::",{beforeExpr:w}),dot:z("."),question:z("?",{beforeExpr:w}),questionDot:z("?."),arrow:z("=>",{beforeExpr:w}),template:z("template"),ellipsis:z("...",{beforeExpr:w}),backQuote:z("`",{startsExpr:C}),dollarBraceL:z("${",{beforeExpr:w,startsExpr:C}),templateTail:z("...`",{startsExpr:C}),templateNonTail:z("...${",{beforeExpr:w,startsExpr:C}),at:z("@"),hash:z("#",{startsExpr:C}),interpreterDirective:z("#!..."),eq:z("=",{beforeExpr:w,isAssign:N}),assign:z("_=",{beforeExpr:w,isAssign:N}),slashAssign:z("_=",{beforeExpr:w,isAssign:N}),xorAssign:z("_=",{beforeExpr:w,isAssign:N}),moduloAssign:z("_=",{beforeExpr:w,isAssign:N}),incDec:z("++/--",{prefix:v,postfix:!0,startsExpr:C}),bang:z("!",{beforeExpr:w,prefix:v,startsExpr:C}),tilde:z("~",{beforeExpr:w,prefix:v,startsExpr:C}),doubleCaret:z("^^",{startsExpr:C}),doubleAt:z("@@",{startsExpr:C}),pipeline:D("|>",0),nullishCoalescing:D("??",1),logicalOR:D("||",1),logicalAND:D("&&",2),bitwiseOR:D("|",3),bitwiseXOR:D("^",4),bitwiseAND:D("&",5),equality:D("==/!=/===/!==",6),lt:D("</>/<=/>=",7),gt:D("</>/<=/>=",7),relational:D("</>/<=/>=",7),bitShift:D("<</>>/>>>",8),bitShiftL:D("<</>>/>>>",8),bitShiftR:D("<</>>/>>>",8),plusMin:z("+/-",{beforeExpr:w,binop:9,prefix:v,startsExpr:C}),modulo:z("%",{binop:10,startsExpr:C}),star:z("*",{binop:10}),slash:D("/",10),exponent:z("**",{beforeExpr:w,binop:11,rightAssociative:!0}),_in:M("in",{beforeExpr:w,binop:7}),_instanceof:M("instanceof",{beforeExpr:w,binop:7}),_break:M("break"),_case:M("case",{beforeExpr:w}),_catch:M("catch"),_continue:M("continue"),_debugger:M("debugger"),_default:M("default",{beforeExpr:w}),_else:M("else",{beforeExpr:w}),_finally:M("finally"),_function:M("function",{startsExpr:C}),_if:M("if"),_return:M("return",{beforeExpr:w}),_switch:M("switch"),_throw:M("throw",{beforeExpr:w,prefix:v,startsExpr:C}),_try:M("try"),_var:M("var"),_const:M("const"),_with:M("with"),_new:M("new",{beforeExpr:w,startsExpr:C}),_this:M("this",{startsExpr:C}),_super:M("super",{startsExpr:C}),_class:M("class",{startsExpr:C}),_extends:M("extends",{beforeExpr:w}),_export:M("export"),_import:M("import",{startsExpr:C}),_null:M("null",{startsExpr:C}),_true:M("true",{startsExpr:C}),_false:M("false",{startsExpr:C}),_typeof:M("typeof",{beforeExpr:w,prefix:v,startsExpr:C}),_void:M("void",{beforeExpr:w,prefix:v,startsExpr:C}),_delete:M("delete",{beforeExpr:w,prefix:v,startsExpr:C}),_do:M("do",{isLoop:I,beforeExpr:w}),_for:M("for",{isLoop:I}),_while:M("while",{isLoop:I}),_as:H("as",{startsExpr:C}),_assert:H("assert",{startsExpr:C}),_async:H("async",{startsExpr:C}),_await:H("await",{startsExpr:C}),_from:H("from",{startsExpr:C}),_get:H("get",{startsExpr:C}),_let:H("let",{startsExpr:C}),_meta:H("meta",{startsExpr:C}),_of:H("of",{startsExpr:C}),_sent:H("sent",{startsExpr:C}),_set:H("set",{startsExpr:C}),_static:H("static",{startsExpr:C}),_using:H("using",{startsExpr:C}),_yield:H("yield",{startsExpr:C}),_asserts:H("asserts",{startsExpr:C}),_checks:H("checks",{startsExpr:C}),_exports:H("exports",{startsExpr:C}),_global:H("global",{startsExpr:C}),_implements:H("implements",{startsExpr:C}),_intrinsic:H("intrinsic",{startsExpr:C}),_infer:H("infer",{startsExpr:C}),_is:H("is",{startsExpr:C}),_mixins:H("mixins",{startsExpr:C}),_proto:H("proto",{startsExpr:C}),_require:H("require",{startsExpr:C}),_satisfies:H("satisfies",{startsExpr:C}),_keyof:H("keyof",{startsExpr:C}),_readonly:H("readonly",{startsExpr:C}),_unique:H("unique",{startsExpr:C}),_abstract:H("abstract",{startsExpr:C}),_declare:H("declare",{startsExpr:C}),_enum:H("enum",{startsExpr:C}),_module:H("module",{startsExpr:C}),_namespace:H("namespace",{startsExpr:C}),_interface:H("interface",{startsExpr:C}),_type:H("type",{startsExpr:C}),_opaque:H("opaque",{startsExpr:C}),name:z("name",{startsExpr:C}),string:z("string",{startsExpr:C}),num:z("num",{startsExpr:C}),bigint:z("bigint",{startsExpr:C}),decimal:z("decimal",{startsExpr:C}),regexp:z("regexp",{startsExpr:C}),privateName:z("#name",{startsExpr:C}),eof:z("eof"),jsxName:z("jsxName"),jsxText:z("jsxText",{beforeExpr:!0}),jsxTagStart:z("jsxTagStart",{startsExpr:!0}),jsxTagEnd:z("jsxTagEnd"),placeholder:z("%%",{startsExpr:!0})};function q(t){return t>=93&&t<=130}function $(t){return t>=58&&t<=130}function K(t){return t>=58&&t<=134}function W(t){return j[t]}function J(t){return t>=127&&t<=129}function X(t){return t>=58&&t<=92}function G(t){return B[t]}function Y(t){return R[t]}function Q(t){return t>=24&&t<=25}function Z(t){return F[t]}F[8].updateContext=t=>{t.pop()},F[5].updateContext=F[7].updateContext=F[23].updateContext=t=>{t.push(S.brace)},F[22].updateContext=t=>{t[t.length-1]===S.template?t.pop():t.push(S.template)},F[140].updateContext=t=>{t.push(S.j_expr,S.j_oTag)};let tt="\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\u0560-\u0588\u05d0-\u05ea\u05ef-\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\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\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\u09fc\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\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\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\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\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-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\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-\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-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\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-\uab69\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",et="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";const st=new RegExp("["+tt+"]"),it=new RegExp("["+tt+et+"]");tt=et=null;const rt=[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],at=[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 nt(t,e){let s=65536;for(let i=0,r=e.length;i<r;i+=2){if(s+=e[i],s>t)return!1;if(s+=e[i+1],s>=t)return!0}return!1}function ot(t){return t<65?36===t:t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&st.test(String.fromCharCode(t)):nt(t,rt)))}function ht(t){return t<48?36===t:t<58||!(t<65)&&(t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&it.test(String.fromCharCode(t)):nt(t,rt)||nt(t,at))))}const pt=["implements","interface","let","package","private","protected","public","static","yield"],ct=["eval","arguments"],lt=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"]),ut=new Set(pt),dt=new Set(ct);function mt(t,e){return e&&"await"===t||"enum"===t}function ft(t,e){return mt(t,e)||ut.has(t)}function yt(t){return dt.has(t)}function xt(t,e){return ft(t,e)||yt(t)}const Pt=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"]);const gt=64,Tt=128,bt=256,At=387,Et=128,St=1024,wt=2048,Ct=4096,It=8192,Nt=8201,vt=64;class kt{constructor(t){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=t}}class Lt{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(this.currentThisScopeFlags()>)>0}get inClassAndNotInNonArrowFunction(){const t=this.currentThisScopeFlags();return(t>)>0&&0===(2&t)}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&Tt)return!0;if(451&e)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new kt(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(130&t.flags||!this.parser.inModule&&1&t.flags)}declareName(t,e,s){let i=this.currentScope();if(8&e||16&e)this.checkRedeclarationInScope(i,t,e,s),16&e?i.functions.add(t):i.lexical.add(t),8&e&&this.maybeExportDefined(i,t);else if(4&e)for(let r=this.scopeStack.length-1;r>=0&&(i=this.scopeStack[r],this.checkRedeclarationInScope(i,t,e,s),i.var.add(t),this.maybeExportDefined(i,t),!(i.flags&At));--r);this.parser.inModule&&1&i.flags&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&1&t.flags&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,s,i){this.isRedeclaredInScope(t,e,s)&&this.parser.raise(g.VarRedeclaration,{at:i,identifierName:e})}isRedeclaredInScope(t,e,s){return!!(1&s)&&(8&s?t.lexical.has(e)||t.functions.has(e)||t.var.has(e):16&s?t.lexical.has(e)||!this.treatFunctionsAsVarInScope(t)&&t.var.has(e):t.lexical.has(e)&&!(8&t.flags&&t.lexical.values().next().value===e)||!this.treatFunctionsAsVarInScope(t)&&t.functions.has(e))}checkLocalExport(t){const{name:e}=t,s=this.scopeStack[0];s.lexical.has(e)||s.var.has(e)||s.functions.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(e&At)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){const{flags:e}=this.scopeStack[t];if(451&e&&!(4&e))return e}}}class Mt extends kt{constructor(...t){super(...t),this.declareFunctions=new Set}}class Dt extends Lt{createScope(t){return new Mt(t)}declareName(t,e,s){const i=this.currentScope();if(e&wt)return this.checkRedeclarationInScope(i,t,e,s),this.maybeExportDefined(i,t),void i.declareFunctions.add(t);super.declareName(t,e,s)}isRedeclaredInScope(t,e,s){return!!super.isRedeclaredInScope(t,e,s)||!!(s&wt)&&(!t.declareFunctions.has(e)&&(t.lexical.has(e)||t.functions.has(e)))}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}}function Ot(t,e){void 0===t.trailingComments?t.trailingComments=e:t.trailingComments.unshift(...e)}function Ft(t,e){void 0===t.innerComments?t.innerComments=e:t.innerComments.unshift(...e)}function Bt(t,e,s){let i=null,r=e.length;for(;null===i&&r>0;)i=e[--r];null===i||i.start>s.start?Ft(t,s.comments):Ot(i,s.comments)}const Rt=/\r\n?|[\n\u2028\u2029]/,Ut=new RegExp(Rt.source,"g");function jt(t){switch(t){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const _t=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,zt=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,Ht=new RegExp("(?=("+zt.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Vt(t){switch(t){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class qt{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[S.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:t,sourceType:e,startLine:s,startColumn:r}){this.strict=!1!==t&&(!0===t||"module"===e),this.curLine=s,this.lineStart=-r,this.startLoc=this.endLoc=new i(s,r,0)}curPosition(){return new i(this.curLine,this.pos-this.lineStart,this.pos)}clone(t){const e=new qt,s=Object.keys(this);for(let i=0,r=s.length;i<r;i++){const r=s[i];let a=this[r];!t&&Array.isArray(a)&&(a=a.slice()),e[r]=a}return e}}var $t=function(t){return t>=48&&t<=57};const Kt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Wt={bin:t=>48===t||49===t,oct:t=>t>=48&&t<=55,dec:t=>t>=48&&t<=57,hex:t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};function Jt(t,e,s,i,r,a){const n=s,o=i,h=r;let p="",c=null,l=s;const{length:u}=e;for(;;){if(s>=u){a.unterminated(n,o,h),p+=e.slice(l,s);break}const d=e.charCodeAt(s);if(Xt(t,d,e,s)){p+=e.slice(l,s);break}if(92===d){p+=e.slice(l,s);const n=Gt(e,s,i,r,"template"===t,a);null!==n.ch||c?p+=n.ch:c={pos:s,lineStart:i,curLine:r},({pos:s,lineStart:i,curLine:r}=n),l=s}else 8232===d||8233===d?(++r,i=++s):10===d||13===d?"template"===t?(p+=e.slice(l,s)+"\n",++s,13===d&&10===e.charCodeAt(s)&&++s,++r,l=i=s):a.unterminated(n,o,h):++s}return{pos:s,str:p,firstInvalidLoc:c,lineStart:i,curLine:r,containsInvalid:!!c}}function Xt(t,e,s,i){return"template"===t?96===e||36===e&&123===s.charCodeAt(i+1):e===("double"===t?34:39)}function Gt(t,e,s,i,r,a){const n=!r;e++;const o=t=>({pos:e,ch:t,lineStart:s,curLine:i}),h=t.charCodeAt(e++);switch(h){case 110:return o("\n");case 114:return o("\r");case 120:{let r;return({code:r,pos:e}=Yt(t,e,s,i,2,!1,n,a)),o(null===r?null:String.fromCharCode(r))}case 117:{let r;return({code:r,pos:e}=Zt(t,e,s,i,n,a)),o(null===r?null:String.fromCodePoint(r))}case 116:return o("\t");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:10===t.charCodeAt(e)&&++e;case 10:s=e,++i;case 8232:case 8233:return o("");case 56:case 57:if(r)return o(null);a.strictNumericEscape(e-1,s,i);default:if(h>=48&&h<=55){const n=e-1;let h=t.slice(n,e+2).match(/^[0-7]+/)[0],p=parseInt(h,8);p>255&&(h=h.slice(0,-1),p=parseInt(h,8)),e+=h.length-1;const c=t.charCodeAt(e);if("0"!==h||56===c||57===c){if(r)return o(null);a.strictNumericEscape(n,s,i)}return o(String.fromCharCode(p))}return o(String.fromCharCode(h))}}function Yt(t,e,s,i,r,a,n,o){const h=e;let p;return({n:p,pos:e}=Qt(t,e,s,i,16,r,a,!1,o,!n)),null===p&&(n?o.invalidEscapeSequence(h,s,i):e=h-1),{code:p,pos:e}}function Qt(t,e,s,i,r,a,n,o,h,p){const c=e,l=16===r?Kt.hex:Kt.decBinOct,u=16===r?Wt.hex:10===r?Wt.dec:8===r?Wt.oct:Wt.bin;let d=!1,m=0;for(let f=0,y=null==a?1/0:a;f<y;++f){const a=t.charCodeAt(e);let c;if(95!==a||"bail"===o){if(c=a>=97?a-97+10:a>=65?a-65+10:$t(a)?a-48:1/0,c>=r){if(c<=9&&p)return{n:null,pos:e};if(c<=9&&h.invalidDigit(e,s,i,r))c=0;else{if(!n)break;c=0,d=!0}}++e,m=m*r+c}else{const r=t.charCodeAt(e-1),a=t.charCodeAt(e+1);if(o){if(Number.isNaN(a)||!u(a)||l.has(r)||l.has(a)){if(p)return{n:null,pos:e};h.unexpectedNumericSeparator(e,s,i)}}else{if(p)return{n:null,pos:e};h.numericSeparatorInEscapeSequence(e,s,i)}++e}}return e===c||null!=a&&e-c!==a||d?{n:null,pos:e}:{n:m,pos:e}}function Zt(t,e,s,i,r,a){let n;if(123===t.charCodeAt(e)){if(++e,({code:n,pos:e}=Yt(t,e,s,i,t.indexOf("}",e)-e,!0,r,a)),++e,null!==n&&n>1114111){if(!r)return{code:null,pos:e};a.invalidCodePoint(e,s,i)}}else({code:n,pos:e}=Yt(t,e,s,i,4,!1,r,a));return{code:n,pos:e}}const te=["at"],ee=["at"];function se(t,e,s){return new i(s,t-e,t)}const ie=new Set([103,109,115,105,121,117,100,118]);class re{constructor(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new r(t.startLoc,t.endLoc)}}class ae{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class ne{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ae)}exit(){const t=this.stack.pop(),e=this.current();for(const[s,i]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(s)||e.undefinedPrivateNames.set(s,i):this.parser.raise(g.InvalidPrivateFieldResolution,{at:i,identifierName:s})}declarePrivateName(t,e,s){const{privateNames:i,loneAccessors:r,undefinedPrivateNames:a}=this.current();let n=i.has(t);if(3&e){const s=n&&r.get(t);if(s){const i=4&s,a=4&e;n=(3&s)===(3&e)||i!==a,n||r.delete(t)}else n||r.set(t,e)}n&&this.parser.raise(g.PrivateNameRedeclaration,{at:s,identifierName:t}),i.add(t),a.delete(t)}usePrivateName(t,e){let s;for(s of this.stack)if(s.privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.parser.raise(g.InvalidPrivateFieldResolution,{at:e,identifierName:t})}}class oe{constructor(t=0){this.type=void 0,this.type=t}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class he extends oe{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,{at:e}){const s=e.index;this.declarationErrors.set(s,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}}class pe{constructor(t){this.parser=void 0,this.stack=[new oe],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,{at:e}){const s={at:e.loc.start},{stack:i}=this;let r=i.length-1,a=i[r];for(;!a.isCertainlyParameterDeclaration();){if(!a.canBeArrowParameterDeclaration())return;a.recordDeclarationError(t,s),a=i[--r]}this.parser.raise(t,s)}recordArrowParameterBindingError(t,{at:e}){const{stack:s}=this,i=s[s.length-1],r={at:e.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(t,r);else{if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(t,r)}}recordAsyncArrowParametersError({at:t}){const{stack:e}=this;let s=e.length-1,i=e[s];for(;i.canBeArrowParameterDeclaration();)2===i.type&&i.recordDeclarationError(g.AwaitBindingIdentifier,{at:t}),i=e[--s]}validateAsPattern(){const{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors((([e,s])=>{this.parser.raise(e,{at:s});let i=t.length-2,r=t[i];for(;r.canBeArrowParameterDeclaration();)r.clearDeclarationError(s.index),r=t[--i]}))}}function ce(){return new oe}class le{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function ue(t,e){return(t?2:0)|(e?1:0)}class de{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class me{constructor(t,e,s){this.type="",this.start=e,this.end=0,this.loc=new r(s),null!=t&&t.options.ranges&&(this.range=[e,0]),null!=t&&t.filename&&(this.loc.filename=t.filename)}}const fe=me.prototype;function ye(t){const{type:e,start:s,end:i,loc:r,range:a,extra:n,name:o}=t,h=Object.create(fe);return h.type=e,h.start=s,h.end=i,h.loc=r,h.range=a,h.extra=n,h.name=o,"Placeholder"===e&&(h.expectedNode=t.expectedNode),h}function xe(t){const{type:e,start:s,end:i,loc:r,range:a,extra:n}=t;if("Placeholder"===e)return function(t){return ye(t)}(t);const o=Object.create(fe);return o.type=e,o.start=s,o.end=i,o.loc=r,o.range=a,void 0!==t.raw?o.raw=t.raw:o.extra=n,o.value=t.value,o}fe.__clone=function(){const t=new me(void 0,this.start,this.loc.start),e=Object.keys(this);for(let s=0,i=e.length;s<i;s++){const i=e[s];"leadingComments"!==i&&"trailingComments"!==i&&"innerComments"!==i&&(t[i]=this[i])}return t};const Pe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ge=P`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:({reservedType:t})=>`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:({memberName:t,enumName:e})=>`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${e}\`.`,EnumDuplicateMemberName:({memberName:t,enumName:e})=>`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${e}\`.`,EnumInconsistentMemberValues:({enumName:t})=>`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:t,enumName:e})=>`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:t})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:t,memberName:e,explicitType:s})=>`Enum \`${t}\` has type \`${s}\`, so the initializer of \`${e}\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:t,memberName:e})=>`Symbol enum members cannot be initialized. Use \`${e},\` in enum \`${t}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:t,memberName:e})=>`The enum member initializer for \`${e}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`,EnumInvalidMemberName:({enumName:t,memberName:e,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${e}\`, consider using \`${s}\`, in enum \`${t}\`.`,EnumNumberMemberNotInitialized:({enumName:t,memberName:e})=>`Number enum members need to be initialized, e.g. \`${e} = 1\` in enum \`${t}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:t})=>`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:({reservedType:t})=>`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 `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:t,suggestion:e})=>`\`declare export ${t}\` is not supported. Use \`${e}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Te(t){return"type"===t.importKind||"typeof"===t.importKind}const be={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};const Ae=/\*?\s*@((?:no)?flow)\b/;const Ee={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Se=P`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:t})=>`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:({unexpected:t,HTMLEntity:e})=>`Unexpected token \`${t}\`. Did you mean \`${e}\` 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 we(t){return!!t&&("JSXOpeningFragment"===t.type||"JSXClosingFragment"===t.type)}function Ce(t){if("JSXIdentifier"===t.type)return t.name;if("JSXNamespacedName"===t.type)return t.namespace.name+":"+t.name.name;if("JSXMemberExpression"===t.type)return Ce(t.object)+"."+Ce(t.property);throw new Error("Node had unexpected type: "+t.type)}class Ie extends kt{constructor(...t){super(...t),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class Ne extends Lt{constructor(...t){super(...t),this.importsStack=[]}createScope(t){return this.importsStack.push(new Set),new Ie(t)}enter(t){t==bt&&this.importsStack.push(new Set),super.enter(t)}exit(){const t=super.exit();return t==bt&&this.importsStack.pop(),t}hasImport(t,e){const s=this.importsStack.length;if(this.importsStack[s-1].has(t))return!0;if(!e&&s>1)for(let i=0;i<s-1;i++)if(this.importsStack[i].has(t))return!0;return!1}declareName(t,e,s){if(e&Ct)return this.hasImport(t,!0)&&this.parser.raise(g.VarRedeclaration,{at:s,identifierName:t}),void this.importsStack[this.importsStack.length-1].add(t);const i=this.currentScope();if(e&St)return this.maybeExportDefined(i,t),void i.exportOnlyBindings.add(t);super.declareName(t,e,s),2&e&&(1&e||(this.checkRedeclarationInScope(i,t,e,s),this.maybeExportDefined(i,t)),i.types.add(t)),256&e&&i.enums.add(t),512&e&&i.constEnums.add(t),e&Et&&i.classes.add(t)}isRedeclaredInScope(t,e,s){if(t.enums.has(e)){if(256&s){return!!(512&s)!==t.constEnums.has(e)}return!0}return s&Et&&t.classes.has(e)?!!t.lexical.has(e)&&!!(1&s):!!(2&s&&t.types.has(e))||super.isRedeclaredInScope(t,e,s)}checkLocalExport(t){const{name:e}=t;if(this.hasImport(e))return;for(let s=this.scopeStack.length-1;s>=0;s--){const t=this.scopeStack[s];if(t.types.has(e)||t.exportOnlyBindings.has(e))return}super.checkLocalExport(t)}}const ve=t=>"ParenthesizedExpression"===t.type?ve(t.expression):t;function ke(t){if(!t)throw new Error("Assert fail")}const Le=P`typescript`({AbstractMethodHasImplementation:({methodName:t})=>`Method '${t}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:t})=>`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:({kind:t})=>`'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:({modifier:t})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:t})=>`Duplicate modifier: '${t}'.`,EmptyHeritageClauseType:({token:t})=>`'${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:({modifiers:t})=>`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:t})=>`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:({modifier:t})=>`'${t}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:t})=>`'${t}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:t})=>`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:t})=>`'${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:({modifier:t})=>`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 `<T,>() => ...`.",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:({typeParameterName:t})=>`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:({type:t})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`});function Me(t){return"private"===t||"public"===t||"protected"===t}function De(t){return"in"===t||"out"===t}function Oe(t){if("MemberExpression"!==t.type)return!1;const{computed:e,property:s}=t;return(!e||"StringLiteral"===s.type||!("TemplateLiteral"!==s.type||s.expressions.length>0))&&Re(t.object)}function Fe(t,e){var s;const{type:i}=t;if(null!=(s=t.extra)&&s.parenthesized)return!1;if(e){if("Literal"===i){const{value:e}=t;if("string"===typeof e||"boolean"===typeof e)return!0}}else if("StringLiteral"===i||"BooleanLiteral"===i)return!0;return!(!Be(t,e)&&!function(t,e){if("UnaryExpression"===t.type){const{operator:s,argument:i}=t;if("-"===s&&Be(i,e))return!0}return!1}(t,e))||("TemplateLiteral"===i&&0===t.expressions.length||!!Oe(t))}function Be(t,e){return e?"Literal"===t.type&&("number"===typeof t.value||"bigint"in t):"NumericLiteral"===t.type||"BigIntLiteral"===t.type}function Re(t){return"Identifier"===t.type||"MemberExpression"===t.type&&!t.computed&&Re(t.object)}const Ue=P`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function je(t,e){const[s,i]="string"===typeof e?[e,{}]:e,r=Object.keys(i),a=0===r.length;return t.some((t=>{if("string"===typeof t)return a&&t===s;{const[e,a]=t;if(e!==s)return!1;for(const t of r)if(a[t]!==i[t])return!1;return!0}}))}function _e(t,e,s){const i=t.find((t=>Array.isArray(t)?t[0]===e:t===e));return i&&Array.isArray(i)&&i.length>1?i[1][s]:null}const ze=["minimal","fsharp","hack","smart"],He=["^^","@@","^","%","#"],Ve=["hash","bar"];const qe={estree:t=>class extends t{parse(){const t=A(super.parse());return this.options.tokens&&(t.tokens=t.tokens.map(A)),t}parseRegExpLiteral({pattern:t,flags:e}){let s=null;try{s=new RegExp(t,e)}catch(r){}const i=this.estreeParseLiteral(s);return i.regex={pattern:t,flags:e},i}parseBigIntLiteral(t){let e;try{e=BigInt(t)}catch(i){e=null}const s=this.estreeParseLiteral(e);return s.bigint=String(s.value||t),s}parseDecimalLiteral(t){const e=this.estreeParseLiteral(null);return e.decimal=String(e.value||t),e}estreeParseLiteral(t){return this.parseLiteral(t,"Literal")}parseStringLiteral(t){return this.estreeParseLiteral(t)}parseNumericLiteral(t){return this.estreeParseLiteral(t)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(t){return this.estreeParseLiteral(t)}directiveToStmt(t){const e=t.value;delete t.value,e.type="Literal",e.raw=e.extra.raw,e.value=e.extra.expressionValue;const s=t;return s.type="ExpressionStatement",s.expression=e,s.directive=e.extra.rawValue,delete e.extra,s}initFunction(t,e){super.initFunction(t,e),t.expression=!1}checkDeclaration(t){null!=t&&this.isObjectProperty(t)?this.checkDeclaration(t.value):super.checkDeclaration(t)}getObjectOrClassMethodParams(t){return t.value.params}isValidDirective(t){var e;return"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"===typeof t.expression.value&&!(null!=(e=t.expression.extra)&&e.parenthesized)}parseBlockBody(t,e,s,i,r){super.parseBlockBody(t,e,s,i,r);const a=t.directives.map((t=>this.directiveToStmt(t)));t.body=a.concat(t.body),delete t.directives}pushClassMethod(t,e,s,i,r,a){this.parseMethod(e,s,i,r,a,"ClassMethod",!0),e.typeParameters&&(e.value.typeParameters=e.typeParameters,delete e.typeParameters),t.body.push(e)}parsePrivateName(){const t=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(t):t}convertPrivateNameToPrivateIdentifier(t){const e=super.getPrivateNameSV(t);return delete t.id,t.name=e,t.type="PrivateIdentifier",t}isPrivateName(t){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===t.type:super.isPrivateName(t)}getPrivateNameSV(t){return this.getPluginOption("estree","classFeatures")?t.name:super.getPrivateNameSV(t)}parseLiteral(t,e){const s=super.parseLiteral(t,e);return s.raw=s.extra.raw,delete s.extra,s}parseFunctionBody(t,e,s=!1){super.parseFunctionBody(t,e,s),t.expression="BlockStatement"!==t.body.type}parseMethod(t,e,s,i,r,a,n=!1){let o=this.startNode();return o.kind=t.kind,o=super.parseMethod(o,e,s,i,r,a,n),o.type="FunctionExpression",delete o.kind,t.value=o,"ClassPrivateMethod"===a&&(t.computed=!1),this.finishNode(t,"MethodDefinition")}parseClassProperty(...t){const e=super.parseClassProperty(...t);return this.getPluginOption("estree","classFeatures")?(e.type="PropertyDefinition",e):e}parseClassPrivateProperty(...t){const e=super.parseClassPrivateProperty(...t);return this.getPluginOption("estree","classFeatures")?(e.type="PropertyDefinition",e.computed=!1,e):e}parseObjectMethod(t,e,s,i,r){const a=super.parseObjectMethod(t,e,s,i,r);return a&&(a.type="Property","method"===a.kind&&(a.kind="init"),a.shorthand=!1),a}parseObjectProperty(t,e,s,i){const r=super.parseObjectProperty(t,e,s,i);return r&&(r.kind="init",r.type="Property"),r}isValidLVal(t,e,s){return"Property"===t?"value":super.isValidLVal(t,e,s)}isAssignable(t,e){return null!=t&&this.isObjectProperty(t)?this.isAssignable(t.value,e):super.isAssignable(t,e)}toAssignable(t,e=!1){if(null!=t&&this.isObjectProperty(t)){const{key:s,value:i}=t;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(i,e)}else super.toAssignable(t,e)}toAssignableObjectExpressionProp(t,e,s){"get"===t.kind||"set"===t.kind?this.raise(g.PatternHasAccessor,{at:t.key}):t.method?this.raise(g.PatternHasMethod,{at:t.key}):super.toAssignableObjectExpressionProp(t,e,s)}finishCallExpression(t,e){const s=super.finishCallExpression(t,e);if("Import"===s.callee.type){var i;if(s.type="ImportExpression",s.source=s.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))s.attributes=null!=(i=s.arguments[1])?i:null;delete s.arguments,delete s.callee}return s}toReferencedArguments(t){"ImportExpression"!==t.type&&super.toReferencedArguments(t)}parseExport(t,e){const s=this.state.lastTokStartLoc,i=super.parseExport(t,e);switch(i.type){case"ExportAllDeclaration":i.exported=null;break;case"ExportNamedDeclaration":1===i.specifiers.length&&"ExportNamespaceSpecifier"===i.specifiers[0].type&&(i.type="ExportAllDeclaration",i.exported=i.specifiers[0].exported,delete i.specifiers);case"ExportDefaultDeclaration":{var r;const{declaration:t}=i;"ClassDeclaration"===(null==t?void 0:t.type)&&(null==(r=t.decorators)?void 0:r.length)>0&&t.start===i.start&&this.resetStartLocation(i,s)}}return i}parseSubscript(t,e,s,i){const r=super.parseSubscript(t,e,s,i);if(i.optionalChainMember){if("OptionalMemberExpression"!==r.type&&"OptionalCallExpression"!==r.type||(r.type=r.type.substring(8)),i.stop){const t=this.startNodeAtNode(r);return t.expression=r,this.finishNode(t,"ChainExpression")}}else"MemberExpression"!==r.type&&"CallExpression"!==r.type||(r.optional=!1);return r}hasPropertyAsPrivateName(t){return"ChainExpression"===t.type&&(t=t.expression),super.hasPropertyAsPrivateName(t)}isObjectProperty(t){return"Property"===t.type&&"init"===t.kind&&!t.method}isObjectMethod(t){return t.method||"get"===t.kind||"set"===t.kind}finishNodeAt(t,e,s){return A(super.finishNodeAt(t,e,s))}resetStartLocation(t,e){super.resetStartLocation(t,e),A(t)}resetEndLocation(t,e=this.state.lastTokEndLoc){super.resetEndLocation(t,e),A(t)}},jsx:t=>class extends t{jsxReadToken(){let t="",e=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Se.UnterminatedJsxContent,{at:this.state.startLoc});const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:return this.state.pos===this.state.start?void(60===s&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(s)):(t+=this.input.slice(e,this.state.pos),void this.finishToken(139,t));case 38:t+=this.input.slice(e,this.state.pos),t+=this.jsxReadEntity(),e=this.state.pos;break;default:jt(s)?(t+=this.input.slice(e,this.state.pos),t+=this.jsxReadNewLine(!0),e=this.state.pos):++this.state.pos}}}jsxReadNewLine(t){const e=this.input.charCodeAt(this.state.pos);let s;return++this.state.pos,13===e&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,s=t?"\n":"\r\n"):s=String.fromCharCode(e),++this.state.curLine,this.state.lineStart=this.state.pos,s}jsxReadString(t){let e="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(g.UnterminatedString,{at:this.state.startLoc});const i=this.input.charCodeAt(this.state.pos);if(i===t)break;38===i?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos):jt(i)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}e+=this.input.slice(s,this.state.pos++),this.finishToken(131,e)}jsxReadEntity(){const t=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let t=10;120===this.codePointAtPos(this.state.pos)&&(t=16,++this.state.pos);const e=this.readInt(t,void 0,!1,"bail");if(null!==e&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(e)}else{let e=0,s=!1;for(;e++<10&&this.state.pos<this.length&&!(s=59==this.codePointAtPos(this.state.pos));)++this.state.pos;if(s){const e=this.input.slice(t,this.state.pos),s=Ee[e];if(++this.state.pos,s)return s}}return this.state.pos=t,"&"}jsxReadWord(){let t;const e=this.state.pos;do{t=this.input.charCodeAt(++this.state.pos)}while(ht(t)||45===t);this.finishToken(138,this.input.slice(e,this.state.pos))}jsxParseIdentifier(){const t=this.startNode();return this.match(138)?t.name=this.state.value:X(this.state.type)?t.name=G(this.state.type):this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}jsxParseNamespacedName(){const t=this.state.startLoc,e=this.jsxParseIdentifier();if(!this.eat(14))return e;const s=this.startNodeAt(t);return s.namespace=e,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){const t=this.state.startLoc;let e=this.jsxParseNamespacedName();if("JSXNamespacedName"===e.type)return e;for(;this.eat(16);){const s=this.startNodeAt(t);s.object=e,s.property=this.jsxParseIdentifier(),e=this.finishNode(s,"JSXMemberExpression")}return e}jsxParseAttributeValue(){let t;switch(this.state.type){case 5:return t=this.startNode(),this.setContext(S.brace),this.next(),t=this.jsxParseExpressionContainer(t,S.j_oTag),"JSXEmptyExpression"===t.expression.type&&this.raise(Se.AttributeIsEmpty,{at:t}),t;case 140:case 131:return this.parseExprAtom();default:throw this.raise(Se.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){const t=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(t,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(t){return this.next(),t.expression=this.parseExpression(),this.setContext(S.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadChild")}jsxParseExpressionContainer(t,e){if(this.match(8))t.expression=this.jsxParseEmptyExpression();else{const e=this.parseExpression();t.expression=e}return this.setContext(e),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXExpressionContainer")}jsxParseAttribute(){const t=this.startNode();return this.match(5)?(this.setContext(S.brace),this.next(),this.expect(21),t.argument=this.parseMaybeAssignAllowIn(),this.setContext(S.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadAttribute")):(t.name=this.jsxParseNamespacedName(),t.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(t,"JSXAttribute"))}jsxParseOpeningElementAt(t){const e=this.startNodeAt(t);return this.eat(141)?this.finishNode(e,"JSXOpeningFragment"):(e.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(e))}jsxParseOpeningElementAfterName(t){const e=[];for(;!this.match(56)&&!this.match(141);)e.push(this.jsxParseAttribute());return t.attributes=e,t.selfClosing=this.eat(56),this.expect(141),this.finishNode(t,"JSXOpeningElement")}jsxParseClosingElementAt(t){const e=this.startNodeAt(t);return this.eat(141)?this.finishNode(e,"JSXClosingFragment"):(e.name=this.jsxParseElementName(),this.expect(141),this.finishNode(e,"JSXClosingElement"))}jsxParseElementAt(t){const e=this.startNodeAt(t),s=[],i=this.jsxParseOpeningElementAt(t);let r=null;if(!i.selfClosing){t:for(;;)switch(this.state.type){case 140:if(t=this.state.startLoc,this.next(),this.eat(56)){r=this.jsxParseClosingElementAt(t);break t}s.push(this.jsxParseElementAt(t));break;case 139:s.push(this.parseExprAtom());break;case 5:{const t=this.startNode();this.setContext(S.brace),this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(t)):s.push(this.jsxParseExpressionContainer(t,S.j_expr));break}default:this.unexpected()}we(i)&&!we(r)&&null!==r?this.raise(Se.MissingClosingTagFragment,{at:r}):!we(i)&&we(r)?this.raise(Se.MissingClosingTagElement,{at:r,openingTagName:Ce(i.name)}):we(i)||we(r)||Ce(r.name)!==Ce(i.name)&&this.raise(Se.MissingClosingTagElement,{at:r,openingTagName:Ce(i.name)})}if(we(i)?(e.openingFragment=i,e.closingFragment=r):(e.openingElement=i,e.closingElement=r),e.children=s,this.match(47))throw this.raise(Se.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return we(i)?this.finishNode(e,"JSXFragment"):this.finishNode(e,"JSXElement")}jsxParseElement(){const t=this.state.startLoc;return this.next(),this.jsxParseElementAt(t)}setContext(t){const{context:e}=this.state;e[e.length-1]=t}parseExprAtom(t){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(t)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(t){const e=this.curContext();if(e!==S.j_expr){if(e===S.j_oTag||e===S.j_cTag){if(ot(t))return void this.jsxReadWord();if(62===t)return++this.state.pos,void this.finishToken(141);if((34===t||39===t)&&e===S.j_oTag)return void this.jsxReadString(t)}if(60===t&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(140);super.getTokenFromCode(t)}else this.jsxReadToken()}updateContext(t){const{context:e,type:s}=this.state;if(56===s&&140===t)e.splice(-2,2,S.j_cTag),this.state.canStartJSXElement=!1;else if(140===s)e.push(S.j_oTag);else if(141===s){const s=e[e.length-1];s===S.j_oTag&&56===t||s===S.j_cTag?(e.pop(),this.state.canStartJSXElement=e[e.length-1]===S.j_expr):(this.setContext(S.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=U[s]}},flow:t=>class extends t{constructor(...t){super(...t),this.flowPragma=void 0}getScopeHandler(){return Dt}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(t,e){131!==t&&13!==t&&28!==t&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(t,e)}addComment(t){if(void 0===this.flowPragma){const e=Ae.exec(t.value);if(e)if("flow"===e[1])this.flowPragma="flow";else{if("noflow"!==e[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}else;}super.addComment(t)}flowParseTypeInitialiser(t){const e=this.state.inType;this.state.inType=!0,this.expect(t||14);const s=this.flowParseType();return this.state.inType=e,s}flowParsePredicate(){const t=this.startNode(),e=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>e.index+1&&this.raise(ge.UnexpectedSpaceBetweenModuloChecks,{at:e}),this.eat(10)?(t.value=super.parseExpression(),this.expect(11),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const t=this.state.inType;this.state.inType=!0,this.expect(14);let e=null,s=null;return this.match(54)?(this.state.inType=t,s=this.flowParsePredicate()):(e=this.flowParseType(),this.state.inType=t,this.match(54)&&(s=this.flowParsePredicate())),[e,s]}flowParseDeclareClass(t){return this.next(),this.flowParseInterfaceish(t,!0),this.finishNode(t,"DeclareClass")}flowParseDeclareFunction(t){this.next();const e=t.id=this.parseIdentifier(),s=this.startNode(),i=this.startNode();this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(10);const r=this.flowParseFunctionTypeParams();return s.params=r.params,s.rest=r.rest,s.this=r._this,this.expect(11),[s.returnType,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),i.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),e.typeAnnotation=this.finishNode(i,"TypeAnnotation"),this.resetEndLocation(e),this.semicolon(),this.scope.declareName(t.id.name,2048,t.id.loc.start),this.finishNode(t,"DeclareFunction")}flowParseDeclare(t,e){return this.match(80)?this.flowParseDeclareClass(t):this.match(68)?this.flowParseDeclareFunction(t):this.match(74)?this.flowParseDeclareVariable(t):this.eatContextual(125)?this.match(16)?this.flowParseDeclareModuleExports(t):(e&&this.raise(ge.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(t)):this.isContextual(128)?this.flowParseDeclareTypeAlias(t):this.isContextual(129)?this.flowParseDeclareOpaqueType(t):this.isContextual(127)?this.flowParseDeclareInterface(t):this.match(82)?this.flowParseDeclareExportDeclaration(t,e):void this.unexpected()}flowParseDeclareVariable(t){return this.next(),t.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(t.id.name,5,t.id.loc.start),this.semicolon(),this.finishNode(t,"DeclareVariable")}flowParseDeclareModule(t){this.scope.enter(0),this.match(131)?t.id=super.parseExprAtom():t.id=this.parseIdentifier();const e=t.body=this.startNode(),s=e.body=[];for(this.expect(5);!this.match(8);){let t=this.startNode();this.match(83)?(this.next(),this.isContextual(128)||this.match(87)||this.raise(ge.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(t)):(this.expectContextual(123,ge.UnsupportedStatementInDeclareModule),t=this.flowParseDeclare(t,!0)),s.push(t)}this.scope.exit(),this.expect(8),this.finishNode(e,"BlockStatement");let i=null,r=!1;return s.forEach((t=>{!function(t){return"DeclareExportAllDeclaration"===t.type||"DeclareExportDeclaration"===t.type&&(!t.declaration||"TypeAlias"!==t.declaration.type&&"InterfaceDeclaration"!==t.declaration.type)}(t)?"DeclareModuleExports"===t.type&&(r&&this.raise(ge.DuplicateDeclareModuleExports,{at:t}),"ES"===i&&this.raise(ge.AmbiguousDeclareModuleKind,{at:t}),i="CommonJS",r=!0):("CommonJS"===i&&this.raise(ge.AmbiguousDeclareModuleKind,{at:t}),i="ES")})),t.kind=i||"CommonJS",this.finishNode(t,"DeclareModule")}flowParseDeclareExportDeclaration(t,e){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?t.declaration=this.flowParseDeclare(this.startNode()):(t.declaration=this.flowParseType(),this.semicolon()),t.default=!0,this.finishNode(t,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!e){const t=this.state.value;throw this.raise(ge.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:t,suggestion:be[t]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)?(t.declaration=this.flowParseDeclare(this.startNode()),t.default=!1,this.finishNode(t,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)?("ExportNamedDeclaration"===(t=this.parseExport(t,null)).type&&(t.type="ExportDeclaration",t.default=!1,delete t.exportKind),t.type="Declare"+t.type,t):void this.unexpected()}flowParseDeclareModuleExports(t){return this.next(),this.expectContextual(109),t.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(t,"DeclareModuleExports")}flowParseDeclareTypeAlias(t){this.next();const e=this.flowParseTypeAlias(t);return e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(t){this.next();const e=this.flowParseOpaqueType(t,!0);return e.type="DeclareOpaqueType",e}flowParseDeclareInterface(t){return this.next(),this.flowParseInterfaceish(t,!1),this.finishNode(t,"DeclareInterface")}flowParseInterfaceish(t,e){if(t.id=this.flowParseRestrictedIdentifier(!e,!0),this.scope.declareName(t.id.name,e?17:Nt,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.extends=[],this.eat(81))do{t.extends.push(this.flowParseInterfaceExtends())}while(!e&&this.eat(12));if(e){if(t.implements=[],t.mixins=[],this.eatContextual(115))do{t.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(111))do{t.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}t.body=this.flowParseObjectType({allowStatic:e,allowExact:!1,allowSpread:!1,allowProto:e,allowInexact:!1})}flowParseInterfaceExtends(){const t=this.startNode();return t.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,this.finishNode(t,"InterfaceExtends")}flowParseInterface(t){return this.flowParseInterfaceish(t,!1),this.finishNode(t,"InterfaceDeclaration")}checkNotUnderscore(t){"_"===t&&this.raise(ge.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(t,e,s){Pe.has(t)&&this.raise(s?ge.AssignReservedType:ge.UnexpectedReservedType,{at:e,reservedType:t})}flowParseRestrictedIdentifier(t,e){return this.checkReservedType(this.state.value,this.state.startLoc,e),this.parseIdentifier(t)}flowParseTypeAlias(t){return t.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(t.id.name,Nt,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(t,"TypeAlias")}flowParseOpaqueType(t,e){return this.expectContextual(128),t.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(t.id.name,Nt,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.supertype=null,this.match(14)&&(t.supertype=this.flowParseTypeInitialiser(14)),t.impltype=null,e||(t.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(t,"OpaqueType")}flowParseTypeParameter(t=!1){const e=this.state.startLoc,s=this.startNode(),i=this.flowParseVariance(),r=this.flowParseTypeAnnotatableIdentifier();return s.name=r.name,s.variance=i,s.bound=r.typeAnnotation,this.match(29)?(this.eat(29),s.default=this.flowParseType()):t&&this.raise(ge.MissingTypeParamDefault,{at:e}),this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const t=this.state.inType,e=this.startNode();e.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let s=!1;do{const t=this.flowParseTypeParameter(s);e.params.push(t),t.default&&(s=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const t=this.startNode(),e=this.state.inType;t.params=[],this.state.inType=!0,this.expect(47);const s=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)t.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=s,this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const t=this.startNode(),e=this.state.inType;for(t.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)t.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterInstantiation")}flowParseInterfaceType(){const t=this.startNode();if(this.expectContextual(127),t.extends=[],this.eat(81))do{t.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return t.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(t,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(t,e,s){return t.static=e,14===this.lookahead().type?(t.id=this.flowParseObjectPropertyKey(),t.key=this.flowParseTypeInitialiser()):(t.id=null,t.key=this.flowParseType()),this.expect(3),t.value=this.flowParseTypeInitialiser(),t.variance=s,this.finishNode(t,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(t,e){return t.static=e,t.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(t.method=!0,t.optional=!1,t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.loc.start))):(t.method=!1,this.eat(17)&&(t.optional=!0),t.value=this.flowParseTypeInitialiser()),this.finishNode(t,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(t){for(t.params=[],t.rest=null,t.typeParameters=null,t.this=null,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(t.this=this.flowParseFunctionTypeParam(!0),t.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),t.returnType=this.flowParseTypeInitialiser(),this.finishNode(t,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(t,e){const s=this.startNode();return t.static=e,t.value=this.flowParseObjectTypeMethodish(s),this.finishNode(t,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:t,allowExact:e,allowSpread:s,allowProto:i,allowInexact:r}){const a=this.state.inType;this.state.inType=!0;const n=this.startNode();let o,h;n.callProperties=[],n.properties=[],n.indexers=[],n.internalSlots=[];let p=!1;for(e&&this.match(6)?(this.expect(6),o=9,h=!0):(this.expect(5),o=8,h=!1),n.exact=h;!this.match(o);){let e=!1,a=null,o=null;const c=this.startNode();if(i&&this.isContextual(116)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),a=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),e=!0)}const l=this.flowParseVariance();if(this.eat(0))null!=a&&this.unexpected(a),this.eat(0)?(l&&this.unexpected(l.loc.start),n.internalSlots.push(this.flowParseObjectTypeInternalSlot(c,e))):n.indexers.push(this.flowParseObjectTypeIndexer(c,e,l));else if(this.match(10)||this.match(47))null!=a&&this.unexpected(a),l&&this.unexpected(l.loc.start),n.callProperties.push(this.flowParseObjectTypeCallProperty(c,e));else{let t="init";if(this.isContextual(98)||this.isContextual(103)){K(this.lookahead().type)&&(t=this.state.value,this.next())}const i=this.flowParseObjectTypeProperty(c,e,a,l,t,s,null!=r?r:!h);null===i?(p=!0,o=this.state.lastTokStartLoc):n.properties.push(i)}this.flowObjectTypeSemicolon(),!o||this.match(8)||this.match(9)||this.raise(ge.UnexpectedExplicitInexactInObject,{at:o})}this.expect(o),s&&(n.inexact=p);const c=this.finishNode(n,"ObjectTypeAnnotation");return this.state.inType=a,c}flowParseObjectTypeProperty(t,e,s,i,r,a,n){if(this.eat(21)){return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(a?n||this.raise(ge.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(ge.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),i&&this.raise(ge.InexactVariance,{at:i}),null):(a||this.raise(ge.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=s&&this.unexpected(s),i&&this.raise(ge.SpreadVariance,{at:i}),t.argument=this.flowParseType(),this.finishNode(t,"ObjectTypeSpreadProperty"))}{t.key=this.flowParseObjectPropertyKey(),t.static=e,t.proto=null!=s,t.kind=r;let n=!1;return this.match(47)||this.match(10)?(t.method=!0,null!=s&&this.unexpected(s),i&&this.unexpected(i.loc.start),t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.loc.start)),"get"!==r&&"set"!==r||this.flowCheckGetterSetterParams(t),!a&&"constructor"===t.key.name&&t.value.this&&this.raise(ge.ThisParamBannedInConstructor,{at:t.value.this})):("init"!==r&&this.unexpected(),t.method=!1,this.eat(17)&&(n=!0),t.value=this.flowParseTypeInitialiser(),t.variance=i),t.optional=n,this.finishNode(t,"ObjectTypeProperty")}}flowCheckGetterSetterParams(t){const e="get"===t.kind?0:1,s=t.value.params.length+(t.value.rest?1:0);t.value.this&&this.raise("get"===t.kind?ge.GetterMayNotHaveThisParam:ge.SetterMayNotHaveThisParam,{at:t.value.this}),s!==e&&this.raise("get"===t.kind?g.BadGetterArity:g.BadSetterArity,{at:t}),"set"===t.kind&&t.value.rest&&this.raise(g.BadSetterRestParameter,{at:t})}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(t,e){null!=t||(t=this.state.startLoc);let s=e||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const e=this.startNodeAt(t);e.qualification=s,e.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(e,"QualifiedTypeIdentifier")}return s}flowParseGenericType(t,e){const s=this.startNodeAt(t);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(t,e),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")}flowParseTypeofType(){const t=this.startNode();return this.expect(87),t.argument=this.flowParsePrimaryType(),this.finishNode(t,"TypeofTypeAnnotation")}flowParseTupleType(){const t=this.startNode();for(t.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(t.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(t,"TupleTypeAnnotation")}flowParseFunctionTypeParam(t){let e=null,s=!1,i=null;const r=this.startNode(),a=this.lookahead(),n=78===this.state.type;return 14===a.type||17===a.type?(n&&!t&&this.raise(ge.ThisParamMustBeFirst,{at:r}),e=this.parseIdentifier(n),this.eat(17)&&(s=!0,n&&this.raise(ge.ThisParamMayNotBeOptional,{at:r})),i=this.flowParseTypeInitialiser()):i=this.flowParseType(),r.name=e,r.optional=s,r.typeAnnotation=i,this.finishNode(r,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(t){const e=this.startNodeAt(t.loc.start);return e.name=null,e.optional=!1,e.typeAnnotation=t,this.finishNode(e,"FunctionTypeParam")}flowParseFunctionTypeParams(t=[]){let e=null,s=null;for(this.match(78)&&(s=this.flowParseFunctionTypeParam(!0),s.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e=this.flowParseFunctionTypeParam(!1)),{params:t,rest:e,_this:s}}flowIdentToTypeAnnotation(t,e,s){switch(s.name){case"any":return this.finishNode(e,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(e,"BooleanTypeAnnotation");case"mixed":return this.finishNode(e,"MixedTypeAnnotation");case"empty":return this.finishNode(e,"EmptyTypeAnnotation");case"number":return this.finishNode(e,"NumberTypeAnnotation");case"string":return this.finishNode(e,"StringTypeAnnotation");case"symbol":return this.finishNode(e,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(t,s)}}flowParsePrimaryType(){const t=this.state.startLoc,e=this.startNode();let s,i,r=!1;const a=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,i=this.flowParseTupleType(),this.state.noAnonFunctionType=a,i;case 47:return e.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),e.params=s.params,e.rest=s.rest,e.this=s._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),this.finishNode(e,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(q(this.state.type)||this.match(78)){const t=this.lookahead().type;r=17!==t&&14!==t}else r=!0;if(r){if(this.state.noAnonFunctionType=!1,i=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),i;this.eat(12)}return s=i?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):this.flowParseFunctionTypeParams(),e.params=s.params,e.rest=s.rest,e.this=s._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return e.value=this.match(85),this.next(),this.finishNode(e,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",e);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",e);throw this.raise(ge.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(e,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(e,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(e,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(e,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(X(this.state.type)){const t=G(this.state.type);return this.next(),super.createIdentifier(e,t)}if(q(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(t,e,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const t=this.state.startLoc;let e=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const i=this.startNodeAt(t),r=this.eat(18);s=s||r,this.expect(0),!r&&this.match(3)?(i.elementType=e,this.next(),e=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=e,i.indexType=this.flowParseType(),this.expect(3),s?(i.optional=r,e=this.finishNode(i,"OptionalIndexedAccessType")):e=this.finishNode(i,"IndexedAccessType"))}return e}flowParsePrefixType(){const t=this.startNode();return this.eat(17)?(t.typeAnnotation=this.flowParsePrefixType(),this.finishNode(t,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const t=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const e=this.startNodeAt(t.loc.start);return e.params=[this.reinterpretTypeAsFunctionTypeParam(t)],e.rest=null,e.this=null,e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,"FunctionTypeAnnotation")}return t}flowParseIntersectionType(){const t=this.startNode();this.eat(45);const e=this.flowParseAnonFunctionWithoutParens();for(t.types=[e];this.eat(45);)t.types.push(this.flowParseAnonFunctionWithoutParens());return 1===t.types.length?e:this.finishNode(t,"IntersectionTypeAnnotation")}flowParseUnionType(){const t=this.startNode();this.eat(43);const e=this.flowParseIntersectionType();for(t.types=[e];this.eat(43);)t.types.push(this.flowParseIntersectionType());return 1===t.types.length?e:this.finishNode(t,"UnionTypeAnnotation")}flowParseType(){const t=this.state.inType;this.state.inType=!0;const e=this.flowParseUnionType();return this.state.inType=t,e}flowParseTypeOrImplicitInstantiation(){if(130===this.state.type&&"_"===this.state.value){const t=this.state.startLoc,e=this.parseIdentifier();return this.flowParseGenericType(t,e)}return this.flowParseType()}flowParseTypeAnnotation(){const t=this.startNode();return t.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(t,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(t){const e=t?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e)),e}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}flowParseVariance(){let t=null;return this.match(53)?(t=this.startNode(),"+"===this.state.value?t.kind="plus":t.kind="minus",this.next(),this.finishNode(t,"Variance")):t}parseFunctionBody(t,e,s=!1){e?this.forwardNoArrowParamsConversionAt(t,(()=>super.parseFunctionBody(t,!0,s))):super.parseFunctionBody(t,!1,s)}parseFunctionBodyAndFinish(t,e,s=!1){if(this.match(14)){const e=this.startNode();[e.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),t.returnType=e.typeAnnotation?this.finishNode(e,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(t,e,s)}parseStatementLike(t){if(this.state.strict&&this.isContextual(127)){if($(this.lookahead().type)){const t=this.startNode();return this.next(),this.flowParseInterface(t)}}else if(this.shouldParseEnums()&&this.isContextual(124)){const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}const e=super.parseStatementLike(t);return void 0!==this.flowPragma||this.isValidDirective(e)||(this.flowPragma=null),e}parseExpressionStatement(t,e,s){if("Identifier"===e.type)if("declare"===e.name){if(this.match(80)||q(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(t)}else if(q(this.state.type)){if("interface"===e.name)return this.flowParseInterface(t);if("type"===e.name)return this.flowParseTypeAlias(t);if("opaque"===e.name)return this.flowParseOpaqueType(t,!1)}return super.parseExpressionStatement(t,e,s)}shouldParseExportDeclaration(){const{type:t}=this.state;return J(t)||this.shouldParseEnums()&&124===t?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:t}=this.state;return J(t)||this.shouldParseEnums()&&124===t?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDefaultExpression()}parseConditional(t,e,s){if(!this.match(17))return t;if(this.state.maybeInArrowParameters){const e=this.lookaheadCharCode();if(44===e||61===e||58===e||41===e)return this.setOptionalParametersError(s),t}this.expect(17);const i=this.state.clone(),r=this.state.noArrowAt,a=this.startNodeAt(e);let{consequent:n,failed:o}=this.tryParseConditionalConsequent(),[h,p]=this.getArrowLikeExpressions(n);if(o||p.length>0){const t=[...r];if(p.length>0){this.state=i,this.state.noArrowAt=t;for(let e=0;e<p.length;e++)t.push(p[e].start);({consequent:n,failed:o}=this.tryParseConditionalConsequent()),[h,p]=this.getArrowLikeExpressions(n)}o&&h.length>1&&this.raise(ge.AmbiguousConditionalArrow,{at:i.startLoc}),o&&1===h.length&&(this.state=i,t.push(h[0].start),this.state.noArrowAt=t,({consequent:n,failed:o}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(n,!0),this.state.noArrowAt=r,this.expect(14),a.test=t,a.consequent=n,a.alternate=this.forwardNoArrowParamsConversionAt(a,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const t=this.parseMaybeAssignAllowIn(),e=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:t,failed:e}}getArrowLikeExpressions(t,e){const s=[t],i=[];for(;0!==s.length;){const t=s.pop();"ArrowFunctionExpression"===t.type?(t.typeParameters||!t.returnType?this.finishArrowValidation(t):i.push(t),s.push(t.body)):"ConditionalExpression"===t.type&&(s.push(t.consequent),s.push(t.alternate))}return e?(i.forEach((t=>this.finishArrowValidation(t))),[i,[]]):function(t,e){const s=[],i=[];for(let r=0;r<t.length;r++)(e(t[r],r,t)?s:i).push(t[r]);return[s,i]}(i,(t=>t.params.every((t=>this.isAssignable(t,!0)))))}finishArrowValidation(t){var e;this.toAssignableList(t.params,null==(e=t.extra)?void 0:e.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(t,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(t,e){let s;return-1!==this.state.noArrowParamsConversionAt.indexOf(t.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),s=e(),this.state.noArrowParamsConversionAt.pop()):s=e(),s}parseParenItem(t,e){if(t=super.parseParenItem(t,e),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){const s=this.startNodeAt(e);return s.expression=t,s.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(s,"TypeCastExpression")}return t}assertModuleNodeAllowed(t){"ImportDeclaration"===t.type&&("type"===t.importKind||"typeof"===t.importKind)||"ExportNamedDeclaration"===t.type&&"type"===t.exportKind||"ExportAllDeclaration"===t.type&&"type"===t.exportKind||super.assertModuleNodeAllowed(t)}parseExportDeclaration(t){if(this.isContextual(128)){t.exportKind="type";const e=this.startNode();return this.next(),this.match(5)?(t.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(t),null):this.flowParseTypeAlias(e)}if(this.isContextual(129)){t.exportKind="type";const e=this.startNode();return this.next(),this.flowParseOpaqueType(e,!1)}if(this.isContextual(127)){t.exportKind="type";const e=this.startNode();return this.next(),this.flowParseInterface(e)}if(this.shouldParseEnums()&&this.isContextual(124)){t.exportKind="value";const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDeclaration(t)}eatExportStar(t){return!!super.eatExportStar(t)||!(!this.isContextual(128)||55!==this.lookahead().type)&&(t.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(t){const{startLoc:e}=this.state,s=super.maybeParseExportNamespaceSpecifier(t);return s&&"type"===t.exportKind&&this.unexpected(e),s}parseClassId(t,e,s){super.parseClassId(t,e,s),this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(t,e,s){const{startLoc:i}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(t,e))return;e.declare=!0}super.parseClassMember(t,e,s),e.declare&&("ClassProperty"!==e.type&&"ClassPrivateProperty"!==e.type&&"PropertyDefinition"!==e.type?this.raise(ge.DeclareClassElement,{at:i}):e.value&&this.raise(ge.DeclareClassFieldInitializer,{at:e.value}))}isIterator(t){return"iterator"===t||"asyncIterator"===t}readIterator(){const t=super.readWord1(),e="@@"+t;this.isIterator(t)&&this.state.inType||this.raise(g.InvalidIdentifier,{at:this.state.curPosition(),identifierName:e}),this.finishToken(130,e)}getTokenFromCode(t){const e=this.input.charCodeAt(this.state.pos+1);123===t&&124===e?this.finishOp(6,2):!this.state.inType||62!==t&&60!==t?this.state.inType&&63===t?46===e?this.finishOp(18,2):this.finishOp(17,1):!function(t,e,s){return 64===t&&64===e&&ot(s)}(t,e,this.input.charCodeAt(this.state.pos+2))?super.getTokenFromCode(t):(this.state.pos+=2,this.readIterator()):this.finishOp(62===t?48:47,1)}isAssignable(t,e){return"TypeCastExpression"===t.type?this.isAssignable(t.expression,e):super.isAssignable(t,e)}toAssignable(t,e=!1){e||"AssignmentExpression"!==t.type||"TypeCastExpression"!==t.left.type||(t.left=this.typeCastToParameter(t.left)),super.toAssignable(t,e)}toAssignableList(t,e,s){for(let i=0;i<t.length;i++){const e=t[i];"TypeCastExpression"===(null==e?void 0:e.type)&&(t[i]=this.typeCastToParameter(e))}super.toAssignableList(t,e,s)}toReferencedList(t,e){for(let i=0;i<t.length;i++){var s;const r=t[i];!r||"TypeCastExpression"!==r.type||null!=(s=r.extra)&&s.parenthesized||!(t.length>1)&&e||this.raise(ge.TypeCastInPattern,{at:r.typeAnnotation})}return t}parseArrayLike(t,e,s,i){const r=super.parseArrayLike(t,e,s,i);return e&&!this.state.maybeInArrowParameters&&this.toReferencedList(r.elements),r}isValidLVal(t,e,s){return"TypeCastExpression"===t||super.isValidLVal(t,e,s)}parseClassProperty(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(t)}parseClassPrivateProperty(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(t)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(t){return!this.match(14)&&super.isNonstaticConstructor(t)}pushClassMethod(t,e,s,i,r,a){if(e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(t,e,s,i,r,a),e.params&&r){const t=e.params;t.length>0&&this.isThisParam(t[0])&&this.raise(ge.ThisParamBannedInConstructor,{at:e})}else if("MethodDefinition"===e.type&&r&&e.value.params){const t=e.value.params;t.length>0&&this.isThisParam(t[0])&&this.raise(ge.ThisParamBannedInConstructor,{at:e})}}pushClassPrivateMethod(t,e,s,i){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(t,e,s,i)}parseClassSuper(t){if(super.parseClassSuper(t),t.superClass&&this.match(47)&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();const e=t.implements=[];do{const t=this.startNode();t.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,e.push(this.finishNode(t,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(t){super.checkGetterSetterParams(t);const e=this.getObjectOrClassMethodParams(t);if(e.length>0){const s=e[0];this.isThisParam(s)&&"get"===t.kind?this.raise(ge.GetterMayNotHaveThisParam,{at:s}):this.isThisParam(s)&&this.raise(ge.SetterMayNotHaveThisParam,{at:s})}}parsePropertyNamePrefixOperator(t){t.variance=this.flowParseVariance()}parseObjPropValue(t,e,s,i,r,a,n){let o;t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&!a&&(o=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const h=super.parseObjPropValue(t,e,s,i,r,a,n);return o&&((h.value||h).typeParameters=o),h}parseAssignableListItemTypes(t){return this.eat(17)&&("Identifier"!==t.type&&this.raise(ge.PatternIsOptional,{at:t}),this.isThisParam(t)&&this.raise(ge.ThisParamMayNotBeOptional,{at:t}),t.optional=!0),this.match(14)?t.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(t)&&this.raise(ge.ThisParamAnnotationRequired,{at:t}),this.match(29)&&this.isThisParam(t)&&this.raise(ge.ThisParamNoDefault,{at:t}),this.resetEndLocation(t),t}parseMaybeDefault(t,e){const s=super.parseMaybeDefault(t,e);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(ge.TypeBeforeInitializer,{at:s.typeAnnotation}),s}checkImportReflection(t){super.checkImportReflection(t),t.module&&"value"!==t.importKind&&this.raise(ge.ImportReflectionHasImportType,{at:t.specifiers[0].loc.start})}parseImportSpecifierLocal(t,e,s){e.local=Te(t)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}isPotentialImportPhase(t){if(super.isPotentialImportPhase(t))return!0;if(this.isContextual(128)){if(!t)return!0;const e=this.lookaheadCharCode();return 123===e||42===e}return!t&&this.isContextual(87)}applyImportPhase(t,e,s,i){if(super.applyImportPhase(t,e,s,i),e){if(!s&&this.match(65))return;t.exportKind="type"===s?s:"value"}else"type"===s&&this.match(55)&&this.unexpected(),t.importKind="type"===s||"typeof"===s?s:"value"}parseImportSpecifier(t,e,s,i,r){const a=t.imported;let n=null;"Identifier"===a.type&&("type"===a.name?n="type":"typeof"===a.name&&(n="typeof"));let o=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const e=this.parseIdentifier(!0);null===n||$(this.state.type)?(t.imported=a,t.importKind=null,t.local=this.parseIdentifier()):(t.imported=e,t.importKind=n,t.local=ye(e))}else{if(null!==n&&$(this.state.type))t.imported=this.parseIdentifier(!0),t.importKind=n;else{if(e)throw this.raise(g.ImportBindingIsString,{at:t,importName:a.value});t.imported=a,t.importKind=null}this.eatContextual(93)?t.local=this.parseIdentifier():(o=!0,t.local=ye(t.imported))}const h=Te(t);return s&&h&&this.raise(ge.ImportTypeShorthandOnlyInPureImport,{at:t}),(s||h)&&this.checkReservedType(t.local.name,t.local.loc.start,!0),!o||s||h||this.checkReservedWord(t.local.name,t.loc.start,!0,!0),this.finishImportSpecifier(t,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(t,e){const s=t.kind;"get"!==s&&"set"!==s&&this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(t,e)}parseVarId(t,e){super.parseVarId(t,e),this.match(14)&&(t.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,e){if(this.match(14)){const e=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,t.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=e}return super.parseAsyncArrowFromCallExpression(t,e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(t,e){var s;let i,r=null;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(r=this.state.clone(),i=this.tryParse((()=>super.parseMaybeAssign(t,e)),r),!i.error)return i.node;const{context:s}=this.state,a=s[s.length-1];a!==S.j_oTag&&a!==S.j_expr||s.pop()}if(null!=(s=i)&&s.error||this.match(47)){var a,n;let s;r=r||this.state.clone();const o=this.tryParse((i=>{var r;s=this.flowParseTypeParameterDeclaration();const a=this.forwardNoArrowParamsConversionAt(s,(()=>{const i=super.parseMaybeAssign(t,e);return this.resetStartLocationFromNode(i,s),i}));null!=(r=a.extra)&&r.parenthesized&&i();const n=this.maybeUnwrapTypeCastExpression(a);return"ArrowFunctionExpression"!==n.type&&i(),n.typeParameters=s,this.resetStartLocationFromNode(n,s),a}),r);let h=null;if(o.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(o.node).type){if(!o.error&&!o.aborted)return o.node.async&&this.raise(ge.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:s}),o.node;h=o.node}if(null!=(a=i)&&a.node)return this.state=i.failState,i.node;if(h)return this.state=o.failState,h;if(null!=(n=i)&&n.thrown)throw i.error;if(o.thrown)throw o.error;throw this.raise(ge.UnexpectedTokenAfterTypeParameter,{at:s})}return super.parseMaybeAssign(t,e)}parseArrow(t){if(this.match(14)){const e=this.tryParse((()=>{const e=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const s=this.startNode();return[s.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=e,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),s}));if(e.thrown)return null;e.error&&(this.state=e.failState),t.returnType=e.node.typeAnnotation?this.finishNode(e.node,"TypeAnnotation"):null}return super.parseArrow(t)}shouldParseArrow(t){return this.match(14)||super.shouldParseArrow(t)}setArrowFunctionParameters(t,e){-1!==this.state.noArrowParamsConversionAt.indexOf(t.start)?t.params=e:super.setArrowFunctionParameters(t,e)}checkParams(t,e,s,i=!0){if(!s||-1===this.state.noArrowParamsConversionAt.indexOf(t.start)){for(let e=0;e<t.params.length;e++)this.isThisParam(t.params[e])&&e>0&&this.raise(ge.ThisParamMustBeFirst,{at:t.params[e]});super.checkParams(t,e,s,i)}}parseParenAndDistinguishExpression(t){return super.parseParenAndDistinguishExpression(t&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(t,e,s){if("Identifier"===t.type&&"async"===t.name&&-1!==this.state.noArrowAt.indexOf(e.index)){this.next();const s=this.startNodeAt(e);s.callee=t,s.arguments=super.parseCallExpressionArguments(11,!1),t=this.finishNode(s,"CallExpression")}else if("Identifier"===t.type&&"async"===t.name&&this.match(47)){const i=this.state.clone(),r=this.tryParse((t=>this.parseAsyncArrowWithTypeParameters(e)||t()),i);if(!r.error&&!r.aborted)return r.node;const a=this.tryParse((()=>super.parseSubscripts(t,e,s)),i);if(a.node&&!a.error)return a.node;if(r.node)return this.state=r.failState,r.node;if(a.node)return this.state=a.failState,a.node;throw r.error||a.error}return super.parseSubscripts(t,e,s)}parseSubscript(t,e,s,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,s)return i.stop=!0,t;this.next();const r=this.startNodeAt(e);return r.callee=t,r.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),r.arguments=this.parseCallExpressionArguments(11,!1),r.optional=!0,this.finishCallExpression(r,!0)}if(!s&&this.shouldParseTypes()&&this.match(47)){const s=this.startNodeAt(e);s.callee=t;const r=this.tryParse((()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),s.arguments=super.parseCallExpressionArguments(11,!1),i.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,i.optionalChainMember))));if(r.node)return r.error&&(this.state=r.failState),r.node}return super.parseSubscript(t,e,s,i)}parseNewCallee(t){super.parseNewCallee(t);let e=null;this.shouldParseTypes()&&this.match(47)&&(e=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),t.typeArguments=e}parseAsyncArrowWithTypeParameters(t){const e=this.startNodeAt(t);if(this.parseFunctionParams(e,!1),this.parseArrow(e))return super.parseArrowExpression(e,void 0,!0)}readToken_mult_modulo(t){const e=this.input.charCodeAt(this.state.pos+1);if(42===t&&47===e&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(t)}readToken_pipe_amp(t){const e=this.input.charCodeAt(this.state.pos+1);124!==t||125!==e?super.readToken_pipe_amp(t):this.finishOp(9,2)}parseTopLevel(t,e){const s=super.parseTopLevel(t,e);return this.state.hasFlowComment&&this.raise(ge.UnterminatedFlowComment,{at:this.state.curPosition()}),s}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(ge.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();const t=this.skipFlowComment();t&&(this.state.pos+=t,this.state.hasFlowComment=!0)}}skipFlowComment(){const{pos:t}=this.state;let e=2;for(;[32,9].includes(this.input.charCodeAt(t+e));)e++;const s=this.input.charCodeAt(e+t),i=this.input.charCodeAt(e+t+1);return 58===s&&58===i?e+2:"flow-include"===this.input.slice(e+t,e+t+12)?e+12:58===s&&58!==i&&e}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(g.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(t,{enumName:e,memberName:s}){this.raise(ge.EnumBooleanMemberNotInitialized,{at:t,memberName:s,enumName:e})}flowEnumErrorInvalidMemberInitializer(t,e){return this.raise(e.explicitType?"symbol"===e.explicitType?ge.EnumInvalidMemberInitializerSymbolType:ge.EnumInvalidMemberInitializerPrimaryType:ge.EnumInvalidMemberInitializerUnknownType,Object.assign({at:t},e))}flowEnumErrorNumberMemberNotInitialized(t,{enumName:e,memberName:s}){this.raise(ge.EnumNumberMemberNotInitialized,{at:t,enumName:e,memberName:s})}flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:e}){this.raise(ge.EnumStringMemberInconsistentlyInitailized,{at:t,enumName:e})}flowEnumMemberInit(){const t=this.state.startLoc,e=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{const s=this.parseNumericLiteral(this.state.value);return e()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:t}}case 131:{const s=this.parseStringLiteral(this.state.value);return e()?{type:"string",loc:s.loc.start,value:s}:{type:"invalid",loc:t}}case 85:case 86:{const s=this.parseBooleanLiteral(this.match(85));return e()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:t}}default:return{type:"invalid",loc:t}}}flowEnumMemberRaw(){const t=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:t}}}flowEnumCheckExplicitTypeMismatch(t,e,s){const{explicitType:i}=e;null!==i&&i!==s&&this.flowEnumErrorInvalidMemberInitializer(t,e)}flowEnumMembers({enumName:t,explicitType:e}){const s=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let r=!1;for(;!this.match(8);){if(this.eat(21)){r=!0;break}const a=this.startNode(),{id:n,init:o}=this.flowEnumMemberRaw(),h=n.name;if(""===h)continue;/^[a-z]/.test(h)&&this.raise(ge.EnumInvalidMemberName,{at:n,memberName:h,suggestion:h[0].toUpperCase()+h.slice(1),enumName:t}),s.has(h)&&this.raise(ge.EnumDuplicateMemberName,{at:n,memberName:h,enumName:t}),s.add(h);const p={enumName:t,explicitType:e,memberName:h};switch(a.id=n,o.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(o.loc,p,"boolean"),a.init=o.value,i.booleanMembers.push(this.finishNode(a,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(o.loc,p,"number"),a.init=o.value,i.numberMembers.push(this.finishNode(a,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(o.loc,p,"string"),a.init=o.value,i.stringMembers.push(this.finishNode(a,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(o.loc,p);case"none":switch(e){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,p);break;default:i.defaultedMembers.push(this.finishNode(a,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:r}}flowEnumStringMembers(t,e,{enumName:s}){if(0===t.length)return e;if(0===e.length)return t;if(e.length>t.length){for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:s});return e}for(const i of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(i,{enumName:s});return t}flowEnumParseExplicitType({enumName:t}){if(!this.eatContextual(101))return null;if(!q(this.state.type))throw this.raise(ge.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});const{value:e}=this.state;return this.next(),"boolean"!==e&&"number"!==e&&"string"!==e&&"symbol"!==e&&this.raise(ge.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:e}),e}flowEnumBody(t,e){const s=e.name,i=e.loc.start,r=this.flowEnumParseExplicitType({enumName:s});this.expect(5);const{members:a,hasUnknownMembers:n}=this.flowEnumMembers({enumName:s,explicitType:r});switch(t.hasUnknownMembers=n,r){case"boolean":return t.explicitType=!0,t.members=a.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody");case"number":return t.explicitType=!0,t.members=a.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody");case"string":return t.explicitType=!0,t.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(t,"EnumStringBody");case"symbol":return t.members=a.defaultedMembers,this.expect(8),this.finishNode(t,"EnumSymbolBody");default:{const e=()=>(t.members=[],this.expect(8),this.finishNode(t,"EnumStringBody"));t.explicitType=!1;const r=a.booleanMembers.length,n=a.numberMembers.length,o=a.stringMembers.length,h=a.defaultedMembers.length;if(r||n||o||h){if(r||n){if(!n&&!o&&r>=h){for(const t of a.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(t.loc.start,{enumName:s,memberName:t.id.name});return t.members=a.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody")}if(!r&&!o&&n>=h){for(const t of a.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(t.loc.start,{enumName:s,memberName:t.id.name});return t.members=a.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody")}return this.raise(ge.EnumInconsistentMemberValues,{at:i,enumName:s}),e()}return t.members=this.flowEnumStringMembers(a.stringMembers,a.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(t,"EnumStringBody")}return e()}}}flowParseEnumDeclaration(t){const e=this.parseIdentifier();return t.id=e,t.body=this.flowEnumBody(this.startNode(),e),this.finishNode(t,"EnumDeclaration")}isLookaheadToken_lt(){const t=this.nextTokenStart();if(60===this.input.charCodeAt(t)){const e=this.input.charCodeAt(t+1);return 60!==e&&61!==e}return!1}maybeUnwrapTypeCastExpression(t){return"TypeCastExpression"===t.type?t.expression:t}},typescript:t=>class extends t{constructor(...t){super(...t),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Le.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Le.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Le.InvalidModifierOnTypeParameter})}getScopeHandler(){return Ne}tsIsIdentifier(){return q(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(t,e){if(!q(this.state.type)&&58!==this.state.type&&75!==this.state.type)return;const s=this.state.value;if(-1!==t.indexOf(s)){if(e&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return s}}tsParseModifiers({allowedModifiers:t,disallowedModifiers:e,stopOnStartOfClassStaticBlock:s,errorTemplate:i=Le.InvalidModifierOnTypeMember},r){const a=(t,e,s,i)=>{e===s&&r[i]&&this.raise(Le.InvalidModifiersOrder,{at:t,orderedModifiers:[s,i]})},n=(t,e,s,i)=>{(r[s]&&e===i||r[i]&&e===s)&&this.raise(Le.IncompatibleModifiers,{at:t,modifiers:[s,i]})};for(;;){const{startLoc:o}=this.state,h=this.tsParseModifier(t.concat(null!=e?e:[]),s);if(!h)break;Me(h)?r.accessibility?this.raise(Le.DuplicateAccessibilityModifier,{at:o,modifier:h}):(a(o,h,h,"override"),a(o,h,h,"static"),a(o,h,h,"readonly"),r.accessibility=h):De(h)?(r[h]&&this.raise(Le.DuplicateModifier,{at:o,modifier:h}),r[h]=!0,a(o,h,"in","out")):(Object.hasOwnProperty.call(r,h)?this.raise(Le.DuplicateModifier,{at:o,modifier:h}):(a(o,h,"static","readonly"),a(o,h,"static","override"),a(o,h,"override","readonly"),a(o,h,"abstract","override"),n(o,h,"declare","override"),n(o,h,"static","abstract")),r[h]=!0),null!=e&&e.includes(h)&&this.raise(i,{at:o,modifier:h})}}tsIsListTerminator(t){switch(t){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(t,e){const s=[];for(;!this.tsIsListTerminator(t);)s.push(e());return s}tsParseDelimitedList(t,e,s){return function(t){if(null==t)throw new Error(`Unexpected ${t} value.`);return t}(this.tsParseDelimitedListWorker(t,e,!0,s))}tsParseDelimitedListWorker(t,e,s,i){const r=[];let a=-1;for(;!this.tsIsListTerminator(t);){a=-1;const i=e();if(null==i)return;if(r.push(i),!this.eat(12)){if(this.tsIsListTerminator(t))break;return void(s&&this.expect(12))}a=this.state.lastTokStart}return i&&(i.value=a),r}tsParseBracketedList(t,e,s,i,r){i||(s?this.expect(0):this.expect(47));const a=this.tsParseDelimitedList(t,e,r);return s?this.expect(3):this.expect(48),a}tsParseImportType(){const t=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(Le.UnsupportedImportTypeArgument,{at:this.state.startLoc}),t.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(t.qualifier=this.tsParseEntityName()),this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSImportType")}tsParseEntityName(t=!0){let e=this.parseIdentifier(t);for(;this.eat(16);){const s=this.startNodeAtNode(e);s.left=e,s.right=this.parseIdentifier(t),e=this.finishNode(s,"TSQualifiedName")}return e}tsParseTypeReference(){const t=this.startNode();return t.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeReference")}tsParseThisTypePredicate(t){this.next();const e=this.startNodeAtNode(t);return e.parameterName=t,e.typeAnnotation=this.tsParseTypeAnnotation(!1),e.asserts=!1,this.finishNode(e,"TSTypePredicate")}tsParseThisTypeNode(){const t=this.startNode();return this.next(),this.finishNode(t,"TSThisType")}tsParseTypeQuery(){const t=this.startNode();return this.expect(87),this.match(83)?t.exprName=this.tsParseImportType():t.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeQuery")}tsParseTypeParameter(t){const e=this.startNode();return t(e),e.name=this.tsParseTypeParameterName(),e.constraint=this.tsEatThenParseType(81),e.default=this.tsEatThenParseType(29),this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(t){if(this.match(47))return this.tsParseTypeParameters(t)}tsParseTypeParameters(t){const e=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();const s={value:-1};return e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,t),!1,!0,s),0===e.params.length&&this.raise(Le.EmptyTypeParameters,{at:e}),-1!==s.value&&this.addExtra(e,"trailingComma",s.value),this.finishNode(e,"TSTypeParameterDeclaration")}tsFillSignature(t,e){const s=19===t;e.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),e.parameters=this.tsParseBindingListForSignature(),(s||this.match(t))&&(e.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(t))}tsParseBindingListForSignature(){const t=super.parseBindingList(11,41,2);for(const e of t){const{type:t}=e;"AssignmentPattern"!==t&&"TSParameterProperty"!==t||this.raise(Le.UnsupportedSignatureParameterKind,{at:e,type:t})}return t}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(t,e){return this.tsFillSignature(14,e),this.tsParseTypeMemberSemicolon(),this.finishNode(e,t)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!q(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(t){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const e=this.parseIdentifier();e.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(e),this.expect(3),t.parameters=[e];const s=this.tsTryParseTypeAnnotation();return s&&(t.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSIndexSignature")}tsParsePropertyOrMethodSignature(t,e){this.eat(17)&&(t.optional=!0);const s=t;if(this.match(10)||this.match(47)){e&&this.raise(Le.ReadonlyForMethodSignature,{at:t});const i=s;i.kind&&this.match(47)&&this.raise(Le.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon();const r="parameters",a="typeAnnotation";if("get"===i.kind)i[r].length>0&&(this.raise(g.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(i[r][0])&&this.raise(Le.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===i.kind){if(1!==i[r].length)this.raise(g.BadSetterArity,{at:this.state.curPosition()});else{const t=i[r][0];this.isThisParam(t)&&this.raise(Le.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===t.type&&t.optional&&this.raise(Le.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===t.type&&this.raise(Le.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}i[a]&&this.raise(Le.SetAccesorCannotHaveReturnType,{at:i[a]})}else i.kind="method";return this.finishNode(i,"TSMethodSignature")}{const t=s;e&&(t.readonly=!0);const i=this.tsTryParseTypeAnnotation();return i&&(t.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSPropertySignature")}}tsParseTypeMember(){const t=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(77)){const e=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(e,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},t);const e=this.tsTryParseIndexSignature(t);return e||(super.parsePropertyName(t),t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||!this.tsTokenCanFollowModifier()||(t.kind=t.key.name,super.parsePropertyName(t)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))}tsParseTypeLiteral(){const t=this.startNode();return t.members=this.tsParseObjectTypeMembers(),this.finishNode(t,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const t=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),t}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(){const t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),this.finishNode(t,"TSTypeParameter")}tsParseMappedType(){const t=this.startNode();return this.expect(5),this.match(53)?(t.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(t.readonly=!0),this.expect(0),t.typeParameter=this.tsParseMappedTypeParameter(),t.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(t.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(t.optional=!0),t.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(t,"TSMappedType")}tsParseTupleType(){const t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let e=!1,s=null;return t.elementTypes.forEach((t=>{const{type:i}=t;!e||"TSRestType"===i||"TSOptionalType"===i||"TSNamedTupleMember"===i&&t.optional||this.raise(Le.OptionalTypeBeforeRequired,{at:t}),e||(e="TSNamedTupleMember"===i&&t.optional||"TSOptionalType"===i);let r=i;"TSRestType"===i&&(r=(t=t.typeAnnotation).type);const a="TSNamedTupleMember"===r;null!=s||(s=a),s!==a&&this.raise(Le.MixedLabeledAndUnlabeledElements,{at:t})})),this.finishNode(t,"TSTupleType")}tsParseTupleElementType(){const{startLoc:t}=this.state,e=this.eat(21);let s,i,r,a;const n=$(this.state.type)?this.lookaheadCharCode():null;if(58===n)s=!0,r=!1,i=this.parseIdentifier(!0),this.expect(14),a=this.tsParseType();else if(63===n){r=!0;const t=this.state.startLoc,e=this.state.value,n=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(s=!0,i=this.createIdentifier(this.startNodeAt(t),e),this.expect(17),this.expect(14),a=this.tsParseType()):(s=!1,a=n,this.expect(17))}else a=this.tsParseType(),r=this.eat(17),s=this.eat(14);if(s){let t;i?(t=this.startNodeAtNode(i),t.optional=r,t.label=i,t.elementType=a,this.eat(17)&&(t.optional=!0,this.raise(Le.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(t=this.startNodeAtNode(a),t.optional=r,this.raise(Le.InvalidTupleMemberLabel,{at:a}),t.label=a,t.elementType=this.tsParseType()),a=this.finishNode(t,"TSNamedTupleMember")}else if(r){const t=this.startNodeAtNode(a);t.typeAnnotation=a,a=this.finishNode(t,"TSOptionalType")}if(e){const e=this.startNodeAt(t);e.typeAnnotation=a,a=this.finishNode(e,"TSRestType")}return a}tsParseParenthesizedType(){const t=this.startNode();return this.expect(10),t.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(t,"TSParenthesizedType")}tsParseFunctionOrConstructorType(t,e){const s=this.startNode();return"TSConstructorType"===t&&(s.abstract=!!e,e&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,s))),this.finishNode(s,t)}tsParseLiteralTypeNode(){const t=this.startNode();switch(this.state.type){case 132:case 133:case 131:case 85:case 86:t.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(t,"TSLiteralType")}tsParseTemplateLiteralType(){const t=this.startNode();return t.literal=super.parseTemplate(!1),this.finishNode(t,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const t=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(t):t}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){const t=this.startNode(),e=this.lookahead();return 132!==e.type&&133!==e.type&&this.unexpected(),t.literal=this.parseMaybeUnary(),this.finishNode(t,"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:{const{type:t}=this.state;if(q(t)||88===t||84===t){const e=88===t?"TSVoidKeyword":84===t?"TSNullKeyword":function(t){switch(t){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}}(this.state.value);if(void 0!==e&&46!==this.lookaheadCharCode()){const t=this.startNode();return this.next(),this.finishNode(t,e)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const e=this.startNodeAtNode(t);e.elementType=t,this.expect(3),t=this.finishNode(e,"TSArrayType")}else{const e=this.startNodeAtNode(t);e.objectType=t,e.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(e,"TSIndexedAccessType")}return t}tsParseTypeOperator(){const t=this.startNode(),e=this.state.value;return this.next(),t.operator=e,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===e&&this.tsCheckTypeAnnotationForReadOnly(t),this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(t){switch(t.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Le.UnexpectedReadonly,{at:t})}}tsParseInferType(){const t=this.startNode();this.expectContextual(113);const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),t.typeParameter=this.finishNode(e,"TSTypeParameter"),this.finishNode(t,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const t=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}}tsParseTypeOperatorOrHigher(){var t;return(t=this.state.type)>=119&&t<=121&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(t,e,s){const i=this.startNode(),r=this.eat(s),a=[];do{a.push(e())}while(this.eat(s));return 1!==a.length||r?(i.types=a,this.finishNode(i,t)):a[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(q(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:e}=this.state,s=e.length;try{return this.parseObjectLike(8,!0),e.length===s}catch(t){return!1}}if(this.match(0)){this.next();const{errors:t}=this.state,s=t.length;try{return super.parseBindingList(3,93,1),t.length===s}catch(e){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(t){return this.tsInType((()=>{const e=this.startNode();this.expect(t);const s=this.startNode(),i=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(i&&this.match(78)){let t=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===t.type?(s.parameterName=t,s.asserts=!0,s.typeAnnotation=null,t=this.finishNode(s,"TSTypePredicate")):(this.resetStartLocationFromNode(t,s),t.asserts=!0),e.typeAnnotation=t,this.finishNode(e,"TSTypeAnnotation")}const r=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!r)return i?(s.parameterName=this.parseIdentifier(),s.asserts=i,s.typeAnnotation=null,e.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(e,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,e);const a=this.tsParseTypeAnnotation(!1);return s.parameterName=r,s.typeAnnotation=a,s.asserts=i,e.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(e,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const t=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),t}tsParseTypePredicateAsserts(){if(107!==this.state.type)return!1;const t=this.state.containsEsc;return this.next(),!(!q(this.state.type)&&!this.match(78))&&(t&&this.raise(g.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(t=!0,e=this.startNode()){return this.tsInType((()=>{t&&this.expect(14),e.typeAnnotation=this.tsParseType()})),this.finishNode(e,"TSTypeAnnotation")}tsParseType(){ke(this.state.inType);const t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;const e=this.startNodeAtNode(t);return e.checkType=t,e.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),e.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),e.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(e,"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(Le.ReservedTypeAssertion,{at:this.state.startLoc});const t=this.startNode();return t.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}tsParseHeritageClause(t){const e=this.state.startLoc,s=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const t=this.startNode();return t.expression=this.tsParseEntityName(),this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSExpressionWithTypeArguments")}));return s.length||this.raise(Le.EmptyHeritageClauseType,{at:e,token:t}),s}tsParseInterfaceDeclaration(t,e={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),e.declare&&(t.declare=!0),q(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,130)):(t.id=null,this.raise(Le.MissingInterfaceName,{at:this.state.startLoc})),t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(t.extends=this.tsParseHeritageClause("extends"));const s=this.startNode();return s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),t.body=this.finishNode(s,"TSInterfaceBody"),this.finishNode(t,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(t){return t.id=this.parseIdentifier(),this.checkIdentifier(t.id,2),t.typeAnnotation=this.tsInType((()=>{if(t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&16!==this.lookahead().type){const t=this.startNode();return this.next(),this.finishNode(t,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(t,"TSTypeAliasDeclaration")}tsInNoContext(t){const e=this.state.context;this.state.context=[e[0]];try{return t()}finally{this.state.context=e}}tsInType(t){const e=this.state.inType;this.state.inType=!0;try{return t()}finally{this.state.inType=e}}tsInDisallowConditionalTypesContext(t){const e=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return t()}finally{this.state.inDisallowConditionalTypesContext=e}}tsInAllowConditionalTypesContext(t){const e=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return t()}finally{this.state.inDisallowConditionalTypesContext=e}}tsEatThenParseType(t){if(this.match(t))return this.tsNextThenParseType()}tsExpectThenParseType(t){return this.tsInType((()=>(this.expect(t),this.tsParseType())))}tsNextThenParseType(){return this.tsInType((()=>(this.next(),this.tsParseType())))}tsParseEnumMember(){const t=this.startNode();return t.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(t.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(t,"TSEnumMember")}tsParseEnumDeclaration(t,e={}){return e.const&&(t.const=!0),e.declare&&(t.declare=!0),this.expectContextual(124),t.id=this.parseIdentifier(),this.checkIdentifier(t.id,t.const?8971:8459),this.expect(5),t.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(t,"TSEnumDeclaration")}tsParseModuleBlock(){const t=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(t,e=!1){if(t.id=this.parseIdentifier(),e||this.checkIdentifier(t.id,1024),this.eat(16)){const e=this.startNode();this.tsParseModuleOrNamespaceDeclaration(e,!0),t.body=e}else this.scope.enter(bt),this.prodParam.enter(0),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(t,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(t){return this.isContextual(110)?(t.global=!0,t.id=this.parseIdentifier()):this.match(131)?t.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(bt),this.prodParam.enter(0),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(t,e,s){t.isExport=s||!1,t.id=e||this.parseIdentifier(),this.checkIdentifier(t.id,Ct),this.expect(29);const i=this.tsParseModuleReference();return"type"===t.importKind&&"TSExternalModuleReference"!==i.type&&this.raise(Le.ImportAliasHasImportType,{at:i}),t.moduleReference=i,this.semicolon(),this.finishNode(t,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const t=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),t.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExternalModuleReference")}tsLookAhead(t){const e=this.state.clone(),s=t();return this.state=e,s}tsTryParseAndCatch(t){const e=this.tryParse((e=>t()||e()));if(!e.aborted&&e.node)return e.error&&(this.state=e.failState),e.node}tsTryParse(t){const e=this.state.clone(),s=t();if(void 0!==s&&!1!==s)return s;this.state=e}tsTryParseDeclare(t){if(this.isLineTerminator())return;let e,s=this.state.type;return this.isContextual(99)&&(s=74,e="let"),this.tsInAmbientContext((()=>{switch(s){case 68:return t.declare=!0,super.parseFunctionStatement(t,!1,!1);case 80:return t.declare=!0,this.parseClass(t,!0,!1);case 124:return this.tsParseEnumDeclaration(t,{declare:!0});case 110:return this.tsParseAmbientExternalModuleDeclaration(t);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(t,{const:!0,declare:!0})):(t.declare=!0,this.parseVarStatement(t,e||this.state.value,!0));case 127:{const e=this.tsParseInterfaceDeclaration(t,{declare:!0});if(e)return e}default:if(q(s))return this.tsParseDeclaration(t,this.state.value,!0,null)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(t,e,s){switch(e.name){case"declare":{const e=this.tsTryParseDeclare(t);return e&&(e.declare=!0),e}case"global":if(this.match(5)){this.scope.enter(bt),this.prodParam.enter(0);const s=t;return s.global=!0,s.id=e,s.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,e.name,!1,s)}}tsParseDeclaration(t,e,s,i){switch(e){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(80)||q(this.state.type)))return this.tsParseAbstractDeclaration(t,i);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(t);if(q(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t)}break;case"namespace":if(this.tsCheckLineTerminator(s)&&q(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminator(s)&&q(this.state.type))return this.tsParseTypeAliasDeclaration(t)}}tsCheckLineTerminator(t){return t?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(t){if(!this.match(47))return;const e=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const s=this.tsTryParseAndCatch((()=>{const e=this.startNodeAt(t);return e.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(e),e.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),e}));return this.state.maybeInArrowParameters=e,s?super.parseArrowExpression(s,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){const t=this.startNode();return t.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===t.params.length?this.raise(Le.EmptyTypeArguments,{at:t}):this.state.inType||this.curContext()!==S.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(t=this.state.type)>=122&&t<=128;var t}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(t,e){const s=this.state.startLoc,i={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},i);const r=i.accessibility,a=i.override,n=i.readonly;4&t||!(r||n||a)||this.raise(Le.UnexpectedParameterModifier,{at:s});const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o,t);const h=this.parseMaybeDefault(o.loc.start,o);if(r||n||a){const t=this.startNodeAt(s);return e.length&&(t.decorators=e),r&&(t.accessibility=r),n&&(t.readonly=n),a&&(t.override=a),"Identifier"!==h.type&&"AssignmentPattern"!==h.type&&this.raise(Le.UnsupportedParameterPropertyKind,{at:t}),t.parameter=h,this.finishNode(t,"TSParameterProperty")}return e.length&&(o.decorators=e),h}isSimpleParameter(t){return"TSParameterProperty"===t.type&&super.isSimpleParameter(t.parameter)||super.isSimpleParameter(t)}tsDisallowOptionalPattern(t){for(const e of t.params)"Identifier"!==e.type&&e.optional&&!this.state.isAmbientContext&&this.raise(Le.PatternIsOptional,{at:e})}setArrowFunctionParameters(t,e,s){super.setArrowFunctionParameters(t,e,s),this.tsDisallowOptionalPattern(t)}parseFunctionBodyAndFinish(t,e,s=!1){this.match(14)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const i="FunctionDeclaration"===e?"TSDeclareFunction":"ClassMethod"===e||"ClassPrivateMethod"===e?"TSDeclareMethod":void 0;return i&&!this.match(5)&&this.isLineTerminator()?this.finishNode(t,i):"TSDeclareFunction"===i&&this.state.isAmbientContext&&(this.raise(Le.DeclareFunctionHasImplementation,{at:t}),t.declare)?super.parseFunctionBodyAndFinish(t,i,s):(this.tsDisallowOptionalPattern(t),super.parseFunctionBodyAndFinish(t,e,s))}registerFunctionStatementId(t){!t.body&&t.id?this.checkIdentifier(t.id,1024):super.registerFunctionStatementId(t)}tsCheckForInvalidTypeCasts(t){t.forEach((t=>{"TSTypeCastExpression"===(null==t?void 0:t.type)&&this.raise(Le.UnexpectedTypeAnnotation,{at:t.typeAnnotation})}))}toReferencedList(t,e){return this.tsCheckForInvalidTypeCasts(t),t}parseArrayLike(t,e,s,i){const r=super.parseArrayLike(t,e,s,i);return"ArrayExpression"===r.type&&this.tsCheckForInvalidTypeCasts(r.elements),r}parseSubscript(t,e,s,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const s=this.startNodeAt(e);return s.expression=t,this.finishNode(s,"TSNonNullExpression")}let r=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(s)return i.stop=!0,t;i.optionalChainMember=r=!0,this.next()}if(this.match(47)||this.match(51)){let a;const n=this.tsTryParseAndCatch((()=>{if(!s&&this.atPossibleAsyncArrow(t)){const t=this.tsTryParseGenericAsyncArrowFunction(e);if(t)return t}const n=this.tsParseTypeArgumentsInExpression();if(!n)return;if(r&&!this.match(10))return void(a=this.state.curPosition());if(Q(this.state.type)){const s=super.parseTaggedTemplateExpression(t,e,i);return s.typeParameters=n,s}if(!s&&this.eat(10)){const s=this.startNodeAt(e);return s.callee=t,s.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(s.arguments),s.typeParameters=n,i.optionalChainMember&&(s.optional=r),this.finishCallExpression(s,i.optionalChainMember)}const o=this.state.type;if(48===o||52===o||10!==o&&W(o)&&!this.hasPrecedingLineBreak())return;const h=this.startNodeAt(e);return h.expression=t,h.typeParameters=n,this.finishNode(h,"TSInstantiationExpression")}));if(a&&this.unexpected(a,10),n)return"TSInstantiationExpression"===n.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(Le.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),n}return super.parseSubscript(t,e,s,i)}parseNewCallee(t){var e;super.parseNewCallee(t);const{callee:s}=t;"TSInstantiationExpression"!==s.type||null!=(e=s.extra)&&e.parenthesized||(t.typeParameters=s.typeParameters,t.callee=s.expression)}parseExprOp(t,e,s){let i;if(Y(58)>s&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(i=this.isContextual(118)))){const r=this.startNodeAt(e);return r.expression=t,r.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(i&&this.raise(g.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(r,i?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(r,e,s)}return super.parseExprOp(t,e,s)}checkReservedWord(t,e,s,i){this.state.isAmbientContext||super.checkReservedWord(t,e,s,i)}checkImportReflection(t){super.checkImportReflection(t),t.module&&"value"!==t.importKind&&this.raise(Le.ImportReflectionHasImportType,{at:t.specifiers[0].loc.start})}checkDuplicateExports(){}isPotentialImportPhase(t){if(super.isPotentialImportPhase(t))return!0;if(this.isContextual(128)){const e=this.lookaheadCharCode();return t?123===e||42===e:61!==e}return!t&&this.isContextual(87)}applyImportPhase(t,e,s,i){super.applyImportPhase(t,e,s,i),e?t.exportKind="type"===s?"type":"value":t.importKind="type"===s||"typeof"===s?s:"value"}parseImport(t){if(this.match(131))return t.importKind="value",super.parseImport(t);let e;if(q(this.state.type)&&61===this.lookaheadCharCode())return t.importKind="value",this.tsParseImportEqualsDeclaration(t);if(this.isContextual(128)){const s=this.parseMaybeImportPhase(t,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(t,s);e=super.parseImportSpecifiersAndAfter(t,s)}else e=super.parseImport(t);return"type"===e.importKind&&e.specifiers.length>1&&"ImportDefaultSpecifier"===e.specifiers[0].type&&this.raise(Le.TypeImportCannotSpecifyDefaultAndNamed,{at:e}),e}parseExport(t,e){if(this.match(83)){this.next();let e=null;return this.isContextual(128)&&this.isPotentialImportPhase(!1)?e=this.parseMaybeImportPhase(t,!1):t.importKind="value",this.tsParseImportEqualsDeclaration(t,e,!0)}if(this.eat(29)){const e=t;return e.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExportAssignment")}if(this.eatContextual(93)){const e=t;return this.expectContextual(126),e.id=this.parseIdentifier(),this.semicolon(),this.finishNode(e,"TSNamespaceExportDeclaration")}return super.parseExport(t,e)}isAbstractClass(){return this.isContextual(122)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){const t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0)}if(this.match(127)){const t=this.tsParseInterfaceDeclaration(this.startNode());if(t)return t}return super.parseExportDefaultExpression()}parseVarStatement(t,e,s=!1){const{isAmbientContext:i}=this.state,r=super.parseVarStatement(t,e,s||i);if(!i)return r;for(const{id:a,init:n}of r.declarations)n&&("const"!==e||a.typeAnnotation?this.raise(Le.InitializerNotAllowedInAmbientContext,{at:n}):Fe(n,this.hasPlugin("estree"))||this.raise(Le.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:n}));return r}parseStatementContent(t,e){if(this.match(75)&&this.isLookaheadContextual("enum")){const t=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(t,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){const t=this.tsParseInterfaceDeclaration(this.startNode());if(t)return t}return super.parseStatementContent(t,e)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(t,e){return e.some((e=>Me(e)?t.accessibility===e:!!t[e]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(t,e,s){const i=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:i,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Le.InvalidModifierOnTypeParameterPositions},e);const r=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(e,i)&&this.raise(Le.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(t,e)):this.parseClassMemberWithIsStatic(t,e,s,!!e.static)};e.declare?this.tsInAmbientContext(r):r()}parseClassMemberWithIsStatic(t,e,s,i){const r=this.tsTryParseIndexSignature(e);if(r)return t.body.push(r),e.abstract&&this.raise(Le.IndexSignatureHasAbstract,{at:e}),e.accessibility&&this.raise(Le.IndexSignatureHasAccessibility,{at:e,modifier:e.accessibility}),e.declare&&this.raise(Le.IndexSignatureHasDeclare,{at:e}),void(e.override&&this.raise(Le.IndexSignatureHasOverride,{at:e}));!this.state.inAbstractClass&&e.abstract&&this.raise(Le.NonAbstractClassHasAbstractMethod,{at:e}),e.override&&(s.hadSuperClass||this.raise(Le.OverrideNotInSubClass,{at:e})),super.parseClassMemberWithIsStatic(t,e,s,i)}parsePostMemberNameModifiers(t){this.eat(17)&&(t.optional=!0),t.readonly&&this.match(10)&&this.raise(Le.ClassMethodHasReadonly,{at:t}),t.declare&&this.match(10)&&this.raise(Le.ClassMethodHasDeclare,{at:t})}parseExpressionStatement(t,e,s){return("Identifier"===e.type?this.tsParseExpressionStatement(t,e,s):void 0)||super.parseExpressionStatement(t,e,s)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(t,e,s){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(t,e,s);const i=this.tryParse((()=>super.parseConditional(t,e)));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(s,i.error),t)}parseParenItem(t,e){if(t=super.parseParenItem(t,e),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){const s=this.startNodeAt(e);return s.expression=t,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return t}parseExportDeclaration(t){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext((()=>this.parseExportDeclaration(t)));const e=this.state.startLoc,s=this.eatContextual(123);if(s&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(Le.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});const i=q(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(t);return i?(("TSInterfaceDeclaration"===i.type||"TSTypeAliasDeclaration"===i.type||s)&&(t.exportKind="type"),s&&(this.resetStartLocation(i,e),i.declare=!0),i):null}parseClassId(t,e,s,i){if((!e||s)&&this.isContextual(111))return;super.parseClassId(t,e,s,t.declare?1024:8331);const r=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);r&&(t.typeParameters=r)}parseClassPropertyAnnotation(t){t.optional||(this.eat(35)?t.definite=!0:this.eat(17)&&(t.optional=!0));const e=this.tsTryParseTypeAnnotation();e&&(t.typeAnnotation=e)}parseClassProperty(t){if(this.parseClassPropertyAnnotation(t),this.state.isAmbientContext&&(!t.readonly||t.typeAnnotation)&&this.match(29)&&this.raise(Le.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),t.abstract&&this.match(29)){const{key:e}=t;this.raise(Le.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==e.type||t.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return super.parseClassProperty(t)}parseClassPrivateProperty(t){return t.abstract&&this.raise(Le.PrivateElementHasAbstract,{at:t}),t.accessibility&&this.raise(Le.PrivateElementHasAccessibility,{at:t,modifier:t.accessibility}),this.parseClassPropertyAnnotation(t),super.parseClassPrivateProperty(t)}parseClassAccessorProperty(t){return this.parseClassPropertyAnnotation(t),t.optional&&this.raise(Le.AccessorCannotBeOptional,{at:t}),super.parseClassAccessorProperty(t)}pushClassMethod(t,e,s,i,r,a){const n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&r&&this.raise(Le.ConstructorHasTypeParameters,{at:n});const{declare:o=!1,kind:h}=e;!o||"get"!==h&&"set"!==h||this.raise(Le.DeclareAccessor,{at:e,kind:h}),n&&(e.typeParameters=n),super.pushClassMethod(t,e,s,i,r,a)}pushClassPrivateMethod(t,e,s,i){const r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.pushClassPrivateMethod(t,e,s,i)}declareClassPrivateMethodInScope(t,e){"TSDeclareMethod"!==t.type&&("MethodDefinition"!==t.type||t.value.body)&&super.declareClassPrivateMethodInScope(t,e)}parseClassSuper(t){super.parseClassSuper(t),t.superClass&&(this.match(47)||this.match(51))&&(t.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(t.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(t,e,s,i,r,a,n){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);return o&&(t.typeParameters=o),super.parseObjPropValue(t,e,s,i,r,a,n)}parseFunctionParams(t,e){const s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(t.typeParameters=s),super.parseFunctionParams(t,e)}parseVarId(t,e){super.parseVarId(t,e),"Identifier"===t.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(t.definite=!0);const s=this.tsTryParseTypeAnnotation();s&&(t.id.typeAnnotation=s,this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,e){return this.match(14)&&(t.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(t,e)}parseMaybeAssign(t,e){var s,i,r,a,n;let o,h,p,c;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(o=this.state.clone(),h=this.tryParse((()=>super.parseMaybeAssign(t,e)),o),!h.error)return h.node;const{context:s}=this.state,i=s[s.length-1];i!==S.j_oTag&&i!==S.j_expr||s.pop()}if((null==(s=h)||!s.error)&&!this.match(47))return super.parseMaybeAssign(t,e);o&&o!==this.state||(o=this.state.clone());const l=this.tryParse((s=>{var i,r;c=this.tsParseTypeParameters(this.tsParseConstModifier);const a=super.parseMaybeAssign(t,e);return("ArrowFunctionExpression"!==a.type||null!=(i=a.extra)&&i.parenthesized)&&s(),0!==(null==(r=c)?void 0:r.params.length)&&this.resetStartLocationFromNode(a,c),a.typeParameters=c,a}),o);if(!l.error&&!l.aborted)return c&&this.reportReservedArrowTypeParam(c),l.node;if(!h&&(ke(!this.hasPlugin("jsx")),p=this.tryParse((()=>super.parseMaybeAssign(t,e)),o),!p.error))return p.node;if(null!=(i=h)&&i.node)return this.state=h.failState,h.node;if(l.node)return this.state=l.failState,c&&this.reportReservedArrowTypeParam(c),l.node;if(null!=(r=p)&&r.node)return this.state=p.failState,p.node;throw(null==(a=h)?void 0:a.error)||l.error||(null==(n=p)?void 0:n.error)}reportReservedArrowTypeParam(t){var e;1!==t.params.length||t.params[0].constraint||null!=(e=t.extra)&&e.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Le.ReservedArrowTypeParam,{at:t})}parseMaybeUnary(t,e){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(t,e)}parseArrow(t){if(this.match(14)){const e=this.tryParse((t=>{const e=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||t(),e}));if(e.aborted)return;e.thrown||(e.error&&(this.state=e.failState),t.returnType=e.node)}return super.parseArrow(t)}parseAssignableListItemTypes(t,e){if(!(2&e))return t;this.eat(17)&&(t.optional=!0);const s=this.tsTryParseTypeAnnotation();return s&&(t.typeAnnotation=s),this.resetEndLocation(t),t}isAssignable(t,e){switch(t.type){case"TSTypeCastExpression":return this.isAssignable(t.expression,e);case"TSParameterProperty":return!0;default:return super.isAssignable(t,e)}}toAssignable(t,e=!1){switch(t.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(t,e);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":e?this.expressionScope.recordArrowParameterBindingError(Le.UnexpectedTypeCastInParameter,{at:t}):this.raise(Le.UnexpectedTypeCastInParameter,{at:t}),this.toAssignable(t.expression,e);break;case"AssignmentExpression":e||"TSTypeCastExpression"!==t.left.type||(t.left=this.typeCastToParameter(t.left));default:super.toAssignable(t,e)}}toAssignableParenthesizedExpression(t,e){switch(t.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(t.expression,e);break;default:super.toAssignable(t,e)}}checkToRestConversion(t,e){switch(t.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(t.expression,!1);break;default:super.checkToRestConversion(t,e)}}isValidLVal(t,e,s){return i={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(s!==vt||!e)&&["expression",!0],TSSatisfiesExpression:(s!==vt||!e)&&["expression",!0],TSTypeAssertion:(s!==vt||!e)&&["expression",!0]},r=t,Object.hasOwnProperty.call(i,r)&&i[r]||super.isValidLVal(t,e,s);var i,r}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(t){if(this.match(47)||this.match(51)){const e=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const s=super.parseMaybeDecoratorArguments(t);return s.typeParameters=e,s}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(t)}checkCommaAfterRest(t){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===t?(this.next(),!1):super.checkCommaAfterRest(t)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(t,e){const s=super.parseMaybeDefault(t,e);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(Le.TypeAnnotationAfterAssign,{at:s.typeAnnotation}),s}getTokenFromCode(t){if(this.state.inType){if(62===t)return void this.finishOp(48,1);if(60===t)return void this.finishOp(47,1)}super.getTokenFromCode(t)}reScan_lt_gt(){const{type:t}=this.state;47===t?(this.state.pos-=1,this.readToken_lt()):48===t&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:t}=this.state;return 51===t?(this.state.pos-=2,this.finishOp(47,1),47):t}toAssignableList(t,e,s){for(let i=0;i<t.length;i++){const e=t[i];"TSTypeCastExpression"===(null==e?void 0:e.type)&&(t[i]=this.typeCastToParameter(e))}super.toAssignableList(t,e,s)}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}shouldParseArrow(t){return this.match(14)?t.every((t=>this.isAssignable(t,!0))):super.shouldParseArrow(t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(t){if(this.match(47)||this.match(51)){const e=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));e&&(t.typeParameters=e)}return super.jsxParseOpeningElementAfterName(t)}getGetterSetterExpectedParamCount(t){const e=super.getGetterSetterExpectedParamCount(t),s=this.getObjectOrClassMethodParams(t)[0];return s&&this.isThisParam(s)?e+1:e}parseCatchClauseParam(){const t=super.parseCatchClauseParam(),e=this.tsTryParseTypeAnnotation();return e&&(t.typeAnnotation=e,this.resetEndLocation(t)),t}tsInAmbientContext(t){const e=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return t()}finally{this.state.isAmbientContext=e}}parseClass(t,e,s){const i=this.state.inAbstractClass;this.state.inAbstractClass=!!t.abstract;try{return super.parseClass(t,e,s)}finally{this.state.inAbstractClass=i}}tsParseAbstractDeclaration(t,e){if(this.match(80))return t.abstract=!0,this.maybeTakeDecorators(e,this.parseClass(t,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return t.abstract=!0,this.raise(Le.NonClassMethodPropertyHasAbstractModifer,{at:t}),this.tsParseInterfaceDeclaration(t)}else this.unexpected(null,80)}parseMethod(t,e,s,i,r,a,n){const o=super.parseMethod(t,e,s,i,r,a,n);if(o.abstract){if(this.hasPlugin("estree")?!!o.value.body:!!o.body){const{key:t}=o;this.raise(Le.AbstractMethodHasImplementation,{at:o,methodName:"Identifier"!==t.type||o.computed?`[${this.input.slice(t.start,t.end)}]`:t.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(t,e,s,i){return!e&&i?(this.parseTypeOnlyImportExportSpecifier(t,!1,s),this.finishNode(t,"ExportSpecifier")):(t.exportKind="value",super.parseExportSpecifier(t,e,s,i))}parseImportSpecifier(t,e,s,i,r){return!e&&i?(this.parseTypeOnlyImportExportSpecifier(t,!0,s),this.finishNode(t,"ImportSpecifier")):(t.importKind="value",super.parseImportSpecifier(t,e,s,i,s?4098:Ct))}parseTypeOnlyImportExportSpecifier(t,e,s){const i=e?"imported":"local",r=e?"local":"exported";let a,n=t[i],o=!1,h=!0;const p=n.loc.start;if(this.isContextual(93)){const t=this.parseIdentifier();if(this.isContextual(93)){const s=this.parseIdentifier();$(this.state.type)?(o=!0,n=t,a=e?this.parseIdentifier():this.parseModuleExportName(),h=!1):(a=s,h=!1)}else $(this.state.type)?(h=!1,a=e?this.parseIdentifier():this.parseModuleExportName()):(o=!0,n=t)}else $(this.state.type)&&(o=!0,e?(n=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(n.name,n.loc.start,!0,!0)):n=this.parseModuleExportName());o&&s&&this.raise(e?Le.TypeModifierIsUsedInTypeImports:Le.TypeModifierIsUsedInTypeExports,{at:p}),t[i]=n,t[r]=a;t[e?"importKind":"exportKind"]=o?"type":"value",h&&this.eatContextual(93)&&(t[r]=e?this.parseIdentifier():this.parseModuleExportName()),t[r]||(t[r]=ye(t[i])),e&&this.checkIdentifier(t[r],o?4098:Ct)}},v8intrinsic:t=>class extends t{parseV8Intrinsic(){if(this.match(54)){const t=this.state.startLoc,e=this.startNode();if(this.next(),q(this.state.type)){const t=this.parseIdentifierName(),s=this.createIdentifier(e,t);if(s.type="V8IntrinsicIdentifier",this.match(10))return s}this.unexpected(t)}}parseExprAtom(t){return this.parseV8Intrinsic()||super.parseExprAtom(t)}},placeholders:t=>class extends t{parsePlaceholder(t){if(this.match(142)){const e=this.startNode();return this.next(),this.assertNoSpace(),e.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(e,t)}}finishPlaceholder(t,e){const s=!(!t.expectedNode||"Placeholder"!==t.type);return t.expectedNode=e,s?t:this.finishNode(t,"Placeholder")}getTokenFromCode(t){37===t&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(142,2):super.getTokenFromCode(t)}parseExprAtom(t){return this.parsePlaceholder("Expression")||super.parseExprAtom(t)}parseIdentifier(t){return this.parsePlaceholder("Identifier")||super.parseIdentifier(t)}checkReservedWord(t,e,s,i){void 0!==t&&super.checkReservedWord(t,e,s,i)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(t,e,s){return"Placeholder"===t||super.isValidLVal(t,e,s)}toAssignable(t,e){t&&"Placeholder"===t.type&&"Expression"===t.expectedNode?t.expectedNode="Pattern":super.toAssignable(t,e)}chStartsBindingIdentifier(t,e){if(super.chStartsBindingIdentifier(t,e))return!0;return 142===this.lookahead().type}verifyBreakContinue(t,e){t.label&&"Placeholder"===t.label.type||super.verifyBreakContinue(t,e)}parseExpressionStatement(t,e){if("Placeholder"!==e.type||e.extra&&e.extra.parenthesized)return super.parseExpressionStatement(t,e);if(this.match(14)){const s=t;return s.label=this.finishPlaceholder(e,"Identifier"),this.next(),s.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(s,"LabeledStatement")}return this.semicolon(),t.name=e.name,this.finishPlaceholder(t,"Statement")}parseBlock(t,e,s){return this.parsePlaceholder("BlockStatement")||super.parseBlock(t,e,s)}parseFunctionId(t){return this.parsePlaceholder("Identifier")||super.parseFunctionId(t)}parseClass(t,e,s){const i=e?"ClassDeclaration":"ClassExpression";this.next();const r=this.state.strict,a=this.parsePlaceholder("Identifier");if(a){if(!(this.match(81)||this.match(142)||this.match(5))){if(s||!e)return t.id=null,t.body=this.finishPlaceholder(a,"ClassBody"),this.finishNode(t,i);throw this.raise(Ue.ClassNameIsRequired,{at:this.state.startLoc})}t.id=a}else this.parseClassId(t,e,s);return super.parseClassSuper(t),t.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!t.superClass,r),this.finishNode(t,i)}parseExport(t,e){const s=this.parsePlaceholder("Identifier");if(!s)return super.parseExport(t,e);if(!this.isContextual(97)&&!this.match(12))return t.specifiers=[],t.source=null,t.declaration=this.finishPlaceholder(s,"Declaration"),this.finishNode(t,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const i=this.startNode();return i.exported=s,t.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],super.parseExport(t,e)}isExportDefaultSpecifier(){if(this.match(65)){const t=this.nextTokenStart();if(this.isUnparsedContextual(t,"from")&&this.input.startsWith(G(142),this.nextTokenStartSince(t+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(t,e){var s;return!(null==(s=t.specifiers)||!s.length)||super.maybeParseExportDefaultSpecifier(t,e)}checkExport(t){const{specifiers:e}=t;null!=e&&e.length&&(t.specifiers=e.filter((t=>"Placeholder"===t.exported.type))),super.checkExport(t),t.specifiers=e}parseImport(t){const e=this.parsePlaceholder("Identifier");if(!e)return super.parseImport(t);if(t.specifiers=[],!this.isContextual(97)&&!this.match(12))return t.source=this.finishPlaceholder(e,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");const s=this.startNodeAtNode(e);if(s.local=e,t.specifiers.push(this.finishNode(s,"ImportDefaultSpecifier")),this.eat(12)){this.maybeParseStarImportSpecifier(t)||this.parseNamedImportSpecifiers(t)}return this.expectContextual(97),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Ue.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}},$e=Object.keys(qe),Ke={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};const We={kind:"loop"},Je={kind:"switch"},Xe=/[\uD800-\uDFFF]/u,Ge=/in(?:stanceof)?/y;class Ye extends class extends class extends class extends class extends class extends class extends class extends class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(t){if("string"===typeof t)return this.plugins.has(t);{const[e,s]=t;if(!this.hasPlugin(e))return!1;const i=this.plugins.get(e);for(const t of Object.keys(s))if((null==i?void 0:i[t])!==s[t])return!1;return!0}}getPluginOption(t,e){var s;return null==(s=this.plugins.get(t))?void 0:s[e]}}{addComment(t){this.filename&&(t.loc.filename=this.filename),this.state.comments.push(t)}processComment(t){const{commentStack:e}=this.state,s=e.length;if(0===s)return;let i=s-1;const r=e[i];r.start===t.end&&(r.leadingNode=t,i--);const{start:a}=t;for(;i>=0;i--){const s=e[i],r=s.end;if(!(r>a)){r===a&&(s.trailingNode=t);break}s.containingNode=t,this.finalizeComment(s),e.splice(i,1)}}finalizeComment(t){const{comments:e}=t;if(null!==t.leadingNode||null!==t.trailingNode)null!==t.leadingNode&&Ot(t.leadingNode,e),null!==t.trailingNode&&function(t,e){void 0===t.leadingComments?t.leadingComments=e:t.leadingComments.unshift(...e)}(t.trailingNode,e);else{const{containingNode:s,start:i}=t;if(44===this.input.charCodeAt(i-1))switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Bt(s,s.properties,t);break;case"CallExpression":case"OptionalCallExpression":Bt(s,s.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Bt(s,s.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Bt(s,s.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":Bt(s,s.specifiers,t);break;default:Ft(s,e)}else Ft(s,e)}}finalizeRemainingComments(){const{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){const{commentStack:e}=this.state,{length:s}=e;if(0===s)return;const i=e[s-1];i.leadingNode===t&&(i.leadingNode=null)}resetPreviousIdentifierLeadingComments(t){const{commentStack:e}=this.state,{length:s}=e;0!==s&&(e[s-1].trailingNode===t?e[s-1].trailingNode=null:s>=2&&e[s-2].trailingNode===t&&(e[s-2].trailingNode=null))}takeSurroundingComments(t,e,s){const{commentStack:i}=this.state,r=i.length;if(0===r)return;let a=r-1;for(;a>=0;a--){const r=i[a],n=r.end;if(r.start===s)r.leadingNode=t;else if(n===e)r.trailingNode=t;else if(n<e)break}}}{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(t,e,s,i)=>!!this.options.errorRecovery&&(this.raise(g.InvalidDigit,{at:se(t,e,s),radix:i}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(g.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(g.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(g.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(g.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(t,e,s)=>{this.recordStrictModeErrors(g.StrictNumericEscape,{at:se(t,e,s)})},unterminated:(t,e,s)=>{throw this.raise(g.UnterminatedString,{at:se(t-1,e,s)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(g.StrictNumericEscape),unterminated:(t,e,s)=>{throw this.raise(g.UnterminatedTemplate,{at:se(t,e,s)})}}),this.state=new qt,this.state.init(t),this.input=e,this.length=e.length,this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new re(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return!!this.match(t)&&(this.next(),!0)}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){const t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return _t.lastIndex=t,_t.test(this.input)?_t.lastIndex:t}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return zt.lastIndex=t,zt.test(this.input)?zt.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if(55296===(64512&e)&&++t<this.input.length){const s=this.input.charCodeAt(t);56320===(64512&s)&&(e=65536+((1023&e)<<10)+(1023&s))}return e}setStrict(t){this.state.strict=t,t&&(this.state.strictErrors.forEach((([t,e])=>this.raise(t,{at:e}))),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(t){let e;this.isLookahead||(e=this.state.curPosition());const s=this.state.pos,i=this.input.indexOf(t,s+2);if(-1===i)throw this.raise(g.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=i+t.length,Ut.lastIndex=s+2;Ut.test(this.input)&&Ut.lastIndex<=i;)++this.state.curLine,this.state.lineStart=Ut.lastIndex;if(this.isLookahead)return;const a={type:"CommentBlock",value:this.input.slice(s+2,i),start:s,end:i+t.length,loc:new r(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(a),a}skipLineComment(t){const e=this.state.pos;let s;this.isLookahead||(s=this.state.curPosition());let i=this.input.charCodeAt(this.state.pos+=t);if(this.state.pos<this.length)for(;!jt(i)&&++this.state.pos<this.length;)i=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const a=this.state.pos,n={type:"CommentLine",value:this.input.slice(e+t,a),start:e,end:a,loc:new r(s,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipSpace(){const t=this.state.pos,e=[];t:for(;this.state.pos<this.length;){const s=this.input.charCodeAt(this.state.pos);switch(s){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const t=this.skipBlockComment("*/");void 0!==t&&(this.addComment(t),this.options.attachComment&&e.push(t));break}case 47:{const t=this.skipLineComment(2);void 0!==t&&(this.addComment(t),this.options.attachComment&&e.push(t));break}default:break t}break;default:if(Vt(s))++this.state.pos;else if(45===s&&!this.inModule&&this.options.annexB){const s=this.state.pos;if(45!==this.input.charCodeAt(s+1)||62!==this.input.charCodeAt(s+2)||!(0===t||this.state.lineStart>t))break t;{const t=this.skipLineComment(3);void 0!==t&&(this.addComment(t),this.options.attachComment&&e.push(t))}}else{if(60!==s||this.inModule||!this.options.annexB)break t;{const t=this.state.pos;if(33!==this.input.charCodeAt(t+1)||45!==this.input.charCodeAt(t+2)||45!==this.input.charCodeAt(t+3))break t;{const t=this.skipLineComment(4);void 0!==t&&(this.addComment(t),this.options.attachComment&&e.push(t))}}}}}if(e.length>0){const s={start:t,end:this.state.pos,comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(s)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;const t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(g.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===e||91===e&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===e?g.RecordExpressionHashIncorrectStartSyntaxType:g.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===e?this.finishToken(7):this.finishToken(1)}else ot(e)?(++this.state.pos,this.finishToken(136,this.readWord1(e))):92===e?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const t=this.input.charCodeAt(this.state.pos+1);t>=48&&t<=57?this.readNumber(!0):46===t&&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 t=this.input.charCodeAt(this.state.pos+1);if(33!==t)return!1;const e=this.state.pos;for(this.state.pos+=1;!jt(t)&&++this.state.pos<this.length;)t=this.input.charCodeAt(this.state.pos);const s=this.input.slice(e+2,this.state.pos);return this.finishToken(28,s),!0}readToken_mult_modulo(t){let e=42===t?55:54,s=1,i=this.input.charCodeAt(this.state.pos+1);42===t&&42===i&&(s++,i=this.input.charCodeAt(this.state.pos+2),e=57),61!==i||this.state.inType||(s++,e=37===t?33:30),this.finishOp(e,s)}readToken_pipe_amp(t){const e=this.input.charCodeAt(this.state.pos+1);if(e!==t){if(124===t){if(62===e)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===e){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(g.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===e){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(g.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}61!==e?this.finishOp(124===t?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===t?41:42,2)}readToken_caret(){const t=this.input.charCodeAt(this.state.pos+1);if(61!==t||this.state.inType)if(94===t&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){this.finishOp(37,2);94===this.input.codePointAt(this.state.pos)&&this.unexpected()}else this.finishOp(44,1);else this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(t){const e=this.input.charCodeAt(this.state.pos+1);e!==t?61===e?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){const{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(60===e)return 61===this.input.charCodeAt(t+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==e?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){const{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(62===e){const e=62===this.input.charCodeAt(t+2)?3:2;return 61===this.input.charCodeAt(t+e)?void this.finishOp(30,e+1):void this.finishOp(52,e)}61!==e?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(t){const e=this.input.charCodeAt(this.state.pos+1);if(61!==e)return 61===t&&62===e?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===t?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){const t=this.input.charCodeAt(this.state.pos+1),e=this.input.charCodeAt(this.state.pos+2);63===t?61===e?this.finishOp(30,3):this.finishOp(40,2):46!==t||e>=48&&e<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(t){switch(t){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(g.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(g.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:{const t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return void this.readRadixNumber(16);if(111===t||79===t)return void this.readRadixNumber(8);if(98===t||66===t)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(t);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(t);case 124:case 38:return void this.readToken_pipe_amp(t);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(t);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(t);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(ot(t))return void this.readWord(t)}throw this.raise(g.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(t)})}finishOp(t,e){const s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}readRegexp(){const t=this.state.startLoc,e=this.state.start+1;let s,i,{pos:r}=this.state;for(;;++r){if(r>=this.length)throw this.raise(g.UnterminatedRegExp,{at:a(t,1)});const e=this.input.charCodeAt(r);if(jt(e))throw this.raise(g.UnterminatedRegExp,{at:a(t,1)});if(s)s=!1;else{if(91===e)i=!0;else if(93===e&&i)i=!1;else if(47===e&&!i)break;s=92===e}}const n=this.input.slice(e,r);++r;let o="";const h=()=>a(t,r+2-e);for(;r<this.length;){const t=this.codePointAtPos(r),e=String.fromCharCode(t);if(ie.has(t))118===t?o.includes("u")&&this.raise(g.IncompatibleRegExpUVFlags,{at:h()}):117===t&&o.includes("v")&&this.raise(g.IncompatibleRegExpUVFlags,{at:h()}),o.includes(e)&&this.raise(g.DuplicateRegExpFlags,{at:h()});else{if(!ht(t)&&92!==t)break;this.raise(g.MalformedRegExpFlags,{at:h()})}++r,o+=e}this.state.pos=r,this.finishToken(135,{pattern:n,flags:o})}readInt(t,e,s=!1,i=!0){const{n:r,pos:a}=Qt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,e,s,i,this.errorHandlers_readInt,!1);return this.state.pos=a,r}readRadixNumber(t){const e=this.state.curPosition();let s=!1;this.state.pos+=2;const i=this.readInt(t);null==i&&this.raise(g.InvalidDigit,{at:a(e,2),radix:t});const r=this.input.charCodeAt(this.state.pos);if(110===r)++this.state.pos,s=!0;else if(109===r)throw this.raise(g.InvalidDecimal,{at:e});if(ot(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,{at:this.state.curPosition()});if(s){const t=this.input.slice(e.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,t)}else this.finishToken(132,i)}readNumber(t){const e=this.state.pos,s=this.state.curPosition();let i=!1,r=!1,n=!1,o=!1,h=!1;t||null!==this.readInt(10)||this.raise(g.InvalidNumber,{at:this.state.curPosition()});const p=this.state.pos-e>=2&&48===this.input.charCodeAt(e);if(p){const t=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(g.StrictOctalLiteral,{at:s}),!this.state.strict){const e=t.indexOf("_");e>0&&this.raise(g.ZeroDigitNumericSeparator,{at:a(s,e)})}h=p&&!/[89]/.test(t)}let c=this.input.charCodeAt(this.state.pos);if(46!==c||h||(++this.state.pos,this.readInt(10),i=!0,c=this.input.charCodeAt(this.state.pos)),69!==c&&101!==c||h||(c=this.input.charCodeAt(++this.state.pos),43!==c&&45!==c||++this.state.pos,null===this.readInt(10)&&this.raise(g.InvalidOrMissingExponent,{at:s}),i=!0,o=!0,c=this.input.charCodeAt(this.state.pos)),110===c&&((i||p)&&this.raise(g.InvalidBigIntLiteral,{at:s}),++this.state.pos,r=!0),109===c&&(this.expectPlugin("decimal",this.state.curPosition()),(o||p)&&this.raise(g.InvalidDecimal,{at:s}),++this.state.pos,n=!0),ot(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,{at:this.state.curPosition()});const l=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(r)return void this.finishToken(133,l);if(n)return void this.finishToken(134,l);const u=h?parseInt(l,8):parseFloat(l);this.finishToken(132,u)}readCodePoint(t){const{code:e,pos:s}=Zt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=s,e}readString(t){const{str:e,pos:s,curLine:i,lineStart:r}=Jt(34===t?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=r,this.state.curLine=i,this.finishToken(131,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const t=this.input[this.state.pos],{str:e,firstInvalidLoc:s,pos:r,curLine:a,lineStart:n}=Jt("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=n,this.state.curLine=a,s&&(this.state.firstInvalidTemplateEscapePos=new i(s.curLine,s.pos-s.lineStart,s.pos)),96===this.input.codePointAt(r)?this.finishToken(24,s?null:t+e+"`"):(this.state.pos++,this.finishToken(25,s?null:t+e+"${"))}recordStrictModeErrors(t,{at:e}){const s=e.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(t,{at:e}):this.state.strictErrors.set(s,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="";const s=this.state.pos;let i=this.state.pos;for(void 0!==t&&(this.state.pos+=t<=65535?1:2);this.state.pos<this.length;){const t=this.codePointAtPos(this.state.pos);if(ht(t))this.state.pos+=t<=65535?1:2;else{if(92!==t)break;{this.state.containsEsc=!0,e+=this.input.slice(i,this.state.pos);const t=this.state.curPosition(),r=this.state.pos===s?ot:ht;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(g.MissingUnicodeEscape,{at:this.state.curPosition()}),i=this.state.pos-1;continue}++this.state.pos;const a=this.readCodePoint(!0);null!==a&&(r(a)||this.raise(g.EscapedCharNotAnIdentifier,{at:t}),e+=String.fromCodePoint(a)),i=this.state.pos}}}return e+this.input.slice(i,this.state.pos)}readWord(t){const e=this.readWord1(t),s=L.get(e);void 0!==s?this.finishToken(s,G(s)):this.finishToken(130,e)}checkKeywordEscapes(){const{type:t}=this.state;X(t)&&this.state.containsEsc&&this.raise(g.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:G(t)})}raise(t,e){const{at:r}=e,a=s(e,te),n=t({loc:r instanceof i?r:r.loc.start,details:a});if(!this.options.errorRecovery)throw n;return this.isLookahead||this.state.errors.push(n),n}raiseOverwrite(t,e){const{at:r}=e,a=s(e,ee),n=r instanceof i?r:r.loc.start,o=n.index,h=this.state.errors;for(let s=h.length-1;s>=0;s--){const e=h[s];if(e.loc.index===o)return h[s]=t({loc:n,details:a});if(e.loc.index<o)break}return this.raise(t,e)}updateContext(t){}unexpected(t,e){throw this.raise(g.UnexpectedToken,{expected:e?G(e):null,at:null!=t?t:this.state.startLoc})}expectPlugin(t,e){if(this.hasPlugin(t))return!0;throw this.raise(g.MissingPlugin,{at:null!=e?e:this.state.startLoc,missingPlugin:[t]})}expectOnePlugin(t){if(!t.some((t=>this.hasPlugin(t))))throw this.raise(g.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:t})}errorBuilder(t){return(e,s,i)=>{this.raise(t,{at:se(e,s,i)})}}}{addExtra(t,e,s,i=!0){if(!t)return;const r=t.extra=t.extra||{};i?r[e]=s:Object.defineProperty(r,e,{enumerable:i,value:s})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){const s=t+e.length;if(this.input.slice(t,s)===e){const t=this.input.charCodeAt(s);return!(ht(t)||55296===(64512&t))}return!1}isLookaheadContextual(t){const e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return!!this.isContextual(t)&&(this.next(),!0)}expectContextual(t,e){if(!this.eatContextual(t)){if(null!=e)throw this.raise(e,{at:this.state.startLoc});this.unexpected(null,t)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Rt.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Ht.lastIndex=this.state.end,Ht.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(g.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){const s={node:null};try{const i=t(((t=null)=>{throw s.node=t,s}));if(this.state.errors.length>e.errors.length){const t=this.state;return this.state=e,this.state.tokensLength=t.tokensLength,{node:i,error:t.errors[e.errors.length],thrown:!1,aborted:!1,failState:t}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(i){const t=this.state;if(this.state=e,i instanceof SyntaxError)return{node:null,error:i,thrown:!0,aborted:!1,failState:t};if(i===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:t};throw i}}checkExpressionErrors(t,e){if(!t)return!1;const{shorthandAssignLoc:s,doubleProtoLoc:i,privateKeyLoc:r,optionalParametersLoc:a}=t;if(!e)return!!s||!!i||!!a||!!r;null!=s&&this.raise(g.InvalidCoverInitializedName,{at:s}),null!=i&&this.raise(g.DuplicateProto,{at:i}),null!=r&&this.raise(g.UnexpectedPrivateField,{at:r}),null!=a&&this.unexpected(a)}isLiteralPropertyName(){return K(this.state.type)}isPrivateName(t){return"PrivateName"===t.type}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&this.isPrivateName(t.property)}isObjectProperty(t){return"ObjectProperty"===t.type}isObjectMethod(t){return"ObjectMethod"===t.type}initializeScopes(t="module"===this.options.sourceType){const e=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const i=this.inModule;this.inModule=t;const r=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);const n=this.prodParam;this.prodParam=new le;const o=this.classScope;this.classScope=new ne(this);const h=this.expressionScope;return this.expressionScope=new pe(this),()=>{this.state.labels=e,this.exportedIdentifiers=s,this.inModule=i,this.scope=r,this.prodParam=n,this.classScope=o,this.expressionScope=h}}enterInitialScopes(){let t=0;this.inModule&&(t|=2),this.scope.enter(1),this.prodParam.enter(t)}checkDestructuringPrivate(t){const{privateKeyLoc:e}=t;null!==e&&this.expectPlugin("destructuringPrivate",e)}}{startNode(){return new me(this,this.state.start,this.state.startLoc)}startNodeAt(t){return new me(this,t.index,t)}startNodeAtNode(t){return this.startNodeAt(t.loc.start)}finishNode(t,e){return this.finishNodeAt(t,e,this.state.lastTokEndLoc)}finishNodeAt(t,e,s){return t.type=e,t.end=s.index,t.loc.end=s,this.options.ranges&&(t.range[1]=s.index),this.options.attachComment&&this.processComment(t),t}resetStartLocation(t,e){t.start=e.index,t.loc.start=e,this.options.ranges&&(t.range[0]=e.index)}resetEndLocation(t,e=this.state.lastTokEndLoc){t.end=e.index,t.loc.end=e,this.options.ranges&&(t.range[1]=e.index)}resetStartLocationFromNode(t,e){this.resetStartLocation(t,e.loc.start)}}{toAssignable(t,e=!1){var s,i;let r;switch(("ParenthesizedExpression"===t.type||null!=(s=t.extra)&&s.parenthesized)&&(r=ve(t),e?"Identifier"===r.type?this.expressionScope.recordArrowParameterBindingError(g.InvalidParenthesizedAssignment,{at:t}):"MemberExpression"!==r.type&&this.raise(g.InvalidParenthesizedAssignment,{at:t}):this.raise(g.InvalidParenthesizedAssignment,{at:t})),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(let s=0,i=t.properties.length,r=i-1;s<i;s++){var a;const i=t.properties[s],n=s===r;this.toAssignableObjectExpressionProp(i,n,e),n&&"RestElement"===i.type&&null!=(a=t.extra)&&a.trailingCommaLoc&&this.raise(g.RestTrailingComma,{at:t.extra.trailingCommaLoc})}break;case"ObjectProperty":{const{key:s,value:i}=t;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(i,e);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":t.type="ArrayPattern",this.toAssignableList(t.elements,null==(i=t.extra)?void 0:i.trailingCommaLoc,e);break;case"AssignmentExpression":"="!==t.operator&&this.raise(g.MissingEqInAssignment,{at:t.left.loc.end}),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(r,e)}}toAssignableObjectExpressionProp(t,e,s){if("ObjectMethod"===t.type)this.raise("get"===t.kind||"set"===t.kind?g.PatternHasAccessor:g.PatternHasMethod,{at:t.key});else if("SpreadElement"===t.type){t.type="RestElement";const i=t.argument;this.checkToRestConversion(i,!1),this.toAssignable(i,s),e||this.raise(g.RestTrailingComma,{at:t})}else this.toAssignable(t,s)}toAssignableList(t,e,s){const i=t.length-1;for(let r=0;r<=i;r++){const a=t[r];if(a){if("SpreadElement"===a.type){a.type="RestElement";const t=a.argument;this.checkToRestConversion(t,!0),this.toAssignable(t,s)}else this.toAssignable(a,s);"RestElement"===a.type&&(r<i?this.raise(g.RestTrailingComma,{at:a}):e&&this.raise(g.RestTrailingComma,{at:e}))}}}isAssignable(t,e){switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const e=t.properties.length-1;return t.properties.every(((t,s)=>"ObjectMethod"!==t.type&&(s===e||"SpreadElement"!==t.type)&&this.isAssignable(t)))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every((t=>null===t||this.isAssignable(t)));case"AssignmentExpression":return"="===t.operator;case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(const s of t)"ArrayExpression"===(null==s?void 0:s.type)&&this.toReferencedListDeep(s.elements)}parseSpread(t){const e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){const t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,e,s){const i=1&s,r=[];let a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),i&&this.match(12))r.push(null);else{if(this.eat(t))break;if(this.match(21)){if(r.push(this.parseAssignableListItemTypes(this.parseRestBinding(),s)),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{const t=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(g.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());r.push(this.parseAssignableListItem(s,t))}}return r}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){const t=this.startNode(),{type:e,startLoc:s}=this.state;return 21===e?this.parseBindingRestProperty(t):(136===e?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),t.key=this.parsePrivateName()):this.parsePropertyName(t),t.method=!1,this.parseObjPropValue(t,s,!1,!1,!0,!1))}parseAssignableListItem(t,e){const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s,t);const i=this.parseMaybeDefault(s.loc.start,s);return e.length&&(s.decorators=e),i}parseAssignableListItemTypes(t,e){return t}parseMaybeDefault(t,e){var s;if(null!=t||(t=this.state.startLoc),e=null!=(s=e)?s:this.parseBindingAtom(),!this.eat(29))return e;const i=this.startNodeAt(t);return i.left=e,i.right=this.parseMaybeAssignAllowIn(),this.finishNode(i,"AssignmentPattern")}isValidLVal(t,e,s){return i={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},r=t,Object.hasOwnProperty.call(i,r)&&i[r];var i,r}checkLVal(t,{in:e,binding:s=64,checkClashes:i=!1,strictModeChanged:r=!1,hasParenthesizedAncestor:a=!1}){var n;const o=t.type;if(this.isObjectMethod(t))return;if("MemberExpression"===o)return void(s!==vt&&this.raise(g.InvalidPropertyBindingPattern,{at:t}));if("Identifier"===o){this.checkIdentifier(t,s,r);const{name:e}=t;return void(i&&(i.has(e)?this.raise(g.ParamDupe,{at:t}):i.add(e)))}const h=this.isValidLVal(o,!(a||null!=(n=t.extra)&&n.parenthesized)&&"AssignmentExpression"===e.type,s);if(!0===h)return;if(!1===h){const i=s===vt?g.InvalidLhs:g.InvalidLhsBinding;return void this.raise(i,{at:t,ancestor:e})}const[p,c]=Array.isArray(h)?h:[h,"ParenthesizedExpression"===o],l="ArrayPattern"===o||"ObjectPattern"===o||"ParenthesizedExpression"===o?{type:o}:e;for(const u of[].concat(t[p]))u&&this.checkLVal(u,{in:l,binding:s,checkClashes:i,strictModeChanged:r,hasParenthesizedAncestor:c})}checkIdentifier(t,e,s=!1){this.state.strict&&(s?xt(t.name,this.inModule):yt(t.name))&&(e===vt?this.raise(g.StrictEvalArguments,{at:t,referenceName:t.name}):this.raise(g.StrictEvalArgumentsBinding,{at:t,bindingName:t.name})),e&It&&"let"===t.name&&this.raise(g.LetInLexicalBinding,{at:t}),e&vt||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(g.InvalidRestAssignmentPattern,{at:t})}}checkCommaAfterRest(t){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===t?g.RestTrailingComma:g.ElementAfterRest,{at:this.state.startLoc}),!0)}}{checkProto(t,e,s,i){if("SpreadElement"===t.type||this.isObjectMethod(t)||t.computed||t.shorthand)return;const r=t.key;if("__proto__"===("Identifier"===r.type?r.name:r.value)){if(e)return void this.raise(g.RecordNoProto,{at:r});s.used&&(i?null===i.doubleProtoLoc&&(i.doubleProtoLoc=r.loc.start):this.raise(g.DuplicateProto,{at:r})),s.used=!0}}shouldExitDescending(t,e){return"ArrowFunctionExpression"===t.type&&t.start===e}getExpression(){this.enterInitialScopes(),this.nextToken();const t=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.state.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd((()=>this.parseExpressionBase(e))):this.allowInAnd((()=>this.parseExpressionBase(e)))}parseExpressionBase(t){const e=this.state.startLoc,s=this.parseMaybeAssign(t);if(this.match(12)){const i=this.startNodeAt(e);for(i.expressions=[s];this.eat(12);)i.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd((()=>this.parseMaybeAssign(t,e)))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd((()=>this.parseMaybeAssign(t,e)))}setOptionalParametersError(t,e){var s;t.optionalParametersLoc=null!=(s=null==e?void 0:e.loc)?s:this.state.startLoc}parseMaybeAssign(t,e){const s=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let t=this.parseYield();return e&&(t=e.call(this,t,s)),t}let i;t?i=!1:(t=new de,i=!0);const{type:r}=this.state;(10===r||q(r))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(t);if(e&&(a=e.call(this,a,s)),(n=this.state.type)>=29&&n<=33){const e=this.startNodeAt(s),i=this.state.value;if(e.operator=i,this.match(29)){this.toAssignable(a,!0),e.left=a;const i=s.index;null!=t.doubleProtoLoc&&t.doubleProtoLoc.index>=i&&(t.doubleProtoLoc=null),null!=t.shorthandAssignLoc&&t.shorthandAssignLoc.index>=i&&(t.shorthandAssignLoc=null),null!=t.privateKeyLoc&&t.privateKeyLoc.index>=i&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else e.left=a;return this.next(),e.right=this.parseMaybeAssign(),this.checkLVal(a,{in:this.finishNode(e,"AssignmentExpression")}),e}var n;return i&&this.checkExpressionErrors(t,!0),a}parseMaybeConditional(t){const e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprOps(t);return this.shouldExitDescending(i,s)?i:this.parseConditional(i,e,t)}parseConditional(t,e,s){if(this.eat(17)){const s=this.startNodeAt(e);return s.test=t,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){const e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(i,s)?i:this.parseExprOp(i,e,-1)}parseExprOp(t,e,s){if(this.isPrivateName(t)){const e=this.getPrivateNameSV(t);(s>=Y(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(g.PrivateInExpectedIn,{at:t,identifierName:e}),this.classScope.usePrivateName(e,t.loc.start)}const i=this.state.type;if((r=i)>=39&&r<=59&&(this.prodParam.hasIn||!this.match(58))){let r=Y(i);if(r>s){if(39===i){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}const a=this.startNodeAt(e);a.left=t,a.operator=this.state.value;const n=41===i||42===i,o=40===i;if(o&&(r=Y(42)),this.next(),39===i&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(g.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(i,r);const h=this.finishNode(a,n||o?"LogicalExpression":"BinaryExpression"),p=this.state.type;if(o&&(41===p||42===p)||n&&40===p)throw this.raise(g.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(h,e,s)}}var r;return t}parseExprOpRightExpr(t,e){const s=this.state.startLoc;if(39===t)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(g.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),s)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(e)))}return this.parseExprOpBaseRightExpr(t,e)}parseExprOpBaseRightExpr(t,e){const s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,57===t?e-1:e)}parseHackPipeBody(){var t;const{startLoc:e}=this.state,s=this.parseMaybeAssign();return!d.has(s.type)||null!=(t=s.extra)&&t.parenthesized||this.raise(g.PipeUnparenthesizedBody,{at:e,type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipeTopicUnused,{at:e}),s}checkExponentialAfterUnary(t){this.match(57)&&this.raise(g.UnexpectedTokenUnaryExponentiation,{at:t.argument})}parseMaybeUnary(t,e){const s=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();const t=this.parseAwait(s);return e||this.checkExponentialAfterUnary(t),t}const r=this.match(34),a=this.startNode();if(n=this.state.type,_[n]){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const s=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&s){const t=a.argument;"Identifier"===t.type?this.raise(g.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(t)&&this.raise(g.DeletePrivateField,{at:a})}if(!r)return e||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}var n;const o=this.parseUpdate(a,r,t);if(i){const{type:t}=this.state;if((this.hasPlugin("v8intrinsic")?W(t):W(t)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(g.AwaitNotInAsyncContext,{at:s}),this.parseAwait(s)}return o}parseUpdate(t,e,s){if(e){const e=t;return this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")}),t}const i=this.state.startLoc;let r=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return r;for(;34===this.state.type&&!this.canInsertSemicolon();){const t=this.startNodeAt(i);t.operator=this.state.value,t.prefix=!1,t.argument=r,this.next(),this.checkLVal(r,{in:r=this.finishNode(t,"UpdateExpression")})}return r}parseExprSubscripts(t){const e=this.state.startLoc,s=this.state.potentialArrowAt,i=this.parseExprAtom(t);return this.shouldExitDescending(i,s)?i:this.parseSubscripts(i,e)}parseSubscripts(t,e,s){const i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do{t=this.parseSubscript(t,e,s,i),i.maybeAsyncArrow=!1}while(!i.stop);return t}parseSubscript(t,e,s,i){const{type:r}=this.state;if(!s&&15===r)return this.parseBind(t,e,s,i);if(Q(r))return this.parseTaggedTemplateExpression(t,e,i);let a=!1;if(18===r){if(s&&(this.raise(g.OptionalChainingNoNew,{at:this.state.startLoc}),40===this.lookaheadCharCode()))return i.stop=!0,t;i.optionalChainMember=a=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,i,a);{const s=this.eat(0);return s||a||this.eat(16)?this.parseMember(t,e,i,s,a):(i.stop=!0,t)}}parseMember(t,e,s,i,r){const a=this.startNodeAt(e);return a.object=t,a.computed=i,i?(a.property=this.parseExpression(),this.expect(3)):this.match(136)?("Super"===t.type&&this.raise(g.SuperPrivateField,{at:e}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),s.optionalChainMember?(a.optional=r,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,e,s,i){const r=this.startNodeAt(e);return r.object=t,this.next(),r.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(r,"BindExpression"),e,s)}parseCoverCallAndAsyncArrowHead(t,e,s,i){const r=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=!0,this.next();const n=this.startNodeAt(e);n.callee=t;const{maybeAsyncArrow:o,optionalChainMember:h}=s;o&&(this.expressionScope.enter(new he(2)),a=new de),h&&(n.optional=i),n.arguments=i?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===t.type,"Super"!==t.type,n,a);let p=this.finishCallExpression(n,h);return o&&this.shouldParseAsyncArrow()&&!i?(s.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),p=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),p)):(o&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(p)),this.state.maybeInArrowParameters=r,p}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,s){const i=this.startNodeAt(e);return i.tag=t,i.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(g.OptionalChainingNoTemplate,{at:e}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return"Identifier"===t.type&&"async"===t.name&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&t.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(t,e){if("Import"===t.callee.type)if(2===t.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),0===t.arguments.length||t.arguments.length>2)this.raise(g.ImportCallArity,{at:t,maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const s of t.arguments)"SpreadElement"===s.type&&this.raise(g.ImportCallSpreadArgument,{at:s});return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,s,i,r){const a=[];let n=!0;const o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(n)n=!1;else if(this.expect(12),this.match(t)){!e||this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(g.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),i&&this.addTrailingCommaExtraToNode(i),this.next();break}a.push(this.parseExprListItem(!1,r,s))}return this.state.inFSharpPipelineDirectBody=o,a}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var s;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,null==(s=e.extra)?void 0:s.trailingCommaLoc),e.innerComments&&Ft(t,e.innerComments),e.callee.trailingComments&&Ft(t,e.callee.trailingComments),t}parseNoCallExpr(){const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,s=null;const{type:i}=this.state;switch(i){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(e):(this.match(10)||this.raise(g.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"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:{const t=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(t)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;const t=e.callee=this.parseNoCallExpr();if("MemberExpression"===t.type)return this.finishNode(e,"BindExpression");throw this.raise(g.UnsupportedBind,{at:t})}case 136:return this.raise(g.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:{const t=this.getPluginOption("pipelineOperator","proposal");if(t)return this.parseTopicReference(t);this.unexpected();break}case 47:{const t=this.input.codePointAt(this.nextTokenStart());ot(t)||62===t?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(q(i)){if(this.isContextual(125)&&123===this.lookaheadInLineCharCode())return this.parseModuleExpression();const t=this.state.potentialArrowAt===this.state.start,e=this.state.containsEsc,s=this.parseIdentifier();if(!e&&"async"===s.name&&!this.canInsertSemicolon()){const{type:t}=this.state;if(68===t)return this.resetPreviousNodeTrailingComments(s),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(s));if(q(t))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s)):s;if(90===t)return this.resetPreviousNodeTrailingComments(s),this.parseDo(this.startNodeAtNode(s),!0)}return t&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(s),[s],!1)):s}this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){const s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=a(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(t){const e=this.startNode(),s=this.state.startLoc,i=this.state.type;return this.next(),this.finishTopicReference(e,s,t,i)}finishTopicReference(t,e,s,i){if(this.testTopicReferenceConfiguration(s,e,i)){const i="smart"===s?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===s?g.PrimaryTopicNotAllowed:g.PipeTopicUnbound,{at:e}),this.registerTopicReference(),this.finishNode(t,i)}throw this.raise(g.PipeTopicUnconfiguredToken,{at:e,token:G(i)})}testTopicReferenceConfiguration(t,e,s){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:G(s)}]);case"smart":return 27===s;default:throw this.raise(g.PipeTopicRequiresHackPipes,{at:e})}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(ue(!0,this.prodParam.hasYield));const e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(g.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();const s=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=s,this.finishNode(t,"DoExpression")}parseSuper(){const t=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(g.UnexpectedSuper,{at:t}):this.raise(g.SuperNotAllowed,{at:t}),this.match(10)||this.match(0)||this.match(16)||this.raise(g.UnsupportedSuper,{at:t}),this.finishNode(t,"Super")}parsePrivateName(){const t=this.startNode(),e=this.startNodeAt(a(this.state.startLoc,1)),s=this.state.value;return this.next(),t.id=this.createIdentifier(e,s),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){const t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,s){t.meta=e;const i=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||i)&&this.raise(g.UnsupportedMetaProperty,{at:t.property,target:e.name,onlyValidPropertyName:s}),this.finishNode(t,"MetaProperty")}parseImportMetaProperty(t){const e=this.createIdentifier(this.startNodeAtNode(t),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(g.ImportMetaOutsideModule,{at:e}),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,e,"meta")}parseLiteralAtNode(t,e,s){return this.addExtra(s,"rawValue",t),this.addExtra(s,"raw",this.input.slice(s.start,this.state.end)),s.value=t,this.next(),this.finishNode(s,e)}parseLiteral(t,e){const s=this.startNode();return this.parseLiteralAtNode(t,e,s)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){const e=this.parseLiteral(t.value,"RegExpLiteral");return e.pattern=t.pattern,e.flags=t.flags,e}parseBooleanLiteral(t){const e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){const t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){const e=this.state.startLoc;let s;this.next(),this.expressionScope.enter(new he(1));const i=this.state.maybeInArrowParameters,r=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const a=this.state.startLoc,n=[],o=new de;let h,p,c=!0;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,null===o.optionalParametersLoc?null:o.optionalParametersLoc),this.match(11)){p=this.state.startLoc;break}if(this.match(21)){const t=this.state.startLoc;if(h=this.state.startLoc,n.push(this.parseParenItem(this.parseRestBinding(),t)),!this.checkCommaAfterRest(41))break}else n.push(this.parseMaybeAssignAllowIn(o,this.parseParenItem))}const l=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=r;let u=this.startNodeAt(e);return t&&this.shouldParseArrow(n)&&(u=this.parseArrow(u))?(this.checkDestructuringPrivate(o),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(u,n,!1),u):(this.expressionScope.exit(),n.length||this.unexpected(this.state.lastTokStartLoc),p&&this.unexpected(p),h&&this.unexpected(h),this.checkExpressionErrors(o,!0),this.toReferencedListDeep(n,!0),n.length>1?(s=this.startNodeAt(a),s.expressions=n,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,l)):s=n[0],this.wrapParenthesis(e,s))}wrapParenthesis(t,e){if(!this.options.createParenthesizedExpressions)return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;const s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){const t=this.startNode();if(this.next(),this.match(16)){const e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();const s=this.parseMetaProperty(t,e,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(g.UnexpectedNewTarget,{at:s}),s}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){const e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){t.callee=this.parseNoCallExpr(),"Import"===t.callee.type&&this.raise(g.ImportCallNotNewExpression,{at:t.callee})}parseTemplateElement(t){const{start:e,startLoc:s,end:i,value:r}=this.state,n=e+1,o=this.startNodeAt(a(s,1));null===r&&(t||this.raise(g.InvalidEscapeSequenceTemplate,{at:a(this.state.firstInvalidTemplateEscapePos,1)}));const h=this.match(24),p=h?-1:-2,c=i+p;o.value={raw:this.input.slice(n,c).replace(/\r\n?/g,"\n"),cooked:null===r?null:r.slice(1,p)},o.tail=h,this.next();const l=this.finishNode(o,"TemplateElement");return this.resetEndLocation(l,a(this.state.lastTokEndLoc,p)),l}parseTemplate(t){const e=this.startNode();e.expressions=[];let s=this.parseTemplateElement(t);for(e.quasis=[s];!s.tail;)e.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),e.quasis.push(s=this.parseTemplateElement(t));return this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const a=Object.create(null);let n=!0;const o=this.startNode();for(o.properties=[],this.next();!this.match(t);){if(n)n=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(o);break}let r;e?r=this.parseBindingProperty():(r=this.parsePropertyDefinition(i),this.checkProto(r,s,a,i)),s&&!this.isObjectProperty(r)&&"SpreadElement"!==r.type&&this.raise(g.InvalidRecordProperty,{at:r}),r.shorthand&&this.addExtra(r,"shorthand",!0),o.properties.push(r)}this.next(),this.state.inFSharpPipelineDirectBody=r;let h="ObjectExpression";return e?h="ObjectPattern":s&&(h="RecordExpression"),this.finishNode(o,h)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStart),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&"Identifier"===t.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(g.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());const s=this.startNode();let i,r=!1,a=!1;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(s.decorators=e,e=[]),s.method=!1,t&&(i=this.state.startLoc);let n=this.eat(55);this.parsePropertyNamePrefixOperator(s);const o=this.state.containsEsc,h=this.parsePropertyName(s,t);if(!n&&!o&&this.maybeAsyncOrAccessorProp(s)){const t=h.name;"async"!==t||this.hasPrecedingLineBreak()||(r=!0,this.resetPreviousNodeTrailingComments(h),n=this.eat(55),this.parsePropertyName(s)),"get"!==t&&"set"!==t||(a=!0,this.resetPreviousNodeTrailingComments(h),s.kind=t,this.match(55)&&(n=!0,this.raise(g.AccessorIsGenerator,{at:this.state.curPosition(),kind:t}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,i,n,r,!1,a,t)}getGetterSetterExpectedParamCount(t){return"get"===t.kind?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;const s=this.getGetterSetterExpectedParamCount(t),i=this.getObjectOrClassMethodParams(t);i.length!==s&&this.raise("get"===t.kind?g.BadGetterArity:g.BadSetterArity,{at:t}),"set"===t.kind&&"RestElement"===(null==(e=i[i.length-1])?void 0:e.type)&&this.raise(g.BadSetterRestParameter,{at:t})}parseObjectMethod(t,e,s,i,r){if(r){const s=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(s||e||this.match(10))return i&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,s,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,s,i){if(t.shorthand=!1,this.eat(14))return t.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(t,"ObjectProperty");if(!t.computed&&"Identifier"===t.key.type){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),s)t.value=this.parseMaybeDefault(e,ye(t.key));else if(this.match(29)){const s=this.state.startLoc;null!=i?null===i.shorthandAssignLoc&&(i.shorthandAssignLoc=s):this.raise(g.InvalidCoverInitializedName,{at:s}),t.value=this.parseMaybeDefault(e,ye(t.key))}else t.value=ye(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}parseObjPropValue(t,e,s,i,r,a,n){const o=this.parseObjectMethod(t,s,i,r,a)||this.parseObjectProperty(t,e,r,n);return o||this.unexpected(),o}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:s,value:i}=this.state;let r;if($(s))r=this.parseIdentifier(!0);else switch(s){case 132:r=this.parseNumericLiteral(i);break;case 131:r=this.parseStringLiteral(i);break;case 133:r=this.parseBigIntLiteral(i);break;case 134:r=this.parseDecimalLiteral(i);break;case 136:{const t=this.state.startLoc;null!=e?null===e.privateKeyLoc&&(e.privateKeyLoc=t):this.raise(g.UnexpectedPrivateField,{at:t}),r=this.parsePrivateName();break}default:this.unexpected()}t.key=r,136!==s&&(t.computed=!1)}return t.key}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,s,i,r,a,n=!1){this.initFunction(t,s),t.generator=e,this.scope.enter(18|(n?gt:0)|(r?32:0)),this.prodParam.enter(ue(s,t.generator)),this.parseFunctionParams(t,i);const o=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),o}parseArrayLike(t,e,s,i){s&&this.expectPlugin("recordAndTuple");const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const a=this.startNode();return this.next(),a.elements=this.parseExprList(t,!s,i,a),this.state.inFSharpPipelineDirectBody=r,this.finishNode(a,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,s,i){this.scope.enter(6);let r=ue(s,!1);!this.match(5)&&this.prodParam.hasIn&&(r|=8),this.prodParam.enter(r),this.initFunction(t,s);const a=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,i)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,s){this.toAssignableList(e,s,!1),t.params=e}parseFunctionBodyAndFinish(t,e,s=!1){return this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}parseFunctionBody(t,e,s=!1){const i=e&&!this.match(5);if(this.expressionScope.enter(ce()),i)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{const i=this.state.strict,r=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),t.body=this.parseBlock(!0,!1,(r=>{const a=!this.isSimpleParamList(t.params);r&&a&&this.raise(g.IllegalLanguageModeDirective,{at:"method"!==t.kind&&"constructor"!==t.kind||!t.key?t:t.key.loc.end});const n=!i&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!s&&!a,e,n),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,n)})),this.prodParam.exit(),this.state.labels=r}this.expressionScope.exit()}isSimpleParameter(t){return"Identifier"===t.type}isSimpleParamList(t){for(let e=0,s=t.length;e<s;e++)if(!this.isSimpleParameter(t[e]))return!1;return!0}checkParams(t,e,s,i=!0){const r=!e&&new Set,a={type:"FormalParameters"};for(const n of t.params)this.checkLVal(n,{in:a,binding:5,checkClashes:r,strictModeChanged:i})}parseExprList(t,e,s,i){const r=[];let a=!0;for(;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){i&&this.addTrailingCommaExtraToNode(i),this.next();break}r.push(this.parseExprListItem(e,s))}return r}parseExprListItem(t,e,s){let i;if(this.match(12))t||this.raise(g.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),i=null;else if(this.match(21)){const t=this.state.startLoc;i=this.parseParenItem(this.parseSpread(e),t)}else if(this.match(17)){this.expectPlugin("partialApplication"),s||this.raise(g.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});const t=this.startNode();this.next(),i=this.finishNode(t,"ArgumentPlaceholder")}else i=this.parseMaybeAssignAllowIn(e,this.parseParenItem);return i}parseIdentifier(t){const e=this.startNode(),s=this.parseIdentifierName(t);return this.createIdentifier(e,s)}createIdentifier(t,e){return t.name=e,t.loc.identifierName=e,this.finishNode(t,"Identifier")}parseIdentifierName(t){let e;const{startLoc:s,type:i}=this.state;$(i)?e=this.state.value:this.unexpected();const r=i<=92;return t?r&&this.replaceToken(130):this.checkReservedWord(e,s,r,!1),this.next(),e}checkReservedWord(t,e,s,i){if(t.length>10)return;if(!function(t){return Pt.has(t)}(t))return;if(s&&function(t){return lt.has(t)}(t))return void this.raise(g.UnexpectedKeyword,{at:e,keyword:t});if((this.state.strict?i?xt:ft:mt)(t,this.inModule))this.raise(g.UnexpectedReservedWord,{at:e,reservedWord:t});else if("yield"===t){if(this.prodParam.hasYield)return void this.raise(g.YieldBindingIdentifier,{at:e})}else if("await"===t){if(this.prodParam.hasAwait)return void this.raise(g.AwaitBindingIdentifier,{at:e});if(this.scope.inStaticBlock)return void this.raise(g.AwaitBindingIdentifierInStaticBlock,{at:e});this.expressionScope.recordAsyncArrowParametersError({at:e})}else if("arguments"===t&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(g.ArgumentsInClass,{at:e})}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(t){const e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(g.AwaitExpressionFormalParameter,{at:e}),this.eat(55)&&this.raise(g.ObsoleteAwaitStar,{at:e}),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:t}=this.state;return 53===t||10===t||0===t||Q(t)||101===t&&!this.state.containsEsc||135===t||56===t||this.hasPlugin("v8intrinsic")&&54===t}parseYield(){const t=this.startNode();this.expressionScope.recordParameterInitializerError(g.YieldInParameter,{at:t}),this.next();let e=!1,s=null;if(!this.hasPrecedingLineBreak())switch(e=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!e)break;default:s=this.parseMaybeAssign()}return t.delegate=e,t.argument=s,this.finishNode(t,"YieldExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===t.type&&this.raise(g.PipelineHeadSequenceExpression,{at:e})}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){const s=this.startNodeAt(e);return s.callee=t,this.finishNode(s,"PipelineBareFunction")}{const s=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),s.expression=t,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(g.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipelineTopicUnused,{at:t})}withTopicBindingContext(t){const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return t();{const e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}}withSoloAwaitPermittingContext(t){const e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){const e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(8|e);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){const e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(-9&e);try{return t()}finally{this.prodParam.exit()}}return t()}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(t){const e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=s,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const e=this.startNodeAt(this.state.endLoc);this.next();const s=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{s()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}}{parseTopLevel(t,e){return t.program=this.parseProgram(e),t.comments=this.state.comments,this.options.tokens&&(t.tokens=function(t,e){for(let s=0;s<t.length;s++){const i=t[s],{type:r}=i;if("number"===typeof r){if(136===r){const{loc:e,start:r,value:n,end:o}=i,h=r+1,p=a(e.start,1);t.splice(s,1,new re({type:Z(27),value:"#",start:r,end:h,startLoc:e.start,endLoc:p}),new re({type:Z(130),value:n,start:h,end:o,startLoc:p,endLoc:e.end})),s++;continue}if(Q(r)){const{loc:n,start:o,value:h,end:p}=i,c=o+1,l=a(n.start,1);let u,d,m,f,y;u=96===e.charCodeAt(o)?new re({type:Z(22),value:"`",start:o,end:c,startLoc:n.start,endLoc:l}):new re({type:Z(8),value:"}",start:o,end:c,startLoc:n.start,endLoc:l}),24===r?(m=p-1,f=a(n.end,-1),d=null===h?null:h.slice(1,-1),y=new re({type:Z(22),value:"`",start:m,end:p,startLoc:f,endLoc:n.end})):(m=p-2,f=a(n.end,-2),d=null===h?null:h.slice(1,-2),y=new re({type:Z(23),value:"${",start:m,end:p,startLoc:f,endLoc:n.end})),t.splice(s,1,u,new re({type:Z(20),value:d,start:c,end:m,startLoc:l,endLoc:f}),y),s+=2;continue}i.type=Z(r)}}return t}(this.tokens,this.input)),this.finishNode(t,"File")}parseProgram(t,e=137,s=this.options.sourceType){if(t.sourceType=s,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,e),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[r,a]of Array.from(this.scope.undefinedExports))this.raise(g.ModuleExportUndefined,{at:a,localName:r});let i;return i=137===e?this.finishNode(t,"Program"):this.finishNodeAt(t,"Program",a(this.state.startLoc,-1)),i}stmtToDirective(t){const e=t;e.type="Directive",e.value=e.expression,delete e.expression;const s=e.value,i=s.value,r=this.input.slice(s.start,s.end),a=s.value=r.slice(1,-1);return this.addExtra(s,"raw",r),this.addExtra(s,"rawValue",a),this.addExtra(s,"expressionValue",i),s.type="DirectiveLiteral",e}parseInterpreterDirective(){if(!this.match(28))return null;const t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return!!this.isContextual(99)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(t,e){if(ot(t)){if(Ge.lastIndex=e,Ge.test(this.input)){const t=this.codePointAtPos(Ge.lastIndex);if(!ht(t)&&92!==t)return!1}return!0}return 92===t}chStartsBindingPattern(t){return 91===t||123===t}hasFollowingBindingAtom(){const t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifier(){const t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return this.chStartsBindingIdentifier(e,t)}startsUsingForOf(){const{type:t,containsEsc:e}=this.lookahead();return!(101===t&&!e)&&(q(t)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);const e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){const s=this.state.type,i=this.startNode(),r=!!(2&t),a=!!(4&t),n=1&t;switch(s){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoWhileStatement(i);case 91:return this.parseForStatement(i);case 68:if(46===this.lookaheadCharCode())break;return a||this.raise(this.state.strict?g.StrictFunction:this.options.annexB?g.SloppyFunctionAnnexB:g.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(i,!1,!r&&a);case 80:return r||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,i),!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?r||this.raise(g.UnexpectedLexicalDeclaration,{at:i}):this.raise(g.AwaitUsingNotInAsyncContext,{at:i}),this.next(),this.parseVarStatement(i,"await using");break;case 105:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(g.UnexpectedUsingDeclaration,{at:this.state.startLoc}):r||this.raise(g.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(i,"using");case 99:{if(this.state.containsEsc)break;const t=this.nextTokenStart(),e=this.codePointAtPos(t);if(91!==e){if(!r&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(e,t)&&123!==e)break}}case 75:r||this.raise(g.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{const t=this.state.value;return this.parseVarStatement(i,t)}case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{const t=this.lookaheadCharCode();if(40===t||46===t)break}case 82:{let t;return this.options.allowImportExportEverywhere||n||this.raise(g.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===s?(t=this.parseImport(i),"ImportDeclaration"!==t.type||t.importKind&&"value"!==t.importKind||(this.sawUnambiguousESM=!0)):(t=this.parseExport(i,e),("ExportNamedDeclaration"!==t.type||t.exportKind&&"value"!==t.exportKind)&&("ExportAllDeclaration"!==t.type||t.exportKind&&"value"!==t.exportKind)&&"ExportDefaultDeclaration"!==t.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(t),t}default:if(this.isAsyncFunction())return r||this.raise(g.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(i,!0,!r&&a)}const o=this.state.value,h=this.parseExpression();return q(s)&&"Identifier"===h.type&&this.eat(14)?this.parseLabeledStatement(i,o,h,t):this.parseExpressionStatement(i,h,e)}assertModuleNodeAllowed(t){this.options.allowImportExportEverywhere||this.inModule||this.raise(g.ImportOutsideModule,{at:t})}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(t,e,s){return t&&(e.decorators&&e.decorators.length>0?("boolean"!==typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(g.DecoratorsBeforeAfterExport,{at:e.decorators[0]}),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),s&&this.resetStartLocationFromNode(s,e)),e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){const e=[];do{e.push(this.parseDecorator())}while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(g.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(g.UnexpectedLeadingDecorator,{at:this.state.startLoc});return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const t=this.startNode();if(this.next(),this.hasPlugin("decorators")){const e=this.state.startLoc;let s;if(this.match(10)){const e=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(e,s);const i=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(s),!1===this.getPluginOption("decorators","allowCallParenthesized")&&t.expression!==s&&this.raise(g.DecoratorArgumentsOutsideParentheses,{at:i})}else{for(s=this.parseIdentifier(!1);this.eat(16);){const t=this.startNodeAt(e);t.object=s,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),t.property=this.parsePrivateName()):t.property=this.parseIdentifier(!0),t.computed=!1,s=this.finishNode(t,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(s)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t){if(this.eat(10)){const e=this.startNodeAtNode(t);return e.callee=t,e.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(e.arguments),this.finishNode(e,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let s;for(s=0;s<this.state.labels.length;++s){const i=this.state.labels[s];if(null==t.label||i.name===t.label.name){if(null!=i.kind&&(e||"loop"===i.kind))break;if(t.label&&e)break}}if(s===this.state.labels.length){const s=e?"BreakStatement":"ContinueStatement";this.raise(g.IllegalBreakContinue,{at:t,type:s})}}parseDebuggerStatement(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const t=this.parseExpression();return this.expect(11),t}parseDoWhileStatement(t){return this.next(),this.state.labels.push(We),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(We);let e=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(e=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return null!==e&&this.unexpected(e),this.parseFor(t,null);const s=this.isContextual(99);{const i=this.isContextual(96)&&this.startsAwaitUsing(),r=i||this.isContextual(105)&&this.startsUsingForOf(),a=s&&this.hasFollowingBindingAtom()||r;if(this.match(74)||this.match(75)||a){const s=this.startNode();let a;i?(a="await using",this.isAwaitAllowed()||this.raise(g.AwaitUsingNotInAsyncContext,{at:this.state.startLoc}),this.next()):a=this.state.value,this.next(),this.parseVar(s,!0,a);const n=this.finishNode(s,"VariableDeclaration"),o=this.match(58);return o&&r&&this.raise(g.ForInUsing,{at:n}),(o||this.isContextual(101))&&1===n.declarations.length?this.parseForIn(t,n,e):(null!==e&&this.unexpected(e),this.parseFor(t,n))}}const i=this.isContextual(95),r=new de,a=this.parseExpression(!0,r),n=this.isContextual(101);if(n&&(s&&this.raise(g.ForOfLet,{at:a}),null===e&&i&&"Identifier"===a.type&&this.raise(g.ForOfAsync,{at:a})),n||this.match(58)){this.checkDestructuringPrivate(r),this.toAssignable(a,!0);const s=n?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:s}}),this.parseForIn(t,a,e)}return this.checkExpressionErrors(r,!0),null!==e&&this.unexpected(e),this.parseFor(t,a)}parseFunctionStatement(t,e,s){return this.next(),this.parseFunction(t,1|(s?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(g.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();const e=t.cases=[];let s,i;for(this.expect(5),this.state.labels.push(Je),this.scope.enter(0);!this.match(8);)if(this.match(61)||this.match(65)){const t=this.match(61);s&&this.finishNode(s,"SwitchCase"),e.push(s=this.startNode()),s.consequent=[],this.next(),t?s.test=this.parseExpression():(i&&this.raise(g.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),i=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(g.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){const t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===t.type?8:0),this.checkLVal(t,{in:{type:"CatchClause"},binding:9}),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){const e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,t.handler||t.finalizer||this.raise(g.NoCatchOrFinally,{at:t}),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,s=!1){return this.next(),this.parseVar(t,!1,e,s),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(We),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(g.StrictWith,{at:this.state.startLoc}),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,s,i){for(const n of this.state.labels)n.name===e&&this.raise(g.LabelRedeclaration,{at:s,labelName:e});const r=(a=this.state.type)>=90&&a<=92?"loop":this.match(71)?"switch":null;var a;for(let n=this.state.labels.length-1;n>=0;n--){const e=this.state.labels[n];if(e.statementStart!==t.start)break;e.statementStart=this.state.start,e.kind=r}return this.state.labels.push({name:e,kind:r,statementStart:this.state.start}),t.body=8&i?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=s,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,s){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,s){const i=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(i,t,!1,8,s),e&&this.scope.exit(),this.finishNode(i,"BlockStatement")}isValidDirective(t){return"ExpressionStatement"===t.type&&"StringLiteral"===t.expression.type&&!t.expression.extra.parenthesized}parseBlockBody(t,e,s,i,r){const a=t.body=[],n=t.directives=[];this.parseBlockOrModuleBlockBody(a,e?n:void 0,s,i,r)}parseBlockOrModuleBlockBody(t,e,s,i,r){const a=this.state.strict;let n=!1,o=!1;for(;!this.match(i);){const i=s?this.parseModuleItem():this.parseStatementListItem();if(e&&!o){if(this.isValidDirective(i)){const t=this.stmtToDirective(i);e.push(t),n||"use strict"!==t.value.value||(n=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}t.push(i)}null==r||r.call(this,n),a||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,s){const i=this.match(58);return this.next(),i?null!==s&&this.unexpected(s):t.await=null!==s,"VariableDeclaration"!==e.type||null==e.declarations[0].init||i&&this.options.annexB&&!this.state.strict&&"var"===e.kind&&"Identifier"===e.declarations[0].id.type||this.raise(g.ForInOfLoopInitializer,{at:e,type:i?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===e.type&&this.raise(g.InvalidLhs,{at:e,ancestor:{type:"ForStatement"}}),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")}parseVar(t,e,s,i=!1){const r=t.declarations=[];for(t.kind=s;;){const t=this.startNode();if(this.parseVarId(t,s),t.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==t.init||i||("Identifier"===t.id.type||e&&(this.match(58)||this.isContextual(101))?"const"!==s||this.match(58)||this.isContextual(101)||this.raise(g.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(g.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),r.push(this.finishNode(t,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){const s=this.parseBindingAtom();this.checkLVal(s,{in:{type:"VariableDeclarator"},binding:"var"===e?5:Nt}),t.id=s}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){const s=2&e,i=!!(1&e),r=i&&!(4&e),a=!!(8&e);this.initFunction(t,a),this.match(55)&&(s&&this.raise(g.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),t.generator=!0),i&&(t.id=this.parseFunctionId(r));const n=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(ue(a,t.generator)),i||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(t,i?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),i&&!s&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=n,t}parseFunctionId(t){return t||q(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(new oe(3)),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:Nt:17,t.id.loc.start)}parseClass(t,e,s){this.next();const i=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,i),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(t){return!t.computed&&!t.static&&("constructor"===t.key.name||"constructor"===t.key.value)}parseClassBody(t,e){this.classScope.enter();const s={hadConstructor:!1,hadSuperClass:t};let i=[];const r=this.startNode();if(r.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(i.length>0)throw this.raise(g.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){i.push(this.parseDecorator());continue}const t=this.startNode();i.length&&(t.decorators=i,this.resetStartLocationFromNode(t,i[0]),i=[]),this.parseClassMember(r,t,s),"constructor"===t.kind&&t.decorators&&t.decorators.length>0&&this.raise(g.DecoratorConstructor,{at:t})}})),this.state.strict=e,this.next(),i.length)throw this.raise(g.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(r,"ClassBody")}parseClassMemberFromModifier(t,e){const s=this.parseIdentifier(!0);if(this.isClassMethod()){const i=e;return i.kind="method",i.computed=!1,i.key=s,i.static=!1,this.pushClassMethod(t,i,!1,!1,!1,!1),!0}if(this.isClassProperty()){const i=e;return i.computed=!1,i.key=s,i.static=!1,t.body.push(this.parseClassProperty(i)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(t,e,s){const i=this.isContextual(104);if(i){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5))return void this.parseClassStaticBlock(t,e)}this.parseClassMemberWithIsStatic(t,e,s,i)}parseClassMemberWithIsStatic(t,e,s,i){const r=e,a=e,n=e,o=e,h=e,p=r,c=r;if(e.static=i,this.parsePropertyNamePrefixOperator(e),this.eat(55)){p.kind="method";const e=this.match(136);return this.parseClassElementName(p),e?void this.pushClassPrivateMethod(t,a,!0,!1):(this.isNonstaticConstructor(r)&&this.raise(g.ConstructorIsGenerator,{at:r.key}),void this.pushClassMethod(t,r,!0,!1,!1,!1))}const l=q(this.state.type)&&!this.state.containsEsc,u=this.match(136),d=this.parseClassElementName(e),m=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(p.kind="method",u)return void this.pushClassPrivateMethod(t,a,!1,!1);const i=this.isNonstaticConstructor(r);let n=!1;i&&(r.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(g.DuplicateConstructor,{at:d}),i&&this.hasPlugin("typescript")&&e.override&&this.raise(g.OverrideOnConstructor,{at:d}),s.hadConstructor=!0,n=s.hadSuperClass),this.pushClassMethod(t,r,!1,!1,i,n)}else if(this.isClassProperty())u?this.pushClassPrivateProperty(t,o):this.pushClassProperty(t,n);else if(l&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);const e=this.eat(55);c.optional&&this.unexpected(m),p.kind="method";const s=this.match(136);this.parseClassElementName(p),this.parsePostMemberNameModifiers(c),s?this.pushClassPrivateMethod(t,a,e,!0):(this.isNonstaticConstructor(r)&&this.raise(g.ConstructorIsAsync,{at:r.key}),this.pushClassMethod(t,r,e,!0,!1,!1))}else if(!l||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(l&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);const e=this.match(136);this.parseClassElementName(n),this.pushClassAccessorProperty(t,h,e)}else this.isLineTerminator()?u?this.pushClassPrivateProperty(t,o):this.pushClassProperty(t,n):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),p.kind=d.name;const e=this.match(136);this.parseClassElementName(r),e?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(r)&&this.raise(g.ConstructorIsAccessor,{at:r.key}),this.pushClassMethod(t,r,!1,!1,!1,!1)),this.checkGetterSetterParams(r)}}parseClassElementName(t){const{type:e,value:s}=this.state;if(130!==e&&131!==e||!t.static||"prototype"!==s||this.raise(g.StaticPrototype,{at:this.state.startLoc}),136===e){"constructor"===s&&this.raise(g.ConstructorClassPrivateField,{at:this.state.startLoc});const e=this.parsePrivateName();return t.key=e,e}return this.parsePropertyName(t)}parseClassStaticBlock(t,e){var s;this.scope.enter(208);const i=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const r=e.body=[];this.parseBlockOrModuleBlockBody(r,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=i,t.body.push(this.finishNode(e,"StaticBlock")),null!=(s=e.decorators)&&s.length&&this.raise(g.DecoratorStaticBlock,{at:e})}pushClassProperty(t,e){e.computed||"constructor"!==e.key.name&&"constructor"!==e.key.value||this.raise(g.ConstructorClassField,{at:e.key}),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){const s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(t,e,s){if(!s&&!e.computed){const t=e.key;"constructor"!==t.name&&"constructor"!==t.value||this.raise(g.ConstructorClassField,{at:t})}const i=this.parseClassAccessorProperty(e);t.body.push(i),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassMethod(t,e,s,i,r,a){t.body.push(this.parseMethod(e,s,i,r,a,"ClassMethod",!0))}pushClassPrivateMethod(t,e,s,i){const r=this.parseMethod(e,s,i,!1,!1,"ClassPrivateMethod",!0);t.body.push(r);const a="get"===r.kind?r.static?6:2:"set"===r.kind?r.static?5:1:0;this.declareClassPrivateMethodInScope(r,a)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(80),this.expressionScope.enter(ce()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,s,i=8331){if(q(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,i);else{if(!s&&e)throw this.raise(g.MissingClassName,{at:this.state.startLoc});t.id=null}}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){const s=this.parseMaybeImportPhase(t,!0),i=this.maybeParseExportDefaultSpecifier(t,s),r=!i||this.eat(12),a=r&&this.eatExportStar(t),n=a&&this.maybeParseExportNamespaceSpecifier(t),o=r&&(!n||this.eat(12)),h=i||a;if(a&&!n){if(i&&this.unexpected(),e)throw this.raise(g.UnsupportedDecoratorExport,{at:t});return this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration")}const p=this.maybeParseExportNamedSpecifiers(t);let c;if(i&&r&&!a&&!p&&this.unexpected(null,5),n&&o&&this.unexpected(null,97),h||p){if(c=!1,e)throw this.raise(g.UnsupportedDecoratorExport,{at:t});this.parseExportFrom(t,h)}else c=this.maybeParseExportDeclaration(t);if(h||p||c){var l;const s=t;if(this.checkExport(s,!0,!1,!!s.source),"ClassDeclaration"===(null==(l=s.declaration)?void 0:l.type))this.maybeTakeDecorators(e,s.declaration,s);else if(e)throw this.raise(g.UnsupportedDecoratorExport,{at:t});return this.finishNode(s,"ExportNamedDeclaration")}if(this.eat(65)){const s=t,i=this.parseExportDefaultExpression();if(s.declaration=i,"ClassDeclaration"===i.type)this.maybeTakeDecorators(e,i,s);else if(e)throw this.raise(g.UnsupportedDecoratorExport,{at:t});return this.checkExport(s,!0,!0),this.finishNode(s,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==e?void 0:e.loc.start);const s=e||this.parseIdentifier(!0),i=this.startNodeAtNode(s);return i.exported=s,t.specifiers=[this.finishNode(i,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){t.specifiers||(t.specifiers=[]);const e=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),e.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(e,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){t.specifiers||(t.specifiers=[]);const e="type"===t.exportKind;return t.specifiers.push(...this.parseExportSpecifiers(e)),t.source=null,t.declaration=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),!0}return!1}maybeParseExportDeclaration(t){return!!this.shouldParseExportDeclaration()&&(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;const t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){const t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(g.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(g.UnsupportedDefaultExport,{at:this.state.startLoc});const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){if(this.match(80)){return this.parseClass(this.startNode(),!0,!1)}return this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:t}=this.state;if(q(t)){if(95===t&&!this.state.containsEsc||99===t)return!1;if((128===t||127===t)&&!this.state.containsEsc){const{type:t}=this.lookahead();if(q(t)&&97!==t||5===t)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const e=this.nextTokenStart(),s=this.isUnparsedContextual(e,"from");if(44===this.input.charCodeAt(e)||q(this.state.type)&&s)return!0;if(this.match(65)&&s){const t=this.input.charCodeAt(this.nextTokenStartSince(e+4));return 34===t||39===t}return!1}parseExportFrom(t,e){this.eatContextual(97)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:t}=this.state;return 26===t&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(g.DecoratorBeforeExport,{at:this.state.startLoc}),!0):74===t||75===t||68===t||80===t||this.isLet()||this.isAsyncFunction()}checkExport(t,e,s,i){if(e)if(s){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var r;const e=t.declaration;"Identifier"!==e.type||"from"!==e.name||e.end-e.start!==4||null!=(r=e.extra)&&r.parenthesized||this.raise(g.ExportDefaultFromAsIdentifier,{at:e})}}else if(t.specifiers&&t.specifiers.length)for(const a of t.specifiers){const{exported:t}=a,e="Identifier"===t.type?t.name:t.value;if(this.checkDuplicateExports(a,e),!i&&a.local){const{local:t}=a;"Identifier"!==t.type?this.raise(g.ExportBindingIsString,{at:a,localName:t.value,exportName:e}):(this.checkReservedWord(t.name,t.loc.start,!0,!1),this.scope.checkLocalExport(t))}}else if(t.declaration)if("FunctionDeclaration"===t.declaration.type||"ClassDeclaration"===t.declaration.type){const e=t.declaration.id;if(!e)throw new Error("Assertion failure");this.checkDuplicateExports(t,e.name)}else if("VariableDeclaration"===t.declaration.type)for(const a of t.declaration.declarations)this.checkDeclaration(a.id)}checkDeclaration(t){if("Identifier"===t.type)this.checkDuplicateExports(t,t.name);else if("ObjectPattern"===t.type)for(const e of t.properties)this.checkDeclaration(e);else if("ArrayPattern"===t.type)for(const e of t.elements)e&&this.checkDeclaration(e);else"ObjectProperty"===t.type?this.checkDeclaration(t.value):"RestElement"===t.type?this.checkDeclaration(t.argument):"AssignmentPattern"===t.type&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&("default"===e?this.raise(g.DuplicateDefaultExport,{at:t}):this.raise(g.DuplicateExport,{at:t,exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){const e=[];let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;const i=this.isContextual(128),r=this.match(131),a=this.startNode();a.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(a,r,t,i))}return e}parseExportSpecifier(t,e,s,i){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=xe(t.local):t.exported||(t.exported=ye(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){const t=this.parseStringLiteral(this.state.value),e=t.value.match(Xe);return e&&this.raise(g.ModuleExportNameHasLoneSurrogate,{at:t,surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return null!=t.assertions&&t.assertions.some((({key:t,value:e})=>"json"===e.value&&("Identifier"===t.type?"type"===t.name:"type"===t.value)))}checkImportReflection(t){var e;t.module&&(1===t.specifiers.length&&"ImportDefaultSpecifier"===t.specifiers[0].type||this.raise(g.ImportReflectionNotBinding,{at:t.specifiers[0].loc.start}),(null==(e=t.assertions)?void 0:e.length)>0&&this.raise(g.ImportReflectionHasAssertion,{at:t.specifiers[0].loc.start}))}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&"ExportAllDeclaration"!==t.type){const{specifiers:e}=t;if(null!=e){const t=e.find((t=>{let e;if("ExportSpecifier"===t.type?e=t.local:"ImportSpecifier"===t.type&&(e=t.imported),void 0!==e)return"Identifier"===e.type?"default"!==e.name:"default"!==e.value}));void 0!==t&&this.raise(g.ImportJSONBindingNotDefault,{at:t.loc.start})}}}isPotentialImportPhase(t){return!t&&this.isContextual(125)}applyImportPhase(t,e,s,i){e||("module"===s?(this.expectPlugin("importReflection",i),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;const s=this.parseIdentifier(!0),{type:i}=this.state;return($(i)?97!==i||102===this.lookaheadCharCode():12!==i)?(this.resetPreviousIdentifierLeadingComments(s),this.applyImportPhase(t,e,s.name,s.loc.start),null):(this.applyImportPhase(t,e,null),s)}isPrecedingIdImportPhase(t){const{type:e}=this.state;return q(e)?97!==e||102===this.lookaheadCharCode():12!==e}parseImport(t){return this.match(131)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];const s=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),i=s&&this.maybeParseStarImportSpecifier(t);return s&&!i&&this.parseNamedImportSpecifiers(t),this.expectContextual(97),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){return null!=t.specifiers||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,s){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}finishImportSpecifier(t,e,s=8201){return this.checkLVal(t.local,{in:{type:e},binding:s}),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);const t=[],e=new Set;do{if(this.match(8))break;const s=this.startNode(),i=this.state.value;if(e.has(i)&&this.raise(g.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:i}),e.add(i),this.match(131)?s.key=this.parseStringLiteral(i):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(g.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){const t=[],e=new Set;do{const s=this.startNode();if(s.key=this.parseIdentifier(!0),"type"!==s.key.name&&this.raise(g.ModuleAttributeDifferentFromType,{at:s.key}),e.has(s.key.name)&&this.raise(g.ModuleAttributesWithDuplicateKeys,{at:s.key,key:s.key.name}),e.add(s.key.name),this.expect(14),!this.match(131))throw this.raise(g.ModuleAttributeInvalidValue,{at:this.state.startLoc});s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e,s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),this.hasPlugin("moduleAttributes")?e=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),e=this.parseImportAttributes()),s=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(!0!==this.getPluginOption("importAttributes","deprecatedAssertSyntax")&&this.raise(g.ImportAttributesUseAssert,{at:this.state.startLoc}),this.addExtra(t,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),e=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))e=[];else{if(!this.hasPlugin("moduleAttributes"))return;e=[]}!s&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){const s=this.startNodeAtNode(e);return s.local=e,t.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}return!!$(this.state.type)&&(this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(t){if(this.match(55)){const e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(g.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}const s=this.startNode(),i=this.match(131),r=this.isContextual(128);s.imported=this.parseModuleExportName();const a=this.parseImportSpecifier(s,i,"type"===t.importKind||"typeof"===t.importKind,r,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,e,s,i,r){if(this.eatContextual(93))t.local=this.parseIdentifier();else{const{imported:s}=t;if(e)throw this.raise(g.ImportBindingIsString,{at:t,importName:s.value});this.checkReservedWord(s.name,t.loc.start,!0,!0),t.local||(t.local=ye(s))}return this.finishImportSpecifier(t,"ImportSpecifier",r)}isThisParam(t){return"Identifier"===t.type&&"this"===t.name}}{constructor(t,e){super(t=function(t){if(t&&null!=t.annexB&&!1!==t.annexB)throw new Error("The `annexB` option can only be set to `false`.");const e={};for(const s of Object.keys(Ke))e[s]=t&&null!=t[s]?t[s]:Ke[s];return e}(t),e),this.options=t,this.initializeScopes(),this.plugins=function(t){const e=new Map;for(const s of t){const[t,i]=Array.isArray(s)?s:[s,{}];e.has(t)||e.set(t,i||{})}return e}(this.options.plugins),this.filename=t.sourceFilename}getScopeHandler(){return Lt}parse(){this.enterInitialScopes();const t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t}}const Qe=function(t){const e={};for(const s of Object.keys(t))e[s]=Z(t[s]);return e}(V);function Ze(t,e){let s=Ye;return null!=t&&t.plugins&&(!function(t){if(je(t,"decorators")){if(je(t,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const e=_e(t,"decorators","decoratorsBeforeExport");if(null!=e&&"boolean"!==typeof e)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const s=_e(t,"decorators","allowCallParenthesized");if(null!=s&&"boolean"!==typeof s)throw new Error("'allowCallParenthesized' must be a boolean.")}if(je(t,"flow")&&je(t,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(je(t,"placeholders")&&je(t,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(je(t,"pipelineOperator")){const e=_e(t,"pipelineOperator","proposal");if(!ze.includes(e)){const t=ze.map((t=>`"${t}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${t}.`)}const s=je(t,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===e){if(je(t,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(je(t,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const e=_e(t,"pipelineOperator","topicToken");if(!He.includes(e)){const t=He.map((t=>`"${t}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${t}.`)}if("#"===e&&s)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===e&&s)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(je(t,"moduleAttributes")){if(je(t,"importAssertions")||je(t,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if("may-2020"!==_e(t,"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(je(t,"importAssertions")&&je(t,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(je(t,"recordAndTuple")&&null!=_e(t,"recordAndTuple","syntaxType")&&!Ve.includes(_e(t,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Ve.map((t=>`'${t}'`)).join(", "));if(je(t,"asyncDoExpressions")&&!je(t,"doExpressions")){const t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}}(t.plugins),s=function(t){const e=$e.filter((e=>je(t,e))),s=e.join("/");let i=ts[s];if(!i){i=Ye;for(const t of e)i=qe[t](i);ts[s]=i}return i}(t.plugins)),new s(t,e)}const ts={};e.parse=function(t,e){var s;if("unambiguous"!==(null==(s=e)?void 0:s.sourceType))return Ze(e,t).parse();e=Object.assign({},e);try{e.sourceType="module";const s=Ze(e,t),r=s.parse();if(s.sawUnambiguousESM)return r;if(s.ambiguousScriptDifferentAst)try{return e.sourceType="script",Ze(e,t).parse()}catch(i){}else r.program.sourceType="script";return r}catch(r){try{return e.sourceType="script",Ze(e,t).parse()}catch(a){}throw r}},e.parseExpression=function(t,e){const s=Ze(e,t);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()},e.tokTypes=Qe}}]); \ No newline at end of file diff --git a/out/_next/static/chunks/framework-af5db9a80cf44611.js b/out/_next/static/chunks/framework-af5db9a80cf44611.js new file mode 100644 index 0000000000000000000000000000000000000000..98a93c907fad9cfff36eeaa20d2fa34fba204d09 --- /dev/null +++ b/out/_next/static/chunks/framework-af5db9a80cf44611.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[774],{6188:function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,n.matchToToken=function(e){var n={type:"invalid",value:e[0],closed:void 0};return e[1]?(n.type="string",n.closed=!(!e[3]&&!e[4])):e[5]?n.type="comment":e[6]?(n.type="comment",n.closed=!!e[7]):e[8]?n.type="regex":e[9]?n.type="number":e[10]?n.type="name":e[11]?n.type="punctuator":e[12]&&(n.type="whitespace"),n}},4448:function(e,n,t){"use strict";var r=t(7294),l=t(3840);function a(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,o={};function i(e,n){s(e,n),s(e+"Capture",n)}function s(e,n){for(o[e]=n,e=0;e<n.length;e++)u.add(n[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},m={};function h(e,n,t,r,l,a,u){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=u}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];v[n]=new h(n,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,n,t,r){var l=v.hasOwnProperty(n)?v[n]:null;(null!==l?0!==l.type:r||!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&(function(e,n,t,r){if(null===n||"undefined"===typeof n||function(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(n,t,l,r)&&(t=null),r||null===l?function(e){return!!f.call(m,e)||!f.call(p,e)&&(d.test(e)?m[e]=!0:(p[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=null===t?3!==l.type&&"":t:(n=l.attributeName,r=l.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(l=l.type)||4===l&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var n=e.replace(g,y);v[n]=new h(n,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var n=e.replace(g,y);v[n]=new h(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var n=e.replace(g,y);v[n]=new h(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),P=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),F=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function O(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=M&&e[M]||e["@@iterator"])?e:null}var D,I=Object.assign;function U(e){if(void 0===D)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);D=n&&n[1]||""}return"\n"+D+e}var $=!1;function A(e,n){if(!e||$)return"";$=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(s){var r=s}Reflect.construct(e,[],n)}else{try{n.call()}catch(s){r=s}e.call(n.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var l=s.stack.split("\n"),a=r.stack.split("\n"),u=l.length-1,o=a.length-1;1<=u&&0<=o&&l[u]!==a[o];)o--;for(;1<=u&&0<=o;u--,o--)if(l[u]!==a[o]){if(1!==u||1!==o)do{if(u--,0>--o||l[u]!==a[o]){var i="\n"+l[u].replace(" at new "," at ");return e.displayName&&i.includes("<anonymous>")&&(i=i.replace("<anonymous>",e.displayName)),i}}while(1<=u&&0<=o);break}}}finally{$=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?U(e):""}function V(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=A(e.type,!1);case 11:return e=A(e.type.render,!1);case 1:return e=A(e.type,!0);default:return""}}function j(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case x:return"Fragment";case S:return"Portal";case _:return"Profiler";case E:return"StrictMode";case z:return"Suspense";case T:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case N:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(n=e.displayName||null)?n:j(e.type)||"Memo";case F:n=e._payload,e=e._init;try{return j(e(n))}catch(t){}}return null}function B(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=n.render).displayName||e.name||"",n.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return j(n);case 8:return n===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof n)return n.displayName||n.name||null;if("string"===typeof n)return n}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var n=W(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&"undefined"!==typeof t&&"function"===typeof t.get&&"function"===typeof t.set){var l=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function q(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function Y(e,n){var t=n.checked;return I({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function X(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=H(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function G(e,n){null!=(n=n.checked)&&b(e,"checked",n,!1)}function Z(e,n){G(e,n);var t=H(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");n.hasOwnProperty("value")?ee(e,n.type,t):n.hasOwnProperty("defaultValue")&&ee(e,n.type,H(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function J(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function ee(e,n,t){"number"===n&&K(e.ownerDocument)===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var ne=Array.isArray;function te(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(t=""+H(t),n=null,l=0;l<e.length;l++){if(e[l].value===t)return e[l].selected=!0,void(r&&(e[l].defaultSelected=!0));null!==n||e[l].disabled||(n=e[l])}null!==n&&(n.selected=!0)}}function re(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(a(91));return I({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(a(92));if(ne(t)){if(1<t.length)throw Error(a(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:H(t)}}function ae(e,n){var t=H(n.value),r=H(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function ue(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ie(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var se,ce,fe=(ce=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,n)}))}:ce);function de(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function he(e,n,t){return null==n||"boolean"===typeof n||""===n?"":t||"number"!==typeof n||0===n||pe.hasOwnProperty(e)&&pe[e]?(""+n).trim():n+"px"}function ve(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),l=he(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}Object.keys(pe).forEach((function(e){me.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),pe[n]=pe[e]}))}));var ge=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,n){if(n){if(ge[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(a(60));if("object"!==typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=n.style&&"object"!==typeof n.style)throw Error(a(62))}}function be(e,n){if(-1===e.indexOf("-"))return"string"===typeof n.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ke=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,xe=null,Ee=null;function _e(e){if(e=bl(e)){if("function"!==typeof Se)throw Error(a(280));var n=e.stateNode;n&&(n=wl(n),Se(e.stateNode,e.type,n))}}function Ce(e){xe?Ee?Ee.push(e):Ee=[e]:xe=e}function Pe(){if(xe){var e=xe,n=Ee;if(Ee=xe=null,_e(e),n)for(e=0;e<n.length;e++)_e(n[e])}}function Ne(e,n){return e(n)}function ze(){}var Te=!1;function Le(e,n,t){if(Te)return e(n,t);Te=!0;try{return Ne(e,n,t)}finally{Te=!1,(null!==xe||null!==Ee)&&(ze(),Pe())}}function Fe(e,n){var t=e.stateNode;if(null===t)return null;var r=wl(t);if(null===r)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(t&&"function"!==typeof t)throw Error(a(231,n,typeof t));return t}var Re=!1;if(c)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ce){Re=!1}function Oe(e,n,t,r,l,a,u,o,i){var s=Array.prototype.slice.call(arguments,3);try{n.apply(t,s)}catch(c){this.onError(c)}}var De=!1,Ie=null,Ue=!1,$e=null,Ae={onError:function(e){De=!0,Ie=e}};function Ve(e,n,t,r,l,a,u,o,i){De=!1,Ie=null,Oe.apply(Ae,arguments)}function je(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{0!==(4098&(n=e).flags)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function Be(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&(null!==(e=e.alternate)&&(n=e.memoizedState)),null!==n)return n.dehydrated}return null}function He(e){if(je(e)!==e)throw Error(a(188))}function We(e){return null!==(e=function(e){var n=e.alternate;if(!n){if(null===(n=je(e)))throw Error(a(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(null===l)break;var u=l.alternate;if(null===u){if(null!==(r=l.return)){t=r;continue}break}if(l.child===u.child){for(u=l.child;u;){if(u===t)return He(l),e;if(u===r)return He(l),n;u=u.sibling}throw Error(a(188))}if(t.return!==r.return)t=l,r=u;else{for(var o=!1,i=l.child;i;){if(i===t){o=!0,t=l,r=u;break}if(i===r){o=!0,r=l,t=u;break}i=i.sibling}if(!o){for(i=u.child;i;){if(i===t){o=!0,t=u,r=l;break}if(i===r){o=!0,r=u,t=l;break}i=i.sibling}if(!o)throw Error(a(189))}}if(t.alternate!==r)throw Error(a(190))}if(3!==t.tag)throw Error(a(188));return t.stateNode.current===t?e:n}(e))?Qe(e):null}function Qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var n=Qe(e);if(null!==n)return n;e=e.sibling}return null}var qe=l.unstable_scheduleCallback,Ke=l.unstable_cancelCallback,Ye=l.unstable_shouldYield,Xe=l.unstable_requestPaint,Ge=l.unstable_now,Ze=l.unstable_getCurrentPriorityLevel,Je=l.unstable_ImmediatePriority,en=l.unstable_UserBlockingPriority,nn=l.unstable_NormalPriority,tn=l.unstable_LowPriority,rn=l.unstable_IdlePriority,ln=null,an=null;var un=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(on(e)/sn|0)|0},on=Math.log,sn=Math.LN2;var cn=64,fn=4194304;function dn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pn(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes,u=268435455&t;if(0!==u){var o=u&~l;0!==o?r=dn(o):0!==(a&=u)&&(r=dn(a))}else 0!==(u=t&~l)?r=dn(u):0!==a&&(r=dn(a));if(0===r)return 0;if(0!==n&&n!==r&&0===(n&l)&&((l=r&-r)>=(a=n&-n)||16===l&&0!==(4194240&a)))return n;if(0!==(4&r)&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)l=1<<(t=31-un(n)),r|=e[t],n&=~l;return r}function mn(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;default:return-1}}function hn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vn(){var e=cn;return 0===(4194240&(cn<<=1))&&(cn=64),e}function gn(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function yn(e,n,t){e.pendingLanes|=n,536870912!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-un(n)]=t}function bn(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-un(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var kn=0;function wn(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var Sn,xn,En,_n,Cn,Pn=!1,Nn=[],zn=null,Tn=null,Ln=null,Fn=new Map,Rn=new Map,Mn=[],On="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Dn(e,n){switch(e){case"focusin":case"focusout":zn=null;break;case"dragenter":case"dragleave":Tn=null;break;case"mouseover":case"mouseout":Ln=null;break;case"pointerover":case"pointerout":Fn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rn.delete(n.pointerId)}}function In(e,n,t,r,l,a){return null===e||e.nativeEvent!==a?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:a,targetContainers:[l]},null!==n&&(null!==(n=bl(n))&&xn(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==l&&-1===n.indexOf(l)&&n.push(l),e)}function Un(e){var n=yl(e.target);if(null!==n){var t=je(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=Be(t)))return e.blockedOn=n,void Cn(e.priority,(function(){En(t)}))}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function $n(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=Xn(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=bl(t))&&xn(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);ke=r,t.target.dispatchEvent(r),ke=null,n.shift()}return!0}function An(e,n,t){$n(e)&&t.delete(n)}function Vn(){Pn=!1,null!==zn&&$n(zn)&&(zn=null),null!==Tn&&$n(Tn)&&(Tn=null),null!==Ln&&$n(Ln)&&(Ln=null),Fn.forEach(An),Rn.forEach(An)}function jn(e,n){e.blockedOn===n&&(e.blockedOn=null,Pn||(Pn=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Vn)))}function Bn(e){function n(n){return jn(n,e)}if(0<Nn.length){jn(Nn[0],e);for(var t=1;t<Nn.length;t++){var r=Nn[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==zn&&jn(zn,e),null!==Tn&&jn(Tn,e),null!==Ln&&jn(Ln,e),Fn.forEach(n),Rn.forEach(n),t=0;t<Mn.length;t++)(r=Mn[t]).blockedOn===e&&(r.blockedOn=null);for(;0<Mn.length&&null===(t=Mn[0]).blockedOn;)Un(t),null===t.blockedOn&&Mn.shift()}var Hn=k.ReactCurrentBatchConfig,Wn=!0;function Qn(e,n,t,r){var l=kn,a=Hn.transition;Hn.transition=null;try{kn=1,Kn(e,n,t,r)}finally{kn=l,Hn.transition=a}}function qn(e,n,t,r){var l=kn,a=Hn.transition;Hn.transition=null;try{kn=4,Kn(e,n,t,r)}finally{kn=l,Hn.transition=a}}function Kn(e,n,t,r){if(Wn){var l=Xn(e,n,t,r);if(null===l)Hr(e,n,r,Yn,t),Dn(e,r);else if(function(e,n,t,r,l){switch(n){case"focusin":return zn=In(zn,e,n,t,r,l),!0;case"dragenter":return Tn=In(Tn,e,n,t,r,l),!0;case"mouseover":return Ln=In(Ln,e,n,t,r,l),!0;case"pointerover":var a=l.pointerId;return Fn.set(a,In(Fn.get(a)||null,e,n,t,r,l)),!0;case"gotpointercapture":return a=l.pointerId,Rn.set(a,In(Rn.get(a)||null,e,n,t,r,l)),!0}return!1}(l,e,n,t,r))r.stopPropagation();else if(Dn(e,r),4&n&&-1<On.indexOf(e)){for(;null!==l;){var a=bl(l);if(null!==a&&Sn(a),null===(a=Xn(e,n,t,r))&&Hr(e,n,r,Yn,t),a===l)break;l=a}null!==l&&r.stopPropagation()}else Hr(e,n,r,null,t)}}var Yn=null;function Xn(e,n,t,r){if(Yn=null,null!==(e=yl(e=we(r))))if(null===(n=je(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=Be(n)))return e;e=null}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return Yn=e,null}function Gn(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Je:return 1;case en:return 4;case nn:case tn:return 16;case rn:return 536870912;default:return 16}default:return 16}}var Zn=null,Jn=null,et=null;function nt(){if(et)return et;var e,n,t=Jn,r=t.length,l="value"in Zn?Zn.value:Zn.textContent,a=l.length;for(e=0;e<r&&t[e]===l[e];e++);var u=r-e;for(n=1;n<=u&&t[r-n]===l[a-n];n++);return et=l.slice(e,1<n?1-n:void 0)}function tt(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function rt(){return!0}function lt(){return!1}function at(e){function n(n,t,r,l,a){for(var u in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=l,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(l):l[u]);return this.isDefaultPrevented=(null!=l.defaultPrevented?l.defaultPrevented:!1===l.returnValue)?rt:lt,this.isPropagationStopped=lt,this}return I(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rt)},persist:function(){},isPersistent:rt}),n}var ut,ot,it,st={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ct=at(st),ft=I({},st,{view:0,detail:0}),dt=at(ft),pt=I({},ft,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_t,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==it&&(it&&"mousemove"===e.type?(ut=e.screenX-it.screenX,ot=e.screenY-it.screenY):ot=ut=0,it=e),ut)},movementY:function(e){return"movementY"in e?e.movementY:ot}}),mt=at(pt),ht=at(I({},pt,{dataTransfer:0})),vt=at(I({},ft,{relatedTarget:0})),gt=at(I({},st,{animationName:0,elapsedTime:0,pseudoElement:0})),yt=I({},st,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bt=at(yt),kt=at(I({},st,{data:0})),wt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},St={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Et(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=xt[e])&&!!n[e]}function _t(){return Et}var Ct=I({},ft,{key:function(e){if(e.key){var n=wt[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=tt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?St[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_t,charCode:function(e){return"keypress"===e.type?tt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pt=at(Ct),Nt=at(I({},pt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),zt=at(I({},ft,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_t})),Tt=at(I({},st,{propertyName:0,elapsedTime:0,pseudoElement:0})),Lt=I({},pt,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ft=at(Lt),Rt=[9,13,27,32],Mt=c&&"CompositionEvent"in window,Ot=null;c&&"documentMode"in document&&(Ot=document.documentMode);var Dt=c&&"TextEvent"in window&&!Ot,It=c&&(!Mt||Ot&&8<Ot&&11>=Ot),Ut=String.fromCharCode(32),$t=!1;function At(e,n){switch(e){case"keyup":return-1!==Rt.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vt(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var jt=!1;var Bt={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ht(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!Bt[e.type]:"textarea"===n}function Wt(e,n,t,r){Ce(r),0<(n=Qr(n,"onChange")).length&&(t=new ct("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var Qt=null,qt=null;function Kt(e){Ur(e,0)}function Yt(e){if(q(kl(e)))return e}function Xt(e,n){if("change"===e)return n}var Gt=!1;if(c){var Zt;if(c){var Jt="oninput"in document;if(!Jt){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jt="function"===typeof er.oninput}Zt=Jt}else Zt=!1;Gt=Zt&&(!document.documentMode||9<document.documentMode)}function nr(){Qt&&(Qt.detachEvent("onpropertychange",tr),qt=Qt=null)}function tr(e){if("value"===e.propertyName&&Yt(qt)){var n=[];Wt(n,qt,e,we(e)),Le(Kt,n)}}function rr(e,n,t){"focusin"===e?(nr(),qt=t,(Qt=n).attachEvent("onpropertychange",tr)):"focusout"===e&&nr()}function lr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yt(qt)}function ar(e,n){if("click"===e)return Yt(n)}function ur(e,n){if("input"===e||"change"===e)return Yt(n)}var or="function"===typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e===1/n)||e!==e&&n!==n};function ir(e,n){if(or(e,n))return!0;if("object"!==typeof e||null===e||"object"!==typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var l=t[r];if(!f.call(n,l)||!or(e[l],n[l]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,n){var t,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?fr(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function dr(){for(var e=window,n=K();n instanceof e.HTMLIFrameElement;){try{var t="string"===typeof n.contentWindow.location.href}catch(r){t=!1}if(!t)break;n=K((e=n.contentWindow).document)}return n}function pr(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}function mr(e){var n=dr(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&fr(t.ownerDocument.documentElement,t)){if(null!==r&&pr(t))if(n=r.start,void 0===(e=r.end)&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if((e=(n=t.ownerDocument||document)&&n.defaultView||window).getSelection){e=e.getSelection();var l=t.textContent.length,a=Math.min(r.start,l);r=void 0===r.end?a:Math.min(r.end,l),!e.extend&&a>r&&(l=r,r=a,a=l),l=cr(t,a);var u=cr(t,r);l&&u&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&((n=n.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof t.focus&&t.focus(),t=0;t<n.length;t++)(e=n[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function kr(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;br||null==vr||vr!==K(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ir(yr,r)||(yr=r,0<(r=Qr(gr,"onSelect")).length&&(n=new ct("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=vr)))}function wr(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},xr={},Er={};function _r(e){if(xr[e])return xr[e];if(!Sr[e])return e;var n,t=Sr[e];for(n in t)if(t.hasOwnProperty(n)&&n in Er)return xr[e]=t[n];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Cr=_r("animationend"),Pr=_r("animationiteration"),Nr=_r("animationstart"),zr=_r("transitionend"),Tr=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Fr(e,n){Tr.set(e,n),i(n,[e])}for(var Rr=0;Rr<Lr.length;Rr++){var Mr=Lr[Rr];Fr(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Fr(Cr,"onAnimationEnd"),Fr(Pr,"onAnimationIteration"),Fr(Nr,"onAnimationStart"),Fr("dblclick","onDoubleClick"),Fr("focusin","onFocus"),Fr("focusout","onBlur"),Fr(zr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Or="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Or));function Ir(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,l,u,o,i,s){if(Ve.apply(this,arguments),De){if(!De)throw Error(a(198));var c=Ie;De=!1,Ie=null,Ue||(Ue=!0,$e=c)}}(r,n,void 0,e),e.currentTarget=null}function Ur(e,n){n=0!==(4&n);for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var u=r.length-1;0<=u;u--){var o=r[u],i=o.instance,s=o.currentTarget;if(o=o.listener,i!==a&&l.isPropagationStopped())break e;Ir(l,o,s),a=i}else for(u=0;u<r.length;u++){if(i=(o=r[u]).instance,s=o.currentTarget,o=o.listener,i!==a&&l.isPropagationStopped())break e;Ir(l,o,s),a=i}}}if(Ue)throw e=$e,Ue=!1,$e=null,e}function $r(e,n){var t=n[hl];void 0===t&&(t=n[hl]=new Set);var r=e+"__bubble";t.has(r)||(Br(n,e,2,!1),t.add(r))}function Ar(e,n,t){var r=0;n&&(r|=4),Br(t,e,r,n)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function jr(e){if(!e[Vr]){e[Vr]=!0,u.forEach((function(n){"selectionchange"!==n&&(Dr.has(n)||Ar(n,!1,e),Ar(n,!0,e))}));var n=9===e.nodeType?e:e.ownerDocument;null===n||n[Vr]||(n[Vr]=!0,Ar("selectionchange",!1,n))}}function Br(e,n,t,r){switch(Gn(n)){case 1:var l=Qn;break;case 4:l=qn;break;default:l=Kn}t=l.bind(null,n,t,e),l=void 0,!Re||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(l=!0),r?void 0!==l?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):void 0!==l?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function Hr(e,n,t,r,l){var a=r;if(0===(1&n)&&0===(2&n)&&null!==r)e:for(;;){if(null===r)return;var u=r.tag;if(3===u||4===u){var o=r.stateNode.containerInfo;if(o===l||8===o.nodeType&&o.parentNode===l)break;if(4===u)for(u=r.return;null!==u;){var i=u.tag;if((3===i||4===i)&&((i=u.stateNode.containerInfo)===l||8===i.nodeType&&i.parentNode===l))return;u=u.return}for(;null!==o;){if(null===(u=yl(o)))return;if(5===(i=u.tag)||6===i){r=a=u;continue e}o=o.parentNode}}r=r.return}Le((function(){var r=a,l=we(t),u=[];e:{var o=Tr.get(e);if(void 0!==o){var i=ct,s=e;switch(e){case"keypress":if(0===tt(t))break e;case"keydown":case"keyup":i=Pt;break;case"focusin":s="focus",i=vt;break;case"focusout":s="blur",i=vt;break;case"beforeblur":case"afterblur":i=vt;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":i=mt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":i=ht;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":i=zt;break;case Cr:case Pr:case Nr:i=gt;break;case zr:i=Tt;break;case"scroll":i=dt;break;case"wheel":i=Ft;break;case"copy":case"cut":case"paste":i=bt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":i=Nt}var c=0!==(4&n),f=!c&&"scroll"===e,d=c?null!==o?o+"Capture":null:o;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&(null!=(h=Fe(m,d))&&c.push(Wr(m,h,p)))),f)break;m=m.return}0<c.length&&(o=new i(o,s,null,t,l),u.push({event:o,listeners:c}))}}if(0===(7&n)){if(i="mouseout"===e||"pointerout"===e,(!(o="mouseover"===e||"pointerover"===e)||t===ke||!(s=t.relatedTarget||t.fromElement)||!yl(s)&&!s[ml])&&(i||o)&&(o=l.window===l?l:(o=l.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=r,null!==(s=(s=t.relatedTarget||t.toElement)?yl(s):null)&&(s!==(f=je(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(i=null,s=r),i!==s)){if(c=mt,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nt,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==i?o:kl(i),p=null==s?o:kl(s),(o=new c(h,m+"leave",i,t,l)).target=f,o.relatedTarget=p,h=null,yl(l)===r&&((c=new c(d,m+"enter",s,t,l)).target=p,c.relatedTarget=f,h=c),f=h,i&&s)e:{for(d=s,m=0,p=c=i;p;p=qr(p))m++;for(p=0,h=d;h;h=qr(h))p++;for(;0<m-p;)c=qr(c),m--;for(;0<p-m;)d=qr(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=qr(c),d=qr(d)}c=null}else c=null;null!==i&&Kr(u,o,i,c,!1),null!==s&&null!==f&&Kr(u,f,s,c,!0)}if("select"===(i=(o=r?kl(r):window).nodeName&&o.nodeName.toLowerCase())||"input"===i&&"file"===o.type)var v=Xt;else if(Ht(o))if(Gt)v=ur;else{v=lr;var g=rr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(v=ar);switch(v&&(v=v(e,r))?Wt(u,v,t,l):(g&&g(e,o,r),"focusout"===e&&(g=o._wrapperState)&&g.controlled&&"number"===o.type&&ee(o,"number",o.value)),g=r?kl(r):window,e){case"focusin":(Ht(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,kr(u,t,l);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":kr(u,t,l)}var y;if(Mt)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else jt?At(e,t)&&(b="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(b="onCompositionStart");b&&(It&&"ko"!==t.locale&&(jt||"onCompositionStart"!==b?"onCompositionEnd"===b&&jt&&(y=nt()):(Jn="value"in(Zn=l)?Zn.value:Zn.textContent,jt=!0)),0<(g=Qr(r,b)).length&&(b=new kt(b,e,null,t,l),u.push({event:b,listeners:g}),y?b.data=y:null!==(y=Vt(t))&&(b.data=y))),(y=Dt?function(e,n){switch(e){case"compositionend":return Vt(n);case"keypress":return 32!==n.which?null:($t=!0,Ut);case"textInput":return(e=n.data)===Ut&&$t?null:e;default:return null}}(e,t):function(e,n){if(jt)return"compositionend"===e||!Mt&&At(e,n)?(e=nt(),et=Jn=Zn=null,jt=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return It&&"ko"!==n.locale?null:n.data}}(e,t))&&(0<(r=Qr(r,"onBeforeInput")).length&&(l=new kt("onBeforeInput","beforeinput",null,t,l),u.push({event:l,listeners:r}),l.data=y))}Ur(u,n)}))}function Wr(e,n,t){return{instance:e,listener:n,currentTarget:t}}function Qr(e,n){for(var t=n+"Capture",r=[];null!==e;){var l=e,a=l.stateNode;5===l.tag&&null!==a&&(l=a,null!=(a=Fe(e,t))&&r.unshift(Wr(e,a,l)),null!=(a=Fe(e,n))&&r.push(Wr(e,a,l))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,n,t,r,l){for(var a=n._reactName,u=[];null!==t&&t!==r;){var o=t,i=o.alternate,s=o.stateNode;if(null!==i&&i===r)break;5===o.tag&&null!==s&&(o=s,l?null!=(i=Fe(t,a))&&u.unshift(Wr(t,i,o)):l||null!=(i=Fe(t,a))&&u.push(Wr(t,i,o))),t=t.return}0!==u.length&&e.push({event:n,listeners:u})}var Yr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Gr(e){return("string"===typeof e?e:""+e).replace(Yr,"\n").replace(Xr,"")}function Zr(e,n,t){if(n=Gr(n),Gr(e)!==n&&t)throw Error(a(425))}function Jr(){}var el=null,nl=null;function tl(e,n){return"textarea"===e||"noscript"===e||"string"===typeof n.children||"number"===typeof n.children||"object"===typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var rl="function"===typeof setTimeout?setTimeout:void 0,ll="function"===typeof clearTimeout?clearTimeout:void 0,al="function"===typeof Promise?Promise:void 0,ul="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof al?function(e){return al.resolve(null).then(e).catch(ol)}:rl;function ol(e){setTimeout((function(){throw e}))}function il(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&8===l.nodeType)if("/$"===(t=l.data)){if(0===r)return e.removeChild(l),void Bn(n);r--}else"$"!==t&&"$?"!==t&&"$!"!==t||r++;t=l}while(t);Bn(n)}function sl(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function cl(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}var fl=Math.random().toString(36).slice(2),dl="__reactFiber$"+fl,pl="__reactProps$"+fl,ml="__reactContainer$"+fl,hl="__reactEvents$"+fl,vl="__reactListeners$"+fl,gl="__reactHandles$"+fl;function yl(e){var n=e[dl];if(n)return n;for(var t=e.parentNode;t;){if(n=t[ml]||t[dl]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=cl(e);null!==e;){if(t=e[dl])return t;e=cl(e)}return n}t=(e=t).parentNode}return null}function bl(e){return!(e=e[dl]||e[ml])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function kl(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function wl(e){return e[pl]||null}var Sl=[],xl=-1;function El(e){return{current:e}}function _l(e){0>xl||(e.current=Sl[xl],Sl[xl]=null,xl--)}function Cl(e,n){xl++,Sl[xl]=e.current,e.current=n}var Pl={},Nl=El(Pl),zl=El(!1),Tl=Pl;function Ll(e,n){var t=e.type.contextTypes;if(!t)return Pl;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in t)a[l]=n[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function Fl(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Rl(){_l(zl),_l(Nl)}function Ml(e,n,t){if(Nl.current!==Pl)throw Error(a(168));Cl(Nl,n),Cl(zl,t)}function Ol(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!==typeof r.getChildContext)return t;for(var l in r=r.getChildContext())if(!(l in n))throw Error(a(108,B(e)||"Unknown",l));return I({},t,r)}function Dl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pl,Tl=Nl.current,Cl(Nl,e),Cl(zl,zl.current),!0}function Il(e,n,t){var r=e.stateNode;if(!r)throw Error(a(169));t?(e=Ol(e,n,Tl),r.__reactInternalMemoizedMergedChildContext=e,_l(zl),_l(Nl),Cl(Nl,e)):_l(zl),Cl(zl,t)}var Ul=null,$l=!1,Al=!1;function Vl(e){null===Ul?Ul=[e]:Ul.push(e)}function jl(){if(!Al&&null!==Ul){Al=!0;var e=0,n=kn;try{var t=Ul;for(kn=1;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}Ul=null,$l=!1}catch(l){throw null!==Ul&&(Ul=Ul.slice(e+1)),qe(Je,jl),l}finally{kn=n,Al=!1}}return null}var Bl=[],Hl=0,Wl=null,Ql=0,ql=[],Kl=0,Yl=null,Xl=1,Gl="";function Zl(e,n){Bl[Hl++]=Ql,Bl[Hl++]=Wl,Wl=e,Ql=n}function Jl(e,n,t){ql[Kl++]=Xl,ql[Kl++]=Gl,ql[Kl++]=Yl,Yl=e;var r=Xl;e=Gl;var l=32-un(r)-1;r&=~(1<<l),t+=1;var a=32-un(n)+l;if(30<a){var u=l-l%5;a=(r&(1<<u)-1).toString(32),r>>=u,l-=u,Xl=1<<32-un(n)+l|t<<l|r,Gl=a+e}else Xl=1<<a|t<<l|r,Gl=e}function ea(e){null!==e.return&&(Zl(e,1),Jl(e,1,0))}function na(e){for(;e===Wl;)Wl=Bl[--Hl],Bl[Hl]=null,Ql=Bl[--Hl],Bl[Hl]=null;for(;e===Yl;)Yl=ql[--Kl],ql[Kl]=null,Gl=ql[--Kl],ql[Kl]=null,Xl=ql[--Kl],ql[Kl]=null}var ta=null,ra=null,la=!1,aa=null;function ua(e,n){var t=Ls(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)}function oa(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,ta=e,ra=sl(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,ta=e,ra=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(t=null!==Yl?{id:Xl,overflow:Gl}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},(t=Ls(18,null,null,0)).stateNode=n,t.return=e,e.child=t,ta=e,ra=null,!0);default:return!1}}function ia(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function sa(e){if(la){var n=ra;if(n){var t=n;if(!oa(e,n)){if(ia(e))throw Error(a(418));n=sl(t.nextSibling);var r=ta;n&&oa(e,n)?ua(r,t):(e.flags=-4097&e.flags|2,la=!1,ta=e)}}else{if(ia(e))throw Error(a(418));e.flags=-4097&e.flags|2,la=!1,ta=e}}}function ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ta=e}function fa(e){if(e!==ta)return!1;if(!la)return ca(e),la=!0,!1;var n;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!tl(e.type,e.memoizedProps)),n&&(n=ra)){if(ia(e))throw da(),Error(a(418));for(;n;)ua(e,n),n=sl(n.nextSibling)}if(ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var t=e.data;if("/$"===t){if(0===n){ra=sl(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}ra=null}}else ra=ta?sl(e.stateNode.nextSibling):null;return!0}function da(){for(var e=ra;e;)e=sl(e.nextSibling)}function pa(){ra=ta=null,la=!1}function ma(e){null===aa?aa=[e]:aa.push(e)}var ha=k.ReactCurrentBatchConfig;function va(e,n){if(e&&e.defaultProps){for(var t in n=I({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}return n}var ga=El(null),ya=null,ba=null,ka=null;function wa(){ka=ba=ya=null}function Sa(e){var n=ga.current;_l(ga),e._currentValue=n}function xa(e,n,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==r&&(r.childLanes|=n)):null!==r&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Ea(e,n){ya=e,ka=ba=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&n)&&(ko=!0),e.firstContext=null)}function _a(e){var n=e._currentValue;if(ka!==e)if(e={context:e,memoizedValue:n,next:null},null===ba){if(null===ya)throw Error(a(308));ba=e,ya.dependencies={lanes:0,firstContext:e}}else ba=ba.next=e;return n}var Ca=null;function Pa(e){null===Ca?Ca=[e]:Ca.push(e)}function Na(e,n,t,r){var l=n.interleaved;return null===l?(t.next=t,Pa(n)):(t.next=l.next,l.next=t),n.interleaved=t,za(e,r)}function za(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}var Ta=!1;function La(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fa(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ra(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function Ma(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ni)){var l=r.pending;return null===l?n.next=n:(n.next=l.next,l.next=n),r.pending=n,za(e,t)}return null===(l=r.interleaved)?(n.next=n,Pa(r)):(n.next=l.next,l.next=n),r.interleaved=n,za(e,t)}function Oa(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!==(4194240&t))){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,bn(e,t)}}function Da(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var l=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?l=a=u:a=a.next=u,t=t.next}while(null!==t);null===a?l=a=n:a=a.next=n}else l=a=n;return t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Ia(e,n,t,r){var l=e.updateQueue;Ta=!1;var a=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(null!==o){l.shared.pending=null;var i=o,s=i.next;i.next=null,null===u?a=s:u.next=s,u=i;var c=e.alternate;null!==c&&((o=(c=c.updateQueue).lastBaseUpdate)!==u&&(null===o?c.firstBaseUpdate=s:o.next=s,c.lastBaseUpdate=i))}if(null!==a){var f=l.baseState;for(u=0,c=s=i=null,o=a;;){var d=o.lane,p=o.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var m=e,h=o;switch(d=n,p=t,h.tag){case 1:if("function"===typeof(m=h.payload)){f=m.call(p,f,d);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null===(d="function"===typeof(m=h.payload)?m.call(p,f,d):m)||void 0===d)break e;f=I({},f,d);break e;case 2:Ta=!0}}null!==o.callback&&0!==o.lane&&(e.flags|=64,null===(d=l.effects)?l.effects=[o]:d.push(o))}else p={eventTime:p,lane:d,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(s=c=p,i=f):c=c.next=p,u|=d;if(null===(o=o.next)){if(null===(o=l.shared.pending))break;o=(d=o).next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null}}if(null===c&&(i=f),l.baseState=i,l.firstBaseUpdate=s,l.lastBaseUpdate=c,null!==(n=l.shared.interleaved)){l=n;do{u|=l.lane,l=l.next}while(l!==n)}else null===a&&(l.shared.lanes=0);Di|=u,e.lanes=u,e.memoizedState=f}}function Ua(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(null!==l){if(r.callback=null,r=t,"function"!==typeof l)throw Error(a(191,l));l.call(r)}}}var $a=(new r.Component).refs;function Aa(e,n,t,r){t=null===(t=t(r,n=e.memoizedState))||void 0===t?n:I({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var Va={isMounted:function(e){return!!(e=e._reactInternals)&&je(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=es(),l=ns(e),a=Ra(r,l);a.payload=n,void 0!==t&&null!==t&&(a.callback=t),null!==(n=Ma(e,a,l))&&(ts(n,e,l,r),Oa(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=es(),l=ns(e),a=Ra(r,l);a.tag=1,a.payload=n,void 0!==t&&null!==t&&(a.callback=t),null!==(n=Ma(e,a,l))&&(ts(n,e,l,r),Oa(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=es(),r=ns(e),l=Ra(t,r);l.tag=2,void 0!==n&&null!==n&&(l.callback=n),null!==(n=Ma(e,l,r))&&(ts(n,e,r,t),Oa(n,e,r))}};function ja(e,n,t,r,l,a,u){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,u):!n.prototype||!n.prototype.isPureReactComponent||(!ir(t,r)||!ir(l,a))}function Ba(e,n,t){var r=!1,l=Pl,a=n.contextType;return"object"===typeof a&&null!==a?a=_a(a):(l=Fl(n)?Tl:Nl.current,a=(r=null!==(r=n.contextTypes)&&void 0!==r)?Ll(e,l):Pl),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=Va,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),n}function Ha(e,n,t,r){e=n.state,"function"===typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"===typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&Va.enqueueReplaceState(n,n.state,null)}function Wa(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs=$a,La(e);var a=n.contextType;"object"===typeof a&&null!==a?l.context=_a(a):(a=Fl(n)?Tl:Nl.current,l.context=Ll(e,a)),l.state=e.memoizedState,"function"===typeof(a=n.getDerivedStateFromProps)&&(Aa(e,n,a,t),l.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof l.getSnapshotBeforeUpdate||"function"!==typeof l.UNSAFE_componentWillMount&&"function"!==typeof l.componentWillMount||(n=l.state,"function"===typeof l.componentWillMount&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),n!==l.state&&Va.enqueueReplaceState(l,l.state,null),Ia(e,t,l,r),l.state=e.memoizedState),"function"===typeof l.componentDidMount&&(e.flags|=4194308)}function Qa(e,n,t){if(null!==(e=t.ref)&&"function"!==typeof e&&"object"!==typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(a(309));var r=t.stateNode}if(!r)throw Error(a(147,e));var l=r,u=""+e;return null!==n&&null!==n.ref&&"function"===typeof n.ref&&n.ref._stringRef===u?n.ref:(n=function(e){var n=l.refs;n===$a&&(n=l.refs={}),null===e?delete n[u]:n[u]=e},n._stringRef=u,n)}if("string"!==typeof e)throw Error(a(284));if(!t._owner)throw Error(a(290,e))}return e}function qa(e,n){throw e=Object.prototype.toString.call(n),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Ka(e){return(0,e._init)(e._payload)}function Ya(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t)}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function l(e,n){return(e=Rs(e,n)).index=0,e.sibling=null,e}function u(n,t,r){return n.index=r,e?null!==(r=n.alternate)?(r=r.index)<t?(n.flags|=2,t):r:(n.flags|=2,t):(n.flags|=1048576,t)}function o(n){return e&&null===n.alternate&&(n.flags|=2),n}function i(e,n,t,r){return null===n||6!==n.tag?((n=Is(t,e.mode,r)).return=e,n):((n=l(n,t)).return=e,n)}function s(e,n,t,r){var a=t.type;return a===x?f(e,n,t.props.children,r,t.key):null!==n&&(n.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===F&&Ka(a)===n.type)?((r=l(n,t.props)).ref=Qa(e,n,t),r.return=e,r):((r=Ms(t.type,t.key,t.props,null,e.mode,r)).ref=Qa(e,n,t),r.return=e,r)}function c(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=Us(t,e.mode,r)).return=e,n):((n=l(n,t.children||[])).return=e,n)}function f(e,n,t,r,a){return null===n||7!==n.tag?((n=Os(t,e.mode,r,a)).return=e,n):((n=l(n,t)).return=e,n)}function d(e,n,t){if("string"===typeof n&&""!==n||"number"===typeof n)return(n=Is(""+n,e.mode,t)).return=e,n;if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return(t=Ms(n.type,n.key,n.props,null,e.mode,t)).ref=Qa(e,null,n),t.return=e,t;case S:return(n=Us(n,e.mode,t)).return=e,n;case F:return d(e,(0,n._init)(n._payload),t)}if(ne(n)||O(n))return(n=Os(n,e.mode,t,null)).return=e,n;qa(e,n)}return null}function p(e,n,t,r){var l=null!==n?n.key:null;if("string"===typeof t&&""!==t||"number"===typeof t)return null!==l?null:i(e,n,""+t,r);if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return t.key===l?s(e,n,t,r):null;case S:return t.key===l?c(e,n,t,r):null;case F:return p(e,n,(l=t._init)(t._payload),r)}if(ne(t)||O(t))return null!==l?null:f(e,n,t,r,null);qa(e,t)}return null}function m(e,n,t,r,l){if("string"===typeof r&&""!==r||"number"===typeof r)return i(n,e=e.get(t)||null,""+r,l);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return s(n,e=e.get(null===r.key?t:r.key)||null,r,l);case S:return c(n,e=e.get(null===r.key?t:r.key)||null,r,l);case F:return m(e,n,t,(0,r._init)(r._payload),l)}if(ne(r)||O(r))return f(n,e=e.get(t)||null,r,l,null);qa(n,r)}return null}function h(l,a,o,i){for(var s=null,c=null,f=a,h=a=0,v=null;null!==f&&h<o.length;h++){f.index>h?(v=f,f=null):v=f.sibling;var g=p(l,f,o[h],i);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&n(l,f),a=u(g,a,h),null===c?s=g:c.sibling=g,c=g,f=v}if(h===o.length)return t(l,f),la&&Zl(l,h),s;if(null===f){for(;h<o.length;h++)null!==(f=d(l,o[h],i))&&(a=u(f,a,h),null===c?s=f:c.sibling=f,c=f);return la&&Zl(l,h),s}for(f=r(l,f);h<o.length;h++)null!==(v=m(f,l,h,o[h],i))&&(e&&null!==v.alternate&&f.delete(null===v.key?h:v.key),a=u(v,a,h),null===c?s=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return n(l,e)})),la&&Zl(l,h),s}function v(l,o,i,s){var c=O(i);if("function"!==typeof c)throw Error(a(150));if(null==(i=c.call(i)))throw Error(a(151));for(var f=c=null,h=o,v=o=0,g=null,y=i.next();null!==h&&!y.done;v++,y=i.next()){h.index>v?(g=h,h=null):g=h.sibling;var b=p(l,h,y.value,s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&n(l,h),o=u(b,o,v),null===f?c=b:f.sibling=b,f=b,h=g}if(y.done)return t(l,h),la&&Zl(l,v),c;if(null===h){for(;!y.done;v++,y=i.next())null!==(y=d(l,y.value,s))&&(o=u(y,o,v),null===f?c=y:f.sibling=y,f=y);return la&&Zl(l,v),c}for(h=r(l,h);!y.done;v++,y=i.next())null!==(y=m(h,l,v,y.value,s))&&(e&&null!==y.alternate&&h.delete(null===y.key?v:y.key),o=u(y,o,v),null===f?c=y:f.sibling=y,f=y);return e&&h.forEach((function(e){return n(l,e)})),la&&Zl(l,v),c}return function e(r,a,u,i){if("object"===typeof u&&null!==u&&u.type===x&&null===u.key&&(u=u.props.children),"object"===typeof u&&null!==u){switch(u.$$typeof){case w:e:{for(var s=u.key,c=a;null!==c;){if(c.key===s){if((s=u.type)===x){if(7===c.tag){t(r,c.sibling),(a=l(c,u.props.children)).return=r,r=a;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===F&&Ka(s)===c.type){t(r,c.sibling),(a=l(c,u.props)).ref=Qa(r,c,u),a.return=r,r=a;break e}t(r,c);break}n(r,c),c=c.sibling}u.type===x?((a=Os(u.props.children,r.mode,i,u.key)).return=r,r=a):((i=Ms(u.type,u.key,u.props,null,r.mode,i)).ref=Qa(r,a,u),i.return=r,r=i)}return o(r);case S:e:{for(c=u.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===u.containerInfo&&a.stateNode.implementation===u.implementation){t(r,a.sibling),(a=l(a,u.children||[])).return=r,r=a;break e}t(r,a);break}n(r,a),a=a.sibling}(a=Us(u,r.mode,i)).return=r,r=a}return o(r);case F:return e(r,a,(c=u._init)(u._payload),i)}if(ne(u))return h(r,a,u,i);if(O(u))return v(r,a,u,i);qa(r,u)}return"string"===typeof u&&""!==u||"number"===typeof u?(u=""+u,null!==a&&6===a.tag?(t(r,a.sibling),(a=l(a,u)).return=r,r=a):(t(r,a),(a=Is(u,r.mode,i)).return=r,r=a),o(r)):t(r,a)}}var Xa=Ya(!0),Ga=Ya(!1),Za={},Ja=El(Za),eu=El(Za),nu=El(Za);function tu(e){if(e===Za)throw Error(a(174));return e}function ru(e,n){switch(Cl(nu,n),Cl(eu,e),Cl(Ja,Za),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ie(null,"");break;default:n=ie(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}_l(Ja),Cl(Ja,n)}function lu(){_l(Ja),_l(eu),_l(nu)}function au(e){tu(nu.current);var n=tu(Ja.current),t=ie(n,e.type);n!==t&&(Cl(eu,e),Cl(Ja,t))}function uu(e){eu.current===e&&(_l(Ja),_l(eu))}var ou=El(0);function iu(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!==(128&n.flags))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var su=[];function cu(){for(var e=0;e<su.length;e++)su[e]._workInProgressVersionPrimary=null;su.length=0}var fu=k.ReactCurrentDispatcher,du=k.ReactCurrentBatchConfig,pu=0,mu=null,hu=null,vu=null,gu=!1,yu=!1,bu=0,ku=0;function wu(){throw Error(a(321))}function Su(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!or(e[t],n[t]))return!1;return!0}function xu(e,n,t,r,l,u){if(pu=u,mu=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,fu.current=null===e||null===e.memoizedState?uo:oo,e=t(r,l),yu){u=0;do{if(yu=!1,bu=0,25<=u)throw Error(a(301));u+=1,vu=hu=null,n.updateQueue=null,fu.current=io,e=t(r,l)}while(yu)}if(fu.current=ao,n=null!==hu&&null!==hu.next,pu=0,vu=hu=mu=null,gu=!1,n)throw Error(a(300));return e}function Eu(){var e=0!==bu;return bu=0,e}function _u(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===vu?mu.memoizedState=vu=e:vu=vu.next=e,vu}function Cu(){if(null===hu){var e=mu.alternate;e=null!==e?e.memoizedState:null}else e=hu.next;var n=null===vu?mu.memoizedState:vu.next;if(null!==n)vu=n,hu=e;else{if(null===e)throw Error(a(310));e={memoizedState:(hu=e).memoizedState,baseState:hu.baseState,baseQueue:hu.baseQueue,queue:hu.queue,next:null},null===vu?mu.memoizedState=vu=e:vu=vu.next=e}return vu}function Pu(e,n){return"function"===typeof n?n(e):n}function Nu(e){var n=Cu(),t=n.queue;if(null===t)throw Error(a(311));t.lastRenderedReducer=e;var r=hu,l=r.baseQueue,u=t.pending;if(null!==u){if(null!==l){var o=l.next;l.next=u.next,u.next=o}r.baseQueue=l=u,t.pending=null}if(null!==l){u=l.next,r=r.baseState;var i=o=null,s=null,c=u;do{var f=c.lane;if((pu&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(i=s=d,o=r):s=s.next=d,mu.lanes|=f,Di|=f}c=c.next}while(null!==c&&c!==u);null===s?o=r:s.next=i,or(r,n.memoizedState)||(ko=!0),n.memoizedState=r,n.baseState=o,n.baseQueue=s,t.lastRenderedState=r}if(null!==(e=t.interleaved)){l=e;do{u=l.lane,mu.lanes|=u,Di|=u,l=l.next}while(l!==e)}else null===l&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function zu(e){var n=Cu(),t=n.queue;if(null===t)throw Error(a(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,u=n.memoizedState;if(null!==l){t.pending=null;var o=l=l.next;do{u=e(u,o.action),o=o.next}while(o!==l);or(u,n.memoizedState)||(ko=!0),n.memoizedState=u,null===n.baseQueue&&(n.baseState=u),t.lastRenderedState=u}return[u,r]}function Tu(){}function Lu(e,n){var t=mu,r=Cu(),l=n(),u=!or(r.memoizedState,l);if(u&&(r.memoizedState=l,ko=!0),r=r.queue,Bu(Mu.bind(null,t,r,e),[e]),r.getSnapshot!==n||u||null!==vu&&1&vu.memoizedState.tag){if(t.flags|=2048,Uu(9,Ru.bind(null,t,r,l,n),void 0,null),null===zi)throw Error(a(349));0!==(30&pu)||Fu(t,n,l)}return l}function Fu(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=mu.updateQueue)?(n={lastEffect:null,stores:null},mu.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function Ru(e,n,t,r){n.value=t,n.getSnapshot=r,Ou(n)&&Du(e)}function Mu(e,n,t){return t((function(){Ou(n)&&Du(e)}))}function Ou(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!or(e,t)}catch(r){return!0}}function Du(e){var n=za(e,1);null!==n&&ts(n,e,1,-1)}function Iu(e){var n=_u();return"function"===typeof e&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pu,lastRenderedState:e},n.queue=e,e=e.dispatch=no.bind(null,mu,e),[n.memoizedState,e]}function Uu(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=mu.updateQueue)?(n={lastEffect:null,stores:null},mu.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function $u(){return Cu().memoizedState}function Au(e,n,t,r){var l=_u();mu.flags|=e,l.memoizedState=Uu(1|n,t,void 0,void 0===r?null:r)}function Vu(e,n,t,r){var l=Cu();r=void 0===r?null:r;var a=void 0;if(null!==hu){var u=hu.memoizedState;if(a=u.destroy,null!==r&&Su(r,u.deps))return void(l.memoizedState=Uu(n,t,a,r))}mu.flags|=e,l.memoizedState=Uu(1|n,t,a,r)}function ju(e,n){return Au(8390656,8,e,n)}function Bu(e,n){return Vu(2048,8,e,n)}function Hu(e,n){return Vu(4,2,e,n)}function Wu(e,n){return Vu(4,4,e,n)}function Qu(e,n){return"function"===typeof n?(e=e(),n(e),function(){n(null)}):null!==n&&void 0!==n?(e=e(),n.current=e,function(){n.current=null}):void 0}function qu(e,n,t){return t=null!==t&&void 0!==t?t.concat([e]):null,Vu(4,4,Qu.bind(null,n,e),t)}function Ku(){}function Yu(e,n){var t=Cu();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&Su(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Xu(e,n){var t=Cu();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&Su(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Gu(e,n,t){return 0===(21&pu)?(e.baseState&&(e.baseState=!1,ko=!0),e.memoizedState=t):(or(t,n)||(t=vn(),mu.lanes|=t,Di|=t,e.baseState=!0),n)}function Zu(e,n){var t=kn;kn=0!==t&&4>t?t:4,e(!0);var r=du.transition;du.transition={};try{e(!1),n()}finally{kn=t,du.transition=r}}function Ju(){return Cu().memoizedState}function eo(e,n,t){var r=ns(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},to(e))ro(n,t);else if(null!==(t=Na(e,n,t,r))){ts(t,e,r,es()),lo(t,n,r)}}function no(e,n,t){var r=ns(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(to(e))ro(n,l);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=n.lastRenderedReducer))try{var u=n.lastRenderedState,o=a(u,t);if(l.hasEagerState=!0,l.eagerState=o,or(o,u)){var i=n.interleaved;return null===i?(l.next=l,Pa(n)):(l.next=i.next,i.next=l),void(n.interleaved=l)}}catch(s){}null!==(t=Na(e,n,l,r))&&(ts(t,e,r,l=es()),lo(t,n,r))}}function to(e){var n=e.alternate;return e===mu||null!==n&&n===mu}function ro(e,n){yu=gu=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function lo(e,n,t){if(0!==(4194240&t)){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,bn(e,t)}}var ao={readContext:_a,useCallback:wu,useContext:wu,useEffect:wu,useImperativeHandle:wu,useInsertionEffect:wu,useLayoutEffect:wu,useMemo:wu,useReducer:wu,useRef:wu,useState:wu,useDebugValue:wu,useDeferredValue:wu,useTransition:wu,useMutableSource:wu,useSyncExternalStore:wu,useId:wu,unstable_isNewReconciler:!1},uo={readContext:_a,useCallback:function(e,n){return _u().memoizedState=[e,void 0===n?null:n],e},useContext:_a,useEffect:ju,useImperativeHandle:function(e,n,t){return t=null!==t&&void 0!==t?t.concat([e]):null,Au(4194308,4,Qu.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Au(4194308,4,e,n)},useInsertionEffect:function(e,n){return Au(4,2,e,n)},useMemo:function(e,n){var t=_u();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=_u();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=eo.bind(null,mu,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_u().memoizedState=e},useState:Iu,useDebugValue:Ku,useDeferredValue:function(e){return _u().memoizedState=e},useTransition:function(){var e=Iu(!1),n=e[0];return e=Zu.bind(null,e[1]),_u().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=mu,l=_u();if(la){if(void 0===t)throw Error(a(407));t=t()}else{if(t=n(),null===zi)throw Error(a(349));0!==(30&pu)||Fu(r,n,t)}l.memoizedState=t;var u={value:t,getSnapshot:n};return l.queue=u,ju(Mu.bind(null,r,u,e),[e]),r.flags|=2048,Uu(9,Ru.bind(null,r,u,t,n),void 0,null),t},useId:function(){var e=_u(),n=zi.identifierPrefix;if(la){var t=Gl;n=":"+n+"R"+(t=(Xl&~(1<<32-un(Xl)-1)).toString(32)+t),0<(t=bu++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=ku++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},oo={readContext:_a,useCallback:Yu,useContext:_a,useEffect:Bu,useImperativeHandle:qu,useInsertionEffect:Hu,useLayoutEffect:Wu,useMemo:Xu,useReducer:Nu,useRef:$u,useState:function(){return Nu(Pu)},useDebugValue:Ku,useDeferredValue:function(e){return Gu(Cu(),hu.memoizedState,e)},useTransition:function(){return[Nu(Pu)[0],Cu().memoizedState]},useMutableSource:Tu,useSyncExternalStore:Lu,useId:Ju,unstable_isNewReconciler:!1},io={readContext:_a,useCallback:Yu,useContext:_a,useEffect:Bu,useImperativeHandle:qu,useInsertionEffect:Hu,useLayoutEffect:Wu,useMemo:Xu,useReducer:zu,useRef:$u,useState:function(){return zu(Pu)},useDebugValue:Ku,useDeferredValue:function(e){var n=Cu();return null===hu?n.memoizedState=e:Gu(n,hu.memoizedState,e)},useTransition:function(){return[zu(Pu)[0],Cu().memoizedState]},useMutableSource:Tu,useSyncExternalStore:Lu,useId:Ju,unstable_isNewReconciler:!1};function so(e,n){try{var t="",r=n;do{t+=V(r),r=r.return}while(r);var l=t}catch(a){l="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:n,stack:l,digest:null}}function co(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function fo(e,n){try{console.error(n.value)}catch(t){setTimeout((function(){throw t}))}}var po="function"===typeof WeakMap?WeakMap:Map;function mo(e,n,t){(t=Ra(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Hi||(Hi=!0,Wi=r),fo(0,n)},t}function ho(e,n,t){(t=Ra(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){fo(0,n)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(t.callback=function(){fo(0,n),"function"!==typeof r&&(null===Qi?Qi=new Set([this]):Qi.add(this));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),t}function vo(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new po;var l=new Set;r.set(n,l)}else void 0===(l=r.get(n))&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=_s.bind(null,e,n,t),n.then(e,e))}function go(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return}while(null!==e);return null}function yo(e,n,t,r,l){return 0===(1&e.mode)?(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=Ra(-1,1)).tag=2,Ma(t,n,1))),t.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var bo=k.ReactCurrentOwner,ko=!1;function wo(e,n,t,r){n.child=null===e?Ga(n,null,t,r):Xa(n,e.child,t,r)}function So(e,n,t,r,l){t=t.render;var a=n.ref;return Ea(n,l),r=xu(e,n,t,r,a,l),t=Eu(),null===e||ko?(la&&t&&ea(n),n.flags|=1,wo(e,n,r,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ho(e,n,l))}function xo(e,n,t,r,l){if(null===e){var a=t.type;return"function"!==typeof a||Fs(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=Ms(t.type,null,r,n,n.mode,l)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,Eo(e,n,a,r,l))}if(a=e.child,0===(e.lanes&l)){var u=a.memoizedProps;if((t=null!==(t=t.compare)?t:ir)(u,r)&&e.ref===n.ref)return Ho(e,n,l)}return n.flags|=1,(e=Rs(a,r)).ref=n.ref,e.return=n,n.child=e}function Eo(e,n,t,r,l){if(null!==e){var a=e.memoizedProps;if(ir(a,r)&&e.ref===n.ref){if(ko=!1,n.pendingProps=r=a,0===(e.lanes&l))return n.lanes=e.lanes,Ho(e,n,l);0!==(131072&e.flags)&&(ko=!0)}}return Po(e,n,t,r,l)}function _o(e,n,t){var r=n.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&n.mode))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Cl(Ri,Fi),Fi|=t;else{if(0===(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Cl(Ri,Fi),Fi|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,Cl(Ri,Fi),Fi|=r}else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,Cl(Ri,Fi),Fi|=r;return wo(e,n,l,t),n.child}function Co(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function Po(e,n,t,r,l){var a=Fl(t)?Tl:Nl.current;return a=Ll(n,a),Ea(n,l),t=xu(e,n,t,r,a,l),r=Eu(),null===e||ko?(la&&r&&ea(n),n.flags|=1,wo(e,n,t,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ho(e,n,l))}function No(e,n,t,r,l){if(Fl(t)){var a=!0;Dl(n)}else a=!1;if(Ea(n,l),null===n.stateNode)Bo(e,n),Ba(n,t,r),Wa(n,t,r,l),r=!0;else if(null===e){var u=n.stateNode,o=n.memoizedProps;u.props=o;var i=u.context,s=t.contextType;"object"===typeof s&&null!==s?s=_a(s):s=Ll(n,s=Fl(t)?Tl:Nl.current);var c=t.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof u.getSnapshotBeforeUpdate;f||"function"!==typeof u.UNSAFE_componentWillReceiveProps&&"function"!==typeof u.componentWillReceiveProps||(o!==r||i!==s)&&Ha(n,u,r,s),Ta=!1;var d=n.memoizedState;u.state=d,Ia(n,r,u,l),i=n.memoizedState,o!==r||d!==i||zl.current||Ta?("function"===typeof c&&(Aa(n,t,c,r),i=n.memoizedState),(o=Ta||ja(n,t,o,r,d,i,s))?(f||"function"!==typeof u.UNSAFE_componentWillMount&&"function"!==typeof u.componentWillMount||("function"===typeof u.componentWillMount&&u.componentWillMount(),"function"===typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount()),"function"===typeof u.componentDidMount&&(n.flags|=4194308)):("function"===typeof u.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=i),u.props=r,u.state=i,u.context=s,r=o):("function"===typeof u.componentDidMount&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,Fa(e,n),o=n.memoizedProps,s=n.type===n.elementType?o:va(n.type,o),u.props=s,f=n.pendingProps,d=u.context,"object"===typeof(i=t.contextType)&&null!==i?i=_a(i):i=Ll(n,i=Fl(t)?Tl:Nl.current);var p=t.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof u.getSnapshotBeforeUpdate)||"function"!==typeof u.UNSAFE_componentWillReceiveProps&&"function"!==typeof u.componentWillReceiveProps||(o!==f||d!==i)&&Ha(n,u,r,i),Ta=!1,d=n.memoizedState,u.state=d,Ia(n,r,u,l);var m=n.memoizedState;o!==f||d!==m||zl.current||Ta?("function"===typeof p&&(Aa(n,t,p,r),m=n.memoizedState),(s=Ta||ja(n,t,s,r,d,m,i)||!1)?(c||"function"!==typeof u.UNSAFE_componentWillUpdate&&"function"!==typeof u.componentWillUpdate||("function"===typeof u.componentWillUpdate&&u.componentWillUpdate(r,m,i),"function"===typeof u.UNSAFE_componentWillUpdate&&u.UNSAFE_componentWillUpdate(r,m,i)),"function"===typeof u.componentDidUpdate&&(n.flags|=4),"function"===typeof u.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!==typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!==typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=m),u.props=r,u.state=m,u.context=i,r=s):("function"!==typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!==typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),r=!1)}return zo(e,n,t,r,a,l)}function zo(e,n,t,r,l,a){Co(e,n);var u=0!==(128&n.flags);if(!r&&!u)return l&&Il(n,t,!1),Ho(e,n,a);r=n.stateNode,bo.current=n;var o=u&&"function"!==typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&u?(n.child=Xa(n,e.child,null,a),n.child=Xa(n,null,o,a)):wo(e,n,o,a),n.memoizedState=r.state,l&&Il(n,t,!0),n.child}function To(e){var n=e.stateNode;n.pendingContext?Ml(0,n.pendingContext,n.pendingContext!==n.context):n.context&&Ml(0,n.context,!1),ru(e,n.containerInfo)}function Lo(e,n,t,r,l){return pa(),ma(l),n.flags|=256,wo(e,n,t,r),n.child}var Fo,Ro,Mo,Oo={dehydrated:null,treeContext:null,retryLane:0};function Do(e){return{baseLanes:e,cachePool:null,transitions:null}}function Io(e,n,t){var r,l=n.pendingProps,u=ou.current,o=!1,i=0!==(128&n.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!==(2&u)),r?(o=!0,n.flags&=-129):null!==e&&null===e.memoizedState||(u|=1),Cl(ou,1&u),null===e)return sa(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&n.mode)?n.lanes=1:"$!"===e.data?n.lanes=8:n.lanes=1073741824,null):(i=l.children,e=l.fallback,o?(l=n.mode,o=n.child,i={mode:"hidden",children:i},0===(1&l)&&null!==o?(o.childLanes=0,o.pendingProps=i):o=Ds(i,l,0,null),e=Os(e,l,t,null),o.return=n,e.return=n,o.sibling=e,n.child=o,n.child.memoizedState=Do(t),n.memoizedState=Oo,e):Uo(n,i));if(null!==(u=e.memoizedState)&&null!==(r=u.dehydrated))return function(e,n,t,r,l,u,o){if(t)return 256&n.flags?(n.flags&=-257,$o(e,n,o,r=co(Error(a(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(u=r.fallback,l=n.mode,r=Ds({mode:"visible",children:r.children},l,0,null),(u=Os(u,l,o,null)).flags|=2,r.return=n,u.return=n,r.sibling=u,n.child=r,0!==(1&n.mode)&&Xa(n,e.child,null,o),n.child.memoizedState=Do(o),n.memoizedState=Oo,u);if(0===(1&n.mode))return $o(e,n,o,null);if("$!"===l.data){if(r=l.nextSibling&&l.nextSibling.dataset)var i=r.dgst;return r=i,$o(e,n,o,r=co(u=Error(a(419)),r,void 0))}if(i=0!==(o&e.childLanes),ko||i){if(null!==(r=zi)){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}0!==(l=0!==(l&(r.suspendedLanes|o))?0:l)&&l!==u.retryLane&&(u.retryLane=l,za(e,l),ts(r,e,l,-1))}return hs(),$o(e,n,o,r=co(Error(a(421))))}return"$?"===l.data?(n.flags|=128,n.child=e.child,n=Ps.bind(null,e),l._reactRetry=n,null):(e=u.treeContext,ra=sl(l.nextSibling),ta=n,la=!0,aa=null,null!==e&&(ql[Kl++]=Xl,ql[Kl++]=Gl,ql[Kl++]=Yl,Xl=e.id,Gl=e.overflow,Yl=n),(n=Uo(n,r.children)).flags|=4096,n)}(e,n,i,l,r,u,t);if(o){o=l.fallback,i=n.mode,r=(u=e.child).sibling;var s={mode:"hidden",children:l.children};return 0===(1&i)&&n.child!==u?((l=n.child).childLanes=0,l.pendingProps=s,n.deletions=null):(l=Rs(u,s)).subtreeFlags=14680064&u.subtreeFlags,null!==r?o=Rs(r,o):(o=Os(o,i,t,null)).flags|=2,o.return=n,l.return=n,l.sibling=o,n.child=l,l=o,o=n.child,i=null===(i=e.child.memoizedState)?Do(t):{baseLanes:i.baseLanes|t,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~t,n.memoizedState=Oo,l}return e=(o=e.child).sibling,l=Rs(o,{mode:"visible",children:l.children}),0===(1&n.mode)&&(l.lanes=t),l.return=n,l.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=l,n.memoizedState=null,l}function Uo(e,n){return(n=Ds({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function $o(e,n,t,r){return null!==r&&ma(r),Xa(n,e.child,null,t),(e=Uo(n,n.pendingProps.children)).flags|=2,n.memoizedState=null,e}function Ao(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),xa(e.return,n,t)}function Vo(e,n,t,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=t,a.tailMode=l)}function jo(e,n,t){var r=n.pendingProps,l=r.revealOrder,a=r.tail;if(wo(e,n,r.children,t),0!==(2&(r=ou.current)))r=1&r|2,n.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ao(e,t,n);else if(19===e.tag)Ao(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Cl(ou,r),0===(1&n.mode))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;null!==t;)null!==(e=t.alternate)&&null===iu(e)&&(l=t),t=t.sibling;null===(t=l)?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Vo(n,!1,l,t,a);break;case"backwards":for(t=null,l=n.child,n.child=null;null!==l;){if(null!==(e=l.alternate)&&null===iu(e)){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Vo(n,!0,t,null,a);break;case"together":Vo(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Bo(e,n){0===(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Ho(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),Di|=n.lanes,0===(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(a(153));if(null!==n.child){for(t=Rs(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=Rs(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function Wo(e,n){if(!la)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qo(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=14680064&l.subtreeFlags,r|=14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function qo(e,n,t){var r=n.pendingProps;switch(na(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qo(n),null;case 1:case 17:return Fl(n.type)&&Rl(),Qo(n),null;case 3:return r=n.stateNode,lu(),_l(zl),_l(Nl),cu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fa(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&n.flags)||(n.flags|=1024,null!==aa&&(us(aa),aa=null))),Qo(n),null;case 5:uu(n);var l=tu(nu.current);if(t=n.type,null!==e&&null!=n.stateNode)Ro(e,n,t,r),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(null===n.stateNode)throw Error(a(166));return Qo(n),null}if(e=tu(Ja.current),fa(n)){r=n.stateNode,t=n.type;var u=n.memoizedProps;switch(r[dl]=n,r[pl]=u,e=0!==(1&n.mode),t){case"dialog":$r("cancel",r),$r("close",r);break;case"iframe":case"object":case"embed":$r("load",r);break;case"video":case"audio":for(l=0;l<Or.length;l++)$r(Or[l],r);break;case"source":$r("error",r);break;case"img":case"image":case"link":$r("error",r),$r("load",r);break;case"details":$r("toggle",r);break;case"input":X(r,u),$r("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},$r("invalid",r);break;case"textarea":le(r,u),$r("invalid",r)}for(var i in ye(t,u),l=null,u)if(u.hasOwnProperty(i)){var s=u[i];"children"===i?"string"===typeof s?r.textContent!==s&&(!0!==u.suppressHydrationWarning&&Zr(r.textContent,s,e),l=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==u.suppressHydrationWarning&&Zr(r.textContent,s,e),l=["children",""+s]):o.hasOwnProperty(i)&&null!=s&&"onScroll"===i&&$r("scroll",r)}switch(t){case"input":Q(r),J(r,u,!0);break;case"textarea":Q(r),ue(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=Jr)}r=l,n.updateQueue=r,null!==r&&(n.flags|=4)}else{i=9===l.nodeType?l:l.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(t)),"http://www.w3.org/1999/xhtml"===e?"script"===t?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),"select"===t&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[dl]=n,e[pl]=r,Fo(e,n),n.stateNode=e;e:{switch(i=be(t,r),t){case"dialog":$r("cancel",e),$r("close",e),l=r;break;case"iframe":case"object":case"embed":$r("load",e),l=r;break;case"video":case"audio":for(l=0;l<Or.length;l++)$r(Or[l],e);l=r;break;case"source":$r("error",e),l=r;break;case"img":case"image":case"link":$r("error",e),$r("load",e),l=r;break;case"details":$r("toggle",e),l=r;break;case"input":X(e,r),l=Y(e,r),$r("invalid",e);break;case"option":default:l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=I({},r,{value:void 0}),$r("invalid",e);break;case"textarea":le(e,r),l=re(e,r),$r("invalid",e)}for(u in ye(t,l),s=l)if(s.hasOwnProperty(u)){var c=s[u];"style"===u?ve(e,c):"dangerouslySetInnerHTML"===u?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===u?"string"===typeof c?("textarea"!==t||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(o.hasOwnProperty(u)?null!=c&&"onScroll"===u&&$r("scroll",e):null!=c&&b(e,u,c,i))}switch(t){case"input":Q(e),J(e,r,!1);break;case"textarea":Q(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?te(e,!!r.multiple,u,!1):null!=r.defaultValue&&te(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof l.onClick&&(e.onclick=Jr)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}return Qo(n),null;case 6:if(e&&null!=n.stateNode)Mo(0,n,e.memoizedProps,r);else{if("string"!==typeof r&&null===n.stateNode)throw Error(a(166));if(t=tu(nu.current),tu(Ja.current),fa(n)){if(r=n.stateNode,t=n.memoizedProps,r[dl]=n,(u=r.nodeValue!==t)&&null!==(e=ta))switch(e.tag){case 3:Zr(r.nodeValue,t,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,t,0!==(1&e.mode))}u&&(n.flags|=4)}else(r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[dl]=n,n.stateNode=r}return Qo(n),null;case 13:if(_l(ou),r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(la&&null!==ra&&0!==(1&n.mode)&&0===(128&n.flags))da(),pa(),n.flags|=98560,u=!1;else if(u=fa(n),null!==r&&null!==r.dehydrated){if(null===e){if(!u)throw Error(a(318));if(!(u=null!==(u=n.memoizedState)?u.dehydrated:null))throw Error(a(317));u[dl]=n}else pa(),0===(128&n.flags)&&(n.memoizedState=null),n.flags|=4;Qo(n),u=!1}else null!==aa&&(us(aa),aa=null),u=!0;if(!u)return 65536&n.flags?n:null}return 0!==(128&n.flags)?(n.lanes=t,n):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(n.child.flags|=8192,0!==(1&n.mode)&&(null===e||0!==(1&ou.current)?0===Mi&&(Mi=3):hs())),null!==n.updateQueue&&(n.flags|=4),Qo(n),null);case 4:return lu(),null===e&&jr(n.stateNode.containerInfo),Qo(n),null;case 10:return Sa(n.type._context),Qo(n),null;case 19:if(_l(ou),null===(u=n.memoizedState))return Qo(n),null;if(r=0!==(128&n.flags),null===(i=u.rendering))if(r)Wo(u,!1);else{if(0!==Mi||null!==e&&0!==(128&e.flags))for(e=n.child;null!==e;){if(null!==(i=iu(e))){for(n.flags|=128,Wo(u,!1),null!==(r=i.updateQueue)&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;null!==t;)e=r,(u=t).flags&=14680066,null===(i=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=i.childLanes,u.lanes=i.lanes,u.child=i.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=i.memoizedProps,u.memoizedState=i.memoizedState,u.updateQueue=i.updateQueue,u.type=i.type,e=i.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return Cl(ou,1&ou.current|2),n.child}e=e.sibling}null!==u.tail&&Ge()>ji&&(n.flags|=128,r=!0,Wo(u,!1),n.lanes=4194304)}else{if(!r)if(null!==(e=iu(i))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),Wo(u,!0),null===u.tail&&"hidden"===u.tailMode&&!i.alternate&&!la)return Qo(n),null}else 2*Ge()-u.renderingStartTime>ji&&1073741824!==t&&(n.flags|=128,r=!0,Wo(u,!1),n.lanes=4194304);u.isBackwards?(i.sibling=n.child,n.child=i):(null!==(t=u.last)?t.sibling=i:n.child=i,u.last=i)}return null!==u.tail?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=Ge(),n.sibling=null,t=ou.current,Cl(ou,r?1&t|2:1&t),n):(Qo(n),null);case 22:case 23:return fs(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&0!==(1&n.mode)?0!==(1073741824&Fi)&&(Qo(n),6&n.subtreeFlags&&(n.flags|=8192)):Qo(n),null;case 24:case 25:return null}throw Error(a(156,n.tag))}function Ko(e,n){switch(na(n),n.tag){case 1:return Fl(n.type)&&Rl(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return lu(),_l(zl),_l(Nl),cu(),0!==(65536&(e=n.flags))&&0===(128&e)?(n.flags=-65537&e|128,n):null;case 5:return uu(n),null;case 13:if(_l(ou),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(a(340));pa()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return _l(ou),null;case 4:return lu(),null;case 10:return Sa(n.type._context),null;case 22:case 23:return fs(),null;default:return null}}Fo=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},Ro=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,tu(Ja.current);var a,u=null;switch(t){case"input":l=Y(e,l),r=Y(e,r),u=[];break;case"select":l=I({},l,{value:void 0}),r=I({},r,{value:void 0}),u=[];break;case"textarea":l=re(e,l),r=re(e,r),u=[];break;default:"function"!==typeof l.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ye(t,r),t=null,l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&null!=l[c])if("style"===c){var i=l[c];for(a in i)i.hasOwnProperty(a)&&(t||(t={}),t[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?u||(u=[]):(u=u||[]).push(c,null));for(c in r){var s=r[c];if(i=null!=l?l[c]:void 0,r.hasOwnProperty(c)&&s!==i&&(null!=s||null!=i))if("style"===c)if(i){for(a in i)!i.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in s)s.hasOwnProperty(a)&&i[a]!==s[a]&&(t||(t={}),t[a]=s[a])}else t||(u||(u=[]),u.push(c,t)),t=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,i=i?i.__html:void 0,null!=s&&i!==s&&(u=u||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(u=u||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&$r("scroll",e),u||i===s||(u=[])):(u=u||[]).push(c,s))}t&&(u=u||[]).push("style",t);var c=u;(n.updateQueue=c)&&(n.flags|=4)}},Mo=function(e,n,t,r){t!==r&&(n.flags|=4)};var Yo=!1,Xo=!1,Go="function"===typeof WeakSet?WeakSet:Set,Zo=null;function Jo(e,n){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(r){Es(e,n,r)}else t.current=null}function ei(e,n,t){try{t()}catch(r){Es(e,n,r)}}var ni=!1;function ti(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var a=l.destroy;l.destroy=void 0,void 0!==a&&ei(n,t,a)}l=l.next}while(l!==r)}}function ri(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function li(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag,e=t,"function"===typeof n?n(e):n.current=e}}function ai(e){var n=e.alternate;null!==n&&(e.alternate=null,ai(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(n=e.stateNode)&&(delete n[dl],delete n[pl],delete n[hl],delete n[vl],delete n[gl])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ui(e){return 5===e.tag||3===e.tag||4===e.tag}function oi(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ui(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ii(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!==(t=t._reactRootContainer)&&void 0!==t||null!==n.onclick||(n.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ii(e,n,t),e=e.sibling;null!==e;)ii(e,n,t),e=e.sibling}function si(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(si(e,n,t),e=e.sibling;null!==e;)si(e,n,t),e=e.sibling}var ci=null,fi=!1;function di(e,n,t){for(t=t.child;null!==t;)pi(e,n,t),t=t.sibling}function pi(e,n,t){if(an&&"function"===typeof an.onCommitFiberUnmount)try{an.onCommitFiberUnmount(ln,t)}catch(o){}switch(t.tag){case 5:Xo||Jo(t,n);case 6:var r=ci,l=fi;ci=null,di(e,n,t),fi=l,null!==(ci=r)&&(fi?(e=ci,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):ci.removeChild(t.stateNode));break;case 18:null!==ci&&(fi?(e=ci,t=t.stateNode,8===e.nodeType?il(e.parentNode,t):1===e.nodeType&&il(e,t),Bn(e)):il(ci,t.stateNode));break;case 4:r=ci,l=fi,ci=t.stateNode.containerInfo,fi=!0,di(e,n,t),ci=r,fi=l;break;case 0:case 11:case 14:case 15:if(!Xo&&(null!==(r=t.updateQueue)&&null!==(r=r.lastEffect))){l=r=r.next;do{var a=l,u=a.destroy;a=a.tag,void 0!==u&&(0!==(2&a)||0!==(4&a))&&ei(t,n,u),l=l.next}while(l!==r)}di(e,n,t);break;case 1:if(!Xo&&(Jo(t,n),"function"===typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){Es(t,n,o)}di(e,n,t);break;case 21:di(e,n,t);break;case 22:1&t.mode?(Xo=(r=Xo)||null!==t.memoizedState,di(e,n,t),Xo=r):di(e,n,t);break;default:di(e,n,t)}}function mi(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new Go),n.forEach((function(n){var r=Ns.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))}))}}function hi(e,n){var t=n.deletions;if(null!==t)for(var r=0;r<t.length;r++){var l=t[r];try{var u=e,o=n,i=o;e:for(;null!==i;){switch(i.tag){case 5:ci=i.stateNode,fi=!1;break e;case 3:case 4:ci=i.stateNode.containerInfo,fi=!0;break e}i=i.return}if(null===ci)throw Error(a(160));pi(u,o,l),ci=null,fi=!1;var s=l.alternate;null!==s&&(s.return=null),l.return=null}catch(c){Es(l,n,c)}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)vi(n,e),n=n.sibling}function vi(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hi(n,e),gi(e),4&r){try{ti(3,e,e.return),ri(3,e)}catch(v){Es(e,e.return,v)}try{ti(5,e,e.return)}catch(v){Es(e,e.return,v)}}break;case 1:hi(n,e),gi(e),512&r&&null!==t&&Jo(t,t.return);break;case 5:if(hi(n,e),gi(e),512&r&&null!==t&&Jo(t,t.return),32&e.flags){var l=e.stateNode;try{de(l,"")}catch(v){Es(e,e.return,v)}}if(4&r&&null!=(l=e.stateNode)){var u=e.memoizedProps,o=null!==t?t.memoizedProps:u,i=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===i&&"radio"===u.type&&null!=u.name&&G(l,u),be(i,o);var c=be(i,u);for(o=0;o<s.length;o+=2){var f=s[o],d=s[o+1];"style"===f?ve(l,d):"dangerouslySetInnerHTML"===f?fe(l,d):"children"===f?de(l,d):b(l,f,d,c)}switch(i){case"input":Z(l,u);break;case"textarea":ae(l,u);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!u.multiple;var m=u.value;null!=m?te(l,!!u.multiple,m,!1):p!==!!u.multiple&&(null!=u.defaultValue?te(l,!!u.multiple,u.defaultValue,!0):te(l,!!u.multiple,u.multiple?[]:"",!1))}l[pl]=u}catch(v){Es(e,e.return,v)}}break;case 6:if(hi(n,e),gi(e),4&r){if(null===e.stateNode)throw Error(a(162));l=e.stateNode,u=e.memoizedProps;try{l.nodeValue=u}catch(v){Es(e,e.return,v)}}break;case 3:if(hi(n,e),gi(e),4&r&&null!==t&&t.memoizedState.isDehydrated)try{Bn(n.containerInfo)}catch(v){Es(e,e.return,v)}break;case 4:default:hi(n,e),gi(e);break;case 13:hi(n,e),gi(e),8192&(l=e.child).flags&&(u=null!==l.memoizedState,l.stateNode.isHidden=u,!u||null!==l.alternate&&null!==l.alternate.memoizedState||(Vi=Ge())),4&r&&mi(e);break;case 22:if(f=null!==t&&null!==t.memoizedState,1&e.mode?(Xo=(c=Xo)||f,hi(n,e),Xo=c):hi(n,e),gi(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for(Zo=e,f=e.child;null!==f;){for(d=Zo=f;null!==Zo;){switch(m=(p=Zo).child,p.tag){case 0:case 11:case 14:case 15:ti(4,p,p.return);break;case 1:Jo(p,p.return);var h=p.stateNode;if("function"===typeof h.componentWillUnmount){r=p,t=p.return;try{n=r,h.props=n.memoizedProps,h.state=n.memoizedState,h.componentWillUnmount()}catch(v){Es(r,t,v)}}break;case 5:Jo(p,p.return);break;case 22:if(null!==p.memoizedState){wi(d);continue}}null!==m?(m.return=p,Zo=m):wi(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{l=d.stateNode,c?"function"===typeof(u=l.style).setProperty?u.setProperty("display","none","important"):u.display="none":(i=d.stateNode,o=void 0!==(s=d.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,i.style.display=he("display",o))}catch(v){Es(e,e.return,v)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(v){Es(e,e.return,v)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:hi(n,e),gi(e),4&r&&mi(e);case 21:}}function gi(e){var n=e.flags;if(2&n){try{e:{for(var t=e.return;null!==t;){if(ui(t)){var r=t;break e}t=t.return}throw Error(a(160))}switch(r.tag){case 5:var l=r.stateNode;32&r.flags&&(de(l,""),r.flags&=-33),si(e,oi(e),l);break;case 3:case 4:var u=r.stateNode.containerInfo;ii(e,oi(e),u);break;default:throw Error(a(161))}}catch(o){Es(e,e.return,o)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function yi(e,n,t){Zo=e,bi(e,n,t)}function bi(e,n,t){for(var r=0!==(1&e.mode);null!==Zo;){var l=Zo,a=l.child;if(22===l.tag&&r){var u=null!==l.memoizedState||Yo;if(!u){var o=l.alternate,i=null!==o&&null!==o.memoizedState||Xo;o=Yo;var s=Xo;if(Yo=u,(Xo=i)&&!s)for(Zo=l;null!==Zo;)i=(u=Zo).child,22===u.tag&&null!==u.memoizedState?Si(l):null!==i?(i.return=u,Zo=i):Si(l);for(;null!==a;)Zo=a,bi(a,n,t),a=a.sibling;Zo=l,Yo=o,Xo=s}ki(e)}else 0!==(8772&l.subtreeFlags)&&null!==a?(a.return=l,Zo=a):ki(e)}}function ki(e){for(;null!==Zo;){var n=Zo;if(0!==(8772&n.flags)){var t=n.alternate;try{if(0!==(8772&n.flags))switch(n.tag){case 0:case 11:case 15:Xo||ri(5,n);break;case 1:var r=n.stateNode;if(4&n.flags&&!Xo)if(null===t)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:va(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var u=n.updateQueue;null!==u&&Ua(n,u,r);break;case 3:var o=n.updateQueue;if(null!==o){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode}Ua(n,o,t)}break;case 5:var i=n.stateNode;if(null===t&&4&n.flags){t=i;var s=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&t.focus();break;case"img":s.src&&(t.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===n.memoizedState){var c=n.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Bn(d)}}}break;default:throw Error(a(163))}Xo||512&n.flags&&li(n)}catch(p){Es(n,n.return,p)}}if(n===e){Zo=null;break}if(null!==(t=n.sibling)){t.return=n.return,Zo=t;break}Zo=n.return}}function wi(e){for(;null!==Zo;){var n=Zo;if(n===e){Zo=null;break}var t=n.sibling;if(null!==t){t.return=n.return,Zo=t;break}Zo=n.return}}function Si(e){for(;null!==Zo;){var n=Zo;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{ri(4,n)}catch(i){Es(n,t,i)}break;case 1:var r=n.stateNode;if("function"===typeof r.componentDidMount){var l=n.return;try{r.componentDidMount()}catch(i){Es(n,l,i)}}var a=n.return;try{li(n)}catch(i){Es(n,a,i)}break;case 5:var u=n.return;try{li(n)}catch(i){Es(n,u,i)}}}catch(i){Es(n,n.return,i)}if(n===e){Zo=null;break}var o=n.sibling;if(null!==o){o.return=n.return,Zo=o;break}Zo=n.return}}var xi,Ei=Math.ceil,_i=k.ReactCurrentDispatcher,Ci=k.ReactCurrentOwner,Pi=k.ReactCurrentBatchConfig,Ni=0,zi=null,Ti=null,Li=0,Fi=0,Ri=El(0),Mi=0,Oi=null,Di=0,Ii=0,Ui=0,$i=null,Ai=null,Vi=0,ji=1/0,Bi=null,Hi=!1,Wi=null,Qi=null,qi=!1,Ki=null,Yi=0,Xi=0,Gi=null,Zi=-1,Ji=0;function es(){return 0!==(6&Ni)?Ge():-1!==Zi?Zi:Zi=Ge()}function ns(e){return 0===(1&e.mode)?1:0!==(2&Ni)&&0!==Li?Li&-Li:null!==ha.transition?(0===Ji&&(Ji=vn()),Ji):0!==(e=kn)?e:e=void 0===(e=window.event)?16:Gn(e.type)}function ts(e,n,t,r){if(50<Xi)throw Xi=0,Gi=null,Error(a(185));yn(e,t,r),0!==(2&Ni)&&e===zi||(e===zi&&(0===(2&Ni)&&(Ii|=t),4===Mi&&os(e,Li)),rs(e,r),1===t&&0===Ni&&0===(1&n.mode)&&(ji=Ge()+500,$l&&jl()))}function rs(e,n){var t=e.callbackNode;!function(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=e.pendingLanes;0<a;){var u=31-un(a),o=1<<u,i=l[u];-1===i?0!==(o&t)&&0===(o&r)||(l[u]=mn(o,n)):i<=n&&(e.expiredLanes|=o),a&=~o}}(e,n);var r=pn(e,e===zi?Li:0);if(0===r)null!==t&&Ke(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(null!=t&&Ke(t),1===n)0===e.tag?function(e){$l=!0,Vl(e)}(is.bind(null,e)):Vl(is.bind(null,e)),ul((function(){0===(6&Ni)&&jl()})),t=null;else{switch(wn(r)){case 1:t=Je;break;case 4:t=en;break;case 16:default:t=nn;break;case 536870912:t=rn}t=zs(t,ls.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function ls(e,n){if(Zi=-1,Ji=0,0!==(6&Ni))throw Error(a(327));var t=e.callbackNode;if(Ss()&&e.callbackNode!==t)return null;var r=pn(e,e===zi?Li:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||n)n=vs(e,r);else{n=r;var l=Ni;Ni|=2;var u=ms();for(zi===e&&Li===n||(Bi=null,ji=Ge()+500,ds(e,n));;)try{ys();break}catch(i){ps(e,i)}wa(),_i.current=u,Ni=l,null!==Ti?n=0:(zi=null,Li=0,n=Mi)}if(0!==n){if(2===n&&(0!==(l=hn(e))&&(r=l,n=as(e,l))),1===n)throw t=Oi,ds(e,0),os(e,r),rs(e,Ge()),t;if(6===n)os(e,r);else{if(l=e.current.alternate,0===(30&r)&&!function(e){for(var n=e;;){if(16384&n.flags){var t=n.updateQueue;if(null!==t&&null!==(t=t.stores))for(var r=0;r<t.length;r++){var l=t[r],a=l.getSnapshot;l=l.value;try{if(!or(a(),l))return!1}catch(o){return!1}}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}(l)&&(2===(n=vs(e,r))&&(0!==(u=hn(e))&&(r=u,n=as(e,u))),1===n))throw t=Oi,ds(e,0),os(e,r),rs(e,Ge()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(a(345));case 2:case 5:ws(e,Ai,Bi);break;case 3:if(os(e,r),(130023424&r)===r&&10<(n=Vi+500-Ge())){if(0!==pn(e,0))break;if(((l=e.suspendedLanes)&r)!==r){es(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=rl(ws.bind(null,e,Ai,Bi),n);break}ws(e,Ai,Bi);break;case 4:if(os(e,r),(4194240&r)===r)break;for(n=e.eventTimes,l=-1;0<r;){var o=31-un(r);u=1<<o,(o=n[o])>l&&(l=o),r&=~u}if(r=l,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ei(r/1960))-r)){e.timeoutHandle=rl(ws.bind(null,e,Ai,Bi),r);break}ws(e,Ai,Bi);break;default:throw Error(a(329))}}}return rs(e,Ge()),e.callbackNode===t?ls.bind(null,e):null}function as(e,n){var t=$i;return e.current.memoizedState.isDehydrated&&(ds(e,n).flags|=256),2!==(e=vs(e,n))&&(n=Ai,Ai=t,null!==n&&us(n)),e}function us(e){null===Ai?Ai=e:Ai.push.apply(Ai,e)}function os(e,n){for(n&=~Ui,n&=~Ii,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-un(n),r=1<<t;e[t]=-1,n&=~r}}function is(e){if(0!==(6&Ni))throw Error(a(327));Ss();var n=pn(e,0);if(0===(1&n))return rs(e,Ge()),null;var t=vs(e,n);if(0!==e.tag&&2===t){var r=hn(e);0!==r&&(n=r,t=as(e,r))}if(1===t)throw t=Oi,ds(e,0),os(e,n),rs(e,Ge()),t;if(6===t)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,ws(e,Ai,Bi),rs(e,Ge()),null}function ss(e,n){var t=Ni;Ni|=1;try{return e(n)}finally{0===(Ni=t)&&(ji=Ge()+500,$l&&jl())}}function cs(e){null!==Ki&&0===Ki.tag&&0===(6&Ni)&&Ss();var n=Ni;Ni|=1;var t=Pi.transition,r=kn;try{if(Pi.transition=null,kn=1,e)return e()}finally{kn=r,Pi.transition=t,0===(6&(Ni=n))&&jl()}}function fs(){Fi=Ri.current,_l(Ri)}function ds(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,ll(t)),null!==Ti)for(t=Ti.return;null!==t;){var r=t;switch(na(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Rl();break;case 3:lu(),_l(zl),_l(Nl),cu();break;case 5:uu(r);break;case 4:lu();break;case 13:case 19:_l(ou);break;case 10:Sa(r.type._context);break;case 22:case 23:fs()}t=t.return}if(zi=e,Ti=e=Rs(e.current,null),Li=Fi=n,Mi=0,Oi=null,Ui=Ii=Di=0,Ai=$i=null,null!==Ca){for(n=0;n<Ca.length;n++)if(null!==(r=(t=Ca[n]).interleaved)){t.interleaved=null;var l=r.next,a=t.pending;if(null!==a){var u=a.next;a.next=l,r.next=u}t.pending=r}Ca=null}return e}function ps(e,n){for(;;){var t=Ti;try{if(wa(),fu.current=ao,gu){for(var r=mu.memoizedState;null!==r;){var l=r.queue;null!==l&&(l.pending=null),r=r.next}gu=!1}if(pu=0,vu=hu=mu=null,yu=!1,bu=0,Ci.current=null,null===t||null===t.return){Mi=1,Oi=n,Ti=null;break}e:{var u=e,o=t.return,i=t,s=n;if(n=Li,i.flags|=32768,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s,f=i,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var m=go(o);if(null!==m){m.flags&=-257,yo(m,o,i,0,n),1&m.mode&&vo(u,c,n),s=c;var h=(n=m).updateQueue;if(null===h){var v=new Set;v.add(s),n.updateQueue=v}else h.add(s);break e}if(0===(1&n)){vo(u,c,n),hs();break e}s=Error(a(426))}else if(la&&1&i.mode){var g=go(o);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),yo(g,o,i,0,n),ma(so(s,i));break e}}u=s=so(s,i),4!==Mi&&(Mi=2),null===$i?$i=[u]:$i.push(u),u=o;do{switch(u.tag){case 3:u.flags|=65536,n&=-n,u.lanes|=n,Da(u,mo(0,s,n));break e;case 1:i=s;var y=u.type,b=u.stateNode;if(0===(128&u.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Qi||!Qi.has(b)))){u.flags|=65536,n&=-n,u.lanes|=n,Da(u,ho(u,i,n));break e}}u=u.return}while(null!==u)}ks(t)}catch(k){n=k,Ti===t&&null!==t&&(Ti=t=t.return);continue}break}}function ms(){var e=_i.current;return _i.current=ao,null===e?ao:e}function hs(){0!==Mi&&3!==Mi&&2!==Mi||(Mi=4),null===zi||0===(268435455&Di)&&0===(268435455&Ii)||os(zi,Li)}function vs(e,n){var t=Ni;Ni|=2;var r=ms();for(zi===e&&Li===n||(Bi=null,ds(e,n));;)try{gs();break}catch(l){ps(e,l)}if(wa(),Ni=t,_i.current=r,null!==Ti)throw Error(a(261));return zi=null,Li=0,Mi}function gs(){for(;null!==Ti;)bs(Ti)}function ys(){for(;null!==Ti&&!Ye();)bs(Ti)}function bs(e){var n=xi(e.alternate,e,Fi);e.memoizedProps=e.pendingProps,null===n?ks(e):Ti=n,Ci.current=null}function ks(e){var n=e;do{var t=n.alternate;if(e=n.return,0===(32768&n.flags)){if(null!==(t=qo(t,n,Fi)))return void(Ti=t)}else{if(null!==(t=Ko(t,n)))return t.flags&=32767,void(Ti=t);if(null===e)return Mi=6,void(Ti=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(n=n.sibling))return void(Ti=n);Ti=n=e}while(null!==n);0===Mi&&(Mi=5)}function ws(e,n,t){var r=kn,l=Pi.transition;try{Pi.transition=null,kn=1,function(e,n,t,r){do{Ss()}while(null!==Ki);if(0!==(6&Ni))throw Error(a(327));t=e.finishedWork;var l=e.finishedLanes;if(null===t)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var u=t.lanes|t.childLanes;if(function(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var l=31-un(t),a=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~a}}(e,u),e===zi&&(Ti=zi=null,Li=0),0===(2064&t.subtreeFlags)&&0===(2064&t.flags)||qi||(qi=!0,zs(nn,(function(){return Ss(),null}))),u=0!==(15990&t.flags),0!==(15990&t.subtreeFlags)||u){u=Pi.transition,Pi.transition=null;var o=kn;kn=1;var i=Ni;Ni|=4,Ci.current=null,function(e,n){if(el=Wn,pr(e=dr())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var l=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{t.nodeType,u.nodeType}catch(w){t=null;break e}var o=0,i=-1,s=-1,c=0,f=0,d=e,p=null;n:for(;;){for(var m;d!==t||0!==l&&3!==d.nodeType||(i=o+l),d!==u||0!==r&&3!==d.nodeType||(s=o+r),3===d.nodeType&&(o+=d.nodeValue.length),null!==(m=d.firstChild);)p=d,d=m;for(;;){if(d===e)break n;if(p===t&&++c===l&&(i=o),p===u&&++f===r&&(s=o),null!==(m=d.nextSibling))break;p=(d=p).parentNode}d=m}t=-1===i||-1===s?null:{start:i,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(nl={focusedElem:e,selectionRange:t},Wn=!1,Zo=n;null!==Zo;)if(e=(n=Zo).child,0!==(1028&n.subtreeFlags)&&null!==e)e.return=n,Zo=e;else for(;null!==Zo;){n=Zo;try{var h=n.alternate;if(0!==(1024&n.flags))switch(n.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var v=h.memoizedProps,g=h.memoizedState,y=n.stateNode,b=y.getSnapshotBeforeUpdate(n.elementType===n.type?v:va(n.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var k=n.stateNode.containerInfo;1===k.nodeType?k.textContent="":9===k.nodeType&&k.documentElement&&k.removeChild(k.documentElement);break;default:throw Error(a(163))}}catch(w){Es(n,n.return,w)}if(null!==(e=n.sibling)){e.return=n.return,Zo=e;break}Zo=n.return}h=ni,ni=!1}(e,t),vi(t,e),mr(nl),Wn=!!el,nl=el=null,e.current=t,yi(t,e,l),Xe(),Ni=i,kn=o,Pi.transition=u}else e.current=t;if(qi&&(qi=!1,Ki=e,Yi=l),0===(u=e.pendingLanes)&&(Qi=null),function(e){if(an&&"function"===typeof an.onCommitFiberRoot)try{an.onCommitFiberRoot(ln,e,void 0,128===(128&e.current.flags))}catch(n){}}(t.stateNode),rs(e,Ge()),null!==n)for(r=e.onRecoverableError,t=0;t<n.length;t++)l=n[t],r(l.value,{componentStack:l.stack,digest:l.digest});if(Hi)throw Hi=!1,e=Wi,Wi=null,e;0!==(1&Yi)&&0!==e.tag&&Ss(),0!==(1&(u=e.pendingLanes))?e===Gi?Xi++:(Xi=0,Gi=e):Xi=0,jl()}(e,n,t,r)}finally{Pi.transition=l,kn=r}return null}function Ss(){if(null!==Ki){var e=wn(Yi),n=Pi.transition,t=kn;try{if(Pi.transition=null,kn=16>e?16:e,null===Ki)var r=!1;else{if(e=Ki,Ki=null,Yi=0,0!==(6&Ni))throw Error(a(331));var l=Ni;for(Ni|=4,Zo=e.current;null!==Zo;){var u=Zo,o=u.child;if(0!==(16&Zo.flags)){var i=u.deletions;if(null!==i){for(var s=0;s<i.length;s++){var c=i[s];for(Zo=c;null!==Zo;){var f=Zo;switch(f.tag){case 0:case 11:case 15:ti(8,f,u)}var d=f.child;if(null!==d)d.return=f,Zo=d;else for(;null!==Zo;){var p=(f=Zo).sibling,m=f.return;if(ai(f),f===c){Zo=null;break}if(null!==p){p.return=m,Zo=p;break}Zo=m}}}var h=u.alternate;if(null!==h){var v=h.child;if(null!==v){h.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Zo=u}}if(0!==(2064&u.subtreeFlags)&&null!==o)o.return=u,Zo=o;else e:for(;null!==Zo;){if(0!==(2048&(u=Zo).flags))switch(u.tag){case 0:case 11:case 15:ti(9,u,u.return)}var y=u.sibling;if(null!==y){y.return=u.return,Zo=y;break e}Zo=u.return}}var b=e.current;for(Zo=b;null!==Zo;){var k=(o=Zo).child;if(0!==(2064&o.subtreeFlags)&&null!==k)k.return=o,Zo=k;else e:for(o=b;null!==Zo;){if(0!==(2048&(i=Zo).flags))try{switch(i.tag){case 0:case 11:case 15:ri(9,i)}}catch(S){Es(i,i.return,S)}if(i===o){Zo=null;break e}var w=i.sibling;if(null!==w){w.return=i.return,Zo=w;break e}Zo=i.return}}if(Ni=l,jl(),an&&"function"===typeof an.onPostCommitFiberRoot)try{an.onPostCommitFiberRoot(ln,e)}catch(S){}r=!0}return r}finally{kn=t,Pi.transition=n}}return!1}function xs(e,n,t){e=Ma(e,n=mo(0,n=so(t,n),1),1),n=es(),null!==e&&(yn(e,1,n),rs(e,n))}function Es(e,n,t){if(3===e.tag)xs(e,e,t);else for(;null!==n;){if(3===n.tag){xs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Qi||!Qi.has(r))){n=Ma(n,e=ho(n,e=so(t,e),1),1),e=es(),null!==n&&(yn(n,1,e),rs(n,e));break}}n=n.return}}function _s(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=es(),e.pingedLanes|=e.suspendedLanes&t,zi===e&&(Li&t)===t&&(4===Mi||3===Mi&&(130023424&Li)===Li&&500>Ge()-Vi?ds(e,0):Ui|=t),rs(e,n)}function Cs(e,n){0===n&&(0===(1&e.mode)?n=1:(n=fn,0===(130023424&(fn<<=1))&&(fn=4194304)));var t=es();null!==(e=za(e,n))&&(yn(e,n,t),rs(e,t))}function Ps(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),Cs(e,t)}function Ns(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(n),Cs(e,t)}function zs(e,n){return qe(e,n)}function Ts(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ls(e,n,t,r){return new Ts(e,n,t,r)}function Fs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rs(e,n){var t=e.alternate;return null===t?((t=Ls(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=14680064&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Ms(e,n,t,r,l,u){var o=2;if(r=e,"function"===typeof e)Fs(e)&&(o=1);else if("string"===typeof e)o=5;else e:switch(e){case x:return Os(t.children,l,u,n);case E:o=8,l|=8;break;case _:return(e=Ls(12,t,n,2|l)).elementType=_,e.lanes=u,e;case z:return(e=Ls(13,t,n,l)).elementType=z,e.lanes=u,e;case T:return(e=Ls(19,t,n,l)).elementType=T,e.lanes=u,e;case R:return Ds(t,l,u,n);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case C:o=10;break e;case P:o=9;break e;case N:o=11;break e;case L:o=14;break e;case F:o=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(n=Ls(o,t,n,l)).elementType=e,n.type=r,n.lanes=u,n}function Os(e,n,t,r){return(e=Ls(7,e,r,n)).lanes=t,e}function Ds(e,n,t,r){return(e=Ls(22,e,r,n)).elementType=R,e.lanes=t,e.stateNode={isHidden:!1},e}function Is(e,n,t){return(e=Ls(6,e,null,n)).lanes=t,e}function Us(e,n,t){return(n=Ls(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function $s(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gn(0),this.expirationTimes=gn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gn(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function As(e,n,t,r,l,a,u,o,i){return e=new $s(e,n,t,o,i),1===n?(n=1,!0===a&&(n|=8)):n=0,a=Ls(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},La(a),e}function Vs(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}function js(e){if(!e)return Pl;e:{if(je(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Fl(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(a(171))}if(1===e.tag){var t=e.type;if(Fl(t))return Ol(e,t,n)}return n}function Bs(e,n,t,r,l,a,u,o,i){return(e=As(t,r,!0,e,0,a,0,o,i)).context=js(null),t=e.current,(a=Ra(r=es(),l=ns(t))).callback=void 0!==n&&null!==n?n:null,Ma(t,a,l),e.current.lanes=l,yn(e,l,r),rs(e,r),e}function Hs(e,n,t,r){var l=n.current,a=es(),u=ns(l);return t=js(t),null===n.context?n.context=t:n.pendingContext=t,(n=Ra(a,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=Ma(l,n,u))&&(ts(e,l,u,a),Oa(e,l,u)),u}function Ws(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Qs(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function qs(e,n){Qs(e,n),(e=e.alternate)&&Qs(e,n)}xi=function(e,n,t){if(null!==e)if(e.memoizedProps!==n.pendingProps||zl.current)ko=!0;else{if(0===(e.lanes&t)&&0===(128&n.flags))return ko=!1,function(e,n,t){switch(n.tag){case 3:To(n),pa();break;case 5:au(n);break;case 1:Fl(n.type)&&Dl(n);break;case 4:ru(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;Cl(ga,r._currentValue),r._currentValue=l;break;case 13:if(null!==(r=n.memoizedState))return null!==r.dehydrated?(Cl(ou,1&ou.current),n.flags|=128,null):0!==(t&n.child.childLanes)?Io(e,n,t):(Cl(ou,1&ou.current),null!==(e=Ho(e,n,t))?e.sibling:null);Cl(ou,1&ou.current);break;case 19:if(r=0!==(t&n.childLanes),0!==(128&e.flags)){if(r)return jo(e,n,t);n.flags|=128}if(null!==(l=n.memoizedState)&&(l.rendering=null,l.tail=null,l.lastEffect=null),Cl(ou,ou.current),r)break;return null;case 22:case 23:return n.lanes=0,_o(e,n,t)}return Ho(e,n,t)}(e,n,t);ko=0!==(131072&e.flags)}else ko=!1,la&&0!==(1048576&n.flags)&&Jl(n,Ql,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Bo(e,n),e=n.pendingProps;var l=Ll(n,Nl.current);Ea(n,t),l=xu(null,n,r,e,l,t);var u=Eu();return n.flags|=1,"object"===typeof l&&null!==l&&"function"===typeof l.render&&void 0===l.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Fl(r)?(u=!0,Dl(n)):u=!1,n.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,La(n),l.updater=Va,n.stateNode=l,l._reactInternals=n,Wa(n,r,e,t),n=zo(null,n,r,!0,u,t)):(n.tag=0,la&&u&&ea(n),wo(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Bo(e,n),e=n.pendingProps,r=(l=r._init)(r._payload),n.type=r,l=n.tag=function(e){if("function"===typeof e)return Fs(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===N)return 11;if(e===L)return 14}return 2}(r),e=va(r,e),l){case 0:n=Po(null,n,r,e,t);break e;case 1:n=No(null,n,r,e,t);break e;case 11:n=So(null,n,r,e,t);break e;case 14:n=xo(null,n,r,va(r.type,e),t);break e}throw Error(a(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,Po(e,n,r,l=n.elementType===r?l:va(r,l),t);case 1:return r=n.type,l=n.pendingProps,No(e,n,r,l=n.elementType===r?l:va(r,l),t);case 3:e:{if(To(n),null===e)throw Error(a(387));r=n.pendingProps,l=(u=n.memoizedState).element,Fa(e,n),Ia(n,r,null,t);var o=n.memoizedState;if(r=o.element,u.isDehydrated){if(u={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=u,n.memoizedState=u,256&n.flags){n=Lo(e,n,r,t,l=so(Error(a(423)),n));break e}if(r!==l){n=Lo(e,n,r,t,l=so(Error(a(424)),n));break e}for(ra=sl(n.stateNode.containerInfo.firstChild),ta=n,la=!0,aa=null,t=Ga(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(pa(),r===l){n=Ho(e,n,t);break e}wo(e,n,r,t)}n=n.child}return n;case 5:return au(n),null===e&&sa(n),r=n.type,l=n.pendingProps,u=null!==e?e.memoizedProps:null,o=l.children,tl(r,l)?o=null:null!==u&&tl(r,u)&&(n.flags|=32),Co(e,n),wo(e,n,o,t),n.child;case 6:return null===e&&sa(n),null;case 13:return Io(e,n,t);case 4:return ru(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=Xa(n,null,r,t):wo(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,So(e,n,r,l=n.elementType===r?l:va(r,l),t);case 7:return wo(e,n,n.pendingProps,t),n.child;case 8:case 12:return wo(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,u=n.memoizedProps,o=l.value,Cl(ga,r._currentValue),r._currentValue=o,null!==u)if(or(u.value,o)){if(u.children===l.children&&!zl.current){n=Ho(e,n,t);break e}}else for(null!==(u=n.child)&&(u.return=n);null!==u;){var i=u.dependencies;if(null!==i){o=u.child;for(var s=i.firstContext;null!==s;){if(s.context===r){if(1===u.tag){(s=Ra(-1,t&-t)).tag=2;var c=u.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}u.lanes|=t,null!==(s=u.alternate)&&(s.lanes|=t),xa(u.return,t,n),i.lanes|=t;break}s=s.next}}else if(10===u.tag)o=u.type===n.type?null:u.child;else if(18===u.tag){if(null===(o=u.return))throw Error(a(341));o.lanes|=t,null!==(i=o.alternate)&&(i.lanes|=t),xa(o,t,n),o=u.sibling}else o=u.child;if(null!==o)o.return=u;else for(o=u;null!==o;){if(o===n){o=null;break}if(null!==(u=o.sibling)){u.return=o.return,o=u;break}o=o.return}u=o}wo(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Ea(n,t),r=r(l=_a(l)),n.flags|=1,wo(e,n,r,t),n.child;case 14:return l=va(r=n.type,n.pendingProps),xo(e,n,r,l=va(r.type,l),t);case 15:return Eo(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:va(r,l),Bo(e,n),n.tag=1,Fl(r)?(e=!0,Dl(n)):e=!1,Ea(n,t),Ba(n,r,l),Wa(n,r,l,t),zo(null,n,r,!0,e,t);case 19:return jo(e,n,t);case 22:return _o(e,n,t)}throw Error(a(156,n.tag))};var Ks="function"===typeof reportError?reportError:function(e){console.error(e)};function Ys(e){this._internalRoot=e}function Xs(e){this._internalRoot=e}function Gs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Js(){}function ec(e,n,t,r,l){var a=t._reactRootContainer;if(a){var u=a;if("function"===typeof l){var o=l;l=function(){var e=Ws(u);o.call(e)}}Hs(n,u,e,l)}else u=function(e,n,t,r,l){if(l){if("function"===typeof r){var a=r;r=function(){var e=Ws(u);a.call(e)}}var u=Bs(n,r,e,0,null,!1,0,"",Js);return e._reactRootContainer=u,e[ml]=u.current,jr(8===e.nodeType?e.parentNode:e),cs(),u}for(;l=e.lastChild;)e.removeChild(l);if("function"===typeof r){var o=r;r=function(){var e=Ws(i);o.call(e)}}var i=As(e,0,!1,null,0,!1,0,"",Js);return e._reactRootContainer=i,e[ml]=i.current,jr(8===e.nodeType?e.parentNode:e),cs((function(){Hs(n,i,t,r)})),i}(t,n,e,l,r);return Ws(u)}Xs.prototype.render=Ys.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(a(409));Hs(e,n,null,null)},Xs.prototype.unmount=Ys.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;cs((function(){Hs(null,e,null,null)})),n[ml]=null}},Xs.prototype.unstable_scheduleHydration=function(e){if(e){var n=_n();e={blockedOn:null,target:e,priority:n};for(var t=0;t<Mn.length&&0!==n&&n<Mn[t].priority;t++);Mn.splice(t,0,e),0===t&&Un(e)}},Sn=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=dn(n.pendingLanes);0!==t&&(bn(n,1|t),rs(n,Ge()),0===(6&Ni)&&(ji=Ge()+500,jl()))}break;case 13:cs((function(){var n=za(e,1);if(null!==n){var t=es();ts(n,e,1,t)}})),qs(e,1)}},xn=function(e){if(13===e.tag){var n=za(e,134217728);if(null!==n)ts(n,e,134217728,es());qs(e,134217728)}},En=function(e){if(13===e.tag){var n=ns(e),t=za(e,n);if(null!==t)ts(t,e,n,es());qs(e,n)}},_n=function(){return kn},Cn=function(e,n){var t=kn;try{return kn=e,n()}finally{kn=t}},Se=function(e,n,t){switch(n){case"input":if(Z(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=wl(r);if(!l)throw Error(a(90));q(r),Z(r,l)}}}break;case"textarea":ae(e,t);break;case"select":null!=(n=t.value)&&te(e,!!t.multiple,n,!1)}},Ne=ss,ze=cs;var nc={usingClientEntryPoint:!1,Events:[bl,kl,wl,Ce,Pe,ss]},tc={findFiberByHostInstance:yl,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{ln=lc.inject(rc),an=lc}catch(ce){}}n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nc,n.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Gs(n))throw Error(a(200));return Vs(e,n,null,t)},n.createRoot=function(e,n){if(!Gs(e))throw Error(a(299));var t=!1,r="",l=Ks;return null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),n=As(e,1,!1,null,0,t,0,r,l),e[ml]=n.current,jr(8===e.nodeType?e.parentNode:e),new Ys(n)},n.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"===typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=We(n))?null:e.stateNode},n.flushSync=function(e){return cs(e)},n.hydrate=function(e,n,t){if(!Zs(n))throw Error(a(200));return ec(null,e,n,!0,t)},n.hydrateRoot=function(e,n,t){if(!Gs(e))throw Error(a(405));var r=null!=t&&t.hydratedSources||null,l=!1,u="",o=Ks;if(null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(l=!0),void 0!==t.identifierPrefix&&(u=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),n=Bs(n,null,e,1,null!=t?t:null,l,0,u,o),e[ml]=n.current,jr(e),r)for(e=0;e<r.length;e++)l=(l=(t=r[e])._getVersion)(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new Xs(n)},n.render=function(e,n,t){if(!Zs(n))throw Error(a(200));return ec(null,e,n,!1,t)},n.unmountComponentAtNode=function(e){if(!Zs(e))throw Error(a(40));return!!e._reactRootContainer&&(cs((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ml]=null}))})),!0)},n.unstable_batchedUpdates=ss,n.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!Zs(t))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ec(e,n,t,!1,r)},n.version="18.2.0-next-9e3b772b8-20220608"},3935:function(e,n,t){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}(),e.exports=t(4448)},5251:function(e,n,t){"use strict";var r=t(7294),l=Symbol.for("react.element"),a=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,t){var r,a={},s=null,c=null;for(r in void 0!==t&&(s=""+t),void 0!==n.key&&(s=""+n.key),void 0!==n.ref&&(c=n.ref),n)u.call(n,r)&&!i.hasOwnProperty(r)&&(a[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===a[r]&&(a[r]=n[r]);return{$$typeof:l,type:e,key:s,ref:c,props:a,_owner:o.current}}n.Fragment=a,n.jsx=s,n.jsxs=s},2408:function(e,n){"use strict";var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,v={};function g(e,n,t){this.props=e,this.context=n,this.refs=v,this.updater=t||m}function y(){}function b(e,n,t){this.props=e,this.context=n,this.refs=v,this.updater=t||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,n){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var k=b.prototype=new y;k.constructor=b,h(k,g.prototype),k.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(e,n,r){var l,a={},u=null,o=null;if(null!=n)for(l in void 0!==n.ref&&(o=n.ref),void 0!==n.key&&(u=""+n.key),n)S.call(n,l)&&!E.hasOwnProperty(l)&&(a[l]=n[l]);var i=arguments.length-2;if(1===i)a.children=r;else if(1<i){for(var s=Array(i),c=0;c<i;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(l in i=e.defaultProps)void 0===a[l]&&(a[l]=i[l]);return{$$typeof:t,type:e,key:u,ref:o,props:a,_owner:x.current}}function C(e){return"object"===typeof e&&null!==e&&e.$$typeof===t}var P=/\/+/g;function N(e,n){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return n[e]}))}(""+e.key):n.toString(36)}function z(e,n,l,a,u){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case t:case r:i=!0}}if(i)return u=u(i=e),e=""===a?"."+N(i,0):a,w(u)?(l="",null!=e&&(l=e.replace(P,"$&/")+"/"),z(u,n,l,"",(function(e){return e}))):null!=u&&(C(u)&&(u=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(u,l+(!u.key||i&&i.key===u.key?"":(""+u.key).replace(P,"$&/")+"/")+e)),n.push(u)),1;if(i=0,a=""===a?".":a+":",w(e))for(var s=0;s<e.length;s++){var c=a+N(o=e[s],s);i+=z(o,n,l,c,u)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),s=0;!(o=e.next()).done;)i+=z(o=o.value,n,l,c=a+N(o,s++),u);else if("object"===o)throw n=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return i}function T(e,n,t){if(null==e)return e;var r=[],l=0;return z(e,r,"","",(function(e){return n.call(t,e,l++)})),r}function L(e){if(-1===e._status){var n=e._result;(n=n()).then((function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n)}),(function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n)})),-1===e._status&&(e._status=0,e._result=n)}if(1===e._status)return e._result.default;throw e._result}var F={current:null},R={transition:null},M={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:R,ReactCurrentOwner:x};n.Children={map:T,forEach:function(e,n,t){T(e,(function(){n.apply(this,arguments)}),t)},count:function(e){var n=0;return T(e,(function(){n++})),n},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=g,n.Fragment=l,n.Profiler=u,n.PureComponent=b,n.StrictMode=a,n.Suspense=c,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,n.cloneElement=function(e,n,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var l=h({},e.props),a=e.key,u=e.ref,o=e._owner;if(null!=n){if(void 0!==n.ref&&(u=n.ref,o=x.current),void 0!==n.key&&(a=""+n.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(s in n)S.call(n,s)&&!E.hasOwnProperty(s)&&(l[s]=void 0===n[s]&&void 0!==i?i[s]:n[s])}var s=arguments.length-2;if(1===s)l.children=r;else if(1<s){i=Array(s);for(var c=0;c<s;c++)i[c]=arguments[c+2];l.children=i}return{$$typeof:t,type:e.type,key:a,ref:u,props:l,_owner:o}},n.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},n.createElement=_,n.createFactory=function(e){var n=_.bind(null,e);return n.type=e,n},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:s,render:e}},n.isValidElement=C,n.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:L}},n.memo=function(e,n){return{$$typeof:f,type:e,compare:void 0===n?null:n}},n.startTransition=function(e){var n=R.transition;R.transition={};try{e()}finally{R.transition=n}},n.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},n.useCallback=function(e,n){return F.current.useCallback(e,n)},n.useContext=function(e){return F.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return F.current.useDeferredValue(e)},n.useEffect=function(e,n){return F.current.useEffect(e,n)},n.useId=function(){return F.current.useId()},n.useImperativeHandle=function(e,n,t){return F.current.useImperativeHandle(e,n,t)},n.useInsertionEffect=function(e,n){return F.current.useInsertionEffect(e,n)},n.useLayoutEffect=function(e,n){return F.current.useLayoutEffect(e,n)},n.useMemo=function(e,n){return F.current.useMemo(e,n)},n.useReducer=function(e,n,t){return F.current.useReducer(e,n,t)},n.useRef=function(e){return F.current.useRef(e)},n.useState=function(e){return F.current.useState(e)},n.useSyncExternalStore=function(e,n,t){return F.current.useSyncExternalStore(e,n,t)},n.useTransition=function(){return F.current.useTransition()},n.version="18.2.0"},7294:function(e,n,t){"use strict";e.exports=t(2408)},5893:function(e,n,t){"use strict";e.exports=t(5251)},53:function(e,n){"use strict";function t(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,l=e[r];if(!(0<a(l,n)))break e;e[r]=n,e[t]=l,t=r}}function r(e){return 0===e.length?null:e[0]}function l(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,l=e.length,u=l>>>1;r<u;){var o=2*(r+1)-1,i=e[o],s=o+1,c=e[s];if(0>a(i,t))s<l&&0>a(c,i)?(e[r]=c,e[s]=t,r=s):(e[r]=i,e[o]=t,r=o);else{if(!(s<l&&0>a(c,t)))break e;e[r]=c,e[s]=t,r=s}}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"===typeof performance&&"function"===typeof performance.now){var u=performance;n.unstable_now=function(){return u.now()}}else{var o=Date,i=o.now();n.unstable_now=function(){return o.now()-i}}var s=[],c=[],f=1,d=null,p=3,m=!1,h=!1,v=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function k(e){for(var n=r(c);null!==n;){if(null===n.callback)l(c);else{if(!(n.startTime<=e))break;l(c),n.sortIndex=n.expirationTime,t(s,n)}n=r(c)}}function w(e){if(v=!1,k(e),!h)if(null!==r(s))h=!0,R(S);else{var n=r(c);null!==n&&M(w,n.startTime-e)}}function S(e,t){h=!1,v&&(v=!1,y(C),C=-1),m=!0;var a=p;try{for(k(t),d=r(s);null!==d&&(!(d.expirationTime>t)||e&&!z());){var u=d.callback;if("function"===typeof u){d.callback=null,p=d.priorityLevel;var o=u(d.expirationTime<=t);t=n.unstable_now(),"function"===typeof o?d.callback=o:d===r(s)&&l(s),k(t)}else l(s);d=r(s)}if(null!==d)var i=!0;else{var f=r(c);null!==f&&M(w,f.startTime-t),i=!1}return i}finally{d=null,p=a,m=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,E=!1,_=null,C=-1,P=5,N=-1;function z(){return!(n.unstable_now()-N<P)}function T(){if(null!==_){var e=n.unstable_now();N=e;var t=!0;try{t=_(!0,e)}finally{t?x():(E=!1,_=null)}}else E=!1}if("function"===typeof b)x=function(){b(T)};else if("undefined"!==typeof MessageChannel){var L=new MessageChannel,F=L.port2;L.port1.onmessage=T,x=function(){F.postMessage(null)}}else x=function(){g(T,0)};function R(e){_=e,E||(E=!0,x())}function M(e,t){C=g((function(){e(n.unstable_now())}),t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){h||m||(h=!0,R(S))},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return p},n.unstable_getFirstCallbackNode=function(){return r(s)},n.unstable_next=function(e){switch(p){case 1:case 2:case 3:var n=3;break;default:n=p}var t=p;p=n;try{return e()}finally{p=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=p;p=e;try{return n()}finally{p=t}},n.unstable_scheduleCallback=function(e,l,a){var u=n.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?u+a:u:a=u,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return e={id:f++,callback:l,priorityLevel:e,startTime:a,expirationTime:o=a+o,sortIndex:-1},a>u?(e.sortIndex=a,t(c,e),null===r(s)&&e===r(c)&&(v?(y(C),C=-1):v=!0,M(w,a-u))):(e.sortIndex=o,t(s,e),h||m||(h=!0,R(S))),e},n.unstable_shouldYield=z,n.unstable_wrapCallback=function(e){var n=p;return function(){var t=p;p=n;try{return e.apply(this,arguments)}finally{p=t}}}},3840:function(e,n,t){"use strict";e.exports=t(53)}}]); \ No newline at end of file diff --git a/out/_next/static/chunks/main-986581bd9aadbb64.js b/out/_next/static/chunks/main-986581bd9aadbb64.js new file mode 100644 index 0000000000000000000000000000000000000000..f91ad19c91cca61fb0e73b650da1952089ab9335 --- /dev/null +++ b/out/_next/static/chunks/main-986581bd9aadbb64.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{1226:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce((function(e,t){return e[t[0]]=t[1],e}),{})})},5706:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});const r=n(5967),a=n(5381);function o(e,t){return(0,a.normalizePathTrailingSlash)((0,r.addPathPrefix)(e,"/staticspaceiframe/matthoffner/open-codetree/out"))}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return r}});n(5381);const r=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6849:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return n}});const n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n]};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return a}});const r=n(754);function a(e){return(0,r.pathHasPrefix)(e,"/staticspaceiframe/matthoffner/open-codetree/out")}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5541:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DOMAttributeNames:function(){return n},isEqualNode:function(){return a},default:function(){return l}});const n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function r(e){let{type:t,props:r}=e;const a=document.createElement(t);for(const i in r){if(!r.hasOwnProperty(i))continue;if("children"===i||"dangerouslySetInnerHTML"===i)continue;if(void 0===r[i])continue;const e=n[i]||i.toLowerCase();"script"!==t||"async"!==e&&"defer"!==e&&"noModule"!==e?a.setAttribute(e,r[i]):a[e]=!!r[i]}const{children:o,dangerouslySetInnerHTML:l}=r;return l?a.innerHTML=l.__html||"":o&&(a.textContent="string"===typeof o?o:Array.isArray(o)?o.join(""):""),a}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}let o;function l(){return{mountedInstances:new Set,updateHead:e=>{const t={};e.forEach((e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}const n=t[e.type]||[];n.push(e),t[e.type]=n}));const n=t.title?t.title[0]:null;let r="";if(n){const{children:e}=n.props;r="string"===typeof e?e:Array.isArray(e)?e.join(""):""}r!==document.title&&(document.title=r),["meta","base","link","style","script"].forEach((e=>{o(e,t[e]||[])}))}}}o=(e,t)=>{const n=document.getElementsByTagName("head")[0],o=n.querySelector("meta[name=next-head-count]");const l=Number(o.content),i=[];for(let r=0,a=o.previousElementSibling;r<l;r++,a=(null==a?void 0:a.previousElementSibling)||null){var u;(null==a||null==(u=a.tagName)?void 0:u.toLowerCase())===e&&i.push(a)}const s=t.map(r).filter((e=>{for(let t=0,n=i.length;t<n;t++){if(a(i[t],e))return i.splice(t,1),!1}return!0}));i.forEach((e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),s.forEach((e=>n.insertBefore(e,o))),o.content=(l-i.length+s.length).toString()},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2489:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8640);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{version:function(){return L},router:function(){return T},emitter:function(){return I},initialize:function(){return X},hydrate:function(){return ce}});const a=n(9758);n(1226);const o=a._(n(8025)),l=a._(n(7016)),i=n(1625),u=a._(n(4512)),s=n(1931),c=n(7973),f=n(5449),d=n(3133),p=n(1512),h=n(7052),m=n(9317),g=a._(n(5541)),y=a._(n(5105)),v=a._(n(1134)),b=n(7548),w=n(9231),_=n(267),S=n(1111),P=n(803),k=n(6613),E=n(2165),x=n(9424),C=n(6079),O=a._(n(9938)),R=e=>t=>e(t)+"",N=n.u;n.u=R(N);const M=n.k;n.k=R(M);const j=n.miniCssF;n.miniCssF=R(j);const L="13.4.12";let T;const I=(0,u.default)(),A=e=>[].slice.call(e);let z,D,F,U,B,H,W,q,V,$,Q,K=!1;self.__next_require__=n;class G extends o.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),T.isSsr&&(z.isFallback||z.nextExport&&((0,f.isDynamicRoute)(T.pathname)||location.search||K)||z.props&&z.props.__N_SSG&&(location.search||K))&&T.replace(T.pathname+"?"+String((0,d.assign)((0,d.urlQueryToSearchParams)(T.query),new URLSearchParams(location.search))),F,{_h:1,shallow:!z.isFallback&&!K}).catch((e=>{if(!e.cancelled)throw e}))}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(e=e&&e.substring(1),!e)return;const t=document.getElementById(e);t&&setTimeout((()=>t.scrollIntoView()),0)}render(){return this.props.children}}async function X(e){void 0===e&&(e={}),z=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=z,D=z.defaultLocale;const t=z.assetPrefix||"";if(n.p=t+"/_next/",(0,p.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:z.runtimeConfig||{}}),F=(0,h.getURL)(),(0,k.hasBasePath)(F)&&(F=(0,P.removeBasePath)(F)),z.scriptLoader){const{initScriptLoader:e}=n(9279);e(z.scriptLoader)}U=new y.default(z.buildId,t);const r=e=>{let[t,n]=e;return U.routeLoader.onEntrypoint(t,n)};return window.__NEXT_P&&window.__NEXT_P.map((e=>setTimeout((()=>r(e)),0))),window.__NEXT_P=[],window.__NEXT_P.push=r,H=(0,g.default)(),H.getIsSsr=()=>T.isSsr,B=document.getElementById("__next"),{assetPrefix:t}}function Y(e,t){return o.default.createElement(e,t)}function J(e){let{children:t}=e;const n=o.default.useMemo((()=>(0,x.adaptForAppRouterInstance)(T)),[]);var r;return o.default.createElement(G,{fn:e=>ee({App:V,err:e}).catch((e=>console.error("Error rendering page: ",e)))},o.default.createElement(E.AppRouterContext.Provider,{value:n},o.default.createElement(C.SearchParamsContext.Provider,{value:(0,x.adaptForSearchParams)(T)},o.default.createElement(x.PathnameContextProviderAdapter,{router:T,isAutoExport:null!=(r=self.__NEXT_DATA__.autoExport)&&r},o.default.createElement(s.RouterContext.Provider,{value:(0,w.makePublicRouterInstance)(T)},o.default.createElement(i.HeadManagerContext.Provider,{value:H},o.default.createElement(S.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/staticspaceiframe/matthoffner/open-codetree/out/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}},t)))))))}const Z=e=>t=>{const n={...t,Component:Q,err:z.err,router:T};return o.default.createElement(J,null,Y(e,n))};function ee(e){let{App:t,err:a}=e;return console.error(a),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),U.loadPage("/_error").then((a=>{let{page:o,styleSheets:l}=a;return(null==W?void 0:W.Component)===o?Promise.resolve().then((()=>r._(n(4385)))).then((a=>Promise.resolve().then((()=>r._(n(3728)))).then((n=>(t=n.default,e.App=t,a))))).then((e=>({ErrorComponent:e.default,styleSheets:[]}))):{ErrorComponent:o,styleSheets:l}})).then((n=>{let{ErrorComponent:r,styleSheets:o}=n;var l;const i=Z(t),u={Component:r,AppTree:i,router:T,ctx:{err:a,pathname:z.page,query:z.query,asPath:F,AppTree:i}};return Promise.resolve((null==(l=e.props)?void 0:l.err)?e.props:(0,h.loadGetInitialProps)(t,u)).then((t=>ue({...e,err:a,Component:r,styleSheets:o,props:t})))}))}function te(e){let{callback:t}=e;return o.default.useLayoutEffect((()=>t()),[t]),null}let ne=null,re=!0;function ae(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((e=>performance.clearMarks(e)))}function oe(){h.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),$&&performance.getEntriesByName("Next.js-hydration").forEach($),ae())}function le(){if(!h.ST)return;performance.mark("afterRender");const e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),$&&(performance.getEntriesByName("Next.js-render").forEach($),performance.getEntriesByName("Next.js-route-change-to-render").forEach($)),ae(),["Next.js-route-change-to-render","Next.js-render"].forEach((e=>performance.clearMeasures(e))))}function ie(e){let{callbacks:t,children:n}=e;return o.default.useLayoutEffect((()=>t.forEach((e=>e()))),[t]),o.default.useEffect((()=>{(0,v.default)($)}),[]),n}function ue(e){let{App:t,Component:n,props:r,err:a}=e,i="initial"in e?void 0:e.styleSheets;n=n||W.Component,r=r||W.props;const u={...r,Component:n,err:a,router:T};W=u;let s,f=!1;const d=new Promise(((e,t)=>{q&&q(),s=()=>{q=null,e()},q=()=>{f=!0,q=null;const e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));function p(){s()}!function(){if(!i)return!1;const e=A(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((e=>e.getAttribute("data-n-href")))),n=document.querySelector("noscript[data-n-css]"),r=null==n?void 0:n.getAttribute("data-n-css");i.forEach((e=>{let{href:n,text:a}=e;if(!t.has(n)){const e=document.createElement("style");e.setAttribute("data-n-href",n),e.setAttribute("media","x"),r&&e.setAttribute("nonce",r),document.head.appendChild(e),e.appendChild(document.createTextNode(a))}}))}();const g=o.default.createElement(o.default.Fragment,null,o.default.createElement(te,{callback:function(){if(i&&!f){const e=new Set(i.map((e=>e.href))),t=A(document.querySelectorAll("style[data-n-href]")),n=t.map((e=>e.getAttribute("data-n-href")));for(let a=0;a<n.length;++a)e.has(n[a])?t[a].removeAttribute("media"):t[a].setAttribute("media","x");let r=document.querySelector("noscript[data-n-css]");r&&i.forEach((e=>{let{href:t}=e;const n=document.querySelector('style[data-n-href="'+t+'"]');n&&(r.parentNode.insertBefore(n,r.nextSibling),r=n)})),A(document.querySelectorAll("link[data-n-p]")).forEach((e=>{e.parentNode.removeChild(e)}))}if(e.scroll){const{x:t,y:n}=e.scroll;(0,c.handleSmoothScroll)((()=>{window.scrollTo(t,n)}))}}}),o.default.createElement(J,null,Y(t,u),o.default.createElement(m.Portal,{type:"next-route-announcer"},o.default.createElement(b.RouteAnnouncer,null))));return function(e,t){h.ST&&performance.mark("beforeRender");const n=t(re?oe:le);ne?(0,o.default.startTransition)((()=>{ne.render(n)})):(ne=l.default.hydrateRoot(e,n,{onRecoverableError:O.default}),re=!1)}(B,(e=>o.default.createElement(ie,{callbacks:[e,p]},g))),d}async function se(e){if(e.err)await ee(e);else try{await ue(e)}catch(t){const n=(0,_.getProperError)(t);if(n.cancelled)throw n;0,await ee({...e,err:n})}}async function ce(e){let t=z.err;try{const e=await U.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;const{component:t,exports:n}=e;V=t,n&&n.reportWebVitals&&($=e=>{let{id:t,name:r,startTime:a,value:o,duration:l,entryType:i,entries:u,attribution:s}=e;const c=Date.now()+"-"+(Math.floor(8999999999999*Math.random())+1e12);let f;u&&u.length&&(f=u[0].startTime);const d={id:t||c,name:r,startTime:a||f,value:null==o?l:o,label:"mark"===i||"measure"===i?"custom":"web-vital"};s&&(d.attribution=s),n.reportWebVitals(d)});const r=await U.routeLoader.whenEntrypoint(z.page);if("error"in r)throw r.error;Q=r.component}catch(r){t=(0,_.getProperError)(r)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(z.dynamicIds),T=(0,w.createRouter)(z.page,z.query,F,{initialProps:z.props,pageLoader:U,App:V,Component:Q,wrapApp:Z,err:t,isFallback:Boolean(z.isFallback),subscription:(e,t,n)=>se(Object.assign({},e,{App:t,scroll:n})),locale:z.locale,locales:z.locales,defaultLocale:D,domainLocales:z.domainLocales,isPreview:z.isPreview}),K=await T._initialMatchesMiddlewarePromise;const n={App:V,initial:!0,Component:Q,props:z.props,err:t};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),se(n)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9312:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2489);window.next={version:r.version,get router(){return r.router},emitter:r.emitter},(0,r.initialize)({}).then((()=>(0,r.hydrate)())).catch(console.error),("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5381:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});const r=n(4457),a=n(758),o=e=>{if(!e.startsWith("/"))return e;const{pathname:t,query:n,hash:o}=(0,a.parsePath)(e);return""+(0,r.removeTrailingSlash)(t)+n+o};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=n(9629);function a(e){const t="function"===typeof reportError?reportError:e=>{window.console.error(e)};e.digest!==r.NEXT_DYNAMIC_NO_SSR_CODE&&t(e)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5105:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=n(9758),a=n(5706),o=n(5104),l=r._(n(4346)),i=n(395),u=n(5449),s=n(2738),c=n(4457),f=n(1795);class d{getPageList(){return(0,f.getClientBuildManifest)().then((e=>e.sortedPages))}getMiddleware(){{const e=[];return window.__MIDDLEWARE_MATCHERS=e||void 0,window.__MIDDLEWARE_MATCHERS}}getDataHref(e){const{asPath:t,href:n,locale:r}=e,{pathname:f,query:d,search:p}=(0,s.parseRelativeUrl)(n),{pathname:h}=(0,s.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(f);if("/"!==m[0])throw new Error('Route name should start with a "/", got "'+m+'"');return(e=>{const t=(0,l.default)((0,c.removeTrailingSlash)((0,i.addLocale)(e,r)),".json");return(0,a.addBasePath)("/_next/data/"+this.buildId+t+p,!0)})(e.skipInterpolation?h:(0,u.isDynamicRoute)(m)?(0,o.interpolateAs)(f,h,d).result:m)}_isSsg(e){return this.promisedSsgManifest.then((t=>t.has(e)))}loadPage(e){return this.routeLoader.loadRoute(e).then((e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map((e=>({href:e.href,text:e.content})))};throw e.error}))}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise((e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}}))}}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1134:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a,o=!1;function l(e){a&&a(e)}const i=e=>{if(a=e,o)return;o=!0;for(const a of r)try{let e;0,e||(e=n(9556)),e["on"+a](l)}catch(t){console.warn("Failed to track "+a+" web-vital",t)}};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9317:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return o}});const r=n(8025),a=n(5776),o=e=>{let{children:t,type:n}=e;const[o,l]=(0,r.useState)(null);return(0,r.useEffect)((()=>{const e=document.createElement(n);return document.body.appendChild(e),l(e),()=>{document.body.removeChild(e)}}),[n]),o?(0,a.createPortal)(t,o):null};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},803:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return r}});n(6613);function r(e){return(e=e.slice("/staticspaceiframe/matthoffner/open-codetree/out".length)).startsWith("/")||(e="/"+e),e}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7047:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return r}});n(758);function r(e,t){return e}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2490:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{requestIdleCallback:function(){return n},cancelIdleCallback:function(){return r}});const n="undefined"!==typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},r="undefined"!==typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7548:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RouteAnnouncer:function(){return l},default:function(){return i}});const r=n(9758)._(n(8025)),a=n(9231),o={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{const{asPath:e}=(0,a.useRouter)(),[t,n]=r.default.useState(""),l=r.default.useRef(e);return r.default.useEffect((()=>{if(l.current!==e)if(l.current=e,document.title)n(document.title);else{const r=document.querySelector("h1");var t;const a=null!=(t=null==r?void 0:r.innerText)?t:null==r?void 0:r.textContent;n(a||e)}}),[e]),r.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:o},t)},i=l;("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1795:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{markAssetError:function(){return i},isAssetError:function(){return u},getClientBuildManifest:function(){return f},createRouteLoader:function(){return p}});n(4346);const r=n(253),a=n(2490);function o(e,t,n){let r,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);const o=new Promise((e=>{r=e}));return t.set(e,a={resolve:r,future:o}),n?n().then((e=>(r(e),e))).catch((n=>{throw t.delete(e),n})):o}const l=Symbol("ASSET_LOAD_ERROR");function i(e){return Object.defineProperty(e,l,{})}function u(e){return e&&l in e}const s=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(t){return!1}}();function c(e,t,n){return new Promise(((r,o)=>{let l=!1;e.then((e=>{l=!0,r(e)})).catch(o),(0,a.requestIdleCallback)((()=>setTimeout((()=>{l||o(n)}),t)))}))}function f(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);return c(new Promise((e=>{const t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}})),3800,i(new Error("Failed to load client build manifest")))}function d(e,t){return f().then((n=>{if(!(t in n))throw i(new Error("Failed to lookup route: "+t));const a=n[t].map((t=>e+"/_next/"+encodeURI(t)));return{scripts:a.filter((e=>e.endsWith(".js"))).map((e=>(0,r.__unsafeCreateTrustedScriptURL)(e)+"")),css:a.filter((e=>e.endsWith(".css"))).map((e=>e+""))}}))}function p(e){const t=new Map,n=new Map,r=new Map,l=new Map;function u(e){{let t=n.get(e.toString());return t||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(n.set(e.toString(),t=function(e,t){return new Promise(((n,r)=>{(t=document.createElement("script")).onload=n,t.onerror=()=>r(i(new Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)}))}(e)),t))}}function f(e){let t=r.get(e);return t||(r.set(e,t=fetch(e).then((t=>{if(!t.ok)throw new Error("Failed to load stylesheet: "+e);return t.text().then((t=>({href:e,content:t})))})).catch((e=>{throw i(e)}))),t)}return{whenEntrypoint:e=>o(e,t),onEntrypoint(e,n){(n?Promise.resolve().then((()=>n())).then((e=>({component:e&&e.default||e,exports:e})),(e=>({error:e}))):Promise.resolve(void 0)).then((n=>{const r=t.get(e);r&&"resolve"in r?n&&(t.set(e,n),r.resolve(n)):(n?t.set(e,n):t.delete(e),l.delete(e))}))},loadRoute(n,r){return o(n,l,(()=>c(d(e,n).then((e=>{let{scripts:r,css:a}=e;return Promise.all([t.has(n)?[]:Promise.all(r.map(u)),Promise.all(a.map(f))])})).then((e=>this.whenEntrypoint(n).then((t=>({entrypoint:t,styles:e[1]}))))),3800,i(new Error("Route did not complete loading: "+n))).then((e=>{let{entrypoint:t,styles:n}=e;const r=Object.assign({styles:n},t);return"error"in t?t:r})).catch((e=>{if(r)throw e;return{error:e}})).finally((()=>{}))))},prefetch(t){let n;return(n=navigator.connection)&&(n.saveData||/2g/.test(n.effectiveType))?Promise.resolve():d(e,t).then((e=>Promise.all(s?e.scripts.map((e=>{return t=e.toString(),n="script",new Promise(((e,a)=>{const o='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(o))return e();r=document.createElement("link"),n&&(r.as=n),r.rel="prefetch",r.crossOrigin=void 0,r.onload=e,r.onerror=()=>a(i(new Error("Failed to prefetch: "+t))),r.href=t,document.head.appendChild(r)}));var t,n,r})):[]))).then((()=>{(0,a.requestIdleCallback)((()=>this.loadRoute(t,!0).catch((()=>{}))))})).catch((()=>{}))}}}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9231:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Router:function(){return o.default},default:function(){return p},withRouter:function(){return u.default},useRouter:function(){return h},createRouter:function(){return m},makePublicRouterInstance:function(){return g}});const r=n(9758),a=r._(n(8025)),o=r._(n(8459)),l=n(1931),i=r._(n(267)),u=r._(n(322)),s={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!s.router){throw new Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n')}return s.router}Object.defineProperty(s,"events",{get:()=>o.default.events}),c.forEach((e=>{Object.defineProperty(s,e,{get:()=>d()[e]})})),f.forEach((e=>{s[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const a=d();return a[e](...n)}})),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach((e=>{s.ready((()=>{o.default.events.on(e,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const a="on"+e.charAt(0).toUpperCase()+e.substring(1),o=s;if(o[a])try{o[a](...n)}catch(l){console.error("Error when running the Router event: "+a),console.error((0,i.default)(l)?l.message+"\n"+l.stack:l+"")}}))}))}));const p=s;function h(){const e=a.default.useContext(l.RouterContext);if(!e)throw new Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s.router=new o.default(...t),s.readyCallbacks.forEach((e=>e())),s.readyCallbacks=[],s.router}function g(e){const t=e,n={};for(const r of c)"object"!==typeof t[r]?n[r]=t[r]:n[r]=Object.assign(Array.isArray(t[r])?[]:{},t[r]);return n.events=o.default.events,f.forEach((e=>{n[e]=function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return t[e](...r)}})),n}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9279:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{handleClientScriptLoad:function(){return h},initScriptLoader:function(){return m},default:function(){return y}});const r=n(9758),a=n(8640),o=r._(n(5776)),l=a._(n(8025)),i=n(1625),u=n(5541),s=n(2490),c=new Map,f=new Set,d=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],p=e=>{const{src:t,id:n,onLoad:r=(()=>{}),onReady:a=null,dangerouslySetInnerHTML:l,children:i="",strategy:s="afterInteractive",onError:p,stylesheets:h}=e,m=n||t;if(m&&f.has(m))return;if(c.has(t))return f.add(m),void c.get(t).then(r,p);const g=()=>{a&&a(),f.add(m)},y=document.createElement("script"),v=new Promise(((e,t)=>{y.addEventListener("load",(function(t){e(),r&&r.call(this,t),g()})),y.addEventListener("error",(function(e){t(e)}))})).catch((function(e){p&&p(e)}));l?(y.innerHTML=l.__html||"",g()):i?(y.textContent="string"===typeof i?i:Array.isArray(i)?i.join(""):"",g()):t&&(y.src=t,c.set(t,v));for(const[o,c]of Object.entries(e)){if(void 0===c||d.includes(o))continue;const e=u.DOMAttributeNames[o]||o.toLowerCase();y.setAttribute(e,c)}"worker"===s&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",s),h&&(e=>{if(o.default.preinit)e.forEach((e=>{o.default.preinit(e,{as:"style"})}));else{let t=document.head;e.forEach((e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)}))}})(h),document.body.appendChild(y)};function h(e){const{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",(()=>{(0,s.requestIdleCallback)((()=>p(e)))})):p(e)}function m(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach((e=>{const t=e.id||e.getAttribute("src");f.add(t)}))}function g(e){const{id:t,src:n="",onLoad:r=(()=>{}),onReady:a=null,strategy:u="afterInteractive",onError:c,stylesheets:d,...h}=e,{updateScripts:m,scripts:g,getIsSsr:y,appDir:v,nonce:b}=(0,l.useContext)(i.HeadManagerContext),w=(0,l.useRef)(!1);(0,l.useEffect)((()=>{const e=t||n;w.current||(a&&e&&f.has(e)&&a(),w.current=!0)}),[a,t,n]);const _=(0,l.useRef)(!1);if((0,l.useEffect)((()=>{_.current||("afterInteractive"===u?p(e):"lazyOnload"===u&&function(e){"complete"===document.readyState?(0,s.requestIdleCallback)((()=>p(e))):window.addEventListener("load",(()=>{(0,s.requestIdleCallback)((()=>p(e)))}))}(e),_.current=!0)}),[e,u]),"beforeInteractive"!==u&&"worker"!==u||(m?(g[u]=(g[u]||[]).concat([{id:t,src:n,onLoad:r,onReady:a,onError:c,...h}]),m(g)):y&&y()?f.add(t||n):y&&!y()&&p(e)),v){if(d&&d.forEach((e=>{o.default.preinit(e,{as:"style"})})),"beforeInteractive"===u)return n?(o.default.preload(n,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"}),l.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n])+")"}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),l.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h}])+")"}}));"afterInteractive"===u&&n&&o.default.preload(n,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"})}return null}Object.defineProperty(g,"__nextScript",{value:!0});const y=g;("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},253:function(e,t){"use strict";let n;function r(e){var t;return(null==(t=function(){var e;return"undefined"===typeof n&&(n=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null),n}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return r}}),("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const r=n(9758)._(n(8025)),a=n(9231);function o(e){function t(t){return r.default.createElement(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=n(9758)._(n(8025)),a=n(7052);async function o(e){let{Component:t,ctx:n}=e;return{pageProps:await(0,a.loadGetInitialProps)(t,n)}}class l extends r.default.Component{render(){const{Component:e,pageProps:t}=this.props;return r.default.createElement(e,t)}}l.origGetInitialProps=o,l.getInitialProps=o,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4385:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=n(9758),a=r._(n(8025)),o=r._(n(8191)),l={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function i(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}const u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class s extends a.default.Component{render(){const{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||l[e]||"An unexpected error has occurred";return a.default.createElement("div",{style:u.error},a.default.createElement(o.default,null,a.default.createElement("title",null,e?e+": "+n:"Application error: a client-side exception has occurred")),a.default.createElement("div",{style:u.desc},a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?a.default.createElement("h1",{className:"next-error-h1",style:u.h1},e):null,a.default.createElement("div",{style:u.wrap},a.default.createElement("h2",{style:u.h2},this.props.title||e?n:a.default.createElement(a.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}s.displayName="ErrorPage",s.getInitialProps=i,s.origGetInitialProps=i,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},633:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});const r=n(9758)._(n(8025)).default.createContext({})},5730:function(e,t){"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},2165:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{CacheStates:function(){return a},AppRouterContext:function(){return o},LayoutRouterContext:function(){return l},GlobalLayoutRouterContext:function(){return i},TemplateContext:function(){return u}});const r=n(9758)._(n(8025));var a;!function(e){e.LAZY_INITIALIZED="LAZYINITIALIZED",e.DATA_FETCH="DATAFETCH",e.READY="READY"}(a||(a={}));const o=r.default.createContext(null),l=r.default.createContext(null),i=r.default.createContext(null),u=r.default.createContext(null)},7125:function(e,t){"use strict";function n(e){let t=0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t=Math.imul(t^r,1540483477),t^=t>>>13,t=Math.imul(t,1540483477)}return t>>>0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=.01);const n=new r(e.length,t);for(const r of e)n.add(r);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach((e=>{this.bitArray[e]=1}))}contains(e){return this.getHashValues(e).every((e=>this.bitArray[e]))}getHashValues(e){const t=[];for(let r=1;r<=this.numHashes;r++){const a=n(""+e+r)%this.numBits;t.push(a)}return t}constructor(e,t){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-e*Math.log(t)/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=new Array(this.numBits).fill(0)}}},8685:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return a}});const n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function a(e){return n.test(e)?e.replace(r,"\\$&"):e}},1625:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return r}});const r=n(9758)._(n(8025)).default.createContext({})},8191:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{defaultHead:function(){return s},default:function(){return p}});const r=n(9758),a=n(8640)._(n(8025)),o=r._(n(4574)),l=n(633),i=n(1625),u=n(5730);n(5774);function s(e){void 0===e&&(e=!1);const t=[a.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function c(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce(((e,t)=>"string"===typeof t||"number"===typeof t?e:e.concat(t)),[])):e.concat(t)}const f=["name","httpEquiv","charSet","itemProp"];function d(e,t){const{inAmpMode:n}=t;return e.reduce(c,[]).reverse().concat(s(n).reverse()).filter(function(){const e=new Set,t=new Set,n=new Set,r={};return a=>{let o=!0,l=!1;if(a.key&&"number"!==typeof a.key&&a.key.indexOf("$")>0){l=!0;const t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){const t=f[e];if(a.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?o=!1:n.add(t);else{const e=a.props[t],n=r[t]||new Set;"name"===t&&l||!n.has(e)?(n.add(e),r[t]=n):o=!1}}}return o}}()).reverse().map(((e,t)=>{const r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((t=>e.props.href.startsWith(t)))){const t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,a.default.cloneElement(e,t)}return a.default.cloneElement(e,{key:r})}))}const p=function(e){let{children:t}=e;const n=(0,a.useContext)(l.AmpStateContext),r=(0,a.useContext)(i.HeadManagerContext);return a.default.createElement(o.default,{reduceComponentsToState:d,headManager:r,inAmpMode:(0,u.isInAmpMode)(n)},t)};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6079:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{SearchParamsContext:function(){return a},PathnameContext:function(){return o}});const r=n(8025),a=(0,r.createContext)(null),o=(0,r.createContext)(null)},3163:function(e,t){"use strict";function n(e,t){let n;const r=e.split("/");return(t||[]).some((t=>!(!r[1]||r[1].toLowerCase()!==t.toLowerCase())&&(n=t,r.splice(1,1),e=r.join("/")||"/",!0))),{pathname:e,detectedLocale:n}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}})},1111:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});const r=n(9758)._(n(8025)),a=n(9865),o=r.default.createContext(a.imageConfigDefault)},9865:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});const n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},3093:function(e,t){"use strict";function n(e){return Object.prototype.toString.call(e)}function r(e){if("[object Object]"!==n(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getObjectClassLabel:function(){return n},isPlainObject:function(){return r}})},9629:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NEXT_DYNAMIC_NO_SSR_CODE",{enumerable:!0,get:function(){return n}});const n="NEXT_DYNAMIC_NO_SSR_CODE"},4512:function(e,t){"use strict";function n(){const e=Object.create(null);return{on(t,n){(e[t]||(e[t]=[])).push(n)},off(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];(e[t]||[]).slice().map((e=>{e(...r)}))}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},3669:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});const r=n(1147),a=n(5687);function o(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,r.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},1531:function(e,t){"use strict";function n(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},5687:function(e,t){"use strict";function n(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return n}})},1931:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});const r=n(9758)._(n(8025)).default.createContext(null)},9424:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{adaptForAppRouterInstance:function(){return l},adaptForSearchParams:function(){return i},PathnameContextProviderAdapter:function(){return u}});const r=n(8640)._(n(8025)),a=n(6079),o=n(1147);function l(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t,n){let{scroll:r}=void 0===n?{}:n;e.push(t,void 0,{scroll:r})},replace(t,n){let{scroll:r}=void 0===n?{}:n;e.replace(t,void 0,{scroll:r})},prefetch(t){e.prefetch(t)}}}function i(e){return e.isReady&&e.query?function(e){const t=new URLSearchParams;for(const[n,r]of Object.entries(e))if(Array.isArray(r))for(const e of r)t.append(n,e);else"undefined"!==typeof r&&t.append(n,r);return t}(e.query):new URLSearchParams}function u(e){let{children:t,router:n,...l}=e;const i=(0,r.useRef)(l.isAutoExport),u=(0,r.useMemo)((()=>{const e=i.current;if(e&&(i.current=!1),(0,o.isDynamicRoute)(n.pathname)){if(n.isFallback)return null;if(e&&!n.isReady)return null}let t;try{t=new URL(n.asPath,"http://f")}catch(r){return"/"}return t.pathname}),[n.asPath,n.isFallback,n.isReady,n.pathname]);return r.default.createElement(a.PathnameContext.Provider,{value:u},t)}},8459:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return Q},matchesMiddleware:function(){return I},createKey:function(){return q}});const r=n(9758),a=n(8640),o=n(4457),l=n(1795),i=n(9279),u=a._(n(267)),s=n(3669),c=n(3163),f=r._(n(4512)),d=n(7052),p=n(5449),h=n(2738),m=(n(2153),n(4275)),g=n(2686),y=n(8408),v=(n(6849),n(758)),b=n(395),w=n(7047),_=n(803),S=n(5706),P=n(6613),k=n(6481),E=n(5131),x=n(9770),C=n(7572),O=n(451),R=n(2721),N=n(9072),M=n(3367),j=n(5104),L=n(7973);function T(){return Object.assign(new Error("Route Cancelled"),{cancelled:!0})}async function I(e){const t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;const{pathname:n}=(0,v.parsePath)(e.asPath),r=(0,P.hasBasePath)(n)?(0,_.removeBasePath)(n):n,a=(0,S.addBasePath)((0,b.addLocale)(r,e.locale));return t.some((e=>new RegExp(e.regexp).test(a)))}function A(e){const t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function z(e,t,n){let[r,a]=(0,M.resolveHref)(e,t,!0);const o=(0,d.getLocationOrigin)(),l=r.startsWith(o),i=a&&a.startsWith(o);r=A(r),a=a?A(a):a;const u=l?r:(0,S.addBasePath)(r),s=n?A((0,M.resolveHref)(e,n)):a||r;return{url:u,as:i?s:(0,S.addBasePath)(s)}}function D(e,t){const n=(0,o.removeTrailingSlash)((0,s.denormalizePagePath)(e));return"/404"===n||"/_error"===n?e:(t.includes(n)||t.some((t=>{if((0,p.isDynamicRoute)(t)&&(0,g.getRouteRegex)(t).re.test(n))return e=t,!0})),(0,o.removeTrailingSlash)(e))}async function F(e){if(!(await I(e))||!e.fetchData)return null;try{const t=await e.fetchData(),n=await function(e,t,n){const r={basePath:n.router.basePath,i18n:{locales:n.router.locales},trailingSlash:Boolean(!1)},a=t.headers.get("x-nextjs-rewrite");let i=a||t.headers.get("x-nextjs-matched-path");const u=t.headers.get("x-matched-path");if(!u||i||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(i=u),i){if(i.startsWith("/")){const t=(0,h.parseRelativeUrl)(i),u=(0,E.getNextPathnameInfo)(t.pathname,{nextConfig:r,parseData:!0});let s=(0,o.removeTrailingSlash)(u.pathname);return Promise.all([n.router.pageLoader.getPageList(),(0,l.getClientBuildManifest)()]).then((o=>{let[l,{__rewrites:i}]=o,f=(0,b.addLocale)(u.pathname,u.locale);if((0,p.isDynamicRoute)(f)||!a&&l.includes((0,c.normalizeLocalePath)((0,_.removeBasePath)(f),n.router.locales).pathname)){const n=(0,E.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:r,parseData:!0});f=(0,S.addBasePath)(n.pathname),t.pathname=f}if(!l.includes(s)){const e=D(s,l);e!==s&&(s=e)}const d=l.includes(s)?s:D((0,c.normalizeLocalePath)((0,_.removeBasePath)(t.pathname),n.router.locales).pathname,l);if((0,p.isDynamicRoute)(d)){const e=(0,m.getRouteMatcher)((0,g.getRouteRegex)(d))(f);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}}))}const t=(0,v.parsePath)(e),u=(0,x.formatNextPathnameInfo)({...(0,E.getNextPathnameInfo)(t.pathname,{nextConfig:r,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+u+t.query+t.hash})}const s=t.headers.get("x-nextjs-redirect");if(s){if(s.startsWith("/")){const e=(0,v.parsePath)(s),t=(0,x.formatNextPathnameInfo)({...(0,E.getNextPathnameInfo)(e.pathname,{nextConfig:r,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:s})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:n}}catch(t){return null}}const U=Symbol("SSG_DATA_NOT_FOUND");function B(e,t,n){return fetch(e,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then((r=>!r.ok&&t>1&&r.status>=500?B(e,t-1,n):r))}function H(e){try{return JSON.parse(e)}catch(t){return null}}function W(e){let{dataHref:t,inflightCache:n,isPrefetch:r,hasMiddleware:a,isServerRender:o,parseJSON:i,persistCache:u,isBackground:s,unstable_skipClientCache:c}=e;const{href:f}=new URL(t,window.location.href);var d;const p=e=>B(t,o?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&a?{"x-middleware-prefetch":"1"}:{}),method:null!=(d=null==e?void 0:e.method)?d:"GET"}).then((n=>n.ok&&"HEAD"===(null==e?void 0:e.method)?{dataHref:t,response:n,text:"",json:{},cacheKey:f}:n.text().then((e=>{if(!n.ok){if(a&&[301,302,307,308].includes(n.status))return{dataHref:t,response:n,text:e,json:{},cacheKey:f};var r;if(404===n.status)if(null==(r=H(e))?void 0:r.notFound)return{dataHref:t,json:{notFound:U},response:n,text:e,cacheKey:f};const i=new Error("Failed to load static props");throw o||(0,l.markAssetError)(i),i}return{dataHref:t,json:i?H(e):null,response:n,text:e,cacheKey:f}})))).then((e=>(u&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[f],e))).catch((e=>{throw c||delete n[f],"Failed to fetch"!==e.message&&"NetworkError when attempting to fetch resource."!==e.message&&"Load failed"!==e.message||(0,l.markAssetError)(e),e}));return c&&u?p({}).then((e=>(n[f]=Promise.resolve(e),e))):void 0!==n[f]?n[f]:n[f]=p(s?{method:"HEAD"}:{})}function q(){return Math.random().toString(36).slice(2,10)}function V(e){let{url:t,router:n}=e;if(t===(0,S.addBasePath)((0,b.addLocale)(n.asPath,n.locale)))throw new Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}const $=e=>{let{route:t,router:n}=e,r=!1;const a=n.clc=()=>{r=!0};return()=>{if(r){const e=new Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}a===n.clc&&(n.clc=null)}};class Q{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,n){return void 0===n&&(n={}),({url:e,as:t}=z(this,e,t)),this.change("pushState",e,t,n)}replace(e,t,n){return void 0===n&&(n={}),({url:e,as:t}=z(this,e,t)),this.change("replaceState",e,t,n)}async _bfl(e,t,n,r){{let u=!1,s=!1;for(const c of[e,t])if(c){const t=(0,o.removeTrailingSlash)(new URL(c,"http://n").pathname),f=(0,S.addBasePath)((0,b.addLocale)(t,n||this.locale));if(t!==(0,o.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var a,l;u=u||!!(null==(a=this._bfl_s)?void 0:a.contains(t))||!!(null==(l=this._bfl_s)?void 0:l.contains(f));for(const e of[t,f]){const t=e.split("/");for(let e=0;!s&&e<t.length+1;e++){var i;const n=t.slice(0,e).join("/");if(n&&(null==(i=this._bfl_d)?void 0:i.contains(n))){s=!0;break}}}if(u||s)return!!r||(V({url:(0,S.addBasePath)((0,b.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise((()=>{})))}}}return!1}async change(e,t,n,r,a){var s;if(!(0,O.isLocalURL)(t))return V({url:t,router:this}),!1;const c=1===r._h;c||r.shallow||await this._bfl(n,void 0,r.locale);let f=c||r._shouldResolveHref||(0,v.parsePath)(t).pathname===(0,v.parsePath)(n).pathname;const k={...this.state},E=!0!==this.isReady;this.isReady=!0;const x=this.isSsr;if(c||(this.isSsr=!1),c&&this.clc)return!1;const R=k.locale;d.ST&&performance.mark("routeChange");const{shallow:M=!1,scroll:L=!0}=r,A={shallow:M};this._inFlightRoute&&this.clc&&(x||Q.events.emit("routeChangeError",T(),this._inFlightRoute,A),this.clc(),this.clc=null),n=(0,S.addBasePath)((0,b.addLocale)((0,P.hasBasePath)(n)?(0,_.removeBasePath)(n):n,r.locale,this.defaultLocale));const F=(0,w.removeLocale)((0,P.hasBasePath)(n)?(0,_.removeBasePath)(n):n,k.locale);this._inFlightRoute=n;const B=R!==k.locale;if(!c&&this.onlyAHashChange(F)&&!B){k.asPath=F,Q.events.emit("hashChangeStart",n,A),this.changeState(e,t,n,{...r,scroll:!1}),L&&this.scrollToHash(F);try{await this.set(k,this.components[k.route],null)}catch(ce){throw(0,u.default)(ce)&&ce.cancelled&&Q.events.emit("routeChangeError",ce,F,A),ce}return Q.events.emit("hashChangeComplete",n,A),!0}let H,W,q=(0,h.parseRelativeUrl)(t),{pathname:$,query:K}=q;if(null==(s=this.components[$])?void 0:s.__appRouter)return V({url:n,router:this}),new Promise((()=>{}));try{[H,{__rewrites:W}]=await Promise.all([this.pageLoader.getPageList(),(0,l.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(ce){return V({url:n,router:this}),!1}this.urlIsNew(F)||B||(e="replaceState");let G=n;$=$?(0,o.removeTrailingSlash)((0,_.removeBasePath)($)):$;let X=(0,o.removeTrailingSlash)($);const Y=n.startsWith("/")&&(0,h.parseRelativeUrl)(n).pathname,J=!(!Y||X===Y||(0,p.isDynamicRoute)(X)&&(0,m.getRouteMatcher)((0,g.getRouteRegex)(X))(Y)),Z=!r.shallow&&await I({asPath:n,locale:k.locale,router:this});if(c&&Z&&(f=!1),f&&"/_error"!==$&&(r._shouldResolveHref=!0,q.pathname=D($,H),q.pathname!==$&&($=q.pathname,q.pathname=(0,S.addBasePath)($),Z||(t=(0,y.formatWithValidation)(q)))),!(0,O.isLocalURL)(n))return V({url:n,router:this}),!1;G=(0,w.removeLocale)((0,_.removeBasePath)(G),k.locale),X=(0,o.removeTrailingSlash)($);let ee=!1;if((0,p.isDynamicRoute)(X)){const e=(0,h.parseRelativeUrl)(G),r=e.pathname,a=(0,g.getRouteRegex)(X);ee=(0,m.getRouteMatcher)(a)(r);const o=X===r,l=o?(0,j.interpolateAs)(X,r,K):{};if(!ee||o&&!l.result){const e=Object.keys(a.groups).filter((e=>!K[e]&&!a.groups[e].optional));if(e.length>0&&!Z)throw new Error((o?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+r+") is incompatible with the `href` value ("+X+"). ")+"Read more: https://nextjs.org/docs/messages/"+(o?"href-interpolation-failed":"incompatible-href-as"))}else o?n=(0,y.formatWithValidation)(Object.assign({},e,{pathname:l.result,query:(0,N.omit)(K,l.params)})):Object.assign(K,ee)}c||Q.events.emit("routeChangeStart",n,A);const te="/404"===this.pathname||"/_error"===this.pathname;try{var ne,re,ae;let o=await this.getRouteInfo({route:X,pathname:$,query:K,as:n,resolvedAs:G,routeProps:A,locale:k.locale,isPreview:k.isPreview,hasMiddleware:Z,unstable_skipClientCache:r.unstable_skipClientCache,isQueryUpdating:c&&!this.isFallback,isMiddlewareRewrite:J});if(c||r.shallow||await this._bfl(n,"resolvedAs"in o?o.resolvedAs:void 0,k.locale),"route"in o&&Z){$=o.route||X,X=$,A.shallow||(K=Object.assign({},o.query||{},K));const e=(0,P.hasBasePath)(q.pathname)?(0,_.removeBasePath)(q.pathname):q.pathname;if(ee&&$!==e&&Object.keys(ee).forEach((e=>{ee&&K[e]===ee[e]&&delete K[e]})),(0,p.isDynamicRoute)($)){let e=!A.shallow&&o.resolvedAs?o.resolvedAs:(0,S.addBasePath)((0,b.addLocale)(new URL(n,location.href).pathname,k.locale),!0);(0,P.hasBasePath)(e)&&(e=(0,_.removeBasePath)(e));const t=(0,g.getRouteRegex)($),r=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);r&&Object.assign(K,r)}}if("type"in o)return"redirect-internal"===o.type?this.change(e,o.newUrl,o.newAs,r):(V({url:o.destination,router:this}),new Promise((()=>{})));const l=o.Component;if(l&&l.unstable_scriptLoader){[].concat(l.unstable_scriptLoader()).forEach((e=>{(0,i.handleClientScriptLoad)(e.props)}))}if((o.__N_SSG||o.__N_SSP)&&o.props){if(o.props.pageProps&&o.props.pageProps.__N_REDIRECT){r.locale=!1;const t=o.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==o.props.pageProps.__N_REDIRECT_BASE_PATH){const n=(0,h.parseRelativeUrl)(t);n.pathname=D(n.pathname,H);const{url:a,as:o}=z(this,t,t);return this.change(e,a,o,r)}return V({url:t,router:this}),new Promise((()=>{}))}if(k.isPreview=!!o.props.__N_PREVIEW,o.props.notFound===U){let e;try{await this.fetchComponent("/404"),e="/404"}catch(fe){e="/_error"}if(o=await this.getRouteInfo({route:e,pathname:e,query:K,as:n,resolvedAs:G,routeProps:{shallow:!1},locale:k.locale,isPreview:k.isPreview,isNotFound:!0}),"type"in o)throw new Error("Unexpected middleware effect on /404")}}var oe;c&&"/_error"===this.pathname&&500===(null==(ne=self.__NEXT_DATA__.props)||null==(re=ne.pageProps)?void 0:re.statusCode)&&(null==(ae=o.props)?void 0:ae.pageProps)&&(o.props.pageProps.statusCode=500);const s=r.shallow&&k.route===(null!=(oe=o.route)?oe:X);var le;const f=null!=(le=r.scroll)?le:!c&&!s,d=f?{x:0,y:0}:null,y=null!=a?a:d,v={...k,route:X,pathname:$,query:K,asPath:F,isFallback:!1};if(c&&te){var ie,ue,se;if(o=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:K,as:n,resolvedAs:G,routeProps:{shallow:!1},locale:k.locale,isPreview:k.isPreview,isQueryUpdating:c&&!this.isFallback}),"type"in o)throw new Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&500===(null==(ie=self.__NEXT_DATA__.props)||null==(ue=ie.pageProps)?void 0:ue.statusCode)&&(null==(se=o.props)?void 0:se.pageProps)&&(o.props.pageProps.statusCode=500);try{await this.set(v,o,y)}catch(ce){throw(0,u.default)(ce)&&ce.cancelled&&Q.events.emit("routeChangeError",ce,F,A),ce}return!0}Q.events.emit("beforeHistoryChange",n,A),this.changeState(e,t,n,r);if(!(c&&!y&&!E&&!B&&(0,C.compareRouterStates)(v,this.state))){try{await this.set(v,o,y)}catch(de){if(!de.cancelled)throw de;o.error=o.error||de}if(o.error)throw c||Q.events.emit("routeChangeError",o.error,F,A),o.error;0,c||Q.events.emit("routeChangeComplete",n,A);const e=/#.+$/;f&&e.test(n)&&this.scrollToHash(n)}return!0}catch(ce){if((0,u.default)(ce)&&ce.cancelled)return!1;throw ce}}changeState(e,t,n,r){void 0===r&&(r={}),"pushState"===e&&(0,d.getURL)()===n||(this._shallow=r.shallow,window.history[e]({url:t,as:n,options:r,__N:!0,key:this._key="pushState"!==e?this._key:q()},"",n))}async handleRouteInfoError(e,t,n,r,a,o){if(console.error(e),e.cancelled)throw e;if((0,l.isAssetError)(e)||o)throw Q.events.emit("routeChangeError",e,r,a),V({url:r,router:this}),T();try{let r;const{page:a,styleSheets:o}=await this.fetchComponent("/_error"),l={props:r,Component:a,styleSheets:o,err:e,error:e};if(!l.props)try{l.props=await this.getInitialProps(a,{err:e,pathname:t,query:n})}catch(i){console.error("Error in error page `getInitialProps`: ",i),l.props={}}return l}catch(s){return this.handleRouteInfoError((0,u.default)(s)?s:new Error(s+""),t,n,r,a,!0)}}async getRouteInfo(e){let{route:t,pathname:n,query:r,as:a,resolvedAs:l,routeProps:i,locale:s,hasMiddleware:f,isPreview:d,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:g}=e,v=t;try{var b,w,S,P;const e=$({route:v,router:this});let t=this.components[v];if(i.shallow&&t&&this.route===v)return t;f&&(t=void 0);let u=t&&!("initial"in t)?t:void 0;const E=h,x={dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:n,query:r}),skipInterpolation:!0,asPath:g?"/404":l,locale:s}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:E?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p,isBackground:E};let C=h&&!m?null:await F({fetchData:()=>W(x),asPath:g?"/404":l,locale:s,router:this}).catch((e=>{if(h)return null;throw e}));if(!C||"/_error"!==n&&"/404"!==n||(C.effect=void 0),h&&(C?C.json=self.__NEXT_DATA__.props:C={json:self.__NEXT_DATA__.props}),e(),"redirect-internal"===(null==C||null==(b=C.effect)?void 0:b.type)||"redirect-external"===(null==C||null==(w=C.effect)?void 0:w.type))return C.effect;if("rewrite"===(null==C||null==(S=C.effect)?void 0:S.type)){const e=(0,o.removeTrailingSlash)(C.effect.resolvedHref),a=await this.pageLoader.getPageList();if((!h||a.includes(e))&&(v=e,n=C.effect.resolvedHref,r={...r,...C.effect.parsedAs.query},l=(0,_.removeBasePath)((0,c.normalizeLocalePath)(C.effect.parsedAs.pathname,this.locales).pathname),t=this.components[v],i.shallow&&t&&this.route===v&&!f))return{...t,route:v}}if((0,k.isAPIRoute)(v))return V({url:a,router:this}),new Promise((()=>{}));const O=u||await this.fetchComponent(v).then((e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})));0;const R=null==C||null==(P=C.response)?void 0:P.headers.get("x-middleware-skip"),N=O.__N_SSG||O.__N_SSP;R&&(null==C?void 0:C.dataHref)&&delete this.sdc[C.dataHref];const{props:M,cacheKey:j}=await this._getData((async()=>{if(N){if((null==C?void 0:C.json)&&!R)return{cacheKey:C.cacheKey,props:C.json};const e=(null==C?void 0:C.dataHref)?C.dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:n,query:r}),asPath:l,locale:s}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:R?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(O.Component,{pathname:n,query:r,asPath:a,locale:s,locales:this.locales,defaultLocale:this.defaultLocale})}}));return O.__N_SSP&&x.dataHref&&j&&delete this.sdc[j],this.isPreview||!O.__N_SSG||h||W(Object.assign({},x,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch((()=>{})),M.pageProps=Object.assign({},M.pageProps),O.props=M,O.route=v,O.query=r,O.resolvedAs=l,this.components[v]=O,O}catch(E){return this.handleRouteInfoError((0,u.getProperError)(E),n,r,a,i)}}set(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;const[t,n]=this.asPath.split("#"),[r,a]=e.split("#");return!(!a||t!==r||n!==a)||t===r&&n!==a}scrollToHash(e){const[,t=""]=e.split("#");(0,L.handleSmoothScroll)((()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);const e=decodeURIComponent(t),n=document.getElementById(e);if(n)return void n.scrollIntoView();const r=document.getElementsByName(e)[0];r&&r.scrollIntoView()}),{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,n){if(void 0===t&&(t=e),void 0===n&&(n={}),(0,R.isBot)(window.navigator.userAgent))return;let r=(0,h.parseRelativeUrl)(e);const a=r.pathname;let{pathname:l,query:i}=r;const u=l;const s=await this.pageLoader.getPageList();let c=t;const f="undefined"!==typeof n.locale?n.locale||void 0:this.locale,d=await I({asPath:t,locale:f,router:this});r.pathname=D(r.pathname,s),(0,p.isDynamicRoute)(r.pathname)&&(l=r.pathname,r.pathname=l,Object.assign(i,(0,m.getRouteMatcher)((0,g.getRouteRegex)(r.pathname))((0,v.parsePath)(t).pathname)||{}),d||(e=(0,y.formatWithValidation)(r)));const b=await F({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:u,query:i}),skipInterpolation:!0,asPath:c,locale:f}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if("rewrite"===(null==b?void 0:b.effect.type)&&(r.pathname=b.effect.resolvedHref,l=b.effect.resolvedHref,i={...i,...b.effect.parsedAs.query},c=b.effect.parsedAs.pathname,e=(0,y.formatWithValidation)(r)),"redirect-external"===(null==b?void 0:b.effect.type))return;const w=(0,o.removeTrailingSlash)(l);await this._bfl(t,c,n.locale,!0)&&(this.components[a]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(w).then((t=>!!t&&W({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then((()=>!1)).catch((()=>!1)))),this.pageLoader[n.priority?"loadPage":"prefetch"](w)])}async fetchComponent(e){const t=$({route:e,router:this});try{const n=await this.pageLoader.loadPage(e);return t(),n}catch(n){throw t(),n}}_getData(e){let t=!1;const n=()=>{t=!0};return this.clc=n,e().then((e=>{if(n===this.clc&&(this.clc=null),t){const e=new Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e}))}_getFlightData(e){return W({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then((e=>{let{text:t}=e;return{data:t}}))}getInitialProps(e,t){const{Component:n}=this.components["/_app"],r=this._wrapApp(n);return t.AppTree=r,(0,d.loadGetInitialProps)(n,{AppTree:r,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,r,{initialProps:a,pageLoader:l,App:i,wrapApp:u,Component:s,err:c,subscription:f,isFallback:m,locale:g,locales:v,defaultLocale:b,domainLocales:w,isPreview:_}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=q(),this.onPopState=e=>{const{isFirstPopStateEvent:t}=this;this.isFirstPopStateEvent=!1;const n=e.state;if(!n){const{pathname:e,query:t}=this;return void this.changeState("replaceState",(0,y.formatWithValidation)({pathname:(0,S.addBasePath)(e),query:t}),(0,d.getURL)())}if(n.__NA)return void window.location.reload();if(!n.__N)return;if(t&&this.locale===n.options.locale&&n.as===this.asPath)return;const{url:r,as:a,options:o,key:l}=n;this._key=l;const{pathname:i}=(0,h.parseRelativeUrl)(r);this.isSsr&&a===(0,S.addBasePath)(this.asPath)&&i===(0,S.addBasePath)(this.pathname)||this._bps&&!this._bps(n)||this.change("replaceState",r,a,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),undefined)};const P=(0,o.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[P]={Component:s,initial:!0,props:a,err:c,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]};{const{BloomFilter:e}=n(7125),t={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]},r={numItems:0,errorRate:.01,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==r?void 0:r.numHashes)&&(this._bfl_d=new e(r.numItems,r.errorRate),this._bfl_d.import(r))}this.events=Q.events,this.pageLoader=l;const k=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="/staticspaceiframe/matthoffner/open-codetree/out",this.sub=f,this.clc=null,this._wrapApp=u,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!k&&!self.location.search),this.state={route:P,pathname:e,query:t,asPath:k?e:r,isPreview:!!_,locale:void 0,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){const n={locale:g},a=(0,d.getURL)();this._initialMatchesMiddlewarePromise=I({router:this,locale:g,asPath:a}).then((o=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",o?a:(0,y.formatWithValidation)({pathname:(0,S.addBasePath)(e),query:t}),a,n),o)))}window.addEventListener("popstate",this.onPopState)}}Q.events=(0,f.default)()},3121:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});const r=n(5967),a=n(754);function o(e,t,n,o){if(!t||t===n)return e;const l=e.toLowerCase();if(!o){if((0,a.pathHasPrefix)(l,"/api"))return e;if((0,a.pathHasPrefix)(l,"/"+t.toLowerCase()))return e}return(0,r.addPathPrefix)(e,"/"+t)}},5967:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return a}});const r=n(758);function a(e,t){if(!e.startsWith("/")||!t)return e;const{pathname:n,query:a,hash:o}=(0,r.parsePath)(e);return""+t+n+a+o}},3264:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});const r=n(758);function a(e,t){if(!e.startsWith("/")||!t)return e;const{pathname:n,query:a,hash:o}=(0,r.parsePath)(e);return""+n+t+a+o}},4804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{normalizeAppPath:function(){return a},normalizeRscPath:function(){return o}});const r=n(1531);function a(e){return(0,r.ensureLeadingSlash)(e.split("/").reduce(((e,t,n,r)=>t?"("===t[0]&&t.endsWith(")")||"@"===t[0]?e:"page"!==t&&"route"!==t||n!==r.length-1?e+"/"+t:e:e),""))}function o(e,t){return t?e.replace(/\.rsc($|\?)/,"$1"):e}},7572:function(e,t){"use strict";function n(e,t){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=n.length;r--;){const a=n[r];if("query"===a){const n=Object.keys(e.query);if(n.length!==Object.keys(t.query).length)return!1;for(let r=n.length;r--;){const a=n[r];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return n}})},9770:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return i}});const r=n(4457),a=n(5967),o=n(3264),l=n(3121);function i(e){let t=(0,l.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return!e.buildId&&e.trailingSlash||(t=(0,r.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,a.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,r.removeTrailingSlash)(t)}},8408:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return o},urlObjectKeys:function(){return l},formatWithValidation:function(){return i}});const r=n(8640)._(n(3133)),a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:n}=e,o=e.protocol||"",l=e.pathname||"",i=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:n&&(s=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(s+=":"+e.port)),u&&"object"===typeof u&&(u=String(r.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==s?(s="//"+(s||""),l&&"/"!==l[0]&&(l="/"+l)):s||(s=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),l=l.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),""+o+s+l+c+i}const l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function i(e){return o(e)}},4346:function(e,t){"use strict";function n(e,t){void 0===t&&(t="");return("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:""+e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},5131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return l}});const r=n(3163),a=n(7357),o=n(754);function l(e,t){var n;const{basePath:l,i18n:i,trailingSlash:u}=null!=(n=t.nextConfig)?n:{},s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};if(l&&(0,o.pathHasPrefix)(s.pathname,l)&&(s.pathname=(0,a.removePathPrefix)(s.pathname,l),s.basePath=l),!0===t.parseData&&s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){const e=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),t=e[0];s.pathname="index"!==e[1]?"/"+e.slice(1).join("/"):"/",s.buildId=t}if(t.i18nProvider){const e=t.i18nProvider.analyze(s.pathname);var c;s.locale=e.detectedLocale,s.pathname=null!=(c=e.pathname)?c:s.pathname}else if(i){const e=(0,r.normalizeLocalePath)(s.pathname,i.locales);var f;s.locale=e.detectedLocale,s.pathname=null!=(f=e.pathname)?f:s.pathname}return s}},7973:function(e,t){"use strict";function n(e,t){if(void 0===t&&(t={}),t.onlyHashChange)return void e();const n=document.documentElement,r=n.style.scrollBehavior;n.style.scrollBehavior="auto",t.dontForceLayout||n.getClientRects(),e(),n.style.scrollBehavior=r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return n}})},1147:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return a.isDynamicRoute}});const r=n(2844),a=n(5449)},5104:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});const r=n(4275),a=n(2686);function o(e,t,n){let o="";const l=(0,a.getRouteRegex)(e),i=l.groups,u=(t!==e?(0,r.getRouteMatcher)(l)(t):"")||n;o=e;const s=Object.keys(i);return s.every((e=>{let t=u[e]||"";const{repeat:n,optional:r}=i[e];let a="["+(n?"...":"")+e+"]";return r&&(a=(t?"":"/")+"["+a+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in u)&&(o=o.replace(a,n?t.map((e=>encodeURIComponent(e))).join("/"):encodeURIComponent(t))||"/")}))||(o=""),{params:s,result:o}}},2721:function(e,t){"use strict";function n(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}})},5449:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return r}});const n=/\/\[[^/]+?\](?=\/|$)/;function r(e){return n.test(e)}},451:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});const r=n(7052),a=n(6613);function o(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{const t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,a.hasBasePath)(n.pathname)}catch(t){return!1}}},9072:function(e,t){"use strict";function n(e,t){const n={};return Object.keys(e).forEach((r=>{t.includes(r)||(n[r]=e[r])})),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},758:function(e,t){"use strict";function n(e){const t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n<t);return r||t>-1?{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return n}})},2738:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});const r=n(7052),a=n(3133);function o(e,t){const n=new URL((0,r.getLocationOrigin)()),o=t?new URL(t,n):e.startsWith(".")?new URL(window.location.href):n,{pathname:l,searchParams:i,search:u,hash:s,href:c,origin:f}=new URL(e,o);if(f!==n.origin)throw new Error("invariant: invalid relative URL, router received "+e);return{pathname:l,query:(0,a.searchParamsToUrlQuery)(i),search:u,hash:s,href:c.slice(n.origin.length)}}},754:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return a}});const r=n(758);function a(e,t){if("string"!==typeof e)return!1;const{pathname:n}=(0,r.parsePath)(e);return n===t||n.startsWith(t+"/")}},3133:function(e,t){"use strict";function n(e){const t={};return e.forEach(((e,n)=>{"undefined"===typeof t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]})),t}function r(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}function a(e){const t=new URLSearchParams;return Object.entries(e).forEach((e=>{let[n,a]=e;Array.isArray(a)?a.forEach((e=>t.append(n,r(e)))):t.set(n,r(a))})),t}function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach((t=>{Array.from(t.keys()).forEach((t=>e.delete(t))),t.forEach(((t,n)=>e.append(n,t)))})),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return a},assign:function(){return o}})},7357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return a}});const r=n(754);function a(e,t){if(!(0,r.pathHasPrefix)(e,t))return e;const n=e.slice(t.length);return n.startsWith("/")?n:"/"+n}},4457:function(e,t){"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},3367:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});const r=n(3133),a=n(8408),o=n(9072),l=n(7052),i=n(5381),u=n(451),s=n(5449),c=n(5104);function f(e,t,n){let f,d="string"===typeof t?t:(0,a.formatWithValidation)(t);const p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const t=(0,l.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,u.isLocalURL)(d))return n?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(m){f=new URL("/","http://n")}try{const e=new URL(d,f);e.pathname=(0,i.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&n){const n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:l,params:i}=(0,c.interpolateAs)(e.pathname,e.pathname,n);l&&(t=(0,a.formatWithValidation)({pathname:l,hash:e.hash,query:(0,o.omit)(n,i)}))}const l=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return n?[l,t||l]:l}catch(m){return n?[d]:d}}},4275:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return a}});const r=n(7052);function a(e){let{re:t,groups:n}=e;return e=>{const a=t.exec(e);if(!a)return!1;const o=e=>{try{return decodeURIComponent(e)}catch(t){throw new r.DecodeError("failed to decode param")}},l={};return Object.keys(n).forEach((e=>{const t=n[e],r=a[t.pos];void 0!==r&&(l[e]=~r.indexOf("/")?r.split("/").map((e=>o(e))):t.repeat?[o(r)]:o(r))})),l}}},2686:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getRouteRegex:function(){return u},getNamedRouteRegex:function(){return f},getNamedMiddlewareRegex:function(){return d}});const r=n(4856),a=n(8685),o=n(4457);function l(e){const t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));const n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function i(e){const t=(0,o.removeTrailingSlash)(e).slice(1).split("/"),n={};let i=1;return{parameterizedRoute:t.map((e=>{const t=r.INTERCEPTION_ROUTE_MARKERS.find((t=>e.startsWith(t))),o=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&o){const{key:e,optional:r,repeat:u}=l(o[1]);return n[e]={pos:i++,repeat:u,optional:r},"/"+(0,a.escapeStringRegexp)(t)+"([^/]+?)"}if(o){const{key:e,repeat:t,optional:r}=l(o[1]);return n[e]={pos:i++,repeat:t,optional:r},t?r?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}return"/"+(0,a.escapeStringRegexp)(e)})).join(""),groups:n}}function u(e){const{parameterizedRoute:t,groups:n}=i(e);return{re:new RegExp("^"+t+"(?:/)?$"),groups:n}}function s(e){let{segment:t,routeKeys:n,keyPrefix:r}=e;const a=function(){let e=97,t=1;return()=>{let n="";for(let r=0;r<t;r++)n+=String.fromCharCode(e),e++,e>122&&(t++,e=97);return n}}(),{key:o,optional:i,repeat:u}=l(t);let s=o.replace(/\W/g,"");r&&(s=""+r+s);let c=!1;return(0===s.length||s.length>30)&&(c=!0),isNaN(parseInt(s.slice(0,1)))||(c=!0),c&&(s=a()),n[s]=r?""+r+o:""+o,u?i?"(?:/(?<"+s+">.+?))?":"/(?<"+s+">.+?)":"/(?<"+s+">[^/]+?)"}function c(e,t){const n=(0,o.removeTrailingSlash)(e).slice(1).split("/"),l={};return{namedParameterizedRoute:n.map((e=>{const n=r.INTERCEPTION_ROUTE_MARKERS.some((t=>e.startsWith(t))),o=e.match(/\[((?:\[.*\])|.+)\]/);return n&&o?s({segment:o[1],routeKeys:l,keyPrefix:t?"nxtI":void 0}):o?s({segment:o[1],routeKeys:l,keyPrefix:t?"nxtP":void 0}):"/"+(0,a.escapeStringRegexp)(e)})).join(""),routeKeys:l}}function f(e,t){const n=c(e,t);return{...u(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function d(e,t){const{parameterizedRoute:n}=i(e),{catchAll:r=!0}=t;if("/"===n){return{namedRegex:"^/"+(r?".*":"")+"$"}}const{namedParameterizedRoute:a}=c(e,!1);return{namedRegex:"^"+a+(r?"(?:(/.*)?)":"")+"$"}}},2844:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");const t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);const n=t.map((t=>this.children.get(t)._smoosh(""+e+t+"/"))).reduce(((e,t)=>[...e,...t]),[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){const t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,r){if(0===e.length)return void(this.placeholder=!1);if(r)throw new Error("Catch-all must be the last part of the URL.");let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let o=a.slice(1,-1),l=!1;if(o.startsWith("[")&&o.endsWith("]")&&(o=o.slice(1,-1),l=!0),o.startsWith("...")&&(o=o.substring(3),r=!0),o.startsWith("[")||o.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('"+o+"').");if(o.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('"+o+"').");function i(e,n){if(null!==e&&e!==n)throw new Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach((e=>{if(e===n)throw new Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw new Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')})),t.push(n)}if(r)if(l){if(null!=this.restSlugName)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');i(this.optionalRestSlugName,o),this.optionalRestSlugName=o,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');i(this.restSlugName,o),this.restSlugName=o,a="[...]"}else{if(l)throw new Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,o),this.slugName=o,a="[]"}}this.children.has(a)||this.children.set(a,new n),this.children.get(a)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(e){const t=new n;return e.forEach((e=>t.insert(e))),t.smoosh()}},1512:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return r},setConfig:function(){return a}});const r=()=>n;function a(e){n=e}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4574:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=n(8640)._(n(8025)),a=r.useLayoutEffect,o=r.useEffect;function l(e){const{headManager:t,reduceComponentsToState:n}=e;function l(){if(t&&t.mountedInstances){const a=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(a,e))}}return a((()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}})),a((()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)}))),o((()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}))),null}},7052:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{WEB_VITALS:function(){return n},execOnce:function(){return r},isAbsoluteUrl:function(){return o},getLocationOrigin:function(){return l},getURL:function(){return i},getDisplayName:function(){return u},isResSent:function(){return s},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return f},SP:function(){return d},ST:function(){return p},DecodeError:function(){return h},NormalizeError:function(){return m},PageNotFoundError:function(){return g},MissingStaticPage:function(){return y},MiddlewareNotFoundError:function(){return v},stringifyError:function(){return b}});const n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n||(n=!0,t=e(...a)),t}}const a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>a.test(e);function l(){const{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function i(){const{href:e}=window.location,t=l();return e.substring(t.length)}function u(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){const t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){const n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};const r=await e.getInitialProps(t);if(n&&s(n))return r;if(!r){const t='"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.';throw new Error(t)}return r}const d="undefined"!==typeof performance,p=d&&["mark","measure","getEntriesByName"].every((e=>"function"===typeof performance[e]));class h extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},5774:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},9556:function(e){!function(){"use strict";var t={d:function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}};"undefined"!==typeof t&&(t.ab="//");var n={};t.r(n),t.d(n,{getCLS:function(){return P},getFCP:function(){return w},getFID:function(){return N},getINP:function(){return B},getLCP:function(){return W},getTTFB:function(){return V},onCLS:function(){return P},onFCP:function(){return w},onFID:function(){return N},onINP:function(){return B},onLCP:function(){return W},onTTFB:function(){return V}});var r,a,o,l,i,u=-1,s=function(e){addEventListener("pageshow",(function(t){t.persisted&&(u=t.timeStamp,e(t))}),!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=c();return e&&e.activationStart||0},d=function(e,t){var n=c(),r="navigate";return u>=0?r="back-forward-cache":n&&(r=document.prerendering||f()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},h=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},m=function(e,t,n,r){var a,o;return function(l){t.value>=0&&(l||r)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},g=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},v=function(){h((function(e){var t=e.timeStamp;g=t}),!0)},b=function(){return g<0&&(g=y(),v(),s((function(){setTimeout((function(){g=y(),v()}),0)}))),{get firstHiddenTime(){return g}}},w=function(e,t){t=t||{};var n,r=[1800,3e3],a=b(),o=d("FCP"),l=function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(u&&u.disconnect(),e.startTime<a.firstHiddenTime&&(o.value=e.startTime-f(),o.entries.push(e),n(!0)))}))},i=window.performance&&window.performance.getEntriesByName&&window.performance.getEntriesByName("first-contentful-paint")[0],u=i?null:p("paint",l);(i||u)&&(n=m(e,o,r,t.reportAllChanges),i&&l([i]),s((function(a){o=d("FCP"),n=m(e,o,r,t.reportAllChanges),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-a.timeStamp,n(!0)}))}))})))},_=!1,S=-1,P=function(e,t){t=t||{};var n=[.1,.25];_||(w((function(e){S=e.value})),_=!0);var r,a=function(t){S>-1&&e(t)},o=d("CLS",0),l=0,i=[],u=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=i[0],n=i[i.length-1];l&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,i.push(e)):(l=e.value,i=[e]),l>o.value&&(o.value=l,o.entries=i,r())}}))},c=p("layout-shift",u);c&&(r=m(a,o,n,t.reportAllChanges),h((function(){u(c.takeRecords()),r(!0)})),s((function(){l=0,S=-1,o=d("CLS",0),r=m(a,o,n,t.reportAllChanges)})))},k={passive:!0,capture:!0},E=new Date,x=function(e,t){r||(r=t,a=e,o=new Date,R(removeEventListener),C())},C=function(){if(a>=0&&a<o-E){var e={entryType:"first-input",name:r.type,target:r.target,cancelable:r.cancelable,startTime:r.timeStamp,processingStart:r.timeStamp+a};l.forEach((function(t){t(e)})),l=[]}},O=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){x(e,t),a()},r=function(){a()},a=function(){removeEventListener("pointerup",n,k),removeEventListener("pointercancel",r,k)};addEventListener("pointerup",n,k),addEventListener("pointercancel",r,k)}(t,e):x(t,e)}},R=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,O,k)}))},N=function(e,t){t=t||{};var n,o=[100,300],i=b(),u=d("FID"),c=function(e){e.startTime<i.firstHiddenTime&&(u.value=e.processingStart-e.startTime,u.entries.push(e),n(!0))},f=function(e){e.forEach(c)},g=p("first-input",f);n=m(e,u,o,t.reportAllChanges),g&&h((function(){f(g.takeRecords()),g.disconnect()}),!0),g&&s((function(){var i;u=d("FID"),n=m(e,u,o,t.reportAllChanges),l=[],a=-1,r=null,R(addEventListener),i=c,l.push(i),C()}))},M=0,j=1/0,L=0,T=function(e){e.forEach((function(e){e.interactionId&&(j=Math.min(j,e.interactionId),L=Math.max(L,e.interactionId),M=L?(L-j)/7+1:0)}))},I=function(){return i?M:performance.interactionCount||0},A=0,z=function(){return I()-A},D=[],F={},U=function(e){var t=D[D.length-1],n=F[e.interactionId];if(n||D.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};F[r.id]=r,D.push(r)}D.sort((function(e,t){return t.latency-e.latency})),D.splice(10).forEach((function(e){delete F[e.id]}))}},B=function(e,t){t=t||{};var n=[200,500];"interactionCount"in performance||i||(i=p("event",T,{type:"event",buffered:!0,durationThreshold:0}));var r,a=d("INP"),o=function(e){e.forEach((function(e){e.interactionId&&U(e),"first-input"===e.entryType&&!D.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&U(e)}));var t,n=(t=Math.min(D.length-1,Math.floor(z()/50)),D[t]);n&&n.latency!==a.value&&(a.value=n.latency,a.entries=n.entries,r())},l=p("event",o,{durationThreshold:t.durationThreshold||40});r=m(e,a,n,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),h((function(){o(l.takeRecords()),a.value<0&&z()>0&&(a.value=0,a.entries=[]),r(!0)})),s((function(){D=[],A=I(),a=d("INP"),r=m(e,a,n,t.reportAllChanges)})))},H={},W=function(e,t){t=t||{};var n,r=[2500,4e3],a=b(),o=d("LCP"),l=function(e){var t=e[e.length-1];if(t){var r=t.startTime-f();r<a.firstHiddenTime&&(o.value=r,o.entries=[t],n())}},i=p("largest-contentful-paint",l);if(i){n=m(e,o,r,t.reportAllChanges);var u=function(){H[o.id]||(l(i.takeRecords()),i.disconnect(),H[o.id]=!0,n(!0))};["keydown","click"].forEach((function(e){addEventListener(e,u,{once:!0,capture:!0})})),h(u,!0),s((function(a){o=d("LCP"),n=m(e,o,r,t.reportAllChanges),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-a.timeStamp,H[o.id]=!0,n(!0)}))}))}))}},q=function e(t){document.prerendering?addEventListener("prerenderingchange",(function(){return e(t)}),!0):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},V=function(e,t){t=t||{};var n=[800,1800],r=d("TTFB"),a=m(e,r,n,t.reportAllChanges);q((function(){var o=c();if(o){if(r.value=Math.max(o.responseStart-f(),0),r.value<0||r.value>performance.now())return;r.entries=[o],a(!0),s((function(){r=d("TTFB",0),(a=m(e,r,n,t.reportAllChanges))(!0)}))}}))};e.exports=n}()},6481:function(e,t){"use strict";function n(e){return"/api"===e||Boolean(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return n}})},267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return a},getProperError:function(){return o}});const r=n(3093);function a(e){return"object"===typeof e&&null!==e&&"name"in e&&"message"in e}function o(e){return a(e)?e:new Error((0,r.isPlainObject)(e)?JSON.stringify(e):e+"")}},4856:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return a},isInterceptionRouteAppPath:function(){return o},extractInterceptionRouteInformation:function(){return l}});const r=n(4804),a=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find((e=>a.find((t=>e.startsWith(t)))))}function l(e){let t,n,o;for(const r of e.split("/"))if(n=a.find((e=>r.startsWith(e))),n){[t,o]=e.split(n,2);break}if(!t||!n||!o)throw new Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(t=(0,r.normalizeAppPath)(t),n){case"(.)":o="/"===t?`/${o}`:t+"/"+o;break;case"(..)":if("/"===t)throw new Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);o=t.split("/").slice(0,-1).concat(o).join("/");break;case"(...)":o="/"+o;break;case"(..)(..)":const n=t.split("/");if(n.length<=2)throw new Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);o=n.slice(0,-2).concat(o).join("/");break;default:throw new Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:o}}},3438:function(e,t,n){"use strict";var r=n(8025),a=n(2363);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=new Set,i={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(i[e]=t,e=0;e<t.length;e++)l.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,a,o,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),S=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),C=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),j=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var T=Symbol.iterator;function I(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=T&&e[T]||e["@@iterator"])?e:null}var A,z=Object.assign;function D(e){if(void 0===A)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||""}return"\n"+A+e}var F=!1;function U(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var a=s.stack.split("\n"),o=r.stack.split("\n"),l=a.length-1,i=o.length-1;1<=l&&0<=i&&a[l]!==o[i];)i--;for(;1<=l&&0<=i;l--,i--)if(a[l]!==o[i]){if(1!==l||1!==i)do{if(l--,0>--i||a[l]!==o[i]){var u="\n"+a[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=l&&0<=i);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function B(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case P:return"Fragment";case S:return"Portal";case E:return"Profiler";case k:return"StrictMode";case R:return"Suspense";case N:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case x:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case M:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case j:t=e._payload,e=e._init;try{return H(e(t))}catch(n){}}return null}function W(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Y(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function oe(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,Pe=null,ke=null;function Ee(e){if(e=ba(e)){if("function"!==typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=_a(t),Se(e.stateNode,e.type,t))}}function xe(e){Pe?ke?ke.push(e):ke=[e]:Pe=e}function Ce(){if(Pe){var e=Pe,t=ke;if(ke=Pe=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Oe(e,t){return e(t)}function Re(){}var Ne=!1;function Me(e,t,n){if(Ne)return e(t,n);Ne=!0;try{return Oe(e,t,n)}finally{Ne=!1,(null!==Pe||null!==ke)&&(Re(),Ce())}}function je(e,t){var n=e.stateNode;if(null===n)return null;var r=_a(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var Le=!1;if(c)try{var Te={};Object.defineProperty(Te,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Te,Te),window.removeEventListener("test",Te,Te)}catch(ce){Le=!1}function Ie(e,t,n,r,a,o,l,i,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var Ae=!1,ze=null,De=!1,Fe=null,Ue={onError:function(e){Ae=!0,ze=e}};function Be(e,t,n,r,a,o,l,i,u){Ae=!1,ze=null,Ie.apply(Ue,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(He(e)!==e)throw Error(o(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var l=a.alternate;if(null===l){if(null!==(r=a.return)){n=r;continue}break}if(a.child===l.child){for(l=a.child;l;){if(l===n)return qe(a),e;if(l===r)return qe(a),t;l=l.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=l;else{for(var i=!1,u=a.child;u;){if(u===n){i=!0,n=a,r=l;break}if(u===r){i=!0,r=a,n=l;break}u=u.sibling}if(!i){for(u=l.child;u;){if(u===n){i=!0,n=l,r=a;break}if(u===r){i=!0,r=l,n=a;break}u=u.sibling}if(!i)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?$e(e):null}function $e(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=$e(e);if(null!==t)return t;e=e.sibling}return null}var Qe=a.unstable_scheduleCallback,Ke=a.unstable_cancelCallback,Ge=a.unstable_shouldYield,Xe=a.unstable_requestPaint,Ye=a.unstable_now,Je=a.unstable_getCurrentPriorityLevel,Ze=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var lt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(it(e)/ut|0)|0},it=Math.log,ut=Math.LN2;var st=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,l=268435455&n;if(0!==l){var i=l&~a;0!==i?r=ft(i):0!==(o&=l)&&(r=ft(o))}else 0!==(l=n&~a)?r=ft(l):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-lt(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=st;return 0===(4194240&(st<<=1))&&(st=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-lt(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-lt(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var _t,St,Pt,kt,Et,xt=!1,Ct=[],Ot=null,Rt=null,Nt=null,Mt=new Map,jt=new Map,Lt=[],Tt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":Rt=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":Mt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":jt.delete(t.pointerId)}}function At(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function zt(e){var t=va(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void Et(e.priority,(function(){Pt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ft(e,t,n){Dt(e)&&n.delete(t)}function Ut(){xt=!1,null!==Ot&&Dt(Ot)&&(Ot=null),null!==Rt&&Dt(Rt)&&(Rt=null),null!==Nt&&Dt(Nt)&&(Nt=null),Mt.forEach(Ft),jt.forEach(Ft)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,xt||(xt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ut)))}function Ht(e){function t(t){return Bt(t,e)}if(0<Ct.length){Bt(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Bt(Ot,e),null!==Rt&&Bt(Rt,e),null!==Nt&&Bt(Nt,e),Mt.forEach(t),jt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)zt(n),null===n.blockedOn&&Lt.shift()}var Wt=w.ReactCurrentBatchConfig,qt=!0;function Vt(e,t,n,r){var a=bt,o=Wt.transition;Wt.transition=null;try{bt=1,Qt(e,t,n,r)}finally{bt=a,Wt.transition=o}}function $t(e,t,n,r){var a=bt,o=Wt.transition;Wt.transition=null;try{bt=4,Qt(e,t,n,r)}finally{bt=a,Wt.transition=o}}function Qt(e,t,n,r){if(qt){var a=Gt(e,t,n,r);if(null===a)qr(e,t,r,Kt,n),It(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Ot=At(Ot,e,t,n,r,a),!0;case"dragenter":return Rt=At(Rt,e,t,n,r,a),!0;case"mouseover":return Nt=At(Nt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Mt.set(o,At(Mt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,jt.set(o,At(jt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Tt.indexOf(e)){for(;null!==a;){var o=ba(a);if(null!==o&&_t(o),null===(o=Gt(e,t,n,r))&&qr(e,t,r,Kt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Kt=null;function Gt(e,t,n,r){if(Kt=null,null!==(e=va(e=_e(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,a="value"in Yt?Yt.value:Yt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var l=r-e;for(t=1;t<=l&&n[r-t]===a[o-t];t++);return Zt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var l in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(l)&&(t=e[l],this[l]=t?t(a):a[l]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(sn),fn=z({},sn,{view:0,detail:0}),dn=an(fn),pn=z({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(on=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=on=0,un=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=an(pn),mn=an(z({},pn,{dataTransfer:0})),gn=an(z({},fn,{relatedTarget:0})),yn=an(z({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=z({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(vn),wn=an(z({},sn,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Pn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Pn[e])&&!!t[e]}function En(){return kn}var xn=z({},fn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=an(xn),On=an(z({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=an(z({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Nn=an(z({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mn=z({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jn=an(Mn),Ln=[9,13,27,32],Tn=c&&"CompositionEvent"in window,In=null;c&&"documentMode"in document&&(In=document.documentMode);var An=c&&"TextEvent"in window&&!In,zn=c&&(!Tn||In&&8<In&&11>=In),Dn=String.fromCharCode(32),Fn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Vn(e,t,n,r){xe(r),0<(t=$r(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,Qn=null;function Kn(e){Dr(e,0)}function Gn(e){if(Q(wa(e)))return e}function Xn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Jn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"===typeof er.oninput}Jn=Zn}else Jn=!1;Yn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),Qn=$n=null)}function nr(e){if("value"===e.propertyName&&Gn(Qn)){var t=[];Vn(t,Qn,e,_e(e)),Me(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Qn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Qn)}function or(e,t){if("click"===e)return Gn(t)}function lr(e,t){if("input"===e||"change"===e)return Gn(t)}var ir="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(ir(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!f.call(t,a)||!ir(e[a],t[a]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var l=cr(n,r);a&&l&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,vr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==K(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ur(vr,r)||(vr=r,0<(r=$r(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},Pr={},kr={};function Er(e){if(Pr[e])return Pr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return Pr[e]=n[t];return e}c&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var xr=Er("animationend"),Cr=Er("animationiteration"),Or=Er("animationstart"),Rr=Er("transitionend"),Nr=new Map,Mr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function jr(e,t){Nr.set(e,t),u(t,[e])}for(var Lr=0;Lr<Mr.length;Lr++){var Tr=Mr[Lr];jr(Tr.toLowerCase(),"on"+(Tr[0].toUpperCase()+Tr.slice(1)))}jr(xr,"onAnimationEnd"),jr(Cr,"onAnimationIteration"),jr(Or,"onAnimationStart"),jr("dblclick","onDoubleClick"),jr("focusin","onFocus"),jr("focusout","onBlur"),jr(Rr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ar=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function zr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,l,i,u,s){if(Be.apply(this,arguments),Ae){if(!Ae)throw Error(o(198));var c=ze;Ae=!1,ze=null,De||(De=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function Dr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var i=r[l],u=i.instance,s=i.currentTarget;if(i=i.listener,u!==o&&a.isPropagationStopped())break e;zr(a,i,s),o=u}else for(l=0;l<r.length;l++){if(u=(i=r[l]).instance,s=i.currentTarget,i=i.listener,u!==o&&a.isPropagationStopped())break e;zr(a,i,s),o=u}}}if(De)throw e=Fe,De=!1,Fe=null,e}function Fr(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[Br]){e[Br]=!0,l.forEach((function(t){"selectionchange"!==t&&(Ar.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Ur("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(Xt(t)){case 1:var a=Vt;break;case 4:a=$t;break;default:a=Qt}n=a.bind(null,t,n,e),a=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,a){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var i=r.stateNode.containerInfo;if(i===a||8===i.nodeType&&i.parentNode===a)break;if(4===l)for(l=r.return;null!==l;){var u=l.tag;if((3===u||4===u)&&((u=l.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;l=l.return}for(;null!==i;){if(null===(l=va(i)))return;if(5===(u=l.tag)||6===u){r=o=l;continue e}i=i.parentNode}}r=r.return}Me((function(){var r=o,a=_e(n),l=[];e:{var i=Nr.get(e);if(void 0!==i){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Cn;break;case"focusin":s="focus",u=gn;break;case"focusout":s="blur",u=gn;break;case"beforeblur":case"afterblur":u=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Rn;break;case xr:case Cr:case Or:u=yn;break;case Rr:u=Nn;break;case"scroll":u=dn;break;case"wheel":u=jn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=On}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==i?i+"Capture":null:i;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=je(h,d))&&c.push(Vr(h,m,p)))),f)break;h=h.return}0<c.length&&(i=new u(i,s,null,n,a),l.push({event:i,listeners:c}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(i="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!va(s)&&!s[ha])&&(u||i)&&(i=a.window===a?a:(i=a.ownerDocument)?i.defaultView||i.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?va(s):null)&&(s!==(f=He(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=hn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=On,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?i:wa(u),p=null==s?i:wa(s),(i=new c(m,h+"leave",u,n,a)).target=f,i.relatedTarget=p,m=null,va(a)===r&&((c=new c(d,h+"enter",s,n,a)).target=p,c.relatedTarget=f,m=c),f=m,u&&s)e:{for(d=s,h=0,p=c=u;p;p=Qr(p))h++;for(p=0,m=d;m;m=Qr(m))p++;for(;0<h-p;)c=Qr(c),h--;for(;0<p-h;)d=Qr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Qr(c),d=Qr(d)}c=null}else c=null;null!==u&&Kr(l,i,u,c,!1),null!==s&&null!==f&&Kr(l,f,s,c,!0)}if("select"===(u=(i=r?wa(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===u&&"file"===i.type)var g=Xn;else if(qn(i))if(Yn)g=lr;else{g=ar;var y=rr}else(u=i.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(g=or);switch(g&&(g=g(e,r))?Vn(l,g,n,a):(y&&y(e,i,r),"focusout"===e&&(y=i._wrapperState)&&y.controlled&&"number"===i.type&&ee(i,"number",i.value)),y=r?wa(r):window,e){case"focusin":(qn(y)||"true"===y.contentEditable)&&(gr=y,yr=r,vr=null);break;case"focusout":vr=yr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(l,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(l,n,a)}var v;if(Tn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(zn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(v=en()):(Jt="value"in(Yt=a)?Yt.value:Yt.textContent,Hn=!0)),0<(y=$r(r,b)).length&&(b=new wn(b,e,null,n,a),l.push({event:b,listeners:y}),v?b.data=v:null!==(v=Bn(n))&&(b.data=v))),(v=An?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Dn);case"textInput":return(e=t.data)===Dn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Tn&&Un(e,t)?(e=en(),Zt=Jt=Yt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=$r(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),l.push({event:a,listeners:r}),a.data=v))}Dr(l,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=je(e,n))&&r.unshift(Vr(e,o,a)),null!=(o=je(e,t))&&r.push(Vr(e,o,a))),e=e.return}return r}function Qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,a){for(var o=t._reactName,l=[];null!==n&&n!==r;){var i=n,u=i.alternate,s=i.stateNode;if(null!==u&&u===r)break;5===i.tag&&null!==s&&(i=s,a?null!=(u=je(n,o))&&l.unshift(Vr(n,u,i)):a||null!=(u=je(n,o))&&l.push(Vr(n,u,i))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var Gr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Yr(e){return("string"===typeof e?e:""+e).replace(Gr,"\n").replace(Xr,"")}function Jr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(o(425))}function Zr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"===typeof setTimeout?setTimeout:void 0,aa="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof Promise?Promise:void 0,la="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oa?function(e){return oa.resolve(null).then(e).catch(ia)}:ra;function ia(e){setTimeout((function(){throw e}))}function ua(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ht(t)}function sa(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fa=Math.random().toString(36).slice(2),da="__reactFiber$"+fa,pa="__reactProps$"+fa,ha="__reactContainer$"+fa,ma="__reactEvents$"+fa,ga="__reactListeners$"+fa,ya="__reactHandles$"+fa;function va(e){var t=e[da];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[da]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[da])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[da]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function _a(e){return e[pa]||null}var Sa=[],Pa=-1;function ka(e){return{current:e}}function Ea(e){0>Pa||(e.current=Sa[Pa],Sa[Pa]=null,Pa--)}function xa(e,t){Pa++,Sa[Pa]=e.current,e.current=t}var Ca={},Oa=ka(Ca),Ra=ka(!1),Na=Ca;function Ma(e,t){var n=e.type.contextTypes;if(!n)return Ca;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ja(e){return null!==(e=e.childContextTypes)&&void 0!==e}function La(){Ea(Ra),Ea(Oa)}function Ta(e,t,n){if(Oa.current!==Ca)throw Error(o(168));xa(Oa,t),xa(Ra,n)}function Ia(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,W(e)||"Unknown",a));return z({},n,r)}function Aa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ca,Na=Oa.current,xa(Oa,e),xa(Ra,Ra.current),!0}function za(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ia(e,t,Na),r.__reactInternalMemoizedMergedChildContext=e,Ea(Ra),Ea(Oa),xa(Oa,e)):Ea(Ra),xa(Ra,n)}var Da=null,Fa=!1,Ua=!1;function Ba(e){null===Da?Da=[e]:Da.push(e)}function Ha(){if(!Ua&&null!==Da){Ua=!0;var e=0,t=bt;try{var n=Da;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Da=null,Fa=!1}catch(a){throw null!==Da&&(Da=Da.slice(e+1)),Qe(Ze,Ha),a}finally{bt=t,Ua=!1}}return null}var Wa=[],qa=0,Va=null,$a=0,Qa=[],Ka=0,Ga=null,Xa=1,Ya="";function Ja(e,t){Wa[qa++]=$a,Wa[qa++]=Va,Va=e,$a=t}function Za(e,t,n){Qa[Ka++]=Xa,Qa[Ka++]=Ya,Qa[Ka++]=Ga,Ga=e;var r=Xa;e=Ya;var a=32-lt(r)-1;r&=~(1<<a),n+=1;var o=32-lt(t)+a;if(30<o){var l=a-a%5;o=(r&(1<<l)-1).toString(32),r>>=l,a-=l,Xa=1<<32-lt(t)+a|n<<a|r,Ya=o+e}else Xa=1<<o|n<<a|r,Ya=e}function eo(e){null!==e.return&&(Ja(e,1),Za(e,1,0))}function to(e){for(;e===Va;)Va=Wa[--qa],Wa[qa]=null,$a=Wa[--qa],Wa[qa]=null;for(;e===Ga;)Ga=Qa[--Ka],Qa[Ka]=null,Ya=Qa[--Ka],Qa[Ka]=null,Xa=Qa[--Ka],Qa[Ka]=null}var no=null,ro=null,ao=!1,oo=null;function lo(e,t){var n=Ms(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function io(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=sa(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ga?{id:Xa,overflow:Ya}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ms(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function so(e){if(ao){var t=ro;if(t){var n=t;if(!io(e,t)){if(uo(e))throw Error(o(418));t=sa(n.nextSibling);var r=no;t&&io(e,t)?lo(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw po(),Error(o(418));for(;t;)lo(e,t),t=sa(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=sa(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?sa(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=sa(e.nextSibling)}function ho(){ro=no=null,ao=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=w.ReactCurrentBatchConfig;function yo(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var vo=ka(null),bo=null,wo=null,_o=null;function So(){_o=wo=bo=null}function Po(e){var t=vo.current;Ea(vo),e._currentValue=t}function ko(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Eo(e,t){bo=e,_o=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wi=!0),e.firstContext=null)}function xo(e){var t=e._currentValue;if(_o!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===bo)throw Error(o(308));wo=e,bo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var Co=null;function Oo(e){null===Co?Co=[e]:Co.push(e)}function Ro(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Oo(t)):(n.next=a.next,a.next=n),t.interleaved=n,No(e,r)}function No(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Mo=!1;function jo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function To(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Io(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ou)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,No(e,n)}return null===(a=r.interleaved)?(t.next=t,Oo(r)):(t.next=a.next,a.next=t),r.interleaved=t,No(e,n)}function Ao(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function zo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=l:o=o.next=l,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Do(e,t,n,r){var a=e.updateQueue;Mo=!1;var o=a.firstBaseUpdate,l=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var u=i,s=u.next;u.next=null,null===l?o=s:l.next=s,l=u;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=u))}if(null!==o){var f=a.baseState;for(l=0,c=s=u=null,i=o;;){var d=i.lane,p=i.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,m=i;switch(d=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(d="function"===typeof(h=m.payload)?h.call(p,f,d):h)||void 0===d)break e;f=z({},f,d);break e;case 2:Mo=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[i]:d.push(i))}else p={eventTime:p,lane:d,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,l|=d;if(null===(i=i.next)){if(null===(i=a.shared.pending))break;i=(d=i).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}}if(null===c&&(u=f),a.baseState=u,a.firstBaseUpdate=s,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{l|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Au|=l,e.lanes=l,e.memoizedState=f}}function Fo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(o(191,a));a.call(r)}}}var Uo=(new r.Component).refs;function Bo(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ho={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=es(),a=ts(e),o=To(r,a);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Io(e,o,a))&&(ns(t,e,a,r),Ao(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=es(),a=ts(e),o=To(r,a);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Io(e,o,a))&&(ns(t,e,a,r),Ao(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=es(),r=ts(e),a=To(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=Io(e,a,r))&&(ns(t,e,r,n),Ao(t,e,r))}};function Wo(e,t,n,r,a,o,l){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,l):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(a,o))}function qo(e,t,n){var r=!1,a=Ca,o=t.contextType;return"object"===typeof o&&null!==o?o=xo(o):(a=ja(t)?Na:Oa.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ma(e,a):Ca),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ho,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Vo(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ho.enqueueReplaceState(t,t.state,null)}function $o(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Uo,jo(e);var o=t.contextType;"object"===typeof o&&null!==o?a.context=xo(o):(o=ja(t)?Na:Oa.current,a.context=Ma(e,o)),a.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(Bo(e,t,o,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Ho.enqueueReplaceState(a,a.state,null),Do(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4194308)}function Qo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,l=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===l?t.ref:(t=function(e){var t=a.refs;t===Uo&&(t=a.refs={}),null===e?delete t[l]:t[l]=e},t._stringRef=l,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Ko(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Go(e){return(0,e._init)(e._payload)}function Xo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ls(e,t)).index=0,e.sibling=null,e}function l(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=zs(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){var o=n.type;return o===P?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===j&&Go(o)===t.type)?((r=a(t,n.props)).ref=Qo(e,t,n),r.return=e,r):((r=Ts(n.type,n.key,n.props,null,e.mode,r)).ref=Qo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ds(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Is(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=zs(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Ts(t.type,t.key,t.props,null,e.mode,n)).ref=Qo(e,null,t),n.return=e,n;case S:return(t=Ds(t,e.mode,n)).return=e,t;case j:return d(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Is(t,e.mode,n,null)).return=e,t;Ko(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==a?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===a?s(e,t,n,r):null;case S:return n.key===a?c(e,t,n,r):null;case j:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||I(n))return null!==a?null:f(e,t,n,r,null);Ko(e,n)}return null}function h(e,t,n,r,a){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case _:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case j:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||I(r))return f(t,e=e.get(n)||null,r,a,null);Ko(t,r)}return null}function m(a,o,i,u){for(var s=null,c=null,f=o,m=o=0,g=null;null!==f&&m<i.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var y=p(a,f,i[m],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(a,f),o=l(y,o,m),null===c?s=y:c.sibling=y,c=y,f=g}if(m===i.length)return n(a,f),ao&&Ja(a,m),s;if(null===f){for(;m<i.length;m++)null!==(f=d(a,i[m],u))&&(o=l(f,o,m),null===c?s=f:c.sibling=f,c=f);return ao&&Ja(a,m),s}for(f=r(a,f);m<i.length;m++)null!==(g=h(f,a,m,i[m],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),o=l(g,o,m),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(a,e)})),ao&&Ja(a,m),s}function g(a,i,u,s){var c=I(u);if("function"!==typeof c)throw Error(o(150));if(null==(u=c.call(u)))throw Error(o(151));for(var f=c=null,m=i,g=i=0,y=null,v=u.next();null!==m&&!v.done;g++,v=u.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(a,m,v.value,s);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(a,m),i=l(b,i,g),null===f?c=b:f.sibling=b,f=b,m=y}if(v.done)return n(a,m),ao&&Ja(a,g),c;if(null===m){for(;!v.done;g++,v=u.next())null!==(v=d(a,v.value,s))&&(i=l(v,i,g),null===f?c=v:f.sibling=v,f=v);return ao&&Ja(a,g),c}for(m=r(a,m);!v.done;g++,v=u.next())null!==(v=h(m,a,g,v.value,s))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),i=l(v,i,g),null===f?c=v:f.sibling=v,f=v);return e&&m.forEach((function(e){return t(a,e)})),ao&&Ja(a,g),c}return function e(r,o,l,u){if("object"===typeof l&&null!==l&&l.type===P&&null===l.key&&(l=l.props.children),"object"===typeof l&&null!==l){switch(l.$$typeof){case _:e:{for(var s=l.key,c=o;null!==c;){if(c.key===s){if((s=l.type)===P){if(7===c.tag){n(r,c.sibling),(o=a(c,l.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===j&&Go(s)===c.type){n(r,c.sibling),(o=a(c,l.props)).ref=Qo(r,c,l),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}l.type===P?((o=Is(l.props.children,r.mode,u,l.key)).return=r,r=o):((u=Ts(l.type,l.key,l.props,null,r.mode,u)).ref=Qo(r,o,l),u.return=r,r=u)}return i(r);case S:e:{for(c=l.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===l.containerInfo&&o.stateNode.implementation===l.implementation){n(r,o.sibling),(o=a(o,l.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Ds(l,r.mode,u)).return=r,r=o}return i(r);case j:return e(r,o,(c=l._init)(l._payload),u)}if(te(l))return m(r,o,l,u);if(I(l))return g(r,o,l,u);Ko(r,l)}return"string"===typeof l&&""!==l||"number"===typeof l?(l=""+l,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,l)).return=r,r=o):(n(r,o),(o=zs(l,r.mode,u)).return=r,r=o),i(r)):n(r,o)}}var Yo=Xo(!0),Jo=Xo(!1),Zo={},el=ka(Zo),tl=ka(Zo),nl=ka(Zo);function rl(e){if(e===Zo)throw Error(o(174));return e}function al(e,t){switch(xa(nl,t),xa(tl,e),xa(el,Zo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ea(el),xa(el,t)}function ol(){Ea(el),Ea(tl),Ea(nl)}function ll(e){rl(nl.current);var t=rl(el.current),n=ue(t,e.type);t!==n&&(xa(tl,e),xa(el,n))}function il(e){tl.current===e&&(Ea(el),Ea(tl))}var ul=ka(0);function sl(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cl=[];function fl(){for(var e=0;e<cl.length;e++)cl[e]._workInProgressVersionPrimary=null;cl.length=0}var dl=w.ReactCurrentDispatcher,pl=w.ReactCurrentBatchConfig,hl=0,ml=null,gl=null,yl=null,vl=!1,bl=!1,wl=0,_l=0;function Sl(){throw Error(o(321))}function Pl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ir(e[n],t[n]))return!1;return!0}function kl(e,t,n,r,a,l){if(hl=l,ml=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,dl.current=null===e||null===e.memoizedState?ii:ui,e=n(r,a),bl){l=0;do{if(bl=!1,wl=0,25<=l)throw Error(o(301));l+=1,yl=gl=null,t.updateQueue=null,dl.current=si,e=n(r,a)}while(bl)}if(dl.current=li,t=null!==gl&&null!==gl.next,hl=0,yl=gl=ml=null,vl=!1,t)throw Error(o(300));return e}function El(){var e=0!==wl;return wl=0,e}function xl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yl?ml.memoizedState=yl=e:yl=yl.next=e,yl}function Cl(){if(null===gl){var e=ml.alternate;e=null!==e?e.memoizedState:null}else e=gl.next;var t=null===yl?ml.memoizedState:yl.next;if(null!==t)yl=t,gl=e;else{if(null===e)throw Error(o(310));e={memoizedState:(gl=e).memoizedState,baseState:gl.baseState,baseQueue:gl.baseQueue,queue:gl.queue,next:null},null===yl?ml.memoizedState=yl=e:yl=yl.next=e}return yl}function Ol(e,t){return"function"===typeof t?t(e):t}function Rl(e){var t=Cl(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=gl,a=r.baseQueue,l=n.pending;if(null!==l){if(null!==a){var i=a.next;a.next=l.next,l.next=i}r.baseQueue=a=l,n.pending=null}if(null!==a){l=a.next,r=r.baseState;var u=i=null,s=null,c=l;do{var f=c.lane;if((hl&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=d,i=r):s=s.next=d,ml.lanes|=f,Au|=f}c=c.next}while(null!==c&&c!==l);null===s?i=r:s.next=u,ir(r,t.memoizedState)||(wi=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{l=a.lane,ml.lanes|=l,Au|=l,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Nl(e){var t=Cl(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,l=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do{l=e(l,i.action),i=i.next}while(i!==a);ir(l,t.memoizedState)||(wi=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function Ml(){}function jl(e,t){var n=ml,r=Cl(),a=t(),l=!ir(r.memoizedState,a);if(l&&(r.memoizedState=a,wi=!0),r=r.queue,ql(Il.bind(null,n,r,e),[e]),r.getSnapshot!==t||l||null!==yl&&1&yl.memoizedState.tag){if(n.flags|=2048,Fl(9,Tl.bind(null,n,r,a,t),void 0,null),null===Ru)throw Error(o(349));0!==(30&hl)||Ll(n,t,a)}return a}function Ll(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ml.updateQueue)?(t={lastEffect:null,stores:null},ml.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Tl(e,t,n,r){t.value=n,t.getSnapshot=r,Al(t)&&zl(e)}function Il(e,t,n){return n((function(){Al(t)&&zl(e)}))}function Al(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ir(e,n)}catch(r){return!0}}function zl(e){var t=No(e,1);null!==t&&ns(t,e,1,-1)}function Dl(e){var t=xl();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ol,lastRenderedState:e},t.queue=e,e=e.dispatch=ni.bind(null,ml,e),[t.memoizedState,e]}function Fl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ml.updateQueue)?(t={lastEffect:null,stores:null},ml.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ul(){return Cl().memoizedState}function Bl(e,t,n,r){var a=xl();ml.flags|=e,a.memoizedState=Fl(1|t,n,void 0,void 0===r?null:r)}function Hl(e,t,n,r){var a=Cl();r=void 0===r?null:r;var o=void 0;if(null!==gl){var l=gl.memoizedState;if(o=l.destroy,null!==r&&Pl(r,l.deps))return void(a.memoizedState=Fl(t,n,o,r))}ml.flags|=e,a.memoizedState=Fl(1|t,n,o,r)}function Wl(e,t){return Bl(8390656,8,e,t)}function ql(e,t){return Hl(2048,8,e,t)}function Vl(e,t){return Hl(4,2,e,t)}function $l(e,t){return Hl(4,4,e,t)}function Ql(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Kl(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Hl(4,4,Ql.bind(null,t,e),n)}function Gl(){}function Xl(e,t){var n=Cl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Pl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yl(e,t){var n=Cl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Pl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Jl(e,t,n){return 0===(21&hl)?(e.baseState&&(e.baseState=!1,wi=!0),e.memoizedState=n):(ir(n,t)||(n=mt(),ml.lanes|=n,Au|=n,e.baseState=!0),t)}function Zl(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pl.transition;pl.transition={};try{e(!1),t()}finally{bt=n,pl.transition=r}}function ei(){return Cl().memoizedState}function ti(e,t,n){var r=ts(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ri(e))ai(t,n);else if(null!==(n=Ro(e,t,n,r))){ns(n,e,r,es()),oi(n,t,r)}}function ni(e,t,n){var r=ts(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ri(e))ai(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=o(l,n);if(a.hasEagerState=!0,a.eagerState=i,ir(i,l)){var u=t.interleaved;return null===u?(a.next=a,Oo(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(s){}null!==(n=Ro(e,t,a,r))&&(ns(n,e,r,a=es()),oi(n,t,r))}}function ri(e){var t=e.alternate;return e===ml||null!==t&&t===ml}function ai(e,t){bl=vl=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function oi(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var li={readContext:xo,useCallback:Sl,useContext:Sl,useEffect:Sl,useImperativeHandle:Sl,useInsertionEffect:Sl,useLayoutEffect:Sl,useMemo:Sl,useReducer:Sl,useRef:Sl,useState:Sl,useDebugValue:Sl,useDeferredValue:Sl,useTransition:Sl,useMutableSource:Sl,useSyncExternalStore:Sl,useId:Sl,unstable_isNewReconciler:!1},ii={readContext:xo,useCallback:function(e,t){return xl().memoizedState=[e,void 0===t?null:t],e},useContext:xo,useEffect:Wl,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Bl(4194308,4,Ql.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bl(4,2,e,t)},useMemo:function(e,t){var n=xl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ti.bind(null,ml,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},xl().memoizedState=e},useState:Dl,useDebugValue:Gl,useDeferredValue:function(e){return xl().memoizedState=e},useTransition:function(){var e=Dl(!1),t=e[0];return e=Zl.bind(null,e[1]),xl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ml,a=xl();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Ru)throw Error(o(349));0!==(30&hl)||Ll(r,t,n)}a.memoizedState=n;var l={value:n,getSnapshot:t};return a.queue=l,Wl(Il.bind(null,r,l,e),[e]),r.flags|=2048,Fl(9,Tl.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=xl(),t=Ru.identifierPrefix;if(ao){var n=Ya;t=":"+t+"R"+(n=(Xa&~(1<<32-lt(Xa)-1)).toString(32)+n),0<(n=wl++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=_l++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ui={readContext:xo,useCallback:Xl,useContext:xo,useEffect:ql,useImperativeHandle:Kl,useInsertionEffect:Vl,useLayoutEffect:$l,useMemo:Yl,useReducer:Rl,useRef:Ul,useState:function(){return Rl(Ol)},useDebugValue:Gl,useDeferredValue:function(e){return Jl(Cl(),gl.memoizedState,e)},useTransition:function(){return[Rl(Ol)[0],Cl().memoizedState]},useMutableSource:Ml,useSyncExternalStore:jl,useId:ei,unstable_isNewReconciler:!1},si={readContext:xo,useCallback:Xl,useContext:xo,useEffect:ql,useImperativeHandle:Kl,useInsertionEffect:Vl,useLayoutEffect:$l,useMemo:Yl,useReducer:Nl,useRef:Ul,useState:function(){return Nl(Ol)},useDebugValue:Gl,useDeferredValue:function(e){var t=Cl();return null===gl?t.memoizedState=e:Jl(t,gl.memoizedState,e)},useTransition:function(){return[Nl(Ol)[0],Cl().memoizedState]},useMutableSource:Ml,useSyncExternalStore:jl,useId:ei,unstable_isNewReconciler:!1};function ci(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function fi(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function di(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pi="function"===typeof WeakMap?WeakMap:Map;function hi(e,t,n){(n=To(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qu||(qu=!0,Vu=r),di(0,t)},n}function mi(e,t,n){(n=To(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){di(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){di(0,t),"function"!==typeof r&&(null===$u?$u=new Set([this]):$u.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gi(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pi;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Es.bind(null,e,t,n),t.then(e,e))}function yi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vi(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=To(-1,1)).tag=2,Io(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bi=w.ReactCurrentOwner,wi=!1;function _i(e,t,n,r){t.child=null===e?Jo(t,null,n,r):Yo(t,e.child,n,r)}function Si(e,t,n,r,a){n=n.render;var o=t.ref;return Eo(t,a),r=kl(e,t,n,r,o,a),n=El(),null===e||wi?(ao&&n&&eo(t),t.flags|=1,_i(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,qi(e,t,a))}function Pi(e,t,n,r,a){if(null===e){var o=n.type;return"function"!==typeof o||js(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ts(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,ki(e,t,o,r,a))}if(o=e.child,0===(e.lanes&a)){var l=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(l,r)&&e.ref===t.ref)return qi(e,t,a)}return t.flags|=1,(e=Ls(o,r)).ref=t.ref,e.return=t,t.child=e}function ki(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(wi=!1,t.pendingProps=r=o,0===(e.lanes&a))return t.lanes=e.lanes,qi(e,t,a);0!==(131072&e.flags)&&(wi=!0)}}return Ci(e,t,n,r,a)}function Ei(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},xa(Lu,ju),ju|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,xa(Lu,ju),ju|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,xa(Lu,ju),ju|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,xa(Lu,ju),ju|=r;return _i(e,t,a,n),t.child}function xi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ci(e,t,n,r,a){var o=ja(n)?Na:Oa.current;return o=Ma(t,o),Eo(t,a),n=kl(e,t,n,r,o,a),r=El(),null===e||wi?(ao&&r&&eo(t),t.flags|=1,_i(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,qi(e,t,a))}function Oi(e,t,n,r,a){if(ja(n)){var o=!0;Aa(t)}else o=!1;if(Eo(t,a),null===t.stateNode)Wi(e,t),qo(t,n,r),$o(t,n,r,a),r=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var u=l.context,s=n.contextType;"object"===typeof s&&null!==s?s=xo(s):s=Ma(t,s=ja(n)?Na:Oa.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof l.getSnapshotBeforeUpdate;f||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(i!==r||u!==s)&&Vo(t,l,r,s),Mo=!1;var d=t.memoizedState;l.state=d,Do(t,r,l,a),u=t.memoizedState,i!==r||d!==u||Ra.current||Mo?("function"===typeof c&&(Bo(t,n,c,r),u=t.memoizedState),(i=Mo||Wo(t,n,i,r,d,u,s))?(f||"function"!==typeof l.UNSAFE_componentWillMount&&"function"!==typeof l.componentWillMount||("function"===typeof l.componentWillMount&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"===typeof l.componentDidMount&&(t.flags|=4194308)):("function"===typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=i):("function"===typeof l.componentDidMount&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Lo(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:yo(t.type,i),l.props=s,f=t.pendingProps,d=l.context,"object"===typeof(u=n.contextType)&&null!==u?u=xo(u):u=Ma(t,u=ja(n)?Na:Oa.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof l.getSnapshotBeforeUpdate)||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(i!==f||d!==u)&&Vo(t,l,r,u),Mo=!1,d=t.memoizedState,l.state=d,Do(t,r,l,a);var h=t.memoizedState;i!==f||d!==h||Ra.current||Mo?("function"===typeof p&&(Bo(t,n,p,r),h=t.memoizedState),(s=Mo||Wo(t,n,s,r,d,h,u)||!1)?(c||"function"!==typeof l.UNSAFE_componentWillUpdate&&"function"!==typeof l.componentWillUpdate||("function"===typeof l.componentWillUpdate&&l.componentWillUpdate(r,h,u),"function"===typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,h,u)),"function"===typeof l.componentDidUpdate&&(t.flags|=4),"function"===typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof l.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),l.props=r,l.state=h,l.context=u,r=s):("function"!==typeof l.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ri(e,t,n,r,o,a)}function Ri(e,t,n,r,a,o){xi(e,t);var l=0!==(128&t.flags);if(!r&&!l)return a&&za(t,n,!1),qi(e,t,o);r=t.stateNode,bi.current=t;var i=l&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&l?(t.child=Yo(t,e.child,null,o),t.child=Yo(t,null,i,o)):_i(e,t,i,o),t.memoizedState=r.state,a&&za(t,n,!0),t.child}function Ni(e){var t=e.stateNode;t.pendingContext?Ta(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ta(0,t.context,!1),al(e,t.containerInfo)}function Mi(e,t,n,r,a){return ho(),mo(a),t.flags|=256,_i(e,t,n,r),t.child}var ji,Li,Ti,Ii={dehydrated:null,treeContext:null,retryLane:0};function Ai(e){return{baseLanes:e,cachePool:null,transitions:null}}function zi(e,t,n){var r,a=t.pendingProps,l=ul.current,i=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&l)),r?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(l|=1),xa(ul,1&l),null===e)return so(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,i?(a=t.mode,i=t.child,u={mode:"hidden",children:u},0===(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=u):i=As(u,a,0,null),e=Is(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Ai(n),t.memoizedState=Ii,e):Di(t,u));if(null!==(l=e.memoizedState)&&null!==(r=l.dehydrated))return function(e,t,n,r,a,l,i){if(n)return 256&t.flags?(t.flags&=-257,Fi(e,t,i,r=fi(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=r.fallback,a=t.mode,r=As({mode:"visible",children:r.children},a,0,null),(l=Is(l,a,i,null)).flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,0!==(1&t.mode)&&Yo(t,e.child,null,i),t.child.memoizedState=Ai(i),t.memoizedState=Ii,l);if(0===(1&t.mode))return Fi(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,Fi(e,t,i,r=fi(l=Error(o(419)),r,void 0))}if(u=0!==(i&e.childLanes),wi||u){if(null!==(r=Ru)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|i))?0:a)&&a!==l.retryLane&&(l.retryLane=a,No(e,a),ns(r,e,a,-1))}return ms(),Fi(e,t,i,r=fi(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Cs.bind(null,e),a._reactRetry=t,null):(e=l.treeContext,ro=sa(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Qa[Ka++]=Xa,Qa[Ka++]=Ya,Qa[Ka++]=Ga,Xa=e.id,Ya=e.overflow,Ga=t),(t=Di(t,r.children)).flags|=4096,t)}(e,t,u,a,r,l,n);if(i){i=a.fallback,u=t.mode,r=(l=e.child).sibling;var s={mode:"hidden",children:a.children};return 0===(1&u)&&t.child!==l?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=Ls(l,s)).subtreeFlags=14680064&l.subtreeFlags,null!==r?i=Ls(r,i):(i=Is(i,u,n,null)).flags|=2,i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,u=null===(u=e.child.memoizedState)?Ai(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~n,t.memoizedState=Ii,a}return e=(i=e.child).sibling,a=Ls(i,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Di(e,t){return(t=As({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fi(e,t,n,r){return null!==r&&mo(r),Yo(t,e.child,null,n),(e=Di(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ui(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ko(e.return,t,n)}function Bi(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Hi(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(_i(e,t,r.children,n),0!==(2&(r=ul.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ui(e,n,t);else if(19===e.tag)Ui(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(xa(ul,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===sl(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Bi(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===sl(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Bi(t,!0,n,null,o);break;case"together":Bi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wi(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qi(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Au|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ls(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ls(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vi(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $i(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Qi(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $i(t),null;case 1:case 17:return ja(t.type)&&La(),$i(t),null;case 3:return r=t.stateNode,ol(),Ea(Ra),Ea(Oa),fl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(ls(oo),oo=null))),$i(t),null;case 5:il(t);var a=rl(nl.current);if(n=t.type,null!==e&&null!=t.stateNode)Li(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return $i(t),null}if(e=rl(el.current),fo(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[da]=t,r[pa]=l,e=0!==(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(a=0;a<Ir.length;a++)Fr(Ir[a],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":X(r,l),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Fr("invalid",r);break;case"textarea":ae(r,l),Fr("invalid",r)}for(var u in ve(n,l),a=null,l)if(l.hasOwnProperty(u)){var s=l[u];"children"===u?"string"===typeof s?r.textContent!==s&&(!0!==l.suppressHydrationWarning&&Jr(r.textContent,s,e),a=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==l.suppressHydrationWarning&&Jr(r.textContent,s,e),a=["children",""+s]):i.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Fr("scroll",r)}switch(n){case"input":$(r),Z(r,l,!0);break;case"textarea":$(r),le(r);break;case"select":case"option":break;default:"function"===typeof l.onClick&&(r.onclick=Zr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ie(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[da]=t,e[pa]=r,ji(e,t),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),a=r;break;case"iframe":case"object":case"embed":Fr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Ir.length;a++)Fr(Ir[a],e);a=r;break;case"source":Fr("error",e),a=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),a=r;break;case"details":Fr("toggle",e),a=r;break;case"input":X(e,r),a=G(e,r),Fr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=z({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Fr("invalid",e)}for(l in ve(n,a),s=a)if(s.hasOwnProperty(l)){var c=s[l];"style"===l?ge(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===l?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(i.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Fr("scroll",e):null!=c&&b(e,l,c,u))}switch(n){case"input":$(e),Z(e,r,!1);break;case"textarea":$(e),le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ne(e,!!r.multiple,l,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $i(t),null;case 6:if(e&&null!=t.stateNode)Ti(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=rl(nl.current),rl(el.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[da]=t,(l=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Jr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!==(1&e.mode))}l&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[da]=t,t.stateNode=r}return $i(t),null;case 13:if(Ea(ul),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))po(),ho(),t.flags|=98560,l=!1;else if(l=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(o(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(o(317));l[da]=t}else ho(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$i(t),l=!1}else null!==oo&&(ls(oo),oo=null),l=!0;if(!l)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ul.current)?0===Tu&&(Tu=3):ms())),null!==t.updateQueue&&(t.flags|=4),$i(t),null);case 4:return ol(),null===e&&Hr(t.stateNode.containerInfo),$i(t),null;case 10:return Po(t.type._context),$i(t),null;case 19:if(Ea(ul),null===(l=t.memoizedState))return $i(t),null;if(r=0!==(128&t.flags),null===(u=l.rendering))if(r)Vi(l,!1);else{if(0!==Tu||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=sl(e))){for(t.flags|=128,Vi(l,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=14680066,null===(u=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,e=u.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return xa(ul,1&ul.current|2),t.child}e=e.sibling}null!==l.tail&&Ye()>Hu&&(t.flags|=128,r=!0,Vi(l,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=sl(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vi(l,!0),null===l.tail&&"hidden"===l.tailMode&&!u.alternate&&!ao)return $i(t),null}else 2*Ye()-l.renderingStartTime>Hu&&1073741824!==n&&(t.flags|=128,r=!0,Vi(l,!1),t.lanes=4194304);l.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=l.last)?n.sibling=u:t.child=u,l.last=u)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ye(),t.sibling=null,n=ul.current,xa(ul,r?1&n|2:1&n),t):($i(t),null);case 22:case 23:return fs(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&ju)&&($i(t),6&t.subtreeFlags&&(t.flags|=8192)):$i(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ki(e,t){switch(to(t),t.tag){case 1:return ja(t.type)&&La(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ol(),Ea(Ra),Ea(Oa),fl(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return il(t),null;case 13:if(Ea(ul),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ea(ul),null;case 4:return ol(),null;case 10:return Po(t.type._context),null;case 22:case 23:return fs(),null;default:return null}}ji=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Li=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,rl(el.current);var o,l=null;switch(n){case"input":a=G(e,a),r=G(e,r),l=[];break;case"select":a=z({},a,{value:void 0}),r=z({},r,{value:void 0}),l=[];break;case"textarea":a=re(e,a),r=re(e,r),l=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Zr)}for(c in ve(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var u=a[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(i.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(l||(l=[]),l.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(l=l||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(l=l||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(i.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Fr("scroll",e),l||u===s||(l=[])):(l=l||[]).push(c,s))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Ti=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gi=!1,Xi=!1,Yi="function"===typeof WeakSet?WeakSet:Set,Ji=null;function Zi(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){ks(e,t,r)}else n.current=null}function eu(e,t,n){try{n()}catch(r){ks(e,t,r)}}var tu=!1;function nu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&eu(t,n,o)}a=a.next}while(a!==r)}}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function au(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ou(e){var t=e.alternate;null!==t&&(e.alternate=null,ou(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[da],delete t[pa],delete t[ma],delete t[ga],delete t[ya])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function lu(e){return 5===e.tag||3===e.tag||4===e.tag}function iu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}var cu=null,fu=!1;function du(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(i){}switch(n.tag){case 5:Xi||Zi(n,t);case 6:var r=cu,a=fu;cu=null,du(e,t,n),fu=a,null!==(cu=r)&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?ua(e.parentNode,n):1===e.nodeType&&ua(e,n),Ht(e)):ua(cu,n.stateNode));break;case 4:r=cu,a=fu,cu=n.stateNode.containerInfo,fu=!0,du(e,t,n),cu=r,fu=a;break;case 0:case 11:case 14:case 15:if(!Xi&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,l=o.destroy;o=o.tag,void 0!==l&&(0!==(2&o)||0!==(4&o))&&eu(n,t,l),a=a.next}while(a!==r)}du(e,t,n);break;case 1:if(!Xi&&(Zi(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){ks(n,t,i)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Xi=(r=Xi)||null!==n.memoizedState,du(e,t,n),Xi=r):du(e,t,n);break;default:du(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Yi),t.forEach((function(t){var r=Os.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var l=e,i=t,u=i;e:for(;null!==u;){switch(u.tag){case 5:cu=u.stateNode,fu=!1;break e;case 3:case 4:cu=u.stateNode.containerInfo,fu=!0;break e}u=u.return}if(null===cu)throw Error(o(160));pu(l,i,a),cu=null,fu=!1;var s=a.alternate;null!==s&&(s.return=null),a.return=null}catch(c){ks(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gu(t,e),t=t.sibling}function gu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),yu(e),4&r){try{nu(3,e,e.return),ru(3,e)}catch(g){ks(e,e.return,g)}try{nu(5,e,e.return)}catch(g){ks(e,e.return,g)}}break;case 1:mu(t,e),yu(e),512&r&&null!==n&&Zi(n,n.return);break;case 5:if(mu(t,e),yu(e),512&r&&null!==n&&Zi(n,n.return),32&e.flags){var a=e.stateNode;try{de(a,"")}catch(g){ks(e,e.return,g)}}if(4&r&&null!=(a=e.stateNode)){var l=e.memoizedProps,i=null!==n?n.memoizedProps:l,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===l.type&&null!=l.name&&Y(a,l),be(u,i);var c=be(u,l);for(i=0;i<s.length;i+=2){var f=s[i],d=s[i+1];"style"===f?ge(a,d):"dangerouslySetInnerHTML"===f?fe(a,d):"children"===f?de(a,d):b(a,f,d,c)}switch(u){case"input":J(a,l);break;case"textarea":oe(a,l);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!l.multiple;var h=l.value;null!=h?ne(a,!!l.multiple,h,!1):p!==!!l.multiple&&(null!=l.defaultValue?ne(a,!!l.multiple,l.defaultValue,!0):ne(a,!!l.multiple,l.multiple?[]:"",!1))}a[pa]=l}catch(g){ks(e,e.return,g)}}break;case 6:if(mu(t,e),yu(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,l=e.memoizedProps;try{a.nodeValue=l}catch(g){ks(e,e.return,g)}}break;case 3:if(mu(t,e),yu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(g){ks(e,e.return,g)}break;case 4:default:mu(t,e),yu(e);break;case 13:mu(t,e),yu(e),8192&(a=e.child).flags&&(l=null!==a.memoizedState,a.stateNode.isHidden=l,!l||null!==a.alternate&&null!==a.alternate.memoizedState||(Bu=Ye())),4&r&&hu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Xi=(c=Xi)||f,mu(t,e),Xi=c):mu(t,e),yu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for(Ji=e,f=e.child;null!==f;){for(d=Ji=f;null!==Ji;){switch(h=(p=Ji).child,p.tag){case 0:case 11:case 14:case 15:nu(4,p,p.return);break;case 1:Zi(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){ks(r,n,g)}}break;case 5:Zi(p,p.return);break;case 22:if(null!==p.memoizedState){_u(d);continue}}null!==h?(h.return=p,Ji=h):_u(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{a=d.stateNode,c?"function"===typeof(l=a.style).setProperty?l.setProperty("display","none","important"):l.display="none":(u=d.stateNode,i=void 0!==(s=d.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,u.style.display=me("display",i))}catch(g){ks(e,e.return,g)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(g){ks(e,e.return,g)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:mu(t,e),yu(e),4&r&&hu(e);case 21:}}function yu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(lu(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(de(a,""),r.flags&=-33),su(e,iu(e),a);break;case 3:case 4:var l=r.stateNode.containerInfo;uu(e,iu(e),l);break;default:throw Error(o(161))}}catch(i){ks(e,e.return,i)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vu(e,t,n){Ji=e,bu(e,t,n)}function bu(e,t,n){for(var r=0!==(1&e.mode);null!==Ji;){var a=Ji,o=a.child;if(22===a.tag&&r){var l=null!==a.memoizedState||Gi;if(!l){var i=a.alternate,u=null!==i&&null!==i.memoizedState||Xi;i=Gi;var s=Xi;if(Gi=l,(Xi=u)&&!s)for(Ji=a;null!==Ji;)u=(l=Ji).child,22===l.tag&&null!==l.memoizedState?Su(a):null!==u?(u.return=l,Ji=u):Su(a);for(;null!==o;)Ji=o,bu(o,t,n),o=o.sibling;Ji=a,Gi=i,Xi=s}wu(e)}else 0!==(8772&a.subtreeFlags)&&null!==o?(o.return=a,Ji=o):wu(e)}}function wu(e){for(;null!==Ji;){var t=Ji;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xi||ru(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xi)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:yo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;null!==l&&Fo(t,l,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Fo(t,i,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Ht(d)}}}break;default:throw Error(o(163))}Xi||512&t.flags&&au(t)}catch(p){ks(t,t.return,p)}}if(t===e){Ji=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ji=n;break}Ji=t.return}}function _u(e){for(;null!==Ji;){var t=Ji;if(t===e){Ji=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ji=n;break}Ji=t.return}}function Su(e){for(;null!==Ji;){var t=Ji;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ru(4,t)}catch(u){ks(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(u){ks(t,a,u)}}var o=t.return;try{au(t)}catch(u){ks(t,o,u)}break;case 5:var l=t.return;try{au(t)}catch(u){ks(t,l,u)}}}catch(u){ks(t,t.return,u)}if(t===e){Ji=null;break}var i=t.sibling;if(null!==i){i.return=t.return,Ji=i;break}Ji=t.return}}var Pu,ku=Math.ceil,Eu=w.ReactCurrentDispatcher,xu=w.ReactCurrentOwner,Cu=w.ReactCurrentBatchConfig,Ou=0,Ru=null,Nu=null,Mu=0,ju=0,Lu=ka(0),Tu=0,Iu=null,Au=0,zu=0,Du=0,Fu=null,Uu=null,Bu=0,Hu=1/0,Wu=null,qu=!1,Vu=null,$u=null,Qu=!1,Ku=null,Gu=0,Xu=0,Yu=null,Ju=-1,Zu=0;function es(){return 0!==(6&Ou)?Ye():-1!==Ju?Ju:Ju=Ye()}function ts(e){return 0===(1&e.mode)?1:0!==(2&Ou)&&0!==Mu?Mu&-Mu:null!==go.transition?(0===Zu&&(Zu=mt()),Zu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function ns(e,t,n,r){if(50<Xu)throw Xu=0,Yu=null,Error(o(185));yt(e,n,r),0!==(2&Ou)&&e===Ru||(e===Ru&&(0===(2&Ou)&&(zu|=n),4===Tu&&is(e,Mu)),rs(e,r),1===n&&0===Ou&&0===(1&t.mode)&&(Hu=Ye()+500,Fa&&Ha()))}function rs(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-lt(o),i=1<<l,u=a[l];-1===u?0!==(i&n)&&0===(i&r)||(a[l]=pt(i,t)):u<=t&&(e.expiredLanes|=i),o&=~i}}(e,t);var r=dt(e,e===Ru?Mu:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Fa=!0,Ba(e)}(us.bind(null,e)):Ba(us.bind(null,e)),la((function(){0===(6&Ou)&&Ha()})),n=null;else{switch(wt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Rs(n,as.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function as(e,t){if(Ju=-1,Zu=0,0!==(6&Ou))throw Error(o(327));var n=e.callbackNode;if(Ss()&&e.callbackNode!==n)return null;var r=dt(e,e===Ru?Mu:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gs(e,r);else{t=r;var a=Ou;Ou|=2;var l=hs();for(Ru===e&&Mu===t||(Wu=null,Hu=Ye()+500,ds(e,t));;)try{vs();break}catch(u){ps(e,u)}So(),Eu.current=l,Ou=a,null!==Nu?t=0:(Ru=null,Mu=0,t=Tu)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=os(e,a))),1===t)throw n=Iu,ds(e,0),is(e,r),rs(e,Ye()),n;if(6===t)is(e,r);else{if(a=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!ir(o(),a))return!1}catch(i){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=gs(e,r))&&(0!==(l=ht(e))&&(r=l,t=os(e,l))),1===t))throw n=Iu,ds(e,0),is(e,r),rs(e,Ye()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:_s(e,Uu,Wu);break;case 3:if(is(e,r),(130023424&r)===r&&10<(t=Bu+500-Ye())){if(0!==dt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){es(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(_s.bind(null,e,Uu,Wu),t);break}_s(e,Uu,Wu);break;case 4:if(is(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var i=31-lt(r);l=1<<i,(i=t[i])>a&&(a=i),r&=~l}if(r=a,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ku(r/1960))-r)){e.timeoutHandle=ra(_s.bind(null,e,Uu,Wu),r);break}_s(e,Uu,Wu);break;default:throw Error(o(329))}}}return rs(e,Ye()),e.callbackNode===n?as.bind(null,e):null}function os(e,t){var n=Fu;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),2!==(e=gs(e,t))&&(t=Uu,Uu=n,null!==t&&ls(t)),e}function ls(e){null===Uu?Uu=e:Uu.push.apply(Uu,e)}function is(e,t){for(t&=~Du,t&=~zu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-lt(t),r=1<<n;e[n]=-1,t&=~r}}function us(e){if(0!==(6&Ou))throw Error(o(327));Ss();var t=dt(e,0);if(0===(1&t))return rs(e,Ye()),null;var n=gs(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=os(e,r))}if(1===n)throw n=Iu,ds(e,0),is(e,t),rs(e,Ye()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_s(e,Uu,Wu),rs(e,Ye()),null}function ss(e,t){var n=Ou;Ou|=1;try{return e(t)}finally{0===(Ou=n)&&(Hu=Ye()+500,Fa&&Ha())}}function cs(e){null!==Ku&&0===Ku.tag&&0===(6&Ou)&&Ss();var t=Ou;Ou|=1;var n=Cu.transition,r=bt;try{if(Cu.transition=null,bt=1,e)return e()}finally{bt=r,Cu.transition=n,0===(6&(Ou=t))&&Ha()}}function fs(){ju=Lu.current,Ea(Lu)}function ds(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Nu)for(n=Nu.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&La();break;case 3:ol(),Ea(Ra),Ea(Oa),fl();break;case 5:il(r);break;case 4:ol();break;case 13:case 19:Ea(ul);break;case 10:Po(r.type._context);break;case 22:case 23:fs()}n=n.return}if(Ru=e,Nu=e=Ls(e.current,null),Mu=ju=t,Tu=0,Iu=null,Du=zu=Au=0,Uu=Fu=null,null!==Co){for(t=0;t<Co.length;t++)if(null!==(r=(n=Co[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var l=o.next;o.next=a,r.next=l}n.pending=r}Co=null}return e}function ps(e,t){for(;;){var n=Nu;try{if(So(),dl.current=li,vl){for(var r=ml.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}vl=!1}if(hl=0,yl=gl=ml=null,bl=!1,wl=0,xu.current=null,null===n||null===n.return){Tu=1,Iu=t,Nu=null;break}e:{var l=e,i=n.return,u=n,s=t;if(t=Mu,u.flags|=32768,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s,f=u,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=yi(i);if(null!==h){h.flags&=-257,vi(h,i,u,0,t),1&h.mode&&gi(l,c,t),s=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(s),t.updateQueue=g}else m.add(s);break e}if(0===(1&t)){gi(l,c,t),ms();break e}s=Error(o(426))}else if(ao&&1&u.mode){var y=yi(i);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),vi(y,i,u,0,t),mo(ci(s,u));break e}}l=s=ci(s,u),4!==Tu&&(Tu=2),null===Fu?Fu=[l]:Fu.push(l),l=i;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,zo(l,hi(0,s,t));break e;case 1:u=s;var v=l.type,b=l.stateNode;if(0===(128&l.flags)&&("function"===typeof v.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===$u||!$u.has(b)))){l.flags|=65536,t&=-t,l.lanes|=t,zo(l,mi(l,u,t));break e}}l=l.return}while(null!==l)}ws(n)}catch(w){t=w,Nu===n&&null!==n&&(Nu=n=n.return);continue}break}}function hs(){var e=Eu.current;return Eu.current=li,null===e?li:e}function ms(){0!==Tu&&3!==Tu&&2!==Tu||(Tu=4),null===Ru||0===(268435455&Au)&&0===(268435455&zu)||is(Ru,Mu)}function gs(e,t){var n=Ou;Ou|=2;var r=hs();for(Ru===e&&Mu===t||(Wu=null,ds(e,t));;)try{ys();break}catch(a){ps(e,a)}if(So(),Ou=n,Eu.current=r,null!==Nu)throw Error(o(261));return Ru=null,Mu=0,Tu}function ys(){for(;null!==Nu;)bs(Nu)}function vs(){for(;null!==Nu&&!Ge();)bs(Nu)}function bs(e){var t=Pu(e.alternate,e,ju);e.memoizedProps=e.pendingProps,null===t?ws(e):Nu=t,xu.current=null}function ws(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Qi(n,t,ju)))return void(Nu=n)}else{if(null!==(n=Ki(n,t)))return n.flags&=32767,void(Nu=n);if(null===e)return Tu=6,void(Nu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Nu=t);Nu=t=e}while(null!==t);0===Tu&&(Tu=5)}function _s(e,t,n){var r=bt,a=Cu.transition;try{Cu.transition=null,bt=1,function(e,t,n,r){do{Ss()}while(null!==Ku);if(0!==(6&Ou))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-lt(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,l),e===Ru&&(Nu=Ru=null,Mu=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Qu||(Qu=!0,Rs(tt,(function(){return Ss(),null}))),l=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||l){l=Cu.transition,Cu.transition=null;var i=bt;bt=1;var u=Ou;Ou|=4,xu.current=null,function(e,t){if(ea=qt,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch(_){n=null;break e}var i=0,u=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==a&&3!==d.nodeType||(u=i+a),d!==l||0!==r&&3!==d.nodeType||(s=i+r),3===d.nodeType&&(i+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++c===a&&(u=i),p===l&&++f===r&&(s=i),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},qt=!1,Ji=t;null!==Ji;)if(e=(t=Ji).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Ji=e;else for(;null!==Ji;){t=Ji;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:yo(t.type,g),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(_){ks(t,t.return,_)}if(null!==(e=t.sibling)){e.return=t.return,Ji=e;break}Ji=t.return}m=tu,tu=!1}(e,n),gu(n,e),hr(ta),qt=!!ea,ta=ea=null,e.current=n,vu(n,e,a),Xe(),Ou=u,bt=i,Cu.transition=l}else e.current=n;if(Qu&&(Qu=!1,Ku=e,Gu=a),0===(l=e.pendingLanes)&&($u=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),rs(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(qu)throw qu=!1,e=Vu,Vu=null,e;0!==(1&Gu)&&0!==e.tag&&Ss(),0!==(1&(l=e.pendingLanes))?e===Yu?Xu++:(Xu=0,Yu=e):Xu=0,Ha()}(e,t,n,r)}finally{Cu.transition=a,bt=r}return null}function Ss(){if(null!==Ku){var e=wt(Gu),t=Cu.transition,n=bt;try{if(Cu.transition=null,bt=16>e?16:e,null===Ku)var r=!1;else{if(e=Ku,Ku=null,Gu=0,0!==(6&Ou))throw Error(o(331));var a=Ou;for(Ou|=4,Ji=e.current;null!==Ji;){var l=Ji,i=l.child;if(0!==(16&Ji.flags)){var u=l.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for(Ji=c;null!==Ji;){var f=Ji;switch(f.tag){case 0:case 11:case 15:nu(8,f,l)}var d=f.child;if(null!==d)d.return=f,Ji=d;else for(;null!==Ji;){var p=(f=Ji).sibling,h=f.return;if(ou(f),f===c){Ji=null;break}if(null!==p){p.return=h,Ji=p;break}Ji=h}}}var m=l.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Ji=l}}if(0!==(2064&l.subtreeFlags)&&null!==i)i.return=l,Ji=i;else e:for(;null!==Ji;){if(0!==(2048&(l=Ji).flags))switch(l.tag){case 0:case 11:case 15:nu(9,l,l.return)}var v=l.sibling;if(null!==v){v.return=l.return,Ji=v;break e}Ji=l.return}}var b=e.current;for(Ji=b;null!==Ji;){var w=(i=Ji).child;if(0!==(2064&i.subtreeFlags)&&null!==w)w.return=i,Ji=w;else e:for(i=b;null!==Ji;){if(0!==(2048&(u=Ji).flags))try{switch(u.tag){case 0:case 11:case 15:ru(9,u)}}catch(S){ks(u,u.return,S)}if(u===i){Ji=null;break e}var _=u.sibling;if(null!==_){_.return=u.return,Ji=_;break e}Ji=u.return}}if(Ou=a,Ha(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(S){}r=!0}return r}finally{bt=n,Cu.transition=t}}return!1}function Ps(e,t,n){e=Io(e,t=hi(0,t=ci(n,t),1),1),t=es(),null!==e&&(yt(e,1,t),rs(e,t))}function ks(e,t,n){if(3===e.tag)Ps(e,e,n);else for(;null!==t;){if(3===t.tag){Ps(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===$u||!$u.has(r))){t=Io(t,e=mi(t,e=ci(n,e),1),1),e=es(),null!==t&&(yt(t,1,e),rs(t,e));break}}t=t.return}}function Es(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=es(),e.pingedLanes|=e.suspendedLanes&n,Ru===e&&(Mu&n)===n&&(4===Tu||3===Tu&&(130023424&Mu)===Mu&&500>Ye()-Bu?ds(e,0):Du|=n),rs(e,t)}function xs(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=es();null!==(e=No(e,t))&&(yt(e,t,n),rs(e,n))}function Cs(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),xs(e,n)}function Os(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),xs(e,n)}function Rs(e,t){return Qe(e,t)}function Ns(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ms(e,t,n,r){return new Ns(e,t,n,r)}function js(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ls(e,t){var n=e.alternate;return null===n?((n=Ms(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ts(e,t,n,r,a,l){var i=2;if(r=e,"function"===typeof e)js(e)&&(i=1);else if("string"===typeof e)i=5;else e:switch(e){case P:return Is(n.children,a,l,t);case k:i=8,a|=8;break;case E:return(e=Ms(12,n,t,2|a)).elementType=E,e.lanes=l,e;case R:return(e=Ms(13,n,t,a)).elementType=R,e.lanes=l,e;case N:return(e=Ms(19,n,t,a)).elementType=N,e.lanes=l,e;case L:return As(n,a,l,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case x:i=10;break e;case C:i=9;break e;case O:i=11;break e;case M:i=14;break e;case j:i=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ms(i,n,t,a)).elementType=e,t.type=r,t.lanes=l,t}function Is(e,t,n,r){return(e=Ms(7,e,r,t)).lanes=n,e}function As(e,t,n,r){return(e=Ms(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function zs(e,t,n){return(e=Ms(6,e,null,t)).lanes=n,e}function Ds(e,t,n){return(t=Ms(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fs(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Us(e,t,n,r,a,o,l,i,u){return e=new Fs(e,t,n,i,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ms(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jo(o),e}function Bs(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Hs(e){if(!e)return Ca;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ja(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(ja(n))return Ia(e,n,t)}return t}function Ws(e,t,n,r,a,o,l,i,u){return(e=Us(n,r,!0,e,0,o,0,i,u)).context=Hs(null),n=e.current,(o=To(r=es(),a=ts(n))).callback=void 0!==t&&null!==t?t:null,Io(n,o,a),e.current.lanes=a,yt(e,a,r),rs(e,r),e}function qs(e,t,n,r){var a=t.current,o=es(),l=ts(a);return n=Hs(n),null===t.context?t.context=n:t.pendingContext=n,(t=To(o,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Io(a,t,l))&&(ns(e,a,l,o),Ao(e,a,l)),l}function Vs(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $s(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qs(e,t){$s(e,t),(e=e.alternate)&&$s(e,t)}Pu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ra.current)wi=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return wi=!1,function(e,t,n){switch(t.tag){case 3:Ni(t),ho();break;case 5:ll(t);break;case 1:ja(t.type)&&Aa(t);break;case 4:al(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;xa(vo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(xa(ul,1&ul.current),t.flags|=128,null):0!==(n&t.child.childLanes)?zi(e,t,n):(xa(ul,1&ul.current),null!==(e=qi(e,t,n))?e.sibling:null);xa(ul,1&ul.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Hi(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),xa(ul,ul.current),r)break;return null;case 22:case 23:return t.lanes=0,Ei(e,t,n)}return qi(e,t,n)}(e,t,n);wi=0!==(131072&e.flags)}else wi=!1,ao&&0!==(1048576&t.flags)&&Za(t,$a,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wi(e,t),e=t.pendingProps;var a=Ma(t,Oa.current);Eo(t,n),a=kl(null,t,r,e,a,n);var l=El();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ja(r)?(l=!0,Aa(t)):l=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,jo(t),a.updater=Ho,t.stateNode=a,a._reactInternals=t,$o(t,r,e,n),t=Ri(null,t,r,!0,l,n)):(t.tag=0,ao&&l&&eo(t),_i(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wi(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return js(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===O)return 11;if(e===M)return 14}return 2}(r),e=yo(r,e),a){case 0:t=Ci(null,t,r,e,n);break e;case 1:t=Oi(null,t,r,e,n);break e;case 11:t=Si(null,t,r,e,n);break e;case 14:t=Pi(null,t,r,yo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ci(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 1:return r=t.type,a=t.pendingProps,Oi(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 3:e:{if(Ni(t),null===e)throw Error(o(387));r=t.pendingProps,a=(l=t.memoizedState).element,Lo(e,t),Do(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated){if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,256&t.flags){t=Mi(e,t,r,n,a=ci(Error(o(423)),t));break e}if(r!==a){t=Mi(e,t,r,n,a=ci(Error(o(424)),t));break e}for(ro=sa(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Jo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===a){t=qi(e,t,n);break e}_i(e,t,r,n)}t=t.child}return t;case 5:return ll(t),null===e&&so(t),r=t.type,a=t.pendingProps,l=null!==e?e.memoizedProps:null,i=a.children,na(r,a)?i=null:null!==l&&na(r,l)&&(t.flags|=32),xi(e,t),_i(e,t,i,n),t.child;case 6:return null===e&&so(t),null;case 13:return zi(e,t,n);case 4:return al(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yo(t,null,r,n):_i(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Si(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 7:return _i(e,t,t.pendingProps,n),t.child;case 8:case 12:return _i(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,l=t.memoizedProps,i=a.value,xa(vo,r._currentValue),r._currentValue=i,null!==l)if(ir(l.value,i)){if(l.children===a.children&&!Ra.current){t=qi(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){i=l.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===l.tag){(s=To(-1,n&-n)).tag=2;var c=l.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),ko(l.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===l.tag)i=l.type===t.type?null:l.child;else if(18===l.tag){if(null===(i=l.return))throw Error(o(341));i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),ko(i,n,t),i=l.sibling}else i=l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}_i(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Eo(t,n),r=r(a=xo(a)),t.flags|=1,_i(e,t,r,n),t.child;case 14:return a=yo(r=t.type,t.pendingProps),Pi(e,t,r,a=yo(r.type,a),n);case 15:return ki(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:yo(r,a),Wi(e,t),t.tag=1,ja(r)?(e=!0,Aa(t)):e=!1,Eo(t,n),qo(t,r,a),$o(t,r,a,n),Ri(null,t,r,!0,e,n);case 19:return Hi(e,t,n);case 22:return Ei(e,t,n)}throw Error(o(156,t.tag))};var Ks="function"===typeof reportError?reportError:function(e){console.error(e)};function Gs(e){this._internalRoot=e}function Xs(e){this._internalRoot=e}function Ys(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Js(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zs(){}function ec(e,t,n,r,a){var o=n._reactRootContainer;if(o){var l=o;if("function"===typeof a){var i=a;a=function(){var e=Vs(l);i.call(e)}}qs(t,l,e,a)}else l=function(e,t,n,r,a){if(a){if("function"===typeof r){var o=r;r=function(){var e=Vs(l);o.call(e)}}var l=Ws(t,r,e,0,null,!1,0,"",Zs);return e._reactRootContainer=l,e[ha]=l.current,Hr(8===e.nodeType?e.parentNode:e),cs(),l}for(;a=e.lastChild;)e.removeChild(a);if("function"===typeof r){var i=r;r=function(){var e=Vs(u);i.call(e)}}var u=Us(e,0,!1,null,0,!1,0,"",Zs);return e._reactRootContainer=u,e[ha]=u.current,Hr(8===e.nodeType?e.parentNode:e),cs((function(){qs(t,u,n,r)})),u}(n,t,e,a,r);return Vs(l)}Xs.prototype.render=Gs.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));qs(e,t,null,null)},Xs.prototype.unmount=Gs.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cs((function(){qs(null,e,null,null)})),t[ha]=null}},Xs.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&zt(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(vt(t,1|n),rs(t,Ye()),0===(6&Ou)&&(Hu=Ye()+500,Ha()))}break;case 13:cs((function(){var t=No(e,1);if(null!==t){var n=es();ns(t,e,1,n)}})),Qs(e,1)}},St=function(e){if(13===e.tag){var t=No(e,134217728);if(null!==t)ns(t,e,134217728,es());Qs(e,134217728)}},Pt=function(e){if(13===e.tag){var t=ts(e),n=No(e,t);if(null!==n)ns(n,e,t,es());Qs(e,t)}},kt=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=_a(r);if(!a)throw Error(o(90));Q(r),J(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Oe=ss,Re=cs;var tc={usingClientEntryPoint:!1,Events:[ba,wa,_a,xe,Ce,ss]},nc={findFiberByHostInstance:va,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),ot=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ys(t))throw Error(o(200));return Bs(e,t,null,n)},t.createRoot=function(e,t){if(!Ys(e))throw Error(o(299));var n=!1,r="",a=Ks;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Us(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Gs(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return cs(e)},t.hydrate=function(e,t,n){if(!Js(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Ys(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,l="",i=Ks;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(l=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=Ws(t,null,e,1,null!=n?n:null,a,0,l,i),e[ha]=t.current,Hr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Xs(t)},t.render=function(e,t,n){if(!Js(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Js(e))throw Error(o(40));return!!e._reactRootContainer&&(cs((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=ss,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Js(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},7016:function(e,t,n){"use strict";var r=n(5776);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},5776:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(3438)},7039:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v;w.constructor=b,m(w,y.prototype),w.isPureReactComponent=!0;var _=Array.isArray,S=Object.prototype.hasOwnProperty,P={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var a,o={},l=null,i=null;if(null!=t)for(a in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(l=""+t.key),t)S.call(t,a)&&!k.hasOwnProperty(a)&&(o[a]=t[a]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(a in u=e.defaultProps)void 0===o[a]&&(o[a]=u[a]);return{$$typeof:n,type:e,key:l,ref:i,props:o,_owner:P.current}}function x(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function O(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(e,t,a,o,l){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var u=!1;if(null===e)u=!0;else switch(i){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return l=l(u=e),e=""===o?"."+O(u,0):o,_(l)?(a="",null!=e&&(a=e.replace(C,"$&/")+"/"),R(l,t,a,"",(function(e){return e}))):null!=l&&(x(l)&&(l=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,a+(!l.key||u&&u.key===l.key?"":(""+l.key).replace(C,"$&/")+"/")+e)),t.push(l)),1;if(u=0,o=""===o?".":o+":",_(e))for(var s=0;s<e.length;s++){var c=o+O(i=e[s],s);u+=R(i,t,a,c,l)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),s=0;!(i=e.next()).done;)u+=R(i=i.value,t,a,c=o+O(i,s++),l);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function N(e,t,n){if(null==e)return e;var r=[],a=0;return R(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function M(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var j={current:null},L={transition:null},T={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:L,ReactCurrentOwner:P};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=l,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),o=e.key,l=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,i=P.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)S.call(t,s)&&!k.hasOwnProperty(s)&&(a[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}return{$$typeof:n,type:e.type,key:o,ref:l,props:a,_owner:i}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:M}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return j.current.useCallback(e,t)},t.useContext=function(e){return j.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return j.current.useDeferredValue(e)},t.useEffect=function(e,t){return j.current.useEffect(e,t)},t.useId=function(){return j.current.useId()},t.useImperativeHandle=function(e,t,n){return j.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return j.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return j.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return j.current.useMemo(e,t)},t.useReducer=function(e,t,n){return j.current.useReducer(e,t,n)},t.useRef=function(e){return j.current.useRef(e)},t.useState=function(e){return j.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return j.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return j.current.useTransition()},t.version="18.2.0"},8025:function(e,t,n){"use strict";e.exports=n(7039)},3729:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,l=a>>>1;r<l;){var i=2*(r+1)-1,u=e[i],s=i+1,c=e[s];if(0>o(u,n))s<a&&0>o(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else{if(!(s<a&&0>o(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();t.unstable_now=function(){return i.now()-u}}var s=[],c=[],f=1,d=null,p=3,h=!1,m=!1,g=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function _(e){if(g=!1,w(e),!m)if(null!==r(s))m=!0,L(S);else{var t=r(c);null!==t&&T(_,t.startTime-e)}}function S(e,n){m=!1,g&&(g=!1,v(x),x=-1),h=!0;var o=p;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!R());){var l=d.callback;if("function"===typeof l){d.callback=null,p=d.priorityLevel;var i=l(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof i?d.callback=i:d===r(s)&&a(s),w(n)}else a(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&T(_,f.startTime-n),u=!1}return u}finally{d=null,p=o,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var P,k=!1,E=null,x=-1,C=5,O=-1;function R(){return!(t.unstable_now()-O<C)}function N(){if(null!==E){var e=t.unstable_now();O=e;var n=!0;try{n=E(!0,e)}finally{n?P():(k=!1,E=null)}}else k=!1}if("function"===typeof b)P=function(){b(N)};else if("undefined"!==typeof MessageChannel){var M=new MessageChannel,j=M.port2;M.port1.onmessage=N,P=function(){j.postMessage(null)}}else P=function(){y(N,0)};function L(e){E=e,k||(k=!0,P())}function T(e,n){x=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,L(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,o){var l=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?l+o:l:o=l,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:i=o+i,sortIndex:-1},o>l?(e.sortIndex=o,n(c,e),null===r(s)&&e===r(c)&&(g?(v(x),x=-1):g=!0,T(_,o-l))):(e.sortIndex=i,n(s,e),m||h||(m=!0,L(S))),e},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},2363:function(e,t,n){"use strict";e.exports=n(3729)},2153:function(){},9758:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.r(t),n.d(t,{_:function(){return r},_interop_require_default:function(){return r}})},8640:function(e,t,n){"use strict";function r(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=o?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}return a.default=e,n&&n.set(e,a),a}n.r(t),n.d(t,{_:function(){return a},_interop_require_wildcard:function(){return a}})}},function(e){var t,n=(t=9312,e(e.s=t));_N_E=n}]); \ No newline at end of file diff --git a/out/_next/static/chunks/pages/_app-ca3dce7f1226c212.js b/out/_next/static/chunks/pages/_app-ca3dce7f1226c212.js new file mode 100644 index 0000000000000000000000000000000000000000..2c63fbb878f097baa79519ecfd2c1e5241a696ae --- /dev/null +++ b/out/_next/static/chunks/pages/_app-ca3dce7f1226c212.js @@ -0,0 +1,43 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6319:function(e,t,r){"use strict";r.d(t,{xC:function(){return ke},oM:function(){return _e}});var n=r(1413);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"===typeof Symbol&&Symbol.observable||"@@observable",o=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function u(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,r){var n;if("function"===typeof t&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error(i(0));if("function"===typeof t&&"undefined"===typeof r&&(r=t,t=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error(i(1));return r(l)(e,t)}if("function"!==typeof e)throw new Error(i(2));var o=e,c=t,p=[],h=p,d=!1;function f(){h===p&&(h=p.slice())}function m(){if(d)throw new Error(i(3));return c}function y(e){if("function"!==typeof e)throw new Error(i(4));if(d)throw new Error(i(5));var t=!0;return f(),h.push(e),function(){if(t){if(d)throw new Error(i(6));t=!1,f();var r=h.indexOf(e);h.splice(r,1),p=null}}}function g(e){if(!u(e))throw new Error(i(7));if("undefined"===typeof e.type)throw new Error(i(8));if(d)throw new Error(i(9));try{d=!0,c=o(c,e)}finally{d=!1}for(var t=p=h,r=0;r<t.length;r++){(0,t[r])()}return e}function v(e){if("function"!==typeof e)throw new Error(i(10));o=e,g({type:a.REPLACE})}function D(){var e,t=y;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(i(11));function r(){e.next&&e.next(m())}return r(),{unsubscribe:t(r)}}})[s]=function(){return this},e}return g({type:a.INIT}),(n={dispatch:g,subscribe:y,getState:m,replaceReducer:v})[s]=D,n}function c(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var s=t[n];0,"function"===typeof e[s]&&(r[s]=e[s])}var o,u=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if("undefined"===typeof r(void 0,{type:a.INIT}))throw new Error(i(12));if("undefined"===typeof r(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))}))}(r)}catch(l){o=l}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var n=!1,s={},a=0;a<u.length;a++){var l=u[a],c=r[l],p=e[l],h=c(p,t);if("undefined"===typeof h){t&&t.type;throw new Error(i(14))}s[l]=h,n=n||h!==p}return(n=n||u.length!==Object.keys(e).length)?s:e}}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),s=function(){throw new Error(i(15))},o={getState:r.getState,dispatch:function(){return s.apply(void 0,arguments)}},a=t.map((function(e){return e(o)}));return s=p.apply(void 0,a)(r.dispatch),(0,n.Z)((0,n.Z)({},r),{},{dispatch:s})}}}function d(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(i){return"function"===typeof i?i(r,n,e):t(i)}}}}var f=d();f.withExtraArgument=d;var m=f;function y(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function g(e){return!!e&&!!e[oe]}function v(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===ae}(e)||Array.isArray(e)||!!e[se]||!!(null===(t=e.constructor)||void 0===t?void 0:t[se])||A(e)||S(e))}function D(e,t,r){void 0===r&&(r=!1),0===b(e)?(r?Object.keys:ue)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function b(e){var t=e[oe];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:A(e)?2:S(e)?3:0}function E(e,t){return 2===b(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function x(e,t){return 2===b(e)?e.get(t):e[t]}function C(e,t,r){var n=b(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function w(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function A(e){return te&&e instanceof Map}function S(e){return re&&e instanceof Set}function T(e){return e.o||e.t}function F(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=le(e);delete t[oe];for(var r=ue(t),n=0;n<r.length;n++){var i=r[n],s=t[i];!1===s.writable&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function k(e,t){return void 0===t&&(t=!1),N(e)||g(e)||!v(e)||(b(e)>1&&(e.set=e.add=e.clear=e.delete=P),Object.freeze(e),t&&D(e,(function(e,t){return k(t,!0)}),!0)),e}function P(){y(2)}function N(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function _(e){var t=ce[e];return t||y(18,e),t}function O(e,t){ce[e]||(ce[e]=t)}function I(){return Z}function B(e,t){t&&(_("Patches"),e.u=[],e.s=[],e.v=t)}function j(e){L(e),e.p.forEach(R),e.p=null}function L(e){e===Z&&(Z=e.l)}function M(e){return Z={p:[],l:Z,h:e,m:!0,_:0}}function R(e){var t=e[oe];0===t.i||1===t.i?t.j():t.g=!0}function $(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.O||_("ES5").S(t,e,n),n?(r[oe].P&&(j(t),y(4)),v(e)&&(e=V(t,e),t.l||q(t,e)),t.u&&_("Patches").M(r[oe].t,e,t.u,t.s)):e=V(t,r,[]),j(t),t.u&&t.v(t.u,t.s),e!==ie?e:void 0}function V(e,t,r){if(N(t))return t;var n=t[oe];if(!n)return D(t,(function(i,s){return U(e,n,t,i,s,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return q(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=4===n.i||5===n.i?n.o=F(n.k):n.o,s=i,o=!1;3===n.i&&(s=new Set(i),i.clear(),o=!0),D(s,(function(t,s){return U(e,n,i,t,s,r,o)})),q(e,i,!1),r&&e.u&&_("Patches").N(n,r,e.u,e.s)}return n.o}function U(e,t,r,n,i,s,o){if(g(i)){var a=V(e,i,s&&t&&3!==t.i&&!E(t.R,n)?s.concat(n):void 0);if(C(r,n,a),!g(a))return;e.m=!1}else o&&r.add(i);if(v(i)&&!N(i)){if(!e.h.D&&e._<1)return;V(e,i),t&&t.A.l||q(e,i)}}function q(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&k(t,r)}function z(e,t){var r=e[oe];return(r?T(r):e)[t]}function W(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function G(e){e.P||(e.P=!0,e.l&&G(e.l))}function H(e){e.o||(e.o=F(e.t))}function J(e,t,r){var n=A(t)?_("MapSet").F(t,r):S(t)?_("MapSet").T(t,r):e.O?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:I(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=n,s=pe;r&&(i=[n],s=he);var o=Proxy.revocable(i,s),a=o.revoke,u=o.proxy;return n.k=u,n.j=a,u}(t,r):_("ES5").J(t,r);return(r?r.A:I()).p.push(n),n}function X(e){return g(e)||y(22,e),function e(t){if(!v(t))return t;var r,n=t[oe],i=b(t);if(n){if(!n.P&&(n.i<4||!_("ES5").K(n)))return n.t;n.I=!0,r=Q(t,i),n.I=!1}else r=Q(t,i);return D(r,(function(t,i){n&&x(n.t,t)===i||C(r,t,e(i))})),3===i?new Set(r):r}(e)}function Q(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return F(e)}function K(){function e(e,t){var r=i[e];return r?r.enumerable=t:i[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[oe];return pe.get(t,e)},set:function(t){var r=this[oe];pe.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][oe];if(!i.P)switch(i.i){case 5:n(i)&&G(i);break;case 4:r(i)&&G(i)}}}function r(e){for(var t=e.t,r=e.k,n=ue(r),i=n.length-1;i>=0;i--){var s=n[i];if(s!==oe){var o=t[s];if(void 0===o&&!E(t,s))return!0;var a=r[s],u=a&&a[oe];if(u?u.t!==o:!w(a,o))return!0}}var l=!!t[oe];return n.length!==ue(t).length+(l?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n<t.length;n++)if(!t.hasOwnProperty(n))return!0;return!1}var i={};O("ES5",{J:function(t,r){var n=Array.isArray(t),i=function(t,r){if(t){for(var n=Array(r.length),i=0;i<r.length;i++)Object.defineProperty(n,""+i,e(i,!0));return n}var s=le(r);delete s[oe];for(var o=ue(s),a=0;a<o.length;a++){var u=o[a];s[u]=e(u,t||!!s[u].enumerable)}return Object.create(Object.getPrototypeOf(r),s)}(n,t),s={i:n?5:4,A:r?r.A:I(),P:!1,I:!1,R:{},l:r,t:t,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,oe,{value:s,writable:!0}),i},S:function(e,r,i){i?g(r)&&r[oe].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[oe];if(r){var i=r.t,s=r.k,o=r.R,a=r.i;if(4===a)D(s,(function(t){t!==oe&&(void 0!==i[t]||E(i,t)?o[t]||e(s[t]):(o[t]=!0,G(r)))})),D(i,(function(e){void 0!==s[e]||E(s,e)||(o[e]=!1,G(r))}));else if(5===a){if(n(r)&&(G(r),o.length=!0),s.length<i.length)for(var u=s.length;u<i.length;u++)o[u]=!1;else for(var l=i.length;l<s.length;l++)o[l]=!0;for(var c=Math.min(s.length,i.length),p=0;p<c;p++)s.hasOwnProperty(p)||(o[p]=!0),void 0===o[p]&&e(s[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}})}var Y,Z,ee="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),te="undefined"!=typeof Map,re="undefined"!=typeof Set,ne="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ie=ee?Symbol.for("immer-nothing"):((Y={})["immer-nothing"]=!0,Y),se=ee?Symbol.for("immer-draftable"):"__$immer_draftable",oe=ee?Symbol.for("immer-state"):"__$immer_state",ae=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),ue="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,le=Object.getOwnPropertyDescriptors||function(e){var t={};return ue(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},ce={},pe={get:function(e,t){if(t===oe)return e;var r=T(e);if(!E(r,t))return function(e,t,r){var n,i=W(t,r);return i?"value"in i?i.value:null===(n=i.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!v(n)?n:n===z(e.t,t)?(H(e),e.o[t]=J(e.A.h,n,e)):n},has:function(e,t){return t in T(e)},ownKeys:function(e){return Reflect.ownKeys(T(e))},set:function(e,t,r){var n=W(T(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var i=z(T(e),t),s=null==i?void 0:i[oe];if(s&&s.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(w(r,i)&&(void 0!==r||E(e.t,t)))return!0;H(e),G(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==z(e.t,t)||t in e.t?(e.R[t]=!1,H(e),G(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=T(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){y(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){y(12)}},he={};D(pe,(function(e,t){he[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),he.deleteProperty=function(e,t){return he.set.call(this,e,t,void 0)},he.set=function(e,t,r){return pe.set.call(this,e[0],t,r,e[0])};var de=function(){function e(e){var t=this;this.O=ne,this.D=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var i=r;r=e;var s=t;return function(e){var t=this;void 0===e&&(e=i);for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return s.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var o;if("function"!=typeof r&&y(6),void 0!==n&&"function"!=typeof n&&y(7),v(e)){var a=M(t),u=J(t,e,void 0),l=!0;try{o=r(u),l=!1}finally{l?j(a):L(a)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return B(a,n),$(e,a)}),(function(e){throw j(a),e})):(B(a,n),$(o,a))}if(!e||"object"!=typeof e){if(void 0===(o=r(e))&&(o=e),o===ie&&(o=void 0),t.D&&k(o,!0),n){var c=[],p=[];_("Patches").M(e,o,c,p),n(c,p)}return o}y(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(i))}))};var n,i,s=t.produce(e,r,(function(e,t){n=e,i=t}));return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(e){return[e,n,i]})):[s,n,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){v(e)||y(8),g(e)&&(e=X(e));var t=M(this),r=J(this,e,void 0);return r[oe].C=!0,L(t),r},t.finishDraft=function(e,t){var r=(e&&e[oe]).A;return B(r,t),$(void 0,r)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!ne&&y(20),this.O=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var i=_("Patches").$;return g(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),fe=new de,me=fe.produce,ye=(fe.produceWithPatches.bind(fe),fe.setAutoFreeze.bind(fe),fe.setUseProxies.bind(fe),fe.applyPatches.bind(fe),fe.createDraft.bind(fe),fe.finishDraft.bind(fe),me),ge=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ve=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},De=Object.defineProperty,be=Object.prototype.hasOwnProperty,Ee=Object.getOwnPropertySymbols,xe=Object.prototype.propertyIsEnumerable,Ce=function(e,t,r){return t in e?De(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},we=function(e,t){for(var r in t||(t={}))be.call(t,r)&&Ce(e,r,t[r]);if(Ee)for(var n=0,i=Ee(t);n<i.length;n++){r=i[n];xe.call(t,r)&&Ce(e,r,t[r])}return e},Ae="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?p:p.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Se(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}var Te=function(e){function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return ge(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,ve([void 0],e[0].concat(this)))):new(t.bind.apply(t,ve([void 0],e.concat(this))))},t}(Array);function Fe(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,r=void 0===t||t,n=(e.immutableCheck,e.serializableCheck,new Te);r&&(!function(e){return"boolean"===typeof e}(r)?n.push(m.withExtraArgument(r.extraArgument)):n.push(m));0;return n}(e)}}function ke(e){var t,r=Fe(),n=e||{},i=n.reducer,s=void 0===i?void 0:i,o=n.middleware,a=void 0===o?r():o,u=n.devTools,d=void 0===u||u,f=n.preloadedState,m=void 0===f?void 0:f,y=n.enhancers,g=void 0===y?void 0:y;if("function"===typeof s)t=s;else{if(!Se(s))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=c(s)}var v=a;"function"===typeof v&&(v=v(r));var D=h.apply(void 0,v),b=p;d&&(b=Ae(we({trace:!1},"object"===typeof d&&d)));var E=[D];return Array.isArray(g)?E=ve([D],g):"function"===typeof g&&(E=g(E)),l(t,m,b.apply(void 0,E))}function Pe(e,t){function r(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(t){var i=t.apply(void 0,r);if(!i)throw new Error("prepareAction did not return an object");return we(we({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:r[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(t){return t.type===e},r}function Ne(e){var t,r={},n=[],i={addCase:function(e,t){var n="string"===typeof e?e:e.type;if(n in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[n]=t,i},addMatcher:function(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[r,n,t]}function _e(e){var t=e.name,r=e.initialState;if(!t)throw new Error("`name` is a required option for createSlice");var n=e.reducers||{},i="function"===typeof e.extraReducers?Ne(e.extraReducers):[e.extraReducers],s=i[0],o=void 0===s?{}:s,a=i[1],u=void 0===a?[]:a,l=i[2],c=void 0===l?void 0:l,p=Object.keys(n),h={},d={},f={};p.forEach((function(e){var r,i,s=n[e],o=t+"/"+e;"reducer"in s?(r=s.reducer,i=s.prepare):r=s,h[e]=r,d[o]=r,f[e]=i?Pe(o,i):Pe(o)}));var m=function(e,t,r,n){void 0===r&&(r=[]),K();var i="function"===typeof t?Ne(t):[t,r,n],s=i[0],o=i[1],a=i[2],u=ye(e,(function(){}));return function(e,t){void 0===e&&(e=u);var r=ve([s[t.type]],o.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===r.filter((function(e){return!!e})).length&&(r=[a]),r.reduce((function(e,r){if(r){var n;if(g(e))return"undefined"===typeof(n=r(e,t))?e:n;if(v(e))return ye(e,(function(e){return r(e,t)}));if("undefined"===typeof(n=r(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return e}),e)}}(r,we(we({},o),d),u,c);return{name:t,reducer:m,actions:f,caseReducers:h}}},657:function(e,t,r){"use strict";r.d(t,{B:function(){return a}});var n=function(){return Object.create(null)},i=Array.prototype,s=i.forEach,o=i.slice,a=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=n),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return s.call(e,(function(e){return t=t.getChildTrie(e)})),t.data||(t.data=this.makeData(o.call(e)))},e.prototype.getChildTrie=function(t){var r=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=r.get(t);return n||r.set(t,n=new e(this.weakness,this.makeData)),n},e}()},9776:function(e,t,r){"use strict";const{ApolloLink:n,Observable:i}=r(476),{createSignalIfSupported:s,fallbackHttpConfig:o,parseAndCheckHttpResponse:a,rewriteURIForGET:u,selectHttpOptionsAndBody:l,selectURI:c,serializeFetchParameter:p}=r(5645),h=r(804),d=r(463),f=r(8212);e.exports=function({uri:e="/graphql",useGETForQueries:t,isExtractableFile:r=f,FormData:m,formDataAppendFile:y=d,fetch:g,fetchOptions:v,credentials:D,headers:b,includeExtensions:E}={}){const x={http:{includeExtensions:E},options:v,credentials:D,headers:b};return new n((n=>{const d=n.getContext(),{clientAwareness:{name:f,version:v}={},headers:D}=d,b={http:d.http,options:d.fetchOptions,credentials:d.credentials,headers:{...f&&{"apollographql-client-name":f},...v&&{"apollographql-client-version":v},...D}},{options:E,body:C}=l(n,o,x,b),{clone:w,files:A}=h(C,"",r);let S=c(n,e);if(A.size){delete E.headers["content-type"];const e=new(m||FormData);e.append("operations",p(w,"Payload"));const t={};let r=0;A.forEach((e=>{t[++r]=e})),e.append("map",JSON.stringify(t)),r=0,A.forEach(((t,n)=>{y(e,++r,n)})),E.body=e}else if(t&&!n.query.definitions.some((e=>"OperationDefinition"===e.kind&&"mutation"===e.operation))&&(E.method="GET"),"GET"===E.method){const{newURI:e,parseError:t}=u(S,C);if(t)return new i((e=>{e.error(t)}));S=e}else E.body=p(w,"Payload");const{controller:T}=s();T&&(E.signal&&(E.signal.aborted?T.abort():E.signal.addEventListener("abort",(()=>{T.abort()}),{once:!0})),E.signal=T.signal);const F=g||fetch;return new i((e=>{let t;return F(S,E).then((e=>(n.setContext({response:e}),e))).then(a(n)).then((t=>{e.next(t),e.complete()})).catch((r=>{t||(r.result&&r.result.errors&&r.result.data&&e.next(r.result),e.error(r))})),()=>{t=!0,T&&T.abort()}}))}))}},463:function(e){"use strict";e.exports=function(e,t,r){e.append(t,r,r.name)}},8212:function(e,t,r){"use strict";e.exports=r(1268)},9669:function(e,t,r){e.exports=r(1609)},5448:function(e,t,r){"use strict";var n=r(4867),i=r(6026),s=r(4372),o=r(5327),a=r(4097),u=r(4109),l=r(7985),c=r(7874),p=r(2648),h=r(644),d=r(205);e.exports=function(e){return new Promise((function(t,r){var f,m=e.data,y=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete y["Content-Type"];var D=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(b+":"+E)}var x=a(e.baseURL,e.url);function C(){if(D){var n="getAllResponseHeaders"in D?u(D.getAllResponseHeaders()):null,s={data:g&&"text"!==g&&"json"!==g?D.response:D.responseText,status:D.status,statusText:D.statusText,headers:n,config:e,request:D};i((function(e){t(e),v()}),(function(e){r(e),v()}),s),D=null}}if(D.open(e.method.toUpperCase(),o(x,e.params,e.paramsSerializer),!0),D.timeout=e.timeout,"onloadend"in D?D.onloadend=C:D.onreadystatechange=function(){D&&4===D.readyState&&(0!==D.status||D.responseURL&&0===D.responseURL.indexOf("file:"))&&setTimeout(C)},D.onabort=function(){D&&(r(new p("Request aborted",p.ECONNABORTED,e,D)),D=null)},D.onerror=function(){r(new p("Network Error",p.ERR_NETWORK,e,D,D)),D=null},D.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new p(t,n.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,e,D)),D=null},n.isStandardBrowserEnv()){var w=(e.withCredentials||l(x))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;w&&(y[e.xsrfHeaderName]=w)}"setRequestHeader"in D&&n.forEach(y,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete y[t]:D.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(D.withCredentials=!!e.withCredentials),g&&"json"!==g&&(D.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&D.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&D.upload&&D.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){D&&(r(!e||e&&e.type?new h:e),D.abort(),D=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null);var A=d(x);A&&-1===["http","https","file"].indexOf(A)?r(new p("Unsupported protocol "+A+":",p.ERR_BAD_REQUEST,e)):D.send(m)}))}},1609:function(e,t,r){"use strict";var n=r(4867),i=r(1849),s=r(321),o=r(7185);var a=function e(t){var r=new s(t),a=i(s.prototype.request,r);return n.extend(a,s.prototype,r),n.extend(a,r),a.create=function(r){return e(o(t,r))},a}(r(5546));a.Axios=s,a.CanceledError=r(644),a.CancelToken=r(4972),a.isCancel=r(6502),a.VERSION=r(7288).version,a.toFormData=r(7675),a.AxiosError=r(2648),a.Cancel=a.CanceledError,a.all=function(e){return Promise.all(e)},a.spread=r(8713),a.isAxiosError=r(6268),e.exports=a,e.exports.default=a},4972:function(e,t,r){"use strict";var n=r(644);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},644:function(e,t,r){"use strict";var n=r(2648);function i(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(4867).inherits(i,n,{__CANCEL__:!0}),e.exports=i},6502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:function(e,t,r){"use strict";var n=r(4867),i=r(5327),s=r(782),o=r(3572),a=r(7185),u=r(4097),l=r(4875),c=l.validators;function p(e){this.defaults=e,this.interceptors={request:new s,response:new s}}p.prototype.request=function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&l.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var s,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!i){var p=[o,void 0];for(Array.prototype.unshift.apply(p,n),p=p.concat(u),s=Promise.resolve(t);p.length;)s=s.then(p.shift(),p.shift());return s}for(var h=t;n.length;){var d=n.shift(),f=n.shift();try{h=d(h)}catch(m){f(m);break}}try{s=o(h)}catch(m){return Promise.reject(m)}for(;u.length;)s=s.then(u.shift(),u.shift());return s},p.prototype.getUri=function(e){e=a(this.defaults,e);var t=u(e.baseURL,e.url);return i(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){p.prototype[e]=function(t,r){return this.request(a(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(a(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}p.prototype[e]=t(),p.prototype[e+"Form"]=t(!0)})),e.exports=p},2648:function(e,t,r){"use strict";var n=r(4867);function i(e,t,r,n,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}n.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var s=i.prototype,o={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){o[e]={value:e}})),Object.defineProperties(i,o),Object.defineProperty(s,"isAxiosError",{value:!0}),i.from=function(e,t,r,o,a,u){var l=Object.create(s);return n.toFlatObject(e,l,(function(e){return e!==Error.prototype})),i.call(l,e.message,t,r,o,a),l.name=e.name,u&&Object.assign(l,u),l},e.exports=i},782:function(e,t,r){"use strict";var n=r(4867);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},4097:function(e,t,r){"use strict";var n=r(1793),i=r(7303);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},3572:function(e,t,r){"use strict";var n=r(4867),i=r(8527),s=r(6502),o=r(5546),a=r(644);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||o.adapter)(e).then((function(t){return u(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(u(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},7185:function(e,t,r){"use strict";var n=r(4867);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function o(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function u(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||s,i=t(e);n.isUndefined(i)&&t!==u||(r[e]=i)})),r}},6026:function(e,t,r){"use strict";var n=r(2648);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},8527:function(e,t,r){"use strict";var n=r(4867),i=r(5546);e.exports=function(e,t,r){var s=this||i;return n.forEach(r,(function(r){e=r.call(s,e,t)})),e}},5546:function(e,t,r){"use strict";var n=r(2725),i=r(4867),s=r(6016),o=r(2648),a=r(7874),u=r(7675),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var p={transitional:a,adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof n&&"[object process]"===Object.prototype.toString.call(n))&&(e=r(5448)),e}(),transformRequest:[function(e,t){if(s(t,"Accept"),s(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e))return e;if(i.isArrayBufferView(e))return e.buffer;if(i.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,n=i.isObject(e),o=t&&t["Content-Type"];if((r=i.isFileList(e))||n&&"multipart/form-data"===o){var a=this.env&&this.env.FormData;return u(r?{"files[]":e}:e,a&&new a)}return n||"application/json"===o?(c(t,"application/json"),function(e,t,r){if(i.isString(e))try{return(t||JSON.parse)(e),i.trim(e)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||p.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||n&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(a){if(s){if("SyntaxError"===a.name)throw o.from(a,o.ERR_BAD_RESPONSE,this,null,this.response);throw a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:r(1623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){p.headers[e]=i.merge(l)})),e.exports=p},7874:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:function(e){e.exports={version:"0.27.2"}},1849:function(e){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},5327:function(e,t,r){"use strict";var n=r(4867);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var s;if(r)s=r(t);else if(n.isURLSearchParams(t))s=t.toString();else{var o=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(i(t)+"="+i(e))})))})),s=o.join("&")}if(s){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,r){"use strict";var n=r(4867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,s,o){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(i)&&a.push("path="+i),n.isString(s)&&a.push("domain="+s),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:function(e,t,r){"use strict";var n=r(4867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},7985:function(e,t,r){"use strict";var n=r(4867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},6016:function(e,t,r){"use strict";var n=r(4867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},1623:function(e){e.exports=null},4109:function(e,t,r){"use strict";var n=r(4867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,s,o={};return e?(n.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=n.trim(e.substr(0,s)).toLowerCase(),r=n.trim(e.substr(s+1)),t){if(o[t]&&i.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}})),o):o}},205:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7675:function(e,t,r){"use strict";var n=r(8764).lW,i=r(4867);e.exports=function(e,t){t=t||new FormData;var r=[];function s(e){return null===e?"":i.isDate(e)?e.toISOString():i.isArrayBuffer(e)||i.isTypedArray(e)?"function"===typeof Blob?new Blob([e]):n.from(e):e}return function e(n,o){if(i.isPlainObject(n)||i.isArray(n)){if(-1!==r.indexOf(n))throw Error("Circular reference detected in "+o);r.push(n),i.forEach(n,(function(r,n){if(!i.isUndefined(r)){var a,u=o?o+"."+n:n;if(r&&!o&&"object"===typeof r)if(i.endsWith(n,"{}"))r=JSON.stringify(r);else if(i.endsWith(n,"[]")&&(a=i.toArray(r)))return void a.forEach((function(e){!i.isUndefined(e)&&t.append(u,s(e))}));e(r,u)}})),r.pop()}else t.append(o,s(n))}(e),t}},4875:function(e,t,r){"use strict";var n=r(7288).version,i=r(2648),s={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){s[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};s.transitional=function(e,t,r){function s(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new i(s(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!o[n]&&(o[n]=!0,console.warn(s(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!==typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),s=n.length;s-- >0;){var o=n[s],a=t[o];if(a){var u=e[o],l=void 0===u||a(u,o,e);if(!0!==l)throw new i("option "+o+" must be "+l,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+o,i.ERR_BAD_OPTION)}},validators:s}},4867:function(e,t,r){"use strict";var n,i=r(1849),s=Object.prototype.toString,o=(n=Object.create(null),function(e){var t=s.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function a(e){return e=e.toLowerCase(),function(t){return o(t)===e}}function u(e){return Array.isArray(e)}function l(e){return"undefined"===typeof e}var c=a("ArrayBuffer");function p(e){return null!==e&&"object"===typeof e}function h(e){if("object"!==o(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var d=a("Date"),f=a("File"),m=a("Blob"),y=a("FileList");function g(e){return"[object Function]"===s.call(e)}var v=a("URLSearchParams");function D(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),u(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var b,E=(b="undefined"!==typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return b&&e instanceof b});e.exports={isArray:u,isArrayBuffer:c,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"===typeof FormData&&e instanceof FormData||s.call(e)===t||g(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer)},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:p,isPlainObject:h,isUndefined:l,isDate:d,isFile:f,isBlob:m,isFunction:g,isStream:function(e){return p(e)&&g(e.pipe)},isURLSearchParams:v,isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:D,merge:function e(){var t={};function r(r,n){h(t[n])&&h(r)?t[n]=e(t[n],r):h(r)?t[n]=e({},r):u(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)D(arguments[n],r);return t},extend:function(e,t,r){return D(t,(function(t,n){e[n]=r&&"function"===typeof t?i(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r){var n,i,s,o={};t=t||{};do{for(i=(n=Object.getOwnPropertyNames(e)).length;i-- >0;)o[s=n[i]]||(t[s]=e[s],o[s]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:o,kindOfTest:a,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(l(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:E,isFileList:y}},9742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,s=u(e),o=s[0],a=s[1],l=new i(function(e,t,r){return 3*(t+r)/4-r}(0,o,a)),c=0,p=a>0?o-4:o;for(r=0;r<p;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t);1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],o=16383,a=0,u=n-i;a<u;a+=o)s.push(l(e,a,a+o>u?u:a+o));1===i?(t=e[n-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return s.join("")};for(var r=[],n=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=s.length;o<a;++o)r[o]=s[o],n[s.charCodeAt(o)]=o;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var i,s,o=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[(s=i)>>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:function(e,t,r){"use strict";const n=r(9742),i=r(645),s="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=u,t.h2=50;const o=2147483647;function a(e){if(e>o)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return l(e,t,r)}function l(e,t,r){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|m(e,t);let n=a(r);const i=n.write(e,t);i!==r&&(n=n.slice(0,i));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(X(e,Uint8Array)){const t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer))return d(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return d(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);const i=function(e){if(u.isBuffer(e)){const t=0|f(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!==typeof e.length||Q(e.length)?a(0):h(e);if("Buffer"===e.type&&Array.isArray(e.data))return h(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return c(e),a(e<0?0:0|f(e))}function h(e){const t=e.length<0?0:0|f(e.length),r=a(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function d(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function f(e){if(e>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(i)return n?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,r){let n=!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 P(this,t,r);case"utf8":case"utf-8":return S(this,t,r);case"ascii":return F(this,t,r);case"latin1":case"binary":return k(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Q(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:D(e,t,r,n,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):D(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function D(e,t,r,n,i){let s,o=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,a/=2,u/=2,r/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){let n=-1;for(s=r;s<a;s++)if(l(e,s)===l(t,-1===n?0:s-n)){if(-1===n&&(n=s),s-n+1===u)return n*o}else-1!==n&&(s-=s-n),n=-1}else for(r+u>a&&(r=a-u),s=r;s>=0;s--){let r=!0;for(let n=0;n<u;n++)if(l(e,s+n)!==l(t,n)){r=!1;break}if(r)return s}return-1}function b(e,t,r,n){r=Number(r)||0;const i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;const s=t.length;let o;for(n>s/2&&(n=s/2),o=0;o<n;++o){const n=parseInt(t.substr(2*o,2),16);if(Q(n))return o;e[r+o]=n}return o}function E(e,t,r,n){return J(G(t,e.length-r),e,r,n)}function x(e,t,r,n){return J(function(e){const t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function C(e,t,r,n){return J(H(t),e,r,n)}function w(e,t,r,n){return J(function(e,t){let r,n,i;const s=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,i=r%256,s.push(i),s.push(n);return s}(t,e.length-r),e,r,n)}function A(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function S(e,t,r){r=Math.min(e.length,r);const n=[];let i=t;for(;i<r;){const t=e[i];let s=null,o=t>239?4:t>223?3:t>191?2:1;if(i+o<=r){let r,n,a,u;switch(o){case 1:t<128&&(s=t);break;case 2:r=e[i+1],128===(192&r)&&(u=(31&t)<<6|63&r,u>127&&(s=u));break;case 3:r=e[i+1],n=e[i+2],128===(192&r)&&128===(192&n)&&(u=(15&t)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(s=u));break;case 4:r=e[i+1],n=e[i+2],a=e[i+3],128===(192&r)&&128===(192&n)&&128===(192&a)&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&a,u>65535&&u<1114112&&(s=u))}}null===s?(s=65533,o=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=o}return function(e){const t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=T));return r}(n)}u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return function(e,t,r){return c(e),e<=0?a(e):void 0!==t?"string"===typeof r?a(e).fill(t,r):a(e).fill(t):a(e)}(e,t,r)},u.allocUnsafe=function(e){return p(e)},u.allocUnsafeSlow=function(e){return p(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;const n=u.allocUnsafe(t);let i=0;for(r=0;r<e.length;++r){let t=e[r];if(X(t,Uint8Array))i+t.length>n.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,i)}i+=t.length}return n},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)g(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?S(this,0,e):y.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},s&&(u.prototype[s]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,i){if(X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;let s=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0);const a=Math.min(s,o),l=this.slice(n,i),c=e.slice(t,r);for(let u=0;u<a;++u)if(l[u]!==c[u]){s=l[u],o=c[u];break}return s<o?-1:o<s?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let s=!1;for(;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return E(this,e,t,r);case"ascii":case"latin1":case"binary":return x(this,e,t,r);case"base64":return C(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function F(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function k(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function P(e,t,r){const n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let s=t;s<r;++s)i+=K[e[s]];return i}function N(e,t,r){const n=e.slice(t,r);let i="";for(let s=0;s<n.length-1;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1]);return i}function _(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,r,n,i,s){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function I(e,t,r,n,i){U(t,n,i,e,r,7);let s=Number(t&BigInt(4294967295));e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,r}function B(e,t,r,n,i){U(t,n,i,e,r,7);let s=Number(t&BigInt(4294967295));e[r+7]=s,s>>=8,e[r+6]=s,s>>=8,e[r+5]=s,s>>=8,e[r+4]=s;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=o,o>>=8,e[r+2]=o,o>>=8,e[r+1]=o,o>>=8,e[r]=o,r+8}function j(e,t,r,n,i,s){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function L(e,t,r,n,s){return t=+t,r>>>=0,s||j(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function M(e,t,r,n,s){return t=+t,r>>>=0,s||j(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);const n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e],i=1,s=0;for(;++s<t&&(i*=256);)n+=this[e+s]*i;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Y((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),u.prototype.readBigUInt64BE=Y((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=this[e],i=1,s=0;for(;++s<t&&(i*=256);)n+=this[e+s]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);let n=t,i=1,s=this[e+--n];for(;n>0&&(i*=256);)s+=this[e+--n]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},u.prototype.readInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Y((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),u.prototype.readBigInt64BE=Y((function(e){q(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||z(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)})),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||_(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){O(this,e,t,r,Math.pow(2,8*r)-1,0)}let i=1,s=0;for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){O(this,e,t,r,Math.pow(2,8*r)-1,0)}let i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Y((function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Y((function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);O(this,e,t,r,n-1,-n)}let i=0,s=1,o=0;for(this[t]=255&e;++i<r&&(s*=256);)e<0&&0===o&&0!==this[t+i-1]&&(o=1),this[t+i]=(e/s>>0)-o&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);O(this,e,t,r,n-1,-n)}let i=r-1,s=1,o=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/s>>0)-o&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Y((function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Y((function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,r){return L(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return L(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);const i=n-r;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){const t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;let i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(i=t;i<r;++i)this[i]=e;else{const s=u.isBuffer(e)?e:u.from(e,n),o=s.length;if(0===o)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=s[i%o]}return this};const R={};function $(e,t,r){R[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function V(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function U(e,t,r,n,i,s){if(e>r||e<t){const n="bigint"===typeof t?"n":"";let i;throw i=s>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(s+1)}${n}`:`>= -(2${n} ** ${8*(s+1)-1}${n}) and < 2 ** ${8*(s+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new R.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||z(t,e.length-(r+1))}(n,i,s)}function q(e,t){if("number"!==typeof e)throw new R.ERR_INVALID_ARG_TYPE(t,"number",e)}function z(e,t,r){if(Math.floor(e)!==e)throw q(e,r),new R.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new R.ERR_BUFFER_OUT_OF_BOUNDS;throw new R.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}$("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),$("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),$("ERR_OUT_OF_RANGE",(function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=V(String(r)):"bigint"===typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=V(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function G(e,t){let r;t=t||1/0;const n=e.length;let i=null;const s=[];for(let o=0;o<n;++o){if(r=e.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=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 H(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function J(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function X(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!==e}const K=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function Y(e){return"undefined"===typeof BigInt?Z:e}function Z(){throw new Error("BigInt not supported")}},4981:function(e,t,r){e=r.nmd(e);var n=r(8764).lW;(e=>{var t,r=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&p(e,r,t[r]);if(u)for(var r of u(t))c.call(t,r)&&p(e,r,t[r]);return e},d=(e,t)=>i(e,o(t)),f=(e,t,r)=>new Promise(((n,i)=>{var s=e=>{try{a(r.next(e))}catch(t){i(t)}},o=e=>{try{a(r.throw(e))}catch(t){i(t)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(s,o);a((r=r.apply(e,t)).next())})),m={};function y(e){let t=e=>{if(null===e)r.write8(0);else if("boolean"===typeof e)r.write8(1),r.write8(+e);else if("number"===typeof e)r.write8(2),r.write32(0|e);else if("string"===typeof e)r.write8(3),r.write(g(e));else if(e instanceof Uint8Array)r.write8(4),r.write(e);else if(e instanceof Array){r.write8(5),r.write32(e.length);for(let r of e)t(r)}else{let n=Object.keys(e);r.write8(6),r.write32(n.length);for(let i of n)r.write(g(i)),t(e[i])}},r=new D;return r.write32(0),r.write32(e.id<<1|+!e.isRequest),t(e.value),E(r.buf,r.len-4,0),r.buf.subarray(0,r.len)}((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(m,{analyzeMetafile:()=>ue,analyzeMetafileSync:()=>he,build:()=>ie,buildSync:()=>le,default:()=>ye,formatMessages:()=>ae,formatMessagesSync:()=>pe,initialize:()=>fe,serve:()=>se,transform:()=>oe,transformSync:()=>ce,version:()=>ne}),e.exports=(t=m,((e,t,n,i)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let o of a(t))l.call(e,o)||o===n||r(e,o,{get:()=>t[o],enumerable:!(i=s(t,o))||i.enumerable});return e})(r({},"__esModule",{value:!0}),t));var g,v,D=class{constructor(e=new Uint8Array(1024)){this.buf=e,this.len=0,this.ptr=0}_write(e){if(this.len+e>this.buf.length){let t=new Uint8Array(2*(this.len+e));t.set(this.buf),this.buf=t}return this.len+=e,this.len-e}write8(e){let t=this._write(1);this.buf[t]=e}write32(e){let t=this._write(4);E(this.buf,e,t)}write(e){let t=this._write(4+e.length);E(this.buf,e.length,t),this.buf.set(e,t+4)}_read(e){if(this.ptr+e>this.buf.length)throw new Error("Invalid packet");return this.ptr+=e,this.ptr-e}read8(){return this.buf[this._read(1)]}read32(){return b(this.buf,this._read(4))}read(){let e=this.read32(),t=new Uint8Array(e),r=this._read(t.length);return t.set(this.buf.subarray(r,r+e)),t}};if("undefined"!==typeof TextEncoder&&"undefined"!==typeof TextDecoder){let e=new TextEncoder,t=new TextDecoder;g=t=>e.encode(t),v=e=>t.decode(e)}else{if("undefined"===typeof n)throw new Error("No UTF-8 codec found");g=e=>{let t=n.from(e);return t instanceof Uint8Array||(t=new Uint8Array(t)),t},v=e=>{let{buffer:t,byteOffset:r,byteLength:i}=e;return n.from(t,r,i).toString()}}function b(e,t){return e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24}function E(e,t,r){e[r++]=t,e[r++]=t>>8,e[r++]=t>>16,e[r++]=t>>24}function x(e){if((e+="").indexOf(",")>=0)throw new Error(`Invalid target: ${e}`);return e}var C=()=>null,w=e=>"boolean"===typeof e?null:"a boolean",A=e=>"boolean"===typeof e||"object"===typeof e&&!Array.isArray(e)?null:"a boolean or an object",S=e=>"string"===typeof e?null:"a string",T=e=>e instanceof RegExp?null:"a RegExp object",F=e=>"number"===typeof e&&e===(0|e)?null:"an integer",k=e=>"function"===typeof e?null:"a function",P=e=>Array.isArray(e)?null:"an array",N=e=>"object"!==typeof e||null===e||Array.isArray(e)?"an object":null,_=e=>e instanceof WebAssembly.Module?null:"a WebAssembly.Module",O=e=>"object"===typeof e&&null!==e?null:"an array or an object",I=e=>"object"!==typeof e||Array.isArray(e)?"an object or null":null,B=e=>"string"===typeof e||"boolean"===typeof e?null:"a string or a boolean",j=e=>"string"===typeof e||"object"===typeof e&&null!==e&&!Array.isArray(e)?null:"a string or an object",L=e=>"string"===typeof e||Array.isArray(e)?null:"a string or an array",M=e=>"string"===typeof e||e instanceof Uint8Array?null:"a string or a Uint8Array";function R(e,t,r,n){let i=e[r];if(t[r+""]=!0,void 0===i)return;let s=n(i);if(null!==s)throw new Error(`"${r}" must be ${s}`);return i}function $(e,t,r){for(let n in e)if(!(n in t))throw new Error(`Invalid option ${r}: "${n}"`)}function V(e){let t;if(void 0!==e){t=Object.create(null);for(let r of Object.keys(e)){let n=e[r];if("string"!==typeof n&&!1!==n)throw new Error(`Expected ${JSON.stringify(r)} in mangle cache to map to either a string or false`);t[r]=n}}return t}function U(e,t,r,n,i){let s=R(t,r,"color",w),o=R(t,r,"logLevel",S),a=R(t,r,"logLimit",F);void 0!==s?e.push(`--color=${s}`):n&&e.push("--color=true"),e.push(`--log-level=${o||i}`),e.push(`--log-limit=${a||0}`)}function q(e,t,r){let n=R(t,r,"legalComments",S),i=R(t,r,"sourceRoot",S),s=R(t,r,"sourcesContent",w),o=R(t,r,"target",L),a=R(t,r,"format",S),u=R(t,r,"globalName",S),l=R(t,r,"mangleProps",T),c=R(t,r,"reserveProps",T),p=R(t,r,"mangleQuoted",w),h=R(t,r,"minify",w),d=R(t,r,"minifySyntax",w),f=R(t,r,"minifyWhitespace",w),m=R(t,r,"minifyIdentifiers",w),y=R(t,r,"drop",P),g=R(t,r,"charset",S),v=R(t,r,"treeShaking",w),D=R(t,r,"ignoreAnnotations",w),b=R(t,r,"jsx",S),E=R(t,r,"jsxFactory",S),C=R(t,r,"jsxFragment",S),A=R(t,r,"define",N),F=R(t,r,"logOverride",N),k=R(t,r,"pure",P),_=R(t,r,"keepNames",w);if(n&&e.push(`--legal-comments=${n}`),void 0!==i&&e.push(`--source-root=${i}`),void 0!==s&&e.push(`--sources-content=${s}`),o&&(Array.isArray(o)?e.push(`--target=${Array.from(o).map(x).join(",")}`):e.push(`--target=${x(o)}`)),a&&e.push(`--format=${a}`),u&&e.push(`--global-name=${u}`),h&&e.push("--minify"),d&&e.push("--minify-syntax"),f&&e.push("--minify-whitespace"),m&&e.push("--minify-identifiers"),g&&e.push(`--charset=${g}`),void 0!==v&&e.push(`--tree-shaking=${v}`),D&&e.push("--ignore-annotations"),y)for(let x of y)e.push(`--drop:${x}`);if(l&&e.push(`--mangle-props=${l.source}`),c&&e.push(`--reserve-props=${c.source}`),void 0!==p&&e.push(`--mangle-quoted=${p}`),b&&e.push(`--jsx=${b}`),E&&e.push(`--jsx-factory=${E}`),C&&e.push(`--jsx-fragment=${C}`),A)for(let x in A){if(x.indexOf("=")>=0)throw new Error(`Invalid define: ${x}`);e.push(`--define:${x}=${A[x]}`)}if(F)for(let x in F){if(x.indexOf("=")>=0)throw new Error(`Invalid log override: ${x}`);e.push(`--log-override:${x}=${F[x]}`)}if(k)for(let x of k)e.push(`--pure:${x}`);_&&e.push("--keep-names")}function z(e){let t=new Map,r=new Map,n=new Map,i=new Map,s=null,o=0,a=0,u=new Uint8Array(16384),l=0,c=(r,n,i)=>{if(s)return i("The service is no longer running"+s.reason,null);let a=o++;t.set(a,((e,t)=>{try{i(e,t)}finally{r&&r.unref()}})),r&&r.ref(),e.writeToStdin(y({id:a,isRequest:!0,value:n}))},p=(t,r)=>{if(s)throw new Error("The service is no longer running"+s.reason);e.writeToStdin(y({id:t,isRequest:!1,value:r}))},m=(t,s)=>f(this,null,(function*(){try{switch(s.command){case"ping":p(t,{});break;case"on-start":{let e=r.get(s.key);p(t,e?yield e(s):{});break}case"on-resolve":{let e=r.get(s.key);p(t,e?yield e(s):{});break}case"on-load":{let e=r.get(s.key);p(t,e?yield e(s):{});break}case"serve-request":{let e=i.get(s.key);e&&e.onRequest&&e.onRequest(s.args),p(t,{});break}case"serve-wait":{let e=i.get(s.key);e&&e.onWait(s.error),p(t,{});break}case"watch-rebuild":{let e=n.get(s.key);try{e&&e(null,s.args)}catch(o){console.error(o)}p(t,{});break}default:throw new Error("Invalid command: "+s.command)}}catch(a){p(t,{errors:[H(a,e,null,void 0,"")]})}})),E=!0,x=e=>{if(E){E=!1;let t=String.fromCharCode(...e);if("0.14.42"!==t)throw new Error(`Cannot start service: Host version "0.14.42" does not match binary version ${JSON.stringify(t)}`);return}let r=function(e){let t=()=>{switch(r.read8()){case 0:return null;case 1:return!!r.read8();case 2:return r.read32();case 3:return v(r.read());case 4:return r.read();case 5:{let e=r.read32(),n=[];for(let r=0;r<e;r++)n.push(t());return n}case 6:{let e=r.read32(),n={};for(let i=0;i<e;i++)n[v(r.read())]=t();return n}default:throw new Error("Invalid packet")}},r=new D(e),n=r.read32(),i=0===(1&n);n>>>=1;let s=t();if(r.ptr!==e.length)throw new Error("Invalid packet");return{id:n,isRequest:i,value:s}}(e);if(r.isRequest)m(r.id,r.value);else{let e=t.get(r.id);t.delete(r.id),r.value.error?e(r.value.error,{}):e(null,r.value)}},_=(t,n,i,s,o)=>f(this,null,(function*(){let a=[],u=[],l={},p={},h=0,d=0,m=[],y=!1;n=[...n];for(let r of n){let n={};if("object"!==typeof r)throw new Error(`Plugin at index ${d} must be an object`);const f=R(r,n,"name",S);if("string"!==typeof f||""===f)throw new Error(`Plugin at index ${d} is missing a name`);try{let g=R(r,n,"setup",k);if("function"!==typeof g)throw new Error("Plugin is missing a setup function");$(r,n,`on plugin ${JSON.stringify(f)}`);let v={name:f,onResolve:[],onLoad:[]};d++;let D=g({initialOptions:t,resolve:(e,t={})=>{if(!y)throw new Error('Cannot call "resolve" before plugin setup has completed');if("string"!==typeof e)throw new Error("The path to resolve must be a string");let r=Object.create(null),n=R(t,r,"pluginName",S),a=R(t,r,"importer",S),u=R(t,r,"namespace",S),l=R(t,r,"resolveDir",S),p=R(t,r,"kind",S),h=R(t,r,"pluginData",C);return $(t,r,"in resolve() call"),new Promise(((t,r)=>{const d={command:"resolve",path:e,key:i,pluginName:f};null!=n&&(d.pluginName=n),null!=a&&(d.importer=a),null!=u&&(d.namespace=u),null!=l&&(d.resolveDir=l),null!=p&&(d.kind=p),null!=h&&(d.pluginData=s.store(h)),c(o,d,((e,n)=>{null!==e?r(new Error(e)):t({errors:Q(n.errors,s),warnings:Q(n.warnings,s),path:n.path,external:n.external,sideEffects:n.sideEffects,namespace:n.namespace,suffix:n.suffix,pluginData:s.load(n.pluginData)})}))}))},onStart(t){let r=G(new Error('This error came from the "onStart" callback registered here:'),e,"onStart");a.push({name:f,callback:t,note:r})},onEnd(t){let r=G(new Error('This error came from the "onEnd" callback registered here:'),e,"onEnd");u.push({name:f,callback:t,note:r})},onResolve(t,r){let n=G(new Error('This error came from the "onResolve" callback registered here:'),e,"onResolve"),i={},s=R(t,i,"filter",T),o=R(t,i,"namespace",S);if($(t,i,`in onResolve() call for plugin ${JSON.stringify(f)}`),null==s)throw new Error("onResolve() call is missing a filter");let a=h++;l[a]={name:f,callback:r,note:n},v.onResolve.push({id:a,filter:s.source,namespace:o||""})},onLoad(t,r){let n=G(new Error('This error came from the "onLoad" callback registered here:'),e,"onLoad"),i={},s=R(t,i,"filter",T),o=R(t,i,"namespace",S);if($(t,i,`in onLoad() call for plugin ${JSON.stringify(f)}`),null==s)throw new Error("onLoad() call is missing a filter");let a=h++;p[a]={name:f,callback:r,note:n},v.onLoad.push({id:a,filter:s.source,namespace:o||""})},esbuild:e.esbuild});D&&(yield D),m.push(v)}catch(E){return{ok:!1,error:E,pluginName:f}}}const v=t=>f(this,null,(function*(){switch(t.command){case"on-start":{let t={errors:[],warnings:[]};return yield Promise.all(a.map((r=>f(this,[r],(function*({name:r,callback:n,note:i}){try{let e=yield n();if(null!=e){if("object"!==typeof e)throw new Error(`Expected onStart() callback in plugin ${JSON.stringify(r)} to return an object`);let n={},i=R(e,n,"errors",P),o=R(e,n,"warnings",P);$(e,n,`from onStart() callback in plugin ${JSON.stringify(r)}`),null!=i&&t.errors.push(...Y(i,"errors",s,r)),null!=o&&t.warnings.push(...Y(o,"warnings",s,r))}}catch(E){t.errors.push(H(E,e,s,i&&i(),r))}}))))),t}case"on-resolve":{let r,n,i={},o="";for(let a of t.ids)try{({name:o,callback:r,note:n}=l[a]);let e=yield r({path:t.path,importer:t.importer,namespace:t.namespace,resolveDir:t.resolveDir,kind:t.kind,pluginData:s.load(t.pluginData)});if(null!=e){if("object"!==typeof e)throw new Error(`Expected onResolve() callback in plugin ${JSON.stringify(o)} to return an object`);let t={},r=R(e,t,"pluginName",S),n=R(e,t,"path",S),u=R(e,t,"namespace",S),l=R(e,t,"suffix",S),c=R(e,t,"external",w),p=R(e,t,"sideEffects",w),h=R(e,t,"pluginData",C),d=R(e,t,"errors",P),f=R(e,t,"warnings",P),m=R(e,t,"watchFiles",P),y=R(e,t,"watchDirs",P);$(e,t,`from onResolve() callback in plugin ${JSON.stringify(o)}`),i.id=a,null!=r&&(i.pluginName=r),null!=n&&(i.path=n),null!=u&&(i.namespace=u),null!=l&&(i.suffix=l),null!=c&&(i.external=c),null!=p&&(i.sideEffects=p),null!=h&&(i.pluginData=s.store(h)),null!=d&&(i.errors=Y(d,"errors",s,o)),null!=f&&(i.warnings=Y(f,"warnings",s,o)),null!=m&&(i.watchFiles=Z(m,"watchFiles")),null!=y&&(i.watchDirs=Z(y,"watchDirs"));break}}catch(E){return{id:a,errors:[H(E,e,s,n&&n(),o)]}}return i}case"on-load":{let r,n,i={},o="";for(let a of t.ids)try{({name:o,callback:r,note:n}=p[a]);let e=yield r({path:t.path,namespace:t.namespace,suffix:t.suffix,pluginData:s.load(t.pluginData)});if(null!=e){if("object"!==typeof e)throw new Error(`Expected onLoad() callback in plugin ${JSON.stringify(o)} to return an object`);let t={},r=R(e,t,"pluginName",S),n=R(e,t,"contents",M),u=R(e,t,"resolveDir",S),l=R(e,t,"pluginData",C),c=R(e,t,"loader",S),p=R(e,t,"errors",P),h=R(e,t,"warnings",P),d=R(e,t,"watchFiles",P),f=R(e,t,"watchDirs",P);$(e,t,`from onLoad() callback in plugin ${JSON.stringify(o)}`),i.id=a,null!=r&&(i.pluginName=r),n instanceof Uint8Array?i.contents=n:null!=n&&(i.contents=g(n)),null!=u&&(i.resolveDir=u),null!=l&&(i.pluginData=s.store(l)),null!=c&&(i.loader=c),null!=p&&(i.errors=Y(p,"errors",s,o)),null!=h&&(i.warnings=Y(h,"warnings",s,o)),null!=d&&(i.watchFiles=Z(d,"watchFiles")),null!=f&&(i.watchDirs=Z(f,"watchDirs"));break}}catch(E){return{id:a,errors:[H(E,e,s,n&&n(),o)]}}return i}default:throw new Error("Invalid command: "+t.command)}}));let D=(e,t,r)=>r();u.length>0&&(D=(e,t,r)=>{(()=>f(this,null,(function*(){for(const{name:r,callback:n,note:i}of u)try{yield n(e)}catch(E){e.errors.push(yield new Promise((e=>t(E,r,i&&i(),e))))}})))().then(r)}),y=!0;let b=0;return{ok:!0,requestPlugins:m,runOnEndCallbacks:D,pluginRefs:{ref(){1===++b&&r.set(i,v)},unref(){0===--b&&r.delete(i)}}}}));const I="warning",L="silent";let z=({callName:t,refs:r,serveOptions:o,options:a,isTTY:u,defaultWD:l,callback:p,key:h,details:d,logPluginError:f,requestPlugins:m,runOnEndCallbacks:y,pluginRefs:g})=>{const D={ref(){g&&g.ref(),r&&r.ref()},unref(){g&&g.unref(),r&&r.unref()}};let b=!e.isBrowser,{entries:E,flags:x,write:C,stdinContents:T,stdinResolveDir:_,absWorkingDir:j,incremental:L,nodePaths:M,watch:z,mangleCache:W}=function(e,t,r,n,i){var s;let o=[],a=[],u=Object.create(null),l=null,c=null,p=null;U(o,t,u,r,n),q(o,t,u);let h=R(t,u,"sourcemap",B),d=R(t,u,"bundle",w),f=R(t,u,"watch",A),m=R(t,u,"splitting",w),y=R(t,u,"preserveSymlinks",w),g=R(t,u,"metafile",w),v=R(t,u,"outfile",S),D=R(t,u,"outdir",S),b=R(t,u,"outbase",S),E=R(t,u,"platform",S),x=R(t,u,"tsconfig",S),C=R(t,u,"resolveExtensions",P),T=R(t,u,"nodePaths",P),F=R(t,u,"mainFields",P),_=R(t,u,"conditions",P),I=R(t,u,"external",P),j=R(t,u,"loader",N),L=R(t,u,"outExtension",N),M=R(t,u,"publicPath",S),z=R(t,u,"entryNames",S),W=R(t,u,"chunkNames",S),G=R(t,u,"assetNames",S),H=R(t,u,"inject",P),J=R(t,u,"banner",N),X=R(t,u,"footer",N),Q=R(t,u,"entryPoints",O),K=R(t,u,"absWorkingDir",S),Y=R(t,u,"stdin",N),Z=null!=(s=R(t,u,"write",w))?s:i,ee=R(t,u,"allowOverwrite",w),te=!0===R(t,u,"incremental",w),re=R(t,u,"mangleCache",N);if(u.plugins=!0,$(t,u,`in ${e}() call`),h&&o.push("--sourcemap"+(!0===h?"":`=${h}`)),d&&o.push("--bundle"),ee&&o.push("--allow-overwrite"),f)if(o.push("--watch"),"boolean"===typeof f)p={};else{let t=Object.create(null),r=R(f,t,"onRebuild",k);$(f,t,`on "watch" in ${e}() call`),p={onRebuild:r}}if(m&&o.push("--splitting"),y&&o.push("--preserve-symlinks"),g&&o.push("--metafile"),v&&o.push(`--outfile=${v}`),D&&o.push(`--outdir=${D}`),b&&o.push(`--outbase=${b}`),E&&o.push(`--platform=${E}`),x&&o.push(`--tsconfig=${x}`),C){let e=[];for(let t of C){if(t+="",t.indexOf(",")>=0)throw new Error(`Invalid resolve extension: ${t}`);e.push(t)}o.push(`--resolve-extensions=${e.join(",")}`)}if(M&&o.push(`--public-path=${M}`),z&&o.push(`--entry-names=${z}`),W&&o.push(`--chunk-names=${W}`),G&&o.push(`--asset-names=${G}`),F){let e=[];for(let t of F){if(t+="",t.indexOf(",")>=0)throw new Error(`Invalid main field: ${t}`);e.push(t)}o.push(`--main-fields=${e.join(",")}`)}if(_){let e=[];for(let t of _){if(t+="",t.indexOf(",")>=0)throw new Error(`Invalid condition: ${t}`);e.push(t)}o.push(`--conditions=${e.join(",")}`)}if(I)for(let w of I)o.push(`--external:${w}`);if(J)for(let w in J){if(w.indexOf("=")>=0)throw new Error(`Invalid banner file type: ${w}`);o.push(`--banner:${w}=${J[w]}`)}if(X)for(let w in X){if(w.indexOf("=")>=0)throw new Error(`Invalid footer file type: ${w}`);o.push(`--footer:${w}=${X[w]}`)}if(H)for(let w of H)o.push(`--inject:${w}`);if(j)for(let w in j){if(w.indexOf("=")>=0)throw new Error(`Invalid loader extension: ${w}`);o.push(`--loader:${w}=${j[w]}`)}if(L)for(let w in L){if(w.indexOf("=")>=0)throw new Error(`Invalid out extension: ${w}`);o.push(`--out-extension:${w}=${L[w]}`)}if(Q)if(Array.isArray(Q))for(let w of Q)a.push(["",w+""]);else for(let[w,A]of Object.entries(Q))a.push([w+"",A+""]);if(Y){let e=Object.create(null),t=R(Y,e,"contents",S),r=R(Y,e,"resolveDir",S),n=R(Y,e,"sourcefile",S),i=R(Y,e,"loader",S);$(Y,e,'in "stdin" object'),n&&o.push(`--sourcefile=${n}`),i&&o.push(`--loader=${i}`),r&&(c=r+""),l=t?t+"":""}let ne=[];if(T)for(let w of T)w+="",ne.push(w);return{entries:a,flags:o,write:Z,stdinContents:l,stdinResolveDir:c,absWorkingDir:K,incremental:te,nodePaths:ne,watch:p,mangleCache:V(re)}}(t,a,u,I,b),G={command:"build",key:h,entries:E,flags:x,write:C,stdinContents:T,stdinResolveDir:_,absWorkingDir:j||l,incremental:L,nodePaths:M};m&&(G.plugins=m),W&&(G.mangleCache=W);let H,J,K=o&&((e,t,r,n)=>{let s,o={},a=R(t,o,"port",F),u=R(t,o,"host",S),l=R(t,o,"servedir",S),p=R(t,o,"onRequest",k),h=new Promise(((e,t)=>{s=r=>{i.delete(n),null!==r?t(new Error(r)):e()}}));return r.serve={},$(t,o,"in serve() call"),void 0!==a&&(r.serve.port=a),void 0!==u&&(r.serve.host=u),void 0!==l&&(r.serve.servedir=l),i.set(n,{onRequest:p,onWait:s}),{wait:h,stop(){c(e,{command:"serve-stop",key:n},(()=>{}))}}})(D,o,G,h),Y=(e,t)=>{e.outputFiles&&(t.outputFiles=e.outputFiles.map(ee)),e.metafile&&(t.metafile=JSON.parse(e.metafile)),e.mangleCache&&(t.mangleCache=e.mangleCache),void 0!==e.writeToStdout&&console.log(v(e.writeToStdout).replace(/\n$/,""))},Z=(e,t)=>{let r={errors:Q(e.errors,d),warnings:Q(e.warnings,d)};Y(e,r),y(r,f,(()=>{if(r.errors.length>0)return t(X("Build failed",r.errors,r.warnings),null);if(e.rebuild){if(!H){let e=!1;H=()=>new Promise(((r,n)=>{if(e||s)throw new Error("Cannot rebuild");c(D,{command:"rebuild",key:h},((e,i)=>{if(e){return t(X("Build failed",[{pluginName:"",text:e,location:null,notes:[],detail:void 0}],[]),null)}Z(i,((e,t)=>{e?n(e):r(t)}))}))})),D.ref(),H.dispose=()=>{e||(e=!0,c(D,{command:"rebuild-dispose",key:h},(()=>{})),D.unref())}}r.rebuild=H}if(e.watch){if(!J){let e=!1;D.ref(),J=()=>{e||(e=!0,n.delete(h),c(D,{command:"watch-stop",key:h},(()=>{})),D.unref())},z&&n.set(h,((e,t)=>{if(e)return void(z.onRebuild&&z.onRebuild(e,null));let r={errors:Q(t.errors,d),warnings:Q(t.warnings,d)};Y(t,r),y(r,f,(()=>{r.errors.length>0?z.onRebuild&&z.onRebuild(X("Build failed",r.errors,r.warnings),null):(void 0!==t.rebuildID&&(r.rebuild=H),r.stop=J,z.onRebuild&&z.onRebuild(null,r))}))}))}r.stop=J}t(null,r)}))};if(C&&e.isBrowser)throw new Error('Cannot enable "write" in the browser');if(L&&e.isSync)throw new Error('Cannot use "incremental" with a synchronous build');if(z&&e.isSync)throw new Error('Cannot use "watch" with a synchronous build');c(D,G,((e,t)=>{if(e)return p(new Error(e),null);if(K){let e=t,r=!1;D.ref();let n={port:e.port,host:e.host,wait:K.wait,stop(){r||(r=!0,K.stop(),D.unref())}};return D.ref(),K.wait.then(D.unref,D.unref),p(null,n)}return Z(t,p)}))};return{readFromStdout:e=>{let t=l+e.length;if(t>u.length){let e=new Uint8Array(2*t);e.set(u),u=e}u.set(e,l),l+=e.length;let r=0;for(;r+4<=l;){let e=b(u,r);if(r+4+e>l)break;r+=4,x(u.subarray(r,r+e)),r+=e}r>0&&(u.copyWithin(0,r,l),l-=r)},afterClose:e=>{s={reason:e?": "+(e.message||e):""};const r="The service was stopped"+s.reason;for(let n of t.values())n(r,null);t.clear();for(let t of i.values())t.onWait(r);i.clear();for(let t of n.values())try{t(new Error(r),null)}catch(o){console.error(o)}n.clear()},service:{buildOrServe:t=>{let r=a++;const n=W();let i,{refs:s,options:o,isTTY:u,callback:l}=t;if("object"===typeof o){let e=o.plugins;if(void 0!==e){if(!Array.isArray(e))throw new Error('"plugins" must be an array');i=e}}let p=(t,r,i,a)=>{let l=[];try{U(l,o,{},u,I)}catch(h){}const p=H(t,e,n,i,r);c(s,{command:"error",flags:l,error:p},(()=>{p.detail=n.load(p.detail),a(p)}))},f=(e,t)=>{p(e,t,void 0,(e=>{l(X("Build failed",[e],[]),null)}))};if(i&&i.length>0){if(e.isSync)return f(new Error("Cannot use plugins in synchronous API calls"),"");_(o,i,r,n,s).then((e=>{if(e.ok)try{z(d(h({},t),{key:r,details:n,logPluginError:p,requestPlugins:e.requestPlugins,runOnEndCallbacks:e.runOnEndCallbacks,pluginRefs:e.pluginRefs}))}catch(i){f(i,"")}else f(e.error,e.pluginName)}),(e=>f(e,"")))}else try{z(d(h({},t),{key:r,details:n,logPluginError:p,requestPlugins:null,runOnEndCallbacks:(e,t,r)=>r(),pluginRefs:null}))}catch(m){f(m,"")}},transform:({callName:t,refs:r,input:n,options:i,isTTY:s,fs:o,callback:a})=>{const u=W();let l=l=>{try{if("string"!==typeof n)throw new Error('The input to "transform" must be a string');let{flags:e,mangleCache:p}=function(e,t,r,n){let i=[],s=Object.create(null);U(i,t,s,r,n),q(i,t,s);let o=R(t,s,"sourcemap",B),a=R(t,s,"tsconfigRaw",j),u=R(t,s,"sourcefile",S),l=R(t,s,"loader",S),c=R(t,s,"banner",S),p=R(t,s,"footer",S),h=R(t,s,"mangleCache",N);return $(t,s,`in ${e}() call`),o&&i.push(`--sourcemap=${!0===o?"external":o}`),a&&i.push(`--tsconfig-raw=${"string"===typeof a?a:JSON.stringify(a)}`),u&&i.push(`--sourcefile=${u}`),l&&i.push(`--loader=${l}`),c&&i.push(`--banner=${c}`),p&&i.push(`--footer=${p}`),{flags:i,mangleCache:V(h)}}(t,i,s,L),h={command:"transform",flags:e,inputFS:null!==l,input:null!==l?l:n};p&&(h.mangleCache=p),c(r,h,((e,t)=>{if(e)return a(new Error(e),null);let r=Q(t.errors,u),n=Q(t.warnings,u),i=1,s=()=>{if(0===--i){let e={warnings:n,code:t.code,map:t.map};t.mangleCache&&(e.mangleCache=null==t?void 0:t.mangleCache),a(null,e)}};if(r.length>0)return a(X("Transform failed",r,n),null);t.codeFS&&(i++,o.readFile(t.code,((e,r)=>{null!==e?a(e,null):(t.code=r,s())}))),t.mapFS&&(i++,o.readFile(t.map,((e,r)=>{null!==e?a(e,null):(t.map=r,s())}))),s()}))}catch(p){let t=[];try{U(t,i,{},s,L)}catch(h){}const n=H(p,e,u,void 0,"");c(r,{command:"error",flags:t,error:n},(()=>{n.detail=u.load(n.detail),a(X("Transform failed",[n],[]),null)}))}};if("string"===typeof n&&n.length>1048576){let e=l;l=()=>o.writeFile(n,e)}l(null)},formatMessages:({callName:e,refs:t,messages:r,options:n,callback:i})=>{let s=Y(r,"messages",null,"");if(!n)throw new Error(`Missing second argument in ${e}() call`);let o={},a=R(n,o,"kind",S),u=R(n,o,"color",w),l=R(n,o,"terminalWidth",F);if($(n,o,`in ${e}() call`),void 0===a)throw new Error(`Missing "kind" in ${e}() call`);if("error"!==a&&"warning"!==a)throw new Error(`Expected "kind" to be "error" or "warning" in ${e}() call`);let p={command:"format-msgs",messages:s,isWarning:"warning"===a};void 0!==u&&(p.color=u),void 0!==l&&(p.terminalWidth=l),c(t,p,((e,t)=>{if(e)return i(new Error(e),null);i(null,t.messages)}))},analyzeMetafile:({callName:e,refs:t,metafile:r,options:n,callback:i})=>{void 0===n&&(n={});let s={},o=R(n,s,"color",w),a=R(n,s,"verbose",w);$(n,s,`in ${e}() call`);let u={command:"analyze-metafile",metafile:r};void 0!==o&&(u.color=o),void 0!==a&&(u.verbose=a),c(t,u,((e,t)=>{if(e)return i(new Error(e),null);i(null,t.result)}))}}}}function W(){const e=new Map;let t=0;return{load:t=>e.get(t),store(r){if(void 0===r)return-1;const n=t++;return e.set(n,r),n}}}function G(e,t,r){let n,i=!1;return()=>{if(i)return n;i=!0;try{let i=(e.stack+"").split("\n");i.splice(1,1);let s=J(t,i,r);if(s)return n={text:e.message,location:s},n}catch(s){}}}function H(e,t,r,n,i){let s="Internal error",o=null;try{s=(e&&e.message||e)+""}catch(a){}try{o=J(t,(e.stack+"").split("\n"),"")}catch(a){}return{pluginName:i,text:s,location:o,notes:n?[n]:[],detail:r?r.store(e):-1}}function J(e,t,r){let n=" at ";if(e.readFileSync&&!t[0].startsWith(n)&&t[1].startsWith(n))for(let s=1;s<t.length;s++){let o=t[s];if(o.startsWith(n))for(o=o.slice(n.length);;){let n=/^(?:new |async )?\S+ \((.*)\)$/.exec(o);if(n)o=n[1];else{if(n=/^eval at \S+ \((.*)\)(?:, \S+:\d+:\d+)?$/.exec(o),!n){if(n=/^(\S+):(\d+):(\d+)$/.exec(o),n){let s;try{s=e.readFileSync(n[1],"utf8")}catch(i){break}let o=s.split(/\r\n|\r|\n|\u2028|\u2029/)[+n[2]-1]||"",a=+n[3]-1,u=o.slice(a,a+r.length)===r?r.length:0;return{file:n[1],namespace:"file",line:+n[2],column:g(o.slice(0,a)).length,length:g(o.slice(a,a+u)).length,lineText:o+"\n"+t.slice(1).join("\n"),suggestion:""}}break}o=n[1]}}}return null}function X(e,t,r){let n=t.length<1?"":` with ${t.length} error${t.length<2?"":"s"}:`+t.slice(0,6).map(((e,t)=>{if(5===t)return"\n...";if(!e.location)return`\nerror: ${e.text}`;let{file:r,line:n,column:i}=e.location;return`\n${r}:${n}:${i}: ERROR: ${e.pluginName?`[plugin: ${e.pluginName}] `:""}${e.text}`})).join(""),i=new Error(`${e}${n}`);return i.errors=t,i.warnings=r,i}function Q(e,t){for(const r of e)r.detail=t.load(r.detail);return e}function K(e,t){if(null==e)return null;let r={},n=R(e,r,"file",S),i=R(e,r,"namespace",S),s=R(e,r,"line",F),o=R(e,r,"column",F),a=R(e,r,"length",F),u=R(e,r,"lineText",S),l=R(e,r,"suggestion",S);return $(e,r,t),{file:n||"",namespace:i||"",line:s||0,column:o||0,length:a||0,lineText:u||"",suggestion:l||""}}function Y(e,t,r,n){let i=[],s=0;for(const o of e){let e={},a=R(o,e,"pluginName",S),u=R(o,e,"text",S),l=R(o,e,"location",I),c=R(o,e,"notes",P),p=R(o,e,"detail",C),h=`in element ${s} of "${t}"`;$(o,e,h);let d=[];if(c)for(const t of c){let e={},r=R(t,e,"text",S),n=R(t,e,"location",I);$(t,e,h),d.push({text:r||"",location:K(n,h)})}i.push({pluginName:a||n,text:u||"",location:K(l,h),notes:d,detail:r?r.store(p):-1}),s++}return i}function Z(e,t){const r=[];for(const n of e){if("string"!==typeof n)throw new Error(`${JSON.stringify(t)} must be an array of strings`);r.push(n)}return r}function ee({path:e,contents:t}){let r=null;return{path:e,contents:t,get text(){return null===r&&(r=v(t)),r}}}var te,re,ne="0.14.42",ie=e=>de().build(e),se=()=>{throw new Error('The "serve" API only works in node')},oe=(e,t)=>de().transform(e,t),ae=(e,t)=>de().formatMessages(e,t),ue=(e,t)=>de().analyzeMetafile(e,t),le=()=>{throw new Error('The "buildSync" API only works in node')},ce=()=>{throw new Error('The "transformSync" API only works in node')},pe=()=>{throw new Error('The "formatMessagesSync" API only works in node')},he=()=>{throw new Error('The "analyzeMetafileSync" API only works in node')},de=()=>{if(re)return re;if(te)throw new Error('You need to wait for the promise returned from "initialize" to be resolved before calling this');throw new Error('You need to call "initialize" before calling this')},fe=e=>{e=function(e){let t=Object.create(null),r=R(e,t,"wasmURL",S),n=R(e,t,"wasmModule",_),i=R(e,t,"worker",w);return $(e,t,"in initialize() call"),{wasmURL:r,wasmModule:n,worker:i}}(e||{});let t=e.wasmURL,r=e.wasmModule,n=!1!==e.worker;if(!t&&!r)throw new Error('Must provide either the "wasmURL" option or the "wasmModule" option');if(te)throw new Error('Cannot call "initialize" more than once');return(te=me(t||"",r,n)).catch((()=>{te=void 0})),te},me=(e,t,r)=>f(void 0,null,(function*(){let n,i;if(t)n=t;else{let t=yield fetch(e);if(!t.ok)throw new Error(`Failed to download ${JSON.stringify(e)}`);n=yield t.arrayBuffer()}if(r){let e=new Blob(['onmessage=((postMessage) => {\n // Copyright 2018 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n var __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n };\n let onmessage;\n let globalThis = {};\n for (let o = self; o; o = Object.getPrototypeOf(o))\n for (let k of Object.getOwnPropertyNames(o))\n if (!(k in globalThis))\n Object.defineProperty(globalThis, k, { get: () => self[k] });\n "use strict";\n (() => {\n const enosys = () => {\n const err = new Error("not implemented");\n err.code = "ENOSYS";\n return err;\n };\n if (!globalThis.fs) {\n let outputBuf = "";\n globalThis.fs = {\n constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1 },\n writeSync(fd, buf) {\n outputBuf += decoder.decode(buf);\n const nl = outputBuf.lastIndexOf("\\n");\n if (nl != -1) {\n console.log(outputBuf.substr(0, nl));\n outputBuf = outputBuf.substr(nl + 1);\n }\n return buf.length;\n },\n write(fd, buf, offset, length, position, callback) {\n if (offset !== 0 || length !== buf.length || position !== null) {\n callback(enosys());\n return;\n }\n const n = this.writeSync(fd, buf);\n callback(null, n);\n },\n chmod(path, mode, callback) {\n callback(enosys());\n },\n chown(path, uid, gid, callback) {\n callback(enosys());\n },\n close(fd, callback) {\n callback(enosys());\n },\n fchmod(fd, mode, callback) {\n callback(enosys());\n },\n fchown(fd, uid, gid, callback) {\n callback(enosys());\n },\n fstat(fd, callback) {\n callback(enosys());\n },\n fsync(fd, callback) {\n callback(null);\n },\n ftruncate(fd, length, callback) {\n callback(enosys());\n },\n lchown(path, uid, gid, callback) {\n callback(enosys());\n },\n link(path, link, callback) {\n callback(enosys());\n },\n lstat(path, callback) {\n callback(enosys());\n },\n mkdir(path, perm, callback) {\n callback(enosys());\n },\n open(path, flags, mode, callback) {\n callback(enosys());\n },\n read(fd, buffer, offset, length, position, callback) {\n callback(enosys());\n },\n readdir(path, callback) {\n callback(enosys());\n },\n readlink(path, callback) {\n callback(enosys());\n },\n rename(from, to, callback) {\n callback(enosys());\n },\n rmdir(path, callback) {\n callback(enosys());\n },\n stat(path, callback) {\n callback(enosys());\n },\n symlink(path, link, callback) {\n callback(enosys());\n },\n truncate(path, length, callback) {\n callback(enosys());\n },\n unlink(path, callback) {\n callback(enosys());\n },\n utimes(path, atime, mtime, callback) {\n callback(enosys());\n }\n };\n }\n if (!globalThis.process) {\n globalThis.process = {\n getuid() {\n return -1;\n },\n getgid() {\n return -1;\n },\n geteuid() {\n return -1;\n },\n getegid() {\n return -1;\n },\n getgroups() {\n throw enosys();\n },\n pid: -1,\n ppid: -1,\n umask() {\n throw enosys();\n },\n cwd() {\n throw enosys();\n },\n chdir() {\n throw enosys();\n }\n };\n }\n if (!globalThis.crypto) {\n throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");\n }\n if (!globalThis.performance) {\n throw new Error("globalThis.performance is not available, polyfill required (performance.now only)");\n }\n if (!globalThis.TextEncoder) {\n throw new Error("globalThis.TextEncoder is not available, polyfill required");\n }\n if (!globalThis.TextDecoder) {\n throw new Error("globalThis.TextDecoder is not available, polyfill required");\n }\n const encoder = new TextEncoder("utf-8");\n const decoder = new TextDecoder("utf-8");\n globalThis.Go = class {\n constructor() {\n this.argv = ["js"];\n this.env = {};\n this.exit = (code) => {\n if (code !== 0) {\n console.warn("exit code:", code);\n }\n };\n this._exitPromise = new Promise((resolve) => {\n this._resolveExitPromise = resolve;\n });\n this._pendingEvent = null;\n this._scheduledTimeouts = /* @__PURE__ */ new Map();\n this._nextCallbackTimeoutID = 1;\n const setInt64 = (addr, v) => {\n this.mem.setUint32(addr + 0, v, true);\n this.mem.setUint32(addr + 4, Math.floor(v / 4294967296), true);\n };\n const getInt64 = (addr) => {\n const low = this.mem.getUint32(addr + 0, true);\n const high = this.mem.getInt32(addr + 4, true);\n return low + high * 4294967296;\n };\n const loadValue = (addr) => {\n const f = this.mem.getFloat64(addr, true);\n if (f === 0) {\n return void 0;\n }\n if (!isNaN(f)) {\n return f;\n }\n const id = this.mem.getUint32(addr, true);\n return this._values[id];\n };\n const storeValue = (addr, v) => {\n const nanHead = 2146959360;\n if (typeof v === "number" && v !== 0) {\n if (isNaN(v)) {\n this.mem.setUint32(addr + 4, nanHead, true);\n this.mem.setUint32(addr, 0, true);\n return;\n }\n this.mem.setFloat64(addr, v, true);\n return;\n }\n if (v === void 0) {\n this.mem.setFloat64(addr, 0, true);\n return;\n }\n let id = this._ids.get(v);\n if (id === void 0) {\n id = this._idPool.pop();\n if (id === void 0) {\n id = this._values.length;\n }\n this._values[id] = v;\n this._goRefCounts[id] = 0;\n this._ids.set(v, id);\n }\n this._goRefCounts[id]++;\n let typeFlag = 0;\n switch (typeof v) {\n case "object":\n if (v !== null) {\n typeFlag = 1;\n }\n break;\n case "string":\n typeFlag = 2;\n break;\n case "symbol":\n typeFlag = 3;\n break;\n case "function":\n typeFlag = 4;\n break;\n }\n this.mem.setUint32(addr + 4, nanHead | typeFlag, true);\n this.mem.setUint32(addr, id, true);\n };\n const loadSlice = (addr) => {\n const array = getInt64(addr + 0);\n const len = getInt64(addr + 8);\n return new Uint8Array(this._inst.exports.mem.buffer, array, len);\n };\n const loadSliceOfValues = (addr) => {\n const array = getInt64(addr + 0);\n const len = getInt64(addr + 8);\n const a = new Array(len);\n for (let i = 0; i < len; i++) {\n a[i] = loadValue(array + i * 8);\n }\n return a;\n };\n const loadString = (addr) => {\n const saddr = getInt64(addr + 0);\n const len = getInt64(addr + 8);\n return decoder.decode(new DataView(this._inst.exports.mem.buffer, saddr, len));\n };\n const timeOrigin = Date.now() - performance.now();\n this.importObject = {\n go: {\n "runtime.wasmExit": (sp) => {\n sp >>>= 0;\n const code = this.mem.getInt32(sp + 8, true);\n this.exited = true;\n delete this._inst;\n delete this._values;\n delete this._goRefCounts;\n delete this._ids;\n delete this._idPool;\n this.exit(code);\n },\n "runtime.wasmWrite": (sp) => {\n sp >>>= 0;\n const fd = getInt64(sp + 8);\n const p = getInt64(sp + 16);\n const n = this.mem.getInt32(sp + 24, true);\n globalThis.fs.writeSync(fd, new Uint8Array(this._inst.exports.mem.buffer, p, n));\n },\n "runtime.resetMemoryDataView": (sp) => {\n sp >>>= 0;\n this.mem = new DataView(this._inst.exports.mem.buffer);\n },\n "runtime.nanotime1": (sp) => {\n sp >>>= 0;\n setInt64(sp + 8, (timeOrigin + performance.now()) * 1e6);\n },\n "runtime.walltime": (sp) => {\n sp >>>= 0;\n const msec = new Date().getTime();\n setInt64(sp + 8, msec / 1e3);\n this.mem.setInt32(sp + 16, msec % 1e3 * 1e6, true);\n },\n "runtime.scheduleTimeoutEvent": (sp) => {\n sp >>>= 0;\n const id = this._nextCallbackTimeoutID;\n this._nextCallbackTimeoutID++;\n this._scheduledTimeouts.set(id, setTimeout(() => {\n this._resume();\n while (this._scheduledTimeouts.has(id)) {\n console.warn("scheduleTimeoutEvent: missed timeout event");\n this._resume();\n }\n }, getInt64(sp + 8) + 1));\n this.mem.setInt32(sp + 16, id, true);\n },\n "runtime.clearTimeoutEvent": (sp) => {\n sp >>>= 0;\n const id = this.mem.getInt32(sp + 8, true);\n clearTimeout(this._scheduledTimeouts.get(id));\n this._scheduledTimeouts.delete(id);\n },\n "runtime.getRandomData": (sp) => {\n sp >>>= 0;\n crypto.getRandomValues(loadSlice(sp + 8));\n },\n "syscall/js.finalizeRef": (sp) => {\n sp >>>= 0;\n const id = this.mem.getUint32(sp + 8, true);\n this._goRefCounts[id]--;\n if (this._goRefCounts[id] === 0) {\n const v = this._values[id];\n this._values[id] = null;\n this._ids.delete(v);\n this._idPool.push(id);\n }\n },\n "syscall/js.stringVal": (sp) => {\n sp >>>= 0;\n storeValue(sp + 24, loadString(sp + 8));\n },\n "syscall/js.valueGet": (sp) => {\n sp >>>= 0;\n const result = Reflect.get(loadValue(sp + 8), loadString(sp + 16));\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 32, result);\n },\n "syscall/js.valueSet": (sp) => {\n sp >>>= 0;\n Reflect.set(loadValue(sp + 8), loadString(sp + 16), loadValue(sp + 32));\n },\n "syscall/js.valueDelete": (sp) => {\n sp >>>= 0;\n Reflect.deleteProperty(loadValue(sp + 8), loadString(sp + 16));\n },\n "syscall/js.valueIndex": (sp) => {\n sp >>>= 0;\n storeValue(sp + 24, Reflect.get(loadValue(sp + 8), getInt64(sp + 16)));\n },\n "syscall/js.valueSetIndex": (sp) => {\n sp >>>= 0;\n Reflect.set(loadValue(sp + 8), getInt64(sp + 16), loadValue(sp + 24));\n },\n "syscall/js.valueCall": (sp) => {\n sp >>>= 0;\n try {\n const v = loadValue(sp + 8);\n const m = Reflect.get(v, loadString(sp + 16));\n const args = loadSliceOfValues(sp + 32);\n const result = Reflect.apply(m, v, args);\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 56, result);\n this.mem.setUint8(sp + 64, 1);\n } catch (err) {\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 56, err);\n this.mem.setUint8(sp + 64, 0);\n }\n },\n "syscall/js.valueInvoke": (sp) => {\n sp >>>= 0;\n try {\n const v = loadValue(sp + 8);\n const args = loadSliceOfValues(sp + 16);\n const result = Reflect.apply(v, void 0, args);\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 40, result);\n this.mem.setUint8(sp + 48, 1);\n } catch (err) {\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 40, err);\n this.mem.setUint8(sp + 48, 0);\n }\n },\n "syscall/js.valueNew": (sp) => {\n sp >>>= 0;\n try {\n const v = loadValue(sp + 8);\n const args = loadSliceOfValues(sp + 16);\n const result = Reflect.construct(v, args);\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 40, result);\n this.mem.setUint8(sp + 48, 1);\n } catch (err) {\n sp = this._inst.exports.getsp() >>> 0;\n storeValue(sp + 40, err);\n this.mem.setUint8(sp + 48, 0);\n }\n },\n "syscall/js.valueLength": (sp) => {\n sp >>>= 0;\n setInt64(sp + 16, parseInt(loadValue(sp + 8).length));\n },\n "syscall/js.valuePrepareString": (sp) => {\n sp >>>= 0;\n const str = encoder.encode(String(loadValue(sp + 8)));\n storeValue(sp + 16, str);\n setInt64(sp + 24, str.length);\n },\n "syscall/js.valueLoadString": (sp) => {\n sp >>>= 0;\n const str = loadValue(sp + 8);\n loadSlice(sp + 16).set(str);\n },\n "syscall/js.valueInstanceOf": (sp) => {\n sp >>>= 0;\n this.mem.setUint8(sp + 24, loadValue(sp + 8) instanceof loadValue(sp + 16) ? 1 : 0);\n },\n "syscall/js.copyBytesToGo": (sp) => {\n sp >>>= 0;\n const dst = loadSlice(sp + 8);\n const src = loadValue(sp + 32);\n if (!(src instanceof Uint8Array || src instanceof Uint8ClampedArray)) {\n this.mem.setUint8(sp + 48, 0);\n return;\n }\n const toCopy = src.subarray(0, dst.length);\n dst.set(toCopy);\n setInt64(sp + 40, toCopy.length);\n this.mem.setUint8(sp + 48, 1);\n },\n "syscall/js.copyBytesToJS": (sp) => {\n sp >>>= 0;\n const dst = loadValue(sp + 8);\n const src = loadSlice(sp + 16);\n if (!(dst instanceof Uint8Array || dst instanceof Uint8ClampedArray)) {\n this.mem.setUint8(sp + 48, 0);\n return;\n }\n const toCopy = src.subarray(0, dst.length);\n dst.set(toCopy);\n setInt64(sp + 40, toCopy.length);\n this.mem.setUint8(sp + 48, 1);\n },\n "debug": (value) => {\n console.log(value);\n }\n }\n };\n }\n run(instance) {\n return __async(this, null, function* () {\n if (!(instance instanceof WebAssembly.Instance)) {\n throw new Error("Go.run: WebAssembly.Instance expected");\n }\n this._inst = instance;\n this.mem = new DataView(this._inst.exports.mem.buffer);\n this._values = [\n NaN,\n 0,\n null,\n true,\n false,\n globalThis,\n this\n ];\n this._goRefCounts = new Array(this._values.length).fill(Infinity);\n this._ids = /* @__PURE__ */ new Map([\n [0, 1],\n [null, 2],\n [true, 3],\n [false, 4],\n [globalThis, 5],\n [this, 6]\n ]);\n this._idPool = [];\n this.exited = false;\n let offset = 4096;\n const strPtr = (str) => {\n const ptr = offset;\n const bytes = encoder.encode(str + "\\0");\n new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes);\n offset += bytes.length;\n if (offset % 8 !== 0) {\n offset += 8 - offset % 8;\n }\n return ptr;\n };\n const argc = this.argv.length;\n const argvPtrs = [];\n this.argv.forEach((arg) => {\n argvPtrs.push(strPtr(arg));\n });\n argvPtrs.push(0);\n const keys = Object.keys(this.env).sort();\n keys.forEach((key) => {\n argvPtrs.push(strPtr(`${key}=${this.env[key]}`));\n });\n argvPtrs.push(0);\n const argv = offset;\n argvPtrs.forEach((ptr) => {\n this.mem.setUint32(offset, ptr, true);\n this.mem.setUint32(offset + 4, 0, true);\n offset += 8;\n });\n const wasmMinDataAddr = 4096 + 8192;\n if (offset >= wasmMinDataAddr) {\n throw new Error("total length of command line and environment variables exceeds limit");\n }\n this._inst.exports.run(argc, argv);\n if (this.exited) {\n this._resolveExitPromise();\n }\n yield this._exitPromise;\n });\n }\n _resume() {\n if (this.exited) {\n throw new Error("Go program has already exited");\n }\n this._inst.exports.resume();\n if (this.exited) {\n this._resolveExitPromise();\n }\n }\n _makeFuncWrapper(id) {\n const go = this;\n return function() {\n const event = { id, this: this, args: arguments };\n go._pendingEvent = event;\n go._resume();\n return event.result;\n };\n }\n };\n })();\n onmessage = ({ data: wasm }) => {\n let decoder = new TextDecoder();\n let fs = globalThis.fs;\n let stderr = "";\n fs.writeSync = (fd, buffer) => {\n if (fd === 1) {\n postMessage(buffer);\n } else if (fd === 2) {\n stderr += decoder.decode(buffer);\n let parts = stderr.split("\\n");\n if (parts.length > 1)\n console.log(parts.slice(0, -1).join("\\n"));\n stderr = parts[parts.length - 1];\n } else {\n throw new Error("Bad write");\n }\n return buffer.length;\n };\n let stdin = [];\n let resumeStdin;\n let stdinPos = 0;\n onmessage = ({ data }) => {\n if (data.length > 0) {\n stdin.push(data);\n if (resumeStdin)\n resumeStdin();\n }\n };\n fs.read = (fd, buffer, offset, length, position, callback) => {\n if (fd !== 0 || offset !== 0 || length !== buffer.length || position !== null) {\n throw new Error("Bad read");\n }\n if (stdin.length === 0) {\n resumeStdin = () => fs.read(fd, buffer, offset, length, position, callback);\n return;\n }\n let first = stdin[0];\n let count = Math.max(0, Math.min(length, first.length - stdinPos));\n buffer.set(first.subarray(stdinPos, stdinPos + count), offset);\n stdinPos += count;\n if (stdinPos === first.length) {\n stdin.shift();\n stdinPos = 0;\n }\n callback(null, count);\n };\n let go = new globalThis.Go();\n go.argv = ["", `--service=${"0.14.42"}`];\n if (wasm instanceof WebAssembly.Module) {\n WebAssembly.instantiate(wasm, go.importObject).then((instance) => go.run(instance));\n } else {\n WebAssembly.instantiate(wasm, go.importObject).then(({ instance }) => go.run(instance));\n }\n };\n return (m) => onmessage(m);\n })(postMessage)'],{type:"text/javascript"});i=new Worker(URL.createObjectURL(e))}else{let e=(e=>{let t,r={};for(let n=self;n;n=Object.getPrototypeOf(n))for(let e of Object.getOwnPropertyNames(n))e in r||Object.defineProperty(r,e,{get:()=>self[e]});return(()=>{const e=()=>{const e=new Error("not implemented");return e.code="ENOSYS",e};if(!r.fs){let t="";r.fs={constants:{O_WRONLY:-1,O_RDWR:-1,O_CREAT:-1,O_TRUNC:-1,O_APPEND:-1,O_EXCL:-1},writeSync(e,r){t+=n.decode(r);const i=t.lastIndexOf("\n");return-1!=i&&(console.log(t.substr(0,i)),t=t.substr(i+1)),r.length},write(t,r,n,i,s,o){if(0!==n||i!==r.length||null!==s)return void o(e());o(null,this.writeSync(t,r))},chmod(t,r,n){n(e())},chown(t,r,n,i){i(e())},close(t,r){r(e())},fchmod(t,r,n){n(e())},fchown(t,r,n,i){i(e())},fstat(t,r){r(e())},fsync(e,t){t(null)},ftruncate(t,r,n){n(e())},lchown(t,r,n,i){i(e())},link(t,r,n){n(e())},lstat(t,r){r(e())},mkdir(t,r,n){n(e())},open(t,r,n,i){i(e())},read(t,r,n,i,s,o){o(e())},readdir(t,r){r(e())},readlink(t,r){r(e())},rename(t,r,n){n(e())},rmdir(t,r){r(e())},stat(t,r){r(e())},symlink(t,r,n){n(e())},truncate(t,r,n){n(e())},unlink(t,r){r(e())},utimes(t,r,n,i){i(e())}}}if(r.process||(r.process={getuid:()=>-1,getgid:()=>-1,geteuid:()=>-1,getegid:()=>-1,getgroups(){throw e()},pid:-1,ppid:-1,umask(){throw e()},cwd(){throw e()},chdir(){throw e()}}),!r.crypto)throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");if(!r.performance)throw new Error("globalThis.performance is not available, polyfill required (performance.now only)");if(!r.TextEncoder)throw new Error("globalThis.TextEncoder is not available, polyfill required");if(!r.TextDecoder)throw new Error("globalThis.TextDecoder is not available, polyfill required");const t=new TextEncoder("utf-8"),n=new TextDecoder("utf-8");r.Go=class{constructor(){this.argv=["js"],this.env={},this.exit=e=>{0!==e&&console.warn("exit code:",e)},this._exitPromise=new Promise((e=>{this._resolveExitPromise=e})),this._pendingEvent=null,this._scheduledTimeouts=new Map,this._nextCallbackTimeoutID=1;const e=(e,t)=>{this.mem.setUint32(e+0,t,!0),this.mem.setUint32(e+4,Math.floor(t/4294967296),!0)},i=e=>this.mem.getUint32(e+0,!0)+4294967296*this.mem.getInt32(e+4,!0),s=e=>{const t=this.mem.getFloat64(e,!0);if(0===t)return;if(!isNaN(t))return t;const r=this.mem.getUint32(e,!0);return this._values[r]},o=(e,t)=>{const r=2146959360;if("number"===typeof t&&0!==t)return isNaN(t)?(this.mem.setUint32(e+4,r,!0),void this.mem.setUint32(e,0,!0)):void this.mem.setFloat64(e,t,!0);if(void 0===t)return void this.mem.setFloat64(e,0,!0);let n=this._ids.get(t);void 0===n&&(n=this._idPool.pop(),void 0===n&&(n=this._values.length),this._values[n]=t,this._goRefCounts[n]=0,this._ids.set(t,n)),this._goRefCounts[n]++;let i=0;switch(typeof t){case"object":null!==t&&(i=1);break;case"string":i=2;break;case"symbol":i=3;break;case"function":i=4}this.mem.setUint32(e+4,r|i,!0),this.mem.setUint32(e,n,!0)},a=e=>{const t=i(e+0),r=i(e+8);return new Uint8Array(this._inst.exports.mem.buffer,t,r)},u=e=>{const t=i(e+0),r=i(e+8),n=new Array(r);for(let i=0;i<r;i++)n[i]=s(t+8*i);return n},l=e=>{const t=i(e+0),r=i(e+8);return n.decode(new DataView(this._inst.exports.mem.buffer,t,r))},c=Date.now()-performance.now();this.importObject={go:{"runtime.wasmExit":e=>{e>>>=0;const t=this.mem.getInt32(e+8,!0);this.exited=!0,delete this._inst,delete this._values,delete this._goRefCounts,delete this._ids,delete this._idPool,this.exit(t)},"runtime.wasmWrite":e=>{const t=i((e>>>=0)+8),n=i(e+16),s=this.mem.getInt32(e+24,!0);r.fs.writeSync(t,new Uint8Array(this._inst.exports.mem.buffer,n,s))},"runtime.resetMemoryDataView":e=>{this.mem=new DataView(this._inst.exports.mem.buffer)},"runtime.nanotime1":t=>{e((t>>>=0)+8,1e6*(c+performance.now()))},"runtime.walltime":t=>{t>>>=0;const r=(new Date).getTime();e(t+8,r/1e3),this.mem.setInt32(t+16,r%1e3*1e6,!0)},"runtime.scheduleTimeoutEvent":e=>{e>>>=0;const t=this._nextCallbackTimeoutID;this._nextCallbackTimeoutID++,this._scheduledTimeouts.set(t,setTimeout((()=>{for(this._resume();this._scheduledTimeouts.has(t);)console.warn("scheduleTimeoutEvent: missed timeout event"),this._resume()}),i(e+8)+1)),this.mem.setInt32(e+16,t,!0)},"runtime.clearTimeoutEvent":e=>{e>>>=0;const t=this.mem.getInt32(e+8,!0);clearTimeout(this._scheduledTimeouts.get(t)),this._scheduledTimeouts.delete(t)},"runtime.getRandomData":e=>{e>>>=0,crypto.getRandomValues(a(e+8))},"syscall/js.finalizeRef":e=>{e>>>=0;const t=this.mem.getUint32(e+8,!0);if(this._goRefCounts[t]--,0===this._goRefCounts[t]){const e=this._values[t];this._values[t]=null,this._ids.delete(e),this._idPool.push(t)}},"syscall/js.stringVal":e=>{o((e>>>=0)+24,l(e+8))},"syscall/js.valueGet":e=>{e>>>=0;const t=Reflect.get(s(e+8),l(e+16));e=this._inst.exports.getsp()>>>0,o(e+32,t)},"syscall/js.valueSet":e=>{e>>>=0,Reflect.set(s(e+8),l(e+16),s(e+32))},"syscall/js.valueDelete":e=>{e>>>=0,Reflect.deleteProperty(s(e+8),l(e+16))},"syscall/js.valueIndex":e=>{o((e>>>=0)+24,Reflect.get(s(e+8),i(e+16)))},"syscall/js.valueSetIndex":e=>{e>>>=0,Reflect.set(s(e+8),i(e+16),s(e+24))},"syscall/js.valueCall":e=>{e>>>=0;try{const t=s(e+8),r=Reflect.get(t,l(e+16)),n=u(e+32),i=Reflect.apply(r,t,n);e=this._inst.exports.getsp()>>>0,o(e+56,i),this.mem.setUint8(e+64,1)}catch(t){e=this._inst.exports.getsp()>>>0,o(e+56,t),this.mem.setUint8(e+64,0)}},"syscall/js.valueInvoke":e=>{e>>>=0;try{const t=s(e+8),r=u(e+16),n=Reflect.apply(t,void 0,r);e=this._inst.exports.getsp()>>>0,o(e+40,n),this.mem.setUint8(e+48,1)}catch(t){e=this._inst.exports.getsp()>>>0,o(e+40,t),this.mem.setUint8(e+48,0)}},"syscall/js.valueNew":e=>{e>>>=0;try{const t=s(e+8),r=u(e+16),n=Reflect.construct(t,r);e=this._inst.exports.getsp()>>>0,o(e+40,n),this.mem.setUint8(e+48,1)}catch(t){e=this._inst.exports.getsp()>>>0,o(e+40,t),this.mem.setUint8(e+48,0)}},"syscall/js.valueLength":t=>{e((t>>>=0)+16,parseInt(s(t+8).length))},"syscall/js.valuePrepareString":r=>{r>>>=0;const n=t.encode(String(s(r+8)));o(r+16,n),e(r+24,n.length)},"syscall/js.valueLoadString":e=>{const t=s((e>>>=0)+8);a(e+16).set(t)},"syscall/js.valueInstanceOf":e=>{e>>>=0,this.mem.setUint8(e+24,s(e+8)instanceof s(e+16)?1:0)},"syscall/js.copyBytesToGo":t=>{const r=a((t>>>=0)+8),n=s(t+32);if(!(n instanceof Uint8Array||n instanceof Uint8ClampedArray))return void this.mem.setUint8(t+48,0);const i=n.subarray(0,r.length);r.set(i),e(t+40,i.length),this.mem.setUint8(t+48,1)},"syscall/js.copyBytesToJS":t=>{const r=s((t>>>=0)+8),n=a(t+16);if(!(r instanceof Uint8Array||r instanceof Uint8ClampedArray))return void this.mem.setUint8(t+48,0);const i=n.subarray(0,r.length);r.set(i),e(t+40,i.length),this.mem.setUint8(t+48,1)},debug:e=>{console.log(e)}}}}run(e){return n=this,i=null,s=function*(){if(!(e instanceof WebAssembly.Instance))throw new Error("Go.run: WebAssembly.Instance expected");this._inst=e,this.mem=new DataView(this._inst.exports.mem.buffer),this._values=[NaN,0,null,!0,!1,r,this],this._goRefCounts=new Array(this._values.length).fill(1/0),this._ids=new Map([[0,1],[null,2],[!0,3],[!1,4],[r,5],[this,6]]),this._idPool=[],this.exited=!1;let n=4096;const i=e=>{const r=n,i=t.encode(e+"\0");return new Uint8Array(this.mem.buffer,n,i.length).set(i),n+=i.length,n%8!==0&&(n+=8-n%8),r},s=this.argv.length,o=[];this.argv.forEach((e=>{o.push(i(e))})),o.push(0),Object.keys(this.env).sort().forEach((e=>{o.push(i(`${e}=${this.env[e]}`))})),o.push(0);const a=n;if(o.forEach((e=>{this.mem.setUint32(n,e,!0),this.mem.setUint32(n+4,0,!0),n+=8})),n>=12288)throw new Error("total length of command line and environment variables exceeds limit");this._inst.exports.run(s,a),this.exited&&this._resolveExitPromise(),yield this._exitPromise},new Promise(((e,t)=>{var r=e=>{try{a(s.next(e))}catch(r){t(r)}},o=e=>{try{a(s.throw(e))}catch(r){t(r)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,o);a((s=s.apply(n,i)).next())}));var n,i,s}_resume(){if(this.exited)throw new Error("Go program has already exited");this._inst.exports.resume(),this.exited&&this._resolveExitPromise()}_makeFuncWrapper(e){const t=this;return function(){const r={id:e,this:this,args:arguments};return t._pendingEvent=r,t._resume(),r.result}}}})(),t=({data:e})=>{let n=new TextDecoder,s=r.fs,o="";s.writeSync=(e,t)=>{if(1===e)r=t,i.onmessage({data:r});else{if(2!==e)throw new Error("Bad write");{o+=n.decode(t);let e=o.split("\n");e.length>1&&console.log(e.slice(0,-1).join("\n")),o=e[e.length-1]}}var r;return t.length};let a,u=[],l=0;t=({data:e})=>{e.length>0&&(u.push(e),a&&a())},s.read=(e,t,r,n,i,o)=>{if(0!==e||0!==r||n!==t.length||null!==i)throw new Error("Bad read");if(0===u.length)return void(a=()=>s.read(e,t,r,n,i,o));let c=u[0],p=Math.max(0,Math.min(n,c.length-l));t.set(c.subarray(l,l+p),r),l+=p,l===c.length&&(u.shift(),l=0),o(null,p)};let c=new r.Go;c.argv=["","--service=0.14.42"],e instanceof WebAssembly.Module?WebAssembly.instantiate(e,c.importObject).then((e=>c.run(e))):WebAssembly.instantiate(e,c.importObject).then((({instance:e})=>c.run(e)))},e=>t(e)})();i={onmessage:null,postMessage:t=>setTimeout((()=>e({data:t}))),terminate(){}}}i.postMessage(n),i.onmessage=({data:e})=>s(e);let{readFromStdout:s,service:o}=z({writeToStdin(e){i.postMessage(e)},isSync:!1,isBrowser:!0,esbuild:m});re={build:e=>new Promise(((t,r)=>o.buildOrServe({callName:"build",refs:null,serveOptions:null,options:e,isTTY:!1,defaultWD:"/",callback:(e,n)=>e?r(e):t(n)}))),transform:(e,t)=>new Promise(((r,n)=>o.transform({callName:"transform",refs:null,input:e,options:t||{},isTTY:!1,fs:{readFile(e,t){t(new Error("Internal error"),null)},writeFile(e,t){t(null)}},callback:(e,t)=>e?n(e):r(t)}))),formatMessages:(e,t)=>new Promise(((r,n)=>o.formatMessages({callName:"formatMessages",refs:null,messages:e,options:t,callback:(e,t)=>e?n(e):r(t)}))),analyzeMetafile:(e,t)=>new Promise(((r,n)=>o.analyzeMetafile({callName:"analyzeMetafile",refs:null,metafile:"string"===typeof e?e:JSON.stringify(e),options:t,callback:(e,t)=>e?n(e):r(t)})))}})),ye=m})(e)},2445:function(e){"use strict";e.exports=class{constructor({uri:e,name:t,type:r}){this.uri=e,this.name=t,this.type=r}}},804:function(e,t,r){"use strict";const n=r(1268);e.exports=function(e,t="",r=n){const i=new Map,s=new Map;return{clone:function e(t,n,o){let a=t;if(r(t)){a=null;const e=i.get(t);e?e.push(n):i.set(t,[n])}else{const r=Array.isArray(t)||"undefined"!==typeof FileList&&t instanceof FileList,i=t&&t.constructor===Object;if(r||i){const i=s.has(t);if(i?a=s.get(t):(a=r?[]:{},s.set(t,a)),!o.has(t)){const s=n?`${n}.`:"",u=new Set(o).add(t);if(r){let r=0;for(const n of t){const t=e(n,s+r++,u);i||a.push(t)}}else for(const r in t){const n=e(t[r],s+r,u);i||(a[r]=n)}}}}return a}(e,t,new Set),files:i}}},1268:function(e,t,r){"use strict";const n=r(2445);e.exports=function(e){return"undefined"!==typeof File&&e instanceof File||"undefined"!==typeof Blob&&e instanceof Blob||e instanceof n}},8679:function(e,t,r){"use strict";var n=r(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return n.isMemo(e)?o:a[e.$$typeof]||i}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=o;var l=Object.defineProperty,c=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!==typeof r){if(f){var i=d(r);i&&i!==f&&e(t,i,n)}var o=c(r);p&&(o=o.concat(p(r)));for(var a=u(t),m=u(r),y=0;y<o.length;++y){var g=o[y];if(!s[g]&&(!n||!n[g])&&(!m||!m[g])&&(!a||!a[g])){var v=h(r,g);try{l(t,g,v)}catch(D){}}}}return t}},645:function(e,t){t.read=function(e,t,r,n,i){var s,o,a=8*i-n-1,u=(1<<a)-1,l=u>>1,c=-7,p=r?i-1:0,h=r?-1:1,d=e[t+p];for(p+=h,s=d&(1<<-c)-1,d>>=-c,c+=a;c>0;s=256*s+e[t+p],p+=h,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=n;c>0;o=256*o+e[t+p],p+=h,c-=8);if(0===s)s=1-l;else{if(s===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),s-=l}return(d?-1:1)*o*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var o,a,u,l=8*s-i-1,c=(1<<l)-1,p=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:s-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+p>=1?h/u:h*Math.pow(2,1-p))*u>=2&&(o++,u/=2),o+p>=c?(a=0,o=c):o+p>=1?(a=(t*u-1)*Math.pow(2,i),o+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&a,d+=f,a/=256,i-=8);for(o=o<<i|a,l+=i;l>0;e[r+d]=255&o,d+=f,o/=256,l-=8);e[r+d-f]|=128*m}},9483:function(e,t,r){e.exports=function e(t,r,n){function i(o,a){if(!r[o]){if(!t[o]){if(s)return s(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[o]={exports:{}};t[o][0].call(l.exports,(function(e){var r=t[o][1][e];return i(r||e)}),l,l.exports,e,t,r,n)}return r[o].exports}for(var s=void 0,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(e,t,n){(function(e){"use strict";var r,n,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var s=0,o=new i(c),a=e.document.createTextNode("");o.observe(a,{characterData:!0}),r=function(){a.data=s=++s%2}}else if(e.setImmediate||"undefined"===typeof e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var u=new e.MessageChannel;u.port1.onmessage=c,r=function(){u.port2.postMessage(0)}}var l=[];function c(){var e,t;n=!0;for(var r=l.length;r;){for(t=l,l=[],e=-1;++e<r;)t[e]();r=l.length}n=!1}function p(e){1!==l.push(e)||n||r()}t.exports=p}).call(this,"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],2:[function(e,t,r){"use strict";var n=e(1);function i(){}var s={},o=["REJECTED"],a=["FULFILLED"],u=["PENDING"];function l(e){if("function"!==typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&d(this,e)}function c(e,t,r){this.promise=e,"function"===typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"===typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function p(e,t,r){n((function(){var n;try{n=t(r)}catch(i){return s.reject(e,i)}n===e?s.reject(e,new TypeError("Cannot resolve promise with itself")):s.resolve(e,n)}))}function h(e){var t=e&&e.then;if(e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var r=!1;function n(t){r||(r=!0,s.reject(e,t))}function i(t){r||(r=!0,s.resolve(e,t))}function o(){t(i,n)}var a=f(o);"error"===a.status&&n(a.value)}function f(e,t){var r={};try{r.value=e(t),r.status="success"}catch(n){r.status="error",r.value=n}return r}function m(e){return e instanceof this?e:s.resolve(new this(i),e)}function y(e){var t=new this(i);return s.reject(t,e)}function g(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var o=new Array(r),a=0,u=-1,l=new this(i);++u<r;)c(e[u],u);return l;function c(e,i){function u(e){o[i]=e,++a!==r||n||(n=!0,s.resolve(l,o))}t.resolve(e).then(u,(function(e){n||(n=!0,s.reject(l,e))}))}}function v(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var o=-1,a=new this(i);++o<r;)u(e[o]);return a;function u(e){t.resolve(e).then((function(e){n||(n=!0,s.resolve(a,e))}),(function(e){n||(n=!0,s.reject(a,e))}))}}t.exports=l,l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!==typeof e&&this.state===a||"function"!==typeof t&&this.state===o)return this;var r=new this.constructor(i);return this.state!==u?p(r,this.state===a?e:t,this.outcome):this.queue.push(new c(r,e,t)),r},c.prototype.callFulfilled=function(e){s.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){p(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){s.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){p(this.promise,this.onRejected,e)},s.resolve=function(e,t){var r=f(h,t);if("error"===r.status)return s.reject(e,r.value);var n=r.value;if(n)d(e,n);else{e.state=a,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},s.reject=function(e,t){e.state=o,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},l.resolve=m,l.reject=y,l.all=g,l.race=v},{1:1}],3:[function(e,t,n){(function(t){"use strict";"function"!==typeof t.Promise&&(t.Promise=e(2))}).call(this,"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{2:2}],4:[function(e,t,r){"use strict";var n="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};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(){try{if("undefined"!==typeof indexedDB)return indexedDB;if("undefined"!==typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!==typeof mozIndexedDB)return mozIndexedDB;if("undefined"!==typeof OIndexedDB)return OIndexedDB;if("undefined"!==typeof msIndexedDB)return msIndexedDB}catch(e){return}}var o=s();function a(){try{if(!o||!o.open)return!1;var e="undefined"!==typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"===typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!==typeof indexedDB&&"undefined"!==typeof IDBKeyRange}catch(r){return!1}}function u(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var r=new("undefined"!==typeof BlobBuilder?BlobBuilder:"undefined"!==typeof MSBlobBuilder?MSBlobBuilder:"undefined"!==typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),n=0;n<e.length;n+=1)r.append(e[n]);return r.getBlob(t.type)}}"undefined"===typeof Promise&&e(3);var l=Promise;function c(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function p(e,t,r){"function"===typeof t&&e.then(t),"function"===typeof r&&e.catch(r)}function h(e){return"string"!==typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function d(){if(arguments.length&&"function"===typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var f="local-forage-detect-blob-support",m=void 0,y={},g=Object.prototype.toString,v="readonly",D="readwrite";function b(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),i=0;i<t;i++)n[i]=e.charCodeAt(i);return r}function E(e){return new l((function(t){var r=e.transaction(f,D),n=u([""]);r.objectStore(f).put(n,"key"),r.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},r.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),r=navigator.userAgent.match(/Edge\//);t(r||!e||parseInt(e[1],10)>=43)}})).catch((function(){return!1}))}function x(e){return"boolean"===typeof m?l.resolve(m):E(e).then((function(e){return m=e}))}function C(e){var t=y[e.name],r={};r.promise=new l((function(e,t){r.resolve=e,r.reject=t})),t.deferredOperations.push(r),t.dbReady?t.dbReady=t.dbReady.then((function(){return r.promise})):t.dbReady=r.promise}function w(e){var t=y[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function A(e,t){var r=y[e.name].deferredOperations.pop();if(r)return r.reject(t),r.promise}function S(e,t){return new l((function(r,n){if(y[e.name]=y[e.name]||j(),e.db){if(!t)return r(e.db);C(e),e.db.close()}var i=[e.name];t&&i.push(e.version);var s=o.open.apply(o,i);t&&(s.onupgradeneeded=function(t){var r=s.result;try{r.createObjectStore(e.storeName),t.oldVersion<=1&&r.createObjectStore(f)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),s.onerror=function(e){e.preventDefault(),n(s.error)},s.onsuccess=function(){var t=s.result;t.onversionchange=function(e){e.target.close()},r(t),w(e)}}))}function T(e){return S(e,!1)}function F(e){return S(e,!0)}function k(e,t){if(!e.db)return!0;var r=!e.db.objectStoreNames.contains(e.storeName),n=e.version<e.db.version,i=e.version>e.db.version;if(n&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||r){if(r){var s=e.db.version+1;s>e.version&&(e.version=s)}return!0}return!1}function P(e){return new l((function(t,r){var n=new FileReader;n.onerror=r,n.onloadend=function(r){var n=btoa(r.target.result||"");t({__local_forage_encoded_blob:!0,data:n,type:e.type})},n.readAsBinaryString(e)}))}function N(e){return u([b(atob(e.data))],{type:e.type})}function _(e){return e&&e.__local_forage_encoded_blob}function O(e){var t=this,r=t._initReady().then((function(){var e=y[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return p(r,e,e),r}function I(e){C(e);for(var t=y[e.name],r=t.forages,n=0;n<r.length;n++){var i=r[n];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return e.db=null,T(e).then((function(t){return e.db=t,k(e)?F(e):t})).then((function(n){e.db=t.db=n;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=n})).catch((function(t){throw A(e,t),t}))}function B(e,t,r,n){void 0===n&&(n=1);try{var i=e.db.transaction(e.storeName,t);r(null,i)}catch(s){if(n>0&&(!e.db||"InvalidStateError"===s.name||"NotFoundError"===s.name))return l.resolve().then((function(){if(!e.db||"NotFoundError"===s.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),F(e)})).then((function(){return I(e).then((function(){B(e,t,r,n-1)}))})).catch(r);r(s)}}function j(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function L(e){var t=this,r={db:null};if(e)for(var n in e)r[n]=e[n];var i=y[r.name];i||(i=j(),y[r.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=O);var s=[];function o(){return l.resolve()}for(var a=0;a<i.forages.length;a++){var u=i.forages[a];u!==t&&s.push(u._initReady().catch(o))}var c=i.forages.slice(0);return l.all(s).then((function(){return r.db=i.db,T(r)})).then((function(e){return r.db=e,k(r,t._defaultConfig.version)?F(r):e})).then((function(e){r.db=i.db=e,t._dbInfo=r;for(var n=0;n<c.length;n++){var s=c[n];s!==t&&(s._dbInfo.db=r.db,s._dbInfo.version=r.version)}}))}function M(e,t){var r=this;e=h(e);var n=new l((function(t,n){r.ready().then((function(){B(r._dbInfo,v,(function(i,s){if(i)return n(i);try{var o=s.objectStore(r._dbInfo.storeName).get(e);o.onsuccess=function(){var e=o.result;void 0===e&&(e=null),_(e)&&(e=N(e)),t(e)},o.onerror=function(){n(o.error)}}catch(a){n(a)}}))})).catch(n)}));return c(n,t),n}function R(e,t){var r=this,n=new l((function(t,n){r.ready().then((function(){B(r._dbInfo,v,(function(i,s){if(i)return n(i);try{var o=s.objectStore(r._dbInfo.storeName).openCursor(),a=1;o.onsuccess=function(){var r=o.result;if(r){var n=r.value;_(n)&&(n=N(n));var i=e(n,r.key,a++);void 0!==i?t(i):r.continue()}else t()},o.onerror=function(){n(o.error)}}catch(u){n(u)}}))})).catch(n)}));return c(n,t),n}function $(e,t,r){var n=this;e=h(e);var i=new l((function(r,i){var s;n.ready().then((function(){return s=n._dbInfo,"[object Blob]"===g.call(t)?x(s.db).then((function(e){return e?t:P(t)})):t})).then((function(t){B(n._dbInfo,D,(function(s,o){if(s)return i(s);try{var a=o.objectStore(n._dbInfo.storeName);null===t&&(t=void 0);var u=a.put(t,e);o.oncomplete=function(){void 0===t&&(t=null),r(t)},o.onabort=o.onerror=function(){var e=u.error?u.error:u.transaction.error;i(e)}}catch(l){i(l)}}))})).catch(i)}));return c(i,r),i}function V(e,t){var r=this;e=h(e);var n=new l((function(t,n){r.ready().then((function(){B(r._dbInfo,D,(function(i,s){if(i)return n(i);try{var o=s.objectStore(r._dbInfo.storeName).delete(e);s.oncomplete=function(){t()},s.onerror=function(){n(o.error)},s.onabort=function(){var e=o.error?o.error:o.transaction.error;n(e)}}catch(a){n(a)}}))})).catch(n)}));return c(n,t),n}function U(e){var t=this,r=new l((function(e,r){t.ready().then((function(){B(t._dbInfo,D,(function(n,i){if(n)return r(n);try{var s=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){var e=s.error?s.error:s.transaction.error;r(e)}}catch(o){r(o)}}))})).catch(r)}));return c(r,e),r}function q(e){var t=this,r=new l((function(e,r){t.ready().then((function(){B(t._dbInfo,v,(function(n,i){if(n)return r(n);try{var s=i.objectStore(t._dbInfo.storeName).count();s.onsuccess=function(){e(s.result)},s.onerror=function(){r(s.error)}}catch(o){r(o)}}))})).catch(r)}));return c(r,e),r}function z(e,t){var r=this,n=new l((function(t,n){e<0?t(null):r.ready().then((function(){B(r._dbInfo,v,(function(i,s){if(i)return n(i);try{var o=s.objectStore(r._dbInfo.storeName),a=!1,u=o.openKeyCursor();u.onsuccess=function(){var r=u.result;r?0===e||a?t(r.key):(a=!0,r.advance(e)):t(null)},u.onerror=function(){n(u.error)}}catch(l){n(l)}}))})).catch(n)}));return c(n,t),n}function W(e){var t=this,r=new l((function(e,r){t.ready().then((function(){B(t._dbInfo,v,(function(n,i){if(n)return r(n);try{var s=i.objectStore(t._dbInfo.storeName).openKeyCursor(),o=[];s.onsuccess=function(){var t=s.result;t?(o.push(t.key),t.continue()):e(o)},s.onerror=function(){r(s.error)}}catch(a){r(a)}}))})).catch(r)}));return c(r,e),r}function G(e,t){t=d.apply(this,arguments);var r=this.config();(e="function"!==typeof e&&e||{}).name||(e.name=e.name||r.name,e.storeName=e.storeName||r.storeName);var n,i=this;if(e.name){var s=e.name===r.name&&i._dbInfo.db?l.resolve(i._dbInfo.db):T(e).then((function(t){var r=y[e.name],n=r.forages;r.db=t;for(var i=0;i<n.length;i++)n[i]._dbInfo.db=t;return t}));n=e.storeName?s.then((function(t){if(t.objectStoreNames.contains(e.storeName)){var r=t.version+1;C(e);var n=y[e.name],i=n.forages;t.close();for(var s=0;s<i.length;s++){var a=i[s];a._dbInfo.db=null,a._dbInfo.version=r}var u=new l((function(t,n){var i=o.open(e.name,r);i.onerror=function(e){i.result.close(),n(e)},i.onupgradeneeded=function(){i.result.deleteObjectStore(e.storeName)},i.onsuccess=function(){var e=i.result;e.close(),t(e)}}));return u.then((function(e){n.db=e;for(var t=0;t<i.length;t++){var r=i[t];r._dbInfo.db=e,w(r._dbInfo)}})).catch((function(t){throw(A(e,t)||l.resolve()).catch((function(){})),t}))}})):s.then((function(t){C(e);var r=y[e.name],n=r.forages;t.close();for(var i=0;i<n.length;i++)n[i]._dbInfo.db=null;var s=new l((function(t,r){var n=o.deleteDatabase(e.name);n.onerror=function(){var e=n.result;e&&e.close(),r(n.error)},n.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},n.onsuccess=function(){var e=n.result;e&&e.close(),t(e)}}));return s.then((function(e){r.db=e;for(var t=0;t<n.length;t++)w(n[t]._dbInfo)})).catch((function(t){throw(A(e,t)||l.resolve()).catch((function(){})),t}))}))}else n=l.reject("Invalid arguments");return c(n,t),n}var H={_driver:"asyncStorage",_initStorage:L,_support:a(),iterate:R,getItem:M,setItem:$,removeItem:V,clear:U,length:q,key:z,keys:W,dropInstance:G};function J(){return"function"===typeof openDatabase}var X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Q="~~local_forage_type~",K=/^~~local_forage_type~([^~]+)~/,Y="__lfsc__:",Z=Y.length,ee="arbf",te="blob",re="si08",ne="ui08",ie="uic8",se="si16",oe="si32",ae="ur16",ue="ui32",le="fl32",ce="fl64",pe=Z+ee.length,he=Object.prototype.toString;function de(e){var t,r,n,i,s,o=.75*e.length,a=e.length,u=0;"="===e[e.length-1]&&(o--,"="===e[e.length-2]&&o--);var l=new ArrayBuffer(o),c=new Uint8Array(l);for(t=0;t<a;t+=4)r=X.indexOf(e[t]),n=X.indexOf(e[t+1]),i=X.indexOf(e[t+2]),s=X.indexOf(e[t+3]),c[u++]=r<<2|n>>4,c[u++]=(15&n)<<4|i>>2,c[u++]=(3&i)<<6|63&s;return l}function fe(e){var t,r=new Uint8Array(e),n="";for(t=0;t<r.length;t+=3)n+=X[r[t]>>2],n+=X[(3&r[t])<<4|r[t+1]>>4],n+=X[(15&r[t+1])<<2|r[t+2]>>6],n+=X[63&r[t+2]];return r.length%3===2?n=n.substring(0,n.length-1)+"=":r.length%3===1&&(n=n.substring(0,n.length-2)+"=="),n}function me(e,t){var r="";if(e&&(r=he.call(e)),e&&("[object ArrayBuffer]"===r||e.buffer&&"[object ArrayBuffer]"===he.call(e.buffer))){var n,i=Y;e instanceof ArrayBuffer?(n=e,i+=ee):(n=e.buffer,"[object Int8Array]"===r?i+=re:"[object Uint8Array]"===r?i+=ne:"[object Uint8ClampedArray]"===r?i+=ie:"[object Int16Array]"===r?i+=se:"[object Uint16Array]"===r?i+=ae:"[object Int32Array]"===r?i+=oe:"[object Uint32Array]"===r?i+=ue:"[object Float32Array]"===r?i+=le:"[object Float64Array]"===r?i+=ce:t(new Error("Failed to get type for BinaryArray"))),t(i+fe(n))}else if("[object Blob]"===r){var s=new FileReader;s.onload=function(){var r=Q+e.type+"~"+fe(this.result);t(Y+te+r)},s.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(o){console.error("Couldn't convert value into a JSON string: ",e),t(null,o)}}function ye(e){if(e.substring(0,Z)!==Y)return JSON.parse(e);var t,r=e.substring(pe),n=e.substring(Z,pe);if(n===te&&K.test(r)){var i=r.match(K);t=i[1],r=r.substring(i[0].length)}var s=de(r);switch(n){case ee:return s;case te:return u([s],{type:t});case re:return new Int8Array(s);case ne:return new Uint8Array(s);case ie:return new Uint8ClampedArray(s);case se:return new Int16Array(s);case ae:return new Uint16Array(s);case oe:return new Int32Array(s);case ue:return new Uint32Array(s);case le:return new Float32Array(s);case ce:return new Float64Array(s);default:throw new Error("Unkown type: "+n)}}var ge={serialize:me,deserialize:ye,stringToBuffer:de,bufferToString:fe};function ve(e,t,r,n){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],r,n)}function De(e){var t=this,r={db:null};if(e)for(var n in e)r[n]="string"!==typeof e[n]?e[n].toString():e[n];var i=new l((function(e,n){try{r.db=openDatabase(r.name,String(r.version),r.description,r.size)}catch(i){return n(i)}r.db.transaction((function(i){ve(i,r,(function(){t._dbInfo=r,e()}),(function(e,t){n(t)}))}),n)}));return r.serializer=ge,i}function be(e,t,r,n,i,s){e.executeSql(r,n,i,(function(e,o){o.code===o.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,a){a.rows.length?s(e,o):ve(e,t,(function(){e.executeSql(r,n,i,s)}),s)}),s):s(e,o)}),s)}function Ee(e,t){var r=this;e=h(e);var n=new l((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){be(r,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,r){var n=r.rows.length?r.rows.item(0).value:null;n&&(n=i.serializer.deserialize(n)),t(n)}),(function(e,t){n(t)}))}))})).catch(n)}));return c(n,t),n}function xe(e,t){var r=this,n=new l((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){be(r,i,"SELECT * FROM "+i.storeName,[],(function(r,n){for(var s=n.rows,o=s.length,a=0;a<o;a++){var u=s.item(a),l=u.value;if(l&&(l=i.serializer.deserialize(l)),void 0!==(l=e(l,u.key,a+1)))return void t(l)}t()}),(function(e,t){n(t)}))}))})).catch(n)}));return c(n,t),n}function Ce(e,t,r,n){var i=this;e=h(e);var s=new l((function(s,o){i.ready().then((function(){void 0===t&&(t=null);var a=t,u=i._dbInfo;u.serializer.serialize(t,(function(t,l){l?o(l):u.db.transaction((function(r){be(r,u,"INSERT OR REPLACE INTO "+u.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){s(a)}),(function(e,t){o(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(n>0)return void s(Ce.apply(i,[e,a,r,n-1]));o(t)}}))}))})).catch(o)}));return c(s,r),s}function we(e,t,r){return Ce.apply(this,[e,t,r,1])}function Ae(e,t){var r=this;e=h(e);var n=new l((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){be(r,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){n(t)}))}))})).catch(n)}));return c(n,t),n}function Se(e){var t=this,r=new l((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){be(t,n,"DELETE FROM "+n.storeName,[],(function(){e()}),(function(e,t){r(t)}))}))})).catch(r)}));return c(r,e),r}function Te(e){var t=this,r=new l((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){be(t,n,"SELECT COUNT(key) as c FROM "+n.storeName,[],(function(t,r){var n=r.rows.item(0).c;e(n)}),(function(e,t){r(t)}))}))})).catch(r)}));return c(r,e),r}function Fe(e,t){var r=this,n=new l((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){be(r,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,r){var n=r.rows.length?r.rows.item(0).key:null;t(n)}),(function(e,t){n(t)}))}))})).catch(n)}));return c(n,t),n}function ke(e){var t=this,r=new l((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){be(t,n,"SELECT key FROM "+n.storeName,[],(function(t,r){for(var n=[],i=0;i<r.rows.length;i++)n.push(r.rows.item(i).key);e(n)}),(function(e,t){r(t)}))}))})).catch(r)}));return c(r,e),r}function Pe(e){return new l((function(t,r){e.transaction((function(n){n.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(r,n){for(var i=[],s=0;s<n.rows.length;s++)i.push(n.rows.item(s).name);t({db:e,storeNames:i})}),(function(e,t){r(t)}))}),(function(e){r(e)}))}))}function Ne(e,t){t=d.apply(this,arguments);var r=this.config();(e="function"!==typeof e&&e||{}).name||(e.name=e.name||r.name,e.storeName=e.storeName||r.storeName);var n,i=this;return c(n=e.name?new l((function(t){var n;n=e.name===r.name?i._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:n,storeNames:[e.storeName]}):t(Pe(n))})).then((function(e){return new l((function(t,r){e.db.transaction((function(n){function i(e){return new l((function(t,r){n.executeSql("DROP TABLE IF EXISTS "+e,[],(function(){t()}),(function(e,t){r(t)}))}))}for(var s=[],o=0,a=e.storeNames.length;o<a;o++)s.push(i(e.storeNames[o]));l.all(s).then((function(){t()})).catch((function(e){r(e)}))}),(function(e){r(e)}))}))})):l.reject("Invalid arguments"),t),n}var _e={_driver:"webSQLStorage",_initStorage:De,_support:J(),iterate:xe,getItem:Ee,setItem:we,removeItem:Ae,clear:Se,length:Te,key:Fe,keys:ke,dropInstance:Ne};function Oe(){try{return"undefined"!==typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}function Ie(e,t){var r=e.name+"/";return e.storeName!==t.storeName&&(r+=e.storeName+"/"),r}function Be(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(t){return!0}}function je(){return!Be()||localStorage.length>0}function Le(e){var t=this,r={};if(e)for(var n in e)r[n]=e[n];return r.keyPrefix=Ie(e,t._defaultConfig),je()?(t._dbInfo=r,r.serializer=ge,l.resolve()):l.reject()}function Me(e){var t=this,r=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,r=localStorage.length-1;r>=0;r--){var n=localStorage.key(r);0===n.indexOf(e)&&localStorage.removeItem(n)}}));return c(r,e),r}function Re(e,t){var r=this;e=h(e);var n=r.ready().then((function(){var t=r._dbInfo,n=localStorage.getItem(t.keyPrefix+e);return n&&(n=t.serializer.deserialize(n)),n}));return c(n,t),n}function $e(e,t){var r=this,n=r.ready().then((function(){for(var t=r._dbInfo,n=t.keyPrefix,i=n.length,s=localStorage.length,o=1,a=0;a<s;a++){var u=localStorage.key(a);if(0===u.indexOf(n)){var l=localStorage.getItem(u);if(l&&(l=t.serializer.deserialize(l)),void 0!==(l=e(l,u.substring(i),o++)))return l}}}));return c(n,t),n}function Ve(e,t){var r=this,n=r.ready().then((function(){var t,n=r._dbInfo;try{t=localStorage.key(e)}catch(i){t=null}return t&&(t=t.substring(n.keyPrefix.length)),t}));return c(n,t),n}function Ue(e){var t=this,r=t.ready().then((function(){for(var e=t._dbInfo,r=localStorage.length,n=[],i=0;i<r;i++){var s=localStorage.key(i);0===s.indexOf(e.keyPrefix)&&n.push(s.substring(e.keyPrefix.length))}return n}));return c(r,e),r}function qe(e){var t=this.keys().then((function(e){return e.length}));return c(t,e),t}function ze(e,t){var r=this;e=h(e);var n=r.ready().then((function(){var t=r._dbInfo;localStorage.removeItem(t.keyPrefix+e)}));return c(n,t),n}function We(e,t,r){var n=this;e=h(e);var i=n.ready().then((function(){void 0===t&&(t=null);var r=t;return new l((function(i,s){var o=n._dbInfo;o.serializer.serialize(t,(function(t,n){if(n)s(n);else try{localStorage.setItem(o.keyPrefix+e,t),i(r)}catch(a){"QuotaExceededError"!==a.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==a.name||s(a),s(a)}}))}))}));return c(i,r),i}function Ge(e,t){if(t=d.apply(this,arguments),!(e="function"!==typeof e&&e||{}).name){var r=this.config();e.name=e.name||r.name,e.storeName=e.storeName||r.storeName}var n,i=this;return n=e.name?new l((function(t){e.storeName?t(Ie(e,i._defaultConfig)):t(e.name+"/")})).then((function(e){for(var t=localStorage.length-1;t>=0;t--){var r=localStorage.key(t);0===r.indexOf(e)&&localStorage.removeItem(r)}})):l.reject("Invalid arguments"),c(n,t),n}var He={_driver:"localStorageWrapper",_initStorage:Le,_support:Oe(),iterate:$e,getItem:Re,setItem:We,removeItem:ze,clear:Me,length:qe,key:Ve,keys:Ue,dropInstance:Ge},Je=function(e,t){return e===t||"number"===typeof e&&"number"===typeof t&&isNaN(e)&&isNaN(t)},Xe=function(e,t){for(var r=e.length,n=0;n<r;){if(Je(e[n],t))return!0;n++}return!1},Qe=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},Ke={},Ye={},Ze={INDEXEDDB:H,WEBSQL:_e,LOCALSTORAGE:He},et=[Ze.INDEXEDDB._driver,Ze.WEBSQL._driver,Ze.LOCALSTORAGE._driver],tt=["dropInstance"],rt=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(tt),nt={description:"",driver:et.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function it(e,t){e[t]=function(){var r=arguments;return e.ready().then((function(){return e[t].apply(e,r)}))}}function st(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var r in t)t.hasOwnProperty(r)&&(Qe(t[r])?arguments[0][r]=t[r].slice():arguments[0][r]=t[r])}return arguments[0]}var ot=function(){function e(t){for(var r in i(this,e),Ze)if(Ze.hasOwnProperty(r)){var n=Ze[r],s=n._driver;this[r]=s,Ke[s]||this.defineDriver(n)}this._defaultConfig=st({},nt),this._config=st({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return e.prototype.config=function(e){if("object"===("undefined"===typeof e?"undefined":n(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!==typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"===typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,r){var n=new l((function(t,r){try{var n=e._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void r(i);for(var s=rt.concat("_initStorage"),o=0,a=s.length;o<a;o++){var u=s[o];if((!Xe(tt,u)||e[u])&&"function"!==typeof e[u])return void r(i)}var p=function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),r=l.reject(t);return c(r,arguments[arguments.length-1]),r}},r=0,n=tt.length;r<n;r++){var i=tt[r];e[i]||(e[i]=t(i))}};p();var h=function(r){Ke[n]&&console.info("Redefining LocalForage driver: "+n),Ke[n]=e,Ye[n]=r,t()};"_support"in e?e._support&&"function"===typeof e._support?e._support().then(h,r):h(!!e._support):h(!0)}catch(d){r(d)}}));return p(n,t,r),n},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,r){var n=Ke[e]?l.resolve(Ke[e]):l.reject(new Error("Driver not found."));return p(n,t,r),n},e.prototype.getSerializer=function(e){var t=l.resolve(ge);return p(t,e),t},e.prototype.ready=function(e){var t=this,r=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return p(r,e,e),r},e.prototype.setDriver=function(e,t,r){var n=this;Qe(e)||(e=[e]);var i=this._getSupportedDrivers(e);function s(){n._config.driver=n.driver()}function o(e){return n._extend(e),s(),n._ready=n._initStorage(n._config),n._ready}function a(e){return function(){var t=0;function r(){for(;t<e.length;){var i=e[t];return t++,n._dbInfo=null,n._ready=null,n.getDriver(i).then(o).catch(r)}s();var a=new Error("No available storage method found.");return n._driverSet=l.reject(a),n._driverSet}return r()}}var u=null!==this._driverSet?this._driverSet.catch((function(){return l.resolve()})):l.resolve();return this._driverSet=u.then((function(){var e=i[0];return n._dbInfo=null,n._ready=null,n.getDriver(e).then((function(e){n._driver=e._driver,s(),n._wrapLibraryMethodsWithReady(),n._initDriver=a(i)}))})).catch((function(){s();var e=new Error("No available storage method found.");return n._driverSet=l.reject(e),n._driverSet})),p(this._driverSet,t,r),this._driverSet},e.prototype.supports=function(e){return!!Ye[e]},e.prototype._extend=function(e){st(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],r=0,n=e.length;r<n;r++){var i=e[r];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=rt.length;e<t;e++)it(this,rt[e])},e.prototype.createInstance=function(t){return new e(t)},e}(),at=new ot;t.exports=at},{3:3}]},{},[4])(4)},4865:function(e,t,r){var n,i;n=function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function r(e,t,r){return e<t?t:e>r?r:e}function n(e){return 100*(-1+e)}function i(e,r,i){var s;return(s="translate3d"===t.positionUsing?{transform:"translate3d("+n(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+n(e)+"%,0)"}:{"margin-left":n(e)+"%"}).transition="all "+r+"ms "+i,s}e.configure=function(e){var r,n;for(r in e)void 0!==(n=e[r])&&e.hasOwnProperty(r)&&(t[r]=n);return this},e.status=null,e.set=function(n){var a=e.isStarted();n=r(n,t.minimum,1),e.status=1===n?null:n;var u=e.render(!a),l=u.querySelector(t.barSelector),c=t.speed,p=t.easing;return u.offsetWidth,s((function(r){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),o(l,i(n,c,p)),1===n?(o(u,{transition:"none",opacity:1}),u.offsetWidth,setTimeout((function(){o(u,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){e.remove(),r()}),c)}),c)):setTimeout(r,c)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var r=function(){setTimeout((function(){e.status&&(e.trickle(),r())}),t.trickleSpeed)};return t.trickle&&r(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var n=e.status;return n?("number"!==typeof t&&(t=(1-n)*r(Math.random()*n,.1,.95)),n=r(n+t,0,.994),e.set(n)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,r=0;e.promise=function(n){return n&&"resolved"!==n.state()?(0===r&&e.start(),t++,r++,n.always((function(){0===--r?(t=0,e.done()):e.set((t-r)/t)})),this):this}}(),e.render=function(r){if(e.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=t.template;var s,a=i.querySelector(t.barSelector),l=r?"-100":n(e.status||0),c=document.querySelector(t.parent);return o(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),t.showSpinner||(s=i.querySelector(t.spinnerSelector))&&p(s),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(i),i},e.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var r=e.shift();r&&r(t)}return function(r){e.push(r),1==e.length&&t()}}(),o=function(){var e=["Webkit","O","Moz","ms"],t={};function r(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function n(t){var r=document.body.style;if(t in r)return t;for(var n,i=e.length,s=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((n=e[i]+s)in r)return n;return t}function i(e){return e=r(e),t[e]||(t[e]=n(e))}function s(e,t,r){t=i(t),e.style[t]=r}return function(e,t){var r,n,i=arguments;if(2==i.length)for(r in t)void 0!==(n=t[r])&&t.hasOwnProperty(r)&&s(e,r,n);else s(e,i[1],i[2])}}();function a(e,t){return("string"==typeof e?e:c(e)).indexOf(" "+t+" ")>=0}function u(e,t){var r=c(e),n=r+t;a(r,t)||(e.className=n.substring(1))}function l(e,t){var r,n=c(e);a(e,t)&&(r=n.replace(" "+t+" "," "),e.className=r.substring(1,r.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e},void 0===(i="function"===typeof n?n.call(t,r,t,e):n)||(e.exports=i)},1952:function(e,t,r){"use strict";r.d(t,{dP:function(){return j},re:function(){return R}});var n=r(657);let i=null;const s={};let o=1;function a(e){try{return e()}catch(t){}}const u="@wry/context:Slot",l=a((()=>globalThis))||a((()=>global))||Object.create(null),c=l[u]||Array[u]||function(e){try{Object.defineProperty(l,u,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=i;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===s)break;return e!==i&&(i.slots[this.id]=t),!0}return i&&(i.slots[this.id]=s),!1}getValue(){if(this.hasValue())return i.slots[this.id]}withValue(e,t,r,n){const s={__proto__:null,[this.id]:e},o=i;i={parent:o,slots:s};try{return t.apply(n,r)}finally{i=o}}static bind(e){const t=i;return function(){const r=i;try{return i=t,e.apply(this,arguments)}finally{i=r}}}static noContext(e,t,r){if(!i)return e.apply(r,t);{const n=i;try{return i=null,e.apply(r,t)}finally{i=n}}}}),{bind:p,noContext:h}=c;function d(){}var f,m=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=d),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t},e.prototype.set=function(e,t){var r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),y=new c,g=Object.prototype.hasOwnProperty,v=void 0===(f=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:f;function D(e){var t=e.unsubscribe;"function"===typeof t&&(e.unsubscribe=void 0,t())}var b=[];function E(e,t){if(!e)throw new Error(t||"assertion failure")}function x(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var C=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!S(this))return w(this),this.value[0]},e.prototype.recompute=function(e){return E(!this.recomputing,"already recomputing"),w(this),S(this)?function(e,t){O(e),y.withValue(e,A,[e,t]),function(e,t){if("function"===typeof e.subscribe)try{D(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(r){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,S(e))return;F(e)}(e);return x(e.value)}(this,e):x(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,T(this),D(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),O(this),k(this,(function(t,r){t.setDirty(),I(t,e)}))},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=b.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(v(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),b.push(this.deps),this.deps=null)},e.count=0,e}();function w(e){var t=y.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),S(e)?P(t,e):N(t,e),t}function A(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(r){e.value[1]=r}e.recomputing=!1}function S(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function T(e){k(e,P)}function F(e){k(e,N)}function k(e,t){var r=e.parents.size;if(r)for(var n=v(e.parents),i=0;i<r;++i)t(n[i],e)}function P(e,t){E(e.childValues.has(t)),E(S(t));var r=!S(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=b.pop()||new Set;e.dirtyChildren.add(t),r&&T(e)}function N(e,t){E(e.childValues.has(t)),E(!S(t));var r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):function(e,t){var r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}(r,t.value)||e.setDirty(),_(e,t),S(e)||F(e)}function _(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(b.length<100&&b.push(r),e.dirtyChildren=null))}function O(e){e.childValues.size>0&&e.childValues.forEach((function(t,r){I(e,r)})),e.forgetDeps(),E(null===e.dirtyChildren)}function I(e,t){t.parents.delete(e),e.childValues.delete(t),_(e,t)}var B={setDirty:!0,dispose:!0,forget:!0};function j(e){var t=new Map,r=e&&e.subscribe;function n(e){var n=y.getValue();if(n){var i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"===typeof r&&(D(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){var n=t.get(e);if(n){var i=r&&g.call(B,r)?r:"setDirty";v(n).forEach((function(e){return e[i]()})),t.delete(e),D(n)}},n}function L(){var e=new n.B("function"===typeof WeakMap);return function(){return e.lookupArray(arguments)}}L();var M=new Set;function R(e,t){void 0===t&&(t=Object.create(null));var r=new m(t.max||Math.pow(2,16),(function(e){return e.dispose()})),n=t.keyArgs,i=t.makeCacheKey||L(),s=function(){var s=i.apply(null,n?n.apply(null,arguments):arguments);if(void 0===s)return e.apply(null,arguments);var o=r.get(s);o||(r.set(s,o=new C(e)),o.subscribe=t.subscribe,o.forget=function(){return r.delete(s)});var a=o.recompute(Array.prototype.slice.call(arguments));return r.set(s,o),M.add(r),y.hasValue()||(M.forEach((function(e){return e.clean()})),M.clear()),a};function o(e){var t=r.get(e);t&&t.setDirty()}function a(e){var t=r.get(e);if(t)return t.peek()}function u(e){return r.delete(e)}return Object.defineProperty(s,"size",{get:function(){return r.map.size},configurable:!1,enumerable:!1}),s.dirtyKey=o,s.dirty=function(){o(i.apply(null,arguments))},s.peekKey=a,s.peek=function(){return a(i.apply(null,arguments))},s.forgetKey=u,s.forget=function(){return u(i.apply(null,arguments))},s.makeCacheKey=i,s.getKey=n?function(){return i.apply(null,n.apply(null,arguments))}:i,Object.freeze(s)}},8182: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 n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),s=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=e(((e,t)=>{var r=s(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),a=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),u=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(),n=Function.prototype,i=n.call,o=r&&n.bind.bind(i,i);t.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}})),c=e(((e,t)=>{var r=l(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,t)=>{var r=l(),i=n(),s=c(),o=Object,a=r("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a(e,""):o(e)}:o})),h=e(((e,t)=>{t.exports=function(e){return null==e}})),d=e(((e,t)=>{var r=h(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),f=e(((e,t)=>{var r=p(),n=d();t.exports=function(e){return r(n(e))}})),m=e(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),y=e(((e,t)=>{var r=m(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),g=e(((e,t)=>{var r=y(),n=m(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),v=e(((e,r)=>{var n=t(),i=y(),s=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}})),D=e(((e,t)=>{var r=l();t.exports=r({}.isPrototypeOf)})),b=e(((e,t)=>{var r=v();t.exports=r("navigator","userAgent")||""})),E=e(((e,r)=>{var n,i,s=t(),o=b(),a=s.process,u=s.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),x=e(((e,t)=>{var r=E(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),C=e(((e,t)=>{var r=x();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),w=e(((e,t)=>{var r=v(),n=y(),i=D(),s=C(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),A=e(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),S=e(((e,t)=>{var r=y(),n=A(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),T=e(((e,t)=>{var r=S(),n=h();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),F=e(((e,t)=>{var r=o(),n=y(),i=g(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),k=e(((e,t)=>{t.exports=!1})),P=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),N=e(((e,r)=>{var n=t(),i=P(),s="__core-js_shared__",o=n[s]||i(s,{});r.exports=o})),_=e(((e,t)=>{var r=k(),n=N();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"\xa9 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=d(),n=Object;t.exports=function(e){return n(r(e))}})),I=e(((e,t)=>{var r=l(),n=O(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),B=e(((e,t)=>{var r=l(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),j=e(((e,r)=>{var n=t(),i=_(),s=I(),o=B(),a=x(),u=C(),l=i("wks"),c=n.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||o;r.exports=function(e){if(!s(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&s(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),L=e(((e,t)=>{var r=o(),n=g(),i=w(),s=T(),a=F(),u=j(),l=TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var o,u=s(e,c);if(u){if(void 0===t&&(t="default"),o=r(u,e,t),!n(o)||i(o))return o;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}})),M=e(((e,t)=>{var r=L(),n=w();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),R=e(((e,r)=>{var n=t(),i=g(),s=n.document,o=i(s)&&i(s.createElement);r.exports=function(e){return o?s.createElement(e):{}}})),$=e(((e,t)=>{var r=i(),s=n(),o=R();t.exports=!r&&!s((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),V=e((e=>{var t=i(),r=o(),n=a(),s=u(),l=f(),c=M(),p=I(),h=$(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=l(e),t=c(t),h)try{return d(e,t)}catch{}if(p(e,t))return s(!r(n.f,e,t),e[t])}})),U=e(((e,t)=>{var r=i(),s=n();t.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),q=e(((e,t)=>{var r=g(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),z=e((e=>{var t=i(),r=$(),n=U(),s=q(),o=M(),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(s(e),t=o(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(s(e),t=o(t),s(n),r)try{return u(e,t,n)}catch{}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),W=e(((e,t)=>{var r=i(),n=z(),s=u();t.exports=r?function(e,t,r){return n.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}})),G=e(((e,t)=>{var r=i(),n=I(),s=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=n(s,"name"),u=a&&"something"===function(){}.name,l=a&&(!r||r&&o(s,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:l}})),H=e(((e,t)=>{var r=l(),n=y(),i=N(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),J=e(((e,r)=>{var n=t(),i=y(),s=n.WeakMap;r.exports=i(s)&&/native code/.test(String(s))})),X=e(((e,t)=>{var r=_(),n=B(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),Q=e(((e,t)=>{t.exports={}})),K=e(((e,r)=>{var n,i,s,o,a,u=J(),l=t(),c=g(),p=W(),h=I(),d=N(),f=X(),m=Q(),y="Object already initialized",v=l.TypeError,D=l.WeakMap,b=function(e){return s(e)?i(e):n(e,{})},E=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return r}};u||d.state?((o=d.state||(d.state=new D)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw v(y);return t.facade=e,o.set(e,t),t},i=function(e){return o.get(e)||{}},s=function(e){return o.has(e)}):(m[a=f("state")]=!0,n=function(e,t){if(h(e,a))throw v(y);return t.facade=e,p(e,a,t),t},i=function(e){return h(e,a)?e[a]:{}},s=function(e){return h(e,a)}),r.exports={set:n,get:i,has:s,enforce:b,getterFor:E}})),Y=e(((e,t)=>{var r=n(),s=y(),o=I(),a=i(),u=G().CONFIGURABLE,l=H(),c=K(),p=c.enforce,h=c.get,d=Object.defineProperty,f=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),g=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),(!o(e,"name")||u&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&o(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return o(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return s(this)&&h(this).source||l(this)}),"toString")})),Z=e(((e,t)=>{var r=y(),n=z(),i=Y(),s=P();t.exports=function(e,t,o,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:t;if(r(o)&&i(o,l,a),a.global)u?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),ee=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n: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(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),ne=e(((e,t)=>{var r=te(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ie=e(((e,t)=>{var r=ne();t.exports=function(e){return r(e.length)}})),se=e(((e,t)=>{var r=f(),n=re(),i=ie(),s=function(e){return function(t,s,o){var a,u=r(t),l=i(u),c=n(o,l);if(e&&s!=s){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),oe=e(((e,t)=>{var r=l(),n=I(),i=f(),s=se().indexOf,o=Q(),a=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(o,r)&&n(u,r)&&a(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||a(c,r));return c}})),ae=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ue=e((e=>{var t=oe(),r=ae().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),le=e((e=>{e.f=Object.getOwnPropertySymbols})),ce=e(((e,t)=>{var r=v(),n=l(),i=ue(),s=le(),o=q(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),pe=e(((e,t)=>{var r=I(),n=ce(),i=V(),s=z();t.exports=function(e,t,o){for(var a=n(t),u=s.f,l=i.f,c=0;c<a.length;c++){var p=a[c];!r(e,p)&&(!o||!r(o,p))&&u(e,p,l(t,p))}}})),he=e(((e,t)=>{var r=n(),i=y(),s=/#|\.prototype\./,o=function(e,t){var n=u[a(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),de=e(((e,r)=>{var n=t(),i=V().f,s=W(),o=Z(),a=P(),u=pe(),l=he();r.exports=function(e,t){var r,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(r=m?n:y?n[f]||a(f,{}):(n[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=i(r,c))&&d.value:r[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&s(h,"sham",!0),o(r,c,h,e)}}})),fe=e((()=>{var e=de(),r=t();e({global:!0,forced:r.globalThis!==r},{globalThis:r})})),me=e((()=>{fe()})),ye=e(((e,t)=>{var r=Y(),n=z();t.exports=function(e,t,i){return i.get&&r(i.get,t,{getter:!0}),i.set&&r(i.set,t,{setter:!0}),n.f(e,t,i)}})),ge=e(((e,t)=>{var r=q();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}})),ve=e((()=>{var e=t(),r=i(),s=ye(),o=ge(),a=n(),u=e.RegExp,l=u.prototype;r&&a((function(){var e=!0;try{u(".","d")}catch{e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(s.hasIndices="d"),s)i(o,s[o]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==n||r!==n}))&&s(l,"flags",{configurable:!0,get:o})})),De=e(((e,t)=>{var r=c();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),be=e(((e,t)=>{var r=TypeError,n=9007199254740991;t.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}})),Ee=e(((e,t)=>{var r=c(),n=l();t.exports=function(e){if("Function"===r(e))return n(e)}})),xe=e(((e,t)=>{var r=Ee(),n=S(),i=s(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),Ce=e(((e,t)=>{var r=De(),n=ie(),i=be(),s=xe(),o=function(e,t,a,u,l,c,p,h){for(var d,f,m=l,y=0,g=!!p&&s(p,h);y<u;)y in a&&(d=g?g(a[y],y,t):a[y],c>0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),y++;return m};t.exports=o})),we=e(((e,t)=>{var r={};r[j()("toStringTag")]="z",t.exports="[object z]"===String(r)})),Ae=e(((e,t)=>{var r=we(),n=y(),i=c(),s=j()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch{}};t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}})),Se=e(((e,t)=>{var r=l(),i=n(),s=y(),o=Ae(),a=v(),u=H(),c=function(){},p=[],h=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),m=!d.exec(c),g=function(e){if(!s(e))return!1;try{return h(c,p,e),!0}catch{return!1}},D=function(e){if(!s(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(d,u(e))}catch{return!0}};D.sham=!0,t.exports=!h||i((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?D:g})),Te=e(((e,t)=>{var r=De(),n=Se(),i=g(),s=j()("species"),o=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(n(t)&&(t===o||r(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}})),Fe=e(((e,t)=>{var r=Te();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),ke=e((()=>{var e=de(),t=Ce(),r=S(),n=O(),i=ie(),s=Fe();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),u=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,u,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Pe=e(((e,t)=>{me(),ve(),ke();var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,o=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},a=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},u=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l=(e,t,o,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of i(t))!s.call(e,u)&&u!==o&&r(e,u,{get:()=>t[u],enumerable:!(a=n(t,u))||a.enumerable});return e},c=e=>l(r({},"__esModule",{value:!0}),e),p=o({"<define:process>"(){}}),h=a({"src/utils/try-combinations.js"(e,t){function r(){let e;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(let[s,o]of r.entries())try{return{result:o()}}catch(i){0===s&&(e=i)}return{error:e}}p(),t.exports=r}}),d=a({"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)}p(),t.exports=r}}),f=a({"src/utils/text/skip-inline-comment.js"(e,t){function r(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}p(),t.exports=r}}),m=a({"src/utils/text/skip-newline.js"(e,t){function r(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}p(),t.exports=r}}),y=a({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}p();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),g=a({"src/utils/text/skip-trailing-comment.js"(e,t){p();var{skipEverythingButNewLine:r}=y();function n(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}t.exports=n}}),v=a({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){p();var r=f(),n=m(),i=g(),{skipSpaces:s}=y();function o(e,t){let o=null,a=t;for(;a!==o;)o=a,a=s(e,a),a=r(e,a),a=i(e,a),a=n(e,a);return a}t.exports=o}}),D={};function b(){if(typeof 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])I="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");I="LE"}}return I}function E(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function x(){return[]}function C(){return 0}function w(){return Number.MAX_VALUE}function A(){return Number.MAX_VALUE}function S(){return[]}function T(){return"Browser"}function F(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function k(){}function P(){}function N(){return"javascript"}function _(){return"browser"}function O(){return"/tmp"}u(D,{EOL:()=>j,arch:()=>N,cpus:()=>S,default:()=>L,endianness:()=>b,freemem:()=>w,getNetworkInterfaces:()=>P,hostname:()=>E,loadavg:()=>x,networkInterfaces:()=>k,platform:()=>_,release:()=>F,tmpDir:()=>O,tmpdir:()=>B,totalmem:()=>A,type:()=>T,uptime:()=>C});var I,B,j,L,M=o({"node-modules-polyfills:os"(){p(),L={EOL:j="\n",tmpdir:B=O,tmpDir:O,networkInterfaces:k,getNetworkInterfaces:P,release:F,type:T,cpus:S,totalmem:A,freemem:w,uptime:C,loadavg:x,hostname:E,endianness:b}}}),R=a({"node-modules-polyfills-commonjs:os"(e,t){p();var r=(M(),c(D));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),$=a({"node_modules/detect-newline/index.js"(e,t){p();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"}}),V=a({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=R();return t=function(){return e},e}function r(){let e=n($());return r=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}p(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=f,e.parse=y,e.parseWithComments=g,e.print=v,e.strip=m;var i=/\*\/$/,s=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,d=[];function f(e){let t=e.match(o);return t?t[0].trimLeft():""}function m(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function y(e){return g(e).pragmas}function g(e){let n=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(i,"").replace(h,"$1");let o="";for(;o!==e;)o=e,e=e.replace(l,`${n}$1 $2${n}`);e=e.replace(u,"").trimRight();let p,f=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();for(;p=c.exec(e);){let e=p[2].replace(a,"");"string"==typeof f[p[1]]||Array.isArray(f[p[1]])?f[p[1]]=d.concat(f[p[1]],e):f[p[1]]=e}return{comments:m,pragmas:f}}function v(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o="/**",a=" *",u=" */",l=Object.keys(i),c=l.map((e=>D(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${a} ${e}${s}`)).join("");if(!n){if(0===l.length)return"";if(1===l.length&&!Array.isArray(i[l[0]])){let e=i[l[0]];return`${o} ${D(l[0],e)[0]}${u}`}}let p=n.split(s).map((e=>`${a} ${e}`)).join(s)+s;return o+s+(n?p:"")+(n&&l.length?a+s:"")+c+u}function D(e,t){return d.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),U=a({"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 n(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(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 n=e.match(r);return n?n.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}p(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:n,countEndOfLineChars:i,normalizeEndOfLine:s}}}),q=a({"src/language-js/pragma.js"(e,t){p();var{parseWithComments:r,strip:n,extract:i,print:s}=V(),{normalizeEndOfLine:o}=U(),a=d();function u(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}function l(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")}function c(e){let{shebang:t,text:r,pragmas:i,comments:a}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:c}}}),z=a({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}p(),t.exports=r}}),W=a({"src/language-js/loc.js"(e,t){p();var r=z();function n(e){var t,i;let s=e.range?e.range[0]:e.start,o=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return r(o)?Math.min(n(o[0]),s):s}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}function o(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}function a(e,t){return s(e,t)&&o(e,t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:a}}}),G=a({"src/language-js/parse/utils/create-parser.js"(e,t){p();var{hasPragma:r}=q(),{locStart:n,locEnd:i}=W();function s(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:r,locStart:n,locEnd:i},e)}t.exports=s}}),H=a({"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}p(),t.exports=r}}),J=a({"src/language-js/parse/utils/create-babel-parse-error.js"(e,t){p();var r=H();function n(e){let{message:t,loc:n}=e;return r(t.replace(/ \(.*\)/,""),{start:{line:n?n.line:0,column:n?n.column+1:0}})}t.exports=n}}),X=a({"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")}p(),t.exports=r}}),Q=a({"src/language-js/utils/is-block-comment.js"(e,t){p();var r=new Set(["Block","CommentBlock","MultiLine"]),n=e=>r.has(null==e?void 0:e.type);t.exports=n}}),K=a({"src/language-js/utils/is-type-cast-comment.js"(e,t){p();var r=Q();function n(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}t.exports=n}}),Y=a({"src/utils/get-last.js"(e,t){p();var r=e=>e[e.length-1];t.exports=r}}),Z=a({"src/language-js/parse/postprocess/visit-node.js"(e,t){function r(e,t){if(Array.isArray(e)){for(let n=0;n<e.length;n++)e[n]=r(e[n],t);return e}if(e&&"object"==typeof e&&"string"==typeof e.type){let n=Object.keys(e);for(let i=0;i<n.length;i++)e[n[i]]=r(e[n[i]],t);return t(e)||e}return e}p(),t.exports=r}}),ee=a({"src/language-js/parse/postprocess/throw-syntax-error.js"(e,t){p();var r=H();function n(e,t){let{start:n,end:i}=e.loc;throw r(t,{start:{line:n.line,column:n.column+1},end:{line:i.line,column:i.column+1}})}t.exports=n}}),te=a({"src/language-js/parse/postprocess/index.js"(e,t){p();var{locStart:r,locEnd:n}=W(),i=X(),s=K(),o=Y(),a=Z(),u=ee();function l(e,t){if("typescript"!==t.parser&&"flow"!==t.parser&&"acorn"!==t.parser&&"espree"!==t.parser&&"meriyah"!==t.parser){let t=new Set;e=a(e,(e=>{e.leadingComments&&e.leadingComments.some(s)&&t.add(r(e))})),e=a(e,(e=>{if("ParenthesizedExpression"===e.type){let{expression:n}=e;if("TypeCastExpression"===n.type)return n.range=e.range,n;let i=r(e);if(!t.has(i))return n.extra=Object.assign(Object.assign({},n.extra),{},{parenthesized:!0}),n}}))}return e=a(e,(e=>{switch(e.type){case"ChainExpression":return c(e.expression);case"LogicalExpression":if(h(e))return d(e);break;case"VariableDeclaration":{let t=o(e.declarations);t&&t.init&&l(e,t);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[r(e),n(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&&u(t.value,"Unexpected token.")}break;case"SequenceExpression":{let t=o(e.expressions);e.range=[r(e),Math.min(n(t),n(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let s=t.originalText.slice(r(i),n(i));(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",n=r(e);Object.assign(e,{static:!1,key:{type:"Identifier",name:t,range:[n,n+t.length]}})}}}));function l(e,i){";"!==t.originalText[n(i)]&&(e.range=[r(e),n(i)])}}function c(e){switch(e.type){case"CallExpression":e.type="OptionalCallExpression",e.callee=c(e.callee);break;case"MemberExpression":e.type="OptionalMemberExpression",e.object=c(e.object);break;case"TSNonNullExpression":e.expression=c(e.expression)}return e}function h(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function d(e){return h(e)?d({type:"LogicalExpression",operator:e.operator,left:d({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[r(e.left),n(e.right.left)]}),right:e.right.right,range:[r(e),n(e)]}):e}t.exports=l}}),re=a({"node_modules/@babel/parser/lib/index.js"(e){p(),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 n of Object.keys(t))r[n]=e&&null!=e[n]?e[n]:t[n];return r}var n=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},i={brace:new n("{"),j_oTag:new n("<tag"),j_cTag:new n("</tag"),j_expr:new n("<tag>...</tag>",!0)};i.template=new n("`",!0);var s=!0,o=!0,a=!0,u=!0,l=!0,c=!0,h=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}},d=new Map;function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;let r=C(e,t);return d.set(e,r),r}function m(e,t){return C(e,{beforeExpr:s,binop:t})}var y=-1,g=[],v=[],D=[],b=[],E=[],x=[];function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,s;return++y,v.push(e),D.push(null!=(r=t.binop)?r:-1),b.push(null!=(n=t.beforeExpr)&&n),E.push(null!=(i=t.startsExpr)&&i),x.push(null!=(s=t.prefix)&&s),g.push(new h(e,t)),y}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,s;return++y,d.set(e,y),v.push(e),D.push(null!=(r=t.binop)?r:-1),b.push(null!=(n=t.beforeExpr)&&n),E.push(null!=(i=t.startsExpr)&&i),x.push(null!=(s=t.prefix)&&s),g.push(new h("name",t)),y}var A={bracketL:C("[",{beforeExpr:s,startsExpr:o}),bracketHashL:C("#[",{beforeExpr:s,startsExpr:o}),bracketBarL:C("[|",{beforeExpr:s,startsExpr:o}),bracketR:C("]"),bracketBarR:C("|]"),braceL:C("{",{beforeExpr:s,startsExpr:o}),braceBarL:C("{|",{beforeExpr:s,startsExpr:o}),braceHashL:C("#{",{beforeExpr:s,startsExpr:o}),braceR:C("}"),braceBarR:C("|}"),parenL:C("(",{beforeExpr:s,startsExpr:o}),parenR:C(")"),comma:C(",",{beforeExpr:s}),semi:C(";",{beforeExpr:s}),colon:C(":",{beforeExpr:s}),doubleColon:C("::",{beforeExpr:s}),dot:C("."),question:C("?",{beforeExpr:s}),questionDot:C("?."),arrow:C("=>",{beforeExpr:s}),template:C("template"),ellipsis:C("...",{beforeExpr:s}),backQuote:C("`",{startsExpr:o}),dollarBraceL:C("${",{beforeExpr:s,startsExpr:o}),templateTail:C("...`",{startsExpr:o}),templateNonTail:C("...${",{beforeExpr:s,startsExpr:o}),at:C("@"),hash:C("#",{startsExpr:o}),interpreterDirective:C("#!..."),eq:C("=",{beforeExpr:s,isAssign:u}),assign:C("_=",{beforeExpr:s,isAssign:u}),slashAssign:C("_=",{beforeExpr:s,isAssign:u}),xorAssign:C("_=",{beforeExpr:s,isAssign:u}),moduloAssign:C("_=",{beforeExpr:s,isAssign:u}),incDec:C("++/--",{prefix:l,postfix:c,startsExpr:o}),bang:C("!",{beforeExpr:s,prefix:l,startsExpr:o}),tilde:C("~",{beforeExpr:s,prefix:l,startsExpr:o}),doubleCaret:C("^^",{startsExpr:o}),doubleAt:C("@@",{startsExpr:o}),pipeline:m("|>",0),nullishCoalescing:m("??",1),logicalOR:m("||",1),logicalAND:m("&&",2),bitwiseOR:m("|",3),bitwiseXOR:m("^",4),bitwiseAND:m("&",5),equality:m("==/!=/===/!==",6),lt:m("</>/<=/>=",7),gt:m("</>/<=/>=",7),relational:m("</>/<=/>=",7),bitShift:m("<</>>/>>>",8),bitShiftL:m("<</>>/>>>",8),bitShiftR:m("<</>>/>>>",8),plusMin:C("+/-",{beforeExpr:s,binop:9,prefix:l,startsExpr:o}),modulo:C("%",{binop:10,startsExpr:o}),star:C("*",{binop:10}),slash:m("/",10),exponent:C("**",{beforeExpr:s,binop:11,rightAssociative:!0}),_in:f("in",{beforeExpr:s,binop:7}),_instanceof:f("instanceof",{beforeExpr:s,binop:7}),_break:f("break"),_case:f("case",{beforeExpr:s}),_catch:f("catch"),_continue:f("continue"),_debugger:f("debugger"),_default:f("default",{beforeExpr:s}),_else:f("else",{beforeExpr:s}),_finally:f("finally"),_function:f("function",{startsExpr:o}),_if:f("if"),_return:f("return",{beforeExpr:s}),_switch:f("switch"),_throw:f("throw",{beforeExpr:s,prefix:l,startsExpr:o}),_try:f("try"),_var:f("var"),_const:f("const"),_with:f("with"),_new:f("new",{beforeExpr:s,startsExpr:o}),_this:f("this",{startsExpr:o}),_super:f("super",{startsExpr:o}),_class:f("class",{startsExpr:o}),_extends:f("extends",{beforeExpr:s}),_export:f("export"),_import:f("import",{startsExpr:o}),_null:f("null",{startsExpr:o}),_true:f("true",{startsExpr:o}),_false:f("false",{startsExpr:o}),_typeof:f("typeof",{beforeExpr:s,prefix:l,startsExpr:o}),_void:f("void",{beforeExpr:s,prefix:l,startsExpr:o}),_delete:f("delete",{beforeExpr:s,prefix:l,startsExpr:o}),_do:f("do",{isLoop:a,beforeExpr:s}),_for:f("for",{isLoop:a}),_while:f("while",{isLoop:a}),_as:w("as",{startsExpr:o}),_assert:w("assert",{startsExpr:o}),_async:w("async",{startsExpr:o}),_await:w("await",{startsExpr:o}),_from:w("from",{startsExpr:o}),_get:w("get",{startsExpr:o}),_let:w("let",{startsExpr:o}),_meta:w("meta",{startsExpr:o}),_of:w("of",{startsExpr:o}),_sent:w("sent",{startsExpr:o}),_set:w("set",{startsExpr:o}),_static:w("static",{startsExpr:o}),_using:w("using",{startsExpr:o}),_yield:w("yield",{startsExpr:o}),_asserts:w("asserts",{startsExpr:o}),_checks:w("checks",{startsExpr:o}),_exports:w("exports",{startsExpr:o}),_global:w("global",{startsExpr:o}),_implements:w("implements",{startsExpr:o}),_intrinsic:w("intrinsic",{startsExpr:o}),_infer:w("infer",{startsExpr:o}),_is:w("is",{startsExpr:o}),_mixins:w("mixins",{startsExpr:o}),_proto:w("proto",{startsExpr:o}),_require:w("require",{startsExpr:o}),_satisfies:w("satisfies",{startsExpr:o}),_keyof:w("keyof",{startsExpr:o}),_readonly:w("readonly",{startsExpr:o}),_unique:w("unique",{startsExpr:o}),_abstract:w("abstract",{startsExpr:o}),_declare:w("declare",{startsExpr:o}),_enum:w("enum",{startsExpr:o}),_module:w("module",{startsExpr:o}),_namespace:w("namespace",{startsExpr:o}),_interface:w("interface",{startsExpr:o}),_type:w("type",{startsExpr:o}),_opaque:w("opaque",{startsExpr:o}),name:C("name",{startsExpr:o}),string:C("string",{startsExpr:o}),num:C("num",{startsExpr:o}),bigint:C("bigint",{startsExpr:o}),decimal:C("decimal",{startsExpr:o}),regexp:C("regexp",{startsExpr:o}),privateName:C("#name",{startsExpr:o}),eof:C("eof"),jsxName:C("jsxName"),jsxText:C("jsxText",{beforeExpr:!0}),jsxTagStart:C("jsxTagStart",{startsExpr:!0}),jsxTagEnd:C("jsxTagEnd"),placeholder:C("%%",{startsExpr:!0})};function S(e){return e>=93&&e<=130}function T(e){return e<=92}function F(e){return e>=58&&e<=130}function k(e){return e>=58&&e<=134}function P(e){return b[e]}function N(e){return E[e]}function _(e){return e>=29&&e<=33}function O(e){return e>=127&&e<=129}function I(e){return e>=90&&e<=92}function B(e){return e>=58&&e<=92}function j(e){return e>=39&&e<=59}function L(e){return 34===e}function M(e){return x[e]}function R(e){return e>=119&&e<=121}function $(e){return e>=122&&e<=128}function V(e){return v[e]}function U(e){return D[e]}function q(e){return 57===e}function z(e){return e>=24&&e<=25}function W(e){return g[e]}function G(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}g[8].updateContext=e=>{e.pop()},g[5].updateContext=g[7].updateContext=g[23].updateContext=e=>{e.push(i.brace)},g[22].updateContext=e=>{e[e.length-1]===i.template?e.pop():e.push(i.template)},g[140].updateContext=e=>{e.push(i.j_expr,i.j_oTag)};var H=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}},J=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 X(e,t){let{line:r,column:n,index:i}=e;return new H(r,n+t,i+t)}var Q={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},K=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,n,i)=>i===t?e[n]=r:e[n]),this)}}},Y=(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,K(r.reflect.split("."))):r]})).reduce(((e,t)=>{let[r,n]=t;return Object.defineProperty(e,r,Object.assign({configurable:!0},n))}),Object.assign(new e,t)),Z={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:Q.SourceTypeModuleError},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:Q.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."},ne={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."},ie=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.'},oe=["toMessage"],ae=["message"];function ue(e){let{toMessage:t}=e,r=G(e,oe);return function e(n){let{loc:i,details:s}=n;return Y(SyntaxError,Object.assign({},r,{loc:i}),{clone(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.loc||{};return e({loc:new H("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 n of Object.keys(e)){let i=e[n],s="string"==typeof i?{message:()=>i}:"function"==typeof i?{message:i}:i,{message:o}=s,a=G(s,ae),u="string"==typeof o?()=>o:o;r[n]=ue(Object.assign({code:Q.SyntaxError,reasonCode:n,toMessage:u},t?{syntaxPlugin:t}:{},a))}return r}var ce=Object.assign({},le(Z),le(re),le(ne),le`pipelineOperator`(se)),{defineProperty:pe}=Object,he=(e,t)=>pe(e,t,{enumerable:!1,value:e[t]});function de(e){return e.loc.start&&he(e.loc.start,"index"),e.loc.end&&he(e.loc.end,"index"),e}var fe=e=>class extends e{parse(){let e=de(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(de)),e}parseRegExpLiteral(e){let{pattern:t,flags:r}=e,n=null;try{n=new RegExp(t,r)}catch{}let i=this.estreeParseLiteral(n);return i.regex={pattern:t,flags:r},i}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,n,i){super.parseBlockBody(e,t,r,n,i);let s=e.directives.map((e=>this.directiveToStmt(e)));e.body=s.concat(e.body),delete e.directives}pushClassMethod(e,t,r,n,i,s){this.parseMethod(t,r,n,i,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,n,i,s){let o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=this.startNode();return a.kind=e.kind,a=super.parseMethod(a,t,r,n,i,s,o),a.type="FunctionExpression",delete a.kind,e.value=a,"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,n,i){let s=super.parseObjectMethod(e,t,r,n,i);return s&&(s.type="Property","method"===s.kind&&(s.kind="init"),s.shorthand=!1),s}parseObjectProperty(e,t,r,n){let i=super.parseObjectProperty(e,t,r,n);return i&&(i.kind="init",i.type="Property"),i}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:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,r){"get"===e.kind||"set"===e.kind?this.raise(ce.PatternHasAccessor,{at:e.key}):e.method?this.raise(ce.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,t,r)}finishCallExpression(e,t){let r=super.finishCallExpression(e,t);var n;"Import"===r.callee.type&&(r.type="ImportExpression",r.source=r.arguments[0],this.hasPlugin("importAssertions")&&(r.attributes=null!=(n=r.arguments[1])?n: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,n=super.parseExport(e,t);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":1===n.specifiers.length&&"ExportNamespaceSpecifier"===n.specifiers[0].type&&(n.type="ExportAllDeclaration",n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var i;let{declaration:e}=n;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(i=e.decorators)?void 0:i.length)>0&&e.start===n.start&&this.resetStartLocation(n,r)}}return n}parseSubscript(e,t,r,n){let i=super.parseSubscript(e,t,r,n);if(n.optionalChainMember){if(("OptionalMemberExpression"===i.type||"OptionalCallExpression"===i.type)&&(i.type=i.type.substring(8)),n.stop){let e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,"ChainExpression")}}else("MemberExpression"===i.type||"CallExpression"===i.type)&&(i.optional=!1);return i}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 de(super.finishNodeAt(e,t,r))}resetStartLocation(e,t){super.resetStartLocation(e,t),de(e)}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(e,t),de(e)}},me="\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\u0560-\u0588\u05d0-\u05ea\u05ef-\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\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\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\u09fc\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\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\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\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\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-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\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-\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-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\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-\uab69\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",ye="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f",ge=new RegExp("["+me+"]"),ve=new RegExp("["+me+ye+"]");me=ye=null;var De=[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],be=[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 Ee(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function xe(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ge.test(String.fromCharCode(e)):Ee(e,De)))}function Ce(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ve.test(String.fromCharCode(e)):Ee(e,De)||Ee(e,be))))}var we={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"]},Ae=new Set(we.keyword),Se=new Set(we.strict),Te=new Set(we.strictBind);function Fe(e,t){return t&&"await"===e||"enum"===e}function ke(e,t){return Fe(e,t)||Se.has(e)}function Pe(e){return Te.has(e)}function Ne(e,t){return ke(e,t)||Pe(e)}function _e(e){return Ae.has(e)}function Oe(e,t,r){return 64===e&&64===t&&xe(r)}var Ie=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 Be(e){return Ie.has(e)}var je=0,Le=1,Me=2,Re=4,$e=8,Ve=16,Ue=32,qe=64,ze=128,We=256,Ge=Le|Me|ze|We,He=1,Je=2,Xe=4,Qe=8,Ke=16,Ye=64,Ze=128,et=256,tt=512,rt=1024,nt=2048,it=4096,st=8192,ot=He|Je|Qe|Ze|st,at=0|He|Qe|st,ut=0|He|Qe|0,lt=0|He|Xe|0,ct=0|He|Ke|0,pt=0|Je|Ze,ht=0|Je,dt=He|Je|Qe|et|st,ft=0|rt,mt=0|Ye,yt=0|He|Ye,gt=dt|tt,vt=0|rt,Dt=0|Je|it,bt=nt,Et=4,xt=2,Ct=1,wt=xt|Ct,At=xt|Et,St=Ct|Et,Tt=xt,Ft=Ct,kt=0,Pt=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},Nt=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&Le)>0}get inFunction(){return(this.currentVarScopeFlags()&Me)>0}get allowSuper(){return(this.currentThisScopeFlags()&Ve)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&Ue)>0}get inClass(){return(this.currentThisScopeFlags()&qe)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&qe)>0&&0===(e&Me)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&ze)return!0;if(t&(Ge|qe))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|ze)||!this.parser.inModule&&e.flags&Le)}declareName(e,t,r){let n=this.currentScope();if(t&Qe||t&Ke)this.checkRedeclarationInScope(n,e,t,r),t&Ke?n.functions.add(e):n.lexical.add(e),t&Qe&&this.maybeExportDefined(n,e);else if(t&Xe)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.var.add(e),this.maybeExportDefined(n,e),!(n.flags&Ge));--i);this.parser.inModule&&n.flags&Le&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&e.flags&Le&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(ce.VarRedeclaration,{at:n,identifierName:t})}isRedeclaredInScope(e,t,r){return!!(r&He)&&(r&Qe?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):r&Ke?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(e.flags&$e&&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&Ge)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&(Ge|qe)&&!(t&Re))return t}}},_t=class extends Pt{constructor(){super(...arguments),this.declareFunctions=new Set}},Ot=class extends Nt{createScope(e){return new _t(e)}declareName(e,t,r){let n=this.currentScope();if(t&nt)return this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e),void n.declareFunctions.add(e);super.declareName(e,t,r)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(e,t,r)||!!(r&nt)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},It=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 n=this.plugins.get(t);for(let e of Object.keys(r))if((null==n?void 0:n[e])!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}};function Bt(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function jt(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}function Lt(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Mt(e,t,r){let n=null,i=t.length;for(;null===n&&i>0;)n=t[--i];null===n||n.start>r.start?Lt(e,r.comments):Bt(n,r.comments)}var Rt=class extends It{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 n=r-1,i=t[n];i.start===e.end&&(i.leadingNode=e,n--);let{start:s}=e;for(;n>=0;n--){let r=t[n],i=r.end;if(!(i>s)){i===s&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(n,1)}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Bt(e.leadingNode,t),null!==e.trailingNode&&jt(e.trailingNode,t);else{let{containingNode:r,start:n}=e;if(44===this.input.charCodeAt(n-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:Lt(r,t)}else Lt(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 n=t[r-1];n.leadingNode===e&&(n.leadingNode=null)}takeSurroundingComments(e,t,r){let{commentStack:n}=this.state,i=n.length;if(0===i)return;let s=i-1;for(;s>=0;s--){let i=n[s],o=i.end;if(i.start===r)i.leadingNode=e;else if(o===t)i.trailingNode=e;else if(o<t)break}}},$t=/\r\n?|[\n\u2028\u2029]/,Vt=new RegExp($t.source,"g");function Ut(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var qt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,zt=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Wt(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var Gt=class{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[i.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init(e){let{strictMode:t,sourceType:r,startLine:n,startColumn:i}=e;this.strict=!1!==t&&(!0===t||"module"===r),this.curLine=n,this.lineStart=-i,this.startLoc=this.endLoc=new H(n,i,0)}curPosition(){return new H(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){let t=new Gt,r=Object.keys(this);for(let n=0,i=r.length;n<i;n++){let i=r[n],s=this[i];!e&&Array.isArray(s)&&(s=s.slice()),t[i]=s}return t}},Ht=function(e){return e>=48&&e<=57},Jt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Xt={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 Qt(e,t,r,n,i,s){let o=r,a=n,u=i,l="",c=null,p=r,{length:h}=t;for(;;){if(r>=h){s.unterminated(o,a,u),l+=t.slice(p,r);break}let d=t.charCodeAt(r);if(Kt(e,d,t,r)){l+=t.slice(p,r);break}if(92===d){l+=t.slice(p,r);let o=Yt(t,r,n,i,"template"===e,s);null!==o.ch||c?l+=o.ch:c={pos:r,lineStart:n,curLine:i},({pos:r,lineStart:n,curLine:i}=o),p=r}else 8232===d||8233===d?(++i,n=++r):10===d||13===d?"template"===e?(l+=t.slice(p,r)+"\n",++r,13===d&&10===t.charCodeAt(r)&&++r,++i,p=n=r):s.unterminated(o,a,u):++r}return{pos:r,str:l,firstInvalidLoc:c,lineStart:n,curLine:i,containsInvalid:!!c}}function Kt(e,t,r,n){return"template"===e?96===t||36===t&&123===r.charCodeAt(n+1):t===("double"===e?34:39)}function Yt(e,t,r,n,i,s){let o=!i;t++;let a=e=>({pos:t,ch:e,lineStart:r,curLine:n}),u=e.charCodeAt(t++);switch(u){case 110:return a("\n");case 114:return a("\r");case 120:{let i;return({code:i,pos:t}=Zt(e,t,r,n,2,!1,o,s)),a(null===i?null:String.fromCharCode(i))}case 117:{let i;return({code:i,pos:t}=tr(e,t,r,n,o,s)),a(null===i?null:String.fromCodePoint(i))}case 116:return a("\t");case 98:return a("\b");case 118:return a("\v");case 102:return a("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++n;case 8232:case 8233:return a("");case 56:case 57:if(i)return a(null);s.strictNumericEscape(t-1,r,n);default:if(u>=48&&u<=55){let o=t-1,u=e.slice(o,t+2).match(/^[0-7]+/)[0],l=parseInt(u,8);l>255&&(u=u.slice(0,-1),l=parseInt(u,8)),t+=u.length-1;let c=e.charCodeAt(t);if("0"!==u||56===c||57===c){if(i)return a(null);s.strictNumericEscape(o,r,n)}return a(String.fromCharCode(l))}return a(String.fromCharCode(u))}}function Zt(e,t,r,n,i,s,o,a){let u,l=t;return({n:u,pos:t}=er(e,t,r,n,16,i,s,!1,a,!o)),null===u&&(o?a.invalidEscapeSequence(l,r,n):t=l-1),{code:u,pos:t}}function er(e,t,r,n,i,s,o,a,u,l){let c=t,p=16===i?Jt.hex:Jt.decBinOct,h=16===i?Xt.hex:10===i?Xt.dec:8===i?Xt.oct:Xt.bin,d=!1,f=0;for(let m=0,y=null==s?1/0:s;m<y;++m){let s,c=e.charCodeAt(t);if(95!==c||"bail"===a){if(s=c>=97?c-97+10:c>=65?c-65+10:Ht(c)?c-48:1/0,s>=i){if(s<=9&&l)return{n:null,pos:t};if(s<=9&&u.invalidDigit(t,r,n,i))s=0;else{if(!o)break;s=0,d=!0}}++t,f=f*i+s}else{let i=e.charCodeAt(t-1),s=e.charCodeAt(t+1);if(a){if(Number.isNaN(s)||!h(s)||p.has(i)||p.has(s)){if(l)return{n:null,pos:t};u.unexpectedNumericSeparator(t,r,n)}}else{if(l)return{n:null,pos:t};u.numericSeparatorInEscapeSequence(t,r,n)}++t}}return t===c||null!=s&&t-c!==s||d?{n:null,pos:t}:{n:f,pos:t}}function tr(e,t,r,n,i,s){let o;if(123===e.charCodeAt(t)){if(++t,({code:o,pos:t}=Zt(e,t,r,n,e.indexOf("}",t)-t,!0,i,s)),++t,null!==o&&o>1114111){if(!i)return{code:null,pos:t};s.invalidCodePoint(t,r,n)}}else({code:o,pos:t}=Zt(e,t,r,n,4,!1,i,s));return{code:o,pos:t}}var rr=["at"],nr=["at"];function ir(e,t,r){return new H(r,e-t,e)}var sr=new Set([103,109,115,105,121,117,100,118]),or=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new J(e.startLoc,e.endLoc)}},ar=class extends Rt{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,r,n)=>!!this.options.errorRecovery&&(this.raise(ce.InvalidDigit,{at:ir(e,t,r),radix:n}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(ce.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(ce.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(ce.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(ce.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,r)=>{this.recordStrictModeErrors(ce.StrictNumericEscape,{at:ir(e,t,r)})},unterminated:(e,t,r)=>{throw this.raise(ce.UnterminatedString,{at:ir(e-1,t,r)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(ce.StrictNumericEscape),unterminated:(e,t,r)=>{throw this.raise(ce.UnterminatedTemplate,{at:ir(e,t,r)})}}),this.state=new Gt,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 or(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 qt.lastIndex=e,qt.test(this.input)?qt.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296===(64512&t)&&++e<this.input.length){let r=this.input.charCodeAt(e);56320===(64512&r)&&(t=65536+((1023&t)<<10)+(1023&r))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((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,n=this.input.indexOf(e,r+2);if(-1===n)throw this.raise(ce.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=n+e.length,Vt.lastIndex=r+2;Vt.test(this.input)&&Vt.lastIndex<=n;)++this.state.curLine,this.state.lineStart=Vt.lastIndex;if(this.isLookahead)return;let i={type:"CommentBlock",value:this.input.slice(r+2,n),start:r,end:n+e.length,loc:new J(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipLineComment(e){let t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!Ut(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,s={type:"CommentLine",value:this.input.slice(r+e,i),start:r,end:i,loc:new J(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(s),s}skipSpace(){let e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){let r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let e=this.skipBlockComment("*/");void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{let e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(Wt(r))++this.state.pos;else if(45===r&&!this.inModule&&this.options.annexB){let r=this.state.pos;if(45!==this.input.charCodeAt(r+1)||62!==this.input.charCodeAt(r+2)||!(0===e||this.state.lineStart>e))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(ce.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?ce.RecordExpressionHashIncorrectStartSyntaxType:ce.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else xe(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;!Ut(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let r=this.input.slice(t+2,this.state.pos);return this.finishToken(28,r),!0}readToken_mult_modulo(e){let t=42===e?55:54,r=1,n=this.input.charCodeAt(this.state.pos+1);42===e&&42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=57),61===n&&!this.state.inType&&(r++,t=37===e?33:30),this.finishOp(t,r)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(ce.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(ce.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);61!==e||this.state.inType?94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),94===this.input.codePointAt(this.state.pos)&&this.unexpected()):this.finishOp(44,1):this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){let t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){let t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(e){let t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=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(ce.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(ce.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(xe(e))return void this.readWord(e)}throw this.raise(ce.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,n=this.state.start+1,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(ce.UnterminatedRegExp,{at:X(r,1)});let n=this.input.charCodeAt(i);if(Ut(n))throw this.raise(ce.UnterminatedRegExp,{at:X(r,1)});if(e)e=!1;else{if(91===n)t=!0;else if(93===n&&t)t=!1;else if(47===n&&!t)break;e=92===n}}let s=this.input.slice(n,i);++i;let o="",a=()=>X(r,i+2-n);for(;i<this.length;){let e=this.codePointAtPos(i),t=String.fromCharCode(e);if(sr.has(e))118===e?(this.expectPlugin("regexpUnicodeSets",a()),o.includes("u")&&this.raise(ce.IncompatibleRegExpUVFlags,{at:a()})):117===e&&o.includes("v")&&this.raise(ce.IncompatibleRegExpUVFlags,{at:a()}),o.includes(t)&&this.raise(ce.DuplicateRegExpFlags,{at:a()});else{if(!Ce(e)&&92!==e)break;this.raise(ce.MalformedRegExpFlags,{at:a()})}++i,o+=t}this.state.pos=i,this.finishToken(135,{pattern:s,flags:o})}readInt(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{n:i,pos:s}=er(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,n,this.errorHandlers_readInt,!1);return this.state.pos=s,i}readRadixNumber(e){let t=this.state.curPosition(),r=!1;this.state.pos+=2;let n=this.readInt(e);null==n&&this.raise(ce.InvalidDigit,{at:X(t,2),radix:e});let i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,r=!0;else if(109===i)throw this.raise(ce.InvalidDecimal,{at:t});if(xe(this.codePointAtPos(this.state.pos)))throw this.raise(ce.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,n)}readNumber(e){let t=this.state.pos,r=this.state.curPosition(),n=!1,i=!1,s=!1,o=!1,a=!1;!e&&null===this.readInt(10)&&this.raise(ce.InvalidNumber,{at:this.state.curPosition()});let u=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(u){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(ce.StrictOctalLiteral,{at:r}),!this.state.strict){let t=e.indexOf("_");t>0&&this.raise(ce.ZeroDigitNumericSeparator,{at:X(r,t)})}a=u&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46===l&&!a&&(++this.state.pos,this.readInt(10),n=!0,l=this.input.charCodeAt(this.state.pos)),(69===l||101===l)&&!a&&(l=this.input.charCodeAt(++this.state.pos),(43===l||45===l)&&++this.state.pos,null===this.readInt(10)&&this.raise(ce.InvalidOrMissingExponent,{at:r}),n=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((n||u)&&this.raise(ce.InvalidBigIntLiteral,{at:r}),++this.state.pos,i=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(o||u)&&this.raise(ce.InvalidDecimal,{at:r}),++this.state.pos,s=!0),xe(this.codePointAtPos(this.state.pos)))throw this.raise(ce.NumberIdentifier,{at:this.state.curPosition()});let c=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(133,c);if(s)return void this.finishToken(134,c);let p=a?parseInt(c,8):parseFloat(c);this.finishToken(132,p)}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:n,lineStart:i}=Qt(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=i,this.state.curLine=n,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:n,curLine:i,lineStart:s}=Qt("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=n+1,this.state.lineStart=s,this.state.curLine=i,r&&(this.state.firstInvalidTemplateEscapePos=new H(r.curLine,r.pos-r.lineStart,r.pos)),96===this.input.codePointAt(n)?this.finishToken(24,r?null:e+t+"`"):(this.state.pos++,this.finishToken(25,r?null:e+t+"${"))}recordStrictModeErrors(e,t){let{at:r}=t,n=r.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(e,{at:r}):this.state.strictErrors.set(n,[e,r])}readWord1(e){this.state.containsEsc=!1;let t="",r=this.state.pos,n=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let e=this.codePointAtPos(this.state.pos);if(Ce(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(n,this.state.pos);let e=this.state.curPosition(),i=this.state.pos===r?xe:Ce;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(ce.MissingUnicodeEscape,{at:this.state.curPosition()}),n=this.state.pos-1;continue}++this.state.pos;let s=this.readCodePoint(!0);null!==s&&(i(s)||this.raise(ce.EscapedCharNotAnIdentifier,{at:e}),t+=String.fromCodePoint(s)),n=this.state.pos}}}return t+this.input.slice(n,this.state.pos)}readWord(e){let t=this.readWord1(e),r=d.get(t);void 0!==r?this.finishToken(r,V(r)):this.finishToken(130,t)}checkKeywordEscapes(){let{type:e}=this.state;B(e)&&this.state.containsEsc&&this.raise(ce.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:V(e)})}raise(e,t){let{at:r}=t,n=G(t,rr),i=e({loc:r instanceof H?r:r.loc.start,details:n});if(!this.options.errorRecovery)throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(e,t){let{at:r}=t,n=G(t,nr),i=r instanceof H?r:r.loc.start,s=i.index,o=this.state.errors;for(let a=o.length-1;a>=0;a--){let t=o[a];if(t.loc.index===s)return o[a]=e({loc:i,details:n});if(t.loc.index<s)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(ce.UnexpectedToken,{expected:t?V(t):null,at:null!=e?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(ce.MissingPlugin,{at:null!=t?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(ce.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,r,n)=>{this.raise(e,{at:ir(t,r,n)})}}},ur=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 ur)}exit(){let e=this.stack.pop(),t=this.current();for(let[r,n]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,n):this.parser.raise(ce.InvalidPrivateFieldResolution,{at:n,identifierName:r})}declarePrivateName(e,t,r){let{privateNames:n,loneAccessors:i,undefinedPrivateNames:s}=this.current(),o=n.has(e);if(t&wt){let r=o&&i.get(e);if(r){let n=r&Et,s=t&Et;o=(r&wt)===(t&wt)||n!==s,o||i.delete(e)}else o||i.set(e,t)}o&&this.parser.raise(ce.PrivateNameRedeclaration,{at:r,identifierName:e}),n.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(ce.InvalidPrivateFieldResolution,{at:t,identifierName:e})}},cr=0,pr=1,hr=2,dr=3,fr=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cr;this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return this.type===hr||this.type===pr}isCertainlyParameterDeclaration(){return this.type===dr}},mr=class extends fr{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let{at:r}=t,n=r.index;this.declarationErrors.set(n,[e,r])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},yr=class{constructor(e){this.parser=void 0,this.stack=[new fr],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{at:r}=t,n={at:r.loc.start},{stack:i}=this,s=i.length-1,o=i[s];for(;!o.isCertainlyParameterDeclaration();){if(!o.canBeArrowParameterDeclaration())return;o.recordDeclarationError(e,n),o=i[--s]}this.parser.raise(e,n)}recordArrowParameterBindingError(e,t){let{at:r}=t,{stack:n}=this,i=n[n.length-1],s={at:r.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(e,s);else{if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,s)}}recordAsyncArrowParametersError(e){let{at:t}=e,{stack:r}=this,n=r.length-1,i=r[n];for(;i.canBeArrowParameterDeclaration();)i.type===hr&&i.recordDeclarationError(ce.AwaitBindingIdentifier,{at:t}),i=r[--n]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((t=>{let[r,n]=t;this.parser.raise(r,{at:n});let i=e.length-2,s=e[i];for(;s.canBeArrowParameterDeclaration();)s.clearDeclarationError(n.index),s=e[--i]}))}};function gr(){return new fr(dr)}function vr(){return new mr(pr)}function Dr(){return new mr(hr)}function br(){return new fr}var Er=0,xr=1,Cr=2,wr=4,Ar=8,Sr=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()&Cr)>0}get hasYield(){return(this.currentFlags()&xr)>0}get hasReturn(){return(this.currentFlags()&wr)>0}get hasIn(){return(this.currentFlags()&Ar)>0}};function Tr(e,t){return(e?Cr:0)|(t?xr:0)}var Fr=class extends ar{addExtra(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!e)return;let i=e.extra=e.extra||{};n?i[t]=r:Object.defineProperty(i,t,{enumerable:n,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!(Ce(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 $t.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return zt.lastIndex=this.state.end,zt.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(ce.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 n=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:n,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(n){let e=this.state;if(this.state=t,n instanceof SyntaxError)return{node:null,error:n,thrown:!0,aborted:!1,failState:e};if(n===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:e};throw n}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:i,optionalParametersLoc:s}=e;if(!t)return!!r||!!n||!!s||!!i;null!=r&&this.raise(ce.InvalidCoverInitializedName,{at:r}),null!=n&&this.raise(ce.DuplicateProto,{at:n}),null!=i&&this.raise(ce.UnexpectedPrivateField,{at:i}),null!=s&&this.unexpected(s)}isLiteralPropertyName(){return k(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 n=this.inModule;this.inModule=e;let i=this.scope,s=this.getScopeHandler();this.scope=new s(this,e);let o=this.prodParam;this.prodParam=new Sr;let a=this.classScope;this.classScope=new lr(this);let u=this.expressionScope;return this.expressionScope=new yr(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=n,this.scope=i,this.prodParam=o,this.classScope=a,this.expressionScope=u}}enterInitialScopes(){let e=Er;this.inModule&&(e|=Cr),this.scope.enter(Le),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}},kr=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 J(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}},Nr=Pr.prototype;function _r(e){return Or(e)}function Or(e){let{type:t,start:r,end:n,loc:i,range:s,extra:o,name:a}=e,u=Object.create(Nr);return u.type=t,u.start=r,u.end=n,u.loc=i,u.range=s,u.extra=o,u.name=a,"Placeholder"===t&&(u.expectedNode=e.expectedNode),u}function Ir(e){let{type:t,start:r,end:n,loc:i,range:s,extra:o}=e;if("Placeholder"===t)return _r(e);let a=Object.create(Nr);return a.type=t,a.start=r,a.end=n,a.loc=i,a.range=s,void 0!==e.raw?a.raw=e.raw:a.extra=o,a.value=e.value,a}Nr.__clone=function(){let e=new Pr(void 0,this.start,this.loc.start),t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){let n=t[r];"leadingComments"!==n&&"trailingComments"!==n&&"innerComments"!==n&&(e[n]=this[n])}return e};var Br=class extends Fr{startNode(){return new Pr(this,this.state.start,this.state.startLoc)}startNodeAt(e){return new Pr(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,r){return e.type=t,e.end=r.index,e.loc.end=r,this.options.ranges&&(e.range[1]=r.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,this.options.ranges&&(e.range[0]=t.index)}resetEndLocation(e){let t=arguments.length>1&&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)}},jr=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Lr=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:n}=e;return`Enum \`${t}\` has type \`${n}\`, so the initializer of \`${r}\` needs to be a ${n} 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:n}=e;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${r}\`, consider using \`${n}\`, 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 `<T> async () => {}`, use `async <T>() => {}`.",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 Rr(e){return"type"===e.importKind||"typeof"===e.importKind}function $r(e){return F(e)&&97!==e}var Vr={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Ur(e,t){let r=[],n=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?r:n).push(e[i]);return[r,n]}var qr=/\*?\s*@((?:no)?flow)\b/,zr=e=>class 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=qr.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(Lr.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(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,r.this=i._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,bt,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(Lr.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(je),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(Lr.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(e)):(this.expectContextual(123,Lr.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let n=null,i=!1;return r.forEach((e=>{Mr(e)?("CommonJS"===n&&this.raise(Lr.AmbiguousDeclareModuleKind,{at:e}),n="ES"):"DeclareModuleExports"===e.type&&(i&&this.raise(Lr.DuplicateDeclareModuleExports,{at:e}),"ES"===n&&this.raise(Lr.AmbiguousDeclareModuleKind,{at:e}),n="CommonJS",i=!0)})),e.kind=n||"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(Lr.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Vr[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?ct:at,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(Lr.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,r){jr.has(e)&&this.raise(r?Lr.AssignReservedType:Lr.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,at,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,at,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(),n=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return r.name=i.name,r.variance=n,r.bound=i.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Lr.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:n,allowProto:i,allowInexact:s}=e,o=this.state.inType;this.state.inType=!0;let a=this.startNode();a.callProperties=[],a.properties=[],a.indexers=[],a.internalSlots=[];let u,l,c=!1;for(r&&this.match(6)?(this.expect(6),u=9,l=!0):(this.expect(5),u=8,l=!1),a.exact=l;!this.match(u);){let e=!1,r=null,o=null,u=this.startNode();if(i&&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 p=this.flowParseVariance();if(this.eat(0))null!=r&&this.unexpected(r),this.eat(0)?(p&&this.unexpected(p.loc.start),a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,e))):a.indexers.push(this.flowParseObjectTypeIndexer(u,e,p));else if(this.match(10)||this.match(47))null!=r&&this.unexpected(r),p&&this.unexpected(p.loc.start),a.callProperties.push(this.flowParseObjectTypeCallProperty(u,e));else{let t="init";(this.isContextual(98)||this.isContextual(103))&&k(this.lookahead().type)&&(t=this.state.value,this.next());let i=this.flowParseObjectTypeProperty(u,e,r,p,t,n,null!=s?s:!l);null===i?(c=!0,o=this.state.lastTokStartLoc):a.properties.push(i)}this.flowObjectTypeSemicolon(),o&&!this.match(8)&&!this.match(9)&&this.raise(Lr.UnexpectedExplicitInexactInObject,{at:o})}this.expect(u),n&&(a.inexact=c);let p=this.finishNode(a,"ObjectTypeAnnotation");return this.state.inType=o,p}flowParseObjectTypeProperty(e,t,r,n,i,s,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(s?o||this.raise(Lr.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Lr.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),n&&this.raise(Lr.InexactVariance,{at:n}),null):(s||this.raise(Lr.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=r&&this.unexpected(r),n&&this.raise(Lr.SpreadVariance,{at:n}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),("get"===i||"set"===i)&&this.flowCheckGetterSetterParams(e),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(Lr.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=o,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?Lr.GetterMayNotHaveThisParam:Lr.SetterMayNotHaveThisParam,{at:e.value.this}),r!==t&&this.raise("get"===e.kind?ce.BadGetterArity:ce.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(ce.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.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null,r=!1,n=null,i=this.startNode(),s=this.lookahead(),o=78===this.state.type;return 14===s.type||17===s.type?(o&&!e&&this.raise(Lr.ThisParamMustBeFirst,{at:i}),t=this.parseIdentifier(o),this.eat(17)&&(r=!0,o&&this.raise(Lr.ThisParamMayNotBeOptional,{at:i})),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),i.name=t,i.optional=r,i.typeAnnotation=n,this.finishNode(i,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){let t=this.startNodeAt(e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(){let e=arguments.length>0&&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,n=this.startNode(),i=!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 n.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),n.params=e.params,n.rest=e.rest,n.this=e._this,this.expect(11),this.expect(19),n.returnType=this.flowParseType(),this.finishNode(n,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(S(this.state.type)||this.match(78)){let e=this.lookahead().type;i=17!==e&&14!==e}else i=!0;if(i){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(),n.params=e.params,n.rest=e.rest,n.this=e._this,this.expect(11),this.expect(19),n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return n.value=this.match(85),this.next(),this.finishNode(n,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",n);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",n);throw this.raise(Lr.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(n,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(n,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(n,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(n,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(B(this.state.type)){let e=V(this.state.type);return this.next(),super.createIdentifier(n,e)}if(S(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,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 n=this.startNodeAt(e),i=this.eat(18);r=r||i,this.expect(0),!i&&this.match(3)?(n.elementType=t,this.next(),t=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=t,n.indexType=this.flowParseType(),this.expect(3),r?(n.optional=i,t=this.finishNode(n,"OptionalIndexedAccessType")):t=this.finishNode(n,"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(F(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)||S(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(S(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 n=this.state.clone(),i=this.state.noArrowAt,s=this.startNodeAt(t),{consequent:o,failed:a}=this.tryParseConditionalConsequent(),[u,l]=this.getArrowLikeExpressions(o);if(a||l.length>0){let e=[...i];if(l.length>0){this.state=n,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:a}=this.tryParseConditionalConsequent()),[u,l]=this.getArrowLikeExpressions(o)}a&&u.length>1&&this.raise(Lr.AmbiguousConditionalArrow,{at:n.startLoc}),a&&1===u.length&&(this.state=n,e.push(u[0].start),this.state.noArrowAt=e,({consequent:o,failed:a}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=i,this.expect(14),s.test=e,s.consequent=o,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],n=[];for(;0!==r.length;){let e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):n.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(n.forEach((e=>this.finishArrowValidation(e))),[n,[]]):Ur(n,(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|Re),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:n}=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(Lr.DeclareClassElement,{at:n}):t.value&&this.raise(Lr.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(ce.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 n=0;n<e.length;n++){let t=e[n];"TypeCastExpression"===(null==t?void 0:t.type)&&(e[n]=this.typeCastToParameter(t))}super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let n=0;n<e.length;n++){var r;let i=e[n];i&&"TypeCastExpression"===i.type&&(null==(r=i.extra)||!r.parenthesized)&&(e.length>1||!t)&&this.raise(Lr.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,r,n){let i=super.parseArrayLike(e,t,r,n);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}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,n,i,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,n,i,s),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Lr.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Lr.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,r,n){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,n)}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(Lr.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(Lr.SetterMayNotHaveThisParam,{at:r})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,i,s,o){let a;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!s&&(a=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let u=super.parseObjPropValue(e,t,r,n,i,s,o);return a&&((u.value||u).typeParameters=a),u}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Lr.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Lr.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Lr.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Lr.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t){let r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Lr.TypeBeforeInitializer,{at:r.typeAnnotation}),r}shouldParseDefaultImport(e){return Rr(e)?$r(this.state.type):super.shouldParseDefaultImport(e)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(Lr.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}parseImportSpecifierLocal(e,t,r){t.local=Rr(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(87)?t="typeof":this.isContextual(128)&&(t="type"),t){let r=this.lookahead(),{type:n}=r;"type"===t&&55===n&&this.unexpected(null,r.type),($r(n)||5===n||55===n)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,n,i){let s=e.imported,o=null;"Identifier"===s.type&&("type"===s.name?o="type":"typeof"===s.name&&(o="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let t=this.parseIdentifier(!0);null===o||F(this.state.type)?(e.imported=s,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=o,e.local=Or(t))}else{if(null!==o&&F(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(ce.ImportBindingIsString,{at:e,importName:s.value});e.imported=s,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=Or(e.imported))}let u=Rr(e);return r&&u&&this.raise(Lr.ImportTypeShorthandOnlyInPureImport,{at:e}),(r||u)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),a&&!r&&!u&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){let r=e.kind;"get"!==r&&"set"!==r&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let n,s=null;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(s=this.state.clone(),n=this.tryParse((()=>super.parseMaybeAssign(e,t)),s),!n.error)return n.node;let{context:r}=this.state,o=r[r.length-1];(o===i.j_oTag||o===i.j_expr)&&r.pop()}if(null!=(r=n)&&r.error||this.match(47)){var o,a;s=s||this.state.clone();let r,i=this.tryParse((n=>{var i;r=this.flowParseTypeParameterDeclaration();let s=this.forwardNoArrowParamsConversionAt(r,(()=>{let n=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(n,r),n}));null!=(i=s.extra)&&i.parenthesized&&n();let o=this.maybeUnwrapTypeCastExpression(s);return"ArrowFunctionExpression"!==o.type&&n(),o.typeParameters=r,this.resetStartLocationFromNode(o,r),s}),s),u=null;if(i.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(i.node).type){if(!i.error&&!i.aborted)return i.node.async&&this.raise(Lr.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r}),i.node;u=i.node}if(null!=(o=n)&&o.node)return this.state=n.failState,n.node;if(u)return this.state=i.failState,u;throw null!=(a=n)&&a.thrown?n.error:i.thrown?i.error:this.raise(Lr.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 n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(Lr.ThisParamMustBeFirst,{at:e.params[t]});super.checkParams(e,t,r,n)}}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 n=this.state.clone(),i=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),n);if(!i.error&&!i.aborted)return i.node;let s=this.tryParse((()=>super.parseSubscripts(e,t,r)),n);if(s.node&&!s.error)return s.node;if(i.node)return this.state=i.failState,i.node;if(s.node)return this.state=s.failState,s.node;throw i.error||s.error}return super.parseSubscripts(e,t,r)}parseSubscript(e,t,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,r)return n.stop=!0,e;this.next();let i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}if(!r&&this.shouldParseTypes()&&this.match(47)){let r=this.startNodeAt(t);r.callee=e;let i=this.tryParse((()=>(r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),r.arguments=super.parseCallExpressionArguments(11,!1),n.optionalChainMember&&(r.optional=!1),this.finishCallExpression(r,n.optionalChainMember))));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,r,n)}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(Lr.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(Lr.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),n=this.input.charCodeAt(t+e+1);return 58===r&&58===n?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==n&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(ce.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(Lr.EnumBooleanMemberNotInitialized,{at:e,memberName:n,enumName:r})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Lr.EnumInvalidMemberInitializerSymbolType:Lr.EnumInvalidMemberInitializerPrimaryType:Lr.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(Lr.EnumNumberMemberNotInitialized,{at:e,enumName:r,memberName:n})}flowEnumErrorStringMemberInconsistentlyInitailized(e,t){let{enumName:r}=t;this.raise(Lr.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:n}=t;null!==n&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers(e){let{enumName:t,explicitType:r}=e,n=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},s=!1;for(;!this.match(8);){if(this.eat(21)){s=!0;break}let e=this.startNode(),{id:o,init:a}=this.flowEnumMemberRaw(),u=o.name;if(""===u)continue;/^[a-z]/.test(u)&&this.raise(Lr.EnumInvalidMemberName,{at:o,memberName:u,suggestion:u[0].toUpperCase()+u.slice(1),enumName:t}),n.has(u)&&this.raise(Lr.EnumDuplicateMemberName,{at:o,memberName:u,enumName:t}),n.add(u);let l={enumName:t,explicitType:r,memberName:u};switch(e.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"boolean"),e.init=a.value,i.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"number"),e.init=a.value,i.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"string"),e.init=a.value,i.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.loc,l);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.loc,l);break;default:i.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:s}}flowEnumStringMembers(e,t,r){let{enumName:n}=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:n});return t}for(let i of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(i,{enumName:n});return e}flowEnumParseExplicitType(e){let{enumName:t}=e;if(!this.eatContextual(101))return null;if(!S(this.state.type))throw this.raise(Lr.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(Lr.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:r}),r}flowEnumBody(e,t){let r=t.name,n=t.loc.start,i=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:s,hasUnknownMembers:o}=this.flowEnumMembers({enumName:r,explicitType:i});switch(e.hasUnknownMembers=o,i){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 i=s.booleanMembers.length,o=s.numberMembers.length,a=s.stringMembers.length,u=s.defaultedMembers.length;if(!i&&!o&&!a&&!u)return t();if(!i&&!o)return e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!o&&!a&&i>=u){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(!i&&!a&&o>=u){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(Lr.EnumInconsistentMemberValues,{at:n,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}},Wr={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Gr=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 Hr(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function Jr(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return Jr(e.object)+"."+Jr(e.property);throw new Error("Node had unexpected type: "+e.type)}var Xr=e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Gr.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:Ut(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(ce.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):Ut(n)?(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.pos<this.length&&!(r=59==this.codePointAtPos(this.state.pos));)++this.state.pos;if(r){let t=this.input.slice(e,this.state.pos),r=Wr[t];if(++this.state.pos,r)return r}}return this.state.pos=e,"&"}jsxReadWord(){let e,t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(Ce(e)||45===e);this.finishToken(138,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(138)?e.name=this.state.value:B(this.state.type)?e.name=V(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){let e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;let r=this.startNodeAt(e);return r.namespace=t,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){let e=this.state.startLoc,t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){let r=this.startNodeAt(e);r.object=t,r.property=this.jsxParseIdentifier(),t=this.finishNode(r,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(i.brace),this.next(),e=this.jsxParseExpressionContainer(e,i.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(Gr.AttributeIsEmpty,{at:e}),e;case 140:case 131:return this.parseExprAtom();default:throw this.raise(Gr.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(i.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{let t=this.parseExpression();e.expression=t}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(i.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(i.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e){let t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){let t=[];for(;!this.match(56)&&!this.match(141);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(141),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){let t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(141),this.finishNode(t,"JSXClosingElement"))}jsxParseElementAt(e){let t=this.startNodeAt(e),r=[],n=this.jsxParseOpeningElementAt(e),s=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 140:if(e=this.state.startLoc,this.next(),this.eat(56)){s=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 139:r.push(this.parseExprAtom());break;case 5:{let e=this.startNode();this.setContext(i.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(e)):r.push(this.jsxParseExpressionContainer(e,i.j_expr));break}default:this.unexpected()}Hr(n)&&!Hr(s)&&null!==s?this.raise(Gr.MissingClosingTagFragment,{at:s}):(!Hr(n)&&Hr(s)||!Hr(n)&&!Hr(s)&&Jr(s.name)!==Jr(n.name))&&this.raise(Gr.MissingClosingTagElement,{at:s,openingTagName:Jr(n.name)})}if(Hr(n)?(t.openingFragment=n,t.closingFragment=s):(t.openingElement=n,t.closingElement=s),t.children=r,this.match(47))throw this.raise(Gr.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Hr(n)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){let e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){let{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let t=this.curContext();if(t!==i.j_expr){if(t===i.j_oTag||t===i.j_cTag){if(xe(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(141);if((34===e||39===e)&&t===i.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(140);super.getTokenFromCode(e)}else this.jsxReadToken()}updateContext(e){let{context:t,type:r}=this.state;if(56===r&&140===e)t.splice(-2,2,i.j_cTag),this.state.canStartJSXElement=!1;else if(140===r)t.push(i.j_oTag);else if(141===r){let r=t[t.length-1];r===i.j_oTag&&56===e||r===i.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===i.j_expr):(this.setContext(i.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=P(r)}},Qr=class extends Pt{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},Kr=class extends Nt{constructor(){super(...arguments),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new Qr(e)}enter(e){e==We&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return e==We&&this.importsStack.pop(),e}hasImport(e,t){let r=this.importsStack.length;if(this.importsStack[r-1].has(e))return!0;if(!t&&r>1)for(let n=0;n<r-1;n++)if(this.importsStack[n].has(e))return!0;return!1}declareName(e,t,r){if(t&it)return this.hasImport(e,!0)&&this.parser.raise(ce.VarRedeclaration,{at:r,identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);let n=this.currentScope();if(t&rt)return this.maybeExportDefined(n,e),void n.exportOnlyBindings.add(e);super.declareName(e,t,r),t&Je&&(t&He||(this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e)),n.types.add(e)),t&et&&n.enums.add(e),t&tt&&n.constEnums.add(e),t&Ze&&n.classes.add(e)}isRedeclaredInScope(e,t,r){return e.enums.has(t)?!(r&et)||!!(r&tt)!==e.constEnums.has(t):r&Ze&&e.classes.has(t)?!!e.lexical.has(t)&&!!(r&He):!!(r&Je&&e.types.has(t))||super.isRedeclaredInScope(e,t,r)}checkLocalExport(e){let{name:t}=e;if(!this.hasImport(t)){for(let e=this.scopeStack.length-1;e>=0;e--){let r=this.scopeStack[e];if(r.types.has(t)||r.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}}},Yr=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t],Zr=e=>"ParenthesizedExpression"===e.type?Zr(e.expression):e,en=class extends Br{toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var r,n;let i;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(i=Zr(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParameterBindingError(ce.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==i.type&&this.raise(ce.InvalidParenthesizedAssignment,{at:e}):this.raise(ce.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,n=e.properties.length,i=n-1;r<n;r++){var s;let n=e.properties[r],o=r===i;this.toAssignableObjectExpressionProp(n,o,t),o&&"RestElement"===n.type&&null!=(s=e.extra)&&s.trailingCommaLoc&&this.raise(ce.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(n=e.extra)?void 0:n.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(ce.MissingEqInAssignment,{at:e.left.loc.end}),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(i,t)}}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?ce.PatternHasAccessor:ce.PatternHasMethod,{at:e.key});else if("SpreadElement"===e.type){e.type="RestElement";let n=e.argument;this.checkToRestConversion(n,!1),this.toAssignable(n,r),t||this.raise(ce.RestTrailingComma,{at:e})}else this.toAssignable(e,r)}toAssignableList(e,t,r){let n=e.length-1;for(let i=0;i<=n;i++){let s=e[i];if(s){if("SpreadElement"===s.type){s.type="RestElement";let e=s.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,r)}else this.toAssignable(s,r);"RestElement"===s.type&&(i<n?this.raise(ce.RestTrailingComma,{at:s}):t&&this.raise(ce.RestTrailingComma,{at:t}))}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let t=e.properties.length-1;return e.properties.every(((e,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 r of e)"ArrayExpression"===(null==r?void 0:r.type)&&this.toReferencedListDeep(r.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 n=1&r,i=[],s=!0;for(;!this.eat(e);)if(s?s=!1:this.expect(12),n&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.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(ce.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(r,e))}}return i}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 n=this.parseMaybeDefault(r.loc.start,r);return t.length&&(r.decorators=t),n}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 n=this.startNodeAt(e);return n.left=t,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}isValidLVal(e,t,r){return Yr({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,t){let{in:r,binding:n=mt,checkClashes:i=!1,strictModeChanged:s=!1,hasParenthesizedAncestor:o=!1}=t;var a;let u=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===u)return void(n!==mt&&this.raise(ce.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===u){this.checkIdentifier(e,n,s);let{name:t}=e;return void(i&&(i.has(t)?this.raise(ce.ParamDupe,{at:e}):i.add(t)))}let l=this.isValidLVal(u,!(o||null!=(a=e.extra)&&a.parenthesized)&&"AssignmentExpression"===r.type,n);if(!0===l)return;if(!1===l){let t=n===mt?ce.InvalidLhs:ce.InvalidLhsBinding;return void this.raise(t,{at:e,ancestor:r})}let[c,p]=Array.isArray(l)?l:[l,"ParenthesizedExpression"===u],h="ArrayPattern"===u||"ObjectPattern"===u||"ParenthesizedExpression"===u?{type:u}:r;for(let d of[].concat(e[c]))d&&this.checkLVal(d,{in:h,binding:n,checkClashes:i,strictModeChanged:s,hasParenthesizedAncestor:p})}checkIdentifier(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.state.strict&&(r?Ne(e.name,this.inModule):Pe(e.name))&&(t===mt?this.raise(ce.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(ce.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),t&st&&"let"===e.name&&this.raise(ce.LetInLexicalBinding,{at:e}),t&mt||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(ce.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?ce.RestTrailingComma:ce.ElementAfterRest,{at:this.state.startLoc}),!0)}},tn=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function rn(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}function nn(e){if(!e)throw new Error("Assert fail")}var sn=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 `<T,>() => ...`.",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 on(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 an(e){return"private"===e||"public"===e||"protected"===e}function un(e){return"in"===e||"out"===e}var ln=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:sn.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:sn.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:sn.InvalidModifierOnTypeParameter})}getScopeHandler(){return Kr}tsIsIdentifier(){return S(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(!S(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:n,stopOnStartOfClassStaticBlock:i,errorTemplate:s=sn.InvalidModifierOnTypeMember}=e,o=(e,r,n,i)=>{r===n&&t[i]&&this.raise(sn.InvalidModifiersOrder,{at:e,orderedModifiers:[n,i]})},a=(e,r,n,i)=>{(t[n]&&r===i||t[i]&&r===n)&&this.raise(sn.IncompatibleModifiers,{at:e,modifiers:[n,i]})};for(;;){let{startLoc:e}=this.state,u=this.tsParseModifier(r.concat(null!=n?n:[]),i);if(!u)break;an(u)?t.accessibility?this.raise(sn.DuplicateAccessibilityModifier,{at:e,modifier:u}):(o(e,u,u,"override"),o(e,u,u,"static"),o(e,u,u,"readonly"),t.accessibility=u):un(u)?(t[u]&&this.raise(sn.DuplicateModifier,{at:e,modifier:u}),t[u]=!0,o(e,u,"in","out")):(Object.hasOwnProperty.call(t,u)?this.raise(sn.DuplicateModifier,{at:e,modifier:u}):(o(e,u,"static","readonly"),o(e,u,"static","override"),o(e,u,"override","readonly"),o(e,u,"abstract","override"),a(e,u,"declare","override"),a(e,u,"static","abstract")),t[u]=!0),null!=n&&n.includes(u)&&this.raise(s,{at:e,modifier:u})}}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 rn(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,n){let i=[],s=-1;for(;!this.tsIsListTerminator(e);){s=-1;let n=t();if(null==n)return;if(i.push(n),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}s=this.state.lastTokStart}return n&&(n.value=s),i}tsParseBracketedList(e,t,r,n,i){n||(r?this.expect(0):this.expect(47));let s=this.tsParseDelimitedList(e,t,i);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(sn.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(sn.EmptyTypeParameters,{at:t}),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){let r=19===e,n="parameters",i="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t[n]=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t[i]=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(sn.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(),!!S(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(sn.ReadonlyForMethodSignature,{at:e});let n=r;n.kind&&this.match(47)&&this.raise(sn.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();let i="parameters",s="typeAnnotation";if("get"===n.kind)n[i].length>0&&(this.raise(ce.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(n[i][0])&&this.raise(sn.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===n.kind){if(1!==n[i].length)this.raise(ce.BadSetterArity,{at:this.state.curPosition()});else{let e=n[i][0];this.isThisParam(e)&&this.raise(sn.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(sn.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(sn.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}n[s]&&this.raise(sn.SetAccesorCannotHaveReturnType,{at:n[s]})}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}{let e=r;t&&(e.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),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:n}=e;t&&"TSRestType"!==n&&"TSOptionalType"!==n&&!("TSNamedTupleMember"===n&&e.optional)&&this.raise(sn.OptionalTypeBeforeRequired,{at:e}),t||(t="TSNamedTupleMember"===n&&e.optional||"TSOptionalType"===n);let i=n;"TSRestType"===n&&(i=(e=e.typeAnnotation).type);let s="TSNamedTupleMember"===i;null!=r||(r=s),r!==s&&this.raise(sn.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let e,t,r,n,{startLoc:i}=this.state,s=this.eat(21),o=F(this.state.type)?this.lookaheadCharCode():null;if(58===o)e=!0,r=!1,t=this.parseIdentifier(!0),this.expect(14),n=this.tsParseType();else if(63===o){r=!0;let i=this.state.startLoc,s=this.state.value,o=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(e=!0,t=this.createIdentifier(this.startNodeAt(i),s),this.expect(17),this.expect(14),n=this.tsParseType()):(e=!1,n=o,this.expect(17))}else n=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=n,this.eat(17)&&(e.optional=!0,this.raise(sn.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(e=this.startNodeAtNode(n),e.optional=r,this.raise(sn.InvalidTupleMemberLabel,{at:n}),e.label=n,e.elementType=this.tsParseType()),n=this.finishNode(e,"TSNamedTupleMember")}else if(r){let e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,"TSOptionalType")}if(s){let e=this.startNodeAt(i);e.typeAnnotation=n,n=this.finishNode(e,"TSRestType")}return n}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(S(e)||88===e||84===e){let t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":on(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(sn.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 R(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){let n=this.startNode(),i=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||i?(n.types=s,this.finishNode(n,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(S(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(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&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 i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,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=i,r.typeAnnotation=s,r.asserts=n,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(),!(!S(this.state.type)&&!this.match(78))&&(e&&this.raise(ce.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(){nn(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(sn.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(sn.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),S(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,pt)):(e.id=null,this.raise(sn.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,ht),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?gt:dt),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(je),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,vt),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(We),this.prodParam.enter(Er),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(We),this.prodParam.enter(Er),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,it),this.expect(29);let r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(sn.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 S(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(We),this.prodParam.enter(Er);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,n){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||S(this.state.type)))return this.tsParseAbstractDeclaration(e,n);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if(S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&S(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(sn.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return $(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let r=this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);let i=n.accessibility,s=n.override,o=n.readonly;!(4&e)&&(i||o||s)&&this.raise(sn.UnexpectedParameterModifier,{at:r});let a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a,e);let u=this.parseMaybeDefault(a.loc.start,a);if(i||o||s){let e=this.startNodeAt(r);return t.length&&(e.decorators=t),i&&(e.accessibility=i),o&&(e.readonly=o),s&&(e.override=s),"Identifier"!==u.type&&"AssignmentPattern"!==u.type&&this.raise(sn.UnsupportedParameterPropertyKind,{at:e}),e.parameter=u,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),u}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(sn.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 n="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):"TSDeclareFunction"===n&&this.state.isAmbientContext&&(this.raise(sn.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,ft):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(sn.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,r,n){let i=super.parseArrayLike(e,t,r,n);return"ArrayExpression"===i.type&&this.tsCheckForInvalidTypeCasts(i.elements),i}parseSubscript(e,t,r,n){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 i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(r)return n.stop=!0,e;n.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let s,o=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}let o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(i&&!this.match(10))return void(s=this.state.curPosition());if(z(this.state.type)){let r=super.parseTaggedTemplateExpression(e,t,n);return r.typeParameters=o,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=o,n.optionalChainMember&&(r.optional=i),this.finishCallExpression(r,n.optionalChainMember)}let a=this.state.type;if(48===a||52===a||10!==a&&N(a)&&!this.hasPrecedingLineBreak())return;let u=this.startNodeAt(t);return u.expression=e,u.typeParameters=o,this.finishNode(u,"TSInstantiationExpression")}));if(s&&this.unexpected(s,10),o)return"TSInstantiationExpression"===o.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(sn.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),o}return super.parseSubscript(e,t,r,n)}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 n;if(U(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(118)))){let i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(n&&this.raise(ce.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(i,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,r)}return super.parseExprOp(e,t,r)}checkReservedWord(e,t,r,n){this.state.isAmbientContext||super.checkReservedWord(e,t,r,n)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(sn.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",S(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()),S(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(sn.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:n}=this.state,i=super.parseVarStatement(e,t,r||n);if(!n)return i;for(let{id:s,init:o}of i.declarations)o&&("const"!==t||s.typeAnnotation?this.raise(sn.InitializerNotAllowedInAmbientContext,{at:o}):pn(o,this.hasPlugin("estree"))||this.raise(sn.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:o}));return i}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=>an(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:sn.InvalidModifierOnTypeParameterPositions},t);let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,n)&&this.raise(sn.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,r,n){let i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(sn.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(sn.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(sn.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(sn.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(sn.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(sn.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(sn.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(sn.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 n=this.tryParse((()=>super.parseConditional(e,t)));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(r,n.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(sn.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let n=S(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return n?(("TSInterfaceDeclaration"===n.type||"TSTypeAliasDeclaration"===n.type||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(n,t),n.declare=!0),n):null}parseClassId(e,t,r,n){if((!t||r)&&this.isContextual(111))return;super.parseClassId(e,t,r,e.declare?ft:ot);let i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}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(sn.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise(sn.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(sn.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(sn.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(sn.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,r,n,i,s){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&i&&this.raise(sn.ConstructorHasTypeParameters,{at:o});let{declare:a=!1,kind:u}=t;a&&("get"===u||"set"===u)&&this.raise(sn.DeclareAccessor,{at:t,kind:u}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,r,n)}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,n,i,s,o){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);return a&&(e.typeParameters=a),super.parseObjPropValue(e,t,r,n,i,s,o)}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,n,s,o,a,u,l;let c,p,h;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(c=this.state.clone(),p=this.tryParse((()=>super.parseMaybeAssign(e,t)),c),!p.error)return p.node;let{context:r}=this.state,n=r[r.length-1];(n===i.j_oTag||n===i.j_expr)&&r.pop()}if((null==(r=p)||!r.error)&&!this.match(47))return super.parseMaybeAssign(e,t);(!c||c===this.state)&&(c=this.state.clone());let d,f=this.tryParse((r=>{var n,i;d=this.tsParseTypeParameters(this.tsParseConstModifier);let s=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==s.type||null!=(n=s.extra)&&n.parenthesized)&&r(),0!==(null==(i=d)?void 0:i.params.length)&&this.resetStartLocationFromNode(s,d),s.typeParameters=d,s}),c);if(!f.error&&!f.aborted)return d&&this.reportReservedArrowTypeParam(d),f.node;if(!p&&(nn(!this.hasPlugin("jsx")),h=this.tryParse((()=>super.parseMaybeAssign(e,t)),c),!h.error))return h.node;if(null!=(n=p)&&n.node)return this.state=p.failState,p.node;if(f.node)return this.state=f.failState,d&&this.reportReservedArrowTypeParam(d),f.node;if(null!=(s=h)&&s.node)return this.state=h.failState,h.node;throw null!=(o=p)&&o.thrown?p.error:f.thrown?f.error:null!=(a=h)&&a.thrown?h.error:(null==(u=p)?void 0:u.error)||f.error||(null==(l=h)?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(sn.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(sn.UnexpectedTypeCastInParameter,{at:e}):this.raise(sn.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 tn({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==mt||!t)&&["expression",!0],TSSatisfiesExpression:(r!==mt||!t)&&["expression",!0],TSTypeAssertion:(r!==mt||!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.start<r.typeAnnotation.start&&this.raise(sn.TypeAnnotationAfterAssign,{at:r.typeAnnotation}),r}getTokenFromCode(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,t,r){for(let n=0;n<e.length;n++){let t=e[n];"TSTypeCastExpression"===(null==t?void 0:t.type)&&(e[n]=this.typeCastToParameter(t))}super.toAssignableList(e,t,r)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every((e=>this.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 n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,r)}finally{this.state.inAbstractClass=n}}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(sn.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,r,n,i,s,o){let a=super.parseMethod(e,t,r,n,i,s,o);if(a.abstract&&(this.hasPlugin("estree")?a.value.body:a.body)){let{key:e}=a;this.raise(sn.AbstractMethodHasImplementation,{at:a,methodName:"Identifier"!==e.type||a.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return a}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,n){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,n))}parseImportSpecifier(e,t,r,n,i){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,n,r?Dt:it))}parseTypeOnlyImportExportSpecifier(e,t,r){let n,i=t?"imported":"local",s=t?"local":"exported",o=e[i],a=!1,u=!0,l=o.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let r=this.parseIdentifier();F(this.state.type)?(a=!0,o=e,n=t?this.parseIdentifier():this.parseModuleExportName(),u=!1):(n=r,u=!1)}else F(this.state.type)?(u=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(a=!0,o=e)}else F(this.state.type)&&(a=!0,t?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());a&&r&&this.raise(t?sn.TypeModifierIsUsedInTypeImports:sn.TypeModifierIsUsedInTypeExports,{at:l}),e[i]=o,e[s]=n,e[t?"importKind":"exportKind"]=a?"type":"value",u&&this.eatContextual(93)&&(e[s]=t?this.parseIdentifier():this.parseModuleExportName()),e[s]||(e[s]=Or(e[i])),t&&this.checkIdentifier(e[s],a?Dt:it)}};function cn(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))&&fn(e.object)}function pn(e,t){var r;let{type:n}=e;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===n){let{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===n||"BooleanLiteral"===n)return!0;return!!(hn(e,t)||dn(e,t)||"TemplateLiteral"===n&&0===e.expressions.length||cn(e))}function hn(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function dn(e,t){if("UnaryExpression"===e.type){let{operator:r,argument:n}=e;if("-"===r&&hn(n,t))return!0}return!1}function fn(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&fn(e.object)}var mn=le`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),yn=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,n){void 0!==e&&super.checkReservedWord(e,t,r,n)}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 n=t?"ClassDeclaration":"ClassExpression";this.next();let i=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,n);throw this.raise(mn.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,i),this.finishNode(e,n)}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 n=this.startNode();return n.exported=r,e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(V(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(mn.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},gn=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),S(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 vn(e,t){let[r,n]="string"==typeof t?[t,{}]:t,i=Object.keys(n),s=0===i.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 i)if(s[e]!==n[e])return!1;return!0}}))}function Dn(e,t,r){let n=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return n&&Array.isArray(n)&&n.length>1?n[1][r]:null}var bn=["minimal","fsharp","hack","smart"],En=["^^","@@","^","%","#"],xn=["hash","bar"];function Cn(e){if(vn(e,"decorators")){if(vn(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=Dn(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let r=Dn(e,"decorators","allowCallParenthesized");if(null!=r&&"boolean"!=typeof r)throw new Error("'allowCallParenthesized' must be a boolean.")}if(vn(e,"flow")&&vn(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(vn(e,"placeholders")&&vn(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(vn(e,"pipelineOperator")){let t=Dn(e,"pipelineOperator","proposal");if(!bn.includes(t)){let e=bn.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}let r=vn(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(vn(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(vn(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let t=Dn(e,"pipelineOperator","topicToken");if(!En.includes(t)){let e=En.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(vn(e,"moduleAttributes")){if(vn(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==Dn(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(vn(e,"recordAndTuple")&&null!=Dn(e,"recordAndTuple","syntaxType")&&!xn.includes(Dn(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+xn.map((e=>`'${e}'`)).join(", "));if(vn(e,"asyncDoExpressions")&&!vn(e,"doExpressions")){let e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}var wn={estree:fe,jsx:Xr,flow:zr,typescript:ln,v8intrinsic:gn,placeholders:yn},An=Object.keys(wn),Sn=class extends en{checkProto(e,t,r,n){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;let i=e.key;if("__proto__"===("Identifier"===i.type?i.name:i.value)){if(t)return void this.raise(ce.RecordNoProto,{at:i});r.used&&(n?null===n.doubleProtoLoc&&(n.doubleProtoLoc=i.loc.start):this.raise(ce.DuplicateProto,{at:i})),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 n=this.startNodeAt(t);for(n.expressions=[r];this.eat(12);)n.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(n.expressions),this.finishNode(n,"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,n=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,n)),e}e?r=!1:(e=new kr,r=!0);let{type:i}=this.state;(10===i||S(i))&&(this.state.potentialArrowAt=this.state.start);let s=this.parseMaybeConditional(e);if(t&&(s=t.call(this,s,n)),_(this.state.type)){let t=this.startNodeAt(n),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(s,!0),t.left=s;let r=n.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,n=this.parseExprOps(e);return this.shouldExitDescending(n,r)?n:this.parseConditional(n,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,n=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(n,r)?n:this.parseExprOp(n,t,-1)}parseExprOp(e,t,r){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(r>=U(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(ce.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let n=this.state.type;if(j(n)&&(this.prodParam.hasIn||!this.match(58))){let i=U(n);if(i>r){if(39===n){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 o=41===n||42===n,a=40===n;if(a&&(i=U(42)),this.next(),39===n&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(ce.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});s.right=this.parseExprOpRightExpr(n,i);let u=this.finishNode(s,o||a?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(a&&(41===l||42===l)||o&&40===l)throw this.raise(ce.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(u,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(ce.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,q(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,r=this.parseMaybeAssign();return ie.has(r.type)&&!(null!=(e=r.extra)&&e.parenthesized)&&this.raise(ce.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(ce.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(e){this.match(57)&&this.raise(ce.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let r=this.state.startLoc,n=this.isContextual(96);if(n&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(r);return t||this.checkExponentialAfterUnary(e),e}let i=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(ce.StrictDelete,{at:s}):this.hasPropertyAsPrivateName(e)&&this.raise(ce.DeletePrivateField,{at:s})}if(!i)return t||this.checkExponentialAfterUnary(s),this.finishNode(s,"UnaryExpression")}let o=this.parseUpdate(s,i,e);if(n){let{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?N(e):N(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(ce.AwaitNotInAsyncContext,{at:r}),this.parseAwait(r)}return o}parseUpdate(e,t,r){if(t){let t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}let n=this.state.startLoc,i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return i;for(;L(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(n);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,{in:i=this.finishNode(e,"UpdateExpression")})}return i}parseExprSubscripts(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseExprAtom(e);return this.shouldExitDescending(n,r)?n:this.parseSubscripts(n,t)}parseSubscripts(e,t,r){let n={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,n),n.maybeAsyncArrow=!1}while(!n.stop);return e}parseSubscript(e,t,r,n){let{type:i}=this.state;if(!r&&15===i)return this.parseBind(e,t,r,n);if(z(i))return this.parseTaggedTemplateExpression(e,t,n);let s=!1;if(18===i){if(r&&(this.raise(ce.OptionalChainingNoNew,{at:this.state.startLoc}),40===this.lookaheadCharCode()))return n.stop=!0,e;n.optionalChainMember=s=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,n,s);{let r=this.eat(0);return r||s||this.eat(16)?this.parseMember(e,t,n,r,s):(n.stop=!0,e)}}parseMember(e,t,r,n,i){let s=this.startNodeAt(t);return s.object=e,s.computed=n,n?(s.property=this.parseExpression(),this.expect(3)):this.match(136)?("Super"===e.type&&this.raise(ce.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=i,this.finishNode(s,"OptionalMemberExpression")):this.finishNode(s,"MemberExpression")}parseBind(e,t,r,n){let i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),n.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r)}parseCoverCallAndAsyncArrowHead(e,t,r,n){let i=this.state.maybeInArrowParameters,s=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t);o.callee=e;let{maybeAsyncArrow:a,optionalChainMember:u}=r;a&&(this.expressionScope.enter(Dr()),s=new kr),u&&(o.optional=n),o.arguments=n?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,s);let l=this.finishCallExpression(o,u);return a&&this.shouldParseAsyncArrow()&&!n?(r.stop=!0,this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(a&&(this.checkExpressionErrors(s,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=i,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r){let n=this.startNodeAt(t);return n.tag=e,n.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(ce.OptionalChainingNoTemplate,{at:t}),this.finishNode(n,"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(ce.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let r of e.arguments)"SpreadElement"===r.type&&this.raise(ce.ImportCallSpreadArgument,{at:r});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){let s=[],o=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(ce.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),n&&this.addTrailingCommaExtraToNode(n),this.next();break}s.push(this.parseExprListItem(!1,i,r))}return this.state.inFSharpPipelineDirectBody=a,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&&Lt(e,t.innerComments),t.callee.trailingComments&&Lt(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:n}=this.state;switch(n){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(ce.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(ce.UnsupportedBind,{at:e})}case 136:return this.raise(ce.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());xe(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(S(n)){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(S(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=X(this.state.endLoc,-1),this.parseTopicReference(r);this.unexpected()}parseTopicReference(e){let t=this.startNode(),r=this.state.startLoc,n=this.state.type;return this.next(),this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n="smart"===r?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===r?ce.PrimaryTopicNotAllowed:ce.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,n)}throw this.raise(ce.PipeTopicUnconfiguredToken,{at:t,token:V(n)})}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:V(r)}]);case"smart":return 27===r;default:throw this.raise(ce.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(ce.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(Cr),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(ce.UnexpectedSuper,{at:e}):this.raise(ce.SuperNotAllowed,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(ce.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(X(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 n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(ce.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(ce.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(vr());let n=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let s,o,a=this.state.startLoc,u=[],l=new kr,c=!0;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,null===l.optionalParametersLoc?null:l.optionalParametersLoc),this.match(11)){o=this.state.startLoc;break}if(this.match(21)){let e=this.state.startLoc;if(s=this.state.startLoc,u.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else u.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}let p=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=n,this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(r);return e&&this.shouldParseArrow(u)&&(h=this.parseArrow(h))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(h,u,!1),h):(this.expressionScope.exit(),u.length||this.unexpected(this.state.lastTokStartLoc),o&&this.unexpected(o),s&&this.unexpected(s),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(u,!0),u.length>1?(t=this.startNodeAt(a),t.expressions=u,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,p)):t=u[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(ce.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(ce.ImportCallNotNewExpression,{at:e.callee})}parseTemplateElement(e){let{start:t,startLoc:r,end:n,value:i}=this.state,s=t+1,o=this.startNodeAt(X(r,1));null===i&&(e||this.raise(ce.InvalidEscapeSequenceTemplate,{at:X(this.state.firstInvalidTemplateEscapePos,1)}));let a=this.match(24),u=a?-1:-2,l=n+u;o.value={raw:this.input.slice(s,l).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,u)},o.tail=a,this.next();let c=this.finishNode(o,"TemplateElement");return this.resetEndLocation(c,X(this.state.lastTokEndLoc,u)),c}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,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=Object.create(null),o=!0,a=this.startNode();for(a.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(a);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(n),this.checkProto(i,r,s,n)),r&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(ce.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,"shorthand",!0),a.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let u="ObjectExpression";return t?u="ObjectPattern":r&&(u="RecordExpression"),this.finishNode(a,u)}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(ce.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let r,n=this.startNode(),i=!1,s=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(n.decorators=t,t=[]),n.method=!1,e&&(r=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(n);let a=this.state.containsEsc,u=this.parsePropertyName(n,e);if(!o&&!a&&this.maybeAsyncOrAccessorProp(n)){let e=u.name;"async"===e&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(u),o=this.eat(55),this.parsePropertyName(n)),("get"===e||"set"===e)&&(s=!0,this.resetPreviousNodeTrailingComments(u),n.kind=e,this.match(55)&&(o=!0,this.raise(ce.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,r,o,i,!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),n=this.getObjectOrClassMethodParams(e);n.length!==r&&this.raise("get"===e.kind?ce.BadGetterArity:ce.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=n[n.length-1])?void 0:t.type)&&this.raise(ce.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,r,n,i){if(i){let r=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(r),r}if(r||t||this.match(10))return n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,r,n){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(n),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!=n?null===n.shorthandAssignLoc&&(n.shorthandAssignLoc=r):this.raise(ce.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,n,i,s,o){let a=this.parseObjectMethod(e,r,n,i,s)||this.parseObjectProperty(e,t,i,o);return a||this.unexpected(),a}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let r,{type:n,value:i}=this.state;if(F(n))r=this.parseIdentifier(!0);else switch(n){case 132:r=this.parseNumericLiteral(i);break;case 131:r=this.parseStringLiteral(i);break;case 133:r=this.parseBigIntLiteral(i);break;case 134:r=this.parseDecimalLiteral(i);break;case 136:{let e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(ce.UnexpectedPrivateField,{at:e}),r=this.parsePrivateName();break}default:this.unexpected()}e.key=r,136!==n&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,r,n,i,s){let o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,r),e.generator=t,this.scope.enter(Me|Ve|(o?qe:0)|(i?Ue:0)),this.prodParam.enter(Tr(r,e.generator)),this.parseFunctionParams(e,n);let a=this.parseFunctionBodyAndFinish(e,s,!0);return this.prodParam.exit(),this.scope.exit(),a}parseArrayLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,n,s),this.state.inFSharpPipelineDirectBody=i,this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(Me|Re);let i=Tr(r,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=Ar),this.prodParam.enter(i),this.initFunction(e,r);let s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,n)),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],n=t&&!this.match(5);if(this.expressionScope.enter(br()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let n=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|wr),e.body=this.parseBlock(!0,!1,(i=>{let s=!this.isSimpleParamList(e.params);i&&s&&this.raise(ce.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});let o=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!s,t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,yt,o)})),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!t&&new Set,s={type:"FormalParameters"};for(let o of e.params)this.checkLVal(o,{in:s,binding:lt,checkClashes:i,strictModeChanged:n})}parseExprList(e,t,r,n){let i=[],s=!0;for(;!this.eat(e);){if(s)s=!1;else if(this.expect(12),this.match(e)){n&&this.addTrailingCommaExtraToNode(n),this.next();break}i.push(this.parseExprListItem(t,r))}return i}parseExprListItem(e,t,r){let n;if(this.match(12))e||this.raise(ce.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),n=null;else if(this.match(21)){let e=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(ce.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let e=this.startNode();this.next(),n=this.finishNode(e,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return n}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:n}=this.state;F(n)?t=this.state.value:this.unexpected();let i=T(n);return e?i&&this.replaceToken(130):this.checkReservedWord(t,r,i,!1),this.next(),t}checkReservedWord(e,t,r,n){if(!(e.length>10)&&Be(e))if(r&&_e(e))this.raise(ce.UnexpectedKeyword,{at:t,keyword:e});else if((this.state.strict?n?Ne:ke:Fe)(e,this.inModule))this.raise(ce.UnexpectedReservedWord,{at:t,reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(ce.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(ce.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(ce.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(ce.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(ce.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(ce.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||z(e)||101===e&&!this.state.containsEsc||135===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(ce.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(ce.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(ce.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(ce.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(Ar&~t){this.prodParam.enter(t|Ar);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(Ar&t){this.prodParam.enter(t&~Ar);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 n=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,n}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){}},Tn={kind:"loop"},Fn={kind:"switch"},kn=/[\uD800-\uDFFF]/u,Pn=/in(?:stanceof)?/y;function Nn(e,t){for(let r=0;r<e.length;r++){let n=e[r],{type:i}=n;if("number"==typeof i){if(136===i){let{loc:t,start:i,value:s,end:o}=n,a=i+1,u=X(t.start,1);e.splice(r,1,new or({type:W(27),value:"#",start:i,end:a,startLoc:t.start,endLoc:u}),new or({type:W(130),value:s,start:a,end:o,startLoc:u,endLoc:t.end})),r++;continue}if(z(i)){let s,o,a,u,l,{loc:c,start:p,value:h,end:d}=n,f=p+1,m=X(c.start,1);s=96===t.charCodeAt(p)?new or({type:W(22),value:"`",start:p,end:f,startLoc:c.start,endLoc:m}):new or({type:W(8),value:"}",start:p,end:f,startLoc:c.start,endLoc:m}),24===i?(a=d-1,u=X(c.end,-1),o=null===h?null:h.slice(1,-1),l=new or({type:W(22),value:"`",start:a,end:d,startLoc:u,endLoc:c.end})):(a=d-2,u=X(c.end,-2),o=null===h?null:h.slice(1,-2),l=new or({type:W(23),value:"${",start:a,end:d,startLoc:u,endLoc:c.end})),e.splice(r,1,s,new or({type:W(20),value:o,start:f,end:a,startLoc:m,endLoc:u}),l),r+=2;continue}n.type=W(i)}}return e}var _n=class extends Sn{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=Nn(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:137,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(e.sourceType=n,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,r),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[i,s]of Array.from(this.scope.undefinedExports))this.raise(ce.ModuleExportUndefined,{at:s,localName:i});return t=137===r?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",X(this.state.startLoc,-1)),t}stmtToDirective(e){let t=e;t.type="Directive",t.value=t.expression,delete t.expression;let r=t.value,n=r.value,i=this.input.slice(r.start,r.end),s=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",s),this.addExtra(r,"expressionValue",n),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(xe(e)){if(Pn.lastIndex=t,Pn.test(this.input)){let e=this.codePointAtPos(Pn.lastIndex);if(!Ce(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,n=this.startNode(),i=!!(2&e),s=!!(4&e),o=1&e;switch(r){case 60:return this.parseBreakContinueStatement(n,!0);case 63:return this.parseBreakContinueStatement(n,!1);case 64:return this.parseDebuggerStatement(n);case 90:return this.parseDoWhileStatement(n);case 91:return this.parseForStatement(n);case 68:if(46===this.lookaheadCharCode())break;return s||this.raise(this.state.strict?ce.StrictFunction:this.options.annexB?ce.SloppyFunctionAnnexB:ce.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(n,!1,!i&&s);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,n),!0);case 69:return this.parseIfStatement(n);case 70:return this.parseReturnStatement(n);case 71:return this.parseSwitchStatement(n);case 72:return this.parseThrowStatement(n);case 73:return this.parseTryStatement(n);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(ce.UnexpectedUsingDeclaration,{at:this.state.startLoc}):i||this.raise(ce.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(n,"using");case 99:{if(this.state.containsEsc)break;let e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(t,e)&&123!==t))break}case 75:i||this.raise(ce.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let e=this.state.value;return this.parseVarStatement(n,e)}case 92:return this.parseWhileStatement(n);case 76:return this.parseWithStatement(n);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(n);case 83:{let e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return!this.options.allowImportExportEverywhere&&!o&&this.raise(ce.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===r?(e=this.parseImport(n),"ImportDeclaration"===e.type&&(!e.importKind||"value"===e.importKind)&&(this.sawUnambiguousESM=!0)):(e=this.parseExport(n,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 i||this.raise(ce.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(n,!0,!i&&s)}let a=this.state.value,u=this.parseExpression();return S(r)&&"Identifier"===u.type&&this.eat(14)?this.parseLabeledStatement(n,a,u,e):this.parseExpressionStatement(n,u,t)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(ce.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(ce.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(ce.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(ce.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 n=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(t),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==t&&this.raise(ce.DecoratorArgumentsOutsideParentheses,{at:n})}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;r<this.state.labels.length;++r){let n=this.state.labels[r];if((null==e.label||n.name===e.label.name)&&(null!=n.kind&&(t||"loop"===n.kind)||e.label&&t))break}if(r===this.state.labels.length){let r=t?"BreakStatement":"ContinueStatement";this.raise(ce.IllegalBreakContinue,{at:e,type:r})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(Tn),e.body=this.withSmartMixTopicForbiddingContext((()=>this.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(Tn);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(je),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);let r=this.isContextual(99),n=this.isContextual(105)&&!this.hasFollowingLineBreak(),i=r&&this.hasFollowingBindingAtom()||n&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||i){let r=this.startNode(),i=this.state.value;this.next(),this.parseVar(r,!0,i);let s=this.finishNode(r,"VariableDeclaration"),o=this.match(58);return o&&n&&this.raise(ce.ForInUsing,{at:s}),(o||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),o=new kr,a=this.parseExpression(!0,o),u=this.isContextual(101);if(u&&(r&&this.raise(ce.ForOfLet,{at:a}),null===t&&s&&"Identifier"===a.type&&this.raise(ce.ForOfAsync,{at:a})),u||this.match(58)){this.checkDestructuringPrivate(o),this.toAssignable(a,!0);let r=u?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:r}}),this.parseForIn(e,a,t)}return this.checkExpressionErrors(o,!0),null!==t&&this.unexpected(t),this.parseFor(e,a)}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(ce.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,n=e.cases=[];for(this.expect(5),this.state.labels.push(Fn),this.scope.enter(je);!this.match(8);)if(this.match(61)||this.match(65)){let e=this.match(61);t&&this.finishNode(t,"SwitchCase"),n.push(t=this.startNode()),t.consequent=[],this.next(),e?t.test=this.parseExpression():(r&&this.raise(ce.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(ce.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?$e:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:ut}),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(je)),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(ce.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(Tn),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(ce.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,n){for(let s of this.state.labels)s.name===t&&this.raise(ce.LabelRedeclaration,{at:r,labelName:t});let i=I(this.state.type)?"loop":this.match(71)?"switch":null;for(let s=this.state.labels.length-1;s>=0;s--){let t=this.state.labels[s];if(t.statementStart!==e.start)break;t.statementStart=this.state.start,t.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=8&n?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,n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(je),this.parseBlockBody(n,e,!1,8,r),t&&this.scope.exit(),this.finishNode(n,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){let s=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?o:void 0,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){let s=this.state.strict,o=!1,a=!1;for(;!this.match(n);){let n=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!a){if(this.isValidDirective(n)){let e=this.stmtToDirective(n);t.push(e),!o&&"use strict"===e.value.value&&(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(n)}i&&i.call(this,o),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 n=this.match(58);return this.next(),n?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||!this.options.annexB||this.state.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(ce.ForInOfLoopInitializer,{at:t,type:n?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(ce.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=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&&!n&&("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"===r&&!(this.match(58)||this.isContextual(101))&&this.raise(ce.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(ce.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){"using"===t&&!this.inModule&&this.match(96)&&this.raise(ce.AwaitInUsingBinding,{at:this.state.startLoc});let r=this.parseBindingAtom();this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:"var"===t?lt:at}),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,n=!!(1&t),i=n&&!(4&t),s=!!(8&t);this.initFunction(e,s),this.match(55)&&(r&&this.raise(ce.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),e.generator=!0),n&&(e.id=this.parseFunctionId(i));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Me),this.prodParam.enter(Tr(s,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),n&&!r&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||S(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(gr()),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:at:ct,e.id.loc.start)}parseClass(e,t,r){this.next();let n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,n),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},n=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(n.length>0)throw this.raise(ce.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){n.push(this.parseDecorator());continue}let e=this.startNode();n.length&&(e.decorators=n,this.resetStartLocationFromNode(e,n[0]),n=[]),this.parseClassMember(i,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(ce.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),n.length)throw this.raise(ce.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){let r=this.parseIdentifier(!0);if(this.isClassMethod()){let n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}if(this.isClassProperty()){let n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){let n=this.isContextual(104);if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){let i=t,s=t,o=t,a=t,u=t,l=i,c=i;if(t.static=n,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(i)&&this.raise(ce.ConstructorIsGenerator,{at:i.key}),void this.pushClassMethod(e,i,!0,!1,!1,!1))}let p=S(this.state.type)&&!this.state.containsEsc,h=this.match(136),d=this.parseClassElementName(t),f=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(l.kind="method",h)return void this.pushClassPrivateMethod(e,s,!1,!1);let n=this.isNonstaticConstructor(i),o=!1;n&&(i.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(ce.DuplicateConstructor,{at:d}),n&&this.hasPlugin("typescript")&&t.override&&this.raise(ce.OverrideOnConstructor,{at:d}),r.hadConstructor=!0,o=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,n,o)}else if(this.isClassProperty())h?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if(p&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);let t=this.eat(55);c.optional&&this.unexpected(f),l.kind="method";let r=this.match(136);this.parseClassElementName(l),this.parsePostMemberNameModifiers(c),r?this.pushClassPrivateMethod(e,s,t,!0):(this.isNonstaticConstructor(i)&&this.raise(ce.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(!p||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(p&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);let t=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(e,u,t)}else this.isLineTerminator()?h?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),l.kind=d.name;let t=this.match(136);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(ce.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){let{type:t,value:r}=this.state;if((130===t||131===t)&&e.static&&"prototype"===r&&this.raise(ce.StaticPrototype,{at:this.state.startLoc}),136===t){"constructor"===r&&this.raise(ce.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(qe|ze|Ve);let n=this.state.labels;this.state.labels=[],this.prodParam.enter(Er);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=n,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(ce.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){!t.computed&&("constructor"===t.key.name||"constructor"===t.key.value)&&this.raise(ce.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),kt,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){let e=t.key;("constructor"===e.name||"constructor"===e.value)&&this.raise(ce.ConstructorClassField,{at:e})}let n=this.parseClassAccessorProperty(t);e.body.push(n),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),kt,n.key.loc.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,n){let i=this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);let s="get"===i.kind?i.static?At:Tt:"set"===i.kind?i.static?St:Ft:kt;this.declareClassPrivateMethodInScope(i,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(qe|Ve),this.expressionScope.enter(br()),this.prodParam.enter(Er),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ot;if(S(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,n);else{if(!r&&t)throw this.raise(ce.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),n=!r||this.eat(12),i=n&&this.eatExportStar(e),s=i&&this.maybeParseExportNamespaceSpecifier(e),o=n&&(!s||this.eat(12)),a=r||i;if(i&&!s){if(r&&this.unexpected(),t)throw this.raise(ce.UnsupportedDecoratorExport,{at:e});return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}let u,l=this.maybeParseExportNamedSpecifiers(e);if(r&&n&&!i&&!l&&this.unexpected(null,5),s&&o&&this.unexpected(null,97),a||l){if(u=!1,t)throw this.raise(ce.UnsupportedDecoratorExport,{at:e});this.parseExportFrom(e,a)}else u=this.maybeParseExportDeclaration(e);if(a||l||u){var c;let r=e;if(this.checkExport(r,!0,!1,!!r.source),"ClassDeclaration"===(null==(c=r.declaration)?void 0:c.type))this.maybeTakeDecorators(t,r.declaration,r);else if(t)throw this.raise(ce.UnsupportedDecoratorExport,{at:e});return this.finishNode(r,"ExportNamedDeclaration")}if(this.eat(65)){let r=e,n=this.parseExportDefaultExpression();if(r.declaration=n,"ClassDeclaration"===n.type)this.maybeTakeDecorators(t,n,r);else if(t)throw this.raise(ce.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!$t.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(ce.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(ce.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(S(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(S(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)||S(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(ce.DecoratorBeforeExport,{at:this.state.startLoc}),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;let t=e.declaration;"Identifier"===t.type&&"from"===t.name&&t.end-t.start===4&&(null==(i=t.extra)||!i.parenthesized)&&this.raise(ce.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let s of e.specifiers){let{exported:e}=s,t="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(s,t),!n&&s.local){let{local:e}=s;"Identifier"!==e.type?this.raise(ce.ExportBindingIsString,{at:s,localName:e.value,exportName:t}):(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 s of e.declaration.declarations)this.checkDeclaration(s.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(ce.DuplicateDefaultExport,{at:e}):this.raise(ce.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 n=this.isContextual(128),i=this.match(131),s=this.startNode();s.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(s,i,e,n))}return t}parseExportSpecifier(e,t,r,n){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=Ir(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(kn);return t&&this.raise(ce.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(ce.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start}),(null==(t=e.assertions)?void 0:t.length)>0&&this.raise(ce.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(ce.ImportJSONBindingNotDefault,{at:e.loc.start})}}}parseMaybeImportReflection(e){let t=!1;if(this.isContextual(125)){let e=this.lookahead(),r=e.type;S(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 S(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]:at;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(),n=this.state.value;if(t.has(n)&&this.raise(ce.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:n}),t.add(n),this.match(131)?r.key=this.parseStringLiteral(n):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(ce.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(ce.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(ce.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(131))throw this.raise(ce.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(ce.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let r=this.startNode(),n=this.match(131),i=this.isContextual(128);r.imported=this.parseModuleExportName();let s=this.parseImportSpecifier(r,n,"type"===e.importKind||"typeof"===e.importKind,i,void 0);e.specifiers.push(s)}}parseImportSpecifier(e,t,r,n,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:r}=e;if(t)throw this.raise(ce.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",i)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}},On=class extends _n{constructor(e,t){super(e=r(e),t),this.options=e,this.initializeScopes(),this.plugins=In(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return Nt}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 In(e){let t=new Map;for(let r of e){let[e,n]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,n||{})}return t}function Bn(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return Rn(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";let r=Rn(t,e),n=r.parse();if(r.sawUnambiguousESM)return n;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",Rn(t,e).parse()}catch{}else n.program.sourceType="script";return n}catch(n){try{return t.sourceType="script",Rn(t,e).parse()}catch{}throw n}}function jn(e,t){let r=Rn(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function Ln(e){let t={};for(let r of Object.keys(e))t[r]=W(e[r]);return t}var Mn=Ln(A);function Rn(e,t){let r=On;return null!=e&&e.plugins&&(Cn(e.plugins),r=Vn(e.plugins)),new r(e,t)}var $n={};function Vn(e){let t=An.filter((t=>vn(e,t))),r=t.join("/"),n=$n[r];if(!n){n=On;for(let e of t)n=wn[e](n);$n[r]=n}return n}e.parse=Bn,e.parseExpression=jn,e.tokTypes=Mn}}),ne=a({"src/language-js/parse/json.js"(e,t){p();var r=z(),n=H(),i=G(),s=J();function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{allowComments:t=!0}=e;return function(e){let n,{parseExpression:i}=re();try{n=i(e,{tokens:!0,ranges:!0})}catch(o){throw s(o)}if(!t&&r(n.comments))throw a(n.comments[0],"Comment");return u(n),n}}function a(e,t){let[r,i]=[e.loc.start,e.loc.end].map((e=>{let{line:t,column:r}=e;return{line:t,column:r+1}}));return n(`${t} is not allowed in JSON.`,{start:r,end:i})}function u(e){switch(e.type){case"ArrayExpression":for(let t of e.elements)null!==t&&u(t);return;case"ObjectExpression":for(let t of e.properties)u(t);return;case"ObjectProperty":if(e.computed)throw a(e.key,"Computed key");if(e.shorthand)throw a(e.key,"Shorthand property");return"Identifier"!==e.key.type&&u(e.key),void u(e.value);case"UnaryExpression":{let{operator:t,argument:r}=e;if("+"!==t&&"-"!==t)throw a(e,`Operator '${e.operator}'`);if("NumericLiteral"===r.type||"Identifier"===r.type&&("Infinity"===r.name||"NaN"===r.name))return;throw a(r,`Operator '${t}' before '${r.type}'`)}case"Identifier":if("Infinity"!==e.name&&"NaN"!==e.name&&"undefined"!==e.name)throw a(e,`Identifier '${e.name}'`);return;case"TemplateLiteral":if(r(e.expressions))throw a(e.expressions[0],"'TemplateLiteral' with expression");for(let t of e.quasis)u(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw a(e,`'${e.type}'`)}}var l=o(),c={json:i({parse:l,hasPragma:()=>!0}),json5:i(l),"json-stringify":i({parse:o({allowComments:!1}),astFormat:"estree-json"})};t.exports=c}});p();var ie=h(),se=d(),oe=v(),ae=G(),ue=J(),le=te(),ce=ne(),pe={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},he=["recordAndTuple",{syntaxType:"hash"}],de="v8intrinsic",fe=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],ye=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pe;return Object.assign(Object.assign({},t),{},{plugins:[...t.plugins,...e]})},ge=/@(?:no)?flow\b/;function De(e,t){if(t.filepath&&t.filepath.endsWith(".js.flow"))return!0;let r=se(e);r&&(e=e.slice(r.length));let n=oe(e,0);return!1!==n&&(e=e.slice(0,n)),ge.test(e)}function be(e,t,r){let n=(0,re()[e])(t,r),i=n.errors.find((e=>!Fe.has(e.reasonCode)));if(i)throw i;return n}function Ee(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(("babel"===i.parser||"__babel_estree"===i.parser)&&De(t,i))return i.parser="babel-flow",Ce(t,n,i);let s=r;"script"===i.__babelSourceType&&(s=s.map((e=>Object.assign(Object.assign({},e),{},{sourceType:"script"})))),/#[[{]/.test(t)&&(s=s.map((e=>ye([he],e))));let o=/%[A-Z]/.test(t);t.includes("|>")?s=(o?[...fe,de]:fe).flatMap((e=>s.map((t=>ye([e],t))))):o&&(s=s.map((e=>ye([de],e))));let{result:a,error:u}=ie(...s.map((r=>()=>be(e,t,r))));if(!a)throw ue(u);return i.originalText=t,le(a,i)}}var xe=Ee("parse",ye(["jsx","flow"])),Ce=Ee("parse",ye(["jsx",["flow",{all:!0,enums:!0}]])),we=Ee("parse",ye(["jsx","typescript"]),ye(["typescript"])),Ae=Ee("parse",ye(["jsx","flow","estree"])),Se=Ee("parseExpression",ye(["jsx"])),Te=Ee("parseExpression",ye(["typescript"])),Fe=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=ae(xe),Ne=ae(we),_e=ae(Se),Oe=ae(Te);t.exports={parsers:Object.assign(Object.assign({babel:Pe,"babel-flow":ae(Ce),"babel-ts":Ne},ce),{},{__js_expression:_e,__vue_expression:_e,__vue_ts_expression:Oe,__vue_event_binding:Pe,__vue_ts_event_binding:Ne,__babel_estree:ae(Ae)})}}));return Pe()}()},2237: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 n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),s=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),o=e(((e,t)=>{var r=s(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),a=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),u=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(),n=Function.prototype,i=n.call,o=r&&n.bind.bind(i,i);t.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}})),c=e(((e,t)=>{var r=l(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,t)=>{var r=l(),i=n(),s=c(),o=Object,a=r("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a(e,""):o(e)}:o})),h=e(((e,t)=>{t.exports=function(e){return null==e}})),d=e(((e,t)=>{var r=h(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),f=e(((e,t)=>{var r=p(),n=d();t.exports=function(e){return r(n(e))}})),m=e(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),y=e(((e,t)=>{var r=m(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),g=e(((e,t)=>{var r=y(),n=m(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),v=e(((e,r)=>{var n=t(),i=y(),s=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}})),D=e(((e,t)=>{var r=l();t.exports=r({}.isPrototypeOf)})),b=e(((e,t)=>{var r=v();t.exports=r("navigator","userAgent")||""})),E=e(((e,r)=>{var n,i,s=t(),o=b(),a=s.process,u=s.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),x=e(((e,t)=>{var r=E(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),C=e(((e,t)=>{var r=x();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),w=e(((e,t)=>{var r=v(),n=y(),i=D(),s=C(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),A=e(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),S=e(((e,t)=>{var r=y(),n=A(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),T=e(((e,t)=>{var r=S(),n=h();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),F=e(((e,t)=>{var r=o(),n=y(),i=g(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),k=e(((e,t)=>{t.exports=!1})),P=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),N=e(((e,r)=>{var n=t(),i=P(),s="__core-js_shared__",o=n[s]||i(s,{});r.exports=o})),_=e(((e,t)=>{var r=k(),n=N();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"\xa9 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=d(),n=Object;t.exports=function(e){return n(r(e))}})),I=e(((e,t)=>{var r=l(),n=O(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),B=e(((e,t)=>{var r=l(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),j=e(((e,r)=>{var n=t(),i=_(),s=I(),o=B(),a=x(),u=C(),l=i("wks"),c=n.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||o;r.exports=function(e){if(!s(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&s(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),L=e(((e,t)=>{var r=o(),n=g(),i=w(),s=T(),a=F(),u=j(),l=TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var o,u=s(e,c);if(u){if(void 0===t&&(t="default"),o=r(u,e,t),!n(o)||i(o))return o;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}})),M=e(((e,t)=>{var r=L(),n=w();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),R=e(((e,r)=>{var n=t(),i=g(),s=n.document,o=i(s)&&i(s.createElement);r.exports=function(e){return o?s.createElement(e):{}}})),$=e(((e,t)=>{var r=i(),s=n(),o=R();t.exports=!r&&!s((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),V=e((e=>{var t=i(),r=o(),n=a(),s=u(),l=f(),c=M(),p=I(),h=$(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=l(e),t=c(t),h)try{return d(e,t)}catch{}if(p(e,t))return s(!r(n.f,e,t),e[t])}})),U=e(((e,t)=>{var r=i(),s=n();t.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),q=e(((e,t)=>{var r=g(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),z=e((e=>{var t=i(),r=$(),n=U(),s=q(),o=M(),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(s(e),t=o(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(s(e),t=o(t),s(n),r)try{return u(e,t,n)}catch{}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),W=e(((e,t)=>{var r=i(),n=z(),s=u();t.exports=r?function(e,t,r){return n.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}})),G=e(((e,t)=>{var r=i(),n=I(),s=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=n(s,"name"),u=a&&"something"===function(){}.name,l=a&&(!r||r&&o(s,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:l}})),H=e(((e,t)=>{var r=l(),n=y(),i=N(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),J=e(((e,r)=>{var n=t(),i=y(),s=n.WeakMap;r.exports=i(s)&&/native code/.test(String(s))})),X=e(((e,t)=>{var r=_(),n=B(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),Q=e(((e,t)=>{t.exports={}})),K=e(((e,r)=>{var n,i,s,o,a,u=J(),l=t(),c=g(),p=W(),h=I(),d=N(),f=X(),m=Q(),y="Object already initialized",v=l.TypeError,D=l.WeakMap,b=function(e){return s(e)?i(e):n(e,{})},E=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return r}};u||d.state?((o=d.state||(d.state=new D)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw v(y);return t.facade=e,o.set(e,t),t},i=function(e){return o.get(e)||{}},s=function(e){return o.has(e)}):(m[a=f("state")]=!0,n=function(e,t){if(h(e,a))throw v(y);return t.facade=e,p(e,a,t),t},i=function(e){return h(e,a)?e[a]:{}},s=function(e){return h(e,a)}),r.exports={set:n,get:i,has:s,enforce:b,getterFor:E}})),Y=e(((e,t)=>{var r=n(),s=y(),o=I(),a=i(),u=G().CONFIGURABLE,l=H(),c=K(),p=c.enforce,h=c.get,d=Object.defineProperty,f=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),g=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),(!o(e,"name")||u&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&o(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return o(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return s(this)&&h(this).source||l(this)}),"toString")})),Z=e(((e,t)=>{var r=y(),n=z(),i=Y(),s=P();t.exports=function(e,t,o,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:t;if(r(o)&&i(o,l,a),a.global)u?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),ee=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n: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(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),ne=e(((e,t)=>{var r=te(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ie=e(((e,t)=>{var r=ne();t.exports=function(e){return r(e.length)}})),se=e(((e,t)=>{var r=f(),n=re(),i=ie(),s=function(e){return function(t,s,o){var a,u=r(t),l=i(u),c=n(o,l);if(e&&s!=s){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),oe=e(((e,t)=>{var r=l(),n=I(),i=f(),s=se().indexOf,o=Q(),a=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(o,r)&&n(u,r)&&a(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||a(c,r));return c}})),ae=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ue=e((e=>{var t=oe(),r=ae().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),le=e((e=>{e.f=Object.getOwnPropertySymbols})),ce=e(((e,t)=>{var r=v(),n=l(),i=ue(),s=le(),o=q(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),pe=e(((e,t)=>{var r=I(),n=ce(),i=V(),s=z();t.exports=function(e,t,o){for(var a=n(t),u=s.f,l=i.f,c=0;c<a.length;c++){var p=a[c];!r(e,p)&&(!o||!r(o,p))&&u(e,p,l(t,p))}}})),he=e(((e,t)=>{var r=n(),i=y(),s=/#|\.prototype\./,o=function(e,t){var n=u[a(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),de=e(((e,r)=>{var n=t(),i=V().f,s=W(),o=Z(),a=P(),u=pe(),l=he();r.exports=function(e,t){var r,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(r=m?n:y?n[f]||a(f,{}):(n[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=i(r,c))&&d.value:r[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&s(h,"sham",!0),o(r,c,h,e)}}})),fe=e((()=>{var e=de(),r=t();e({global:!0,forced:r.globalThis!==r},{globalThis:r})})),me=e((()=>{fe()})),ye=e(((e,t)=>{var r=c();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),ge=e(((e,t)=>{var r=TypeError,n=9007199254740991;t.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}})),ve=e(((e,t)=>{var r=c(),n=l();t.exports=function(e){if("Function"===r(e))return n(e)}})),De=e(((e,t)=>{var r=ve(),n=S(),i=s(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}})),be=e(((e,t)=>{var r=ye(),n=ie(),i=ge(),s=De(),o=function(e,t,a,u,l,c,p,h){for(var d,f,m=l,y=0,g=!!p&&s(p,h);y<u;)y in a&&(d=g?g(a[y],y,t):a[y],c>0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),y++;return m};t.exports=o})),Ee=e(((e,t)=>{var r={};r[j()("toStringTag")]="z",t.exports="[object z]"===String(r)})),xe=e(((e,t)=>{var r=Ee(),n=y(),i=c(),s=j()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch{}};t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}})),Ce=e(((e,t)=>{var r=l(),i=n(),s=y(),o=xe(),a=v(),u=H(),c=function(){},p=[],h=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),m=!d.exec(c),g=function(e){if(!s(e))return!1;try{return h(c,p,e),!0}catch{return!1}},D=function(e){if(!s(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(d,u(e))}catch{return!0}};D.sham=!0,t.exports=!h||i((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?D:g})),we=e(((e,t)=>{var r=ye(),n=Ce(),i=g(),s=j()("species"),o=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(n(t)&&(t===o||r(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}})),Ae=e(((e,t)=>{var r=we();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),Se=e((()=>{var e=de(),t=be(),r=S(),n=O(),i=ie(),s=Ae();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),u=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,u,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Te=e(((e,t)=>{t.exports={}})),Fe=e(((e,t)=>{var r=j(),n=Te(),i=r("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}})),ke=e(((e,t)=>{var r=xe(),n=T(),i=h(),s=Te(),o=j()("iterator");t.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[r(e)]}})),Pe=e(((e,t)=>{var r=o(),n=S(),i=q(),s=A(),a=ke(),u=TypeError;t.exports=function(e,t){var o=arguments.length<2?a(e):t;if(n(o))return i(r(o,e));throw u(s(e)+" is not iterable")}})),Ne=e(((e,t)=>{var r=o(),n=q(),i=T();t.exports=function(e,t,s){var o,a;n(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=r(o,e)}catch(u){a=!0,o=u}if("throw"===t)throw s;if(a)throw o;return n(o),s}})),_e=e(((e,t)=>{var r=De(),n=o(),i=q(),s=A(),a=Fe(),u=ie(),l=D(),c=Pe(),p=ke(),h=Ne(),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,o){var y,g,v,D,b,E,x,C=o&&o.that,w=!(!o||!o.AS_ENTRIES),A=!(!o||!o.IS_RECORD),S=!(!o||!o.IS_ITERATOR),T=!(!o||!o.INTERRUPTED),F=r(t,C),k=function(e){return y&&h(y,"normal",e),new f(!0,e)},P=function(e){return w?(i(e),T?F(e[0],e[1],k):F(e[0],e[1])):T?F(e,k):F(e)};if(A)y=e.iterator;else if(S)y=e;else{if(!(g=p(e)))throw d(s(e)+" is not iterable");if(a(g)){for(v=0,D=u(e);D>v;v++)if((b=P(e[v]))&&l(m,b))return b;return new f(!1)}y=c(e,g)}for(E=A?e.next:y.next;!(x=n(E,y)).done;){try{b=P(x.value)}catch(N){h(y,"throw",N)}if("object"==typeof b&&b&&l(m,b))return b}return new f(!1)}})),Oe=e(((e,t)=>{var r=M(),n=z(),i=u();t.exports=function(e,t,s){var o=r(t);o in e?n.f(e,o,i(0,s)):e[o]=s}})),Ie=e((()=>{var e=de(),t=_e(),r=Oe();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,(function(e,t){r(n,e,t)}),{AS_ENTRIES:!0}),n}})})),Be=e(((e,t)=>{var r=["cliName","cliCategory","cliDescription"];function n(e,t){if(null==e)return{};var r,n,s=i(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}function i(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}me(),Se(),Ie();var s,o=Object.create,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,h=(e,t)=>function(){return e&&(t=(0,e[l(e)[0]])(e=0)),t},d=(e,t)=>function(){return t||(0,e[l(e)[0]])((t={exports:{}}).exports,t),t.exports},f=(e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})},m=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))!p.call(e,i)&&i!==r&&a(e,i,{get:()=>t[i],enumerable:!(n=u(t,i))||n.enumerable});return e},y=(e,t,r)=>(r=null!=e?o(c(e)):{},m(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)),g=e=>m(a({},"__esModule",{value:!0}),e),v=h({"<define:process>"(){s={env:{},argv:[]}}}),D=d({"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 n(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function i(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 o(t){return e.$0<=t&&t<=e.$7}v(),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=n,e.isAsciiHexDigit=i,e.isNewLine=s,e.isOctalDigit=o}}),b=d({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){v(),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,n){let i=`"${e}".${r}${(n=n||[]).length?`.${n.join(".")}`:""}`,s=this.cache.get(i);return s||(s=new t(e,r,n),this.cache.set(i,s)),s}};e.StaticSymbolCache=r}}),E=d({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){v(),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;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()}))}function n(e,t){return s(e,":",t)}function i(e,t){return s(e,".",t)}function s(e,t,r){let n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function o(e,t,r){return Array.isArray(e)?t.visitArray(e,r):D(e)?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}function a(e){return null!=e}function u(e){return void 0===e?null:e}e.dashCaseToCamelCase=r,e.splitAtColon=n,e.splitAtPeriod=i,e.visitValue=o,e.isDefined=a,e.noUndefined=u;var l=class{visitArray(e,t){return e.map((e=>o(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((n=>{r[n]=o(e[n],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}};function c(e){throw new Error(`Internal Error: ${e}`)}function p(e,t){let r=Error(e);return r[h]=!0,t&&(r[d]=t),r}e.ValueTransformer=l,e.SyncAsync={assertSync:e=>{if(C(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>C(e)?e.then(t):t(e),all:e=>e.some(C)?Promise.all(e):e},e.error=c,e.syntaxError=p;var h="ngSyntaxError",d="ngParseErrors";function f(e){return e[h]}function m(e){return e[d]||[]}function y(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.isSyntaxError=f,e.getParseErrors=m,e.escapeRegExp=y;var g=Object.getPrototypeOf({});function D(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===g}function b(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t}function E(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(E).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 x(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function C(e){return!!e&&"function"==typeof e.then}e.utf8Encode=b,e.stringify=E,e.resolveForwardRef=x,e.isPromise=C;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 A=typeof window<"u"&&window,S=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,T=typeof globalThis<"u"&&globalThis||A||S;e.global=T}}),x=d({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=b(),r=E(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,o,a=0;function u(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let s=r.stringify(n);return s.indexOf("(")>=0?(s="anonymous_"+a++,n.__anonymousType=s):s=i(s),s}function l(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:`./${r.stringify(n)}`}function c(e,t){return`View_${u({reference:e})}_${t}`}function p(e){return`RenderType_${u({reference:e})}`}function h(e){return`HostView_${u({reference:e})}`}function d(e){return`${u({reference:e})}NgFactory`}function f(e){return null!=e.value?i(e.value):u(e.identifier)}function m(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=u,e.identifierModuleUrl=l,e.viewClassName=c,e.rendererTypeName=p,e.hostViewClassName=h,e.componentFactoryName=d,(o=s=e.CompileSummaryKind||(e.CompileSummaryKind={}))[o.Pipe=0]="Pipe",o[o.Directive=1]="Directive",o[o.NgModule=2]="NgModule",o[o.Injectable=3]="Injectable",e.tokenName=f,e.tokenReference=m;var y=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=S(t),this.styleUrls=S(r)}};e.CompileStylesheetMetadata=y;var g=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:u,ngContentSelectors:l,interpolation:c,isInline:p,preserveWhitespaces:h}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=S(s),this.styleUrls=S(o),this.externalStylesheets=S(a),this.animations=u?F(u):[],this.ngContentSelectors=l||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=p,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=g;var D=class{static create(e){let{isHost:t,type:i,isComponent:s,selector:o,exportAs:a,changeDetection:u,inputs:l,outputs:c,host:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:v,componentViewType:b,rendererType:E,componentFactory:x}=e,C={},w={},A={};null!=p&&Object.keys(p).forEach((e=>{let t=p[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?w[r[1]]=t:null!=r[2]&&(C[r[2]]=t)}));let S={};null!=l&&l.forEach((e=>{let t=r.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));let T={};return null!=c&&c.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]})),new D({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:u,inputs:S,outputs:T,hostListeners:C,hostProperties:w,hostAttributes:A,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:v,componentViewType:b,rendererType:E,componentFactory:x})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:u,hostListeners:l,hostProperties:c,hostAttributes:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:v,componentViewType:D,rendererType:b,componentFactory:E}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=u,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=p,this.providers=S(h),this.viewProviders=S(d),this.queries=S(f),this.guards=m,this.viewQueries=S(y),this.entryComponents=S(g),this.template=v,this.componentViewType=D,this.rendererType=b,this.componentFactory=E}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=D;var x=class{constructor(e){let{type:t,name:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=x;var C=class{};e.CompileShallowModuleMetadata=C;var w=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:o,entryComponents:a,bootstrapComponents:u,importedModules:l,exportedModules:c,schemas:p,transitiveModule:h,id:d}=e;this.type=t||null,this.declaredDirectives=S(n),this.exportedDirectives=S(i),this.declaredPipes=S(s),this.exportedPipes=S(o),this.providers=S(r),this.entryComponents=S(a),this.bootstrapComponents=S(u),this.importedModules=S(l),this.exportedModules=S(c),this.schemas=S(p),this.id=d||null,this.transitiveModule=h||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=w;var A=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 S(e){return e||[]}e.TransitiveCompileNgModuleMetadata=A;var T=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:s,deps:o,multi:a}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=s||null,this.dependencies=o||null,this.multi=!!a}};function F(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?F(t):t;return e.concat(r)}),[])}function k(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function P(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${u(e)}/${u(r.type)}.html`:n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:k(i)}function N(e,t){let r=e.moduleUrl.split(/\/\\/g);return k(`css/${t}${r[r.length-1]}.ngstyle.js`)}function _(e){return k(`${u(e.type)}/module.ngfactory.js`)}function O(e,t){return k(`${u(e)}/${u(t.type)}.ngfactory.js`)}e.ProviderMeta=T,e.flatten=F,e.templateSourceUrl=P,e.sharedStylesheetJitUrl=N,e.ngModuleJitUrl=_,e.templateJitUrl=O}}),C=d({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=D(),r=x(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,i=r.length,s=this.offset,o=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){o--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));a=e>0?s-e:s}else a--;for(;s<i&&e>0;){let n=r.charCodeAt(s);s++,e--,n==t.$LF?(o++,a=0):a++}return new n(this.file,s,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,s=0,o=0;for(;s<e&&n>0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s<e&&i<r.length-1&&(i++,s++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}};e.ParseLocation=n;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var s,o,a=class{constructor(e,t){let r=arguments.length>2&&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=a,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";var u=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),o=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,u=new i("",o);return new a(new n(u,-1,-1,-1),new n(u,-1,-1,-1))}function c(e,t,r){let s=new i("",`in ${e} ${t} in ${r}`);return new a(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}e.ParseError=u,e.typeSourceSpan=l,e.r3JitTypeSourceSpan=c}}),w=d({"src/utils/front-matter/parse.js"(e,t){v();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function n(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:o}=t.groups,a=i.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}t.exports=n}}),A=d({"src/utils/get-last.js"(e,t){v();var r=e=>e[e.length-1];t.exports=r}}),S=d({"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}v(),t.exports=r}}),T={};function F(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}f(T,{default:()=>F});var k=h({"node_modules/escape-string-regexp/index.js"(){v()}}),P=d({"node_modules/semver/internal/debug.js"(e,t){v();var r="object"==typeof s&&s.env&&s.env.NODE_DEBUG&&/\bsemver\b/i.test(s.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error("SEMVER",...t)}:()=>{};t.exports=r}}),N=d({"node_modules/semver/internal/constants.js"(e,t){v();var r="2.0.0",n=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,s=16;t.exports={SEMVER_SPEC_VERSION:r,MAX_LENGTH:n,MAX_SAFE_INTEGER:i,MAX_SAFE_COMPONENT_LENGTH:s}}}),_=d({"node_modules/semver/internal/re.js"(e,t){v();var{MAX_SAFE_COMPONENT_LENGTH:r}=N(),n=P(),i=(e=t.exports={}).re=[],s=e.src=[],o=e.t={},a=0,u=(e,t,r)=>{let u=a++;n(e,u,t),o[e]=u,s[u]=t,i[u]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`),u("FULL",`^${s[o.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`),u("LOOSE",`^${s[o.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`),u("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),u("COERCERTL",s[o.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",u("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",u("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),O=d({"node_modules/semver/internal/parse-options.js"(e,t){v();var r=["includePrerelease","loose","rtl"],n=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};t.exports=n}}),I=d({"node_modules/semver/internal/identifiers.js"(e,t){v();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1},i=(e,t)=>n(t,e);t.exports={compareIdentifiers:n,rcompareIdentifiers:i}}}),B=d({"node_modules/semver/classes/semver.js"(e,t){v();var r=P(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=N(),{re:s,t:o}=_(),a=O(),{compareIdentifiers:u}=I(),l=class{constructor(e,t){if(t=a(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>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let u=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!u)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=u[5]?u[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return u(n,i)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return u(n,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===u(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}}),j=d({"node_modules/semver/functions/compare.js"(e,t){v();var r=B(),n=(e,t,n)=>new r(e,n).compare(new r(t,n));t.exports=n}}),L=d({"node_modules/semver/functions/lt.js"(e,t){v();var r=j(),n=(e,t,n)=>r(e,t,n)<0;t.exports=n}}),M=d({"node_modules/semver/functions/gte.js"(e,t){v();var r=j(),n=(e,t,n)=>r(e,t,n)>=0;t.exports=n}}),R=d({"src/utils/arrayify.js"(e,t){v(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,n]=e;return Object.assign({[t]:r},n)}))}}),$=d({"package.json"(e,t){t.exports={version:"2.8.8"}}}),V=d({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return typeof WeakMap<"u"?new WeakMap:i()}function i(){return{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}v(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var s=Object.prototype.hasOwnProperty,o=function(e,t){return s.call(e,t)};function a(e,t){for(var r in t)o(t,r)&&(e[r]=t[r]);return e}var u=/^[ \t]*(?:\r\n|\r|\n)/,l=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,p=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,h=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,r){var n=0,i=e[0].match(p);i&&(n=i[1].length);var s=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,a=r.trimLeadingNewline,c=r.trimTrailingNewline,h="string"==typeof o,d=e.length;return e.map((function(e,t){return e=e.replace(s,"$1"),0===t&&a&&(e=e.replace(u,"")),t===d-1&&c&&(e=e.replace(l,"")),h&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}function f(e,t){for(var r="",n=0,i=e.length;n<i;n++)r+=e[n],n<i-1&&(r+=t[n]);return r}function m(e){return o(e,"raw")&&o(e,"length")}function y(e){var t=n(),r=n();function i(n){for(var s=[],o=1;o<arguments.length;o++)s[o-1]=arguments[o];if(m(n)){var u=n,l=(s[0]===i||s[0]===g)&&h.test(u[0])&&c.test(u[1]),p=l?r:t,v=p.get(u);return v||(v=d(u,l,e),p.set(u,v)),0===s.length?v[0]:f(v,l?s.slice(1):s)}return y(a(a({},e),n||{}))}return a(i,{string:function(t){return d([t],!1,e)[0]}})}var g=y({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=g,e.default=g,typeof t<"u")try{t.exports=g,Object.defineProperty(g,"__esModule",{value:!0}),g.default=g,g.outdent=g}catch{}}}),U=d({"src/main/core-options.js"(e,t){v();var{outdent:r}=V(),n="Config",i="Editor",s="Format",o="Other",a="Output",u="Global",l="Special",c={cursorOffset:{since:"1.4.0",category:l,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:r` + Print (to stderr) where a cursor at the given position would move to after formatting. + This option cannot be used with --range-start and --range-end. + `,cliCategory:i},endOfLine:{since:"1.15.0",category:u,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:r` + Maintain existing + (mixed values within one file are normalised by looking at what's used after the first line) + `}]},filepath:{since:"1.4.0",category:l,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:o,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:l,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:o},parser:{since:"0.0.10",category:u,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"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:u,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:u,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:n},printWidth:{since:"0.0.0",category:u,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:i},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:i},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:o},tabWidth:{type:"int",category:u,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:u,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:u,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:n,CATEGORY_EDITOR:i,CATEGORY_FORMAT:s,CATEGORY_OTHER:o,CATEGORY_OUTPUT:a,CATEGORY_GLOBAL:u,CATEGORY_SPECIAL:l,options:c}}}),q=d({"src/main/support.js"(e,t){v();var i={compare:j(),lt:L(),gte:M()},s=R(),o=$().version,a=U().options;function u(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:u=!1,showInternal:c=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=o.split("-",1)[0],h=e.flatMap((e=>e.languages||[])).filter(f),d=s(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),a),"name").filter((e=>f(e)&&m(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(y).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort(((e,t)=>i.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>f(e)&&m(e))),"parser"===t.name&&l(t,h,e));let r=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:r})}));return{languages:h,options:d};function f(e){return t||!("since"in e)||e.since&&i.gte(p,e.since)}function m(e){return u||!("deprecated"in e)||e.deprecated&&i.lt(p,e.deprecated)}function y(e){if(c)return e;let{cliName:t,cliCategory:i,cliDescription:s}=e;return n(e,r)}}function l(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let s=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;s&&s.name&&(o+=` (plugin: ${s.name})`),e.choices.push({value:t,description:o})}}t.exports={getSupportInfo:u}}}),z=d({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}v(),t.exports=r}});function W(){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 G=h({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){v()}});function H(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(W(),"")}var J=h({"node_modules/strip-ansi/index.js"(){v(),G()}});function X(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 Q=h({"node_modules/is-fullwidth-code-point/index.js"(){v()}}),K=d({"node_modules/emoji-regex/index.js"(e,t){v(),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}}}),Y={};function Z(e){if("string"!=typeof e||0===e.length||0===(e=H(e)).length)return 0;e=e.replace((0,ee.default)()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=X(n)?2:1)}return t}f(Y,{default:()=>Z});var ee,te=h({"node_modules/string-width/index.js"(){v(),J(),Q(),ee=y(K())}}),re=d({"src/utils/get-string-width.js"(e,t){v();var r=(te(),g(Y)).default,n=/[^\x20-\x7F]/;function i(e){return e?n.test(e)?r(e):e.length:0}t.exports=i}}),ne=d({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}v();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),ie=d({"src/utils/text/skip-inline-comment.js"(e,t){function r(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}v(),t.exports=r}}),se=d({"src/utils/text/skip-trailing-comment.js"(e,t){v();var{skipEverythingButNewLine:r}=ne();function n(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}t.exports=n}}),oe=d({"src/utils/text/skip-newline.js"(e,t){function r(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}v(),t.exports=r}}),ae=d({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){v();var r=ie(),n=oe(),i=se(),{skipSpaces:s}=ne();function o(e,t){let o=null,a=t;for(;a!==o;)o=a,a=s(e,a),a=r(e,a),a=i(e,a),a=n(e,a);return a}t.exports=o}}),ue=d({"src/common/util.js"(e,t){v();var{default:r}=(k(),g(T)),n=A(),{getSupportInfo:i}=q(),s=z(),o=re(),{skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c}=ne(),p=ie(),h=se(),d=oe(),f=ae(),m=e=>e[e.length-2];function y(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}function D(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=u(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function b(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1}function E(e,t,r){let n=r(t)-1;return n=u(e,n,{backwards:!0}),n=d(e,n,{backwards:!0}),n=u(e,n,{backwards:!0}),n!==d(e,n,{backwards:!0})}function x(e,t){let r=null,n=t;for(;n!==r;)r=n,n=l(e,n),n=p(e,n),n=u(e,n);return n=h(e,n),n=d(e,n),!1!==n&&D(e,n)}function C(e,t,r){return x(e,r(t))}function w(e,t,r){return f(e,r(t))}function S(e,t,r){return e.charAt(w(e,t,r))}function F(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return u(e,r.backwards?t-1:t,r)!==t}function P(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function N(e,t){let r=e.lastIndexOf("\n");return-1===r?0:P(e.slice(r+1).match(/^[\t ]*/)[0],t)}function _(e,t){let r={quote:'"',regex:/"/g,escaped:"""},n={quote:"'",regex:/'/g,escaped:"'"},i="'"===t?n:r,s=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(s.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(s.regex)||[]).length?s:i),o}function O(e,t){let r=e.slice(1,-1);return I(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function I(e,t,r){let n='"'===t?"'":'"',i=/\\(.)|(["'])/gs,s=e.replace(i,((e,i,s)=>i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+s+t}function B(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 j(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)}function L(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let i=new Map,s=0;for(let r of n){let e=r.length/t.length;i.set(e,!0),e>s&&(s=e)}for(let r=1;r<s;r++)if(!i.get(r))return r;return s+1}function M(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=H(e)}function R(e,t){t.leading=!0,t.trailing=!1,M(e,t)}function $(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),M(e,t)}function V(e,t){t.leading=!1,t.trailing=!0,M(e,t)}function U(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find((t=>{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 n&&n.parsers[0]}function W(e){return e&&"front-matter"===e.type}function G(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}function H(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)+"\u2026"),t+(r?" "+r:"")}t.exports={inferParserByLanguage:U,getStringWidth:o,getMaxContinuousCount:j,getMinNotPresentContinuousCount:L,getPenultimate:m,getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:w,getNextNonSpaceNonCommentCharacter:S,skip:y,skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:x,isNextLineEmpty:C,isPreviousLineEmpty:E,hasNewline:D,hasNewlineInRange:b,hasSpaces:F,getAlignmentSize:P,getIndentSize:N,getPreferredQuote:_,printString:O,printNumber:B,makeString:I,addLeadingComment:R,addDanglingComment:$,addTrailingComment:V,isFrontMatterNode:W,isNonEmptyArray:s,createGroupIdMapper:G}}}),le=d({"vendors/html-tag-names.json"(e,t){t.exports={htmlTagNames:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}}}),ce=d({"src/language-html/utils/array-to-map.js"(e,t){function r(e){let t=Object.create(null);for(let r of e)t[r]=!0;return t}v(),t.exports=r}}),pe=d({"src/language-html/utils/html-tag-names.js"(e,t){v();var{htmlTagNames:r}=le(),n=ce()(r);t.exports=n}}),he=d({"vendors/html-element-attributes.json"(e,t){t.exports={htmlElementAttributes:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["for","form"],legend:["align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","media","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","referrerpolicy","src","type"],select:["autocomplete","disabled","form","multiple","name","required","size"],slot:["name"],source:["height","media","sizes","src","srcset","type","width"],style:["media","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]}}}}),de=d({"src/language-html/utils/map-object.js"(e,t){function r(e,t){let r=Object.create(null);for(let[n,i]of Object.entries(e))r[n]=t(i,n);return r}v(),t.exports=r}}),fe=d({"src/language-html/utils/html-elements-attributes.js"(e,t){v();var{htmlElementAttributes:r}=he(),n=de()(r,ce());t.exports=n}}),ye=d({"src/language-html/utils/is-unknown-namespace.js"(e,t){function r(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}v(),t.exports=r}}),ge=d({"src/language-html/pragma.js"(e,t){function r(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)}function n(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}v(),t.exports={hasPragma:r,insertPragma:n}}}),ve=d({"src/language-html/ast.js"(e,t){v();var r={attrs:!0,children:!0},n=new Set(["parent"]),i=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(let t of new Set([...n,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in r&&(t=t.map((e=>this.createChild(e)))),!n.has(e))return void(this[e]=t);Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let n in r){let r=this[n];if(r){let o=s(r,(t=>t.map(e)));t!==r&&(t||(t=new i({parent:this.parent})),t.setProperty(n,o))}}if(t)for(let n in this)n in r||(t[n]=this[n]);return e(t||this)}walk(e){for(let t in r){let r=this[t];if(r)for(let t=0;t<r.length;t++)r[t].walk(e)}e(this)}createChild(e){let t=e instanceof i?e.clone():new i(e);return t.setProperty("parent",this),t}insertChildBefore(e,t){this.children.splice(this.children.indexOf(e),0,this.createChild(t))}removeChild(e){this.children.splice(this.children.indexOf(e),1)}replaceChild(e,t){this.children[this.children.indexOf(e)]=this.createChild(t)}clone(){return new i(this)}get firstChild(){var e;return null===(e=this.children)||void 0===e?void 0:e[0]}get lastChild(){var e;return null===(e=this.children)||void 0===e?void 0:e[this.children.length-1]}get prev(){var e;return null===(e=this.parent)||void 0===e?void 0:e.children[this.parent.children.indexOf(this)-1]}get next(){var e;return null===(e=this.parent)||void 0===e?void 0:e.children[this.parent.children.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map((e=>[e.fullName,e.value])))}};function s(e,t){let r=e.map(t);return r.some(((t,r)=>t!==e[r]))?r:e}t.exports={Node:i}}}),De=d({"src/language-html/conditional-comment.js"(e,t){v();var{ParseSourceSpan:r}=C(),n=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:s},{regex:/^\[if([^\]]*)]><!$/,parse:o},{regex:/^<!\s*\[endif]$/,parse:a}];function i(e,t){if(e.value)for(let{regex:r,parse:i}of n){let n=e.value.match(r);if(n)return i(e,t,n)}return null}function s(e,t,n){let[,i,s,o]=n,a=4+i.length,u=e.sourceSpan.start.moveBy(a),l=u.moveBy(o.length),[c,p]=(()=>{try{return[!0,t(o,u).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new r(u,l)}]]}})();return{type:"ieConditionalComment",complete:c,children:p,condition:s.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new r(e.sourceSpan.start,u),endSourceSpan:new r(l,e.sourceSpan.end)}}function o(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:n.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan}}function a(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}t.exports={parseIeConditionalComment:i}}}),be=d({"src/language-html/loc.js"(e,t){function r(e){return e.sourceSpan.start.offset}function n(e){return e.sourceSpan.end.offset}v(),t.exports={locStart:r,locEnd:n}}}),Ee=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(e){var t;function r(e){if(":"!=e[0])return[null,e];let t=e.indexOf(":",1);if(-1==t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function n(e){return"ng-container"===r(e)[1]}function i(e){return"ng-content"===r(e)[1]}function s(e){return"ng-template"===r(e)[1]}function o(e){return null===e?null:r(e)[0]}function a(e,t){return e?`:${e}:${t}`:t}v(),Object.defineProperty(e,"__esModule",{value:!0}),(t=e.TagContentType||(e.TagContentType={}))[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA",e.splitNsName=r,e.isNgContainer=n,e.isNgContent=i,e.isNgTemplate=s,e.getNsPrefix=o,e.mergeNsAndName=a,e.NAMED_ENTITIES={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",AMP:"&",amp:"&",And:"\u2a53",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",ap:"\u2248",apacir:"\u2a6f",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250c",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252c",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxUL:"\u255d",boxUl:"\u255c",boxuL:"\u255b",boxul:"\u2518",boxUR:"\u255a",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256c",boxVh:"\u256b",boxvH:"\u256a",boxvh:"\u253c",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255f",boxvR:"\u255e",boxvr:"\u251c",bprime:"\u2035",Breve:"\u02d8",breve:"\u02d8",brvbar:"\xa6",Bscr:"\u212c",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22d2",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"\u212d",cfr:"\ud835\udd20",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",Conint:"\u222f",conint:"\u222e",ContourIntegral:"\u222e",Copf:"\u2102",copf:"\ud835\udd54",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xa9",copy:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",Cross:"\u2a2f",cross:"\u2717",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",Cup:"\u22d3",cup:"\u222a",cupbrcap:"\u2a48",CupCap:"\u224d",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21a1",dArr:"\u21d3",darr:"\u2193",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",Diamond:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21d3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",ecir:"\u2256",Ecirc:"\xca",ecirc:"\xea",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212f",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",ForAll:"\u2200",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\ud835\udcbb",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",Gg:"\u22d9",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gnE:"\u2269",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",GT:">",Gt:"\u226b",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",hArr:"\u21d4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",Hfr:"\u210c",hfr:"\ud835\udd25",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",Hopf:"\u210d",hopf:"\ud835\udd59",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210b",hscr:"\ud835\udcbd",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",Ifr:"\u2111",ifr:"\ud835\udd26",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",Int:"\u222c",int:"\u222b",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",Iscr:"\u2110",iscr:"\ud835\udcbe",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",Lang:"\u27ea",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",Larr:"\u219e",lArr:"\u21d0",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",lAtail:"\u291b",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lBarr:"\u290e",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",Leftarrow:"\u21d0",leftarrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22d8",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lnE:"\u2268",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftarrow:"\u27f5",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\ud835\udcc1",Lsh:"\u21b0",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",LT:"<",Lt:"\u226a",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",Mscr:"\u2133",mscr:"\ud835\udcc2",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21d7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlArr:"\u21cd",nlarr:"\u219a",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21cd",nleftarrow:"\u219a",nLeftrightarrow:"\u21ce",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",nopf:"\ud835\udd5f",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nRightarrow:"\u21cf",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nVDash:"\u22af",nVdash:"\u22ae",nvDash:"\u22ad",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwArr:"\u21d6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",ocir:"\u229a",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",Or:"\u2a54",or:"\u2228",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",Otimes:"\u2a37",otimes:"\u2297",otimesas:"\u2a36",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",Popf:"\u2119",popf:"\ud835\udd61",pound:"\xa3",Pr:"\u2abb",pr:"\u227a",prap:"\u2ab7",prcue:"\u227c",prE:"\u2ab3",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",Qopf:"\u211a",qopf:"\ud835\udd62",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",QUOT:'"',quot:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",Rang:"\u27eb",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",Rarr:"\u21a0",rArr:"\u21d2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",rAtail:"\u291c",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",RBarr:"\u2910",rBarr:"\u290f",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",REG:"\xae",reg:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",Rfr:"\u211c",rfr:"\ud835\udd2f",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",Rightarrow:"\u21d2",rightarrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",Ropf:"\u211d",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",Rscr:"\u211b",rscr:"\ud835\udcc7",Rsh:"\u21b1",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",Sc:"\u2abc",sc:"\u227b",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227d",scE:"\u2ab4",sce:"\u2ab0",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",seArr:"\u21d8",searr:"\u2198",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",Square:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",Sub:"\u22d0",sub:"\u2282",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",Subset:"\u22d0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",Sum:"\u2211",sum:"\u2211",sung:"\u266a",Sup:"\u22d1",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",Supset:"\u22d1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swArr:"\u21d9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",Tilde:"\u223c",tilde:"\u02dc",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",Uarr:"\u219f",uArr:"\u21d1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrow:"\u2191",Uparrow:"\u21d1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",Updownarrow:"\u21d5",updownarrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",upsi:"\u03c5",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",vArr:"\u21d5",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",Vbar:"\u2aeb",vBar:"\u2ae8",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22ab",Vdash:"\u22a9",vDash:"\u22a8",vdash:"\u22a2",Vdashl:"\u2ae6",Vee:"\u22c1",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",Wedge:"\u22c0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",Xi:"\u039e",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",Yuml:"\u0178",yuml:"\xff",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",Zfr:"\u2128",zfr:"\ud835\udd37",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",Zopf:"\u2124",zopf:"\ud835\udd6b",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"},e.NGSP_UNICODE="\ue500",e.NAMED_ENTITIES.ngsp=e.NGSP_UNICODE}}),xe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=Ee(),i=class{constructor(){let{closedByChildren:e,implicitNamespacePrefix:t,contentType:r=n.TagContentType.PARSABLE_DATA,closedByParent:i=!1,isVoid:s=!1,ignoreFirstLf:o=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach((e=>this.closedByChildren[e]=!0)),this.isVoid=s,this.closedByParent=i||s,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}};function s(e){return r||(t=new i,r={base:new i({isVoid:!0}),meta:new i({isVoid:!0}),area:new i({isVoid:!0}),embed:new i({isVoid:!0}),link:new i({isVoid:!0}),img:new i({isVoid:!0}),input:new i({isVoid:!0}),param:new i({isVoid:!0}),hr:new i({isVoid:!0}),br:new i({isVoid:!0}),source:new i({isVoid:!0}),track:new i({isVoid:!0}),wbr:new i({isVoid:!0}),p:new i({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new i({closedByChildren:["tbody","tfoot"]}),tbody:new i({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new i({closedByChildren:["tbody"],closedByParent:!0}),tr:new i({closedByChildren:["tr"],closedByParent:!0}),td:new i({closedByChildren:["td","th"],closedByParent:!0}),th:new i({closedByChildren:["td","th"],closedByParent:!0}),col:new i({isVoid:!0}),svg:new i({implicitNamespacePrefix:"svg"}),math:new i({implicitNamespacePrefix:"math"}),li:new i({closedByChildren:["li"],closedByParent:!0}),dt:new i({closedByChildren:["dt","dd"]}),dd:new i({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new i({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new i({closedByChildren:["optgroup"],closedByParent:!0}),option:new i({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new i({ignoreFirstLf:!0}),listing:new i({ignoreFirstLf:!0}),style:new i({contentType:n.TagContentType.RAW_TEXT}),script:new i({contentType:n.TagContentType.RAW_TEXT}),title:new i({contentType:n.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new i({contentType:n.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),r[e]||t}e.HtmlTagDefinition=i,e.getHtmlTagDefinition=s}}),Ce=d({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;this.path=e,this.position=t}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}childOf(e){return this.path[this.path.indexOf(e)+1]}first(e){for(let t=this.path.length-1;t>=0;t--){let r=this.path[t];if(r instanceof e)return r}}push(e){this.path.push(e)}pop(){return this.path.pop()}};e.AstPath=t}}),we=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ce(),r=class{constructor(e,t,r){this.value=e,this.sourceSpan=t,this.i18n=r,this.type="text"}visit(e,t){return e.visitText(this,t)}};e.Text=r;var n=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}};e.CDATA=n;var i=class{constructor(e,t,r,n,i,s){this.switchValue=e,this.type=t,this.cases=r,this.sourceSpan=n,this.switchValueSourceSpan=i,this.i18n=s}visit(e,t){return e.visitExpansion(this,t)}};e.Expansion=i;var s=class{constructor(e,t,r,n,i){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}};e.ExpansionCase=s;var o=class{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.name=e,this.value=t,this.sourceSpan=r,this.valueSpan=n,this.nameSpan=i,this.i18n=s,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}};e.Attribute=o;var a=class{constructor(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.name=e,this.attrs=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=i,this.endSourceSpan=s,this.nameSpan=o,this.i18n=a,this.type="element"}visit(e,t){return e.visitElement(this,t)}};e.Element=a;var u=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}};e.Comment=u;var l=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}};function c(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=[],i=e.visit?t=>e.visit(t,r)||t.visit(e,r):t=>t.visit(e,r);return t.forEach((e=>{let t=i(e);t&&n.push(t)})),n}e.DocType=l,e.visitAll=c;var p=class{constructor(){}visitElement(e,t){this.visitChildren(t,(t=>{t(e.attrs),t(e.children)}))}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,(t=>{t(e.cases)}))}visitExpansionCase(e,t){}visitChildren(e,t){let r=[],n=this;function i(t){t&&r.push(c(n,t,e))}return t(i),Array.prototype.concat.apply([],r)}};function h(e){let t=e.sourceSpan.start.offset,r=e.sourceSpan.end.offset;return e instanceof a&&(e.endSourceSpan?r=e.endSourceSpan.end.offset:e.children&&e.children.length&&(r=h(e.children[e.children.length-1]).end)),{start:t,end:r}}function d(e,r){let n=[];return c(new class extends p{visit(e,t){let i=h(e);if(!(i.start<=r&&r<i.end))return!0;n.push(e)}},e),new t.AstPath(n,r)}e.RecursiveVisitor=p,e.findNode=d}}),Ae=d({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(e){function t(e,t){if(null!=t){if(!Array.isArray(t))throw new Error(`Expected '${e}' to be an array of strings.`);for(let r=0;r<t.length;r+=1)if("string"!=typeof t[r])throw new Error(`Expected '${e}' to be an array of strings.`)}}v(),Object.defineProperty(e,"__esModule",{value:!0}),e.assertArrayOfStrings=t;var r=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function n(e,t){if(null!=t&&(!Array.isArray(t)||2!=t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){let e=t[0],n=t[1];r.forEach((t=>{if(t.test(e)||t.test(n))throw new Error(`['${e}', '${n}'] contains unusable interpolation symbol.`)}))}}e.assertInterpolationSymbols=n}}),Te=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ae(),r=class{constructor(e,t){this.start=e,this.end=t}static fromArray(n){return n?(t.assertInterpolationSymbols("interpolation",n),new r(n[0],n[1])):e.DEFAULT_INTERPOLATION_CONFIG}};e.InterpolationConfig=r,e.DEFAULT_INTERPOLATION_CONFIG=new r("{{","}}")}}),Fe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,n=D(),i=C(),s=Te(),o=Ee();(r=t=e.TokenType||(e.TokenType={}))[r.TAG_OPEN_START=0]="TAG_OPEN_START",r[r.TAG_OPEN_END=1]="TAG_OPEN_END",r[r.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",r[r.TAG_CLOSE=3]="TAG_CLOSE",r[r.TEXT=4]="TEXT",r[r.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",r[r.RAW_TEXT=6]="RAW_TEXT",r[r.COMMENT_START=7]="COMMENT_START",r[r.COMMENT_END=8]="COMMENT_END",r[r.CDATA_START=9]="CDATA_START",r[r.CDATA_END=10]="CDATA_END",r[r.ATTR_NAME=11]="ATTR_NAME",r[r.ATTR_QUOTE=12]="ATTR_QUOTE",r[r.ATTR_VALUE=13]="ATTR_VALUE",r[r.DOC_TYPE_START=14]="DOC_TYPE_START",r[r.DOC_TYPE_END=15]="DOC_TYPE_END",r[r.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",r[r.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",r[r.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",r[r.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",r[r.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",r[r.EOF=21]="EOF";var a=class{constructor(e,t,r){this.type=e,this.parts=t,this.sourceSpan=r}};e.Token=a;var u=class extends i.ParseError{constructor(e,t,r){super(r,e),this.tokenType=t}};e.TokenError=u;var l=class{constructor(e,t){this.tokens=e,this.errors=t}};function c(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new m(new i.ParseSourceFile(e,t),r,n).tokenize()}e.TokenizeResult=l,e.tokenize=c;var p=/\r\n?/g;function h(e){return`Unexpected character "${e===n.$EOF?"EOF":String.fromCharCode(e)}"`}function d(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var f=class{constructor(e){this.error=e}},m=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||s.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map((e=>e.codePointAt(0)||0)),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new k(e,n):new F(e,n);try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return e.replace(p,"\n")}tokenize(){for(;this._cursor.peek()!==n.$EOF;){let t=this._cursor.clone();try{if(this._attemptCharCode(n.$LT))if(this._attemptCharCode(n.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(t):this._attemptStr("--")?this._consumeComment(t):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(t):this._consumeBogusComment(t);else if(this._attemptCharCode(n.$SLASH))this._consumeTagClose(t);else{let e=this._cursor.clone();this._attemptCharCode(n.$QUESTION)?(this._cursor=e,this._consumeBogusComment(t)):this._consumeTagOpen(t)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(t.EOF),this._endToken([]),new l(T(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(w(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===n.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}_endToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new u("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new u("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r=new a(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let r=new u(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new f(r)}handleError(e){if(e instanceof P&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof f))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!A(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.clone().diff(r)<t)throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&this._cursor.peek()===n.$AMPERSAND)return this._decodeEntity();{let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){let e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(n.$HASH)){let t=this._cursor.clone();if(this._attemptCharCodeUntilFn(x),this._cursor.peek()!=n.$SEMICOLON)return this._cursor=t,"&";let r=this._cursor.getChars(t);this._cursor.advance();let i=o.NAMED_ENTITIES[r];if(!i)throw this._createError(d(r),this._cursor.getSpan(e));return i}{let t=this._attemptCharCode(n.$x)||this._attemptCharCode(n.$X),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(E),this._cursor.peek()!=n.$SEMICOLON)throw this._createError(h(this._cursor.peek()),this._cursor.getSpan());let i=this._cursor.getChars(r);this._cursor.advance();try{let e=parseInt(i,t?16:10);return String.fromCharCode(e)}catch{throw this._createError(d(this._cursor.getChars(e)),this._cursor.getSpan())}}}_consumeRawText(e,r){this._beginToken(e?t.ESCAPABLE_RAW_TEXT:t.RAW_TEXT);let n=[];for(;;){let t=this._cursor.clone(),i=r();if(this._cursor=t,i)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("--\x3e"))),this._beginToken(t.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===n.$GT)),this._beginToken(t.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(t.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(t.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(t.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===n.$GT)),this._beginToken(t.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e,t=this._cursor.clone(),r="";for(;this._cursor.peek()!==n.$COLON&&!b(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===n.$COLON?(r=this._cursor.getChars(t),this._cursor.advance(),e=this._cursor.clone()):e=t,this._requireCharCodeUntilFn(g,""===r?0:1),[r,this._cursor.getChars(e)]}_consumeTagOpen(e){let r,i,s,a=this.tokens.length,u=this._cursor.clone(),l=[];try{if(!n.isAsciiLetter(this._cursor.peek()))throw this._createError(h(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),i=s.parts[0],r=s.parts[1],this._attemptCharCodeUntilFn(y);this._cursor.peek()!==n.$SLASH&&this._cursor.peek()!==n.$GT;){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(y),this._attemptCharCode(n.$EQ)){this._attemptCharCodeUntilFn(y);let r=this._consumeAttributeValue();l.push({prefix:e,name:t,value:r})}else l.push({prefix:e,name:t});this._attemptCharCodeUntilFn(y)}this._consumeTagOpenEnd()}catch(p){if(p instanceof f)return this._cursor=u,s&&(this.tokens.length=a),this._beginToken(t.TEXT,e),void this._endToken(["<"]);throw p}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===t.TAG_OPEN_END_VOID)return;let c=this._getTagContentType(r,i,this._fullNameStack.length>0,l);this._handleFullNameStackForTagOpen(i,r),c===o.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(i,r,!1):c===o.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(i,r,!0)}_consumeRawTextWithTagClose(e,r,i){this._consumeRawText(i,(()=>!!(this._attemptCharCode(n.$LT)&&this._attemptCharCode(n.$SLASH)&&(this._attemptCharCodeUntilFn(y),this._attemptStrCaseInsensitive(e?`${e}:${r}`:r)))&&(this._attemptCharCodeUntilFn(y),this._attemptCharCode(n.$GT)))),this._beginToken(t.TAG_CLOSE),this._requireCharCodeUntilFn((e=>e===n.$GT),3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(t.TAG_OPEN_START,e);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let e=this._cursor.peek();if(e===n.$SQ||e===n.$DQ)throw this._createError(h(e),this._cursor.getSpan());this._beginToken(t.ATTR_NAME);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===n.$SQ||this._cursor.peek()===n.$DQ){this._beginToken(t.ATTR_QUOTE);let r=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(r)]),this._beginToken(t.ATTR_VALUE);let n=[];for(;this._cursor.peek()!==r;)n.push(this._readChar(!0));e=this._processCarriageReturns(n.join("")),this._endToken([e]),this._beginToken(t.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(r)])}else{this._beginToken(t.ATTR_VALUE);let r=this._cursor.clone();this._requireCharCodeUntilFn(g,1),e=this._processCarriageReturns(this._cursor.getChars(r)),this._endToken([e])}return e}_consumeTagOpenEnd(){let e=this._attemptCharCode(n.$SLASH)?t.TAG_OPEN_END_VOID:t.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(n.$GT),this._endToken([])}_consumeTagClose(e){if(this._beginToken(t.TAG_CLOSE,e),this._attemptCharCodeUntilFn(y),this._allowHtmComponentClosingTags&&this._attemptCharCode(n.$SLASH))this._attemptCharCodeUntilFn(y),this._requireCharCode(n.$GT),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(y),this._requireCharCode(n.$GT),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(t.EXPANSION_FORM_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._expansionCaseStack.push(t.EXPANSION_FORM_START),this._beginToken(t.RAW_TEXT);let e=this._readUntil(n.$COMMA);this._endToken([e]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(y),this._beginToken(t.RAW_TEXT);let r=this._readUntil(n.$COMMA);this._endToken([r]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(y)}_consumeExpansionCaseStart(){this._beginToken(t.EXPANSION_CASE_VALUE);let e=this._readUntil(n.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(y),this._beginToken(t.EXPANSION_CASE_EXP_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(y),this._expansionCaseStack.push(t.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(t.EXPANSION_CASE_EXP_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(y),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(t.EXPANSION_FORM_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let e=this._cursor.clone();this._beginToken(t.TEXT,e);let r=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(r.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(r.push(this._interpolationConfig.end),this._inInterpolation=!1):r.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(r.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===n.$LT||this._cursor.peek()===n.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===n.$RBRACE&&this._isInExpansionCase()))}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==n.$LBRACE)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=o.mergeNsAndName(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=o.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function y(e){return!n.isWhitespace(e)||e===n.$EOF}function g(e){return n.isWhitespace(e)||e===n.$GT||e===n.$SLASH||e===n.$SQ||e===n.$DQ||e===n.$EQ}function b(e){return(e<n.$a||n.$z<e)&&(e<n.$A||n.$Z<e)&&(e<n.$0||e>n.$9)}function E(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiHexDigit(e)}function x(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiLetter(e)}function w(e){return e===n.$EQ||n.isAsciiLetter(e)||n.isDigit(e)}function A(e,t){return S(e)==S(t)}function S(e){return e>=n.$a&&e<=n.$z?e-n.$a+n.$A:e}function T(e){let r,n=[];for(let i=0;i<e.length;i++){let s=e[i];r&&r.type==t.TEXT&&s.type==t.TEXT?(r.parts[0]+=s.parts[0],r.sourceSpan.end=s.sourceSpan.end):(r=s,n.push(r))}return n}var F=class{constructor(e,t){if(e instanceof F)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new F(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){if(e=e||this,t)for(e=e.clone();this.diff(e)>0&&-1!==t.indexOf(e.peek());)e.advance();return new i.ParseSourceSpan(new i.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new i.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new P('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===n.$LF?(e.line++,e.column=0):n.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?n.$EOF:this.charAt(e.offset)}},k=class extends F{constructor(e,t){e instanceof k?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new k(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offset<this.internalState.offset;)r+=String.fromCodePoint(t.peek()),t.advance();return r}processEscapeSequence(){let e=()=>this.internalState.peek;if(e()===n.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===n.$n)this.state.peek=n.$LF;else if(e()===n.$r)this.state.peek=n.$CR;else if(e()===n.$v)this.state.peek=n.$VTAB;else if(e()===n.$t)this.state.peek=n.$TAB;else if(e()===n.$b)this.state.peek=n.$BSPACE;else if(e()===n.$f)this.state.peek=n.$FF;else if(e()===n.$u)if(this.advanceState(this.internalState),e()===n.$LBRACE){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==n.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===n.$x){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(n.isOctalDigit(e())){let t="",r=0,i=this.clone();for(;n.isOctalDigit(e())&&r<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else n.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.substr(e.internalState.offset,t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new P("Invalid hexadecimal escape sequence",e);return n}},P=class{constructor(e,t){this.msg=e,this.cursor=t}};e.CursorError=P}}),ke=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=C(),r=we(),n=Fe(),i=Ee(),s=class extends t.ParseError{constructor(e,t,r){super(t,r),this.elementName=e}static create(e,t,r){return new s(e,t,r)}};e.TreeError=s;var o=class{constructor(e,t){this.rootNodes=e,this.errors=t}};e.ParseTreeResult=o;var a=class{constructor(e){this.getTagDefinition=e}parse(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4?arguments[4]:void 0,a=e=>function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e(t.toLowerCase(),...n)},l=i?this.getTagDefinition:a(this.getTagDefinition),c=e=>l(e).contentType,p=i?s:a(s),h=s?(e,t,r,n)=>{let i=p(e,t,r,n);return void 0!==i?i:c(e)}:c,d=n.tokenize(e,t,h,r),f=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,y=new u(d.tokens,l,f,m,i).build();return new o(y.rootNodes,d.errors.concat(y.errors))}};e.Parser=a;var u=class{constructor(e,t,r,n,i){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=i,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==n.TokenType.EOF;)this._peek.type===n.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===n.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===n.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===n.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===n.TokenType.TEXT||this._peek.type===n.TokenType.RAW_TEXT||this._peek.type===n.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===n.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===n.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new o(this._rootNodes,this._errors)}_advance(){let e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){let i=this._advance(),s=this._getText(i),o=this._advanceIf(n.TokenType.CDATA_END);this._addToParent(new r.CDATA(s,new t.ParseSourceSpan(e.sourceSpan.start,(o||i).sourceSpan.end)))}_consumeComment(e){let i=this._advanceIf(n.TokenType.RAW_TEXT),s=this._advanceIf(n.TokenType.COMMENT_END),o=null!=i?i.parts[0].trim():null,a=new t.ParseSourceSpan(e.sourceSpan.start,(s||i||e).sourceSpan.end);this._addToParent(new r.Comment(o,a))}_consumeDocType(e){let i=this._advanceIf(n.TokenType.RAW_TEXT),s=this._advanceIf(n.TokenType.DOC_TYPE_END),o=null!=i?i.parts[0].trim():null,a=new t.ParseSourceSpan(e.sourceSpan.start,(s||i||e).sourceSpan.end);this._addToParent(new r.DocType(o,a))}_consumeExpansion(e){let i=this._advance(),o=this._advance(),a=[];for(;this._peek.type===n.TokenType.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;a.push(e)}if(this._peek.type!==n.TokenType.EXPANSION_FORM_END)return void this._errors.push(s.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let u=new t.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new r.Expansion(i.parts[0],o.parts[0],a,u,i.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==n.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(s.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let i=this._advance(),o=this._collectExpansionExpTokens(i);if(!o)return null;let a=this._advance();o.push(new n.Token(n.TokenType.EOF,[],a.sourceSpan));let l=new u(o,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(l.errors.length>0)return this._errors=this._errors.concat(l.errors),null;let c=new t.ParseSourceSpan(e.sourceSpan.start,a.sourceSpan.end),p=new t.ParseSourceSpan(i.sourceSpan.start,a.sourceSpan.end);return new r.ExpansionCase(e.parts[0],l.rootNodes,c,e.sourceSpan,p)}_collectExpansionExpTokens(e){let t=[],r=[n.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===n.TokenType.EXPANSION_FORM_START||this._peek.type===n.TokenType.EXPANSION_CASE_EXP_START)&&r.push(this._peek.type),this._peek.type===n.TokenType.EXPANSION_CASE_EXP_END){if(!l(r,n.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(s.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0==r.length)return t}if(this._peek.type===n.TokenType.EXPANSION_FORM_END){if(!l(r,n.TokenType.EXPANSION_FORM_START))return this._errors.push(s.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(this._peek.type===n.TokenType.EOF)return this._errors.push(s.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){let e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=this._getText(e);t.length>0&&this._addToParent(new r.Text(t,e.sourceSpan))}_closeVoidElement(){let e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){let o=e.parts[0],a=e.parts[1],u=[];for(;this._peek.type===n.TokenType.ATTR_NAME;)u.push(this._consumeAttr(this._advance()));let l=this._getElementFullName(o,a,this._getParentElement()),c=!1;if(this._peek.type===n.TokenType.TAG_OPEN_END_VOID){this._advance(),c=!0;let t=this.getTagDefinition(l);this.canSelfClose||t.canSelfClose||null!==i.getNsPrefix(l)||t.isVoid||this._errors.push(s.create(l,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===n.TokenType.TAG_OPEN_END&&(this._advance(),c=!1);let p=this._peek.sourceSpan.start,h=new t.ParseSourceSpan(e.sourceSpan.start,p),d=new t.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new r.Element(l,u,[],h,h,void 0,d);this._pushElement(f),c&&(this._popElement(l),f.endSourceSpan=h)}_pushElement(e){let t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(s.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(s.create(t,e.sourceSpan,r))}}_popElement(e){for(let t=this._elementStack.length-1;t>=0;t--){let r=this._elementStack[t];if(!e||(i.getNsPrefix(r.name)?r.name==e:r.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(r.name).closedByParent)return!1}return!1}_consumeAttr(e){let s,o,a=i.mergeNsAndName(e.parts[0],e.parts[1]),u=e.sourceSpan.end,l="";if(this._peek.type===n.TokenType.ATTR_QUOTE&&(o=this._advance().sourceSpan.start),this._peek.type===n.TokenType.ATTR_VALUE){let e=this._advance();l=e.parts[0],u=e.sourceSpan.end,s=e.sourceSpan}return this._peek.type===n.TokenType.ATTR_QUOTE&&(u=this._advance().sourceSpan.end,s=new t.ParseSourceSpan(o,u)),new r.Attribute(a,l,new t.ParseSourceSpan(e.sourceSpan.start,u),s,e.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let e=null;for(let t=this._elementStack.length-1;t>=0;t--){if(!i.isNgContainer(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}}_addToParent(e){let t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)}_insertBeforeContainer(e,t,r){if(t){if(e){let n=e.children.indexOf(t);e.children[n]=r}else this._rootNodes.push(r);r.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,r)}else this._addToParent(r),this._elementStack.push(r)}_getElementFullName(e,t,r){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=r&&(e=i.getNsPrefix(r.name)),i.mergeNsAndName(e,t)}};function l(e,t){return e.length>0&&e[e.length-1]===t}}}),Pe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=xe(),r=ke(),n=ke();e.ParseTreeResult=n.ParseTreeResult,e.TreeError=n.TreeError;var i=class extends r.Parser{constructor(){super(t.getHtmlTagDefinition)}parse(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return super.parse(e,t,r,n,i)}};e.HtmlParser=i}}),Ne=d({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){v(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pe(),r=Ee();e.TagContentType=r.TagContentType;var n=null,i=()=>(n||(n=new t.HtmlParser),n);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:s=!1,getTagContentType:o}=t;return i().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n},s,o)}e.parse=s}});v();var{ParseSourceSpan:_e,ParseLocation:Oe,ParseSourceFile:Be}=C(),je=w(),Le=A(),Me=S(),{inferParserByLanguage:Re}=ue(),$e=pe(),Ve=fe(),Ue=ye(),{hasPragma:qe}=ge(),{Node:ze}=ve(),{parseIeConditionalComment:We}=De(),{locStart:Ge,locEnd:He}=be();function Je(e,t,r){let{canSelfClose:n,normalizeTagName:i,normalizeAttributeName:s,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a,getTagContentType:u}=t,l=Ne(),{RecursiveVisitor:c,visitAll:p}=we(),{ParseSourceSpan:h}=C(),{getHtmlTagDefinition:d}=xe(),{rootNodes:f,errors:m}=l.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a,getTagContentType:u});if("vue"===r.parser)if(f.some((e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()))){n=!0,i=!0,s=!0,o=!0,a=!1;let t=l.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a});f=t.rootNodes,m=t.errors}else{let t=e=>{if(!e||"element"!==e.type||"template"!==e.name)return!1;let t=e.attrs.find((e=>"lang"===e.name)),n=t&&t.value;return!n||"html"===Re(n,r)};if(f.some(t)){let r,i=()=>l.parse(e,{canSelfClose:n,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:a}),s=()=>r||(r=i()),u=e=>s().rootNodes.find((t=>{let{startSourceSpan:r}=t;return r&&r.start.offset===e.startSourceSpan.start.offset}));for(let e=0;e<f.length;e++){let r=f[e],{endSourceSpan:n,startSourceSpan:i}=r;if(null===n)m=s().errors,f[e]=u(r)||r;else if(t(r)){let t=s(),o=i.end.offset,a=n.start.offset;for(let e of t.errors){let{offset:t}=e.span.start;if(o<t&&t<a){m=[e];break}}f[e]=u(r)||r}}}}if(m.length>0){let{msg:e,span:{start:t,end:r}}=m[0];throw Me(e,{start:{line:t.line+1,column:t.col+1},end:{line:r.line+1,column:r.col+1}})}let y=e=>{let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith(`${t}:`),i=n?r.slice(t.length+1):r;e.name=i,e.namespace=t,e.hasExplicitNamespace=n},g=e=>{switch(e.type){case"element":y(e);for(let t of e.attrs)y(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString()}},v=(e,t)=>{let r=e.toLowerCase();return t(r)?r:e},D=e=>{if("element"===e.type&&(i&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||Ue(e))&&(e.name=v(e.name,(e=>e in $e))),s)){let t=Ve[e.name]||Object.create(null);for(let r of e.attrs)r.namespace||(r.name=v(r.name,(r=>e.name in Ve&&(r in Ve["*"]||r in t))))}},b=e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new h(e.sourceSpan.start,e.endSourceSpan.end))},E=e=>{if("element"===e.type){let t=d(a?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||Ue(e)?e.tagDefinition=t:e.tagDefinition=d("")}};return p(new class extends c{visit(e){g(e),E(e),D(e),b(e)}},f),f}function Xe(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:i,content:s}=n?je(e):{frontMatter:null,content:e},o=new Be(e,t.filepath),a=new Oe(o,0,0,0),u=a.moveBy(e.length),l={type:"root",sourceSpan:new _e(a,u),children:Je(s,r,t)};if(i){let e=new Oe(o,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new _e(e,t),l.children.unshift(i)}let c=new ze(l),p=(n,i)=>{let{offset:s}=i,o=Xe(e.slice(0,s).replace(/[^\n\r]/g," ")+n,t,r,!1);o.sourceSpan=new _e(i,Le(o.children).sourceSpan.end);let a=o.children[0];return a.length===s?o.children.shift():(a.sourceSpan=new _e(a.sourceSpan.start.moveBy(s),a.sourceSpan.end),a.value=a.value.slice(s)),o};return c.walk((e=>{if("comment"===e.type){let t=We(e,p);t&&e.parent.replaceChild(e,t)}})),c}function Qe(){let{name:e,canSelfClose:t=!1,normalizeTagName:r=!1,normalizeAttributeName:n=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:s=!1,getTagContentType:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{parse:(a,u,l)=>Xe(a,Object.assign({parser:e},l),{canSelfClose:t,normalizeTagName:r,normalizeAttributeName:n,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:s,getTagContentType:o}),hasPragma:qe,astFormat:"html",locStart:Ge,locEnd:He}}t.exports={parsers:{html:Qe({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Qe({name:"angular",canSelfClose:!0}),vue:Qe({name:"vue",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,t,r,n)=>{if("html"!==e.toLowerCase()&&!r&&("template"!==e||n.some((e=>{let{name:t,value:r}=e;return"lang"===t&&"html"!==r&&""!==r&&void 0!==r}))))return Ne().TagContentType.RAW_TEXT}}),lwc:Qe({name:"lwc"})}}}));return Be()}()},5657:function(e,t,r){var n=r(8764).lW;e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),i=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),s=e(((e,t)=>{var r=i();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),o=e(((e,t)=>{var r=i();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),a=e(((e,t)=>{var r=o(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),u=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),l=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),c=e(((e,t)=>{var r=o(),n=Function.prototype,i=n.call,s=r&&n.bind.bind(i,i);t.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}})),p=e(((e,t)=>{var r=c(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),h=e(((e,t)=>{var r=c(),n=i(),s=p(),o=Object,a=r("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a(e,""):o(e)}:o})),d=e(((e,t)=>{t.exports=function(e){return null==e}})),f=e(((e,t)=>{var r=d(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),m=e(((e,t)=>{var r=h(),n=f();t.exports=function(e){return r(n(e))}})),y=e(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),g=e(((e,t)=>{var r=y(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),v=e(((e,t)=>{var r=g(),n=y(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),D=e(((e,r)=>{var n=t(),i=g(),s=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}})),b=e(((e,t)=>{var r=c();t.exports=r({}.isPrototypeOf)})),E=e(((e,t)=>{var r=D();t.exports=r("navigator","userAgent")||""})),x=e(((e,r)=>{var n,i,s=t(),o=E(),a=s.process,u=s.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),C=e(((e,t)=>{var r=x(),n=i();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=C();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),A=e(((e,t)=>{var r=D(),n=g(),i=b(),s=w(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),S=e(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),T=e(((e,t)=>{var r=g(),n=S(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),F=e(((e,t)=>{var r=T(),n=d();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),k=e(((e,t)=>{var r=a(),n=g(),i=v(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),P=e(((e,t)=>{t.exports=!1})),N=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),_=e(((e,r)=>{var n=t(),i=N(),s="__core-js_shared__",o=n[s]||i(s,{});r.exports=o})),O=e(((e,t)=>{var r=P(),n=_();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"\xa9 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"})})),I=e(((e,t)=>{var r=f(),n=Object;t.exports=function(e){return n(r(e))}})),B=e(((e,t)=>{var r=c(),n=I(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),j=e(((e,t)=>{var r=c(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),L=e(((e,r)=>{var n=t(),i=O(),s=B(),o=j(),a=C(),u=w(),l=i("wks"),c=n.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||o;r.exports=function(e){if(!s(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&s(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),M=e(((e,t)=>{var r=a(),n=v(),i=A(),s=F(),o=k(),u=L(),l=TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var a,u=s(e,c);if(u){if(void 0===t&&(t="default"),a=r(u,e,t),!n(a)||i(a))return a;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}})),R=e(((e,t)=>{var r=M(),n=A();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),$=e(((e,r)=>{var n=t(),i=v(),s=n.document,o=i(s)&&i(s.createElement);r.exports=function(e){return o?s.createElement(e):{}}})),V=e(((e,t)=>{var r=s(),n=i(),o=$();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))})),U=e((e=>{var t=s(),r=a(),n=u(),i=l(),o=m(),c=R(),p=B(),h=V(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=o(e),t=c(t),h)try{return d(e,t)}catch{}if(p(e,t))return i(!r(n.f,e,t),e[t])}})),q=e(((e,t)=>{var r=s(),n=i();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),z=e(((e,t)=>{var r=v(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),W=e((e=>{var t=s(),r=V(),n=q(),i=z(),o=R(),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(i(e),t=o(t),i(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(i(e),t=o(t),i(n),r)try{return u(e,t,n)}catch{}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),G=e(((e,t)=>{var r=s(),n=W(),i=l();t.exports=r?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}})),H=e(((e,t)=>{var r=s(),n=B(),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=n(i,"name"),u=a&&"something"===function(){}.name,l=a&&(!r||r&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:l}})),J=e(((e,t)=>{var r=c(),n=g(),i=_(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),X=e(((e,r)=>{var n=t(),i=g(),s=n.WeakMap;r.exports=i(s)&&/native code/.test(String(s))})),Q=e(((e,t)=>{var r=O(),n=j(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),K=e(((e,t)=>{t.exports={}})),Y=e(((e,r)=>{var n,i,s,o,a,u=X(),l=t(),c=v(),p=G(),h=B(),d=_(),f=Q(),m=K(),y="Object already initialized",g=l.TypeError,D=l.WeakMap,b=function(e){return s(e)?i(e):n(e,{})},E=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}};u||d.state?((o=d.state||(d.state=new D)).get=o.get,o.has=o.has,o.set=o.set,n=function(e,t){if(o.has(e))throw g(y);return t.facade=e,o.set(e,t),t},i=function(e){return o.get(e)||{}},s=function(e){return o.has(e)}):(m[a=f("state")]=!0,n=function(e,t){if(h(e,a))throw g(y);return t.facade=e,p(e,a,t),t},i=function(e){return h(e,a)?e[a]:{}},s=function(e){return h(e,a)}),r.exports={set:n,get:i,has:s,enforce:b,getterFor:E}})),Z=e(((e,t)=>{var r=i(),n=g(),o=B(),a=s(),u=H().CONFIGURABLE,l=J(),c=Y(),p=c.enforce,h=c.get,d=Object.defineProperty,f=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=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),(!o(e,"name")||u&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&o(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return o(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return n(this)&&h(this).source||l(this)}),"toString")})),ee=e(((e,t)=>{var r=g(),n=W(),i=Z(),s=N();t.exports=function(e,t,o,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:t;if(r(o)&&i(o,l,a),a.global)u?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),te=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),re=e(((e,t)=>{var r=te();t.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}})),ne=e(((e,t)=>{var r=re(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),ie=e(((e,t)=>{var r=re(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),se=e(((e,t)=>{var r=ie();t.exports=function(e){return r(e.length)}})),oe=e(((e,t)=>{var r=m(),n=ne(),i=se(),s=function(e){return function(t,s,o){var a,u=r(t),l=i(u),c=n(o,l);if(e&&s!=s){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),ae=e(((e,t)=>{var r=c(),n=B(),i=m(),s=oe().indexOf,o=K(),a=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(o,r)&&n(u,r)&&a(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||a(c,r));return c}})),ue=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),le=e((e=>{var t=ae(),r=ue().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),ce=e((e=>{e.f=Object.getOwnPropertySymbols})),pe=e(((e,t)=>{var r=D(),n=c(),i=le(),s=ce(),o=z(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),he=e(((e,t)=>{var r=B(),n=pe(),i=U(),s=W();t.exports=function(e,t,o){for(var a=n(t),u=s.f,l=i.f,c=0;c<a.length;c++){var p=a[c];!r(e,p)&&(!o||!r(o,p))&&u(e,p,l(t,p))}}})),de=e(((e,t)=>{var r=i(),n=g(),s=/#|\.prototype\./,o=function(e,t){var i=u[a(e)];return i==c||i!=l&&(n(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),fe=e(((e,r)=>{var n=t(),i=U().f,s=G(),o=ee(),a=N(),u=he(),l=de();r.exports=function(e,t){var r,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(r=m?n:y?n[f]||a(f,{}):(n[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=i(r,c))&&d.value:r[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&s(h,"sham",!0),o(r,c,h,e)}}})),me=e((()=>{var e=fe(),r=t();e({global:!0,forced:r.globalThis!==r},{globalThis:r})})),ye=e((()=>{me()})),ge=e(((e,t)=>{ye();var r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a=(e,t)=>function(){return e&&(t=(0,e[s(e)[0]])(e=0)),t},u=(e,t)=>function(){return t||(0,e[s(e)[0]])((t={exports:{}}).exports,t),t.exports},l=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},c=(e,t,n,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of s(t))!o.call(e,u)&&u!==n&&r(e,u,{get:()=>t[u],enumerable:!(a=i(t,u))||a.enumerable});return e},p=e=>c(r({},"__esModule",{value:!0}),e),h=a({"<define:process>"(){}}),d=u({"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}h(),t.exports=r}}),f=u({"src/utils/get-last.js"(e,t){h();var r=e=>e[e.length-1];t.exports=r}}),m=u({"src/utils/front-matter/parse.js"(e,t){h();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function n(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:o}=t.groups,a=i.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}t.exports=n}}),y={};function g(){if(typeof N>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])N="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");N="LE"}}return N}function v(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function D(){return[]}function b(){return 0}function E(){return Number.MAX_VALUE}function x(){return Number.MAX_VALUE}function C(){return[]}function w(){return"Browser"}function A(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function S(){}function T(){}function F(){return"javascript"}function k(){return"browser"}function P(){return"/tmp"}l(y,{EOL:()=>O,arch:()=>F,cpus:()=>C,default:()=>I,endianness:()=>g,freemem:()=>E,getNetworkInterfaces:()=>T,hostname:()=>v,loadavg:()=>D,networkInterfaces:()=>S,platform:()=>k,release:()=>A,tmpDir:()=>P,tmpdir:()=>_,totalmem:()=>x,type:()=>w,uptime:()=>b});var N,_,O,I,B=a({"node-modules-polyfills:os"(){h(),I={EOL:O="\n",tmpdir:_=P,tmpDir:P,networkInterfaces:S,getNetworkInterfaces:T,release:A,type:w,cpus:C,totalmem:x,freemem:E,uptime:b,loadavg:D,hostname:v,endianness:g}}}),j=u({"node-modules-polyfills-commonjs:os"(e,t){h();var r=(B(),p(y));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),L=u({"node_modules/detect-newline/index.js"(e,t){h();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"}}),M=u({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=j();return t=function(){return e},e}function r(){let e=n(L());return r=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}h(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=f,e.parse=y,e.parseWithComments=g,e.print=v,e.strip=m;var i=/\*\/$/,s=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,d=[];function f(e){let t=e.match(o);return t?t[0].trimLeft():""}function m(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function y(e){return g(e).pragmas}function g(e){let n=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(i,"").replace(p,"$1");let o="";for(;o!==e;)o=e,e=e.replace(l,`${n}$1 $2${n}`);e=e.replace(u,"").trimRight();let h,f=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();for(;h=c.exec(e);){let e=h[2].replace(a,"");"string"==typeof f[h[1]]||Array.isArray(f[h[1]])?f[h[1]]=d.concat(f[h[1]],e):f[h[1]]=e}return{comments:m,pragmas:f}}function v(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o="/**",a=" *",u=" */",l=Object.keys(i),c=l.map((e=>D(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${a} ${e}${s}`)).join("");if(!n){if(0===l.length)return"";if(1===l.length&&!Array.isArray(i[l[0]])){let e=i[l[0]];return`${o} ${D(l[0],e)[0]}${u}`}}let p=n.split(s).map((e=>`${a} ${e}`)).join(s)+s;return o+s+(n?p:"")+(n&&l.length?a+s:"")+c+u}function D(e,t){return d.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),R=u({"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 n(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(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 n=e.match(r);return n?n.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}h(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:n,countEndOfLineChars:i,normalizeEndOfLine:s}}}),$=u({"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)}h(),t.exports=r}}),V=u({"src/language-js/pragma.js"(e,t){h();var{parseWithComments:r,strip:n,extract:i,print:s}=M(),{normalizeEndOfLine:o}=R(),a=$();function u(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}function l(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")}function c(e){let{shebang:t,text:r,pragmas:i,comments:a}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:c}}}),U=u({"src/language-css/pragma.js"(e,t){h();var r=V(),n=m();function i(e){return r.hasPragma(n(e).content)}function s(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}t.exports={hasPragma:i,insertPragma:s}}}),q=u({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}h();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),z=u({"src/utils/line-column-to-index.js"(e,t){h(),t.exports=function(e,t){let r=0;for(let n=0;n<e.line-1;++n)r=t.indexOf("\n",r)+1;return r+e.column}}}),W=u({"src/language-css/loc.js"(e,t){h();var{skipEverythingButNewLine:r}=q(),n=f(),i=z();function s(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function o(e,t){if("css-comment"===e.type&&e.inline)return r(t,e.source.startOffset);let s=e.nodes&&n(e.nodes);return s&&e.source&&!e.source.end&&(e=s),e.source&&e.source.end?i(e.source.end,t):null}function a(e,t){e.source&&(e.source.startOffset=s(e,t),e.source.endOffset=o(e,t));for(let r in e){let n=e[r];"source"===r||!n||"object"!=typeof n||("value-root"===n.type||"value-unknown"===n.type?u(n,l(e),n.text||n.value):a(n,t))}}function u(e,t,r){e.source&&(e.source.startOffset=s(e,r)+t,e.source.endOffset=o(e,r)+t);for(let n in e){let i=e[n];"source"===n||!i||"object"!=typeof i||u(i,t,r)}}function l(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}function c(e){let t,r="initial",n="initial",i=!1,s=[];for(let o=0;o<e.length;o++){let a=e[o];switch(r){case"initial":if("'"===a){r="single-quotes";continue}if('"'===a){r="double-quotes";continue}if(("u"===a||"U"===a)&&"url("===e.slice(o,o+4).toLowerCase()){r="url",o+=3;continue}if("*"===a&&"/"===e[o-1]){r="comment-block";continue}if("/"===a&&"/"===e[o-1]){r="comment-inline",t=o-1;continue}continue;case"single-quotes":if("'"===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"double-quotes":if('"'===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"url":if(")"===a&&(r="initial"),"\n"===a||"\r"===a)return e;if("'"===a){r="single-quotes",n="url";continue}if('"'===a){r="double-quotes",n="url";continue}continue;case"comment-block":"/"===a&&"*"===e[o-1]&&(r="initial");continue;case"comment-inline":('"'===a||"'"===a||"*"===a)&&(i=!0),("\n"===a||"\r"===a)&&(i&&s.push([t,o]),r="initial",i=!1);continue}}for(let[o,a]of s)e=e.slice(0,o)+e.slice(o,a).replace(/["'*]/g," ")+e.slice(a);return e}function p(e){return e.source.startOffset}function d(e){return e.source.endOffset}t.exports={locStart:p,locEnd:d,calculateLoc:a,replaceQuotesInInlineComments:c}}}),G=u({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}h(),t.exports=r}}),H=u({"src/language-css/utils/has-scss-interpolation.js"(e,t){h();var r=G();function n(e){if(r(e))for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1}t.exports=n}}),J=u({"src/language-css/utils/has-string-or-function.js"(e,t){function r(e){return e.some((e=>"string"===e.type||"func"===e.type))}h(),t.exports=r}}),X=u({"src/language-css/utils/is-less-parser.js"(e,t){function r(e){return"css"===e.parser||"less"===e.parser}h(),t.exports=r}}),Q=u({"src/language-css/utils/is-scss.js"(e,t){function r(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}h(),t.exports=r}}),K=u({"src/language-css/utils/is-scss-nested-property-node.js"(e,t){function r(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}h(),t.exports=r}}),Y=u({"src/language-css/utils/is-scss-variable.js"(e,t){function r(e){return Boolean("word"===(null==e?void 0:e.type)&&e.value.startsWith("$"))}h(),t.exports=r}}),Z=u({"src/language-css/utils/stringify-node.js"(e,t){function r(e){var t,n,i,s,o,a;if(e.groups)return((null===(s=e.open)||void 0===s?void 0:s.value)||"")+e.groups.map((e=>r(e))).join("comma_group"===(null===(o=e.groups[0])||void 0===o?void 0:o.type)?",":"")+((null===(a=e.close)||void 0===a?void 0:a.value)||"");let u=(null===(t=e.raws)||void 0===t?void 0:t.before)||"",l=(null===(n=e.raws)||void 0===n?void 0:n.quote)||"";return u+l+("atword"===e.type?"@":"")+(e.value||"")+l+(e.unit||"")+(e.group?r(e.group):"")+((null===(i=e.raws)||void 0===i?void 0:i.after)||"")}h(),t.exports=r}}),ee=u({"src/language-css/utils/is-module-rule-name.js"(e,t){h();var r=new Set(["import","use","forward"]);function n(e){return r.has(e)}t.exports=n}}),te=u({"node_modules/postcss-values-parser/lib/node.js"(e,t){h();var r=function(e,t){let n=new e.constructor;for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i],o=typeof s;"parent"===i&&"object"===o?t&&(n[i]=t):"source"===i?n[i]=s:s instanceof Array?n[i]=s.map((e=>r(e,n))):"before"!==i&&"after"!==i&&"between"!==i&&"semicolon"!==i&&("object"===o&&null!==s&&(s=r(s)),n[i]=s)}return n};t.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let t in e)this[t]=e[t]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let t=r(this);for(let r in e)t[r]=e[r];return t}cloneBefore(e){e=e||{};let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e){e=e||{};let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let t of e)this.parent.insertBefore(this,t);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let t in this){if(!this.hasOwnProperty(t)||"parent"===t)continue;let r=this[t];r instanceof Array?e[t]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON():e)):"object"==typeof r&&r.toJSON?e[t]=r.toJSON():e[t]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let t=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(r=1,n+=1):r+=1;return{line:n,column:r}}positionBy(e){let t=this.source.start;if(Object(e).index)t=this.positionInside(e.index);else if(Object(e).word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t}}}}),re=u({"node_modules/postcss-values-parser/lib/container.js"(e,t){h();var r=te(),n=class extends r{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let t,r,n=this.lastEach;if(this.indexes[n]=0,this.nodes){for(;this.indexes[n]<this.nodes.length&&(t=this.indexes[n],r=e(this.nodes[t],t),!1!==r);)this.indexes[n]+=1;return delete this.indexes[n],r}}walk(e){return this.each(((t,r)=>{let n=e(t,r);return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkType(e,t){if(!e||!t)throw new Error("Parameters {type} and {callback} are required.");let r="function"==typeof e;return this.walk(((n,i)=>{if(r&&n instanceof e||!r&&n.type===e)return t.call(this,n,i)}))}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertAfter(e,t){let r,n=this.index(e);this.nodes.splice(n+1,0,t);for(let i in this.indexes)r=this.indexes[i],n<=r&&(this.indexes[i]=r+this.nodes.length);return this}insertBefore(e,t){let r,n=this.index(e);this.nodes.splice(n,0,t);for(let i in this.indexes)r=this.indexes[i],n<=r&&(this.indexes[i]=r+this.nodes.length);return this}removeChild(e){let t;e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};n.registerWalker=e=>{let t="walk"+e.name;t.lastIndexOf("s")!==t.length-1&&(t+="s"),!n.prototype[t]&&(n.prototype[t]=function(t){return this.walkType(e,t)})},t.exports=n}}),ne=u({"node_modules/postcss-values-parser/lib/root.js"(e,t){h();var r=re();t.exports=class extends r{constructor(e){super(e),this.type="root"}}}}),ie=u({"node_modules/postcss-values-parser/lib/value.js"(e,t){h();var r=re();t.exports=class extends r{constructor(e){super(e),this.type="value",this.unbalanced=0}}}}),se=u({"node_modules/postcss-values-parser/lib/atword.js"(e,t){h();var r=re(),n=class extends r{constructor(e){super(e),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};r.registerWalker(n),t.exports=n}}),oe=u({"node_modules/postcss-values-parser/lib/colon.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="colon"}};r.registerWalker(i),t.exports=i}}),ae=u({"node_modules/postcss-values-parser/lib/comma.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="comma"}};r.registerWalker(i),t.exports=i}}),ue=u({"node_modules/postcss-values-parser/lib/comment.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};r.registerWalker(i),t.exports=i}}),le=u({"node_modules/postcss-values-parser/lib/function.js"(e,t){h();var r=re(),n=class extends r{constructor(e){super(e),this.type="func",this.unbalanced=-1}};r.registerWalker(n),t.exports=n}}),ce=u({"node_modules/postcss-values-parser/lib/number.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};r.registerWalker(i),t.exports=i}}),pe=u({"node_modules/postcss-values-parser/lib/operator.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="operator"}};r.registerWalker(i),t.exports=i}}),he=u({"node_modules/postcss-values-parser/lib/paren.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="paren",this.parenType=""}};r.registerWalker(i),t.exports=i}}),de=u({"node_modules/postcss-values-parser/lib/string.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};r.registerWalker(i),t.exports=i}}),fe=u({"node_modules/postcss-values-parser/lib/word.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="word"}};r.registerWalker(i),t.exports=i}}),me=u({"node_modules/postcss-values-parser/lib/unicode-range.js"(e,t){h();var r=re(),n=te(),i=class extends n{constructor(e){super(e),this.type="unicode-range"}};r.registerWalker(i),t.exports=i}});function ge(){throw new Error("setTimeout has not been defined")}function ve(){throw new Error("clearTimeout has not been defined")}function De(e){if(_e===setTimeout)return setTimeout(e,0);if((_e===ge||!_e)&&setTimeout)return _e=setTimeout,setTimeout(e,0);try{return _e(e,0)}catch{try{return _e.call(null,e,0)}catch{return _e.call(this,e,0)}}}function be(e){if(Oe===clearTimeout)return clearTimeout(e);if((Oe===ve||!Oe)&&clearTimeout)return Oe=clearTimeout,clearTimeout(e);try{return Oe(e)}catch{try{return Oe.call(null,e)}catch{return Oe.call(this,e)}}}function Ee(){!Be||!je||(Be=!1,je.length?Ie=je.concat(Ie):Le=-1,Ie.length&&xe())}function xe(){if(!Be){var e=De(Ee);Be=!0;for(var t=Ie.length;t;){for(je=Ie,Ie=[];++Le<t;)je&&je[Le].run();Le=-1,t=Ie.length}je=null,Be=!1,be(e)}}function Ce(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Ie.push(new we(e,t)),1===Ie.length&&!Be&&De(xe)}function we(e,t){this.fun=e,this.array=t}function Ae(){}function Se(e){throw new Error("process.binding is not supported")}function Te(){return"/"}function Fe(e){throw new Error("process.chdir is not supported")}function ke(){return 0}function Pe(e){var t=.001*tt.call(et),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]}function Ne(){return(new Date-rt)/1e3}var _e,Oe,Ie,Be,je,Le,Me,Re,$e,Ve,Ue,qe,ze,We,Ge,He,Je,Xe,Qe,Ke,Ye,Ze,et,tt,rt,nt,it,st,ot=a({"node-modules-polyfills:process"(){h(),_e=ge,Oe=ve,"function"==typeof globalThis.setTimeout&&(_e=setTimeout),"function"==typeof globalThis.clearTimeout&&(Oe=clearTimeout),Ie=[],Be=!1,Le=-1,we.prototype.run=function(){this.fun.apply(null,this.array)},Me="browser",Re="browser",$e=!0,Ve={},Ue=[],qe="",ze={},We={},Ge={},He=Ae,Je=Ae,Xe=Ae,Qe=Ae,Ke=Ae,Ye=Ae,Ze=Ae,et=globalThis.performance||{},tt=et.now||et.mozNow||et.msNow||et.oNow||et.webkitNow||function(){return(new Date).getTime()},rt=new Date,nt={nextTick:Ce,title:Me,browser:$e,env:Ve,argv:Ue,version:qe,versions:ze,on:He,addListener:Je,once:Xe,off:Qe,removeListener:Ke,removeAllListeners:Ye,emit:Ze,binding:Se,cwd:Te,chdir:Fe,umask:ke,hrtime:Pe,platform:Re,release:We,config:Ge,uptime:Ne}}}),at=a({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){h(),it="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},st=it}}),ut={};function lt(e){if(!Tt(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(ht(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,s=String(e).replace(qt,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}default:return e}})),o=n[r];r<i;o=n[++r])wt(o)||!Nt(o)?s+=" "+o:s+=" "+ht(o);return s}function ct(e,t){if(kt(globalThis.process))return function(){return ct(e,t).apply(this,arguments)};if(!0===nt.noDeprecation)return e;var r=!1;function n(){if(!r){if(nt.throwDeprecation)throw new Error(t);nt.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return n}function pt(e){if(kt(Wt)&&(Wt=nt.env.NODE_DEBUG||""),e=e.toUpperCase(),!zt[e])if(new RegExp("\\b"+e+"\\b","i").test(Wt)){var t=0;zt[e]=function(){var r=lt.apply(null,arguments);console.error("%s %d: %s",e,t,r)}}else zt[e]=function(){};return zt[e]}function ht(e,t){var r={seen:[],stylize:ft};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Ct(t)?r.showHidden=t:t&&Vt(r,t),kt(r.showHidden)&&(r.showHidden=!1),kt(r.depth)&&(r.depth=2),kt(r.colors)&&(r.colors=!1),kt(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=dt),yt(r,e,r.depth)}function dt(e,t){var r=ht.styles[t];return r?"\x1b["+ht.colors[r][0]+"m"+e+"\x1b["+ht.colors[r][1]+"m":e}function ft(e,t){return e}function mt(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}function yt(e,t,r){if(e.customInspect&&t&&It(t.inspect)&&t.inspect!==ht&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return Tt(n)||(n=yt(e,n,r)),n}var i=gt(e,t);if(i)return i;var s=Object.keys(t),o=mt(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),Ot(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return vt(t);if(0===s.length){if(It(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(Pt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(_t(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Ot(t))return vt(t)}var u,l="",c=!1,p=["{","}"];return xt(t)&&(c=!0,p=["[","]"]),It(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),Pt(t)&&(l=" "+RegExp.prototype.toString.call(t)),_t(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Ot(t)&&(l=" "+vt(t)),0!==s.length||c&&0!=t.length?r<0?Pt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=c?Dt(e,t,r,o,s):s.map((function(n){return bt(e,t,r,o,n,c)})),e.seen.pop(),Et(u,l,p)):p[0]+l+p[1]}function gt(e,t){if(kt(t))return e.stylize("undefined","undefined");if(Tt(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return St(t)?e.stylize(""+t,"number"):Ct(t)?e.stylize(""+t,"boolean"):wt(t)?e.stylize("null","null"):void 0}function vt(e){return"["+Error.prototype.toString.call(e)+"]"}function Dt(e,t,r,n,i){for(var s=[],o=0,a=t.length;o<a;++o)Ut(t,String(o))?s.push(bt(e,t,r,n,String(o),!0)):s.push("");return i.forEach((function(i){i.match(/^\d+$/)||s.push(bt(e,t,r,n,i,!0))})),s}function bt(e,t,r,n,i,s){var o,a,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),Ut(n,i)||(o="["+i+"]"),a||(e.seen.indexOf(u.value)<0?(a=wt(r)?yt(e,u.value,null):yt(e,u.value,r-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),kt(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function Et(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function xt(e){return Array.isArray(e)}function Ct(e){return"boolean"==typeof e}function wt(e){return null===e}function At(e){return null==e}function St(e){return"number"==typeof e}function Tt(e){return"string"==typeof e}function Ft(e){return"symbol"==typeof e}function kt(e){return void 0===e}function Pt(e){return Nt(e)&&"[object RegExp]"===Lt(e)}function Nt(e){return"object"==typeof e&&null!==e}function _t(e){return Nt(e)&&"[object Date]"===Lt(e)}function Ot(e){return Nt(e)&&("[object Error]"===Lt(e)||e instanceof Error)}function It(e){return"function"==typeof e}function Bt(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||typeof e>"u"}function jt(e){return n.isBuffer(e)}function Lt(e){return Object.prototype.toString.call(e)}function Mt(e){return e<10?"0"+e.toString(10):e.toString(10)}function Rt(){var e=new Date,t=[Mt(e.getHours()),Mt(e.getMinutes()),Mt(e.getSeconds())].join(":");return[e.getDate(),Gt[e.getMonth()],t].join(" ")}function $t(){console.log("%s - %s",Rt(),lt.apply(null,arguments))}function Vt(e,t){if(!t||!Nt(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function Ut(e,t){return Object.prototype.hasOwnProperty.call(e,t)}l(ut,{_extend:()=>Vt,debuglog:()=>pt,default:()=>Ht,deprecate:()=>ct,format:()=>lt,inherits:()=>st,inspect:()=>ht,isArray:()=>xt,isBoolean:()=>Ct,isBuffer:()=>jt,isDate:()=>_t,isError:()=>Ot,isFunction:()=>It,isNull:()=>wt,isNullOrUndefined:()=>At,isNumber:()=>St,isObject:()=>Nt,isPrimitive:()=>Bt,isRegExp:()=>Pt,isString:()=>Tt,isSymbol:()=>Ft,isUndefined:()=>kt,log:()=>$t});var qt,zt,Wt,Gt,Ht,Jt=a({"node-modules-polyfills:util"(){h(),ot(),at(),qt=/%[sdj%]/g,zt={},ht.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ht.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Gt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ht={inherits:st,_extend:Vt,log:$t,isBuffer:jt,isPrimitive:Bt,isFunction:It,isError:Ot,isDate:_t,isObject:Nt,isRegExp:Pt,isUndefined:kt,isSymbol:Ft,isString:Tt,isNumber:St,isNullOrUndefined:At,isNull:wt,isBoolean:Ct,isArray:xt,inspect:ht,deprecate:ct,format:lt,debuglog:pt}}}),Xt=u({"node-modules-polyfills-commonjs:util"(e,t){h();var r=(Jt(),p(ut));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Qt=u({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(e,t){h();var r=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.","function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};t.exports=r}}),Kt=u({"node_modules/postcss-values-parser/lib/tokenize.js"(e,t){h();var r="{".charCodeAt(0),n="}".charCodeAt(0),i="(".charCodeAt(0),s=")".charCodeAt(0),o="'".charCodeAt(0),a='"'.charCodeAt(0),u="\\".charCodeAt(0),l="/".charCodeAt(0),c=".".charCodeAt(0),p=",".charCodeAt(0),d=":".charCodeAt(0),f="*".charCodeAt(0),m="-".charCodeAt(0),y="+".charCodeAt(0),g="#".charCodeAt(0),v="\n".charCodeAt(0),D=" ".charCodeAt(0),b="\f".charCodeAt(0),E="\t".charCodeAt(0),x="\r".charCodeAt(0),C="@".charCodeAt(0),w="e".charCodeAt(0),A="E".charCodeAt(0),S="0".charCodeAt(0),T="9".charCodeAt(0),F="u".charCodeAt(0),k="U".charCodeAt(0),P=/[ \n\t\r\{\(\)'"\\;,/]/g,N=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,_=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,O=/^[a-z0-9]/i,I=/^[a-f0-9?\-]/i,B=Xt(),j=Qt();t.exports=function(e,t){t=t||{};let h,L,M,R,$,V,U,q,z,W,G,H,J=[],X=e.valueOf(),Q=X.length,K=-1,Y=1,Z=0,ee=0,te=null;function re(e){let t=B.format("Unclosed %s at line: %d, column: %d, token: %d",e,Y,Z-K,Z);throw new j(t)}for(;Z<Q;){switch(h=X.charCodeAt(Z),h===v&&(K=Z,Y+=1),h){case v:case D:case E:case x:case b:L=Z;do{L+=1,h=X.charCodeAt(L),h===v&&(K=L,Y+=1)}while(h===D||h===v||h===E||h===x||h===b);J.push(["space",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;break;case d:L=Z+1,J.push(["colon",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;break;case p:L=Z+1,J.push(["comma",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;break;case r:J.push(["{","{",Y,Z-K,Y,L-K,Z]);break;case n:J.push(["}","}",Y,Z-K,Y,L-K,Z]);break;case i:ee++,te=!te&&1===ee&&J.length>0&&"word"===J[J.length-1][0]&&"url"===J[J.length-1][1],J.push(["(","(",Y,Z-K,Y,L-K,Z]);break;case s:ee--,te=te&&ee>0,J.push([")",")",Y,Z-K,Y,L-K,Z]);break;case o:case a:M=h===o?"'":'"',L=Z;do{for(W=!1,L=X.indexOf(M,L+1),-1===L&&re("quote",M),G=L;X.charCodeAt(G-1)===u;)G-=1,W=!W}while(W);J.push(["string",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L;break;case C:P.lastIndex=Z+1,P.test(X),L=0===P.lastIndex?X.length-1:P.lastIndex-2,J.push(["atword",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L;break;case u:L=Z,h=X.charCodeAt(L+1),U&&h!==l&&h!==D&&h!==v&&h!==E&&h!==x&&h!==b&&(L+=1),J.push(["word",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L;break;case y:case m:case f:if(L=Z+1,H=X.slice(Z+1,L+1),X.slice(Z-1,Z),h===m&&H.charCodeAt(0)===m){L++,J.push(["word",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;break}J.push(["operator",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;break;default:if(h===l&&(X.charCodeAt(Z+1)===f||t.loose&&!te&&X.charCodeAt(Z+1)===l)){if(X.charCodeAt(Z+1)===f)L=X.indexOf("*/",Z+2)+1,0===L&&re("comment","*/");else{let e=X.indexOf("\n",Z+2);L=-1!==e?e-1:Q}V=X.slice(Z,L+1),R=V.split("\n"),$=R.length-1,$>0?(q=Y+$,z=L-R[$].length):(q=Y,z=K),J.push(["comment",V,Y,Z-K,q,L-z,Z]),K=z,Y=q,Z=L}else if(h!==g||O.test(X.slice(Z+1,Z+2)))if(h!==F&&h!==k||X.charCodeAt(Z+1)!==y)if(h===l)L=Z+1,J.push(["operator",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1;else{let e=N;if(h>=S&&h<=T&&(e=_),e.lastIndex=Z+1,e.test(X),L=0===e.lastIndex?X.length-1:e.lastIndex-2,e===_||h===c){let e=X.charCodeAt(L),t=X.charCodeAt(L+1),r=X.charCodeAt(L+2);(e===w||e===A)&&(t===m||t===y)&&r>=S&&r<=T&&(_.lastIndex=L+2,_.test(X),L=0===_.lastIndex?X.length-1:_.lastIndex-2)}J.push(["word",X.slice(Z,L+1),Y,Z-K,Y,L-K,Z]),Z=L}else{L=Z+2;do{L+=1,h=X.charCodeAt(L)}while(L<Q&&I.test(X.slice(L,L+1)));J.push(["unicoderange",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1}else L=Z+1,J.push(["#",X.slice(Z,L),Y,Z-K,Y,L-K,Z]),Z=L-1}Z++}return J}}}),Yt=u({"node_modules/flatten/index.js"(e,t){h(),t.exports=function(e,t){return(t="number"==typeof t?t:1/0)?r(e,1):Array.isArray(e)?e.map((function(e){return e})):e;function r(e,n){return e.reduce((function(e,i){return Array.isArray(i)&&n<t?e.concat(r(i,n+1)):e.concat(i)}),[])}}}}),Zt=u({"node_modules/indexes-of/index.js"(e,t){h(),t.exports=function(e,t){for(var r=-1,n=[];-1!==(r=e.indexOf(t,r+1));)n.push(r);return n}}}),er=u({"node_modules/uniq/uniq.js"(e,t){function r(e,t){for(var r=1,n=e.length,i=e[0],s=e[0],o=1;o<n;++o)if(s=i,t(i=e[o],s)){if(o===r){r++;continue}e[r++]=i}return e.length=r,e}function n(e){for(var t=1,r=e.length,n=e[0],i=e[0],s=1;s<r;++s,i=n)if(i=n,(n=e[s])!==i){if(s===t){t++;continue}e[t++]=n}return e.length=t,e}function i(e,t,i){return 0===e.length?e:t?(i||e.sort(t),r(e,t)):(i||e.sort(),n(e))}h(),t.exports=i}}),tr=u({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(e,t){h();var r=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.","function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};t.exports=r}}),rr=u({"node_modules/postcss-values-parser/lib/parser.js"(e,t){h();var r=ne(),n=ie(),i=se(),s=oe(),o=ae(),a=ue(),u=le(),l=ce(),c=pe(),p=he(),d=de(),f=fe(),m=me(),y=Kt(),g=Yt(),v=Zt(),D=er(),b=tr();function E(e){return e.sort(((e,t)=>e-t))}t.exports=class{constructor(e,t){let i={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},i,t),this.position=0,this.unbalanced=0,this.root=new r;let s=new n;this.root.append(s),this.current=s,this.tokens=y(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new s({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new o({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e,t=!1,r=this.currToken[1].replace(/\/\*|\*\//g,"");this.options.loose&&r.startsWith("//")&&(r=r.substring(2),t=!0),e=new a({value:r,inline:t,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(e),this.position++}error(e,t){throw new b(e+` at line: ${t[2]}, column ${t[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let e,t=this.currToken[1];if("+"===t||"-"===t)if(this.options.loose||this.position>0&&("func"===this.current.type&&"calc"===this.current.value?("space"!==this.prevToken[0]&&"("!==this.prevToken[0]||"space"!==this.nextToken[0]&&"word"!==this.nextToken[0]||"word"===this.nextToken[0]&&"operator"!==this.current.last.type&&"("!==this.current.last.value)&&this.error("Syntax Error",this.currToken):("space"===this.nextToken[0]||"operator"===this.nextToken[0]||"operator"===this.prevToken[0])&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&"operator"===this.current.last.type)&&"word"===this.nextToken[0])return this.word()}else if("word"===this.nextToken[0])return this.word();return e=new c({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(e)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":default:this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange()}}parenOpen(){let e,t=1,r=this.position+1,n=this.currToken;for(;r<this.tokens.length&&t;){let e=this.tokens[r];"("===e[0]&&t++,")"===e[0]&&t--,r++}if(t&&this.error("Expected closing parenthesis",n),e=this.current.last,e&&"func"===e.type&&e.unbalanced<0&&(e.unbalanced=0,this.current=e),this.current.unbalanced++,this.newNode(new p({value:n[1],source:{start:{line:n[2],column:n[3]},end:{line:n[4],column:n[5]}},sourceIndex:n[6]})),this.position++,"func"===this.current.type&&this.current.unbalanced&&"url"===this.current.value&&"string"!==this.currToken[0]&&")"!==this.currToken[0]&&!this.options.loose){let e=this.nextToken,t=this.currToken[1],r={line:this.currToken[2],column:this.currToken[3]};for(;e&&")"!==e[0]&&this.current.unbalanced;)this.position++,t+=this.currToken[1],e=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new f({value:t,source:{start:r,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let e=this.currToken;this.newNode(new p({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++,(!(this.position>=this.tokens.length-1)||this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||","===this.nextToken[0]||")"===this.nextToken[0]?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new m({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e,t,r=this.nextToken,n=this.currToken[1],s=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/;if(!/^(?!\#([a-z0-9]+))[\#\{\}]/gi.test(n))for(;r&&"word"===r[0];){this.position++;let e=this.currToken[1];n+=e,r=this.nextToken}e=v(n,"@"),t=E(D(g([[0],e]))),t.forEach(((o,a)=>{let c,p=t[a+1]||n.length,h=n.slice(o,p);if(~e.indexOf(o))c=new i({value:h.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+o},end:{line:this.currToken[4],column:this.currToken[3]+(p-1)}},sourceIndex:this.currToken[6]+t[a]});else if(s.test(this.currToken[1])){let e=h.replace(s,"");c=new l({value:h.replace(e,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+o},end:{line:this.currToken[4],column:this.currToken[3]+(p-1)}},sourceIndex:this.currToken[6]+t[a],unit:e})}else c=new(r&&"("===r[0]?u:f)({value:h,source:{start:{line:this.currToken[2],column:this.currToken[3]+o},end:{line:this.currToken[4],column:this.currToken[3]+(p-1)}},sourceIndex:this.currToken[6]+t[a]}),"word"===c.type?(c.isHex=/^#(.+)/.test(h),c.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(h)):this.cache.push(this.current);this.newNode(c)})),this.position++}string(){let e,t=this.currToken,r=this.currToken[1],n=/^(\"|\')/,i=n.test(r),s="";i&&(s=r.match(n)[0],r=r.slice(1,r.length-1)),e=new d({value:r,source:{start:{line:t[2],column:t[3]},end:{line:t[4],column:t[5]}},sourceIndex:t[6],quoted:i}),e.raws.quote=s,this.newNode(e),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),nr=u({"node_modules/postcss-values-parser/lib/index.js"(e,t){h();var r=rr(),n=se(),i=oe(),s=ae(),o=ue(),a=le(),u=ce(),l=pe(),c=he(),p=de(),d=me(),f=ie(),m=fe(),y=function(e,t){return new r(e,t)};y.atword=function(e){return new n(e)},y.colon=function(e){return new i(Object.assign({value:":"},e))},y.comma=function(e){return new s(Object.assign({value:","},e))},y.comment=function(e){return new o(e)},y.func=function(e){return new a(e)},y.number=function(e){return new u(e)},y.operator=function(e){return new l(e)},y.paren=function(e){return new c(Object.assign({value:"("},e))},y.string=function(e){return new p(Object.assign({quote:"'"},e))},y.value=function(e){return new f(e)},y.word=function(e){return new m(e)},y.unicodeRange=function(e){return new d(e)},t.exports=y}}),ir=u({"node_modules/postcss-selector-parser/dist/selectors/node.js"(e,t){h(),e.__esModule=!0;var r="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};function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function e(t,n){if("object"!==(typeof t>"u"?"undefined":r(t)))return t;var i=new t.constructor;for(var s in t)if(t.hasOwnProperty(s)){var o=t[s],a=typeof o>"u"?"undefined":r(o);"parent"===s&&"object"===a?n&&(i[s]=n):i[s]=o instanceof Array?o.map((function(t){return e(t,i)})):e(o,i)}return i},s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var r in n(this,e),t)this[r]=t[r];var i=t.spaces,s=(i=void 0===i?{}:i).before,o=void 0===s?"":s,a=i.after,u=void 0===a?"":a;this.spaces={before:o,after:u}}return e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},e.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i(this);for(var r in e)t[r]=e[r];return t},e.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},e}();e.default=s,t.exports=e.default}}),sr=u({"node_modules/postcss-selector-parser/dist/selectors/types.js"(e){h(),e.__esModule=!0,e.TAG="tag",e.STRING="string",e.SELECTOR="selector",e.ROOT="root",e.PSEUDO="pseudo",e.NESTING="nesting",e.ID="id",e.COMMENT="comment",e.COMBINATOR="combinator",e.CLASS="class",e.ATTRIBUTE="attribute",e.UNIVERSAL="universal"}}),or=u({"node_modules/postcss-selector-parser/dist/selectors/container.js"(e,t){h(),e.__esModule=!0;var r=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),n=o(ir()),i=s(sr());function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(e){function t(r){a(this,t);var n=u(this,e.call(this,r));return n.nodes||(n.nodes=[]),n}return l(t,e),t.prototype.append=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},t.prototype.at=function(e){return this.nodes[e]},t.prototype.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},t.prototype.removeChild=function(e){e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1);var t=void 0;for(var r in this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},t.prototype.removeAll=function(){var e=this.nodes,t=Array.isArray(e),r=0;for(e=t?e:e[Symbol.iterator]();;){var n;if(t){if(r>=e.length)break;n=e[r++]}else{if((r=e.next()).done)break;n=r.value}n.parent=void 0}return this.nodes=[],this},t.prototype.empty=function(){return this.removeAll()},t.prototype.insertAfter=function(e,t){var r=this.index(e);this.nodes.splice(r+1,0,t);var n=void 0;for(var i in this.indexes)r<=(n=this.indexes[i])&&(this.indexes[i]=n+this.nodes.length);return this},t.prototype.insertBefore=function(e,t){var r=this.index(e);this.nodes.splice(r,0,t);var n=void 0;for(var i in this.indexes)r<=(n=this.indexes[i])&&(this.indexes[i]=n+this.nodes.length);return this},t.prototype.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var r=void 0,n=void 0;this.indexes[t]<this.length&&(r=this.indexes[t],!1!==(n=e(this.at(r),r)));)this.indexes[t]+=1;if(delete this.indexes[t],!1===n)return!1}},t.prototype.walk=function(e){return this.each((function(t,r){var n=e(t,r);if(!1!==n&&t.length&&(n=t.walk(e)),!1===n)return!1}))},t.prototype.walkAttributes=function(e){var t=this;return this.walk((function(r){if(r.type===i.ATTRIBUTE)return e.call(t,r)}))},t.prototype.walkClasses=function(e){var t=this;return this.walk((function(r){if(r.type===i.CLASS)return e.call(t,r)}))},t.prototype.walkCombinators=function(e){var t=this;return this.walk((function(r){if(r.type===i.COMBINATOR)return e.call(t,r)}))},t.prototype.walkComments=function(e){var t=this;return this.walk((function(r){if(r.type===i.COMMENT)return e.call(t,r)}))},t.prototype.walkIds=function(e){var t=this;return this.walk((function(r){if(r.type===i.ID)return e.call(t,r)}))},t.prototype.walkNesting=function(e){var t=this;return this.walk((function(r){if(r.type===i.NESTING)return e.call(t,r)}))},t.prototype.walkPseudos=function(e){var t=this;return this.walk((function(r){if(r.type===i.PSEUDO)return e.call(t,r)}))},t.prototype.walkTags=function(e){var t=this;return this.walk((function(r){if(r.type===i.TAG)return e.call(t,r)}))},t.prototype.walkUniversals=function(e){var t=this;return this.walk((function(r){if(r.type===i.UNIVERSAL)return e.call(t,r)}))},t.prototype.split=function(e){var t=this,r=[];return this.reduce((function(n,i,s){var o=e.call(t,i);return r.push(i),o?(n.push(r),r=[]):s===t.length-1&&n.push(r),n}),[])},t.prototype.map=function(e){return this.nodes.map(e)},t.prototype.reduce=function(e,t){return this.nodes.reduce(e,t)},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.filter=function(e){return this.nodes.filter(e)},t.prototype.sort=function(e){return this.nodes.sort(e)},t.prototype.toString=function(){return this.map(String).join("")},r(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(n.default);e.default=c,t.exports=e.default}}),ar=u({"node_modules/postcss-selector-parser/dist/selectors/root.js"(e,t){h(),e.__esModule=!0;var r=i(or()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.ROOT,i}return a(t,e),t.prototype.toString=function(){var e=this.reduce((function(e,t){var r=String(t);return r?e+r+",":""}),"").slice(0,-1);return this.trailingComma?e+",":e},t}(r.default);e.default=u,t.exports=e.default}}),ur=u({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(e,t){h(),e.__esModule=!0;var r=i(or()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.SELECTOR,i}return a(t,e),t}(r.default);e.default=u,t.exports=e.default}}),lr=u({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(e,t){h(),e.__esModule=!0;var r=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return o(t,e),t.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},r(t,[{key:"ns",get:function(){var e=this.namespace;return e?("string"==typeof e?e:"")+"|":""}}]),t}(n(ir()).default);e.default=a,t.exports=e.default}}),cr=u({"node_modules/postcss-selector-parser/dist/selectors/className.js"(e,t){h(),e.__esModule=!0;var r=i(lr()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.CLASS,i}return a(t,e),t.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},t}(r.default);e.default=u,t.exports=e.default}}),pr=u({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(e,t){h(),e.__esModule=!0;var r=i(ir()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.COMMENT,i}return a(t,e),t}(r.default);e.default=u,t.exports=e.default}}),hr=u({"node_modules/postcss-selector-parser/dist/selectors/id.js"(e,t){h(),e.__esModule=!0;var r=i(lr()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.ID,i}return a(t,e),t.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},t}(r.default);e.default=u,t.exports=e.default}}),dr=u({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(e,t){h(),e.__esModule=!0;var r=i(lr()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.TAG,i}return a(t,e),t}(r.default);e.default=u,t.exports=e.default}}),fr=u({"node_modules/postcss-selector-parser/dist/selectors/string.js"(e,t){h(),e.__esModule=!0;var r=i(ir()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.STRING,i}return a(t,e),t}(r.default);e.default=u,t.exports=e.default}}),mr=u({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(e,t){h(),e.__esModule=!0;var r=i(or()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.PSEUDO,i}return a(t,e),t.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),e,this.spaces.after].join("")},t}(r.default);e.default=u,t.exports=e.default}}),yr=u({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(e,t){h(),e.__esModule=!0;var r=i(lr()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.ATTRIBUTE,i.raws={},i}return a(t,e),t.prototype.toString=function(){var e=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&e.push(this.operator),this.value&&e.push(this.value),this.raws.insensitive?e.push(this.raws.insensitive):this.insensitive&&e.push(" i"),e.push("]"),e.concat(this.spaces.after).join("")},t}(r.default);e.default=u,t.exports=e.default}}),gr=u({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(e,t){h(),e.__esModule=!0;var r=i(lr()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.UNIVERSAL,i.value="*",i}return a(t,e),t}(r.default);e.default=u,t.exports=e.default}}),vr=u({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(e,t){h(),e.__esModule=!0;var r=i(ir()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.COMBINATOR,i}return a(t,e),t}(r.default);e.default=u,t.exports=e.default}}),Dr=u({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(e,t){h(),e.__esModule=!0;var r=i(ir()),n=sr();function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(r){s(this,t);var i=o(this,e.call(this,r));return i.type=n.NESTING,i.value="&",i}return a(t,e),t}(r.default);e.default=u,t.exports=e.default}}),br=u({"node_modules/postcss-selector-parser/dist/sortAscending.js"(e,t){function r(e){return e.sort((function(e,t){return e-t}))}h(),e.__esModule=!0,e.default=r,t.exports=e.default}}),Er=u({"node_modules/postcss-selector-parser/dist/tokenize.js"(e,t){h(),e.__esModule=!0,e.default=F;var r=39,n=34,i=92,s=47,o=10,a=32,u=12,l=9,c=13,p=43,d=62,f=126,m=124,y=44,g=40,v=41,D=91,b=93,E=59,x=42,C=58,w=38,A=64,S=/[ \n\t\r\{\(\)'"\\;/]/g,T=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function F(e){for(var t=[],h=e.css.valueOf(),F=void 0,k=void 0,P=void 0,N=void 0,_=void 0,O=void 0,I=void 0,B=void 0,j=void 0,L=void 0,M=void 0,R=h.length,$=-1,V=1,U=0,q=function(t,r){if(!e.safe)throw e.error("Unclosed "+t,V,U-$,U);k=(h+=r).length-1};U<R;){switch((F=h.charCodeAt(U))===o&&($=U,V+=1),F){case o:case a:case l:case c:case u:k=U;do{k+=1,(F=h.charCodeAt(k))===o&&($=k,V+=1)}while(F===a||F===o||F===l||F===c||F===u);t.push(["space",h.slice(U,k),V,U-$,U]),U=k-1;break;case p:case d:case f:case m:k=U;do{k+=1,F=h.charCodeAt(k)}while(F===p||F===d||F===f||F===m);t.push(["combinator",h.slice(U,k),V,U-$,U]),U=k-1;break;case x:t.push(["*","*",V,U-$,U]);break;case w:t.push(["&","&",V,U-$,U]);break;case y:t.push([",",",",V,U-$,U]);break;case D:t.push(["[","[",V,U-$,U]);break;case b:t.push(["]","]",V,U-$,U]);break;case C:t.push([":",":",V,U-$,U]);break;case E:t.push([";",";",V,U-$,U]);break;case g:t.push(["(","(",V,U-$,U]);break;case v:t.push([")",")",V,U-$,U]);break;case r:case n:P=F===r?"'":'"',k=U;do{for(L=!1,-1===(k=h.indexOf(P,k+1))&&q("quote",P),M=k;h.charCodeAt(M-1)===i;)M-=1,L=!L}while(L);t.push(["string",h.slice(U,k+1),V,U-$,V,k-$,U]),U=k;break;case A:S.lastIndex=U+1,S.test(h),k=0===S.lastIndex?h.length-1:S.lastIndex-2,t.push(["at-word",h.slice(U,k+1),V,U-$,V,k-$,U]),U=k;break;case i:for(k=U,I=!0;h.charCodeAt(k+1)===i;)k+=1,I=!I;F=h.charCodeAt(k+1),I&&F!==s&&F!==a&&F!==o&&F!==l&&F!==c&&F!==u&&(k+=1),t.push(["word",h.slice(U,k+1),V,U-$,V,k-$,U]),U=k;break;default:F===s&&h.charCodeAt(U+1)===x?(0===(k=h.indexOf("*/",U+2)+1)&&q("comment","*/"),(_=(N=(O=h.slice(U,k+1)).split("\n")).length-1)>0?(B=V+_,j=k-N[_].length):(B=V,j=$),t.push(["comment",O,V,U-$,B,k-j,U]),$=j,V=B,U=k):(T.lastIndex=U+1,T.test(h),k=0===T.lastIndex?h.length-1:T.lastIndex-2,t.push(["word",h.slice(U,k+1),V,U-$,V,k-$,U]),U=k)}U++}return t}t.exports=e.default}}),xr=u({"node_modules/postcss-selector-parser/dist/parser.js"(e,t){h(),e.__esModule=!0;var r=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),n=C(Yt()),i=C(Zt()),s=C(er()),o=C(ar()),a=C(ur()),u=C(cr()),l=C(pr()),c=C(hr()),p=C(dr()),d=C(fr()),f=C(mr()),m=C(yr()),y=C(gr()),g=C(vr()),v=C(Dr()),D=C(br()),b=C(Er()),E=x(sr());function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var A=function(){function e(t){w(this,e),this.input=t,this.lossy=!1===t.options.lossless,this.position=0,this.root=new o.default;var r=new a.default;return this.root.append(r),this.current=r,this.lossy?this.tokens=(0,b.default)({safe:t.safe,css:t.css.trim()}):this.tokens=(0,b.default)(t),this.loop()}return e.prototype.attribute=function(){var e="",t=void 0,r=this.currToken;for(this.position++;this.position<this.tokens.length&&"]"!==this.currToken[0];)e+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~e.indexOf("]")&&this.error("Expected a closing square bracket.");var n=e.split(/((?:[*~^$|]?=))([^]*)/),i=n[0].split(/(\|)/g),s={operator:n[1],value:n[2],source:{start:{line:r[2],column:r[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:r[4]};if(i.length>1?(""===i[0]&&(i[0]=!0),s.attribute=this.parseValue(i[2]),s.namespace=this.parseNamespace(i[0])):s.attribute=this.parseValue(n[0]),t=new m.default(s),n[2]){var o=n[2].split(/(\s+i\s*?)$/),a=o[0].trim();t.value=this.lossy?a:o[0],o[1]&&(t.insensitive=!0,this.lossy||(t.raws.insensitive=o[1])),t.quoted="'"===a[0]||'"'===a[0],t.raws.unquoted=t.quoted?a.slice(1,-1):a}this.newNode(t),this.position++},e.prototype.combinator=function(){if("|"===this.currToken[1])return this.namespace();for(var e=new g.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&("space"===this.currToken[0]||"combinator"===this.currToken[0]);)this.nextToken&&"combinator"===this.nextToken[0]?(e.spaces.before=this.parseSpace(this.currToken[1]),e.source.start.line=this.nextToken[2],e.source.start.column=this.nextToken[3],e.source.end.column=this.nextToken[3],e.source.end.line=this.nextToken[2],e.sourceIndex=this.nextToken[4]):this.prevToken&&"combinator"===this.prevToken[0]?e.spaces.after=this.parseSpace(this.currToken[1]):"combinator"===this.currToken[0]?e.value=this.currToken[1]:"space"===this.currToken[0]&&(e.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(e)},e.prototype.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;var e=new a.default;this.current.parent.append(e),this.current=e,this.position++},e.prototype.comment=function(){var e=new l.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(e),this.position++},e.prototype.error=function(e){throw new this.input.error(e)},e.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},e.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},e.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},e.prototype.namespace=function(){var e=this.prevToken&&this.prevToken[1]||!0;return"word"===this.nextToken[0]?(this.position++,this.word(e)):"*"===this.nextToken[0]?(this.position++,this.universal(e)):void 0},e.prototype.nesting=function(){this.newNode(new v.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},e.prototype.parentheses=function(){var e=this.current.last;if(e&&e.type===E.PSEUDO){var t=new a.default,r=this.current;e.append(t),this.current=t;var n=1;for(this.position++;this.position<this.tokens.length&&n;)"("===this.currToken[0]&&n++,")"===this.currToken[0]&&n--,n?this.parse():(t.parent.source.end.line=this.currToken[2],t.parent.source.end.column=this.currToken[3],this.position++);n&&this.error("Expected closing parenthesis."),this.current=r}else{var i=1;for(this.position++,e.value+="(";this.position<this.tokens.length&&i;)"("===this.currToken[0]&&i++,")"===this.currToken[0]&&i--,e.value+=this.parseParenthesisToken(this.currToken),this.position++;i&&this.error("Expected closing parenthesis.")}},e.prototype.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&":"===this.currToken[0];)t+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if("word"===this.currToken[0]){var n=void 0;this.splitWord(!1,(function(i,s){t+=i,n=new f.default({value:t,source:{start:{line:r[2],column:r[3]},end:{line:e.currToken[4],column:e.currToken[5]}},sourceIndex:r[4]}),e.newNode(n),s>1&&e.nextToken&&"("===e.nextToken[0]&&e.error("Misplaced parenthesis.")}))}else this.error('Unexpected "'+this.currToken[0]+'" found.')},e.prototype.space=function(){var e=this.currToken;0===this.position||","===this.prevToken[0]||"("===this.prevToken[0]?(this.spaces=this.parseSpace(e[1]),this.position++):this.position===this.tokens.length-1||","===this.nextToken[0]||")"===this.nextToken[0]?(this.current.last.spaces.after=this.parseSpace(e[1]),this.position++):this.combinator()},e.prototype.string=function(){var e=this.currToken;this.newNode(new d.default({value:this.currToken[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++},e.prototype.universal=function(e){var t=this.nextToken;if(t&&"|"===t[1])return this.position++,this.namespace();this.newNode(new y.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),e),this.position++},e.prototype.splitWord=function(e,t){for(var r=this,o=this.nextToken,a=this.currToken[1];o&&"word"===o[0];){this.position++;var l=this.currToken[1];if(a+=l,l.lastIndexOf("\\")===l.length-1){var h=this.nextToken;h&&"space"===h[0]&&(a+=this.parseSpace(h[1]," "),this.position++)}o=this.nextToken}var d=(0,i.default)(a,"."),f=(0,i.default)(a,"#"),m=(0,i.default)(a,"#{");m.length&&(f=f.filter((function(e){return!~m.indexOf(e)})));var y=(0,D.default)((0,s.default)((0,n.default)([[0],d,f])));y.forEach((function(n,i){var s=y[i+1]||a.length,o=a.slice(n,s);if(0===i&&t)return t.call(r,o,y.length);var l=void 0;l=~d.indexOf(n)?new u.default({value:o.slice(1),source:{start:{line:r.currToken[2],column:r.currToken[3]+n},end:{line:r.currToken[4],column:r.currToken[3]+(s-1)}},sourceIndex:r.currToken[6]+y[i]}):~f.indexOf(n)?new c.default({value:o.slice(1),source:{start:{line:r.currToken[2],column:r.currToken[3]+n},end:{line:r.currToken[4],column:r.currToken[3]+(s-1)}},sourceIndex:r.currToken[6]+y[i]}):new p.default({value:o,source:{start:{line:r.currToken[2],column:r.currToken[3]+n},end:{line:r.currToken[4],column:r.currToken[3]+(s-1)}},sourceIndex:r.currToken[6]+y[i]}),r.newNode(l,e)})),this.position++},e.prototype.word=function(e){var t=this.nextToken;return t&&"|"===t[1]?(this.position++,this.namespace()):this.splitWord(e)},e.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},e.prototype.parse=function(e){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":e&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string()}},e.prototype.parseNamespace=function(e){if(this.lossy&&"string"==typeof e){var t=e.trim();return!t.length||t}return e},e.prototype.parseSpace=function(e,t){return this.lossy?t||"":e},e.prototype.parseValue=function(e){return this.lossy&&e&&"string"==typeof e?e.trim():e},e.prototype.parseParenthesisToken=function(e){return this.lossy?"space"===e[0]?this.parseSpace(e[1]," "):this.parseValue(e[1]):e[1]},e.prototype.newNode=function(e,t){return t&&(e.namespace=this.parseNamespace(t)),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},r(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();e.default=A,t.exports=e.default}}),Cr=u({"node_modules/postcss-selector-parser/dist/processor.js"(e,t){h(),e.__esModule=!0;var r=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),n=i(xr());function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t){return s(this,e),this.func=t||function(){},this}return e.prototype.process=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new n.default({css:e,error:function(e){throw new Error(e)},options:t});return this.res=r,this.func(r),this},r(e,[{key:"result",get:function(){return String(this.res)}}]),e}();e.default=o,t.exports=e.default}}),wr=u({"node_modules/postcss-selector-parser/dist/index.js"(e,t){h(),e.__esModule=!0;var r=v(Cr()),n=v(yr()),i=v(cr()),s=v(vr()),o=v(pr()),a=v(hr()),u=v(Dr()),l=v(mr()),c=v(ar()),p=v(ur()),d=v(fr()),f=v(dr()),m=v(gr()),y=g(sr());function g(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function v(e){return e&&e.__esModule?e:{default:e}}var D=function(e){return new r.default(e)};D.attribute=function(e){return new n.default(e)},D.className=function(e){return new i.default(e)},D.combinator=function(e){return new s.default(e)},D.comment=function(e){return new o.default(e)},D.id=function(e){return new a.default(e)},D.nesting=function(e){return new u.default(e)},D.pseudo=function(e){return new l.default(e)},D.root=function(e){return new c.default(e)},D.selector=function(e){return new p.default(e)},D.string=function(e){return new d.default(e)},D.tag=function(e){return new f.default(e)},D.universal=function(e){return new m.default(e)},Object.keys(y).forEach((function(e){"__esModule"!==e&&(D[e]=y[e])})),e.default=D,t.exports=e.default}}),Ar=u({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(e){function t(e){this.after=e.after,this.before=e.before,this.type=e.type,this.value=e.value,this.sourceIndex=e.sourceIndex}h(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t}}),Sr=u({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(e){h(),Object.defineProperty(e,"__esModule",{value:!0});var t=r(Ar());function r(e){return e&&e.__esModule?e:{default:e}}function n(e){var t=this;this.constructor(e),this.nodes=e.nodes,void 0===this.after&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),void 0===this.before&&(this.before=this.nodes.length>0?this.nodes[0].before:""),void 0===this.sourceIndex&&(this.sourceIndex=this.before.length),this.nodes.forEach((function(e){e.parent=t}))}n.prototype=Object.create(t.default.prototype),n.constructor=t.default,n.prototype.walk=function(e,t){for(var r="string"==typeof e||e instanceof RegExp,n=r?t:e,i="string"==typeof e?new RegExp(e):e,s=0;s<this.nodes.length;s++){var o=this.nodes[s];if((!r||i.test(o.type))&&n&&!1===n(o,s,this.nodes)||o.nodes&&!1===o.walk(e,t))return!1}return!0},n.prototype.each=function(){for(var e=arguments.length<=0||void 0===arguments[0]?function(){}:arguments[0],t=0;t<this.nodes.length;t++)if(!1===e(this.nodes[t],t,this.nodes))return!1;return!0},e.default=n}}),Tr=u({"node_modules/postcss-media-query-parser/dist/parsers.js"(e){h(),Object.defineProperty(e,"__esModule",{value:!0}),e.parseMediaFeature=i,e.parseMediaQuery=s,e.parseMediaList=o;var t=n(Ar()),r=n(Sr());function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=[{mode:"normal",character:null}],r=[],n=0,i="",s=null,o=null,a=arguments.length<=1||void 0===arguments[1]?0:arguments[1],u=e;"("===e[0]&&")"===e[e.length-1]&&(u=e.substring(1,e.length-1),a++);for(var l=0;l<u.length;l++){var c=u[l];if(("'"===c||'"'===c)&&(!0===t[n].isCalculationEnabled?(t.push({mode:"string",isCalculationEnabled:!1,character:c}),n++):"string"===t[n].mode&&t[n].character===c&&"\\"!==u[l-1]&&(t.pop(),n--)),"{"===c?(t.push({mode:"interpolation",isCalculationEnabled:!0}),n++):"}"===c&&(t.pop(),n--),"normal"===t[n].mode&&":"===c){var p=u.substring(l+1);(o={type:"value",before:/^(\s*)/.exec(p)[1],after:/(\s*)$/.exec(p)[1],value:p.trim()}).sourceIndex=o.before.length+l+1+a,s={type:"colon",sourceIndex:l+a,after:o.before,value:":"};break}i+=c}return(i={type:"media-feature",before:/^(\s*)/.exec(i)[1],after:/(\s*)$/.exec(i)[1],value:i.trim()}).sourceIndex=i.before.length+a,r.push(i),null!==s&&(s.before=i.after,r.push(s)),null!==o&&r.push(o),r}function s(e){var n=arguments.length<=1||void 0===arguments[1]?0:arguments[1],s=[],o=0,a=!1,u=void 0;function l(){return{before:"",after:"",value:""}}u=l();for(var c=0;c<e.length;c++){var p=e[c];a?(u.value+=p,("{"===p||"("===p)&&o++,(")"===p||"}"===p)&&o--):-1!==p.search(/\s/)?u.before+=p:("("===p&&(u.type="media-feature-expression",o++),u.value=p,u.sourceIndex=n+c,a=!0),a&&0===o&&(")"===p||c===e.length-1||-1!==e[c+1].search(/\s/))&&(-1!==["not","only","and"].indexOf(u.value)&&(u.type="keyword"),"media-feature-expression"===u.type&&(u.nodes=i(u.value,u.sourceIndex)),s.push(Array.isArray(u.nodes)?new r.default(u):new t.default(u)),u=l(),a=!1)}for(var h=0;h<s.length;h++)if(u=s[h],h>0&&(s[h-1].after=u.before),void 0===u.type){if(h>0){if("media-feature-expression"===s[h-1].type){u.type="keyword";continue}if("not"===s[h-1].value||"only"===s[h-1].value){u.type="media-type";continue}if("and"===s[h-1].value){u.type="media-feature-expression";continue}"media-type"===s[h-1].type&&(s[h+1]?u.type="media-feature-expression"===s[h+1].type?"keyword":"media-feature-expression":u.type="media-feature-expression")}if(0===h){if(!s[h+1]){u.type="media-type";continue}if(s[h+1]&&("media-feature-expression"===s[h+1].type||"keyword"===s[h+1].type)){u.type="media-type";continue}if(s[h+2]){if("media-feature-expression"===s[h+2].type){u.type="media-type",s[h+1].type="keyword";continue}if("keyword"===s[h+2].type){u.type="keyword",s[h+1].type="media-type";continue}}if(s[h+3]&&"media-feature-expression"===s[h+3].type){u.type="keyword",s[h+1].type="media-type",s[h+2].type="keyword";continue}}}return s}function o(e){var n=[],i=0,o=0,a=/^(\s*)url\s*\(/.exec(e);if(null!==a){for(var u=a[0].length,l=1;l>0;){var c=e[u];"("===c&&l++,")"===c&&l--,u++}n.unshift(new t.default({type:"url",value:e.substring(0,u).trim(),sourceIndex:a[1].length,before:a[1],after:/^(\s*)/.exec(e.substring(u))[1]})),i=u}for(var p=i;p<e.length;p++){var h=e[p];if("("===h&&o++,")"===h&&o--,0===o&&","===h){var d=e.substring(i,p),f=/^(\s*)/.exec(d)[1];n.push(new r.default({type:"media-query",value:d.trim(),sourceIndex:i+f.length,nodes:s(d,i),before:f,after:/(\s*)$/.exec(d)[1]})),i=p+1}}var m=e.substring(i),y=/^(\s*)/.exec(m)[1];return n.push(new r.default({type:"media-query",value:m.trim(),sourceIndex:i+y.length,nodes:s(m,i),before:y,after:/(\s*)$/.exec(m)[1]})),n}}}),Fr=u({"node_modules/postcss-media-query-parser/dist/index.js"(e){h(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=n(Sr()),r=Tr();function n(e){return e&&e.__esModule?e:{default:e}}function i(e){return new t.default({nodes:(0,r.parseMediaList)(e),type:"media-query-list",value:e.trim()})}}}),kr={};function Pr(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function Nr(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=Pr(Rr(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function _r(e){var t=Or(e),r="/"===Wr(e,-1);return!(e=Pr(Rr(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Or(e){return"/"===e.charAt(0)}function Ir(){return _r(Rr(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 Br(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=Nr(e).substr(1),t=Nr(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),o=s,a=0;a<s;a++)if(n[a]!==i[a]){o=a;break}var u=[];for(a=o;a<n.length;a++)u.push("..");return(u=u.concat(i.slice(o))).join("/")}function jr(e){var t=Vr(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function Lr(e,t){var r=Vr(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function Mr(e){return Vr(e)[3]}function Rr(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}l(kr,{basename:()=>Lr,default:()=>zr,delimiter:()=>qr,dirname:()=>jr,extname:()=>Mr,isAbsolute:()=>Or,join:()=>Ir,normalize:()=>_r,relative:()=>Br,resolve:()=>Nr,sep:()=>Ur});var $r,Vr,Ur,qr,zr,Wr,Gr=a({"node-modules-polyfills:path"(){h(),$r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Vr=function(e){return $r.exec(e).slice(1)},zr={extname:Mr,basename:Lr,dirname:jr,sep:Ur="/",delimiter:qr=":",relative:Br,join:Ir,isAbsolute:Or,normalize:_r,resolve:Nr},Wr=function(e,t,r){return e.substr(t,r)}}}),Hr=u({"node-modules-polyfills-commonjs:path"(e,t){h();var r=(Gr(),p(kr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Jr=u({"node_modules/picocolors/picocolors.browser.js"(e,t){h();var r=String,n=function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}};t.exports=n(),t.exports.createColors=n}}),Xr=u({"(disabled):node_modules/postcss/lib/terminal-highlight"(){h()}}),Qr=u({"node_modules/postcss/lib/css-syntax-error.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=i(Jr()),n=i(Xr());function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||!c(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)},a(e)}function u(e,t,r){return(u=l()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&p(i,r.prototype),i}).apply(null,arguments)}function l(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}}function c(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){function t(r,n,i,o,a,u){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),o&&(l.source=o),u&&(l.plugin=u),typeof n<"u"&&typeof i<"u"&&(l.line=n,l.column=i),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(s(l),t),l}o(t,e);var i=t.prototype;return i.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},i.showSourceCode=function(e){var t=this;if(!this.source)return"";var i=this.source;n.default&&(typeof e>"u"&&(e=r.default.isColorSupported),e&&(i=(0,n.default)(i)));var s=i.split(/\r?\n/),o=Math.max(this.line-3,0),a=Math.min(this.line+2,s.length),u=String(a).length;function l(t){return e&&r.default.red?r.default.red(r.default.bold(t)):t}function c(t){return e&&r.default.gray?r.default.gray(t):t}return s.slice(o,a).map((function(e,r){var n=o+1+r,i=" "+(" "+n).slice(-u)+" | ";if(n===t.line){var s=c(i.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return l(">")+c(i)+e+"\n "+s+l("^")}return" "+c(i)+e})).join("\n")},i.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(a(Error));e.default=f,t.exports=e.default}}),Kr=u({"node_modules/postcss/lib/previous-map.js"(e,t){h(),t.exports=class{}}}),Yr=u({"node_modules/postcss/lib/input.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=s(Hr()),n=s(Qr()),i=s(Kr());function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e}var u=0,l=function(){function e(e,t){if(void 0===t&&(t={}),null===e||typeof e>"u"||"object"==typeof e&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(/^\w+:\/\//.test(t.from)||r.default.isAbsolute(t.from)?this.file=t.from:this.file=r.default.resolve(t.from));var n=new i.default(this.css,t);if(n.text){this.map=n;var s=n.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}this.file||(u+=1,this.id="<input css "+u+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,i){void 0===i&&(i={});var s,o=this.origin(t,r);return(s=o?new n.default(e,o.line,o.column,o.source,o.file,i.plugin):new n.default(e,t,r,this.css,this.file,i.plugin)).input={line:t,column:r,source:this.css},this.file&&(s.input.file=this.file),s},t.origin=function(e,t){if(!this.map)return!1;var r=this.map.consumer(),n=r.originalPositionFor({line:e,column:t});if(!n.source)return!1;var i={file:this.mapResolve(n.source),line:n.line,column:n.column},s=r.sourceContentFor(n.source);return s&&(i.source=s),i},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:r.default.resolve(this.map.consumer().sourceRoot||".",e)},a(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();e.default=l,t.exports=e.default}}),Zr=u({"node_modules/postcss/lib/stringifier.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function n(e){return e[0].toUpperCase()+e.slice(1)}var i=function(){function e(e){this.builder=e}var t=e.prototype;return t.stringify=function(e,t){this[e.type](e,t)},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],s=this.raw(i,"before");s&&this.builder(s),this.stringify(i,t!==n||r)}},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.raw=function(e,t,i){var s;if(i||(i=t),t&&typeof(s=e.raws[t])<"u")return s;var o=e.parent;if("before"===i&&(!o||"root"===o.type&&o.first===e))return"";if(!o)return r[i];var a=e.root();if(a.rawCache||(a.rawCache={}),typeof a.rawCache[i]<"u")return a.rawCache[i];if("before"===i||"after"===i)return this.beforeAfter(e,i);var u="raw"+n(i);return this[u]?s=this[u](a,e):a.walk((function(e){if(typeof(s=e.raws[t])<"u")return!1})),typeof s>"u"&&(s=r[i]),a.rawCache[i]=s,s},t.rawSemicolon=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&typeof(t=e.raws.semicolon)<"u")return!1})),t},t.rawEmptyBody=function(e){var t;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&typeof(t=e.raws.after)<"u")return!1})),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk((function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof r.raws.before<"u"){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/[^\s]/g,""),!1}})),t);var t},t.rawBeforeComment=function(e,t){var r;return e.walkComments((function(e){if(typeof e.raws.before<"u")return-1!==(r=e.raws.before).indexOf("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),typeof r>"u"?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/[^\s]/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls((function(e){if(typeof e.raws.before<"u")return-1!==(r=e.raws.before).indexOf("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),typeof r>"u"?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/[^\s]/g,"")),r},t.rawBeforeRule=function(e){var t;return e.walk((function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return-1!==(t=r.raws.before).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},t.rawBeforeClose=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&typeof e.raws.after<"u")return-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},t.rawBeforeOpen=function(e){var t;return e.walk((function(e){if("decl"!==e.type&&typeof(t=e.raws.between)<"u")return!1})),t},t.rawColon=function(e){var t;return e.walkDecls((function(e){if(typeof e.raws.between<"u")return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(-1!==r.indexOf("\n")){var s=this.raw(e,null,"indent");if(s.length)for(var o=0;o<i;o++)r+=s}return r},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},e}();e.default=i,t.exports=e.default}}),en=u({"node_modules/postcss/lib/stringify.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=n(Zr());function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){new r.default(t).stringify(e)}var s=i;e.default=s,t.exports=e.default}}),tn=u({"node_modules/postcss/lib/node.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=s(Qr()),n=s(Zr()),i=s(en());function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r=new e.constructor;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],s=typeof i;"parent"===n&&"object"===s?t&&(r[n]=t):"source"===n?r[n]=i:i instanceof Array?r[n]=i.map((function(e){return o(e,r)})):("object"===s&&null!==i&&(i=o(i)),r[n]=i)}return r}var a=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},e)this[t]=e[t]}var t=e.prototype;return t.error=function(e,t){if(void 0===t&&(t={}),this.source){var n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new r.default(e)},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.toString=function(e){void 0===e&&(e=i.default),e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},t.clone=function(e){void 0===e&&(e={});var t=o(this);for(var r in e)t[r]=e[r];return t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.replaceWith=function(){if(this.parent){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=0,i=t;n<i.length;n++){var s=i[n];this.parent.insertBefore(this,s)}this.remove()}return this},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.before=function(e){return this.parent.insertBefore(this,e),this},t.after=function(e){return this.parent.insertAfter(this,e),this},t.toJSON=function(){var e={};for(var t in this)if(this.hasOwnProperty(t)&&"parent"!==t){var r=this[t];r instanceof Array?e[t]=r.map((function(e){return"object"==typeof e&&e.toJSON?e.toJSON():e})):"object"==typeof r&&r.toJSON?e[t]=r.toJSON():e[t]=r}return e},t.raw=function(e,t){return(new n.default).raw(this,e,t)},t.root=function(){for(var e=this;e.parent;)e=e.parent;return e},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.positionInside=function(e){for(var t=this.toString(),r=this.source.start.column,n=this.source.start.line,i=0;i<e;i++)"\n"===t[i]?(r=1,n+=1):r+=1;return{line:n,column:r}},t.positionBy=function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t},e}(),u=a;e.default=u,t.exports=e.default}}),rn=u({"node_modules/postcss/lib/comment.js"(e,t){function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h(),e.__esModule=!0,e.default=void 0;var i=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return n(t,e),t}(r(tn()).default);e.default=i,t.exports=e.default}}),nn=u({"node_modules/postcss/lib/declaration.js"(e,t){function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h(),e.__esModule=!0,e.default=void 0;var i=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="decl",r}return n(t,e),t}(r(tn()).default);e.default=i,t.exports=e.default}}),sn=u({"node_modules/postcss/lib/tokenize.js"(e,t){h(),e.__esModule=!0,e.default=S;var r="'".charCodeAt(0),n='"'.charCodeAt(0),i="\\".charCodeAt(0),s="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),u="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),p="[".charCodeAt(0),d="]".charCodeAt(0),f="(".charCodeAt(0),m=")".charCodeAt(0),y="{".charCodeAt(0),g="}".charCodeAt(0),v=";".charCodeAt(0),D="*".charCodeAt(0),b=":".charCodeAt(0),E="@".charCodeAt(0),x=/[ \n\t\r\f{}()'"\\;/[\]#]/g,C=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,w=/.[\\/("'\n]/,A=/[a-f0-9]/i;function S(e,t){void 0===t&&(t={});var h,S,T,F,k,P,N,_,O,I,B,j,L,M,R=e.css.valueOf(),$=t.ignoreErrors,V=R.length,U=-1,q=1,z=0,W=[],G=[];function H(){return z}function J(t){throw e.error("Unclosed "+t,q,z-U)}function X(){return 0===G.length&&z>=V}function Q(e){if(G.length)return G.pop();if(!(z>=V)){var t=!!e&&e.ignoreUnclosed;switch(((h=R.charCodeAt(z))===o||h===u||h===c&&R.charCodeAt(z+1)!==o)&&(U=z,q+=1),h){case o:case a:case l:case c:case u:S=z;do{S+=1,(h=R.charCodeAt(S))===o&&(U=S,q+=1)}while(h===a||h===o||h===l||h===c||h===u);M=["space",R.slice(z,S)],z=S-1;break;case p:case d:case y:case g:case b:case v:case m:var H=String.fromCharCode(h);M=[H,H,q,z-U];break;case f:if(j=W.length?W.pop()[1]:"",L=R.charCodeAt(z+1),"url"===j&&L!==r&&L!==n&&L!==a&&L!==o&&L!==l&&L!==u&&L!==c){S=z;do{if(I=!1,-1===(S=R.indexOf(")",S+1))){if($||t){S=z;break}J("bracket")}for(B=S;R.charCodeAt(B-1)===i;)B-=1,I=!I}while(I);M=["brackets",R.slice(z,S+1),q,z-U,q,S-U],z=S}else S=R.indexOf(")",z+1),P=R.slice(z,S+1),-1===S||w.test(P)?M=["(","(",q,z-U]:(M=["brackets",P,q,z-U,q,S-U],z=S);break;case r:case n:T=h===r?"'":'"',S=z;do{if(I=!1,-1===(S=R.indexOf(T,S+1))){if($||t){S=z+1;break}J("string")}for(B=S;R.charCodeAt(B-1)===i;)B-=1,I=!I}while(I);P=R.slice(z,S+1),F=P.split("\n"),(k=F.length-1)>0?(_=q+k,O=S-F[k].length):(_=q,O=U),M=["string",R.slice(z,S+1),q,z-U,_,S-O],U=O,q=_,z=S;break;case E:x.lastIndex=z+1,x.test(R),S=0===x.lastIndex?R.length-1:x.lastIndex-2,M=["at-word",R.slice(z,S+1),q,z-U,q,S-U],z=S;break;case i:for(S=z,N=!0;R.charCodeAt(S+1)===i;)S+=1,N=!N;if(h=R.charCodeAt(S+1),N&&h!==s&&h!==a&&h!==o&&h!==l&&h!==c&&h!==u&&(S+=1,A.test(R.charAt(S)))){for(;A.test(R.charAt(S+1));)S+=1;R.charCodeAt(S+1)===a&&(S+=1)}M=["word",R.slice(z,S+1),q,z-U,q,S-U],z=S;break;default:h===s&&R.charCodeAt(z+1)===D?(0===(S=R.indexOf("*/",z+2)+1)&&($||t?S=R.length:J("comment")),P=R.slice(z,S+1),F=P.split("\n"),(k=F.length-1)>0?(_=q+k,O=S-F[k].length):(_=q,O=U),M=["comment",P,q,z-U,_,S-O],U=O,q=_,z=S):(C.lastIndex=z+1,C.test(R),S=0===C.lastIndex?R.length-1:C.lastIndex-2,M=["word",R.slice(z,S+1),q,z-U,q,S-U],W.push(M),z=S)}return z++,M}}function K(e){G.push(e)}return{back:K,nextToken:Q,endOfFile:X,position:H}}t.exports=e.default}}),on=u({"node_modules/postcss/lib/parse.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=i(vn()),n=i(Yr());function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var i=new n.default(e,t),s=new r.default(i);try{s.parse()}catch(o){throw o}return s.root}var o=s;e.default=o,t.exports=e.default}}),an=u({"node_modules/postcss/lib/list.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r={split:function(e,t,r){for(var n=[],i="",s=!1,o=0,a=!1,u=!1,l=0;l<e.length;l++){var c=e[l];a?u?u=!1:"\\"===c?u=!0:c===a&&(a=!1):'"'===c||"'"===c?a=c:"("===c?o+=1:")"===c?o>0&&(o-=1):0===o&&-1!==t.indexOf(c)&&(s=!0),s?(""!==i&&n.push(i.trim()),i="",s=!1):i+=c}return(r||""!==i)&&n.push(i.trim()),n},space:function(e){var t=[" ","\n","\t"];return r.split(e,t)},comma:function(e){return r.split(e,[","],!0)}},n=r;e.default=n,t.exports=e.default}}),un=u({"node_modules/postcss/lib/rule.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=i(ln()),n=i(an());function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var u=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return a(t,e),o(t,[{key:"selectors",get:function(){return n.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(r.default);e.default=u,t.exports=e.default}}),ln=u({"node_modules/postcss/lib/container.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=i(nn()),n=i(rn());function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function p(e){return e.map((function(e){return e.nodes&&(e.nodes=p(e.nodes)),delete e.source,e}))}var d=function(e){function t(){return e.apply(this,arguments)||this}c(t,e);var i=t.prototype;return i.push=function(e){return e.parent=this,this.nodes.push(e),this},i.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var r,n;this.indexes[t]<this.nodes.length&&(r=this.indexes[t],!1!==(n=e(this.nodes[r],r)));)this.indexes[t]+=1;return delete this.indexes[t],n}},i.walk=function(e){return this.each((function(t,r){var n;try{n=e(t,r)}catch(s){if(s.postcssNode=t,s.stack&&t.source&&/\n\s{4}at /.test(s.stack)){var i=t.source;s.stack=s.stack.replace(/\n\s{4}at /,"$&"+i.input.from+":"+i.start.line+":"+i.start.column+"$&")}throw s}return!1!==n&&t.walk&&(n=t.walk(e)),n}))},i.walkDecls=function(e,t){return t?e instanceof RegExp?this.walk((function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk((function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("decl"===e.type)return t(e,r)})))},i.walkRules=function(e,t){return t?e instanceof RegExp?this.walk((function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk((function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("rule"===e.type)return t(e,r)})))},i.walkAtRules=function(e,t){return t?e instanceof RegExp?this.walk((function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk((function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("atrule"===e.type)return t(e,r)})))},i.walkComments=function(e){return this.walk((function(t,r){if("comment"===t.type)return e(t,r)}))},i.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=0,i=t;n<i.length;n++)for(var o,a=i[n],u=s(this.normalize(a,this.last));!(o=u()).done;){var l=o.value;this.nodes.push(l)}return this},i.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=s(t=t.reverse());!(n=i()).done;){for(var o,a=n.value,u=this.normalize(a,this.first,"prepend").reverse(),l=s(u);!(o=l()).done;){var c=o.value;this.nodes.unshift(c)}for(var p in this.indexes)this.indexes[p]=this.indexes[p]+u.length}return this},i.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=s(this.nodes);!(r=n()).done;)r.value.cleanRaws(t)},i.insertBefore=function(e,t){for(var r,n=0===(e=this.index(e))&&"prepend",i=this.normalize(t,this.nodes[e],n).reverse(),o=s(i);!(r=o()).done;){var a=r.value;this.nodes.splice(e,0,a)}var u;for(var l in this.indexes)e<=(u=this.indexes[l])&&(this.indexes[l]=u+i.length);return this},i.insertAfter=function(e,t){e=this.index(e);for(var r,n=this.normalize(t,this.nodes[e]).reverse(),i=s(n);!(r=i()).done;){var o=r.value;this.nodes.splice(e+1,0,o)}var a;for(var u in this.indexes)e<(a=this.indexes[u])&&(this.indexes[u]=a+n.length);return this},i.removeChild=function(e){var t;for(var r in e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},i.removeAll=function(){for(var e,t=s(this.nodes);!(e=t()).done;)e.value.parent=void 0;return this.nodes=[],this},i.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls((function(n){t.props&&-1===t.props.indexOf(n.prop)||t.fast&&-1===n.value.indexOf(t.fast)||(n.value=n.value.replace(e,r))})),this},i.every=function(e){return this.nodes.every(e)},i.some=function(e){return this.nodes.some(e)},i.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},i.normalize=function(e,t){var i=this;if("string"==typeof e)e=p(on()(e).nodes);else if(Array.isArray(e))for(var o,a=s(e=e.slice(0));!(o=a()).done;){var u=o.value;u.parent&&u.parent.removeChild(u,"ignore")}else if("root"===e.type)for(var l,c=s(e=e.nodes.slice(0));!(l=c()).done;){var h=l.value;h.parent&&h.parent.removeChild(h,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new r.default(e)]}else if(e.selector)e=[new(un())(e)];else if(e.name)e=[new(cn())(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new n.default(e)]}return e.map((function(e){return e.parent&&e.parent.removeChild(e),typeof e.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=i,e}))},l(t,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),t}(i(tn()).default),f=d;e.default=f,t.exports=e.default}}),cn=u({"node_modules/postcss/lib/at-rule.js"(e,t){function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h(),e.__esModule=!0,e.default=void 0;var i=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}n(t,e);var r=t.prototype;return r.append=function(){var t;this.nodes||(this.nodes=[]);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.prototype.append).call.apply(t,[this].concat(n))},r.prepend=function(){var t;this.nodes||(this.nodes=[]);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.prototype.prepend).call.apply(t,[this].concat(n))},t}(r(ln()).default),s=i;e.default=s,t.exports=e.default}}),pn=u({"node_modules/postcss/lib/map-generator.js"(e,t){h(),t.exports=class{generate(){}}}}),hn=u({"node_modules/postcss/lib/warn-once.js"(e,t){h(),e.__esModule=!0,e.default=n;var r={};function n(e){r[e]||(r[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}t.exports=e.default}}),dn=u({"node_modules/postcss/lib/warning.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.positionBy(t);this.line=r.line,this.column=r.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();e.default=r,t.exports=e.default}}),fn=u({"node_modules/postcss/lib/result.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=n(dn());function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),e}var o=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new r.default(e,t);return this.messages.push(n),n},t.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},s(e,[{key:"content",get:function(){return this.css}}]),e}();e.default=o,t.exports=e.default}}),mn=u({"node_modules/postcss/lib/lazy-result.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=o(pn()),n=o(en()),i=(o(hn()),o(fn())),s=o(on());function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var r;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function d(e){return"object"==typeof e&&"function"==typeof e.then}var f=function(){function e(t,r,n){var o;if(this.stringified=!1,this.processed=!1,"object"==typeof r&&null!==r&&"root"===r.type)o=r;else if(r instanceof e||r instanceof i.default)o=r.root,r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=s.default;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{o=a(r,n)}catch(u){this.error=u}}this.result=new i.default(t,o,n)}var t=e.prototype;return t.warnings=function(){return this.sync().warnings()},t.toString=function(){return this.css},t.then=function(e,t){return this.async().then(e,t)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.handleError=function(e,t){try{this.error=e,"CssSyntaxError"!==e.name||e.plugin?t.postcssVersion:(e.plugin=t.postcssPlugin,e.setMessage())}catch(r){console&&console.error&&console.error(r)}},t.asyncTick=function(e,t){var r=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var n=this.processor.plugins[this.plugin],i=this.run(n);this.plugin+=1,d(i)?i.then((function(){r.asyncTick(e,t)})).catch((function(e){r.handleError(e,n),r.processed=!0,t(e)})):this.asyncTick(e,t)}catch(s){this.processed=!0,t(s)}},t.async=function(){var e=this;return this.processed?new Promise((function(t,r){e.error?r(e.error):t(e.stringify())})):(this.processing||(this.processing=new Promise((function(t,r){if(e.error)return r(e.error);e.plugin=0,e.asyncTick(t,r)})).then((function(){return e.processed=!0,e.stringify()}))),this.processing)},t.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var e,t=a(this.result.processor.plugins);!(e=t()).done;){var r=e.value;if(d(this.run(r)))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},t.run=function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}},t.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=n.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var i=new r.default(t,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result},p(e,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),e}();e.default=f,t.exports=e.default}}),yn=u({"node_modules/postcss/lib/processor.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=n(mn());function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function s(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"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)}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=function(){function e(e){void 0===e&&(e=[]),this.version="7.0.39",this.plugins=this.normalize(e)}var t=e.prototype;return t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t.process=function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){return void 0===t&&(t={}),0===this.plugins.length&&(t.parser,t.stringifier),new r.default(this,e,t)})),t.normalize=function(e){for(var t,r=[],n=i(e);!(t=n()).done;){var s=t.value;if(!0===s.postcss){var o=s();throw new Error("PostCSS plugin "+o.postcssPlugin+" requires PostCSS 8.\nMigration guide for end-users:\nhttps://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users")}if(s.postcss&&(s=s.postcss),"object"==typeof s&&Array.isArray(s.plugins))r=r.concat(s.plugins);else if("function"==typeof s)r.push(s);else if("object"!=typeof s||!s.parse&&!s.stringify)throw"object"==typeof s&&s.postcssPlugin?new Error("PostCSS plugin "+s.postcssPlugin+" requires PostCSS 8.\nMigration guide for end-users:\nhttps://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users"):new Error(s+" is not a PostCSS plugin")}return r},e}(),u=a;e.default=u,t.exports=e.default}}),gn=u({"node_modules/postcss/lib/root.js"(e,t){function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){var r;if(typeof Symbol>"u"||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function i(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h(),e.__esModule=!0,e.default=void 0;var a=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}o(t,e);var r=t.prototype;return r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.normalize=function(t,r,i){var s=e.prototype.normalize.call(this,t);if(r)if("prepend"===i)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,a=n(s);!(o=a()).done;)o.value.raws.before=r.raws.before;return s},r.toResult=function(e){return void 0===e&&(e={}),new(mn())(new(yn()),this,e).stringify()},t}(r(ln()).default);e.default=a,t.exports=e.default}}),vn=u({"node_modules/postcss/lib/parser.js"(e,t){h(),e.__esModule=!0,e.default=void 0;var r=u(nn()),n=u(sn()),i=u(rn()),s=u(cn()),o=u(gn()),a=u(un());function u(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(e){this.input=e,this.root=new o.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{line:1,column:1}}}var t=e.prototype;return t.createTokenizer=function(){this.tokenizer=(0,n.default)(this.input)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.comment=function(e){var t=new i.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.emptyRule=function(e){var t=new a.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,s=[],o=[],a=e;a;){if(r=a[0],o.push(a),"("===r||"["===r)i||(i=a),s.push("("===r?")":"]");else if(0===s.length){if(";"===r){if(n)return void this.decl(o);break}if("{"===r)return void this.rule(o);if("}"===r){this.tokenizer.back(o.pop()),t=!0;break}":"===r&&(n=!0)}else r===s[s.length-1]&&(s.pop(),0===s.length&&(i=null));a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(i),t&&n){for(;o.length&&("space"===(a=o[o.length-1][0])||"comment"===a);)this.tokenizer.back(o.pop());this.decl(o)}else this.unknownWord(o)},t.rule=function(e){e.pop();var t=new a.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.decl=function(e){var t=new r.default;this.init(t);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),i[4]?t.source.end={line:i[4],column:i[5]}:t.source.end={line:i[2],column:i[3]};"word"!==e[0][0];)1===e.length&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var s=e[0][0];if(":"===s||"space"===s||"comment"===s)break;t.prop+=e.shift()[1]}for(t.raws.between="";e.length;){if(":"===(n=e.shift())[0]){t.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),t.raws.between+=n[1]}("_"===t.prop[0]||"*"===t.prop[0])&&(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var o=e.length-1;o>0;o--){if("!important"===(n=e[o])[1].toLowerCase()){t.important=!0;var a=this.stringFrom(e,o);" !important"!==(a=this.spacesFromEnd(e)+a)&&(t.raws.important=a);break}if("important"===n[1].toLowerCase()){for(var u=e.slice(0),l="",c=o;c>0;c--){var p=u[c][0];if(0===l.trim().indexOf("!")&&"space"!==p)break;l=u.pop()[1]+l}0===l.trim().indexOf("!")&&(t.important=!0,t.raws.important=l,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},t.atrule=function(e){var t=new s.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var r,n,i=!1,o=!1,a=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){o=!0;break}if("}"===e[0]){if(a.length>0){for(r=a[n=a.length-1];r&&"space"===r[0];)r=a[--n];r&&(t.source.end={line:r[4],column:r[5]})}this.end(e);break}if(a.push(e),this.tokenizer.endOfFile()){i=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(t.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(t,"params",a),i&&(e=a[a.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),o&&(t.nodes=[],this.current=t)},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.init=function(e,t,r){this.current.push(e),e.source={start:{line:t,column:r},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.raw=function(e,t,r){for(var n,i,s,o,a=r.length,u="",l=!0,c=/^([.|#])?([\w])+/i,p=0;p<a;p+=1)"comment"!==(i=(n=r[p])[0])||"rule"!==e.type?"comment"===i||"space"===i&&p===a-1?l=!1:u+=n[1]:(o=r[p-1],s=r[p+1],"space"!==o[0]&&"space"!==s[0]&&c.test(o[1])&&c.test(s[1])?u+=n[1]:l=!1);if(!l){var h=r.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:u,raw:h}}e[t]=u},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.colon=function(e){for(var t,r,n,i=0,s=0;s<e.length;s++){if("("===(r=(t=e[s])[0])&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return s}this.doubleColon(t)}n=t}return!1},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",e[2],e[3])},t.unknownWord=function(e){throw this.input.error("Unknown word",e[0][2],e[0][3])},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",e[2],e[3])},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.doubleColon=function(e){throw this.input.error("Double colon",e[2],e[3])},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",t[2],t[3])},t.precheckMissedSemicolon=function(){},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon",r[2],r[3])}},e}();e.default=l,t.exports=e.default}}),Dn=u({"node_modules/postcss-less/lib/nodes/inline-comment.js"(e,t){h();var r=sn(),n=Yr();t.exports={isInlineComment(e){if("word"===e[0]&&"//"===e[1].slice(0,2)){let t,i=e,s=[];for(;e;){if(/\r?\n/.test(e[1])){if(/['"].*\r?\n/.test(e[1])){s.push(e[1].substring(0,e[1].indexOf("\n")));let t=e[1].substring(e[1].indexOf("\n"));t+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new n(t),this.tokenizer=r(this.input)}else this.tokenizer.back(e);break}s.push(e[1]),t=e,e=this.tokenizer.nextToken({ignoreUnclosed:!0})}let o=["comment",s.join(""),i[2],i[3],t[2],t[3]];return this.inlineComment(o),!0}if("/"===e[1]){let r=this.tokenizer.nextToken({ignoreUnclosed:!0});if("comment"===r[0]&&/^\/\*/.test(r[1]))return r[0]="word",r[1]=r[1].slice(1),e[1]="//",this.tokenizer.back(r),t.exports.isInlineComment.bind(this)(e)}return!1}}}}),bn=u({"node_modules/postcss-less/lib/nodes/interpolation.js"(e,t){h(),t.exports={interpolation(e){let t=e,r=[e],n=["word","{","}"];if(e=this.tokenizer.nextToken(),t[1].length>1||"{"!==e[0])return this.tokenizer.back(e),!1;for(;e&&n.includes(e[0]);)r.push(e),e=this.tokenizer.nextToken();let i=r.map((e=>e[1]));[t]=r;let s=r.pop(),o=[t[2],t[3]],a=[s[4]||s[2],s[5]||s[3]],u=["word",i.join("")].concat(o,a);return this.tokenizer.back(e),this.tokenizer.back(u),!0}}}}),En=u({"node_modules/postcss-less/lib/nodes/mixin.js"(e,t){h();var r=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,n=/\.[0-9]/,i=e=>{let[,t]=e,[i]=t;return("."===i||"#"===i)&&!1===r.test(t)&&!1===n.test(t)};t.exports={isMixinToken:i}}}),xn=u({"node_modules/postcss-less/lib/nodes/import.js"(e,t){h();var r=sn(),n=/^url\((.+)\)/;t.exports=e=>{let{name:t,params:i=""}=e;if("import"===t&&i.length){e.import=!0;let t=r({css:i});for(e.filename=i.replace(n,"$1");!t.endOfFile();){let[r,n]=t.nextToken();if("word"===r&&"url"===n)return;if("brackets"===r){e.options=n,e.filename=i.replace(n,"").trim();break}}}}}}),Cn=u({"node_modules/postcss-less/lib/nodes/variable.js"(e,t){h();var r=/:$/,n=/^:(\s+)?/;t.exports=e=>{let{name:t,params:i=""}=e;if(":"===e.name.slice(-1)){if(r.test(t)){let[n]=t.match(r);e.name=t.replace(n,""),e.raws.afterName=n+(e.raws.afterName||""),e.variable=!0,e.value=e.params}if(n.test(i)){let[t]=i.match(n);e.value=i.replace(t,""),e.raws.afterName=(e.raws.afterName||"")+t,e.variable=!0}}}}}),wn=u({"node_modules/postcss-less/lib/LessParser.js"(e,t){h();var r=rn(),n=vn(),{isInlineComment:i}=Dn(),{interpolation:s}=bn(),{isMixinToken:o}=En(),a=xn(),u=Cn(),l=/(!\s*important)$/i;t.exports=class extends n{constructor(){super(...arguments),this.lastNode=null}atrule(e){s.bind(this)(e)||(super.atrule(e),a(this.lastNode),u(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let t=e.findIndex((e=>"("===e[0])),r=e.reverse().find((e=>")"===e[0])),n=e.reverse().indexOf(r),i=e.splice(t,n).map((e=>e[1])).join("");for(let s of e.reverse())this.tokenizer.back(s);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=i}init(e,t,r){super.init(e,t,r),this.lastNode=e}inlineComment(e){let t=new r,n=e[1].slice(2);if(this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]},t.inline=!0,t.raws.begin="//",/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*[^\s])(\s*)$/);[,t.raws.left,t.text,t.raws.right]=e}}mixin(e){let[t]=e,r=t[1].slice(0,1),n=e.findIndex((e=>"brackets"===e[0])),i=e.findIndex((e=>"("===e[0])),s="";if((n<0||n>3)&&i>0){let t=e.reduce(((e,t,r)=>")"===t[0]?r:e)),r=e.slice(i,t+i).map((e=>e[1])).join(""),[n]=e.slice(i),s=[n[2],n[3]],[o]=e.slice(t,t+1),a=[o[2],o[3]],u=["brackets",r].concat(s,a),l=e.slice(0,i),c=e.slice(t+1);(e=l).push(u),e=e.concat(c)}let o=[];for(let u of e)if(("!"===u[1]||o.length)&&o.push(u),"important"===u[1])break;if(o.length){let[t]=o,r=e.indexOf(t),n=o[o.length-1],i=[t[2],t[3]],s=[n[4],n[5]],a=["word",o.map((e=>e[1])).join("")].concat(i,s);e.splice(r,o.length,a)}let a=e.findIndex((e=>l.test(e[1])));a>0&&([,s]=e[a],e.splice(a,1));for(let u of e.reverse())this.tokenizer.back(u);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,s&&(this.lastNode.important=!0,this.lastNode.raws.important=s)}other(e){i.bind(this)(e)||super.other(e)}rule(e){let t=e[e.length-1],r=e[e.length-2];if("at-word"===r[0]&&"{"===t[0]&&(this.tokenizer.back(t),s.bind(this)(r))){let t=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([t]);for(let r of e.reverse())this.tokenizer.back(r)}else super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[t]=e;"each"!==e[0][1]||"("!==e[1][0]?o(t)?this.mixin(e):super.unknownWord(e):this.each(e)}}}}),An=u({"node_modules/postcss-less/lib/LessStringifier.js"(e,t){h();var r=Zr();t.exports=class extends r{atrule(e,t){if(!e.mixin&&!e.variable&&!e.function)return void super.atrule(e,t);let r=`${e.function?"":e.raws.identifier||"@"}${e.name}`,n=e.params?this.rawValue(e,"params"):"",i=e.raws.important||"";if(e.variable&&(n=e.value),typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n+i);else{let s=(e.raws.between||"")+i+(t?";":"");this.builder(r+n+s,e)}}comment(e){if(e.inline){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${t}${e.text}${r}`,e)}else super.comment(e)}}}}),Sn=u({"node_modules/postcss-less/lib/index.js"(e,t){h();var r=Yr(),n=wn(),i=An();t.exports={parse(e,t){let i=new r(e,t),s=new n(i);return s.parse(),s.root},stringify(e,t){new i(t).stringify(e)},nodeToString(e){let r="";return t.exports.stringify(e,(e=>{r+=e})),r}}}}),Tn=u({"node_modules/postcss-scss/lib/scss-stringifier.js"(e,t){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h();var n=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");if(e.raws.inline){var n=e.raws.text||e.text;this.builder("//"+t+n+r,e)}else this.builder("/*"+t+e.text+r+"*/",e)},n.decl=function(t,r){if(t.isNested){var n,i=this.raw(t,"between","colon"),s=t.prop+i+this.rawValue(t,"value");t.important&&(s+=t.raws.important||" !important"),this.builder(s+"{",t,"start"),t.nodes&&t.nodes.length?(this.body(t),n=this.raw(t,"after")):n=this.raw(t,"after","emptyBody"),n&&this.builder(n),this.builder("}",t,"end")}else e.prototype.decl.call(this,t,r)},n.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.scss?n.scss:n.raw:r},t}(Zr());t.exports=n}}),Fn=u({"node_modules/postcss-scss/lib/scss-stringify.js"(e,t){h();var r=Tn();t.exports=function(e,t){new r(t).stringify(e)}}}),kn=u({"node_modules/postcss-scss/lib/nested-declaration.js"(e,t){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h();var n=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="decl",r.isNested=!0,r.nodes||(r.nodes=[]),r}return r(t,e),t}(ln());t.exports=n}}),Pn=u({"node_modules/postcss-scss/lib/scss-tokenize.js"(e,t){h();var r="'".charCodeAt(0),n='"'.charCodeAt(0),i="\\".charCodeAt(0),s="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),u="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),p="[".charCodeAt(0),d="]".charCodeAt(0),f="(".charCodeAt(0),m=")".charCodeAt(0),y="{".charCodeAt(0),g="}".charCodeAt(0),v=";".charCodeAt(0),D="*".charCodeAt(0),b=":".charCodeAt(0),E="@".charCodeAt(0),x=",".charCodeAt(0),C="#".charCodeAt(0),w=/[ \n\t\r\f{}()'"\\;/[\]#]/g,A=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,S=/.[\\/("'\n]/,T=/[a-f0-9]/i,F=/[\r\f\n]/g;t.exports=function(e,t){void 0===t&&(t={});var h,k,P,N,_,O,I,B,j,L,M,R,$,V,U=e.css.valueOf(),q=t.ignoreErrors,z=U.length,W=-1,G=1,H=0,J=[],X=[];function Q(t){throw e.error("Unclosed "+t,G,H-W)}function K(){return 0===X.length&&H>=z}function Y(){for(var e=1,t=!1,s=!1;e>0;)k+=1,U.length<=k&&Q("interpolation"),h=U.charCodeAt(k),R=U.charCodeAt(k+1),t?s||h!==t?h===i?s=!L:s&&(s=!1):(t=!1,s=!1):h===r||h===n?t=h:h===g?e-=1:h===C&&R===y&&(e+=1)}function Z(){if(X.length)return X.pop();if(!(H>=z)){switch(((h=U.charCodeAt(H))===o||h===u||h===c&&U.charCodeAt(H+1)!==o)&&(W=H,G+=1),h){case o:case a:case l:case c:case u:k=H;do{k+=1,(h=U.charCodeAt(k))===o&&(W=k,G+=1)}while(h===a||h===o||h===l||h===c||h===u);$=["space",U.slice(H,k)],H=k-1;break;case p:$=["[","[",G,H-W];break;case d:$=["]","]",G,H-W];break;case y:$=["{","{",G,H-W];break;case g:$=["}","}",G,H-W];break;case x:$=["word",",",G,H-W,G,H-W+1];break;case b:$=[":",":",G,H-W];break;case v:$=[";",";",G,H-W];break;case f:if(M=J.length?J.pop()[1]:"",R=U.charCodeAt(H+1),"url"===M&&R!==r&&R!==n){for(V=1,L=!1,k=H+1;k<=U.length-1;){if((R=U.charCodeAt(k))===i)L=!L;else if(R===f)V+=1;else if(R===m&&0===(V-=1))break;k+=1}O=U.slice(H,k+1),N=O.split("\n"),(_=N.length-1)>0?(B=G+_,j=k-N[_].length):(B=G,j=W),$=["brackets",O,G,H-W,B,k-j],W=j,G=B,H=k}else k=U.indexOf(")",H+1),O=U.slice(H,k+1),-1===k||S.test(O)?$=["(","(",G,H-W]:($=["brackets",O,G,H-W,G,k-W],H=k);break;case m:$=[")",")",G,H-W];break;case r:case n:for(P=h,k=H,L=!1;k<z&&(++k===z&&Q("string"),h=U.charCodeAt(k),R=U.charCodeAt(k+1),L||h!==P);)h===i?L=!L:L?L=!1:h===C&&R===y&&Y();O=U.slice(H,k+1),N=O.split("\n"),(_=N.length-1)>0?(B=G+_,j=k-N[_].length):(B=G,j=W),$=["string",U.slice(H,k+1),G,H-W,B,k-j],W=j,G=B,H=k;break;case E:w.lastIndex=H+1,w.test(U),k=0===w.lastIndex?U.length-1:w.lastIndex-2,$=["at-word",U.slice(H,k+1),G,H-W,G,k-W],H=k;break;case i:for(k=H,I=!0;U.charCodeAt(k+1)===i;)k+=1,I=!I;if(h=U.charCodeAt(k+1),I&&h!==s&&h!==a&&h!==o&&h!==l&&h!==c&&h!==u&&(k+=1,T.test(U.charAt(k)))){for(;T.test(U.charAt(k+1));)k+=1;U.charCodeAt(k+1)===a&&(k+=1)}$=["word",U.slice(H,k+1),G,H-W,G,k-W],H=k;break;default:R=U.charCodeAt(H+1),h===C&&R===y?(k=H,Y(),O=U.slice(H,k+1),N=O.split("\n"),(_=N.length-1)>0?(B=G+_,j=k-N[_].length):(B=G,j=W),$=["word",O,G,H-W,B,k-j],W=j,G=B,H=k):h===s&&R===D?(0===(k=U.indexOf("*/",H+2)+1)&&(q?k=U.length:Q("comment")),O=U.slice(H,k+1),N=O.split("\n"),(_=N.length-1)>0?(B=G+_,j=k-N[_].length):(B=G,j=W),$=["comment",O,G,H-W,B,k-j],W=j,G=B,H=k):h===s&&R===s?(F.lastIndex=H+1,F.test(U),k=0===F.lastIndex?U.length-1:F.lastIndex-2,O=U.slice(H,k+1),$=["comment",O,G,H-W,G,k-W,"inline"],H=k):(A.lastIndex=H+1,A.test(U),k=0===A.lastIndex?U.length-1:A.lastIndex-2,$=["word",U.slice(H,k+1),G,H-W,G,k-W],J.push($),H=k)}return H++,$}}function ee(e){X.push(e)}return{back:ee,nextToken:Z,endOfFile:K}}}}),Nn=u({"node_modules/postcss-scss/lib/scss-parser.js"(e,t){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}h();var n=rn(),i=vn(),s=kn(),o=Pn(),a=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var i=t.prototype;return i.createTokenizer=function(){this.tokenizer=o(this.input)},i.rule=function(t){var r=!1,n=0,i="",o=t,a=Array.isArray(o),u=0;for(o=a?o:o[Symbol.iterator]();;){var l;if(a){if(u>=o.length)break;l=o[u++]}else{if((u=o.next()).done)break;l=u.value}var c=l;if(r)"comment"!==c[0]&&"{"!==c[0]&&(i+=c[1]);else{if("space"===c[0]&&-1!==c[1].indexOf("\n"))break;"("===c[0]?n+=1:")"===c[0]?n-=1:0===n&&":"===c[0]&&(r=!0)}}if(!r||""===i.trim()||/^[a-zA-Z-:#]/.test(i))e.prototype.rule.call(this,t);else{t.pop();var p=new s;this.init(p);var h,d=t[t.length-1];for(d[4]?p.source.end={line:d[4],column:d[5]}:p.source.end={line:d[2],column:d[3]};"word"!==t[0][0];)p.raws.before+=t.shift()[1];for(p.source.start={line:t[0][2],column:t[0][3]},p.prop="";t.length;){var f=t[0][0];if(":"===f||"space"===f||"comment"===f)break;p.prop+=t.shift()[1]}for(p.raws.between="";t.length;){if(":"===(h=t.shift())[0]){p.raws.between+=h[1];break}p.raws.between+=h[1]}("_"===p.prop[0]||"*"===p.prop[0])&&(p.raws.before+=p.prop[0],p.prop=p.prop.slice(1)),p.raws.between+=this.spacesAndCommentsFromStart(t),this.precheckMissedSemicolon(t);for(var m=t.length-1;m>0;m--){if("!important"===(h=t[m])[1]){p.important=!0;var y=this.stringFrom(t,m);" !important"!==(y=this.spacesFromEnd(t)+y)&&(p.raws.important=y);break}if("important"===h[1]){for(var g=t.slice(0),v="",D=m;D>0;D--){var b=g[D][0];if(0===v.trim().indexOf("!")&&"space"!==b)break;v=g.pop()[1]+v}0===v.trim().indexOf("!")&&(p.important=!0,p.raws.important=v,t=g)}if("space"!==h[0]&&"comment"!==h[0])break}this.raw(p,"value",t),-1!==p.value.indexOf(":")&&this.checkMissedSemicolon(t),this.current=p}},i.comment=function(t){if("inline"===t[6]){var r=new n;this.init(r,t[2],t[3]),r.raws.inline=!0,r.source.end={line:t[4],column:t[5]};var i=t[1].slice(2);if(/^\s*$/.test(i))r.text="",r.raws.left=i,r.raws.right="";else{var s=i.match(/^(\s*)([^]*[^\s])(\s*)$/),o=s[2].replace(/(\*\/|\/\*)/g,"*//*");r.text=o,r.raws.left=s[1],r.raws.right=s[3],r.raws.text=s[2]}}else e.prototype.comment.call(this,t)},i.raw=function(t,r,n){if(e.prototype.raw.call(this,t,r,n),t.raws[r]){var i=t.raws[r].raw;t.raws[r].raw=n.reduce((function(e,t){return"comment"===t[0]&&"inline"===t[6]?e+"/*"+t[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*")+"*/":e+t[1]}),""),i!==t.raws[r].raw&&(t.raws[r].scss=i)}},t}(i);t.exports=a}}),_n=u({"node_modules/postcss-scss/lib/scss-parse.js"(e,t){h();var r=Yr(),n=Nn();t.exports=function(e,t){var i=new r(e,t),s=new n(i);return s.parse(),s.root}}}),On=u({"node_modules/postcss-scss/lib/scss-syntax.js"(e,t){h();var r=Fn(),n=_n();t.exports={parse:n,stringify:r}}});h();var In=d(),Bn=f(),jn=m(),{hasPragma:Ln}=U(),{locStart:Mn,locEnd:Rn}=W(),{calculateLoc:$n,replaceQuotesInInlineComments:Vn}=W(),Un=H(),qn=J(),zn=X(),Wn=Q(),Gn=K(),Hn=Y(),Jn=Z(),Xn=ee(),Qn=e=>{for(;e.parent;)e=e.parent;return e};function Kn(e,t){let{nodes:r}=e,n={open:null,close:null,groups:[],type:"paren_group"},i=[n],s=n,o={groups:[],type:"comma_group"},a=[o];for(let u=0;u<r.length;++u){let s=r[u];if(Wn(t.parser,s.value)&&"number"===s.type&&".."===s.unit&&"."===Bn(s.value)&&(s.value=s.value.slice(0,-1),s.unit="..."),"func"===s.type&&"selector"===s.value&&(s.group.groups=[ni(Qn(e).text.slice(s.group.open.sourceIndex+1,s.group.close.sourceIndex))]),"func"===s.type&&"url"===s.value){let e=s.group&&s.group.groups||[],t=[];for(let r=0;r<e.length;r++){let n=e[r];"comma_group"===n.type?t=[...t,...n.groups]:t.push(n)}if(Un(t)||!qn(t)&&!Hn(t[0])){let e=Jn({groups:s.group.groups});s.group.groups=[e.trim()]}}if("paren"===s.type&&"("===s.value)n={open:s,close:null,groups:[],type:"paren_group"},i.push(n),o={groups:[],type:"comma_group"},a.push(o);else if("paren"===s.type&&")"===s.value){if(o.groups.length>0&&n.groups.push(o),n.close=s,1===a.length)throw new Error("Unbalanced parenthesis");a.pop(),o=Bn(a),o.groups.push(n),i.pop(),n=Bn(i)}else"comma"===s.type?(n.groups.push(o),o={groups:[],type:"comma_group"},a[a.length-1]=o):o.groups.push(s)}return o.groups.length>0&&n.groups.push(o),s}function Yn(e){return"paren_group"===e.type&&!e.open&&!e.close&&1===e.groups.length||"comma_group"===e.type&&1===e.groups.length?Yn(e.groups[0]):"paren_group"===e.type||"comma_group"===e.type?Object.assign(Object.assign({},e),{},{groups:e.groups.map(Yn)}):e}function Zn(e,t,r){if(e&&"object"==typeof e){delete e.parent;for(let n in e)Zn(e[n],t,r),"type"===n&&"string"==typeof e[n]&&!e[n].startsWith(t)&&(!r||!r.test(e[n]))&&(e[n]=t+e[n])}return e}function ei(e){if(e&&"object"==typeof e){delete e.parent;for(let t in e)ei(e[t]);!Array.isArray(e)&&e.value&&!e.type&&(e.type="unknown")}return e}function ti(e,t){if(e&&"object"==typeof e){for(let r in e)"parent"!==r&&(ti(e[r],t),"nodes"===r&&(e.group=Yn(Kn(e,t)),delete e[r]));delete e.parent}return e}function ri(e,t){let r=nr(),n=null;try{n=r(e,{loose:!0}).parse()}catch{return{type:"value-unknown",value:e}}return n.text=e,Zn(ti(n,t),"value-",/^selector-/)}function ni(e){if(/\/\/|\/\*/.test(e))return{type:"selector-unknown",value:e.trim()};let t=wr(),r=null;try{t((e=>{r=e})).process(e)}catch{return{type:"selector-unknown",value:e}}return Zn(r,"selector-")}function ii(e){let t=Fr().default,r=null;try{r=t(e)}catch{return{type:"selector-unknown",value:e}}return Zn(ei(r),"media-")}var si=/(\s*)(!default).*$/,oi=/(\s*)(!global).*$/;function ai(e,t){if(e&&"object"==typeof e){delete e.parent;for(let r in e)ai(e[r],t);if(!e.type)return e;e.raws||(e.raws={});let s="";var r;"string"==typeof e.selector&&(s=e.raws.selector?null!==(r=e.raws.selector.scss)&&void 0!==r?r:e.raws.selector.raw:e.selector,e.raws.between&&e.raws.between.trim().length>0&&(s+=e.raws.between),e.raws.selector=s);let o="";var n;"string"==typeof e.value&&(o=e.raws.value?null!==(n=e.raws.value.scss)&&void 0!==n?n:e.raws.value.raw:e.value,o=o.trim(),e.raws.value=o);let a="";var i;if("string"==typeof e.params&&(a=e.raws.params?null!==(i=e.raws.params.scss)&&void 0!==i?i:e.raws.params.raw:e.params,e.raws.afterName&&e.raws.afterName.trim().length>0&&(a=e.raws.afterName+a),e.raws.between&&e.raws.between.trim().length>0&&(a+=e.raws.between),a=a.trim(),e.raws.params=a),s.trim().length>0)return s.startsWith("@")&&s.endsWith(":")?e:e.mixin?(e.selector=ri(s,t),e):(Gn(e)&&(e.isSCSSNesterProperty=!0),e.selector=ni(s),e);if(o.length>0){let r=o.match(si);r&&(o=o.slice(0,r.index),e.scssDefault=!0,"!default"!==r[0].trim()&&(e.raws.scssDefault=r[0]));let n=o.match(oi);if(n&&(o=o.slice(0,n.index),e.scssGlobal=!0,"!global"!==n[0].trim()&&(e.raws.scssGlobal=n[0])),o.startsWith("progid:"))return{type:"value-unknown",value:o};e.value=ri(o,t)}if(zn(t)&&"css-decl"===e.type&&o.startsWith("extend(")&&(e.extend||(e.extend=":"===e.raws.between),e.extend&&!e.selector&&(delete e.value,e.selector=ni(o.slice(7,-1)))),"css-atrule"===e.type){if(zn(t)){if(e.mixin){let t=e.raws.identifier+e.name+e.raws.afterName+e.raws.params;return e.selector=ni(t),delete e.params,e}if(e.function)return e}if("css"===t.parser&&"custom-selector"===e.name){let t=e.params.match(/:--\S+\s+/)[0].trim();return e.customSelector=t,e.selector=ni(e.params.slice(t.length).trim()),delete e.params,e}if(zn(t)){if(e.name.includes(":")&&!e.params){e.variable=!0;let r=e.name.split(":");e.name=r[0],e.value=ri(r.slice(1).join(":"),t)}if(!["page","nest","keyframes"].includes(e.name)&&e.params&&":"===e.params[0]){e.variable=!0;let r=e.params.slice(1);r&&(e.value=ri(r,t)),e.raws.afterName+=":"}if(e.variable)return delete e.params,e.value||delete e.value,e}}if("css-atrule"===e.type&&a.length>0){let{name:r}=e,n=e.name.toLowerCase();return"warn"===r||"error"===r?(e.params={type:"media-unknown",value:a},e):"extend"===r||"nest"===r?(e.selector=ni(a),delete e.params,e):"at-root"===r?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(a)?e.params=ri(a,t):(e.selector=ni(a),delete e.params),e):Xn(n)?(e.import=!0,delete e.filename,e.params=ri(a,t),e):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(r)?(a=a.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),a=a.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),e.value=ri(a,t),delete e.params,e):["media","custom-media"].includes(n)?a.includes("#{")?{type:"media-unknown",value:a}:(e.params=ii(a),e):(e.params=a,e)}}return e}function ui(e,t,r){let n,i=jn(t),{frontMatter:s}=i;t=i.content;try{n=e(t)}catch(o){let{name:e,reason:t,line:r,column:n}=o;throw"number"!=typeof r?o:In(`${e}: ${t}`,{start:{line:r,column:n}})}return n=ai(Zn(n,"css-"),r),$n(n,t),s&&(s.source={startOffset:0,endOffset:s.raw.length},n.nodes.unshift(s)),n}function li(e,t){let r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Wn(n.parser,e)?[pi,ci]:[ci,pi];for(let o of i)try{return o(e,t,n)}catch(s){r=r||s}if(r)throw r}function ci(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Sn();return ui((e=>n.parse(Vn(e))),e,r)}function pi(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{parse:n}=On();return ui(n,e,r)}var hi={astFormat:"postcss",hasPragma:Ln,locStart:Mn,locEnd:Rn};t.exports={parsers:{css:Object.assign(Object.assign({},hi),{},{parse:li}),less:Object.assign(Object.assign({},hi),{},{parse:ci}),scss:Object.assign(Object.assign({},hi),{},{parse:pi})}}}));return ge()}()},3945:function(e,t,r){var n,i,s;e.exports=function(){"use strict";var o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),a=o(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),u=o(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),l=o(((e,t)=>{var r=u();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),c=o(((e,t)=>{var r=u();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),p=o(((e,t)=>{var r=c(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),h=o((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),d=o(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),f=o(((e,t)=>{var r=c(),n=Function.prototype,i=n.call,s=r&&n.bind.bind(i,i);t.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}})),m=o(((e,t)=>{var r=f(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),y=o(((e,t)=>{var r=f(),n=u(),i=m(),s=Object,o=r("".split);t.exports=n((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o(e,""):s(e)}:s})),g=o(((e,t)=>{t.exports=function(e){return null==e}})),v=o(((e,t)=>{var r=g(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),D=o(((e,t)=>{var r=y(),n=v();t.exports=function(e){return r(n(e))}})),b=o(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),E=o(((e,t)=>{var r=b(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),x=o(((e,t)=>{var r=E(),n=b(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),C=o(((e,t)=>{var r=a(),n=E(),i=function(e){return n(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}})),w=o(((e,t)=>{var r=f();t.exports=r({}.isPrototypeOf)})),A=o(((e,t)=>{var r=C();t.exports=r("navigator","userAgent")||""})),S=o(((e,t)=>{var r,n,i=a(),s=A(),o=i.process,u=i.Deno,l=o&&o.versions||u&&u.version,c=l&&l.v8;c&&(n=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),T=o(((e,t)=>{var r=S(),n=u();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),F=o(((e,t)=>{var r=T();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),k=o(((e,t)=>{var r=C(),n=E(),i=w(),s=F(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),P=o(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),N=o(((e,t)=>{var r=E(),n=P(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),_=o(((e,t)=>{var r=N(),n=g();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),O=o(((e,t)=>{var r=p(),n=E(),i=x(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),I=o(((e,t)=>{t.exports=!1})),B=o(((e,t)=>{var r=a(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),j=o(((e,t)=>{var r=a(),n=B(),i="__core-js_shared__",s=r[i]||n(i,{});t.exports=s})),L=o(((e,t)=>{var r=I(),n=j();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"\xa9 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=o(((e,t)=>{var r=v(),n=Object;t.exports=function(e){return n(r(e))}})),R=o(((e,t)=>{var r=f(),n=M(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),$=o(((e,t)=>{var r=f(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),V=o(((e,t)=>{var r=a(),n=L(),i=R(),s=$(),o=T(),u=F(),l=n("wks"),c=r.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||s;t.exports=function(e){if(!i(l,e)||!o&&"string"!=typeof l[e]){var t="Symbol."+e;o&&i(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),U=o(((e,t)=>{var r=p(),n=x(),i=k(),s=_(),o=O(),a=V(),u=TypeError,l=a("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var a,c=s(e,l);if(c){if(void 0===t&&(t="default"),a=r(c,e,t),!n(a)||i(a))return a;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}})),q=o(((e,t)=>{var r=U(),n=k();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),z=o(((e,t)=>{var r=a(),n=x(),i=r.document,s=n(i)&&n(i.createElement);t.exports=function(e){return s?i.createElement(e):{}}})),W=o(((e,t)=>{var r=l(),n=u(),i=z();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),G=o((e=>{var t=l(),r=p(),n=h(),i=d(),s=D(),o=q(),a=R(),u=W(),c=Object.getOwnPropertyDescriptor;e.f=t?c:function(e,t){if(e=s(e),t=o(t),u)try{return c(e,t)}catch{}if(a(e,t))return i(!r(n.f,e,t),e[t])}})),H=o(((e,t)=>{var r=l(),n=u();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),J=o(((e,t)=>{var r=x(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),X=o((e=>{var t=l(),r=W(),n=H(),i=J(),s=q(),o=TypeError,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(i(e),t=s(t),i(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return a(e,t,r)}:a:function(e,t,n){if(i(e),t=s(t),i(n),r)try{return a(e,t,n)}catch{}if("get"in n||"set"in n)throw o("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),Q=o(((e,t)=>{var r=l(),n=X(),i=d();t.exports=r?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}})),K=o(((e,t)=>{var r=l(),n=R(),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,o=n(i,"name"),a=o&&"something"===function(){}.name,u=o&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:o,PROPER:a,CONFIGURABLE:u}})),Y=o(((e,t)=>{var r=f(),n=E(),i=j(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),Z=o(((e,t)=>{var r=a(),n=E(),i=r.WeakMap;t.exports=n(i)&&/native code/.test(String(i))})),ee=o(((e,t)=>{var r=L(),n=$(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),te=o(((e,t)=>{t.exports={}})),re=o(((e,t)=>{var r,n,i,s,o,u=Z(),l=a(),c=x(),p=Q(),h=R(),d=j(),f=ee(),m=te(),y="Object already initialized",g=l.TypeError,v=l.WeakMap,D=function(e){return i(e)?n(e):r(e,{})},b=function(e){return function(t){var r;if(!c(t)||(r=n(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}};u||d.state?((s=d.state||(d.state=new v)).get=s.get,s.has=s.has,s.set=s.set,r=function(e,t){if(s.has(e))throw g(y);return t.facade=e,s.set(e,t),t},n=function(e){return s.get(e)||{}},i=function(e){return s.has(e)}):(m[o=f("state")]=!0,r=function(e,t){if(h(e,o))throw g(y);return t.facade=e,p(e,o,t),t},n=function(e){return h(e,o)?e[o]:{}},i=function(e){return h(e,o)}),t.exports={set:r,get:n,has:i,enforce:D,getterFor:b}})),ne=o(((e,t)=>{var r=u(),n=E(),i=R(),s=l(),o=K().CONFIGURABLE,a=Y(),c=re(),p=c.enforce,h=c.get,d=Object.defineProperty,f=s&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=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")||o&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&i(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return i(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return n(this)&&h(this).source||a(this)}),"toString")})),ie=o(((e,t)=>{var r=E(),n=X(),i=ne(),s=B();t.exports=function(e,t,o,a){a||(a={});var u=a.enumerable,l=void 0!==a.name?a.name:t;if(r(o)&&i(o,l,a),a.global)u?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(u=!0):delete e[t]}catch{}u?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),se=o(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),oe=o(((e,t)=>{var r=se();t.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}})),ae=o(((e,t)=>{var r=oe(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),ue=o(((e,t)=>{var r=oe(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),le=o(((e,t)=>{var r=ue();t.exports=function(e){return r(e.length)}})),ce=o(((e,t)=>{var r=D(),n=ae(),i=le(),s=function(e){return function(t,s,o){var a,u=r(t),l=i(u),c=n(o,l);if(e&&s!=s){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),pe=o(((e,t)=>{var r=f(),n=R(),i=D(),s=ce().indexOf,o=te(),a=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(o,r)&&n(u,r)&&a(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||a(c,r));return c}})),he=o(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),de=o((e=>{var t=pe(),r=he().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),fe=o((e=>{e.f=Object.getOwnPropertySymbols})),me=o(((e,t)=>{var r=C(),n=f(),i=de(),s=fe(),o=J(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),ye=o(((e,t)=>{var r=R(),n=me(),i=G(),s=X();t.exports=function(e,t,o){for(var a=n(t),u=s.f,l=i.f,c=0;c<a.length;c++){var p=a[c];!r(e,p)&&(!o||!r(o,p))&&u(e,p,l(t,p))}}})),ge=o(((e,t)=>{var r=u(),n=E(),i=/#|\.prototype\./,s=function(e,t){var i=a[o(e)];return i==c||i!=l&&(n(t)?r(t):!!t)},o=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";t.exports=s})),ve=o(((e,t)=>{var r=a(),n=G().f,i=Q(),s=ie(),o=B(),u=ye(),l=ge();t.exports=function(e,t){var a,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(a=m?r:y?r[f]||o(f,{}):(r[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=n(a,c))&&d.value:a[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&i(h,"sham",!0),s(a,c,h,e)}}})),De=o(((e,t)=>{var r=m();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),be=o(((e,t)=>{var r=TypeError,n=9007199254740991;t.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}})),Ee=o(((e,t)=>{var r=m(),n=f();t.exports=function(e){if("Function"===r(e))return n(e)}})),xe=o(((e,t)=>{var r=Ee(),n=N(),i=c(),s=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}})),Ce=o(((e,t)=>{var r=De(),n=le(),i=be(),s=xe(),o=function(e,t,a,u,l,c,p,h){for(var d,f,m=l,y=0,g=!!p&&s(p,h);y<u;)y in a&&(d=g?g(a[y],y,t):a[y],c>0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),y++;return m};t.exports=o})),we=o(((e,t)=>{var r={};r[V()("toStringTag")]="z",t.exports="[object z]"===String(r)})),Ae=o(((e,t)=>{var r=we(),n=E(),i=m(),s=V()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch{}};t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}})),Se=o(((e,t)=>{var r=f(),n=u(),i=E(),s=Ae(),o=C(),a=Y(),l=function(){},c=[],p=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=r(h.exec),m=!h.exec(l),y=function(e){if(!i(e))return!1;try{return p(l,c,e),!0}catch{return!1}},g=function(e){if(!i(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!d(h,a(e))}catch{return!0}};g.sham=!0,t.exports=!p||n((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?g:y})),Te=o(((e,t)=>{var r=De(),n=Se(),i=x(),s=V()("species"),o=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(n(t)&&(t===o||r(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}})),Fe=o(((e,t)=>{var r=Te();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),ke=o((()=>{var e=ve(),t=Ce(),r=N(),n=M(),i=le(),s=Fe();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),u=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,u,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Pe=o(((e,t)=>{t.exports={}})),Ne=o(((e,t)=>{var r=V(),n=Pe(),i=r("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}})),_e=o(((e,t)=>{var r=Ae(),n=_(),i=g(),s=Pe(),o=V()("iterator");t.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[r(e)]}})),Oe=o(((e,t)=>{var r=p(),n=N(),i=J(),s=P(),o=_e(),a=TypeError;t.exports=function(e,t){var u=arguments.length<2?o(e):t;if(n(u))return i(r(u,e));throw a(s(e)+" is not iterable")}})),Ie=o(((e,t)=>{var r=p(),n=J(),i=_();t.exports=function(e,t,s){var o,a;n(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=r(o,e)}catch(u){a=!0,o=u}if("throw"===t)throw s;if(a)throw o;return n(o),s}})),Be=o(((e,t)=>{var r=xe(),n=p(),i=J(),s=P(),o=Ne(),a=le(),u=w(),l=Oe(),c=_e(),h=Ie(),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,p){var y,g,v,D,b,E,x,C=p&&p.that,w=!(!p||!p.AS_ENTRIES),A=!(!p||!p.IS_RECORD),S=!(!p||!p.IS_ITERATOR),T=!(!p||!p.INTERRUPTED),F=r(t,C),k=function(e){return y&&h(y,"normal",e),new f(!0,e)},P=function(e){return w?(i(e),T?F(e[0],e[1],k):F(e[0],e[1])):T?F(e,k):F(e)};if(A)y=e.iterator;else if(S)y=e;else{if(!(g=c(e)))throw d(s(e)+" is not iterable");if(o(g)){for(v=0,D=a(e);D>v;v++)if((b=P(e[v]))&&u(m,b))return b;return new f(!1)}y=l(e,g)}for(E=A?e.next:y.next;!(x=n(E,y)).done;){try{b=P(x.value)}catch(N){h(y,"throw",N)}if("object"==typeof b&&b&&u(m,b))return b}return new f(!1)}})),je=o(((e,t)=>{var r=q(),n=X(),i=d();t.exports=function(e,t,s){var o=r(t);o in e?n.f(e,o,i(0,s)):e[o]=s}})),Le=o((()=>{var e=ve(),t=Be(),r=je();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,(function(e,t){r(n,e,t)}),{AS_ENTRIES:!0}),n}})})),Me=o(((e,t)=>{var r=ne(),n=X();t.exports=function(e,t,i){return i.get&&r(i.get,t,{getter:!0}),i.set&&r(i.set,t,{setter:!0}),n.f(e,t,i)}})),Re=o(((e,t)=>{var r=J();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}})),$e=o((()=>{var e=a(),t=l(),r=Me(),n=Re(),i=u(),s=e.RegExp,o=s.prototype,c=t&&i((function(){var e=!0;try{s(".","d")}catch{e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var u in e&&(a.hasIndices="d"),a)i(u,a[u]);return Object.getOwnPropertyDescriptor(o,"flags").get.call(t)!==n||r!==n}));c&&r(o,"flags",{configurable:!0,get:n})})),Ve=o((()=>{var e=ve(),t=a();e({global:!0,forced:t.globalThis!==t},{globalThis:t})})),Ue=o((()=>{Ve()})),qe=o((()=>{var e=ve(),t=Ce(),r=M(),n=le(),i=oe(),s=Fe();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=r(this),a=n(o),u=s(o,0);return u.length=t(u,o,o,a,0,void 0===e?1:i(e)),u}})})),ze=o(((r,o)=>{var a=["cliName","cliCategory","cliDescription"],u=["_"],l=["languageId"];function c(e,t){if(null==e)return{};var r,n,i=p(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function p(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}ke(),Le(),$e(),Ue(),qe();var h,d=Object.create,f=Object.defineProperty,m=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyNames,g=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty,D=(e,t)=>function(){return e&&(t=(0,e[y(e)[0]])(e=0)),t},b=(e,t)=>function(){return t||(0,e[y(e)[0]])((t={exports:{}}).exports,t),t.exports},E=(e,t)=>{for(var r in t)f(e,r,{get:t[r],enumerable:!0})},x=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of y(t))!v.call(e,i)&&i!==r&&f(e,i,{get:()=>t[i],enumerable:!(n=m(t,i))||n.enumerable});return e},C=(e,t,r)=>(r=null!=e?d(g(e)):{},x(!t&&e&&e.__esModule?r:f(r,"default",{value:e,enumerable:!0}),e)),w=e=>x(f({},"__esModule",{value:!0}),e),A=D({"<define:process>"(){h={env:{},argv:[]}}}),S=b({"package.json"(e,t){t.exports={version:"2.8.8"}}}),T=b({"node_modules/diff/lib/diff/base.js"(e){function t(){}function r(e,t,r,n,i){for(var s=0,o=t.length,a=0,u=0;s<o;s++){var l=t[s];if(l.removed){if(l.value=e.join(n.slice(u,u+l.count)),u+=l.count,s&&t[s-1].added){var c=t[s-1];t[s-1]=t[s],t[s]=c}}else{if(!l.added&&i){var p=r.slice(a,a+l.count);p=p.map((function(e,t){var r=n[u+t];return r.length>e.length?r:e})),l.value=e.join(p)}else l.value=e.join(r.slice(a,a+l.count));a+=l.count,l.added||(u+=l.count)}}var h=t[o-1];return o>1&&"string"==typeof h.value&&(h.added||h.removed)&&e.equals("",h.value)&&(t[o-2].value+=h.value,t.pop()),t}function n(e){return{newPos:e.newPos,components:e.components.slice(0)}}A(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i.callback;"function"==typeof i&&(s=i,i={}),this.options=i;var o=this;function a(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 u=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,p=u+l,h=[{newPos:-1,components:[]}],d=this.extractCommon(h[0],t,e,0);if(h[0].newPos+1>=u&&d+1>=l)return a([{value:this.join(t),count:t.length}]);function f(){for(var i=-1*c;i<=c;i+=2){var s=void 0,p=h[i-1],d=h[i+1],f=(d?d.newPos:0)-i;p&&(h[i-1]=void 0);var m=p&&p.newPos+1<u,y=d&&0<=f&&f<l;if(m||y){if(!m||y&&p.newPos<d.newPos?(s=n(d),o.pushComponent(s.components,void 0,!0)):((s=p).newPos++,o.pushComponent(s.components,!0,void 0)),f=o.extractCommon(s,t,e,i),s.newPos+1>=u&&f+1>=l)return a(r(o,s.components,t,e,o.useLongestToken));h[i]=s}else h[i]=void 0}c++}if(s)!function e(){setTimeout((function(){if(c>p)return s();f()||e()}),0)}();else for(;c<=p;){var m=f();if(m)return m}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var i=t.length,s=r.length,o=e.newPos,a=o-n,u=0;o+1<i&&a+1<s&&this.equals(t[o+1],r[a+1]);)o++,a++,u++;return u&&e.components.push({count:u}),e.newPos=o,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}}}),F=b({"node_modules/diff/lib/diff/array.js"(e){function t(e){return e&&e.__esModule?e:{default:e}}A(),Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=n,e.arrayDiff=void 0;var r=new(t(T()).default);function n(e,t,n){return r.diff(e,t,n)}e.arrayDiff=r,r.tokenize=function(e){return e.slice()},r.join=r.removeEmpty=function(e){return e}}}),k=b({"src/document/doc-builders.js"(e,t){function r(e){return{type:"concat",parts:e}}function n(e){return{type:"indent",contents:e}}function i(e,t){return{type:"align",contents:t,n:e}}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}function o(e){return i(Number.NEGATIVE_INFINITY,e)}function a(e){return i({type:"root"},e)}function u(e){return i(-1,e)}function l(e,t){return s(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))}function c(e){return{type:"fill",parts:e}}function p(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}}function h(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}}function d(e){return{type:"line-suffix",contents:e}}A();var f={type:"line-suffix-boundary"},m={type:"break-parent"},y={type:"trim"},g={type:"line",hard:!0},v={type:"line",hard:!0,literal:!0},D={type:"line"},b={type:"line",soft:!0},E=r([g,m]),x=r([v,m]),C={type:"cursor",placeholder:Symbol("cursor")};function w(e,t){let n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return r(n)}function S(e,t,r){let s=e;if(t>0){for(let e=0;e<Math.floor(t/r);++e)s=n(s);s=i(t%r,s),s=i(Number.NEGATIVE_INFINITY,s)}return s}function T(e,t){return{type:"label",label:e,contents:t}}t.exports={concat:r,join:w,line:D,softline:b,hardline:E,literalline:x,group:s,conditionalGroup:l,fill:c,lineSuffix:d,lineSuffixBoundary:f,cursor:C,breakParent:m,ifBreak:p,trim:y,indent:n,indentIfBreak:h,align:i,addAlignmentToDoc:S,markAsRoot:a,dedentToRoot:o,dedent:u,hardlineWithoutBreakParent:g,literallineWithoutBreakParent:v,label:T}}}),P=b({"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 n(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(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 n=e.match(r);return n?n.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}A(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:n,countEndOfLineChars:i,normalizeEndOfLine:s}}}),N=b({"src/utils/get-last.js"(e,t){A();var r=e=>e[e.length-1];t.exports=r}});function _(){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=D({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){A()}});function I(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(_(),"")}var B=D({"node_modules/strip-ansi/index.js"(){A(),O()}});function j(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 L=D({"node_modules/is-fullwidth-code-point/index.js"(){A()}}),M=b({"node_modules/emoji-regex/index.js"(e,t){A(),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}}}),R={};function $(e){if("string"!=typeof e||0===e.length||0===(e=I(e)).length)return 0;e=e.replace((0,V.default)()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=j(n)?2:1)}return t}E(R,{default:()=>$});var V,U=D({"node_modules/string-width/index.js"(){A(),B(),L(),V=C(M())}}),q=b({"src/utils/get-string-width.js"(e,t){A();var r=(U(),w(R)).default,n=/[^\x20-\x7F]/;function i(e){return e?n.test(e)?r(e):e.length:0}t.exports=i}}),z=b({"src/document/doc-utils.js"(e,t){A();var r=N(),{literalline:n,join:i}=k(),s=e=>Array.isArray(e)||e&&"concat"===e.type,o=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},a={};function u(e,t,r,n){let i=[e];for(;i.length>0;){let e=i.pop();if(e!==a){if(r&&i.push(e,a),!t||!1!==t(e))if(s(e)||"fill"===e.type){let t=o(e);for(let e=t.length-1;e>=0;--e)i.push(t[e])}else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(n)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else r(i.pop())}}function l(e,t){let r=new Map;return n(e);function n(e){if(r.has(e))return r.get(e);let t=i(e);return r.set(e,t),t}function i(e){if(Array.isArray(e))return t(e.map(n));if("concat"===e.type||"fill"===e.type){let r=e.parts.map(n);return t(Object.assign(Object.assign({},e),{},{parts:r}))}if("if-break"===e.type){let r=e.breakContents&&n(e.breakContents),i=e.flatContents&&n(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:r,flatContents:i}))}if("group"===e.type&&e.expandedStates){let r=e.expandedStates.map(n),i=r[0];return t(Object.assign(Object.assign({},e),{},{contents:i,expandedStates:r}))}if(e.contents){let r=n(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:r}))}return t(e)}}function c(e,t,r){let n=r,i=!1;function s(e){let r=t(e);if(void 0!==r&&(i=!0,n=r),i)return!1}return u(e,s),n}function p(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function h(e){return c(e,p,!1)}function d(e){if(e.length>0){let t=r(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function f(e){let t=new Set,r=[];function n(e){if("break-parent"===e.type&&d(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}}function i(e){"group"===e.type&&r.pop().break&&d(r)}u(e,n,i,!0)}function m(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function y(e){return l(e,m)}var g=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function v(e){if(!e)return e;if(s(e)||"fill"===e.type){let t=o(e);for(;t.length>1&&g(...t.slice(-2));)t.length-=2;if(t.length>0){let e=v(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=v(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{let t=v(e.breakContents),r=v(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:r})}}return e}function D(e){return v(E(e))}function b(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 n of o(e)){if(!n)continue;let[e,...i]=s(n)?o(n):[n];"string"==typeof e&&"string"==typeof r(t)?t[t.length-1]+=e:t.push(e),t.push(...i)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}function E(e){return l(e,(e=>b(e)))}function x(e){let t=[],n=e.filter(Boolean);for(;n.length>0;){let e=n.shift();if(e){if(s(e)){n.unshift(...o(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 C(e){return l(e,(e=>Array.isArray(e)?x(e):e.parts?Object.assign(Object.assign({},e),{},{parts:x(e.parts)}):e))}function w(e){return l(e,(e=>"string"==typeof e&&e.includes("\n")?S(e):e))}function S(e){return i(arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,e.split("\n")).parts}function T(e){if("line"===e.type)return!0}function F(e){return c(e,T,!1)}t.exports={isConcat:s,getDocParts:o,willBreak:h,traverseDoc:u,findInDoc:c,mapDoc:l,propagateBreaks:f,removeLines:y,stripTrailingHardline:D,normalizeParts:x,normalizeDoc:C,cleanDoc:E,replaceTextEndOfLine:S,replaceEndOfLine:w,canBreak:F}}}),W=b({"src/document/doc-printer.js"(e,t){A();var r,{convertEndOfLineToChars:n}=P(),i=N(),s=q(),{fill:o,cursor:a,indent:u}=k(),{isConcat:l,getDocParts:c}=z(),p=1,h=2;function d(){return{value:"",length:0,queue:[]}}function f(e,t){return y(e,{type:"indent"},t)}function m(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||d():t<0?y(e,{type:"dedent"},r):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):y(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r):e}function y(e,t,r){let n="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],i="",s=0,o=0,a=0;for(let f of n)switch(f.type){case"indent":c(),r.useTabs?u(1):l(r.tabWidth);break;case"stringAlign":c(),i+=f.n,s+=f.n.length;break;case"numberAlign":o+=1,a+=f.n;break;default:throw new Error(`Unexpected type '${f.type}'`)}return h(),Object.assign(Object.assign({},e),{},{value:i,length:s,queue:n});function u(e){i+="\t".repeat(e),s+=r.tabWidth*e}function l(e){i+=" ".repeat(e),s+=e}function c(){r.useTabs?p():h()}function p(){o>0&&u(o),d()}function h(){a>0&&l(a),d()}function d(){o=0,a=0}}function g(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof i(e)&&/^[\t ]*$/.test(i(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof i(e)){let r=i(e).replace(/[\t ]*$/,"");t+=i(e).length-r.length,e[e.length-1]=r}return t}function v(e,t,n,o,a){let u=t.length,d=[e],f=[];for(;n>=0;){if(0===d.length){if(0===u)return!0;d.push(t[--u]);continue}let{mode:e,doc:m}=d.pop();if("string"==typeof m)f.push(m),n-=s(m);else if(l(m)||"fill"===m.type){let t=c(m);for(let r=t.length-1;r>=0;r--)d.push({mode:e,doc:t[r]})}else switch(m.type){case"indent":case"align":case"indent-if-break":case"label":d.push({mode:e,doc:m.contents});break;case"trim":n+=g(f);break;case"group":{if(a&&m.break)return!1;let t=m.break?p:e,r=m.expandedStates&&t===p?i(m.expandedStates):m.contents;d.push({mode:t,doc:r});break}case"if-break":{let t=(m.groupId?r[m.groupId]||h:e)===p?m.breakContents:m.flatContents;t&&d.push({mode:e,doc:t});break}case"line":if(e===p||m.hard)return!0;m.soft||(f.push(" "),n--);break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1}}return!1}function D(e,t){r={};let y=t.printWidth,D=n(t.endOfLine),b=0,E=[{ind:d(),mode:p,doc:e}],x=[],C=!1,w=[];for(;E.length>0;){let{ind:e,mode:n,doc:d}=E.pop();if("string"==typeof d){let e="\n"!==D?d.replace(/\n/g,D):d;x.push(e),b+=s(e)}else if(l(d)){let t=c(d);for(let r=t.length-1;r>=0;r--)E.push({ind:e,mode:n,doc:t[r]})}else switch(d.type){case"cursor":x.push(a.placeholder);break;case"indent":E.push({ind:f(e,t),mode:n,doc:d.contents});break;case"align":E.push({ind:m(e,d.n,t),mode:n,doc:d.contents});break;case"trim":b-=g(x);break;case"group":switch(n){case h:if(!C){E.push({ind:e,mode:d.break?p:h,doc:d.contents});break}case p:{C=!1;let t={ind:e,mode:h,doc:d.contents},r=y-b,n=w.length>0;if(!d.break&&v(t,E,r,n))E.push(t);else if(d.expandedStates){let t=i(d.expandedStates);if(d.break){E.push({ind:e,mode:p,doc:t});break}for(let i=1;i<d.expandedStates.length+1;i++){if(i>=d.expandedStates.length){E.push({ind:e,mode:p,doc:t});break}{let t=d.expandedStates[i],s={ind:e,mode:h,doc:t};if(v(s,E,r,n)){E.push(s);break}}}}else E.push({ind:e,mode:p,doc:d.contents});break}}d.id&&(r[d.id]=i(E).mode);break;case"fill":{let t=y-b,{parts:r}=d;if(0===r.length)break;let[i,s]=r,a={ind:e,mode:h,doc:i},u={ind:e,mode:p,doc:i},l=v(a,[],t,w.length>0,!0);if(1===r.length){l?E.push(a):E.push(u);break}let c={ind:e,mode:h,doc:s},f={ind:e,mode:p,doc:s};if(2===r.length){l?E.push(c,a):E.push(f,u);break}r.splice(0,2);let m={ind:e,mode:n,doc:o(r)},g=r[0];v({ind:e,mode:h,doc:[i,s,g]},[],t,w.length>0,!0)?E.push(m,c,a):l?E.push(m,f,a):E.push(m,f,u);break}case"if-break":case"indent-if-break":{let t=d.groupId?r[d.groupId]:n;if(t===p){let t="if-break"===d.type?d.breakContents:d.negate?d.contents:u(d.contents);t&&E.push({ind:e,mode:n,doc:t})}if(t===h){let t="if-break"===d.type?d.flatContents:d.negate?u(d.contents):d.contents;t&&E.push({ind:e,mode:n,doc:t})}break}case"line-suffix":w.push({ind:e,mode:n,doc:d.contents});break;case"line-suffix-boundary":w.length>0&&E.push({ind:e,mode:n,doc:{type:"line",hard:!0}});break;case"line":switch(n){case h:if(!d.hard){d.soft||(x.push(" "),b+=1);break}C=!0;case p:if(w.length>0){E.push({ind:e,mode:n,doc:d},...w.reverse()),w.length=0;break}d.literal?e.root?(x.push(D,e.root.value),b=e.root.length):(x.push(D),b=0):(b-=g(x),x.push(D+e.value),b=e.length)}break;case"label":E.push({ind:e,mode:n,doc:d.contents})}0===E.length&&w.length>0&&(E.push(...w.reverse()),w.length=0)}let A=x.indexOf(a.placeholder);if(-1!==A){let e=x.indexOf(a.placeholder,A+1),t=x.slice(0,A).join(""),r=x.slice(A+1,e).join("");return{formatted:t+r+x.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:x.join("")}}t.exports={printDocToString:D}}}),G=b({"src/document/doc-debug.js"(e,t){A();var{isConcat:r,getDocParts:n}=z();function i(e){if(!e)return"";if(r(e)){let t=[];for(let s of n(e))if(r(s))t.push(...i(s).parts);else{let e=i(s);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:i(e.breakContents),flatContents:i(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:i(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(i)}):"fill"===e.type?{type:"fill",parts:e.parts.map(i)}:e.contents?Object.assign(Object.assign({},e),{},{contents:i(e.contents)}):e}function s(e){let t=Object.create(null),s=new Set;return o(i(e));function o(e,t,i){if("string"==typeof e)return JSON.stringify(e);if(r(e)){let t=n(e).map(o).filter(Boolean);return 1===t.length?t[0]:`[${t.join(", ")}]`}if("line"===e.type){let r=Array.isArray(i)&&i[t+1]&&"break-parent"===i[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(i)&&i[t-1]&&"line"===i[t-1].type&&i[t-1].hard?void 0:"breakParent";if("trim"===e.type)return"trim";if("indent"===e.type)return"indent("+o(e.contents)+")";if("align"===e.type)return e.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+o(e.contents)+")":e.n<0?"dedent("+o(e.contents)+")":"root"===e.n.type?"markAsRoot("+o(e.contents)+")":"align("+JSON.stringify(e.n)+", "+o(e.contents)+")";if("if-break"===e.type)return"ifBreak("+o(e.breakContents)+(e.flatContents?", "+o(e.flatContents):"")+(e.groupId?(e.flatContents?"":', ""')+`, { groupId: ${a(e.groupId)} }`:"")+")";if("indent-if-break"===e.type){let t=[];e.negate&&t.push("negate: true"),e.groupId&&t.push(`groupId: ${a(e.groupId)}`);let r=t.length>0?`, { ${t.join(", ")} }`:"";return`indentIfBreak(${o(e.contents)}${r})`}if("group"===e.type){let t=[];e.break&&"propagated"!==e.break&&t.push("shouldBreak: true"),e.id&&t.push(`id: ${a(e.id)}`);let r=t.length>0?`, { ${t.join(", ")} }`:"";return e.expandedStates?`conditionalGroup([${e.expandedStates.map((e=>o(e))).join(",")}]${r})`:`group(${o(e.contents)}${r})`}if("fill"===e.type)return`fill([${e.parts.map((e=>o(e))).join(", ")}])`;if("line-suffix"===e.type)return"lineSuffix("+o(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";if("label"===e.type)return`label(${JSON.stringify(e.label)}, ${o(e.contents)})`;throw new Error("Unknown doc type "+e.type)}function a(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 n=0;;n++){let i=r+(n>0?` #${n}`:"");if(!s.has(i))return s.add(i),t[e]=`Symbol.for(${JSON.stringify(i)})`}}}t.exports={printDocToDebug:s}}}),H=b({"src/document/index.js"(e,t){A(),t.exports={builders:k(),printer:W(),utils:z(),debug:G()}}}),J={};function X(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}E(J,{default:()=>X});var Q=D({"node_modules/escape-string-regexp/index.js"(){A()}}),K=b({"node_modules/semver/internal/debug.js"(e,t){A();var r="object"==typeof h&&h.env&&h.env.NODE_DEBUG&&/\bsemver\b/i.test(h.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error("SEMVER",...t)}:()=>{};t.exports=r}}),Y=b({"node_modules/semver/internal/constants.js"(e,t){A();var r="2.0.0",n=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,s=16;t.exports={SEMVER_SPEC_VERSION:r,MAX_LENGTH:n,MAX_SAFE_INTEGER:i,MAX_SAFE_COMPONENT_LENGTH:s}}}),Z=b({"node_modules/semver/internal/re.js"(e,t){A();var{MAX_SAFE_COMPONENT_LENGTH:r}=Y(),n=K(),i=(e=t.exports={}).re=[],s=e.src=[],o=e.t={},a=0,u=(e,t,r)=>{let u=a++;n(e,u,t),o[e]=u,s[u]=t,i[u]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`),u("FULL",`^${s[o.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`),u("LOOSE",`^${s[o.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`),u("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),u("COERCERTL",s[o.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",u("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",u("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),ee=b({"node_modules/semver/internal/parse-options.js"(e,t){A();var r=["includePrerelease","loose","rtl"],n=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};t.exports=n}}),te=b({"node_modules/semver/internal/identifiers.js"(e,t){A();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1},i=(e,t)=>n(t,e);t.exports={compareIdentifiers:n,rcompareIdentifiers:i}}}),re=b({"node_modules/semver/classes/semver.js"(e,t){A();var r=K(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=Y(),{re:s,t:o}=Z(),a=ee(),{compareIdentifiers:u}=te(),l=class{constructor(e,t){if(t=a(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>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let u=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!u)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=u[5]?u[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return u(n,i)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return u(n,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===u(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}}),ne=b({"node_modules/semver/functions/compare.js"(e,t){A();var r=re(),n=(e,t,n)=>new r(e,n).compare(new r(t,n));t.exports=n}}),ie=b({"node_modules/semver/functions/lt.js"(e,t){A();var r=ne(),n=(e,t,n)=>r(e,t,n)<0;t.exports=n}}),se=b({"node_modules/semver/functions/gte.js"(e,t){A();var r=ne(),n=(e,t,n)=>r(e,t,n)>=0;t.exports=n}}),oe=b({"src/utils/arrayify.js"(e,t){A(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,n]=e;return Object.assign({[t]:r},n)}))}}),ae=b({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return typeof WeakMap<"u"?new WeakMap:i()}function i(){return{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}A(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var s=Object.prototype.hasOwnProperty,o=function(e,t){return s.call(e,t)};function a(e,t){for(var r in t)o(t,r)&&(e[r]=t[r]);return e}var u=/^[ \t]*(?:\r\n|\r|\n)/,l=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,p=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,h=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,r){var n=0,i=e[0].match(p);i&&(n=i[1].length);var s=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,a=r.trimLeadingNewline,c=r.trimTrailingNewline,h="string"==typeof o,d=e.length;return e.map((function(e,t){return e=e.replace(s,"$1"),0===t&&a&&(e=e.replace(u,"")),t===d-1&&c&&(e=e.replace(l,"")),h&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}function f(e,t){for(var r="",n=0,i=e.length;n<i;n++)r+=e[n],n<i-1&&(r+=t[n]);return r}function m(e){return o(e,"raw")&&o(e,"length")}function y(e){var t=n(),r=n();function i(n){for(var s=[],o=1;o<arguments.length;o++)s[o-1]=arguments[o];if(m(n)){var u=n,l=(s[0]===i||s[0]===g)&&h.test(u[0])&&c.test(u[1]),p=l?r:t,v=p.get(u);return v||(v=d(u,l,e),p.set(u,v)),0===s.length?v[0]:f(v,l?s.slice(1):s)}return y(a(a({},e),n||{}))}return a(i,{string:function(t){return d([t],!1,e)[0]}})}var g=y({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=g,e.default=g,typeof t<"u")try{t.exports=g,Object.defineProperty(g,"__esModule",{value:!0}),g.default=g,g.outdent=g}catch{}}}),ue=b({"src/main/core-options.js"(e,t){A();var{outdent:r}=ae(),n="Config",i="Editor",s="Format",o="Other",a="Output",u="Global",l="Special",c={cursorOffset:{since:"1.4.0",category:l,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:r` + Print (to stderr) where a cursor at the given position would move to after formatting. + This option cannot be used with --range-start and --range-end. + `,cliCategory:i},endOfLine:{since:"1.15.0",category:u,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:r` + Maintain existing + (mixed values within one file are normalised by looking at what's used after the first line) + `}]},filepath:{since:"1.4.0",category:l,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:o,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:l,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:o},parser:{since:"0.0.10",category:u,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"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:u,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:u,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:n},printWidth:{since:"0.0.0",category:u,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:i},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:i},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:o},tabWidth:{type:"int",category:u,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:u,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:u,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:n,CATEGORY_EDITOR:i,CATEGORY_FORMAT:s,CATEGORY_OTHER:o,CATEGORY_OUTPUT:a,CATEGORY_GLOBAL:u,CATEGORY_SPECIAL:l,options:c}}}),le=b({"src/main/support.js"(e,t){A();var r={compare:ne(),lt:ie(),gte:se()},n=oe(),i=S().version,s=ue().options;function o(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:o=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=i.split("-",1)[0],h=e.flatMap((e=>e.languages||[])).filter(f),d=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),s),"name").filter((e=>f(e)&&m(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(y).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort(((e,t)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>f(e)&&m(e))),"parser"===t.name&&u(t,h,e));let n=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:n})}));return{languages:h,options:d};function f(e){return t||!("since"in e)||e.since&&r.gte(p,e.since)}function m(e){return o||!("deprecated"in e)||e.deprecated&&r.lt(p,e.deprecated)}function y(e){if(l)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return c(e,a)}}function u(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let s=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;s&&s.name&&(o+=` (plugin: ${s.name})`),e.choices.push({value:t,description:o})}}t.exports={getSupportInfo:o}}}),ce=b({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}A(),t.exports=r}}),pe=b({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}A();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),he=b({"src/utils/text/skip-inline-comment.js"(e,t){function r(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}A(),t.exports=r}}),de=b({"src/utils/text/skip-trailing-comment.js"(e,t){A();var{skipEverythingButNewLine:r}=pe();function n(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}t.exports=n}}),fe=b({"src/utils/text/skip-newline.js"(e,t){function r(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}A(),t.exports=r}}),me=b({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){A();var r=he(),n=fe(),i=de(),{skipSpaces:s}=pe();function o(e,t){let o=null,a=t;for(;a!==o;)o=a,a=s(e,a),a=r(e,a),a=i(e,a),a=n(e,a);return a}t.exports=o}}),ye=b({"src/common/util.js"(e,t){A();var{default:r}=(Q(),w(J)),n=N(),{getSupportInfo:i}=le(),s=ce(),o=q(),{skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c}=pe(),p=he(),h=de(),d=fe(),f=me(),m=e=>e[e.length-2];function y(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}function g(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=u(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function v(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1}function D(e,t,r){let n=r(t)-1;return n=u(e,n,{backwards:!0}),n=d(e,n,{backwards:!0}),n=u(e,n,{backwards:!0}),n!==d(e,n,{backwards:!0})}function b(e,t){let r=null,n=t;for(;n!==r;)r=n,n=l(e,n),n=p(e,n),n=u(e,n);return n=h(e,n),n=d(e,n),!1!==n&&g(e,n)}function E(e,t,r){return b(e,r(t))}function x(e,t,r){return f(e,r(t))}function C(e,t,r){return e.charAt(x(e,t,r))}function S(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return u(e,r.backwards?t-1:t,r)!==t}function T(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function F(e,t){let r=e.lastIndexOf("\n");return-1===r?0:T(e.slice(r+1).match(/^[\t ]*/)[0],t)}function k(e,t){let r={quote:'"',regex:/"/g,escaped:"""},n={quote:"'",regex:/'/g,escaped:"'"},i="'"===t?n:r,s=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(s.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(s.regex)||[]).length?s:i),o}function P(e,t){let r=e.slice(1,-1);return _(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":k(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function _(e,t,r){let n='"'===t?"'":'"',i=/\\(.)|(["'])/gs,s=e.replace(i,((e,i,s)=>i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));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 I(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)}function B(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let i=new Map,s=0;for(let r of n){let e=r.length/t.length;i.set(e,!0),e>s&&(s=e)}for(let r=1;r<s;r++)if(!i.get(r))return r;return s+1}function j(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=z(e)}function L(e,t){t.leading=!0,t.trailing=!1,j(e,t)}function M(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),j(e,t)}function R(e,t){t.leading=!1,t.trailing=!0,j(e,t)}function $(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find((t=>{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 n&&n.parsers[0]}function V(e){return e&&"front-matter"===e.type}function U(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}function z(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)+"\u2026"),t+(r?" "+r:"")}t.exports={inferParserByLanguage:$,getStringWidth:o,getMaxContinuousCount:I,getMinNotPresentContinuousCount:B,getPenultimate:m,getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:x,getNextNonSpaceNonCommentCharacter:C,skip:y,skipWhitespace:a,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:b,isNextLineEmpty:E,isPreviousLineEmpty:D,hasNewline:g,hasNewlineInRange:v,hasSpaces:S,getAlignmentSize:T,getIndentSize:F,getPreferredQuote:k,printString:P,printNumber:O,makeString:_,addLeadingComment:L,addDanglingComment:M,addTrailingComment:R,isFrontMatterNode:V,isNonEmptyArray:s,createGroupIdMapper:U}}}),ge={};function ve(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function De(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=ve(Te(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function be(e){var t=Ee(e),r="/"===Ie(e,-1);return!(e=ve(Te(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Ee(e){return"/"===e.charAt(0)}function xe(){return be(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 Ce(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=De(e).substr(1),t=De(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),o=s,a=0;a<s;a++)if(n[a]!==i[a]){o=a;break}var u=[];for(a=o;a<n.length;a++)u.push("..");return(u=u.concat(i.slice(o))).join("/")}function we(e){var t=Pe(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function Ae(e,t){var r=Pe(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function Se(e){return Pe(e)[3]}function Te(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}E(ge,{basename:()=>Ae,default:()=>Oe,delimiter:()=>_e,dirname:()=>we,extname:()=>Se,isAbsolute:()=>Ee,join:()=>xe,normalize:()=>be,relative:()=>Ce,resolve:()=>De,sep:()=>Ne});var Fe,Pe,Ne,_e,Oe,Ie,Be=D({"node-modules-polyfills:path"(){A(),Fe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Pe=function(e){return Fe.exec(e).slice(1)},Oe={extname:Se,basename:Ae,dirname:we,sep:Ne="/",delimiter:_e=":",relative:Ce,join:xe,isAbsolute:Ee,normalize:be,resolve:De},Ie=function(e,t,r){return e.substr(t,r)}}}),je=b({"node-modules-polyfills-commonjs:path"(e,t){A();var r=(Be(),w(ge));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Me=b({"src/common/errors.js"(e,t){A();var r=class extends Error{},n=class extends Error{},i=class extends Error{},s=class extends Error{};t.exports={ConfigError:r,DebugError:n,UndefinedParserError:i,ArgExpansionBailout:s}}}),Re={};function Ve(e,t){function r(){this.constructor=e}pt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ze(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function We(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function Ge(e,t){return function(r,n){t(r,n,e)}}function He(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function Je(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function o(e){try{u(n.next(e))}catch(t){s(t)}}function a(e){try{u(n.throw(e))}catch(t){s(t)}}function u(e){e.done?r(e.value):i(e.value).then(o,a)}u((n=n.apply(e,t||[])).next())}))}function Xe(e,t){var r,n,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(a){s=[6,a],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function Qe(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function Ke(e,t){for(var r in e)"default"!==r&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Ye(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],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 n,i,s=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function et(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ze(arguments[t]));return e}function tt(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function rt(e){return this instanceof rt?(this.v=e,this):new rt(e)}function nt(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){s.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{u(i[e](t))}catch(r){p(s[0][3],r)}}function u(e){e.value instanceof rt?Promise.resolve(e.value.v).then(l,c):p(s[0][2],e)}function l(e){a("next",e)}function c(e){a("throw",e)}function p(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function it(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:rt(e[n](t)),done:"return"===n}:i?i(t):t}:i}}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 Ye?Ye(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,s){i(n,s,(t=e[r](t)).done,t.value)}))}}function i(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}}function ot(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function at(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 ut(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 ct(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}E(Re,{__assign:()=>ht,__asyncDelegator:()=>it,__asyncGenerator:()=>nt,__asyncValues:()=>st,__await:()=>rt,__awaiter:()=>Je,__classPrivateFieldGet:()=>lt,__classPrivateFieldSet:()=>ct,__createBinding:()=>Qe,__decorate:()=>We,__exportStar:()=>Ke,__extends:()=>Ve,__generator:()=>Xe,__importDefault:()=>ut,__importStar:()=>at,__makeTemplateObject:()=>ot,__metadata:()=>He,__param:()=>Ge,__read:()=>Ze,__rest:()=>ze,__spread:()=>et,__spreadArrays:()=>tt,__values:()=>Ye});var pt,ht,dt=D({"node_modules/tslib/tslib.es6.js"(){A(),pt=function(e,t){return(pt=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)},ht=function(){return ht=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ht.apply(this,arguments)}}}),ft=b({"node_modules/vnopts/lib/descriptors/api.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:e=>/^[$_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:n}=t;return e.apiDescriptor.value({[r]:n})}}}}),mt=b({"node_modules/vnopts/lib/descriptors/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),(dt(),w(Re)).__exportStar(ft(),e)}}),yt=b({"scripts/build/shims/chalk.cjs"(e,t){A();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}}),gt=b({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=yt();e.commonDeprecatedHandler=(e,r,n)=>{let{descriptor:i}=n,s=[`${t.default.yellow("string"==typeof e?i.key(e):i.pair(e))} is deprecated`];return r&&s.push(`we now treat it as ${t.default.blue("string"==typeof r?i.key(r):i.pair(r))}`),s.join("; ")+"."}}}),vt=b({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),(dt(),w(Re)).__exportStar(gt(),e)}}),Dt=b({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=yt();e.commonInvalidHandler=(e,r,n)=>[`Invalid ${t.default.red(n.descriptor.key(e))} value.`,`Expected ${t.default.blue(n.schemas[e].expected(n))},`,`but received ${t.default.red(n.descriptor.value(r))}.`].join(" ")}}),bt=b({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),(dt(),w(Re)).__exportStar(Dt(),e)}}),Et=b({"node_modules/vnopts/node_modules/leven/index.js"(e,t){A();var r=[],n=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var s=e.length,o=t.length;if(0===s)return o;if(0===o)return s;for(;s>0&&e.charCodeAt(~-s)===t.charCodeAt(~-o);)s--,o--;if(0===s)return o;for(var a=0;a<s&&e.charCodeAt(a)===t.charCodeAt(a);)a++;if(o-=a,0===(s-=a))return o;for(var u,l,c,p,h=0,d=0;h<s;)n[a+h]=e.charCodeAt(a+h),r[h]=++h;for(;d<o;)for(u=t.charCodeAt(a+d),c=d++,l=d,h=0;h<s;h++)p=u===n[a+h]?c:c+1,c=r[h],l=r[h]=c>l?p>l?l+1:p:p>c?c+1:p;return l}}}),xt=b({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=yt(),r=Et();e.levenUnknownHandler=(e,n,i)=>{let{descriptor:s,logger:o,schemas:a}=i,u=[`Ignored unknown option ${t.default.yellow(s.pair({key:e,value:n}))}.`],l=Object.keys(a).sort().find((t=>r(e,t)<3));l&&u.push(`Did you mean ${t.default.blue(s.key(l))}?`),o.warn(u.join(" "))}}}),Ct=b({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),(dt(),w(Re)).__exportStar(xt(),e)}}),wt=b({"node_modules/vnopts/lib/handlers/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=(dt(),w(Re));t.__exportStar(vt(),e),t.__exportStar(bt(),e),t.__exportStar(Ct(),e)}}),At=b({"node_modules/vnopts/lib/schema.js"(e){A(),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),o=Object.create(s);for(let a of t)a in r&&(o[a]=i(r[a],s,n.prototype[a].length));return o}e.createSchema=r;var n=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 i(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e(...i.slice(0,r-1),t,...i.slice(r-1))}:()=>e}e.Schema=n}}),St=b({"node_modules/vnopts/lib/schemas/alias.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),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=b({"node_modules/vnopts/lib/schemas/any.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),Ft=b({"node_modules/vnopts/lib/schemas/array.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=(dt(),w(Re)),r=At(),n=class extends r.Schema{constructor(e){var{valueSchema:r,name:n=r.name}=e,i=t.__rest(e,["valueSchema","name"]);super(Object.assign({},i,{name:n})),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 n of e){let e=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);!0!==e&&r.push(e.value)}return 0===r.length||{value:r}}deprecated(e,t){let r=[];for(let n of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);!1!==e&&r.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return r}forward(e,t){let r=[];for(let n of e){let e=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...e.map(i))}return r}redirect(e,t){let r=[],n=[];for(let s of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(s,t),s);"remain"in e&&r.push(e.remain),n.push(...e.redirect.map(i))}return 0===r.length?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function i(e){let{from:t,to:r}=e;return{from:[t],to:r}}e.ArraySchema=n}}),kt=b({"node_modules/vnopts/lib/schemas/boolean.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),Pt=b({"node_modules/vnopts/lib/utils.js"(e){function t(e,t){let r=Object.create(null);for(let n of e){let e=n[t];if(r[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r[e]=n}return r}function r(e,t){let r=new Map;for(let n of e){let e=n[t];if(r.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r.set(e,n)}return r}function n(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}}function i(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]}function s(e){return e===Math.floor(e)}function o(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):"string"!==r?Number(e)-Number(t):e.localeCompare(t)}function a(e){return void 0===e?{}:e}function u(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 c(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 p(e,t){return void 0===e?[]:Array.isArray(e)?e.map((e=>c(e,t))):[c(e,t)]}function h(e,t){let r=p("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}}A(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=t,e.mapFromArray=r,e.createAutoChecklist=n,e.partition=i,e.isInt=s,e.comparePrimitive=o,e.normalizeDefaultResult=a,e.normalizeValidateResult=u,e.normalizeDeprecatedResult=l,e.normalizeTransferResult=c,e.normalizeForwardResult=p,e.normalizeRedirectResult=h}}),Nt=b({"node_modules/vnopts/lib/schemas/choice.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=Pt(),n=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,n=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),i=n.slice(0,-2),s=n.slice(-2);return i.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=n}}),_t=b({"node_modules/vnopts/lib/schemas/number.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),Ot=b({"node_modules/vnopts/lib/schemas/integer.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pt(),r=_t(),n=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=n}}),It=b({"node_modules/vnopts/lib/schemas/string.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=At(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),Bt=b({"node_modules/vnopts/lib/schemas/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=(dt(),w(Re));t.__exportStar(St(),e),t.__exportStar(Tt(),e),t.__exportStar(Ft(),e),t.__exportStar(kt(),e),t.__exportStar(Nt(),e),t.__exportStar(Ot(),e),t.__exportStar(_t(),e),t.__exportStar(It(),e)}}),jt=b({"node_modules/vnopts/lib/defaults.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=ft(),r=gt(),n=bt(),i=xt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=n.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),Lt=b({"node_modules/vnopts/lib/normalize.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=Pt();e.normalize=(e,t,r)=>new n(t,r).normalize(e);var n=class{constructor(e,n){let{logger:i=console,descriptor:s=t.defaultDescriptor,unknown:o=t.defaultUnknownHandler,invalid:a=t.defaultInvalidHandler,deprecated:u=t.defaultDeprecatedHandler}=n||{};this._utils={descriptor:s,logger:i||{warn:()=>{}},schemas:r.recordFromArray(e,"name"),normalizeDefaultResult:r.normalizeDefaultResult,normalizeDeprecatedResult:r.normalizeDeprecatedResult,normalizeForwardResult:r.normalizeForwardResult,normalizeRedirectResult:r.normalizeRedirectResult,normalizeValidateResult:r.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=a,this._deprecatedHandler=u,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=r.createAutoChecklist()}normalize(e){let t={},n=[e],i=()=>{for(;0!==n.length;){let e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};i();for(let s of Object.keys(this._utils.schemas)){let e=this._utils.schemas[s];if(!(s in t)){let t=r.normalizeDefaultResult(e.default(this._utils));"value"in t&&n.push({[s]:t.value})}}i();for(let r of Object.keys(this._utils.schemas)){let e=this._utils.schemas[r];r in t&&(t[r]=e.postprocess(t[r],this._utils))}return t}_applyNormalization(e,t){let n=[],[i,s]=r.partition(Object.keys(e),(e=>e in this._utils.schemas));for(let o of i){let i=this._utils.schemas[o],s=i.preprocess(e[o],this._utils),a=r.normalizeValidateResult(i.validate(s,this._utils),s);if(!0!==a){let{value:e}=a,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}let u=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},l=e=>{let{value:t,redirectTo:n}=e,a=r.normalizeDeprecatedResult(i.deprecated(t,this._utils),s,!0);if(!1!==a)if(!0===a)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,n,this._utils));else for(let{value:r}of a){let e={key:o,value:r};if(!this._hasDeprecationWarned(e)){let t="string"==typeof n?{key:n,value:r}:n;this._utils.logger.warn(this._deprecatedHandler(e,t,this._utils))}}};r.normalizeForwardResult(i.forward(s,this._utils),s).forEach(u);let c=r.normalizeRedirectResult(i.redirect(s,this._utils),s);if(c.redirect.forEach(u),"remain"in c){let e=c.remain;t[o]=o in t?i.overlap(t[o],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of c.redirect)l({value:e,redirectTo:t})}for(let r of s){let i=e[r],s=this._unknownHandler(r,i,this._utils);if(s)for(let e of Object.keys(s)){let r={[e]:s[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}};e.Normalizer=n}}),Mt=b({"node_modules/vnopts/lib/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=(dt(),w(Re));t.__exportStar(mt(),e),t.__exportStar(wt(),e),t.__exportStar(Bt(),e),t.__exportStar(Lt(),e),t.__exportStar(At(),e)}}),Rt=b({"src/main/options-normalizer.js"(e,t){A();var r,n=Mt(),i=N(),s={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>n.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}`}},o=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends n.ChoiceSchema{constructor(e){let{name:t,flags:r}=e;super({name:t,choices:r}),this._flags=[...r].sort()}preprocess(e,n){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find((t=>r(t,e)<3));if(i)return n.logger.warn([`Unknown flag ${t.yellow(n.descriptor.value(e))},`,`did you mean ${t.blue(n.descriptor.value(i))}?`].join(" ")),i}return e}expected(){return"a flag"}}};function a(e,t){let{logger:i=!1,isCLI:o=!1,passThrough:a=!1,colorsModule:p=null,levenshteinDistance:h=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=a?Array.isArray(a)?(e,t)=>a.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,r)=>{let i=r.schemas,{_:s}=i,o=c(i,u);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:o}))},f=o?s:n.apiDescriptor,m=l(t,{isCLI:o,colorsModule:p,levenshteinDistance:h}),y=new n.Normalizer(m,{logger:i,unknown:d,descriptor:f}),g=!1!==i;g&&r&&(y._hasDeprecationWarned=r);let v=y.normalize(e);return g&&(r=y._hasDeprecationWarned),o&&!1===v["plugin-search"]&&(v["plugin-search-dir"]=!1),v}function l(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:s}=t,o=[];r&&o.push(n.AnySchema.create({name:"_"}));for(let a of e)o.push(p(a,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:s})),a.alias&&r&&o.push(n.AliasSchema.create({name:a.alias,sourceName:a.name}));return o}function p(e,t){let{isCLI:r,optionInfos:s,colorsModule:a,levenshteinDistance:u}=t,{name:l}=e;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return n.AnySchema.create({name:l,preprocess:e=>(!1===e||(e=Array.isArray(e)?e:[e]),e),validate:e=>!1===e||e.every((e=>"string"==typeof e)),expected:()=>"false or paths to plugin search dir"});let c,p={name:l},h={};switch(e.type){case"int":c=n.IntegerSchema,r&&(p.preprocess=Number);break;case"string":case"path":c=n.StringSchema;break;case"choice":c=n.ChoiceSchema,p.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":c=n.BooleanSchema;break;case"flag":c=o({colorsModule:a,levenshteinDistance:u}),p.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?p.validate=(t,r,n)=>e.exception(t)||r.validate(t,n):p.validate=(e,t,r)=>void 0===e||t.validate(e,r),e.redirect&&(h.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(h.deprecated=!0),r&&!e.array){let e=p.preprocess||(e=>e);p.preprocess=(t,r,n)=>r.preprocess(e(Array.isArray(t)?i(t):t),n)}return e.array?n.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),h),{},{valueSchema:c.create(p)})):c.create(Object.assign(Object.assign({},p),h))}function h(e,t,r){return a(e,t,r)}function d(e,t,r){return a(e,t,Object.assign({isCLI:!0},r))}t.exports={normalizeApiOptions:h,normalizeCliOptions:d}}}),$t=b({"src/language-js/loc.js"(e,t){A();var r=ce();function n(e){var t,i;let s=e.range?e.range[0]:e.start,o=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return r(o)?Math.min(n(o[0]),s):s}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}function o(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}function a(e,t){return s(e,t)&&o(e,t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:a}}}),Vt=b({"src/main/load-parser.js"(e,t){A(),t.exports=()=>{}}}),Ut=b({"scripts/build/shims/babel-highlight.cjs"(e,t){A();var r=yt(),n={shouldHighlight:()=>!1,getChalk:()=>r};t.exports=n}}),qt=b({"node_modules/@babel/code-frame/lib/index.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=o,e.default=a;var t=Ut(),r=!1;function n(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var i=/\r\n|[\n\r\u2028\u2029]/;function s(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:o=3}=r||{},a=n.line,u=n.column,l=i.line,c=i.column,p=Math.max(a-(s+1),0),h=Math.min(t.length,l+o);-1===a&&(p=0),-1===l&&(h=t.length);let d=l-a,f={};if(d)for(let m=0;m<=d;m++){let e=m+a;if(u)if(0===m){let r=t[e-1].length;f[e]=[u,r-u+1]}else if(m===d)f[e]=[0,c];else{let r=t[e-m].length;f[e]=[0,r]}else f[e]=!0}else f[a]=u===c?!u||[u,0]:[u,c-u];return{start:p,end:h,markerLines:f}}function o(e,r){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(o.highlightCode||o.forceColor)&&(0,t.shouldHighlight)(o),u=(0,t.getChalk)(o),l=n(u),c=(e,t)=>a?e(t):t,p=e.split(i),{start:h,end:d,markerLines:f}=s(r,p,o),m=r.start&&"number"==typeof r.start.column,y=String(d).length,g=(a?(0,t.default)(e,o):e).split(i,d).slice(h,d).map(((e,t)=>{let r=h+1+t,n=` ${` ${r}`.slice(-y)} |`,i=f[r],s=!f[r+1];if(i){let t="";if(Array.isArray(i)){let r=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," "),a=i[1]||1;t=["\n ",c(l.gutter,n.replace(/\d/g," "))," ",r,c(l.marker,"^").repeat(a)].join(""),s&&o.message&&(t+=" "+c(l.message,o.message))}return[c(l.marker,">"),c(l.gutter,n),e.length>0?` ${e}`:"",t].join("")}return` ${c(l.gutter,n)}${e.length>0?` ${e}`:""}`})).join("\n");return o.message&&!m&&(g=`${" ".repeat(y+1)}${o.message}\n${g}`),a?u.reset(g):g}function a(e,t,n){let i=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`.";h.emitWarning?h.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return o(e,{start:{column:n=Math.max(n,0),line:t}},i)}}}),zt=b({"src/main/parser.js"(e,t){A();var{ConfigError:r}=Me(),n=$t(),{locStart:i,locEnd:s}=(Vt(),n),o=Object.getOwnPropertyNames,a=Object.getOwnPropertyDescriptor;function u(e){let t={};for(let r of e.plugins)if(r.parsers)for(let e of o(r.parsers))Object.defineProperty(t,e,a(r.parsers,e));return t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,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 c(e,t){let r=u(t),n=Object.defineProperties({},Object.fromEntries(Object.keys(r).map((e=>[e,{enumerable:!0,get:()=>r[e].parse}])))),i=l(t,r);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,n,t)}}catch(s){let{loc:t}=s;if(t){let{codeFrameColumns:r}=qt();throw s.codeFrame=r(e,t,{highlightCode:!0}),s.message+="\n"+s.codeFrame,s}throw s}}t.exports={parse:c,resolveParser:l}}}),Wt=b({"src/main/options.js"(e,t){A();var r=je(),{UndefinedParserError:n}=Me(),{getSupportInfo:i}=le(),s=Rt(),{resolveParser:o}=zt(),a={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e),u=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,p=Object.assign(Object.assign({},a),Object.fromEntries(u.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!r.parser)if(r.filepath){if(r.parser=c(r.filepath,r.plugins),!r.parser)throw new n(`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 h=o(s.normalizeApiOptions(r,[u.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));r.astFormat=h.astFormat,r.locEnd=h.locEnd,r.locStart=h.locStart;let d=l(r);r.printer=d.printers[r.astFormat];let f=Object.fromEntries(u.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[d.name])).map((e=>[e.name,e.pluginDefaults[d.name]]))),m=Object.assign(Object.assign({},p),f);for(let[n,i]of Object.entries(m))(null===r[n]||void 0===r[n])&&(r[n]=i);return"json"===r.parser&&(r.trailingComma="none"),s.normalizeApiOptions(r,u,Object.assign({passThrough:Object.keys(a)},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 c(e,t){let n=r.basename(e).toLowerCase(),s=i({plugins:t}).languages.filter((e=>null!==e.since)).find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));return s&&s.parsers[0]}t.exports={normalize:u,hiddenDefaults:a,inferParser:c}}}),Gt=b({"src/main/massage-ast.js"(e,t){function r(e,t,n){if(Array.isArray(e))return e.map((e=>r(e,t,n))).filter(Boolean);if(!e||"object"!=typeof e)return e;let i,s=t.printer.massageAstNode;i=s&&s.ignoredProperties?s.ignoredProperties:new Set;let o={};for(let[a,u]of Object.entries(e))!i.has(a)&&"function"!=typeof u&&(o[a]=r(u,t,e));if(s){let t=s(e,o,n);if(null===t)return;if(t)return t}return o}A(),t.exports=r}}),Ht=b({"scripts/build/shims/assert.cjs"(e,t){A();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),Jt=b({"src/main/comments.js"(e,t){A();var r=Ht(),{builders:{line:n,hardline:i,breakParent:s,indent:o,lineSuffix:a,join:u,cursor:l}}=H(),{hasNewline:c,skipNewline:p,skipSpaces:h,isPreviousLineEmpty:d,addLeadingComment:f,addDanglingComment:m,addTrailingComment:y}=ye(),g=new WeakMap;function v(e,t,r){if(!e)return;let{printer:n,locStart:i,locEnd:s}=t;if(r){if(n.canAttachComment&&n.canAttachComment(e)){let t;for(t=r.length-1;t>=0&&!(i(r[t])<=i(e)&&s(r[t])<=s(e));--t);return void r.splice(t+1,0,e)}}else if(g.has(e))return g.get(e);let o=n.getCommentChildNodes&&n.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(o){r||(r=[],g.set(e,r));for(let e of o)v(e,t,r);return r}}function D(e,t,r,n){let i,s,{locStart:o,locEnd:a}=r,u=o(t),l=a(t),c=v(e,r),p=0,h=c.length;for(;p<h;){let e=p+h>>1,n=c[e],d=o(n),f=a(n);if(d<=u&&l<=f)return D(n,t,r,n);if(f<=u)i=n,p=e+1;else{if(!(l<=d))throw new Error("Comment location overlaps with node location");s=n,h=e}}if(n&&"TemplateLiteral"===n.type){let{quasis:e}=n,o=F(e,t,r);i&&F(e,i,r)!==o&&(i=null),s&&F(e,s,r)!==o&&(s=null)}return{enclosingNode:n,precedingNode:i,followingNode:s}}var b=()=>!1;function E(e,t,r,n){if(!Array.isArray(e))return;let i=[],{locStart:s,locEnd:o,printer:{handleComments:a={}}}=n,{avoidAstMutation:u,ownLine:l=b,endOfLine:c=b,remaining:p=b}=a,h=e.map(((i,s)=>Object.assign(Object.assign({},D(t,i,n)),{},{comment:i,text:r,options:n,ast:t,isLastComment:e.length-1===s})));for(let[d,g]of h.entries()){let e,{comment:t,precedingNode:r,enclosingNode:n,followingNode:a,text:v,options:D,ast:b,isLastComment:E}=g;if("json"===D.parser||"json5"===D.parser||"__js_expression"===D.parser||"__vue_expression"===D.parser||"__vue_ts_expression"===D.parser){if(s(t)-s(b)<=0){f(b,t);continue}if(o(t)-o(b)>=0){y(b,t);continue}}if(u?e=[g]:(t.enclosingNode=n,t.precedingNode=r,t.followingNode=a,e=[t,v,D,b,E]),C(v,D,h,d))t.placement="ownLine",l(...e)||(a?f(a,t):r?y(r,t):m(n||b,t));else if(w(v,D,h,d))t.placement="endOfLine",c(...e)||(r?y(r,t):a?f(a,t):m(n||b,t));else if(t.placement="remaining",!p(...e))if(r&&a){let e=i.length;e>0&&i[e-1].followingNode!==a&&S(i,v,D),i.push(g)}else r?y(r,t):a?f(a,t):m(n||b,t)}if(S(i,r,n),!u)for(let d of e)delete d.precedingNode,delete d.enclosingNode,delete d.followingNode}var x=e=>!/[\S\n\u2028\u2029]/.test(e);function C(e,t,r,n){let{comment:i,precedingNode:s}=r[n],{locStart:o,locEnd:a}=t,u=o(i);if(s)for(let l=n-1;l>=0;l--){let{comment:t,precedingNode:n}=r[l];if(n!==s||!x(e.slice(a(t),u)))break;u=o(t)}return c(e,u,{backwards:!0})}function w(e,t,r,n){let{comment:i,followingNode:s}=r[n],{locStart:o,locEnd:a}=t,u=a(i);if(s)for(let l=n+1;l<r.length;l++){let{comment:t,followingNode:n}=r[l];if(n!==s||!x(e.slice(u,o(t))))break;u=a(t)}return c(e,u)}function S(e,t,n){let i=e.length;if(0===i)return;let s,{precedingNode:o,followingNode:a,enclosingNode:u}=e[0],l=n.printer.getGapRegex&&n.printer.getGapRegex(u)||/^[\s(]*$/,c=n.locStart(a);for(s=i;s>0;--s){let{comment:i,precedingNode:u,followingNode:p}=e[s-1];r.strictEqual(u,o),r.strictEqual(p,a);let h=t.slice(n.locEnd(i),c);if(!l.test(h))break;c=n.locStart(i)}for(let[r,{comment:p}]of e.entries())r<s?y(o,p):f(a,p);for(let r of[o,a])r.comments&&r.comments.length>1&&r.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function T(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function F(e,t,r){let n=r.locStart(t)-1;for(let i=1;i<e.length;++i)if(n<r.locStart(e[i]))return i-1;return 0}function k(e,t){let r=e.getValue(),s=[T(e,t)],{printer:o,originalText:a,locStart:u,locEnd:l}=t;if(o.isBlockComment&&o.isBlockComment(r)){let e=c(a,l(r))?c(a,u(r),{backwards:!0})?i:n:" ";s.push(e)}else s.push(i);let d=p(a,h(a,l(r)));return!1!==d&&c(a,d)&&s.push(i),s}function P(e,t){let r=e.getValue(),n=T(e,t),{printer:o,originalText:u,locStart:l}=t,p=o.isBlockComment&&o.isBlockComment(r);if(c(u,l(r),{backwards:!0})){let e=d(u,r,l);return a([i,e?i:"",n])}let h=[" ",n];return p||(h=[a(h),s]),h}function N(e,t,r,n){let s=[],a=e.getValue();return a&&a.comments&&(e.each((()=>{let r=e.getValue();!r.leading&&!r.trailing&&(!n||n(r))&&s.push(T(e,t))}),"comments"),0!==s.length)?r?u(i,s):o([i,u(i,s)]):""}function _(e,t,r){let n=e.getValue();if(!n)return{};let i=n.comments||[];r&&(i=i.filter((e=>!r.has(e))));let s=n===t.cursorNode;if(0===i.length){let e=s?l:"";return{leading:e,trailing:e}}let o=[],a=[];return e.each((()=>{let n=e.getValue();if(r&&r.has(n))return;let{leading:i,trailing:s}=n;i?o.push(k(e,t)):s&&a.push(P(e,t))}),"comments"),s&&(o.unshift(l),a.push(l)),{leading:o,trailing:a}}function O(e,t,r,n){let{leading:i,trailing:s}=_(e,r,n);return i||s?[i,t,s]:t}function I(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:E,printComments:O,printCommentsSeparately:_,printDanglingComments:N,getSortedChildNodes:v,ensureAllCommentsPrinted:I}}}),Xt=b({"src/common/ast-path.js"(e,t){A();var r=N();function n(e,t){let r=i(e.stack,t);return-1===r?null:e.stack[r]}function i(e,t){for(let r=e.length-1;r>=0;r-=2){let n=e[r];if(n&&!Array.isArray(n)&&--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 n(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return n(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];for(let r of o)i=i[r],t.push(r,i);let u=e(this);return t.length=n,u}callParent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=i(this.stack,t+1),n=this.stack.splice(r+1),s=e(this);return this.stack.push(...n),s}each(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];for(let r of o)i=i[r],t.push(r,i);for(let r=0;r<i.length;++r)t.push(r,i[r]),e(this,r,i),t.length-=2;t.length=n}map(e){let t=[];for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this.each(((r,n,i)=>{t[n]=e(r,n,i)}),...n),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 n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];for(let o of i){if(void 0===r)return!1;let n=null;if("number"==typeof t&&(n=t,t=this.stack[e--],r=this.stack[e--]),o&&!o(r,t,n))return!1;t=this.stack[e--],r=this.stack[e--]}return!0}findAncestor(e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(;n;){let i=null;if("number"==typeof r&&(i=r,r=this.stack[t--],n=this.stack[t--]),null!==r&&e(n,r,i))return n;r=this.stack[t--],n=this.stack[t--]}}};t.exports=s}}),Qt=b({"src/main/multiparser.js"(e,t){A();var{utils:{stripTrailingHardline:r}}=H(),{normalize:n}=Wt(),i=Jt();function s(e,t,r,n){if(r.printer.embed&&"auto"===r.embeddedLanguageFormatting)return r.printer.embed(e,t,((e,t,i)=>o(e,t,r,n,i)),r)}function o(e,t,s,o){let{stripTrailingHardline:a=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=n(Object.assign(Object.assign(Object.assign({},s),t),{},{parentParser:s.parser,originalText:e}),{passThrough:!0}),l=zt().parse(e,u),{ast:c}=l;e=l.text;let p=c.comments;delete c.comments,i.attach(p,c,e,u),u[Symbol.for("comments")]=p||[],u[Symbol.for("tokens")]=c.tokens||[];let h=o(c,u);return i.ensureAllCommentsPrinted(p),a?"string"==typeof h?h.replace(/(?:\r?\n)*$/,""):r(h):h}t.exports={printSubtree:s}}}),Kt=b({"src/main/ast-to-doc.js"(e,t){A();var r=Xt(),{builders:{hardline:n,addAlignmentToDoc:i},utils:{propagateBreaks:s}}=H(),{printComments:o}=Jt(),a=Qt();function u(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:a}=t;a.preprocess&&(e=a.preprocess(e,t));let u=new Map,l=new r(e),p=h();return o>0&&(p=i([n,p],o,t.tabWidth)),s(p),p;function h(e,t){return void 0===e||e===l?d(t):Array.isArray(e)?l.call((()=>d(t)),...e):l.call((()=>d(t)),e)}function d(e){let r=l.getValue(),n=r&&"object"==typeof r&&void 0===e;if(n&&u.has(r))return u.get(r);let i=c(l,t,h,e);return n&&u.set(r,i),i}}function l(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:s}=t,o=i(e),a=s(e),u=new Set;for(let l of n)i(l)>=o&&s(l)<=a&&(l.printed=!0,u.add(l));return{doc:r.slice(o,a),printedComments:u}}function c(e,t,r,n){let i,s,c=e.getValue(),{printer:p}=t;if(p.hasPrettierIgnore&&p.hasPrettierIgnore(e))({doc:i,printedComments:s}=l(c,t));else{if(c)try{i=a.printSubtree(e,r,t,u)}catch(h){if(globalThis.PRETTIER_DEBUG)throw h}i||(i=p.print(e,t,r,n))}return(!p.willPrintOwnComments||!p.willPrintOwnComments(e,t))&&(i=o(e,i,t,s)),i}t.exports=u}}),Yt=b({"src/main/range-util.js"(e,t){A();var r=Ht(),n=Jt(),i=e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t};function s(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find((e=>c.has(e.type)&&n.has(e)))}function o(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 a(e,t,r){let{locStart:n,locEnd:i}=r,s=e.node,a=t.node;if(s===a)return{startNode:s,endNode:a};let u=n(e.node);for(let c of o(t.parentNodes)){if(!(n(c)>=u))break;a=c}let l=i(t.node);for(let c of o(e.parentNodes)){if(!(i(c)<=l))break;if(s=c,s===a)break}return{startNode:s,endNode:a}}function u(e,t,r,i){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5?arguments[5]:void 0,{locStart:a,locEnd:l}=r,c=a(e),p=l(e);if(!(t>p||t<c||"rangeEnd"===o&&t===c||"rangeStart"===o&&t===p)){for(let a of n.getSortedChildNodes(e,r)){let n=u(a,t,r,i,[e,...s],o);if(n)return n}if(!i||i(e,s[0]))return{node:e,parentNodes:s}}}function l(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}var c=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),p=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function h(e,t,r){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return l(t.type,r&&r.type);case"json":case"json5":case"json-stringify":return c.has(t.type);case"graphql":return p.has(t.kind);case"vue":return"root"!==t.tag}return!1}function d(e,t,n){let{rangeStart:o,rangeEnd:l,locStart:c,locEnd:p}=t;r.ok(l>o);let d=e.slice(o,l).search(/\S/),f=-1===d;if(!f)for(o+=d;l>o&&!/\S/.test(e[l-1]);--l);let m,y,g=u(n,o,t,((e,r)=>h(t,e,r)),[],"rangeStart"),v=f?g:u(n,l,t,(e=>h(t,e)),[],"rangeEnd");if(!g||!v)return{rangeStart:0,rangeEnd:0};if(i(t)){let e=s(g,v);m=e,y=e}else({startNode:m,endNode:y}=a(g,v,t));return{rangeStart:Math.min(c(m),c(y)),rangeEnd:Math.max(p(m),p(y))}}t.exports={calculateRange:d,findNodeAtOffset:u}}}),Zt=b({"src/main/core.js"(e,t){A();var{diffArrays:r}=F(),{printer:{printDocToString:n},debug:{printDocToDebug:i}}=H(),{getAlignmentSize:s}=ye(),{guessEndOfLine:o,convertEndOfLineToChars:a,countEndOfLineChars:u,normalizeEndOfLine:l}=P(),c=Wt().normalize,p=Gt(),h=Jt(),d=zt(),f=Kt(),m=Yt(),y="\ufeff",g=Symbol("cursor");function v(e,t,r){let n=t.comments;return n&&(delete t.comments,h.attach(n,t,e,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,n}function D(e,t){let i=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:o}=d.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(s,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let u=v(o,s,t),l=f(s,t,i),c=n(l,t);if(h.ensureAllCommentsPrinted(u),i>0){let e=c.formatted.trim();void 0!==c.cursorNodeStart&&(c.cursorNodeStart-=c.formatted.indexOf(e)),c.formatted=e+a(t.endOfLine)}if(t.cursorOffset>=0){let e,n,i,s,a;if(t.cursorNode&&c.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,s=c.cursorNodeStart,a=c.cursorNodeText):(e=0,n=o,i=t.cursorOffset,s=0,a=c.formatted),n===a)return{formatted:c.formatted,cursorOffset:s+i,comments:u};let l=[...n];l.splice(i,0,g);let p=[...a],h=r(l,p),d=s;for(let t of h)if(t.removed){if(t.value.includes(g))break}else d+=t.count;return{formatted:c.formatted,cursorOffset:d,comments:u}}return{formatted:c.formatted,cursorOffset:-1,comments:u}}function b(e,t){let{ast:r,text:n}=d.parse(e,t),{rangeStart:i,rangeEnd:o}=m.calculateRange(n,t,r),l=n.slice(i,o),c=Math.min(i,n.lastIndexOf("\n",i)+1),p=n.slice(c,i).match(/^\s*/)[0],h=s(p,t.tabWidth),f=D(l,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=o?t.cursorOffset-i:-1,endOfLine:"lf"}),h),y=f.formatted.trimEnd(),{cursorOffset:g}=t;g>o?g+=y.length-l.length:f.cursorOffset>=0&&(g=f.cursorOffset+i);let v=n.slice(0,i)+y+n.slice(o);if("lf"!==t.endOfLine){let e=a(t.endOfLine);g>=0&&"\r\n"===e&&(g+=u(v.slice(0,g),"\n")),v=v.replace(/\n/g,e)}return{formatted:v,cursorOffset:g,comments:f.comments}}function E(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function x(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=E(e,r,-1),n=E(e,n,0),i=E(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i})}function C(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}=x(e,t),a=e.charAt(0)===y;if(a&&(e=e.slice(1),r--,n--,i--),"auto"===s&&(s=o(e)),e.includes("\r")){let t=t=>u(e.slice(0,Math.max(t,0)),"\r\n");r-=t(r),n-=t(n),i-=t(i),e=l(e)}return{hasBOM:a,text:e,options:x(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}))}}function w(e,t){let r=d.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function S(e,t){let r,{hasBOM:n,text:i,options:s}=C(e,c(t));return s.rangeStart>=s.rangeEnd&&""!==i||s.requirePragma&&!w(i,s)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(s.rangeStart>0||s.rangeEnd<i.length?r=b(i,s):(!s.requirePragma&&s.insertPragma&&s.printer.insertPragma&&!w(i,s)&&(i=s.printer.insertPragma(i)),r=D(i,s)),n&&(r.formatted=y+r.formatted,r.cursorOffset>=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:S,parse(e,t,r){let{text:n,options:i}=C(e,c(t)),s=d.parse(n,i);return r&&(s.ast=p(s.ast,i)),s},formatAST(e,t){t=c(t);let r=f(e,t);return n(r,t)},formatDoc:(e,t)=>S(i(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=c(t);let{ast:r,text:n}=d.parse(e,t);return v(n,r,t),f(r,t)},printDocToString:(e,t)=>n(e,c(t))}}}),er=b({"src/common/util-shared.js"(e,t){A();var{getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:y,isNextLineEmpty:g,isNextLineEmptyAfterIndex:v,isPreviousLineEmpty:D,getNextNonSpaceNonCommentCharacterIndex:b,makeString:E,addLeadingComment:x,addDanglingComment:C,addTrailingComment:w}=ye();t.exports={getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:y,isNextLineEmpty:g,isNextLineEmptyAfterIndex:v,isPreviousLineEmpty:D,getNextNonSpaceNonCommentCharacterIndex:b,makeString:E,addLeadingComment:x,addDanglingComment:C,addTrailingComment:w}}}),tr=b({"src/utils/create-language.js"(e,t){A(),t.exports=function(e,t){let{languageId:r}=e,n=c(e,l);return Object.assign(Object.assign({linguistLanguageId:r},n),t(e))}}}),rr=b({"node_modules/esutils/lib/ast.js"(e,t){A(),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 n(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 i(e){return n(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 o(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:n,isIterationStatement:r,isSourceElement:i,isProblematicIfStatement:o,trailingStatement:s}}()}}),nr=b({"node_modules/esutils/lib/code.js"(e,t){A(),function(){var e,r,n,i,s,o;function a(e){return 48<=e&&e<=57}function u(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function l(e){return e>=48&&e<=55}function c(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0}function p(e){return 10===e||13===e||8232===e||8233===e}function h(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]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||36===o||95===o;for(s=new Array(128),o=0;o<128;++o)s[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||36===o||95===o;function d(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(h(e))}function f(e){return e<128?s[e]:r.NonAsciiIdentifierPart.test(h(e))}function m(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(h(t))}function y(t){return t<128?s[t]:e.NonAsciiIdentifierPart.test(h(t))}t.exports={isDecimalDigit:a,isHexDigit:u,isOctalDigit:l,isWhiteSpace:c,isLineTerminator:p,isIdentifierStartES5:d,isIdentifierPartES5:f,isIdentifierStartES6:m,isIdentifierPartES6:y}}()}}),ir=b({"node_modules/esutils/lib/keyword.js"(e,t){A(),function(){var e=nr();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 n(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(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||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function a(e){return"eval"===e||"arguments"===e}function u(t){var r,n,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(r=1,n=t.length;r<n;++r)if(i=t.charCodeAt(r),!e.isIdentifierPartES5(i))return!1;return!0}function l(e,t){return 1024*(e-55296)+(t-56320)+65536}function c(t){var r,n,i,s,o;if(0===t.length)return!1;for(o=e.isIdentifierStartES6,r=0,n=t.length;r<n;++r){if(55296<=(i=t.charCodeAt(r))&&i<=56319){if(++r>=n||!(56320<=(s=t.charCodeAt(r))&&s<=57343))return!1;i=l(i,s)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}function p(e,t){return u(e)&&!s(e,t)}function h(e,t){return c(e)&&!o(e,t)}t.exports={isKeywordES5:n,isKeywordES6:i,isReservedWordES5:s,isReservedWordES6:o,isRestrictedWord:a,isIdentifierNameES5:u,isIdentifierNameES6:c,isIdentifierES5:p,isIdentifierES6:h}}()}}),sr=b({"node_modules/esutils/lib/utils.js"(e){A(),e.ast=rr(),e.code=nr(),e.keyword=ir()}}),or=b({"src/language-js/utils/is-block-comment.js"(e,t){A();var r=new Set(["Block","CommentBlock","MultiLine"]),n=e=>r.has(null==e?void 0:e.type);t.exports=n}}),ar=b({"src/language-js/utils/is-node-matches.js"(e,t){function r(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let t=r[n];if(0===n)return"Identifier"===e.type&&e.name===t;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==t)return!1;e=e.object}}function n(e,t){return t.some((t=>r(e,t)))}A(),t.exports=n}}),ur=b({"src/language-js/utils/index.js"(e,t){A();var r=sr().keyword.isIdentifierNameES5,{getLast:n,hasNewline:i,skipWhitespace:s,isNonEmptyArray:o,isNextLineEmptyAfterIndex:a,getStringWidth:u}=ye(),{locStart:l,locEnd:c,hasSameLocStart:p}=$t(),h=or(),d=ar(),f="(?:(?=.)\\s)",m=new RegExp(`^${f}*:`),y=new RegExp(`^${f}*::`);function g(e){var t,r;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&h(null===(r=e.trailingComments)||void 0===r?void 0:r[0])&&m.test(e.trailingComments[0].value)}function v(e){let t=null==e?void 0:e[0];return h(t)&&y.test(t.value)}function D(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some((e=>D(e,t)));let r=t(e);return"boolean"==typeof r?r:Object.values(e).some((e=>D(e,t)))}function b(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Q(e)||K(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||qe(e)||"TSNonNullExpression"===e.type}function E(e){var t,r,n,i,s,o;return e.expressions?e.expressions[0]:null!==(t=null!==(r=null!==(n=null!==(i=null!==(s=null!==(o=e.left)&&void 0!==o?o:e.test)&&void 0!==s?s:e.callee)&&void 0!==i?i:e.object)&&void 0!==n?n:e.tag)&&void 0!==r?r:e.argument)&&void 0!==t?t:e.expression}function x(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 C(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var w=C(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),S=C(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function T(e){let t=e.getParentNode();return"declaration"===e.getName()&&S(t)?t:null}var F=C(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function k(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function P(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&k(e.argument)}function N(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var _=C(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),O=C(["FunctionExpression","ArrowFunctionExpression"]);function I(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}function B(e){return Q(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var j=C(["JSXElement","JSXFragment"]);function L(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!j(r.expression))return!1;let n=t.getParentNode();return"Program"===n.type&&1===n.body.length}function M(e){return"get"===e.kind||"set"===e.kind}function R(e){return M(e)||p(e,e.value)}function $(e){return("ObjectTypeProperty"===e.type||"ObjectTypeInternalSlot"===e.type)&&"FunctionTypeAnnotation"===e.value.type&&!e.static&&!R(e)}function V(e){return("TypeAnnotation"===e.type||"TSTypeAnnotation"===e.type)&&"FunctionTypeAnnotation"===e.typeAnnotation.type&&!e.static&&!p(e,e.typeAnnotation)}var U=C(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function q(e){return K(e)||"BindExpression"===e.type&&Boolean(e.object)}var z=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 W(e){return!!e&&!(("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!z.has(e.type))}function G(e){let t=/^(?:before|after)(?:Each|All)$/;return"Identifier"===e.callee.type&&t.test(e.callee.name)&&1===e.arguments.length}var H=["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 J(e){return d(e,H)}function X(e,t){if("CallExpression"!==e.type)return!1;if(1===e.arguments.length){if(B(e)&&t&&X(t))return O(e.arguments[0]);if(G(e))return B(e.arguments[0])}else if((2===e.arguments.length||3===e.arguments.length)&&("TemplateLiteral"===e.arguments[0].type||N(e.arguments[0]))&&J(e.callee))return!(e.arguments[2]&&!k(e.arguments[2]))&&((2===e.arguments.length?O(e.arguments[1]):I(e.arguments[1])&&Se(e.arguments[1]).length<=1)||B(e.arguments[1]));return!1}var Q=C(["CallExpression","OptionalCallExpression"]),K=C(["MemberExpression","OptionalMemberExpression"]);function Y(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every((e=>{if(je(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(K(e)){let t=e;for(;K(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,je(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),n=s(e,c(t));return!1!==n&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(n,n+2)}function te(e,t){return j(t)?_e(t):je(t,Ie.Leading,(t=>i(e,c(t))))}function re(e,t){return"json"!==t.parser&&N(e.key)&&pe(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)||ne(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 ne(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function ie(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 oe(e,t){return("TemplateLiteral"===e.type&&se(e)||"TaggedTemplateExpression"===e.type&&se(e.quasi))&&!i(t,l(e),{backwards:!0})}function ae(e){if(!je(e))return!1;let t=n(Le(e,Ie.Dangling));return t&&!h(t)}function ue(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(Q(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 Q(t)&&Q(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0}function ce(e,t){if(t>=2)return!1;let r=e=>ce(e,t+1),n="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;if(n&&u(n)>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(Re(e))return("ImportExpression"===e.type||ce(e.callee,t))&&ke(e).every(r);if(K(e))return ce(e.object,t)&&ce(e.property,t);let i={"!":!0,"-":!0,"+":!0,"~":!0};if("UnaryExpression"===e.type&&i[e.operator])return ce(e.argument,t);let s={"++":!0,"--":!0};return"UpdateExpression"===e.type&&s[e.operator]?ce(e.argument,t):"TSNonNullExpression"===e.type&&ce(e.expression,t)}function pe(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 he(e){return e}function de(e){return e.filepath&&/\.tsx$/i.test(e.filepath)}function fe(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 me(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return me(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return me(e.object,t);case"TaggedTemplateExpression":return"FunctionExpression"!==e.tag.type&&me(e.tag,t);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==e.callee.type&&me(e.callee,t);case"ConditionalExpression":return me(e.test,t);case"UpdateExpression":return!e.prefix&&me(e.argument,t);case"BindExpression":return e.object&&me(e.object,t);case"SequenceExpression":return me(e.expressions[0],t);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return me(e.expression,t);default:return t(e)}}var ge={"==":!0,"!=":!0,"===":!0,"!==":!0},ve={"*":!0,"/":!0,"%":!0},De={">>":!0,">>>":!0,"<<":!0};function be(e,t){return!(xe(t)!==xe(e)||"**"===e||ge[e]&&ge[t]||"%"===t&&ve[e]||"%"===e&&ve[t]||t!==e&&ve[t]&&ve[e]||De[e]&&De[t])}var Ee=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function xe(e){return Ee.get(e)}function Ce(e){return Boolean(De[e])||"|"===e||"^"===e||"&"===e}function we(e){var t;if(e.rest)return!0;let r=Se(e);return"RestElement"===(null===(t=n(r))||void 0===t?void 0:t.type)}var Ae=new WeakMap;function Se(e){if(Ae.has(e))return Ae.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),Ae.set(e,t),t}function Te(e,t){let r=e.getValue(),n=0,i=e=>t(e,n++);r.this&&e.call(i,"this"),Array.isArray(r.parameters)?e.each(i,"parameters"):Array.isArray(r.params)&&e.each(i,"params"),r.rest&&e.call(i,"rest")}var Fe=new WeakMap;function ke(e){if(Fe.has(e))return Fe.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),Fe.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 Ne(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function _e(e){return e&&(e.prettierIgnore||je(e,Ie.PrettierIgnore))}function Oe(e){return _e(e.getValue())}var Ie={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Be=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,n,i)=>!(e&Ie.Leading&&!r.leading||e&Ie.Trailing&&!r.trailing||e&Ie.Dangling&&(r.leading||r.trailing)||e&Ie.Block&&!h(r)||e&Ie.Line&&!w(r)||e&Ie.First&&0!==n||e&Ie.Last&&n!==i.length-1||e&Ie.PrettierIgnore&&!Ne(r)||t&&!t(r))};function je(e,t,r){if(!o(null==e?void 0:e.comments))return!1;let n=Be(t,r);return!n||e.comments.some(n)}function Le(e,t,r){if(!Array.isArray(null==e?void 0:e.comments))return[];let n=Be(t,r);return n?e.comments.filter(n):e.comments}var Me=(e,t)=>{let{originalText:r}=t;return a(r,c(e))};function Re(e){return Q(e)||"NewExpression"===e.type||"ImportExpression"===e.type}function $e(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)}function Ve(e){return Boolean(e.__isUsingHackPipeline)}var Ue=Symbol("ifWithoutBlockAndSameLineComment");function qe(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:Se,iterateFunctionParametersPath:Te,getCallArguments:ke,iterateCallArgumentsPath:Pe,hasRestParameter:we,getLeftSide:E,getLeftSidePathName:x,getParentExportDeclaration:T,getTypeScriptMappedTypeModifier:Z,hasFlowAnnotationComment:v,hasFlowShorthandAnnotationComment:g,hasLeadingOwnLineComment:te,hasNakedLeftSide:b,hasNode:D,hasIgnoreComment:Oe,hasNodeIgnoreComment:_e,identity:he,isBinaryish:U,isCallLikeExpression:Re,isEnabledHackPipeline:Ve,isLineComment:w,isPrettierIgnoreComment:Ne,isCallExpression:Q,isMemberExpression:K,isExportDeclaration:S,isFlowAnnotationComment:ee,isFunctionCompositionArgs:ue,isFunctionNotation:R,isFunctionOrArrowExpression:O,isGetterOrSetter:M,isJestEachTemplateLiteral:ie,isJsxNode:j,isLiteral:F,isLongCurriedCallExpression:le,isSimpleCallArgument:ce,isMemberish:q,isNumericLiteral:k,isSignedNumericLiteral:P,isObjectProperty:$e,isObjectType:_,isObjectTypePropertyAFunction:$,isSimpleType:W,isSimpleNumber:ne,isSimpleTemplateLiteral:Y,isStringLiteral:N,isStringPropSafeToUnquote:re,isTemplateOnItsOwnLine:oe,isTestCall:X,isTheOnlyJsxElementInMarkdown:L,isTSXFile:de,isTypeAnnotationAFunction:V,isNextLineEmpty:Me,needsHardlineAfterDanglingComment:ae,rawText:pe,shouldPrintComma:fe,isBitwiseOperator:Ce,shouldFlatten:be,startsWithNoLookaheadToken:me,getPrecedence:xe,hasComment:je,getComments:Le,CommentCheckFlags:Ie,markerForIfWithoutBlockAndSameLineComment:Ue,isTSTypeExpression:qe}}}),lr=b({"src/language-js/print/template-literal.js"(e,t){A();var r=N(),{getStringWidth:n,getIndentSize:i}=ye(),{builders:{join:s,hardline:o,softline:a,group:u,indent:l,align:c,lineSuffixBoundary:p,addAlignmentToDoc:h},printer:{printDocToString:d},utils:{mapDoc:f}}=H(),{isBinaryish:m,isJestEachTemplateLiteral:y,isSimpleTemplateLiteral:g,hasComment:v,isMemberExpression:D,isTSTypeExpression:b}=ur();function E(e,t,r){let n=e.getValue();if("TemplateLiteral"===n.type&&y(n,e.getParentNode())){let n=x(e,r,t);if(n)return n}let s="expressions";"TSTemplateLiteralType"===n.type&&(s="types");let o=[],f=e.map(t,s),E=g(n);return E&&(f=f.map((e=>d(e,Object.assign(Object.assign({},r),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),o.push(p,"`"),e.each((e=>{let d=e.getName();if(o.push(t()),d<f.length){let{tabWidth:t}=r,y=e.getValue(),g=i(y.value.raw,t),x=f[d];if(!E){let e=n[s][d];(v(e)||D(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||b(e)||m(e))&&(x=[l([a,x]),a])}let C=0===g&&y.value.raw.endsWith("\n")?c(Number.NEGATIVE_INFINITY,x):h(x,g,t);o.push(u(["${",C,p,"}"]))}}),"quasis"),o.push("`"),o}function x(e,t,i){let a=e.getNode(),u=a.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(u.length>1||u.some((e=>e.length>0))){t.__inJestEach=!0;let c=e.map(i,"expressions");t.__inJestEach=!1;let h=[],f=c.map((e=>"${"+d(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),m=[{hasLineBreak:!1,cells:[]}];for(let e=1;e<a.quasis.length;e++){let t=r(m),n=f[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),a.quasis[e].value.raw.includes("\n")&&m.push({hasLineBreak:!1,cells:[]})}let y=Math.max(u.length,...m.map((e=>e.cells.length))),g=Array.from({length:y}).fill(0),v=[{cells:u},...m.filter((e=>e.cells.length>0))];for(let{cells:e}of v.filter((e=>!e.hasLineBreak)))for(let[t,r]of e.entries())g[t]=Math.max(g[t],n(r));return h.push(p,"`",l([o,s(o,v.map((e=>s(" | ",e.cells.map(((t,r)=>e.hasLineBreak?t:t+" ".repeat(g[r]-n(t))))))))]),o,"`"),h}}function C(e,t){let r=e.getValue(),n=t();return v(r)&&(n=u([l([a,n]),a])),["${",n,p,"}"]}function w(e,t){return e.map((e=>C(e,t)),"expressions")}function S(e,t){return f(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:E,printTemplateExpressions:w,escapeTemplateCharacters:S,uncookTemplateElementValue:T}}}),cr=b({"src/language-js/embed/markdown.js"(e,t){A();var{builders:{indent:r,softline:n,literalline:i,dedentToRoot:s}}=H(),{escapeTemplateCharacters:o}=lr();function a(e,t,a){let l=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`")),c=u(l),p=""!==c;p&&(l=l.replace(new RegExp(`^${c}`,"gm"),""));let h=o(a(l,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",p?r([n,h]):[i,s(h)],n,"`"]}function u(e){let t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}t.exports=a}}),pr=b({"src/language-js/embed/css.js"(e,t){A();var{isNonEmptyArray:r}=ye(),{builders:{indent:n,hardline:i,softline:s},utils:{mapDoc:o,replaceEndOfLine:a,cleanDoc:u}}=H(),{printTemplateExpressions:l}=lr();function c(e,t,r){let n=e.getValue(),i=n.quasis.map((e=>e.value.raw)),s=0;return p(r(i.reduce(((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+s+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),n,l(e,t))}function p(e,t,r){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let o=h(e,r);if(!o)throw new Error("Couldn't insert all the expressions");return["`",n([i,o]),s,"`"]}function h(e,t){if(!r(t))return e;let n=0,i=o(u(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2===0?a(e):(n++,t[e]))):e));return t.length===n?i:null}t.exports=c}}),hr=b({"src/language-js/embed/graphql.js"(e,t){A();var{builders:{indent:r,join:n,hardline:i}}=H(),{escapeTemplateCharacters:s,printTemplateExpressions:o}=lr();function a(e,t,a){let l=e.getValue(),c=l.quasis.length;if(1===c&&""===l.quasis[0].value.raw.trim())return"``";let p=o(e,t),h=[];for(let r=0;r<c;r++){let e=0===r,t=r===c-1,n=l.quasis[r].value.cooked,i=n.split("\n"),o=i.length,d=p[r],f=o>2&&""===i[0].trim()&&""===i[1].trim(),m=o>2&&""===i[o-1].trim()&&""===i[o-2].trim(),y=i.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!t&&/#[^\n\r]*$/.test(i[o-1]))return null;let g=null;g=y?u(i):a(n,{parser:"graphql"},{stripTrailingHardline:!0}),g?(g=s(g,!1),!e&&f&&h.push(""),h.push(g),!t&&m&&h.push("")):!e&&!t&&f&&h.push(""),d&&h.push(d)}return["`",r([i,n(i,h)]),i,"`"]}function u(e){let t=[],r=!1,s=e.map((e=>e.trim()));for(let[n,o]of s.entries())""!==o&&(""===s[n-1]&&r?t.push([i,o]):t.push(o),r=!0);return 0===t.length?null:n(i,t)}t.exports=a}}),dr=b({"src/language-js/embed/html.js"(e,t){A();var{builders:{indent:r,line:n,hardline:i,group:s},utils:{mapDoc:o}}=H(),{printTemplateExpressions:a,uncookTemplateElementValue:u}=lr(),l=0;function c(e,t,c,p,h){let{parser:d}=h,f=e.getValue(),m=l;l=l+1>>>0;let y=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,g=f.quasis.map(((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+y(t))).join(""),v=a(e,t);if(0===v.length&&0===g.trim().length)return"``";let D=new RegExp(y("(\\d+)"),"g"),b=0,E=c(g,{parser:d,__onHtmlRoot(e){b=e.children.length}},{stripTrailingHardline:!0}),x=o(E,(e=>{if("string"!=typeof e)return e;let t=[],r=e.split(D);for(let n=0;n<r.length;n++){let e=r[n];if(n%2===0){e&&(e=u(e),p.__embeddedInHtml&&(e=e.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(e));continue}let i=Number(e);t.push(v[i])}return t})),C=/^\s/.test(g)?" ":"",w=/\s$/.test(g)?" ":"",A="ignore"===p.htmlWhitespaceSensitivity?i:C&&w?n:null;return s(A?["`",r([A,s(x)]),A,"`"]:["`",C,b>1?r(s(x)):s(x),w,"`"])}t.exports=c}}),fr=b({"src/language-js/embed.js"(e,t){A();var{hasComment:r,CommentCheckFlags:n,isObjectProperty:i}=ur(),s=cr(),o=pr(),a=hr(),u=dr();function l(e){return h(e)||y(e)||g(e)||d(e)?"css":b(e)?"graphql":x(e)?"html":f(e)?"angular":p(e)?"markdown":void 0}function c(e,t,r,n){let i=e.getValue();if("TemplateLiteral"!==i.type||C(i))return;let c=l(e);if(c){if("markdown"===c)return s(e,t,r);if("css"===c)return o(e,t,r);if("graphql"===c)return a(e,t,r);if("html"===c||"angular"===c)return u(e,t,r,n,{parser:c})}}function p(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 h(e){let t=e.getValue(),r=e.getParentNode(),n=e.getParentNode(1);return n&&t.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===n.type&&"style"===n.openingElement.name.name&&n.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 d(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>i(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...m)}function f(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...m)}var m=[(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 y(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 v(r.object)||D(r);case"CallExpression":return v(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(v(r.callee.object.object)||D(r.callee.object))||"CallExpression"===r.callee.object.type&&v(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}function g(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 v(e){return"Identifier"===e.type&&"styled"===e.name}function D(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function b(e){let t=e.getValue(),r=e.getParentNode();return E(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 E(e,t){return r(e,n.Block|n.Leading,(e=>{let{value:r}=e;return r===` ${t} `}))}function x(e){return E(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 C(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}t.exports=c}}),mr=b({"src/language-js/clean.js"(e,t){A();var r=or(),n=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),i=e=>{for(let t of e.quasis)delete t.value};function s(e,t,n){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:r,expression:a}of t.children)"JSXExpressionContainer"===r&&"TemplateLiteral"===a.type&&i(a);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&i(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,n]of t.expression.arguments[0].properties.entries())switch(r[e].key.name){case"styles":"ArrayExpression"===n.value.type&&i(n.value.elements[0]);break;case"template":"TemplateLiteral"===n.value.type&&i(n.value)}}var o;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)&&i(t.quasi),"TemplateLiteral"===e.type&&((null===(o=e.leadingComments)||void 0===o?void 0:o.some((e=>r(e)&&["GraphQL","HTML"].some((t=>e.value===` ${t} `)))))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&i(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=n,t.exports=s}}),yr={};function gr(){if(typeof Nr>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])Nr="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");Nr="LE"}}return Nr}function vr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Dr(){return[]}function br(){return 0}function Er(){return Number.MAX_VALUE}function xr(){return Number.MAX_VALUE}function Cr(){return[]}function wr(){return"Browser"}function Ar(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Sr(){}function Tr(){}function Fr(){return"javascript"}function kr(){return"browser"}function Pr(){return"/tmp"}E(yr,{EOL:()=>Or,arch:()=>Fr,cpus:()=>Cr,default:()=>Ir,endianness:()=>gr,freemem:()=>Er,getNetworkInterfaces:()=>Tr,hostname:()=>vr,loadavg:()=>Dr,networkInterfaces:()=>Sr,platform:()=>kr,release:()=>Ar,tmpDir:()=>Pr,tmpdir:()=>_r,totalmem:()=>xr,type:()=>wr,uptime:()=>br});var Nr,_r,Or,Ir,Br=D({"node-modules-polyfills:os"(){A(),Ir={EOL:Or="\n",tmpdir:_r=Pr,tmpDir:Pr,networkInterfaces:Sr,getNetworkInterfaces:Tr,release:Ar,type:wr,cpus:Cr,totalmem:xr,freemem:Er,uptime:br,loadavg:Dr,hostname:vr,endianness:gr}}}),jr=b({"node-modules-polyfills-commonjs:os"(e,t){A();var r=(Br(),w(yr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Lr=b({"node_modules/detect-newline/index.js"(e,t){A();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=b({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=jr();return t=function(){return e},e}function r(){let e=n(Lr());return r=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}A(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=d,e.parse=m,e.parseWithComments=y,e.print=g,e.strip=f;var i=/\*\/$/,s=/^\/\*\*?/,o=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,h=[];function d(e){let t=e.match(o);return t?t[0].trimLeft():""}function f(e){let t=e.match(o);return t&&t[0]?e.substring(t[0].length):e}function m(e){return y(e).pragmas}function y(e){let n=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(i,"").replace(p,"$1");let o="";for(;o!==e;)o=e,e=e.replace(l,`${n}$1 $2${n}`);e=e.replace(u,"").trimRight();let d,f=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();for(;d=c.exec(e);){let e=d[2].replace(a,"");"string"==typeof f[d[1]]||Array.isArray(f[d[1]])?f[d[1]]=h.concat(f[d[1]],e):f[d[1]]=e}return{comments:m,pragmas:f}}function g(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o="/**",a=" *",u=" */",l=Object.keys(i),c=l.map((e=>v(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${a} ${e}${s}`)).join("");if(!n){if(0===l.length)return"";if(1===l.length&&!Array.isArray(i[l[0]])){let e=i[l[0]];return`${o} ${v(l[0],e)[0]}${u}`}}let p=n.split(s).map((e=>`${a} ${e}`)).join(s)+s;return o+s+(n?p:"")+(n&&l.length?a+s:"")+c+u}function v(e,t){return h.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),Rr=b({"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)}A(),t.exports=r}}),$r=b({"src/language-js/pragma.js"(e,t){A();var{parseWithComments:r,strip:n,extract:i,print:s}=Mr(),{normalizeEndOfLine:o}=P(),a=Rr();function u(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}function l(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")}function c(e){let{shebang:t,text:r,pragmas:i,comments:a}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:c}}}),Vr=b({"src/language-js/utils/is-type-cast-comment.js"(e,t){A();var r=or();function n(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}t.exports=n}}),Ur=b({"src/language-js/comments.js"(e,t){A();var{getLast:r,hasNewline:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:s,hasNewlineInRange:o,addLeadingComment:a,addTrailingComment:u,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:p}=ye(),{getFunctionParameters:h,isPrettierIgnoreComment:d,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:y,hasIgnoreComment:g,isCallLikeExpression:v,getCallArguments:D,isCallExpression:b,isMemberExpression:E,isObjectProperty:x,isLineComment:C,getComments:w,CommentCheckFlags:S,markerForIfWithoutBlockAndSameLineComment:T}=ur(),{locStart:F,locEnd:k}=$t(),P=or(),N=Vr();function _(e){return[he,Y,V,M,R,$,W,se,re,ie,oe,ae,H,Z,ee].some((t=>t(e)))}function O(e){return[L,Y,U,oe,M,R,$,W,Z,te,ne,ie,ce,ee,fe].some((t=>t(e)))}function I(e){return[he,M,R,q,K,H,ie,Q,X,de,ee,pe].some((t=>t(e)))}function B(e,t){let r=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));r?a(r,t):l(e,t)}function j(e,t){"BlockStatement"===e.type?B(e,t):a(e,t)}function L(e){let{comment:t,followingNode:r}=e;return!(!r||!N(t))&&(a(r,t),!0)}function M(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;if("IfStatement"!==(null==n?void 0:n.type)||!i)return!1;if(")"===s(o,t,k))return u(r,t),!0;if(r===n.consequent&&i===n.alternate){if("BlockStatement"===r.type)u(r,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===r.loc.start.line;e&&i?l(r,t,T):l(n,t)}return!0}return"BlockStatement"===i.type?(B(i,t),!0):"IfStatement"===i.type?(j(i.consequent,t),!0):n.consequent===i&&(a(i,t),!0)}function R(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;return!("WhileStatement"!==(null==n?void 0:n.type)||!i)&&(")"===s(o,t,k)?(u(r,t),!0):"BlockStatement"===i.type?(B(i,t),!0):n.body===i&&(a(i,t),!0))}function $(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TryStatement"!==(null==n?void 0:n.type)&&"CatchClause"!==(null==n?void 0:n.type)||!i)&&("CatchClause"===n.type&&r?(u(r,t),!0):"BlockStatement"===i.type?(B(i,t),!0):"TryStatement"===i.type?(j(i.finalizer,t),!0):"CatchClause"===i.type&&(j(i.body,t),!0))}function V(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!E(r)||"Identifier"!==(null==n?void 0:n.type))&&(a(r,t),!0)}function U(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:s}=e,u=r&&!o(s,k(r),F(t));return!(r&&u||"ConditionalExpression"!==(null==n?void 0:n.type)&&"TSConditionalType"!==(null==n?void 0:n.type)||!i)&&(a(i,t),!0)}function q(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!(!x(n)||!n.shorthand||n.key!==r||"AssignmentPattern"!==n.value.type)&&(u(n.value.left,t),!0)}var z=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function W(e){let{comment:t,precedingNode:n,enclosingNode:i,followingNode:s}=e;if(z.has(null==i?void 0:i.type)){if(p(i.decorators)&&(!s||"Decorator"!==s.type))return u(r(i.decorators),t),!0;if(i.body&&s===i.body)return B(i.body,t),!0;if(s){if(i.superClass&&s===i.superClass&&n&&(n===i.id||n===i.typeParameters))return u(n,t),!0;for(let e of["implements","extends","mixins"])if(i[e]&&s===i[e][0])return!n||n!==i.id&&n!==i.typeParameters&&n!==i.superClass?l(i,t,e):u(n,t),!0}}return!1}var G=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function H(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!!(n&&r&&"("===s(i,t,k)&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===r.type&&n.key===r&&":"!==s(i,r,k)||"Decorator"===(null==r?void 0:r.type)&&G.has(null==n?void 0:n.type))&&(u(r,t),!0)}var J=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function X(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return"("===s(i,t,k)&&!(!r||!J.has(null==n?void 0:n.type))&&(u(r,t),!0)}function Q(e){let{comment:t,enclosingNode:r,text:n}=e;if("ArrowFunctionExpression"!==(null==r?void 0:r.type))return!1;let i=c(n,t,k);return!1!==i&&"=>"===n.slice(i,i+2)&&(l(r,t),!0)}function K(e){let{comment:t,enclosingNode:r,text:n}=e;return")"===s(n,t,k)&&(r&&(me(r)&&0===h(r).length||v(r)&&0===D(r).length)?(l(r,t),!0):("MethodDefinition"===(null==r?void 0:r.type)||"TSAbstractMethodDefinition"===(null==r?void 0:r.type))&&0===h(r.value).length&&(l(r.value,t),!0))}function Y(e){let{comment:t,precedingNode:n,enclosingNode:o,followingNode:a,text:l}=e;if("FunctionTypeParam"===(null==n?void 0:n.type)&&"FunctionTypeAnnotation"===(null==o?void 0:o.type)&&"FunctionTypeParam"!==(null==a?void 0:a.type)||("Identifier"===(null==n?void 0:n.type)||"AssignmentPattern"===(null==n?void 0:n.type))&&o&&me(o)&&")"===s(l,t,k))return u(n,t),!0;if("FunctionDeclaration"===(null==o?void 0:o.type)&&"BlockStatement"===(null==a?void 0:a.type)){let e=(()=>{let e=h(o);if(e.length>0)return i(l,k(r(e)));let t=i(l,k(o.id));return!1!==t&&i(l,t+1)})();if(F(t)>e)return B(a,t),!0}return!1}function Z(e){let{comment:t,enclosingNode:r}=e;return"LabeledStatement"===(null==r?void 0:r.type)&&(a(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)&&(u(r,t),!0)}function te(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!(b(n)&&r&&n.callee===r&&n.arguments.length>0)&&(a(n.arguments[0],t),!0)}function re(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return"UnionTypeAnnotation"===(null==n?void 0:n.type)||"TSUnionType"===(null==n?void 0:n.type)?(d(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!r&&(u(r,t),!0)):(("UnionTypeAnnotation"===(null==i?void 0:i.type)||"TSUnionType"===(null==i?void 0:i.type))&&d(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function ne(e){let{comment:t,enclosingNode:r}=e;return!!x(r)&&(a(r,t),!0)}function ie(e){let{comment:t,enclosingNode:r,followingNode:n,ast:i,isLastComment:s}=e;return i&&i.body&&0===i.body.length?(s?l(i,t):a(i,t),!0):"Program"!==(null==r?void 0:r.type)||0!==(null==r?void 0:r.body.length)||p(r.directives)?"Program"===(null==n?void 0:n.type)&&0===(null==n?void 0:n.body.length)&&"ModuleExpression"===(null==r?void 0:r.type)&&(l(n,t),!0):(s?l(r,t):a(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))&&(a(r,t),!0)}function oe(e){let{comment:t,precedingNode:r,enclosingNode:i,text:s}=e;if("ImportSpecifier"===(null==i?void 0:i.type)||"ExportSpecifier"===(null==i?void 0:i.type))return a(i,t),!0;let o="ImportSpecifier"===(null==r?void 0:r.type)&&"ImportDeclaration"===(null==i?void 0:i.type),l="ExportSpecifier"===(null==r?void 0:r.type)&&"ExportNamedDeclaration"===(null==i?void 0:i.type);return!(!o&&!l||!n(s,k(t)))&&(u(r,t),!0)}function ae(e){let{comment:t,enclosingNode:r}=e;return"AssignmentPattern"===(null==r?void 0:r.type)&&(a(r,t),!0)}var ue=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),le=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ce(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!ue.has(null==r?void 0:r.type)||!n||!le.has(n.type)&&!P(t))&&(a(n,t),!0)}function pe(e){let{comment:t,enclosingNode:r,followingNode:n,text:i}=e;return!(n||"TSMethodSignature"!==(null==r?void 0:r.type)&&"TSDeclareFunction"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||";"!==s(i,t,k))&&(u(r,t),!0)}function he(e){let{comment:t,enclosingNode:r,followingNode:n}=e;if(d(t)&&"TSMappedType"===(null==r?void 0:r.type)&&"TSTypeParameter"===(null==n?void 0:n.type)&&n.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function de(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return"TSMappedType"===(null==n?void 0:n.type)&&("TSTypeParameter"===(null==i?void 0:i.type)&&i.name?(a(i.name,t),!0):!("TSTypeParameter"!==(null==r?void 0:r.type)||!r.constraint)&&(u(r.constraint,t),!0))}function fe(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||"SwitchCase"!==r.type||r.test||!n||n!==r.consequent[0])&&("BlockStatement"===n.type&&C(t)?B(n,t):l(r,t),!0)}function me(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 ge(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===h(e.value).length&&!e.value.returnType&&!p(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function ve(e){let t=e.getValue(),r=e.getParentNode(),n=e=>y(w(e,S.Leading))||y(w(e,S.Trailing));return(t&&(f(t)||m(t)||b(r)&&n(t))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!g(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)}t.exports={handleOwnLineComment:_,handleEndOfLineComment:O,handleRemainingComment:I,getCommentChildNodes:ge,willPrintOwnComments:ve}}}),qr=b({"src/language-js/needs-parens.js"(e,t){A();var r=N(),n=ce(),{getFunctionParameters:i,getLeftSidePathName:s,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:a,hasNode:u,isBitwiseOperator:l,startsWithNoLookaheadToken:c,shouldFlatten:p,getPrecedence:h,isCallExpression:d,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:y}=ur();function g(e,t){let r=e.getParentNode();if(!r)return!1;let s=e.getName(),a=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&E(a)&&x(e))return!0;if(v(a))return!1;if("flow"!==t.parser&&o(e.getValue()))return!0;if("Identifier"===a.type){if(a.extra&&a.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(a.name)||"left"===s&&("async"===a.name&&!r.await||"let"===a.name)&&"ForOfStatement"===r.type)return!0;if("let"===a.name){var u;let t=null===(u=e.findAncestor((e=>"ForOfStatement"===e.type)))||void 0===u?void 0:u.left;if(t&&c(t,(e=>e===a)))return!0}if("object"===s&&"let"===a.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&&c(r,(e=>e===a)))return!0}return!1}if("ObjectExpression"===a.type||"FunctionExpression"===a.type||"ClassExpression"===a.type||"DoExpression"===a.type){var g;let t=null===(g=e.findAncestor((e=>"ExpressionStatement"===e.type)))||void 0===g?void 0:g.expression;if(t&&c(t,(e=>e===a)))return!0}switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===s&&("ArrowFunctionExpression"===a.type||"AssignmentExpression"===a.type||"AwaitExpression"===a.type||"BinaryExpression"===a.type||"ConditionalExpression"===a.type||"LogicalExpression"===a.type||"NewExpression"===a.type||"ObjectExpression"===a.type||"SequenceExpression"===a.type||"TaggedTemplateExpression"===a.type||"UnaryExpression"===a.type||"UpdateExpression"===a.type||"YieldExpression"===a.type||"TSNonNullExpression"===a.type))return!0;break;case"ExportDefaultDeclaration":return C(e,t)||"SequenceExpression"===a.type;case"Decorator":if("expression"===s){if(f(a)&&a.computed)return!0;let e=!1,r=!1,n=a;for(;n;)switch(n.type){case"MemberExpression":r=!0,n=n.object;break;case"CallExpression":if(r||e)return"typescript"!==t.parser;e=!0,n=n.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===s&&"SequenceExpression"!==a.type&&c(a,(e=>"ObjectExpression"===e.type)))return!0}switch(a.type){case"UpdateExpression":if("UnaryExpression"===r.type)return a.prefix&&("++"===a.operator&&"+"===r.operator||"--"===a.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return a.operator===r.operator&&("+"===a.operator||"-"===a.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"===a.operator&&D(e))return!0;if("|>"===a.operator&&a.extra&&a.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!y(a);case"ConditionalExpression":return y(a);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"===a.type||y(a));case"LogicalExpression":if("LogicalExpression"===a.type)return r.operator!==a.operator;case"BinaryExpression":{let{operator:e,type:t}=a;if(!e&&"TSTypeAssertion"!==t)return!0;let n=h(e),i=r.operator,o=h(i);return o>n||"right"===s&&o===n||o===n&&!p(i,e)||(o<n&&"%"===e?"+"===i||"-"===i:!!l(i))}default:return!1}case"SequenceExpression":switch(r.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==s;case"ArrowFunctionExpression":return"body"!==s;default:return!0}case"YieldExpression":if("UnaryExpression"===r.type||"AwaitExpression"===r.type||y(r)||"TSNonNullExpression"===r.type)return!0;case"AwaitExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"ConditionalExpression":return"test"===s;case"BinaryExpression":return!(!a.argument&&"|>"===r.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===s&&"TSConditionalType"===r.type){if("TSConditionalType"===a.type)return!0;let{typeAnnotation:e}=a.returnType||a.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&&(!a.types||a.types.length>1))return!0;case"TSInferType":if("TSInferType"===a.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&&i(a).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 a.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 a.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"===a.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||a.extra&&a.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!!n(a.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=a;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&&f(r);case"NGPipeExpression":return!("NGRoot"===r.type||"NGMicrosyntaxExpression"===r.type||"ObjectProperty"===r.type&&(!a.extra||!a.extra.parenthesized)||"ArrayExpression"===r.type||d(r)&&r.arguments[s]===a||"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&&!d(r)&&!m(r)&&"ReturnStatement"!==r.type&&"ThrowStatement"!==r.type&&"TypeCastExpression"!==r.type&&"VariableDeclarator"!==r.type&&"YieldExpression"!==r.type;case"TypeAnnotation":return"returnType"===s&&"ArrowFunctionExpression"===r.type&&b(a)}return!1}function v(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 D(e){let t=0,r=e.getValue();for(;r;){let n=e.getParentNode(t++);if(n&&"ForStatement"===n.type&&n.init===r)return!0;r=n}return!1}function b(e){return u(e,(e=>"ObjectTypeAnnotation"===e.type&&u(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}function E(e){return"ObjectExpression"===e.type}function x(e){let t=e.getValue(),n=e.getParentNode(),i=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof i&&n.arguments[i]===t&&n.arguments.length-1===i)return e.callParent(x);break;case"ObjectProperty":if("value"===i){let t=e.getParentNode(1);return r(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return e.callParent(x);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(x);break;case"UnaryExpression":if(n.prefix)return e.callParent(x)}return!1}function C(e,t){let r=e.getValue(),n=e.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===n.type||!g(e,t):!(!a(r)||"ExportDefaultDeclaration"!==n.type&&g(e,t))&&e.call((e=>C(e,t)),...s(e,r))}t.exports=g}}),zr=b({"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}}A(),t.exports=r}}),Wr=b({"src/language-js/print/html-binding.js"(e,t){A();var{builders:{join:r,line:n,group:i,softline:s,indent:o}}=H();function a(e,t,a){let u=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(u,t),"File"===u.type){if(t.__isVueForBindingLeft)return e.call((e=>{let t=r([",",n],e.map(a,"params")),{params:u}=e.getValue();return 1===u.length?t:["(",o([s,i(t)]),s,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((e=>r([",",n],e.map(a,"params"))),"program","body",0)}}function u(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return u(e.object)}return!1;case"Identifier":return!0;default:return!1}}t.exports={isVueEventBindingExpression:u,printHtmlBinding:a}}}),Gr=b({"src/language-js/print/binaryish.js"(e,t){A();var{printComments:r}=Jt(),{getLast:n}=ye(),{builders:{join:i,line:s,softline:o,group:a,indent:u,align:l,indentIfBreak:c},utils:{cleanDoc:p,getDocParts:h,isConcat:d}}=H(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:y,shouldFlatten:g,hasComment:v,CommentCheckFlags:D,isCallExpression:b,isMemberExpression:E,isObjectProperty:x,isEnabledHackPipeline:C}=ur(),w=0;function S(e,t,r){let i=e.getValue(),s=e.getParentNode(),l=e.getParentNode(1),p=i!==s.body&&("IfStatement"===s.type||"WhileStatement"===s.type||"SwitchStatement"===s.type||"DoWhileStatement"===s.type),h=C(t)&&"|>"===i.operator,d=T(e,r,t,!1,p);if(p)return d;if(h)return a(d);if(b(s)&&s.callee===i||"UnaryExpression"===s.type||E(s)&&!s.computed)return a([u([o,...d]),o]);let f="ReturnStatement"===s.type||"ThrowStatement"===s.type||"JSXExpressionContainer"===s.type&&"JSXAttribute"===l.type||"|"!==i.operator&&"JsExpressionRoot"===s.type||"NGPipeExpression"!==i.type&&("NGRoot"===s.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===s.type&&"NGMicrosyntax"===l.type&&1===l.body.length)||i===s.body&&"ArrowFunctionExpression"===s.type||i!==s.body&&"ForStatement"===s.type||"ConditionalExpression"===s.type&&"ReturnStatement"!==l.type&&"ThrowStatement"!==l.type&&!b(l)||"TemplateLiteral"===s.type,v="AssignmentExpression"===s.type||"VariableDeclarator"===s.type||"ClassProperty"===s.type||"PropertyDefinition"===s.type||"TSAbstractPropertyDefinition"===s.type||"ClassPrivateProperty"===s.type||x(s),D=m(i.left)&&g(i.operator,i.left.operator);if(f||F(i)&&!D||!F(i)&&v)return a(d);if(0===d.length)return"";let A=y(i.right),S=d.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),k=d.slice(0,-1===S?1:S+1),P=d.slice(k.length,A?-1:void 0),N=Symbol("logicalChain-"+ ++w),_=a([...k,u(P)],{id:N});if(!A)return _;let O=n(d);return a([_,c(O,{groupId:N})])}function T(e,t,n,o,c){let y=e.getValue();if(!m(y))return[a(t())];let b=[];g(y.operator,y.left.operator)?b=e.call((e=>T(e,t,n,!0,c)),"left"):b.push(a(t("left")));let E,x=F(y),w=("|>"===y.operator||"NGPipeExpression"===y.type||"|"===y.operator&&"__vue_expression"===n.parser)&&!f(n.originalText,y.right),A="NGPipeExpression"===y.type?"|":y.operator,S="NGPipeExpression"===y.type&&y.arguments.length>0?a(u([s,": ",i([s,": "],e.map(t,"arguments").map((e=>l(2,a(e)))))])):"";if(x)E=[A," ",t("right"),S];else{let r=C(n)&&"|>"===A?e.call((e=>T(e,t,n,!0,c)),"right"):t("right");E=[w?s:"",A,w?" ":s,r,S]}let k=e.getParentNode(),P=v(y.left,D.Trailing|D.Line),N=P||!(c&&"LogicalExpression"===y.type)&&k.type!==y.type&&y.left.type!==y.type&&y.right.type!==y.type;if(b.push(w?"":" ",N?a(E,{shouldBreak:P}):E),o&&v(y)){let t=p(r(e,b,n));return d(t)||"fill"===t.type?h(t):[t]}return b}function F(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||y(e.right))}t.exports={printBinaryishExpression:S,shouldInlineLogicalExpression:F}}}),Hr=b({"src/language-js/print/angular.js"(e,t){A();var{builders:{join:r,line:n,group:i}}=H(),{hasNode:s,hasComment:o,getComments:a}=ur(),{printBinaryishExpression:u}=Gr();function l(e,t,s){let l=e.getValue();if(l.type.startsWith("NG"))switch(l.type){case"NGRoot":return[s("node"),o(l.node)?" //"+a(l.node)[0].value.trimEnd():""];case"NGPipeExpression":return u(e,t,s);case"NGChainedExpression":return i(r([";",n],e.map((e=>p(e)?s():["(",s(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[l.prefix,": ",l.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":c(e.getValue(),t,l)?" ":[";",n],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(),n=c(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"),n?" ":": ",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 c(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.body[0].value}function p(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}}}),Jr=b({"src/language-js/print/jsx.js"(e,t){A();var{printComments:r,printDanglingComments:n,printCommentsSeparately:i}=Jt(),{builders:{line:s,hardline:o,softline:a,group:u,indent:l,conditionalGroup:c,fill:p,ifBreak:h,lineSuffixBoundary:d,join:f},utils:{willBreak:m}}=H(),{getLast:y,getPreferredQuote:g}=ye(),{isJsxNode:v,rawText:D,isCallExpression:b,isStringLiteral:E,isBinaryish:x,hasComment:C,CommentCheckFlags:w,hasNodeIgnoreComment:S}=ur(),T=qr(),{willPrintOwnComments:F}=Ur(),k=e=>""===e||e===s||e===o||e===a;function P(e,t,r){let n=e.getValue();if("JSXElement"===n.type&&K(n))return[r("openingElement"),r("closingElement")];let i="JSXElement"===n.type?r("openingElement"):r("openingFragment"),s="JSXElement"===n.type?r("closingElement"):r("closingFragment");if(1===n.children.length&&"JSXExpressionContainer"===n.children[0].type&&("TemplateLiteral"===n.children[0].expression.type||"TaggedTemplateExpression"===n.children[0].expression.type))return[i,...e.map(r,"children"),s];n.children=n.children.map((e=>Z(e)?{type:"JSXText",value:" ",raw:" "}:e));let d=n.children.some(v),f=n.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,g="JSXElement"===n.type&&n.openingElement.attributes.length>1,D=m(i)||d||g||f,b="mdx"===e.getParentNode().rootMarker,E=t.singleQuote?"{' '}":'{" "}',x=b?" ":h([E,a]," "),C=N(e,t,r,x,n.openingElement&&n.openingElement.name&&"fbt"===n.openingElement.name.name),w=n.children.some((e=>Y(e)));for(let u=C.length-2;u>=0;u--){let e=""===C[u]&&""===C[u+1],t=C[u]===o&&""===C[u+1]&&C[u+2]===o,r=(C[u]===a||C[u]===o)&&""===C[u+1]&&C[u+2]===x,n=C[u]===x&&""===C[u+1]&&(C[u+2]===a||C[u+2]===o),i=C[u]===x&&""===C[u+1]&&C[u+2]===x,s=C[u]===a&&""===C[u+1]&&C[u+2]===o||C[u]===o&&""===C[u+1]&&C[u+2]===a;t&&w||e||r||i||s?C.splice(u,2):n&&C.splice(u+1,2)}for(;C.length>0&&k(y(C));)C.pop();for(;C.length>1&&k(C[0])&&k(C[1]);)C.shift(),C.shift();let A=[];for(let[a,u]of C.entries()){if(u===x){if(1===a&&""===C[a-1]){if(2===C.length){A.push(E);continue}A.push([E,o]);continue}if(a===C.length-1){A.push(E);continue}if(""===C[a-1]&&C[a-2]===o){A.push(E);continue}}A.push(u),m(u)&&(D=!0)}let S=w?p(A):u(A,{shouldBreak:!0});if(b)return S;let T=u([i,l([o,S]),o,s]);return D?T:c([u([i,...C,s]),T])}function N(e,t,r,n,i){let a=[];return e.each(((e,t,u)=>{let l=e.getValue();if("JSXText"===l.type){let e=D(l);if(Y(l)){let r,o=e.split(J);if(""===o[0]){if(a.push(""),o.shift(),/\n/.test(o[0])){let e=u[t+1];a.push(O(i,o[1],l,e))}else a.push(n);o.shift()}if(""===y(o)&&(o.pop(),r=o.pop()),0===o.length)return;for(let[e,t]of o.entries())e%2===1?a.push(s):a.push(t);if(void 0!==r)if(/\n/.test(r)){let e=u[t+1];a.push(O(i,y(a),l,e))}else a.push(n);else{let e=u[t+1];a.push(_(i,y(a),l,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&a.push("",o):a.push("",n)}else{let e=r();a.push(e);let n=u[t+1];if(n&&Y(n)){let e=Q(D(n)).split(J)[0];a.push(_(i,e,l,n))}else a.push(o)}}),"children"),a}function _(e,t,r,n){return e?"":"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?1===t.length?a:o:a}function O(e,t,r,n){return e?o:1===t.length?"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?o:a:o}function I(e,t,r){let n=e.getParentNode();if(!n||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[n.type])return t;let i=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),b,(e=>"JSXExpressionContainer"===e.type)),s=T(e,r);return u([s?"":h("("),l([a,t]),a,s?"":h(")")],{shouldBreak:i})}function B(e,t,r){let n=e.getValue(),s=[];if(s.push(r("name")),n.value){let o;if(E(n.value)){let r=D(n.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:s,quote:a,regex:u}=g(r,t.jsxSingleQuote?"'":'"');r=r.replace(u,s);let{leading:l,trailing:c}=e.call((()=>i(e,t)),"value");o=[l,a,r,a,c]}else o=r("value");s.push("=",o)}return s}function j(e,t,r){let n=e.getValue(),i=(e,t)=>"JSXEmptyExpression"===e.type||!C(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(i(e.argument,e)||"JSXElement"===e.argument.type)||b(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||v(t)&&("ConditionalExpression"===e.type||x(e)));return i(n.expression,e.getParentNode(0))?u(["{",r("expression"),d,"}"]):u(["{",l([a,r("expression")]),a,d,"}"])}function L(e,t,r){let n=e.getValue(),i=n.name&&C(n.name)||n.typeParameters&&C(n.typeParameters);if(n.selfClosing&&0===n.attributes.length&&!i)return["<",r("name"),r("typeParameters")," />"];if(n.attributes&&1===n.attributes.length&&n.attributes[0].value&&E(n.attributes[0].value)&&!n.attributes[0].value.value.includes("\n")&&!i&&!C(n.attributes[0]))return u(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let a=n.attributes&&n.attributes.some((e=>e.value&&E(e.value)&&e.value.value.includes("\n"))),c=t.singleAttributePerLine&&n.attributes.length>1?o:s;return u(["<",r("name"),r("typeParameters"),l(e.map((()=>[c,r()]),"attributes")),...M(n,t,i)],{shouldBreak:a})}function M(e,t,r){return e.selfClosing?[s,"/>"]:R(e,t,r)?[">"]:[a,">"]}function R(e,t,r){let n=e.attributes.length>0&&C(y(e.attributes),w.Trailing);return 0===e.attributes.length&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}function $(e,t,r){let n=e.getValue(),i=[];i.push("</");let s=r("name");return C(n.name,w.Leading|w.Line)?i.push(l([o,s]),o):C(n.name,w.Leading|w.Block)?i.push(" ",s):i.push(s),i.push(">"),i}function V(e,t){let r=e.getValue(),i=C(r),s=C(r,w.Line),a="JSXOpeningFragment"===r.type;return[a?"<":"</",l([s?o:i&&!a?" ":"",n(e,t,!0)]),s?o:"",">"]}function U(e,t,n){return I(e,r(e,P(e,t,n),t),t)}function q(e,t){let r=e.getValue(),i=C(r,w.Line);return[n(e,t,!i),i?o:""]}function z(e,t,n){let i=e.getValue();return["{",e.call((e=>{let i=["...",n()],s=e.getValue();return C(s)&&F(e)?[l([a,r(e,i,t)]),a]:i}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}function W(e,t,r){let n=e.getValue();if(n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return B(e,t,r);case"JSXIdentifier":return String(n.name);case"JSXNamespacedName":return f(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return f(".",[r("object"),r("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return z(e,t,r);case"JSXExpressionContainer":return j(e,t,r);case"JSXFragment":case"JSXElement":return U(e,t,r);case"JSXOpeningElement":return L(e,t,r);case"JSXClosingElement":return $(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return V(e,t);case"JSXEmptyExpression":return q(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(n.type)}.`)}}var G=" \n\r\t",J=new RegExp("(["+G+"]+)"),X=new RegExp("[^"+G+"]"),Q=e=>e.replace(new RegExp("(?:^"+J.source+"|"+J.source+"$)"),"");function K(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return"JSXText"===t.type&&!Y(t)}function Y(e){return"JSXText"===e.type&&(X.test(D(e))||!/\n/.test(D(e)))}function Z(e){return"JSXExpressionContainer"===e.type&&E(e.expression)&&" "===e.expression.value&&!C(e.expression)}function ee(e){let t=e.getValue(),r=e.getParentNode();if(!r||!t||!v(t)||!v(r))return!1;let n=null;for(let i=r.children.indexOf(t);i>0;i--){let e=r.children[i-1];if("JSXText"!==e.type||Y(e)){n=e;break}}return n&&"JSXExpressionContainer"===n.type&&"JSXEmptyExpression"===n.expression.type&&S(n.expression)}t.exports={hasJsxIgnoreComment:ee,printJsx:W}}}),Xr=b({"src/language-js/print/misc.js"(e,t){A();var{isNonEmptyArray:r}=ye(),{builders:{indent:n,join:i,line:s}}=H(),{isFlowAnnotationComment:o}=ur();function a(e){let t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}function u(e){return e.getValue().definite||e.match(void 0,((e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite))?"!":""}function l(e,t,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""}function c(e,t,r){let n=e.getValue();if(!n.typeAnnotation)return"";let i=e.getParentNode(),s="DeclareFunction"===i.type&&i.id===n;return o(t.originalText,n.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[s?"":": ",r("typeAnnotation")]}function p(e,t,r){return["::",r("callee")]}function h(e,t,n){let s=e.getValue();return r(s.modifiers)?[i(" ",e.map(n,"modifiers"))," "]:""}function d(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:n([s,t])}function f(e,t,r){return["...",r("argument"),c(e,t,r)]}function m(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}t.exports={printOptionalToken:a,printDefiniteToken:u,printFunctionTypeParameters:l,printBindExpressionCallee:p,printTypeScriptModifiers:h,printTypeAnnotation:c,printRestSpread:f,adjustClause:d,printDirective:m}}}),Qr=b({"src/language-js/print/array.js"(e,t){A();var{printDanglingComments:r}=Jt(),{builders:{line:n,softline:i,hardline:s,group:o,indent:a,ifBreak:u,fill:l}}=H(),{getLast:c,hasNewline:p}=ye(),{shouldPrintComma:h,hasComment:d,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:y,isSignedNumericLiteral:g}=ur(),{locStart:v}=$t(),{printOptionalToken:D,printTypeAnnotation:b}=Xr();function E(e,t,n){let s=e.getValue(),l=[],p="TupleExpression"===s.type?"#[":"[",m="]";if(0===s.elements.length)d(s,f.Dangling)?l.push(o([p,r(e,t),i,m])):l.push(p,m);else{let d=c(s.elements),f=!(d&&"RestElement"===d.type),y=null===d,g=Symbol("array"),v=!t.__inJestEach&&s.elements.length>1&&s.elements.every(((e,t,r)=>{let n=e&&e.type;if("ArrayExpression"!==n&&"ObjectExpression"!==n)return!1;let i=r[t+1];if(i&&n!==i.type)return!1;let s="ArrayExpression"===n?"elements":"properties";return e[s]&&e[s].length>1})),D=x(s,t),b=f?y?",":h(t)?D?u(",","",{groupId:g}):u(","):"":"";l.push(o([p,a([i,D?w(e,t,n,b):[C(e,t,"elements",n),b],r(e,t,!0)]),i,m],{shouldBreak:v,id:g}))}return l.push(D(e),b(e,t,n)),l}function x(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(y(e)||g(e)&&!d(e.argument))&&!d(e,f.Trailing|f.Line,(e=>!p(t.originalText,v(e),{backwards:!0})))))}function C(e,t,r,s){let a=[],u=[];return e.each((e=>{a.push(u,o(s())),u=[",",n],e.getValue()&&m(e.getValue(),t)&&u.push(i)}),r),a}function w(e,t,r,i){let o=[];return e.each(((e,a,u)=>{let l=a===u.length-1;o.push([r(),l?i:","]),l||o.push(m(e.getValue(),t)?[s,s]:d(u[a+1],f.Leading|f.Line)?s:n)}),"elements"),l(o)}t.exports={printArray:E,printArrayItems:C,isConciselyPrintedArray:x}}}),Kr=b({"src/language-js/print/call-arguments.js"(e,t){A();var{printDanglingComments:r}=Jt(),{getLast:n,getPenultimate:i}=ye(),{getFunctionParameters:s,hasComment:o,CommentCheckFlags:a,isFunctionCompositionArgs:u,isJsxNode:l,isLongCurriedCallExpression:c,shouldPrintComma:p,getCallArguments:h,iterateCallArgumentsPath:d,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:y,isObjectProperty:g,isTSTypeExpression:v}=ur(),{builders:{line:D,hardline:b,softline:E,group:x,indent:C,conditionalGroup:w,ifBreak:S,breakParent:T},utils:{willBreak:F}}=H(),{ArgExpansionBailout:k}=Me(),{isConciselyPrintedArray:P}=Qr();function N(e,t,i){let s=e.getValue(),o="ImportExpression"===s.type,a=h(s);if(0===a.length)return["(",r(e,t,!0),")"];if(B(a))return["(",i(["arguments",0]),", ",i(["arguments",1]),")"];let l=!1,m=!1,y=a.length-1,g=[];d(e,((e,r)=>{let n=e.getNode(),s=[i()];r===y||(f(n,t)?(0===r&&(m=!0),l=!0,s.push(",",b,b)):s.push(",",D)),g.push(s)}));let v=o||s.callee&&"Import"===s.callee.type||!p(t,"all")?"":",";function A(){return x(["(",C([D,...g]),v,D,")"],{shouldBreak:!0})}if(l||"Decorator"!==e.getParentNode().type&&u(a))return A();let P=I(a),N=O(a,t);if(P||N){if(P?g.slice(1).some(F):g.slice(0,-1).some(F))return A();let t=[];try{e.try((()=>{d(e,((e,r)=>{P&&0===r&&(t=[[i([],{expandFirstArg:!0}),g.length>1?",":"",m?b:D,m?b:""],...g.slice(1)]),N&&r===y&&(t=[...g.slice(0,-1),i([],{expandLastArg:!0})])}))}))}catch(j){if(j instanceof k)return A();throw j}return[g.some(F)?T:"",w([["(",...t,")"],P?["(",x(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...g.slice(0,-1),x(n(t),{shouldBreak:!0}),")"],A()])]}let _=["(",C([E,...g]),S(v),E,")"];return c(e)?_:x(_,{shouldBreak:g.some(F)||l})}function _(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||o(e))||"ArrayExpression"===e.type&&(e.elements.length>0||o(e))||"TSTypeAssertion"===e.type&&_(e.expression)||v(e)&&_(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||j(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&_(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(m(e.body)||"ConditionalExpression"===e.body.type)||l(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function O(e,t){let r=n(e),s=i(e);return!o(r,a.Leading)&&!o(r,a.Trailing)&&_(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 I(e){if(2!==e.length)return!1;let[t,r]=e;return!("ModuleExpression"!==t.type||!L(r))||!o(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!_(r)}function B(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=>o(e)))}function j(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||o(e,a.Dangling))}function L(e){return"ObjectExpression"===e.type&&1===e.properties.length&&g(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&y(e.properties[0].value)&&"module"===e.properties[0].value.value}t.exports=N}}),Yr=b({"src/language-js/print/member.js"(e,t){A();var{builders:{softline:r,group:n,indent:i,label:s}}=H(),{isNumericLiteral:o,isMemberExpression:a,isCallExpression:u}=ur(),{printOptionalToken:l}=Xr();function c(e,t,o){let l,c=e.getValue(),h=e.getParentNode(),d=0;do{l=e.getParentNode(d),d++}while(l&&(a(l)||"TSNonNullExpression"===l.type));let f=o("object"),m=p(e,t,o),y=l&&("NewExpression"===l.type||"BindExpression"===l.type||"AssignmentExpression"===l.type&&"Identifier"!==l.left.type)||c.computed||"Identifier"===c.object.type&&"Identifier"===c.property.type&&!a(h)||("AssignmentExpression"===h.type||"VariableDeclarator"===h.type)&&(u(c.object)&&c.object.arguments.length>0||"TSNonNullExpression"===c.object.type&&u(c.object.expression)&&c.object.expression.arguments.length>0||"member-chain"===f.label);return s("member-chain"===f.label?"member-chain":"member",[f,y?m:n(i([r,m]))])}function p(e,t,s){let a=s("property"),u=e.getValue(),c=l(e);return u.computed?!u.property||o(u.property)?[c,"[",a,"]"]:n([c,"[",i([r,a]),r,"]"]):[c,".",a]}t.exports={printMemberExpression:c,printMemberLookup:p}}}),Zr=b({"src/language-js/print/member-chain.js"(e,t){A();var{printComments:r}=Jt(),{getLast:n,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:s}=ye(),o=qr(),{isCallExpression:a,isMemberExpression:u,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:c,isMemberish:p,isNumericLiteral:h,isSimpleCallArgument:d,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:y}=ur(),{locEnd:g}=$t(),{builders:{join:v,hardline:D,group:b,indent:E,conditionalGroup:x,breakParent:C,label:w},utils:{willBreak:S}}=H(),T=Kr(),{printMemberLookup:F}=Yr(),{printOptionalToken:k,printFunctionTypeParameters:P,printBindExpressionCallee:N}=Xr();function _(e,t,A){let _=e.getParentNode(),O=!_||"ExpressionStatement"===_.type,I=[];function B(e){let{originalText:r}=t,n=s(r,e,g);return")"===r.charAt(n)?!1!==n&&i(r,n+1):y(e,t)}function j(e){let n=e.getValue();a(n)&&(p(n.callee)||a(n.callee))?(I.unshift({node:n,printed:[r(e,[k(e),P(e,t,A),T(e,t,A)],t),B(n)?D:""]}),e.call((e=>j(e)),"callee")):p(n)?(I.unshift({node:n,needsParens:o(e,t),printed:r(e,u(n)?F(e,t,A):N(e,t,A),t)}),e.call((e=>j(e)),"object")):"TSNonNullExpression"===n.type?(I.unshift({node:n,printed:r(e,"!",t)}),e.call((e=>j(e)),"expression")):I.unshift({node:n,printed:A()})}let L=e.getValue();I.unshift({node:L,printed:[k(e),P(e,t,A),T(e,t,A)]}),L.callee&&e.call((e=>j(e)),"callee");let M=[],R=[I[0]],$=1;for(;$<I.length&&("TSNonNullExpression"===I[$].node.type||a(I[$].node)||u(I[$].node)&&I[$].node.computed&&h(I[$].node.property));++$)R.push(I[$]);if(!a(I[0].node))for(;$+1<I.length&&p(I[$].node)&&p(I[$+1].node);++$)R.push(I[$]);M.push(R),R=[];let V=!1;for(;$<I.length;++$){if(V&&p(I[$].node)){if(I[$].node.computed&&h(I[$].node.property)){R.push(I[$]);continue}M.push(R),R=[],V=!1}(a(I[$].node)||"ImportExpression"===I[$].node.type)&&(V=!0),R.push(I[$]),f(I[$].node,m.Trailing)&&(M.push(R),R=[],V=!1)}function U(e){return/^[A-Z]|^[$_]+$/.test(e)}function q(e){return e.length<=t.tabWidth}function z(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&&(U(r.name)||O&&q(r.name)||t)}let r=n(e[0]).node;return u(r)&&"Identifier"===r.property.type&&(U(r.property.name)||t)}R.length>0&&M.push(R);let W=M.length>=2&&!f(M[1][0].node)&&z(M);function G(e){let t=e.map((e=>e.printed));return e.length>0&&n(e).needsParens?["(",...t,")"]:t}function H(e){return 0===e.length?"":E(b([D,v(D,e.map(G))]))}let J=M.map(G),X=J,Q=W?3:2,K=M.flat(),Y=K.slice(1,-1).some((e=>f(e.node,m.Leading)))||K.slice(0,-1).some((e=>f(e.node,m.Trailing)))||M[Q]&&f(M[Q][0].node,m.Leading);if(M.length<=Q&&!Y)return c(e)?X:b(X);let Z,ee=n(M[W?1:0]).node,te=!a(ee)&&B(ee),re=[G(M[0]),W?M.slice(1,2).map(G):"",te?D:"",H(M.slice(W?2:1))],ne=I.map((e=>{let{node:t}=e;return t})).filter(a);function ie(){let e=n(n(M)).node,t=n(J);return a(e)&&S(t)&&ne.slice(0,-1).some((e=>e.arguments.some(l)))}return Z=Y||ne.length>2&&ne.some((e=>!e.arguments.every((e=>d(e,0)))))||J.slice(0,-1).some(S)||ie()?b(re):[S(X)||te?C:"",x([X,re])],w("member-chain",Z)}t.exports=_}}),en=b({"src/language-js/print/call-expression.js"(e,t){A();var{builders:{join:r,group:n}}=H(),i=qr(),{getCallArguments:s,hasFlowAnnotationComment:o,isCallExpression:a,isMemberish:u,isStringLiteral:l,isTemplateOnItsOwnLine:c,isTestCall:p,iterateCallArgumentsPath:h}=ur(),d=Zr(),f=Kr(),{printOptionalToken:m,printFunctionTypeParameters:y}=Xr();function g(e,t,l){let g=e.getValue(),D=e.getParentNode(),b="NewExpression"===g.type,E="ImportExpression"===g.type,x=m(e),C=s(g);if(C.length>0&&(!E&&!b&&v(g,D)||1===C.length&&c(C[0],t.originalText)||!b&&p(g,D))){let n=[];return h(e,(()=>{n.push(l())})),[b?"new ":"",l("callee"),x,y(e,t,l),"(",r(", ",n),")"]}let w=("babel"===t.parser||"babel-flow"===t.parser)&&g.callee&&"Identifier"===g.callee.type&&o(g.callee.trailingComments);if(w&&(g.callee.trailingComments[0].printed=!0),!E&&!b&&u(g.callee)&&!e.call((e=>i(e,t)),"callee"))return d(e,t,l);let A=[b?"new ":"",E?"import":l("callee"),x,w?`/*:: ${g.callee.trailingComments[0].value.slice(2).trim()} */`:"",y(e,t,l),f(e,t,l)];return E||a(g.callee)?n(A):A}function v(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:g}}}),tn=b({"src/language-js/print/assignment.js"(e,t){A();var{isNonEmptyArray:r,getStringWidth:n}=ye(),{builders:{line:i,group:s,indent:o,indentIfBreak:a,lineSuffixBoundary:u},utils:{cleanDoc:l,willBreak:c,canBreak:p}}=H(),{hasLeadingOwnLineComment:h,isBinaryish:d,isStringLiteral:f,isLiteral:m,isNumericLiteral:y,isCallExpression:g,isMemberExpression:v,getCallArguments:D,rawText:b,hasComment:E,isSignedNumericLiteral:x,isObjectProperty:C}=ur(),{shouldInlineLogicalExpression:w}=Gr(),{printCallExpression:S}=en();function T(e,t,r,n,l,c){let p=P(e,t,r,n,c),h=r(c,{assignmentLayout:p});switch(p){case"break-after-operator":return s([s(n),l,s(o([i,h]))]);case"never-break-after-operator":return s([s(n),l," ",h]);case"fluid":{let e=Symbol("assignment");return s([s(n),l,s(o(i),{id:e}),u,a(h,{groupId:e})])}case"break-lhs":return s([n,l," ",s(h)]);case"chain":return[s(n),l,i,h];case"chain-tail":return[s(n),l,o([i,h])];case"chain-tail-arrow-chain":return[s(n),l,h];case"only-left":return n}}function F(e,t,r){let n=e.getValue();return T(e,t,r,r("left"),[" ",n.operator],"right")}function k(e,t,r){return T(e,t,r,r("id")," =","init")}function P(e,t,r,n,i){let s=e.getValue(),o=s[i];if(!o)return"only-left";let a=!O(o);if(e.match(O,I,(e=>!a||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return a?"ArrowFunctionExpression"===o.type&&"ArrowFunctionExpression"===o.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!a&&O(o.right)||h(t.originalText,o))return"break-after-operator";if("CallExpression"===o.type&&"require"===o.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(_(s)||B(s)||M(s)||R(s)&&p(n))return"break-lhs";let u=W(s,n,t);return e.call((()=>N(e,t,r,u)),i)?"break-after-operator":u||"TemplateLiteral"===o.type||"TaggedTemplateExpression"===o.type||"BooleanLiteral"===o.type||y(o)||"ClassExpression"===o.type?"never-break-after-operator":"fluid"}function N(e,t,n,i){let s=e.getValue();if(d(s)&&!w(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=s;return d(e)&&!w(e)}case"ClassExpression":return r(s.decorators)}if(i)return!1;let o=s,a=[];for(;;)if("UnaryExpression"===o.type)o=o.argument,a.push("argument");else{if("TSNonNullExpression"!==o.type)break;o=o.expression,a.push("expression")}return!(!f(o)&&!e.call((()=>U(e,t,n)),...a))}function _(e){if(I(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>C(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)))}return!1}function O(e){return"AssignmentExpression"===e.type}function I(e){return O(e)||"VariableDeclarator"===e.type}function B(e){let t=j(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 j(e){return L(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function L(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 n=$(t.typeAnnotation);return r(n)&&n.length>1&&n.some((e=>r($(e))||"TSConditionalType"===e.type))}function R(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function $(e){return V(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function V(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}function U(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.getValue(),s=()=>U(e,t,r,!0);if("TSNonNullExpression"===i.type)return e.call(s,"expression");if(g(i)){if("member-chain"===S(e,t,r).label)return!1;let n=D(i);return!(!(0===n.length||1===n.length&&z(n[0],t))||G(i,r))&&e.call(s,"callee")}return v(i)?e.call(s,"object"):n&&("Identifier"===i.type||"ThisExpression"===i.type)}var q=.25;function z(e,t){let{printWidth:r}=t;if(E(e))return!1;let n=r*q;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||x(e)&&!E(e.argument))return!0;let i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=n:f(e)?b(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):m(e)}function W(e,t,r){if(!C(e))return!1;let i=3;return"string"==typeof(t=l(t))&&n(t)<r.tabWidth+i}function G(e,t){let n=J(e);if(r(n)){if(n.length>1)return!0;if(1===n.length){let e=n[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(c(t(r)))return!0}return!1}function J(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}t.exports={printVariableDeclarator:k,printAssignmentExpression:F,printAssignment:T,isArrowFunctionVariableDeclarator:R}}}),rn=b({"src/language-js/print/function-parameters.js"(e,t){A();var{getNextNonSpaceNonCommentCharacter:r}=ye(),{printDanglingComments:n}=Jt(),{builders:{line:i,hardline:s,softline:o,group:a,indent:u,ifBreak:l},utils:{removeLines:c,willBreak:p}}=H(),{getFunctionParameters:h,iterateFunctionParametersPath:d,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:y,isObjectType:g,isObjectTypePropertyAFunction:v,hasRestParameter:D,shouldPrintComma:b,hasComment:E,isNextLineEmpty:x}=ur(),{locEnd:C}=$t(),{ArgExpansionBailout:w}=Me(),{printFunctionTypeParameters:S}=Xr();function T(e,t,g,E,A){let T=e.getValue(),k=h(T),P=A?S(e,g,t):"";if(0===k.length)return[P,"(",n(e,g,!0,(e=>")"===r(g.originalText,e,C))),")"];let N=e.getParentNode(),_=m(N),O=F(T),I=[];if(d(e,((e,r)=>{let n=r===k.length-1;n&&T.rest&&I.push("..."),I.push(t()),!n&&(I.push(","),_||O?I.push(" "):x(k[r],g)?I.push(s,s):I.push(i))})),E){if(p(P)||p(I))throw new w;return a([c(P),"(",c(I),")"])}let B=k.every((e=>!e.decorators));return O&&B||_?[P,"(",...I,")"]:(v(N)||y(N)||"TypeAlias"===N.type||"UnionTypeAnnotation"===N.type||"TSUnionType"===N.type||"IntersectionTypeAnnotation"===N.type||"FunctionTypeAnnotation"===N.type&&N.returnType===T)&&1===k.length&&null===k[0].name&&T.this!==k[0]&&k[0].typeAnnotation&&null===T.typeParameters&&f(k[0].typeAnnotation)&&!T.rest?"always"===g.arrowParens?["(",...I,")"]:I:[P,"(",u([o,...I]),l(!D(T)&&b(g,"all")?",":""),o,")"]}function F(e){if(!e)return!1;let t=h(e);if(1!==t.length)return!1;let[r]=t;return!E(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&g(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&g(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 k(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=k(e);if(!r)return!1;let n=e.typeParameters&&e.typeParameters.params;if(n){if(n.length>1)return!1;if(1===n.length){let e=n[0];if(e.constraint||e.default)return!1}}return 1===h(e).length&&(g(r)||p(t))}t.exports={printFunctionParameters:T,shouldHugFunctionParameters:F,shouldGroupFunctionParameters:P}}}),nn=b({"src/language-js/print/type-annotation.js"(e,t){A();var{printComments:r,printDanglingComments:n}=Jt(),{isNonEmptyArray:i}=ye(),{builders:{group:s,join:o,line:a,softline:u,indent:l,align:c,ifBreak:p}}=H(),h=qr(),{locStart:d}=$t(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:y,isObjectTypePropertyAFunction:g,shouldPrintComma:v}=ur(),{printAssignment:D}=tn(),{printFunctionParameters:b,shouldGroupFunctionParameters:E}=rn(),{printArrayItems:x}=Qr();function C(e){if(f(e)||m(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 w(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];return s.push("opaque type ",r("id"),r("typeParameters")),i.supertype&&s.push(": ",r("supertype")),i.impltype&&s.push(" = ",r("impltype")),s.push(n),s}function S(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];i.declare&&s.push("declare "),s.push("type ",r("id"),r("typeParameters"));let o="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[D(e,t,r,s," =",o),n]}function T(e,t,r){let n=e.getValue(),i=e.map(r,"types"),o=[],u=!1;for(let s=0;s<i.length;++s)0===s?o.push(i[s]):m(n.types[s-1])&&m(n.types[s])?o.push([" & ",u?l(i[s]):i[s]]):m(n.types[s-1])||m(n.types[s])?(s>1&&(u=!0),o.push(" & ",s>1?l(i[s]):i[s])):o.push(l([" &",a,i[s]]));return s(o)}function F(e,t,n){let i=e.getValue(),d=e.getParentNode(),f="TypeParameterInstantiation"!==d.type&&"TSTypeParameterInstantiation"!==d.type&&"GenericTypeAnnotation"!==d.type&&"TSTypeReference"!==d.type&&"TSTypeAssertion"!==d.type&&"TupleTypeAnnotation"!==d.type&&"TSTupleType"!==d.type&&!("FunctionTypeParam"===d.type&&!d.name&&e.getParentNode(1).this!==d)&&!(("TypeAlias"===d.type||"VariableDeclarator"===d.type||"TSTypeAliasDeclaration"===d.type)&&y(t.originalText,i)),m=C(i),g=e.map((e=>{let i=n();return m||(i=c(2,i)),r(e,i,t)}),"types");if(m)return o(" | ",g);let v=f&&!y(t.originalText,i),D=[p([v?a:"","| "]),o([a,"| "],g)];return h(e,t)?s([l(D),u]):"TupleTypeAnnotation"===d.type&&d.types.length>1||"TSTupleType"===d.type&&d.elementTypes.length>1?s([l([p(["(",u]),D]),u,p(")")]):s(f?l(D):D)}function k(e,t,r){let n=e.getValue(),i=[],o=e.getParentNode(0),a=e.getParentNode(1),u=e.getParentNode(2),l="TSFunctionType"===n.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&d(o)===d(n)||"ObjectTypeCallProperty"===o.type||u&&"DeclareFunction"===u.type),c=l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type),p=c&&l&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===a.type;g(o)&&(l=!0,c=!0),p&&i.push("(");let h=b(e,r,t,!1,!0),f=n.returnType||n.predicate||n.typeAnnotation?[l?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",m=E(n,f);return i.push(m?s(h):h),f&&i.push(f),p&&i.push(")"),s(i)}function P(e,t,r){let o=e.getValue(),a="TSTupleType"===o.type?"elementTypes":"types",c=o[a],h=i(c),d=h?u:"";return s(["[",l([d,x(e,t,a,r)]),p(h&&v(t,"all")?",":""),n(e,t,!0),d,"]"])}function N(e,t,r){let n=e.getValue(),i="OptionalIndexedAccessType"===n.type&&n.optional?"?.[":"[";return[r("objectType"),i,r("indexType"),"]"]}function _(e,t,r){let n=e.getValue();return[n.postfix?"":r,t("typeAnnotation"),n.postfix?r:""]}t.exports={printOpaqueType:w,printTypeAlias:S,printIntersectionType:T,printUnionType:F,printFunctionType:k,printTupleType:P,printIndexedAccessType:N,shouldHugType:C,printJSDocType:_}}}),sn=b({"src/language-js/print/type-parameters.js"(e,t){A();var{printDanglingComments:r}=Jt(),{builders:{join:n,line:i,hardline:s,softline:o,group:a,indent:u,ifBreak:l}}=H(),{isTestCall:c,hasComment:p,CommentCheckFlags:h,isTSXFile:d,shouldPrintComma:f,getFunctionParameters:m,isObjectType:y,getTypeScriptMappedTypeModifier:g}=ur(),{createGroupIdMapper:v}=ye(),{shouldHugType:D}=nn(),{isArrowFunctionVariableDeclarator:b}=tn(),E=v("typeParameters");function x(e,t,r,s){let p=e.getValue();if(!p[s])return"";if(!Array.isArray(p[s]))return r(s);let h=e.getNode(2),g=h&&c(h),v=e.match((e=>!(1===e[s].length&&y(e[s][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),b);if(0===p[s].length||!v&&(g||1===p[s].length&&("NullableTypeAnnotation"===p[s][0].type||D(p[s][0]))))return["<",n(", ",e.map(r,s)),C(e,t),">"];let x="TSTypeParameterInstantiation"===p.type?"":1===m(p).length&&d(t)&&!p[s][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?l(","):"";return a(["<",u([o,n([",",i],e.map(r,s))]),x,o,">"],{id:E(p)})}function C(e,t){let n=e.getValue();if(!p(n,h.Dangling))return"";let i=!p(n,h.Line),o=r(e,t,i);return i?o:[o,s]}function w(e,t,r){let n=e.getValue(),i=["TSTypeParameter"===n.type&&n.const?"const ":""],s=e.getParentNode();return"TSMappedType"===s.type?(s.readonly&&i.push(g(s.readonly,"readonly")," "),i.push("[",r("name")),n.constraint&&i.push(" in ",r("constraint")),s.nameType&&i.push(" as ",e.callParent((()=>r("nameType")))),i.push("]"),i):(n.variance&&i.push(r("variance")),n.in&&i.push("in "),n.out&&i.push("out "),i.push(r("name")),n.bound&&i.push(": ",r("bound")),n.constraint&&i.push(" extends ",r("constraint")),n.default&&i.push(" = ",r("default")),i)}t.exports={printTypeParameter:w,printTypeParameters:x,getTypeParametersGroupId:E}}}),on=b({"src/language-js/print/property.js"(e,t){A();var{printComments:r}=Jt(),{printString:n,printNumber:i}=ye(),{isNumericLiteral:s,isSimpleNumber:o,isStringLiteral:a,isStringPropSafeToUnquote:u,rawText:l}=ur(),{printAssignment:c}=tn(),p=new WeakMap;function h(e,t,c){let h=e.getNode();if(h.computed)return["[",c("key"),"]"];let d=e.getParentNode(),{key:f}=h;if("consistent"===t.quoteProps&&!p.has(d)){let e=(d.properties||d.body||d.members).some((e=>!e.computed&&e.key&&a(e.key)&&!u(e,t)));p.set(d,e)}if(("Identifier"===f.type||s(f)&&o(i(l(f)))&&String(f.value)===i(l(f))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&p.get(d))){let i=n(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call((e=>r(e,i,t)),"key")}return u(h,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!p.get(d))?e.call((e=>r(e,/^\d/.test(f.value)?i(f.value):f.value,t)),"key"):c("key")}function d(e,t,r){return e.getValue().shorthand?r("value"):c(e,t,r,h(e,t,r),":","value")}t.exports={printProperty:d,printPropertyKey:h}}}),an=b({"src/language-js/print/function.js"(e,t){A();var r=Ht(),{printDanglingComments:n,printCommentsSeparately:i}=Jt(),s=N(),{getNextNonSpaceNonCommentCharacterIndex:o}=ye(),{builders:{line:a,softline:u,group:l,indent:c,ifBreak:p,hardline:h,join:d,indentIfBreak:f},utils:{removeLines:m,willBreak:y}}=H(),{ArgExpansionBailout:g}=Me(),{getFunctionParameters:v,hasLeadingOwnLineComment:D,isFlowAnnotationComment:b,isJsxNode:E,isTemplateOnItsOwnLine:x,shouldPrintComma:C,startsWithNoLookaheadToken:w,isBinaryish:S,isLineComment:T,hasComment:F,getComments:k,CommentCheckFlags:P,isCallLikeExpression:_,isCallExpression:O,getCallArguments:I,hasNakedLeftSide:B,getLeftSide:j}=ur(),{locEnd:L}=$t(),{printFunctionParameters:M,shouldGroupFunctionParameters:R}=rn(),{printPropertyKey:$}=on(),{printFunctionTypeParameters:V}=Xr();function U(e,t,r,n){let i=e.getValue(),s=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&n&&n.expandLastArg){let t=e.getParentNode();O(t)&&I(t).length>1&&(s=!0)}let o=[];"TSDeclareFunction"===i.type&&i.declare&&o.push("declare "),i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(t("id"));let a=M(e,t,r,s),u=K(e,t,r),c=R(i,u);return o.push(V(e,r,t),l([c?l(a):a,u]),i.body?" ":"",t("body")),r.semi&&(i.declare||!i.body)&&o.push(";"),o}function q(e,t,n){let i=e.getNode(),{kind:s}=i,o=i.value||i,a=[];return s&&"init"!==s&&"method"!==s&&"constructor"!==s?(r.ok("get"===s||"set"===s),a.push(s," ")):o.async&&a.push("async "),o.generator&&a.push("*"),a.push($(e,t,n),i.optional||i.key.optional?"?":""),i===o?a.push(z(e,t,n)):"FunctionExpression"===o.type?a.push(e.call((e=>z(e,t,n)),"value")):a.push(n("value")),a}function z(e,t,r){let n=e.getNode(),i=M(e,r,t),s=K(e,r,t),o=R(n,s),a=[V(e,t,r),l([o?l(i):i,s])];return n.body?a.push(" ",r("body")):a.push(t.semi?";":""),a}function W(e,t,r,i){let s=[];if(e.getValue().async&&s.push("async "),Q(e,t))s.push(r(["params",0]));else{let n=i&&(i.expandLastArg||i.expandFirstArg),o=K(e,r,t);if(n){if(y(o))throw new g;o=l(m(o))}s.push(l([M(e,r,t,n,!0),o]))}let a=n(e,t,!0,(e=>{let r=o(t.originalText,e,L);return!1!==r&&"=>"===t.originalText.slice(r,r+2)}));return a&&s.push(" ",a),s}function G(e,t,r,n,i,s){let o=e.getName(),h=e.getParentNode(),m=_(h)&&"callee"===o,y=Boolean(t&&t.assignmentLayout),g="BlockStatement"!==s.body.type&&"ObjectExpression"!==s.body.type&&"SequenceExpression"!==s.body.type,v=m&&g||t&&"chain-tail-arrow-chain"===t.assignmentLayout,D=Symbol("arrow-chain");return"SequenceExpression"===s.body.type&&(i=l(["(",c([u,i]),u,")"])),l([l(c([m||y?u:"",l(d([" =>",a],r),{shouldBreak:n})]),{id:D,shouldBreak:v})," =>",f(g?c([a,i]):[" ",i],{groupId:D}),m?p(u,"",{groupId:D}):""])}function J(e,t,r,n){let s=e.getValue(),o=[],h=[],d=!1;if(function a(){let u=W(e,t,r,n);if(0===o.length)o.push(u);else{let{leading:r,trailing:n}=i(e,t);o.push([r,u]),h.unshift(n)}d=d||s.returnType&&v(s).length>0||s.typeParameters||v(s).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==s.body.type||n&&n.expandLastArg?h.unshift(r("body",n)):(s=s.body,e.call(a,"body"))}(),o.length>1)return G(e,n,o,d,h,s);let f=o;if(f.push(" =>"),!D(t.originalText,s.body)&&("ArrayExpression"===s.body.type||"ObjectExpression"===s.body.type||"BlockStatement"===s.body.type||E(s.body)||x(s.body,t.originalText)||"ArrowFunctionExpression"===s.body.type||"DoExpression"===s.body.type))return l([...f," ",h]);if("SequenceExpression"===s.body.type)return l([...f,l([" (",c([u,h]),u,")"])]);let m=(n&&n.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!F(s),y=n&&n.expandLastArg&&C(t,"all"),g="ConditionalExpression"===s.body.type&&!w(s.body,(e=>"ObjectExpression"===e.type));return l([...f,l([c([a,g?p("","("):"",h,g?p("",")"):""]),m?[p(y?",":""),u]:""])])}function X(e){let t=v(e);return 1===t.length&&!e.typeParameters&&!F(e,P.Dangling)&&"Identifier"===t[0].type&&!t[0].typeAnnotation&&!F(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function Q(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&X(e.getValue()))}function K(e,t,r){let n=e.getValue(),i=t("returnType");if(n.returnType&&b(r.originalText,n.returnType))return[" /*: ",i," */"];let s=[i];return n.returnType&&n.returnType.typeAnnotation&&s.unshift(": "),n.predicate&&s.push(n.returnType?" ":": ",t("predicate")),s}function Y(e,t,r){let i=e.getValue(),o=t.semi?";":"",a=[];i.argument&&(te(t,i.argument)?a.push([" (",c([h,r("argument")]),h,")"]):S(i.argument)||"SequenceExpression"===i.argument.type?a.push(l([p(" ("," "),c([u,r("argument")]),u,p(")")])):a.push(" ",r("argument")));let d=k(i),f=s(d),m=f&&T(f);return m&&a.push(o),F(i,P.Dangling)&&a.push(" ",n(e,t,!0)),m||a.push(o),a}function Z(e,t,r){return["return",Y(e,t,r)]}function ee(e,t,r){return["throw",Y(e,t,r)]}function te(e,t){if(D(e.originalText,t))return!0;if(B(t)){let r,n=t;for(;r=j(n);)if(n=r,D(e.originalText,n))return!0}return!1}t.exports={printFunction:U,printArrowFunction:J,printMethod:q,printReturnStatement:Z,printThrowStatement:ee,printMethodInternal:z,shouldPrintParamsWithoutParens:Q}}}),un=b({"src/language-js/print/decorators.js"(e,t){A();var{isNonEmptyArray:r,hasNewline:n}=ye(),{builders:{line:i,hardline:s,join:o,breakParent:a,group:u}}=H(),{locStart:l,locEnd:c}=$t(),{getParentExportDeclaration:p}=ur();function h(e,t,r){let n=e.getValue();return u([o(i,e.map(r,"decorators")),m(n,t)?s:i])}function d(e,t,r){return[o(s,e.map(r,"declaration","decorators")),s]}function f(e,t,n){let u=e.getValue(),{decorators:l}=u;if(!r(l)||y(e.getParentNode()))return;let c="ClassExpression"===u.type||"ClassDeclaration"===u.type||m(u,t);return[p(e)?s:c?a:"",o(i,e.map(n,"decorators")),i]}function m(e,t){return e.decorators.some((e=>n(t.originalText,c(e))))}function y(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:f,printClassMemberDecorators:h,printDecoratorsBeforeExport:d,hasDecoratorsBeforeExport:y}}}),ln=b({"src/language-js/print/class.js"(e,t){A();var{isNonEmptyArray:r,createGroupIdMapper:n}=ye(),{printComments:i,printDanglingComments:s}=Jt(),{builders:{join:o,line:a,hardline:u,softline:l,group:c,indent:p,ifBreak:h}}=H(),{hasComment:d,CommentCheckFlags:f}=ur(),{getTypeParametersGroupId:m}=sn(),{printMethod:y}=an(),{printOptionalToken:g,printTypeAnnotation:v,printDefiniteToken:D}=Xr(),{printPropertyKey:b}=on(),{printAssignment:E}=tn(),{printClassMemberDecorators:x}=un();function C(e,t,n){let s=e.getValue(),o=[];s.declare&&o.push("declare "),s.abstract&&o.push("abstract "),o.push("class");let u=s.id&&d(s.id,f.Trailing)||s.typeParameters&&d(s.typeParameters,f.Trailing)||s.superClass&&d(s.superClass)||r(s.extends)||r(s.mixins)||r(s.implements),l=[],h=[];if(s.id&&l.push(" ",n("id")),l.push(n("typeParameters")),s.superClass){let r=[P(e,t,n),n("superTypeParameters")],s=e.call((e=>["extends ",i(e,r,t)]),"superClass");u?h.push(a,c(s)):h.push(" ",s)}else h.push(k(e,t,n,"extends"));if(h.push(k(e,t,n,"mixins"),k(e,t,n,"implements")),u){let e;e=F(s)?[...l,p(h)]:p([...l,h]),o.push(c(e,{id:w(s)}))}else o.push(...l,...h);return o.push(" ",n("body")),o}var w=n("heritageGroup");function S(e){return h(u,"",{groupId:w(e)})}function T(e){return["superClass","extends","mixins","implements"].filter((t=>Boolean(e[t]))).length>1}function F(e){return e.typeParameters&&!d(e.typeParameters,f.Trailing|f.Line)&&!T(e)}function k(e,t,n,i){let l=e.getValue();if(!r(l[i]))return"";let d=s(e,t,!0,(e=>{let{marker:t}=e;return t===i}));return[F(l)?h(" ",a,{groupId:m(l.typeParameters)}):a,d,d&&u,i,c(p([a,o([",",a],e.map(n,i))]))]}function P(e,t,r){let n=r("superClass");return"AssignmentExpression"===e.getParentNode().type?c(h(["(",p([l,n]),l,")"],n)):n}function N(e,t,n){let i=e.getValue(),s=[];return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.readonly&&s.push("readonly "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),s.push(y(e,t,n)),s}function _(e,t,n){let i=e.getValue(),s=[],o=t.semi?";":"";return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractPropertyDefinition"===i.type||"TSAbstractAccessorProperty"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),i.readonly&&s.push("readonly "),i.variance&&s.push(n("variance")),("ClassAccessorProperty"===i.type||"AccessorProperty"===i.type||"TSAbstractAccessorProperty"===i.type)&&s.push("accessor "),s.push(b(e,t,n),g(e),D(e),v(e,t,n)),[E(e,t,n,s," =","value"),o]}t.exports={printClass:C,printClassMethod:N,printClassProperty:_,printHardlineAfterHeritage:S}}}),cn=b({"src/language-js/print/interface.js"(e,t){A();var{isNonEmptyArray:r}=ye(),{builders:{join:n,line:i,group:s,indent:o,ifBreak:a}}=H(),{hasComment:u,identity:l,CommentCheckFlags:c}=ur(),{getTypeParametersGroupId:p}=sn(),{printTypeScriptModifiers:h}=Xr();function d(e,t,d){let f=e.getValue(),m=[];f.declare&&m.push("declare "),"TSInterfaceDeclaration"===f.type&&m.push(f.abstract?"abstract ":"",h(e,t,d)),m.push("interface");let y=[],g=[];"InterfaceTypeAnnotation"!==f.type&&y.push(" ",d("id"),d("typeParameters"));let v=f.typeParameters&&!u(f.typeParameters,c.Trailing|c.Line);return r(f.extends)&&g.push(v?a(" ",i,{groupId:p(f.typeParameters)}):i,"extends ",(1===f.extends.length?l:o)(n([",",i],e.map(d,"extends")))),f.id&&u(f.id,c.Trailing)||r(f.extends)?v?m.push(s([...y,o(g)])):m.push(s(o([...y,...g]))):m.push(...y,...g),m.push(" ",d("body")),s(m)}t.exports={printInterface:d}}}),pn=b({"src/language-js/print/module.js"(e,t){A();var{isNonEmptyArray:r}=ye(),{builders:{softline:n,group:i,indent:s,join:o,line:a,ifBreak:u,hardline:l}}=H(),{printDanglingComments:c}=Jt(),{hasComment:p,CommentCheckFlags:h,shouldPrintComma:d,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:y}=ur(),{locStart:g,hasSameLoc:v}=$t(),{hasDecoratorsBeforeExport:D,printDecoratorsBeforeExport:b}=un();function E(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{importKind:o}=n;return s.push("import"),o&&"value"!==o&&s.push(" ",o),s.push(T(e,t,r),S(e,t,r),k(e,t,r),i),s}function x(e,t,r){let n=e.getValue(),i=[];D(n)&&i.push(b(e,t,r));let{type:s,exportKind:o,declaration:a}=n;return i.push("export"),(n.default||"ExportDefaultDeclaration"===s)&&i.push(" default"),p(n,h.Dangling)&&(i.push(" ",c(e,t,!0)),f(n)&&i.push(l)),a?i.push(" ",r("declaration")):i.push("type"===o?" type":"",T(e,t,r),S(e,t,r),k(e,t,r)),w(n,t)&&i.push(";"),i}function C(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{exportKind:o,exported:a}=n;return s.push("export"),"type"===o&&s.push(" type"),s.push(" *"),a&&s.push(" as ",r("exported")),s.push(S(e,t,r),k(e,t,r),i),s}function w(e,t){if(!t.semi)return!1;let{type:r,declaration:n}=e,i=e.default||"ExportDefaultDeclaration"===r;if(!n)return!0;let{type:s}=n;return!(!i||"ClassDeclaration"===s||"FunctionDeclaration"===s||"TSInterfaceDeclaration"===s||"DeclareClass"===s||"DeclareFunction"===s||"TSDeclareFunction"===s||"EnumDeclaration"===s)}function S(e,t,r){let n=e.getValue();if(!n.source)return"";let i=[];return F(n,t)||i.push(" from"),i.push(" ",r("source")),i}function T(e,t,l){let c=e.getValue();if(F(c,t))return"";let h=[" "];if(r(c.specifiers)){let r=[],f=[];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)}`);f.push(l())}}),"specifiers"),h.push(o(", ",r)),f.length>0&&(r.length>0&&h.push(", "),f.length>1||r.length>0||c.specifiers.some((e=>p(e)))?h.push(i(["{",s([t.bracketSpacing?a:n,o([",",a],f)]),u(d(t)?",":""),t.bracketSpacing?a:n,"}"])):h.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else h.push("{}");return h}function F(e,t){let{type:n,importKind:i,source:s,specifiers:o}=e;return"ImportDeclaration"===n&&!r(o)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(g(e),g(s)))}function k(e,t,n){let i=e.getNode();return r(i.assertions)?[" assert {",t.bracketSpacing?" ":"",o(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}function P(e,t,r){let n=e.getNode(),{type:i}=n,s=[],o="ImportSpecifier"===i?n.importKind:n.exportKind;o&&"value"!==o&&s.push(o," ");let a=i.startsWith("Import"),u=a?"imported":"local",l=a?"local":"exported",c=n[u],p=n[l],h="",d="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?h="*":c&&(h=r(u)),p&&!N(n)&&(d=r(l)),s.push(h,h&&d?" as ":"",d),s}function N(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||!v(t,r))&&(m(t)?t.value===r.value&&y(t)===y(r):"Identifier"===t.type&&t.name===r.name)}t.exports={printImportDeclaration:E,printExportDeclaration:x,printExportAllDeclaration:C,printModuleSpecifier:P}}}),hn=b({"src/language-js/print/object.js"(e,t){A();var{printDanglingComments:r}=Jt(),{builders:{line:n,softline:i,group:s,indent:o,ifBreak:a,hardline:u}}=H(),{getLast:l,hasNewlineInRange:c,hasNewline:p,isNonEmptyArray:h}=ye(),{shouldPrintComma:d,hasComment:f,getComments:m,CommentCheckFlags:y,isNextLineEmpty:g}=ur(),{locStart:v,locEnd:D}=$t(),{printOptionalToken:b,printTypeAnnotation:E}=Xr(),{shouldHugFunctionParameters:x}=rn(),{shouldHugType:C}=nn(),{printHardlineAfterHeritage:w}=ln();function S(e,t,A){let S,T=t.semi?";":"",F=e.getValue();S="TSTypeLiteral"===F.type?"members":"TSInterfaceBody"===F.type?"body":"properties";let k="ObjectTypeAnnotation"===F.type,P=[S];k&&P.push("indexers","callProperties","internalSlots");let N=P.map((e=>F[e][0])).sort(((e,t)=>v(e)-v(t)))[0],_=e.getParentNode(0),O=k&&_&&("InterfaceDeclaration"===_.type||"DeclareInterface"===_.type||"DeclareClass"===_.type)&&"body"===e.getName(),I="TSInterfaceBody"===F.type||O||"ObjectPattern"===F.type&&"FunctionDeclaration"!==_.type&&"FunctionExpression"!==_.type&&"ArrowFunctionExpression"!==_.type&&"ObjectMethod"!==_.type&&"ClassMethod"!==_.type&&"ClassPrivateMethod"!==_.type&&"AssignmentPattern"!==_.type&&"CatchClause"!==_.type&&F.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==F.type&&N&&c(t.originalText,v(F),v(N)),B=O?";":"TSInterfaceBody"===F.type||"TSTypeLiteral"===F.type?a(T,";"):",",j="RecordExpression"===F.type?"#{":F.exact?"{|":"{",L=F.exact?"|}":"}",M=[];for(let r of P)e.each((e=>{let t=e.getValue();M.push({node:t,printed:A(),loc:v(t)})}),r);P.length>1&&M.sort(((e,t)=>e.loc-t.loc));let R=[],$=M.map((e=>{let r=[...R,s(e.printed)];return R=[B,n],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,y.PrettierIgnore)&&R.shift(),g(e.node,t)&&R.push(u),r}));if(F.inexact){let i;if(f(F,y.Dangling)){let s=f(F,y.Line);i=[r(e,t,!0),s||p(t.originalText,D(l(m(F))))?u:n,"..."]}else i=["..."];$.push([...R,...i])}let V,U=l(F[S]),q=!(F.inexact||U&&"RestElement"===U.type||U&&("TSPropertySignature"===U.type||"TSCallSignatureDeclaration"===U.type||"TSMethodSignature"===U.type||"TSConstructSignatureDeclaration"===U.type)&&f(U,y.PrettierIgnore));if(0===$.length){if(!f(F,y.Dangling))return[j,L,E(e,t,A)];V=s([j,r(e,t),i,L,b(e),E(e,t,A)])}else V=[O&&h(F.properties)?w(_):"",j,o([t.bracketSpacing?n:i,...$]),a(q&&(","!==B||d(t))?B:""),t.bracketSpacing?n:i,L,b(e),E(e,t,A)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||e.match(C,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||!I&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?V:s(V,{shouldBreak:I})}t.exports={printObject:S}}}),dn=b({"src/language-js/print/flow.js"(e,t){A();var r=Ht(),{printDanglingComments:n}=Jt(),{printString:i,printNumber:s}=ye(),{builders:{hardline:o,softline:a,group:u,indent:l}}=H(),{getParentExportDeclaration:c,isFunctionNotation:p,isGetterOrSetter:h,rawText:d,shouldPrintComma:f}=ur(),{locStart:m,locEnd:y}=$t(),{replaceTextEndOfLine:g}=z(),{printClass:v}=ln(),{printOpaqueType:D,printTypeAlias:b,printIntersectionType:E,printUnionType:x,printFunctionType:C,printTupleType:w,printIndexedAccessType:S}=nn(),{printInterface:T}=cn(),{printTypeParameter:F,printTypeParameters:k}=sn(),{printExportDeclaration:P,printExportAllDeclaration:N}=pn(),{printArrayItems:_}=Qr(),{printObject:O}=hn(),{printPropertyKey:I}=on(),{printOptionalToken:B,printTypeAnnotation:j,printRestSpread:L}=Xr();function M(e,t,c){let A=e.getValue(),M=t.semi?";":"",$=[];switch(A.type){case"DeclareClass":return R(e,v(e,t,c));case"DeclareFunction":return R(e,["function ",c("id"),A.predicate?" ":"",c("predicate"),M]);case"DeclareModule":return R(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return R(e,["module.exports",": ",c("typeAnnotation"),M]);case"DeclareVariable":return R(e,["var ",c("id"),M]);case"DeclareOpaqueType":return R(e,D(e,t,c));case"DeclareInterface":return R(e,T(e,t,c));case"DeclareTypeAlias":return R(e,b(e,t,c));case"DeclareExportDeclaration":return R(e,P(e,t,c));case"DeclareExportAllDeclaration":return R(e,N(e,t,c));case"OpaqueType":return D(e,t,c);case"TypeAlias":return b(e,t,c);case"IntersectionTypeAnnotation":return E(e,t,c);case"UnionTypeAnnotation":return x(e,t,c);case"FunctionTypeAnnotation":return C(e,t,c);case"TupleTypeAnnotation":return w(e,t,c);case"GenericTypeAnnotation":return[c("id"),k(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return S(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return F(e,t,c);case"TypeofTypeAnnotation":return["typeof ",c("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[c("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(A.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===A.type||A.explicitType){let e=null;switch(A.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}$.push("of ",e," ")}if(0!==A.members.length||A.hasUnknownMembers){let r=A.members.length>0?[o,_(e,t,"members",c),A.hasUnknownMembers||f(t)?",":""]:[];$.push(u(["{",l([...r,...A.hasUnknownMembers?[o,"..."]:[]]),n(e,t,!0),o,"}"]))}else $.push(u(["{",n(e,t),a,"}"]));return $;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof A.init?c("init"):String(A.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=A.name?c("name"):e.getParentNode().this===A?"this":"";return[t,B(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return T(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=A;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return A.static&&$.push("static "),$.push(c("value")),$;case"ObjectTypeIndexer":return[A.static?"static ":"",A.variance?c("variance"):"","[",c("id"),A.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let r="";return A.proto?r="proto ":A.static&&(r="static "),[r,h(A)?A.kind+" ":"",A.variance?c("variance"):"",I(e,t,c),B(e),p(A)?"":": ",c("value")]}case"ObjectTypeAnnotation":return O(e,t,c);case"ObjectTypeInternalSlot":return[A.static?"static ":"","[[",c("id"),"]]",B(e),A.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return L(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return g(i(d(A),t));case"NumberLiteralTypeAnnotation":r.strictEqual(typeof A.value,"number");case"BigIntLiteralTypeAnnotation":return A.extra?s(A.extra.raw):s(A.raw);case"TypeCastExpression":return["(",c("expression"),j(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=k(e,t,c,"params");if("flow"===t.parser){let e=m(A),n=y(A),i=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",n);if(-1!==i&&-1!==s){let e=t.originalText.slice(i+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"]}}return r}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",c("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(A.type))}}function R(e,t){let n=c(e);return n?(r.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:M}}}),fn=b({"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")}A(),t.exports=r}}),mn=b({"src/language-js/print/ternary.js"(e,t){A();var{hasNewlineInRange:r}=ye(),{isJsxNode:n,getComments:i,isCallExpression:s,isMemberExpression:o,isTSTypeExpression:a}=ur(),{locStart:u,locEnd:l}=$t(),c=or(),{builders:{line:p,softline:h,group:d,indent:f,align:m,ifBreak:y,dedent:g,breakParent:v}}=H();function D(e){let t=[e];for(let r=0;r<t.length;r++){let e=t[r];for(let r of["test","consequent","alternate"]){let i=e[r];if(n(i))return!0;"ConditionalExpression"===i.type&&t.push(i)}}return!1}function b(e,t,r){let n=e.getValue(),i="ConditionalExpression"===n.type,s=i?"alternate":"falseType",o=e.getParentNode(),a=i?r("test"):[r("checkType")," ","extends"," ",r("extendsType")];return o.type===n.type&&o[s]===n?m(2,a):a}var E=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function x(e){let t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let r,n=t;for(let i=0;!r;i++){let t=e.getParentNode(i);s(t)&&t.callee===n||o(t)&&t.object===n||"TSNonNullExpression"===t.type&&t.expression===n?n=t:"NewExpression"===t.type&&t.callee===n||a(t)&&t.expression===n?(r=e.getParentNode(i+1),n=t):r=t}return n!==t&&r[E.get(r.type)]===n}function C(e,t,s){let a,E,C=e.getValue(),w="ConditionalExpression"===C.type,A=w?"consequent":"trueType",S=w?"alternate":"falseType",T=w?["test"]:["checkType","extendsType"],F=C[A],k=C[S],P=[],N=!1,_=e.getParentNode(),O=_.type===C.type&&T.some((e=>_[e]===C)),I=_.type===C.type&&!O,B=0;do{E=a||C,a=e.getParentNode(B),B++}while(a&&a.type===C.type&&T.every((e=>a[e]!==E)));let j=a||_,L=E;if(w&&(n(C[T[0]])||n(F)||n(k)||D(L))){N=!0,I=!0;let e=e=>[y("("),f([h,e]),h,y(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;P.push(" ? ",t(F)?s(A):e(s(A))," : ",k.type===C.type||t(k)?s(S):e(s(S)))}else{let e=[p,"? ",F.type===C.type?y("","("):"",m(2,s(A)),F.type===C.type?y("",")"):"",p,": ",k.type===C.type?s(S):m(2,s(S))];P.push(_.type!==C.type||_[S]===C||O?e:t.useTabs?g(f(e)):m(Math.max(0,t.tabWidth-2),e))}let M=[...T.map((e=>i(C[e]))),i(F),i(k)].flat().some((e=>c(e)&&r(t.originalText,u(e),l(e)))),R=e=>_===j?d(e,{shouldBreak:M}):M?[e,v]:e,$=!N&&(o(_)||"NGPipeExpression"===_.type&&_.left===C)&&!_.computed,V=x(e),U=R([b(e,t,s),I?P:f(P),w&&$&&!V?h:""]);return O||V?d([f([h,U]),h]):U}t.exports={printTernary:C}}}),yn=b({"src/language-js/print/statement.js"(e,t){A();var{builders:{hardline:r}}=H(),n=qr(),{getLeftSidePathName:i,hasNakedLeftSide:s,isJsxNode:o,isTheOnlyJsxElementInMarkdown:a,hasComment:u,CommentCheckFlags:l,isNextLineEmpty:c}=ur(),{shouldPrintParamsWithoutParens:p}=an();function h(e,t,n,i){let s=e.getValue(),o=[],p="ClassBody"===s.type,h=d(s[i]);return e.each(((e,i,s)=>{let d=e.getValue();if("EmptyStatement"===d.type)return;let m=n();t.semi||p||a(t,e)||!f(e,t)?o.push(m):u(d,l.Leading)?o.push(n([],{needsSemi:!0})):o.push(";",m),!t.semi&&p&&v(d)&&D(d,s[i+1])&&o.push(";"),d!==h&&(o.push(r),c(d,t)&&o.push(r))}),i),o}function d(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}function f(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((e=>m(e,t)),"expression")}function m(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(!p(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(o(r))return!0}return!!n(e,t)||!!s(r)&&e.call((e=>m(e,t)),...i(e,r))}function y(e,t,r){return h(e,t,r,"body")}function g(e,t,r){return h(e,t,r,"consequent")}var v=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t||"AccessorProperty"===t||"TSAbstractPropertyDefinition"===t||"TSAbstractAccessorProperty"===t};function D(e,t){let{type:r,name:n}=e.key;if(!e.computed&&"Identifier"===r&&("static"===n||"get"===n||"set"===n||"accessor"===n)&&!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(v(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:y,printSwitchCaseConsequent:g}}}),gn=b({"src/language-js/print/block.js"(e,t){A();var{printDanglingComments:r}=Jt(),{isNonEmptyArray:n}=ye(),{builders:{hardline:i,indent:s}}=H(),{hasComment:o,CommentCheckFlags:a,isNextLineEmpty:u}=ur(),{printHardlineAfterHeritage:l}=ln(),{printBody:c}=yn();function p(e,t,r){let o=e.getValue(),a=[];if("StaticBlock"===o.type&&a.push("static "),"ClassBody"===o.type&&n(o.body)){let t=e.getParentNode();a.push(l(t))}a.push("{");let u=h(e,t,r);if(u)a.push(s([i,u]),i);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"===o.type||"ClassBody"===o.type||a.push(i)}return a.push("}"),a}function h(e,t,s){let l=e.getValue(),p=n(l.directives),h=l.body.some((e=>"EmptyStatement"!==e.type)),d=o(l,a.Dangling);if(!p&&!h&&!d)return"";let f=[];if(p&&e.each(((e,r,n)=>{f.push(s()),(r<n.length-1||h||d)&&(f.push(i),u(e.getValue(),t)&&f.push(i))}),"directives"),h&&f.push(c(e,t,s)),d&&f.push(r(e,t,!0)),"Program"===l.type){let t=e.getParentNode();(!t||"ModuleExpression"!==t.type)&&f.push(i)}return f}t.exports={printBlock:p,printBlockBody:h}}}),vn=b({"src/language-js/print/typescript.js"(e,t){A();var{printDanglingComments:r}=Jt(),{hasNewlineInRange:n}=ye(),{builders:{join:i,line:s,hardline:o,softline:a,group:u,indent:l,conditionalGroup:c,ifBreak:p}}=H(),{isStringLiteral:h,getTypeScriptMappedTypeModifier:d,shouldPrintComma:f,isCallExpression:m,isMemberExpression:y}=ur(),g=fn(),{locStart:v,locEnd:D}=$t(),{printOptionalToken:b,printTypeScriptModifiers:E}=Xr(),{printTernary:x}=mn(),{printFunctionParameters:C,shouldGroupFunctionParameters:w}=rn(),{printTemplateLiteral:S}=lr(),{printArrayItems:T}=Qr(),{printObject:F}=hn(),{printClassProperty:k,printClassMethod:P}=ln(),{printTypeParameter:N,printTypeParameters:_}=sn(),{printPropertyKey:O}=on(),{printFunction:I,printMethodInternal:B}=an(),{printInterface:j}=cn(),{printBlock:L}=gn(),{printTypeAlias:M,printIntersectionType:R,printUnionType:$,printFunctionType:V,printTupleType:U,printIndexedAccessType:q,printJSDocType:z}=nn();function W(e,t,A){let W=e.getValue();if(!W.type.startsWith("TS"))return;if(g(W))return W.type.slice(2,-7).toLowerCase();let G=t.semi?";":"",H=[];switch(W.type){case"TSThisType":return"this";case"TSTypeAssertion":{let e=!("ArrayExpression"===W.expression.type||"ObjectExpression"===W.expression.type),t=u(["<",l([a,A("typeAnnotation")]),a,">"]),r=[p("("),l([a,A("expression")]),a,p(")")];return e?c([[t,A("expression")],[t,u(r,{shouldBreak:!0})],[t,A("expression")]]):u([t,A("expression")])}case"TSDeclareFunction":return I(e,A,t);case"TSExportAssignment":return["export = ",A("expression"),G];case"TSModuleBlock":return L(e,t,A);case"TSInterfaceBody":case"TSTypeLiteral":return F(e,t,A);case"TSTypeAliasDeclaration":return M(e,t,A);case"TSQualifiedName":return i(".",[A("left"),A("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return P(e,t,A);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return k(e,t,A);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return H.push(A("expression")),W.typeParameters&&H.push(A("typeParameters")),H;case"TSTemplateLiteralType":return S(e,A,t);case"TSNamedTupleMember":return[A("label"),W.optional?"?":"",": ",A("elementType")];case"TSRestType":return["...",A("typeAnnotation")];case"TSOptionalType":return[A("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return j(e,t,A);case"TSClassImplements":case"TSInstantiationExpression":return[A("expression"),A("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return _(e,t,A,"params");case"TSTypeParameter":return N(e,t,A);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===W.type?"as":"satisfies";H.push(A("expression"),` ${t} `,A("typeAnnotation"));let r=e.getParentNode();return m(r)&&r.callee===W||y(r)&&r.object===W?u([l([a,...H]),a]):H}case"TSArrayType":return[A("elementType"),"[]"];case"TSPropertySignature":return W.readonly&&H.push("readonly "),H.push(O(e,t,A),b(e)),W.typeAnnotation&&H.push(": ",A("typeAnnotation")),W.initializer&&H.push(" = ",A("initializer")),H;case"TSParameterProperty":return W.accessibility&&H.push(W.accessibility+" "),W.export&&H.push("export "),W.static&&H.push("static "),W.override&&H.push("override "),W.readonly&&H.push("readonly "),H.push(A("parameter")),H;case"TSTypeQuery":return["typeof ",A("exprName"),A("typeParameters")];case"TSIndexSignature":{let r=e.getParentNode(),n=W.parameters.length>1?p(f(t)?",":""):"",s=u([l([a,i([", ",a],e.map(A,"parameters"))]),n,a]);return[W.export?"export ":"",W.accessibility?[W.accessibility," "]:"",W.static?"static ":"",W.readonly?"readonly ":"",W.declare?"declare ":"","[",W.parameters?s:"",W.typeAnnotation?"]: ":"]",W.typeAnnotation?A("typeAnnotation"):"","ClassBody"===r.type?G:""]}case"TSTypePredicate":return[W.asserts?"asserts ":"",A("parameterName"),W.typeAnnotation?[" is ",A("typeAnnotation")]:""];case"TSNonNullExpression":return[A("expression"),"!"];case"TSImportType":return[W.isTypeOf?"typeof ":"","import(",A(W.parameter?"parameter":"argument"),")",W.qualifier?[".",A("qualifier")]:"",_(e,t,A,"typeParameters")];case"TSLiteralType":return A("literal");case"TSIndexedAccessType":return q(e,t,A);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===W.type&&W.abstract&&H.push("abstract "),"TSCallSignatureDeclaration"!==W.type&&H.push("new "),H.push(u(C(e,A,t,!1,!0))),W.returnType||W.typeAnnotation){let e="TSConstructorType"===W.type;H.push(e?" => ":": ",A("returnType"),A("typeAnnotation"))}return H;case"TSTypeOperator":return[W.operator," ",A("typeAnnotation")];case"TSMappedType":{let i=n(t.originalText,v(W),D(W));return u(["{",l([t.bracketSpacing?s:a,A("typeParameter"),W.optional?d(W.optional,"?"):"",W.typeAnnotation?": ":"",A("typeAnnotation"),p(G)]),r(e,t,!0),t.bracketSpacing?s:a,"}"],{shouldBreak:i})}case"TSMethodSignature":{let r=W.kind&&"method"!==W.kind?`${W.kind} `:"";H.push(W.accessibility?[W.accessibility," "]:"",r,W.export?"export ":"",W.static?"static ":"",W.readonly?"readonly ":"",W.abstract?"abstract ":"",W.declare?"declare ":"",W.computed?"[":"",A("key"),W.computed?"]":"",b(e));let n=C(e,A,t,!1,!0),i=W.returnType?"returnType":"typeAnnotation",s=W[i],o=s?A(i):"",a=w(W,o);return H.push(a?u(n):n),s&&H.push(": ",u(o)),u(H)}case"TSNamespaceExportDeclaration":return H.push("export as namespace ",A("id")),t.semi&&H.push(";"),u(H);case"TSEnumDeclaration":return W.declare&&H.push("declare "),W.modifiers&&H.push(E(e,t,A)),W.const&&H.push("const "),H.push("enum ",A("id")," "),0===W.members.length?H.push(u(["{",r(e,t),a,"}"])):H.push(u(["{",l([o,T(e,t,"members",A),f(t,"es5")?",":""]),r(e,t,!0),o,"}"])),H;case"TSEnumMember":return W.computed?H.push("[",A("id"),"]"):H.push(A("id")),W.initializer&&H.push(" = ",A("initializer")),H;case"TSImportEqualsDeclaration":return W.isExport&&H.push("export "),H.push("import "),W.importKind&&"value"!==W.importKind&&H.push(W.importKind," "),H.push(A("id")," = ",A("moduleReference")),t.semi&&H.push(";"),u(H);case"TSExternalModuleReference":return["require(",A("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),n=h(W.id),i="TSModuleDeclaration"===r.type,s=W.body&&"TSModuleDeclaration"===W.body.type;if(i)H.push(".");else{W.declare&&H.push("declare "),H.push(E(e,t,A));let r=t.originalText.slice(v(W),v(W.id));"Identifier"===W.id.type&&"global"===W.id.name&&!/namespace|module/.test(r)||H.push(n||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return H.push(A("id")),s?H.push(A("body")):W.body?H.push(" ",u(A("body"))):H.push(G),H}case"TSConditionalType":return x(e,t,A);case"TSInferType":return["infer"," ",A("typeParameter")];case"TSIntersectionType":return R(e,t,A);case"TSUnionType":return $(e,t,A);case"TSFunctionType":return V(e,t,A);case"TSTupleType":return U(e,t,A);case"TSTypeReference":return[A("typeName"),_(e,t,A,"typeParameters")];case"TSTypeAnnotation":return A("typeAnnotation");case"TSEmptyBodyFunctionExpression":return B(e,t,A);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return z(e,A,"?");case"TSJSDocNonNullableType":return z(e,A,"!");default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(W.type)}.`)}}t.exports={printTypescript:W}}}),Dn=b({"src/language-js/print/comment.js"(e,t){A();var{hasNewline:r}=ye(),{builders:{join:n,hardline:i},utils:{replaceTextEndOfLine:s}}=H(),{isLineComment:o}=ur(),{locStart:a,locEnd:u}=$t(),l=or();function c(e,t){let n=e.getValue();if(o(n))return t.originalText.slice(a(n),u(n)).trimEnd();if(l(n)){if(p(n)){let e=h(n);return n.trailing&&!r(t.originalText,a(n),{backwards:!0})?[i,e]:e}let e=u(n),o="*-/"===t.originalText.slice(e-3,e);return["/*",s(n.value),o?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}function p(e){let t=`*${e.value}*`.split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}function h(e){let t=e.value.split("\n");return["/*",n(i,t.map(((e,r)=>0===r?e.trimEnd():" "+(r<t.length-1?e.trim():e.trimStart())))),"*/"]}t.exports={printComment:c}}}),bn=b({"src/language-js/print/literal.js"(e,t){A();var{printString:r,printNumber:n}=ye(),{replaceTextEndOfLine:i}=z(),{printDirective:s}=Xr();function o(e,t){let o=e.getNode();switch(o.type){case"RegExpLiteral":return l(o);case"BigIntLiteral":return u(o.bigint||o.extra.raw);case"NumericLiteral":return n(o.extra.raw);case"StringLiteral":return i(r(o.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(o.value);case"DecimalLiteral":return n(o.value)+"m";case"Literal":{if(o.regex)return l(o.regex);if(o.bigint)return u(o.raw);if(o.decimal)return n(o.decimal)+"m";let{value:c}=o;return"number"==typeof c?n(o.raw):"string"==typeof c?a(e)?s(o.raw,t):i(r(o.raw,t)):String(c)}}}function a(e){if("expression"!==e.getName())return;let t=e.getParentNode();return"ExpressionStatement"===t.type&&t.directive}function u(e){return e.toLowerCase()}function l(e){let{pattern:t,flags:r}=e;return r=[...r].sort().join(""),`/${t}/${r}`}t.exports={printLiteral:o}}}),En=b({"src/language-js/printer-estree.js"(e,t){A();var{printDanglingComments:r}=Jt(),{hasNewline:n}=ye(),{builders:{join:i,line:s,hardline:o,softline:a,group:u,indent:l},utils:{replaceTextEndOfLine:c}}=H(),p=fr(),h=mr(),{insertPragma:d}=$r(),f=Ur(),m=qr(),y=zr(),{hasFlowShorthandAnnotationComment:g,hasComment:v,CommentCheckFlags:D,isTheOnlyJsxElementInMarkdown:b,isLineComment:E,isNextLineEmpty:x,needsHardlineAfterDanglingComment:C,hasIgnoreComment:w,isCallExpression:S,isMemberExpression:T,markerForIfWithoutBlockAndSameLineComment:F}=ur(),{locStart:k,locEnd:P}=$t(),N=or(),{printHtmlBinding:_,isVueEventBindingExpression:O}=Wr(),{printAngular:I}=Hr(),{printJsx:B,hasJsxIgnoreComment:j}=Jr(),{printFlow:L}=dn(),{printTypescript:M}=vn(),{printOptionalToken:R,printBindExpressionCallee:$,printTypeAnnotation:V,adjustClause:U,printRestSpread:q,printDefiniteToken:z,printDirective:W}=Xr(),{printImportDeclaration:G,printExportDeclaration:J,printExportAllDeclaration:X,printModuleSpecifier:Q}=pn(),{printTernary:K}=mn(),{printTemplateLiteral:Y}=lr(),{printArray:Z}=Qr(),{printObject:ee}=hn(),{printClass:te,printClassMethod:re,printClassProperty:ne}=ln(),{printProperty:ie}=on(),{printFunction:se,printArrowFunction:oe,printMethod:ae,printReturnStatement:ue,printThrowStatement:le}=an(),{printCallExpression:ce}=en(),{printVariableDeclarator:pe,printAssignmentExpression:he}=tn(),{printBinaryishExpression:de}=Gr(),{printSwitchCaseConsequent:fe}=yn(),{printMemberExpression:me}=Yr(),{printBlock:ge,printBlockBody:ve}=gn(),{printComment:De}=Dn(),{printLiteral:be}=bn(),{printDecorators:Ee}=un();function xe(e,t,r,n){let i=Ce(e,t,r,n);if(!i)return"";let o=e.getValue(),{type:a}=o;if("ClassMethod"===a||"ClassPrivateMethod"===a||"ClassProperty"===a||"ClassAccessorProperty"===a||"AccessorProperty"===a||"TSAbstractAccessorProperty"===a||"PropertyDefinition"===a||"TSAbstractPropertyDefinition"===a||"ClassPrivateProperty"===a||"MethodDefinition"===a||"TSAbstractMethodDefinition"===a||"TSDeclareMethod"===a)return i;let c=[i],p=Ee(e,t,r),h="ClassExpression"===o.type&&p;if(p&&(c=[...p,i],!h))return u(c);if(!m(e,t))return n&&n.needsSemi&&c.unshift(";"),1===c.length&&c[0]===i?i:c;if(h&&(c=[l([s,...c])]),c.unshift("("),n&&n.needsSemi&&c.unshift(";"),g(o)){let[e]=o.trailingComments;c.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return h&&c.push(s),c.push(")"),c}function Ce(e,t,p,h){let d=e.getValue(),f=t.semi?";":"";if(!d)return"";if("string"==typeof d)return d;for(let r of[be,_,I,B,L,M]){let n=r(e,t,p);if(typeof n<"u")return n}let m=[];switch(d.type){case"JsExpressionRoot":return p("node");case"JsonRoot":return[p("node"),o];case"File":return d.program&&d.program.interpreter&&m.push(p(["program","interpreter"])),m.push(p("program")),m;case"Program":return ve(e,t,p);case"EmptyStatement":return"";case"ExpressionStatement":{if("__vue_event_binding"===t.parser||"__vue_ts_event_binding"===t.parser){let t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===d)return[p("expression"),O(d.expression)?";":""]}let n=r(e,t,!0,(e=>{let{marker:t}=e;return t===F}));return[p("expression"),b(t,e)?"":f,n?[" ",n]:""]}case"ParenthesizedExpression":return v(d.expression)||"ObjectExpression"!==d.expression.type&&"ArrayExpression"!==d.expression.type?u(["(",l([a,p("expression")]),a,")"]):["(",p("expression"),")"];case"AssignmentExpression":return he(e,t,p);case"VariableDeclarator":return pe(e,t,p);case"BinaryExpression":case"LogicalExpression":return de(e,t,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return me(e,t,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return d.object&&m.push(p("object")),m.push(u(l([a,$(e,t,p)]))),m;case"Identifier":return[d.name,R(e),z(e),V(e,t,p)];case"V8IntrinsicIdentifier":return["%",d.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return q(e,t,p);case"FunctionDeclaration":case"FunctionExpression":return se(e,p,t,h);case"ArrowFunctionExpression":return oe(e,t,p,h);case"YieldExpression":return m.push("yield"),d.delegate&&m.push("*"),d.argument&&m.push(" ",p("argument")),m;case"AwaitExpression":if(m.push("await"),d.argument){m.push(" ",p("argument"));let t=e.getParentNode();if(S(t)&&t.callee===d||T(t)&&t.object===d){m=[l([a,...m]),a];let t=e.findAncestor((e=>"AwaitExpression"===e.type||"BlockStatement"===e.type));if(!t||"AwaitExpression"!==t.type)return u(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return J(e,t,p);case"ExportAllDeclaration":return X(e,t,p);case"ImportDeclaration":return G(e,t,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Q(e,t,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ge(e,t,p);case"ThrowStatement":return le(e,t,p);case"ReturnStatement":return ue(e,t,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ce(e,t,p);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,p);case"ObjectProperty":case"Property":return d.method||"get"===d.kind||"set"===d.kind?ae(e,t,p):ie(e,t,p);case"ObjectMethod":return ae(e,t,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Z(e,t,p);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(p()):t.push(",",l([s,p()]))}),"expressions"),u(t)}return u(i([",",s],e.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),f];case"DirectiveLiteral":return W(d.extra.raw,t);case"UnaryExpression":return m.push(d.operator),/[a-z]$/.test(d.operator)&&m.push(" "),v(d.argument)?m.push(u(["(",l([a,p("argument")]),a,")"])):m.push(p("argument")),m;case"UpdateExpression":return m.push(p("argument"),d.operator),d.prefix&&m.reverse(),m;case"ConditionalExpression":return K(e,t,p);case"VariableDeclaration":{let t,r=e.map(p,"declarations"),n=e.getParentNode(),i="ForStatement"===n.type||"ForInStatement"===n.type||"ForOfStatement"===n.type,a=d.declarations.some((e=>e.init));return 1!==r.length||v(d.declarations[0])?r.length>0&&(t=l(r[0])):t=r[0],m=[d.declare?"declare ":"",d.kind,t?[" ",t]:"",l(r.slice(1).map((e=>[",",a&&!i?o:s,e])))],i&&n.body!==d||m.push(f),u(m)}case"WithStatement":return u(["with (",p("object"),")",U(d.body,p("body"))]);case"IfStatement":{let n=U(d.consequent,p("consequent")),i=u(["if (",u([l([a,p("test")]),a]),")",n]);if(m.push(i),d.alternate){let n=v(d.consequent,D.Trailing|D.Line)||C(d),i="BlockStatement"===d.consequent.type&&!n;m.push(i?" ":o),v(d,D.Dangling)&&m.push(r(e,t,!0),n?o:" "),m.push("else",u(U(d.alternate,p("alternate"),"IfStatement"===d.alternate.type)))}return m}case"ForStatement":{let n=U(d.body,p("body")),i=r(e,t,!0),o=i?[i,a]:"";return d.init||d.test||d.update?[o,u(["for (",u([l([a,p("init"),";",s,p("test"),";",s,p("update")]),a]),")",n])]:[o,u(["for (;;)",n])]}case"WhileStatement":return u(["while (",u([l([a,p("test")]),a]),")",U(d.body,p("body"))]);case"ForInStatement":return u(["for (",p("left")," in ",p("right"),")",U(d.body,p("body"))]);case"ForOfStatement":return u(["for",d.await?" await":""," (",p("left")," of ",p("right"),")",U(d.body,p("body"))]);case"DoWhileStatement":{let e=U(d.body,p("body"));return m=[u(["do",e])],"BlockStatement"===d.body.type?m.push(" "):m.push(o),m.push("while (",u([l([a,p("test")]),a]),")",f),m}case"DoExpression":return[d.async?"async ":"","do ",p("body")];case"BreakStatement":return m.push("break"),d.label&&m.push(" ",p("label")),m.push(f),m;case"ContinueStatement":return m.push("continue"),d.label&&m.push(" ",p("label")),m.push(f),m;case"LabeledStatement":return"EmptyStatement"===d.body.type?[p("label"),":;"]:[p("label"),": ",p("body")];case"TryStatement":return["try ",p("block"),d.handler?[" ",p("handler")]:"",d.finalizer?[" finally ",p("finalizer")]:""];case"CatchClause":if(d.param){let e=v(d.param,(e=>!N(e)||e.leading&&n(t.originalText,P(e))||e.trailing&&n(t.originalText,k(e),{backwards:!0}))),r=p("param");return["catch ",e?["(",l([a,r]),a,") "]:["(",r,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[u(["switch (",l([a,p("discriminant")]),a,")"])," {",d.cases.length>0?l([o,i(o,e.map(((e,r,n)=>{let i=e.getValue();return[p(),r!==n.length-1&&x(i,t)?o:""]}),"cases"))]):"",o,"}"];case"SwitchCase":{d.test?m.push("case ",p("test"),":"):m.push("default:"),v(d,D.Dangling)&&m.push(" ",r(e,t,!0));let n=d.consequent.filter((e=>"EmptyStatement"!==e.type));if(n.length>0){let r=fe(e,t,p);m.push(1===n.length&&"BlockStatement"===n[0].type?[" ",r]:l([o,r]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return te(e,t,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return re(e,t,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return ne(e,t,p);case"TemplateElement":return c(d.value.raw);case"TemplateLiteral":return Y(e,p,t);case"TaggedTemplateExpression":return[p("tag"),p("typeParameters"),p("quasi")];case"PrivateIdentifier":return["#",p("name")];case"PrivateName":return["#",p("id")];case"InterpreterDirective":return m.push("#!",d.value,o),x(d,t)&&m.push(o),m;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");let e=p("body");return e&&m.push(l([o,e]),o),m.push("}"),m}default:throw new Error("unknown type: "+JSON.stringify(d.type))}}function we(e){return e.type&&!N(e)&&!E(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type}t.exports={preprocess:y,print:xe,embed:p,insertPragma:d,massageAstNode:h,hasPrettierIgnore:e=>w(e)||j(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:we,printComment:De,isBlockComment:N,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),xn=b({"src/language-js/printer-estree-json.js"(e,t){A();var{builders:{hardline:r,indent:n,join:i}}=H(),s=zr();function o(e,t,s){let o=e.getValue();switch(o.type){case"JsonRoot":return[s("node"),r];case"ArrayExpression":{if(0===o.elements.length)return"[]";let t=e.map((()=>null===e.getValue()?"null":s()),"elements");return["[",n([r,i([",",r],t)]),r,"]"]}case"ObjectExpression":return 0===o.properties.length?"{}":["{",n([r,i([",",r],e.map(s,"properties"))]),r,"}"];case"ObjectProperty":return[s("key"),": ",s("value")];case"UnaryExpression":return["+"===o.operator?"":o.operator,s("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return o.value?"true":"false";case"StringLiteral":return JSON.stringify(o.value);case"NumericLiteral":return a(e)?JSON.stringify(String(o.value)):JSON.stringify(o.value);case"Identifier":return a(e)?JSON.stringify(o.name):o.name;case"TemplateLiteral":return s(["quasis",0]);case"TemplateElement":return JSON.stringify(o.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(o.type))}}function a(e){return"key"===e.getName()&&"ObjectProperty"===e.getParentNode().type}var u=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,n]of e.elements.entries())null===n&&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=u,t.exports={preprocess:s,print:o,massageAstNode:l}}}),Cn=b({"src/common/common-options.js"(e,t){A();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."}}}}),wn=b({"src/language-js/options.js"(e,t){A();var r=Cn(),n="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:n,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:n,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:n,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:n,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:n,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:n,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}}}),An=b({"src/language-js/parse/parsers.js"(){A()}}),Sn=b({"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}}}),Tn=b({"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}}}),Fn=b({"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}}}),kn=b({"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}}}),Pn=b({"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}}}),Nn=b({"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}}}),_n=b({"src/language-js/index.js"(e,t){A();var r=tr(),n=En(),i=xn(),s=wn(),o=An(),a=[r(Sn(),(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(Sn(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),r(Sn(),(()=>({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(Tn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),r(Fn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),r(kn(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}))),r(kn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),r(Pn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]}))),r(Nn(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],u={estree:n,"estree-json":i};t.exports={languages:a,options:s,printers:u,parsers:o}}}),On=b({"src/language-css/clean.js"(e,t){A();var{isFrontMatterNode:r}=ye(),n=N(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function s(e,t,i){if(r(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||r(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&n(i.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=o(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 n=Number(t);return Number.isNaN(n)?e:n+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 o(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}s.ignoredProperties=i,t.exports=s}}),In=b({"src/utils/front-matter/print.js"(e,t){A();var{builders:{hardline:r,markAsRoot:n}}=H();function i(e,t){if("yaml"===e.lang){let i=e.value.trim(),s=i?t(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return n([e.startDelimiter,r,s,s?r:"",e.endDelimiter])}}t.exports=i}}),Bn=b({"src/language-css/embed.js"(e,t){A();var{builders:{hardline:r}}=H(),n=In();function i(e,t,i){let s=e.getValue();if("front-matter"===s.type){let e=n(s,i);return e?[e,r]:""}}t.exports=i}}),jn=b({"src/utils/front-matter/parse.js"(e,t){A();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function n(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:o}=t.groups,a=i.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}t.exports=n}}),Ln=b({"src/language-css/pragma.js"(e,t){A();var r=$r(),n=jn();function i(e){return r.hasPragma(n(e).content)}function s(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}t.exports={hasPragma:i,insertPragma:s}}}),Mn=b({"src/language-css/utils/index.js"(e,t){A();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 n(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function i(e,t){let r=n(e,t);return-1===r?null:e.getParentNode(r)}function s(e){var t;let r=i(e,"css-decl");return null==r||null===(t=r.prop)||void 0===t?void 0:t.toLowerCase()}var o=new Set(["initial","inherit","unset","revert"]);function a(e){return o.has(e.toLowerCase())}function u(e,t){let r=i(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 c(e,t){var r;let n=i(e,"value-func");return(null==n||null===(r=n.value)||void 0===r?void 0:r.toLowerCase())===t}function p(e){var t;let r=i(e,"css-rule"),n=null==r||null===(t=r.raws)||void 0===t?void 0:t.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))}function h(e,t){let r=Array.isArray(t)?t:[t],n=i(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())}function d(e){let t=e.getValue(),r=i(e,"css-atrule");return"import"===(null==r?void 0:r.name)&&"url"===t.groups[0].value&&2===t.groups.length}function f(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()}function m(e,t){var r;let n=null===(r=e.getParentNode())||void 0===r?void 0:r.nodes;return n&&n.indexOf(t)===n.length-1}function y(e){let{selector:t}=e;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))}function g(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)}function v(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)}function D(e){return"value-word"===e.type&&"in"===e.value}function b(e){return"value-operator"===e.type&&"*"===e.value}function E(e){return"value-operator"===e.type&&"/"===e.value}function x(e){return"value-operator"===e.type&&"+"===e.value}function C(e){return"value-operator"===e.type&&"-"===e.value}function w(e){return"value-operator"===e.type&&"%"===e.value}function S(e){return b(e)||E(e)||x(e)||C(e)||w(e)}function T(e){return"value-word"===e.type&&["==","!="].includes(e.value)}function F(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)}function k(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 N(e){return e.name.startsWith("prettier-placeholder")}function _(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 I(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 B(e){var t,r,n;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(r=t.group)||void 0===r||null===(n=r.group)||void 0===n?void 0:n.type)&&null!==e.value.group.group.open&&null!==e.value.group.group.close}function j(e){var t;return""===(null===(t=e.raws)||void 0===t?void 0:t.before)}function L(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])&&L(e.groups[0])}function R(e){var t;let r=e.getValue();if(0===r.groups.length)return!1;let n=e.getParentNode(1);if(!M(r)&&(!n||!M(n)))return!1;let s=i(e,"css-decl");return!!(null!=s&&null!==(t=s.prop)&&void 0!==t&&t.startsWith("$")||M(n)||"value-func"===n.type)}function $(e){return"value-comment"===e.type&&e.inline}function V(e){return"value-word"===e.type&&"#"===e.value}function U(e){return"value-word"===e.type&&"{"===e.value}function q(e){return"value-word"===e.type&&"}"===e.value}function z(e){return["value-word","value-atword"].includes(e.type)}function W(e){return"value-colon"===(null==e?void 0:e.type)}function G(e,t){if(!L(t))return!1;let{groups:r}=t,n=r.indexOf(e);return-1!==n&&W(r[n+1])}function H(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function J(e){return"value-func"===e.type&&r.has(e.value.toLowerCase())}function X(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function Q(e){return"value-atword"===(null==e?void 0:e.type)&&e.value.startsWith("prettier-placeholder-")}function K(e,t){var r,n;if("("!==(null===(r=e.open)||void 0===r?void 0:r.value)||")"!==(null===(n=e.close)||void 0===n?void 0:n.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,n=t.groups[r];if("value-word"===(null==n?void 0:n.type)&&"with"===n.value)return!0}return!1}function Y(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:n,getAncestorNode:i,getPropOfDeclNode:s,maybeToLowerCase:l,insideValueFunctionNode:c,insideICSSRuleNode:p,insideAtRuleNode:h,insideURLFunctionInImportAtRuleNode:d,isKeyframeAtRuleKeywords:u,isWideKeywords:a,isLastNode:m,isSCSSControlDirectiveNode:k,isDetachedRulesetDeclarationNode:y,isRelationalOperatorNode:F,isEqualityOperatorNode:T,isMultiplicationNode:b,isDivisionNode:E,isAdditionNode:x,isSubtractionNode:C,isModuloNode:w,isMathOperatorNode:S,isEachKeywordNode:D,isForKeywordNode:g,isURLFunctionNode:f,isIfElseKeywordNode:v,hasComposesNode:I,hasParensAroundNode:B,hasEmptyRawBefore:j,isDetachedRulesetCallNode:P,isTemplatePlaceholderNode:N,isTemplatePropNode:_,isPostcssSimpleVarNode:O,isKeyValuePairNode:L,isKeyValuePairInParenGroupNode:M,isKeyInValuePairNode:G,isSCSSMapItemNode:R,isInlineValueCommentNode:$,isHashNode:V,isLeftCurlyBraceNode:U,isRightCurlyBraceNode:q,isWordNode:z,isColonNode:W,isMediaAndSupportsKeywords:H,isColorAdjusterFuncNode:J,lastLineHasInlineComment:X,isAtWordPlaceholderNode:Q,isConfigurationNode:K,isParenGroupNode:Y}}}),Rn=b({"src/utils/line-column-to-index.js"(e,t){A(),t.exports=function(e,t){let r=0;for(let n=0;n<e.line-1;++n)r=t.indexOf("\n",r)+1;return r+e.column}}}),$n=b({"src/language-css/loc.js"(e,t){A();var{skipEverythingButNewLine:r}=pe(),n=N(),i=Rn();function s(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function o(e,t){if("css-comment"===e.type&&e.inline)return r(t,e.source.startOffset);let s=e.nodes&&n(e.nodes);return s&&e.source&&!e.source.end&&(e=s),e.source&&e.source.end?i(e.source.end,t):null}function a(e,t){e.source&&(e.source.startOffset=s(e,t),e.source.endOffset=o(e,t));for(let r in e){let n=e[r];"source"===r||!n||"object"!=typeof n||("value-root"===n.type||"value-unknown"===n.type?u(n,l(e),n.text||n.value):a(n,t))}}function u(e,t,r){e.source&&(e.source.startOffset=s(e,r)+t,e.source.endOffset=o(e,r)+t);for(let n in e){let i=e[n];"source"===n||!i||"object"!=typeof i||u(i,t,r)}}function l(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}function c(e){let t,r="initial",n="initial",i=!1,s=[];for(let o=0;o<e.length;o++){let a=e[o];switch(r){case"initial":if("'"===a){r="single-quotes";continue}if('"'===a){r="double-quotes";continue}if(("u"===a||"U"===a)&&"url("===e.slice(o,o+4).toLowerCase()){r="url",o+=3;continue}if("*"===a&&"/"===e[o-1]){r="comment-block";continue}if("/"===a&&"/"===e[o-1]){r="comment-inline",t=o-1;continue}continue;case"single-quotes":if("'"===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"double-quotes":if('"'===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"url":if(")"===a&&(r="initial"),"\n"===a||"\r"===a)return e;if("'"===a){r="single-quotes",n="url";continue}if('"'===a){r="double-quotes",n="url";continue}continue;case"comment-block":"/"===a&&"*"===e[o-1]&&(r="initial");continue;case"comment-inline":('"'===a||"'"===a||"*"===a)&&(i=!0),("\n"===a||"\r"===a)&&(i&&s.push([t,o]),r="initial",i=!1);continue}}for(let[o,a]of s)e=e.slice(0,o)+e.slice(o,a).replace(/["'*]/g," ")+e.slice(a);return e}function p(e){return e.source.startOffset}function h(e){return e.source.endOffset}t.exports={locStart:p,locEnd:h,calculateLoc:a,replaceQuotesInInlineComments:c}}}),Vn=b({"src/language-css/utils/is-less-parser.js"(e,t){function r(e){return"css"===e.parser||"less"===e.parser}A(),t.exports=r}}),Un=b({"src/language-css/utils/is-scss.js"(e,t){function r(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}A(),t.exports=r}}),qn=b({"src/language-css/utils/css-units.evaluate.js"(e,t){t.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),zn=b({"src/language-css/utils/print-unit.js"(e,t){A();var r=qn();function n(e){let t=e.toLowerCase();return Object.prototype.hasOwnProperty.call(r,t)?r[t]:e}t.exports=n}}),Wn=b({"src/language-css/printer-postcss.js"(e,t){A();var r=N(),{printNumber:n,printString:i,hasNewline:s,isFrontMatterNode:o,isNextLineEmpty:a,isNonEmptyArray:u}=ye(),{builders:{join:l,line:c,hardline:p,softline:h,group:d,fill:f,indent:m,dedent:y,ifBreak:g,breakParent:v},utils:{removeLines:D,getDocParts:b}}=H(),E=On(),x=Bn(),{insertPragma:C}=Ln(),{getAncestorNode:w,getPropOfDeclNode:S,maybeToLowerCase:T,insideValueFunctionNode:F,insideICSSRuleNode:k,insideAtRuleNode:P,insideURLFunctionInImportAtRuleNode:_,isKeyframeAtRuleKeywords:O,isWideKeywords:I,isLastNode:B,isSCSSControlDirectiveNode:j,isDetachedRulesetDeclarationNode:L,isRelationalOperatorNode:M,isEqualityOperatorNode:R,isMultiplicationNode:$,isDivisionNode:V,isAdditionNode:U,isSubtractionNode:q,isMathOperatorNode:z,isEachKeywordNode:W,isForKeywordNode:G,isURLFunctionNode:J,isIfElseKeywordNode:X,hasComposesNode:Q,hasParensAroundNode:K,hasEmptyRawBefore:Y,isKeyValuePairNode:Z,isKeyInValuePairNode:ee,isDetachedRulesetCallNode:te,isTemplatePlaceholderNode:re,isTemplatePropNode:ne,isPostcssSimpleVarNode:ie,isSCSSMapItemNode:se,isInlineValueCommentNode:oe,isHashNode:ae,isLeftCurlyBraceNode:ue,isRightCurlyBraceNode:le,isWordNode:ce,isColonNode:pe,isMediaAndSupportsKeywords:he,isColorAdjusterFuncNode:de,lastLineHasInlineComment:fe,isAtWordPlaceholderNode:me,isConfigurationNode:ge,isParenGroupNode:ve}=Mn(),{locStart:De,locEnd:be}=$n(),Ee=Vn(),xe=Un(),Ce=zn();function we(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Ae(e,t,n){let s=e.getValue();if(!s)return"";if("string"==typeof s)return s;switch(s.type){case"front-matter":return[s.raw,p];case"css-root":{let r=Se(e,t,n),i=s.raws.after.trim();return i.startsWith(";")&&(i=i.slice(1).trim()),[r,i?` ${i}`:"",b(r).length>0?p:""]}case"css-comment":{let e=s.inline||s.raws.inline,r=t.originalText.slice(De(s),be(s));return e?r.trimEnd():r}case"css-rule":return[n("selector"),s.important?" !important":"",s.nodes?[s.selector&&"selector-unknown"===s.selector.type&&fe(s.selector.value)?c:" ","{",s.nodes.length>0?m([p,Se(e,t,n)]):"",p,"}",L(s)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:i}=s.raws,o=i.trim(),a=":"===o,u=Q(s)?D(n("value")):n("value");return!a&&fe(o)&&(u=m([p,y(u)])),[s.raws.before.replace(/[\s;]/g,""),"css-atrule"===r.type&&r.variable||k(e)?s.prop:T(s.prop),o.startsWith("//")?" ":"",o,s.extend?"":" ",Ee(t)&&s.extend&&s.selector?["extend(",n("selector"),")"]:"",u,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?[" {",m([h,Se(e,t,n)]),h,"}"]:ne(s)&&!r.raws.semicolon&&";"!==t.originalText[be(s)-1]?"":t.__isHTMLStyleAttribute&&B(e,s)?g(";"):";"]}case"css-atrule":{let r=e.getParentNode(),i=re(s)&&!r.raws.semicolon&&";"!==t.originalText[be(s)-1];if(Ee(t)){if(s.mixin)return[n("selector"),s.important?" !important":"",i?"":";"];if(s.function)return[s.name,n("params"),i?"":";"];if(s.variable)return["@",s.name,": ",s.value?n("value"):"",s.raws.between.trim()?s.raws.between.trim()+" ":"",s.nodes?["{",m([s.nodes.length>0?h:"",Se(e,t,n)]),h,"}"]:"",i?"":";"]}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)?[p,p]:/^\s*\n/.test(s.raws.afterName)?p:" ":" ",n("params")]:"",s.selector?m([" ",n("selector")]):"",s.value?d([" ",n("value"),j(s)?K(s)?" ":c:""]):"else"===s.name?" ":"",s.nodes?[j(s)?"":s.selector&&!s.selector.nodes&&"string"==typeof s.selector.value&&fe(s.selector.value)||!s.selector&&"string"==typeof s.params&&fe(s.params)?c:" ","{",m([s.nodes.length>0?h:"",Se(e,t,n)]),h,"}"]:i?"":";"]}case"media-query-list":{let t=[];return e.each((e=>{let r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())}),"nodes"),d(m(l(c,t)))}case"media-query":return[l(" ",e.map(n,"nodes")),B(e,s)?"":","];case"media-type":case"media-value":return Ie(_e(s.value,t));case"media-feature-expression":return s.nodes?["(",...e.map(n,"nodes"),")"]:s.value;case"media-feature":return T(_e(s.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[s.value," "];case"media-keyword":case"selector-string":return _e(s.value,t);case"media-url":return _e(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 d([P(e,"custom-selector")?[w(e,"css-atrule").customSelector,c]:"",l([",",P(e,["extend","custom-selector","nest"])?c:p],e.map(n,"nodes"))]);case"selector-selector":return d(m(e.map(n,"nodes")));case"selector-tag":{let t=e.getParentNode(),r=t&&t.nodes.indexOf(s),n=r&&t.nodes[r-1];return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"","selector-nesting"===n.type?s.value:Ie(O(e,s.value)?s.value.toLowerCase():s.value)]}case"selector-id":return["#",s.value];case"selector-class":return[".",Ie(_e(s.value,t))];case"selector-attribute":var o;return["[",s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.attribute.trim(),null!==(o=s.operator)&&void 0!==o?o:"",s.value?Oe(_e(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?"":c,s.value,B(e,s)?"":" "]}return[s.value.trim().startsWith("(")?c:"",Ie(_e(s.value.trim(),t))||c];case"selector-universal":return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.value];case"selector-pseudo":return[T(s.value),u(s.nodes)?d(["(",m([h,l([",",c],e.map(n,"nodes"))]),h,")"]):""];case"selector-unknown":{let r=w(e,"css-rule");if(r&&r.isSCSSNesterProperty)return Ie(_e(T(s.value),t));let n=e.getParentNode();if(n.raws&&n.raws.selector){let e=De(n),r=e+n.raws.selector.length;return t.originalText.slice(e,r).trim()}let i=e.getParentNode(1);if("value-paren_group"===n.type&&i&&"value-func"===i.type&&"selector"===i.value){let e=be(n.open)+1,r=De(n.close),i=t.originalText.slice(e,r).trim();return fe(i)?[v,i]:i}return s.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(De(s),be(s));case"value-comma_group":{let r=e.getParentNode(),i=e.getParentNode(1),o=S(e),a=o&&"value-value"===r.type&&("grid"===o||o.startsWith("grid-template")),u=w(e,"css-atrule"),l=u&&j(u),g=s.groups.some((e=>oe(e))),D=e.map(n,"groups"),b=[],x=F(e,"url"),C=!1,A=!1;for(let n=0;n<s.groups.length;++n){var E;b.push(D[n]);let o=s.groups[n-1],d=s.groups[n],f=s.groups[n+1],m=s.groups[n+2];if(x){(f&&U(f)||U(d))&&b.push(" ");continue}if(P(e,"forward")&&"value-word"===d.type&&d.value&&void 0!==o&&"value-word"===o.type&&"as"===o.value&&"value-operator"===f.type&&"*"===f.value||!f||"value-word"===d.type&&d.value.endsWith("-")&&me(f))continue;if("value-string"===d.type&&d.quoted){let e=d.value.lastIndexOf("#{"),t=d.value.lastIndexOf("}");-1!==e&&-1!==t?C=e>t:-1!==e?C=!0:-1!==t&&(C=!1)}if(C||pe(d)||pe(f)||"value-atword"===d.type&&(""===d.value||d.value.endsWith("["))||"value-word"===f.type&&f.value.startsWith("]")||"~"===d.value||d.value&&d.value.includes("\\")&&f&&"value-comment"!==f.type||o&&o.value&&o.value.indexOf("\\")===o.value.length-1&&"value-operator"===d.type&&"/"===d.value||"\\"===d.value||ie(d,f)||ae(d)||ue(d)||le(f)||ue(f)&&Y(f)||le(d)&&Y(f)||"--"===d.value&&ae(f))continue;let g=z(d),v=z(f);if((g&&ae(f)||v&&le(d))&&Y(f)||!o&&V(d)||F(e,"calc")&&(U(d)||U(f)||q(d)||q(f))&&Y(f))continue;let w=(U(d)||q(d))&&0===n&&("value-number"===f.type||f.isHex)&&i&&de(i)&&!Y(f),S=m&&"value-func"===m.type||m&&ce(m)||"value-func"===d.type||ce(d),T="value-func"===f.type||ce(f)||o&&"value-func"===o.type||o&&ce(o);if(($(f)||$(d)||F(e,"calc")||w||!(V(f)&&!S||V(d)&&!T||U(f)&&!S||U(d)&&!T||q(f)||q(d))||!(Y(f)||g&&(!o||o&&z(o))))&&("scss"!==t.parser&&"less"!==t.parser||!g||"-"!==d.value||!ve(f)||be(d)!==De(f.open)||"("!==f.open.value)){if(oe(d)){if("value-paren_group"===r.type){b.push(y(p));continue}b.push(p);continue}if(l&&(R(f)||M(f)||X(f)||W(d)||G(d))){b.push(" ");continue}if(u&&"namespace"===u.name.toLowerCase()){b.push(" ");continue}if(a){d.source&&f.source&&d.source.start.line!==f.source.start.line?(b.push(p),A=!0):b.push(" ");continue}if(v){b.push(" ");continue}if((!f||"..."!==f.value)&&(!me(d)||!me(f)||be(d)!==De(f))){if(me(d)&&ve(f)&&be(d)===De(f.open)){b.push(h);continue}if("with"===d.value&&ve(f)){b.push(" ");continue}null!==(E=d.value)&&void 0!==E&&E.endsWith("#")&&"{"===f.value&&ve(f.group)||b.push(c)}}}return g&&b.push(v),A&&b.unshift(p),l?d(m(b)):_(e)?d(f(b)):d(m(f(b)))}case"value-paren_group":{let i=e.getParentNode();if(i&&J(i)&&(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?n("open"):"",l(",",e.map(n,"groups")),s.close?n("close"):""];if(!s.open){let t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push([",",c]),r.push(t[e]);return d(m(f(r)))}let o=se(e),v=r(s.groups),D=v&&"value-comment"===v.type,E=ee(s,i),x=ge(s,i),C=x||o&&!E,w=x||E,A=d([s.open?n("open"):"",m([h,l([c],e.map(((e,i)=>{let o=e.getValue(),l=i===s.groups.length-1,c=[n(),l?"":","];if(Z(o)&&"value-comma_group"===o.type&&o.groups&&"value-paren_group"!==o.groups[0].type&&o.groups[2]&&"value-paren_group"===o.groups[2].type){let e=b(c[0].contents.contents);e[1]=d(e[1]),c=[d(y(c))]}if(!l&&"value-comma_group"===o.type&&u(o.groups)){let e=r(o.groups);!e.source&&e.close&&(e=e.close),e.source&&a(t.originalText,e,be)&&c.push(p)}return c}),"groups"))]),g(!D&&xe(t.parser,t.originalText)&&o&&we(t)?",":""),h,s.close?n("close"):""],{shouldBreak:C});return w?y(A):A}case"value-func":return[s.value,P(e,"supports")&&he(s)?" ":"",n("group")];case"value-number":return[Be(s.value),Ce(s.unit)];case"value-word":return s.isColor&&s.isHex||I(s.value)?s.value.toLowerCase():s.value;case"value-colon":{let t=e.getParentNode(),n=t&&t.groups.indexOf(s),i=n&&t.groups[n-1];return[s.value,i&&"string"==typeof i.value&&"\\"===r(i.value)||F(e,"url")?"":c]}case"value-string":return i(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 Se(e,t,r){let n=[];return e.each(((e,i,u)=>{let l=u[i-1];if(l&&"css-comment"===l.type&&"prettier-ignore"===l.text.trim()){let r=e.getValue();n.push(t.originalText.slice(De(r),be(r)))}else n.push(r());i!==u.length-1&&("css-comment"===u[i+1].type&&!s(t.originalText,De(u[i+1]),{backwards:!0})&&!o(u[i])||"css-atrule"===u[i+1].type&&"else"===u[i+1].name&&"css-comment"!==u[i].type?n.push(" "):(n.push(t.__isHTMLStyleAttribute?c:p),a(t.originalText,e.getValue(),be)&&!o(u[i])&&n.push(p)))}),"nodes"),n}var Te=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Fe=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,ke=/[A-Za-z]+/g,Pe=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Ne=new RegExp(Te.source+`|(${Pe.source})?(${Fe.source})(${ke.source})?`,"g");function _e(e,t){return e.replace(Te,(e=>i(e,t)))}function Oe(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function Ie(e){return e.replace(Ne,((e,t,r,n,i)=>!r&&n?Be(n)+T(i||""):e))}function Be(e){return n(e).replace(/\.0(?=$|e)/,"")}t.exports={print:Ae,embed:x,insertPragma:C,massageAstNode:E}}}),Gn=b({"src/language-css/options.js"(e,t){A();var r=Cn();t.exports={singleQuote:r.singleQuote}}}),Hn=b({"src/language-css/parsers.js"(){A()}}),Jn=b({"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}}}),Xn=b({"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}}}),Qn=b({"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}}}),Kn=b({"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}}}),Yn=b({"src/language-css/index.js"(e,t){A();var r=tr(),n=Wn(),i=Gn(),s=Hn(),o=[r(Jn(),(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),r(Xn(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),r(Qn(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),r(Kn(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],a={postcss:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Zn=b({"src/language-handlebars/loc.js"(e,t){function r(e){return e.loc.start.offset}function n(e){return e.loc.end.offset}A(),t.exports={locStart:r,locEnd:n}}}),ei=b({"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}A(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),ti=b({"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"]}}),ri=b({"src/language-handlebars/utils.js"(e,t){A();var r=N(),n=ti();function i(e){let t=e.getValue(),n=e.getParentNode(0);return!!(h(e,["ElementNode"])&&r(n.children)===t||h(e,["Block"])&&r(n.body)===t)}function s(e){return e.toUpperCase()===e}function o(e){return p(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(s(e.tag[0])||e.tag.includes("."))}var a=new Set(n);function u(e){return a.has(e.toLowerCase())&&!s(e[0])}function l(e){return!0===e.selfClosing||u(e.tag)||o(e)&&e.children.every((e=>c(e)))}function c(e){return p(e,["TextNode"])&&!/\S/.test(e.chars)}function p(e,t){return e&&t.includes(e.type)}function h(e,t){return p(e.getParentNode(0),t)}function d(e,t){return p(y(e),t)}function f(e,t){return p(g(e),t)}function m(e,t){var r,n,i,s;let o=e.getValue(),a=null!==(r=e.getParentNode(0))&&void 0!==r?r:{},u=null!==(n=null!==(i=null!==(s=a.children)&&void 0!==s?s:a.body)&&void 0!==i?i:a.parts)&&void 0!==n?n:[],l=u.indexOf(o);return-1!==l&&u[l+t]}function y(e){return m(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function g(e){return m(e,1)}function v(e){return p(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}function D(e){let t=e.getValue(),r=y(e,2);return v(t)||v(r)}t.exports={getNextNode:g,getPreviousNode:y,hasPrettierIgnore:D,isLastNodeOfSiblings:i,isNextNodeOfSomeType:f,isNodeOfSomeType:p,isParentOfSomeType:h,isPreviousNodeOfSomeType:d,isVoid:l,isWhitespaceNode:c}}}),ni=b({"src/language-handlebars/printer-glimmer.js"(e,t){A();var{builders:{dedent:r,fill:n,group:i,hardline:s,ifBreak:o,indent:a,join:u,line:l,softline:c},utils:{getDocParts:p,replaceTextEndOfLine:h}}=H(),{getPreferredQuote:d,isNonEmptyArray:f}=ye(),{locStart:m,locEnd:y}=Zn(),g=ei(),{getNextNode:v,getPreviousNode:D,hasPrettierIgnore:b,isLastNodeOfSiblings:E,isNextNodeOfSomeType:x,isNodeOfSomeType:C,isParentOfSomeType:w,isPreviousNodeOfSomeType:S,isVoid:T,isWhitespaceNode:F}=ri(),k=2;function P(e,t,o){let p=e.getValue();if(!p)return"";if(b(e))return t.originalText.slice(m(p),y(p));let f=t.singleQuote?"'":'"';switch(p.type){case"Block":case"Program":case"Template":return i(e.map(o,"body"));case"ElementNode":{let r=i(_(e,o)),n="ignore"===t.htmlWhitespaceSensitivity&&x(e,["ElementNode"])?c:"";if(T(p))return[r,n];let u=["</",p.tag,">"];return 0===p.children.length?[r,a(u),n]:"ignore"===t.htmlWhitespaceSensitivity?[r,a(O(e,t,o)),s,a(u),n]:[r,a(i(O(e,t,o))),a(u),n]}case"BlockStatement":{let r=e.getParentNode(1);return r&&r.inverse&&1===r.inverse.body.length&&r.inverse.body[0]===p&&r.inverse.body[0].path.parts[0]===r.path.parts[0]?[W(e,o,r.inverse.body[0].path.parts[0]),K(e,o,t),Y(e,o,t)]:[q(e,o),i([K(e,o,t),Y(e,o,t),G(e,o,t)])]}case"ElementModifierStatement":return i(["{{",le(e,o),"}}"]);case"MustacheStatement":return i([B(p),le(e,o),j(p)]);case"SubExpression":return i(["(",ue(e,o),c,")"]);case"AttrNode":{let e="TextNode"===p.value.type;if(e&&""===p.value.chars&&m(p.value)===y(p.value))return p.name;let t=e?d(p.value.chars,f).quote:"ConcatStatement"===p.value.type?d(p.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),f).quote:"",r=o("value");return[p.name,"=",t,"class"===p.name&&t?i(a(r)):r,t]}case"ConcatStatement":return e.map(o,"parts");case"Hash":return u(l,e.map(o,"pairs"));case"HashPair":return[p.key,"=",o("value")];case"TextNode":{let i=p.chars.replace(/{{/g,"\\{{"),s=te(e);if(s){if("class"===s){let t=i.trim().split(/\s+/).join(" "),r=!1,n=!1;return w(e,["ConcatStatement"])&&(S(e,["MustacheStatement"])&&/^\s/.test(i)&&(r=!0),x(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(n=!0)),[r?l:"",t,n?l:""]}return h(i)}let o=/^[\t\n\f\r ]*$/.test(i),a=!D(e),u=!v(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,s=/[\t\n\f\r ]*$/,c=u&&w(e,["Template"]),p=a&&w(e,["Template"]);if(o){if(p||c)return"";let t=[l],n=re(i);return n&&(t=se(n)),E(e)&&(t=t.map((e=>r(e)))),t}let[h]=i.match(t),[d]=i.match(s),f=[];if(h){f=[l];let e=re(h);e&&(f=se(e)),i=i.replace(t,"")}let m=[];if(d){if(!c){m=[l];let t=re(d);t&&(m=se(t)),E(e)&&(m=m.map((e=>r(e))))}i=i.replace(s,"")}return[...f,n(Z(i)),...m]}let c=re(i),d=ne(i),f=ie(i);if((a||u)&&o&&w(e,["Block","ElementNode","Template"]))return"";o&&c?(d=Math.min(c,k),f=0):(x(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)),S(e,["BlockStatement","ElementNode"])&&(d=Math.max(d,1)));let m="",y="";return 0===f&&x(e,["MustacheStatement"])&&(y=" "),0===d&&S(e,["MustacheStatement"])&&(m=" "),a&&(d=0,m=""),u&&(f=0,y=""),i=i.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,y),[...se(d),n(Z(i)),...se(f)]}case"MustacheCommentStatement":{let e=m(p),r=y(p),n="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(r-3),s=p.value.includes("}}")?"--":"";return["{{",n?"~":"","!",s,p.value,s,i?"~":"","}}"]}case"PathExpression":return p.original;case"BooleanLiteral":case"NumberLiteral":return String(p.value);case"CommentStatement":return["\x3c!--",p.value,"--\x3e"];case"StringLiteral":if(ae(e)){let e=t.singleQuote?'"':"'";return oe(p.value,e)}return oe(p.value,f);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(p.type))}}function N(e,t){return m(e)-m(t)}function _(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter((e=>f(r[e]))),i=n.flatMap((e=>r[e])).sort(N);for(let s of n)e.each((e=>{let r=i.indexOf(e.getValue());i.splice(r,1,[l,t()])}),s);return f(r.blockParams)&&i.push(l,he(r)),["<",r.tag,a(i),I(r)]}function O(e,t,r){let n=e.getValue().children.every((e=>F(e)));return"ignore"===t.htmlWhitespaceSensitivity&&n?"":e.map(((e,n)=>{let i=r();return 0===n&&"ignore"===t.htmlWhitespaceSensitivity?[c,i]:i}),"children")}function I(e){return T(e)?o([c,"/>"],[" />",c]):o([c,">"],">")}function B(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function j(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function L(e){return[B(e),e.openStrip.open?"~":"","#"]}function M(e){let t=j(e);return[e.openStrip.close?"~":"",t]}function R(e){return[B(e),e.closeStrip.open?"~":"","/"]}function $(e){let t=j(e);return[e.closeStrip.close?"~":"",t]}function V(e){return[B(e),e.inverseStrip.open?"~":""]}function U(e){let t=j(e);return[e.inverseStrip.close?"~":"",t]}function q(e,t){let r=e.getValue(),n=[],s=pe(e,t);return s&&n.push(i(s)),f(r.program.blockParams)&&n.push(he(r.program)),i([L(r),ce(e,t),n.length>0?a([l,u(l,n)]):"",c,M(r)])}function z(e,t){return["ignore"===t.htmlWhitespaceSensitivity?s:"",V(e),"else",U(e)]}function W(e,t,r){let n=e.getValue(),s=e.getParentNode(1);return i([V(s),["else"," ",r],a([l,i(pe(e,t)),...f(n.program.blockParams)?[l,he(n.program)]:[]]),c,U(s)])}function G(e,t,r){let n=e.getValue();return"ignore"===r.htmlWhitespaceSensitivity?[J(n)?c:s,R(n),t("path"),$(n)]:[R(n),t("path"),$(n)]}function J(e){return C(e,["BlockStatement"])&&e.program.body.every((e=>F(e)))}function X(e){return Q(e)&&1===e.inverse.body.length&&C(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}function Q(e){return C(e,["BlockStatement"])&&e.inverse}function K(e,t,r){if(J(e.getValue()))return"";let n=t("program");return"ignore"===r.htmlWhitespaceSensitivity?a([s,n]):a(n)}function Y(e,t,r){let n=e.getValue(),i=t("inverse"),o="ignore"===r.htmlWhitespaceSensitivity?[s,i]:i;return X(n)?o:Q(n)?[z(n,r),a(o)]:""}function Z(e){return p(u(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 ne(e){return re(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}function ie(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,k)}).fill(s)}function oe(e,t){let{quote:r,regex:n}=d(e,t);return[r,e.replace(n,`\\${r}`),r]}function ae(e){let t=0,r=e.getParentNode(t);for(;r&&C(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&C(e.getParentNode(t+1),["ConcatStatement"])&&C(e.getParentNode(t+2),["AttrNode"]))}function ue(e,t){let r=ce(e,t),n=pe(e,t);return n?a([r,l,i(n)]):r}function le(e,t){let r=ce(e,t),n=pe(e,t);return n?[a([r,l,n]),c]:r}function ce(e,t){return t("path")}function pe(e,t){let r=e.getValue(),n=[];if(r.params.length>0){let r=e.map(t,"params");n.push(...r)}if(r.hash&&r.hash.pairs.length>0){let e=t("hash");n.push(e)}return 0===n.length?"":u(l,n)}function he(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:P,massageAstNode:g}}}),ii=b({"src/language-handlebars/parsers.js"(){A()}}),si=b({"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}}}),oi=b({"src/language-handlebars/index.js"(e,t){A();var r=tr(),n=ni(),i=ii(),s=[r(si(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],o={glimmer:n};t.exports={languages:s,printers:o,parsers:i}}}),ai=b({"src/language-graphql/pragma.js"(e,t){function r(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function n(e){return"# @format\n\n"+e}A(),t.exports={hasPragma:r,insertPragma:n}}}),ui=b({"src/language-graphql/loc.js"(e,t){function r(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start}function n(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}A(),t.exports={locStart:r,locEnd:n}}}),li=b({"src/language-graphql/printer-graphql.js"(e,t){A();var{builders:{join:r,hardline:n,line:i,softline:s,group:o,indent:a,ifBreak:u}}=H(),{isNextLineEmpty:l,isNonEmptyArray:c}=ye(),{insertPragma:p}=ai(),{locStart:h,locEnd:d}=ui();function f(e,t,p){let f=e.getValue();if(!f)return"";if("string"==typeof f)return f;switch(f.kind){case"Document":{let r=[];return e.each(((e,i,s)=>{r.push(p()),i!==s.length-1&&(r.push(n),l(t.originalText,e.getValue(),d)&&r.push(n))}),"definitions"),[...r,n]}case"OperationDefinition":{let n="{"!==t.originalText[h(f)],i=Boolean(f.name);return[n?f.operation:"",n&&i?[" ",p("name")]:"",n&&!i&&c(f.variableDefinitions)?" ":"",c(f.variableDefinitions)?o(["(",a([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):"",m(e,p,f),f.selectionSet&&(n||i)?" ":"",p("selectionSet")]}case"FragmentDefinition":return["fragment ",p("name"),c(f.variableDefinitions)?o(["(",a([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):""," on ",p("typeCondition"),m(e,p,f)," ",p("selectionSet")];case"SelectionSet":return["{",a([n,r(n,y(e,t,p,"selections"))]),n,"}"];case"Field":return o([f.alias?[p("alias"),": "]:"",p("name"),f.arguments.length>0?o(["(",a([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):"",m(e,p,f),f.selectionSet?" ":"",p("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return f.value;case"StringValue":if(f.block){let e=f.value.replace(/"""/g,"\\$&").split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every((e=>""===e))&&(e.length=0),r(n,['"""',...e,'"""'])}return['"',f.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return f.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",p("name")];case"ListValue":return o(["[",a([s,r([u("",", "),s],e.map(p,"values"))]),s,"]"]);case"ObjectValue":return o(["{",t.bracketSpacing&&f.fields.length>0?" ":"",a([s,r([u("",", "),s],e.map(p,"fields"))]),s,u("",t.bracketSpacing&&f.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[p("name"),": ",p("value")];case"Directive":return["@",p("name"),f.arguments.length>0?o(["(",a([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):""];case"NamedType":return p("name");case"VariableDefinition":return[p("variable"),": ",p("type"),f.defaultValue?[" = ",p("defaultValue")]:"",m(e,p,f)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[p("description"),f.description?n:"","ObjectTypeExtension"===f.kind?"extend ":"","type ",p("name"),f.interfaces.length>0?[" implements ",...D(e,t,p)]:"",m(e,p,f),f.fields.length>0?[" {",a([n,r(n,y(e,t,p,"fields"))]),n,"}"]:""];case"FieldDefinition":return[p("description"),f.description?n:"",p("name"),f.arguments.length>0?o(["(",a([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):"",": ",p("type"),m(e,p,f)];case"DirectiveDefinition":return[p("description"),f.description?n:"","directive ","@",p("name"),f.arguments.length>0?o(["(",a([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):"",f.repeatable?" repeatable":""," on ",r(" | ",e.map(p,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[p("description"),f.description?n:"","EnumTypeExtension"===f.kind?"extend ":"","enum ",p("name"),m(e,p,f),f.values.length>0?[" {",a([n,r(n,y(e,t,p,"values"))]),n,"}"]:""];case"EnumValueDefinition":return[p("description"),f.description?n:"",p("name"),m(e,p,f)];case"InputValueDefinition":return[p("description"),f.description?f.description.block?n:i:"",p("name"),": ",p("type"),f.defaultValue?[" = ",p("defaultValue")]:"",m(e,p,f)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[p("description"),f.description?n:"","InputObjectTypeExtension"===f.kind?"extend ":"","input ",p("name"),m(e,p,f),f.fields.length>0?[" {",a([n,r(n,y(e,t,p,"fields"))]),n,"}"]:""];case"SchemaExtension":return["extend schema",m(e,p,f),...f.operationTypes.length>0?[" {",a([n,r(n,y(e,t,p,"operationTypes"))]),n,"}"]:[]];case"SchemaDefinition":return[p("description"),f.description?n:"","schema",m(e,p,f)," {",f.operationTypes.length>0?a([n,r(n,y(e,t,p,"operationTypes"))]):"",n,"}"];case"OperationTypeDefinition":return[p("operation"),": ",p("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[p("description"),f.description?n:"","InterfaceTypeExtension"===f.kind?"extend ":"","interface ",p("name"),f.interfaces.length>0?[" implements ",...D(e,t,p)]:"",m(e,p,f),f.fields.length>0?[" {",a([n,r(n,y(e,t,p,"fields"))]),n,"}"]:""];case"FragmentSpread":return["...",p("name"),m(e,p,f)];case"InlineFragment":return["...",f.typeCondition?[" on ",p("typeCondition")]:"",m(e,p,f)," ",p("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return o([p("description"),f.description?n:"",o(["UnionTypeExtension"===f.kind?"extend ":"","union ",p("name"),m(e,p,f),f.types.length>0?[" =",u(""," "),a([u([i," "]),r([i,"| "],e.map(p,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[p("description"),f.description?n:"","ScalarTypeExtension"===f.kind?"extend ":"","scalar ",p("name"),m(e,p,f)];case"NonNullType":return[p("type"),"!"];case"ListType":return["[",p("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(f.kind))}}function m(e,t,n){if(0===n.directives.length)return"";let u=r(i,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?o([i,u]):[" ",o(a([s,u]))]}function y(e,t,r,i){return e.map(((e,i,s)=>{let o=r();return i<s.length-1&&l(t.originalText,e.getValue(),d)?[o,n]:o}),i)}function g(e){return e.kind&&"Comment"!==e.kind}function v(e){let t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function D(e,t,r){let n=e.getNode(),s=[],{interfaces:o}=n,a=e.map((e=>r(e)),"interfaces");for(let u=0;u<o.length;u++){let e=o[u];s.push(a[u]);let r=o[u+1];if(r){let n=t.originalText.slice(e.loc.end,r.loc.start),o=n.includes("#"),a=n.replace(/#.*/g,"").trim();s.push(","===a?",":" &",o?i:" ")}}return s}function b(e,t){"StringValue"===e.kind&&e.block&&!e.value.includes("\n")&&(t.value=t.value.trim())}function E(e){var t;let r=e.getValue();return null==r||null===(t=r.comments)||void 0===t?void 0:t.some((e=>"prettier-ignore"===e.value.trim()))}b.ignoredProperties=new Set(["loc","comments"]),t.exports={print:f,massageAstNode:b,hasPrettierIgnore:E,insertPragma:p,printComment:v,canAttachComment:g}}}),ci=b({"src/language-graphql/options.js"(e,t){A();var r=Cn();t.exports={bracketSpacing:r.bracketSpacing}}}),pi=b({"src/language-graphql/parsers.js"(){A()}}),hi=b({"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}}}),di=b({"src/language-graphql/index.js"(e,t){A();var r=tr(),n=li(),i=ci(),s=pi(),o=[r(hi(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],a={graphql:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),fi=b({"node_modules/collapse-white-space/index.js"(e,t){function r(e){return String(e).replace(/\s+/g," ")}A(),t.exports=r}}),mi=b({"src/language-markdown/loc.js"(e,t){function r(e){return e.position.start.offset}function n(e){return e.position.end.offset}A(),t.exports={locStart:r,locEnd:n}}}),yi=b({"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]"}}}),gi=b({"src/language-markdown/utils.js"(e,t){A();var{getLast:r}=ye(),{locStart:n,locEnd:i}=mi(),{cjkPattern:s,kPattern:o,punctuationPattern:a}=yi(),u=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],l=[...u,"tableCell","paragraph","heading"],c=new RegExp(o),p=new RegExp(a);function h(e,t){let n="non-cjk",i="cj-letter",o="k-letter",a="cjk-punctuation",u=[],l=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${s})\n(${s})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[d,f]of l.entries()){if(d%2===1){u.push({type:"whitespace",value:/\n/.test(f)?"\n":" "});continue}if((0===d||d===l.length-1)&&""===f)continue;let e=f.split(new RegExp(`(${s})`));for(let[t,s]of e.entries())if(0!==t&&t!==e.length-1||""!==s){if(t%2===0){""!==s&&h({type:"word",value:s,kind:n,hasLeadingPunctuation:p.test(s[0]),hasTrailingPunctuation:p.test(r(s))});continue}h(p.test(s)?{type:"word",value:s,kind:a,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:s,kind:c.test(s)?o:i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return u;function h(e){let t=r(u);function s(r,n){return t.kind===r&&e.kind===n||t.kind===n&&e.kind===r}t&&"word"===t.type&&(t.kind===n&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===n&&!e.hasLeadingPunctuation?u.push({type:"whitespace",value:" "}):!s(n,a)&&![t.value,e.value].some((e=>/\u3000/.test(e)))&&u.push({type:"whitespace",value:""})),u.push(e)}}function d(e,t){let[,r,n,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:i}}function f(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(d(e.children[0],t.originalText).numberText),n=Number(d(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(d(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n}function m(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 y(e,t){return function e(r,n,i){let s=Object.assign({},t(r,n,i));return s.children&&(s.children=s.children.map(((t,r)=>e(t,r,[s,...i])))),s}(e,null,[])}function g(e){if("link"!==(null==e?void 0:e.type)||1!==e.children.length)return!1;let[t]=e.children;return n(e)===n(t)&&i(e)===i(t)}t.exports={mapAst:y,splitText:h,punctuationPattern:a,getFencedCodeBlockValue:m,getOrderedListItemInfo:d,hasGitDiffFriendlyOrderedList:f,INLINE_NODE_TYPES:u,INLINE_NODE_WRAPPER_TYPES:l,isAutolink:g}}}),vi=b({"src/language-markdown/embed.js"(e,t){A();var{inferParserByLanguage:r,getMaxContinuousCount:n}=ye(),{builders:{hardline:i,markAsRoot:s},utils:{replaceEndOfLine:o}}=H(),a=In(),{getFencedCodeBlockValue:u}=gi();function l(e,t,l,c){let p=e.getValue();if("code"===p.type&&null!==p.lang){let e=r(p.lang,c);if(e){let t=c.__inJsTemplate?"~":"`",r=t.repeat(Math.max(3,n(p.value,t)+1)),a={parser:e};"tsx"===p.lang&&(a.filepath="dummy.tsx");let h=l(u(p,c.originalText),a,{stripTrailingHardline:!0});return s([r,p.lang,p.meta?" "+p.meta:"",i,o(h),i,r])}}switch(p.type){case"front-matter":return a(p,l);case"importExport":return[l(p.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return l(`<$>${p.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}t.exports=l}}),Di=b({"src/language-markdown/pragma.js"(e,t){A();var r=jn(),n=["format","prettier"];function i(e){let t=`@(${n.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"),i=e.match(r);return 0===(null==i?void 0:i.index)}t.exports={startWithPragma:i,hasPragma:e=>i(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),i=`\x3c!-- @${n[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${i}\n\n${t.content}`:`${i}\n\n${t.content}`}}}}),bi=b({"src/language-markdown/print-preprocess.js"(e,t){A();var r=N(),{getOrderedListItemInfo:n,mapAst:i,splitText:s}=gi(),o=/^.$/us;function a(e,t){return e=p(e=u(e=f(e=y(e=m(e=l(e=d(e=c(e,t)),t),t),t),t)))}function u(e){return i(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}function l(e,t){return i(e,(e=>"inlineCode"!==e.type||"preserve"===t.proseWrap?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})))}function c(e,t){return i(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&o.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 p(e){return h(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 h(e,t,n){return i(e,(e=>{if(!e.children)return e;let i=e.children.reduce(((e,i)=>{let s=r(e);return s&&t(s,i)?e.splice(-1,1,n(s,i)):e.push(i),e}),[]);return Object.assign(Object.assign({},e),{},{children:i})}))}function d(e){return h(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 f(e,t){return i(e,((e,r,n)=>{let[i]=n;if("text"!==e.type)return e;let{value:o}=e;return"paragraph"===i.type&&(0===r&&(o=o.trimStart()),r===i.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:s(o,t)}}))}function m(e,t){return i(e,((e,r,n)=>{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<n.length;e++){let t=n[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e}))}function y(e,t){return i(e,((e,t,r)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<r.length;t++){let n=r[t];if("list"===n.type&&!n.isAligned)return e.isAligned=!1,e}e.isAligned=s(e)}return e}));function r(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function s(e){if(!e.ordered)return!0;let[i,s]=e.children;if(n(i,t.originalText).leadingSpaces.length>1)return!0;let o=r(i);return-1!==o&&(1===e.children.length?o%t.tabWidth===0:o===r(s)&&(o%t.tabWidth===0||n(s,t.originalText).leadingSpaces.length>1))}}t.exports=a}}),Ei=b({"src/language-markdown/clean.js"(e,t){A();var r=fi(),{isFrontMatterNode:n}=ye(),{startWithPragma:i}=Di(),s=new Set(["position","raw"]);function o(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||n(s.children[0])&&s.children[1]===e)&&"html"===e.type&&i(e.value)))return null}o.ignoredProperties=s,t.exports=o}}),xi=b({"src/language-markdown/printer-markdown.js"(e,t){A();var r=fi(),{getLast:n,getMinNotPresentContinuousCount:i,getMaxContinuousCount:s,getStringWidth:o,isNonEmptyArray:a}=ye(),{builders:{breakParent:u,join:l,line:c,literalline:p,markAsRoot:h,hardline:d,softline:f,ifBreak:m,fill:y,align:g,indent:v,group:D,hardlineWithoutBreakParent:b},utils:{normalizeDoc:E,replaceTextEndOfLine:x},printer:{printDocToString:C}}=H(),w=vi(),{insertPragma:S}=Di(),{locStart:T,locEnd:F}=mi(),k=bi(),P=Ei(),{getFencedCodeBlockValue:N,hasGitDiffFriendlyOrderedList:_,splitText:O,punctuationPattern:I,INLINE_NODE_TYPES:B,INLINE_NODE_WRAPPER_TYPES:j,isAutolink:L}=gi(),M=new Set(["importExport"]),R=["heading","tableCell","link","wikiLink"],$=new Set(["listItem","definition","footnoteDefinition"]);function V(e,t,r){let o=e.getValue();if(se(e))return O(t.originalText.slice(o.position.start.offset,o.position.end.offset),t).map((r=>"word"===r.type?r.value:""===r.value?"":X(e,r.value,t)));switch(o.type){case"front-matter":return t.originalText.slice(o.position.start.offset,o.position.end.offset);case"root":return 0===o.children.length?"":[E(K(e,t,r)),M.has(ee(o).type)?"":d];case"paragraph":return Y(e,t,r,{postprocessor:y});case"sentence":return Y(e,t,r);case"word":{let t=o.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${I})(_+)`,`(_+)(${I}|$)`].join("|"),"g"),((e,t,r,n,i)=>(r?`${t}${r}`:`${n}${i}`).replace(/_/g,"\\_"))),r=(e,t,r)=>"sentence"===e.type&&0===r,n=(e,t,r)=>L(e.children[r-1]);return t!==o.value&&(e.match(void 0,r,n)||e.match(void 0,r,((e,t,r)=>"emphasis"===e.type&&0===r),n))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{let r=e.getParentNode(),n=r.children.indexOf(o),i=r.children[n+1],s=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return X(e,o.value,{proseWrap:s})}case"emphasis":{let i;if(L(o.children[0]))i=t.originalText[o.position.start.offset];else{let t=e.getParentNode(),r=t.children.indexOf(o),s=t.children[r-1],a=t.children[r+1];i=s&&"sentence"===s.type&&s.children.length>0&&"word"===n(s.children).type&&!n(s.children).hasTrailingPunctuation||a&&"sentence"===a.type&&a.children.length>0&&"word"===a.children[0].type&&!a.children[0].hasLeadingPunctuation||J(e,"emphasis")?"*":"_"}return[i,Y(e,t,r),i]}case"strong":return["**",Y(e,t,r),"**"];case"delete":return["~~",Y(e,t,r),"~~"];case"inlineCode":{let e=i(o.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(o.value)?" ":"";return[t,r,o.value,r,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?o.value:o.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[o.position.start.offset]){case"<":{let e="mailto:";return["<",o.url.startsWith(e)&&t.originalText.slice(o.position.start.offset+1,o.position.start.offset+1+e.length)!==e?o.url.slice(e.length):o.url,">"]}case"[":return["[",Y(e,t,r),"](",oe(o.url,")"),ae(o.title,t),")"];default:return t.originalText.slice(o.position.start.offset,o.position.end.offset)}case"image":return[""),ae(o.title,t),")"];case"blockquote":return["> ",g("> ",Y(e,t,r))];case"heading":return["#".repeat(o.depth)+" ",Y(e,t,r)];case"code":{if(o.isIndented){let e=" ".repeat(4);return g(e,[e,...x(o.value,d)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,s(o.value,e)+1));return[r,o.lang||"",o.meta?" "+o.meta:"",d,...x(N(o,t.originalText),d),d,r]}case"html":{let t=e.getParentNode(),r="root"===t.type&&n(t.children)===o?o.value.trimEnd():o.value,i=/^<!--.*-->$/s.test(r);return x(r,i?d:h(p))}case"list":{let n=z(o,e.getParentNode()),i=_(o,t);return Y(e,t,r,{processor:(e,s)=>{let a=l(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?[a,U(e,t,r,a)]:[a,g(" ".repeat(a.length),U(e,t,r,a))];function l(){let e=o.ordered?(0===s?o.start:i?1:o.start+s)+(n%2===0?". ":") "):n%2===0?"- ":"* ";return o.isAligned||o.hasIndentedCodeblock?q(e,t):e}}})}case"thematicBreak":{let t=G(e,"list");return-1===t?"---":z(e.getParentNode(t),e.getParentNode(t+1))%2===0?"***":"---"}case"linkReference":return["[",Y(e,t,r),"]","full"===o.referenceType?ce(o):"collapsed"===o.referenceType?"[]":""];case"imageReference":return"full"===o.referenceType?["![",o.alt||"","]",ce(o)]:["![",o.alt,"]","collapsed"===o.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?c:" ";return D([ce(o),":",v([e,oe(o.url),null===o.title?"":[e,ae(o.title,t,!1)]])])}case"footnote":return["[^",Y(e,t,r),"]"];case"footnoteReference":return pe(o);case"footnoteDefinition":{let n=e.getParentNode().children[e.getName()+1],i=1===o.children.length&&"paragraph"===o.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&o.children[0].position.start.line===o.children[0].position.end.line);return[pe(o),": ",i?Y(e,t,r):D([g(" ".repeat(4),Y(e,t,r,{processor:(e,t)=>0===t?D([f,r()]):r()})),n&&"footnoteDefinition"===n.type?f:""])]}case"table":return Q(e,t,r);case"tableCell":return Y(e,t,r);case"break":return/\s/.test(t.originalText[o.position.start.offset])?[" ",h(p)]:["\\",d];case"liquidNode":return x(o.value,d);case"importExport":return[o.value,d];case"esComment":return["{/* ",o.value," */}"];case"jsx":return o.value;case"math":return["$$",d,o.value?[...x(o.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice(T(o),F(o));default:throw new Error(`Unknown markdown type ${JSON.stringify(o.type)}`)}}function U(e,t,r,n){let i=e.getValue(),s=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[s,Y(e,t,r,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return g(" ".repeat(s.length),r());let o=" ".repeat(ue(t.tabWidth-n.length,0,3));return[o,g(o,r())]}})]}function q(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let r=e.length%t.tabWidth;return 0===r?0:t.tabWidth-r}}function z(e,t){return W(e,t,(t=>t.ordered===e.ordered))}function W(e,t,r){let n=-1;for(let i of t.children)if(i.type===e.type&&r(i)?n++:n=-1,i===e)return n}function G(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function J(e,t){let r=G(e,t);return-1===r?null:e.getParentNode(r)}function X(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return d;let n="always"===r.proseWrap&&!J(e,R);return""!==t?n?c:" ":n?f:""}function Q(e,t,r){let n=e.getValue(),i=[],s=e.map((e=>e.map(((e,n)=>{let s=C(r(),t).formatted,a=o(s);return i[n]=Math.max(i[n]||3,a),{text:s,width:a}}),"children")),"children"),a=p(!1);if("never"!==t.proseWrap)return[u,a];let c=p(!0);return[u,D(m(c,a))];function p(e){let t=[d(s[0],e),h(e)];return s.length>1&&t.push(l(b,s.slice(1).map((t=>d(t,e))))),l(b,t)}function h(e){return`| ${i.map(((t,r)=>{let i=n.align[r],s="center"===i||"right"===i?":":"-";return`${"center"===i||"left"===i?":":"-"}${e?"-":"-".repeat(t-2)}${s}`})).join(" | ")} |`}function d(e,t){return`| ${e.map(((e,r)=>{let{text:s,width:o}=e;if(t)return s;let a=i[r]-o,u=n.align[r],l=0;"right"===u?l=a:"center"===u&&(l=Math.floor(a/2));let c=a-l;return`${" ".repeat(l)}${s}${" ".repeat(c)}`})).join(" | ")} |`}}function K(e,t,r){let n=[],i=null,{children:s}=e.getValue();for(let[o,a]of s.entries())switch(te(a)){case"start":null===i&&(i={index:o,offset:a.position.end.offset});break;case"end":null!==i&&(n.push({start:i,end:{index:o,offset:a.position.start.offset}}),i=null)}return Y(e,t,r,{processor:(e,i)=>{if(n.length>0){let e=n[0];if(i===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.index<i&&i<e.end.index)return!1;if(i===e.end.index)return n.shift(),!1}return r()}})}function Y(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:s}=i,o=i.processor||(()=>r()),a=e.getValue(),u=[];return e.each(((e,r)=>{let i=e.getValue(),s=o(e,r);if(!1!==s){let e={parts:u,prevNode:n,parentNode:a,options:t};re(i,e)&&(u.push(d),n&&M.has(n.type)||(ne(i,e)||ie(i,e))&&u.push(d),ie(i,e)&&u.push(d)),u.push(s),n=i}}),"children"),s?s(u):u}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(;a(t.children);)t=n(t.children);return t}function te(e){let t;if("html"===e.type)t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);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,n=B.includes(e.type),i="html"===e.type&&j.includes(t.parentNode.type);return!r&&!n&&!i}function ne(e,t){var r,n,i;let s=(t.prevNode&&t.prevNode.type)===e.type&&$.has(e.type),o="listItem"===t.parentNode.type&&!t.parentNode.loose,a="listItem"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.loose,u="next"===te(t.prevNode),l="html"===e.type&&"html"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.position.end.line+1===e.position.start.line,c="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(i=t.prevNode)||void 0===i?void 0:i.type)&&t.prevNode.position.end.line+1===e.position.start.line;return a||!(s||o||u||l||c)}function ie(e,t){let r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function se(e){let t=J(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}function oe(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 ae(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+ae(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,n=e.split('"').length-1,i=r>n?'"':n>r||t.singleQuote?"'":'"';return`${i}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${i})`,"g"),"\\$1")}${i}`}function ue(e,t,r){return e<t?t:e>r?r:e}function le(e){let t=Number(e.getName());return 0!==t&&"next"===te(e.getParentNode().children[t-1])}function ce(e){return`[${r(e.label)}]`}function pe(e){return`[^${e.label}]`}t.exports={preprocess:k,print:V,embed:w,massageAstNode:P,hasPrettierIgnore:le,insertPragma:S}}}),Ci=b({"src/language-markdown/options.js"(e,t){A();var r=Cn();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),wi=b({"src/language-markdown/parsers.js"(){A()}}),Ai=b({"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}}}),Si=b({"src/language-markdown/index.js"(e,t){A();var r=tr(),n=xi(),i=Ci(),s=wi(),o=[r(Ai(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),r(Ai(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],a={mdast:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Ti=b({"src/language-html/clean.js"(e,t){A();var{isFrontMatterNode:r}=ye(),n=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function i(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}i.ignoredProperties=n,t.exports=i}}),Fi=b({"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"}}}),ki=b({"src/language-html/utils/is-unknown-namespace.js"(e,t){function r(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}A(),t.exports=r}}),Pi=b({"src/language-html/utils/index.js"(e,t){A();var{inferParserByLanguage:r,isFrontMatterNode:n}=ye(),{builders:{line:i,hardline:s,join:o},utils:{getDocParts:a,replaceTextEndOfLine:u}}=H(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:p,CSS_WHITE_SPACE_DEFAULT:h}=Fi(),d=ki(),f=new Set(["\t","\n","\f","\r"," "]),m=e=>e.replace(/^[\t\n\f\r ]+/,""),y=e=>e.replace(/[\t\n\f\r ]+$/,""),g=e=>m(y(e)),v=e=>e.replace(/^[\t\f\r ]*\n/g,""),D=e=>v(y(e)),b=e=>e.split(/[\t\n\f\r ]+/),E=e=>e.match(/^[\t\n\f\r ]*/)[0],x=e=>{let[,t,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},C=e=>/[\t\n\f\r ]/.test(e);function w(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||ne(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||me(e,t)&&!k(e)&&"interpolation"!==e.type)}function S(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 F(e){return"text"===e.type||"comment"===e.type}function k(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||d(e)&&("script"===e.name||"style"===e.name))}function P(e){return e.children&&!k(e)}function N(e){return k(e)||"interpolation"===e.type||_(e)}function _(e){return ae(e).startsWith("pre")}function O(e,t){let r=i();return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r;function i(){return!n(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!ne(e.parent)||!(!e.prev&&("root"===e.parent.type||ne(e)&&e.parent||k(e.parent)||de(e.parent,t)||!Y(e.parent.cssDisplay))||e.prev&&!te(e.prev.cssDisplay))))}}function I(e,t){return!n(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!ne(e.parent)||!(!e.next&&("root"===e.parent.type||ne(e)&&e.parent||k(e.parent)||de(e.parent,t)||!Z(e.parent.cssDisplay))||e.next&&!ee(e.next.cssDisplay))))}function B(e){return re(e.cssDisplay)&&!k(e)}function j(e){return n(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function L(e){return M(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((e=>G(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&U(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||q(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 R(e){return z(e)||e.prev&&$(e.prev)||V(e)}function $(e){return z(e)||"element"===e.type&&"br"===e.fullName||V(e)}function V(e){return U(e)&&q(e)}function U(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function q(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function z(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function W(e){return e.lastChild?W(e.lastChild):e}function G(e){return e.children&&e.children.some((e=>"text"!==e.type))}function J(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 X(e,t){let{lang:n}=e.attrMap;return n&&"postcss"!==n&&"css"!==n?"scss"===n?"scss":"less"===n?"less":"stylus"===n?r("stylus",t):void 0:"css"}function Q(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?X(e,t):t&&me(e,t)?J(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?J(e):"babel"}function K(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Y(e){return!K(e)&&"inline-block"!==e}function Z(e){return!K(e)&&"inline-block"!==e}function ee(e){return!K(e)}function te(e){return!K(e)}function re(e){return!K(e)&&"inline-block"!==e}function ne(e){return ae(e).startsWith("pre")}function ie(e,t){let r=0;for(let n=e.stack.length-1;n>=0;n--){let i=e.stack[n];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&r++}return r}function se(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function oe(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||d(e))&&l[e.name]||c}}function ae(e){return"element"===e.type&&(!e.namespace||d(e))&&p[e.name]||h}function ue(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;if(!f.has(r[0]))return 0;let e=E(r).length;r.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}function le(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ue(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}function ce(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r}function pe(e){return e.replace(/'/g,"'").replace(/"/g,'"')}var he=new Set(["template","style","script"]);function de(e,t){return fe(e,t)&&!he.has(e.fullName)}function fe(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function me(e,t){return fe(e,t)&&(de(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}function ge(e){let t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")}function ve(e,t){let r=e.parent;if(!fe(r,t))return!1;let n=r.fullName,i=e.fullName;return"script"===n&&"setup"===i||"style"===n&&"vars"===i}function De(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?u(t):u(le(D(t)),s):a(o(i,b(t)))}function be(e,t){return fe(e,t)&&"script"===e.name}t.exports={htmlTrim:g,htmlTrimPreserveIndentation:D,hasHtmlWhitespace:C,getLeadingAndTrailingHtmlWhitespace:x,canHaveInterpolation:P,countChars:ce,countParents:ie,dedentString:le,forceBreakChildren:M,forceBreakContent:L,forceNextEmptyLine:j,getLastDescendant:W,getNodeCssStyleDisplay:oe,getNodeCssStyleWhiteSpace:ae,hasPrettierIgnore:S,inferScriptParser:Q,isVueCustomBlock:de,isVueNonHtmlBlock:me,isVueScriptTag:be,isVueSlotAttribute:ge,isVueSfcBindingsAttribute:ve,isVueSfcBlock:fe,isDanglingSpaceSensitiveNode:B,isIndentationSensitiveNode:_,isLeadingSpaceSensitiveNode:O,isPreLikeNode:ne,isScriptLikeTag:k,isTextLikeNode:F,isTrailingSpaceSensitiveNode:I,isWhitespaceSensitiveNode:N,isUnknownNamespace:d,preferHardlineAsLeadingSpaces:R,preferHardlineAsTrailingSpaces:$,shouldPreserveContent:w,unescapeQuoteEntities:pe,getTextValueParts:De}}}),Ni=b({"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 n(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function i(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 o(t){return e.$0<=t&&t<=e.$7}A(),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=n,e.isAsciiHexDigit=i,e.isNewLine=s,e.isOctalDigit=o}}),_i=b({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){A(),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,n){let i=`"${e}".${r}${(n=n||[]).length?`.${n.join(".")}`:""}`,s=this.cache.get(i);return s||(s=new t(e,r,n),this.cache.set(i,s)),s}};e.StaticSymbolCache=r}}),Oi=b({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){A(),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;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()}))}function n(e,t){return s(e,":",t)}function i(e,t){return s(e,".",t)}function s(e,t,r){let n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function o(e,t,r){return Array.isArray(e)?t.visitArray(e,r):v(e)?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}function a(e){return null!=e}function u(e){return void 0===e?null:e}e.dashCaseToCamelCase=r,e.splitAtColon=n,e.splitAtPeriod=i,e.visitValue=o,e.isDefined=a,e.noUndefined=u;var l=class{visitArray(e,t){return e.map((e=>o(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((n=>{r[n]=o(e[n],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}};function c(e){throw new Error(`Internal Error: ${e}`)}function p(e,t){let r=Error(e);return r[h]=!0,t&&(r[d]=t),r}e.ValueTransformer=l,e.SyncAsync={assertSync:e=>{if(x(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>x(e)?e.then(t):t(e),all:e=>e.some(x)?Promise.all(e):e},e.error=c,e.syntaxError=p;var h="ngSyntaxError",d="ngParseErrors";function f(e){return e[h]}function m(e){return e[d]||[]}function y(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.isSyntaxError=f,e.getParseErrors=m,e.escapeRegExp=y;var g=Object.getPrototypeOf({});function v(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===g}function D(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t}function b(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(b).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 E(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function x(e){return!!e&&"function"==typeof e.then}e.utf8Encode=D,e.stringify=b,e.resolveForwardRef=E,e.isPromise=x;var C=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=C;var w=typeof window<"u"&&window,S=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,T=typeof globalThis<"u"&&globalThis||w||S;e.global=T}}),Ii=b({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=_i(),r=Oi(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,o,a=0;function u(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let s=r.stringify(n);return s.indexOf("(")>=0?(s="anonymous_"+a++,n.__anonymousType=s):s=i(s),s}function l(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:`./${r.stringify(n)}`}function c(e,t){return`View_${u({reference:e})}_${t}`}function p(e){return`RenderType_${u({reference:e})}`}function h(e){return`HostView_${u({reference:e})}`}function d(e){return`${u({reference:e})}NgFactory`}function f(e){return null!=e.value?i(e.value):u(e.identifier)}function m(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=u,e.identifierModuleUrl=l,e.viewClassName=c,e.rendererTypeName=p,e.hostViewClassName=h,e.componentFactoryName=d,(o=s=e.CompileSummaryKind||(e.CompileSummaryKind={}))[o.Pipe=0]="Pipe",o[o.Directive=1]="Directive",o[o.NgModule=2]="NgModule",o[o.Injectable=3]="Injectable",e.tokenName=f,e.tokenReference=m;var y=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=C(t),this.styleUrls=C(r)}};e.CompileStylesheetMetadata=y;var g=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:u,ngContentSelectors:l,interpolation:c,isInline:p,preserveWhitespaces:h}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=C(s),this.styleUrls=C(o),this.externalStylesheets=C(a),this.animations=u?S(u):[],this.ngContentSelectors=l||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=p,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=g;var v=class{static create(e){let{isHost:t,type:i,isComponent:s,selector:o,exportAs:a,changeDetection:u,inputs:l,outputs:c,host:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:D,componentViewType:b,rendererType:E,componentFactory:x}=e,C={},w={},A={};null!=p&&Object.keys(p).forEach((e=>{let t=p[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?w[r[1]]=t:null!=r[2]&&(C[r[2]]=t)}));let S={};null!=l&&l.forEach((e=>{let t=r.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));let T={};return null!=c&&c.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]})),new v({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:u,inputs:S,outputs:T,hostListeners:C,hostProperties:w,hostAttributes:A,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:D,componentViewType:b,rendererType:E,componentFactory:x})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:u,hostListeners:l,hostProperties:c,hostAttributes:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:v,componentViewType:D,rendererType:b,componentFactory:E}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=u,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=p,this.providers=C(h),this.viewProviders=C(d),this.queries=C(f),this.guards=m,this.viewQueries=C(y),this.entryComponents=C(g),this.template=v,this.componentViewType=D,this.rendererType=b,this.componentFactory=E}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=v;var D=class{constructor(e){let{type:t,name:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=D;var b=class{};e.CompileShallowModuleMetadata=b;var E=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:o,entryComponents:a,bootstrapComponents:u,importedModules:l,exportedModules:c,schemas:p,transitiveModule:h,id:d}=e;this.type=t||null,this.declaredDirectives=C(n),this.exportedDirectives=C(i),this.declaredPipes=C(s),this.exportedPipes=C(o),this.providers=C(r),this.entryComponents=C(a),this.bootstrapComponents=C(u),this.importedModules=C(l),this.exportedModules=C(c),this.schemas=C(p),this.id=d||null,this.transitiveModule=h||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=E;var x=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 C(e){return e||[]}e.TransitiveCompileNgModuleMetadata=x;var w=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:s,deps:o,multi:a}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=s||null,this.dependencies=o||null,this.multi=!!a}};function S(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?S(t):t;return e.concat(r)}),[])}function T(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function F(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${u(e)}/${u(r.type)}.html`:n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:T(i)}function k(e,t){let r=e.moduleUrl.split(/\/\\/g);return T(`css/${t}${r[r.length-1]}.ngstyle.js`)}function P(e){return T(`${u(e.type)}/module.ngfactory.js`)}function N(e,t){return T(`${u(e)}/${u(t.type)}.ngfactory.js`)}e.ProviderMeta=w,e.flatten=S,e.templateSourceUrl=F,e.sharedStylesheetJitUrl=k,e.ngModuleJitUrl=P,e.templateJitUrl=N}}),Bi=b({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){A(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ni(),r=Ii(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,i=r.length,s=this.offset,o=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){o--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));a=e>0?s-e:s}else a--;for(;s<i&&e>0;){let n=r.charCodeAt(s);s++,e--,n==t.$LF?(o++,a=0):a++}return new n(this.file,s,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,s=0,o=0;for(;s<e&&n>0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s<e&&i<r.length-1&&(i++,s++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}};e.ParseLocation=n;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var s,o,a=class{constructor(e,t){let r=arguments.length>2&&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=a,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";var u=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),o=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,u=new i("",o);return new a(new n(u,-1,-1,-1),new n(u,-1,-1,-1))}function c(e,t,r){let s=new i("",`in ${e} ${t} in ${r}`);return new a(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}e.ParseError=u,e.typeSourceSpan=l,e.r3JitTypeSourceSpan=c}}),ji=b({"src/language-html/print-preprocess.js"(e,t){A();var{ParseSourceSpan:r}=Bi(),{htmlTrim:n,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:s,canHaveInterpolation:o,getNodeCssStyleDisplay:a,isDanglingSpaceSensitiveNode:u,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:p,isWhitespaceSensitiveNode:h,isVueScriptTag:d}=Pi(),f=[y,g,D,E,x,S,C,w,T,b,F];function m(e,t){for(let r of f)r(e,t);return e}function y(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 g(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 n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.firstChild;e.removeChild(s),n--;let a=new r(s.sourceSpan.start,o.sourceSpan.end),u=new r(a.start,i.sourceSpan.end);i.condition=s.condition,i.sourceSpan=u,i.startSourceSpan=a,i.removeChild(o)}}))}function v(e,t,n){e.walk((e=>{if(e.children)for(let i=0;i<e.children.length;i++){let s=e.children[i];if("text"!==s.type&&!t(s))continue;"text"!==s.type&&(s.type="text",s.value=n(s));let o=s.prev;!o||"text"!==o.type||(o.value+=s.value,o.sourceSpan=new r(o.sourceSpan.start,s.sourceSpan.end),e.removeChild(s),i--)}}))}function D(e){return v(e,(e=>"cdata"===e.type),(e=>`<![CDATA[${e.value}]]>`))}function b(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 n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.next;s.value+=`<${i.rawName}>`+i.firstChild.value+`</${i.rawName}>`+o.value,s.sourceSpan=new r(s.sourceSpan.start,o.sourceSpan.end),s.isTrailingSpaceSensitive=o.isTrailingSpaceSensitive,s.hasTrailingSpaces=o.hasTrailingSpaces,e.removeChild(i),n--,e.removeChild(o)}}))}function E(e,t){if("html"===t.parser)return;let n=/{{(.+?)}}/s;e.walk((e=>{if(o(e))for(let t of e.children){if("text"!==t.type)continue;let i=t.sourceSpan.start,s=null,o=t.value.split(n);for(let n=0;n<o.length;n++,i=s){let a=o[n];n%2!==0?(s=i.moveBy(a.length+4),e.insertChildBefore(t,{type:"interpolation",sourceSpan:new r(i,s),children:0===a.length?[]:[{type:"text",value:a,sourceSpan:new r(i.moveBy(2),s.moveBy(-2))}]})):(s=i.moveBy(a.length),a.length>0&&e.insertChildBefore(t,{type:"text",value:a,sourceSpan:new r(i,s)}))}e.removeChild(t)}}))}function x(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===n(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=h(e),s=l(e);if(!t)for(let n=0;n<e.children.length;n++){let t=e.children[n];if("text"!==t.type)continue;let{leadingWhitespace:s,text:o,trailingWhitespace:a}=i(t.value),u=t.prev,l=t.next;o?(t.value=o,t.sourceSpan=new r(t.sourceSpan.start.moveBy(s.length),t.sourceSpan.end.moveBy(-a.length)),s&&(u&&(u.hasTrailingSpaces=!0),t.hasLeadingSpaces=!0),a&&(t.hasTrailingSpaces=!0,l&&(l.hasLeadingSpaces=!0))):(e.removeChild(t),n--,(s||a)&&(u&&(u.hasTrailingSpaces=!0),l&&(l.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=t,e.isIndentationSensitive=s}))}function C(e){e.walk((e=>{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))}function w(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 S(e,t){e.walk((e=>{e.cssDisplay=a(e,t)}))}function T(e,t){e.walk((e=>{let{children:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=u(e));for(let e of r)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=p(e,t);for(let e=0;e<r.length;e++){let t=r[e];t.isLeadingSpaceSensitive=(0===e||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===r.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}}))}function F(e,t){if("vue"===t.parser){let r=e.children.find((e=>d(e,t)));if(!r)return;let{lang:n}=r.attrMap;("ts"===n||"typescript"===n)&&(t.__should_parse_vue_template_with_ts=!0)}}t.exports=m}}),Li=b({"src/language-html/pragma.js"(e,t){function r(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)}function n(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}A(),t.exports={hasPragma:r,insertPragma:n}}}),Mi=b({"src/language-html/loc.js"(e,t){function r(e){return e.sourceSpan.start.offset}function n(e){return e.sourceSpan.end.offset}A(),t.exports={locStart:r,locEnd:n}}}),Ri=b({"src/language-html/print/tag.js"(e,t){A();var r=Ht(),{isNonEmptyArray:n}=ye(),{builders:{indent:i,join:s,line:o,softline:a,hardline:u},utils:{replaceTextEndOfLine:l}}=H(),{locStart:c,locEnd:p}=Mi(),{isTextLikeNode:h,getLastDescendant:d,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:y,isVueSfcBlock:g}=Pi();function v(e,t){return[e.isSelfClosing?"":D(e,t),b(e,t)]}function D(e,t){return e.lastChild&&k(e.lastChild)?"":[E(e,t),C(e,t)]}function b(e,t){return(e.next?T(e.next):F(e.parent))?"":[w(e,t),x(e,t)]}function E(e,t){return F(e)?w(e.lastChild,t):""}function x(e,t){return k(e)?C(e.parent,t):P(e)?M(e.next):""}function C(e,t){if(r(!e.isSelfClosing),S(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function w(e,t){if(S(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function S(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||y(e.parent,t))}function T(e){return e.prev&&"docType"!==e.prev.type&&!h(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function F(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!h(d(e.lastChild))&&!f(e)}function k(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&h(d(e))}function P(e){return e.next&&!h(e.next)&&h(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function N(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}function _(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function O(e,t,r){let h=e.getValue();if(!n(h.attrs))return h.isSelfClosing?" ":"";let d=h.prev&&"comment"===h.prev.type&&N(h.prev.value),f="boolean"==typeof d?()=>d:Array.isArray(d)?e=>d.includes(e.rawName):()=>!1,m=e.map((e=>{let n=e.getValue();return f(n)?l(t.originalText.slice(c(n),p(n))):r()}),"attrs"),y="element"===h.type&&"script"===h.fullName&&1===h.attrs.length&&"src"===h.attrs[0].fullName&&0===h.children.length,v=t.singleAttributePerLine&&h.attrs.length>1&&!g(h,t)?u:o,D=[i([y?" ":o,s(v,m)])];return h.firstChild&&_(h.firstChild)||h.isSelfClosing&&F(h.parent)||y?D.push(h.isSelfClosing?" ":""):D.push(t.bracketSameLine?h.isSelfClosing?" ":"":h.isSelfClosing?o:a),D}function I(e){return e.firstChild&&_(e.firstChild)?"":R(e)}function B(e,t,r){let n=e.getValue();return[j(n,t),O(e,t,r),n.isSelfClosing?"":I(n)]}function j(e,t){return e.prev&&P(e.prev)?"":[L(e,t),M(e)]}function L(e,t){return _(e)?R(e.parent):T(e)?w(e.prev,t):""}function M(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return`\x3c!--[if ${e.condition}]>\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function R(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}t.exports={printClosingTag:v,printClosingTagStart:D,printClosingTagStartMarker:C,printClosingTagEndMarker:w,printClosingTagSuffix:x,printClosingTagEnd:b,needsToBorrowLastChildClosingTagEndMarker:F,needsToBorrowParentClosingTagStartMarker:k,needsToBorrowPrevClosingTagEndMarker:T,printOpeningTag:B,printOpeningTagStart:j,printOpeningTagPrefix:L,printOpeningTagStartMarker:M,printOpeningTagEndMarker:R,needsToBorrowNextOpeningTagStartMarker:P,needsToBorrowParentOpeningTagEndMarker:_}}}),$i=b({"node_modules/parse-srcset/src/parse-srcset.js"(r,o){var a;A(),a=function(){return function(e,t){var r=t&&t.logger||console;function n(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var r,n=t.exec(e.substring(g));if(n)return r=n[0],g+=r.length,r}for(var s,o,a,u,l,c=e.length,p=/^[ \t\n\r\u000c]+/,h=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,y=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,v=[];;){if(i(h),g>=c)return v;s=i(d),o=[],","===s.slice(-1)?(s=s.replace(f,""),b()):D()}function D(){for(i(p),a="",u="in descriptor";;){if(l=e.charAt(g),"in descriptor"===u)if(n(l))a&&(o.push(a),a="",u="after descriptor");else{if(","===l)return g+=1,a&&o.push(a),void b();if("("===l)a+=l,u="in parens";else{if(""===l)return a&&o.push(a),void b();a+=l}}else if("in parens"===u)if(")"===l)a+=l,u="in descriptor";else{if(""===l)return o.push(a),void b();a+=l}else if("after descriptor"===u&&!n(l)){if(""===l)return void b();u="in descriptor",g-=1}g+=1}}function b(){var t,n,i,a,u,l,c,p,h,d=!1,f={};for(a=0;a<o.length;a++)l=(u=o[a])[u.length-1],c=u.substring(0,u.length-1),p=parseInt(c,10),h=parseFloat(c),m.test(c)&&"w"===l?((t||n)&&(d=!0),0===p?d=!0:t=p):y.test(c)&&"x"===l?((t||n||i)&&(d=!0),h<0?d=!0:n=h):m.test(c)&&"h"===l?((i||n)&&(d=!0),0===p?d=!0:i=p):d=!0;d?r&&r.error&&r.error("Invalid srcset descriptor found in '"+e+"' at '"+u+"'."):(f.url=s,t&&(f.w=t),n&&(f.d=n),i&&(f.h=i),v.push(f))}}},i=[],void 0===(s="function"===typeof(n=a)?n.apply(t,i):n)||(e.exports=s)}}),Vi=b({"src/language-html/syntax-attribute.js"(e,t){A();var r=$i(),{builders:{ifBreak:n,join:i,line:s}}=H();function o(e){let t=r(e,{logger:{error(e){throw new Error(e)}}}),o=t.some((e=>{let{w:t}=e;return t})),a=t.some((e=>{let{h:t}=e;return t}));if(o+a+t.some((e=>{let{d:t}=e;return t}))>1)throw new Error("Mixed descriptor in srcset is not supported");let u=o?"w":a?"h":"d",l=o?"w":a?"h":"x",c=e=>Math.max(...e),p=t.map((e=>e.url)),h=c(p.map((e=>e.length))),d=t.map((e=>e[u])).map((e=>e?e.toString():"")),f=d.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),m=c(f);return i([",",s],p.map(((e,t)=>{let r=[e],i=d[t];if(i){let s=h-e.length+1,o=m-f[t],a=" ".repeat(s+o);r.push(n(a," "),i+l)}return r})))}function a(e){return e.trim().split(/\s+/).join(" ")}t.exports={printImgSrcset:o,printClassNames:a}}}),Ui=b({"src/language-html/syntax-vue.js"(e,t){A();var{builders:{group:r}}=H();function n(e,t){let{left:n,operator:s,right:o}=i(e);return[r(t(`function _(${n}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",s," ",t(o,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function i(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,i=e.match(t);if(!i)return;let s={};if(s.for=i[3].trim(),!s.for)return;let o=i[1].trim().replace(n,""),a=o.match(r);a?(s.alias=o.replace(r,""),s.iterator1=a[1].trim(),a[2]&&(s.iterator2=a[2].trim())):s.alias=o;let u=[s.alias,s.iterator1,s.iterator2];return u.some(((e,t)=>!e&&(0===t||u.slice(t+1).some(Boolean))))?void 0:{left:u.filter(Boolean).join(","),operator:i[2],right:s.for}}function s(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}function o(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,n=e.trim();return t.test(n)||r.test(n)}t.exports={isVueEventBindingExpression:o,printVueFor:n,printVueBindings:s}}}),qi=b({"src/language-html/get-node-content.js"(e,t){A();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:n,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:a}=Ri();function u(e,t){let u=e.startSourceSpan.end.offset;e.firstChild&&o(e.firstChild)&&(u-=a(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?l+=n(e,t).length:i(e)&&(l-=s(e.lastChild,t).length),t.originalText.slice(u,l)}t.exports=u}}),zi=b({"src/language-html/embed.js"(e,t){A();var{builders:{breakParent:r,group:n,hardline:i,indent:s,line:o,fill:a,softline:u},utils:{mapDoc:l,replaceTextEndOfLine:c}}=H(),p=In(),{printClosingTag:h,printClosingTagSuffix:d,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:y}=Ri(),{printImgSrcset:g,printClassNames:v}=Vi(),{printVueFor:D,printVueBindings:b,isVueEventBindingExpression:E}=Ui(),{isScriptLikeTag:x,isVueNonHtmlBlock:C,inferScriptParser:w,htmlTrimPreserveIndentation:S,dedentString:T,unescapeQuoteEntities:F,isVueSlotAttribute:k,isVueSfcBindingsAttribute:P,getTextValueParts:N}=Pi(),_=qi();function O(e,t,r){let i=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>F(e.value),p=!1,h=(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))&&(p=!0)},d=e=>n(e),f=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n([s([u,e]),t?u:""])},m=e=>p?d(e):f(e),y=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:h,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return f(g(l()));if("class"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return v(e)}if("style"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return f(y(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return D(l(),y);if(k(e)||P(e,r))return b(l(),y);let t=["^:","^v-bind:"],n=["^v-"];if(i(["^@","^v-on:"])){let e=l(),t=E(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return m(y(e,{parser:t}))}if(i(t))return m(y(l(),{parser:"__vue_expression"}));if(i(n))return m(y(l(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>y(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],u=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(i(["^\\(.+\\)$","^on-"]))return m(t(l(),{parser:"__ng_action"}));if(i(u))return m(t(l(),{parser:"__ng_binding"}));if(i(p)){let t=l().trim();return f(a(N(e,t)),!t.includes("@@"))}if(i(r))return m(t(l(),{parser:"__ng_directive"}));let h=/{{(.+?)}}/s,d=l();if(h.test(d)){let e=[];for(let[r,i]of d.split(h).entries())if(r%2===0)e.push(c(i));else try{e.push(n(["{{",s([o,t(i,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),o,"}}"]))}catch{e.push("{{",c(i),"}}")}return n(e)}}return null}function I(e,t,a,u){let c=e.getValue();switch(c.type){case"element":if(x(c)||"interpolation"===c.type)return;if(!c.isSelfClosing&&C(c,u)){let r=w(c,u);if(!r)return;let s=_(c,u),o=/^\s*$/.test(s),l="";return o||(l=a(S(s),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),o=""===l),[m(c,u),n(y(e,u,t)),o?"":i,l,o?"":i,h(c,u),d(c,u)]}break;case"text":if(x(c.parent)){let e=w(c.parent,u);if(e){let t="markdown"===e?T(c.value.replace(/^[^\S\n]*\n/,"")):c.value,n={parser:e,__embeddedInHtml:!0};if("html"===u.parser&&"babel"===e){let e="script",{attrMap:t}=c.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),n.__babelSourceType=e}return[r,m(c,u),a(t,n,{stripTrailingHardline:!0}),d(c,u)]}}else if("interpolation"===c.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===u.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===u.parser?e.parser=u.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[s([o,a(c.value,e,{stripTrailingHardline:!0})]),c.parent.next&&f(c.parent.next)?" ":o]}break;case"attribute":{if(!c.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];if("lwc"===u.parser&&/^{.*}$/s.test(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];let e=O(c,((e,t)=>a(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),u);if(e)return[c.rawName,'="',n(l(e,(e=>"string"==typeof e?e.replace(/"/g,"""):e))),'"'];break}case"front-matter":return p(c,a)}}t.exports=I}}),Wi=b({"src/language-html/print/children.js"(e,t){A();var{builders:{breakParent:r,group:n,ifBreak:i,line:s,softline:o,hardline:a},utils:{replaceTextEndOfLine:u}}=H(),{locStart:l,locEnd:c}=Mi(),{forceBreakChildren:p,forceNextEmptyLine:h,isTextLikeNode:d,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=Pi(),{printOpeningTagPrefix:y,needsToBorrowNextOpeningTagStartMarker:g,printOpeningTagStartMarker:v,needsToBorrowPrevClosingTagEndMarker:D,printClosingTagEndMarker:b,printClosingTagSuffix:E,needsToBorrowParentClosingTagStartMarker:x}=Ri();function C(e,t,r){let n=e.getValue();return f(n)?[y(n,t),...u(t.originalText.slice(l(n)+(n.prev&&g(n.prev)?v(n).length:0),c(n)-(n.next&&D(n.next)?b(n,t).length:0))),E(n,t)]:r()}function w(e,t){return d(e)&&d(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?a:s:"":m(t)?a:o:g(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&D(t)?"":!t.isLeadingSpaceSensitive||m(t)||D(t)&&e.lastChild&&x(e.lastChild)&&e.lastChild.lastChild&&x(e.lastChild.lastChild)?a:t.hasLeadingSpaces?s:o}function S(e,t,s){let u=e.getValue();if(p(u))return[r,...e.map((e=>{let r=e.getValue(),n=r.prev?w(r.prev,r):"";return[n?[n,h(r.prev)?a:""]:"",C(e,t,s)]}),"children")];let l=u.children.map((()=>Symbol("")));return e.map(((e,r)=>{let u=e.getValue();if(d(u)){if(u.prev&&d(u.prev)){let r=w(u.prev,u);if(r)return h(u.prev)?[a,a,C(e,t,s)]:[r,C(e,t,s)]}return C(e,t,s)}let c=[],p=[],f=[],m=[],y=u.prev?w(u.prev,u):"",g=u.next?w(u,u.next):"";return y&&(h(u.prev)?c.push(a,a):y===a?c.push(a):d(u.prev)?p.push(y):p.push(i("",o,{groupId:l[r-1]}))),g&&(h(u)?d(u.next)&&m.push(a,a):g===a?d(u.next)&&m.push(a):f.push(g)),[...c,n([...p,n([C(e,t,s),...f],{id:l[r]})]),...m]}),"children")}t.exports={printChildren:S}}}),Gi=b({"src/language-html/print/element.js"(e,t){A();var{builders:{breakParent:r,dedentToRoot:n,group:i,ifBreak:s,indentIfBreak:o,indent:a,line:u,softline:l},utils:{replaceTextEndOfLine:c}}=H(),p=qi(),{shouldPreserveContent:h,isScriptLikeTag:d,isVueCustomBlock:f,countParents:m,forceBreakContent:y}=Pi(),{printOpeningTagPrefix:g,printOpeningTag:v,printClosingTagSuffix:D,printClosingTag:b,needsToBorrowPrevClosingTagEndMarker:E,needsToBorrowLastChildClosingTagEndMarker:x}=Ri(),{printChildren:C}=Wi();function w(e,t,w){let A=e.getValue();if(h(A,t))return[g(A,t),i(v(e,t,w)),...c(p(A,t)),...b(A,t),D(A,t)];let S=1===A.children.length&&"interpolation"===A.firstChild.type&&A.firstChild.isLeadingSpaceSensitive&&!A.firstChild.hasLeadingSpaces&&A.lastChild.isTrailingSpaceSensitive&&!A.lastChild.hasTrailingSpaces,T=Symbol("element-attr-group-id"),F=r=>i([i(v(e,t,w),{id:T}),r,b(A,t)]),k=e=>S?o(e,{groupId:T}):!d(A)&&!f(A,t)||"root"!==A.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?a(e):e,P=()=>S?s(l,"",{groupId:T}):A.firstChild.hasLeadingSpaces&&A.firstChild.isLeadingSpaceSensitive?u:"text"===A.firstChild.type&&A.isWhitespaceSensitive&&A.isIndentationSensitive?n(l):l,N=()=>(A.next?E(A.next):x(A.parent))?A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?" ":"":S?s(l,"",{groupId:T}):A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?u:("comment"===A.lastChild.type||"text"===A.lastChild.type&&A.isWhitespaceSensitive&&A.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*m(e,(e=>e.parent&&"root"!==e.parent.type))}}$`).test(A.lastChild.value)?"":l;return 0===A.children.length?F(A.hasDanglingSpaces&&A.isDanglingSpaceSensitive?u:""):F([y(A)?r:"",k([P(),C(e,t,w)]),N()])}t.exports={printElement:w}}}),Hi=b({"src/language-html/printer-html.js"(e,t){A();var{builders:{fill:r,group:n,hardline:i,literalline:s},utils:{cleanDoc:o,getDocParts:a,isConcat:u,replaceTextEndOfLine:l}}=H(),c=Ti(),{countChars:p,unescapeQuoteEntities:h,getTextValueParts:d}=Pi(),f=ji(),{insertPragma:m}=Li(),{locStart:y,locEnd:g}=Mi(),v=zi(),{printClosingTagSuffix:D,printClosingTagEnd:b,printOpeningTagPrefix:E,printOpeningTagStart:x}=Ri(),{printElement:C}=Gi(),{printChildren:w}=Wi();function S(e,t,c){let f=e.getValue();switch(f.type){case"front-matter":return l(f.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(f),[n(w(e,t,c)),i];case"element":case"ieConditionalComment":return C(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[x(f),b(f)];case"interpolation":return[x(f,t),...e.map(c,"children"),b(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value),r=t?f.value.replace(e,""):f.value;return[...l(r),t?i:""]}let e=o([E(f,t),...d(f),D(f,t)]);return u(e)||"fill"===e.type?r(a(e)):e}case"docType":return[n([x(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),b(f,t)];case"comment":return[E(f,t),...l(t.originalText.slice(y(f),g(f)),s),D(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=h(f.value),t=p(e,"'")<p(e,'"')?"'":'"';return[f.rawName,"=",t,...l('"'===t?e.replace(/"/g,"""):e.replace(/'/g,"'")),t]}default:throw new Error(`Unexpected node type ${f.type}`)}}t.exports={preprocess:f,print:S,insertPragma:m,massageAstNode:c,embed:v}}}),Ji=b({"src/language-html/options.js"(e,t){A();var r=Cn(),n="HTML";t.exports={bracketSameLine:r.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:n,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:r.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:n,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),Xi=b({"src/language-html/parsers.js"(){A()}}),Qi=b({"node_modules/linguist-languages/data/HTML.json"(e,t){t.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Ki=b({"node_modules/linguist-languages/data/Vue.json"(e,t){t.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Yi=b({"src/language-html/index.js"(e,t){A();var r=tr(),n=Hi(),i=Ji(),s=Xi(),o=[r(Qi(),(()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),r(Qi(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),r(Qi(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),r(Ki(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],a={html:n};t.exports={languages:o,printers:a,options:i,parsers:s}}}),Zi=b({"src/language-yaml/pragma.js"(e,t){function r(e){return/^\s*@(?:prettier|format)\s*$/.test(e)}function n(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)}function i(e){return`# @format\n\n${e}`}A(),t.exports={isPragma:r,hasPragma:n,insertPragma:i}}}),es=b({"src/language-yaml/loc.js"(e,t){function r(e){return e.position.start.offset}function n(e){return e.position.end.offset}A(),t.exports={locStart:r,locEnd:n}}}),ts=b({"src/language-yaml/embed.js"(e,t){function r(e,t,r,n){if("root"===e.getValue().type&&n.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(n.filepath))return r(n.originalText,Object.assign(Object.assign({},n),{},{parser:"json"}))}A(),t.exports=r}}),rs=b({"src/language-yaml/utils.js"(e,t){A();var{getLast:r,isNonEmptyArray:n}=ye();function i(e,t){let r=0,n=e.stack.length-1;for(let i=0;i<n;i++){let n=e.stack[i];s(n)&&t(n)&&r++}return r}function s(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function o(e,t,r){return t("children"in e?Object.assign(Object.assign({},e),{},{children:e.children.map((r=>o(r,t,e)))}):e,r)}function a(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})}function u(e,t){let r=0,n=t.length;for(let i=e.position.end.offset-1;i<n;i++){let e=t[i];if("\n"===e&&r++,1===r&&/\S/.test(e))return!1;if(2===r)return!0}return!1}function l(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}let t=e.stack.length;for(let r=1;r<t;r++){let t=e.stack[r],n=e.stack[r-1];if(Array.isArray(n)&&"number"==typeof t&&t!==n.length-1)return!1}return!0}function c(e){return n(e.children)?c(r(e.children)):e}function p(e){return"prettier-ignore"===e.value.trim()}function h(e){let t=e.getValue();if("documentBody"===t.type){let t=e.getParentNode();return D(t.head)&&p(r(t.head.endComments))}return m(t)&&p(r(t.leadingComments))}function d(e){return!n(e.children)&&!f(e)}function f(e){return m(e)||y(e)||g(e)||v(e)||D(e)}function m(e){return n(null==e?void 0:e.leadingComments)}function y(e){return n(null==e?void 0:e.middleComments)}function g(e){return null==e?void 0:e.indicatorComment}function v(e){return null==e?void 0:e.trailingComment}function D(e){return n(null==e?void 0:e.endComments)}function b(e){let t,r=[];for(let n of e.split(/( +)/))" "!==n?" "===t?r.push(n):r.push((r.pop()||"")+n):void 0===t&&r.unshift(""),t=n;return" "===t&&r.push((r.pop()||"")+" "),""===r[0]&&(r.shift(),r.unshift(" "+(r.shift()||""))),r}function E(e,t,n){let i=t.split("\n").map(((e,t,r)=>0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?i.map((e=>0===e.length?[]:[e])):i.map((e=>0===e.length?[]:b(e))).reduce(((t,n,s)=>0!==s&&i[s-1].length>0&&n.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...n]]:[...t,n]),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))}function x(e,t){let n,{parentIndent:i,isLastDescendant:s,options:o}=t,a=e.position.start.line===e.position.end.line?"":o.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=a.match(/^(?<leadingSpace> *)[^\n\r ]/m);n=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else n=e.indent-1+i;let u=a.split("\n").map((e=>e.slice(n)));return"preserve"===o.proseWrap||"blockLiteral"===e.type?l(u.map((e=>0===e.length?[]:[e]))):l(u.map((e=>0===e.length?[]:b(e))).reduce(((e,t,n)=>0!==n&&u[n-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"===o.proseWrap?[e.join(" ")]:e)));function l(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let n=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)n++;return 0===n?t:n>=2&&!s?t.slice(0,-(n-1)):t.slice(0,-n)}}function C(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:i,isNode:s,isEmptyNode:d,isInlineNode:C,mapNode:o,defineShortcut:a,isNextLineEmpty:u,isLastDescendantNode:l,getBlockValueLineContents:x,getFlowScalarLineContents:E,getLastDescendantNode:c,hasPrettierIgnore:h,hasLeadingComments:m,hasMiddleComments:y,hasIndicatorComment:g,hasTrailingComment:v,hasEndComments:D}}}),ns=b({"src/language-yaml/print-preprocess.js"(e,t){A();var{defineShortcut:r,mapNode:n}=rs();function i(e){return n(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=i}}),is=b({"src/language-yaml/print/misc.js"(e,t){A();var{builders:{softline:r,align:n}}=H(),{hasEndComments:i,isNextLineEmpty:s,isNode:o}=rs(),a=new WeakMap;function u(e,t){let n,i=e.getValue(),o=e.stack[0];return a.has(o)?n=a.get(o):(n=new Set,a.set(o,n)),n.has(i.position.end.line)||(n.add(i.position.end.line),!s(i,t)||l(e.getParentNode()))?"":r}function l(e){return i(e)&&!o(e,["documentHead","documentBody","flowMapping","flowSequence"])}function c(e,t){return n(" ".repeat(e),t)}t.exports={alignWithSpaces:c,shouldPrintEndComments:l,printNextEmptyLine:u}}}),ss=b({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){A();var{builders:{ifBreak:r,line:n,softline:i,hardline:s,join:o}}=H(),{isEmptyNode:a,getLast:u,hasEndComments:l}=rs(),{printNextEmptyLine:c,alignWithSpaces:p}=is();function h(e,t,c){let h=e.getValue(),f="flowMapping"===h.type,m=f?"{":"[",y=f?"}":"]",g=i;f&&h.children.length>0&&c.bracketSpacing&&(g=n);let v=u(h.children),D=v&&"flowMappingItem"===v.type&&a(v.key)&&a(v.value);return[m,p(c.tabWidth,[g,d(e,t,c),"none"===c.trailingComma?"":r(","),l(h)?[s,o(s,e.map(t,"endComments"))]:""]),D?"":g,y]}function d(e,t,r){let i=e.getValue();return e.map(((e,s)=>[t(),s===i.children.length-1?"":[",",n,i.children[s].position.start.line!==i.children[s+1].position.start.line?c(e,r.originalText):""]]),"children")}t.exports={printFlowMapping:h,printFlowSequence:h}}}),os=b({"src/language-yaml/print/mapping-item.js"(e,t){A();var{builders:{conditionalGroup:r,group:n,hardline:i,ifBreak:s,join:o,line:a}}=H(),{hasLeadingComments:u,hasMiddleComments:l,hasTrailingComment:c,hasEndComments:p,isNode:h,isEmptyNode:d,isInlineNode:f}=rs(),{alignWithSpaces:m}=is();function y(e,t,y,b,E){let{key:x,value:C}=e,w=d(x),A=d(C);if(w&&A)return": ";let S=b("key"),T=v(e)?" ":"";if(A)return"flowMappingItem"===e.type&&"flowMapping"===t.type?S:"mappingItem"!==e.type||!g(x.content,E)||c(x.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,S)]:[S,T,":"];let F=b("value");if(w)return[": ",m(2,F)];if(u(C)||!f(x.content))return["? ",m(2,S),i,o("",y.map(b,"value","leadingComments").map((e=>[e,i]))),": ",m(2,F)];if(D(x.content)&&!u(x.content)&&!l(x.content)&&!c(x.content)&&!p(x)&&!u(C.content)&&!l(C.content)&&!p(C)&&g(C.content,E))return[S,T,": ",F];let k=Symbol("mappingKey"),P=n([s("? "),n(m(2,S),{id:k})]),N=[i,": ",m(2,F)],_=[T,":"];u(C.content)||p(C)&&C.content&&!h(C.content,["mapping","sequence"])||"mapping"===t.type&&c(x.content)&&f(C.content)||h(C.content,["mapping","sequence"])&&null===C.content.tag&&null===C.content.anchor?_.push(i):C.content&&_.push(a),_.push(F);let O=m(E.tabWidth,_);return!g(x.content,E)||u(x.content)||l(x.content)||p(x)?r([[P,s(N,O,{groupId:k})]]):r([[S,O]])}function g(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 v(e){return e.key.content&&"alias"===e.key.content.type}function D(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=y}}),as=b({"src/language-yaml/print/block.js"(e,t){A();var{builders:{dedent:r,dedentToRoot:n,fill:i,hardline:s,join:o,line:a,literalline:u,markAsRoot:l},utils:{getDocParts:c}}=H(),{getAncestorCount:p,getBlockValueLineContents:h,hasIndicatorComment:d,isLastDescendantNode:f,isNode:m}=rs(),{alignWithSpaces:y}=is();function g(e,t,g){let v=e.getValue(),D=p(e,(e=>m(e,["sequence","mapping"]))),b=f(e),E=["blockFolded"===v.type?">":"|"];null!==v.indent&&E.push(v.indent.toString()),"clip"!==v.chomping&&E.push("keep"===v.chomping?"+":"-"),d(v)&&E.push(" ",t("indicatorComment"));let x=h(v,{parentIndent:D,isLastDescendant:b,options:g}),C=[];for(let[r,p]of x.entries())0===r&&C.push(s),C.push(i(c(o(a,p)))),r!==x.length-1?C.push(0===p.length?s:l(u)):"keep"===v.chomping&&b&&C.push(n(0===p.length?s:u));return null===v.indent?E.push(r(y(g.tabWidth,C))):E.push(n(y(v.indent-1+D,C))),E}t.exports=g}}),us=b({"src/language-yaml/printer-yaml.js"(e,t){A();var{builders:{breakParent:r,fill:n,group:i,hardline:s,join:o,line:a,lineSuffix:u,literalline:l},utils:{getDocParts:c,replaceTextEndOfLine:p}}=H(),{isPreviousLineEmpty:h}=ye(),{insertPragma:d,isPragma:f}=Zi(),{locStart:m}=es(),y=ts(),{getFlowScalarLineContents:g,getLastDescendantNode:v,hasLeadingComments:D,hasMiddleComments:b,hasTrailingComment:E,hasEndComments:x,hasPrettierIgnore:C,isLastDescendantNode:w,isNode:S,isInlineNode:T}=rs(),F=ns(),{alignWithSpaces:k,printNextEmptyLine:P,shouldPrintEndComments:N}=is(),{printFlowMapping:_,printFlowSequence:O}=ss(),I=os(),B=as();function j(e,t,n){let a=e.getValue(),c=[];"mappingValue"!==a.type&&D(a)&&c.push([o(s,e.map(n,"leadingComments")),s]);let{tag:d,anchor:f}=a;d&&c.push(n("tag")),d&&f&&c.push(" "),f&&c.push(n("anchor"));let y="";S(a,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!w(e)&&(y=P(e,t.originalText)),(d||f)&&(S(a,["sequence","mapping"])&&!b(a)?c.push(s):c.push(" ")),b(a)&&c.push([1===a.middleComments.length?"":s,o(s,e.map(n,"middleComments")),s]);let g=e.getParentNode();return C(e)?c.push(p(t.originalText.slice(a.position.start.offset,a.position.end.offset).trimEnd(),l)):c.push(i(L(a,g,e,t,n))),E(a)&&!S(a,["document","documentHead"])&&c.push(u(["mappingValue"!==a.type||a.content?" ":"","mappingKey"===g.type&&"mapping"===e.getParentNode(2).type&&T(a)?"":r,n("trailingComment")])),N(a)&&c.push(k("sequenceItem"===a.type?2:0,[s,o(s,e.map((e=>[h(t.originalText,e.getValue(),m)?s:"",n()]),"endComments"))])),c.push(y),c}function L(e,t,r,n,i){switch(e.type){case"root":{let{children:t}=e,n=[];r.each(((e,r)=>{let o=t[r],a=t[r+1];0!==r&&n.push(s),n.push(i()),R(o,a)?(n.push(s,"..."),E(o)&&n.push(" ",i("trailingComment"))):a&&!E(a.head)&&n.push(s,"---")}),"children");let o=v(e);return(!S(o,["blockLiteral","blockFolded"])||"keep"!==o.chomping)&&n.push(s),n}case"document":{let a=[];return"head"===$(e,t.children[r.getName()+1],t,n)&&((e.head.children.length>0||e.head.endComments.length>0)&&a.push(i("head")),E(e.head)?a.push(["---"," ",i(["head","trailingComment"])]):a.push("---")),M(e)&&a.push(i("body")),o(s,a)}case"documentHead":return o(s,[...r.map(i,"children"),...r.map(i,"endComments")]);case"documentBody":{let{children:t,endComments:n}=e,a="";if(t.length>0&&n.length>0){let t=v(e);S(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(a=[s,s]):a=s}return[o(s,r.map(i,"children")),a,o(s,r.map(i,"endComments"))]}case"directive":return["%",o(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return V(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":{let t="'",r='"',i=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){let s="quoteDouble"===e.type?r:t;return[s,V(e.type,i,n),s]}if(i.includes(r))return[t,V(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):i,n),t];if(i.includes(t))return[r,V(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,n),r];let s=n.singleQuote?t:r;return[s,V(e.type,i,n),s]}case"blockFolded":case"blockLiteral":return B(r,i,n);case"mapping":case"sequence":return o(s,r.map(i,"children"));case"sequenceItem":return["- ",k(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return I(e,t,r,i,n);case"flowMapping":return _(r,i,n);case"flowSequence":return O(r,i,n);case"flowSequenceItem":return i("content");default:throw new Error(`Unexpected node type ${e.type}`)}}function M(e){return e.body.children.length>0||x(e.body)}function R(e,t){return E(e)||t&&(t.head.children.length>0||x(t.head))}function $(e,t,r,n){return r.children[0]===e&&/---(?:\s|$)/.test(n.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||x(e.head)||E(e.head)?"head":!R(e,t)&&!!t&&"root"}function V(e,t,r){let i=g(e,t,r);return o(s,i.map((e=>n(c(o(a,e))))))}function U(e,t){if(S(t))switch(delete t.position,t.type){case"comment":if(f(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}}t.exports={preprocess:F,embed:y,print:j,massageAstNode:U,insertPragma:d}}}),ls=b({"src/language-yaml/options.js"(e,t){A();var r=Cn();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),cs=b({"src/language-yaml/parsers.js"(){A()}}),ps=b({"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}}}),hs=b({"src/language-yaml/index.js"(e,t){A();var r=tr(),n=us(),i=ls(),s=cs(),o=[r(ps(),(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:o,printers:{yaml:n},options:i,parsers:s}}}),ds=b({"src/languages.js"(e,t){A(),t.exports=[_n(),Yn(),oi(),di(),Si(),Yi(),hs()]}});A();var{version:fs}=S(),ms=Zt(),{getSupportInfo:ys}=le(),gs=er(),vs=ds(),Ds=H();function bs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];let s=n[t]||{},o=s.plugins||[];return n[t]=Object.assign(Object.assign({},s),{},{plugins:[...vs,...Array.isArray(o)?o:Object.values(o)]}),e(...n)}}var Es=bs(ms.formatWithCursor);o.exports={formatWithCursor:Es,format:(e,t)=>Es(e,t).formatted,check(e,t){let{formatted:r}=Es(e,t);return r===e},doc:Ds,getSupportInfo:bs(ys,0),version:fs,util:gs,__debug:{parse:bs(ms.parse),formatAST:bs(ms.formatAST),formatDoc:bs(ms.formatDoc),printToDoc:bs(ms.printToDoc),printDocToString:bs(ms.printDocToString)}}}));return ze()}()},1686:function(e,t,r){"use strict";r.d(t,{q7V:function(){return h},D27:function(){return d},bge:function(){return p}});var n=r(7294),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=n.createContext&&n.createContext(i),o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};function u(e){return e&&e.map((function(e,t){return n.createElement(e.tag,o({key:t},e.attr),u(e.child))}))}function l(e){return function(t){return n.createElement(c,o({attr:o({},e.attr)},t),u(e.child))}}function c(e){var t=function(t){var r,i=e.attr,s=e.size,u=e.title,l=a(e,["attr","size","title"]),c=s||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,l,{className:r,style:o(o({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),u&&n.createElement("title",null,u),e.children)};return void 0!==s?n.createElement(s.Consumer,null,(function(e){return t(e)})):t(i)}function p(e){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M10.9999 11.9998L3.92886 19.0708L2.51465 17.6566L8.1715 11.9998L2.51465 6.34292L3.92886 4.92871L10.9999 11.9998ZM10.9999 18.9998H20.9999V20.9998H10.9999V18.9998Z"}}]})(e)}function h(e){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.001 2C6.47598 2 2.00098 6.475 2.00098 12C2.00098 16.425 4.86348 20.1625 8.83848 21.4875C9.33848 21.575 9.52598 21.275 9.52598 21.0125C9.52598 20.775 9.51348 19.9875 9.51348 19.15C7.00098 19.6125 6.35098 18.5375 6.15098 17.975C6.03848 17.6875 5.55098 16.8 5.12598 16.5625C4.77598 16.375 4.27598 15.9125 5.11348 15.9C5.90098 15.8875 6.46348 16.625 6.65098 16.925C7.55098 18.4375 8.98848 18.0125 9.56348 17.75C9.65098 17.1 9.91348 16.6625 10.201 16.4125C7.97598 16.1625 5.65098 15.3 5.65098 11.475C5.65098 10.3875 6.03848 9.4875 6.67598 8.7875C6.57598 8.5375 6.22598 7.5125 6.77598 6.1375C6.77598 6.1375 7.61348 5.875 9.52598 7.1625C10.326 6.9375 11.176 6.825 12.026 6.825C12.876 6.825 13.726 6.9375 14.526 7.1625C16.4385 5.8625 17.276 6.1375 17.276 6.1375C17.826 7.5125 17.476 8.5375 17.376 8.7875C18.0135 9.4875 18.401 10.375 18.401 11.475C18.401 15.3125 16.0635 16.1625 13.8385 16.4125C14.201 16.725 14.5135 17.325 14.5135 18.2625C14.5135 19.6 14.501 20.675 14.501 21.0125C14.501 21.275 14.6885 21.5875 15.1885 21.4875C19.259 20.1133 21.9999 16.2963 22.001 12C22.001 6.475 17.526 2 12.001 2Z"}}]})(e)}function d(e){return l({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M3.06364 7.50914C4.70909 4.24092 8.09084 2 12 2C14.6954 2 16.959 2.99095 18.6909 4.60455L15.8227 7.47274C14.7864 6.48185 13.4681 5.97727 12 5.97727C9.39542 5.97727 7.19084 7.73637 6.40455 10.1C6.2045 10.7 6.09086 11.3409 6.09086 12C6.09086 12.6591 6.2045 13.3 6.40455 13.9C7.19084 16.2636 9.39542 18.0227 12 18.0227C13.3454 18.0227 14.4909 17.6682 15.3864 17.0682C16.4454 16.3591 17.15 15.3 17.3818 14.05H12V10.1818H21.4181C21.5364 10.8363 21.6 11.5182 21.6 12.2273C21.6 15.2727 20.5091 17.8363 18.6181 19.5773C16.9636 21.1046 14.7 22 12 22C8.09084 22 4.70909 19.7591 3.06364 16.4909C2.38638 15.1409 2 13.6136 2 12C2 10.3864 2.38638 8.85911 3.06364 7.50914Z"}}]})(e)}},9921:function(e,t){"use strict";var r="function"===typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,D=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function E(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case p:case s:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case h:case y:case m:case u:return e;default:return t}}case i:return t}}}function x(e){return E(e)===p}t.AsyncMode=c,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=u,t.Element=n,t.ForwardRef=h,t.Fragment=s,t.Lazy=y,t.Memo=m,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=d,t.isAsyncMode=function(e){return x(e)||E(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return E(e)===l},t.isContextProvider=function(e){return E(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===h},t.isFragment=function(e){return E(e)===s},t.isLazy=function(e){return E(e)===y},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===a},t.isStrictMode=function(e){return E(e)===o},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===s||e===p||e===a||e===o||e===d||e===f||"object"===typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===v||e.$$typeof===D||e.$$typeof===b||e.$$typeof===g)},t.typeOf=E},9864:function(e,t,r){"use strict";e.exports=r(9921)},5617:function(e,t,r){"use strict";r.d(t,{zt:function(){return c},I0:function(){return m},v9:function(){return D}});var n=r(7294),i=n.createContext(null);var s=function(e){e()},o=function(){return s};var a={notify:function(){},get:function(){return[]}};function u(e,t){var r,n=a;function i(){u.onStateChange&&u.onStateChange()}function s(){r||(r=t?t.addNestedSub(i):e.subscribe(i),n=function(){var e=o(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var u={addNestedSub:function(e){return s(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(r)},trySubscribe:s,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=a)},getListeners:function(){return n}};return u}var l="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?n.useLayoutEffect:n.useEffect;var c=function(e){var t=e.store,r=e.context,s=e.children,o=(0,n.useMemo)((function(){var e=u(t);return{store:t,subscription:e}}),[t]),a=(0,n.useMemo)((function(){return t.getState()}),[t]);l((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,a]);var c=r||i;return n.createElement(c.Provider,{value:o},s)};r(8679),r(2973);r(7462);function p(){return(0,n.useContext)(i)}function h(e){void 0===e&&(e=i);var t=e===i?p:function(){return(0,n.useContext)(e)};return function(){return t().store}}var d=h();function f(e){void 0===e&&(e=i);var t=e===i?d:h(e);return function(){return t().dispatch}}var m=f(),y=function(e,t){return e===t};function g(e){void 0===e&&(e=i);var t=e===i?p:function(){return(0,n.useContext)(e)};return function(e,r){void 0===r&&(r=y);var i=t(),s=function(e,t,r,i){var s,o=(0,n.useReducer)((function(e){return e+1}),0)[1],a=(0,n.useMemo)((function(){return u(r,i)}),[r,i]),c=(0,n.useRef)(),p=(0,n.useRef)(),h=(0,n.useRef)(),d=(0,n.useRef)(),f=r.getState();try{if(e!==p.current||f!==h.current||c.current){var m=e(f);s=void 0!==d.current&&t(m,d.current)?d.current:m}else s=d.current}catch(y){throw c.current&&(y.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),y}return l((function(){p.current=e,h.current=f,d.current=s,c.current=void 0})),l((function(){function e(){try{var e=r.getState();if(e===h.current)return;var n=p.current(e);if(t(n,d.current))return;d.current=n,h.current=e}catch(y){c.current=y}o()}return a.onStateChange=e,a.trySubscribe(),e(),function(){return a.tryUnsubscribe()}}),[r,a]),s}(e,r,i.store,i.subscription);return(0,n.useDebugValue)(s),s}}var v,D=g(),b=r(3935);v=b.unstable_batchedUpdates,s=v},8359:function(e,t){"use strict";var r=60103,n=60106,i=60107,s=60108,o=60114,a=60109,u=60110,l=60112,c=60113,p=60120,h=60115,d=60116,f=60121,m=60122,y=60117,g=60129,v=60131;if("function"===typeof Symbol&&Symbol.for){var D=Symbol.for;r=D("react.element"),n=D("react.portal"),i=D("react.fragment"),s=D("react.strict_mode"),o=D("react.profiler"),a=D("react.provider"),u=D("react.context"),l=D("react.forward_ref"),c=D("react.suspense"),p=D("react.suspense_list"),h=D("react.memo"),d=D("react.lazy"),f=D("react.block"),m=D("react.server.block"),y=D("react.fundamental"),g=D("react.debug_trace_mode"),v=D("react.legacy_hidden")}function b(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case o:case s:case c:case p:return e;default:switch(e=e&&e.$$typeof){case u:case l:case d:case h:case a:return e;default:return t}}case n:return t}}}},2973:function(e,t,r){"use strict";r(8359)},9676:function(e,t,r){e.exports=r(3728)},2725:function(e,t,r){"use strict";var n,i;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"===typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(5174)},8771:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(7368)}])},5019:function(e,t,r){"use strict";r.d(t,{b:function(){return i},s:function(){return n}});const n={_empty:{name:"Empty",description:"By codetree",public:!0,iconSrc:"/icons/vanilla.svg",tabs:{javascript:{title:"app.jsx",entryPoints:"index.js",monacoLanguage:"javascript",data:""},html:{title:"index.html",entryPoints:"index.html",monacoLanguage:"html",data:""},css:{title:"main.css",entryPoints:"main.css",monacoLanguage:"css",data:""}}},_vanilla:{name:"Vanilla",description:"By codetree",public:!0,iconSrc:"/icons/vanilla.svg",tabs:{javascript:{title:"JS/JSX",entryPoints:"index.js",monacoLanguage:"javascript",data:'document.getElementById("app").innerHTML = `\n<h1>Vanilla</h1>\n<div>\n Bare minimal javascript template\n</div>\n`;\n'},html:{title:"html",entryPoints:"index.html",monacoLanguage:"html",data:'<div id="app"></div>'},css:{title:"Css",entryPoints:"main.css",monacoLanguage:"css",data:"body {\n font-family: sans-serif;\n}\n\n#app {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n"}}},_typescript:{name:"Typescript",description:"By codetree",public:!0,iconSrc:"/icons/typescript.svg",tabs:{javascript:{title:"Ts/Tsx",entryPoints:"index.ts",monacoLanguage:"typescript",data:"function add(x: number, y: number): number {\n return x + y;\n}\n\nconst result = add(2,5)\n\nconsole.log(result)"},html:{title:"Html",entryPoints:"index.html",monacoLanguage:"html",data:'<div id="app">\n <h1>Typescript</h1>\n <div>Bare minimal Typescript template \ud83d\ude80</div>\n</div>\n'},css:{title:"Css",entryPoints:"main.css",monacoLanguage:"css",data:"body {\n font-family: sans-serif;\n}\n\n#app {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n"}}},_p5:{name:"P5js",description:"By codetree",public:!0,iconSrc:"/icons/p5-dot-js.svg",tabs:{javascript:{title:"JS/JSX",entryPoints:"index.js",monacoLanguage:"javascript",data:'import p5 from "p5";\n\nlet sketch = function (p) {\n p.setup = function () {\n p.createCanvas(window.innerWidth, window.innerHeight);\n p.background(0);\n };\n p.draw = () => {\n // sketch.background(100);\n p.fill(255);\n p.ellipse(p.mouseX, p.mouseY, 50, 50);\n };\n};\n \nnew p5(sketch, window.document.getElementById("container"));\n'},html:{title:"Html",entryPoints:"index.html",monacoLanguage:"html",data:""},css:{title:"Css",entryPoints:"main.css",monacoLanguage:"css",data:"body {\n margin: 0px;\n font-family: sans-serif;\n}\ncanvas {\n margin: 0px;\n}\n"}}},_react:{name:"React",description:"By codetree",public:!0,iconSrc:"/icons/reactjs.svg",tabs:{javascript:{title:"JS/JSX",entryPoints:"index.js",monacoLanguage:"javascript",data:'import React, { useState } from "react";\nimport ReactDOM from "react-dom";\n\nfunction App() {\n const [count, setCount] = useState(0);\n\n return (\n <div className="App">\n <h1>Hello ReactTree</h1>\n <h2>You clicked {count} times!</h2>\n\n <button onClick={() => setCount(count - 1)}>Decrement</button>\n <button onClick={() => setCount(count + 1)}>Increment</button>\n </div>\n );\n}\n\nconst rootElement = document.getElementById("root");\nReactDOM.render(<App />, rootElement);\n'},html:{title:"index.html",entryPoints:"index.html",monacoLanguage:"html",data:""},css:{title:"main.css",entryPoints:"main.css",monacoLanguage:"css",data:".App {\n font-family: sans-serif;\n text-align: center;\n}\n"}}},_gsap:{name:"Gsap",description:"By codetree",public:!0,iconSrc:"/icons/gsap-greensock.svg",tabs:{javascript:{title:"JS/JSX",entryPoints:"index.js",monacoLanguage:"javascript",data:'import gsap from "gsap"\n\nvar tl = gsap.timeline({ repeat: -1 });\ntl.to("h1", 30, { backgroundPosition: "-960px 0" });\n'},html:{title:"Html",entryPoints:"index.html",monacoLanguage:"html",data:'<div class="wrapper">\n <h1 class="title">Codetree<h1>\n</div> '},css:{title:"Css",entryPoints:"main.css",monacoLanguage:"css",data:'body {\n background-color: #1d1d1d;\n margin: 0;\n padding: 0;\n}\n\n.wrapper {\n display: flex;\n height: 100vh;\n justify-content: center;\n align-items: center;\n}\n\nh1 {\n max-width: 75%;\n font-size: 100px;\n text-align: center;\n font-family: "Montserrat", sans-serif;\n color: #540032;\n}\n\n.title {\n background-image: url(https://cdn.pixabay.com/photo/2017/07/03/20/17/abstract-2468874_960_720.jpg);\n background-attachment: fixed;\n -webkit-text-fill-color: transparent;\n -webkit-background-clip: text;\n}'}}}},i={fontSize:12,fontWeight:"500",minimap:{enabled:!1},wordWrap:"on",autoClosingBrackets:"always",showUnused:!0,automaticLayout:!0,tabSize:2,renderLineHighlight:"none",scrollbar:{verticalScrollbarSize:10,verticalSliderSize:10}}},2495:function(e,t,r){"use strict";r.d(t,{I:function(){return g},Z:function(){return b}});var n=r(7294);function i(e,t){return e===t}function s(e){return"function"===typeof e?function(){return e}:e}function o(e,t,r){var o=r&&r.equalityFn||i,a=function(e){var t=(0,n.useState)(s(e)),r=t[0],i=t[1];return[r,(0,n.useCallback)((function(e){return i(s(e))}),[])]}(e),u=a[0],l=a[1],c=function(e,t,r){var i=this,s=(0,n.useRef)(null),o=(0,n.useRef)(0),a=(0,n.useRef)(null),u=(0,n.useRef)([]),l=(0,n.useRef)(),c=(0,n.useRef)(),p=(0,n.useRef)(e),h=(0,n.useRef)(!0);p.current=e;var d=!t&&0!==t&&"undefined"!==typeof window;if("function"!==typeof e)throw new TypeError("Expected a function");t=+t||0;var f=!!(r=r||{}).leading,m=!("trailing"in r)||!!r.trailing,y="maxWait"in r,g=y?Math.max(+r.maxWait||0,t):null;(0,n.useEffect)((function(){return h.current=!0,function(){h.current=!1}}),[]);var v=(0,n.useMemo)((function(){var e=function(e){var t=u.current,r=l.current;return u.current=l.current=null,o.current=e,c.current=p.current.apply(r,t)},r=function(e,t){d&&cancelAnimationFrame(a.current),a.current=d?requestAnimationFrame(e):setTimeout(e,t)},n=function(e){if(!h.current)return!1;var r=e-s.current,n=e-o.current;return!s.current||r>=t||r<0||y&&n>=g},v=function(t){return a.current=null,m&&u.current?e(t):(u.current=l.current=null,c.current)},D=function(){var e=Date.now();if(n(e))return v(e);if(h.current){var i=e-s.current,a=e-o.current,u=t-i,l=y?Math.min(u,g-a):u;r(D,l)}},b=function(){for(var p=[],d=0;d<arguments.length;d++)p[d]=arguments[d];var m=Date.now(),g=n(m);if(u.current=p,l.current=i,s.current=m,g){if(!a.current&&h.current)return o.current=s.current,r(D,t),f?e(s.current):c.current;if(y)return r(D,t),e(s.current)}return a.current||r(D,t),c.current};return b.cancel=function(){a.current&&(d?cancelAnimationFrame(a.current):clearTimeout(a.current)),o.current=0,u.current=s.current=l.current=a.current=null},b.isPending=function(){return!!a.current},b.flush=function(){return a.current?v(Date.now()):c.current},b}),[f,y,t,g,m,d]);return v}((0,n.useCallback)((function(e){return l(e)}),[l]),t,r),p=(0,n.useRef)(e);return o(p.current,e)||(c(e),p.current=e),[u,c]}var a=r(2237),u=r.n(a),l=r(5657),c=r.n(l),p=r(8182),h=r.n(p),d=r(3945),f=r.n(d),m=r(3774),y=r(5642);const g=()=>{const{theme:e}=(0,m.C)(y.FS),t=(0,n.useRef)(),[i,s]=(0,n.useState)(""),[a]=o(i,1e3);return{onMount:async(n,i)=>{t.current=n,i.editor.defineTheme("myTheme",{base:"vs-dark",inherit:!0,rules:[{background:e.background,token:""}],colors:{"editor.background":e.foreground}}),i.editor.setTheme("myTheme");const{default:s}=await Promise.all([r.e(774),r.e(797),r.e(763)]).then(r.bind(r,5686)),{parse:o}=await r.e(797).then(r.bind(r,7191)),{default:a}=await r.e(426).then(r.bind(r,9426)),l=new a(i,(e=>o(e,{sourceType:"module",plugins:["jsx"]})),s,n);l.highLightOnDidChangeModelContent(0,(()=>{}),(()=>{}),void 0,(()=>{}));let p=t.current.onKeyDown((e=>{(window.navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)&&"KeyS"===e.code&&(e.preventDefault(),function(){const e=t.current.getModel().getValue();let r;switch(t.current.getModel()._languageIdentifier.language){case"html":r={parser:"html",plugin:[u()]};break;case"css":r={parser:"css",plugin:[c()]};break;case"javascript":r={parser:"babel",plugin:[h()]}}const n=f().format(e,{parser:r&&r.parser,plugins:r&&r.plugin,useTabs:!1,semi:!0});t.current.setValue(n)}())}));return()=>p.dispose()},onChange:e=>{s(e)},code:a}};var v=r(6594),D=r(9058);const b=()=>{const e=(0,m.T)();return{setTree:t=>{e((0,v.M2)()),e((0,v.Vi)(t)),e((0,v.U$)(t)),e((0,D.Li)())}}}},7368:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return hl}});var n=r(5893),i=(r(2914),r(1577),r(7380),r(7439),r(3258),r(97),r(3459),r(57),r(7294)),s=r(5617),o=r(9676),a=r.n(o),u=r(8220),l=r.n(u),c=r(4865),p=r.n(c),h=r(8964),d=r(320).aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";var f=function(e){var t=e.client,r=e.children,n=function(){var e=i.createContext[d];return e||(Object.defineProperty(i.createContext,d,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}();return i.createElement(n.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?(0,h.kG)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):(0,h.kG)(e.client,26),i.createElement(n.Provider,{value:e},r)}))},m=r(8702),y=r(5367),g=r(8291),v=r(5526),D=r(9776),b=r.n(D),E=r(7582),x=r(6918),C=r(3154),w=r(8216),A=r(990);var S=function(e){function t(t){var r=e.call(this)||this;return r.client=t,r}return(0,E.ZT)(t,e),t.prototype.request=function(e){var t=this;return new w.y((function(r){return t.client.subscribe((0,E.pi)((0,E.pi)({},e),{query:(0,x.S)(e.query)}),{next:r.next.bind(r),complete:r.complete.bind(r),error:function(e){return e instanceof Error?r.error(e):(t=e,(0,C.s)(t)&&"code"in t&&"reason"in t?r.error(new Error("Socket closed with event ".concat(e.code," ").concat(e.reason||""))):r.error(new A.c({graphQLErrors:Array.isArray(e)?e:[e]})));var t}})}))},t}(m.i);function T(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function F(e){return"object"===T(e)}function k(e,t){return e.length<124?e:t}var P,N;function _(e){if(!F(e))throw new Error(`Message is expected to be an object, but got ${T(e)}`);if(!e.type)throw new Error("Message is missing the 'type' property");if("string"!==typeof e.type)throw new Error(`Message is expects the 'type' property to be a string, but got ${T(e.type)}`);switch(e.type){case N.ConnectionInit:case N.ConnectionAck:case N.Ping:case N.Pong:if(null!=e.payload&&!F(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break;case N.Subscribe:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${T(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!F(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${T(e.payload)}`);if("string"!==typeof e.payload.query)throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${T(e.payload.query)}`);if(null!=e.payload.variables&&!F(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${T(e.payload.variables)}`);if(null!=e.payload.operationName&&"string"!==T(e.payload.operationName))throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${T(e.payload.operationName)}`);if(null!=e.payload.extensions&&!F(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${T(e.payload.extensions)}`);break;case N.Next:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${T(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!F(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${T(e.payload)}`);break;case N.Error:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${T(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(t=e.payload,!(Array.isArray(t)&&t.length>0&&t.every((e=>"message"in e))))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break;case N.Complete:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${T(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break;default:throw new Error(`Invalid message 'type' property "${e.type}"`)}var t;return e}function O(e,t){return _(e),JSON.stringify(e,t)}!function(e){e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests"}(P||(P={})),function(e){e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete"}(N||(N={}));var I=function(e){return this instanceof I?(this.v=e,this):new I(e)},B=function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){s.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{(r=i[e](t)).value instanceof I?Promise.resolve(r.value.v).then(u,l):c(s[0][2],r)}catch(n){c(s[0][3],n)}var r}function u(e){a("next",e)}function l(e){a("throw",e)}function c(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}};function j(e){return F(e)&&"code"in e&&"reason"in e}var L=r(6765);function M(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{keyArgs:e,merge(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,{args:r}=arguments.length>2?arguments[2]:void 0;var n,i,s;const o=(null===(n=e)||void 0===n?void 0:n.data)?null===(s=e)||void 0===s||null===(i=s.data)||void 0===i?void 0:i.slice(0):[];if(t)if(r){var a,u,l;const{offset:e=0}=null===(a=r)||void 0===a?void 0:a.input;for(let r=0;r<(null===(l=t)||void 0===l||null===(u=l.data)||void 0===u?void 0:u.length);++r){var c;o[e+r]=null===(c=t)||void 0===c?void 0:c.data[r]}}else{var p;o.push.apply(o,null===(p=t)||void 0===p?void 0:p.data)}return{...t,data:o}}}}var R=r(2725);new m.i(((e,t)=>t(e).map((e=>{var t;return console.info("response",null===(t=e)||void 0===t?void 0:t.data),e}))));const $=new S(function(e){const{url:t,connectionParams:r,lazy:n=!0,onNonLazyError:i=console.error,lazyCloseTimeout:s=0,keepAlive:o=0,disablePong:a,connectionAckWaitTimeout:u=0,retryAttempts:l=5,retryWait:c=async function(e){let t=1e3;for(let r=0;r<e;r++)t*=2;await new Promise((e=>setTimeout(e,t+Math.floor(2700*Math.random()+300))))},shouldRetry:p=j,isFatalConnectionProblem:h,on:d,webSocketImpl:f,generateID:m=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},jsonMessageReplacer:y,jsonMessageReviver:g}=e;let v;if(f){if(!("function"===typeof(D=f)&&"constructor"in D&&"CLOSED"in D&&"CLOSING"in D&&"CONNECTING"in D&&"OPEN"in D))throw new Error("Invalid WebSocket implementation provided");v=f}else"undefined"!==typeof WebSocket?v=WebSocket:"undefined"!==typeof global?v=global.WebSocket||global.MozWebSocket:"undefined"!==typeof window&&(v=window.WebSocket||window.MozWebSocket);var D;if(!v)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const b=v,E=(()=>{const e=(()=>{const e={};return{on:(t,r)=>(e[t]=r,()=>{delete e[t]}),emit(t){var r;"id"in t&&(null===(r=e[t.id])||void 0===r||r.call(e,t))}}})(),t={connecting:(null===d||void 0===d?void 0:d.connecting)?[d.connecting]:[],opened:(null===d||void 0===d?void 0:d.opened)?[d.opened]:[],connected:(null===d||void 0===d?void 0:d.connected)?[d.connected]:[],ping:(null===d||void 0===d?void 0:d.ping)?[d.ping]:[],pong:(null===d||void 0===d?void 0:d.pong)?[d.pong]:[],message:(null===d||void 0===d?void 0:d.message)?[e.emit,d.message]:[e.emit],closed:(null===d||void 0===d?void 0:d.closed)?[d.closed]:[],error:(null===d||void 0===d?void 0:d.error)?[d.error]:[]};return{onMessage:e.on,on(e,r){const n=t[e];return n.push(r),()=>{n.splice(n.indexOf(r),1)}},emit(e,...r){for(const n of[...t[e]])n(...r)}}})();function x(e){const t=[E.on("error",(r=>{t.forEach((e=>e())),e(r)})),E.on("closed",(r=>{t.forEach((e=>e())),e(r)}))]}let C,w,A=0,S=!1,T=0,F=!1;async function L(){clearTimeout(w);const[e,n]=await(null!==C&&void 0!==C?C:C=new Promise(((e,n)=>(async()=>{if(S){if(await c(T),!A)return C=void 0,n({code:1e3,reason:"All Subscriptions Gone"});T++}E.emit("connecting");const i=new b("function"===typeof t?await t():t,"graphql-transport-ws");let s,l;function p(){isFinite(o)&&o>0&&(clearTimeout(l),l=setTimeout((()=>{i.readyState===b.OPEN&&(i.send(O({type:N.Ping})),E.emit("ping",!1,void 0))}),o))}x((e=>{C=void 0,clearTimeout(s),clearTimeout(l),n(e),j(e)&&4499===e.code&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)})),i.onerror=e=>E.emit("error",e),i.onclose=e=>E.emit("closed",e),i.onopen=async()=>{try{E.emit("opened",i);const e="function"===typeof r?await r():r;if(i.readyState!==b.OPEN)return;i.send(O(e?{type:N.ConnectionInit,payload:e}:{type:N.ConnectionInit},y)),isFinite(u)&&u>0&&(s=setTimeout((()=>{i.close(P.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")}),u)),p()}catch(e){E.emit("error",e),i.close(P.InternalClientError,k(e instanceof Error?e.message:new Error(e).message,"Internal client error"))}};let h=!1;i.onmessage=({data:t})=>{try{const r=function(e,t){return _("string"===typeof e?JSON.parse(e,t):e)}(t,g);if(E.emit("message",r),"ping"===r.type||"pong"===r.type)return E.emit(r.type,!0,r.payload),void("pong"===r.type?p():a||(i.send(O(r.payload?{type:N.Pong,payload:r.payload}:{type:N.Pong})),E.emit("pong",!1,r.payload)));if(h)return;if(r.type!==N.ConnectionAck)throw new Error(`First message cannot be of type ${r.type}`);clearTimeout(s),h=!0,E.emit("connected",i,r.payload),S=!1,T=0,e([i,new Promise(((e,t)=>x(t)))])}catch(r){i.onmessage=null,E.emit("error",r),i.close(P.BadResponse,k(r instanceof Error?r.message:new Error(r).message,"Bad response"))}}})())));e.readyState===b.CLOSING&&await n;let i=()=>{};const l=new Promise((e=>i=e));return[e,i,Promise.race([l.then((()=>{if(!A){const t=()=>e.close(1e3,"Normal Closure");isFinite(s)&&s>0?w=setTimeout((()=>{e.readyState===b.OPEN&&t()}),s):t()}})),n])]}function M(e){if(j(e)&&(t=e.code,![1e3,1001,1006,1005,1012,1013,1013].includes(t)&&t>=1e3&&t<=1999||[P.InternalServerError,P.InternalClientError,P.BadRequest,P.BadResponse,P.Unauthorized,P.SubprotocolNotAcceptable,P.SubscriberAlreadyExists,P.TooManyInitialisationRequests].includes(e.code)))throw e;var t;if(F)return!1;if(j(e)&&1e3===e.code)return A>0;if(!l||T>=l)throw e;if(!p(e))throw e;if(null===h||void 0===h?void 0:h(e))throw e;return S=!0}return n||(async()=>{for(A++;;)try{const[,,e]=await L();await e}catch(e){try{if(!M(e))return}catch(e){return null===i||void 0===i?void 0:i(e)}}})(),{on:E.on,subscribe(e,t){const r=m(e);let n=!1,i=!1,s=()=>{A--,n=!0};return(async()=>{for(A++;;)try{const[o,a,u]=await L();if(n)return a();const l=E.onMessage(r,(e=>{switch(e.type){case N.Next:return void t.next(e.payload);case N.Error:return i=!0,n=!0,t.error(e.payload),void s();case N.Complete:return n=!0,void s()}}));return o.send(O({id:r,type:N.Subscribe,payload:e},y)),s=()=>{n||o.readyState!==b.OPEN||o.send(O({id:r,type:N.Complete},y)),A--,n=!0,a()},void(await u.finally(l))}catch(o){if(!M(o))return}})().then((()=>{i||t.complete()})).catch((e=>{t.error(e)})),()=>{n||s()}},iterate(e){const t=[],r={done:!1,error:null,resolve:()=>{}},n=this.subscribe(e,{next(e){t.push(e),r.resolve()},error(e){r.done=!0,r.error=e,r.resolve()},complete(){r.done=!0,r.resolve()}}),i=function(){return B(this,arguments,(function*(){for(;;){for(t.length||(yield I(new Promise((e=>r.resolve=e))));t.length;)yield yield I(t.shift());if(r.error)throw r.error;if(r.done)return yield I(void 0)}}))}();return i.throw=async e=>(r.done||(r.done=!0,r.error=e,r.resolve()),{done:!0,value:void 0}),i.return=async()=>(n(),{done:!0,value:void 0}),i},async dispose(){if(F=!0,C){const[e]=await C;e.close(1e3,"Normal Closure")}},terminate(){C&&E.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}}({url:"".concat(R.env.NEXT_PUBLIC_WS_API_URL)})),V=e=>b()({uri:R.env.NEXT_PUBLIC_API_URL,headers:e?{authorization:"Bearer ".concat(e),"apollo-require-preflight":!0}:{"apollo-require-preflight":!0}}),U=e=>null!=$?(0,y.V)((e=>{let{query:t}=e;const r=(0,L.p$)(t);return"OperationDefinition"===r.kind&&"subscription"===r.operation}),$,V(e)):V(e);var q=r(6319),z=r(9669),W=r.n(z);const G={user:{isLoggedIn:!1,data:{id:"",email:"",username:"",avatar:void 0,bio:void 0,website:void 0,verifiedAt:void 0,createdAt:void 0,updatedAt:void 0},token:void 0,status:!1},errors:null,isLoadingLogin:!1,isLoadingLogout:!1},H=(0,q.oM)({name:"auth",initialState:G,reducers:{set_initial_user:(e,t)=>{let{payload:r}=t;e.user=r,e.errors=null},with_oauth:e=>{e.isLoadingLogin=!0},with_oauth_success:(e,t)=>{let{payload:r}=t;e.isLoadingLogin=!1,e.user=r,e.errors=null},with_oauth_failure:(e,t)=>{let{payload:r}=t;e.isLoadingLogin=!1,e.user=null,e.errors=r},logout_user:e=>{e.isLoadingLogout=!0},logout_user_success:e=>{e.isLoadingLogout=!1,e.user=null,e.errors=null},logout_user_failure:(e,t)=>{let{payload:r}=t;e.isLoadingLogout=!1,e.errors=r}}}),{set_initial_user:J,with_oauth:X,with_oauth_success:Q,with_oauth_failure:K,logout_user:Y,logout_user_success:Z,logout_user_failure:ee}=H.actions;var te=H.reducer;var re=r(6594),ne=r(666),ie=r(9058),se=r(5642);const oe=(0,q.xC)({reducer:{auth:te,editor:re.ZP,compiler:ne.ZP,modal:ie.ZP,theme:se.ZP}});var ae=r(2725),ue=("undefined"===typeof ae||ae.env,"production");const le=1/60*1e3,ce="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),pe="undefined"!==typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(ce())),le);let he=!0,de=!1,fe=!1;const me={delta:0,timestamp:0},ye=["read","update","preRender","render","postRender"],ge=ye.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(e,s=!1,a=!1)=>{const u=a&&i,l=u?t:r;return s&&o.add(e),-1===l.indexOf(e)&&(l.push(e),u&&i&&(n=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),o.delete(e)},process:u=>{if(i)s=!0;else{if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let r=0;r<n;r++){const n=t[r];n(u),o.has(n)&&(a.schedule(n),e())}i=!1,s&&(s=!1,a.process(u))}}};return a}((()=>de=!0)),e)),{}),ve=ye.reduce(((e,t)=>{const r=ge[t];return e[t]=(e,t=!1,n=!1)=>(de||Ce(),r.schedule(e,t,n)),e}),{}),De=ye.reduce(((e,t)=>(e[t]=ge[t].cancel,e)),{}),be=ye.reduce(((e,t)=>(e[t]=()=>ge[t].process(me),e)),{}),Ee=e=>ge[e].process(me),xe=e=>{de=!1,me.delta=he?le:Math.max(Math.min(e-me.timestamp,40),1),me.timestamp=e,fe=!0,ye.forEach(Ee),fe=!1,de&&(he=!1,pe(xe))},Ce=()=>{de=!0,he=!0,fe||pe(xe)},we=()=>me;var Ae=ve,Se="undefined"!==typeof document,Te=Se?i.useLayoutEffect:i.useEffect;function Fe(){var e=(0,i.useRef)(!1);return Te((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var ke=(0,i.createContext)(null);function Pe(e){var t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}var Ne=0,_e=function(){return Ne++},Oe=function(){return Pe(_e)},Ie=function(e){var t=e.children,r=e.initial,n=e.isPresent,s=e.onExitComplete,o=e.custom,a=e.presenceAffectsLayout,u=Pe(Be),l=Oe(),c=(0,i.useMemo)((function(){return{id:l,initial:r,isPresent:n,custom:o,onExitComplete:function(e){var t,r;u.set(e,!0);try{for(var n=(0,E.XA)(u.values()),i=n.next();!i.done;i=n.next()){if(!i.value)return}}catch(o){t={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}null===s||void 0===s||s()},register:function(e){return u.set(e,!1),function(){return u.delete(e)}}}}),a?void 0:[n]);return(0,i.useMemo)((function(){u.forEach((function(e,t){return u.set(t,!1)}))}),[n]),i.useEffect((function(){!n&&!u.size&&(null===s||void 0===s||s())}),[n]),i.createElement(ke.Provider,{value:c},t)};function Be(){return new Map}var je=(0,i.createContext)({});function Le(e){return(0,i.useEffect)((function(){return function(){return e()}}),[])}var Me=function(e){return e.key||""};var Re=function(e){var t=e.children,r=e.custom,n=e.initial,s=void 0===n||n,o=e.onExitComplete,a=e.exitBeforeEnter,u=e.presenceAffectsLayout,l=void 0===u||u,c=(0,E.CR)(function(){var e=Fe(),t=(0,E.CR)((0,i.useState)(0),2),r=t[0],n=t[1],s=(0,i.useCallback)((function(){e.current&&n(r+1)}),[r]);return[(0,i.useCallback)((function(){return Ae.postRender(s)}),[s]),r]}(),1),p=c[0],h=(0,i.useContext)(je).forceRender;h&&(p=h);var d=Fe(),f=function(e){var t=[];return i.Children.forEach(e,(function(e){(0,i.isValidElement)(e)&&t.push(e)})),t}(t),m=f,y=new Set,g=(0,i.useRef)(m),v=(0,i.useRef)(new Map).current,D=(0,i.useRef)(!0);if(Te((function(){D.current=!1,function(e,t){e.forEach((function(e){var r=Me(e);t.set(r,e)}))}(f,v),g.current=m})),Le((function(){D.current=!0,v.clear(),y.clear()})),D.current)return i.createElement(i.Fragment,null,m.map((function(e){return i.createElement(Ie,{key:Me(e),isPresent:!0,initial:!!s&&void 0,presenceAffectsLayout:l},e)})));m=(0,E.ev)([],(0,E.CR)(m),!1);for(var b=g.current.map(Me),x=f.map(Me),C=b.length,w=0;w<C;w++){var A=b[w];-1===x.indexOf(A)&&y.add(A)}return a&&y.size&&(m=[]),y.forEach((function(e){if(-1===x.indexOf(e)){var t=v.get(e);if(t){var n=b.indexOf(e);m.splice(n,0,i.createElement(Ie,{key:Me(t),isPresent:!1,onExitComplete:function(){v.delete(e),y.delete(e);var t=g.current.findIndex((function(t){return t.key===e}));if(g.current.splice(t,1),!y.size){if(g.current=f,!1===d.current)return;p(),o&&o()}},custom:r,presenceAffectsLayout:l},t))}}})),m=m.map((function(e){var t=e.key;return y.has(t)?e:i.createElement(Ie,{key:Me(e),isPresent:!0,presenceAffectsLayout:l},e)})),"production"!==ue&&a&&m.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),i.createElement(i.Fragment,null,y.size?m:m.map((function(e){return(0,i.cloneElement)(e)})))},$e=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Ve={measureLayout:$e(["layout","layoutId","drag"]),animation:$e(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:$e(["exit"]),drag:$e(["drag","dragControls"]),focus:$e(["whileFocus"]),hover:$e(["whileHover","onHoverStart","onHoverEnd"]),tap:$e(["whileTap","onTap","onTapStart","onTapCancel"]),pan:$e(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:$e(["whileInView","onViewportEnter","onViewportLeave"])};var Ue=(0,i.createContext)({strict:!1}),qe=Object.keys(Ve),ze=qe.length;var We=(0,i.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Ge=(0,i.createContext)({});var He={current:null},Je=!1;function Xe(){return!Je&&function(){if(Je=!0,Se)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return He.current=e.matches};e.addListener(t),t()}else He.current=!1}(),(0,E.CR)((0,i.useState)(He.current),1)[0]}function Qe(e,t,r,n){var s=(0,i.useContext)(Ue),o=(0,i.useContext)(Ge).visualElement,a=(0,i.useContext)(ke),u=function(){var e=Xe(),t=(0,i.useContext)(We).reducedMotion;return"never"!==t&&("always"===t||e)}(),l=(0,i.useRef)(void 0);n||(n=s.renderer),!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceId:null===a||void 0===a?void 0:a.id,blockInitialAnimation:!1===(null===a||void 0===a?void 0:a.initial),shouldReduceMotion:u}));var c=l.current;return Te((function(){null===c||void 0===c||c.syncRender()})),(0,i.useEffect)((function(){var e;null===(e=null===c||void 0===c?void 0:c.animationState)||void 0===e||e.animateChanges()})),Te((function(){return function(){return null===c||void 0===c?void 0:c.notifyUnmount()}}),[]),c}function Ke(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ye(e){return Array.isArray(e)}function Ze(e){return"string"===typeof e||Ye(e)}function et(e,t,r,n,i){var s;return void 0===n&&(n={}),void 0===i&&(i={}),"function"===typeof t&&(t=t(null!==r&&void 0!==r?r:e.custom,n,i)),"string"===typeof t&&(t=null===(s=e.variants)||void 0===s?void 0:s[t]),"function"===typeof t&&(t=t(null!==r&&void 0!==r?r:e.custom,n,i)),t}function tt(e,t,r){var n=e.getProps();return et(n,t,null!==r&&void 0!==r?r:n.custom,function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.getVelocity()})),t}(e))}function rt(e){var t;return"function"===typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||Ze(e.initial)||Ze(e.animate)||Ze(e.whileHover)||Ze(e.whileDrag)||Ze(e.whileTap)||Ze(e.whileFocus)||Ze(e.exit)}function nt(e){return Boolean(rt(e)||e.variants)}function it(e){var t=function(e,t){if(rt(e)){var r=e.initial,n=e.animate;return{initial:!1===r||Ze(r)?r:void 0,animate:Ze(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(Ge)),r=t.initial,n=t.animate;return(0,i.useMemo)((function(){return{initial:r,animate:n}}),[st(r),st(n)])}function st(e){return Array.isArray(e)?e.join(" "):e}var ot={hasAnimatedSinceResize:!0,hasEverUpdated:!1},at=1;var ut=(0,i.createContext)({});var lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,E.ZT)(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,r=e.props;t&&t.setProps(r)},t.prototype.render=function(){return this.props.children},t}(i.Component);function ct(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,s=e.useRender,o=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?Ve.projectionNodeConstructor=e[t]:Ve[t].Component=e[t])}(t),(0,i.forwardRef)((function(e,u){var l=function(e){var t,r=e.layoutId,n=null===(t=(0,i.useContext)(je))||void 0===t?void 0:t.id;return n&&void 0!==r?n+"-"+r:r}(e);e=(0,E.pi)((0,E.pi)({},e),{layoutId:l});var c=(0,i.useContext)(We),p=null,h=it(e),d=c.isStatic?void 0:Pe((function(){if(ot.hasEverUpdated)return at++})),f=o(e,c.isStatic);return!c.isStatic&&Se&&(h.visualElement=Qe(a,f,(0,E.pi)((0,E.pi)({},c),e),r),function(e,t,r,n){var s,o=t.layoutId,a=t.layout,u=t.drag,l=t.dragConstraints,c=t.layoutScroll,p=(0,i.useContext)(ut);n&&r&&!(null===r||void 0===r?void 0:r.projection)&&(r.projection=new n(e,r.getLatestValues(),null===(s=r.parent)||void 0===s?void 0:s.projection),r.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:Boolean(u)||l&&Ke(l),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"===typeof a?a:"both",initialPromotionConfig:p,layoutScroll:c}))}(d,e,h.visualElement,n||Ve.projectionNodeConstructor),p=function(e,t,r){var n=[],s=(0,i.useContext)(Ue);if(!t)return null;"production"!==ue&&r&&s.strict;for(var o=0;o<ze;o++){var a=qe[o],u=Ve[a],l=u.isEnabled,c=u.Component;l(e)&&c&&n.push(i.createElement(c,(0,E.pi)({key:a},e,{visualElement:t})))}return n}(e,h.visualElement,t)),i.createElement(lt,{visualElement:h.visualElement,props:(0,E.pi)((0,E.pi)({},c),e)},p,i.createElement(Ge.Provider,{value:h},s(a,e,d,function(e,t,r){return(0,i.useCallback)((function(n){var i;n&&(null===(i=e.mount)||void 0===i||i.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&("function"===typeof r?r(n):Ke(r)&&(r.current=n))}),[t])}(f,h.visualElement,u),f,c.isStatic,h.visualElement)))}))}function pt(e){function t(t,r){return void 0===r&&(r={}),ct(e(t,r))}if("undefined"===typeof Proxy)return t;var r=new Map;return new Proxy(t,{get:function(e,n){return r.has(n)||r.set(n,t(n)),r.get(n)}})}var ht=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function dt(e){return"string"===typeof e&&!e.includes("-")&&!!(ht.indexOf(e)>-1||/[A-Z]/.test(e))}var ft={};var mt=["","X","Y","Z"],yt=["transformPerspective","x","y","z"];function gt(e,t){return yt.indexOf(e)-yt.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return mt.forEach((function(t){return yt.push(e+t)}))}));var vt=new Set(yt);function Dt(e){return vt.has(e)}var bt=new Set(["originX","originY","originZ"]);function Et(e){return bt.has(e)}function xt(e,t){var r=t.layout,n=t.layoutId;return Dt(e)||Et(e)||(r||void 0!==n)&&(!!ft[e]||"opacity"===e)}var Ct=function(e){return Boolean(null!==e&&"object"===typeof e&&e.getVelocity)},wt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function At(e){return e.startsWith("--")}var St=function(e,t){return t&&"number"===typeof e?t.transform(e):e};const Tt=(e,t)=>r=>Math.max(Math.min(r,t),e),Ft=e=>e%1?Number(e.toFixed(5)):e,kt=/(-)?([\d]*\.?[\d])+/g,Pt=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Nt=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function _t(e){return"string"===typeof e}const Ot=e=>({test:t=>_t(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),It=Ot("deg"),Bt=Ot("%"),jt=Ot("px"),Lt=Ot("vh"),Mt=Ot("vw"),Rt=Object.assign(Object.assign({},Bt),{parse:e=>Bt.parse(e)/100,transform:e=>Bt.transform(100*e)}),$t={test:e=>"number"===typeof e,parse:parseFloat,transform:e=>e},Vt=Object.assign(Object.assign({},$t),{transform:Tt(0,1)}),Ut=Object.assign(Object.assign({},$t),{default:1});var qt=(0,E.pi)((0,E.pi)({},$t),{transform:Math.round}),zt={borderWidth:jt,borderTopWidth:jt,borderRightWidth:jt,borderBottomWidth:jt,borderLeftWidth:jt,borderRadius:jt,radius:jt,borderTopLeftRadius:jt,borderTopRightRadius:jt,borderBottomRightRadius:jt,borderBottomLeftRadius:jt,width:jt,maxWidth:jt,height:jt,maxHeight:jt,size:jt,top:jt,right:jt,bottom:jt,left:jt,padding:jt,paddingTop:jt,paddingRight:jt,paddingBottom:jt,paddingLeft:jt,margin:jt,marginTop:jt,marginRight:jt,marginBottom:jt,marginLeft:jt,rotate:It,rotateX:It,rotateY:It,rotateZ:It,scale:Ut,scaleX:Ut,scaleY:Ut,scaleZ:Ut,skew:It,skewX:It,skewY:It,distance:jt,translateX:jt,translateY:jt,translateZ:jt,x:jt,y:jt,z:jt,perspective:jt,transformPerspective:jt,opacity:Vt,originX:Rt,originY:Rt,originZ:jt,zIndex:qt,fillOpacity:Vt,strokeOpacity:Vt,numOctaves:qt};function Wt(e,t,r,n){var i,s=e.style,o=e.vars,a=e.transform,u=e.transformKeys,l=e.transformOrigin;u.length=0;var c=!1,p=!1,h=!0;for(var d in t){var f=t[d];if(At(d))o[d]=f;else{var m=zt[d],y=St(f,m);if(Dt(d)){if(c=!0,a[d]=y,u.push(d),!h)continue;f!==(null!==(i=m.default)&&void 0!==i?i:0)&&(h=!1)}else Et(d)?(l[d]=y,p=!0):s[d]=y}}c?s.transform=function(e,t,r,n){var i=e.transform,s=e.transformKeys,o=t.enableHardwareAcceleration,a=void 0===o||o,u=t.allowTransformNone,l=void 0===u||u,c="";s.sort(gt);for(var p=!1,h=s.length,d=0;d<h;d++){var f=s[d];c+="".concat(wt[f]||f,"(").concat(i[f],") "),"z"===f&&(p=!0)}return!p&&a?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):l&&r&&(c="none"),c}(e,r,h,n):n?s.transform=n({},""):!t.transform&&s.transform&&(s.transform="none"),p&&(s.transformOrigin=function(e){var t=e.originX,r=void 0===t?"50%":t,n=e.originY,i=void 0===n?"50%":n,s=e.originZ,o=void 0===s?0:s;return"".concat(r," ").concat(i," ").concat(o)}(l))}var Gt=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Ht(e,t,r){for(var n in t)Ct(t[n])||xt(n,r)||(e[n]=t[n])}function Jt(e,t,r){var n={};return Ht(n,e.style||{},e),Object.assign(n,function(e,t,r){var n=e.transformTemplate;return(0,i.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Wt(e,t,{enableHardwareAcceleration:!r},n);var i=e.vars,s=e.style;return(0,E.pi)((0,E.pi)({},i),s)}),[t])}(e,t,r)),e.transformValues&&(n=e.transformValues(n)),n}function Xt(e,t,r){var n={},i=Jt(e,t,r);return Boolean(e.drag)&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),n.style=i,n}var Qt=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Kt(e){return Qt.has(e)}var Yt,Zt=function(e){return!Kt(e)};try{(Yt=require("@emotion/is-prop-valid").default)&&(Zt=function(e){return e.startsWith("on")?!Kt(e):Yt(e)})}catch(dl){}function er(e,t,r){return"string"===typeof e?e:jt.transform(t+r*e)}var tr={offset:"stroke-dashoffset",array:"stroke-dasharray"},rr={offset:"strokeDashoffset",array:"strokeDasharray"};function nr(e,t,r,n){var i=t.attrX,s=t.attrY,o=t.originX,a=t.originY,u=t.pathLength,l=t.pathSpacing,c=void 0===l?1:l,p=t.pathOffset,h=void 0===p?0:p;Wt(e,(0,E._T)(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),r,n),e.attrs=e.style,e.style={};var d=e.attrs,f=e.style,m=e.dimensions;d.transform&&(m&&(f.transform=d.transform),delete d.transform),m&&(void 0!==o||void 0!==a||f.transform)&&(f.transformOrigin=function(e,t,r){var n=er(t,e.x,e.width),i=er(r,e.y,e.height);return"".concat(n," ").concat(i)}(m,void 0!==o?o:.5,void 0!==a?a:.5)),void 0!==i&&(d.x=i),void 0!==s&&(d.y=s),void 0!==u&&function(e,t,r,n,i){void 0===r&&(r=1),void 0===n&&(n=0),void 0===i&&(i=!0),e.pathLength=1;var s=i?tr:rr;e[s.offset]=jt.transform(-n);var o=jt.transform(t),a=jt.transform(r);e[s.array]="".concat(o," ").concat(a)}(d,u,c,h,!1)}var ir=function(){return(0,E.pi)((0,E.pi)({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function sr(e,t){var r=(0,i.useMemo)((function(){var r=ir();return nr(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),(0,E.pi)((0,E.pi)({},r.attrs),{style:(0,E.pi)({},r.style)})}),[t]);if(e.style){var n={};Ht(n,e.style,e),r.style=(0,E.pi)((0,E.pi)({},n),r.style)}return r}function or(e){void 0===e&&(e=!1);return function(t,r,n,s,o,a){var u=o.latestValues,l=(dt(t)?sr:Xt)(r,u,a),c=function(e,t,r){var n={};for(var i in e)(Zt(i)||!0===r&&Kt(i)||!t&&!Kt(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"===typeof t,e),p=(0,E.pi)((0,E.pi)((0,E.pi)({},c),l),{ref:s});return n&&(p["data-projection-id"]=n),(0,i.createElement)(t,p)}}var ar=/([a-z])([A-Z])/g,ur=function(e){return e.replace(ar,"$1-$2").toLowerCase()};function lr(e,t,r,n){var i=t.style,s=t.vars;for(var o in Object.assign(e.style,i,n&&n.getProjectionStyles(r)),s)e.style.setProperty(o,s[o])}var cr=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function pr(e,t,r,n){for(var i in lr(e,t,void 0,n),t.attrs)e.setAttribute(cr.has(i)?i:ur(i),t.attrs[i])}function hr(e){var t=e.style,r={};for(var n in t)(Ct(t[n])||xt(n,e))&&(r[n]=t[n]);return r}function dr(e){var t=hr(e);for(var r in e){if(Ct(e[r]))t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]}return t}function fr(e){return"object"===typeof e&&"function"===typeof e.start}var mr=function(e){return Array.isArray(e)},yr=function(e){return mr(e)?e[e.length-1]||0:e};function gr(e){var t,r=Ct(e)?e.get():e;return t=r,Boolean(t&&"object"===typeof t&&t.mix&&t.toValue)?r.toValue():r}function vr(e,t,r,n){var i=e.scrapeMotionValuesFromProps,s=e.createRenderState,o=e.onMount,a={latestValues:br(t,r,n,i),renderState:s()};return o&&(a.mount=function(e){return o(t,e,a)}),a}var Dr=function(e){return function(t,r){var n=(0,i.useContext)(Ge),s=(0,i.useContext)(ke);return r?vr(e,t,n,s):Pe((function(){return vr(e,t,n,s)}))}};function br(e,t,r,n){var i={},s=!1===(null===r||void 0===r?void 0:r.initial),o=n(e);for(var a in o)i[a]=gr(o[a]);var u=e.initial,l=e.animate,c=rt(e),p=nt(e);t&&p&&!c&&!1!==e.inherit&&(null!==u&&void 0!==u||(u=t.initial),null!==l&&void 0!==l||(l=t.animate));var h=s||!1===u,d=h?l:u;d&&"boolean"!==typeof d&&!fr(d)&&(Array.isArray(d)?d:[d]).forEach((function(t){var r=et(e,t);if(r){var n=r.transitionEnd;r.transition;var s=(0,E._T)(r,["transitionEnd","transition"]);for(var o in s){var a=s[o];if(Array.isArray(a))a=a[h?a.length-1:0];null!==a&&(i[o]=a)}for(var o in n)i[o]=n[o]}}));return i}var Er,xr={useVisualState:Dr({scrapeMotionValuesFromProps:dr,createRenderState:ir,onMount:function(e,t,r){var n=r.renderState,i=r.latestValues;try{n.dimensions="function"===typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(s){n.dimensions={x:0,y:0,width:0,height:0}}nr(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),pr(t,n)}})},Cr={useVisualState:Dr({scrapeMotionValuesFromProps:hr,createRenderState:Gt})};function wr(e,t,r,n){return void 0===n&&(n={passive:!0}),e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r)}}function Ar(e,t,r,n){(0,i.useEffect)((function(){var i=e.current;if(r&&i)return wr(i,t,r,n)}),[e,t,r,n])}function Sr(e){return"undefined"!==typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Tr(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(Er||(Er={}));var Fr={pageX:0,pageY:0};function kr(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||Fr;return{x:r[t+"X"],y:r[t+"Y"]}}function Pr(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Nr(e,t){return void 0===t&&(t="page"),{point:Tr(e)?kr(e,t):Pr(e,t)}}var _r=function(e,t){void 0===t&&(t=!1);var r,n=function(t){return e(t,Nr(t))};return t?(r=n,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):n},Or={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Ir={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Br(e){return Se&&null===window.onpointerdown?e:Se&&null===window.ontouchstart?Ir[e]:Se&&null===window.onmousedown?Or[e]:e}function jr(e,t,r,n){return wr(e,Br(t),_r(r,"pointerdown"===t),n)}function Lr(e,t,r,n){return Ar(e,Br(t),r&&_r(r,"pointerdown"===t),n)}function Mr(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Rr=Mr("dragHorizontal"),$r=Mr("dragVertical");function Vr(e){var t=!1;if("y"===e)t=$r();else if("x"===e)t=Rr();else{var r=Rr(),n=$r();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function Ur(){var e=Vr(!0);return!e||(e(),!1)}function qr(e,t,r){return function(n,i){var s;Sr(n)&&!Ur()&&(null===(s=e.animationState)||void 0===s||s.setActive(Er.Hover,t),null===r||void 0===r||r(n,i))}}var zr=function(e,t){return!!t&&(e===t||zr(e,t.parentElement))};const Wr=(e,t)=>r=>t(e(r)),Gr=(...e)=>e.reduce(Wr);var Hr=new Set;var Jr=new WeakMap,Xr=new WeakMap,Qr=function(e){var t;null===(t=Jr.get(e.target))||void 0===t||t(e)},Kr=function(e){e.forEach(Qr)};function Yr(e,t,r){var n=function(e){var t=e.root,r=(0,E._T)(e,["root"]),n=t||document;Xr.has(n)||Xr.set(n,{});var i=Xr.get(n),s=JSON.stringify(r);return i[s]||(i[s]=new IntersectionObserver(Kr,(0,E.pi)({root:t},r))),i[s]}(t);return Jr.set(e,r),n.observe(e),function(){Jr.delete(e),n.unobserve(e)}}var Zr={some:0,all:1};function en(e,t,r,n){var s=n.root,o=n.margin,a=n.amount,u=void 0===a?"some":a,l=n.once;(0,i.useEffect)((function(){if(e){var n={root:null===s||void 0===s?void 0:s.current,rootMargin:o,threshold:"number"===typeof u?u:Zr[u]};return Yr(r.getInstance(),n,(function(e){var n,i=e.isIntersecting;if(t.isInView!==i&&(t.isInView=i,!l||i||!t.hasEnteredView)){i&&(t.hasEnteredView=!0),null===(n=r.animationState)||void 0===n||n.setActive(Er.InView,i);var s=r.getProps(),o=i?s.onViewportEnter:s.onViewportLeave;null===o||void 0===o||o(e)}}))}}),[e,s,o,u])}function tn(e,t,r,n){var s=n.fallback,o=void 0===s||s;(0,i.useEffect)((function(){var n,i;e&&o&&("production"!==ue&&(n="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",!1||Hr.has(n)||(console.warn(n),i&&console.warn(i),Hr.add(n))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var n=r.getProps().onViewportEnter;null===n||void 0===n||n(null),null===(e=r.animationState)||void 0===e||e.setActive(Er.InView,!0)})))}),[e])}var rn=function(e){return function(t){return e(t),null}},nn={inView:rn((function(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,s=e.onViewportLeave,o=e.viewport,a=void 0===o?{}:o,u=(0,i.useRef)({hasEnteredView:!1,isInView:!1}),l=Boolean(r||n||s);a.once&&u.current.hasEnteredView&&(l=!1),("undefined"===typeof IntersectionObserver?tn:en)(l,u.current,t,a)})),tap:rn((function(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,s=e.whileTap,o=e.visualElement,a=t||r||n||s,u=(0,i.useRef)(!1),l=(0,i.useRef)(null),c={passive:!(r||t||n||m)};function p(){var e;null===(e=l.current)||void 0===e||e.call(l),l.current=null}function h(){var e;return p(),u.current=!1,null===(e=o.animationState)||void 0===e||e.setActive(Er.Tap,!1),!Ur()}function d(e,r){h()&&(zr(o.getInstance(),e.target)?null===t||void 0===t||t(e,r):null===n||void 0===n||n(e,r))}function f(e,t){h()&&(null===n||void 0===n||n(e,t))}function m(e,t){var n;p(),u.current||(u.current=!0,l.current=Gr(jr(window,"pointerup",d,c),jr(window,"pointercancel",f,c)),null===(n=o.animationState)||void 0===n||n.setActive(Er.Tap,!0),null===r||void 0===r||r(e,t))}Lr(o,"pointerdown",a?m:void 0,c),Le(p)})),focus:rn((function(e){var t=e.whileFocus,r=e.visualElement;Ar(r,"focus",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Er.Focus,!0)}:void 0),Ar(r,"blur",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Er.Focus,!1)}:void 0)})),hover:rn((function(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;Lr(i,"pointerenter",t||n?qr(i,!0,t):void 0,{passive:!t}),Lr(i,"pointerleave",r||n?qr(i,!1,r):void 0,{passive:!r})}))};function sn(){var e=(0,i.useContext)(ke);if(null===e)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,s=Oe();(0,i.useEffect)((function(){return n(s)}),[]);return!t&&r?[!1,function(){return null===r||void 0===r?void 0:r(s)}]:[!0]}function on(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}const an=(e,t,r)=>Math.min(Math.max(r,e),t),un=.001;function ln({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,s,o=1-t;o=an(.05,1,o),e=an(.01,10,e/1e3),o<1?(i=t=>{const n=t*o,i=n*e,s=n-r,a=cn(t,o),u=Math.exp(-i);return un-s/a*u},s=t=>{const n=t*o*e,s=n*r+r,a=Math.pow(o,2)*Math.pow(t,2)*e,u=Math.exp(-n),l=cn(Math.pow(t,2),o);return(-i(t)+un>0?-1:1)*((s-a)*u)/l}):(i=t=>Math.exp(-t*e)*((t-r)*e+1)-.001,s=t=>Math.exp(-t*e)*(e*e*(r-t)));const a=function(e,t,r){let n=r;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(i,s,5/e);if(e*=1e3,isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*n;return{stiffness:t,damping:2*o*Math.sqrt(n*t),duration:e}}}function cn(e,t){return e*Math.sqrt(1-t*t)}const pn=["duration","bounce"],hn=["stiffness","damping","mass"];function dn(e,t){return t.some((t=>void 0!==e[t]))}function fn(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,s=(0,E._T)(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:a,damping:u,mass:l,velocity:c,duration:p,isResolvedFromDuration:h}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!dn(e,hn)&&dn(e,pn)){const r=ln(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(s),d=mn,f=mn;function m(){const e=c?-c/1e3:0,n=r-t,s=u/(2*Math.sqrt(a*l)),o=Math.sqrt(a/l)/1e3;if(void 0===i&&(i=Math.min(Math.abs(r-t)/100,.4)),s<1){const t=cn(o,s);d=i=>{const a=Math.exp(-s*o*i);return r-a*((e+s*o*n)/t*Math.sin(t*i)+n*Math.cos(t*i))},f=r=>{const i=Math.exp(-s*o*r);return s*o*i*(Math.sin(t*r)*(e+s*o*n)/t+n*Math.cos(t*r))-i*(Math.cos(t*r)*(e+s*o*n)-t*n*Math.sin(t*r))}}else if(1===s)d=t=>r-Math.exp(-o*t)*(n+(e+o*n)*t);else{const t=o*Math.sqrt(s*s-1);d=i=>{const a=Math.exp(-s*o*i),u=Math.min(t*i,300);return r-a*((e+s*o*n)*Math.sinh(u)+t*n*Math.cosh(u))/t}}}return m(),{next:e=>{const t=d(e);if(h)o.done=e>=p;else{const s=1e3*f(e),a=Math.abs(s)<=n,u=Math.abs(r-t)<=i;o.done=a&&u}return o.value=o.done?r:t,o},flipTarget:()=>{c=-c,[t,r]=[r,t],m()}}}fn.needsInterpolation=(e,t)=>"string"===typeof e||"string"===typeof t;const mn=e=>0,yn=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},gn=(e,t,r)=>-r*e+r*t+e,vn=(e,t)=>r=>Boolean(_t(r)&&Nt.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Dn=(e,t,r)=>n=>{if(!_t(n))return n;const[i,s,o,a]=n.match(kt);return{[e]:parseFloat(i),[t]:parseFloat(s),[r]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},bn=Tt(0,255),En=Object.assign(Object.assign({},$t),{transform:e=>Math.round(bn(e))}),xn={test:vn("rgb","red"),parse:Dn("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+En.transform(e)+", "+En.transform(t)+", "+En.transform(r)+", "+Ft(Vt.transform(n))+")"};const Cn={test:vn("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),i=e.substr(4,1),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:xn.transform},wn={test:vn("hsl","hue"),parse:Dn("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Bt.transform(Ft(t))+", "+Bt.transform(Ft(r))+", "+Ft(Vt.transform(n))+")"};function An(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Sn({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,s=0,o=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,a=2*r-n;i=An(a,n,e+1/3),s=An(a,n,e),o=An(a,n,e-1/3)}else i=s=o=r;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}const Tn=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},Fn=[Cn,xn,wn],kn=e=>Fn.find((t=>t.test(e))),Pn=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,Nn=(e,t)=>{let r=kn(e),n=kn(t);Pn(e),Pn(t);let i=r.parse(e),s=n.parse(t);r===wn&&(i=Sn(i),r=xn),n===wn&&(s=Sn(s),n=xn);const o=Object.assign({},i);return e=>{for(const t in o)"alpha"!==t&&(o[t]=Tn(i[t],s[t],e));return o.alpha=gn(i.alpha,s.alpha,e),r.transform(o)}},_n={test:e=>xn.test(e)||Cn.test(e)||wn.test(e),parse:e=>xn.test(e)?xn.parse(e):wn.test(e)?wn.parse(e):Cn.parse(e),transform:e=>_t(e)?e:e.hasOwnProperty("red")?xn.transform(e):wn.transform(e)},On="${c}",In="${n}";function Bn(e){"number"===typeof e&&(e=`${e}`);const t=[];let r=0;const n=e.match(Pt);n&&(r=n.length,e=e.replace(Pt,On),t.push(...n.map(_n.parse)));const i=e.match(kt);return i&&(e=e.replace(kt,In),t.push(...i.map($t.parse))),{values:t,numColors:r,tokenised:e}}function jn(e){return Bn(e).values}function Ln(e){const{values:t,numColors:r,tokenised:n}=Bn(e),i=t.length;return e=>{let t=n;for(let n=0;n<i;n++)t=t.replace(n<r?On:In,n<r?_n.transform(e[n]):Ft(e[n]));return t}}const Mn=e=>"number"===typeof e?0:e;const Rn={test:function(e){var t,r,n,i;return isNaN(e)&&_t(e)&&(null!==(r=null===(t=e.match(kt))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(i=null===(n=e.match(Pt))||void 0===n?void 0:n.length)&&void 0!==i?i:0)>0},parse:jn,createTransformer:Ln,getAnimatableNone:function(e){const t=jn(e);return Ln(e)(t.map(Mn))}},$n=e=>"number"===typeof e;function Vn(e,t){return $n(e)?r=>gn(e,t,r):_n.test(e)?Nn(e,t):Wn(e,t)}const Un=(e,t)=>{const r=[...e],n=r.length,i=e.map(((e,r)=>Vn(e,t[r])));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}},qn=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=Vn(e[i],t[i]));return e=>{for(const t in n)r[t]=n[t](e);return r}};function zn(e){const t=Rn.parse(e),r=t.length;let n=0,i=0,s=0;for(let o=0;o<r;o++)n||"number"===typeof t[o]?n++:void 0!==t[o].hue?s++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:s}}const Wn=(e,t)=>{const r=Rn.createTransformer(t),n=zn(e),i=zn(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Gr(Un(n.parsed,i.parsed),r):r=>`${r>0?t:e}`},Gn=(e,t)=>r=>gn(e,t,r);function Hn(e,t,r){const n=[],i=r||("number"===typeof(s=e[0])?Gn:"string"===typeof s?_n.test(s)?Nn:Wn:Array.isArray(s)?Un:"object"===typeof s?qn:void 0);var s;const o=e.length-1;for(let a=0;a<o;a++){let r=i(e[a],e[a+1]);if(t){const e=Array.isArray(t)?t[a]:t;r=Gr(e,r)}n.push(r)}return n}function Jn(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const s=e.length;t.length,!n||!Array.isArray(n)||n.length,e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=Hn(t,n,i),a=2===s?function([e,t],[r]){return n=>r(yn(e,t,n))}(e,o):function(e,t){const r=e.length,n=r-1;return i=>{let s=0,o=!1;if(i<=e[0]?o=!0:i>=e[n]&&(s=n-1,o=!0),!o){let t=1;for(;t<r&&!(e[t]>i||t===n);t++);s=t-1}const a=yn(e[s],e[s+1],i);return t[s](a)}}(e,o);return r?t=>a(an(e[0],e[s-1],t)):a}const Xn=e=>t=>1-e(1-t),Qn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Kn=e=>t=>t*t*((e+1)*t-e),Yn=e=>e,Zn=(ei=2,e=>Math.pow(e,ei));var ei;const ti=Xn(Zn),ri=Qn(Zn),ni=e=>1-Math.sin(Math.acos(e)),ii=Xn(ni),si=Qn(ii),oi=Kn(1.525),ai=Xn(oi),ui=Qn(oi),li=(e=>{const t=Kn(e);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(1.525),ci=e=>{if(1===e||0===e)return e;const t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},pi=Xn(ci);function hi(e,t){return e.map((()=>t||ri)).splice(0,e.length-1)}function di({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const s={done:!1,value:e},o=Array.isArray(t)?t:[e,t],a=function(e,t){return e.map((e=>e*t))}(n&&n.length===o.length?n:function(e){const t=e.length;return e.map(((e,r)=>0!==r?r/(t-1):0))}(o),i);function u(){return Jn(a,o,{ease:Array.isArray(r)?r:hi(o,r)})}let l=u();return{next:e=>(s.value=l(e),s.done=e>=i,s),flipTarget:()=>{o.reverse(),l=u()}}}const fi={keyframes:di,spring:fn,decay:function({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:s}){const o={done:!1,value:t};let a=r*e;const u=t+a,l=void 0===s?u:s(u);return l!==u&&(a=l-t),{next:e=>{const t=-a*Math.exp(-e/n);return o.done=!(t>i||t<-i),o.value=o.done?l:l+t,o},flipTarget:()=>{}}}};function mi(e,t,r=0){return e-t-r}const yi=e=>{const t=({delta:t})=>e(t);return{start:()=>Ae.update(t,!0),stop:()=>De.update(t)}};function gi(e){var t,r,{from:n,autoplay:i=!0,driver:s=yi,elapsed:o=0,repeat:a=0,repeatType:u="loop",repeatDelay:l=0,onPlay:c,onStop:p,onComplete:h,onRepeat:d,onUpdate:f}=e,m=(0,E._T)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let y,g,v,{to:D}=m,b=0,x=m.duration,C=!1,w=!0;const A=function(e){if(Array.isArray(e.to))return di;if(fi[e.type])return fi[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?di:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?fn:di}(m);(null===(r=(t=A).needsInterpolation)||void 0===r?void 0:r.call(t,n,D))&&(v=Jn([0,100],[n,D],{clamp:!1}),n=0,D=100);const S=A(Object.assign(Object.assign({},m),{from:n,to:D}));function T(){b++,"reverse"===u?(w=b%2===0,o=function(e,t,r=0,n=!0){return n?mi(t+-e,t,r):t-(e-t)+r}(o,x,l,w)):(o=mi(o,x,l),"mirror"===u&&S.flipTarget()),C=!1,d&&d()}function F(e){if(w||(e=-e),o+=e,!C){const e=S.next(Math.max(0,o));g=e.value,v&&(g=v(g)),C=w?e.done:o<=0}null===f||void 0===f||f(g),C&&(0===b&&(null!==x&&void 0!==x||(x=o)),b<a?function(e,t,r,n){return n?e>=t+r:e<=-r}(o,x,l,w)&&T():(y.stop(),h&&h()))}return i&&(null===c||void 0===c||c(),y=s(F),y.start()),{stop:()=>{null===p||void 0===p||p(),y.stop()}}}function vi(e,t){return t?e*(1e3/t):0}var Di=function(e){return 1e3*e};const bi=(e,t)=>1-3*t+3*e,Ei=(e,t)=>3*t-6*e,xi=e=>3*e,Ci=(e,t,r)=>((bi(t,r)*e+Ei(t,r))*e+xi(t))*e,wi=(e,t,r)=>3*bi(t,r)*e*e+2*Ei(t,r)*e+xi(t);const Ai=.1;function Si(e,t,r,n){if(e===t&&r===n)return Yn;const i=new Float32Array(11);for(let o=0;o<11;++o)i[o]=Ci(o*Ai,e,r);function s(t){let n=0,s=1;for(;10!==s&&i[s]<=t;++s)n+=Ai;--s;const o=n+(t-i[s])/(i[s+1]-i[s])*Ai,a=wi(o,e,r);return a>=.001?function(e,t,r,n){for(let i=0;i<8;++i){const i=wi(t,r,n);if(0===i)return t;t-=(Ci(t,r,n)-e)/i}return t}(t,o,e,r):0===a?o:function(e,t,r,n,i){let s,o,a=0;do{o=t+(r-t)/2,s=Ci(o,n,i)-e,s>0?r=o:t=o}while(Math.abs(s)>1e-7&&++a<10);return o}(t,n,n+Ai,e,r)}return e=>0===e||1===e?e:Ci(s(e),t,n)}var Ti={linear:Yn,easeIn:Zn,easeInOut:ri,easeOut:ti,circIn:ni,circInOut:si,circOut:ii,backIn:oi,backInOut:ui,backOut:ai,anticipate:li,bounceIn:pi,bounceInOut:e=>e<.5?.5*(1-ci(1-2*e)):.5*ci(2*e-1)+.5,bounceOut:ci},Fi=function(e){if(Array.isArray(e)){e.length;var t=(0,E.CR)(e,4);return Si(t[0],t[1],t[2],t[3])}return"string"===typeof e?("Invalid easing type '".concat(e,"'"),Ti[e]):e},ki=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!Rn.test(t)||t.startsWith("url(")))},Pi=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Ni=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},_i=function(){return{type:"keyframes",ease:"linear",duration:.3}},Oi=function(e){return{type:"keyframes",duration:.8,values:e}},Ii={x:Pi,y:Pi,z:Pi,rotate:Pi,rotateX:Pi,rotateY:Pi,rotateZ:Pi,scaleX:Ni,scaleY:Ni,scale:Ni,opacity:_i,backgroundColor:_i,color:_i,default:Ni};const Bi=new Set(["brightness","contrast","saturate","opacity"]);function ji(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(kt)||[];if(!n)return e;const i=r.replace(n,"");let s=Bi.has(t)?1:0;return n!==r&&(s*=100),t+"("+s+i+")"}const Li=/([a-z-]*)\(.*?\)/g,Mi=Object.assign(Object.assign({},Rn),{getAnimatableNone:e=>{const t=e.match(Li);return t?t.map(ji).join(" "):e}});var Ri=(0,E.pi)((0,E.pi)({},zt),{color:_n,backgroundColor:_n,outlineColor:_n,fill:_n,stroke:_n,borderColor:_n,borderTopColor:_n,borderRightColor:_n,borderBottomColor:_n,borderLeftColor:_n,filter:Mi,WebkitFilter:Mi}),$i=function(e){return Ri[e]};function Vi(e,t){var r,n=$i(e);return n!==Mi&&(n=Rn),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,t)}var Ui=!1;function qi(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,s=e.loop,o=(0,E._T)(e,["ease","times","yoyo","flip","loop"]),a=(0,E.pi)({},o);return r&&(a.offset=r),o.duration&&(a.duration=Di(o.duration)),o.repeatDelay&&(a.repeatDelay=Di(o.repeatDelay)),t&&(a.ease=function(e){return Array.isArray(e)&&"number"!==typeof e[0]}(t)?t.map(Fi):Fi(t)),"tween"===o.type&&(a.type="keyframes"),(n||s||i)&&(!0,n?a.repeatType="reverse":s?a.repeatType="loop":i&&(a.repeatType="mirror"),a.repeat=s||n||i||o.repeat),"spring"!==o.type&&(a.type="keyframes"),a}function zi(e,t,r){var n;return Array.isArray(t.to)&&(null!==(n=e.duration)&&void 0!==n||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=(0,E.ev)([],(0,E.CR)(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=(0,E._T)(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=(0,E.pi)((0,E.pi)({},e),function(e,t){var r;return r=mr(t)?Oi:Ii[e]||Ii.default,(0,E.pi)({to:t},r(t))}(r,t.to))),(0,E.pi)((0,E.pi)({},t),qi(e))}function Wi(e,t,r,n,i){var s,o=Ji(n,e),a=null!==(s=o.from)&&void 0!==s?s:t.get(),u=ki(e,r);"none"===a&&u&&"string"===typeof r?a=Vi(e,r):Gi(a)&&"string"===typeof r?a=Hi(r):!Array.isArray(r)&&Gi(r)&&"string"===typeof a&&(r=Hi(a));var l=ki(e,a);return"You are trying to animate ".concat(e,' from "').concat(a,'" to "').concat(r,'". ').concat(a," is not an animatable value - to enable this animation set ").concat(a," to a value animatable to ").concat(r," via the `style` property."),l&&u&&!1!==o.type?function(){var n={from:a,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===o.type||"decay"===o.type?function({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:p,onComplete:h,onStop:d}){let f;function m(e){return void 0!==r&&e<r||void 0!==n&&e>n}function y(e){return void 0===r?n:void 0===n||Math.abs(r-e)<Math.abs(n-e)?r:n}function g(e){null===f||void 0===f||f.stop(),f=gi(Object.assign(Object.assign({},e),{driver:c,onUpdate:t=>{var r;null===p||void 0===p||p(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:h,onStop:d}))}function v(e){g(Object.assign({type:"spring",stiffness:o,damping:a,restDelta:u},e))}if(m(e))v({from:e,velocity:t,to:y(e)});else{let n=i*t+e;"undefined"!==typeof l&&(n=l(n));const o=y(n),a=o===r?-1:1;let c,p;const h=e=>{c=p,p=e,t=vi(e-c,we().delta),(1===a&&e>o||-1===a&&e<o)&&v({from:e,to:o,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:s,power:i,restDelta:u,modifyTarget:l,onUpdate:m(n)?h:void 0})}return{stop:()=>null===f||void 0===f?void 0:f.stop()}}((0,E.pi)((0,E.pi)({},n),o)):gi((0,E.pi)((0,E.pi)({},zi(o,n,e)),{onUpdate:function(e){var t;n.onUpdate(e),null===(t=o.onUpdate)||void 0===t||t.call(o,e)},onComplete:function(){var e;n.onComplete(),null===(e=o.onComplete)||void 0===e||e.call(o)}}))}:function(){var e,n,s=yr(r);return t.set(s),i(),null===(e=null===o||void 0===o?void 0:o.onUpdate)||void 0===e||e.call(o,s),null===(n=null===o||void 0===o?void 0:o.onComplete)||void 0===n||n.call(o),{stop:function(){}}}}function Gi(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Hi(e){return"number"===typeof e?0:Vi("",e)}function Ji(e,t){return e[t]||e.default||e}function Xi(e,t,r,n){return void 0===n&&(n={}),Ui&&(n={type:!1}),t.start((function(i){var s,o,a=Wi(e,t,r,n,i),u=function(e,t){var r,n;return null!==(n=null!==(r=(Ji(e,t)||{}).delay)&&void 0!==r?r:e.delay)&&void 0!==n?n:0}(n,e),l=function(){return o=a()};return u?s=window.setTimeout(l,Di(u)):l(),function(){clearTimeout(s),null===o||void 0===o||o.stop()}}))}var Qi=function(e){return/^0[^.\s]+$/.test(e)};function Ki(e,t){-1===e.indexOf(t)&&e.push(t)}function Yi(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Zi=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Ki(this.subscriptions,e),function(){return Yi(t.subscriptions,e)}},e.prototype.notify=function(e,t,r){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(var i=0;i<n;i++){var s=this.subscriptions[i];s&&s(e,t,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),es=function(){function e(e){var t,r=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Zi,this.velocityUpdateSubscribers=new Zi,this.renderSubscribers=new Zi,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),r.prev=r.current,r.current=e;var n=we(),i=n.delta,s=n.timestamp;r.lastUpdated!==s&&(r.timeDelta=i,r.lastUpdated=s,Ae.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),t&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return Ae.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?vi(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(r){t.hasAnimated=!0,t.stopAnimation=e(r)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function ts(e){return new es(e)}var rs=function(e){return function(t){return t.test(e)}},ns=[$t,jt,Bt,It,Mt,Lt,{test:function(e){return"auto"===e},parse:function(e){return e}}],is=function(e){return ns.find(rs(e))},ss=(0,E.ev)((0,E.ev)([],(0,E.CR)(ns),!1),[_n,Rn],!1),os=function(e){return ss.find(rs(e))};function as(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ts(r))}function us(e,t){var r=tt(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,s=void 0===i?{}:i;n.transition;var o=(0,E._T)(n,["transitionEnd","transition"]);for(var a in o=(0,E.pi)((0,E.pi)({},o),s)){as(e,a,yr(o[a]))}}function ls(e,t){if(t)return(t[e]||t.default||t).from}function cs(e,t,r){var n;void 0===r&&(r={});var i=tt(e,t,r.custom),s=(i||{}).transition,o=void 0===s?e.getDefaultTransition()||{}:s;r.transitionOverride&&(o=r.transitionOverride);var a=i?function(){return ps(e,i,r)}:function(){return Promise.resolve()},u=(null===(n=e.variantChildren)||void 0===n?void 0:n.size)?function(n){void 0===n&&(n=0);var i=o.delayChildren,s=void 0===i?0:i,a=o.staggerChildren,u=o.staggerDirection;return function(e,t,r,n,i,s){void 0===r&&(r=0);void 0===n&&(n=0);void 0===i&&(i=1);var o=[],a=(e.variantChildren.size-1)*n,u=1===i?function(e){return void 0===e&&(e=0),e*n}:function(e){return void 0===e&&(e=0),a-e*n};return Array.from(e.variantChildren).sort(hs).forEach((function(e,n){o.push(cs(e,t,(0,E.pi)((0,E.pi)({},s),{delay:r+u(n)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(o)}(e,t,s+n,a,u,r)}:function(){return Promise.resolve()},l=o.when;if(l){var c=(0,E.CR)("beforeChildren"===l?[a,u]:[u,a],2),p=c[0],h=c[1];return p().then(h)}return Promise.all([a(),u(r.delay)])}function ps(e,t,r){var n,i=void 0===r?{}:r,s=i.delay,o=void 0===s?0:s,a=i.transitionOverride,u=i.type,l=e.makeTargetAnimatable(t),c=l.transition,p=void 0===c?e.getDefaultTransition():c,h=l.transitionEnd,d=(0,E._T)(l,["transition","transitionEnd"]);a&&(p=a);var f=[],m=u&&(null===(n=e.animationState)||void 0===n?void 0:n.getState()[u]);for(var y in d){var g=e.getValue(y),v=d[y];if(!(!g||void 0===v||m&&ds(m,y))){var D=(0,E.pi)({delay:o},p);e.shouldReduceMotion&&Dt(y)&&(D=(0,E.pi)((0,E.pi)({},D),{type:!1,delay:0}));var b=Xi(y,g,v,D);f.push(b)}}return Promise.all(f).then((function(){h&&us(e,h)}))}function hs(e,t){return e.sortNodePosition(t)}function ds(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&!0!==n[t];return n[t]=!1,i}var fs=[Er.Animate,Er.InView,Er.Focus,Er.Hover,Er.Tap,Er.Drag,Er.Exit],ms=(0,E.ev)([],(0,E.CR)(fs),!1).reverse(),ys=fs.length;function gs(e){return function(t){return Promise.all(t.map((function(t){var r=t.animation,n=t.options;return function(e,t,r){var n;if(void 0===r&&(r={}),e.notifyAnimationStart(t),Array.isArray(t)){var i=t.map((function(t){return cs(e,t,r)}));n=Promise.all(i)}else if("string"===typeof t)n=cs(e,t,r);else{var s="function"===typeof t?tt(e,t,r.custom):t;n=ps(e,s,r)}return n.then((function(){return e.notifyAnimationComplete(t)}))}(e,r,n)})))}}function vs(e){var t=gs(e),r=function(){var e;return(e={})[Er.Animate]=Ds(!0),e[Er.InView]=Ds(),e[Er.Hover]=Ds(),e[Er.Tap]=Ds(),e[Er.Drag]=Ds(),e[Er.Focus]=Ds(),e[Er.Exit]=Ds(),e}(),n={},i=!0,s=function(t,r){var n=tt(e,r);if(n){n.transition;var i=n.transitionEnd,s=(0,E._T)(n,["transition","transitionEnd"]);t=(0,E.pi)((0,E.pi)((0,E.pi)({},t),s),i)}return t};function o(o,a){for(var u,l=e.getProps(),c=e.getVariantContext(!0)||{},p=[],h=new Set,d={},f=1/0,m=function(t){var n=ms[t],m=r[n],y=null!==(u=l[n])&&void 0!==u?u:c[n],g=Ze(y),v=n===a?m.isActive:null;!1===v&&(f=t);var D=y===c[n]&&y!==l[n]&&g;if(D&&i&&e.manuallyAnimateOnMount&&(D=!1),m.protectedKeys=(0,E.pi)({},d),!m.isActive&&null===v||!y&&!m.prevProp||fr(y)||"boolean"===typeof y)return"continue";var b=function(e,t){if("string"===typeof t)return t!==e;if(Ye(t))return!on(t,e);return!1}(m.prevProp,y),x=b||n===a&&m.isActive&&!D&&g||t>f&&g,C=Array.isArray(y)?y:[y],w=C.reduce(s,{});!1===v&&(w={});var A=m.prevResolvedValues,S=void 0===A?{}:A,T=(0,E.pi)((0,E.pi)({},S),w),F=function(e){x=!0,h.delete(e),m.needsAnimating[e]=!0};for(var k in T){var P=w[k],N=S[k];d.hasOwnProperty(k)||(P!==N?mr(P)&&mr(N)?!on(P,N)||b?F(k):m.protectedKeys[k]=!0:void 0!==P?F(k):h.add(k):void 0!==P&&h.has(k)?F(k):m.protectedKeys[k]=!0)}m.prevProp=y,m.prevResolvedValues=w,m.isActive&&(d=(0,E.pi)((0,E.pi)({},d),w)),i&&e.blockInitialAnimation&&(x=!1),x&&!D&&p.push.apply(p,(0,E.ev)([],(0,E.CR)(C.map((function(e){return{animation:e,options:(0,E.pi)({type:n},o)}}))),!1))},y=0;y<ys;y++)m(y);if(n=(0,E.pi)({},d),h.size){var g={};h.forEach((function(t){var r=e.getBaseTarget(t);void 0!==r&&(g[t]=r)})),p.push({animation:g})}var v=Boolean(p.length);return i&&!1===l.initial&&!e.manuallyAnimateOnMount&&(v=!1),i=!1,v?t(p):Promise.resolve()}return{isAnimated:function(e){return void 0!==n[e]},animateChanges:o,setActive:function(t,n,i){var s;if(r[t].isActive===n)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n;var a=o(i,t);for(var u in r)r[u].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:function(){return r}}}function Ds(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var bs={animation:rn((function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=vs(t)),fr(r)&&(0,i.useEffect)((function(){return r.subscribe(t)}),[r])})),exit:rn((function(e){var t=e.custom,r=e.visualElement,n=(0,E.CR)(sn(),2),s=n[0],o=n[1],a=(0,i.useContext)(ke);(0,i.useEffect)((function(){var e,n;r.isPresent=s;var i=null===(e=r.animationState)||void 0===e?void 0:e.setActive(Er.Exit,!s,{custom:null!==(n=null===a||void 0===a?void 0:a.custom)&&void 0!==n?n:t});!s&&(null===i||void 0===i||i.then(o))}),[s])}))};const Es=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),xs=e=>Es(e)&&e.hasOwnProperty("z"),Cs=(e,t)=>Math.abs(e-t);function ws(e,t){if($n(e)&&$n(t))return Cs(e,t);if(Es(e)&&Es(t)){const r=Cs(e.x,t.x),n=Cs(e.y,t.y),i=xs(e)&&xs(t)?Cs(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}var As=function(){function e(e,t,r){var n=this,i=(void 0===r?{}:r).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=Fs(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,r=ws(e.offset,{x:0,y:0})>=3;if(t||r){var i=e.point,s=we().timestamp;n.history.push((0,E.pi)((0,E.pi)({},i),{timestamp:s}));var o=n.handlers,a=o.onStart,u=o.onMove;t||(a&&a(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),u&&u(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){n.lastMoveEvent=e,n.lastMoveEventInfo=Ss(t,n.transformPagePoint),Sr(e)&&0===e.buttons?n.handlePointerUp(e,t):Ae.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var r=n.handlers,i=r.onEnd,s=r.onSessionEnd,o=Fs(Ss(t,n.transformPagePoint),n.history);n.startEvent&&i&&i(e,o),s&&s(e,o)},!(Tr(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var s=Ss(Nr(e),this.transformPagePoint),o=s.point,a=we().timestamp;this.history=[(0,E.pi)((0,E.pi)({},o),{timestamp:a})];var u=t.onSessionStart;u&&u(e,Fs(s,this.history)),this.removeListeners=Gr(jr(window,"pointermove",this.handlePointerMove),jr(window,"pointerup",this.handlePointerUp),jr(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),De.update(this.updatePoint)},e}();function Ss(e,t){return t?{point:t(e.point)}:e}function Ts(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Fs(e,t){var r=e.point;return{point:r,delta:Ts(r,Ps(t)),offset:Ts(r,ks(t)),velocity:Ns(t,.1)}}function ks(e){return e[0]}function Ps(e){return e[e.length-1]}function Ns(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=Ps(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Di(t)));)r--;if(!n)return{x:0,y:0};var s=(i.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};var o={x:(i.x-n.x)/s,y:(i.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function _s(e){return e.max-e.min}function Os(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),ws(e,t)<r}function Is(e,t,r,n){void 0===n&&(n=.5),e.origin=n,e.originPoint=gn(t.min,t.max,e.origin),e.scale=_s(r)/_s(t),(Os(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=gn(r.min,r.max,e.origin)-e.originPoint,(Os(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Bs(e,t,r,n){Is(e.x,t.x,r.x,null===n||void 0===n?void 0:n.originX),Is(e.y,t.y,r.y,null===n||void 0===n?void 0:n.originY)}function js(e,t,r){e.min=r.min+t.min,e.max=e.min+_s(t)}function Ls(e,t,r){e.min=t.min-r.min,e.max=e.min+_s(t)}function Ms(e,t,r){Ls(e.x,t.x,r.x),Ls(e.y,t.y,r.y)}function Rs(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function $s(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=(r=(0,E.CR)([i,n],2))[0],i=r[1]),{min:n,max:i}}var Vs=.35;function Us(e,t,r){return{min:qs(e,t),max:qs(e,r)}}function qs(e,t){var r;return"number"===typeof e?e:null!==(r=e[t])&&void 0!==r?r:0}function zs(e){return[e("x"),e("y")]}function Ws(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function Gs(e){return void 0===e||1===e}function Hs(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!Gs(t)||!Gs(r)||!Gs(n)}function Js(e){return Hs(e)||Xs(e.x)||Xs(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function Xs(e){return e&&"0%"!==e}function Qs(e,t,r){return r+t*(e-r)}function Ks(e,t,r,n,i){return void 0!==i&&(e=Qs(e,i,n)),Qs(e,r,n)+t}function Ys(e,t,r,n,i){void 0===t&&(t=0),void 0===r&&(r=1),e.min=Ks(e.min,t,r,n,i),e.max=Ks(e.max,t,r,n,i)}function Zs(e,t){var r=t.x,n=t.y;Ys(e.x,r.translate,r.scale,r.originPoint),Ys(e.y,n.translate,n.scale,n.originPoint)}function eo(e,t){e.min=e.min+t,e.max=e.max+t}function to(e,t,r){var n=(0,E.CR)(r,3),i=n[0],s=n[1],o=n[2],a=void 0!==t[o]?t[o]:.5,u=gn(e.min,e.max,a);Ys(e,t[i],t[s],u,t.scale)}var ro=["x","scaleX","originX"],no=["y","scaleY","originY"];function io(e,t){to(e.x,t,ro),to(e.y,t,no)}function so(e,t){return Ws(function(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}var oo=new WeakMap,ao=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var r=this,n=(void 0===t?{}:t).snapToCursor,i=void 0!==n&&n;if(!1!==this.visualElement.isPresent){this.panSession=new As(e,{onSessionStart:function(e){r.stopAnimation(),i&&r.snapToCursor(Nr(e,"page").point)},onStart:function(e,t){var n,i=r.getProps(),s=i.drag,o=i.dragPropagation,a=i.onDragStart;(!s||o||(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=Vr(s),r.openGlobalLock))&&(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),zs((function(e){var t,n,i=r.getAxisMotionValue(e).get()||0;if(Bt.test(i)){var s=null===(n=null===(t=r.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.actual[e];if(s)i=_s(s)*(parseFloat(i)/100)}r.originPoint[e]=i})),null===a||void 0===a||a(e,t),null===(n=r.visualElement.animationState)||void 0===n||n.setActive(Er.Drag,!0))},onMove:function(e,t){var n=r.getProps(),i=n.dragPropagation,s=n.dragDirectionLock,o=n.onDirectionLock,a=n.onDrag;if(i||r.openGlobalLock){var u=t.offset;if(s&&null===r.currentDirection)return r.currentDirection=function(e,t){void 0===t&&(t=10);var r=null;Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x");return r}(u),void(null!==r.currentDirection&&(null===o||void 0===o||o(r.currentDirection)));r.updateAxis("x",t.point,u),r.updateAxis("y",t.point,u),r.visualElement.syncRender(),null===a||void 0===a||a(e,t)}},onSessionEnd:function(e,t){return r.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var r=this.isDragging;if(this.cancel(),r){var n=t.velocity;this.startAnimation(n);var i=this.getProps().onDragEnd;null===i||void 0===i||i(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Er.Drag,!1)},e.prototype.updateAxis=function(e,t,r){var n=this.getProps().drag;if(r&&uo(e,n,this.currentDirection)){var i=this.getAxisMotionValue(e),s=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(s=function(e,t,r){var n=t.min,i=t.max;return void 0!==n&&e<n?e=r?gn(n,e,r.min):Math.max(e,n):void 0!==i&&e>i&&(e=r?gn(i,e,r.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),i.set(s)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),r=t.dragConstraints,n=t.dragElastic,i=(this.visualElement.projection||{}).layout,s=this.constraints;r&&Ke(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!r||!i)&&function(e,t){var r=t.top,n=t.left,i=t.bottom,s=t.right;return{x:Rs(e.x,n,s),y:Rs(e.y,r,i)}}(i.actual,r),this.elastic=function(e){return void 0===e&&(e=Vs),!1===e?e=0:!0===e&&(e=Vs),{x:Us(e,"left","right"),y:Us(e,"top","bottom")}}(n),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&zs((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(i.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,r=e.onMeasureDragConstraints;if(!t||!Ke(t))return!1;var n=t.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var s=function(e,t,r){var n=so(e,r),i=t.scroll;return i&&(eo(n.x,i.x),eo(n.y,i.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),o=function(e,t){return{x:$s(e.x,t.x),y:$s(e.y,t.y)}}(i.layout.actual,s);if(r){var a=r(function(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}(o));this.hasMutatedConstraints=!!a,a&&(o=Ws(a))}return o},e.prototype.startAnimation=function(e){var t=this,r=this.getProps(),n=r.drag,i=r.dragMomentum,s=r.dragElastic,o=r.dragTransition,a=r.dragSnapToOrigin,u=r.onDragTransitionEnd,l=this.constraints||{},c=zs((function(r){var u;if(uo(r,n,t.currentDirection)){var c=null!==(u=null===l||void 0===l?void 0:l[r])&&void 0!==u?u:{};a&&(c={min:0,max:0});var p=s?200:1e6,h=s?40:1e7,d=(0,E.pi)((0,E.pi)({type:"inertia",velocity:i?e[r]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10},o),c);return t.startAxisValueAnimation(r,d)}}));return Promise.all(c).then(u)},e.prototype.startAxisValueAnimation=function(e,t){return Xi(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;zs((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,r,n="_drag"+e.toUpperCase(),i=this.visualElement.getProps()[n];return i||this.visualElement.getValue(e,null!==(r=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==r?r:0)},e.prototype.snapToCursor=function(e){var t=this;zs((function(r){if(uo(r,t.getProps().drag,t.currentDirection)){var n=t.visualElement.projection,i=t.getAxisMotionValue(r);if(n&&n.layout){var s=n.layout.actual[r],o=s.min,a=s.max;i.set(e[r]-gn(o,a,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,r=this.getProps(),n=r.drag,i=r.dragConstraints,s=this.visualElement.projection;if(Ke(i)&&s&&this.constraints){this.stopAnimation();var o={x:0,y:0};zs((function(e){var r=t.getAxisMotionValue(e);if(r){var n=r.get();o[e]=function(e,t){var r=.5,n=_s(e),i=_s(t);return i>n?r=yn(t.min,t.max-n,e.min):n>i&&(r=yn(e.min,e.max-i,t.min)),an(0,1,r)}({min:n,max:n},t.constraints[e])}}));var a=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=a?a({},""):"none",null===(e=s.root)||void 0===e||e.updateScroll(),s.updateLayout(),this.resolveConstraints(),zs((function(e){if(uo(e,n,null)){var r=t.getAxisMotionValue(e),i=t.constraints[e],s=i.min,a=i.max;r.set(gn(s,a,o[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;oo.set(this.visualElement,this);var r=jr(this.visualElement.getInstance(),"pointerdown",(function(e){var r=t.getProps(),n=r.drag,i=r.dragListener;n&&(void 0===i||i)&&t.start(e)})),n=function(){Ke(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},i=this.visualElement.projection,s=i.addEventListener("measure",n);i&&!i.layout&&(null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout()),n();var o=wr(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return i.addEventListener("didUpdate",(function(e){var r=e.delta,n=e.hasLayoutChanged;t.isDragging&&n&&(zs((function(e){var n=t.getAxisMotionValue(e);n&&(t.originPoint[e]+=r[e].translate,n.set(n.get()+r[e].translate))})),t.visualElement.syncRender())})),function(){o(),r(),s()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,r=void 0!==t&&t,n=e.dragDirectionLock,i=void 0!==n&&n,s=e.dragPropagation,o=void 0!==s&&s,a=e.dragConstraints,u=void 0!==a&&a,l=e.dragElastic,c=void 0===l?Vs:l,p=e.dragMomentum,h=void 0===p||p;return(0,E.pi)((0,E.pi)({},e),{drag:r,dragDirectionLock:i,dragPropagation:o,dragConstraints:u,dragElastic:c,dragMomentum:h})},e}();function uo(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}var lo={pan:rn((function(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,s=e.onPanSessionStart,o=e.visualElement,a=t||r||n||s,u=(0,i.useRef)(null),l=(0,i.useContext)(We).transformPagePoint,c={onSessionStart:s,onStart:r,onMove:t,onEnd:function(e,t){u.current=null,n&&n(e,t)}};(0,i.useEffect)((function(){null!==u.current&&u.current.updateHandlers(c)})),Lr(o,"pointerdown",a&&function(e){u.current=new As(e,c,{transformPagePoint:l})}),Le((function(){return u.current&&u.current.end()}))})),drag:rn((function(e){var t=e.dragControls,r=e.visualElement,n=Pe((function(){return new ao(r)}));(0,i.useEffect)((function(){return t&&t.subscribe(n)}),[n,t]),(0,i.useEffect)((function(){return n.addListeners()}),[n])}))},co=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var po=function(e){var t=e.treeType,r=void 0===t?"":t,n=e.build,i=e.getBaseTarget,s=e.makeTargetAnimatable,o=e.measureViewportBox,a=e.render,u=e.readValueFromInstance,l=e.removeValueFromRenderState,c=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var h=e.parent,d=e.props,f=e.presenceId,m=e.blockInitialAnimation,y=e.visualState,g=e.shouldReduceMotion;void 0===t&&(t={});var v,D,b=!1,x=y.latestValues,C=y.renderState,w=function(){var e=co.map((function(){return new Zi})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){co.forEach((function(n){var i,s="on"+n,o=e[s];null===(i=t[n])||void 0===i||i.call(t),o&&(t[n]=r[s](o))}))}};return e.forEach((function(e,t){r["on"+co[t]]=function(t){return e.add(t)},r["notify"+co[t]]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.notify.apply(e,(0,E.ev)([],(0,E.CR)(t),!1))}})),r}(),A=new Map,S=new Map,T={},F=(0,E.pi)({},x);function k(){v&&b&&(P(),a(v,C,d.style,M.projection))}function P(){n(M,C,x,t,d)}function N(){w.notifyUpdate(x)}function _(e,t){var r=t.onChange((function(t){x[e]=t,d.onUpdate&&Ae.update(N,!1,!0)})),n=t.onRenderRequest(M.scheduleRender);S.set(e,(function(){r(),n()}))}var O=p(d);for(var I in O){var B=O[I];void 0!==x[I]&&Ct(B)&&B.set(x[I],!1)}var j=rt(d),L=nt(d),M=(0,E.pi)((0,E.pi)({treeType:r,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,presenceId:f,shouldReduceMotion:g,variantChildren:L?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null===h||void 0===h?void 0:h.isMounted()),blockInitialAnimation:m,isMounted:function(){return Boolean(v)},mount:function(e){b=!0,v=M.current=e,M.projection&&M.projection.mount(e),L&&h&&!j&&(D=null===h||void 0===h?void 0:h.addVariantChild(M)),A.forEach((function(e,t){return _(t,e)})),null===h||void 0===h||h.children.add(M),M.setProps(d)},unmount:function(){var e;null===(e=M.projection)||void 0===e||e.unmount(),De.update(N),De.render(k),S.forEach((function(e){return e()})),null===D||void 0===D||D(),null===h||void 0===h||h.children.delete(M),w.clearAllListeners(),v=void 0,b=!1},addVariantChild:function(e){var t,r=M.getClosestVariantNode();if(r)return null===(t=r.variantChildren)||void 0===t||t.add(e),function(){return r.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&r===e.treeType?c(M.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return L?M:null===h||void 0===h?void 0:h.getClosestVariantNode()},getLayoutId:function(){return d.layoutId},getInstance:function(){return v},getStaticValue:function(e){return x[e]},setStaticValue:function(e,t){return x[e]=t},getLatestValues:function(){return x},setVisibility:function(e){M.isVisible!==e&&(M.isVisible=e,M.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),s(M,e,d,t)},measureViewportBox:function(){return o(v,d)},addValue:function(e,t){M.hasValue(e)&&M.removeValue(e),A.set(e,t),x[e]=t.get(),_(e,t)},removeValue:function(e){var t;A.delete(e),null===(t=S.get(e))||void 0===t||t(),S.delete(e),delete x[e],l(e,C)},hasValue:function(e){return A.has(e)},getValue:function(e,t){var r=A.get(e);return void 0===r&&void 0!==t&&(r=ts(t),M.addValue(e,r)),r},forEachValue:function(e){return A.forEach(e)},readValue:function(e){var r;return null!==(r=x[e])&&void 0!==r?r:u(v,e,t)},setBaseTarget:function(e,t){F[e]=t},getBaseTarget:function(e){if(i){var t=i(d,e);if(void 0!==t&&!Ct(t))return t}return F[e]}},w),{build:function(){return P(),C},scheduleRender:function(){Ae.render(k,!1,!0)},syncRender:k,setProps:function(e){(e.transformTemplate||d.transformTemplate)&&M.scheduleRender(),d=e,w.updatePropListeners(e),T=function(e,t,r){var n;for(var i in t){var s=t[i],o=r[i];if(Ct(s))e.addValue(i,s);else if(Ct(o))e.addValue(i,ts(s));else if(o!==s)if(e.hasValue(i)){var a=e.getValue(i);!a.hasAnimated&&a.set(s)}else e.addValue(i,ts(null!==(n=e.getStaticValue(i))&&void 0!==n?n:s))}for(var i in r)void 0===t[i]&&e.removeValue(i);return t}(M,p(d),T)},getProps:function(){return d},getVariant:function(e){var t;return null===(t=d.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return d.transition},getTransformPagePoint:function(){return d.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null===h||void 0===h?void 0:h.getVariantContext();if(!j){var t=(null===h||void 0===h?void 0:h.getVariantContext())||{};return void 0!==d.initial&&(t.initial=d.initial),t}for(var r={},n=0;n<fo;n++){var i=ho[n],s=d[i];(Ze(s)||!1===s)&&(r[i]=s)}return r}});return M}},ho=(0,E.ev)(["initial"],(0,E.CR)(fs),!1),fo=ho.length;function mo(e){return"string"===typeof e&&e.startsWith("var(--")}var yo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function go(e,t,r){void 0===r&&(r=1),'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.');var n=(0,E.CR)(function(e){var t=yo.exec(e);if(!t)return[,];var r=(0,E.CR)(t,3);return[r[1],r[2]]}(e),2),i=n[0],s=n[1];if(i){var o=window.getComputedStyle(t).getPropertyValue(i);return o?o.trim():mo(s)?go(s,t,r+1):s}}var vo,Do=new Set(["width","height","top","left","right","bottom","x","y"]),bo=function(e){return Do.has(e)},Eo=function(e,t){e.set(t,!1),e.set(t)},xo=function(e){return e===$t||e===jt};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(vo||(vo={}));var Co=function(e,t){return parseFloat(e.split(", ")[t])},wo=function(e,t){return function(r,n){var i=n.transform;if("none"===i||!i)return 0;var s=i.match(/^matrix3d\((.+)\)$/);if(s)return Co(s[1],t);var o=i.match(/^matrix\((.+)\)$/);return o?Co(o[1],e):0}},Ao=new Set(["x","y","z"]),So=yt.filter((function(e){return!Ao.has(e)}));var To={width:function(e,t){var r=e.x,n=t.paddingLeft,i=void 0===n?"0":n,s=t.paddingRight,o=void 0===s?"0":s;return r.max-r.min-parseFloat(i)-parseFloat(o)},height:function(e,t){var r=e.y,n=t.paddingTop,i=void 0===n?"0":n,s=t.paddingBottom,o=void 0===s?"0":s;return r.max-r.min-parseFloat(i)-parseFloat(o)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:wo(4,13),y:wo(5,14)},Fo=function(e,t,r,n){void 0===r&&(r={}),void 0===n&&(n={}),t=(0,E.pi)({},t),n=(0,E.pi)({},n);var i=Object.keys(t).filter(bo),s=[],o=!1,a=[];if(i.forEach((function(i){var u=e.getValue(i);if(e.hasValue(i)){var l,c=r[i],p=is(c),h=t[i];if(mr(h)){var d=h.length,f=null===h[0]?1:0;c=h[f],p=is(c);for(var m=f;m<d;m++)l?is(h[m]):(l=is(h[m]))===p||xo(p)&&xo(l)}else l=is(h);if(p!==l)if(xo(p)&&xo(l)){var y=u.get();"string"===typeof y&&u.set(parseFloat(y)),"string"===typeof h?t[i]=parseFloat(h):Array.isArray(h)&&l===jt&&(t[i]=h.map(parseFloat))}else(null===p||void 0===p?void 0:p.transform)&&(null===l||void 0===l?void 0:l.transform)&&(0===c||0===h)?0===c?u.set(l.transform(c)):t[i]=p.transform(h):(o||(s=function(e){var t=[];return So.forEach((function(r){var n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),o=!0),a.push(i),n[i]=void 0!==n[i]?n[i]:t[i],Eo(u,h))}})),a.length){var u=a.indexOf("height")>=0?window.pageYOffset:null,l=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),s=getComputedStyle(i),o=s.display,a={};"none"===o&&t.setStaticValue("display",e.display||"block"),r.forEach((function(e){a[e]=To[e](n,s)})),t.syncRender();var u=t.measureViewportBox();return r.forEach((function(r){var n=t.getValue(r);Eo(n,a[r]),e[r]=To[r](u,s)})),e}(t,e,a);return s.length&&s.forEach((function(t){var r=(0,E.CR)(t,2),n=r[0],i=r[1];e.getValue(n).set(i)})),e.syncRender(),null!==u&&window.scrollTo({top:u}),{target:l,transitionEnd:n}}return{target:t,transitionEnd:n}};function ko(e,t,r,n){return function(e){return Object.keys(e).some(bo)}(t)?Fo(e,t,r,n):{target:t,transitionEnd:n}}var Po=function(e,t,r,n){var i=function(e,t,r){var n,i=(0,E._T)(t,[]),s=e.getInstance();if(!(s instanceof Element))return{target:i,transitionEnd:r};for(var o in r&&(r=(0,E.pi)({},r)),e.forEachValue((function(e){var t=e.get();if(mo(t)){var r=go(t,s);r&&e.set(r)}})),i){var a=i[o];if(mo(a)){var u=go(a,s);u&&(i[o]=u,r&&(null!==(n=r[o])&&void 0!==n||(r[o]=a)))}}return{target:i,transitionEnd:r}}(e,t,n);return ko(e,t=i.target,r,n=i.transitionEnd)};var No={treeType:"dom",readValueFromInstance:function(e,t){if(Dt(t)){var r=$i(t);return r&&r.default||0}var n,i=(n=e,window.getComputedStyle(n));return(At(t)?i.getPropertyValue(t):i[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]},measureViewportBox:function(e,t){return so(e,t.transformPagePoint)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var i=r.transformValues;void 0===n&&(n=!0);var s=t.transition,o=t.transitionEnd,a=(0,E._T)(t,["transition","transitionEnd"]),u=function(e,t,r){var n,i,s={};for(var o in e)s[o]=null!==(n=ls(o,t))&&void 0!==n?n:null===(i=r.getValue(o))||void 0===i?void 0:i.get();return s}(a,s||{},e);if(i&&(o&&(o=i(o)),a&&(a=i(a)),u&&(u=i(u))),n){!function(e,t,r){var n,i,s,o,a=Object.keys(t).filter((function(t){return!e.hasValue(t)})),u=a.length;if(u)for(var l=0;l<u;l++){var c=a[l],p=t[c],h=null;Array.isArray(p)&&(h=p[0]),null===h&&(h=null!==(i=null!==(n=r[c])&&void 0!==n?n:e.readValue(c))&&void 0!==i?i:t[c]),void 0!==h&&null!==h&&("string"===typeof h&&(/^\-?\d*\.?\d+$/.test(h)||Qi(h))?h=parseFloat(h):!os(h)&&Rn.test(p)&&(h=Vi(c,p)),e.addValue(c,ts(h)),null!==(s=(o=r)[c])&&void 0!==s||(o[c]=h),e.setBaseTarget(c,h))}}(e,a,u);var l=Po(e,a,u,o);o=l.transitionEnd,a=l.target}return(0,E.pi)({transition:s,transitionEnd:o},a)},scrapeMotionValuesFromProps:hr,build:function(e,t,r,n,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Wt(t,r,n,i.transformTemplate)},render:lr},_o=po(No),Oo=po((0,E.pi)((0,E.pi)({},No),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return Dt(t)?(null===(r=$i(t))||void 0===r?void 0:r.default)||0:(t=cr.has(t)?t:ur(t),e.getAttribute(t))},scrapeMotionValuesFromProps:dr,build:function(e,t,r,n,i){nr(t,r,n,i.transformTemplate)},render:pr})),Io=function(e,t){return dt(e)?Oo(t,{enableHardwareAcceleration:!1}):_o(t,{enableHardwareAcceleration:!0})};function Bo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var jo={correct:function(e,t){if(!t.target)return e;if("string"===typeof e){if(!jt.test(e))return e;e=parseFloat(e)}var r=Bo(e,t.target.x),n=Bo(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Lo="_$css",Mo={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,s=e.includes("var("),o=[];s&&(e=e.replace(yo,(function(e){return o.push(e),Lo})));var a=Rn.parse(e);if(a.length>5)return i;var u=Rn.createTransformer(e),l="number"!==typeof a[0]?1:0,c=n.x.scale*r.x,p=n.y.scale*r.y;a[0+l]/=c,a[1+l]/=p;var h=gn(c,p,.5);"number"===typeof a[2+l]&&(a[2+l]/=h),"number"===typeof a[3+l]&&(a[3+l]/=h);var d=u(a);if(s){var f=0;d=d.replace(Lo,(function(){var e=o[f];return f++,e}))}return d}},Ro=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,E.ZT)(t,e),t.prototype.componentDidMount=function(){var e,t=this,r=this.props,n=r.visualElement,i=r.layoutGroup,s=r.switchLayoutGroup,o=r.layoutId,a=n.projection;e=$o,Object.assign(ft,e),a&&((null===i||void 0===i?void 0:i.group)&&i.group.add(a),(null===s||void 0===s?void 0:s.register)&&o&&s.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",(function(){t.safeToRemove()})),a.setOptions((0,E.pi)((0,E.pi)({},a.options),{onExitComplete:function(){return t.safeToRemove()}}))),ot.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,r=this.props,n=r.layoutDependency,i=r.visualElement,s=r.drag,o=r.isPresent,a=i.projection;return a?(a.isPresent=o,s||e.layoutDependency!==n||void 0===n?a.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?a.promote():a.relegate()||Ae.postRender((function(){var e;(null===(e=a.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,r=e.layoutGroup,n=e.switchLayoutGroup,i=t.projection;i&&(i.scheduleCheckAfterUnmount(),(null===r||void 0===r?void 0:r.group)&&r.group.remove(i),(null===n||void 0===n?void 0:n.deregister)&&n.deregister(i))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null===e||void 0===e||e()},t.prototype.render=function(){return null},t}(i.Component);var $o={borderRadius:(0,E.pi)((0,E.pi)({},jo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:jo,borderTopRightRadius:jo,borderBottomLeftRadius:jo,borderBottomRightRadius:jo,boxShadow:Mo},Vo={measureLayout:function(e){var t=(0,E.CR)(sn(),2),r=t[0],n=t[1],s=(0,i.useContext)(je);return i.createElement(Ro,(0,E.pi)({},e,{layoutGroup:s,switchLayoutGroup:(0,i.useContext)(ut),isPresent:r,safeToRemove:n}))}};var Uo=["TopLeft","TopRight","BottomLeft","BottomRight"],qo=Uo.length,zo=function(e){return"string"===typeof e?parseFloat(e):e},Wo=function(e){return"number"===typeof e||jt.test(e)};function Go(e,t){var r;return null!==(r=e[t])&&void 0!==r?r:e.borderRadius}var Ho=Xo(0,.5,ii),Jo=Xo(.5,.95,Yn);function Xo(e,t,r){return function(n){return n<e?0:n>t?1:r(yn(e,t,n))}}function Qo(e,t){e.min=t.min,e.max=t.max}function Ko(e,t){Qo(e.x,t.x),Qo(e.y,t.y)}function Yo(e,t,r,n,i){return e=Qs(e-=t,1/r,n),void 0!==i&&(e=Qs(e,1/i,n)),e}function Zo(e,t,r,n,i){var s=(0,E.CR)(r,3),o=s[0],a=s[1],u=s[2];!function(e,t,r,n,i,s,o){if(void 0===t&&(t=0),void 0===r&&(r=1),void 0===n&&(n=.5),void 0===s&&(s=e),void 0===o&&(o=e),Bt.test(t)&&(t=parseFloat(t),t=gn(o.min,o.max,t/100)-o.min),"number"===typeof t){var a=gn(s.min,s.max,n);e===s&&(a-=t),e.min=Yo(e.min,t,r,a,i),e.max=Yo(e.max,t,r,a,i)}}(e,t[o],t[a],t[u],t.scale,n,i)}var ea=["x","scaleX","originX"],ta=["y","scaleY","originY"];function ra(e,t,r,n){Zo(e.x,t,ea,null===r||void 0===r?void 0:r.x,null===n||void 0===n?void 0:n.x),Zo(e.y,t,ta,null===r||void 0===r?void 0:r.y,null===n||void 0===n?void 0:n.y)}function na(e){return 0===e.translate&&1===e.scale}function ia(e){return na(e.x)&&na(e.y)}function sa(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var oa=function(){function e(){this.members=[]}return e.prototype.add=function(e){Ki(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(Yi(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,r=this.members.findIndex((function(t){return e===t}));if(0===r)return!1;for(var n=r;n>=0;n--){var i=this.members[n];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var r,n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues,e.snapshot.isShared=!0),(null===(r=e.root)||void 0===r?void 0:r.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,r,n,i,s;null===(r=(t=e.options).onExitComplete)||void 0===r||r.call(t),null===(s=null===(n=e.resumingFrom)||void 0===n?void 0:(i=n.options).onExitComplete)||void 0===s||s.call(i)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function aa(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,s="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(s+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),r){var o=r.rotate,a=r.rotateX,u=r.rotateY;o&&(s+="rotate(".concat(o,"deg) ")),a&&(s+="rotateX(".concat(a,"deg) ")),u&&(s+="rotateY(".concat(u,"deg) "))}var l=e.x.scale*t.x,c=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(s+="scale(".concat(l,", ").concat(c,")"))?"none":s}var ua=function(e,t){return e.depth-t.depth},la=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Ki(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Yi(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(ua),this.isDirty=!1,this.children.forEach(e)},e}();function ca(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.checkIsScrollRoot,s=e.resetTransform;return function(){function e(e,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n=null===r||void 0===r?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(ga),i.nodes.forEach(va)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?(0,E.ev)((0,E.ev)([],(0,E.CR)(n.path),!1),[n],!1):[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var s=0;s<this.path.length;s++)this.path[s].shouldResetTransform=!0;this.root===this&&(this.nodes=new la)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Zi),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=this.eventHandlers.get(e);null===n||void 0===n||n.notify.apply(n,(0,E.ev)([],(0,E.CR)(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,r){var n,i=this;if(void 0===r&&(r=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var s=this.options,o=s.layoutId,a=s.layout,u=s.visualElement;if(u&&!u.getInstance()&&u.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),r&&(a||o)&&(this.isLayoutDirty=!0),t){var l,c=function(){return i.root.updateBlockedByResize=!1};t(e,(function(){i.root.updateBlockedByResize=!0,clearTimeout(l),l=window.setTimeout(c,250),ot.hasAnimatedSinceResize&&(ot.hasAnimatedSinceResize=!1,i.nodes.forEach(ya))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&u&&(o||a)&&this.addEventListener("didUpdate",(function(e){var t,r,n,s,o,a=e.delta,l=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,p=e.layout;if(i.isTreeAnimationBlocked())return i.target=void 0,void(i.relativeTarget=void 0);var h=null!==(r=null!==(t=i.options.transition)&&void 0!==t?t:u.getDefaultTransition())&&void 0!==r?r:wa,d=u.getProps(),f=d.onLayoutAnimationStart,m=d.onLayoutAnimationComplete,y=!i.targetLayout||!sa(i.targetLayout,p)||c,g=!l&&c;if((null===(n=i.resumeFrom)||void 0===n?void 0:n.instance)||g||l&&(y||!i.currentAnimation)){i.resumeFrom&&(i.resumingFrom=i.resumeFrom,i.resumingFrom.resumingFrom=void 0),i.setAnimationOrigin(a,g);var v=(0,E.pi)((0,E.pi)({},Ji(h,"layout")),{onPlay:f,onComplete:m});u.shouldReduceMotion&&(v.delay=0,v.type=!1),i.startAnimation(v)}else l||0!==i.animationProgress||i.finishAnimation(),i.isLead()&&(null===(o=(s=i.options).onExitComplete)||void 0===o||o.call(s));i.targetLayout=p}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,De.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(Da))},e.prototype.willUpdate=function(e){var t,r,n;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(r=(t=this.options).onExitComplete)||void 0===r||r.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var i=0;i<this.path.length;i++){var s=this.path[i];s.shouldResetTransform=!0,s.updateScroll()}var o=this.options,a=o.layoutId,u=o.layout;if(void 0!==a||u){var l=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null===l||void 0===l?void 0:l(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(fa);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Aa),this.potentialNodes.clear()),this.nodes.forEach(ma),this.nodes.forEach(pa),this.nodes.forEach(ha),this.clearAllSnapshots(),be.update(),be.preRender(),be.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(da),this.sharedNodes.forEach(ba)},e.prototype.scheduleUpdateProjection=function(){Ae.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;Ae.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));Ta(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var r=this.measure();Ta(r);var n=this.layout;this.layout={measured:r,actual:this.removeElementScroll(r)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null===n||void 0===n?void 0:n.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=n(this.instance))},e.prototype.resetTransform=function(){var e;if(s){var t=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!ia(this.projectionDelta),n=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,i=null===n||void 0===n?void 0:n(this.latestValues,""),o=i!==this.prevTransformTemplateValue;t&&(r||Js(this.latestValues)||o)&&(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),r=this.root.scroll;return r&&(eo(t.x,r.x),eo(t.y,r.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};Ko(t,e);for(var r=0;r<this.path.length;r++){var n=this.path[r],i=n.scroll,s=n.options,o=n.isScrollRoot;if(n!==this.root&&i&&s.layoutScroll){if(o){Ko(t,e);var a=this.root.scroll;a&&(eo(t.x,-a.x),eo(t.y,-a.y))}eo(t.x,i.x),eo(t.y,i.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var r={x:{min:0,max:0},y:{min:0,max:0}};Ko(r,e);for(var n=0;n<this.path.length;n++){var i=this.path[n];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&io(r,{x:-i.scroll.x,y:-i.scroll.y}),Js(i.latestValues)&&io(r,i.latestValues)}return Js(this.latestValues)&&io(r,this.latestValues),r},e.prototype.removeTransform=function(e){var t,r={x:{min:0,max:0},y:{min:0,max:0}};Ko(r,e);for(var n=0;n<this.path.length;n++){var i=this.path[n];if(i.instance&&Js(i.latestValues)){Hs(i.latestValues)&&i.updateSnapshot();var s={x:{min:0,max:0},y:{min:0,max:0}};Ko(s,i.measure()),ra(r,i.latestValues,null===(t=i.snapshot)||void 0===t?void 0:t.layout,s)}}return Js(this.latestValues)&&ra(r,this.latestValues),r},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=(0,E.pi)((0,E.pi)((0,E.pi)({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,r,n,i=this.options,s=i.layout,o=i.layoutId;this.layout&&(s||o)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ms(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),Ko(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,r=this.relativeTarget,n=this.relativeParent.target,js(t.x,r.x,n.x),js(t.y,r.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):Ko(this.target,this.layout.actual),Zs(this.target,this.targetDelta)):Ko(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ms(this.relativeTargetOrigin,this.target,this.relativeParent.target),Ko(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!Js(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,r=t.layout,n=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(r||n)){var i=this.getLead();Ko(this.layoutCorrected,this.layout.actual),function(e,t,r,n){var i,s;void 0===n&&(n=!1);var o=r.length;if(o){var a,u;t.x=t.y=1;for(var l=0;l<o;l++)u=(a=r[l]).projectionDelta,"contents"!==(null===(s=null===(i=a.instance)||void 0===i?void 0:i.style)||void 0===s?void 0:s.display)&&(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&io(e,{x:-a.scroll.x,y:-a.scroll.y}),u&&(t.x*=u.x.scale,t.y*=u.y.scale,Zs(e,u)),n&&Js(a.latestValues)&&io(e,a.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==i);var s=i.target;if(s){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var o=this.treeScale.x,a=this.treeScale.y,u=this.projectionTransform;Bs(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=aa(this.projectionDelta,this.treeScale),this.projectionTransform===u&&this.treeScale.x===o&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,r,n;void 0===e&&(e=!0),null===(r=(t=this.options).scheduleRender)||void 0===r||r.call(t),e&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var r,n=this;void 0===t&&(t=!1);var i=this.snapshot,s=(null===i||void 0===i?void 0:i.latestValues)||{},o=(0,E.pi)({},this.latestValues),a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var u={x:{min:0,max:0},y:{min:0,max:0}},l=null===i||void 0===i?void 0:i.isShared,c=((null===(r=this.getStack())||void 0===r?void 0:r.members.length)||0)<=1,p=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(Ca));this.animationProgress=0,this.mixTargetDelta=function(t){var r,i,h,d,f,m=t/1e3;Ea(a.x,e.x,m),Ea(a.y,e.y,m),n.setTargetDelta(a),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&(null===(r=n.relativeParent)||void 0===r?void 0:r.layout)&&(Ms(u,n.layout.actual,n.relativeParent.layout.actual),i=n.relativeTarget,h=n.relativeTargetOrigin,d=u,f=m,xa(i.x,h.x,d.x,f),xa(i.y,h.y,d.y,f)),l&&(n.animationValues=o,function(e,t,r,n,i,s){var o,a,u,l;i?(e.opacity=gn(0,null!==(o=r.opacity)&&void 0!==o?o:1,Ho(n)),e.opacityExit=gn(null!==(a=t.opacity)&&void 0!==a?a:1,0,Jo(n))):s&&(e.opacity=gn(null!==(u=t.opacity)&&void 0!==u?u:1,null!==(l=r.opacity)&&void 0!==l?l:1,n));for(var c=0;c<qo;c++){var p="border".concat(Uo[c],"Radius"),h=Go(t,p),d=Go(r,p);void 0===h&&void 0===d||(h||(h=0),d||(d=0),0===h||0===d||Wo(h)===Wo(d)?(e[p]=Math.max(gn(zo(h),zo(d),n),0),(Bt.test(d)||Bt.test(h))&&(e[p]+="%")):e[p]=d)}(t.rotate||r.rotate)&&(e.rotate=gn(t.rotate||0,r.rotate||0,n))}(o,s,n.latestValues,m,p,c)),n.root.scheduleUpdateProjection(),n.scheduleRender(),n.animationProgress=m},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,r,n=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(r=this.resumingFrom.currentAnimation)||void 0===r||r.stop()),this.pendingAnimation&&(De.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ae.update((function(){ot.hasAnimatedSinceResize=!0,n.currentAnimation=function(e,t,r){void 0===r&&(r={});var n=Ct(e)?e:ts(e);return Xi("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}(0,1e3,(0,E.pi)((0,E.pi)({},e),{onUpdate:function(t){var r;n.mixTargetDelta(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),n.completeAnimation()}})),n.resumingFrom&&(n.resumingFrom.currentAnimation=n.currentAnimation),n.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,r=e.target,n=e.layout,i=e.latestValues;t&&r&&n&&(Ko(t,r),io(t,i),Bs(this.projectionDeltaWithTransform,this.layoutCorrected,t,i))},e.prototype.registerSharedNode=function(e,t){var r,n,i;this.sharedNodes.has(e)||this.sharedNodes.set(e,new oa),this.sharedNodes.get(e).add(t),t.promote({transition:null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.transition,preserveFollowOpacity:null===(i=null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(n,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,r=t.needsReset,n=t.transition,i=t.preserveFollowOpacity,s=this.getStack();s&&s.promote(this,i),r&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,r={},n=0;n<mt.length;n++){var i="rotate"+mt[n];e.getStaticValue(i)&&(t=!0,r[i]=e.getStaticValue(i),e.setStaticValue(i,0))}if(t){for(var i in null===e||void 0===e||e.syncRender(),r)e.setStaticValue(i,r[i]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,r,n,i,s,o;void 0===e&&(e={});var a={};if(!this.instance||this.isSVG)return a;if(!this.isVisible)return{visibility:"hidden"};a.visibility="";var u=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,a.opacity="",a.pointerEvents=gr(e.pointerEvents)||"",a.transform=u?u(this.latestValues,""):"none",a;var l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){var c={};return this.options.layoutId&&(c.opacity=null!==(r=this.latestValues.opacity)&&void 0!==r?r:1,c.pointerEvents=gr(e.pointerEvents)||""),this.hasProjected&&!Js(this.latestValues)&&(c.transform=u?u({},""):"none",this.hasProjected=!1),c}var p=l.animationValues||l.latestValues;this.applyTransformsToTarget(),a.transform=aa(this.projectionDeltaWithTransform,this.treeScale,p),u&&(a.transform=u(p,a.transform));var h=this.projectionDelta,d=h.x,f=h.y;for(var m in a.transformOrigin="".concat(100*d.origin,"% ").concat(100*f.origin,"% 0"),l.animationValues?a.opacity=l===this?null!==(i=null!==(n=p.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:a.opacity=l===this?null!==(s=p.opacity)&&void 0!==s?s:"":null!==(o=p.opacityExit)&&void 0!==o?o:0,ft)if(void 0!==p[m]){var y=ft[m],g=y.correct,v=y.applyTo,D=g(p[m],l);if(v)for(var b=v.length,E=0;E<b;E++)a[v[E]]=D;else a[m]=D}return this.options.layoutId&&(a.pointerEvents=l===this?gr(e.pointerEvents)||"":"none"),a},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(fa),this.root.sharedNodes.clear()},e}()}function pa(e){e.updateLayout()}function ha(e){var t,r,n,i,s=null!==(r=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==r?r:e.snapshot;if(e.isLead()&&e.layout&&s&&e.hasListeners("didUpdate")){var o=e.layout,a=o.actual,u=o.measured;"size"===e.options.animationType?zs((function(e){var t=s.isShared?s.measured[e]:s.layout[e],r=_s(t);t.min=a[e].min,t.max=t.min+r})):"position"===e.options.animationType&&zs((function(e){var t=s.isShared?s.measured[e]:s.layout[e],r=_s(a[e]);t.max=t.min+r}));var l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Bs(l,a,s.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};s.isShared?Bs(c,e.applyTransform(u,!0),s.measured):Bs(c,a,s.layout);var p=!ia(l),h=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var d=e.relativeParent,f=d.snapshot,m=d.layout;if(f&&m){var y={x:{min:0,max:0},y:{min:0,max:0}};Ms(y,s.layout,f.layout);var g={x:{min:0,max:0},y:{min:0,max:0}};Ms(g,a,m.actual),sa(y,g)||(h=!0)}}e.notifyListeners("didUpdate",{layout:a,snapshot:s,delta:c,layoutDelta:l,hasLayoutChanged:p,hasRelativeTargetChanged:h})}else e.isLead()&&(null===(i=(n=e.options).onExitComplete)||void 0===i||i.call(n));e.options.transition=void 0}function da(e){e.clearSnapshot()}function fa(e){e.clearMeasurements()}function ma(e){var t=e.options.visualElement;(null===t||void 0===t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function ya(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function ga(e){e.resolveTargetDelta()}function va(e){e.calcProjection()}function Da(e){e.resetRotation()}function ba(e){e.removeLeadSnapshot()}function Ea(e,t,r){e.translate=gn(t.translate,0,r),e.scale=gn(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function xa(e,t,r,n){e.min=gn(t.min,r.min,n),e.max=gn(t.max,r.max,n)}function Ca(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var wa={duration:.45,ease:[.4,0,.1,1]};function Aa(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var i=(r&&r!==e.root?r.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));i&&e.mount(i,!0)}function Sa(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Ta(e){Sa(e.x),Sa(e.y)}var Fa=ca({attachResizeListener:function(e,t){return wr(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),ka={current:void 0},Pa=ca({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!ka.current){var e=new Fa(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),ka.current=e}return ka.current},resetTransform:function(e,t){e.style.transform=null!==t&&void 0!==t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),Na=(0,E.pi)((0,E.pi)((0,E.pi)((0,E.pi)({},bs),nn),lo),Vo),_a=pt((function(e,t){return function(e,t,r,n,i){var s=t.forwardMotionProps,o=void 0!==s&&s,a=dt(e)?xr:Cr;return(0,E.pi)((0,E.pi)({},a),{preloadedFeatures:r,useRender:or(o),createVisualElement:n,projectionNodeConstructor:i,Component:e})}(e,t,Na,Io,Pa)}));var Oa=r(3774),Ia=r(2725);function Ba(){const e={redirect_uri:"".concat(Ia.env.NEXT_PUBLIC_APP_URL,"/oauth/google"),client_id:"".concat(Ia.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID),access_type:"offline",response_type:"code",prompt:"consent",scope:["https://www.googleapis.com/auth/userinfo.profile","https://www.googleapis.com/auth/userinfo.email"].join(" ")},t=new URLSearchParams(e);return"".concat("https://accounts.google.com/o/oauth2/v2/auth","?").concat(t.toString())}function ja(){const e={client_id:"".concat(Ia.env.NEXT_PUBLIC_GITHUB_CLIENT_ID),redirect_uri:"".concat(Ia.env.NEXT_PUBLIC_APP_URL,"/oauth/github"),path:"/",scope:"user:email"},t=new URLSearchParams(e);return"".concat("https://github.com/login/oauth/authorize","?").concat(t.toString())}function La(e){let{pageURL:t,pageTitle:r,popupWinWidth:n,popupWinHeight:i}=e,s=(screen.width-n)/2,o=(screen.height-i)/4;window.open(t,r,"resizable=yes, width="+n+", height="+i+", top="+o+", left="+s)}const Ma={initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.98,opacity:0}};var Ra=r(1686);var $a=()=>{const e=(0,Oa.T)();return(0,n.jsx)(_a.div,{className:"sm:mt-10 mx-auto h-full sm:h-auto sm:w-8/12 lg:w-6/12 xl:w-4/12",variants:Ma,initial:"initial",animate:"animate",exit:"exit",transition:{ease:"easeOut",duration:.3},onClick:e=>e.stopPropagation(),children:(0,n.jsxs)("div",{className:"h-full flex flex-col shadow-xl sm:rounded-xl overflow-hidden",children:[(0,n.jsx)("div",{className:"h-64 w-full",style:{backgroundImage:"url(https://cdn.dribbble.com/userupload/3396431/file/original-d865684d8f3afbc99fcab7ab38f9ee9e.png?compress=1&resize=1504x1128)",backgroundPosition:"center",backgroundSize:"cover"}}),(0,n.jsxs)("div",{className:"flex h-52 flex-col justify-center items-center gap-7 glassmorphism",children:[(0,n.jsxs)("button",{onClick:()=>{La({pageURL:Ba(),pageTitle:"Codetree authentication",popupWinWidth:490,popupWinHeight:600}),e((0,ie.Li)())},className:"px-5 border border-gray-400 flex gap-x-5 items-center justify-center w-80 h-12 rounded-xl text-gray-300",children:[(0,n.jsx)(Ra.D27,{size:24}),(0,n.jsx)("div",{children:"Sign in with google"})]}),(0,n.jsxs)("button",{onClick:()=>{La({pageURL:ja(),pageTitle:"Codetree authentication",popupWinWidth:490,popupWinHeight:600}),e((0,ie.Li)())},className:"px-5 border border-gray-400 flex gap-x-5 items-center justify-center w-80 h-12 rounded-xl text-gray-300",children:[(0,n.jsx)(Ra.q7V,{size:24}),(0,n.jsx)("div",{children:"Sign in with github"})]})]})]})})},Va=r(2495),Ua=r(5019);const qa=()=>{let e=[];for(let t=0;t<10;t++)e.push((0,n.jsxs)("div",{className:"flex animate-pulse",children:[(0,n.jsx)("div",{className:"h-9 w-9 bg-gray-400 rounded-sm"}),(0,n.jsxs)("div",{className:"flex flex-col items-start justify-start pl-4 space-y-2.5 mt-1.5",children:[(0,n.jsx)("div",{className:"h-2 w-12 bg-gray-400 rounded-sm"}),(0,n.jsx)("div",{className:"h-2 w-20 bg-gray-400 rounded-sm"})]})]},t));return(0,n.jsx)(n.Fragment,{children:e})};var za=()=>{const{theme:e}=(0,Oa.C)(se.FS),{esbuildStatus:t}=(0,Oa.C)(ne.eX),{setTree:r}=(0,Va.Z)();let i=[];for(const n of Object.entries(Ua.s))i.push(n);const s=i.map(((e,t)=>(0,n.jsx)("button",{name:e[1].name,onClick:()=>r(e[1]),className:"p-2 rounded-sm",children:(0,n.jsxs)("div",{className:"flex pointer-events-none",children:[(0,n.jsx)("img",{alt:e[1].name,src:e[1].iconSrc,className:"h-9 w-9 rounded-sm"}),(0,n.jsxs)("div",{className:"flex flex-col items-start justify-start pl-4",children:[(0,n.jsx)("div",{children:e[1].name}),(0,n.jsx)("div",{className:"text-xs text-gray-400",children:e[1].description})]})]})},t)));return(0,n.jsxs)(_a.div,{className:"sm:mt-44 mx-auto h-full sm:h-auto sm:w-8/12 lg:w-6/12 sm:pb-20 sm:rounded-xl overflow-hidden glassmorphism",variants:Ma,initial:"initial",animate:"animate",exit:"exit",transition:{ease:"easeOut",duration:.3},onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("div",{style:{backgroundColor:e.foreground},className:"border-b border-black h-10 flex items-center px-7",children:(0,n.jsx)("h1",{className:"text-xl",children:"Templates"})}),(0,n.jsx)("div",{className:"pt-6 px-7 flex flex-wrap gap-x-14 gap-y-8",children:t.isReady?s:(0,n.jsx)(qa,{})})]})},Wa=e=>"checkbox"===e.type,Ga=e=>e instanceof Date,Ha=e=>null==e;const Ja=e=>"object"===typeof e;var Xa=e=>!Ha(e)&&!Array.isArray(e)&&Ja(e)&&!Ga(e),Qa=e=>Xa(e)&&e.target?Wa(e.target)?e.target.checked:e.target.value:e,Ka=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),Ya="undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement&&"undefined"!==typeof document;function Za(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Ya&&(e instanceof Blob||e instanceof FileList)||!r&&!Xa(e))return e;if(t=r?[]:{},r||(e=>{const t=e.constructor&&e.constructor.prototype;return Xa(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=Za(e[r]));else t=e}return t}var eu=e=>Array.isArray(e)?e.filter(Boolean):[],tu=e=>void 0===e,ru=(e,t,r)=>{if(!t||!Xa(e))return r;const n=eu(t.split(/[,[\].]+?/)).reduce(((e,t)=>Ha(e)?e:e[t]),e);return tu(n)||n===e?tu(e[t])?r:e[t]:n};const nu="blur",iu="focusout",su="onBlur",ou="onChange",au="onSubmit",uu="onTouched",lu="all",cu="max",pu="min",hu="maxLength",du="minLength",fu="pattern",mu="required",yu="validate";i.createContext(null);var gu=(e,t,r,n=!0)=>{const i={defaultValues:t._defaultValues};for(const s in e)Object.defineProperty(i,s,{get:()=>{const i=s;return t._proxyFormState[i]!==lu&&(t._proxyFormState[i]=!n||lu),r&&(r[i]=!0),e[i]}});return i},vu=e=>Xa(e)&&!Object.keys(e).length,Du=(e,t,r,n)=>{r(e);const{name:i,...s}=e;return vu(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find((e=>t[e]===(!n||lu)))},bu=e=>Array.isArray(e)?e:[e];function Eu(e){const t=i.useRef(e);t.current=e,i.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}var xu=e=>"string"===typeof e,Cu=(e,t,r,n,i)=>xu(e)?(n&&t.watch.add(e),ru(r,e,i)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),ru(r,e)))):(n&&(t.watchAll=!0),r);var wu=e=>/^\w*$/.test(e),Au=e=>eu(e.replace(/["|']|\]/g,"").split(/\.|\[/));function Su(e,t,r){let n=-1;const i=wu(t)?[t]:Au(t),s=i.length,o=s-1;for(;++n<s;){const t=i[n];let s=r;if(n!==o){const r=e[t];s=Xa(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}e[t]=s,e=e[t]}return e}var Tu=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{};const Fu=(e,t,r)=>{for(const n of r||Object.keys(e)){const r=ru(e,n);if(r){const{_f:e,...n}=r;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else Xa(n)&&Fu(n,t)}}};var ku=e=>({isOnSubmit:!e||e===au,isOnBlur:e===su,isOnChange:e===ou,isOnAll:e===lu,isOnTouch:e===uu}),Pu=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))))),Nu=(e,t,r)=>{const n=eu(ru(e,r));return Su(n,"root",t[r]),Su(e,r,n),e},_u=e=>"boolean"===typeof e,Ou=e=>"file"===e.type,Iu=e=>"function"===typeof e,Bu=e=>{if(!Ya)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},ju=e=>xu(e),Lu=e=>"radio"===e.type,Mu=e=>e instanceof RegExp;const Ru={value:!1,isValid:!1},$u={value:!0,isValid:!0};var Vu=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!tu(e[0].attributes.value)?tu(e[0].value)||""===e[0].value?$u:{value:e[0].value,isValid:!0}:$u:Ru}return Ru};const Uu={isValid:!1,value:null};var qu=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),Uu):Uu;function zu(e,t,r="validate"){if(ju(e)||Array.isArray(e)&&e.every(ju)||_u(e)&&!e)return{type:r,message:ju(e)?e:"",ref:t}}var Wu=e=>Xa(e)&&!Mu(e)?e:{value:e,message:""},Gu=async(e,t,r,n,i)=>{const{ref:s,refs:o,required:a,maxLength:u,minLength:l,min:c,max:p,pattern:h,validate:d,name:f,valueAsNumber:m,mount:y,disabled:g}=e._f,v=ru(t,f);if(!y||g)return{};const D=o?o[0]:s,b=e=>{n&&D.reportValidity&&(D.setCustomValidity(_u(e)?"":e||""),D.reportValidity())},E={},x=Lu(s),C=Wa(s),w=x||C,A=(m||Ou(s))&&tu(s.value)&&tu(v)||Bu(s)&&""===s.value||""===v||Array.isArray(v)&&!v.length,S=Tu.bind(null,f,r,E),T=(e,t,r,n=hu,i=du)=>{const o=e?t:r;E[f]={type:e?n:i,message:o,ref:s,...S(e?n:i,o)}};if(i?!Array.isArray(v)||!v.length:a&&(!w&&(A||Ha(v))||_u(v)&&!v||C&&!Vu(o).isValid||x&&!qu(o).isValid)){const{value:e,message:t}=ju(a)?{value:!!a,message:a}:Wu(a);if(e&&(E[f]={type:mu,message:t,ref:D,...S(mu,t)},!r))return b(t),E}if(!A&&(!Ha(c)||!Ha(p))){let e,t;const n=Wu(p),i=Wu(c);if(Ha(v)||isNaN(v)){const r=s.valueAsDate||new Date(v),o=e=>new Date((new Date).toDateString()+" "+e),a="time"==s.type,u="week"==s.type;xu(n.value)&&v&&(e=a?o(v)>o(n.value):u?v>n.value:r>new Date(n.value)),xu(i.value)&&v&&(t=a?o(v)<o(i.value):u?v<i.value:r<new Date(i.value))}else{const r=s.valueAsNumber||(v?+v:v);Ha(n.value)||(e=r>n.value),Ha(i.value)||(t=r<i.value)}if((e||t)&&(T(!!e,n.message,i.message,cu,pu),!r))return b(E[f].message),E}if((u||l)&&!A&&(xu(v)||i&&Array.isArray(v))){const e=Wu(u),t=Wu(l),n=!Ha(e.value)&&v.length>+e.value,i=!Ha(t.value)&&v.length<+t.value;if((n||i)&&(T(n,e.message,t.message),!r))return b(E[f].message),E}if(h&&!A&&xu(v)){const{value:e,message:t}=Wu(h);if(Mu(e)&&!v.match(e)&&(E[f]={type:fu,message:t,ref:s,...S(fu,t)},!r))return b(t),E}if(d)if(Iu(d)){const e=zu(await d(v,t),D);if(e&&(E[f]={...e,...S(yu,e.message)},!r))return b(e.message),E}else if(Xa(d)){let e={};for(const n in d){if(!vu(e)&&!r)break;const i=zu(await d[n](v,t),D,n);i&&(e={...i,...S(n,i.message)},b(i.message),r&&(E[f]=e))}if(!vu(e)&&(E[f]={ref:D,...e},!r))return E}return b(!0),E};function Hu(e,t){const r=Array.isArray(t)?t:wu(t)?[t]:Au(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=tu(e)?n++:e[t[n++]];return e}(e,r),i=r.length-1,s=r[i];return n&&delete n[s],0!==i&&(Xa(n)&&vu(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!tu(e[t]))return!1;return!0}(n))&&Hu(e,r.slice(0,-1)),e}function Ju(){let e=[];return{get observers(){return e},next:t=>{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}}var Xu=e=>Ha(e)||!Ja(e);function Qu(e,t){if(Xu(e)||Xu(t))return e===t;if(Ga(e)&&Ga(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const r=e[i];if(!n.includes(i))return!1;if("ref"!==i){const e=t[i];if(Ga(r)&&Ga(e)||Xa(r)&&Xa(e)||Array.isArray(r)&&Array.isArray(e)?!Qu(r,e):r!==e)return!1}}return!0}var Ku=e=>"select-multiple"===e.type,Yu=e=>Bu(e)&&e.isConnected,Zu=e=>{for(const t in e)if(Iu(e[t]))return!0;return!1};function el(e,t={}){const r=Array.isArray(e);if(Xa(e)||r)for(const n in e)Array.isArray(e[n])||Xa(e[n])&&!Zu(e[n])?(t[n]=Array.isArray(e[n])?[]:{},el(e[n],t[n])):Ha(e[n])||(t[n]=!0);return t}function tl(e,t,r){const n=Array.isArray(e);if(Xa(e)||n)for(const i in e)Array.isArray(e[i])||Xa(e[i])&&!Zu(e[i])?tu(t)||Xu(r[i])?r[i]=Array.isArray(e[i])?el(e[i],[]):{...el(e[i])}:tl(e[i],Ha(t)?{}:t[i],r[i]):r[i]=!Qu(e[i],t[i]);return r}var rl=(e,t)=>tl(e,t,el(t)),nl=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>tu(e)?e:t?""===e?NaN:e?+e:e:r&&xu(e)?new Date(e):n?n(e):e;function il(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return Ou(t)?t.files:Lu(t)?qu(e.refs).value:Ku(t)?[...t.selectedOptions].map((({value:e})=>e)):Wa(t)?Vu(e.refs).value:nl(tu(t.value)?e.ref.value:t.value,e)}var sl=e=>tu(e)?e:Mu(e)?e.source:Xa(e)?Mu(e.value)?e.value.source:e.value:e;function ol(e,t,r){const n=ru(e,r);if(n||wu(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const n=i.join("."),s=ru(t,n),o=ru(e,n);if(s&&!Array.isArray(s)&&r!==n)return{name:r};if(o&&o.type)return{name:n,error:o};i.pop()}return{name:r}}const al={mode:au,reValidateMode:ou,shouldFocusError:!0};function ul(e={},t){let r,n={...al,...e},i={submitCount:0,isDirty:!1,isLoading:Iu(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},s={},o=(Xa(n.defaultValues)||Xa(n.values))&&Za(n.defaultValues||n.values)||{},a=n.shouldUnregister?{}:Za(o),u={action:!1,mount:!1,watch:!1},l={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c=0;const p={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={values:Ju(),array:Ju(),state:Ju()},d=e.resetOptions&&e.resetOptions.keepDirtyValues,f=ku(n.mode),m=ku(n.reValidateMode),y=n.criteriaMode===lu,g=async e=>{if(p.isValid||e){const e=n.resolver?vu((await x()).errors):await C(s,!0);e!==i.isValid&&h.state.next({isValid:e})}},v=e=>p.isValidating&&h.state.next({isValidating:e}),D=(e,t,r,n)=>{const i=ru(s,e);if(i){const s=ru(a,e,tu(r)?ru(o,e):r);tu(s)||n&&n.defaultChecked||t?Su(a,e,t?s:il(i._f)):S(e,s),u.mount&&g()}},b=(e,t,r,n,s)=>{let a=!1,u=!1;const l={name:e};if(!r||n){p.isDirty&&(u=i.isDirty,i.isDirty=l.isDirty=w(),a=u!==l.isDirty);const r=Qu(ru(o,e),t);u=ru(i.dirtyFields,e),r?Hu(i.dirtyFields,e):Su(i.dirtyFields,e,!0),l.dirtyFields=i.dirtyFields,a=a||p.dirtyFields&&u!==!r}if(r){const t=ru(i.touchedFields,e);t||(Su(i.touchedFields,e,r),l.touchedFields=i.touchedFields,a=a||p.touchedFields&&t!==r)}return a&&s&&h.state.next(l),a?l:{}},E=(t,n,s,o)=>{const a=ru(i.errors,t),u=p.isValid&&_u(n)&&i.isValid!==n;var l;if(e.delayError&&s?(l=()=>((e,t)=>{Su(i.errors,e,t),h.state.next({errors:i.errors})})(t,s),r=e=>{clearTimeout(c),c=setTimeout(l,e)},r(e.delayError)):(clearTimeout(c),r=null,s?Su(i.errors,t,s):Hu(i.errors,t)),(s?!Qu(a,s):a)||!vu(o)||u){const e={...o,...u&&_u(n)?{isValid:n}:{},errors:i.errors,name:t};i={...i,...e},h.state.next(e)}v(!1)},x=async e=>n.resolver(a,n.context,((e,t,r,n)=>{const i={};for(const s of e){const e=ru(t,s);e&&Su(i,s,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}})(e||l.mount,s,n.criteriaMode,n.shouldUseNativeValidation)),C=async(e,t,r={valid:!0})=>{for(const s in e){const o=e[s];if(o){const{_f:e,...s}=o;if(e){const s=l.array.has(e.name),u=await Gu(o,a,y,n.shouldUseNativeValidation&&!t,s);if(u[e.name]&&(r.valid=!1,t))break;!t&&(ru(u,e.name)?s?Nu(i.errors,u,e.name):Su(i.errors,e.name,u[e.name]):Hu(i.errors,e.name))}s&&await C(s,t,r)}}return r.valid},w=(e,t)=>(e&&t&&Su(a,e,t),!Qu(N(),o)),A=(e,t,r)=>Cu(e,l,{...u.mount?a:tu(t)?o:xu(e)?{[e]:t}:t},r,t),S=(e,t,r={})=>{const n=ru(s,e);let i=t;if(n){const r=n._f;r&&(!r.disabled&&Su(a,e,nl(t,r)),i=Bu(r.ref)&&Ha(t)?"":t,Ku(r.ref)?[...r.ref.options].forEach((e=>e.selected=i.includes(e.value))):r.refs?Wa(r.ref)?r.refs.length>1?r.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find((t=>t===e.value)):i===e.value))):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach((e=>e.checked=e.value===i)):Ou(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||h.values.next({name:e,values:{...a}})))}(r.shouldDirty||r.shouldTouch)&&b(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&P(e)},T=(e,t,r)=>{for(const n in t){const i=t[n],o=`${e}.${n}`,a=ru(s,o);!l.array.has(e)&&Xu(i)&&(!a||a._f)||Ga(i)?S(o,i,r):T(o,i,r)}},F=(e,r,n={})=>{const c=ru(s,e),d=l.array.has(e),f=Za(r);Su(a,e,f),d?(h.array.next({name:e,values:{...a}}),(p.isDirty||p.dirtyFields)&&n.shouldDirty&&h.state.next({name:e,dirtyFields:rl(o,a),isDirty:w(e,f)})):!c||c._f||Ha(f)?S(e,f,n):T(e,f,n),Pu(e,l)&&h.state.next({...i}),h.values.next({name:e,values:{...a}}),!u.mount&&t()},k=async e=>{const t=e.target;let o=t.name,u=!0;const c=ru(s,o);if(c){let D,w;const A=t.type?il(c._f):Qa(e),S=e.type===nu||e.type===iu,T=!((d=c._f).mount&&(d.required||d.min||d.max||d.maxLength||d.minLength||d.pattern||d.validate))&&!n.resolver&&!ru(i.errors,o)&&!c._f.deps||((e,t,r,n,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:!(r?n.isOnChange:i.isOnChange)||e))(S,ru(i.touchedFields,o),i.isSubmitted,m,f),F=Pu(o,l,S);Su(a,o,A),S?(c._f.onBlur&&c._f.onBlur(e),r&&r(0)):c._f.onChange&&c._f.onChange(e);const k=b(o,A,S,!1),N=!vu(k)||F;if(!S&&h.values.next({name:o,type:e.type,values:{...a}}),T)return p.isValid&&g(),N&&h.state.next({name:o,...F?{}:k});if(!S&&F&&h.state.next({...i}),v(!0),n.resolver){const{errors:e}=await x([o]),t=ol(i.errors,s,o),r=ol(e,s,t.name||o);D=r.error,o=r.name,w=vu(e)}else D=(await Gu(c,a,y,n.shouldUseNativeValidation))[o],u=isNaN(A)||A===ru(a,o,A),u&&(D?w=!1:p.isValid&&(w=await C(s,!0)));u&&(c._f.deps&&P(c._f.deps),E(o,w,D,k))}var d},P=async(e,t={})=>{let r,o;const a=bu(e);if(v(!0),n.resolver){const t=await(async e=>{const{errors:t}=await x();if(e)for(const r of e){const e=ru(t,r);e?Su(i.errors,r,e):Hu(i.errors,r)}else i.errors=t;return t})(tu(e)?e:a);r=vu(t),o=e?!a.some((e=>ru(t,e))):r}else e?(o=(await Promise.all(a.map((async e=>{const t=ru(s,e);return await C(t&&t._f?{[e]:t}:t)})))).every(Boolean),(o||i.isValid)&&g()):o=r=await C(s);return h.state.next({...!xu(e)||p.isValid&&r!==i.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:i.errors,isValidating:!1}),t.shouldFocus&&!o&&Fu(s,(e=>e&&ru(i.errors,e)),e?a:l.mount),o},N=e=>{const t={...o,...u.mount?a:{}};return tu(e)?t:xu(e)?ru(t,e):e.map((e=>ru(t,e)))},_=(e,t)=>({invalid:!!ru((t||i).errors,e),isDirty:!!ru((t||i).dirtyFields,e),isTouched:!!ru((t||i).touchedFields,e),error:ru((t||i).errors,e)}),O=(e,t,r)=>{const n=(ru(s,e,{_f:{}})._f||{}).ref;Su(i.errors,e,{...t,ref:n}),h.state.next({name:e,errors:i.errors,isValid:!1}),r&&r.shouldFocus&&n&&n.focus&&n.focus()},I=(e,t={})=>{for(const r of e?bu(e):l.mount)l.mount.delete(r),l.array.delete(r),t.keepValue||(Hu(s,r),Hu(a,r)),!t.keepError&&Hu(i.errors,r),!t.keepDirty&&Hu(i.dirtyFields,r),!t.keepTouched&&Hu(i.touchedFields,r),!n.shouldUnregister&&!t.keepDefaultValue&&Hu(o,r);h.values.next({values:{...a}}),h.state.next({...i,...t.keepDirty?{isDirty:w()}:{}}),!t.keepIsValid&&g()},B=(e,t={})=>{let r=ru(s,e);const i=_u(t.disabled);return Su(s,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),tu(t.value)||Su(a,e,t.value),r?i&&Su(a,e,t.disabled?void 0:ru(a,e,il(r._f))):D(e,!0,t.value),{...i?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:sl(t.min),max:sl(t.max),minLength:sl(t.minLength),maxLength:sl(t.maxLength),pattern:sl(t.pattern)}:{},name:e,onChange:k,onBlur:k,ref:i=>{if(i){B(e,t),r=ru(s,e);const n=tu(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,a=(e=>Lu(e)||Wa(e))(n),u=r._f.refs||[];if(a?u.find((e=>e===n)):n===r._f.ref)return;Su(s,e,{_f:{...r._f,...a?{refs:[...u.filter(Yu),n,...Array.isArray(ru(o,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),D(e,!1,void 0,n)}else r=ru(s,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!Ka(l.array,e)||!u.action)&&l.unMount.add(e)}}},j=()=>n.shouldFocusError&&Fu(s,(e=>e&&ru(i.errors,e)),l.mount),L=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let o=Za(a);if(h.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await x();i.errors=e,o=t}else await C(s);Hu(i.errors,"root"),vu(i.errors)?(h.state.next({errors:{}}),await e(o,r)):(t&&await t({...i.errors},r),j(),setTimeout(j)),h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:vu(i.errors),submitCount:i.submitCount+1,errors:i.errors})},M=(r,n={})=>{const c=r||o,f=Za(c),m=r&&!vu(r)?f:o;if(n.keepDefaultValues||(o=c),!n.keepValues){if(n.keepDirtyValues||d)for(const e of l.mount)ru(i.dirtyFields,e)?Su(m,e,ru(a,e)):F(e,ru(m,e));else{if(Ya&&tu(r))for(const e of l.mount){const t=ru(s,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Bu(e)){const t=e.closest("form");if(t){t.reset();break}}}}s={}}a=e.shouldUnregister?n.keepDefaultValues?Za(o):{}:Za(m),h.array.next({values:{...m}}),h.values.next({values:{...m}})}l={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!u.mount&&t(),u.mount=!p.isValid||!!n.keepIsValid,u.watch=!!e.shouldUnregister,h.state.next({submitCount:n.keepSubmitCount?i.submitCount:0,isDirty:n.keepDirty?i.isDirty:!(!n.keepDefaultValues||Qu(r,o)),isSubmitted:!!n.keepIsSubmitted&&i.isSubmitted,dirtyFields:n.keepDirtyValues?i.dirtyFields:n.keepDefaultValues&&r?rl(o,r):{},touchedFields:n.keepTouched?i.touchedFields:{},errors:n.keepErrors?i.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},R=(e,t)=>M(Iu(e)?e(a):e,t);return{control:{register:B,unregister:I,getFieldState:_,handleSubmit:L,setError:O,_executeSchema:x,_getWatch:A,_getDirty:w,_updateValid:g,_removeUnmounted:()=>{for(const e of l.unMount){const t=ru(s,e);t&&(t._f.refs?t._f.refs.every((e=>!Yu(e))):!Yu(t._f.ref))&&I(e)}l.unMount=new Set},_updateFieldArray:(e,t=[],r,n,l=!0,c=!0)=>{if(n&&r){if(u.action=!0,c&&Array.isArray(ru(s,e))){const t=r(ru(s,e),n.argA,n.argB);l&&Su(s,e,t)}if(c&&Array.isArray(ru(i.errors,e))){const t=r(ru(i.errors,e),n.argA,n.argB);l&&Su(i.errors,e,t),((e,t)=>{!eu(ru(e,t)).length&&Hu(e,t)})(i.errors,e)}if(p.touchedFields&&c&&Array.isArray(ru(i.touchedFields,e))){const t=r(ru(i.touchedFields,e),n.argA,n.argB);l&&Su(i.touchedFields,e,t)}p.dirtyFields&&(i.dirtyFields=rl(o,a)),h.state.next({name:e,isDirty:w(e,t),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else Su(a,e,t)},_getFieldArray:t=>eu(ru(u.mount?a:o,t,e.shouldUnregister?ru(o,t,[]):[])),_reset:M,_resetDefaultValues:()=>Iu(n.defaultValues)&&n.defaultValues().then((e=>{R(e,n.resetOptions),h.state.next({isLoading:!1})})),_updateFormState:e=>{i={...i,...e}},_subjects:h,_proxyFormState:p,get _fields(){return s},get _formValues(){return a},get _state(){return u},set _state(e){u=e},get _defaultValues(){return o},get _names(){return l},set _names(e){l=e},get _formState(){return i},set _formState(e){i=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:P,register:B,handleSubmit:L,watch:(e,t)=>Iu(e)?h.values.subscribe({next:r=>e(A(void 0,t),r)}):A(e,t,!0),setValue:F,getValues:N,reset:R,resetField:(e,t={})=>{ru(s,e)&&(tu(t.defaultValue)?F(e,ru(o,e)):(F(e,t.defaultValue),Su(o,e,t.defaultValue)),t.keepTouched||Hu(i.touchedFields,e),t.keepDirty||(Hu(i.dirtyFields,e),i.isDirty=t.defaultValue?w(e,ru(o,e)):w()),t.keepError||(Hu(i.errors,e),p.isValid&&g()),h.state.next({...i}))},clearErrors:e=>{e&&bu(e).forEach((e=>Hu(i.errors,e))),h.state.next({errors:e?i.errors:{}})},unregister:I,setError:O,setFocus:(e,t={})=>{const r=ru(s,e),n=r&&r._f;if(n){const e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:_}}var ll=()=>{var e,t;const r=(0,Oa.T)(),{options:s}=(0,Oa.C)(re.UT),{theme:o}=(0,Oa.C)(se.FS),{register:a,handleSubmit:u}=function(e={}){const t=i.useRef(),r=i.useRef(),[n,s]=i.useState({isDirty:!1,isValidating:!1,isLoading:Iu(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:Iu(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...ul(e,(()=>s((e=>({...e}))))),formState:n});const o=t.current.control;return o._options=e,Eu({subject:o._subjects.state,next:e=>{Du(e,o._proxyFormState,o._updateFormState,!0)&&s({...o._formState})}}),i.useEffect((()=>{e.values&&!Qu(e.values,r.current)?(o._reset(e.values,o._options.resetOptions),r.current=e.values):o._resetDefaultValues()}),[e.values,o]),i.useEffect((()=>{o._state.mount||(o._updateValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()})),t.current.formState=gu(n,o),t.current}();return(0,n.jsxs)(_a.div,{className:"sm:mt-10 mx-auto h-full sm:h-auto sm:w-8/12 lg:w-6/12 sm:rounded-xl overflow-hidden glassmorphism",variants:Ma,initial:"initial",animate:"animate",exit:"exit",transition:{ease:"easeOut",duration:.3},onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("div",{style:{backgroundColor:o.foreground},className:"border-b border-black h-10 flex items-center px-7",children:(0,n.jsx)("h1",{className:"text-xl",children:" Settings"})}),(0,n.jsx)("div",{className:"overflow-auto h-full",children:(0,n.jsx)("div",{className:"pt-6 px-7 ",children:(0,n.jsxs)("form",{className:" mb-12 overflow-auto",onSubmit:u((e=>{let{fontSize:t,fontWeight:n,minimapEnabled:i,minimapScale:s,wordWrap:o,autoClosingBrackets:a}=e;const u={fontSize:parseInt(t),fontWeight:n,minimap:{enabled:i,scale:parseInt(s)},wordWrap:o,autoClosingBrackets:{autoClosingBrackets:a},showUnused:!0,automaticLayout:!0,tabSize:2,renderLineHighlight:"none",scrollbar:{verticalScrollbarSize:10,verticalSliderSize:10}};r((0,re.yi)(u))})),children:[(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Font size : "}),(0,n.jsx)("div",{className:"description",children:"Set the font size in pixels."}),(0,n.jsxs)("select",{...a("fontSize"),id:"fontSize",className:"editor-select",defaultValue:s.fontSize,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:9,children:"9"}),(0,n.jsx)("option",{value:10,children:"10"}),(0,n.jsx)("option",{value:11,children:"11"}),(0,n.jsx)("option",{value:12,children:"12"}),(0,n.jsx)("option",{value:13,children:"13"}),(0,n.jsx)("option",{value:14,children:"14"}),(0,n.jsx)("option",{value:15,children:"15"}),(0,n.jsx)("option",{value:16,children:"16"}),(0,n.jsx)("option",{value:17,children:"17"})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Font weight : "}),(0,n.jsx)("div",{className:"description",children:"Defines how bold you text are."}),(0,n.jsxs)("select",{...a("fontWeight"),id:"fontWeight",className:"editor-select",defaultValue:s.fontWeight,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:"500",children:"Regular"}),(0,n.jsx)("option",{value:"600",children:"Bold"})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Enabled minimap : "}),(0,n.jsx)("div",{className:"description",children:"Control if the minimap should be shown."}),(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("input",{...a("minimapEnabled"),id:"minimap-enabled",className:"editor-select mr-2",type:"checkbox",defaultChecked:null===(e=s.minimap)||void 0===e?void 0:e.enabled,style:{backgroundColor:o.foreground}}),(0,n.jsx)("label",{children:"On "})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Scale : "}),(0,n.jsx)("div",{className:"description",children:"Set the size of the minimap."}),(0,n.jsxs)("select",{...a("minimapScale"),id:"minimap-scale",className:"editor-select",defaultValue:null===(t=s.minimap)||void 0===t?void 0:t.scale,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:1,children:"1"}),(0,n.jsx)("option",{value:2,children:"2"}),(0,n.jsx)("option",{value:3,children:"3"})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Word wrap : "}),(0,n.jsx)("div",{className:"description",children:"Control if lines should wrap."}),(0,n.jsxs)("select",{...a("wordWrap"),id:"wordWrap",className:"editor-select",defaultValue:s.wordWrap,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:"on",children:"On"}),(0,n.jsx)("option",{value:"off",children:"Off"})]})]}),(0,n.jsxs)("div",{className:"editor-sub-settings",children:[(0,n.jsx)("div",{className:"title",children:"Auto Closing Brackets : "}),(0,n.jsx)("div",{className:"description",children:"Controls if brackets should close automatically"}),(0,n.jsxs)("select",{...a("autoClosingBrackets"),id:"autoClosingBrackets",className:"editor-select",defaultValue:s.autoClosingBrackets,style:{backgroundColor:o.foreground},children:[(0,n.jsx)("option",{value:"always",children:"always"}),(0,n.jsx)("option",{value:"languageDefined",children:"languageDefined"}),(0,n.jsx)("option",{value:"beforeWhitespace",children:"beforeWhitespace"}),(0,n.jsx)("option",{value:"never",children:"never"})]})]}),(0,n.jsx)("button",{className:"editor-button h-9 mt-6",type:"submit",children:"Save settings"})]})})})]})};const cl=()=>{const{type:e,visible:t}=(0,Oa.C)(ie.d9),r=(0,Oa.T)();return(0,n.jsx)(Re,{exitBeforeEnter:!0,onExitComplete:()=>null,children:t&&(0,n.jsx)(_a.div,{className:"backdrop",onClick:()=>r((0,ie.Li)()),children:(e=>{switch(e){case ie.oV.AUTH:return(0,n.jsx)($a,{});case ie.oV.TEMPLATE:return(0,n.jsx)(za,{});case ie.oV.SETTINGS:return(0,n.jsx)(ll,{});case ie.oV.IDLE:return(0,n.jsx)("div",{})}})(e)})})};function pl(e){let{Component:t,pageProps:r,router:o,initialUser:a}=e;return l().events.on("routeChangeStart",(()=>p().start())),l().events.on("routeChangeComplete",(()=>p().done())),l().events.on("routeChangeError",(()=>p().done())),(0,i.useEffect)((()=>{window.withOauth=function(e,t){oe.dispatch(function(e,t){return async r=>{r(X());try{const n=await W().post("/api/oauth/".concat(t),e);return n.data.status?void r(Q(n.data)):(r(K(n.data.message)),n.data)}catch(n){r(K(n.message))}}}(e,t))}}),[]),(0,i.useEffect)((()=>{oe.dispatch(J(a))}),[a]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(f,{client:new g.f({defaultOptions:{query:{errorPolicy:"all"},mutate:{errorPolicy:"all"}},link:U(u),cache:new v.h({typePolicies:{Query:{fields:{projects:M()}}}})}),children:(0,n.jsxs)(s.zt,{store:oe,children:[(0,n.jsx)(t,{...r}),(0,n.jsx)(cl,{})]})})});var u}var hl=pl;pl.getInitialProps=async e=>await a().getInitialProps(e)},666:function(e,t,r){"use strict";r.d(t,{eX:function(){return g},ZP:function(){return v},gm:function(){return b},kC:function(){return D}});var n=r(6319),i=r(4981),s=r(9669),o=r.n(s),a=r(9483);const u=r.n(a)().createInstance({name:"fileCache"}),l=(e,t)=>({name:"unpkg-fetch-plugin",setup(r){"index.ts"===t?r.onLoad({filter:/(^index\.ts$)/},(()=>({loader:"tsx",contents:e}))):r.onLoad({filter:/(^index\.js$)/},(()=>({loader:"jsx",contents:e}))),r.onLoad({filter:/.*/},(async e=>{const t=await u.getItem(e.path);if(t)return t})),r.onLoad({filter:/.css$/},(async e=>{const{data:t,request:r}=await o().get(e.path),n=t.replace(/\n/g,"").replace(/"/g,'\\"').replace(/'/g,"\\'"),i={loader:"jsx",contents:'const style = document.createElement("style");\n style.innerText = \''.concat(n,"';\n document.head.appendChild(style);"),resolveDir:new URL("./",r.responseURL).pathname};return await u.setItem(e.path,i),i})),r.onLoad({filter:/.*/},(async e=>{console.log("...fetching ".concat(e.path));const{data:t,request:r}=await o().get(e.path),n={loader:"jsx",contents:t,resolveDir:new URL("./",r.responseURL).pathname};return await u.setItem(e.path,n),console.log("end of fetching"),n}))}}),c=(0,n.oM)({name:"compiler",initialState:{isInitializing:!1,esbuildStatus:{isReady:!1,error:""},isCompiling:!1,output:{code:"",error:""}},reducers:{init_esbuild:e=>{e.isInitializing=!0},init_esbuild_success:e=>{e.esbuildStatus.isReady=!0,e.esbuildStatus.error="",e.isInitializing=!1},init_esbuild_failure:(e,t)=>{let{payload:r}=t;e.esbuildStatus.isReady=!1,e.esbuildStatus.error=r,e.isInitializing=!1},compiled:e=>{e.isCompiling=!0},compiled_success:(e,t)=>{let{payload:r}=t;e.output.code=r,e.output.error="",e.isCompiling=!1},compiled_failure:(e,t)=>{let{payload:r}=t;e.output.code="",e.output.error=r,e.isCompiling=!1}}}),{compiled:p,compiled_success:h,compiled_failure:d,init_esbuild:f,init_esbuild_success:m,init_esbuild_failure:y}=c.actions,g=e=>e.compiler;var v=c.reducer;function D(){return async e=>{e(f()),await i.initialize({worker:!0,wasmURL:"https://unpkg.com/esbuild-wasm@0.14.42/esbuild.wasm"}).then((()=>{e(m())})).catch((t=>e(y(t.message))))}}function b(e,t){return async r=>{r(p());try{const n=await i.build({entryPoints:["".concat(t)],bundle:!0,write:!1,minify:!0,outdir:"/",plugins:[{name:"unpkg-path-plugin",setup(e){e.onResolve({filter:/.*/},(e=>{if("entry-point"===e.kind)return{path:e.path,namespace:"a"}})),e.onResolve({filter:/^\.+\//},(e=>({namespace:"a",path:new URL(e.path,"https://unpkg.com".concat(e.resolveDir,"/")).href}))),e.onResolve({filter:/.*/},(async e=>({namespace:"a",path:"https://unpkg.com/".concat(e.path)})))}},l(e,t)],metafile:!0,allowOverwrite:!0});r(h(n.outputFiles[0].text))}catch(n){r(d(n.message))}}}},6594:function(e,t,r){"use strict";r.d(t,{CH:function(){return a},M2:function(){return l},N4:function(){return u},U$:function(){return h},UT:function(){return f},Vi:function(){return p},sU:function(){return c},yi:function(){return d}});var n=r(6319),i=r(5019);const s={editorValue:i.s._empty,monacoInputValue:i.s._empty,logs:[],isLogTabOpen:!1,options:i.b},o=(0,n.oM)({name:"editor",initialState:s,reducers:{set_editor_value:(e,t)=>{let{payload:r}=t;e.editorValue=r},update_editor_code:(e,t)=>{let{payload:r}=t;e.editorValue.tabs[r.type].data=r.content},update_logs:(e,t)=>{let{payload:r}=t;e.logs=[...e.logs,r]},clear_logs:e=>{e.logs=[]},toggle_logs_tab:e=>{e.isLogTabOpen=!e.isLogTabOpen},set_monaco_input_value:(e,t)=>{let{payload:r}=t;e.monacoInputValue=r},set_options:(e,t)=>{let{payload:r}=t;e.options=r}}}),{update_editor_code:a,update_logs:u,clear_logs:l,toggle_logs_tab:c,set_monaco_input_value:p,set_editor_value:h,set_options:d}=o.actions,f=e=>e.editor;t.ZP=o.reducer},9058:function(e,t,r){"use strict";r.d(t,{Ib:function(){return a},Li:function(){return u},d9:function(){return l},oV:function(){return n}});var n,i=r(6319);!function(e){e.IDLE="IDLE",e.AUTH="AUTH",e.TEMPLATE="TEMPLATE",e.SETTINGS="SETTINGS"}(n||(n={}));const s={type:n.IDLE,visible:!1},o=(0,i.oM)({name:"modal",initialState:s,reducers:{open_modal:(e,t)=>{e.type=t.payload,e.visible=!0},close_modal:e=>{e.type=n.IDLE,e.visible=!1}}}),{open_modal:a,close_modal:u}=o.actions,l=e=>e.modal;t.ZP=o.reducer},5642:function(e,t,r){"use strict";r.d(t,{FS:function(){return s}});const n=(0,r(6319).oM)({name:"theme",initialState:{theme:{text:"#ffffff",background:"#171E25",foreground:"#1B252D",border:"#263440"}},reducers:{set_Theme:e=>{}}}),{set_Theme:i}=n.actions,s=e=>e.theme;t.ZP=n.reducer},3774:function(e,t,r){"use strict";r.d(t,{C:function(){return s},T:function(){return i}});var n=r(5617);const i=()=>(0,n.I0)(),s=n.v9},3459:function(){},57:function(){},2914:function(){},97:function(){},3258:function(){},7439:function(){},1577:function(){},7380:function(){},5174:function(e){!function(){var t={229:function(e){var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,u=[],l=!1,c=-1;function p(){l&&a&&(l=!1,a.length?u=a.concat(u):c=-1,u.length&&h())}function h(){if(!l){var e=o(p);l=!0;for(var t=u.length;t;){for(a=u,u=[];++c<t;)a&&a[c].run();c=-1,t=u.length}a=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function f(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new d(e,t)),1!==u.length||l||o(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var s=r[e]={exports:{}},o=!0;try{t[e](s,s.exports,n),o=!1}finally{o&&delete r[e]}return s.exports}n.ab="//";var i=n(229);e.exports=i}()},8220:function(e,t,r){e.exports=r(9231)},1294:function(e,t,r){"use strict";r.d(t,{R:function(){return o}});var n=r(7582),i=r(1952),s=r(3361),o=function(){function e(){this.getFragmentDoc=(0,i.re)(s.Yk)}return e.prototype.batch=function(e){var t,r=this,n="string"===typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(r)}),n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n._T)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,s=e.fragmentName,o=(0,n._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(i,s),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),s=t(i);return void 0===s||null===s?i:(r.writeQuery((0,n.pi)((0,n.pi)({},e),{data:s})),s)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),s=t(i);return void 0===s||null===s?i:(r.writeFragment((0,n.pi)((0,n.pi)({},e),{data:s})),s)}})},e}()},5727:function(e,t,r){"use strict";r.d(t,{y:function(){return n}});var n=function(e,t,r,n){this.message=e,this.path=t,this.query=r,this.variables=n}},9641:function(e,t,r){"use strict";r.d(t,{$O:function(){return f},E_:function(){return m},RC:function(){return y},RI:function(){return u},ig:function(){return v},j:function(){return g},jS:function(){return p},jp:function(){return d},kJ:function(){return D},lg:function(){return h},uG:function(){return l}});var n=r(3712),i=r(1761),s=r(3154),o=r(9065),a=r(182),u=Object.prototype.hasOwnProperty;function l(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"===typeof r&&(t&&(t.keyObject=void 0!==n?{id:n}:void 0!==i?{_id:i}:void 0),void 0===n&&(n=i),void 0!==n))return"".concat(r,":").concat("number"===typeof n||"string"===typeof n?n:JSON.stringify(n))}var c={dataIdFromObject:l,addTypename:!0,resultCaching:!0,canonizeResults:!1};function p(e){return(0,n.o)(c,e)}function h(e){var t=e.canonizeResults;return void 0===t?c.canonizeResults:t}function d(e,t){return(0,i.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var f=/^[_a-z][_0-9a-z]*/i;function m(e){var t=e.match(f);return t?t[0]:e}function y(e,t,r){return!!(0,s.s)(t)&&(D(t)?t.every((function(t){return y(e,t,r)})):e.selections.every((function(e){if((0,i.My)(e)&&(0,o.LZ)(e,r)){var n=(0,i.u2)(e);return u.call(t,n)&&(!e.selectionSet||y(e.selectionSet,t[n],r))}return!0})))}function g(e){return(0,s.s)(e)&&!(0,i.Yk)(e)&&!D(e)}function v(){return new a.w0}var D=function(e){return Array.isArray(e)}},5526:function(e,t,r){"use strict";r.d(t,{h:function(){return de}});var n=r(7582),i=r(8964),s=r(1952),o=r(20),a=r(1294),u=r(5727),l=r(1761),c=r(6982),p=r(320),h=r(3712),d=r(6765),f=r(3361),m=r(182),y=r(9065),g=r(3154);function v(e){var t=new Set([e]);return t.forEach((function(e){(0,g.s)(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(r){(0,g.s)(e[r])&&t.add(e[r])}))})),e}function D(e){return __DEV__&&v(e),e}var b=r(657),E=r(9641),x=Object.create(null),C=function(){return x},w=Object.create(null),A=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return D((0,l.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,l.Yk)(e)?r.has(e.__ref):"object"===typeof e},this.toReference=function(e,t){if("string"===typeof e)return(0,l.kQ)(e);if((0,l.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,l.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),E.RI.call(this.data,e)){var r=this.data[e];if(r&&E.RI.call(r,t))return r[t]}return"__typename"===t&&E.RI.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof k?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),E.RI.call(this.data,e)?this.data[e]:this instanceof k?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,l.Yk)(e)&&(e=e.__ref),(0,l.Yk)(t)&&(t=t.__ref);var s="string"===typeof e?this.lookup(r=e):e,o="string"===typeof t?this.lookup(r=t):t;if(o){__DEV__?(0,i.kG)("string"===typeof r,"store.merge expects a string ID"):(0,i.kG)("string"===typeof r,1);var a=new m.w0(N).merge(s,o);if(this.data[r]=a,a!==s&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);s||(u.__exists=1),Object.keys(o).forEach((function(e){if(!s||s[e]!==a[e]){u[e]=1;var t=(0,E.E_)(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(u[t]=1),void 0!==a[e]||n instanceof k||delete a[e]}})),!u.__typename||s&&s.__typename||this.policies.rootTypenamesById[r]!==a.__typename||delete u.__typename,Object.keys(u).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,i=this.lookup(e);if(i){var s=Object.create(null),o=!1,a=!0,u={DELETE:x,INVALIDATE:w,isReference:l.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"===typeof t?{fieldName:t,from:n||(0,l.kQ)(e)}:t,{store:r})}};if(Object.keys(i).forEach((function(l){var c=(0,E.E_)(l),p=i[l];if(void 0!==p){var h="function"===typeof t?t:t[l]||t[c];if(h){var d=h===C?x:h(D(p),(0,n.pi)((0,n.pi)({},u),{fieldName:c,storeFieldName:l,storage:r.getStorage(e,l)}));d===w?r.group.dirty(e,l):(d===x&&(d=void 0),d!==p&&(s[l]=d,o=!0,p=d))}void 0!==p&&(a=!1)}})),o)return this.merge(e,s),a&&(this instanceof k?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var s=this.getFieldValue(i,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:s,fieldName:t,args:r}):t;return this.modify(e,o?((n={})[o]=C,n):C)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(E.RI.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof k&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach((function(t){E.RI.call(e.policies.rootTypenamesById,t)||r.push(t)})),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(r){e&&E.RI.call(e,r)||t.delete(r)})),e){var r=e.__META,i=(0,n._T)(e,["__META"]);Object.keys(i).forEach((function(e){t.merge(e,i[e])})),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof k?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach((function(n){E.RI.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof k;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!E.RI.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach((function(e){(0,l.Yk)(e)&&(t[e.__ref]=!0),(0,g.s)(e)&&Object.keys(e).forEach((function(t){var r=e[t];(0,g.s)(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),S=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,s.dP)():null,this.keyMaker=new b.B(p.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(T(e,t));var r=(0,E.E_)(t);r!==t&&this.d(T(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(T(e,t),"__exists"===t?"forget":"setDirty")},e}();function T(e,t){return t+"#"+e}function F(e,t){_(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,s=t.seed,o=e.call(this,r,new S(i))||this;return o.stump=new P(o),o.storageTrie=new b.B(p.mr),s&&o.replace(s),o}return(0,n.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(A||(A={}));var k=function(e){function t(t,r,n,i){var s=e.call(this,r.policies,i)||this;return s.id=t,s.parent=r,s.replay=n,s.group=i,n(s),s}return(0,n.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach((function(r){(0,o.D)(n[r],i[r])||t.group.dirty(e,r)})):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(r){t.group.dirty(e,r)}))):t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.pi)((0,n.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return E.RI.call(this.data,t)?(0,n.pi)((0,n.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(A),P=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new S(t.group.caching,t.group))||this}return(0,n.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(k);function N(e,t,r){var n=e[r],i=t[r];return(0,o.D)(n,i)?n:i}function _(e){return!!(e instanceof A&&e.group.caching)}var O=r(900);function I(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var B=function(){function e(e){var t=this;this.knownResults=new(p.mr?WeakMap:Map),this.config=(0,h.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,E.lg)(e)}),this.canon=e.canon||new O.h,this.executeSelectionSet=(0,s.re)((function(e){var r,i=e.context.canonizeResults,s=I(e);s[3]=!i;var o=(r=t.executeSelectionSet).peek.apply(r,s);return o?i?(0,n.pi)((0,n.pi)({},o),{result:t.canon.admit(o.result)}):o:(F(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:I,makeCacheKey:function(e,t,r,n){if(_(r.store))return r.store.makeCacheKey(e,(0,l.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,s.re)((function(e){return F(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(_(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new O.h},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,i=e.rootId,s=void 0===i?"ROOT_QUERY":i,o=e.variables,a=e.returnPartialData,c=void 0===a||a,p=e.canonizeResults,h=void 0===p?this.config.canonizeResults:p,m=this.config.cache.policies;o=(0,n.pi)((0,n.pi)({},(0,d.O4)((0,d.iW)(r))),o);var y,g=(0,l.kQ)(s),v=this.executeSelectionSet({selectionSet:(0,d.p$)(r).selectionSet,objectOrReference:g,enclosingRef:g,context:{store:t,query:r,policies:m,variables:o,varString:(0,O.B)(o),canonizeResults:h,fragmentMap:(0,f.F)((0,d.kU)(r))}});if(v.missing&&(y=[new u.y(j(v.missing),v.missing,r,o)],!c))throw y[0];return{result:v.result,complete:!y,missing:y}},e.prototype.isFresh=function(e,t,r,n){if(_(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,i=e.enclosingRef,s=e.context;if((0,l.Yk)(n)&&!s.policies.rootTypenamesById[n.__ref]&&!s.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var o,a=s.variables,u=s.policies,p=s.store.getFieldValue(n,"__typename"),h=[],d=new m.w0;function g(e,t){var r;return e.missing&&(o=d.merge(o,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"===typeof p&&!u.rootIdsByTypename[p]&&h.push({__typename:p});var v=new Set(r.selections);v.forEach((function(e){var r,m;if((0,y.LZ)(e,a))if((0,l.My)(e)){var D=u.readField({fieldName:e.name.value,field:e,variables:s.variables,from:n},s),b=(0,l.u2)(e);void 0===D?c.Gw.added(e)||(o=d.merge(o,((r={})[b]="Can't find field '".concat(e.name.value,"' on ").concat((0,l.Yk)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,E.kJ)(D)?D=g(t.executeSubSelectedArray({field:e,array:D,enclosingRef:i,context:s}),b):e.selectionSet?null!=D&&(D=g(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:D,enclosingRef:(0,l.Yk)(D)?D:i,context:s}),b)):s.canonizeResults&&(D=t.canon.pass(D)),void 0!==D&&h.push(((m={})[b]=D,m))}else{var x=(0,f.hi)(e,s.fragmentMap);x&&u.fragmentMatches(x,p)&&x.selectionSet.selections.forEach(v.add,v)}}));var b={result:(0,m.bw)(h),missing:o},x=s.canonizeResults?this.canon.admit(b):D(b);return x.result&&this.knownResults.set(x.result,r),x},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,s=e.array,o=e.enclosingRef,a=e.context,u=new m.w0;function c(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(s=s.filter(a.store.canRead)),s=s.map((function(e,t){return null===e?null:(0,E.kJ)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:a}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,l.Yk)(e)?e:o,context:a}),t):(__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach((function(r){(0,g.s)(r)&&(__DEV__?(0,i.kG)(!(0,l.Yk)(r),"Missing selection set for object of type ".concat((0,E.jp)(e,r)," returned for query field ").concat(t.name.value)):(0,i.kG)(!(0,l.Yk)(r),5),Object.values(r).forEach(n.add,n))}))}}(a.store,n,e),e)})),{result:a.canonizeResults?this.canon.admit(s):s,missing:t}},e}();function j(e){try{JSON.stringify(e,(function(e,t){if("string"===typeof t)throw t;return t}))}catch(t){return t}}var L=r(9487),M=r(1436),R=r(897);var $=r(5983),V=Object.create(null);function U(e){var t=JSON.stringify(e);return V[t]||(V[t]=Object.create(null))}function q(e){var t=U(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},s=r.keyObject=W(e,(function(e){var s=J(r.storeObject,e,n);return void 0===s&&t!==r.storeObject&&E.RI.call(t,e[0])&&(s=J(t,e,H)),__DEV__?(0,i.kG)(void 0!==s,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):(0,i.kG)(void 0!==s,2),s}));return"".concat(r.typename,":").concat(JSON.stringify(s))})}function z(e){var t=U(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,s=r.fieldName,o=W(e,(function(e){var r=e[0],s=r.charAt(0);if("@"!==s)if("$"!==s){if(t)return J(t,e)}else{var o=r.slice(1);if(i&&E.RI.call(i,o)){var a=e.slice(0);return a[0]=o,J(i,a)}}else if(n&&(0,M.O)(n.directives)){var u=r.slice(1),c=n.directives.find((function(e){return e.name.value===u})),p=c&&(0,l.NC)(c,i);return p&&J(p,e.slice(1))}})),a=JSON.stringify(o);return(t||"{}"!==a)&&(s+=":"+a),s})}function W(e,t){var r=new m.w0;return G(e).reduce((function(e,n){var i,s=t(n);if(void 0!==s){for(var o=n.length-1;o>=0;--o)(i={})[n[o]]=s,s=i;e=r.merge(e,s)}return e}),Object.create(null))}function G(e){var t=U(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach((function(t,i){(0,E.kJ)(t)?(G(t).forEach((function(e){return r.push(n.concat(e))})),n.length=0):(n.push(t),(0,E.kJ)(e[i+1])||(r.push(n.slice(0)),n.length=0))}))}return t.paths}function H(e,t){return e[t]}function J(e,t,r){return r=r||H,X(t.reduce((function e(t,n){return(0,E.kJ)(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function X(e){return(0,g.s)(e)?(0,E.kJ)(e)?e.map(X):W(Object.keys(e).sort(),(function(t){return J(e,t)})):e}function Q(e){return void 0!==e.args?e.args:e.field?(0,l.NC)(e.field,e.variables):null}l.PT.setStringify(O.B);var K=function(){},Y=function(e,t){return t.fieldName},Z=function(e,t,r){return(0,r.mergeObjects)(e,t)},ee=function(e,t){return t},te=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.pi)({dataIdFromObject:E.uG},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i=this,s=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(s===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var o,a=t&&t.storeObject||e,u=(0,n.pi)((0,n.pi)({},t),{typename:s,storeObject:a,readField:t&&t.readField||function(){var e=ne(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),l=s&&this.getTypePolicy(s),c=l&&l.keyFn||this.config.dataIdFromObject;c;){var p=c(e,u);if(!(0,E.kJ)(p)){o=p;break}c=q(p)}return o=o?String(o):void 0,u.keyObject?[o,u.keyObject]:[o]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var i=e[r],s=i.queryType,o=i.mutationType,a=i.subscriptionType,u=(0,n._T)(i,["queryType","mutationType","subscriptionType"]);s&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),E.RI.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,s=t.fields;function o(e,t){e.merge="function"===typeof t?t:!0===t?Z:!1===t?ee:e.merge}o(n,t.merge),n.keyFn=!1===i?K:(0,E.kJ)(i)?q(i):"function"===typeof i?i:n.keyFn,s&&Object.keys(s).forEach((function(t){var n=r.getFieldPolicy(e,t,!0),i=s[t];if("function"===typeof i)n.read=i;else{var a=i.keyArgs,u=i.read,l=i.merge;n.keyFn=!1===a?Y:(0,E.kJ)(a)?z(a):"function"===typeof a?a:n.keyFn,"function"===typeof u&&(n.read=u),o(n,l)}n.read&&n.merge&&(n.keyFn=n.keyFn||Y)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&(__DEV__?(0,i.kG)(!n||n===e,"Cannot change root ".concat(e," __typename more than once")):(0,i.kG)(!n||n===e,3),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(E.$O);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!E.RI.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),s=i.fields,o=(0,n._T)(i,["fields"]);Object.assign(r,o),Object.assign(r.fields,s)}))}var s=this.toBeAdded[e];return s&&s.length&&s.splice(0).forEach((function(r){t.updateTypePolicy(e,r)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var s=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),u=[a],l=function(e){var t=s.getSupertypeSet(e,!1);t&&t.size&&u.indexOf(t)<0&&u.push(t)},c=!(!r||!this.fuzzySubtypes.size),p=!1,h=0;h<u.length;++h){var d=u[h];if(d.has(o))return a.has(o)||(p&&__DEV__&&i.kG.warn("Inferring subtype ".concat(t," of supertype ").concat(o)),a.add(o)),!0;d.forEach(l),c&&h===u.length-1&&(0,E.RC)(e.selectionSet,r,n)&&(c=!1,p=!0,this.fuzzySubtypes.forEach((function(e,r){var n=t.match(e);n&&n[0]===t&&l(r)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!(!r||!r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),s=i&&i.keyFn;if(s&&r)for(var o={typename:r,fieldName:n,field:e.field||null,variables:e.variables},a=Q(e);s;){var u=s(a,o);if(!(0,E.kJ)(u)){t=u||n;break}s=z(u)}return void 0===t&&(t=e.field?(0,l.vf)(e.field,e.variables):(0,l.PT)(n,Q(e))),!1===t?n:n===(0,E.E_)(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),s=(0,E.E_)(i),o=t.store.getFieldValue(r,i),a=this.getFieldPolicy(e.typename,s,!1),u=a&&a.read;if(u){var c=re(this,r,e,t,t.store.getStorage((0,l.Yk)(r)?r.__ref:r,i));return $.ab.withValue(this.cache,u,[o,c])}return o}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var s=r.field,o=r.typename,a=r.merge;return a===Z?ie(n.store)(e,t):a===ee?t:(n.overwrite&&(e=void 0),a(e,t,re(this,void 0,{typename:o,fieldName:s.name.value,field:s,variables:n.variables},n,i||Object.create(null))))},e}();function re(e,t,r,n,i){var s=e.getStoreFieldName(r),o=(0,E.E_)(s),a=r.variables||n.variables,u=n.store,c=u.toReference,p=u.canRead;return{args:Q(r),field:r.field||null,fieldName:o,storeFieldName:s,variables:a,isReference:l.Yk,toReference:c,storage:i,cache:e.cache,canRead:p,readField:function(){return e.readField(ne(arguments,t,a),n)},mergeObjects:ie(n.store)}}function ne(e,t,r){var s,o=e[0],a=e[1],u=e.length;return"string"===typeof o?s={fieldName:o,from:u>1?a:t}:(s=(0,n.pi)({},o),E.RI.call(s,"from")||(s.from=t)),__DEV__&&void 0===s.from&&__DEV__&&i.kG.warn("Undefined 'from' passed to readField with arguments ".concat(function(e){var t=(0,R.X)("stringifyForDisplay");return JSON.stringify(e,(function(e,r){return void 0===r?t:r})).split(JSON.stringify(t)).join("<undefined>")}(Array.from(e)))),void 0===s.variables&&(s.variables=r),s}function ie(e){return function(t,r){if((0,E.kJ)(t)||(0,E.kJ)(r))throw __DEV__?new i.ej("Cannot automatically merge arrays"):new i.ej(4);if((0,g.s)(t)&&(0,g.s)(r)){var s=e.getFieldValue(t,"__typename"),o=e.getFieldValue(r,"__typename");if(s&&o&&s!==o)return r;if((0,l.Yk)(t)&&(0,E.j)(r))return e.merge(t.__ref,r),t;if((0,E.j)(t)&&(0,l.Yk)(r))return e.merge(t,r.__ref),r;if((0,E.j)(t)&&(0,E.j)(r))return(0,n.pi)((0,n.pi)({},t),r)}return r}}function se(e,t,r){var i="".concat(t).concat(r),s=e.flavors.get(i);return s||e.flavors.set(i,s=e.clientOnly===t&&e.deferred===r?e:(0,n.pi)((0,n.pi)({},e),{clientOnly:t,deferred:r})),s}var oe=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e,t){var r=this,s=t.query,a=t.result,u=t.dataId,c=t.variables,p=t.overwrite,h=(0,d.$H)(s),m=(0,E.ig)();c=(0,n.pi)((0,n.pi)({},(0,d.O4)(h)),c);var y={store:e,written:Object.create(null),merge:function(e,t){return m.merge(e,t)},variables:c,varString:(0,O.B)(c),fragmentMap:(0,f.F)((0,d.kU)(s)),overwrite:!!p,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},g=this.processSelectionSet({result:a||Object.create(null),dataId:u,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:y});if(!(0,l.Yk)(g))throw __DEV__?new i.ej("Could not identify object ".concat(JSON.stringify(a))):new i.ej(6);return y.incomingById.forEach((function(t,n){var s=t.storeObject,a=t.mergeTree,u=t.fieldNodeSet,c=(0,l.kQ)(n);if(a&&a.map.size){var p=r.applyMerges(a,c,s,y);if((0,l.Yk)(p))return;s=p}if(__DEV__&&!y.overwrite){var h=Object.create(null);u.forEach((function(e){e.selectionSet&&(h[e.name.value]=!0)}));Object.keys(s).forEach((function(e){(function(e){return!0===h[(0,E.E_)(e)]})(e)&&!function(e){var t=a&&a.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var s=function(e){var t=n.getFieldValue(e,r);return"object"===typeof t&&t},a=s(e);if(!a)return;var u=s(t);if(!u)return;if((0,l.Yk)(a))return;if((0,o.D)(a,u))return;if(Object.keys(a).every((function(e){return void 0!==n.getFieldValue(u,e)})))return;var c=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),p=(0,E.E_)(r),h="".concat(c,".").concat(p);if(he.has(h))return;he.add(h);var d=[];(0,E.kJ)(a)||(0,E.kJ)(u)||[a,u].forEach((function(e){var t=n.getFieldValue(e,"__typename");"string"!==typeof t||d.includes(t)||d.push(t)}));__DEV__&&i.kG.warn("Cache data may be lost when replacing the ".concat(p," field of a ").concat(c," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(h," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(a).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(u).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}(c,s,e,y.store)}))}e.merge(n,s)})),e.retain(g.__ref),g},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,s=e.result,o=e.selectionSet,a=e.context,u=e.mergeTree,p=this.cache.policies,h=Object.create(null),d=r&&p.rootTypenamesById[r]||(0,l.qw)(s,o,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"===typeof d&&(h.__typename=d);var f=function(){var e=ne(arguments,h,a.variables);if((0,l.Yk)(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var r=p.readField((0,n.pi)((0,n.pi)({},e),{from:t.storeObject}),a);if(void 0!==r)return r}}return p.readField(e,a)},m=new Set;this.flattenFields(o,s,a,d).forEach((function(e,r){var n,o=(0,l.u2)(r),a=s[o];if(m.add(r),void 0!==a){var y=p.getStoreFieldName({typename:d,fieldName:r.name.value,field:r,variables:e.variables}),g=ue(u,y),v=t.processFieldValue(a,r,r.selectionSet?se(e,!1,!1):e,g),D=void 0;r.selectionSet&&((0,l.Yk)(v)||(0,E.j)(v))&&(D=f("__typename",v));var b=p.getMergeFunction(d,r.name.value,D);b?g.info={field:r,typename:d,merge:b}:pe(u,y),h=e.merge(h,((n={})[y]=v,n))}else!__DEV__||e.clientOnly||e.deferred||c.Gw.added(r)||p.getReadFunction(d,r.name.value)||__DEV__&&i.kG.error("Missing field '".concat((0,l.u2)(r),"' while writing result ").concat(JSON.stringify(s,null,2)).substring(0,1e3))}));try{var y=p.identify(s,{typename:d,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:h,readField:f}),g=y[0],v=y[1];r=r||g,v&&(h=a.merge(h,v))}catch(C){if(!r)throw C}if("string"===typeof r){var D=(0,l.kQ)(r),b=a.written[r]||(a.written[r]=[]);if(b.indexOf(o)>=0)return D;if(b.push(o),this.reader&&this.reader.isFresh(s,D,o,a))return D;var x=a.incomingById.get(r);return x?(x.storeObject=a.merge(x.storeObject,h),x.mergeTree=le(x.mergeTree,u),m.forEach((function(e){return x.fieldNodeSet.add(e)}))):a.incomingById.set(r,{storeObject:h,mergeTree:ce(u)?void 0:u,fieldNodeSet:m}),D}return h},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,E.kJ)(e)?e.map((function(e,s){var o=i.processFieldValue(e,t,r,ue(n,s));return pe(n,s),o})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):__DEV__?(0,L.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,l.qw)(t,e,r.fragmentMap));var i=new Map,s=this.cache.policies,o=new b.B(!1);return function e(a,u){var c=o.lookup(a,u.clientOnly,u.deferred);c.visited||(c.visited=!0,a.selections.forEach((function(o){if((0,y.LZ)(o,r.variables)){var a=u.clientOnly,c=u.deferred;if(a&&c||!(0,M.O)(o.directives)||o.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(a=!0),"defer"===t){var n=(0,l.NC)(e,r.variables);n&&!1===n.if||(c=!0)}})),(0,l.My)(o)){var p=i.get(o);p&&(a=a&&p.clientOnly,c=c&&p.deferred),i.set(o,se(r,a,c))}else{var h=(0,f.hi)(o,r.fragmentMap);h&&s.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,se(r,a,c))}}})))}(e,r),i},e.prototype.applyMerges=function(e,t,r,s,o){var a,u=this;if(e.map.size&&!(0,l.Yk)(r)){var c,p=(0,E.kJ)(r)||!(0,l.Yk)(t)&&!(0,E.j)(t)?void 0:t,h=r;p&&!o&&(o=[(0,l.Yk)(p)?p.__ref:p]);var d=function(e,t){return(0,E.kJ)(e)?"number"===typeof t?e[t]:void 0:s.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var r=d(p,t),n=d(h,t);if(void 0!==n){o&&o.push(t);var a=u.applyMerges(e,r,n,s,o);a!==n&&(c=c||new Map).set(t,a),o&&(0,i.kG)(o.pop()===t)}})),c&&(r=(0,E.kJ)(h)?h.slice(0):(0,n.pi)({},h),c.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,s,o&&(a=s.store).getStorage.apply(a,o)):r},e}(),ae=[];function ue(e,t){var r=e.map;return r.has(t)||r.set(t,ae.pop()||{map:new Map}),r.get(t)}function le(e,t){if(e===t||!t||ce(t))return e;if(!e||ce(e))return t;var r=e.info&&t.info?(0,n.pi)((0,n.pi)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,s={info:r,map:i?new Map:e.map.size?e.map:t.map};if(i){var o=new Set(t.map.keys());e.map.forEach((function(e,r){s.map.set(r,le(e,t.map.get(r))),o.delete(r)})),o.forEach((function(r){s.map.set(r,le(t.map.get(r),e.map.get(r)))}))}return s}function ce(e){return!e||!(e.info||e.map.size)}function pe(e,t){var r=e.map,n=r.get(t);n&&ce(n)&&(ae.push(n),r.delete(t))}var he=new Set;var de=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.typenameDocumentCache=new Map,r.makeVar=$.QS,r.txCount=0,r.config=(0,E.jS)(t),r.addTypename=!!r.config.addTypename,r.policies=new te({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.ZT)(t,e),t.prototype.init=function(){var e=this.data=new A.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader;this.storeWriter=new oe(this,this.storeReader=new B({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,E.lg)(this.config),canon:e?void 0:r&&r.canon})),this.maybeBroadcastWatch=(0,s.re)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(_(r)){var n=e.optimistic,i=e.rootId,s=e.variables;return r.makeCacheKey(e.query,e.callback,(0,O.B)({optimistic:n,rootId:i,variables:s}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(i){if(i instanceof u.y)return null;throw i}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(E.RI.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,$._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,$.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){O.B.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,l.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){__DEV__&&i.kG.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(E.RI.call(e,"id"))return!1;e=(0,n.pi)((0,n.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),O.B.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,$.li)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,s=e.optimistic,o=void 0===s||s,a=e.removeOptimistic,u=e.onWatchUpdated,l=function(e){var n=r,s=n.data,o=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=s,r.optimisticData=o}},c=new Set;return u&&!this.txCount&&this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"===typeof o?this.optimisticData=this.optimisticData.addLayer(o,l):!1===o?l(this.data):l(),"string"===typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),u&&c.size?(this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&c.delete(e),r}})),c.size&&c.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=(0,c.Gw)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"===typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&(0,o.D)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(a.R)},900:function(e,t,r){"use strict";r.d(t,{B:function(){return p},h:function(){return c}});var n=r(7582),i=(r(8964),r(657)),s=r(3154),o=r(320),a=r(9641);var u,l,c=function(){function e(){this.known=new(o.sy?WeakSet:Set),this.pool=new i.B(o.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,s.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,s.s)(e)){var t=function(e){return(0,s.s)(e)?(0,a.kJ)(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,s.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(u=this.pool.lookupArray(n)).array||(this.known.add(u.array=n),__DEV__&&Object.freeze(n)),u.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),o=[i],a=this.sortedKeys(e);o.push(a.json);var u,l=o.length;if(a.sorted.forEach((function(r){o.push(t.admit(e[r]))})),!(u=this.pool.lookupArray(o)).object){var c=u.object=Object.create(i);this.known.add(c),a.sorted.forEach((function(e,t){c[e]=o[l+t]})),__DEV__&&Object.freeze(c)}return u.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}(),p=Object.assign((function(e){if((0,s.s)(e)){void 0===u&&h();var t=u.admit(e),r=l.get(t);return void 0===r&&l.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:h});function h(){u=new c,l=new(o.mr?WeakMap:Map)}},5983:function(e,t,r){"use strict";r.d(t,{ab:function(){return c},li:function(){return d},QS:function(){return m},_v:function(){return f}});var n=r(1952),i=null,s={},o=1,a="@wry/context:Slot",u=Array,l=u[a]||function(){var e=function(){function e(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=i;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===s)break;return e!==i&&(i.slots[this.id]=t),!0}return i&&(i.slots[this.id]=s),!1},e.prototype.getValue=function(){if(this.hasValue())return i.slots[this.id]},e.prototype.withValue=function(e,t,r,n){var s,o=((s={__proto__:null})[this.id]=e,s),a=i;i={parent:a,slots:o};try{return t.apply(n,r)}finally{i=a}},e.bind=function(e){var t=i;return function(){var r=i;try{return i=t,e.apply(this,arguments)}finally{i=r}}},e.noContext=function(e,t,r){if(!i)return e.apply(r,t);var n=i;try{return i=null,e.apply(r,t)}finally{i=n}},e}();try{Object.defineProperty(u,a,{value:u[a]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();l.bind,l.noContext;var c=new l,p=new WeakMap;function h(e){var t=p.get(e);return t||p.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}function d(e){h(e).vars.forEach((function(t){return t.forgetCache(e)}))}function f(e){h(e).vars.forEach((function(t){return t.attachCache(e)}))}function m(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){h(e).dep.dirty(n),y(e)}));var o=Array.from(r);r.clear(),o.forEach((function(t){return t(e)}))}}else{var a=c.getValue();a&&(i(a),h(a).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),h(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}function y(e){e.broadcastWatches&&e.broadcastWatches()}},8291:function(e,t,r){"use strict";r.d(t,{f:function(){return U}});var n=r(7582),i=r(8964),s=r(8702),o=r(7037),a=r(2198),u=r(20),l=r(900),c=r(320),p=r(8216);function h(e,t,r){return new p.y((function(n){var i=n.next,s=n.error,o=n.complete,a=0,u=!1,l={then:function(e){return new Promise((function(t){return t(e())}))}};function c(e,t){return e?function(t){++a;var r=function(){return e(t)};l=l.then(r,r).then((function(e){--a,i&&i.call(n,e),u&&p.complete()}),(function(e){throw--a,e})).catch((function(e){s&&s.call(n,e)}))}:function(e){return t&&t.call(n,e)}}var p={next:c(t,i),error:c(r,s),complete:function(){u=!0,a||o&&o.call(n)}},h=e.subscribe(p);return function(){return h.unsubscribe()}}))}function d(e){return e.errors&&e.errors.length>0||!1}var f=r(6765),m=r(6982),y=r(9065),g=r(1761),v=r(3154),D=r(897),b=r(8263),E=r(6403);function x(e){return e&&"function"===typeof e.then}var C=function(e){function t(t){var r=e.call(this,(function(e){return r.addObserver(e),function(){return r.removeObserver(e)}}))||this;return r.observers=new Set,r.addCount=0,r.promise=new Promise((function(e,t){r.resolve=e,r.reject=t})),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],(0,b.p)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest=["error",e],r.reject(e),(0,b.p)(r.observers,"error",e))},complete:function(){var e=r.sub;if(null!==e){var t=r.sources.shift();t?x(t)?t.then((function(e){return r.sub=e.subscribe(r.handlers)})):r.sub=t.subscribe(r.handlers):(e&&setTimeout((function(){return e.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),(0,b.p)(r.observers,"complete"))}}},r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch((function(e){})),"function"===typeof t&&(t=[new p.y(t)]),x(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return(0,n.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e),++this.addCount)},t.prototype.removeObserver=function(e,t){this.observers.delete(e)&&--this.addCount<1&&!t&&this.handlers.complete()},t.prototype.cleanup=function(e){var t=this,r=!1,n=function(){r||(r=!0,t.observers.delete(i),e())},i={next:n,error:n,complete:n},s=this.addCount;this.addObserver(i),this.addCount=s},t}(p.y);(0,E.D)(C);var w=r(1436),A=r(990),S=r(4780),T=r(1644),F=r(7304),k=r(182),P=r(3361),N=r(5983),_=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,k.Ee)(t.resolvers,e)})):this.resolvers=(0,k.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,i=e.context,s=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,s,this.fragmentMatcher,a).then((function(e){return(0,n.pi)((0,n.pi)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,y.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,m.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,n.pi)((0,n.pi)({},t),e.exportedVariables)}))]:[2,(0,n.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,F.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return F.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,m.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,s,o){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===s&&(s=function(){return!0}),void 0===o&&(o=!1),(0,n.mG)(this,void 0,void 0,(function(){var a,u,l,c,p,h,d,m,y;return(0,n.Jh)(this,(function(g){return a=(0,f.p$)(e),u=(0,f.kU)(e),l=(0,P.F)(u),c=a.operation,p=c?c.charAt(0).toUpperCase()+c.slice(1):"Query",d=(h=this).cache,m=h.client,y={fragmentMap:l,context:(0,n.pi)((0,n.pi)({},r),{cache:d,client:m}),variables:i,fragmentMatcher:s,defaultOperationType:p,exportedVariables:{},onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r){return(0,n.mG)(this,void 0,void 0,(function(){var s,o,a,u,l,c=this;return(0,n.Jh)(this,(function(p){return s=r.fragmentMap,o=r.context,a=r.variables,u=[t],l=function(e){return(0,n.mG)(c,void 0,void 0,(function(){var l,c;return(0,n.Jh)(this,(function(n){return(0,y.LZ)(e,a)?(0,g.My)(e)?[2,this.resolveField(e,t,r).then((function(t){var r;"undefined"!==typeof t&&u.push(((r={})[(0,g.u2)(e)]=t,r))}))]:((0,g.Ao)(e)?l=e:(l=s[e.name.value],__DEV__?(0,i.kG)(l,"No fragment named ".concat(e.name.value)):(0,i.kG)(l,9)),l&&l.typeCondition&&(c=l.typeCondition.name.value,r.fragmentMatcher(t,c,o))?[2,this.resolveSelectionSet(l.selectionSet,t,r).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,k.bw)(u)}))]}))}))},e.prototype.resolveField=function(e,t,r){return(0,n.mG)(this,void 0,void 0,(function(){var i,s,o,a,u,l,c,p,h,d=this;return(0,n.Jh)(this,(function(n){return i=r.variables,s=e.name.value,o=(0,g.u2)(e),a=s!==o,u=t[o]||t[s],l=Promise.resolve(u),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(c=t.__typename||r.defaultOperationType,(p=this.resolvers&&this.resolvers[c])&&(h=p[a?s:o])&&(l=Promise.resolve(N.ab.withValue(this.cache,h,[t,(0,g.NC)(e,i),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,l.then((function(t){return void 0===t&&(t=u),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?d.resolveSubSelectedArray(e,t,r):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t,r):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0})))},e}(),O=new(c.mr?WeakMap:Map);function I(e,t){var r=e[t];"function"===typeof r&&(e[t]=function(){return O.set(e,(O.get(e)+1)%1e15),r.apply(this,arguments)})}function B(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var j=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;O.has(r)||(O.set(r,0),I(r,"evict"),I(r,"modify"),I(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||T.I.loading;return this.variables&&this.networkStatus!==T.I.loading&&!(0,u.D)(this.variables,e.variables)&&(t=T.I.setVariables),(0,u.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){B(this),this.lastDiff=void 0,this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,u.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(t);return this.updateLastDiff(n,t),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,u.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():(0,S.vj)(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;B(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,T.O)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.pi)((0,n.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,u.D)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===O.get(this.cache)&&(0,u.D)(t,r.variables)&&(0,u.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r){var n=this;this.graphQLErrors=(0,w.O)(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(t.variables)):0!==r&&(L(e,t.errorPolicy)?this.cache.performTransaction((function(i){if(n.shouldWrite(e,t.variables))i.writeQuery({query:n.document,data:e.data,variables:t.variables,overwrite:1===r}),n.lastWrite={result:e,variables:t.variables,dmCount:O.get(n.cache)};else if(n.lastDiff&&n.lastDiff.diff.complete)return void(e.data=n.lastDiff.diff.result);var s=n.getDiffOptions(t.variables),o=i.diff(s);n.stopped||n.updateWatch(t.variables),n.updateLastDiff(o,s),o.complete&&(e.data=o.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=T.I.ready},e.prototype.markError=function(e){return this.networkStatus=T.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function L(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!d(e);return!n&&r&&e.data&&(n=!0),n}var M=Object.prototype.hasOwnProperty,R=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.queryDeduplication,s=void 0!==i&&i,o=e.onBroadcast,a=e.ssrMode,u=void 0!==a&&a,l=e.clientAwareness,p=void 0===l?{}:l,h=e.localState,d=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(c.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=s,this.clientAwareness=p,this.localState=h||new _({cache:t}),this.ssrMode=u,this.assumeImmutableResults=!!d,(this.onBroadcast=o)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches(__DEV__?new i.ej("QueryManager stopped while query was in flight"):new i.ej(11))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,s=e.mutation,o=e.variables,a=e.optimisticResponse,u=e.updateQueries,l=e.refetchQueries,c=void 0===l?[]:l,p=e.awaitRefetchQueries,f=void 0!==p&&p,m=e.update,y=e.onQueryUpdated,g=e.fetchPolicy,v=void 0===g?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":g,D=e.errorPolicy,b=void 0===D?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":D,E=e.keepRootFields,x=e.context;return(0,n.mG)(this,void 0,void 0,(function(){var e,t,r;return(0,n.Jh)(this,(function(l){switch(l.label){case 0:return __DEV__?(0,i.kG)(s,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,i.kG)(s,12),__DEV__?(0,i.kG)("network-only"===v||"no-cache"===v,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,i.kG)("network-only"===v||"no-cache"===v,13),e=this.generateMutationId(),s=this.transform(s).document,o=this.getVariables(s,o),this.transform(s).hasClientExports?[4,this.localState.addExportedVariables(s,o,x)]:[3,2];case 1:o=l.sent(),l.label=2;case 2:return t=this.mutationStore&&(this.mutationStore[e]={mutation:s,variables:o,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:e,document:s,variables:o,fetchPolicy:v,errorPolicy:b,context:x,updateQueries:u,update:m,keepRootFields:E}),this.broadcastQueries(),r=this,[2,new Promise((function(i,l){return h(r.getObservableFromLink(s,(0,n.pi)((0,n.pi)({},x),{optimisticResponse:a}),o,!1),(function(i){if(d(i)&&"none"===b)throw new A.c({graphQLErrors:i.errors});t&&(t.loading=!1,t.error=null);var l=(0,n.pi)({},i);return"function"===typeof c&&(c=c(l)),"ignore"===b&&d(l)&&delete l.errors,r.markMutationResult({mutationId:e,result:l,document:s,variables:o,fetchPolicy:v,errorPolicy:b,context:x,update:m,updateQueries:u,awaitRefetchQueries:f,refetchQueries:c,removeOptimistic:a?e:void 0,onQueryUpdated:y,keepRootFields:E})})).subscribe({next:function(e){r.broadcastQueries(),i(e)},error:function(n){t&&(t.loading=!1,t.error=n),a&&r.cache.removeOptimistic(e),r.broadcastQueries(),l(n instanceof A.c?n:new A.c({networkError:n}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,s=[],o="no-cache"===e.fetchPolicy;if(!o&&L(i,e.errorPolicy)){s.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables});var a=e.updateQueries;a&&this.queries.forEach((function(e,n){var o=e.observableQuery,u=o&&o.queryName;if(u&&M.call(a,u)){var l=a[u],c=r.queries.get(n),p=c.document,h=c.variables,d=t.diff({query:p,variables:h,returnPartialData:!0,optimistic:!1}),m=d.result;if(d.complete&&m){var y=l(m,{mutationResult:i,queryName:p&&(0,f.rY)(p)||void 0,queryVariables:h});y&&s.push({result:y,dataId:"ROOT_QUERY",query:p,variables:h})}}}))}if(s.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){o||s.forEach((function(e){return t.write(e)}));var a=e.update;if(a){if(!o){var u=t.diff({id:"ROOT_MUTATION",query:r.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&(i=(0,n.pi)((0,n.pi)({},i),{data:u.result}))}a(t,i,{context:e.context,variables:e.variables})}o||e.keepRootFields||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return u.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then((function(){return i}))}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,s="function"===typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult((0,n.pi)((0,n.pi)({},t),{result:{data:s}}),e)}catch(o){__DEV__&&i.kG.error(o)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),i=(0,m.Fo)(this.cache.transformForLink(r)),s=this.localState.clientQuery(r),o=i&&this.localState.serverQuery(i),a={document:r,hasClientExports:(0,y.mj)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:s,serverQuery:o,defaultVars:(0,f.O4)((0,f.$H)(r)),asQuery:(0,n.pi)((0,n.pi)({},r),{definitions:r.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.pi)((0,n.pi)({},e),{operation:"query"}):e}))})},u=function(e){e&&!t.has(e)&&t.set(e,a)};u(e),u(r),u(s),u(o)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.pi)((0,n.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){"undefined"===typeof(e=(0,n.pi)((0,n.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new j(this),r=new S.ue({queryManager:this,queryInfo:t,options:e});return this.queries.set(r.queryId,t),t.init({document:r.query,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,i.kG)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,i.kG)(e.query,14),__DEV__?(0,i.kG)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,i.kG)("Document"===e.query.kind,15),__DEV__?(0,i.kG)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,i.kG)(!e.returnPartialData,16),__DEV__?(0,i.kG)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,i.kG)(!e.pollInterval,17),this.fetchQuery(t,e).finally((function(){return r.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new i.ej("Store reset while query was in flight (not completed in link chain)"):new i.ej(18)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=T.I.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,s=new Map,o=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"===typeof e?s.set(e,!1):(0,g.JW)(e)?s.set(t.transform(e).document,!1):(0,v.s)(e)&&e.query&&o.add(e)})),this.queries.forEach((function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var a=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||a&&s.has(a)||o&&s.has(o))&&(r.set(n,i),a&&s.set(a,!0),o&&s.set(o,!0))}})),o.size&&o.forEach((function(e){var s=(0,D.X)("legacyOneTimeQuery"),o=t.getQuery(s).init({document:e.query,variables:e.variables}),a=new S.ue({queryManager:t,queryInfo:o,options:(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(a.queryId===s),o.setObservableQuery(a),r.set(s,a)})),__DEV__&&s.size&&s.forEach((function(e,t){e||__DEV__&&i.kG.warn("Unknown query ".concat("string"===typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(n,i){var s=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==s&&"cache-only"!==s)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,s=e.variables,o=e.context,a=void 0===o?{}:o;r=this.transform(r).document,s=this.getVariables(r,s);var u=function(e){return t.getObservableFromLink(r,a,e).map((function(s){if("no-cache"!==n&&(L(s,i)&&t.cache.write({query:r,result:s.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),d(s))throw new A.c({graphQLErrors:s.errors});return s}))};if(this.transform(r).hasClientExports){var l=this.localState.addExportedVariables(r,s,a).then(u);return new p.y((function(e){var t=null;return l.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(s)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i){var s,a,u=this;void 0===i&&(i=null!==(s=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==s?s:this.queryDeduplication);var c=this.transform(e).serverQuery;if(c){var d=this.inFlightLinkObservables,m=this.link,y={query:c,variables:r,operationName:(0,f.rY)(c)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!i}))};if(t=y.context,i){var g=d.get(c)||new Map;d.set(c,g);var v=(0,l.B)(r);if(!(a=g.get(v))){var D=new C([(0,o.h)(m,y)]);g.set(v,a=D),D.cleanup((function(){g.delete(v)&&g.size<1&&d.delete(c)}))}}else a=new C([(0,o.h)(m,y)])}else a=new C([p.y.of({data:{}})]),t=this.prepareContext(t);var b=this.transform(e).clientQuery;return b&&(a=h(a,(function(e){return u.localState.runResolvers({document:b,remoteResult:e,context:t,variables:r})}))),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId();return h(this.getObservableFromLink(e.document,r.context,r.variables),(function(i){var s=(0,w.O)(i.errors);if(n>=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new A.c({graphQLErrors:i.errors}));e.markResult(i,r,t),e.markReady()}var o={data:i.data,loading:!1,networkStatus:T.I.ready};return s&&"ignore"!==r.errorPolicy&&(o.errors=i.errors,o.networkStatus=T.I.error),o}),(function(t){var r=(0,A.M)(t)?t:new A.c({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchQueryObservable=function(e,t,r){var n=this;void 0===r&&(r=T.I.loading);var i=this.transform(t.query).document,s=this.getVariables(i,t.variables),o=this.getQuery(e),a=this.defaultOptions.watchQuery,u=t.fetchPolicy,l=void 0===u?a&&a.fetchPolicy||"cache-first":u,c=t.errorPolicy,p=void 0===c?a&&a.errorPolicy||"none":c,h=t.returnPartialData,d=void 0!==h&&h,f=t.notifyOnNetworkStatusChange,m=void 0!==f&&f,y=t.context,g=void 0===y?{}:y,v=Object.assign({},t,{query:i,variables:s,fetchPolicy:l,errorPolicy:p,returnPartialData:d,notifyOnNetworkStatusChange:m,context:g}),D=function(e){v.variables=e;var i=n.fetchQueryByPolicy(o,v,r);return"standby"!==v.fetchPolicy&&i.length>0&&o.observableQuery&&o.observableQuery.applyNextFetchPolicy("after-fetch",t),i},b=function(){return n.fetchCancelFns.delete(e)};this.fetchCancelFns.set(e,(function(e){b(),setTimeout((function(){return E.cancel(e)}))}));var E=new C(this.transform(v.query).hasClientExports?this.localState.addExportedVariables(v.query,v.variables,v.context).then(D):D(v.variables));return E.promise.then(b,b),E},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,s=void 0!==i&&i,o=e.removeOptimistic,a=void 0===o?s?(0,D.X)("refetchQueries"):void 0:o,u=e.onQueryUpdated,l=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){l.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var c=new Map;return r&&this.cache.batch({update:r,optimistic:s&&a||!1,removeOptimistic:a,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof j&&e.watcher.observableQuery;if(n){if(u){l.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==u&&l.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),l.size&&l.forEach((function(e,r){var n,i=e.oq,s=e.lastDiff,o=e.diff;if(u){if(!o){var a=i.queryInfo;a.reset(),o=a.getDiff()}n=u(i,o,s)}u&&!0!==n||(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),a&&this.cache.removeOptimistic(a),c},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,s=t.query,o=t.variables,a=t.fetchPolicy,l=t.refetchWritePolicy,c=t.errorPolicy,h=t.returnPartialData,d=t.context,f=t.notifyOnNetworkStatusChange,m=e.networkStatus;e.init({document:this.transform(s).document,variables:o,networkStatus:r});var y=function(){return e.getDiff(o)},g=function(t,r){void 0===r&&(r=e.networkStatus||T.I.loading);var a=t.result;!__DEV__||h||(0,u.D)(a,{})||(0,S.DC)(t.missing);var l=function(e){return p.y.of((0,n.pi)({data:e,loading:(0,T.O)(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&i.transform(s).hasForcedResolvers?i.localState.runResolvers({document:s,remoteResult:{data:a},context:d,variables:o,onlyRunForcedResolvers:!0}).then((function(e){return l(e.data||void 0)})):l(a)},v="no-cache"===a?0:r===T.I.refetch&&"merge"!==l?1:2,D=function(){return i.getResultsFromLink(e,v,{variables:o,context:d,fetchPolicy:a,errorPolicy:c})},b=f&&"number"===typeof m&&m!==r&&(0,T.O)(r);switch(a){default:case"cache-first":return(E=y()).complete?[g(E,e.markReady())]:h||b?[g(E),D()]:[D()];case"cache-and-network":var E;return(E=y()).complete||h||b?[g(E),D()]:[D()];case"cache-only":return[g(y(),e.markReady())];case"network-only":return b?[g(y()),D()]:[D()];case"no-cache":return b?[g(e.getDiff()),D()]:[D()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new j(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.pi)((0,n.pi)({},t),{clientAwareness:this.clientAwareness})},e}(),$=r(4012),V=!1,U=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,n=e.credentials,o=e.headers,u=e.cache,l=e.ssrMode,c=void 0!==l&&l,p=e.ssrForceFetchDelay,h=void 0===p?0:p,d=e.connectToDevTools,f=void 0===d?"object"===typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:d,m=e.queryDeduplication,y=void 0===m||m,g=e.defaultOptions,v=e.assumeImmutableResults,D=void 0!==v&&v,b=e.resolvers,E=e.typeDefs,x=e.fragmentMatcher,C=e.name,w=e.version,A=e.link;if(A||(A=r?new a.u({uri:r,credentials:n,headers:o}):s.i.empty()),!u)throw __DEV__?new i.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new i.ej(7);if(this.link=A,this.cache=u,this.disableNetworkFetches=c||h>0,this.queryDeduplication=y,this.defaultOptions=g||Object.create(null),this.typeDefs=E,h&&setTimeout((function(){return t.disableNetworkFetches=!1}),h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),f&&"object"===typeof window&&(window.__APOLLO_CLIENT__=this),!V&&__DEV__&&(V=!0,"undefined"!==typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var S=window.navigator,T=S&&S.userAgent,F=void 0;"string"===typeof T&&(T.indexOf("Chrome/")>-1?F="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":T.indexOf("Firefox/")>-1&&(F="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),F&&__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: "+F)}this.version="3.6.9",this.localState=new _({cache:u,client:this,resolvers:b,fragmentMatcher:x}),this.queryManager=new R({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:y,ssrMode:c,clientAwareness:{name:C,version:w},localState:this.localState,assumeImmutableResults:D,onBroadcast:f?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,$.J)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,$.J)(this.defaultOptions.query,e)),__DEV__?(0,i.kG)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,i.kG)("cache-and-network"!==e.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,$.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,o.h)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((function(e,t){r.push(t),n.push(e)}));var s=Promise.all(n);return s.queries=r,s.results=n,s.catch((function(e){__DEV__&&i.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))})),s},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}()},4780:function(e,t,r){"use strict";r.d(t,{DC:function(){return D},ue:function(){return y},vj:function(){return g}});var n=r(7582),i=r(8964),s=r(20),o=r(1644),a=r(6765),u=r(9487),l=r(1436),c=r(3712),p=r(8263),h=r(8216),d=r(6403),f=Object.assign,m=Object.hasOwnProperty,y=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,s=t.options,o=e.call(this,(function(e){try{var r=e._subscription._observer;r&&!r.error&&(r.error=v)}catch(t){}var n=!o.observers.size;o.observers.add(e);var i=o.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(i.result),n&&o.reobserve().catch((function(){})),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}}))||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=i,o.queryManager=r,o.isTornDown=!1;var u=r.defaultOptions.watchQuery,l=(void 0===u?{}:u).fetchPolicy,c=void 0===l?"cache-first":l,p=s.fetchPolicy,h=void 0===p?c:p,d=s.initialFetchPolicy,f=void 0===d?"standby"===h?c:h:d;o.options=(0,n.pi)((0,n.pi)({},s),{initialFetchPolicy:f,fetchPolicy:h}),o.queryId=i.queryId||r.generateQueryId();var m=(0,a.$H)(o.query);return o.queryName=m&&m.name&&m.name.value,o}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=e.subscribe(n)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||o.I.ready,i=(0,n.pi)((0,n.pi)({},t),{loading:(0,o.O)(r),networkStatus:r}),a=this.options.fetchPolicy,u=void 0===a?"cache-first":a;if("network-only"===u||"no-cache"===u||"standby"===u||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(i.data=l.result),(0,s.D)(i.data,{})&&(i.data=void 0),l.complete?(delete i.partial,!l.complete||i.networkStatus!==o.I.loading||"cache-first"!==u&&"cache-only"!==u||(i.networkStatus=o.I.ready,i.loading=!1)):i.partial=!0,!__DEV__||l.complete||this.options.partialRefetch||i.loading||i.data||i.error||D(l.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e){return!this.last||!(0,s.D)(this.last.result,e)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,s.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},u=this.options.fetchPolicy;if(r.fetchPolicy="cache-and-network"===u?u:"no-cache"===u?"no-cache":"network-only",__DEV__&&e&&m.call(e,"variables")){var l=(0,a.iW)(this.query),c=l.variableDefinitions;c&&c.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&i.kG.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=l.name)||void 0===t?void 0:t.value)||JSON.stringify(l),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!(0,s.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,o.I.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.pi)((0,n.pi)({},e.query?e:(0,n.pi)((0,n.pi)((0,n.pi)((0,n.pi)({},this.options),{query:this.query}),e),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId(),s=this.queryInfo,a=s.networkStatus;s.networkStatus=o.I.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var u=new Set;return this.queryManager.fetchQuery(i,r,o.I.fetchMore).then((function(n){return t.queryManager.removeQuery(i),s.networkStatus===o.I.fetchMore&&(s.networkStatus=a),t.queryManager.cache.batch({update:function(i){var s=e.updateQuery;s?i.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return s(e,{fetchMoreResult:n.data,variables:r.variables})})):i.writeQuery({query:r.query,variables:r.variables,data:n.data})},onWatchUpdated:function(e){u.add(e.query)}}),n})).finally((function(){u.has(t.query)||g(t)}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var i=t.variables;return n(e,{subscriptionData:r,variables:i})}))},error:function(t){e.onError?e.onError(t):__DEV__&&i.kG.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return(0,s.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},o.I.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,s=void 0===i?n:i;"standby"===n||("function"===typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:s}):t.fetchPolicy="variables-changed"===e?s:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(r){if(!t||t.interval!==r){__DEV__?(0,i.kG)(r,"Attempted to start a polling query without a polling interval."):(0,i.kG)(r,10),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&((0,o.O)(e.queryInfo.networkStatus)?s():e.reobserve({fetchPolicy:"network-only"},o.I.poll).then(s,s))},s=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};s()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=(0,n.pi)((0,n.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?e:(0,u.X)(e),variables:t}),(0,l.O)(e.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(e,t){var r=this;this.isTornDown=!1;var i=t===o.I.refetch||t===o.I.fetchMore||t===o.I.poll,a=this.options.variables,u=this.options.fetchPolicy,l=(0,c.o)(this.options,e||{}),p=i?l:f(this.options,l);i||(this.updatePolling(),e&&e.variables&&!(0,s.D)(e.variables,a)&&"standby"!==p.fetchPolicy&&p.fetchPolicy===u&&(this.applyNextFetchPolicy("variables-changed",p),void 0===t&&(t=o.I.setVariables)));var h=p.variables&&(0,n.pi)({},p.variables),d=this.fetch(p,t),m={next:function(e){r.reportResult(e,h)},error:function(e){r.reportError(e,h)}};return i||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=m),d.addObserver(m),d.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError();(r||this.isDifferentFromLastResult(e))&&((r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(0,p.p)(this.observers,"next",e))},t.prototype.reportError=function(e,t){var r=(0,n.pi)((0,n.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:o.I.error,loading:!1});this.updateLastResult(r,t),(0,p.p)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(h.y);function g(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=n,"function"===typeof n?n.apply(this,arguments):r}}):e.reobserve()}function v(e){__DEV__&&i.kG.error("Unhandled error",e.message,e.stack)}function D(e){__DEV__&&e&&__DEV__&&i.kG.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}(0,d.D)(y)},476:function(e,t,r){"use strict";r.r(t),r.d(t,{ApolloCache:function(){return c.R},ApolloClient:function(){return s.f},ApolloError:function(){return l.c},ApolloLink:function(){return m.i},Cache:function(){return n},HttpLink:function(){return E.HttpLink},InMemoryCache:function(){return p.h},MissingFieldError:function(){return h.y},NetworkStatus:function(){return u.I},Observable:function(){return C.y},ObservableQuery:function(){return a.ue},checkFetcher:function(){return E.checkFetcher},concat:function(){return D},createHttpLink:function(){return E.createHttpLink},createSignalIfSupported:function(){return E.createSignalIfSupported},defaultDataIdFromObject:function(){return d.uG},defaultPrinter:function(){return E.defaultPrinter},disableExperimentalFragmentVariables:function(){return we},disableFragmentWarnings:function(){return xe},empty:function(){return y},enableExperimentalFragmentVariables:function(){return Ce},execute:function(){return b.h},fallbackHttpConfig:function(){return E.fallbackHttpConfig},from:function(){return g},fromError:function(){return A.Q},fromPromise:function(){return w},gql:function(){return be},isApolloError:function(){return l.M},isReference:function(){return T.Yk},makeReference:function(){return T.kQ},makeVar:function(){return f.QS},mergeOptions:function(){return o.J},parseAndCheckHttpResponse:function(){return E.parseAndCheckHttpResponse},resetCaches:function(){return Ee},rewriteURIForGET:function(){return E.rewriteURIForGET},selectHttpOptionsAndBody:function(){return E.selectHttpOptionsAndBody},selectHttpOptionsAndBodyInternal:function(){return E.selectHttpOptionsAndBodyInternal},selectURI:function(){return E.selectURI},serializeFetchParameter:function(){return E.serializeFetchParameter},setLogVerbosity:function(){return F.U6},split:function(){return v.V},throwServerError:function(){return S.P},toPromise:function(){return x}});var n,i=r(8964),s=r(8291),o=r(4012),a=r(4780),u=r(1644),l=r(990);n||(n={});var c=r(1294),p=r(5526),h=r(5727),d=r(9641),f=r(5983),m=r(8702),y=m.i.empty,g=m.i.from,v=r(5367),D=m.i.concat,b=r(7037),E=r(5645);function x(e){var t=!1;return new Promise((function(r,n){e.subscribe({next:function(e){t?__DEV__&&i.kG.warn("Promise Wrapper does not support multiple results from Observable"):(t=!0,r(e))},error:n})}))}var C=r(8216);function w(e){return new C.y((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}var A=r(6261),S=r(2782),T=r(1761),F=r(6128),k=r(7582);function P(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const N=/\r\n|[\n\r]/g;function _(e,t){let r=0,n=1;for(const i of e.body.matchAll(N)){if("number"===typeof i.index||P(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}function O(e,t){const r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,a=1===t.line?r:0,u=t.column+a,l=`${e.name}:${o}:${u}\n`,c=n.split(/\r\n|[\n\r]/g),p=c[i];if(p.length>120){const e=Math.floor(u/80),t=u%80,r=[];for(let n=0;n<p.length;n+=80)r.push(p.slice(n,n+80));return l+I([[`${o} |`,r[0]],...r.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",r[e+1]]])}return l+I([[o-1+" |",c[i-1]],[`${o} |`,p],["|","^".padStart(u)],[`${o+1} |`,c[i+1]]])}function I(e){const t=e.filter((([e,t])=>void 0!==t)),r=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(r)+(t?" "+t:""))).join("\n")}class B extends Error{constructor(e,...t){var r,n,i;const{nodes:s,source:o,positions:a,path:u,originalError:l,extensions:c}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!==u&&void 0!==u?u:void 0,this.originalError=null!==l&&void 0!==l?l:void 0,this.nodes=j(Array.isArray(s)?s:s?[s]:void 0);const p=j(null===(r=this.nodes)||void 0===r?void 0:r.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==o&&void 0!==o?o:null===p||void 0===p||null===(n=p[0])||void 0===n?void 0:n.source,this.positions=null!==a&&void 0!==a?a:null===p||void 0===p?void 0:p.map((e=>e.start)),this.locations=a&&o?a.map((e=>_(o,e))):null===p||void 0===p?void 0:p.map((e=>_(e.source,e.start)));const h="object"==typeof(d=null===l||void 0===l?void 0:l.extensions)&&null!==d?null===l||void 0===l?void 0:l.extensions:void 0;var d;this.extensions=null!==(i=null!==c&&void 0!==c?c:h)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!==l&&void 0!==l&&l.stack?Object.defineProperty(this,"stack",{value:l.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,B):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const r of this.nodes)r.loc&&(e+="\n\n"+O((t=r.loc).source,_(t.source,t.start)));else if(this.source&&this.locations)for(const r of this.locations)e+="\n\n"+O(this.source,r);var t;return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function j(e){return void 0===e||0===e.length?void 0:e}function L(e,t,r){return new B(`Syntax Error: ${r}`,{source:e,positions:[t]})}var M,R=r(2380);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(M||(M={}));var $,V=r(7359),U=r(7392),q=r(8297);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}($||($={}));class z{constructor(e){const t=new R.WU($.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==$.EOF)do{if(e.next)e=e.next;else{const t=K(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===$.COMMENT);return e}}function W(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function G(e,t){return H(e.charCodeAt(t))&&J(e.charCodeAt(t+1))}function H(e){return e>=55296&&e<=56319}function J(e){return e>=56320&&e<=57343}function X(e,t){const r=e.source.body.codePointAt(t);if(void 0===r)return $.EOF;if(r>=32&&r<=126){const e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function Q(e,t,r,n,i){const s=e.line,o=1+r-e.lineStart;return new R.WU(t,r,n,s,o,i)}function K(e,t){const r=e.source.body,n=r.length;let i=t;for(;i<n;){const t=r.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===r.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return Y(e,i);case 33:return Q(e,$.BANG,i,i+1);case 36:return Q(e,$.DOLLAR,i,i+1);case 38:return Q(e,$.AMP,i,i+1);case 40:return Q(e,$.PAREN_L,i,i+1);case 41:return Q(e,$.PAREN_R,i,i+1);case 46:if(46===r.charCodeAt(i+1)&&46===r.charCodeAt(i+2))return Q(e,$.SPREAD,i,i+3);break;case 58:return Q(e,$.COLON,i,i+1);case 61:return Q(e,$.EQUALS,i,i+1);case 64:return Q(e,$.AT,i,i+1);case 91:return Q(e,$.BRACKET_L,i,i+1);case 93:return Q(e,$.BRACKET_R,i,i+1);case 123:return Q(e,$.BRACE_L,i,i+1);case 124:return Q(e,$.PIPE,i,i+1);case 125:return Q(e,$.BRACE_R,i,i+1);case 34:return 34===r.charCodeAt(i+1)&&34===r.charCodeAt(i+2)?ae(e,i):te(e,i)}if((0,q.X1)(t)||45===t)return Z(e,i,t);if((0,q.LQ)(t))return ue(e,i);throw L(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":W(t)||G(r,i)?`Unexpected character: ${X(e,i)}.`:`Invalid character: ${X(e,i)}.`)}return Q(e,$.EOF,n,n)}function Y(e,t){const r=e.source.body,n=r.length;let i=t+1;for(;i<n;){const e=r.charCodeAt(i);if(10===e||13===e)break;if(W(e))++i;else{if(!G(r,i))break;i+=2}}return Q(e,$.COMMENT,t,i,r.slice(t+1,i))}function Z(e,t,r){const n=e.source.body;let i=t,s=r,o=!1;if(45===s&&(s=n.charCodeAt(++i)),48===s){if(s=n.charCodeAt(++i),(0,q.X1)(s))throw L(e.source,i,`Invalid number, unexpected digit after 0: ${X(e,i)}.`)}else i=ee(e,i,s),s=n.charCodeAt(i);if(46===s&&(o=!0,s=n.charCodeAt(++i),i=ee(e,i,s),s=n.charCodeAt(i)),69!==s&&101!==s||(o=!0,s=n.charCodeAt(++i),43!==s&&45!==s||(s=n.charCodeAt(++i)),i=ee(e,i,s),s=n.charCodeAt(i)),46===s||(0,q.LQ)(s))throw L(e.source,i,`Invalid number, expected digit but got: ${X(e,i)}.`);return Q(e,o?$.FLOAT:$.INT,t,i,n.slice(t,i))}function ee(e,t,r){if(!(0,q.X1)(r))throw L(e.source,t,`Invalid number, expected digit but got: ${X(e,t)}.`);const n=e.source.body;let i=t+1;for(;(0,q.X1)(n.charCodeAt(i));)++i;return i}function te(e,t){const r=e.source.body,n=r.length;let i=t+1,s=i,o="";for(;i<n;){const n=r.charCodeAt(i);if(34===n)return o+=r.slice(s,i),Q(e,$.STRING,t,i+1,o);if(92!==n){if(10===n||13===n)break;if(W(n))++i;else{if(!G(r,i))throw L(e.source,i,`Invalid character within String: ${X(e,i)}.`);i+=2}}else{o+=r.slice(s,i);const t=117===r.charCodeAt(i+1)?123===r.charCodeAt(i+2)?re(e,i):ne(e,i):oe(e,i);o+=t.value,i+=t.size,s=i}}throw L(e.source,i,"Unterminated string.")}function re(e,t){const r=e.source.body;let n=0,i=3;for(;i<12;){const e=r.charCodeAt(t+i++);if(125===e){if(i<5||!W(n))break;return{value:String.fromCodePoint(n),size:i}}if(n=n<<4|se(e),n<0)break}throw L(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+i)}".`)}function ne(e,t){const r=e.source.body,n=ie(r,t+2);if(W(n))return{value:String.fromCodePoint(n),size:6};if(H(n)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){const e=ie(r,t+8);if(J(e))return{value:String.fromCodePoint(n,e),size:12}}throw L(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}function ie(e,t){return se(e.charCodeAt(t))<<12|se(e.charCodeAt(t+1))<<8|se(e.charCodeAt(t+2))<<4|se(e.charCodeAt(t+3))}function se(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function oe(e,t){const r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw L(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}function ae(e,t){const r=e.source.body,n=r.length;let i=e.lineStart,s=t+3,o=s,a="";const u=[];for(;s<n;){const n=r.charCodeAt(s);if(34===n&&34===r.charCodeAt(s+1)&&34===r.charCodeAt(s+2)){a+=r.slice(o,s),u.push(a);const n=Q(e,$.BLOCK_STRING,t,s+3,(0,U.wv)(u).join("\n"));return e.line+=u.length-1,e.lineStart=i,n}if(92!==n||34!==r.charCodeAt(s+1)||34!==r.charCodeAt(s+2)||34!==r.charCodeAt(s+3))if(10!==n&&13!==n)if(W(n))++s;else{if(!G(r,s))throw L(e.source,s,`Invalid character within String: ${X(e,s)}.`);s+=2}else a+=r.slice(o,s),u.push(a),13===n&&10===r.charCodeAt(s+1)?s+=2:++s,a="",o=s,i=s;else a+=r.slice(o,s),o=s+1,s+=4}throw L(e.source,s,"Unterminated string.")}function ue(e,t){const r=e.source.body,n=r.length;let i=t+1;for(;i<n;){const e=r.charCodeAt(i);if(!(0,q.HQ)(e))break;++i}return Q(e,$.NAME,t,i,r.slice(t,i))}var le=r(1270);class ce{constructor(e,t={}){const r=(0,le.T)(e)?e:new le.H(e);this._lexer=new z(r),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken($.NAME);return this.node(e,{kind:V.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:V.h.DOCUMENT,definitions:this.many($.SOF,this.parseDefinition,$.EOF)})}parseDefinition(){if(this.peek($.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===$.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw L(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek($.BRACE_L))return this.node(e,{kind:V.h.OPERATION_DEFINITION,operation:R.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let r;return this.peek($.NAME)&&(r=this.parseName()),this.node(e,{kind:V.h.OPERATION_DEFINITION,operation:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken($.NAME);switch(e.value){case"query":return R.ku.QUERY;case"mutation":return R.ku.MUTATION;case"subscription":return R.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany($.PAREN_L,this.parseVariableDefinition,$.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:V.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken($.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken($.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken($.DOLLAR),this.node(e,{kind:V.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:V.h.SELECTION_SET,selections:this.many($.BRACE_L,this.parseSelection,$.BRACE_R)})}parseSelection(){return this.peek($.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let r,n;return this.expectOptionalToken($.COLON)?(r=t,n=this.parseName()):n=t,this.node(e,{kind:V.h.FIELD,alias:r,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek($.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany($.PAREN_L,t,$.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,r=this.parseName();return this.expectToken($.COLON),this.node(t,{kind:V.h.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken($.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek($.NAME)?this.node(e,{kind:V.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:V.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:V.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:V.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case $.BRACKET_L:return this.parseList(e);case $.BRACE_L:return this.parseObject(e);case $.INT:return this.advanceLexer(),this.node(t,{kind:V.h.INT,value:t.value});case $.FLOAT:return this.advanceLexer(),this.node(t,{kind:V.h.FLOAT,value:t.value});case $.STRING:case $.BLOCK_STRING:return this.parseStringLiteral();case $.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:V.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:V.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:V.h.NULL});default:return this.node(t,{kind:V.h.ENUM,value:t.value})}case $.DOLLAR:if(e){if(this.expectToken($.DOLLAR),this._lexer.token.kind===$.NAME){const e=this._lexer.token.value;throw L(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:V.h.STRING,value:e.value,block:e.kind===$.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:V.h.LIST,values:this.any($.BRACKET_L,(()=>this.parseValueLiteral(e)),$.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:V.h.OBJECT,fields:this.any($.BRACE_L,(()=>this.parseObjectField(e)),$.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,r=this.parseName();return this.expectToken($.COLON),this.node(t,{kind:V.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek($.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken($.AT),this.node(t,{kind:V.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken($.BRACKET_L)){const r=this.parseTypeReference();this.expectToken($.BRACKET_R),t=this.node(e,{kind:V.h.LIST_TYPE,type:r})}else t=this.parseNamedType();return this.expectOptionalToken($.BANG)?this.node(e,{kind:V.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:V.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek($.STRING)||this.peek($.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),n=this.many($.BRACE_L,this.parseOperationTypeDefinition,$.BRACE_R);return this.node(e,{kind:V.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken($.COLON);const r=this.parseNamedType();return this.node(e,{kind:V.h.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:V.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:V.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany($.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany($.BRACE_L,this.parseFieldDefinition,$.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken($.COLON);const i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:V.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany($.PAREN_L,this.parseInputValueDef,$.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken($.COLON);const n=this.parseTypeReference();let i;this.expectOptionalToken($.EQUALS)&&(i=this.parseConstValueLiteral());const s=this.parseConstDirectives();return this.node(e,{kind:V.h.INPUT_VALUE_DEFINITION,description:t,name:r,type:n,defaultValue:i,directives:s})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:V.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:s})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:V.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken($.EQUALS)?this.delimitedMany($.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:V.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany($.BRACE_L,this.parseEnumValueDefinition,$.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:V.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw L(this._lexer.source,this._lexer.token.start,`${pe(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:V.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany($.BRACE_L,this.parseInputValueDef,$.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===$.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),r=this.optionalMany($.BRACE_L,this.parseOperationTypeDefinition,$.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:V.h.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:V.h.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:V.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:V.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:V.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:V.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:V.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken($.AT);const r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const s=this.parseDirectiveLocations();return this.node(e,{kind:V.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:s})}parseDirectiveLocations(){return this.delimitedMany($.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(M,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new R.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw L(this._lexer.source,t.start,`Expected ${he(e)}, found ${pe(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==$.NAME||t.value!==e)throw L(this._lexer.source,t.start,`Expected "${e}", found ${pe(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===$.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return L(this._lexer.source,t.start,`Unexpected ${pe(t)}.`)}any(e,t,r){this.expectToken(e);const n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);const n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);const r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==$.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw L(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function pe(e){const t=e.value;return he(e.kind)+(null!=t?` "${t}"`:"")}function he(e){return function(e){return e===$.BANG||e===$.DOLLAR||e===$.AMP||e===$.PAREN_L||e===$.PAREN_R||e===$.SPREAD||e===$.COLON||e===$.EQUALS||e===$.AT||e===$.BRACKET_L||e===$.BRACKET_R||e===$.BRACE_L||e===$.PIPE||e===$.BRACE_R}(e)?`"${e}"`:e}var de=new Map,fe=new Map,me=!0,ye=!1;function ge(e){return e.replace(/[\s,]+/g," ").trim()}function ve(e){var t=new Set,r=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var n=e.name.value,i=ge((o=e.loc).source.body.substring(o.start,o.end)),s=fe.get(n);s&&!s.has(i)?me&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):s||fe.set(n,s=new Set),s.add(i),t.has(i)||(t.add(i),r.push(e))}else r.push(e);var o})),(0,k.pi)((0,k.pi)({},e),{definitions:r})}function De(e){var t=ge(e);if(!de.has(t)){var r=function(e,t){return new ce(e,t).parseDocument()}(e,{experimentalFragmentVariables:ye,allowLegacyFragmentVariables:ye});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");de.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(r){var n=e[r];n&&"object"===typeof n&&t.add(n)}))}));var r=e.loc;return r&&(delete r.startToken,delete r.endToken),e}(ve(r)))}return de.get(t)}function be(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"===typeof e&&(e=[e]);var n=e[0];return t.forEach((function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]})),De(n)}function Ee(){de.clear(),fe.clear()}function xe(){me=!1}function Ce(){ye=!0}function we(){ye=!1}var Ae,Se=be,Te=Ee,Fe=xe,ke=Ce,Pe=we;(Ae=be||(be={})).gql=Se,Ae.resetCaches=Te,Ae.disableFragmentWarnings=Fe,Ae.enableExperimentalFragmentVariables=ke,Ae.disableExperimentalFragmentVariables=Pe,be.default=be;(0,F.U6)(i.Rk?"log":"silent")},1644:function(e,t,r){"use strict";var n;function i(e){return!!e&&e<7}r.d(t,{I:function(){return n},O:function(){return i}}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},990:function(e,t,r){"use strict";r.d(t,{M:function(){return s},c:function(){return o}});var n=r(7582),i=(r(8964),r(1436));function s(e){return e.hasOwnProperty("graphQLErrors")}var o=function(e){function t(r){var n=r.graphQLErrors,s=r.clientErrors,o=r.networkError,a=r.errorMessage,u=r.extraInfo,l=e.call(this,a)||this;return l.graphQLErrors=n||[],l.clientErrors=s||[],l.networkError=o||null,l.message=a||function(e){var t="";return((0,i.O)(e.graphQLErrors)||(0,i.O)(e.clientErrors))&&(e.graphQLErrors||[]).concat(e.clientErrors||[]).forEach((function(e){var r=e?e.message:"Error message not found.";t+="".concat(r,"\n")})),e.networkError&&(t+="".concat(e.networkError.message,"\n")),t=t.replace(/\n$/,"")}(l),l.extraInfo=u,l.__proto__=t.prototype,l}return(0,n.ZT)(t,e),t}(Error)},8702:function(e,t,r){"use strict";r.d(t,{i:function(){return p}});var n=r(7582),i=r(8964),s=r(8216);var o=r(6765);function a(e,t){return t?t(e):s.y.of()}function u(e){return"function"===typeof e?new p(e):e}function l(e){return e.request.length<=1}var c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.link=r,n}return(0,n.ZT)(t,e),t}(Error),p=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return s.y.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var i=u(r),o=u(n||new e(a));return l(i)&&l(o)?new e((function(e){return t(e)?i.request(e)||s.y.of():o.request(e)||s.y.of()})):new e((function(e,r){return t(e)?i.request(e,r)||s.y.of():o.request(e,r)||s.y.of()}))},e.execute=function(e,t){return e.request(function(e,t){var r=(0,n.pi)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"===typeof e?(0,n.pi)((0,n.pi)({},r),e(r)):(0,n.pi)((0,n.pi)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,n.pi)({},r)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?(0,o.rY)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var s=n[r];if(t.indexOf(s)<0)throw __DEV__?new i.ej("illegal argument: ".concat(s)):new i.ej(24)}return e}(t))))||s.y.of()},e.concat=function(t,r){var n=u(t);if(l(n))return __DEV__&&i.kG.warn(new c("You are calling concat on a terminating link, which will have no effect",n)),n;var o=u(r);return l(o)?new e((function(e){return n.request(e,(function(e){return o.request(e)||s.y.of()}))||s.y.of()})):new e((function(e,t){return n.request(e,(function(e){return o.request(e,t)||s.y.of()}))||s.y.of()}))},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(a)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new i.ej("request is not implemented"):new i.ej(19)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},7037:function(e,t,r){"use strict";r.d(t,{h:function(){return n}});var n=r(8702).i.execute},5367:function(e,t,r){"use strict";r.d(t,{V:function(){return n}});var n=r(8702).i.split},2198:function(e,t,r){"use strict";r.d(t,{u:function(){return o}});var n=r(7582),i=r(8702),s=r(4747),o=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,(0,s.L)(t).request)||this;return r.options=t,r}return(0,n.ZT)(t,e),t}(i.i)},3178:function(e,t,r){"use strict";r.d(t,{U:function(){return i}});var n=r(8964),i=function(e){if(!e&&"undefined"===typeof fetch)throw __DEV__?new n.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new n.ej(20)}},4747:function(e,t,r){"use strict";r.d(t,{L:function(){return g}});var n=r(7582),i=r(8964),s=r(7304),o=r(8702),a=r(8216),u=r(5049),l=r(1037),c=r(4805),p=r(3178),h=r(3453),d=r(7388),f=r(8663),m=r(6261),y=(0,i.wY)((function(){return fetch})),g=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,g=e.fetch,v=e.print,D=void 0===v?h.sb:v,b=e.includeExtensions,E=e.useGETForQueries,x=e.includeUnusedVariables,C=void 0!==x&&x,w=(0,n._T)(e,["uri","fetch","print","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&(0,p.U)(g||y);var A={http:{includeExtensions:b},options:w.fetchOptions,credentials:w.credentials,headers:w.headers};return new o.i((function(e){var t=(0,l.r)(e,r),o=e.getContext(),p={};if(o.clientAwareness){var v=o.clientAwareness,b=v.name,x=v.version;b&&(p["apollographql-client-name"]=b),x&&(p["apollographql-client-version"]=x)}var w,S=(0,n.pi)((0,n.pi)({},p),o.headers),T={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:S},F=(0,h.ve)(e,D,h.SC,A,T),k=F.options,P=F.body;if(P.variables&&!C){var N=new Set(Object.keys(P.variables));(0,s.Vn)(e.query,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&N.delete(e.name.value)}}),N.size&&(P.variables=(0,n.pi)({},P.variables),N.forEach((function(e){delete P.variables[e]})))}if(!k.signal){var _=(0,d.$)(),O=_.controller,I=_.signal;(w=O)&&(k.signal=I)}if(E&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(k.method="GET"),"GET"===k.method){var B=(0,f.H)(t,P),j=B.newURI,L=B.parseError;if(L)return(0,m.Q)(L);t=j}else try{k.body=(0,u.g)(P,"Payload")}catch(L){return(0,m.Q)(L)}return new a.y((function(r){return(g||(0,i.wY)((function(){return fetch}))||y)(t,k).then((function(t){return e.setContext({response:t}),t})).then((0,c.d)(e)).then((function(e){return r.next(e),r.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))})),function(){w&&w.abort()}}))}))}},7388:function(e,t,r){"use strict";r.d(t,{$:function(){return n}});var n=function(){if("undefined"===typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}},5645:function(e,t,r){"use strict";r.r(t),r.d(t,{HttpLink:function(){return c.u},checkFetcher:function(){return o.U},createHttpLink:function(){return l.L},createSignalIfSupported:function(){return a.$},defaultPrinter:function(){return s.sb},fallbackHttpConfig:function(){return s.SC},parseAndCheckHttpResponse:function(){return n.d},rewriteURIForGET:function(){return p.H},selectHttpOptionsAndBody:function(){return s.E4},selectHttpOptionsAndBodyInternal:function(){return s.ve},selectURI:function(){return u.r},serializeFetchParameter:function(){return i.g}});r(8964);var n=r(4805),i=r(5049),s=r(3453),o=r(3178),a=r(7388),u=r(1037),l=r(4747),c=r(2198),p=r(8663)},4805:function(e,t,r){"use strict";r.d(t,{d:function(){return s}});var n=r(2782),i=Object.prototype.hasOwnProperty;function s(e){return function(t){return t.text().then((function(e){try{return JSON.parse(e)}catch(n){var r=n;throw r.name="ServerParseError",r.response=t,r.statusCode=t.status,r.bodyText=e,r}})).then((function(r){return t.status>=300&&(0,n.P)(t,r,"Response not successful: Received status code ".concat(t.status)),Array.isArray(r)||i.call(r,"data")||i.call(r,"errors")||(0,n.P)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName,"'.")),r}))}}},8663:function(e,t,r){"use strict";r.d(t,{H:function(){return i}});var n=r(5049);function i(e,t){var r=[],i=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var s=void 0;try{s=(0,n.g)(t.variables,"Variables map")}catch(p){return{parseError:p}}i("variables",s)}if(t.extensions){var o=void 0;try{o=(0,n.g)(t.extensions,"Extensions map")}catch(p){return{parseError:p}}i("extensions",o)}var a="",u=e,l=e.indexOf("#");-1!==l&&(a=e.substr(l),u=e.substr(0,l));var c=-1===u.indexOf("?")?"?":"&";return{newURI:u+c+r.join("&")+a}}},3453:function(e,t,r){"use strict";r.d(t,{E4:function(){return a},SC:function(){return s},sb:function(){return o},ve:function(){return u}});var n=r(7582),i=r(6918),s={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},o=function(e,t){return t(e)};function a(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return r.unshift(t),u.apply(void 0,(0,n.ev)([e,o],r,!1))}function u(e,t){for(var r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];var o={},a={};r.forEach((function(e){o=(0,n.pi)((0,n.pi)((0,n.pi)({},o),e.options),{headers:(0,n.pi)((0,n.pi)({},o.headers),l(e.headers))}),e.credentials&&(o.credentials=e.credentials),a=(0,n.pi)((0,n.pi)({},a),e.http)}));var u=e.operationName,c=e.extensions,p=e.variables,h=e.query,d={operationName:u,variables:p};return a.includeExtensions&&(d.extensions=c),a.includeQuery&&(d.query=t(h,i.S)),{options:o,body:d}}function l(e){if(e){var t=Object.create(null);return Object.keys(Object(e)).forEach((function(r){t[r.toLowerCase()]=e[r]})),t}return e}},1037:function(e,t,r){"use strict";r.d(t,{r:function(){return n}});var n=function(e,t){var r=e.getContext().uri;return r||("function"===typeof t?t(e):t||"/graphql")}},5049:function(e,t,r){"use strict";r.d(t,{g:function(){return i}});var n=r(8964),i=function(e,t){var r;try{r=JSON.stringify(e)}catch(s){var i=__DEV__?new n.ej("Network request failed. ".concat(t," is not serializable: ").concat(s.message)):new n.ej(21);throw i.parseError=s,i}return r}},6261:function(e,t,r){"use strict";r.d(t,{Q:function(){return i}});var n=r(8216);function i(e){return new n.y((function(t){t.error(e)}))}},2782:function(e,t,r){"use strict";r.d(t,{P:function(){return n}});var n=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}},1436:function(e,t,r){"use strict";function n(e){return Array.isArray(e)&&e.length>0}r.d(t,{O:function(){return n}})},320:function(e,t,r){"use strict";r.d(t,{aS:function(){return o},mr:function(){return i},sy:function(){return s}});var n=r(8964),i="function"===typeof WeakMap&&"ReactNative"!==(0,n.wY)((function(){return navigator.product})),s="function"===typeof WeakSet,o="function"===typeof Symbol&&"function"===typeof Symbol.for;(0,n.wY)((function(){return window.document.createElement})),(0,n.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))},9487:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=Object.prototype.toString;function i(e){return s(e)}function s(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach((function(e,n){r[n]=s(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(r){i[r]=s(e[r],t)})),i;default:return e}}},3712:function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];void 0!==n&&(r[t]=n)}))})),r}r.d(t,{o:function(){return n}})},897:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},182:function(e,t,r){"use strict";r.d(t,{Ee:function(){return o},bw:function(){return a},w0:function(){return l}});var n=r(7582),i=r(3154),s=Object.prototype.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a(e)}function a(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new l,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},l=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];return(0,i.s)(t)&&(0,i.s)(e)?(Object.keys(t).forEach((function(i){if(s.call(e,i)){var a=e[i];if(t[i]!==a){var u=r.reconciler.apply(r,(0,n.ev)([e,t,i],o,!1));u!==a&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.s)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},4012:function(e,t,r){"use strict";r.d(t,{J:function(){return s}});var n=r(7582),i=r(3712);function s(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,n.pi)((0,n.pi)({},e&&e.variables),t.variables)})}},3154:function(e,t,r){"use strict";function n(e){return null!==e&&"object"===typeof e}r.d(t,{s:function(){return n}})},8964:function(e,t,r){"use strict";r.d(t,{Rk:function(){return u},ej:function(){return n.ej},kG:function(){return n.kG},wY:function(){return i}});var n=r(6128);function i(e){try{return e()}catch(t){}}var s=i((function(){return globalThis}))||i((function(){return window}))||i((function(){return self}))||i((function(){return global}))||i((function(){return i.constructor("return this")()})),o="__",a=[o,o].join("DEV");var u=function(){try{return Boolean(__DEV__)}catch(e){return Object.defineProperty(s,a,{value:"production"!==i((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),s[a]}}(),l=r(2725);function c(e){try{return e()}catch(t){}}var p=c((function(){return globalThis}))||c((function(){return window}))||c((function(){return self}))||c((function(){return global}))||c((function(){return c.constructor("return this")()})),h=!1;function d(){h&&(delete p.process,h=!1)}!p||c((function(){return"production"}))||c((function(){return l}))||(Object.defineProperty(p,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),h=!0),r(1270).H,d(),__DEV__?(0,n.kG)("boolean"===typeof u,u):(0,n.kG)("boolean"===typeof u,36)},9065:function(e,t,r){"use strict";r.d(t,{FS:function(){return o},LZ:function(){return s},mj:function(){return a}});var n=r(8964),i=r(7304);function s(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,i=e.name.value;__DEV__?(0,n.kG)(r&&1===r.length,"Incorrect number of arguments for the @".concat(i," directive.")):(0,n.kG)(r&&1===r.length,38);var s=r[0];__DEV__?(0,n.kG)(s.name&&"if"===s.name.value,"Invalid argument for the @".concat(i," directive.")):(0,n.kG)(s.name&&"if"===s.name.value,39);var o=s.value;__DEV__?(0,n.kG)(o&&("Variable"===o.kind||"BooleanValue"===o.kind),"Argument for the @".concat(i," directive must be a variable or a boolean value.")):(0,n.kG)(o&&("Variable"===o.kind||"BooleanValue"===o.kind),40),t.push({directive:e,ifArgument:s})}}));return t}(r).every((function(e){var r=e.directive,i=e.ifArgument,s=!1;return"Variable"===i.value.kind?(s=t&&t[i.value.name.value],__DEV__?(0,n.kG)(void 0!==s,"Invalid variable referenced in @".concat(r.name.value," directive.")):(0,n.kG)(void 0!==s,37)):s=i.value.value,"skip"===r.name.value?!s:s}))}function o(e,t){return function(e){var t=[];return(0,i.Vn)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function a(e){return e&&o(["client"],e)&&o(["export"],e)}},3361:function(e,t,r){"use strict";r.d(t,{F:function(){return o},Yk:function(){return s},hi:function(){return a}});var n=r(7582),i=r(8964);function s(e,t){var r=t,s=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new i.ej("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new i.ej(41);"FragmentDefinition"===e.kind&&s.push(e)})),"undefined"===typeof r&&(__DEV__?(0,i.kG)(1===s.length,"Found ".concat(s.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,i.kG)(1===s.length,42),r=s[0].name.value),(0,n.pi)((0,n.pi)({},e),{definitions:(0,n.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function o(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function a(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=t&&t[e.name.value];return __DEV__?(0,i.kG)(r,"No fragment named ".concat(e.name.value,".")):(0,i.kG)(r,43),r;default:return null}}},6765:function(e,t,r){"use strict";r.d(t,{$H:function(){return o},A$:function(){return s},O4:function(){return h},iW:function(){return l},kU:function(){return u},p$:function(){return p},pD:function(){return c},rY:function(){return a}});var n=r(8964),i=r(1761);function s(e){__DEV__?(0,n.kG)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.kG)(e&&"Document"===e.kind,44);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new n.ej('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new n.ej(45);return e}));return __DEV__?(0,n.kG)(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):(0,n.kG)(t.length<=1,46),e}function o(e){return s(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function a(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function u(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function l(e){var t=o(e);return __DEV__?(0,n.kG)(t&&"query"===t.operation,"Must contain a query definition."):(0,n.kG)(t&&"query"===t.operation,47),t}function c(e){__DEV__?(0,n.kG)("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.kG)("Document"===e.kind,48),__DEV__?(0,n.kG)(e.definitions.length<=1,"Fragment must have exactly one definition."):(0,n.kG)(e.definitions.length<=1,49);var t=e.definitions[0];return __DEV__?(0,n.kG)("FragmentDefinition"===t.kind,"Must be a fragment definition."):(0,n.kG)("FragmentDefinition"===t.kind,50),t}function p(e){var t;s(e);for(var r=0,i=e.definitions;r<i.length;r++){var o=i[r];if("OperationDefinition"===o.kind){var a=o.operation;if("query"===a||"mutation"===a||"subscription"===a)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw __DEV__?new n.ej("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new n.ej(51)}function h(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach((function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)})),t}},1761:function(e,t,r){"use strict";r.d(t,{Ao:function(){return D},JW:function(){return u},My:function(){return v},NC:function(){return m},PT:function(){return h},Yk:function(){return a},kQ:function(){return o},qw:function(){return g},u2:function(){return y},vb:function(){return l},vf:function(){return c}});var n=r(8964),i=r(3154),s=r(3361);function o(e){return{__ref:String(e)}}function a(e){return Boolean(e&&"object"===typeof e&&"string"===typeof e.__ref)}function u(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,r,i){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var s={};r.fields.map((function(e){return l(s,e.name,e.value,i)})),e[t.value]=s}else if(function(e){return"Variable"===e.kind}(r)){var o=(i||{})[r.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return l(r,t,e,i),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw __DEV__?new n.ej('The inline argument "'.concat(t.value,'" of kind "').concat(r.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new n.ej(52);e[t.value]=null}}function c(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,s=n.value;return l(r[e.name.value],i,s,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,i=e.value;return l(n,r,i,t)}))),h(e.name.value,n,r)}var p=["connection","include","skip","client","rest","export"],h=Object.assign((function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),"".concat(r.connection.key,"(").concat(d(i),")")}return r.connection.key}var s=e;if(t){var o=d(t);s+="(".concat(o,")")}return r&&Object.keys(r).forEach((function(e){-1===p.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?s+="@".concat(e,"(").concat(d(r[e]),")"):s+="@".concat(e))})),s}),{setStringify:function(e){var t=d;return d=e,t}}),d=function(e){return JSON.stringify(e,f)};function f(e,t){return(0,i.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{})),t}function m(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return l(r,n,i,t)})),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function g(e,t,r){if("string"===typeof e.__typename)return e.__typename;for(var n=0,i=t.selections;n<i.length;n++){var o=i[n];if(v(o)){if("__typename"===o.name.value)return e[y(o)]}else{var a=g(e,(0,s.hi)(o,r).selectionSet,r);if("string"===typeof a)return a}}}function v(e){return"Field"===e.kind}function D(e){return"InlineFragment"===e.kind}},6982:function(e,t,r){"use strict";r.d(t,{Gw:function(){return m},aL:function(){return D},ob:function(){return b},Fo:function(){return g}});var n=r(7582),i=r(8964),s=r(7304),o=r(6765);function a(e,t,r){var n=0;return e.forEach((function(r,i){t.call(this,r,i,e)&&(e[n++]=r)}),r),e.length=n,e}var u=r(1761),l=r(3361),c={kind:"Field",name:{kind:"Name",value:"__typename"}};function p(e,t){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&p(t[e.name.value],t)}))}function h(e){return p((0,o.$H)(e)||(0,o.pD)(e),(0,l.F)((0,o.kU)(e)))?null:e}function d(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function f(e,t){var r=Object.create(null),i=[],o=Object.create(null),u=[],l=h((0,s.Vn)(t,{Variable:{enter:function(e,t,n){"VariableDefinition"!==n.kind&&(r[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(d(e))))return t.arguments&&t.arguments.forEach((function(e){"Variable"===e.value.kind&&i.push({name:e.value.name.value})})),t.selectionSet&&v(t.selectionSet).forEach((function(e){u.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){o[e.name.value]=!0}},Directive:{enter:function(t){if(d(e)(t))return null}}}));return l&&a(i,(function(e){return!!e.name&&!r[e.name]})).length&&(l=function(e,t){var r=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return h((0,s.Vn)(t,{OperationDefinition:{enter:function(t){return(0,n.pi)((0,n.pi)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var n=0;if(t.arguments&&t.arguments.forEach((function(e){r(e)&&(n+=1)})),1===n)return null}}},Argument:{enter:function(e){if(r(e))return null}}}))}(i,l)),l&&a(u,(function(e){return!!e.name&&!o[e.name]})).length&&(l=function(e,t){function r(t){if(e.some((function(e){return e.name===t.name.value})))return null}return h((0,s.Vn)(t,{FragmentSpread:{enter:r},FragmentDefinition:{enter:r}}))}(u,l)),l}var m=Object.assign((function(e){return(0,s.Vn)(e,{SelectionSet:{enter:function(e,t,r){if(!r||"OperationDefinition"!==r.kind){var i=e.selections;if(i)if(!i.some((function(e){return(0,u.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var s=r;if(!((0,u.My)(s)&&s.directives&&s.directives.some((function(e){return"export"===e.name.value}))))return(0,n.pi)((0,n.pi)({},e),{selections:(0,n.ev)((0,n.ev)([],i,!0),[c],!1)})}}}}})}),{added:function(e){return e===c}}),y={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&i.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function g(e){return f([y],(0,o.A$)(e))}function v(e){var t=[];return e.selections.forEach((function(e){((0,u.My)(e)||(0,u.Ao)(e))&&e.selectionSet?v(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function D(e){return"query"===(0,o.p$)(e).operation?e:(0,s.Vn)(e,{OperationDefinition:{enter:function(e){return(0,n.pi)((0,n.pi)({},e),{operation:"query"})}}})}function b(e){(0,o.A$)(e);var t=f([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=(0,s.Vn)(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return(0,u.My)(e)&&"__typename"===e.name.value})))return null}}})),t}},8263:function(e,t,r){"use strict";function n(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}r.d(t,{p:function(){return n}})},6403:function(e,t,r){"use strict";r.d(t,{D:function(){return s}});var n=r(8216),i=r(320);function s(e){function t(t){Object.defineProperty(e,t,{value:n.y})}return i.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}},4942:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(3997);function i(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},7462:function(e,t,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:function(){return n}})},1413:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(4942);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},3997:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1002);function i(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},1002:function(e,t,r){"use strict";function n(e){return n="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},n(e)}r.d(t,{Z:function(){return n}})},20:function(e,t,r){"use strict";r.d(t,{D:function(){return a}});const{toString:n,hasOwnProperty:i}=Object.prototype,s=Function.prototype.toString,o=new Map;function a(e,t){try{return u(e,t)}finally{o.clear()}}function u(e,t){if(e===t)return!0;const r=n.call(e);if(r!==n.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(h(e,t))return!0;const r=l(e),n=l(t),s=r.length;if(s!==n.length)return!1;for(let e=0;e<s;++e)if(!i.call(t,r[e]))return!1;for(let i=0;i<s;++i){const n=r[i];if(!u(e[n],t[n]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e===+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(h(e,t))return!0;const n=e.entries(),i="[object Map]"===r;for(;;){const e=n.next();if(e.done)break;const[r,s]=e.value;if(!t.has(r))return!1;if(i&&!u(s,t.get(r)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let r=e.byteLength;if(r===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const r=s.call(e);return r===s.call(t)&&!function(e,t){const r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(r,p)}}return!1}function l(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}const p="{ [native code] }";function h(e,t){let r=o.get(e);if(r){if(r.has(t))return!0}else o.set(e,r=new Set);return r.add(t),!1}},7826:function(e,t,r){"use strict";function n(e,t){if(!Boolean(e))throw new Error(t)}r.d(t,{a:function(){return n}})},5821:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});function n(e){return i(e,[])}function i(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const r=[...t,e];if(function(e){return"function"===typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"===typeof t?t:i(t,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const r=Math.min(10,e.length),n=e.length-r,s=[];for(let o=0;o<r;++o)s.push(i(e[o],t));1===n?s.push("... 1 more item"):n>1&&s.push(`... ${n} more items`);return"["+s.join(", ")+"]"}(e,r);return function(e,t){const r=Object.entries(e);if(0===r.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){const t=e.constructor.name;if("string"===typeof t&&""!==t)return t}return t}(e)+"]";const n=r.map((([e,r])=>e+": "+i(r,t)));return"{ "+n.join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}},2380:function(e,t,r){"use strict";r.d(t,{UG:function(){return a},WU:function(){return i},Ye:function(){return n},h8:function(){return s},ku:function(){return u}});class n{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,r,n,i,s){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const s={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},o=new Set(Object.keys(s));function a(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&o.has(t)}var u;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(u||(u={}))},7392:function(e,t,r){"use strict";r.d(t,{LZ:function(){return o},wv:function(){return i}});var n=r(8297);function i(e){var t;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let a=0;a<e.length;++a){var o;const t=e[a],u=s(t);u!==t.length&&(n=null!==(o=n)&&void 0!==o?o:a,i=a,0!==a&&u<r&&(r=u))}return e.map(((e,t)=>0===t?e:e.slice(r))).slice(null!==(t=n)&&void 0!==t?t:0,i+1)}function s(e){let t=0;for(;t<e.length&&(0,n.FD)(e.charCodeAt(t));)++t;return t}function o(e,t){const r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),s=1===i.length,o=i.length>1&&i.slice(1).every((e=>0===e.length||(0,n.FD)(e.charCodeAt(0)))),a=r.endsWith('\\"""'),u=e.endsWith('"')&&!a,l=e.endsWith("\\"),c=u||l,p=!(null!==t&&void 0!==t&&t.minimize)&&(!s||e.length>70||c||o||a);let h="";const d=s&&(0,n.FD)(e.charCodeAt(0));return(p&&!d||o)&&(h+="\n"),h+=r,(p||c)&&(h+="\n"),'"""'+h+'"""'}},8297:function(e,t,r){"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function s(e){return e>=97&&e<=122||e>=65&&e<=90}function o(e){return s(e)||95===e}function a(e){return s(e)||i(e)||95===e}r.d(t,{FD:function(){return n},HQ:function(){return a},LQ:function(){return o},X1:function(){return i}})},7359:function(e,t,r){"use strict";var n;r.d(t,{h:function(){return n}}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(n={}))},6918:function(e,t,r){"use strict";r.d(t,{S:function(){return u}});var n=r(7392);const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function s(e){return o[e.charCodeAt(0)]}const o=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var a=r(7304);function u(e){return(0,a.Vn)(e,l)}const l={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>c(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=h("(",c(e.variableDefinitions,", "),")"),r=c([e.operation,c([e.name,t]),c(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+h(" = ",r)+h(" ",c(n," "))},SelectionSet:{leave:({selections:e})=>p(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){const s=h("",e,": ")+t;let o=s+h("(",c(r,", "),")");return o.length>80&&(o=s+h("(\n",d(c(r,"\n")),"\n)")),c([o,c(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+h(" ",c(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>c(["...",h("on ",e),c(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${h("(",c(r,", "),")")} on ${t} ${h("",c(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.LZ)(e):`"${e.replace(i,s)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+c(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+c(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+h("(",c(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>h("",e,"\n")+c(["schema",c(t," "),p(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+c(["scalar",t,c(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+c(["type",t,h("implements ",c(r," & ")),c(n," "),p(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>h("",e,"\n")+t+(f(r)?h("(\n",d(c(r,"\n")),"\n)"):h("(",c(r,", "),")"))+": "+n+h(" ",c(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>h("",e,"\n")+c([t+": "+r,h("= ",n),c(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+c(["interface",t,h("implements ",c(r," & ")),c(n," "),p(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>h("",e,"\n")+c(["union",t,c(r," "),h("= ",c(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>h("",e,"\n")+c(["enum",t,c(r," "),p(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+c([t,c(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>h("",e,"\n")+c(["input",t,c(r," "),p(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>h("",e,"\n")+"directive @"+t+(f(r)?h("(\n",d(c(r,"\n")),"\n)"):h("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>c(["extend schema",c(e," "),p(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>c(["extend scalar",e,c(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend type",e,h("implements ",c(t," & ")),c(r," "),p(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend interface",e,h("implements ",c(t," & ")),c(r," "),p(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>c(["extend union",e,c(t," "),h("= ",c(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>c(["extend enum",e,c(t," "),p(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>c(["extend input",e,c(t," "),p(r)]," ")}};function c(e,t=""){var r;return null!==(r=null===e||void 0===e?void 0:e.filter((e=>e)).join(t))&&void 0!==r?r:""}function p(e){return h("{\n",d(c(e,"\n")),"\n}")}function h(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function d(e){return h(" ",e.replace(/\n/g,"\n "))}function f(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},1270:function(e,t,r){"use strict";r.d(t,{H:function(){return o},T:function(){return a}});var n=r(7826),i=r(5821);const s=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"===typeof e&&null!==e){var r;const n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(r=e.constructor)||void 0===r?void 0:r.name)){const t=(0,i.X)(e);throw new Error(`Cannot use ${n} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class o{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"===typeof e||(0,n.a)(!1,`Body must be a string. Received: ${(0,i.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,n.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function a(e){return s(e,o)}},7304:function(e,t,r){"use strict";r.d(t,{$_:function(){return a},Vn:function(){return u}});var n=r(7826),i=r(5821),s=r(2380),o=r(7359);const a=Object.freeze({});function u(e,t,r=s.h8){const u=new Map;for(const n of Object.values(o.h))u.set(n,l(t,n));let c,p,h,d=Array.isArray(e),f=[e],m=-1,y=[],g=e;const v=[],D=[];do{m++;const e=m===f.length,o=e&&0!==y.length;if(e){if(p=0===D.length?void 0:v[v.length-1],g=h,h=D.pop(),o)if(d){g=g.slice();let e=0;for(const[t,r]of y){const n=t-e;null===r?(g.splice(n,1),e++):g[n]=r}}else{g=Object.defineProperties({},Object.getOwnPropertyDescriptors(g));for(const[e,t]of y)g[e]=t}m=c.index,f=c.keys,y=c.edits,d=c.inArray,c=c.prev}else if(h){if(p=d?m:f[m],g=h[p],null===g||void 0===g)continue;v.push(p)}let l;if(!Array.isArray(g)){var b,E;(0,s.UG)(g)||(0,n.a)(!1,`Invalid AST Node: ${(0,i.X)(g)}.`);const r=e?null===(b=u.get(g.kind))||void 0===b?void 0:b.leave:null===(E=u.get(g.kind))||void 0===E?void 0:E.enter;if(l=null===r||void 0===r?void 0:r.call(t,g,p,h,v,D),l===a)break;if(!1===l){if(!e){v.pop();continue}}else if(void 0!==l&&(y.push([p,l]),!e)){if(!(0,s.UG)(l)){v.pop();continue}g=l}}var x;if(void 0===l&&o&&y.push([p,g]),e)v.pop();else c={inArray:d,index:m,keys:f,edits:y,prev:c},d=Array.isArray(g),f=d?g:null!==(x=r[g.kind])&&void 0!==x?x:[],m=-1,y=[],h&&D.push(h),h=g}while(void 0!==c);return 0!==y.length?y[y.length-1][1]:e}function l(e,t){const r=e[t];return"object"===typeof r?r:"function"===typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}},6128:function(e,t,r){"use strict";r.d(t,{U6:function(){return h},ej:function(){return a},kG:function(){return u}});var n=r(7582),i="Invariant Violation",s=Object.setPrototypeOf,o=void 0===s?function(e,t){return e.__proto__=t,e}:s,a=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"===typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,o(n,t.prototype),n}return(0,n.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new a(t)}var l=["debug","log","warn","error","silent"],c=l.indexOf("log");function p(e){return function(){if(l.indexOf(e)>=c){var t=console[e]||console.log;return t.apply(console,arguments)}}}function h(e){var t=l[c];return c=Math.max(0,l.indexOf(e)),t}!function(e){e.debug=p("debug"),e.log=p("log"),e.warn=p("warn"),e.error=p("error")}(u||(u={}))},7582:function(e,t,r){"use strict";r.d(t,{CR:function(){return c},Jh:function(){return u},XA:function(){return l},ZT:function(){return i},_T:function(){return o},ev:function(){return p},mG:function(){return a},pi:function(){return s}});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var s=function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s.apply(this,arguments)};function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function a(e,t,r,n){return new(r||(r=Promise))((function(i,s){function o(e){try{u(n.next(e))}catch(t){s(t)}}function a(e){try{u(n.throw(e))}catch(t){s(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}u((n=n.apply(e,t||[])).next())}))}function u(e,t){var r,n,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}Object.create;function l(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function p(e,t,r){if(r||2===arguments.length)for(var n,i=0,s=t.length;i<s;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError},8216:function(e,t,r){"use strict";function n(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return i(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 i(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{y:function(){return w}});var a=function(){return"function"===typeof Symbol},u=function(e){return a()&&Boolean(Symbol[e])},l=function(e){return u(e)?Symbol[e]:"@@"+e};a()&&!u("observable")&&(Symbol.observable=Symbol("observable"));var c=l("iterator"),p=l("observable"),h=l("species");function d(e,t){var r=e[t];if(null!=r){if("function"!==typeof r)throw new TypeError(r+" is not a function");return r}}function f(e){var t=e.constructor;return void 0!==t&&null===(t=t[h])&&(t=void 0),void 0!==t?t:w}function m(e){return e instanceof w}function y(e){y.log?y.log(e):setTimeout((function(){throw e}))}function g(e){Promise.resolve().then((function(){try{e()}catch(t){y(t)}}))}function v(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"===typeof t)t();else{var r=d(t,"unsubscribe");r&&r.call(t)}}catch(n){y(n)}}function D(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function b(e,t,r){e._state="running";var n=e._observer;try{var i=d(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(D(e),!i)throw r;i.call(n,r);break;case"complete":D(e),i&&i.call(n)}}catch(s){y(s)}"closed"===e._state?v(e):"running"===e._state&&(e._state="ready")}function E(e,t,r){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void g((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(b(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)}))):void b(e,t,r);e._queue.push({type:t,value:r})}}var x=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new C(this);try{this._cleanup=t.call(void 0,r)}catch(n){r.error(n)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(D(this),v(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),C=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){E(this._subscription,"next",e)},t.error=function(e){E(this._subscription,"error",e)},t.complete=function(){E(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),w=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!==typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"===typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new x(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(r,n){if("function"===typeof e)var i=t.subscribe({next:function(t){try{e(t,s)}catch(r){n(r),i.unsubscribe()}},error:n,complete:r});else n(new TypeError(e+" is not a function"));function s(){i.unsubscribe(),r()}}))},t.map=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(f(this))((function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(n){return r.error(n)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})}))},t.filter=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(f(this))((function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(n){return r.error(n)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})}))},t.reduce=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var r=f(this),n=arguments.length>1,i=!1,s=arguments[1],o=s;return new r((function(r){return t.subscribe({next:function(t){var s=!i;if(i=!0,!s||n)try{o=e(o,t)}catch(a){return r.error(a)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=f(this);return new i((function(t){var n,s=0;return function e(o){n=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){s===r.length?(n=void 0,t.complete()):e(i.from(r[s++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var r=f(this);return new r((function(n){var i=[],s=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(a){return n.error(a)}var s=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(s);e>=0&&i.splice(e,1),o()}});i.push(s)},error:function(e){n.error(e)},complete:function(){o()}});function o(){s.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),s.unsubscribe()}}))},t[p]=function(){return this},e.from=function(t){var r="function"===typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var i=d(t,p);if(i){var s=i.call(t);if(Object(s)!==s)throw new TypeError(s+" is not an object");return m(s)&&s.constructor===r?s:new r((function(e){return s.subscribe(e)}))}if(u("iterator")&&(i=d(t,c)))return new r((function(e){g((function(){if(!e.closed){for(var r,s=n(i.call(t));!(r=s()).done;){var o=r.value;if(e.next(o),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){g((function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i="function"===typeof this?this:e;return new i((function(e){g((function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}}))}))},o(e,null,[{key:h,get:function(){return this}}]),e}();a()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:p,hostReportError:y},configurable:!0})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],(function(){return t(8771),t(9231)}));var r=e.O();_N_E=r}]); \ No newline at end of file diff --git a/out/_next/static/chunks/pages/_error-37464598caa95bdb.js b/out/_next/static/chunks/pages/_error-37464598caa95bdb.js new file mode 100644 index 0000000000000000000000000000000000000000..d3d2c82ad9c1a55c018a6479a047acbb024c93ff --- /dev/null +++ b/out/_next/static/chunks/pages/_error-37464598caa95bdb.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[820],{4663:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(4385)}])}},function(n){n.O(0,[774,888,179],(function(){return _=4663,n(n.s=_);var _}));var _=n.O();_N_E=_}]); \ No newline at end of file diff --git a/out/_next/static/chunks/pages/index-2ccae7562589e76e.js b/out/_next/static/chunks/pages/index-2ccae7562589e76e.js new file mode 100644 index 0000000000000000000000000000000000000000..49a6ac614737bac997483de0aea0f94477b81942 --- /dev/null +++ b/out/_next/static/chunks/pages/index-2ccae7562589e76e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{7568:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(1607)}])},1607:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return R}});var n=t(5893),a=t(7294),r=t(2192),i=t(3774),l=t(666),o=t(6594),c=t(5642),d=t(9058),u=t(6389);const m=t.n(u)()(t.e(456).then(t.t.bind(t,9456,23)),{loadableGenerated:{webpack:()=>[9456]},ssr:!1}),x=e=>{let{logs:s}=e;const{theme:t}=(0,i.C)(c.FS),a=(0,i.T)();return(0,n.jsxs)("div",{className:"text-gray-300 relative h-full",children:[(0,n.jsx)("div",{className:"flex items-center justify-between px-3 h-9",children:(0,n.jsx)("button",{onClick:()=>a((0,o.M2)()),className:"editor-button h-5 mr-3",children:"Clear"})}),(0,n.jsx)("div",{className:"h-80 overflow-auto",children:(0,n.jsx)(m,{styles:{BASE_FONT_FAMILY:'"Rubik", sans-serif;',BASE_FONT_SIZE:14,BASE_BACKGROUND_COLOR:t.background,LOG_BORDER:t.border},logs:s,variant:"dark"})})]})};var v=a.memo(x);const h=()=>(0,n.jsxs)("div",{className:"boxes",children:[(0,n.jsxs)("div",{className:"box",children:[(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{})]}),(0,n.jsxs)("div",{className:"box",children:[(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{})]}),(0,n.jsxs)("div",{className:"box",children:[(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{})]}),(0,n.jsxs)("div",{className:"box",children:[(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{})]})]}),p=e=>{let{err:s}=e;return(0,n.jsx)("div",{className:"px-5 pt-10 text-red-600 tracking-wide absolute h-full w-full z-50 backdrop-filter backdrop-blur",children:s})},f=e=>{let{tabs:s,output:r,isCompiling:c,esbuildStatus:d}=e;var u,m;const x=(0,a.useRef)(),v=(0,i.T)(),f=(j=null===(u=s.css)||void 0===u?void 0:u.data,b=null===(m=s.html)||void 0===m?void 0:m.data,'\n <html lang="en">\n <head>\n <title>Codetree </title>\n <style>\n '.concat(j,'\n </style>\n </head>\n <body>\n <div id="root">\n ').concat(b,'\n </div>\n <script>\n //====== send massage to iframe\n window.onerror = function (err) {\n window.parent.postMessage(\n { source: "iframe", type: "iframe_error", message: err },\n "*"\n );\n };\n\n window.onunhandledrejection = function (err) {\n window.parent.postMessage(\n { source: "iframe", type: "iframe_error", message: err.reason },\n "*"\n );\n };\n\n //====== listen to income message of parent\n window.onmessage = function (event) {\n try {\n eval(event.data);\n } catch (error) {\n throw error;\n }\n };\n <\/script>\n </body>\n</html>\n '));var j,b;return(0,a.useEffect)((()=>{window.onmessage=function(e){if(e.data&&"iframe"===e.data.source){let s={method:"error",id:Date.now(),data:["".concat(e.data.message)]};v((0,o.N4)(s))}},s.javascript&&d.isReady&&setTimeout((async()=>{v((0,l.gm)(s.javascript.data,s.javascript.entryPoints))}),50)}),[v,s,d.isReady]),(0,a.useEffect)((()=>{x.current.srcdoc=f,setTimeout((async()=>{var e,s,t;null===(t=x)||void 0===t||null===(s=t.current)||void 0===s||null===(e=s.contentWindow)||void 0===e||e.postMessage(r.code,"*")}),40)}),[f,r]),(0,n.jsxs)("div",{className:"iframe-container",children:[r.error?(0,n.jsx)(p,{err:r.error}):"",c?(0,n.jsx)("div",{className:"absolute h-full w-full bg-gray-50 z-40",children:(0,n.jsx)(h,{})}):"",(0,n.jsx)("iframe",{id:"super-iframe",sandbox:"allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation",allow:"accelerometer; camera; encrypted-media; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write",scrolling:"auto",frameBorder:"0",ref:x,title:"previewWindow",srcDoc:f,onLoad:async()=>{(0,(await Promise.all([t.e(456),t.e(552)]).then(t.t.bind(t,6582,23))).Hook)(x.current.contentWindow.console,(e=>{v((0,o.N4)(e))}),!1)}})]})};var j=a.memo(f),b=t(6083),g=t(9967),w=t(2495);const y=e=>{let{monacoLanguage:s,tab:t}=e;var r;const l=(0,i.T)(),{monacoInputValue:c,options:d}=(0,i.C)(o.UT),{onChange:u,onMount:m,code:x}=(0,w.I)();return(0,a.useEffect)((()=>{var e;x&&(null===(e=x)||void 0===e?void 0:e.length)>=1&&l((0,o.CH)({type:t,content:x}))}),[x,l,t]),(0,n.jsx)(g.ZP,{onChange:u,onMount:m,language:s,theme:"vs-dark",options:d,className:"h-full",value:(null===(r=c.tabs[t])||void 0===r?void 0:r.data)||""})},N=e=>{let{editorValue:s}=e;const[t,r]=(0,a.useState)(s);(0,a.useEffect)((()=>{r(s)}),[s]);const i=Object.entries(t.tabs).map(((e,s)=>(0,n.jsx)(b.J,{tab:(0,n.jsx)("div",{children:e[1].title}),children:(0,n.jsx)(y,{tab:e[0],monacoLanguage:e[1].monacoLanguage})},s)));return(0,n.jsx)(b.Z,{className:"editor-input-tabs",tabPosition:"top",tabBarGutter:16,defaultActiveKey:"javascript",children:i})};var C=a.memo(N),k=t(1686);var E=()=>{const{logs:e}=(0,i.C)(o.UT),{isCompiling:s}=(0,i.C)(l.eX),t=(0,i.T)();return(0,n.jsxs)("div",{style:{height:"2rem"},className:"h-full w-full flex items-center justify-between bg-tree-hard border-t-2 border-black text-gray-300 pl-5 pb-0.5 flex-shrink-0 z-50",children:[(0,n.jsx)("div",{className:"flex items-center",children:s&&(0,n.jsx)("div",{className:"ml-10",children:(0,n.jsx)("span",{className:"loader --1"})})}),(0,n.jsxs)("div",{className:"flex justify-center items-center",children:[(0,n.jsx)("div",{onClick:()=>t((0,o.sU)()),className:"flex items-center cursor-pointer text-gray-400",children:(0,n.jsx)(k.bge,{size:20})}),(0,n.jsx)("div",{className:"ml-2 w-6",children:e.length>0&&(0,n.jsxs)("div",{className:"h-5 w-5 flex justify-center items-center",children:[(0,n.jsx)("div",{className:"absolute p-1.5 bg-teal-400 rounded-full animate-ping"}),(0,n.jsx)("div",{className:"absolute p-1 bg-teal-400 border-white rounded-full"})]})})]})]})},_=t(524);var S=e=>{let{panelA:s,panelB:t,panelC:a,lastPanelVisibility:r}=e;return(0,n.jsx)("div",{style:{height:"calc(100vh - 8rem)"},children:(0,n.jsxs)(_.oL,{children:[(0,n.jsx)(_.oL.Pane,{children:s}),(0,n.jsxs)(_.oL,{onVisibleChange:function(){},vertical:!0,children:[(0,n.jsx)(_.oL.Pane,{priority:"HIGH",preferredSize:"70%",visible:!0,children:t}),(0,n.jsx)(_.oL.Pane,{preferredSize:"30%",priority:"LOW",snap:!0,visible:r,children:a})]})]})})};const L=e=>{let{className:s}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",className:s,strokeWidth:"2",children:(0,n.jsx)("path",{d:"M.5 1.163A1 1 0 0 1 1.97.28l12.868 6.837a1 1 0 0 1 0 1.766L1.969 15.72A1 1 0 0 1 .5 14.836V10.33a1 1 0 0 1 .816-.983L8.5 8 1.316 6.653A1 1 0 0 1 .5 5.67V1.163Z",fill:"currentColor"})})};var T=t(5299);var P=()=>{var e;const s=(0,i.T)(),t=(0,a.useRef)(null),u=(0,a.useRef)(null),{theme:m}=(0,i.C)(c.FS),{esbuildStatus:x,isCompiling:h,output:p}=(0,i.C)(l.eX),{logs:f,editorValue:b,isLogTabOpen:g}=(0,i.C)(o.UT),[w,y]=(0,a.useState)(""),[N,k]=(0,a.useState)(w),_=e=>e&&e.length>10&&e.includes("\n");(0,a.useEffect)((()=>{const e=setInterval((()=>{_(w)&&w!==N&&(s((0,o.CH)({type:"javascript",content:w})),k(w))}),2e3);return()=>{clearInterval(e)}}),[w,N,s]);const{messages:P,input:A,setInput:R,handleSubmit:O}=(0,r.R)({onError:e=>{console.error(e)}});return(0,a.useEffect)((()=>{x.isReady||s((0,l.kC)())}),[s,x]),(0,a.useEffect)((()=>{s((0,d.Ib)(d.oV.TEMPLATE))}),[s]),(0,a.useEffect)((()=>{if(_(w)){const e={name:"React",description:"By codetree",public:!0,iconSrc:"/icons/reactjs.svg",tabs:{javascript:{title:"JS/JSX",entryPoints:"index.js",monacoLanguage:"javascript",data:w},html:{title:"index.html",entryPoints:"index.html",monacoLanguage:"html",data:""},css:{title:"main.css",entryPoints:"main.css",monacoLanguage:"css",data:""}}};s((0,o.Vi)(e))}}),[w,s]),(0,n.jsxs)("div",{style:{background:m.background},children:[(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("div",{className:"px-4 pb-2 pt-3 shadow-lg sm:pb-3 sm:pt-4",children:(0,n.jsxs)("form",{ref:t,onSubmit:O,className:"relative w-full",children:[(0,n.jsx)("textarea",{ref:u,onChange:e=>R(e.target.value),placeholder:"Chat with GPT-4 and code blocks will automatically render in the editor! Codetree uses WebAssembly and Esbuild to compile in the browser.",onKeyDown:e=>{var s;"Enter"!==e.key||e.shiftKey||(null===(s=t.current)||void 0===s||s.requestSubmit(),e.preventDefault())},spellCheck:!1,className:"textarea",value:A}),(0,n.jsx)("button",{type:"submit",className:"absolute inset-y-0 right-3 my-auto flex h-8 w-8 items-center justify-center rounded-md transition-all",children:(0,n.jsx)(L,{className:"h-4 w-4"})})]})}),(0,n.jsx)("div",{className:"flex flex-col items-start space-y-4 overflow-y-auto max-h-[20vh]",children:null===(e=P)||void 0===e?void 0:e.map(((e,s)=>(0,n.jsx)("p",{className:"messages-text",children:(0,n.jsx)(T.D,{className:"prose mt-1 w-full break-words prose-p:leading-relaxed",components:{a:e=>(0,n.jsx)("a",{...e,target:"_blank",rel:"noopener noreferrer"}),code:e=>{let{node:s,...t}=e;const n=t.children[0]||"";return y(n),null}},children:e.content})},s)))})]}),(0,n.jsx)(S,{panelA:(0,n.jsx)(C,{editorValue:b}),panelB:(0,n.jsx)(j,{tabs:b.tabs,output:p,isCompiling:h,esbuildStatus:x}),panelC:(0,n.jsx)(v,{logs:f}),lastPanelVisibility:g}),(0,n.jsx)(E,{})]})};const A=()=>{(0,i.T)();const{theme:e}=(0,i.C)(c.FS);return(0,n.jsx)("div",{style:{height:"3rem",background:e.background},className:"flex items-center pl-5 pr-12 justify-between",children:(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"text-2xl font-medium text-gray-200",children:"Codetree AI"})})})};var R=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(A,{}),(0,n.jsx)(P,{})]})}},function(e){e.O(0,[161,774,888,179],(function(){return s=7568,e(e.s=s);var s}));var s=e.O();_N_E=s}]); \ No newline at end of file diff --git a/out/_next/static/chunks/pages/oauth/github-89630e7e8d2855b9.js b/out/_next/static/chunks/pages/oauth/github-89630e7e8d2855b9.js new file mode 100644 index 0000000000000000000000000000000000000000..8021f515099437264b3a35255fa745fe104e3bcb --- /dev/null +++ b/out/_next/static/chunks/pages/oauth/github-89630e7e8d2855b9.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[167],{234:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/oauth/github",function(){return r(3207)}])},6548:function(e,t,r){"use strict";var n=r(5893);r(7294);t.Z=e=>{let{size:t=50,color:r="#FFFFFF"}=e;return(0,n.jsx)("div",{children:(0,n.jsxs)("svg",{width:t,height:t,viewBox:"0 0 16 16",color:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M3.05022 3.05026 C 2.65969 3.44078 2.65969 4.07394 3.05022 4.46447 C 3.44074 4.85499 4.07391 4.85499 4.46443 4.46447 L 3.05022 3.05026Z M 4.46443 4.46447 C 5.16369 3.76521 6.05461 3.289 7.02451 3.09608 L 6.63433 1.13451 C 5.27647 1.4046 4.02918 2.07129 3.05022 3.05026 L 4.46443 4.46447Z M 7.02451 3.09608 C 7.99442 2.90315 8.99975 3.00217 9.91338 3.3806 L 10.6787 1.53285C9.39967 1.00303 7.9922 0.864409 6.63433 1.13451 L 7.02451 3.09608ZM9.91338 3.3806C10.827 3.75904 11.6079 4.39991 12.1573 5.22215L13.8203 4.11101C13.0511 2.95987 11.9578 2.06266 10.6787 1.53285L9.91338 3.3806ZM12.1573 5.22215C12.7067 6.0444 13 7.01109 13 8L15 8C15 6.61553 14.5894 5.26215 13.8203 4.11101L12.1573 5.22215Z",fill:"url(#paint0_linear_11825_47664)"}),(0,n.jsx)("path",{d:"M3 8C3 7.44772 2.55228 7 2 7C1.44772 7 1 7.44772 1 8L3 8ZM1 8C1 8.91925 1.18106 9.82951 1.53284 10.6788L3.3806 9.91342C3.12933 9.30679 3 8.65661 3 8L1 8ZM1.53284 10.6788C1.88463 11.5281 2.40024 12.2997 3.05025 12.9497L4.46447 11.5355C4.00017 11.0712 3.63188 10.52 3.3806 9.91342L1.53284 10.6788ZM3.05025 12.9497C3.70026 13.5998 4.47194 14.1154 5.32122 14.4672L6.08658 12.6194C5.47996 12.3681 4.92876 11.9998 4.46447 11.5355L3.05025 12.9497ZM5.32122 14.4672C6.1705 14.8189 7.08075 15 8 15L8 13C7.34339 13 6.69321 12.8707 6.08658 12.6194L5.32122 14.4672ZM8 15C8.91925 15 9.82951 14.8189 10.6788 14.4672L9.91342 12.6194C9.30679 12.8707 8.65661 13 8 13L8 15ZM10.6788 14.4672C11.5281 14.1154 12.2997 13.5998 12.9497 12.9497L11.5355 11.5355C11.0712 11.9998 10.52 12.3681 9.91342 12.6194L10.6788 14.4672ZM12.9497 12.9497C13.5998 12.2997 14.1154 11.5281 14.4672 10.6788L12.6194 9.91342C12.3681 10.52 11.9998 11.0712 11.5355 11.5355L12.9497 12.9497ZM14.4672 10.6788C14.8189 9.8295 15 8.91925 15 8L13 8C13 8.65661 12.8707 9.30679 12.6194 9.91342L14.4672 10.6788Z",fill:"url(#paint1_linear_11825_47664)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_11825_47664",x1:"14",y1:"8",x2:"2",y2:"8",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"currentColor",stopOpacity:"0.5"}),(0,n.jsx)("stop",{offset:"1",stopColor:"currentColor",stopOpacity:"0"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_11825_47664",x1:"2",y1:"8",x2:"14",y2:"8",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"currentColor"}),(0,n.jsx)("stop",{offset:"1",stopColor:"currentColor",stopOpacity:"0.5"})]})]}),(0,n.jsx)("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"})]})})}},3207:function(e,t,r){"use strict";r.r(t);var n=r(5893),o=r(7294),s=r(8220),i=r(6548);t.default=()=>{const{query:e}=(0,s.useRouter)();return(0,o.useEffect)((()=>{e.code&&new Promise((t=>{var r;(null===(r=window)||void 0===r?void 0:r.opener)&&window.opener.withOauth(e,"github"),t("done")})).then((()=>{window.close()}))}),[e]),(0,n.jsx)("div",{className:"flex flex-col justify-center items-center h-screen",children:(0,n.jsx)(i.Z,{size:30,color:"black"})})}}},function(e){e.O(0,[774,888,179],(function(){return t=234,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/out/_next/static/chunks/pages/oauth/google-68598bd51f10ddb9.js b/out/_next/static/chunks/pages/oauth/google-68598bd51f10ddb9.js new file mode 100644 index 0000000000000000000000000000000000000000..91cabfc80d5f99e3210879a90017ab05463511b1 --- /dev/null +++ b/out/_next/static/chunks/pages/oauth/google-68598bd51f10ddb9.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[582],{1093:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/oauth/google",function(){return r(9998)}])},6548:function(e,t,r){"use strict";var o=r(5893);r(7294);t.Z=e=>{let{size:t=50,color:r="#FFFFFF"}=e;return(0,o.jsx)("div",{children:(0,o.jsxs)("svg",{width:t,height:t,viewBox:"0 0 16 16",color:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M3.05022 3.05026 C 2.65969 3.44078 2.65969 4.07394 3.05022 4.46447 C 3.44074 4.85499 4.07391 4.85499 4.46443 4.46447 L 3.05022 3.05026Z M 4.46443 4.46447 C 5.16369 3.76521 6.05461 3.289 7.02451 3.09608 L 6.63433 1.13451 C 5.27647 1.4046 4.02918 2.07129 3.05022 3.05026 L 4.46443 4.46447Z M 7.02451 3.09608 C 7.99442 2.90315 8.99975 3.00217 9.91338 3.3806 L 10.6787 1.53285C9.39967 1.00303 7.9922 0.864409 6.63433 1.13451 L 7.02451 3.09608ZM9.91338 3.3806C10.827 3.75904 11.6079 4.39991 12.1573 5.22215L13.8203 4.11101C13.0511 2.95987 11.9578 2.06266 10.6787 1.53285L9.91338 3.3806ZM12.1573 5.22215C12.7067 6.0444 13 7.01109 13 8L15 8C15 6.61553 14.5894 5.26215 13.8203 4.11101L12.1573 5.22215Z",fill:"url(#paint0_linear_11825_47664)"}),(0,o.jsx)("path",{d:"M3 8C3 7.44772 2.55228 7 2 7C1.44772 7 1 7.44772 1 8L3 8ZM1 8C1 8.91925 1.18106 9.82951 1.53284 10.6788L3.3806 9.91342C3.12933 9.30679 3 8.65661 3 8L1 8ZM1.53284 10.6788C1.88463 11.5281 2.40024 12.2997 3.05025 12.9497L4.46447 11.5355C4.00017 11.0712 3.63188 10.52 3.3806 9.91342L1.53284 10.6788ZM3.05025 12.9497C3.70026 13.5998 4.47194 14.1154 5.32122 14.4672L6.08658 12.6194C5.47996 12.3681 4.92876 11.9998 4.46447 11.5355L3.05025 12.9497ZM5.32122 14.4672C6.1705 14.8189 7.08075 15 8 15L8 13C7.34339 13 6.69321 12.8707 6.08658 12.6194L5.32122 14.4672ZM8 15C8.91925 15 9.82951 14.8189 10.6788 14.4672L9.91342 12.6194C9.30679 12.8707 8.65661 13 8 13L8 15ZM10.6788 14.4672C11.5281 14.1154 12.2997 13.5998 12.9497 12.9497L11.5355 11.5355C11.0712 11.9998 10.52 12.3681 9.91342 12.6194L10.6788 14.4672ZM12.9497 12.9497C13.5998 12.2997 14.1154 11.5281 14.4672 10.6788L12.6194 9.91342C12.3681 10.52 11.9998 11.0712 11.5355 11.5355L12.9497 12.9497ZM14.4672 10.6788C14.8189 9.8295 15 8.91925 15 8L13 8C13 8.65661 12.8707 9.30679 12.6194 9.91342L14.4672 10.6788Z",fill:"url(#paint1_linear_11825_47664)"}),(0,o.jsxs)("defs",{children:[(0,o.jsxs)("linearGradient",{id:"paint0_linear_11825_47664",x1:"14",y1:"8",x2:"2",y2:"8",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"currentColor",stopOpacity:"0.5"}),(0,o.jsx)("stop",{offset:"1",stopColor:"currentColor",stopOpacity:"0"})]}),(0,o.jsxs)("linearGradient",{id:"paint1_linear_11825_47664",x1:"2",y1:"8",x2:"14",y2:"8",gradientUnits:"userSpaceOnUse",children:[(0,o.jsx)("stop",{stopColor:"currentColor"}),(0,o.jsx)("stop",{offset:"1",stopColor:"currentColor",stopOpacity:"0.5"})]})]}),(0,o.jsx)("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"})]})})}},9998:function(e,t,r){"use strict";r.r(t);var o=r(5893),n=r(7294),s=r(8220),i=r(6548);t.default=()=>{const{query:e}=(0,s.useRouter)();return(0,n.useEffect)((()=>{e.code&&new Promise((t=>{var r;(null===(r=window)||void 0===r?void 0:r.opener)&&window.opener.withOauth(e,"google"),t("done")})).then((()=>{window.close()}))}),[e]),(0,o.jsx)("div",{className:"flex flex-col justify-center items-center h-screen",children:(0,o.jsx)(i.Z,{size:30,color:"black"})})}}},function(e){e.O(0,[774,888,179],(function(){return t=1093,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/out/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js b/out/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js new file mode 100644 index 0000000000000000000000000000000000000000..6c105cac9df378f58bc8f459abc733e6933e27d4 --- /dev/null +++ b/out/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js @@ -0,0 +1 @@ +!function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,s=u&&!a.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:a,c={f:s},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},l={}.toString,h=function(t){return l.call(t).slice(8,-1)},p="".split,d=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==h(t)?p.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return d(v(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,e){if(!y(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!y(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,e){return b.call(t,e)},S=n.document,E=y(S)&&y(S.createElement),x=function(t){return E?S.createElement(t):{}},A=!i&&!o(function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a}),O=Object.getOwnPropertyDescriptor,R={f:i?O:function(t,e){if(t=g(t),e=m(e,!0),A)try{return O(t,e)}catch(t){}if(w(t,e))return f(!c.f.call(t,e),t[e])}},j=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},P=Object.defineProperty,I={f:i?P:function(t,e,r){if(j(t),e=m(e,!0),j(r),A)try{return P(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},T=i?function(t,e,r){return I.f(t,e,f(1,r))}:function(t,e,r){return t[e]=r,t},k=function(t,e){try{T(n,t,e)}catch(r){n[t]=e}return e},L="__core-js_shared__",U=n[L]||k(L,{}),M=Function.toString;"function"!=typeof U.inspectSource&&(U.inspectSource=function(t){return M.call(t)});var _,N,C,F=U.inspectSource,B=n.WeakMap,D="function"==typeof B&&/native code/.test(F(B)),q=!1,z=e(function(t){(t.exports=function(t,e){return U[t]||(U[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),W=0,K=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+K).toString(36)},$=z("keys"),V=function(t){return $[t]||($[t]=G(t))},H={};if(D){var X=new(0,n.WeakMap),Y=X.get,J=X.has,Q=X.set;_=function(t,e){return Q.call(X,t,e),e},N=function(t){return Y.call(X,t)||{}},C=function(t){return J.call(X,t)}}else{var Z=V("state");H[Z]=!0,_=function(t,e){return T(t,Z,e),e},N=function(t){return w(t,Z)?t[Z]:{}},C=function(t){return w(t,Z)}}var tt,et={set:_,get:N,has:C,enforce:function(t){return C(t)?N(t):_(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},rt=e(function(t){var e=et.get,r=et.enforce,o=String(String).split("String");(t.exports=function(t,e,i,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||w(i,"name")||T(i,"name",e),r(i).source=o.join("string"==typeof e?e:"")),t!==n?(u?!c&&t[e]&&(s=!0):delete t[e],s?t[e]=i:T(t,e,i)):s?t[e]=i:k(e,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||F(this)})}),nt=n,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?ot(nt[t])||ot(n[t]):nt[t]&&nt[t][e]||n[t]&&n[t][e]},at=Math.ceil,ut=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ct=Math.min,ft=function(t){return t>0?ct(st(t),9007199254740991):0},lt=Math.max,ht=Math.min,pt=function(t,e){var r=st(t);return r<0?lt(r+e,0):ht(r,e)},dt=function(t){return function(e,r,n){var o,i=g(e),a=ft(i.length),u=pt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},vt={includes:dt(!0),indexOf:dt(!1)},gt=vt.indexOf,yt=function(t,e){var r,n=g(t),o=0,i=[];for(r in n)!w(H,r)&&w(n,r)&&i.push(r);for(;e.length>o;)w(n,r=e[o++])&&(~gt(i,r)||i.push(r));return i},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=mt.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(t){return yt(t,bt)}},St={f:Object.getOwnPropertySymbols},Et=it("Reflect","ownKeys")||function(t){var e=wt.f(j(t)),r=St.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=Et(e),n=I.f,o=R.f,i=0;i<r.length;i++){var a=r[i];w(t,a)||n(t,a,o(e,a))}},At=/#|\.prototype\./,Ot=function(t,e){var r=jt[Rt(t)];return r==It||r!=Pt&&("function"==typeof e?o(e):!!e)},Rt=Ot.normalize=function(t){return String(t).replace(At,".").toLowerCase()},jt=Ot.data={},Pt=Ot.NATIVE="N",It=Ot.POLYFILL="P",Tt=Ot,kt=R.f,Lt=function(t,e){var r,o,i,a,u,s=t.target,c=t.global,f=t.stat;if(r=c?n:f?n[s]||k(s,{}):(n[s]||{}).prototype)for(o in e){if(a=e[o],i=t.noTargetGet?(u=kt(r,o))&&u.value:r[o],!Tt(c?o:s+(f?".":"#")+o,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;xt(a,i)}(t.sham||i&&i.sham)&&T(a,"sham",!0),rt(r,o,a,t)}},Ut=function(t){return Object(v(t))},Mt=Math.min,_t=[].copyWithin||function(t,e){var r=Ut(this),n=ft(r.length),o=pt(t,n),i=pt(e,n),a=arguments.length>2?arguments[2]:void 0,u=Mt((void 0===a?n:pt(a,n))-i,n-o),s=1;for(i<o&&o<i+u&&(s=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:delete r[o],o+=s,i+=s;return r},Nt=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())}),Ct=Nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=z("wks"),Bt=n.Symbol,Dt=Ct?Bt:Bt&&Bt.withoutSetter||G,qt=function(t){return w(Ft,t)||(Ft[t]=Nt&&w(Bt,t)?Bt[t]:Dt("Symbol."+t)),Ft[t]},zt=Object.keys||function(t){return yt(t,mt)},Wt=i?Object.defineProperties:function(t,e){j(t);for(var r,n=zt(e),o=n.length,i=0;o>i;)I.f(t,r=n[i++],e[r]);return t},Kt=it("document","documentElement"),Gt="prototype",$t="script",Vt=V("IE_PROTO"),Ht=function(){},Xt=function(t){return"<"+$t+">"+t+"</"+$t+">"},Yt=function(){try{tt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Yt=tt?function(t){t.write(Xt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(tt):(e=x("iframe"),r="java"+$t+":",e.style.display="none",Kt.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Xt("document.F=Object")),t.close(),t.F);for(var n=mt.length;n--;)delete Yt[Gt][mt[n]];return Yt()};H[Vt]=!0;var Jt=Object.create||function(t,e){var r;return null!==t?(Ht[Gt]=j(t),r=new Ht,Ht[Gt]=null,r[Vt]=t):r=Yt(),void 0===e?r:Wt(r,e)},Qt=qt("unscopables"),Zt=Array.prototype;null==Zt[Qt]&&I.f(Zt,Qt,{configurable:!0,value:Jt(null)});var te=function(t){Zt[Qt][t]=!0};Lt({target:"Array",proto:!0},{copyWithin:_t}),te("copyWithin");var ee=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},re=function(t,e,r){if(ee(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},ne=Function.call,oe=function(t,e,r){return re(ne,n[t].prototype[e],r)};oe("Array","copyWithin"),Lt({target:"Array",proto:!0},{fill:function(t){for(var e=Ut(this),r=ft(e.length),n=arguments.length,o=pt(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:pt(i,r);a>o;)e[o++]=t;return e}}),te("fill"),oe("Array","fill");var ie=Array.isArray||function(t){return"Array"==h(t)},ae=qt("species"),ue=function(t,e){var r;return ie(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!ie(r.prototype)?y(r)&&null===(r=r[ae])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},se=[].push,ce=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=5==t||i;return function(u,s,c,f){for(var l,h,p=Ut(u),v=d(p),g=re(s,c,3),y=ft(v.length),m=0,b=f||ue,w=e?b(u,y):r?b(u,0):void 0;y>m;m++)if((a||m in v)&&(h=g(l=v[m],m,p),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:se.call(w,l)}else if(o)return!1;return i?-1:n||o?o:w}},fe={forEach:ce(0),map:ce(1),filter:ce(2),some:ce(3),every:ce(4),find:ce(5),findIndex:ce(6)},le=Object.defineProperty,he={},pe=function(t){throw t},de=function(t,e){if(w(he,t))return he[t];e||(e={});var r=[][t],n=!!w(e,"ACCESSORS")&&e.ACCESSORS,a=w(e,0)?e[0]:pe,u=w(e,1)?e[1]:void 0;return he[t]=!!r&&!o(function(){if(n&&!i)return!0;var t={length:-1};n?le(t,1,{enumerable:!0,get:pe}):t[1]=1,r.call(t,a,u)})},ve=fe.find,ge="find",ye=!0,me=de(ge);ge in[]&&Array(1)[ge](function(){ye=!1}),Lt({target:"Array",proto:!0,forced:ye||!me},{find:function(t){return ve(this,t,arguments.length>1?arguments[1]:void 0)}}),te(ge),oe("Array","find");var be=fe.findIndex,we="findIndex",Se=!0,Ee=de(we);we in[]&&Array(1)[we](function(){Se=!1}),Lt({target:"Array",proto:!0,forced:Se||!Ee},{findIndex:function(t){return be(this,t,arguments.length>1?arguments[1]:void 0)}}),te(we),oe("Array","findIndex");var xe=function(t,e,r,n,o,i,a,u){for(var s,c=o,f=0,l=!!a&&re(a,u,3);f<n;){if(f in r){if(s=l?l(r[f],f,e):r[f],i>0&&ie(s))c=xe(t,e,s,ft(s.length),c,i-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[c]=s}c++}f++}return c},Ae=xe;Lt({target:"Array",proto:!0},{flatMap:function(t){var e,r=Ut(this),n=ft(r.length);return ee(t),(e=ue(r,0)).length=Ae(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}}),te("flatMap"),oe("Array","flatMap"),Lt({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=Ut(this),r=ft(e.length),n=ue(e,0);return n.length=Ae(n,e,e,r,0,void 0===t?1:st(t)),n}}),te("flat"),oe("Array","flat");var Oe,Re,je,Pe=function(t){return function(e,r){var n,o,i=String(v(e)),a=st(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},Ie={codeAt:Pe(!1),charAt:Pe(!0)},Te=!o(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),ke=V("IE_PROTO"),Le=Object.prototype,Ue=Te?Object.getPrototypeOf:function(t){return t=Ut(t),w(t,ke)?t[ke]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Le:null},Me=qt("iterator"),_e=!1;[].keys&&("next"in(je=[].keys())?(Re=Ue(Ue(je)))!==Object.prototype&&(Oe=Re):_e=!0),null==Oe&&(Oe={}),w(Oe,Me)||T(Oe,Me,function(){return this});var Ne={IteratorPrototype:Oe,BUGGY_SAFARI_ITERATORS:_e},Ce=I.f,Fe=qt("toStringTag"),Be=function(t,e,r){t&&!w(t=r?t:t.prototype,Fe)&&Ce(t,Fe,{configurable:!0,value:e})},De={},qe=Ne.IteratorPrototype,ze=function(){return this},We=function(t,e,r){var n=e+" Iterator";return t.prototype=Jt(qe,{next:f(1,r)}),Be(t,n,!1),De[n]=ze,t},Ke=function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},Ge=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),Ke(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),$e=Ne.IteratorPrototype,Ve=Ne.BUGGY_SAFARI_ITERATORS,He=qt("iterator"),Xe="keys",Ye="values",Je="entries",Qe=function(){return this},Ze=function(t,e,r,n,o,i,a){We(r,e,n);var u,s,c,f=function(t){if(t===o&&v)return v;if(!Ve&&t in p)return p[t];switch(t){case Xe:case Ye:case Je:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",h=!1,p=t.prototype,d=p[He]||p["@@iterator"]||o&&p[o],v=!Ve&&d||f(o),g="Array"==e&&p.entries||d;if(g&&(u=Ue(g.call(new t)),$e!==Object.prototype&&u.next&&(Ue(u)!==$e&&(Ge?Ge(u,$e):"function"!=typeof u[He]&&T(u,He,Qe)),Be(u,l,!0))),o==Ye&&d&&d.name!==Ye&&(h=!0,v=function(){return d.call(this)}),p[He]!==v&&T(p,He,v),De[e]=v,o)if(s={values:f(Ye),keys:i?v:f(Xe),entries:f(Je)},a)for(c in s)(Ve||h||!(c in p))&&rt(p,c,s[c]);else Lt({target:e,proto:!0,forced:Ve||h},s);return s},tr=Ie.charAt,er="String Iterator",rr=et.set,nr=et.getterFor(er);Ze(String,"String",function(t){rr(this,{type:er,string:String(t),index:0})},function(){var t,e=nr(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=tr(r,n),e.index+=t.length,{value:t,done:!1})});var or=function(t,e,r,n){try{return n?e(j(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&j(o.call(t)),e}},ir=qt("iterator"),ar=Array.prototype,ur=function(t){return void 0!==t&&(De.Array===t||ar[ir]===t)},sr=function(t,e,r){var n=m(e);n in t?I.f(t,n,f(0,r)):t[n]=r},cr={};cr[qt("toStringTag")]="z";var fr="[object z]"===String(cr),lr=qt("toStringTag"),hr="Arguments"==h(function(){return arguments}()),pr=fr?h:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),lr))?r:hr?h(e):"Object"==(n=h(e))&&"function"==typeof e.callee?"Arguments":n},dr=qt("iterator"),vr=function(t){if(null!=t)return t[dr]||t["@@iterator"]||De[pr(t)]},gr=function(t){var e,r,n,o,i,a,u=Ut(t),s="function"==typeof this?this:Array,c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,h=vr(u),p=0;if(l&&(f=re(f,c>2?arguments[2]:void 0,2)),null==h||s==Array&&ur(h))for(r=new s(e=ft(u.length));e>p;p++)a=l?f(u[p],p):u[p],sr(r,p,a);else for(i=(o=h.call(u)).next,r=new s;!(n=i.call(o)).done;p++)a=l?or(o,f,[n.value,p],!0):n.value,sr(r,p,a);return r.length=p,r},yr=qt("iterator"),mr=!1;try{var br=0,wr={next:function(){return{done:!!br++}},return:function(){mr=!0}};wr[yr]=function(){return this},Array.from(wr,function(){throw 2})}catch(t){}var Sr=function(t,e){if(!e&&!mr)return!1;var r=!1;try{var n={};n[yr]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Er=!Sr(function(t){Array.from(t)});Lt({target:"Array",stat:!0,forced:Er},{from:gr});var xr=vt.includes,Ar=de("indexOf",{ACCESSORS:!0,1:0});Lt({target:"Array",proto:!0,forced:!Ar},{includes:function(t){return xr(this,t,arguments.length>1?arguments[1]:void 0)}}),te("includes"),oe("Array","includes");var Or="Array Iterator",Rr=et.set,jr=et.getterFor(Or),Pr=Ze(Array,"Array",function(t,e){Rr(this,{type:Or,target:g(t),index:0,kind:e})},function(){var t=jr(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values");De.Arguments=De.Array,te("keys"),te("values"),te("entries"),oe("Array","values");var Ir=o(function(){function t(){}return!(Array.of.call(t)instanceof t)});Lt({target:"Array",stat:!0,forced:Ir},{of:function(){for(var t=0,e=arguments.length,r=new("function"==typeof this?this:Array)(e);e>t;)sr(r,t,arguments[t++]);return r.length=e,r}});var Tr=qt("hasInstance"),kr=Function.prototype;Tr in kr||I.f(kr,Tr,{value:function(t){if("function"!=typeof this||!y(t))return!1;if(!y(this.prototype))return t instanceof this;for(;t=Ue(t);)if(this.prototype===t)return!0;return!1}}),qt("hasInstance");var Lr=Function.prototype,Ur=Lr.toString,Mr=/^\s*function ([^ (]*)/,_r="name";i&&!(_r in Lr)&&(0,I.f)(Lr,_r,{configurable:!0,get:function(){try{return Ur.call(this).match(Mr)[1]}catch(t){return""}}});var Nr=!o(function(){return Object.isExtensible(Object.preventExtensions({}))}),Cr=e(function(t){var e=I.f,r=G("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,r,{value:{objectID:"O"+ ++n,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!y(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,r)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[r].objectID},getWeakData:function(t,e){if(!w(t,r)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[r].weakData},onFreeze:function(t){return Nr&&a.REQUIRED&&o(t)&&!w(t,r)&&i(t),t}};H[r]=!0}),Fr=e(function(t){var e=function(t,e){this.stopped=t,this.result=e},r=t.exports=function(t,r,n,o,i){var a,u,s,c,f,l,h,p=re(r,n,o?2:1);if(i)a=t;else{if("function"!=typeof(u=vr(t)))throw TypeError("Target is not iterable");if(ur(u)){for(s=0,c=ft(t.length);c>s;s++)if((f=o?p(j(h=t[s])[0],h[1]):p(t[s]))&&f instanceof e)return f;return new e(!1)}a=u.call(t)}for(l=a.next;!(h=l.call(a)).done;)if("object"==typeof(f=or(a,p,h.value,o))&&f&&f instanceof e)return f;return new e(!1)};r.stop=function(t){return new e(!0,t)}}),Br=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},Dr=function(t,e,r){var n,o;return Ge&&"function"==typeof(n=e.constructor)&&n!==r&&y(o=n.prototype)&&o!==r.prototype&&Ge(t,o),t},qr=function(t,e,r){var i=-1!==t.indexOf("Map"),a=-1!==t.indexOf("Weak"),u=i?"set":"add",s=n[t],c=s&&s.prototype,f=s,l={},h=function(t){var e=c[t];rt(c,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(a&&!y(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return a&&!y(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(a&&!y(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(Tt(t,"function"!=typeof s||!(a||c.forEach&&!o(function(){(new s).entries().next()}))))f=r.getConstructor(e,t,i,u),Cr.REQUIRED=!0;else if(Tt(t,!0)){var p=new f,d=p[u](a?{}:-0,1)!=p,v=o(function(){p.has(1)}),g=Sr(function(t){new s(t)}),m=!a&&o(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((f=e(function(e,r){Br(e,f,t);var n=Dr(new s,e,f);return null!=r&&Fr(r,n[u],n,i),n})).prototype=c,c.constructor=f),(v||m)&&(h("delete"),h("has"),i&&h("get")),(m||d)&&h(u),a&&c.clear&&delete c.clear}return l[t]=f,Lt({global:!0,forced:f!=s},l),Be(f,t),a||r.setStrong(f,t,i),f},zr=function(t,e,r){for(var n in e)rt(t,n,e[n],r);return t},Wr=qt("species"),Kr=function(t){var e=it(t);i&&e&&!e[Wr]&&(0,I.f)(e,Wr,{configurable:!0,get:function(){return this}})},Gr=I.f,$r=Cr.fastKey,Vr=et.set,Hr=et.getterFor,Xr={getConstructor:function(t,e,r,n){var o=t(function(t,a){Br(t,o,e),Vr(t,{type:e,index:Jt(null),first:void 0,last:void 0,size:0}),i||(t.size=0),null!=a&&Fr(a,t[n],t,r)}),a=Hr(e),u=function(t,e,r){var n,o,u=a(t),c=s(t,e);return c?c.value=r:(u.last=c={index:o=$r(e,!0),key:e,value:r,previous:n=u.last,next:void 0,removed:!1},u.first||(u.first=c),n&&(n.next=c),i?u.size++:t.size++,"F"!==o&&(u.index[o]=c)),t},s=function(t,e){var r,n=a(t),o=$r(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return zr(o.prototype,{clear:function(){for(var t=a(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,i?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=s(e,t);if(n){var o=n.next,u=n.previous;delete r.index[n.index],n.removed=!0,u&&(u.next=o),o&&(o.previous=u),r.first==n&&(r.first=o),r.last==n&&(r.last=u),i?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=re(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),zr(o.prototype,r?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return u(this,0===t?0:t,e)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),i&&Gr(o.prototype,"size",{get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=Hr(e),i=Hr(n);Ze(t,e,function(t,e){Vr(this,{type:n,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},r?"entries":"values",!r,!0),Kr(e)}},Yr=qr("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Xr);fr||rt(Object.prototype,"toString",fr?{}.toString:function(){return"[object "+pr(this)+"]"},{unsafe:!0});var Jr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Qr=qt("iterator"),Zr=qt("toStringTag"),tn=Pr.values;for(var en in Jr){var rn=n[en],nn=rn&&rn.prototype;if(nn){if(nn[Qr]!==tn)try{T(nn,Qr,tn)}catch(t){nn[Qr]=tn}if(nn[Zr]||T(nn,Zr,en),Jr[en])for(var on in Pr)if(nn[on]!==Pr[on])try{T(nn,on,Pr[on])}catch(t){nn[on]=Pr[on]}}}var an=function(t){var e,r,n,o,i=arguments.length,a=i>1?arguments[1]:void 0;return ee(this),(e=void 0!==a)&&ee(a),null==t?new this:(r=[],e?(n=0,o=re(a,i>2?arguments[2]:void 0,2),Fr(t,function(t){r.push(o(t,n++))})):Fr(t,r.push,r),new this(r))};Lt({target:"Map",stat:!0},{from:an});var un=function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)};Lt({target:"Map",stat:!0},{of:un});var sn=function(){for(var t,e=j(this),r=ee(e.delete),n=!0,o=0,i=arguments.length;o<i;o++)t=r.call(e,arguments[o]),n=n&&t;return!!n};Lt({target:"Map",proto:!0,real:!0,forced:q},{deleteAll:function(){return sn.apply(this,arguments)}});var cn=function(t){var e=vr(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return j(e.call(t))},fn=function(t){return Map.prototype.entries.call(t)};Lt({target:"Map",proto:!0,real:!0,forced:q},{every:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return!Fr(r,function(t,r){if(!n(r,t,e))return Fr.stop()},void 0,!0,!0).stopped}});var ln=qt("species"),hn=function(t,e){var r,n=j(t).constructor;return void 0===n||null==(r=j(n)[ln])?e:ee(r)};Lt({target:"Map",proto:!0,real:!0,forced:q},{filter:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Map"))),i=ee(o.set);return Fr(r,function(t,r){n(r,t,e)&&i.call(o,t,r)},void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{find:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return Fr(r,function(t,r){if(n(r,t,e))return Fr.stop(r)},void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{findKey:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return Fr(r,function(t,r){if(n(r,t,e))return Fr.stop(t)},void 0,!0,!0).result}}),Lt({target:"Map",stat:!0},{groupBy:function(t,e){var r=new this;ee(e);var n=ee(r.has),o=ee(r.get),i=ee(r.set);return Fr(t,function(t){var a=e(t);n.call(r,a)?o.call(r,a).push(t):i.call(r,a,[t])}),r}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{includes:function(t){return Fr(fn(j(this)),function(e,r){if((n=r)===(o=t)||n!=n&&o!=o)return Fr.stop();var n,o},void 0,!0,!0).stopped}}),Lt({target:"Map",stat:!0},{keyBy:function(t,e){var r=new this;ee(e);var n=ee(r.set);return Fr(t,function(t){n.call(r,e(t),t)}),r}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{keyOf:function(t){return Fr(fn(j(this)),function(e,r){if(r===t)return Fr.stop(e)},void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{mapKeys:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Map"))),i=ee(o.set);return Fr(r,function(t,r){i.call(o,n(r,t,e),r)},void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{mapValues:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Map"))),i=ee(o.set);return Fr(r,function(t,r){i.call(o,t,n(r,t,e))},void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{merge:function(t){for(var e=j(this),r=ee(e.set),n=0;n<arguments.length;)Fr(arguments[n++],r,e,!0);return e}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{reduce:function(t){var e=j(this),r=fn(e),n=arguments.length<2,o=n?void 0:arguments[1];if(ee(t),Fr(r,function(r,i){n?(n=!1,o=i):o=t(o,i,r,e)},void 0,!0,!0),n)throw TypeError("Reduce of empty map with no initial value");return o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{some:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return Fr(r,function(t,r){if(n(r,t,e))return Fr.stop()},void 0,!0,!0).stopped}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{update:function(t,e){var r=j(this),n=arguments.length;ee(e);var o=r.has(t);if(!o&&n<3)throw TypeError("Updating absent value");var i=o?r.get(t):ee(n>2?arguments[2]:void 0)(t,r);return r.set(t,e(i,t,r)),r}});var pn=function(t,e){var r,n=j(this),o=arguments.length>2?arguments[2]:void 0;if("function"!=typeof e&&"function"!=typeof o)throw TypeError("At least one callback required");return n.has(t)?(r=n.get(t),"function"==typeof e&&(r=e(r),n.set(t,r))):"function"==typeof o&&(r=o(),n.set(t,r)),r};Lt({target:"Map",proto:!0,real:!0,forced:q},{upsert:pn}),Lt({target:"Map",proto:!0,real:!0,forced:q},{updateOrInsert:pn});var dn="\t\n\v\f\r \u2028\u2029\ufeff",vn="["+dn+"]",gn=RegExp("^"+vn+vn+"*"),yn=RegExp(vn+vn+"*$"),mn=function(t){return function(e){var r=String(v(e));return 1&t&&(r=r.replace(gn,"")),2&t&&(r=r.replace(yn,"")),r}},bn={start:mn(1),end:mn(2),trim:mn(3)},wn=wt.f,Sn=R.f,En=I.f,xn=bn.trim,An="Number",On=n[An],Rn=On.prototype,jn=h(Jt(Rn))==An,Pn=function(t){var e,r,n,o,i,a,u,s,c=m(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=xn(c)).charCodeAt(0))||45===e){if(88===(r=c.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,u=0;u<a;u++)if((s=i.charCodeAt(u))<48||s>o)return NaN;return parseInt(i,n)}return+c};if(Tt(An,!On(" 0o1")||!On("0b1")||On("+0x1"))){for(var In,Tn=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof Tn&&(jn?o(function(){Rn.valueOf.call(r)}):h(r)!=An)?Dr(new On(Pn(e)),r,Tn):Pn(e)},kn=i?wn(On):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Ln=0;kn.length>Ln;Ln++)w(On,In=kn[Ln])&&!w(Tn,In)&&En(Tn,In,Sn(On,In));Tn.prototype=Rn,Rn.constructor=Tn,rt(n,An,Tn)}Lt({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)});var Un=n.isFinite;Lt({target:"Number",stat:!0},{isFinite:Number.isFinite||function(t){return"number"==typeof t&&Un(t)}});var Mn=Math.floor,_n=function(t){return!y(t)&&isFinite(t)&&Mn(t)===t};Lt({target:"Number",stat:!0},{isInteger:_n}),Lt({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Nn=Math.abs;Lt({target:"Number",stat:!0},{isSafeInteger:function(t){return _n(t)&&Nn(t)<=9007199254740991}}),Lt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991}),Lt({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991});var Cn=bn.trim,Fn=n.parseFloat,Bn=1/Fn(dn+"-0")!=-Infinity?function(t){var e=Cn(String(t)),r=Fn(e);return 0===r&&"-"==e.charAt(0)?-0:r}:Fn;Lt({target:"Number",stat:!0,forced:Number.parseFloat!=Bn},{parseFloat:Bn});var Dn=bn.trim,qn=n.parseInt,zn=/^[+-]?0[Xx]/,Wn=8!==qn(dn+"08")||22!==qn(dn+"0x16")?function(t,e){var r=Dn(String(t));return qn(r,e>>>0||(zn.test(r)?16:10))}:qn;Lt({target:"Number",stat:!0,forced:Number.parseInt!=Wn},{parseInt:Wn});var Kn=c.f,Gn=function(t){return function(e){for(var r,n=g(e),o=zt(n),a=o.length,u=0,s=[];a>u;)r=o[u++],i&&!Kn.call(n,r)||s.push(t?[r,n[r]]:n[r]);return s}},$n={entries:Gn(!0),values:Gn(!1)},Vn=$n.entries;Lt({target:"Object",stat:!0},{entries:function(t){return Vn(t)}}),Lt({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=g(t),o=R.f,i=Et(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&sr(a,e,r);return a}});var Hn=o(function(){zt(1)});Lt({target:"Object",stat:!0,forced:Hn},{keys:function(t){return zt(Ut(t))}});var Xn=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Lt({target:"Object",stat:!0},{is:Xn});var Yn=$n.values;Lt({target:"Object",stat:!0},{values:function(t){return Yn(t)}});var Jn=it("Reflect","apply"),Qn=Function.apply,Zn=!o(function(){Jn(function(){})});Lt({target:"Reflect",stat:!0,forced:Zn},{apply:function(t,e,r){return ee(t),j(r),Jn?Jn(t,e,r):Qn.call(t,e,r)}});var to=[].slice,eo={},ro=Function.bind||function(t){var e=ee(this),r=to.call(arguments,1),n=function(){var o=r.concat(to.call(arguments));return this instanceof n?function(t,e,r){if(!(e in eo)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";eo[e]=Function("C,a","return new C("+n.join(",")+")")}return eo[e](t,r)}(e,o.length,o):e.apply(t,o)};return y(e.prototype)&&(n.prototype=e.prototype),n},no=it("Reflect","construct"),oo=o(function(){function t(){}return!(no(function(){},[],t)instanceof t)}),io=!o(function(){no(function(){})}),ao=oo||io;Lt({target:"Reflect",stat:!0,forced:ao,sham:ao},{construct:function(t,e){ee(t),j(e);var r=arguments.length<3?t:ee(arguments[2]);if(io&&!oo)return no(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(ro.apply(t,n))}var o=r.prototype,i=Jt(y(o)?o:Object.prototype),a=Function.apply.call(t,i,e);return y(a)?a:i}});var uo=o(function(){Reflect.defineProperty(I.f({},1,{value:1}),1,{value:2})});Lt({target:"Reflect",stat:!0,forced:uo,sham:!i},{defineProperty:function(t,e,r){j(t);var n=m(e,!0);j(r);try{return I.f(t,n,r),!0}catch(t){return!1}}});var so=R.f;Lt({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var r=so(j(t),e);return!(r&&!r.configurable)&&delete t[e]}}),Lt({target:"Reflect",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return j(e)===i?e[r]:(n=R.f(e,r))?w(n,"value")?n.value:void 0===n.get?void 0:n.get.call(i):y(o=Ue(e))?t(o,r,i):void 0}}),Lt({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(t,e){return R.f(j(t),e)}}),Lt({target:"Reflect",stat:!0,sham:!Te},{getPrototypeOf:function(t){return Ue(j(t))}}),Lt({target:"Reflect",stat:!0},{has:function(t,e){return e in t}});var co=Object.isExtensible;Lt({target:"Reflect",stat:!0},{isExtensible:function(t){return j(t),!co||co(t)}}),Lt({target:"Reflect",stat:!0},{ownKeys:Et}),Lt({target:"Reflect",stat:!0,sham:!Nr},{preventExtensions:function(t){j(t);try{var e=it("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}});var fo=o(function(){var t=I.f({},"a",{configurable:!0});return!1!==Reflect.set(Ue(t),"a",1,t)});Lt({target:"Reflect",stat:!0,forced:fo},{set:function t(e,r,n){var o,i,a=arguments.length<4?e:arguments[3],u=R.f(j(e),r);if(!u){if(y(i=Ue(e)))return t(i,r,n,a);u=f(0)}if(w(u,"value")){if(!1===u.writable||!y(a))return!1;if(o=R.f(a,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,I.f(a,r,o)}else I.f(a,r,f(0,n));return!0}return void 0!==u.set&&(u.set.call(a,n),!0)}}),Ge&&Lt({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){j(t),Ke(e);try{return Ge(t,e),!0}catch(t){return!1}}});var lo=Cr.getWeakData,ho=et.set,po=et.getterFor,vo=fe.find,go=fe.findIndex,yo=0,mo=function(t){return t.frozen||(t.frozen=new bo)},bo=function(){this.entries=[]},wo=function(t,e){return vo(t.entries,function(t){return t[0]===e})};bo.prototype={get:function(t){var e=wo(this,t);if(e)return e[1]},has:function(t){return!!wo(this,t)},set:function(t,e){var r=wo(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=go(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var So={getConstructor:function(t,e,r,n){var o=t(function(t,i){Br(t,o,e),ho(t,{type:e,id:yo++,frozen:void 0}),null!=i&&Fr(i,t[n],t,r)}),i=po(e),a=function(t,e,r){var n=i(t),o=lo(j(e),!0);return!0===o?mo(n).set(e,r):o[n.id]=r,t};return zr(o.prototype,{delete:function(t){var e=i(this);if(!y(t))return!1;var r=lo(t);return!0===r?mo(e).delete(t):r&&w(r,e.id)&&delete r[e.id]},has:function(t){var e=i(this);if(!y(t))return!1;var r=lo(t);return!0===r?mo(e).has(t):r&&w(r,e.id)}}),zr(o.prototype,r?{get:function(t){var e=i(this);if(y(t)){var r=lo(t);return!0===r?mo(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},Eo=e(function(t){var e,r=et.enforce,o=!n.ActiveXObject&&"ActiveXObject"in n,i=Object.isExtensible,a=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},u=t.exports=qr("WeakMap",a,So);if(D&&o){e=So.getConstructor(a,"WeakMap",!0),Cr.REQUIRED=!0;var s=u.prototype,c=s.delete,f=s.has,l=s.get,h=s.set;zr(s,{delete:function(t){if(y(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),c.call(this,t)||n.frozen.delete(t)}return c.call(this,t)},has:function(t){if(y(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),f.call(this,t)||n.frozen.has(t)}return f.call(this,t)},get:function(t){if(y(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),f.call(this,t)?l.call(this,t):n.frozen.get(t)}return l.call(this,t)},set:function(t,n){if(y(t)&&!i(t)){var o=r(this);o.frozen||(o.frozen=new e),f.call(this,t)?h.call(this,t,n):o.frozen.set(t,n)}else h.call(this,t,n);return this}})}}),xo=z("metadata"),Ao=xo.store||(xo.store=new Eo),Oo=function(t,e,r){var n=Ao.get(t);if(!n){if(!r)return;Ao.set(t,n=new Yr)}var o=n.get(e);if(!o){if(!r)return;n.set(e,o=new Yr)}return o},Ro={store:Ao,getMap:Oo,has:function(t,e,r){var n=Oo(e,r,!1);return void 0!==n&&n.has(t)},get:function(t,e,r){var n=Oo(e,r,!1);return void 0===n?void 0:n.get(t)},set:function(t,e,r,n){Oo(r,n,!0).set(t,e)},keys:function(t,e){var r=Oo(t,e,!1),n=[];return r&&r.forEach(function(t,e){n.push(e)}),n},toKey:function(t){return void 0===t||"symbol"==typeof t?t:String(t)}},jo=Ro.toKey,Po=Ro.set;Lt({target:"Reflect",stat:!0},{defineMetadata:function(t,e,r){var n=arguments.length<4?void 0:jo(arguments[3]);Po(t,e,j(r),n)}});var Io=Ro.toKey,To=Ro.getMap,ko=Ro.store;Lt({target:"Reflect",stat:!0},{deleteMetadata:function(t,e){var r=arguments.length<3?void 0:Io(arguments[2]),n=To(j(e),r,!1);if(void 0===n||!n.delete(t))return!1;if(n.size)return!0;var o=ko.get(e);return o.delete(r),!!o.size||ko.delete(e)}});var Lo=Ro.has,Uo=Ro.get,Mo=Ro.toKey,_o=function(t,e,r){if(Lo(t,e,r))return Uo(t,e,r);var n=Ue(e);return null!==n?_o(t,n,r):void 0};Lt({target:"Reflect",stat:!0},{getMetadata:function(t,e){var r=arguments.length<3?void 0:Mo(arguments[2]);return _o(t,j(e),r)}});var No=qr("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Xr),Co=Ro.keys,Fo=Ro.toKey,Bo=function(t,e){var r=Co(t,e),n=Ue(t);if(null===n)return r;var o,i,a=Bo(n,e);return a.length?r.length?(o=new No(r.concat(a)),Fr(o,(i=[]).push,i),i):a:r};Lt({target:"Reflect",stat:!0},{getMetadataKeys:function(t){var e=arguments.length<2?void 0:Fo(arguments[1]);return Bo(j(t),e)}});var Do=Ro.get,qo=Ro.toKey;Lt({target:"Reflect",stat:!0},{getOwnMetadata:function(t,e){var r=arguments.length<3?void 0:qo(arguments[2]);return Do(t,j(e),r)}});var zo=Ro.keys,Wo=Ro.toKey;Lt({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(t){var e=arguments.length<2?void 0:Wo(arguments[1]);return zo(j(t),e)}});var Ko=Ro.has,Go=Ro.toKey,$o=function(t,e,r){if(Ko(t,e,r))return!0;var n=Ue(e);return null!==n&&$o(t,n,r)};Lt({target:"Reflect",stat:!0},{hasMetadata:function(t,e){var r=arguments.length<3?void 0:Go(arguments[2]);return $o(t,j(e),r)}});var Vo=Ro.has,Ho=Ro.toKey;Lt({target:"Reflect",stat:!0},{hasOwnMetadata:function(t,e){var r=arguments.length<3?void 0:Ho(arguments[2]);return Vo(t,j(e),r)}});var Xo=Ro.toKey,Yo=Ro.set;Lt({target:"Reflect",stat:!0},{metadata:function(t,e){return function(r,n){Yo(t,e,j(r),Xo(n))}}});var Jo=qt("match"),Qo=function(t){var e;return y(t)&&(void 0!==(e=t[Jo])?!!e:"RegExp"==h(t))},Zo=function(){var t=j(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function ti(t,e){return RegExp(t,e)}var ei=o(function(){var t=ti("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),ri=o(function(){var t=ti("^r","gy");return t.lastIndex=2,null!=t.exec("str")}),ni={UNSUPPORTED_Y:ei,BROKEN_CARET:ri},oi=I.f,ii=wt.f,ai=et.set,ui=qt("match"),si=n.RegExp,ci=si.prototype,fi=/a/g,li=/a/g,hi=new si(fi)!==fi,pi=ni.UNSUPPORTED_Y;if(i&&Tt("RegExp",!hi||pi||o(function(){return li[ui]=!1,si(fi)!=fi||si(li)==li||"/a/i"!=si(fi,"i")}))){for(var di=function(t,e){var r,n=this instanceof di,o=Qo(t),i=void 0===e;if(!n&&o&&t.constructor===di&&i)return t;hi?o&&!i&&(t=t.source):t instanceof di&&(i&&(e=Zo.call(t)),t=t.source),pi&&(r=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var a=Dr(hi?new si(t,e):si(t,e),n?this:ci,di);return pi&&r&&ai(a,{sticky:r}),a},vi=function(t){t in di||oi(di,t,{configurable:!0,get:function(){return si[t]},set:function(e){si[t]=e}})},gi=ii(si),yi=0;gi.length>yi;)vi(gi[yi++]);ci.constructor=di,di.prototype=ci,rt(n,"RegExp",di)}Kr("RegExp");var mi="toString",bi=RegExp.prototype,wi=bi[mi];(o(function(){return"/a/b"!=wi.call({source:"a",flags:"b"})})||wi.name!=mi)&&rt(RegExp.prototype,mi,function(){var t=j(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in bi)?Zo.call(t):r)},{unsafe:!0});var Si=RegExp.prototype.exec,Ei=String.prototype.replace,xi=Si,Ai=function(){var t=/a/,e=/b*/g;return Si.call(t,"a"),Si.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Oi=ni.UNSUPPORTED_Y||ni.BROKEN_CARET,Ri=void 0!==/()??/.exec("")[1];(Ai||Ri||Oi)&&(xi=function(t){var e,r,n,o,i=this,a=Oi&&i.sticky,u=Zo.call(i),s=i.source,c=0,f=t;return a&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),f=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(s="(?: "+s+")",f=" "+f,c++),r=new RegExp("^(?:"+s+")",u)),Ri&&(r=new RegExp("^"+s+"$(?!\\s)",u)),Ai&&(e=i.lastIndex),n=Si.call(a?r:i,f),a?n?(n.input=n.input.slice(c),n[0]=n[0].slice(c),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:Ai&&n&&(i.lastIndex=i.global?n.index+n[0].length:e),Ri&&n&&n.length>1&&Ei.call(n[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)}),n});var ji=xi;Lt({target:"RegExp",proto:!0,forced:/./.exec!==ji},{exec:ji}),i&&("g"!=/./g.flags||ni.UNSUPPORTED_Y)&&I.f(RegExp.prototype,"flags",{configurable:!0,get:Zo});var Pi=et.get,Ii=RegExp.prototype;i&&ni.UNSUPPORTED_Y&&(0,I.f)(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==Ii){if(this instanceof RegExp)return!!Pi(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}});var Ti,ki,Li=(Ti=!1,(ki=/[ac]/).exec=function(){return Ti=!0,/./.exec.apply(this,arguments)},!0===ki.test("abc")&&Ti),Ui=/./.test;Lt({target:"RegExp",proto:!0,forced:!Li},{test:function(t){if("function"!=typeof this.exec)return Ui.call(this,t);var e=this.exec(t);if(null!==e&&!y(e))throw new Error("RegExp exec method returned something other than an Object or null");return!!e}});var Mi=qt("species"),_i=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),Ni="$0"==="a".replace(/./,"$0"),Ci=qt("replace"),Fi=!!/./[Ci]&&""===/./[Ci]("a","$0"),Bi=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Di=function(t,e,r,n){var i=qt(t),a=!o(function(){var e={};return e[i]=function(){return 7},7!=""[t](e)}),u=a&&!o(function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Mi]=function(){return r},r.flags="",r[i]=/./[i]),r.exec=function(){return e=!0,null},r[i](""),!e});if(!a||!u||"replace"===t&&(!_i||!Ni||Fi)||"split"===t&&!Bi){var s=/./[i],c=r(i,""[t],function(t,e,r,n,o){return e.exec===ji?a&&!o?{done:!0,value:s.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}},{REPLACE_KEEPS_$0:Ni,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Fi}),f=c[1];rt(String.prototype,t,c[0]),rt(RegExp.prototype,i,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)})}n&&T(RegExp.prototype[i],"sham",!0)},qi=Ie.charAt,zi=function(t,e,r){return e+(r?qi(t,e).length:1)},Wi=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==h(t))throw TypeError("RegExp#exec called on incompatible receiver");return ji.call(t,e)};Di("match",1,function(t,e,r){return[function(e){var r=v(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=j(t),i=String(this);if(!o.global)return Wi(o,i);var a=o.unicode;o.lastIndex=0;for(var u,s=[],c=0;null!==(u=Wi(o,i));){var f=String(u[0]);s[c]=f,""===f&&(o.lastIndex=zi(i,ft(o.lastIndex),a)),c++}return 0===c?null:s}]});var Ki=Math.max,Gi=Math.min,$i=Math.floor,Vi=/\$([$&'`]|\d\d?|<[^>]*>)/g,Hi=/\$([$&'`]|\d\d?)/g;Di("replace",2,function(t,e,r,n){var o=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=n.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(r,n){var o=v(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!o&&i||"string"==typeof n&&-1===n.indexOf(a)){var s=r(e,t,this,n);if(s.done)return s.value}var c=j(t),f=String(this),l="function"==typeof n;l||(n=String(n));var h=c.global;if(h){var p=c.unicode;c.lastIndex=0}for(var d=[];;){var v=Wi(c,f);if(null===v)break;if(d.push(v),!h)break;""===String(v[0])&&(c.lastIndex=zi(f,ft(c.lastIndex),p))}for(var g,y="",m=0,b=0;b<d.length;b++){v=d[b];for(var w=String(v[0]),S=Ki(Gi(st(v.index),f.length),0),E=[],x=1;x<v.length;x++)E.push(void 0===(g=v[x])?g:String(g));var A=v.groups;if(l){var O=[w].concat(E,S,f);void 0!==A&&O.push(A);var R=String(n.apply(void 0,O))}else R=u(w,f,S,E,A,n);S>=m&&(y+=f.slice(m,S)+R,m=S+w.length)}return y+f.slice(m)}];function u(t,r,n,o,i,a){var u=n+t.length,s=o.length,c=Hi;return void 0!==i&&(i=Ut(i),c=Vi),e.call(a,c,function(e,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=i[a.slice(1,-1)];break;default:var f=+a;if(0===f)return e;if(f>s){var l=$i(f/10);return 0===l?e:l<=s?void 0===o[l-1]?a.charAt(1):o[l-1]+a.charAt(1):e}c=o[f-1]}return void 0===c?"":c})}}),Di("search",1,function(t,e,r){return[function(e){var r=v(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=j(t),i=String(this),a=o.lastIndex;Xn(a,0)||(o.lastIndex=0);var u=Wi(o,i);return Xn(o.lastIndex,a)||(o.lastIndex=a),null===u?-1:u.index}]});var Xi=[].push,Yi=Math.min,Ji=4294967295,Qi=!o(function(){return!RegExp(Ji,"y")});Di("split",2,function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(v(this)),o=void 0===r?Ji:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!Qo(t))return e.call(n,t,o);for(var i,a,u,s=[],c=0,f=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(i=ji.call(f,n))&&!((a=f.lastIndex)>c&&(s.push(n.slice(c,i.index)),i.length>1&&i.index<n.length&&Xi.apply(s,i.slice(1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===n.length?!u&&f.test("")||s.push(""):s.push(n.slice(c)),s.length>o?s.slice(0,o):s}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=v(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,o){var i=r(n,t,this,o,n!==e);if(i.done)return i.value;var a=j(t),u=String(this),s=hn(a,RegExp),c=a.unicode,f=new s(Qi?a:"^(?:"+a.source+")",(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Qi?"y":"g")),l=void 0===o?Ji:o>>>0;if(0===l)return[];if(0===u.length)return null===Wi(f,u)?[u]:[];for(var h=0,p=0,d=[];p<u.length;){f.lastIndex=Qi?p:0;var v,g=Wi(f,Qi?u:u.slice(p));if(null===g||(v=Yi(ft(f.lastIndex+(Qi?0:p)),u.length))===h)p=zi(u,p,c);else{if(d.push(u.slice(h,p)),d.length===l)return d;for(var y=1;y<=g.length-1;y++)if(d.push(g[y]),d.length===l)return d;p=h=v}}return d.push(u.slice(h)),d}]},!Qi),Lt({target:"Set",stat:!0},{from:an}),Lt({target:"Set",stat:!0},{of:un});var Zi=function(){for(var t=j(this),e=ee(t.add),r=0,n=arguments.length;r<n;r++)e.call(t,arguments[r]);return t};Lt({target:"Set",proto:!0,real:!0,forced:q},{addAll:function(){return Zi.apply(this,arguments)}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{deleteAll:function(){return sn.apply(this,arguments)}});var ta=function(t){return Set.prototype.values.call(t)};Lt({target:"Set",proto:!0,real:!0,forced:q},{every:function(t){var e=j(this),r=ta(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return!Fr(r,function(t){if(!n(t,t,e))return Fr.stop()},void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{difference:function(t){var e=j(this),r=new(hn(e,it("Set")))(e),n=ee(r.delete);return Fr(t,function(t){n.call(r,t)}),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{filter:function(t){var e=j(this),r=ta(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Set"))),i=ee(o.add);return Fr(r,function(t){n(t,t,e)&&i.call(o,t)},void 0,!1,!0),o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{find:function(t){var e=j(this),r=ta(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return Fr(r,function(t){if(n(t,t,e))return Fr.stop(t)},void 0,!1,!0).result}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{intersection:function(t){var e=j(this),r=new(hn(e,it("Set"))),n=ee(e.has),o=ee(r.add);return Fr(t,function(t){n.call(e,t)&&o.call(r,t)}),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isDisjointFrom:function(t){var e=j(this),r=ee(e.has);return!Fr(t,function(t){if(!0===r.call(e,t))return Fr.stop()}).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isSubsetOf:function(t){var e=cn(this),r=j(t),n=r.has;return"function"!=typeof n&&(r=new(it("Set"))(t),n=ee(r.has)),!Fr(e,function(t){if(!1===n.call(r,t))return Fr.stop()},void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isSupersetOf:function(t){var e=j(this),r=ee(e.has);return!Fr(t,function(t){if(!1===r.call(e,t))return Fr.stop()}).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{join:function(t){var e=j(this),r=ta(e),n=void 0===t?",":String(t),o=[];return Fr(r,o.push,o,!1,!0),o.join(n)}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{map:function(t){var e=j(this),r=ta(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Set"))),i=ee(o.add);return Fr(r,function(t){i.call(o,n(t,t,e))},void 0,!1,!0),o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{reduce:function(t){var e=j(this),r=ta(e),n=arguments.length<2,o=n?void 0:arguments[1];if(ee(t),Fr(r,function(r){n?(n=!1,o=r):o=t(o,r,r,e)},void 0,!1,!0),n)throw TypeError("Reduce of empty set with no initial value");return o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{some:function(t){var e=j(this),r=ta(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return Fr(r,function(t){if(n(t,t,e))return Fr.stop()},void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{symmetricDifference:function(t){var e=j(this),r=new(hn(e,it("Set")))(e),n=ee(r.delete),o=ee(r.add);return Fr(t,function(t){n.call(r,t)||o.call(r,t)}),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{union:function(t){var e=j(this),r=new(hn(e,it("Set")))(e);return Fr(t,ee(r.add),r),r}});var ea,ra,na=it("navigator","userAgent")||"",oa=n.process,ia=oa&&oa.versions,aa=ia&&ia.v8;aa?ra=(ea=aa.split("."))[0]+ea[1]:na&&(!(ea=na.match(/Edge\/(\d+)/))||ea[1]>=74)&&(ea=na.match(/Chrome\/(\d+)/))&&(ra=ea[1]);var ua=ra&&+ra,sa=qt("species"),ca=qt("isConcatSpreadable"),fa=9007199254740991,la="Maximum allowed index exceeded",ha=ua>=51||!o(function(){var t=[];return t[ca]=!1,t.concat()[0]!==t}),pa=ua>=51||!o(function(){var t=[];return(t.constructor={})[sa]=function(){return{foo:1}},1!==t.concat(Boolean).foo}),da=function(t){if(!y(t))return!1;var e=t[ca];return void 0!==e?!!e:ie(t)};Lt({target:"Array",proto:!0,forced:!ha||!pa},{concat:function(t){var e,r,n,o,i,a=Ut(this),u=ue(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(da(i=-1===e?a:arguments[e])){if(s+(o=ft(i.length))>fa)throw TypeError(la);for(r=0;r<o;r++,s++)r in i&&sr(u,s,i[r])}else{if(s>=fa)throw TypeError(la);sr(u,s++,i)}return u.length=s,u}});var va=wt.f,ga={}.toString,ya="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ma={f:function(t){return ya&&"[object Window]"==ga.call(t)?function(t){try{return va(t)}catch(t){return ya.slice()}}(t):va(g(t))}},ba={f:qt},wa=I.f,Sa=function(t){var e=nt.Symbol||(nt.Symbol={});w(e,t)||wa(e,t,{value:ba.f(t)})},Ea=fe.forEach,xa=V("hidden"),Aa="Symbol",Oa="prototype",Ra=qt("toPrimitive"),ja=et.set,Pa=et.getterFor(Aa),Ia=Object[Oa],Ta=n.Symbol,ka=it("JSON","stringify"),La=R.f,Ua=I.f,Ma=ma.f,_a=c.f,Na=z("symbols"),Ca=z("op-symbols"),Fa=z("string-to-symbol-registry"),Ba=z("symbol-to-string-registry"),Da=z("wks"),qa=n.QObject,za=!qa||!qa[Oa]||!qa[Oa].findChild,Wa=i&&o(function(){return 7!=Jt(Ua({},"a",{get:function(){return Ua(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=La(Ia,e);n&&delete Ia[e],Ua(t,e,r),n&&t!==Ia&&Ua(Ia,e,n)}:Ua,Ka=function(t,e){var r=Na[t]=Jt(Ta[Oa]);return ja(r,{type:Aa,tag:t,description:e}),i||(r.description=e),r},Ga=Ct?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Ta},$a=function(t,e,r){t===Ia&&$a(Ca,e,r),j(t);var n=m(e,!0);return j(r),w(Na,n)?(r.enumerable?(w(t,xa)&&t[xa][n]&&(t[xa][n]=!1),r=Jt(r,{enumerable:f(0,!1)})):(w(t,xa)||Ua(t,xa,f(1,{})),t[xa][n]=!0),Wa(t,n,r)):Ua(t,n,r)},Va=function(t,e){j(t);var r=g(e),n=zt(r).concat(Ja(r));return Ea(n,function(e){i&&!Ha.call(r,e)||$a(t,e,r[e])}),t},Ha=function(t){var e=m(t,!0),r=_a.call(this,e);return!(this===Ia&&w(Na,e)&&!w(Ca,e))&&(!(r||!w(this,e)||!w(Na,e)||w(this,xa)&&this[xa][e])||r)},Xa=function(t,e){var r=g(t),n=m(e,!0);if(r!==Ia||!w(Na,n)||w(Ca,n)){var o=La(r,n);return!o||!w(Na,n)||w(r,xa)&&r[xa][n]||(o.enumerable=!0),o}},Ya=function(t){var e=Ma(g(t)),r=[];return Ea(e,function(t){w(Na,t)||w(H,t)||r.push(t)}),r},Ja=function(t){var e=t===Ia,r=Ma(e?Ca:g(t)),n=[];return Ea(r,function(t){!w(Na,t)||e&&!w(Ia,t)||n.push(Na[t])}),n};if(Nt||(Ta=function(){if(this instanceof Ta)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=G(t),r=function(t){this===Ia&&r.call(Ca,t),w(this,xa)&&w(this[xa],e)&&(this[xa][e]=!1),Wa(this,e,f(1,t))};return i&&za&&Wa(Ia,e,{configurable:!0,set:r}),Ka(e,t)},rt(Ta[Oa],"toString",function(){return Pa(this).tag}),rt(Ta,"withoutSetter",function(t){return Ka(G(t),t)}),c.f=Ha,I.f=$a,R.f=Xa,wt.f=ma.f=Ya,St.f=Ja,ba.f=function(t){return Ka(qt(t),t)},i&&(Ua(Ta[Oa],"description",{configurable:!0,get:function(){return Pa(this).description}}),rt(Ia,"propertyIsEnumerable",Ha,{unsafe:!0}))),Lt({global:!0,wrap:!0,forced:!Nt,sham:!Nt},{Symbol:Ta}),Ea(zt(Da),function(t){Sa(t)}),Lt({target:Aa,stat:!0,forced:!Nt},{for:function(t){var e=String(t);if(w(Fa,e))return Fa[e];var r=Ta(e);return Fa[e]=r,Ba[r]=e,r},keyFor:function(t){if(!Ga(t))throw TypeError(t+" is not a symbol");if(w(Ba,t))return Ba[t]},useSetter:function(){za=!0},useSimple:function(){za=!1}}),Lt({target:"Object",stat:!0,forced:!Nt,sham:!i},{create:function(t,e){return void 0===e?Jt(t):Va(Jt(t),e)},defineProperty:$a,defineProperties:Va,getOwnPropertyDescriptor:Xa}),Lt({target:"Object",stat:!0,forced:!Nt},{getOwnPropertyNames:Ya,getOwnPropertySymbols:Ja}),Lt({target:"Object",stat:!0,forced:o(function(){St.f(1)})},{getOwnPropertySymbols:function(t){return St.f(Ut(t))}}),ka){var Qa=!Nt||o(function(){var t=Ta();return"[null]"!=ka([t])||"{}"!=ka({a:t})||"{}"!=ka(Object(t))});Lt({target:"JSON",stat:!0,forced:Qa},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(y(e)||void 0!==t)&&!Ga(t))return ie(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Ga(e))return e}),o[1]=e,ka.apply(null,o)}})}Ta[Oa][Ra]||T(Ta[Oa],Ra,Ta[Oa].valueOf),Be(Ta,Aa),H[xa]=!0,Sa("asyncIterator");var Za=I.f,tu=n.Symbol;if(i&&"function"==typeof tu&&(!("description"in tu.prototype)||void 0!==tu().description)){var eu={},ru=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof ru?new tu(t):void 0===t?tu():tu(t);return""===t&&(eu[e]=!0),e};xt(ru,tu);var nu=ru.prototype=tu.prototype;nu.constructor=ru;var ou=nu.toString,iu="Symbol(test)"==String(tu("test")),au=/^Symbol\((.*)\)[^)]+$/;Za(nu,"description",{configurable:!0,get:function(){var t=y(this)?this.valueOf():this,e=ou.call(t);if(w(eu,t))return"";var r=iu?e.slice(7,-1):e.replace(au,"$1");return""===r?void 0:r}}),Lt({global:!0,forced:!0},{Symbol:ru})}Sa("hasInstance"),Sa("isConcatSpreadable"),Sa("iterator"),Sa("match"),Sa("matchAll"),Sa("replace"),Sa("search"),Sa("species"),Sa("split"),Sa("toPrimitive"),Sa("toStringTag"),Sa("unscopables"),Be(Math,"Math",!0),Be(n.JSON,"JSON",!0),Sa("asyncDispose"),Sa("dispose"),Sa("observable"),Sa("patternMatch"),Sa("replaceAll"),ba.f("asyncIterator");var uu=Ie.codeAt;Lt({target:"String",proto:!0},{codePointAt:function(t){return uu(this,t)}}),oe("String","codePointAt");var su,cu=function(t){if(Qo(t))throw TypeError("The method doesn't accept regular expressions");return t},fu=qt("match"),lu=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[fu]=!1,"/./"[t](e)}catch(t){}}return!1},hu=R.f,pu="".endsWith,du=Math.min,vu=lu("endsWith"),gu=!(vu||(su=hu(String.prototype,"endsWith"),!su||su.writable));Lt({target:"String",proto:!0,forced:!gu&&!vu},{endsWith:function(t){var e=String(v(this));cu(t);var r=arguments.length>1?arguments[1]:void 0,n=ft(e.length),o=void 0===r?n:du(ft(r),n),i=String(t);return pu?pu.call(e,i,o):e.slice(o-i.length,o)===i}}),oe("String","endsWith");var yu=String.fromCharCode,mu=String.fromCodePoint;Lt({target:"String",stat:!0,forced:!!mu&&1!=mu.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],pt(e,1114111)!==e)throw RangeError(e+" is not a valid code point");r.push(e<65536?yu(e):yu(55296+((e-=65536)>>10),e%1024+56320))}return r.join("")}}),Lt({target:"String",proto:!0,forced:!lu("includes")},{includes:function(t){return!!~String(v(this)).indexOf(cu(t),arguments.length>1?arguments[1]:void 0)}}),oe("String","includes");var bu="".repeat||function(t){var e=String(v(this)),r="",n=st(t);if(n<0||Infinity==n)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},wu=Math.ceil,Su=function(t){return function(e,r,n){var o,i,a=String(v(e)),u=a.length,s=void 0===n?" ":String(n),c=ft(r);return c<=u||""==s?a:((i=bu.call(s,wu((o=c-u)/s.length))).length>o&&(i=i.slice(0,o)),t?a+i:i+a)}},Eu={start:Su(!1),end:Su(!0)},xu=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(na),Au=Eu.start;Lt({target:"String",proto:!0,forced:xu},{padStart:function(t){return Au(this,t,arguments.length>1?arguments[1]:void 0)}}),oe("String","padStart");var Ou=Eu.end;Lt({target:"String",proto:!0,forced:xu},{padEnd:function(t){return Ou(this,t,arguments.length>1?arguments[1]:void 0)}}),oe("String","padEnd"),Lt({target:"String",stat:!0},{raw:function(t){for(var e=g(t.raw),r=ft(e.length),n=arguments.length,o=[],i=0;r>i;)o.push(String(e[i++])),i<n&&o.push(String(arguments[i]));return o.join("")}}),Lt({target:"String",proto:!0},{repeat:bu}),oe("String","repeat");var Ru=R.f,ju="".startsWith,Pu=Math.min,Iu=lu("startsWith"),Tu=!Iu&&!!function(){var t=Ru(String.prototype,"startsWith");return t&&!t.writable}();Lt({target:"String",proto:!0,forced:!Tu&&!Iu},{startsWith:function(t){var e=String(v(this));cu(t);var r=ft(Pu(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return ju?ju.call(e,n,r):e.slice(r,r+n.length)===n}}),oe("String","startsWith");var ku=function(t){return o(function(){return!!dn[t]()||" "!=" "[t]()||dn[t].name!==t})},Lu=bn.start,Uu=ku("trimStart"),Mu=Uu?function(){return Lu(this)}:"".trimStart;Lt({target:"String",proto:!0,forced:Uu},{trimStart:Mu,trimLeft:Mu}),oe("String","trimLeft");var _u=bn.end,Nu=ku("trimEnd"),Cu=Nu?function(){return _u(this)}:"".trimEnd;Lt({target:"String",proto:!0,forced:Nu},{trimEnd:Cu,trimRight:Cu}),oe("String","trimRight");var Fu=qt("iterator"),Bu=!o(function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach(function(t,n){e.delete("b"),r+=n+t}),!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Fu]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}),Du=Object.assign,qu=Object.defineProperty,zu=!Du||o(function(){if(i&&1!==Du({b:1},Du(qu({},"a",{enumerable:!0,get:function(){qu(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=Du({},t)[r]||zt(Du({},e)).join("")!=n})?function(t,e){for(var r=Ut(t),n=arguments.length,o=1,a=St.f,u=c.f;n>o;)for(var s,f=d(arguments[o++]),l=a?zt(f).concat(a(f)):zt(f),h=l.length,p=0;h>p;)s=l[p++],i&&!u.call(f,s)||(r[s]=f[s]);return r}:Du,Wu=2147483647,Ku=/[^\0-\u007E]/,Gu=/[.\u3002\uFF0E\uFF61]/g,$u="Overflow: input needs wider integers to process",Vu=Math.floor,Hu=String.fromCharCode,Xu=function(t){return t+22+75*(t<26)},Yu=function(t,e,r){var n=0;for(t=r?Vu(t/700):t>>1,t+=Vu(t/e);t>455;n+=36)t=Vu(t/35);return Vu(n+36*t/(t+38))},Ju=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t);var r,n,o=t.length,i=128,a=0,u=72;for(r=0;r<t.length;r++)(n=t[r])<128&&e.push(Hu(n));var s=e.length,c=s;for(s&&e.push("-");c<o;){var f=Wu;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<f&&(f=n);var l=c+1;if(f-i>Vu((Wu-a)/l))throw RangeError($u);for(a+=(f-i)*l,i=f,r=0;r<t.length;r++){if((n=t[r])<i&&++a>Wu)throw RangeError($u);if(n==i){for(var h=a,p=36;;p+=36){var d=p<=u?1:p>=u+26?26:p-u;if(h<d)break;var v=h-d,g=36-d;e.push(Hu(Xu(d+v%g))),h=Vu(v/g)}e.push(Hu(Xu(h))),u=Yu(a,l,c==s),a=0,++c}}++a,++i}return e.join("")},Qu=it("fetch"),Zu=it("Headers"),ts=qt("iterator"),es="URLSearchParams",rs=es+"Iterator",ns=et.set,os=et.getterFor(es),is=et.getterFor(rs),as=/\+/g,us=Array(4),ss=function(t){return us[t-1]||(us[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},cs=function(t){try{return decodeURIComponent(t)}catch(e){return t}},fs=function(t){var e=t.replace(as," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(ss(r--),cs);return e}},ls=/[!'()~]|%20/g,hs={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ps=function(t){return hs[t]},ds=function(t){return encodeURIComponent(t).replace(ls,ps)},vs=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:fs(n.shift()),value:fs(n.join("="))}))},gs=function(t){this.entries.length=0,vs(this.entries,t)},ys=function(t,e){if(t<e)throw TypeError("Not enough arguments")},ms=We(function(t,e){ns(this,{type:rs,iterator:cn(os(t).entries),kind:e})},"Iterator",function(){var t=is(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r}),bs=function(){Br(this,bs,es);var t,e,r,n,o,i,a,u,s,c=arguments.length>0?arguments[0]:void 0,f=[];if(ns(this,{type:es,entries:f,updateURL:function(){},updateSearchParams:gs}),void 0!==c)if(y(c))if("function"==typeof(t=vr(c)))for(r=(e=t.call(c)).next;!(n=r.call(e)).done;){if((a=(i=(o=cn(j(n.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");f.push({key:a.value+"",value:u.value+""})}else for(s in c)w(c,s)&&f.push({key:s,value:c[s]+""});else vs(f,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},ws=bs.prototype;zr(ws,{append:function(t,e){ys(arguments.length,2);var r=os(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){ys(arguments.length,1);for(var e=os(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){ys(arguments.length,1);for(var e=os(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){ys(arguments.length,1);for(var e=os(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){ys(arguments.length,1);for(var e=os(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){ys(arguments.length,1);for(var r,n=os(this),o=n.entries,i=!1,a=t+"",u=e+"",s=0;s<o.length;s++)(r=o[s]).key===a&&(i?o.splice(s--,1):(i=!0,r.value=u));i||o.push({key:a,value:u}),n.updateURL()},sort:function(){var t,e,r,n=os(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=os(this).entries,n=re(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new ms(this,"keys")},values:function(){return new ms(this,"values")},entries:function(){return new ms(this,"entries")}},{enumerable:!0}),rt(ws,ts,ws.entries),rt(ws,"toString",function(){for(var t,e=os(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(ds(t.key)+"="+ds(t.value));return r.join("&")},{enumerable:!0}),Be(bs,es),Lt({global:!0,forced:!Bu},{URLSearchParams:bs}),Bu||"function"!=typeof Qu||"function"!=typeof Zu||Lt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(y(e=arguments[1])&&pr(r=e.body)===es&&((n=e.headers?new Zu(e.headers):new Zu).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=Jt(e,{body:f(0,String(r)),headers:f(0,n)})),o.push(e)),Qu.apply(this,o)}});var Ss,Es={URLSearchParams:bs,getState:os},xs=Ie.codeAt,As=n.URL,Os=Es.URLSearchParams,Rs=Es.getState,js=et.set,Ps=et.getterFor("URL"),Is=Math.floor,Ts=Math.pow,ks="Invalid scheme",Ls="Invalid host",Us="Invalid port",Ms=/[A-Za-z]/,_s=/[\d+-.A-Za-z]/,Ns=/\d/,Cs=/^(0x|0X)/,Fs=/^[0-7]+$/,Bs=/^\d+$/,Ds=/^[\dA-Fa-f]+$/,qs=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,zs=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,Ws=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Ks=/[\u0009\u000A\u000D]/g,Gs=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return Ls;if(!(r=Vs(e.slice(1,-1))))return Ls;t.host=r}else if(ec(t)){if(e=function(t){var e,r,n=[],o=t.toLowerCase().replace(Gu,".").split(".");for(e=0;e<o.length;e++)n.push(Ku.test(r=o[e])?"xn--"+Ju(r):r);return n.join(".")}(e),qs.test(e))return Ls;if(null===(r=$s(e)))return Ls;t.host=r}else{if(zs.test(e))return Ls;for(r="",n=gr(e),o=0;o<n.length;o++)r+=Zs(n[o],Xs);t.host=r}},$s=function(t){var e,r,n,o,i,a,u,s=t.split(".");if(s.length&&""==s[s.length-1]&&s.pop(),(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=s[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=Cs.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?Bs:8==i?Fs:Ds).test(o))return t;a=parseInt(o,i)}r.push(a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=Ts(256,5-e))return null}else if(a>255)return null;for(u=r.pop(),n=0;n<r.length;n++)u+=r[n]*Ts(256,3-n);return u},Vs=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,h=function(){return t.charAt(l)};if(":"==h()){if(":"!=t.charAt(1))return;l+=2,f=++c}for(;h();){if(8==c)return;if(":"!=h()){for(e=r=0;r<4&&Ds.test(h());)e=16*e+parseInt(h(),16),l++,r++;if("."==h()){if(0==r)return;if(l-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;l++}if(!Ns.test(h()))return;for(;Ns.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==h()){if(l++,!h())return}else if(h())return;s[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!=c)return;return s},Hs=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=Is(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},Xs={},Ys=zu({},Xs,{" ":1,'"':1,"<":1,">":1,"`":1}),Js=zu({},Ys,{"#":1,"?":1,"{":1,"}":1}),Qs=zu({},Js,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Zs=function(t,e){var r=xs(t,0);return r>32&&r<127&&!w(e,t)?t:encodeURIComponent(t)},tc={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ec=function(t){return w(tc,t.scheme)},rc=function(t){return""!=t.username||""!=t.password},nc=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},oc=function(t,e){var r;return 2==t.length&&Ms.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},ic=function(t){var e;return t.length>1&&oc(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},ac=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&oc(e[0],!0)||e.pop()},uc=function(t){return"."===t||"%2e"===t.toLowerCase()},sc={},cc={},fc={},lc={},hc={},pc={},dc={},vc={},gc={},yc={},mc={},bc={},wc={},Sc={},Ec={},xc={},Ac={},Oc={},Rc={},jc={},Pc={},Ic=function(t,e,r,n){var o,i,a,u,s,c=r||sc,f=0,l="",h=!1,p=!1,d=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(Ws,"")),e=e.replace(Ks,""),o=gr(e);f<=o.length;){switch(i=o[f],c){case sc:if(!i||!Ms.test(i)){if(r)return ks;c=fc;continue}l+=i.toLowerCase(),c=cc;break;case cc:if(i&&(_s.test(i)||"+"==i||"-"==i||"."==i))l+=i.toLowerCase();else{if(":"!=i){if(r)return ks;l="",c=fc,f=0;continue}if(r&&(ec(t)!=w(tc,l)||"file"==l&&(rc(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=l,r)return void(ec(t)&&tc[t.scheme]==t.port&&(t.port=null));l="","file"==t.scheme?c=Sc:ec(t)&&n&&n.scheme==t.scheme?c=lc:ec(t)?c=vc:"/"==o[f+1]?(c=hc,f++):(t.cannotBeABaseURL=!0,t.path.push(""),c=Rc)}break;case fc:if(!n||n.cannotBeABaseURL&&"#"!=i)return ks;if(n.cannotBeABaseURL&&"#"==i){t.scheme=n.scheme,t.path=n.path.slice(),t.query=n.query,t.fragment="",t.cannotBeABaseURL=!0,c=Pc;break}c="file"==n.scheme?Sc:pc;continue;case lc:if("/"!=i||"/"!=o[f+1]){c=pc;continue}c=gc,f++;break;case hc:if("/"==i){c=yc;break}c=Oc;continue;case pc:if(t.scheme=n.scheme,i==Ss)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query;else if("/"==i||"\\"==i&&ec(t))c=dc;else if("?"==i)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query="",c=jc;else{if("#"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.path.pop(),c=Oc;continue}t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query,t.fragment="",c=Pc}break;case dc:if(!ec(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,c=Oc;continue}c=yc}else c=gc;break;case vc:if(c=gc,"/"!=i||"/"!=l.charAt(f+1))continue;f++;break;case gc:if("/"!=i&&"\\"!=i){c=yc;continue}break;case yc:if("@"==i){h&&(l="%40"+l),h=!0,a=gr(l);for(var v=0;v<a.length;v++){var g=a[v];if(":"!=g||d){var y=Zs(g,Qs);d?t.password+=y:t.username+=y}else d=!0}l=""}else if(i==Ss||"/"==i||"?"==i||"#"==i||"\\"==i&&ec(t)){if(h&&""==l)return"Invalid authority";f-=gr(l).length+1,l="",c=mc}else l+=i;break;case mc:case bc:if(r&&"file"==t.scheme){c=xc;continue}if(":"!=i||p){if(i==Ss||"/"==i||"?"==i||"#"==i||"\\"==i&&ec(t)){if(ec(t)&&""==l)return Ls;if(r&&""==l&&(rc(t)||null!==t.port))return;if(u=Gs(t,l))return u;if(l="",c=Ac,r)return;continue}"["==i?p=!0:"]"==i&&(p=!1),l+=i}else{if(""==l)return Ls;if(u=Gs(t,l))return u;if(l="",c=wc,r==bc)return}break;case wc:if(!Ns.test(i)){if(i==Ss||"/"==i||"?"==i||"#"==i||"\\"==i&&ec(t)||r){if(""!=l){var m=parseInt(l,10);if(m>65535)return Us;t.port=ec(t)&&m===tc[t.scheme]?null:m,l=""}if(r)return;c=Ac;continue}return Us}l+=i;break;case Sc:if(t.scheme="file","/"==i||"\\"==i)c=Ec;else{if(!n||"file"!=n.scheme){c=Oc;continue}if(i==Ss)t.host=n.host,t.path=n.path.slice(),t.query=n.query;else if("?"==i)t.host=n.host,t.path=n.path.slice(),t.query="",c=jc;else{if("#"!=i){ic(o.slice(f).join(""))||(t.host=n.host,t.path=n.path.slice(),ac(t)),c=Oc;continue}t.host=n.host,t.path=n.path.slice(),t.query=n.query,t.fragment="",c=Pc}}break;case Ec:if("/"==i||"\\"==i){c=xc;break}n&&"file"==n.scheme&&!ic(o.slice(f).join(""))&&(oc(n.path[0],!0)?t.path.push(n.path[0]):t.host=n.host),c=Oc;continue;case xc:if(i==Ss||"/"==i||"\\"==i||"?"==i||"#"==i){if(!r&&oc(l))c=Oc;else if(""==l){if(t.host="",r)return;c=Ac}else{if(u=Gs(t,l))return u;if("localhost"==t.host&&(t.host=""),r)return;l="",c=Ac}continue}l+=i;break;case Ac:if(ec(t)){if(c=Oc,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=Ss&&(c=Oc,"/"!=i))continue}else t.fragment="",c=Pc;else t.query="",c=jc;break;case Oc:if(i==Ss||"/"==i||"\\"==i&&ec(t)||!r&&("?"==i||"#"==i)){if(".."===(s=(s=l).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(ac(t),"/"==i||"\\"==i&&ec(t)||t.path.push("")):uc(l)?"/"==i||"\\"==i&&ec(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&oc(l)&&(t.host&&(t.host=""),l=l.charAt(0)+":"),t.path.push(l)),l="","file"==t.scheme&&(i==Ss||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",c=jc):"#"==i&&(t.fragment="",c=Pc)}else l+=Zs(i,Js);break;case Rc:"?"==i?(t.query="",c=jc):"#"==i?(t.fragment="",c=Pc):i!=Ss&&(t.path[0]+=Zs(i,Xs));break;case jc:r||"#"!=i?i!=Ss&&("'"==i&&ec(t)?t.query+="%27":t.query+="#"==i?"%23":Zs(i,Xs)):(t.fragment="",c=Pc);break;case Pc:i!=Ss&&(t.fragment+=Zs(i,Ys))}f++}},Tc=function(t){var e,r,n=Br(this,Tc,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),u=js(n,{type:"URL"});if(void 0!==o)if(o instanceof Tc)e=Ps(o);else if(r=Ic(e={},String(o)))throw TypeError(r);if(r=Ic(u,a,null,e))throw TypeError(r);var s=u.searchParams=new Os,c=Rs(s);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(s)||null},i||(n.href=Lc.call(n),n.origin=Uc.call(n),n.protocol=Mc.call(n),n.username=_c.call(n),n.password=Nc.call(n),n.host=Cc.call(n),n.hostname=Fc.call(n),n.port=Bc.call(n),n.pathname=Dc.call(n),n.search=qc.call(n),n.searchParams=zc.call(n),n.hash=Wc.call(n))},kc=Tc.prototype,Lc=function(){var t=Ps(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,u=t.query,s=t.fragment,c=e+":";return null!==o?(c+="//",rc(t)&&(c+=r+(n?":"+n:"")+"@"),c+=Hs(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},Uc=function(){var t=Ps(this),e=t.scheme,r=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&ec(t)?e+"://"+Hs(t.host)+(null!==r?":"+r:""):"null"},Mc=function(){return Ps(this).scheme+":"},_c=function(){return Ps(this).username},Nc=function(){return Ps(this).password},Cc=function(){var t=Ps(this),e=t.host,r=t.port;return null===e?"":null===r?Hs(e):Hs(e)+":"+r},Fc=function(){var t=Ps(this).host;return null===t?"":Hs(t)},Bc=function(){var t=Ps(this).port;return null===t?"":String(t)},Dc=function(){var t=Ps(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},qc=function(){var t=Ps(this).query;return t?"?"+t:""},zc=function(){return Ps(this).searchParams},Wc=function(){var t=Ps(this).fragment;return t?"#"+t:""},Kc=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&Wt(kc,{href:Kc(Lc,function(t){var e=Ps(this),r=String(t),n=Ic(e,r);if(n)throw TypeError(n);Rs(e.searchParams).updateSearchParams(e.query)}),origin:Kc(Uc),protocol:Kc(Mc,function(t){var e=Ps(this);Ic(e,String(t)+":",sc)}),username:Kc(_c,function(t){var e=Ps(this),r=gr(String(t));if(!nc(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=Zs(r[n],Qs)}}),password:Kc(Nc,function(t){var e=Ps(this),r=gr(String(t));if(!nc(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=Zs(r[n],Qs)}}),host:Kc(Cc,function(t){var e=Ps(this);e.cannotBeABaseURL||Ic(e,String(t),mc)}),hostname:Kc(Fc,function(t){var e=Ps(this);e.cannotBeABaseURL||Ic(e,String(t),bc)}),port:Kc(Bc,function(t){var e=Ps(this);nc(e)||(""==(t=String(t))?e.port=null:Ic(e,t,wc))}),pathname:Kc(Dc,function(t){var e=Ps(this);e.cannotBeABaseURL||(e.path=[],Ic(e,t+"",Ac))}),search:Kc(qc,function(t){var e=Ps(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",Ic(e,t,jc)),Rs(e.searchParams).updateSearchParams(e.query)}),searchParams:Kc(zc),hash:Kc(Wc,function(t){var e=Ps(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",Ic(e,t,Pc)):e.fragment=null})}),rt(kc,"toJSON",function(){return Lc.call(this)},{enumerable:!0}),rt(kc,"toString",function(){return Lc.call(this)},{enumerable:!0}),As){var Gc=As.createObjectURL,$c=As.revokeObjectURL;Gc&&rt(Tc,"createObjectURL",function(t){return Gc.apply(As,arguments)}),$c&&rt(Tc,"revokeObjectURL",function(t){return $c.apply(As,arguments)})}Be(Tc,"URL"),Lt({global:!0,forced:!Bu,sham:!i},{URL:Tc}),Lt({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}}),Lt({target:"WeakMap",stat:!0},{from:an}),Lt({target:"WeakMap",stat:!0},{of:un}),Lt({target:"WeakMap",proto:!0,real:!0,forced:q},{deleteAll:function(){return sn.apply(this,arguments)}}),Lt({target:"WeakMap",proto:!0,real:!0,forced:q},{upsert:pn}),qr("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},So),Lt({target:"WeakSet",proto:!0,real:!0,forced:q},{addAll:function(){return Zi.apply(this,arguments)}}),Lt({target:"WeakSet",proto:!0,real:!0,forced:q},{deleteAll:function(){return sn.apply(this,arguments)}}),Lt({target:"WeakSet",stat:!0},{from:an}),Lt({target:"WeakSet",stat:!0},{of:un});var Vc,Hc,Xc,Yc=n.Promise,Jc=/(iphone|ipod|ipad).*applewebkit/i.test(na),Qc=n.location,Zc=n.setImmediate,tf=n.clearImmediate,ef=n.process,rf=n.MessageChannel,nf=n.Dispatch,of=0,af={},uf="onreadystatechange",sf=function(t){if(af.hasOwnProperty(t)){var e=af[t];delete af[t],e()}},cf=function(t){return function(){sf(t)}},ff=function(t){sf(t.data)},lf=function(t){n.postMessage(t+"",Qc.protocol+"//"+Qc.host)};Zc&&tf||(Zc=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return af[++of]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Vc(of),of},tf=function(t){delete af[t]},"process"==h(ef)?Vc=function(t){ef.nextTick(cf(t))}:nf&&nf.now?Vc=function(t){nf.now(cf(t))}:rf&&!Jc?(Xc=(Hc=new rf).port2,Hc.port1.onmessage=ff,Vc=re(Xc.postMessage,Xc,1)):!n.addEventListener||"function"!=typeof postMessage||n.importScripts||o(lf)||"file:"===Qc.protocol?Vc=uf in x("script")?function(t){Kt.appendChild(x("script"))[uf]=function(){Kt.removeChild(this),sf(t)}}:function(t){setTimeout(cf(t),0)}:(Vc=lf,n.addEventListener("message",ff,!1)));var hf,pf,df,vf,gf,yf,mf,bf,wf={set:Zc,clear:tf},Sf=R.f,Ef=wf.set,xf=n.MutationObserver||n.WebKitMutationObserver,Af=n.process,Of=n.Promise,Rf="process"==h(Af),jf=Sf(n,"queueMicrotask"),Pf=jf&&jf.value;Pf||(hf=function(){var t,e;for(Rf&&(t=Af.domain)&&t.exit();pf;){e=pf.fn,pf=pf.next;try{e()}catch(t){throw pf?vf():df=void 0,t}}df=void 0,t&&t.enter()},Rf?vf=function(){Af.nextTick(hf)}:xf&&!Jc?(gf=!0,yf=document.createTextNode(""),new xf(hf).observe(yf,{characterData:!0}),vf=function(){yf.data=gf=!gf}):Of&&Of.resolve?(mf=Of.resolve(void 0),bf=mf.then,vf=function(){bf.call(mf,hf)}):vf=function(){Ef.call(n,hf)});var If,Tf,kf,Lf,Uf=Pf||function(t){var e={fn:t,next:void 0};df&&(df.next=e),pf||(pf=e,vf()),df=e},Mf=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=ee(e),this.reject=ee(r)},_f={f:function(t){return new Mf(t)}},Nf=function(t,e){if(j(t),y(e)&&e.constructor===t)return e;var r=_f.f(t);return(0,r.resolve)(e),r.promise},Cf=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ff=wf.set,Bf=qt("species"),Df="Promise",qf=et.get,zf=et.set,Wf=et.getterFor(Df),Kf=Yc,Gf=n.TypeError,$f=n.document,Vf=n.process,Hf=it("fetch"),Xf=_f.f,Yf=Xf,Jf="process"==h(Vf),Qf=!!($f&&$f.createEvent&&n.dispatchEvent),Zf="unhandledrejection",tl=Tt(Df,function(){if(F(Kf)===String(Kf)){if(66===ua)return!0;if(!Jf&&"function"!=typeof PromiseRejectionEvent)return!0}if(ua>=51&&/native code/.test(Kf))return!1;var t=Kf.resolve(1),e=function(t){t(function(){},function(){})};return(t.constructor={})[Bf]=e,!(t.then(function(){})instanceof e)}),el=tl||!Sr(function(t){Kf.all(t).catch(function(){})}),rl=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},nl=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;Uf(function(){for(var o=e.value,i=1==e.state,a=0;n.length>a;){var u,s,c,f=n[a++],l=i?f.ok:f.fail,h=f.resolve,p=f.reject,d=f.domain;try{l?(i||(2===e.rejection&&ul(t,e),e.rejection=1),!0===l?u=o:(d&&d.enter(),u=l(o),d&&(d.exit(),c=!0)),u===f.promise?p(Gf("Promise-chain cycle")):(s=rl(u))?s.call(u,h,p):h(u)):p(o)}catch(t){d&&!c&&d.exit(),p(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&il(t,e)})}},ol=function(t,e,r){var o,i;Qf?((o=$f.createEvent("Event")).promise=e,o.reason=r,o.initEvent(t,!1,!0),n.dispatchEvent(o)):o={promise:e,reason:r},(i=n["on"+t])?i(o):t===Zf&&function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},il=function(t,e){Ff.call(n,function(){var r,n=e.value;if(al(e)&&(r=Cf(function(){Jf?Vf.emit("unhandledRejection",n,t):ol(Zf,t,n)}),e.rejection=Jf||al(e)?2:1,r.error))throw r.value})},al=function(t){return 1!==t.rejection&&!t.parent},ul=function(t,e){Ff.call(n,function(){Jf?Vf.emit("rejectionHandled",t):ol("rejectionhandled",t,e.value)})},sl=function(t,e,r,n){return function(o){t(e,r,o,n)}},cl=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,nl(t,e,!0))},fl=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw Gf("Promise can't be resolved itself");var o=rl(r);o?Uf(function(){var n={done:!1};try{o.call(r,sl(fl,t,n,e),sl(cl,t,n,e))}catch(r){cl(t,n,r,e)}}):(e.value=r,e.state=1,nl(t,e,!1))}catch(r){cl(t,{done:!1},r,e)}}};tl&&(Kf=function(t){Br(this,Kf,Df),ee(t),If.call(this);var e=qf(this);try{t(sl(fl,this,e),sl(cl,this,e))}catch(t){cl(this,e,t)}},(If=function(t){zf(this,{type:Df,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=zr(Kf.prototype,{then:function(t,e){var r=Wf(this),n=Xf(hn(this,Kf));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=Jf?Vf.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&nl(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Tf=function(){var t=new If,e=qf(t);this.promise=t,this.resolve=sl(fl,t,e),this.reject=sl(cl,t,e)},_f.f=Xf=function(t){return t===Kf||t===kf?new Tf(t):Yf(t)},"function"==typeof Yc&&(Lf=Yc.prototype.then,rt(Yc.prototype,"then",function(t,e){var r=this;return new Kf(function(t,e){Lf.call(r,t,e)}).then(t,e)},{unsafe:!0}),"function"==typeof Hf&&Lt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Nf(Kf,Hf.apply(n,arguments))}}))),Lt({global:!0,wrap:!0,forced:tl},{Promise:Kf}),Be(Kf,Df,!1),Kr(Df),kf=it(Df),Lt({target:Df,stat:!0,forced:tl},{reject:function(t){var e=Xf(this);return e.reject.call(void 0,t),e.promise}}),Lt({target:Df,stat:!0,forced:tl},{resolve:function(t){return Nf(this,t)}}),Lt({target:Df,stat:!0,forced:el},{all:function(t){var e=this,r=Xf(e),n=r.resolve,o=r.reject,i=Cf(function(){var r=ee(e.resolve),i=[],a=0,u=1;Fr(t,function(t){var s=a++,c=!1;i.push(void 0),u++,r.call(e,t).then(function(t){c||(c=!0,i[s]=t,--u||n(i))},o)}),--u||n(i)});return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=Xf(e),n=r.reject,o=Cf(function(){var o=ee(e.resolve);Fr(t,function(t){o.call(e,t).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}}),Lt({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=_f.f(e),n=r.resolve,o=r.reject,i=Cf(function(){var r=ee(e.resolve),o=[],i=0,a=1;Fr(t,function(t){var u=i++,s=!1;o.push(void 0),a++,r.call(e,t).then(function(t){s||(s=!0,o[u]={status:"fulfilled",value:t},--a||n(o))},function(t){s||(s=!0,o[u]={status:"rejected",reason:t},--a||n(o))})}),--a||n(o)});return i.error&&o(i.value),r.promise}});var ll=!!Yc&&o(function(){Yc.prototype.finally.call({then:function(){}},function(){})});Lt({target:"Promise",proto:!0,real:!0,forced:ll},{finally:function(t){var e=hn(this,it("Promise")),r="function"==typeof t;return this.then(r?function(r){return Nf(e,t()).then(function(){return r})}:t,r?function(r){return Nf(e,t()).then(function(){throw r})}:t)}}),"function"!=typeof Yc||Yc.prototype.finally||rt(Yc.prototype,"finally",it("Promise").prototype.finally);var hl=et.set,pl=et.getterFor("AggregateError"),dl=function(t,e){var r=this;if(!(r instanceof dl))return new dl(t,e);Ge&&(r=Ge(new Error(e),Ue(r)));var n=[];return Fr(t,n.push,n),i?hl(r,{errors:n,type:"AggregateError"}):r.errors=n,void 0!==e&&T(r,"message",String(e)),r};dl.prototype=Jt(Error.prototype,{constructor:f(5,dl),message:f(5,""),name:f(5,"AggregateError")}),i&&I.f(dl.prototype,"errors",{get:function(){return pl(this).errors},configurable:!0}),Lt({global:!0},{AggregateError:dl}),Lt({target:"Promise",stat:!0},{try:function(t){var e=_f.f(this),r=Cf(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var vl="No one promise resolved";Lt({target:"Promise",stat:!0},{any:function(t){var e=this,r=_f.f(e),n=r.resolve,o=r.reject,i=Cf(function(){var r=ee(e.resolve),i=[],a=0,u=1,s=!1;Fr(t,function(t){var c=a++,f=!1;i.push(void 0),u++,r.call(e,t).then(function(t){f||s||(s=!0,n(t))},function(t){f||s||(f=!0,i[c]=t,--u||o(new(it("AggregateError"))(i,vl)))})}),--u||o(new(it("AggregateError"))(i,vl))});return i.error&&o(i.value),r.promise}}),oe("Promise","finally");var gl="URLSearchParams"in self,yl="Symbol"in self&&"iterator"in Symbol,ml="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),bl="FormData"in self,wl="ArrayBuffer"in self;if(wl)var Sl=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],El=ArrayBuffer.isView||function(t){return t&&Sl.indexOf(Object.prototype.toString.call(t))>-1};function xl(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function Al(t){return"string"!=typeof t&&(t=String(t)),t}function Ol(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return yl&&(e[Symbol.iterator]=function(){return e}),e}function Rl(t){this.map={},t instanceof Rl?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function jl(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Pl(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Il(t){var e=new FileReader,r=Pl(e);return e.readAsArrayBuffer(t),r}function Tl(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function kl(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:ml&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:bl&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:gl&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():wl&&ml&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Tl(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):wl&&(ArrayBuffer.prototype.isPrototypeOf(t)||El(t))?this._bodyArrayBuffer=Tl(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):gl&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ml&&(this.blob=function(){var t=jl(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?jl(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(Il)}),this.text=function(){var t=jl(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=Pl(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},bl&&(this.formData=function(){return this.text().then(Ml)}),this.json=function(){return this.text().then(JSON.parse)},this}Rl.prototype.append=function(t,e){t=xl(t),e=Al(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},Rl.prototype.delete=function(t){delete this.map[xl(t)]},Rl.prototype.get=function(t){return t=xl(t),this.has(t)?this.map[t]:null},Rl.prototype.has=function(t){return this.map.hasOwnProperty(xl(t))},Rl.prototype.set=function(t,e){this.map[xl(t)]=Al(e)},Rl.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},Rl.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),Ol(t)},Rl.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ol(t)},Rl.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),Ol(t)},yl&&(Rl.prototype[Symbol.iterator]=Rl.prototype.entries);var Ll=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ul(t,e){var r,n,o=(e=e||{}).body;if(t instanceof Ul){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new Rl(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new Rl(e.headers)),this.method=(n=(r=e.method||this.method||"GET").toUpperCase(),Ll.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function Ml(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function _l(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new Rl(e.headers),this.url=e.url||"",this._initBody(t)}Ul.prototype.clone=function(){return new Ul(this,{body:this._bodyInit})},kl.call(Ul.prototype),kl.call(_l.prototype),_l.prototype.clone=function(){return new _l(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Rl(this.headers),url:this.url})},_l.error=function(){var t=new _l(null,{status:0,statusText:""});return t.type="error",t};var Nl=[301,302,303,307,308];_l.redirect=function(t,e){if(-1===Nl.indexOf(e))throw new RangeError("Invalid status code");return new _l(null,{status:e,headers:{location:t}})};var Cl=self.DOMException;try{new Cl}catch(t){(Cl=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),Cl.prototype.constructor=Cl}function Fl(t,e){return new Promise(function(r,n){var o=new Ul(t,e);if(o.signal&&o.signal.aborted)return n(new Cl("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new Rl,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL"),r(new _l("response"in i?i.response:i.responseText,n))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.onabort=function(){n(new Cl("Aborted","AbortError"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&ml&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})}Fl.polyfill=!0,self.fetch||(self.fetch=Fl,self.Headers=Rl,self.Request=Ul,self.Response=_l);var Bl=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,ql=Object.prototype.propertyIsEnumerable,zl=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,n,o=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),i=1;i<arguments.length;i++){for(var a in r=Object(arguments[i]))Dl.call(r,a)&&(o[a]=r[a]);if(Bl){n=Bl(r);for(var u=0;u<n.length;u++)ql.call(r,n[u])&&(o[n[u]]=r[n[u]])}}return o};Object.assign=zl}(); diff --git a/out/_next/static/chunks/webpack-bd62c0c9a1087acd.js b/out/_next/static/chunks/webpack-bd62c0c9a1087acd.js new file mode 100644 index 0000000000000000000000000000000000000000..c40af4be0fbaf340b516532dade028be82c16bff --- /dev/null +++ b/out/_next/static/chunks/webpack-bd62c0c9a1087acd.js @@ -0,0 +1 @@ +!function(){"use strict";var e={},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var u=t[r]={id:r,loaded:!1,exports:{}},i=!0;try{e[r].call(u.exports,u,u.exports,n),i=!1}finally{i&&delete t[r]}return u.loaded=!0,u.exports}n.m=e,function(){var e=[];n.O=function(t,r,o,u){if(!r){var i=1/0;for(d=0;d<e.length;d++){r=e[d][0],o=e[d][1],u=e[d][2];for(var c=!0,f=0;f<r.length;f++)(!1&u||i>=u)&&Object.keys(n.O).every((function(e){return n.O[e](r[f])}))?r.splice(f--,1):(c=!1,u<i&&(i=u));if(c){e.splice(d--,1);var a=o();void 0!==a&&(t=a)}}return t}u=u||0;for(var d=e.length;d>0&&e[d-1][2]>u;d--)e[d]=e[d-1];e[d]=[r,o,u]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var u=Object.create(null);n.r(u);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},n.d(u,i),u}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return 774===e?"static/chunks/framework-af5db9a80cf44611.js":"static/chunks/"+(797===e?"d57d79ab":e)+"."+{426:"3c08c3140383afb7",456:"a0ff842ef500eb0b",552:"2938953d61d2f4b8",763:"4aae46117cb888e4",797:"248ce0ac85183b44"}[e]+".js"},n.miniCssF=function(e){return"static/css/f6b28b5504a7d381.css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,o,u,i){if(e[r])e[r].push(o);else{var c,f;if(void 0!==u)for(var a=document.getElementsByTagName("script"),d=0;d<a.length;d++){var l=a[d];if(l.getAttribute("src")==r||l.getAttribute("data-webpack")==t+u){c=l;break}}c||(f=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+u),c.src=n.tu(r)),e[r]=[o];var s=function(t,n){c.onerror=c.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),f&&document.head.appendChild(c)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;n.tt=function(){return void 0===e&&(e={createScriptURL:function(e){return e}},"undefined"!==typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e}}(),n.tu=function(e){return n.tt().createScriptURL(e)},n.p="/staticspaceiframe/matthoffner/open-codetree/out/_next/",function(){var e={272:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(272!=t){var u=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=u);var i=n.p+n.u(t),c=new Error;n.l(i,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var u=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+u+": "+i+")",c.name="ChunkLoadError",c.type=u,c.request=i,o[1](c)}}),"chunk-"+t,t)}else e[t]=0},n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o,u,i=r[0],c=r[1],f=r[2],a=0;if(i.some((function(t){return 0!==e[t]}))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(f)var d=f(n)}for(t&&t(r);a<i.length;a++)u=i[a],n.o(e,u)&&e[u]&&e[u][0](),e[u]=0;return n.O(d)},r=self.webpackChunk_N_E=self.webpackChunk_N_E||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}()}(); \ No newline at end of file diff --git a/out/_next/static/css/f6b28b5504a7d381.css b/out/_next/static/css/f6b28b5504a7d381.css new file mode 100644 index 0000000000000000000000000000000000000000..e8ea4f98dcb7ca28f558cfcaaa51bd5b6c87365e --- /dev/null +++ b/out/_next/static/css/f6b28b5504a7d381.css @@ -0,0 +1,5 @@ +@font-face{font-family:GT Walsheim Pro;src:local("GT Walsheim Pro Light"),local("GTWalsheimPro-Light"),url(/staticspaceiframe/matthoffner/open-codetree/out/_next/static/media/GTWalsheimPro-Light.f89c2527.ttf) format("truetype");font-weight:300;font-style:normal}@font-face{font-family:GT Walsheim Pro;src:local("GT Walsheim Pro Regular"),local("GTWalsheimPro-Regular"),url(/staticspaceiframe/matthoffner/open-codetree/out/_next/static/media/GTWalsheimPro-Regular.920fb262.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:GT Walsheim Pro;src:local("GT Walsheim Pro Thin"),local("GTWalsheimPro-Thin"),url(/staticspaceiframe/matthoffner/open-codetree/out/_next/static/media/GTWalsheimPro-Thin.346352fb.ttf) format("truetype");font-weight:100;font-style:normal}@font-face{font-family:GT Walsheim Pro;src:local("GT Walsheim Pro Bold"),local("GTWalsheimPro-Bold"),url(/staticspaceiframe/matthoffner/open-codetree/out/_next/static/media/GTWalsheimPro-Bold.2c750101.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:GT Walsheim Pro;src:local("GT Walsheim Pro Medium"),local("GTWalsheimPro-Medium"),url(/staticspaceiframe/matthoffner/open-codetree/out/_next/static/media/GTWalsheimPro-Medium.1fbdca34.ttf) format("truetype");font-weight:500;font-style:normal}@font-face{font-family:GT Walsheim Pro Ultra;src:local("GT Walsheim Pro Ultra Light"),local("GTWalsheimPro-UltraLight"),url(/staticspaceiframe/matthoffner/open-codetree/out/_next/static/media/GTWalsheimPro-UltraLight.8cb4f143.ttf) format("truetype");font-weight:200;font-style:normal}@font-face{font-family:GT Walsheim Pro;src:local("GT Walsheim Pro Black"),local("GTWalsheimPro-Black"),url(/staticspaceiframe/matthoffner/open-codetree/out/_next/static/media/GTWalsheimPro-Black.dfbc79ff.ttf) format("truetype");font-weight:900;font-style:normal}.boxes{z-index:1000;--size:32px;--duration:800ms;height:calc(var(--size) * 2);width:calc(var(--size) * 3);position:absolute;top:50%;left:50%;transform-style:preserve-3d;transform-origin:50% 50%;margin-top:calc(var(--size) * 1.5 * -1);transform:rotateX(60deg) rotate(45deg) rotateY(0deg) translateZ(0) translate(-50%,-50%)}.boxes .box{width:var(--size);height:var(--size);top:0;left:0;position:absolute;transform-style:preserve-3d}.boxes .box:first-child{transform:translate(100%);animation:box1 var(--duration) linear infinite}.boxes .box:nth-child(2){transform:translateY(100%);animation:box2 var(--duration) linear infinite}.boxes .box:nth-child(3){transform:translate(100%,100%);animation:box3 var(--duration) linear infinite}.boxes .box:nth-child(4){transform:translate(200%);animation:box4 var(--duration) linear infinite}.boxes .box>div{--background:#5c8df6;--top:auto;--right:auto;--bottom:auto;--left:auto;--translateZ:calc(var(--size) / 2);--rotateY:0deg;--rotateX:0deg;position:absolute;width:100%;height:100%;background:var(--background);top:var(--top);right:var(--right);bottom:var(--bottom);left:var(--left);transform:rotateY(var(--rotateY)) rotateX(var(--rotateX)) translateZ(var(--translateZ))}.boxes .box>div:first-child{--top:0;--left:0}.boxes .box>div:nth-child(2){--background:#145af2;--right:0;--rotateY:90deg}.boxes .box>div:nth-child(3){--background:#447cf5;--rotateX:-90deg}.boxes .box>div:nth-child(4){--background:#dbe3f4;--top:0;--left:0;--translateZ:calc(var(--size) * 3 * -1)}@keyframes box1{0%,50%{transform:translate(100%)}to{transform:translate(200%)}}@keyframes box2{0%{transform:translateY(100%)}50%{transform:translate(0)}to{transform:translate(100%)}}@keyframes box3{0%,50%{transform:translate(100%,100%)}to{transform:translateY(100%)}}@keyframes box4{0%{transform:translate(200%)}50%{transform:translate(200%,100%)}to{transform:translate(100%,100%)}}.loader{display:flex;align-items:center;margin-bottom:1px}.loader:after,.loader:before{content:"";box-sizing:border-box;position:absolute}.loader.--1:after,.loader.--1:before{width:12px;height:7px;border-radius:2px;opacity:0;animation:loader-1 1.4s cubic-bezier(.2,.32,0,.87) infinite;--tw-bg-opacity:1;background-color:rgb(45 212 191/var(--tw-bg-opacity))}.loader.--1:after{animation-delay:.3s}@keyframes loader-1{0%,80%,to{opacity:0}33%{opacity:1}0%,to{transform:translateX(-4vmin)}90%{transform:translateX(4vmin)}} + +/* +! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com +*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.right-3{right:.75rem}.z-40{z-index:40}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.my-auto{margin-top:auto;margin-bottom:auto}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.block{display:block}.flex{display:flex}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-52{height:13rem}.h-64{height:16rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[20vh\]{max-height:20vh}.w-12{width:3rem}.w-20{width:5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-full{width:100%}.max-w-xs{max-width:20rem}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.gap-7{gap:1.75rem}.gap-x-14{-moz-column-gap:3.5rem;column-gap:3.5rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-y-8{row-gap:2rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.break-words{overflow-wrap:break-word}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t-2{border-top-width:2px}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-teal-400{--tw-bg-opacity:1;background-color:rgb(45 212 191/var(--tw-bg-opacity))}.bg-zinc-50{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-violet-400{--tw-gradient-from:#a78bfa var(--tw-gradient-from-position);--tw-gradient-to:rgba(167,139,250,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-violet-100{--tw-gradient-to:#ede9fe var(--tw-gradient-to-position)}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-2{padding-bottom:.5rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pr-12{padding-right:3rem}.pt-10{padding-top:2.5rem}.pt-3{padding-top:.75rem}.pt-6{padding-top:1.5rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.tracking-wide{letter-spacing:.025em}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px)}.backdrop-blur,.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}body,html{padding:0;margin:0;font-family:GT Walsheim Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;color:#fff}a{color:inherit;text-decoration:none}*{box-sizing:border-box}:focus{outline:none!important}.editor-sub-settings{margin-top:.75rem;margin-bottom:.75rem;display:flex;width:100%;flex-direction:column}@media (min-width:1024px){.editor-sub-settings{width:66.666667%}}.editor-sub-settings>.title{font-size:1rem;line-height:1.5rem}.editor-sub-settings>.description{margin-bottom:.5rem;--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.editor-sub-settings>label{margin-bottom:.5rem}.editor-label{margin-right:1rem;font-size:1.25rem;line-height:1.75rem;--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.editor-select{border-radius:.125rem;--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.editor-button{display:flex;align-items:center;justify-content:center;border-radius:.25rem;padding-left:1rem;padding-right:1rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.editor-button,.editor-button:active{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.editor-button:active{--tw-scale-x:.75;--tw-scale-y:.75}.iframe-container{position:relative;width:100%;height:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:flex-end}.iframe-container iframe{background:#fff;position:relative;width:100%;height:100%}.react-draggable-transparent-selection .iframe-container:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:0}.error-message{position:absolute;top:0;color:red}.loader-spinner{border-top-color:#34d399;animation:spinner .7s linear infinite}@keyframes spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.glassmorphism{backdrop-filter:blur(10px) saturate(180%);-webkit-backdrop-filter:blur(10px) saturate(180%);background-color:rgba(23,30,37,.75)}.backdrop{background:rgba(0,0,0,.25);z-index:50;position:fixed;top:0;left:0;height:100%;width:100%;overflow:auto}@media (min-width:640px){.sm\:mt-10{margin-top:2.5rem}.sm\:mt-44{margin-top:11rem}.sm\:h-auto{height:auto}.sm\:w-8\/12{width:66.666667%}.sm\:rounded-xl{border-radius:.75rem}.sm\:pb-20{padding-bottom:5rem}.sm\:pb-3{padding-bottom:.75rem}.sm\:pt-4{padding-top:1rem}}@media (min-width:1024px){.lg\:w-6\/12{width:50%}}@media (min-width:1280px){.xl\:w-4\/12{width:33.333333%}}.textarea{width:100%;min-height:150px;padding:1rem;font-size:1rem;line-height:1.5;border-radius:.25rem;background-color:#1b252d;-webkit-appearance:none;-moz-appearance:none;appearance:none;resize:none;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.textarea:focus{outline:0;box-shadow:0 0 0 3px #74b1a5}.messages-text{padding:20px}.editor-input-tabs{display:flex;height:100%}.editor-input-tabs .rc-tabs-tab-btn{width:5rem;display:flex;justify-content:center;font-weight:700;font-size:18px;padding-bottom:2px;--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.editor-input-tabs .lines-content.monaco-editor-background,.editor-input-tabs .margin-view-overlays{margin-top:10px}.editor-input-tabs .rc-tabs-ink-bar{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.rc-tabs-dropdown{position:absolute;background:#fefefe;max-height:200px;overflow:auto}.rc-tabs-dropdown-hidden{display:none}.rc-tabs-dropdown-menu{margin:0;padding:0;list-style:none}.rc-tabs-dropdown-menu-item{padding:4px 8px}.rc-tabs-dropdown-menu-item-selected{background:red}.rc-tabs-dropdown-menu-item-disabled{opacity:.3;cursor:not-allowed}.rc-tabs-content{display:flex;width:100%;height:100%}.rc-tabs-content-holder{flex:auto}.rc-tabs-content-animated{transition:margin .3s}.rc-tabs-tabpane{width:100%;flex:none}.rc-tabs{display:flex}.rc-tabs-bottom,.rc-tabs-top{flex-direction:column}.rc-tabs-bottom .rc-tabs-ink-bar,.rc-tabs-top .rc-tabs-ink-bar{height:3px}.rc-tabs-top .rc-tabs-ink-bar{bottom:0}.rc-tabs-bottom .rc-tabs-nav{order:1}.rc-tabs-bottom .rc-tabs-content{order:0}.rc-tabs-bottom .rc-tabs-ink-bar{top:0}.rc-tabs-left.rc-tabs-editable .rc-tabs-tab,.rc-tabs-right.rc-tabs-editable .rc-tabs-tab{padding-right:32px}.rc-tabs-left .rc-tabs-nav-wrap,.rc-tabs-right .rc-tabs-nav-wrap{flex-direction:column}.rc-tabs-left .rc-tabs-ink-bar,.rc-tabs-right .rc-tabs-ink-bar{width:3px}.rc-tabs-left .rc-tabs-nav,.rc-tabs-right .rc-tabs-nav{flex-direction:column;min-width:150px}@media only screen and (max-width:500px){.rc-tabs-left .rc-tabs-nav,.rc-tabs-right .rc-tabs-nav{min-width:100px}}.rc-tabs-left .rc-tabs-nav-list,.rc-tabs-left .rc-tabs-nav-operations,.rc-tabs-right .rc-tabs-nav-list,.rc-tabs-right .rc-tabs-nav-operations{flex-direction:column}.rc-tabs-left .rc-tabs-ink-bar{right:0}.rc-tabs-right .rc-tabs-nav{order:1}.rc-tabs-right .rc-tabs-content{order:0}.rc-tabs-right .rc-tabs-ink-bar{left:0}.rc-tabs-dropdown-rtl,.rc-tabs-rtl{direction:rtl}.rc-tabs{font-size:14px;overflow:hidden}.rc-tabs-nav{display:flex;flex:none;position:relative}.rc-tabs-nav-measure,.rc-tabs-nav-wrap{transform:translate(0);position:relative;flex:auto;white-space:nowrap;overflow:hidden;display:flex}.rc-tabs-nav-measure-ping-left:before,.rc-tabs-nav-measure-ping-right:after,.rc-tabs-nav-wrap-ping-left:before,.rc-tabs-nav-wrap-ping-right:after{content:"";position:absolute;top:0;bottom:0}.rc-tabs-nav-measure-ping-left:before,.rc-tabs-nav-wrap-ping-left:before{left:0}.rc-tabs-nav-measure-ping-right:after,.rc-tabs-nav-wrap-ping-right:after{right:0}.rc-tabs-nav-measure-ping-bottom:after,.rc-tabs-nav-measure-ping-top:before,.rc-tabs-nav-wrap-ping-bottom:after,.rc-tabs-nav-wrap-ping-top:before{content:"";position:absolute;left:0;right:0}.rc-tabs-nav-measure-ping-top:before,.rc-tabs-nav-wrap-ping-top:before{top:0}.rc-tabs-nav-measure-ping-bottom:after,.rc-tabs-nav-wrap-ping-bottom:after{bottom:0}.rc-tabs-nav-list{display:flex;position:relative;transition:transform .3s}.rc-tabs-nav-operations{display:flex}.rc-tabs-nav-operations-hidden{position:absolute;visibility:hidden;pointer-events:none}.rc-tabs-nav-more{border:1px solid blue;background:rgba(255,0,0,.1)}.rc-tabs-nav-add{border:1px solid green;background:rgba(0,255,0,.1)}.rc-tabs-tab{border:0;font-size:20px;margin:0;display:flex;outline:none;cursor:pointer;position:relative;font-weight:lighter;align-items:center}.rc-tabs-tab-btn,.rc-tabs-tab-remove{border:0;background:transparent}.rc-tabs-tab-btn{font-weight:inherit;line-height:32px}.rc-tabs-tab-remove:hover{color:red}.rc-tabs-tab-active{font-weight:bolder}.rc-tabs-ink-bar{position:absolute;pointer-events:none}.rc-tabs-ink-bar-animated{transition:all .3s}.rc-tabs-extra-content{flex:none}.editor-wrapper .mtk1{color:#d4d4d4}.editor-wrapper .mtk2{color:#1e1e1e}.editor-wrapper .mtk3{color:navy}.editor-wrapper .mtk4{color:#6a9955}.editor-wrapper .mtk5{color:#569cd6}.editor-wrapper .mtk6{color:#b5cea8}.editor-wrapper .mtk7{color:#646695}.editor-wrapper .mtk8{color:#c586c0}.editor-wrapper .mtk9{color:#9cdcfe}.editor-wrapper .mtk10{color:#f44747}.editor-wrapper .mtk11{color:#ce9178}.editor-wrapper .mtk12{color:#6796e6}.editor-wrapper .mtk13{color:grey}.editor-wrapper .mtk14{color:#d16969}.editor-wrapper .mtk15{color:#dcdcaa}.editor-wrapper .mtk16{color:#4ec9b0}.editor-wrapper .mtk17{color:#c586c0}.editor-wrapper .mtk18{color:#4fc1ff}.editor-wrapper .mtk19{color:#c8c8c8}.editor-wrapper .mtk20{color:#cd9731}.editor-wrapper .mtk21{color:#b267e6}.editor-wrapper .mtki{font-style:italic}.editor-wrapper .mtkb{font-weight:700}.editor-wrapper .mtku{text-decoration:underline;text-underline-position:under}.editor-wrapper .mtk100.Identifier.JsxElement.Bracket{color:#0080ff}.editor-wrapper .mtk1000.Identifier.JsxOpeningElement.Bracket{color:grey;font-weight:700}.editor-wrapper .mtk1001.Identifier.JsxClosingElement.Bracket{color:grey;font-weight:lighter}.editor-wrapper .mtk101.Identifier.JsxOpeningElement.Identifier{color:#569cd6}.editor-wrapper .mtk102.Identifier.JsxClosingElement.Identifier{color:#569cd6;font-weight:lighter}.editor-wrapper .mtk103.Identifier.JsxAttribute.Identifier{color:#9cdcfe}.editor-wrapper .mtk104.JsxElement.JsxText{color:#b8860b}.editor-wrapper .mtk105.glyph.Identifier.JsxElement{background:#61dafb;opacity:.25}.editor-wrapper .mtk12.Identifier.JsxExpression.JsxClosingElement,.editor-wrapper .mtk12.Identifier.JsxSelfClosingElement{color:#ec5f67}.editor-wrapper .mtk12.Identifier.VariableStatement.JsxClosingElement{color:#ec5f67!important}.editor-wrapper .mtk12.VariableStatement.JsxSelfClosingElement.Identifier{color:#ec5f67}.editor-wrapper .mtk12.Identifier.JsxAttribute.VariableDeclaration{color:crimson}.editor-wrapper .mtk12.JsxExpression.VariableStatement{color:#fac863}.editor-wrapper .mtk12.VariableStatement.JsxClosingElement,.editor-wrapper .mtk12.VariableStatement.JsxSelfClosingElement{color:#ede0e0}.editor-wrapper .JsxText{color:#0c141f}.JSXElement.JSXIdentifier{color:#e06c75!important}.JSXElement.JSXBracket,.JSXElement.JSXText{color:#d4d4d4!important}.JSXElement.JSXGlyph{background:cyan;opacity:.25}.JSXClosingFragment.JSXBracket,.JSXOpeningElement.JSXBracket,.JSXOpeningFragment.JSXBracket{color:#ff8c00;font-weight:700}.JSXOpeningElement.JSXIdentifier{color:#e06c75!important}.JSXClosingElement.JSXBracket{color:#ff8c00;font-weight:lighter}.JSXClosingElement.JSXIdentifier{color:#e06c75!important;font-weight:lighter}.JSXAttribute.JSXIdentifier{color:#4682b4}.JSXExpressionContainer.JSXBracket,.JSXSpreadAttribute.JSXBracket,.JSXSpreadChild.JSXBracket{color:#ff8c00}:root{--separator-border:hsla(0,0%,50%,.35)}.allotment-module_splitView__L-yRc{height:100%;overflow:hidden;position:relative;width:100%}.allotment-module_splitView__L-yRc>.allotment-module_sashContainer__fzwJF{height:100%;pointer-events:none;position:absolute;width:100%}.allotment-module_splitView__L-yRc>.allotment-module_sashContainer__fzwJF>.allotment-module_sash__QA-2t{pointer-events:auto}.allotment-module_splitView__L-yRc>.allotment-module_splitViewContainer__rQnVa{height:100%;position:relative;white-space:nowrap;width:100%}.allotment-module_splitView__L-yRc>.allotment-module_splitViewContainer__rQnVa>.allotment-module_splitViewView__MGZ6O{overflow:hidden;position:absolute;white-space:normal}.allotment-module_splitView__L-yRc.allotment-module_vertical__WSwwa>.allotment-module_splitViewContainer__rQnVa>.allotment-module_splitViewView__MGZ6O{width:100%}.allotment-module_splitView__L-yRc.allotment-module_horizontal__7doS8>.allotment-module_splitViewContainer__rQnVa>.allotment-module_splitViewView__MGZ6O{height:100%}.allotment-module_splitView__L-yRc.allotment-module_separatorBorder__x-rDS>.allotment-module_splitViewContainer__rQnVa>.allotment-module_splitViewView__MGZ6O:not(:first-child):before{background-color:var(--separator-border);content:" ";left:0;pointer-events:none;position:absolute;top:0;z-index:5}.allotment-module_splitView__L-yRc.allotment-module_separatorBorder__x-rDS.allotment-module_vertical__WSwwa>.allotment-module_splitViewContainer__rQnVa>.allotment-module_splitViewView__MGZ6O:not(:first-child):before{height:1px;width:100%}.allotment-module_splitView__L-yRc.allotment-module_separatorBorder__x-rDS.allotment-module_horizontal__7doS8>.allotment-module_splitViewContainer__rQnVa>.allotment-module_splitViewView__MGZ6O:not(:first-child):before{height:100%;width:1px}:root{--focus-border:#007fd4;--sash-size:8px;--sash-hover-size:4px}.sash-module_sash__K-9lB{position:absolute;z-index:35;touch-action:none;pointer-events:auto;text-align:initial}.sash-module_sash__K-9lB.sash-module_disabled__Hm-wx{pointer-events:none}.sash-module_sash__K-9lB.sash-module_mac__Jf6OJ.sash-module_vertical__pB-rs{cursor:col-resize}.sash-module_sash__K-9lB.sash-module_vertical__pB-rs.sash-module_minimum__-UKxp{cursor:e-resize}.sash-module_sash__K-9lB.sash-module_vertical__pB-rs.sash-module_maximum__TCWxD{cursor:w-resize}.sash-module_sash__K-9lB.sash-module_mac__Jf6OJ.sash-module_horizontal__kFbiw{cursor:row-resize}.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw.sash-module_minimum__-UKxp{cursor:s-resize}.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw.sash-module_maximum__TCWxD{cursor:n-resize}.sash-module_sash__K-9lB.sash-module_disabled__Hm-wx{cursor:default!important;pointer-events:none!important}.sash-module_sash__K-9lB.sash-module_vertical__pB-rs{cursor:ew-resize;top:0;width:var(--sash-size);height:100%}.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw{cursor:ns-resize;left:0;width:100%;height:var(--sash-size)}.sash-module_sash__K-9lB:not(.sash-module_disabled__Hm-wx)>.sash-module_orthogonal-drag-handle__Yii2-{content:" ";height:calc(var(--sash-size) * 2);width:calc(var(--sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw.sash-module_orthogonal-edge-north__f7Noe:not(.sash-module_disabled__Hm-wx)>.sash-module_orthogonal-drag-handle__Yii2-.sash-module_start__uZEDk,.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw.sash-module_orthogonal-edge-south__6ZrFC:not(.sash-module_disabled__Hm-wx)>.sash-module_orthogonal-drag-handle__Yii2-.sash-module_end__0TP-R{cursor:nwse-resize}.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw.sash-module_orthogonal-edge-north__f7Noe:not(.sash-module_disabled__Hm-wx)>.sash-module_orthogonal-drag-handle__Yii2-.sash-module_end__0TP-R,.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw.sash-module_orthogonal-edge-south__6ZrFC:not(.sash-module_disabled__Hm-wx)>.sash-module_orthogonal-drag-handle__Yii2-.sash-module_start__uZEDk{cursor:nesw-resize}.sash-module_sash__K-9lB.sash-module_vertical__pB-rs>.sash-module_orthogonal-drag-handle__Yii2-.sash-module_start__uZEDk{left:calc(var(--sash-size) * -.5);top:calc(var(--sash-size) * -1)}.sash-module_sash__K-9lB.sash-module_vertical__pB-rs>.sash-module_orthogonal-drag-handle__Yii2-.sash-module_end__0TP-R{left:calc(var(--sash-size) * -.5);bottom:calc(var(--sash-size) * -1)}.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw>.sash-module_orthogonal-drag-handle__Yii2-.sash-module_start__uZEDk{top:calc(var(--sash-size) * -.5);left:calc(var(--sash-size) * -1)}.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw>.sash-module_orthogonal-drag-handle__Yii2-.sash-module_end__0TP-R{top:calc(var(--sash-size) * -.5);right:calc(var(--sash-size) * -1)}.sash-module_sash__K-9lB:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;transition:background-color .1s ease-out;background:transparent}.sash-module_sash__K-9lB.sash-module_vertical__pB-rs:before{width:var(--sash-hover-size);left:calc(50% - (var(--sash-hover-size) / 2))}.sash-module_sash__K-9lB.sash-module_horizontal__kFbiw:before{height:var(--sash-hover-size);top:calc(50% - (var(--sash-hover-size) / 2))}.sash-module_sash__K-9lB.sash-module_active__bJspD:before,.sash-module_sash__K-9lB.sash-module_hover__80W6I:before{background:var(--focus-border)}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border-color:#29d transparent transparent #29d;border-style:solid;border-width:2px;border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}} \ No newline at end of file diff --git a/out/_next/static/media/GTWalsheimPro-Black.dfbc79ff.ttf b/out/_next/static/media/GTWalsheimPro-Black.dfbc79ff.ttf new file mode 100644 index 0000000000000000000000000000000000000000..eab3013e499bc13fd1e2dd3ec60042059c3c01ad Binary files /dev/null and b/out/_next/static/media/GTWalsheimPro-Black.dfbc79ff.ttf differ diff --git a/out/_next/static/media/GTWalsheimPro-Bold.2c750101.ttf b/out/_next/static/media/GTWalsheimPro-Bold.2c750101.ttf new file mode 100644 index 0000000000000000000000000000000000000000..07e29e6e14269108c3cbebf9fc8e1c869db139c4 Binary files /dev/null and b/out/_next/static/media/GTWalsheimPro-Bold.2c750101.ttf differ diff --git a/out/_next/static/media/GTWalsheimPro-Light.f89c2527.ttf b/out/_next/static/media/GTWalsheimPro-Light.f89c2527.ttf new file mode 100644 index 0000000000000000000000000000000000000000..c08acad0c00034a4e106215ab88945cac81cff6e Binary files /dev/null and b/out/_next/static/media/GTWalsheimPro-Light.f89c2527.ttf differ diff --git a/out/_next/static/media/GTWalsheimPro-Medium.1fbdca34.ttf b/out/_next/static/media/GTWalsheimPro-Medium.1fbdca34.ttf new file mode 100644 index 0000000000000000000000000000000000000000..40079244dea939f9379008a830d5f189df97c802 Binary files /dev/null and b/out/_next/static/media/GTWalsheimPro-Medium.1fbdca34.ttf differ diff --git a/out/_next/static/media/GTWalsheimPro-Regular.920fb262.ttf b/out/_next/static/media/GTWalsheimPro-Regular.920fb262.ttf new file mode 100644 index 0000000000000000000000000000000000000000..f5906f2e01d4dae77bb7b2369758dcbf6824e9b3 Binary files /dev/null and b/out/_next/static/media/GTWalsheimPro-Regular.920fb262.ttf differ diff --git a/out/_next/static/media/GTWalsheimPro-Thin.346352fb.ttf b/out/_next/static/media/GTWalsheimPro-Thin.346352fb.ttf new file mode 100644 index 0000000000000000000000000000000000000000..ab2a1e2279f2256535a1d2872410721693fd8473 Binary files /dev/null and b/out/_next/static/media/GTWalsheimPro-Thin.346352fb.ttf differ diff --git a/out/_next/static/media/GTWalsheimPro-UltraLight.8cb4f143.ttf b/out/_next/static/media/GTWalsheimPro-UltraLight.8cb4f143.ttf new file mode 100644 index 0000000000000000000000000000000000000000..98cb4bd4d9155998fe0dc57a360dfaf7cf66cf3d Binary files /dev/null and b/out/_next/static/media/GTWalsheimPro-UltraLight.8cb4f143.ttf differ diff --git a/out/favicon.ico b/out/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..718d6fea4835ec2d246af9800eddb7ffb276240c Binary files /dev/null and b/out/favicon.ico differ diff --git a/out/font/GTWalsheimPro-Black.ttf b/out/font/GTWalsheimPro-Black.ttf new file mode 100644 index 0000000000000000000000000000000000000000..eab3013e499bc13fd1e2dd3ec60042059c3c01ad Binary files /dev/null and b/out/font/GTWalsheimPro-Black.ttf differ diff --git a/out/font/GTWalsheimPro-Bold.ttf b/out/font/GTWalsheimPro-Bold.ttf new file mode 100644 index 0000000000000000000000000000000000000000..07e29e6e14269108c3cbebf9fc8e1c869db139c4 Binary files /dev/null and b/out/font/GTWalsheimPro-Bold.ttf differ diff --git a/out/font/GTWalsheimPro-Light.ttf b/out/font/GTWalsheimPro-Light.ttf new file mode 100644 index 0000000000000000000000000000000000000000..c08acad0c00034a4e106215ab88945cac81cff6e Binary files /dev/null and b/out/font/GTWalsheimPro-Light.ttf differ diff --git a/out/font/GTWalsheimPro-Medium.ttf b/out/font/GTWalsheimPro-Medium.ttf new file mode 100644 index 0000000000000000000000000000000000000000..40079244dea939f9379008a830d5f189df97c802 Binary files /dev/null and b/out/font/GTWalsheimPro-Medium.ttf differ diff --git a/out/font/GTWalsheimPro-Regular.ttf b/out/font/GTWalsheimPro-Regular.ttf new file mode 100644 index 0000000000000000000000000000000000000000..f5906f2e01d4dae77bb7b2369758dcbf6824e9b3 Binary files /dev/null and b/out/font/GTWalsheimPro-Regular.ttf differ diff --git a/out/font/GTWalsheimPro-Thin.ttf b/out/font/GTWalsheimPro-Thin.ttf new file mode 100644 index 0000000000000000000000000000000000000000..ab2a1e2279f2256535a1d2872410721693fd8473 Binary files /dev/null and b/out/font/GTWalsheimPro-Thin.ttf differ diff --git a/out/font/GTWalsheimPro-UltraLight.ttf b/out/font/GTWalsheimPro-UltraLight.ttf new file mode 100644 index 0000000000000000000000000000000000000000..98cb4bd4d9155998fe0dc57a360dfaf7cf66cf3d Binary files /dev/null and b/out/font/GTWalsheimPro-UltraLight.ttf differ diff --git a/out/font/stylesheet.css b/out/font/stylesheet.css new file mode 100644 index 0000000000000000000000000000000000000000..44794b24cdd5879dbbbdb64d5201394a24cc52c2 --- /dev/null +++ b/out/font/stylesheet.css @@ -0,0 +1,55 @@ +@font-face { + font-family: "GT Walsheim Pro"; + src: local("GT Walsheim Pro Light"), local("GTWalsheimPro-Light"), + url("GTWalsheimPro-Light.ttf") format("truetype"); + font-weight: 300; + font-style: normal; +} + +@font-face { + font-family: "GT Walsheim Pro"; + src: local("GT Walsheim Pro Regular"), local("GTWalsheimPro-Regular"), + url("GTWalsheimPro-Regular.ttf") format("truetype"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "GT Walsheim Pro"; + src: local("GT Walsheim Pro Thin"), local("GTWalsheimPro-Thin"), + url("GTWalsheimPro-Thin.ttf") format("truetype"); + font-weight: 100; + font-style: normal; +} + +@font-face { + font-family: "GT Walsheim Pro"; + src: local("GT Walsheim Pro Bold"), local("GTWalsheimPro-Bold"), + url("GTWalsheimPro-Bold.ttf") format("truetype"); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: "GT Walsheim Pro"; + src: local("GT Walsheim Pro Medium"), local("GTWalsheimPro-Medium"), + url("GTWalsheimPro-Medium.ttf") format("truetype"); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: "GT Walsheim Pro Ultra"; + src: local("GT Walsheim Pro Ultra Light"), local("GTWalsheimPro-UltraLight"), + url("GTWalsheimPro-UltraLight.ttf") format("truetype"); + font-weight: 200; + font-style: normal; +} + +@font-face { + font-family: "GT Walsheim Pro"; + src: local("GT Walsheim Pro Black"), local("GTWalsheimPro-Black"), + url("GTWalsheimPro-Black.ttf") format("truetype"); + font-weight: 900; + font-style: normal; +} diff --git a/out/icons/clear-outlined.svg b/out/icons/clear-outlined.svg new file mode 100644 index 0000000000000000000000000000000000000000..0a07a03757544736023c525b9f3de8940dd96378 --- /dev/null +++ b/out/icons/clear-outlined.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1024" height="1024" preserveAspectRatio="xMidYMid meet" viewBox="0 0 1024 1024" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);"><defs/><path d="M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6c-.3 1.5-.4 3-.4 4.4c0 14.4 11.6 26 26 26h723c1.5 0 3-.1 4.4-.4c14.2-2.4 23.7-15.9 21.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z" fill="#626262"/><rect x="0" y="0" width="1024" height="1024" fill="rgba(0, 0, 0, 0)" /></svg> \ No newline at end of file diff --git a/out/icons/gsap-greensock.svg b/out/icons/gsap-greensock.svg new file mode 100644 index 0000000000000000000000000000000000000000..79015a91e1ec0b84e2344ceca965e0059fc2d599 --- /dev/null +++ b/out/icons/gsap-greensock.svg @@ -0,0 +1 @@ +<svg height="2500" viewBox="-2.138 -2.29 314.9 359.304" width="2157" xmlns="http://www.w3.org/2000/svg"><path d="m48.173 155.568c-10.389 4.887-37.886 26.886-43.182 33.404-5.5 6.518-7.129-3.666-1.426-20.572 4.48-13.647 15.888-32.183 35.034-48.07 11.202-9.166 35.849-22.405 50.921-30.146 3.056-1.63 42.571-18.332 77.809-26.683 3.056-.815-3.666 5.092-4.685 8.351-5.296 15.48-111.01 81.882-111.01 81.882zm148.894 186.78c1.833 10.999.204 11.814-11.202 13.24-11.407 1.426-19.758-2.852-22.813-5.703-3.056-2.853-3.666-9.166-.611-14.869 1.834-3.667 3.667-4.889 4.686-9.37 1.018-4.277 1.833-5.296 2.647-6.925.814-1.427 1.019-2.853 1.222-12.833.204-9.98 0-28.72 1.019-36.663 1.019-8.147 36.257 3.666 36.257 3.666s-8.352 20.776-10.592 25.868c-2.241 5.093-2.037 14.869-2.037 16.906s-.814 6.11-1.426 6.314c-.611.203 2.037 5.499.814 8.555-.815 2.852 1.833 10.185 2.036 11.814zm13.444-311.437c-1.223-7.74 0-23.018 1.629-25.461 5.093-6.926 31.979-7.74 37.683.407 2.444 3.666 2.24 12.221 1.833 17.721-.407 5.499-1.833 17.313-2.037 21.184-.203 2.852-29.738 7.332-36.256-.408-1.834-2.036-2.852-13.443-2.852-13.443zm59.884 291.679c12.425 8.963 21.998 10.592 28.312 13.851 6.314 3.26 4.685 9.574-5.907 11.407-8.555 1.629-21.998-1.63-30.96-1.63s-28.924 1.019-34.22-2.647c-6.11-4.277-3.463-12.222-3.463-12.222 1.63-4.48 5.703-14.462 4.481-22.609s-2.852-12.628-5.907-20.165c-3.055-7.536-5.295-26.071-2.443-27.09s2.036 0 5.703.814c3.666.814 7.74 2.037 15.684 2.037s16.702-1.223 19.758-1.833c3.055-.611 5.499-1.223 4.48 5.092-1.018 6.314-4.073 18.128-4.277 27.294-.203 9.166-.203 19.758.408 21.591.61 1.833 5.092 3.87 8.351 6.11z" fill="#010101"/><path d="m226.806 51.28c-22.405 19.351-65.791 24.646-130.155 49.496-16.499 6.314-60.495 25.257-71.087 45.015 35.645-20.572 48.885 7.74 51.736 36.867 2.647 27.294 16.295 41.553 51.329 40.737 36.053-.814 47.052 20.165 57.032 44.812 19.35-94.308 50.311-112.639 70.271-128.73 42.368-34.424-9.776-95.123-29.126-88.197z" fill="#8ac640"/><path d="m226.806 51.28c-53.773 18.739-106.936 23.424-169.467 61.921-14.869 9.166-46.237 29.941-52.348 69.661 22.812-25.258 75.567-57.032 140.136-77.197 32.59-10.185 56.422-16.906 85.345-28.109-2.036-13.037-2.036-18.129-3.666-26.276z" fill="#8ac640"/><path d="m295.448 162.9s-3.87 13.24-11.61 17.518c0 0-5.703 2.037-17.109-4.277-3.259-1.833-5.703-8.147-5.5-10.185.204-4.889 3.259-7.129 3.259-7.129s3.26-5.5 7.129-5.296c3.871.203 10.389.814 12.426-1.019 1.832-2.037 11.813 3.666 11.405 10.388zm-83.104-128.119s-.814 10.389-2.24 16.906c-.204 1.223-6.314 1.833-10.796 3.667 8.555 24.442 60.088 24.238 66.81 12.221-3.259-2.24-9.777-5.703-12.832-6.925-3.056-1.223-2.852-1.019-3.056-6.722-.203-5.704-.611-16.295-1.019-19.147-.407-2.852-31.979-2.852-36.867 0z" fill="#010101"/><path d="m214.381 34.781s0 5.907-.611 11.61c-.203 2.648-.407 4.277-.814 6.314-.204 1.223 6.925 6.11 8.962 16.906 9.777 21.794 32.387 10.999 41.756.611-3.259-2.241-8.555-5.296-14.665-7.74-3.056-1.223-1.63-3.87-1.833-9.573-.204-5.703-1.019-14.055-1.426-17.11-.409-3.055-26.48-3.87-31.369-1.018z" fill="#f0efef"/><g fill="#010101"><path d="m212.344 34.781s-.204 3.667-.814 7.944c2.647 2.647 6.11 6.314 8.759 8.555 1.833 1.63 6.313 1.426 10.388 1.426 3.666 0 6.925.407 8.351-.407 3.26-1.63 7.944-5.703 10.592-8.759-.203-3.666-.407-7.129-.61-8.759-.206-2.852-31.778-2.852-36.666 0z"/><path d="m230.88 50.261c-2.445 0-5.297-.203-7.537-.611-1.019-.203-2.037-.814-2.852-1.222-1.426-1.019-2.852-2.24-4.48-3.463-3.26-2.444-3.463-3.87-3.463-4.48 1.426-12.833-.408-23.628-.408-23.628s-1.426-5.5 6.314-6.926 12.425-1.629 12.425-1.629 4.889 0 12.425 1.629c7.74 1.426 6.314 6.926 6.314 6.926s-1.833 10.795-.407 23.628c0 .61-.203 2.036-3.463 4.48-2.852 2.037-5.092 4.277-7.332 4.685-2.241.408-5.093.611-7.536.611z"/><path d="m230.88 3.006c-13.443 0-16.092 3.666-19.962 7.74-.814 1.018-.204 7.129 1.223 20.165h1.833s-1.223-3.667-1.019-7.944 1.019-4.073.407-5.092c-.814-1.223-2.444-3.26 1.223-5.296 3.666-2.037 9.369 1.629 16.295 1.833 6.925-.204 12.832-3.87 16.498-1.833 3.666 2.036 2.037 4.073 1.223 5.296-.815 1.222.203.814.407 5.092.203 4.277-1.019 7.944-1.019 7.944h1.833c1.222-13.036 2.037-18.739 1.426-19.758-3.463-4.481-6.925-7.944-20.368-8.147zm64.568 160.505s-3.87 12.425-11.406 16.702c-1.63-.814-1.426-2.036-2.852-3.87-.408-.61-1.834-1.019-2.444-1.629-.611-.611-.407-1.63-1.426-2.444-.815-.815-1.426-.204-2.241-.815-.814-.814-1.019-1.833-1.629-2.443-.408-.408-2.037-.611-2.444-1.019-1.019-1.019-9.98-2.852-9.573-4.889.814-3.056 2.444-5.296 2.444-5.296s3.87-5.703 7.739-5.5c3.87.204 7.537 1.019 9.574-.814 2.241-2.038 14.87 5.499 14.258 12.017z"/><path d="m268.969 73.482s12.832-3.056 21.591 5.296c8.759 8.555 8.147 19.146 5.5 25.664 2.24 2.648 6.314 9.98 3.259 18.739 13.443 11.406 7.536 28.924-4.481 40.534 0 0-2.852-10.592-14.258-11.203.407-4.073-10.592-7.333-5.5-17.925-7.74-1.833-7.536-7.129-8.758-13.646-1.019-6.519 2.647-47.459 2.647-47.459z"/></g><path d="m264.284 79.185s14.869-7.536 23.628 1.019c8.758 8.555 6.313 17.924 3.666 24.442 2.24 2.647 7.536 10.185 4.277 19.146-.611 2.037-5.092 2.037-8.352 7.333 8.147-4.686 13.24-3.463 15.073 2.443 2.852 9.166-3.463 20.165-8.962 26.276 0-.204-.204-.408-.204-.611-.814 3.056-1.833 8.962-7.943 15.48-3.056 3.259-5.5 2.852-8.963 2.037-4.073-1.019-5.499-2.853-11.202-5.907-3.259-1.833-1.426-4.074-1.426-5.907 0-.407.407-1.019 1.019-1.833.407-1.019 1.629-2.647 3.462-4.481 0 0 2.648-3.666 6.519-3.463 3.87.204 7.943-.61 8.962-1.629 0-7.129-8.147-7.333-5.296-19.554.204-.611 1.223-1.63 4.481-2.037-4.889-1.019-7.129-1.223-10.592-4.481-2.444-2.24-4.277-5.092-4.889-8.758-1.221-6.314-3.258-39.515-3.258-39.515z" fill="#f0efef"/><path d="m221.306 66.353c-1.222-1.63-7.536-9.777-19.554-13.036-3.463-1.019-5.703 1.833-9.165 3.87-1.019-.611-5.5-2.648-7.944-1.223s-4.073 2.852-6.518 3.87c-1.223-.611-4.481-.611-7.129.407-2.648.815-6.722 2.648-10.592 7.944-2.444 8.759 43.181 2.24 43.181 2.24z" fill="#010101"/><path d="m221.714 66.353c-6.519-2.241-5.5-9.777-19.962-10.999-2.852-.204-4.685 2.036-6.722 3.462 1.019 1.019 2.037 2.648 2.648 4.277-1.833-2.036-5.092-4.685-8.352-5.296-3.055-.61-5.092 1.63-8.351 3.26.61.61 1.222 1.629 2.036 2.852-2.852-1.833-4.888-2.444-8.758-1.019-2.648.814-7.74 3.055-11.61 8.555-2.444 8.759 41.145-1.019 41.145-1.019z" fill="#8ac640"/><path d="m260.007 69.612s0-2.241-.204-4.277c0-.407-1.629-1.426-1.629-1.833l-.407-.408s3.259-1.833 5.703-.814c2.647.814 4.073 4.277 4.073 4.277 4.685-1.629 5.092.204 7.333 2.648 4.889-1.019 5.499.814 8.555 5.296 0 0-3.666-.611-10.795.61-6.926 1.018-12.629-5.703-12.629-5.499z" fill="#010101"/><path d="m259.192 68.593s1.222-1.019.814-1.223c2.24-1.222 5.296-2.647 6.722 1.223 4.685-1.63 5.296.611 7.536 3.056 5.703-2.648 6.11.61 6.518 2.036-1.833 0-4.48.204-8.147.611-6.925 1.019-13.647-5.907-13.443-5.703z" fill="#8ac640"/><path d="m189.939 63.501s11.61 4.073 21.387 3.462c9.777-.814 26.479-1.629 35.441 3.667 0 0 9.166-3.26 17.721-1.019 8.556 2.24 24.239 16.906 19.555 32.386-.408 1.019-3.056 2.648-6.111 3.667 0 0 1.63 6.925-1.222 12.628-2.852 5.5-9.166 16.092-9.37 30.757-.203 2.444-.61 7.536-1.018 9.98-15.888-.61-40.33-6.518-64.365-6.11.203-2.647.407-4.277.611-6.925h.61c-1.222-6.722-1.629-10.185-2.852-15.277-7.74-4.888-15.888-10.591-22.812-21.387-6.722-10.796 12.425-45.829 12.425-45.829zm78.623 109.991s12.629 45.219-2.24 64.162c0 0 2.24 8.758-2.852 18.128-.815 4.073-1.834 7.74-2.444 11.813-2.648 16.906-7.13 24.035-8.352 51.125l-12.222-.203s-1.426-19.554-5.703-29.942c-2.443-5.906-12.018-13.851-11.609-21.794.407-6.111 1.629-11.203 12.018-19.351.814-11.813-11-23.017-9.166-67.013z" fill="#010101"/><path d="m264.896 171.658c3.259 20.776 10.795 51.533-2.852 66.605a30.712 30.712 0 0 1 .203 11.61c-.407 2.444-1.222 5.092-2.24 7.943-2.037 4.889-2.852 12.018-3.463 16.295-2.648 16.906-2.648 17.722-3.87 44.812l-12.222-.204s-1.426-19.554-5.703-29.941c-2.443-5.907-7.536-10.999-7.943-18.943-.407-6.11 3.87-18.331 14.055-17.924-.611-24.646-12.018-19.758-15.073-71.087zm-74.957-108.157s4.481 1.426 9.369 1.833c4.889.407 10.185 0 14.869-.204 9.777-.814 23.628-1.833 32.794 3.463 0 0 5.092-1.63 10.592-1.223 2.444.204 4.889 2.241 7.74 3.056 8.962 2.24 17.517 17.109 13.646 30.553-.407 1.019-3.259 0-6.518 1.019.61 2.852 1.019 9.37-2.241 16.295-3.462 6.926-7.943 15.888-7.129 32.998-21.387-1.019-30.96-2.444-52.144-3.463-1.833-7.537-3.056-15.073-3.259-18.943 2.852-1.426 4.48-2.647 6.722-5.092-6.11 1.019-8.555.611-12.222-1.426-3.666-2.037-10.184-8.555-13.443-12.832-.407-.408-2.647 6.313-7.739 6.518-1.834-2.648 5.906-10.185 4.48-13.036-5.091-10.389 4.483-39.516 4.483-39.516z" fill="#f0efef"/><path d="m266.524 154.752s.407 7.333.407 9.166c0 2.037 1.63 8.147 1.833 10.999-2.24 3.87-12.017 12.629-29.738 15.888-17.517 3.666-40.737-23.831-40.737-23.831.611-2.648 2.648-10.389 4.074-14.462.204-.407.611-1.426.611-1.833 1.834-2.648 63.55 4.073 63.55 4.073z" fill="#010101"/><path d="m262.044 155.364c0 5.092.814 8.759 1.426 12.018 1.018 5.907 2.647 9.777 2.647 13.647 0 11.813-15.48 9.776-28.517 10.184-17.517 3.667-32.386-23.831-32.386-23.831 1.222-4.685 2.037-9.98 3.87-14.462.203-2.444.611-5.499.814-6.925 24.85 0 42.367 1.426 52.552 2.443.408 2.241.001 6.111-.406 6.926z" fill="#f0efef"/><path d="m242.489 181.639s-10.795-24.035-43.182-16.905c-7.739 21.794-18.128 46.848-11.406 73.938-6.722 9.166-14.462 14.259-14.462 31.164 0 16.906.815 19.758.815 19.758l23.831 1.223s7.74-9.98 10.795-20.776c.815-3.056 1.63-8.555 1.019-14.869.814-1.222 4.277-4.073 4.685-9.573 0 0 11.61-6.11 18.332-20.979 6.315-13.446 4.685-25.056 9.573-42.981z" fill="#010101"/><path d="m242.489 181.639c-.61-2.24-8.758-24.238-38.904-17.721-17.72 47.256-11.202 66.81-8.555 75.364-12.018 15.276-17.517 18.535-15.072 49.496h15.888c7.332-11.61 8.962-15.888 9.369-31.164 0-.611-2.24 1.222-3.87 3.259 1.223-6.314 4.685-7.536 7.333-11.406 1.222-1.63 2.24-4.074 2.24-7.333 14.258-9.573 19.554-21.591 22.609-34.016 2.445-8.554 5.296-22.609 8.962-26.479z" fill="#f0efef"/><g fill="#010101"><path d="m192.179 148.846s5.5.203 10.389 1.833c4.685 1.629 4.685 2.647 6.518 4.685s6.314 5.092 5.5 8.147c-.408 1.63-1.426 2.037-2.852 3.463-.611.611-5.093 5.499-6.111 6.11-.611.407-1.426 1.019-2.037 1.426l-3.055 2.037c-2.037 1.019-3.463 1.63-5.703 1.426 0 0-5.092-.204-8.352-3.666 0 0-.407-1.63.408-2.444 0 0-4.278-3.667-5.5-6.111-1.223-2.443-1.223-5.906-.407-7.739.407-1.835 8.35-6.927 11.202-9.167zm5.093 198.187-.611 5.093s-1.833 2.24-15.48 2.037c-13.851-.204-17.517-4.481-18.739-6.722l-.814-5.296s2.648-3.87 3.259-3.87c4.481.407 19.758 6.518 30.35 8.147 1.016 0 1.219.407 2.035.611zm29.534-10.388c0 2.24-.204 2.24-.204 4.481 2.444 1.833 8.556 2.852 20.165 2.647 16.906-.407 32.59 5.093 51.736 1.833l.204-3.666-1.833-.203-67.828-5.5z"/><path d="m241.675 343.774h5.092c11-.407 21.388 2.037 32.59 2.648 5.907-.204 13.24-1.63 12.629-5.907l-57.847-4.889c-3.463 3.87-.816 7.129 7.536 8.148zm-66.402-85.752c1.833 1.222 14.258 8.555 34.423 7.536-.408 3.87-.204 11.407-9.166 24.646-4.481 6.518-8.352 17.925-9.166 32.387.204 3.259 2.037 6.11-.407 10.388.814 2.647 4.073 7.943 5.703 11.202 1.629 3.26 2.444 6.926-8.352 7.13-10.999.203-28.72-1.019-26.275-9.573 1.223-4.481 4.685-9.166 5.093-11 .407-1.833.407-7.332 3.869-10.999 3.056-10.184 2.037-19.961 1.427-29.127-1.019-9.574-1.223-24.85 2.851-32.59zm18.943-166.005c14.462-19.351 2.24-34.83-20.979-30.146-9.37 1.833-18.739 8.352-19.351 20.165-3.055.407-9.98.814-13.443 13.443-2.647 9.777-4.073 11.61-8.759 16.498-3.055 3.463.204 10.592 2.444 15.685 7.537 17.517 30.757 19.146 46.441 32.386 5.296-1.426 10.795-7.332 12.425-11.202-13.24-15.685-10.389-21.795-15.685-29.942 5.704-2.038 18.74-9.981 16.907-26.887z"/></g><path d="m191.364 90.795c.814-1.223 2.24-3.87 2.852-4.889.204-.204 2.444 3.666 2.648 3.463 5.499-8.963 6.925-21.999.61-23.221-1.426-.204-4.073-.814-6.314-1.63-4.073-1.426-7.739-1.426-14.258-.203-8.962 1.629-17.924 8.147-17.924 17.517 0 .611 6.313 2.444 8.147 9.981-3.056-4.278-8.352-8.963-14.666-4.889-6.722 4.277-3.259 14.054-12.221 24.238-3.056 3.463-2.648 7.537.61 15.684 5.296 12.833 30.35 19.758 43.997 31.979 3.259-1.426 5.499-4.685 7.129-7.129-9.166-9.573-12.833-18.536-15.48-25.054-3.259-7.536-6.926-11.813-14.055-17.518 3.667 1.426 6.519 2.852 8.147 4.074 1.833 1.222 4.481 1.426 6.926.611 8.76-3.053 13.445-15.275 13.852-23.014z" fill="#f0efef"/><path d="m279.968 94.054c-.611 7.74-6.314 3.87-9.369 2.444-6.111-2.648-12.222-4.481-19.351-4.481s-16.295.611-24.238 2.648c-10.999 3.055-14.259 2.852-19.147.407-4.888-2.648-13.442-9.166-13.442-9.166s-.204 2.037 1.833 4.685c2.647 3.259 8.555 7.333 16.498 9.98 3.87 1.223 6.926.407 10.389-.407 18.128-4.481 37.274-5.296 53.365 4.481.815.407 3.667-.815 4.889-2.648 1.628-2.647-1.427-7.943-1.427-7.943z" fill="#010101"/><path d="m187.291 171.658c1.629 1.019 3.666 1.63 5.906 3.463 0 0-1.833 0-2.647-.814-1.019-.611-3.056-2.444-3.259-2.649z" fill="#0a1825"/><path d="m246.156 10.135c-.611-1.833-5.093-5.093-15.48-5.093-11.203 0-14.462 3.463-14.665 5.296 0 .611-.815 7.13-1.019 9.777 0 0 0 3.259.203 8.147.204 3.259 1.019 5.092 1.426 9.37.407 4.48 1.63 7.332 3.87 10.999 1.019.61 1.833 1.222 2.852 1.426 4.074.814 11.203 1.018 15.073 0 2.24-.611 5.092-4.481 5.703-7.944.814-4.277 1.629-7.333 1.833-9.98.407-2.647.611-8.555.814-10.185.612-4.48-.407-11.406-.61-11.813z" fill="#f0efef"/><path d="m224.769 261.892s10.796 4.685 37.479.611c0 0-7.536 37.886-4.073 56.828 0 0 3.462 4.889 29.127 14.258 0 0 11.406 2.852 10.999 8.556 0 0 .407 1.222-13.443.814s-26.887-2.852-36.053-2.852-18.943.407-20.572-2.24c-1.833-2.444.407-8.759 3.055-12.426 2.853-3.869 2.037-6.722 1.834-13.646-.613-18.128-14.464-36.867-8.353-49.903z" fill="#010101"/><path d="m222.528 265.355c-1.426 2.037.203 9.776 2.24 17.313 2.037 7.536 6.519 12.018 7.537 24.442 1.018 12.221 1.222 13.851-2.241 20.979s-4.481 13.647 7.536 13.851 18.536-.204 30.757 1.63c12.222 1.833 16.499 2.444 23.221 1.426s8.147-3.26 5.296-5.296c-2.852-2.037-14.666-4.277-19.758-8.352-4.889-3.666-18.739-9.777-18.942-11.406-.611-5.5-.815-25.461.203-31.979 1.019-6.519 2.444-15.888 2.852-18.332s2.444-4.889-1.019-4.074c-3.462.814-16.498 2.648-26.275 2.037-9.777-.61-10.795-2.851-11.407-2.239z" fill="#8ac640"/><path d="m229.454 328.294c3.462 1.629 8.555 2.852 12.425 2.852 0 0-1.427 6.722.814 10.795 2.24 4.074-16.295 1.63-16.295 1.63l-.814-14.462zm53.977 17.517c3.259-1.019 5.5-4.685 2.852-8.147-2.852-3.463-5.296-4.074-1.63-4.277 3.667-.204 17.11 7.943 17.11 7.943l-6.926 6.314zm-61.514-72.513c4.685 1.63 11.814 2.037 17.925 1.833 6.11-.203 15.276-1.019 21.184-3.055 5.906-2.037 3.462 2.24 3.462 2.24l-3.259 3.056s-7.74 3.055-20.368 2.852c-14.869-.204-19.351-1.833-19.351-1.833zm.407 10.185c4.686 1.63 11.814 2.037 17.925 1.833 6.11-.203 14.258-.203 20.165-2.444 2.444-.814 1.019 2.648 1.019 2.648l-1.019 1.833s-7.944 2.852-20.369 2.647c-14.869-.203-17.517-1.426-17.517-1.426z" fill="#010101" opacity=".3"/><path d="m224.769 261.892s17.721 6.314 37.683 2.037c0 0-7.74 36.46-4.277 55.199 0 0 3.462 4.888 29.127 14.258 0 0 11.406 2.852 10.999 8.555 0 0 .407 1.223-13.443.814-13.851-.407-26.887-2.852-36.053-2.852s-18.943.408-20.572-2.24c-1.833-2.444.407-8.759 3.055-12.425 2.853-3.87 2.037-6.722 1.834-13.647-.613-17.924-14.464-36.663-8.353-49.699z" fill="none"/><path d="m224.769 261.892s17.721 6.11 37.683 1.833c0 0-7.74 36.664-4.277 55.403 0 0 3.462 4.888 29.127 14.258 0 0 11.406 2.852 10.999 8.555 0 0 .407 1.223-13.443.814-13.851-.407-27.091-4.277-36.053-2.852-9.573 1.63-18.943 1.019-20.572-2.24-1.426-2.647.407-8.759 3.055-12.425 2.853-3.87 2.037-6.722 1.834-13.647-.613-17.924-14.464-36.663-8.353-49.699z" fill="none"/><path d="m208.881 140.699c0 1.426 15.888 9.369 24.646 10.999 8.759 1.629 27.091 0 29.942-.611l-.408 2.852s-21.794 3.259-38.496-1.222c-16.703-4.481-14.869-5.5-14.869-5.5z" fill="#010101"/><path d="m174.865 314.443c2.444 1.223 11.203 3.463 16.906 2.241.814-.204 0-14.055 2.241-20.369 3.259-8.759 8.555-15.888 10.998-31.367-8.555-.815-18.331-3.056-23.424-4.686-6.517 19.962-4.276 37.071-6.721 54.181zm13.648 12.833c1.426.407 2.444 2.036 2.852 1.019.814-1.834-1.426-5.296-1.63-7.74v-.204c-1.833-1.629-14.258-1.833-13.443-1.019-1.426 2.648-3.666 2.241-4.48 7.537-.407 2.647 2.852.407 5.906.203-5.499 3.666-11.813 8.352-12.832 12.425-1.222 5.703.815 7.333 6.926 10.389 5.296 1.222 11.61 1.426 16.498 1.222 5.5-1.019 6.519-3.666 4.889-7.333-2.446-5.5-4.075-12.629-4.686-16.499z" fill="#f0efef"/><path d="m190.753 62.686c6.722 3.87 16.092 2.852 19.554 2.648.815 0 8.963-1.426 9.37-1.223.814.204.814.815.814.815s-3.055 1.629-9.98 2.036c-6.518.407-14.258 0-18.535-2.036-5.093-2.24-1.223-2.24-1.223-2.24zm69.254 3.87c1.222.814 9.166 3.87 12.629 7.536 3.055 3.26 1.426 3.056.814 2.241-.814-1.019-7.129-5.296-9.573-6.314s-5.5-2.852-5.5-3.259 1.63-.204 1.63-.204z" fill="#010101"/><path d="m189.734 151.086c5.907-.407 12.018 1.019 15.888 5.092 2.037 2.037 5.296 4.277 4.889 6.314 0 .611-1.223 2.241-2.24 3.463-.611.814-2.444 2.647-3.056 3.259-.814.611-3.666 2.852-4.277 3.259-.611.408-1.426 1.427-2.037 1.63-2.036 1.019-4.277.204-6.314-.814-2.036-1.019.408-1.223-1.833-2.852-5.499-3.87-8.555-6.519-6.314-14.055.203-1.426 2.443-3.056 5.294-5.296z" fill="#f0efef"/><path d="m137.795 104.442c-18.332 7.333-64.977 30.554-78.216 37.683 10.999 6.925 16.091 23.627 17.721 40.533.203 1.63.407 3.056.611 4.685.203 1.426.407 2.444.61 3.056 0 .204 0 .611.204.814 12.018-32.793 54.995-67.42 56.625-70.068.814-1.222-1.019-6.518 1.833-11.609 3.667-6.52 10.797-9.372.612-5.094zm43.589 153.784c9.369-18.739 9.573-36.664 9.369-57.644 0-8.759 6.314-21.184 3.056-17.721-12.222 13.646-42.978 39.312-65.18 40.737 31.164-1.018 43.385 14.666 52.755 34.628z" fill="#010101" opacity=".4"/><path d="m41.654 159.437c11.61-8.351 71.698-40.329 86.16-44.811 14.461-4.685 9.98-10.185 9.98-10.185s-58.662 25.257-93.696 47.052" fill="#010101"/><path d="m212.751 100.572c-4.685-1.833-8.351 3.667-7.129 8.963 1.223 5.296 12.222 11.202 11.61 30.553-.407 15.888-3.87 22.405-3.87 22.405l-7.74-9.776s-1.222-21.999-3.87-25.258c-2.647-3.259-10.999-9.166-14.258-12.221-3.259-3.056 3.666-7.129 3.259-12.833-.407-5.499 3.463-16.498 3.463-16.498zm28.313 86.77c-.407 15.276 3.056 37.886 4.481 48.682 1.426 10.795 3.259 11.61 0 16.499-3.259 4.685-7.536 12.425-7.536 12.425l-14.055-1.223s11.203-14.258 11.813-16.906c.611-2.647-5.703-22.812-5.703-22.812zm-27.09-142.58c2.852 6.313 6.314 9.165 11.813 10.999 3.259 1.222 16.091 2.852 21.184-2.852 2.24-2.648.814-9.777.814-9.777l-11.61 9.369-15.684-2.851-1.833-4.685z" fill="#010101" opacity=".4"/><path d="m215.195 58.816c5.296 3.463 18.536 6.722 22.202 7.333 3.666.814 9.573-3.87 12.425-5.092 3.056-1.426 8.352-2.241 14.462 3.259.611.611-1.426 3.259-1.426 3.259-.204-.204-1.426-.204-3.056-1.019-1.629-.814-3.055-1.426-5.499-1.222-10.185 1.222-11.814 4.685-20.776 2.647s-11.203-3.666-19.961-3.259" fill="#8ac640" stroke="#010101" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="1.586"/><path d="m213.362 59.427c6.722 2.852 19.758 5.907 23.424 6.722s9.573-2.852 12.425-4.685c5.093-3.259 11.61-.611 14.666 2.852 2.036 2.24 2.852 3.666 2.852 4.277 0 .814-2.444 0-2.444 0-1.426-.611-3.056-.814-4.277-1.63-1.63-.814-3.26-2.036-5.703-1.833-10.185 1.223-12.222 4.685-20.98 2.648s-10.999-3.87-20.368-3.26" fill="#8ac640"/><path d="m181.791 249.67c-.407-.407.407-.814 0-.814-2.647 0-6.314-2.037-8.352-4.889-8.758-12.628-21.591-20.979-44.811-20.368-34.831.814-48.682-13.443-51.329-40.737-1.426-14.869-5.5-29.331-13.851-37.479l-4.889 3.056c9.369 8.147 12.425 21.387 14.462 39.515 3.259 27.294 25.257 39.923 50.922 40.33 26.683.407 36.256 5.907 46.236 19.351 3.259 4.277 6.926 5.703 9.777 6.314z" fill="#010101"/><path d="m276.302 118.7c.611 3.055 2.24 8.962 5.499 11.813 1.427 1.426 1.63 1.833.408 1.833-1.223 0-10.185-.407-10.185-.407l-2.444-4.277z" fill="#010101" opacity=".4"/></svg> \ No newline at end of file diff --git a/out/icons/heart-arrow.svg b/out/icons/heart-arrow.svg new file mode 100644 index 0000000000000000000000000000000000000000..044a3806c8ce96cafb625f60ff235a2859410551 --- /dev/null +++ b/out/icons/heart-arrow.svg @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="512" height="512" x="0" y="0" viewBox="0 0 24 24" style="enable-background:new 0 0 512 512" xml:space="preserve"><g><path xmlns="http://www.w3.org/2000/svg" d="M23,17a1,1,0,0,0-1,1v2.586l-2.994-2.994C21.2,15.25,23,12.547,23,9.987a5.745,5.745,0,0,0-5.5-5.949A5.39,5.39,0,0,0,13,6.57,5.39,5.39,0,0,0,8.5,4.038a5.13,5.13,0,0,0-2.428.619L1.707.293A1,1,0,0,0,.293,1.707L4.5,5.915A6.188,6.188,0,0,0,3,9.987c0,3.791,3.951,7.9,7.265,10.676a4.248,4.248,0,0,0,5.47,0c.608-.51,1.238-1.065,1.861-1.654L20.586,22H18a1,1,0,0,0,0,2h4a2,2,0,0,0,2-2V18A1,1,0,0,0,23,17Z" fill="#f43f5e" data-original="#000000"/></g></svg> diff --git a/out/icons/p5-dot-js.svg b/out/icons/p5-dot-js.svg new file mode 100644 index 0000000000000000000000000000000000000000..e3f56dbe475b411211152a596082d5e0b6f2c5a5 --- /dev/null +++ b/out/icons/p5-dot-js.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);"><path d="M1.345 9.122v.784h.035c.07-.11.161-.22.274-.333a1.85 1.85 0 0 1 .416-.305a2.557 2.557 0 0 1 1.253-.31a2.632 2.632 0 0 1 1.964.854c.242.266.429.578.561.936c.133.36.2.745.2 1.159c0 .413-.065.801-.194 1.163a2.856 2.856 0 0 1-.549.948a2.642 2.642 0 0 1-.866.644c-.34.16-.723.24-1.152.24c-.398 0-.763-.083-1.094-.246a1.86 1.86 0 0 1-.766-.668h-.024v3.558H0V9.12zm3.276 2.785c0-.219-.034-.435-.1-.65a1.82 1.82 0 0 0-.298-.579a1.503 1.503 0 0 0-.503-.416a1.53 1.53 0 0 0-.714-.157a1.44 1.44 0 0 0-.691.163a1.77 1.77 0 0 0-.52.421a1.795 1.795 0 0 0-.328.585a1.97 1.97 0 0 0 0 1.305a1.807 1.807 0 0 0 .328.58a1.687 1.687 0 0 0 .52.414c.203.105.434.159.691.159a1.483 1.483 0 0 0 1.217-.586c.132-.171.231-.366.297-.585a2.248 2.248 0 0 0 .1-.654zm13.682-3.054v6.223c0 .335-.028.653-.082.952a2.018 2.018 0 0 1-.31.785a1.623 1.623 0 0 1-.62.532c-.262.132-.602.199-1.024.199a2.676 2.676 0 0 1-.35-.024a3.507 3.507 0 0 1-.281-.047l.117-1.192a1.762 1.762 0 0 0 .386.047a.752.752 0 0 0 .397-.094a.627.627 0 0 0 .234-.258c.055-.109.09-.235.105-.38c.016-.144.024-.298.024-.461V8.853zm4.784 1.765a1.621 1.621 0 0 0-.514-.427a1.449 1.449 0 0 0-.714-.18c-.226 0-.432.046-.62.14a.483.483 0 0 0-.28.467a.47.47 0 0 0 .31.462c.206.09.508.182.906.276c.21.047.423.109.638.187c.214.077.41.18.585.31a1.53 1.53 0 0 1 .427.48c.109.19.163.423.163.695c0 .344-.064.634-.192.872c-.13.238-.301.43-.515.58a2.169 2.169 0 0 1-.75.32a3.884 3.884 0 0 1-.883.101a3.507 3.507 0 0 1-1.275-.24a2.694 2.694 0 0 1-1.03-.685l.925-.866a1.828 1.828 0 0 0 1.44.703c.1 0 .204-.012.31-.035a1.052 1.052 0 0 0 .29-.112a.607.607 0 0 0 .218-.205a.58.58 0 0 0 .081-.316a.52.52 0 0 0-.32-.503c-.216-.1-.538-.202-.967-.303a4.635 4.635 0 0 1-.614-.182a2.004 2.004 0 0 1-.531-.292a1.35 1.35 0 0 1-.375-.451a1.42 1.42 0 0 1-.14-.667c0-.311.064-.58.192-.806a1.66 1.66 0 0 1 .51-.556c.21-.145.447-.252.713-.322a3.184 3.184 0 0 1 .819-.105c.405 0 .801.07 1.187.21c.386.14.692.355.919.643zm-8.29 2.931l.837-.252l.164.505l-.833.283l.517.734l-.436.316l-.544-.721l-.53.701l-.423-.322l.517-.708l-.84-.302l.165-.506l.843.271v-.872h.564v.872zm-2.887-2.644a2.309 2.309 0 0 0-.602-.819a2.679 2.679 0 0 0-.907-.509a3.517 3.517 0 0 0-1.13-.175c-.148 0-.313.008-.497.024a2.435 2.435 0 0 0-.474.082l.082-1.79h3.382V6.453H7.05l-.14 4.527a3.487 3.487 0 0 1 .426-.175a6.564 6.564 0 0 1 .491-.147a4.487 4.487 0 0 1 .515-.099a3.78 3.78 0 0 1 .497-.035c.227 0 .45.025.668.076c.218.05.415.14.591.269c.174.129.317.298.426.509c.11.21.164.476.164.795c0 .25-.04.474-.123.673a1.413 1.413 0 0 1-.333.497a1.443 1.443 0 0 1-.49.304c-.19.07-.388.106-.598.106c-.375 0-.698-.1-.972-.299a1.631 1.631 0 0 1-.584-.79l-.015.006l-1.016.952c.205.335.47.616.797.838c.475.324 1.06.486 1.754.486a3.417 3.417 0 0 0 1.17-.2a2.705 2.705 0 0 0 1.609-1.491c.16-.362.24-.773.24-1.233c0-.422-.072-.794-.216-1.118z" fill="#ED225C"/><rect x="0" y="0" width="24" height="24" fill="rgba(0, 0, 0, 0)" /></svg> \ No newline at end of file diff --git a/out/icons/plus.svg b/out/icons/plus.svg new file mode 100644 index 0000000000000000000000000000000000000000..cd8675a25a8b2b797d99830e33ec77c2f4feb8bf --- /dev/null +++ b/out/icons/plus.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="#34D399"> + <path fill-rule="evenodd" d="M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z" clip-rule="evenodd" /> +</svg> \ No newline at end of file diff --git a/out/icons/reactjs.svg b/out/icons/reactjs.svg new file mode 100644 index 0000000000000000000000000000000000000000..903b854e7d8927f59460f0b97827d6df4d76ac6e --- /dev/null +++ b/out/icons/reactjs.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);"><circle cx="16" cy="15.974" r="2.5" fill="#00d8ff"/><path d="M16 21.706a28.385 28.385 0 0 1-8.88-1.2a11.3 11.3 0 0 1-3.657-1.958A3.543 3.543 0 0 1 2 15.974c0-1.653 1.816-3.273 4.858-4.333A28.755 28.755 0 0 1 16 10.293a28.674 28.674 0 0 1 9.022 1.324a11.376 11.376 0 0 1 3.538 1.866A3.391 3.391 0 0 1 30 15.974c0 1.718-2.03 3.459-5.3 4.541a28.8 28.8 0 0 1-8.7 1.191zm0-10.217a27.948 27.948 0 0 0-8.749 1.282c-2.8.977-4.055 2.313-4.055 3.2c0 .928 1.349 2.387 4.311 3.4A27.21 27.21 0 0 0 16 20.51a27.6 27.6 0 0 0 8.325-1.13C27.4 18.361 28.8 16.9 28.8 15.974a2.327 2.327 0 0 0-1.01-1.573a10.194 10.194 0 0 0-3.161-1.654A27.462 27.462 0 0 0 16 11.489z" fill="#00d8ff"/><path d="M10.32 28.443a2.639 2.639 0 0 1-1.336-.328c-1.432-.826-1.928-3.208-1.327-6.373a28.755 28.755 0 0 1 3.4-8.593a28.676 28.676 0 0 1 5.653-7.154a11.376 11.376 0 0 1 3.384-2.133a3.391 3.391 0 0 1 2.878 0c1.489.858 1.982 3.486 1.287 6.859a28.806 28.806 0 0 1-3.316 8.133a28.385 28.385 0 0 1-5.476 7.093a11.3 11.3 0 0 1-3.523 2.189a4.926 4.926 0 0 1-1.624.307zm1.773-14.7a27.948 27.948 0 0 0-3.26 8.219c-.553 2.915-.022 4.668.75 5.114c.8.463 2.742.024 5.1-2.036a27.209 27.209 0 0 0 5.227-6.79a27.6 27.6 0 0 0 3.181-7.776c.654-3.175.089-5.119-.713-5.581a2.327 2.327 0 0 0-1.868.089A10.194 10.194 0 0 0 17.5 6.9a27.464 27.464 0 0 0-5.4 6.849z" fill="#00d8ff"/><path d="M21.677 28.456c-1.355 0-3.076-.82-4.868-2.361a28.756 28.756 0 0 1-5.747-7.237a28.676 28.676 0 0 1-3.374-8.471a11.376 11.376 0 0 1-.158-4A3.391 3.391 0 0 1 8.964 3.9c1.487-.861 4.01.024 6.585 2.31a28.8 28.8 0 0 1 5.39 6.934a28.384 28.384 0 0 1 3.41 8.287a11.3 11.3 0 0 1 .137 4.146a3.543 3.543 0 0 1-1.494 2.555a2.59 2.59 0 0 1-1.315.324zm-9.58-10.2a27.949 27.949 0 0 0 5.492 6.929c2.249 1.935 4.033 2.351 4.8 1.9c.8-.465 1.39-2.363.782-5.434A27.212 27.212 0 0 0 19.9 13.74a27.6 27.6 0 0 0-5.145-6.64c-2.424-2.152-4.39-2.633-5.191-2.169a2.327 2.327 0 0 0-.855 1.662a10.194 10.194 0 0 0 .153 3.565a27.465 27.465 0 0 0 3.236 8.1z" fill="#00d8ff"/><rect x="0" y="0" width="32" height="32" fill="rgba(0, 0, 0, 0)" /></svg> \ No newline at end of file diff --git a/out/icons/typescript.svg b/out/icons/typescript.svg new file mode 100644 index 0000000000000000000000000000000000000000..b78ae3f8d1d633551637812c7ccdf27b0c81c975 --- /dev/null +++ b/out/icons/typescript.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><path d="M0 32v32h64.002V-.002H0zm51.577-2.55c1.625.406 2.865 1.128 4.003 2.306.59.63 1.463 1.778 1.534 2.052.02.08-2.763 1.95-4.45 2.997-.06.04-.305-.223-.58-.63-.823-1.2-1.686-1.717-3.007-1.808-1.94-.132-3.2.884-3.18 2.58 0 .498.07.792.274 1.2.427.884 1.22 1.412 3.708 2.49 4.582 1.97 6.542 3.27 7.76 5.12 1.36 2.062 1.666 5.354.742 7.802-1.016 2.662-3.535 4.47-7.08 5.07-1.097.193-3.698.163-4.876-.05-2.57-.457-5.008-1.727-6.512-3.393-.59-.65-1.737-2.347-1.666-2.47.03-.04.295-.203.59-.376l2.377-1.37 1.84-1.067.386.57c.538.823 1.717 1.95 2.428 2.326 2.042 1.077 4.846.924 6.227-.315.59-.538.833-1.097.833-1.92 0-.742-.09-1.067-.477-1.625-.498-.71-1.514-1.31-4.4-2.56-3.302-1.422-4.724-2.306-6.024-3.708-.752-.813-1.463-2.113-1.758-3.2-.244-.904-.305-3.17-.112-4.084.68-3.2 3.088-5.415 6.563-6.075 1.128-.213 3.75-.132 4.856.142zM36.552 32.12l.02 2.62h-8.33v23.67H22.35v-23.67h-8.33v-2.57l.07-2.64c.03-.04 5.1-.06 11.246-.05l11.185.03z" fill="#007acc"/></svg> \ No newline at end of file diff --git a/out/icons/vanilla.svg b/out/icons/vanilla.svg new file mode 100644 index 0000000000000000000000000000000000000000..d31e2a5b973e5abcc0b1a88a81ba30a075e45ee7 --- /dev/null +++ b/out/icons/vanilla.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);"><g fill="none" fill-rule="evenodd"><path fill="#F1DC50" d="M0 0h24v24H0z"/><path stroke="#333" stroke-width="2" d="M12 11v8c0 .876-.523 2-2 2c-2.385 0-2.5-2-2.5-2m13.29-5.484c-.6-1.01-1.396-1.516-2.386-1.516C16.856 12 16 13 16 14s.5 2 2.508 2.5c1.278.318 2.492 1 2.492 2.5s-1.315 2-2.5 2c-1.514 0-2.514-.667-3-2"/></g><rect x="0" y="0" width="24" height="24" fill="rgba(0, 0, 0, 0)" /></svg> \ No newline at end of file diff --git a/out/icons/web-assembly.svg b/out/icons/web-assembly.svg new file mode 100644 index 0000000000000000000000000000000000000000..5eba1e63a2ecbec9a87912b561a4f56aa4f7fea8 --- /dev/null +++ b/out/icons/web-assembly.svg @@ -0,0 +1,18 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 107.62 107.62"> + <defs> + <style> + .cls-1 { + fill: #654ff0; + } + </style> + </defs> + <title>web-assembly-icon</title> + <g id="Layer_2" data-name="Layer 2"> + <g id="Notch_-_Purple" data-name="Notch - Purple"> + <g id="icon"> + <path class="cls-1" d="M66.12,0c0,.19,0,.38,0,.58a12.34,12.34,0,1,1-24.68,0c0-.2,0-.39,0-.58H0V107.62H107.62V0ZM51.38,96.1,46.14,70.17H46L40.39,96.1H33.18L25,58h7.13L37,83.93h.09L42.94,58h6.67L54.9,84.25H55L60.55,58h7L58.46,96.1Zm39.26,0-2.43-8.48H75.4L73.53,96.1H66.36L75.59,58H86.83L98,96.1Z"/> + <polygon class="cls-1" points="79.87 67.39 76.76 81.37 86.44 81.37 82.87 67.39 79.87 67.39"/> + </g> + </g> + </g> +</svg> diff --git a/out/preview-image.png b/out/preview-image.png new file mode 100644 index 0000000000000000000000000000000000000000..280df803f2dbaf296a2e274596c2ac741a9beaef Binary files /dev/null and b/out/preview-image.png differ diff --git a/out/vercel.svg b/out/vercel.svg new file mode 100644 index 0000000000000000000000000000000000000000..fbf0e25a651c28931b2fe8afa2947e124eebc74f --- /dev/null +++ b/out/vercel.svg @@ -0,0 +1,4 @@ +<svg width="283" height="64" viewBox="0 0 283 64" fill="none" + xmlns="http://www.w3.org/2000/svg"> + <path d="M141.04 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.46 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM248.72 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.45 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM200.24 34c0 6 3.92 10 10 10 4.12 0 7.21-1.87 8.8-4.92l7.68 4.43c-3.18 5.3-9.14 8.49-16.48 8.49-11.05 0-19-7.2-19-18s7.96-18 19-18c7.34 0 13.29 3.19 16.48 8.49l-7.68 4.43c-1.59-3.05-4.68-4.92-8.8-4.92-6.07 0-10 4-10 10zm82.48-29v46h-9V5h9zM36.95 0L73.9 64H0L36.95 0zm92.38 5l-27.71 48L73.91 5H84.3l17.32 30 17.32-30h10.39zm58.91 12v9.69c-1-.29-2.06-.49-3.2-.49-5.81 0-10 4-10 10V51h-9V17h9v9.2c0-5.08 5.91-9.2 13.2-9.2z" fill="#000"/> +</svg> \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 193de60d80ba9df82deddb7120e15c87306471db..73db9c2b20d1a2688302102f9230448e802679f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,15 +48,16 @@ "@graphql-codegen/introspection": "2.1.1", "@graphql-codegen/typescript": "2.4.5", "@graphql-codegen/typescript-operations": "2.3.2", - "@types/node": "^17.0.39", + "@types/node": "17.0.45", "@types/prettier": "^2.3.0", + "@types/react": "18.2.29", "autoprefixer": "^10.2.6", "eslint": "7.29.0", "eslint-config-next": "^13.0.1", "postcss": "^8.3.4", "prettier": "^2.3.1", "tailwindcss": "^3.0.18", - "typescript": "^5.0.0" + "typescript": "5.2.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -2842,9 +2843,9 @@ "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==" }, "node_modules/@types/react": { - "version": "18.2.17", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.17.tgz", - "integrity": "sha512-u+e7OlgPPh+aryjOm5UJMX32OvB2E3QASOAqVMY6Ahs90djagxwv2ya0IctglNbNTexC12qCSMZG47KPfy1hAA==", + "version": "18.2.29", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.29.tgz", + "integrity": "sha512-Z+ZrIRocWtdD70j45izShRwDuiB4JZqDegqMFW/I8aG5DxxLKOzVNoq62UIO82v9bdgi+DO1jvsb9sTEZUSm+Q==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -10780,9 +10781,9 @@ } }, "node_modules/typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 9574cf0a9f9df770ba76b472429d6915026da00c..4d107a7f415065e59c0ac43d5f3811eb4a6a63bd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "next build && next export", "start": "next start", "lint": "next lint", "codegen": "graphql-codegen --config codegen.yml" @@ -50,14 +50,15 @@ "@graphql-codegen/introspection": "2.1.1", "@graphql-codegen/typescript": "2.4.5", "@graphql-codegen/typescript-operations": "2.3.2", - "@types/node": "^17.0.39", + "@types/node": "17.0.45", "@types/prettier": "^2.3.0", + "@types/react": "18.2.29", "autoprefixer": "^10.2.6", "eslint": "7.29.0", "eslint-config-next": "^13.0.1", "postcss": "^8.3.4", "prettier": "^2.3.1", "tailwindcss": "^3.0.18", - "typescript": "^5.0.0" + "typescript": "5.2.2" } }