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 ---

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;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=new Array(e),o=0;o1&&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=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=new Array(e),o=0;o{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;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=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;i1&&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;n0},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);n0},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=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(eR){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;i1&&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;o1}));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=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.leftn.right}function Ar(e,t,n){return e.topn.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.widthn.bottom||e.top+t.height=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+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=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=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=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=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;a1&&(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;it?"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;ape?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.rightL+$&&(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&&pu+m){n=r-1;break}}for(var s=0,c=t-1;c>=0;c-=1)if((e.get(l[c].key)||je)[a]0,Be=L+${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{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=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;++nu))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-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-1&&e%1==0&&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=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-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=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;nthis.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;te+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;ne.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=te+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&&ie+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;u0||this.startSnappingEnabled)?e.state=re.Minimum:c&&t[u]&&(a0)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{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{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(;++n2){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(;++nt.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{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(;++ri?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);a0?(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(;++no))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;er;){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=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-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=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)?c999||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++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(;++c13&&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(;++l0){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{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(;++n55295&&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":"")+")"})}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-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&&++r0&&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(;++u0){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{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(;++i0&&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(;++n1?"-"+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"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(;++ii?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(;++i0?o.createElement(h,s,d):o.createElement(h,s)}function qn(e,t){let n=-1,r=0;for(;++n4&&"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 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;td)&&(U=(V=V.replace(" ",":")).length),0n&&(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&&0c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],0=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=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;o96?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;t1?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"))}},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=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;d1&&(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;r0?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}},""),"}");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:"",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;r1&&void 0!==arguments[1]?arguments[1]:{},n=a.default.tokenize(e),o=[],i=[];for(r=new c(r),t=0;t0){var _=m(A.attributes);E+=" "+_.join(" ")}E+=">",i.push(E);break;case u:i.push("");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;o0;){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;r2&&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;o1&&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=0&&p++,r++,u++;if(p<0)for(var d=r-u;d0&&(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=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;r1&&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)return[];for(;o0&&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"),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"===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=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=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=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=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=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;t0?{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;t0?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);r0,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;ta&&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=0?n=a:(n=r+a)<0&&(n=0);nt?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")},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)},"")},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,"");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},"");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=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;r0&&(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-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=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--);nu(!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{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;ri&&(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;rr.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n>>=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;p0&&(c===i&&(u+=o.decode(s),c=0),s[c++]=n),0!==f.length){r[0]=0;for(let e=0;ea&&(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>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=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;rt;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;py)return;const n=k(r,t),i=0===e?d:0,a=b[e];for(let e=0;e=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;na(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{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.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;i1&&(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;i0}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;it?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{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;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{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=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(//.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[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([^\]]*)]>)(.*?){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]/,/^[{}]$/,/&(#|[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 "&#;" or "&#x;" 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()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(en.$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;i0&&-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.offsetthis.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;il(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._index0)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;e0){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{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({""(){}}),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("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{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&&o0}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{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=[];++Le1)for(var r=1;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=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-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(;Z0&&"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(Le-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.position0&&("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-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=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],\[\]\\]|\/(?=\*)/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};U0?(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;r1?(""===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.position1&&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.position1&&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;s0&&(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=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=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;aLr,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:"",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"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=""),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"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=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;l0&&(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"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=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"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"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"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);r1&&(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=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;k0?(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;u0&&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{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);y0&&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=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=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({""(){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;se.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&&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+11&&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;r0){for(let e=0;e=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=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){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{};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:en(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=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"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=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&&oe[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&&o2&&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;n2&&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.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{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=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;aAe,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=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]=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;t1||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/^[$_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;al?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;se}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>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;l0;--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())r1&&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{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;a1&&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;a1?r-1:0),i=1;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;so(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||to);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=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||!(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()),d1||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;ee.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;r2&&""===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;n1?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"===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(""),i}function V(e,t){let r=e.getValue(),i=C(r),s=C(r,w.Line),a="JSXOpeningFragment"===r.type;return[a?"<":""]}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(;$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)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;s1&&(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_[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"]),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{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("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{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;n0?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;nt:-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{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=[""];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 ir(e)),"interfaces");for(let u=0;u"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{if("list"===e.type&&e.children.length>0){for(let t=0;t1)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["![",o.alt||"","](",oe(o.url,")"),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.index3&&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(/^$/);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 er?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+10&&(["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.linee.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&&e1&&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;n1&&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;ro(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=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(;s0;){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(;s0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=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{if(e.children)for(let i=0;i"cdata"===e.type),(e=>``))}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`+i.firstChild.value+``+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;n0&&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.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;ed(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*/.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"\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!--\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!--"}}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{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,"'")({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;io(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;i0===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(/^(? *)[^\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;iEs(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;rVanilla\n

\n Bare minimal javascript template\n
\n`;\n'},html:{title:"html",entryPoints:"index.html",monacoLanguage:"html",data:'
'},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:'
\n

Typescript

\n
Bare minimal Typescript template \ud83d\ude80
\n
\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
\n

Hello ReactTree

\n

You clicked {count} times!

\n\n \n \n
\n );\n}\n\nconst rootElement = document.getElementById("root");\nReactDOM.render(, 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:'
\n

Codetree

\n

'},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{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;rsetTimeout(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;rde=!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;w1&&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-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;dr=>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;nMath.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"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{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{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;ae[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(;ti||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=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&&en}function y(e){return void 0===r?n:void 0===n||Math.abs(r-e){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&&enull===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;if&&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;ye.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)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&&ei&&(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=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;l5)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 nt?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=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(;++nt?{...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)n.value),Ha(i.value)||(t=r+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{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=[];++c1)for(var r=1;r0){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;h1?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("")}(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["|",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="",e.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=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(;sthis.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=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;i0}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;t1)for(var n=new l,i=1;i-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;r0){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=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;o1&&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;a0===t?e:e.slice(r))).slice(null!==(t=n)&&void 0!==t?t:0,i+1)}function s(e){let t=0;for(;t1&&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;r0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=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=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);r1,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=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[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 \n \n Codetree \n \n \n \n
\n ').concat(b,'\n
\n