@illuma-ai/codeviz 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react/jsx-runtime"),S=require("react");function Pi(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,s=Array(t);r<t;r++)s[r]=e[r];return s}function X1(e){if(Array.isArray(e))return e}function Y1(e,t,r){return(t=rc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K1(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var s,i,o,c,u=[],h=!0,f=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(h=(s=o.call(r)).done)&&(u.push(s.value),u.length!==t);h=!0);}catch(m){f=!0,i=m}finally{try{if(!h&&r.return!=null&&(c=r.return(),Object(c)!==c))return}finally{if(f)throw i}}return u}}function Q1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ni(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,s)}return r}function Ri(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ni(Object(r),!0).forEach(function(s){Y1(e,s,r[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ni(Object(r)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(r,s))})}return e}function J1(e,t){if(e==null)return{};var r,s,i=Z1(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Z1(e,t){if(e==null)return{};var r={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)!==-1)continue;r[s]=e[s]}return r}function ec(e,t){return X1(e)||K1(e,t)||nc(e,t)||Q1()}function tc(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var s=r.call(e,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function rc(e){var t=tc(e,"string");return typeof t=="symbol"?t:t+""}function nc(e,t){if(e){if(typeof e=="string")return Pi(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pi(e,t):void 0}}function sc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Li(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,s)}return r}function Di(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Li(Object(r),!0).forEach(function(s){sc(e,s,r[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Li(Object(r)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(r,s))})}return e}function ic(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(s){return t.reduceRight(function(i,o){return o(i)},s)}}function $r(e){return function t(){for(var r=this,s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];return i.length>=e.length?e.apply(this,i):function(){for(var c=arguments.length,u=new Array(c),h=0;h<c;h++)u[h]=arguments[h];return t.apply(r,[].concat(i,u))}}}function _n(e){return{}.toString.call(e).includes("Object")}function ac(e){return!Object.keys(e).length}function Yr(e){return typeof e=="function"}function oc(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function cc(e,t){return _n(t)||$t("changeType"),Object.keys(t).some(function(r){return!oc(e,r)})&&$t("changeField"),t}function lc(e){Yr(e)||$t("selectorType")}function uc(e){Yr(e)||_n(e)||$t("handlerType"),_n(e)&&Object.values(e).some(function(t){return!Yr(t)})&&$t("handlersType")}function pc(e){e||$t("initialIsRequired"),_n(e)||$t("initialType"),ac(e)&&$t("initialContent")}function hc(e,t){throw new Error(e[t]||e.default)}var fc={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},$t=$r(hc)(fc),fn={changes:cc,selector:lc,handler:uc,initial:pc};function dc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};fn.initial(e),fn.handler(t);var r={current:e},s=$r(xc)(r,t),i=$r(gc)(r),o=$r(fn.changes)(e),c=$r(mc)(r);function u(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(m){return m};return fn.selector(f),f(r.current)}function h(f){ic(s,i,o,c)(f)}return[u,h]}function mc(e,t){return Yr(t)?t(e.current):t}function gc(e,t){return e.current=Di(Di({},e.current),t),t}function xc(e,t,r){return Yr(t)?t(e.current):Object.keys(r).forEach(function(s){var i;return(i=t[s])===null||i===void 0?void 0:i.call(t,e.current[s])}),r}var kc={create:dc},bc={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}};function yc(e){return function t(){for(var r=this,s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];return i.length>=e.length?e.apply(this,i):function(){for(var c=arguments.length,u=new Array(c),h=0;h<c;h++)u[h]=arguments[h];return t.apply(r,[].concat(i,u))}}}function vc(e){return{}.toString.call(e).includes("Object")}function wc(e){return e||Oi("configIsRequired"),vc(e)||Oi("configType"),e.urls?(_c(),{paths:{vs:e.urls.monacoBase}}):e}function _c(){console.warn(ha.deprecation)}function Sc(e,t){throw new Error(e[t]||e.default)}var ha={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react/jsx-runtime"),S=require("react");function Pi(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,s=Array(t);r<t;r++)s[r]=e[r];return s}function Xc(e){if(Array.isArray(e))return e}function Yc(e,t,r){return(t=r1(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var s,i,o,c,u=[],h=!0,f=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(h=(s=o.call(r)).done)&&(u.push(s.value),u.length!==t);h=!0);}catch(m){f=!0,i=m}finally{try{if(!h&&r.return!=null&&(c=r.return(),Object(c)!==c))return}finally{if(f)throw i}}return u}}function Qc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ni(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,s)}return r}function Ri(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ni(Object(r),!0).forEach(function(s){Yc(e,s,r[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ni(Object(r)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(r,s))})}return e}function Jc(e,t){if(e==null)return{};var r,s,i=Zc(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Zc(e,t){if(e==null)return{};var r={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)!==-1)continue;r[s]=e[s]}return r}function e1(e,t){return Xc(e)||Kc(e,t)||n1(e,t)||Qc()}function t1(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var s=r.call(e,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function r1(e){var t=t1(e,"string");return typeof t=="symbol"?t:t+""}function n1(e,t){if(e){if(typeof e=="string")return Pi(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pi(e,t):void 0}}function s1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Li(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,s)}return r}function Di(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Li(Object(r),!0).forEach(function(s){s1(e,s,r[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Li(Object(r)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(r,s))})}return e}function i1(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(s){return t.reduceRight(function(i,o){return o(i)},s)}}function $r(e){return function t(){for(var r=this,s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];return i.length>=e.length?e.apply(this,i):function(){for(var c=arguments.length,u=new Array(c),h=0;h<c;h++)u[h]=arguments[h];return t.apply(r,[].concat(i,u))}}}function _n(e){return{}.toString.call(e).includes("Object")}function a1(e){return!Object.keys(e).length}function Yr(e){return typeof e=="function"}function o1(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c1(e,t){return _n(t)||$t("changeType"),Object.keys(t).some(function(r){return!o1(e,r)})&&$t("changeField"),t}function l1(e){Yr(e)||$t("selectorType")}function u1(e){Yr(e)||_n(e)||$t("handlerType"),_n(e)&&Object.values(e).some(function(t){return!Yr(t)})&&$t("handlersType")}function p1(e){e||$t("initialIsRequired"),_n(e)||$t("initialType"),a1(e)&&$t("initialContent")}function h1(e,t){throw new Error(e[t]||e.default)}var f1={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},$t=$r(h1)(f1),fn={changes:c1,selector:l1,handler:u1,initial:p1};function d1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};fn.initial(e),fn.handler(t);var r={current:e},s=$r(x1)(r,t),i=$r(g1)(r),o=$r(fn.changes)(e),c=$r(m1)(r);function u(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(m){return m};return fn.selector(f),f(r.current)}function h(f){i1(s,i,o,c)(f)}return[u,h]}function m1(e,t){return Yr(t)?t(e.current):t}function g1(e,t){return e.current=Di(Di({},e.current),t),t}function x1(e,t,r){return Yr(t)?t(e.current):Object.keys(r).forEach(function(s){var i;return(i=t[s])===null||i===void 0?void 0:i.call(t,e.current[s])}),r}var k1={create:d1},b1={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}};function y1(e){return function t(){for(var r=this,s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];return i.length>=e.length?e.apply(this,i):function(){for(var c=arguments.length,u=new Array(c),h=0;h<c;h++)u[h]=arguments[h];return t.apply(r,[].concat(i,u))}}}function v1(e){return{}.toString.call(e).includes("Object")}function w1(e){return e||Oi("configIsRequired"),v1(e)||Oi("configType"),e.urls?(_1(),{paths:{vs:e.urls.monacoBase}}):e}function _1(){console.warn(ha.deprecation)}function S1(e,t){throw new Error(e[t]||e.default)}var ha={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
3
3
  You are using deprecated way of configuration.
4
4
 
5
5
  Instead of using
@@ -8,7 +8,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8
8
  monaco.config({ paths: { vs: '...' } })
9
9
 
10
10
  For more please check the link https://github.com/suren-atoyan/monaco-loader#config
11
- `},Oi=yc(Sc)(ha),Ic={config:wc},Ec=function(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return function(i){return r.reduceRight(function(o,c){return c(o)},i)}};function fa(e,t){return Object.keys(t).forEach(function(r){t[r]instanceof Object&&e[r]&&Object.assign(t[r],fa(e[r],t[r]))}),Ri(Ri({},e),t)}var Cc={type:"cancelation",msg:"operation is manually canceled"};function fs(e){var t=!1,r=new Promise(function(s,i){e.then(function(o){return t?i(Cc):s(o)}),e.catch(i)});return r.cancel=function(){return t=!0},r}var Tc=["monaco"],Ac=kc.create({config:bc,isInitialized:!1,resolve:null,reject:null,monaco:null}),da=ec(Ac,2),nn=da[0],Bn=da[1];function Pc(e){var t=Ic.config(e),r=t.monaco,s=J1(t,Tc);Bn(function(i){return{config:fa(i.config,s),monaco:r}})}function Nc(){var e=nn(function(t){var r=t.monaco,s=t.isInitialized,i=t.resolve;return{monaco:r,isInitialized:s,resolve:i}});if(!e.isInitialized){if(Bn({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),fs(ds);if(window.monaco&&window.monaco.editor)return ma(window.monaco),e.resolve(window.monaco),fs(ds);Ec(Rc,Dc)(Oc)}return fs(ds)}function Rc(e){return document.body.appendChild(e)}function Lc(e){var t=document.createElement("script");return e&&(t.src=e),t}function Dc(e){var t=nn(function(s){var i=s.config,o=s.reject;return{config:i,reject:o}}),r=Lc("".concat(t.config.paths.vs,"/loader.js"));return r.onload=function(){return e()},r.onerror=t.reject,r}function Oc(){var e=nn(function(r){var s=r.config,i=r.resolve,o=r.reject;return{config:s,resolve:i,reject:o}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(r){var s=r.m||r;ma(s),e.resolve(s)},function(r){e.reject(r)})}function ma(e){nn().monaco||Bn({monaco:e})}function Mc(){return nn(function(e){var t=e.monaco;return t})}var ds=new Promise(function(e,t){return Bn({resolve:e,reject:t})}),ga={config:Pc,init:Nc,__getMonacoInstance:Mc},jc={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},ms=jc,Fc={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},Bc=Fc;function Vc({children:e}){return S.createElement("div",{style:Bc.container},e)}var $c=Vc,qc=$c;function Uc({width:e,height:t,isEditorReady:r,loading:s,_ref:i,className:o,wrapperProps:c}){return S.createElement("section",{style:{...ms.wrapper,width:e,height:t},...c},!r&&S.createElement(qc,null,s),S.createElement("div",{ref:i,style:{...ms.fullWidth,...!r&&ms.hide},className:o}))}var zc=Uc,xa=S.memo(zc);function Hc(e){S.useEffect(e,[])}var ka=Hc;function Wc(e,t,r=!0){let s=S.useRef(!0);S.useEffect(s.current||!r?()=>{s.current=!1}:e,t)}var et=Wc;function Ur(){}function yr(e,t,r,s){return Gc(e,s)||Xc(e,t,r,s)}function Gc(e,t){return e.editor.getModel(ba(e,t))}function Xc(e,t,r,s){return e.editor.createModel(t,r,s?ba(e,s):void 0)}function ba(e,t){return e.Uri.parse(t)}function Yc({original:e,modified:t,language:r,originalLanguage:s,modifiedLanguage:i,originalModelPath:o,modifiedModelPath:c,keepCurrentOriginalModel:u=!1,keepCurrentModifiedModel:h=!1,theme:f="light",loading:m="Loading...",options:x={},height:_="100%",width:y="100%",className:L,wrapperProps:j={},beforeMount:F=Ur,onMount:ne=Ur}){let[P,M]=S.useState(!1),[O,U]=S.useState(!0),H=S.useRef(null),G=S.useRef(null),A=S.useRef(null),z=S.useRef(ne),B=S.useRef(F),ce=S.useRef(!1);ka(()=>{let W=ga.init();return W.then(oe=>(G.current=oe)&&U(!1)).catch(oe=>(oe==null?void 0:oe.type)!=="cancelation"&&console.error("Monaco initialization: error:",oe)),()=>H.current?Me():W.cancel()}),et(()=>{if(H.current&&G.current){let W=H.current.getOriginalEditor(),oe=yr(G.current,e||"",s||r||"text",o||"");oe!==W.getModel()&&W.setModel(oe)}},[o],P),et(()=>{if(H.current&&G.current){let W=H.current.getModifiedEditor(),oe=yr(G.current,t||"",i||r||"text",c||"");oe!==W.getModel()&&W.setModel(oe)}},[c],P),et(()=>{let W=H.current.getModifiedEditor();W.getOption(G.current.editor.EditorOption.readOnly)?W.setValue(t||""):t!==W.getValue()&&(W.executeEdits("",[{range:W.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),W.pushUndoStop())},[t],P),et(()=>{var W,oe;(oe=(W=H.current)==null?void 0:W.getModel())==null||oe.original.setValue(e||"")},[e],P),et(()=>{let{original:W,modified:oe}=H.current.getModel();G.current.editor.setModelLanguage(W,s||r||"text"),G.current.editor.setModelLanguage(oe,i||r||"text")},[r,s,i],P),et(()=>{var W;(W=G.current)==null||W.editor.setTheme(f)},[f],P),et(()=>{var W;(W=H.current)==null||W.updateOptions(x)},[x],P);let Le=S.useCallback(()=>{var Te;if(!G.current)return;B.current(G.current);let W=yr(G.current,e||"",s||r||"text",o||""),oe=yr(G.current,t||"",i||r||"text",c||"");(Te=H.current)==null||Te.setModel({original:W,modified:oe})},[r,t,i,e,s,o,c]),$e=S.useCallback(()=>{var W;!ce.current&&A.current&&(H.current=G.current.editor.createDiffEditor(A.current,{automaticLayout:!0,...x}),Le(),(W=G.current)==null||W.editor.setTheme(f),M(!0),ce.current=!0)},[x,f,Le]);S.useEffect(()=>{P&&z.current(H.current,G.current)},[P]),S.useEffect(()=>{!O&&!P&&$e()},[O,P,$e]);function Me(){var oe,Te,he,_e;let W=(oe=H.current)==null?void 0:oe.getModel();u||((Te=W==null?void 0:W.original)==null||Te.dispose()),h||((he=W==null?void 0:W.modified)==null||he.dispose()),(_e=H.current)==null||_e.dispose()}return S.createElement(xa,{width:y,height:_,isEditorReady:P,loading:m,_ref:A,className:L,wrapperProps:j})}var Kc=Yc;S.memo(Kc);function Qc(e){let t=S.useRef();return S.useEffect(()=>{t.current=e},[e]),t.current}var Jc=Qc,dn=new Map;function Zc({defaultValue:e,defaultLanguage:t,defaultPath:r,value:s,language:i,path:o,theme:c="light",line:u,loading:h="Loading...",options:f={},overrideServices:m={},saveViewState:x=!0,keepCurrentModel:_=!1,width:y="100%",height:L="100%",className:j,wrapperProps:F={},beforeMount:ne=Ur,onMount:P=Ur,onChange:M,onValidate:O=Ur}){let[U,H]=S.useState(!1),[G,A]=S.useState(!0),z=S.useRef(null),B=S.useRef(null),ce=S.useRef(null),Le=S.useRef(P),$e=S.useRef(ne),Me=S.useRef(),W=S.useRef(s),oe=Jc(o),Te=S.useRef(!1),he=S.useRef(!1);ka(()=>{let Z=ga.init();return Z.then(ae=>(z.current=ae)&&A(!1)).catch(ae=>(ae==null?void 0:ae.type)!=="cancelation"&&console.error("Monaco initialization: error:",ae)),()=>B.current?be():Z.cancel()}),et(()=>{var ae,de,ze,b;let Z=yr(z.current,e||s||"",t||i||"",o||r||"");Z!==((ae=B.current)==null?void 0:ae.getModel())&&(x&&dn.set(oe,(de=B.current)==null?void 0:de.saveViewState()),(ze=B.current)==null||ze.setModel(Z),x&&((b=B.current)==null||b.restoreViewState(dn.get(o))))},[o],U),et(()=>{var Z;(Z=B.current)==null||Z.updateOptions(f)},[f],U),et(()=>{!B.current||s===void 0||(B.current.getOption(z.current.editor.EditorOption.readOnly)?B.current.setValue(s):s!==B.current.getValue()&&(he.current=!0,B.current.executeEdits("",[{range:B.current.getModel().getFullModelRange(),text:s,forceMoveMarkers:!0}]),B.current.pushUndoStop(),he.current=!1))},[s],U),et(()=>{var ae,de;let Z=(ae=B.current)==null?void 0:ae.getModel();Z&&i&&((de=z.current)==null||de.editor.setModelLanguage(Z,i))},[i],U),et(()=>{var Z;u!==void 0&&((Z=B.current)==null||Z.revealLine(u))},[u],U),et(()=>{var Z;(Z=z.current)==null||Z.editor.setTheme(c)},[c],U);let _e=S.useCallback(()=>{var Z;if(!(!ce.current||!z.current)&&!Te.current){$e.current(z.current);let ae=o||r,de=yr(z.current,s||e||"",t||i||"",ae||"");B.current=(Z=z.current)==null?void 0:Z.editor.create(ce.current,{model:de,automaticLayout:!0,...f},m),x&&B.current.restoreViewState(dn.get(ae)),z.current.editor.setTheme(c),u!==void 0&&B.current.revealLine(u),H(!0),Te.current=!0}},[e,t,r,s,i,o,f,m,x,c,u]);S.useEffect(()=>{U&&Le.current(B.current,z.current)},[U]),S.useEffect(()=>{!G&&!U&&_e()},[G,U,_e]),W.current=s,S.useEffect(()=>{var Z,ae;U&&M&&((Z=Me.current)==null||Z.dispose(),Me.current=(ae=B.current)==null?void 0:ae.onDidChangeModelContent(de=>{he.current||M(B.current.getValue(),de)}))},[U,M]),S.useEffect(()=>{if(U){let Z=z.current.editor.onDidChangeMarkers(ae=>{var ze;let de=(ze=B.current.getModel())==null?void 0:ze.uri;if(de&&ae.find(b=>b.path===de.path)){let b=z.current.editor.getModelMarkers({resource:de});O==null||O(b)}});return()=>{Z==null||Z.dispose()}}return()=>{}},[U,O]);function be(){var Z,ae;(Z=Me.current)==null||Z.dispose(),_?x&&dn.set(o,B.current.saveViewState()):(ae=B.current.getModel())==null||ae.dispose(),B.current.dispose()}return S.createElement(xa,{width:y,height:L,isEditorReady:U,loading:h,_ref:ce,className:j,wrapperProps:F})}var el=Zc,tl=S.memo(el),rl=tl;const Hs=S.memo(function({size:t="md",label:r="Loading preview..."}){const s=t==="sm"?8:t==="md"?12:16,i=t==="sm"?4:t==="md"?6:8;return E.jsxs("div",{style:mn.container,children:[E.jsx("div",{style:{...mn.cubes,gap:i},children:[0,1,2].map(o=>E.jsx("div",{style:{...mn.cube,width:s,height:s,animationDelay:`${o*.15}s`}},o))}),r&&E.jsx("div",{style:mn.label,children:r}),E.jsx("style",{children:nl})]})}),nl=`
11
+ `},Oi=y1(S1)(ha),I1={config:w1},E1=function(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return function(i){return r.reduceRight(function(o,c){return c(o)},i)}};function fa(e,t){return Object.keys(t).forEach(function(r){t[r]instanceof Object&&e[r]&&Object.assign(t[r],fa(e[r],t[r]))}),Ri(Ri({},e),t)}var C1={type:"cancelation",msg:"operation is manually canceled"};function fs(e){var t=!1,r=new Promise(function(s,i){e.then(function(o){return t?i(C1):s(o)}),e.catch(i)});return r.cancel=function(){return t=!0},r}var T1=["monaco"],A1=k1.create({config:b1,isInitialized:!1,resolve:null,reject:null,monaco:null}),da=e1(A1,2),nn=da[0],Bn=da[1];function P1(e){var t=I1.config(e),r=t.monaco,s=Jc(t,T1);Bn(function(i){return{config:fa(i.config,s),monaco:r}})}function N1(){var e=nn(function(t){var r=t.monaco,s=t.isInitialized,i=t.resolve;return{monaco:r,isInitialized:s,resolve:i}});if(!e.isInitialized){if(Bn({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),fs(ds);if(window.monaco&&window.monaco.editor)return ma(window.monaco),e.resolve(window.monaco),fs(ds);E1(R1,D1)(O1)}return fs(ds)}function R1(e){return document.body.appendChild(e)}function L1(e){var t=document.createElement("script");return e&&(t.src=e),t}function D1(e){var t=nn(function(s){var i=s.config,o=s.reject;return{config:i,reject:o}}),r=L1("".concat(t.config.paths.vs,"/loader.js"));return r.onload=function(){return e()},r.onerror=t.reject,r}function O1(){var e=nn(function(r){var s=r.config,i=r.resolve,o=r.reject;return{config:s,resolve:i,reject:o}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(r){var s=r.m||r;ma(s),e.resolve(s)},function(r){e.reject(r)})}function ma(e){nn().monaco||Bn({monaco:e})}function M1(){return nn(function(e){var t=e.monaco;return t})}var ds=new Promise(function(e,t){return Bn({resolve:e,reject:t})}),ga={config:P1,init:N1,__getMonacoInstance:M1},j1={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},ms=j1,F1={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},B1=F1;function V1({children:e}){return S.createElement("div",{style:B1.container},e)}var $1=V1,q1=$1;function U1({width:e,height:t,isEditorReady:r,loading:s,_ref:i,className:o,wrapperProps:c}){return S.createElement("section",{style:{...ms.wrapper,width:e,height:t},...c},!r&&S.createElement(q1,null,s),S.createElement("div",{ref:i,style:{...ms.fullWidth,...!r&&ms.hide},className:o}))}var z1=U1,xa=S.memo(z1);function H1(e){S.useEffect(e,[])}var ka=H1;function W1(e,t,r=!0){let s=S.useRef(!0);S.useEffect(s.current||!r?()=>{s.current=!1}:e,t)}var et=W1;function Ur(){}function yr(e,t,r,s){return G1(e,s)||X1(e,t,r,s)}function G1(e,t){return e.editor.getModel(ba(e,t))}function X1(e,t,r,s){return e.editor.createModel(t,r,s?ba(e,s):void 0)}function ba(e,t){return e.Uri.parse(t)}function Y1({original:e,modified:t,language:r,originalLanguage:s,modifiedLanguage:i,originalModelPath:o,modifiedModelPath:c,keepCurrentOriginalModel:u=!1,keepCurrentModifiedModel:h=!1,theme:f="light",loading:m="Loading...",options:x={},height:_="100%",width:y="100%",className:L,wrapperProps:j={},beforeMount:F=Ur,onMount:ne=Ur}){let[P,M]=S.useState(!1),[O,U]=S.useState(!0),H=S.useRef(null),G=S.useRef(null),A=S.useRef(null),z=S.useRef(ne),B=S.useRef(F),ce=S.useRef(!1);ka(()=>{let W=ga.init();return W.then(oe=>(G.current=oe)&&U(!1)).catch(oe=>(oe==null?void 0:oe.type)!=="cancelation"&&console.error("Monaco initialization: error:",oe)),()=>H.current?Me():W.cancel()}),et(()=>{if(H.current&&G.current){let W=H.current.getOriginalEditor(),oe=yr(G.current,e||"",s||r||"text",o||"");oe!==W.getModel()&&W.setModel(oe)}},[o],P),et(()=>{if(H.current&&G.current){let W=H.current.getModifiedEditor(),oe=yr(G.current,t||"",i||r||"text",c||"");oe!==W.getModel()&&W.setModel(oe)}},[c],P),et(()=>{let W=H.current.getModifiedEditor();W.getOption(G.current.editor.EditorOption.readOnly)?W.setValue(t||""):t!==W.getValue()&&(W.executeEdits("",[{range:W.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),W.pushUndoStop())},[t],P),et(()=>{var W,oe;(oe=(W=H.current)==null?void 0:W.getModel())==null||oe.original.setValue(e||"")},[e],P),et(()=>{let{original:W,modified:oe}=H.current.getModel();G.current.editor.setModelLanguage(W,s||r||"text"),G.current.editor.setModelLanguage(oe,i||r||"text")},[r,s,i],P),et(()=>{var W;(W=G.current)==null||W.editor.setTheme(f)},[f],P),et(()=>{var W;(W=H.current)==null||W.updateOptions(x)},[x],P);let Le=S.useCallback(()=>{var Te;if(!G.current)return;B.current(G.current);let W=yr(G.current,e||"",s||r||"text",o||""),oe=yr(G.current,t||"",i||r||"text",c||"");(Te=H.current)==null||Te.setModel({original:W,modified:oe})},[r,t,i,e,s,o,c]),$e=S.useCallback(()=>{var W;!ce.current&&A.current&&(H.current=G.current.editor.createDiffEditor(A.current,{automaticLayout:!0,...x}),Le(),(W=G.current)==null||W.editor.setTheme(f),M(!0),ce.current=!0)},[x,f,Le]);S.useEffect(()=>{P&&z.current(H.current,G.current)},[P]),S.useEffect(()=>{!O&&!P&&$e()},[O,P,$e]);function Me(){var oe,Te,he,_e;let W=(oe=H.current)==null?void 0:oe.getModel();u||((Te=W==null?void 0:W.original)==null||Te.dispose()),h||((he=W==null?void 0:W.modified)==null||he.dispose()),(_e=H.current)==null||_e.dispose()}return S.createElement(xa,{width:y,height:_,isEditorReady:P,loading:m,_ref:A,className:L,wrapperProps:j})}var K1=Y1;S.memo(K1);function Q1(e){let t=S.useRef();return S.useEffect(()=>{t.current=e},[e]),t.current}var J1=Q1,dn=new Map;function Z1({defaultValue:e,defaultLanguage:t,defaultPath:r,value:s,language:i,path:o,theme:c="light",line:u,loading:h="Loading...",options:f={},overrideServices:m={},saveViewState:x=!0,keepCurrentModel:_=!1,width:y="100%",height:L="100%",className:j,wrapperProps:F={},beforeMount:ne=Ur,onMount:P=Ur,onChange:M,onValidate:O=Ur}){let[U,H]=S.useState(!1),[G,A]=S.useState(!0),z=S.useRef(null),B=S.useRef(null),ce=S.useRef(null),Le=S.useRef(P),$e=S.useRef(ne),Me=S.useRef(),W=S.useRef(s),oe=J1(o),Te=S.useRef(!1),he=S.useRef(!1);ka(()=>{let Z=ga.init();return Z.then(ae=>(z.current=ae)&&A(!1)).catch(ae=>(ae==null?void 0:ae.type)!=="cancelation"&&console.error("Monaco initialization: error:",ae)),()=>B.current?be():Z.cancel()}),et(()=>{var ae,de,ze,b;let Z=yr(z.current,e||s||"",t||i||"",o||r||"");Z!==((ae=B.current)==null?void 0:ae.getModel())&&(x&&dn.set(oe,(de=B.current)==null?void 0:de.saveViewState()),(ze=B.current)==null||ze.setModel(Z),x&&((b=B.current)==null||b.restoreViewState(dn.get(o))))},[o],U),et(()=>{var Z;(Z=B.current)==null||Z.updateOptions(f)},[f],U),et(()=>{!B.current||s===void 0||(B.current.getOption(z.current.editor.EditorOption.readOnly)?B.current.setValue(s):s!==B.current.getValue()&&(he.current=!0,B.current.executeEdits("",[{range:B.current.getModel().getFullModelRange(),text:s,forceMoveMarkers:!0}]),B.current.pushUndoStop(),he.current=!1))},[s],U),et(()=>{var ae,de;let Z=(ae=B.current)==null?void 0:ae.getModel();Z&&i&&((de=z.current)==null||de.editor.setModelLanguage(Z,i))},[i],U),et(()=>{var Z;u!==void 0&&((Z=B.current)==null||Z.revealLine(u))},[u],U),et(()=>{var Z;(Z=z.current)==null||Z.editor.setTheme(c)},[c],U);let _e=S.useCallback(()=>{var Z;if(!(!ce.current||!z.current)&&!Te.current){$e.current(z.current);let ae=o||r,de=yr(z.current,s||e||"",t||i||"",ae||"");B.current=(Z=z.current)==null?void 0:Z.editor.create(ce.current,{model:de,automaticLayout:!0,...f},m),x&&B.current.restoreViewState(dn.get(ae)),z.current.editor.setTheme(c),u!==void 0&&B.current.revealLine(u),H(!0),Te.current=!0}},[e,t,r,s,i,o,f,m,x,c,u]);S.useEffect(()=>{U&&Le.current(B.current,z.current)},[U]),S.useEffect(()=>{!G&&!U&&_e()},[G,U,_e]),W.current=s,S.useEffect(()=>{var Z,ae;U&&M&&((Z=Me.current)==null||Z.dispose(),Me.current=(ae=B.current)==null?void 0:ae.onDidChangeModelContent(de=>{he.current||M(B.current.getValue(),de)}))},[U,M]),S.useEffect(()=>{if(U){let Z=z.current.editor.onDidChangeMarkers(ae=>{var ze;let de=(ze=B.current.getModel())==null?void 0:ze.uri;if(de&&ae.find(b=>b.path===de.path)){let b=z.current.editor.getModelMarkers({resource:de});O==null||O(b)}});return()=>{Z==null||Z.dispose()}}return()=>{}},[U,O]);function be(){var Z,ae;(Z=Me.current)==null||Z.dispose(),_?x&&dn.set(o,B.current.saveViewState()):(ae=B.current.getModel())==null||ae.dispose(),B.current.dispose()}return S.createElement(xa,{width:y,height:L,isEditorReady:U,loading:h,_ref:ce,className:j,wrapperProps:F})}var el=Z1,tl=S.memo(el),rl=tl;const Hs=S.memo(function({size:t="md",label:r="Loading preview..."}){const s=t==="sm"?8:t==="md"?12:16,i=t==="sm"?4:t==="md"?6:8;return E.jsxs("div",{style:mn.container,children:[E.jsx("div",{style:{...mn.cubes,gap:i},children:[0,1,2].map(o=>E.jsx("div",{style:{...mn.cube,width:s,height:s,animationDelay:`${o*.15}s`}},o))}),r&&E.jsx("div",{style:mn.label,children:r}),E.jsx("style",{children:nl})]})}),nl=`
12
12
  @keyframes codevizBounce {
13
13
  0%, 80%, 100% {
14
14
  transform: scale(0.6);
@@ -53,7 +53,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
53
53
  border-left: 3px solid #ef4444 !important;
54
54
  margin-left: 3px;
55
55
  }
56
- `,document.head.appendChild(e)}function al(e){return{tsx:"typescript",ts:"typescript",jsx:"javascript",js:"javascript",html:"html",css:"css",json:"json",md:"markdown",markdown:"markdown",mermaid:"markdown",mmd:"markdown",svg:"xml",csv:"plaintext",tsv:"plaintext",dot:"plaintext",gv:"plaintext",latex:"plaintext",tex:"plaintext",architecture:"xml",arch:"xml",drawio:"xml"}[e]||e}const ol={container:{width:"100%",height:"100%",overflow:"hidden"}};var d;(function(e){e[e.NONE=0]="NONE";const r=1;e[e._abstract=r]="_abstract";const s=r+1;e[e._accessor=s]="_accessor";const i=s+1;e[e._as=i]="_as";const o=i+1;e[e._assert=o]="_assert";const c=o+1;e[e._asserts=c]="_asserts";const u=c+1;e[e._async=u]="_async";const h=u+1;e[e._await=h]="_await";const f=h+1;e[e._checks=f]="_checks";const m=f+1;e[e._constructor=m]="_constructor";const x=m+1;e[e._declare=x]="_declare";const _=x+1;e[e._enum=_]="_enum";const y=_+1;e[e._exports=y]="_exports";const L=y+1;e[e._from=L]="_from";const j=L+1;e[e._get=j]="_get";const F=j+1;e[e._global=F]="_global";const ne=F+1;e[e._implements=ne]="_implements";const P=ne+1;e[e._infer=P]="_infer";const M=P+1;e[e._interface=M]="_interface";const O=M+1;e[e._is=O]="_is";const U=O+1;e[e._keyof=U]="_keyof";const H=U+1;e[e._mixins=H]="_mixins";const G=H+1;e[e._module=G]="_module";const A=G+1;e[e._namespace=A]="_namespace";const z=A+1;e[e._of=z]="_of";const B=z+1;e[e._opaque=B]="_opaque";const ce=B+1;e[e._out=ce]="_out";const Le=ce+1;e[e._override=Le]="_override";const $e=Le+1;e[e._private=$e]="_private";const Me=$e+1;e[e._protected=Me]="_protected";const W=Me+1;e[e._proto=W]="_proto";const oe=W+1;e[e._public=oe]="_public";const Te=oe+1;e[e._readonly=Te]="_readonly";const he=Te+1;e[e._require=he]="_require";const _e=he+1;e[e._satisfies=_e]="_satisfies";const be=_e+1;e[e._set=be]="_set";const Z=be+1;e[e._static=Z]="_static";const ae=Z+1;e[e._symbol=ae]="_symbol";const de=ae+1;e[e._type=de]="_type";const ze=de+1;e[e._unique=ze]="_unique";const b=ze+1;e[e._using=b]="_using"})(d||(d={}));var n;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";const r=16;e[e.IS_KEYWORD=r]="IS_KEYWORD";const s=32;e[e.IS_ASSIGN=s]="IS_ASSIGN";const i=64;e[e.IS_RIGHT_ASSOCIATIVE=i]="IS_RIGHT_ASSOCIATIVE";const o=128;e[e.IS_PREFIX=o]="IS_PREFIX";const c=256;e[e.IS_POSTFIX=c]="IS_POSTFIX";const u=512;e[e.IS_EXPRESSION_START=u]="IS_EXPRESSION_START";const h=512;e[e.num=h]="num";const f=1536;e[e.bigint=f]="bigint";const m=2560;e[e.decimal=m]="decimal";const x=3584;e[e.regexp=x]="regexp";const _=4608;e[e.string=_]="string";const y=5632;e[e.name=y]="name";const L=6144;e[e.eof=L]="eof";const j=7680;e[e.bracketL=j]="bracketL";const F=8192;e[e.bracketR=F]="bracketR";const ne=9728;e[e.braceL=ne]="braceL";const P=10752;e[e.braceBarL=P]="braceBarL";const M=11264;e[e.braceR=M]="braceR";const O=12288;e[e.braceBarR=O]="braceBarR";const U=13824;e[e.parenL=U]="parenL";const H=14336;e[e.parenR=H]="parenR";const G=15360;e[e.comma=G]="comma";const A=16384;e[e.semi=A]="semi";const z=17408;e[e.colon=z]="colon";const B=18432;e[e.doubleColon=B]="doubleColon";const ce=19456;e[e.dot=ce]="dot";const Le=20480;e[e.question=Le]="question";const $e=21504;e[e.questionDot=$e]="questionDot";const Me=22528;e[e.arrow=Me]="arrow";const W=23552;e[e.template=W]="template";const oe=24576;e[e.ellipsis=oe]="ellipsis";const Te=25600;e[e.backQuote=Te]="backQuote";const he=27136;e[e.dollarBraceL=he]="dollarBraceL";const _e=27648;e[e.at=_e]="at";const be=29184;e[e.hash=be]="hash";const Z=29728;e[e.eq=Z]="eq";const ae=30752;e[e.assign=ae]="assign";const de=32640;e[e.preIncDec=de]="preIncDec";const ze=33664;e[e.postIncDec=ze]="postIncDec";const b=34432;e[e.bang=b]="bang";const I=35456;e[e.tilde=I]="tilde";const T=35841;e[e.pipeline=T]="pipeline";const C=36866;e[e.nullishCoalescing=C]="nullishCoalescing";const D=37890;e[e.logicalOR=D]="logicalOR";const Y=38915;e[e.logicalAND=Y]="logicalAND";const Q=39940;e[e.bitwiseOR=Q]="bitwiseOR";const le=40965;e[e.bitwiseXOR=le]="bitwiseXOR";const ve=41990;e[e.bitwiseAND=ve]="bitwiseAND";const me=43015;e[e.equality=me]="equality";const je=44040;e[e.lessThan=je]="lessThan";const we=45064;e[e.greaterThan=we]="greaterThan";const Ie=46088;e[e.relationalOrEqual=Ie]="relationalOrEqual";const Ee=47113;e[e.bitShiftL=Ee]="bitShiftL";const De=48137;e[e.bitShiftR=De]="bitShiftR";const At=49802;e[e.plus=At]="plus";const gt=50826;e[e.minus=gt]="minus";const xt=51723;e[e.modulo=xt]="modulo";const Tr=52235;e[e.star=Tr]="star";const lr=53259;e[e.slash=lr]="slash";const ur=54348;e[e.exponent=ur]="exponent";const pr=55296;e[e.jsxName=pr]="jsxName";const lt=56320;e[e.jsxText=lt]="jsxText";const Fe=57344;e[e.jsxEmptyText=Fe]="jsxEmptyText";const Pt=58880;e[e.jsxTagStart=Pt]="jsxTagStart";const Ze=59392;e[e.jsxTagEnd=Ze]="jsxTagEnd";const hr=60928;e[e.typeParameterStart=hr]="typeParameterStart";const Mt=61440;e[e.nonNullAssertion=Mt]="nonNullAssertion";const jt=62480;e[e._break=jt]="_break";const Ar=63504;e[e._case=Ar]="_case";const Ft=64528;e[e._catch=Ft]="_catch";const Pr=65552;e[e._continue=Pr]="_continue";const fr=66576;e[e._debugger=fr]="_debugger";const dr=67600;e[e._default=dr]="_default";const mr=68624;e[e._do=mr]="_do";const Nr=69648;e[e._else=Nr]="_else";const Rr=70672;e[e._finally=Rr]="_finally";const Lr=71696;e[e._for=Lr]="_for";const Xt=73232;e[e._function=Xt]="_function";const gr=73744;e[e._if=gr]="_if";const kt=74768;e[e._return=kt]="_return";const Dr=75792;e[e._switch=Dr]="_switch";const Or=77456;e[e._throw=Or]="_throw";const Mr=77840;e[e._try=Mr]="_try";const Yt=78864;e[e._var=Yt]="_var";const jr=79888;e[e._let=jr]="_let";const Fr=80912;e[e._const=Fr]="_const";const K=81936;e[e._while=K]="_while";const Ae=82960;e[e._with=Ae]="_with";const Se=84496;e[e._new=Se]="_new";const ut=85520;e[e._this=ut]="_this";const bt=86544;e[e._super=bt]="_super";const xr=87568;e[e._class=xr]="_class";const Nt=88080;e[e._extends=Nt]="_extends";const ns=89104;e[e._export=ns]="_export";const ss=90640;e[e._import=ss]="_import";const is=91664;e[e._yield=is]="_yield";const as=92688;e[e._null=as]="_null";const os=93712;e[e._true=os]="_true";const cs=94736;e[e._false=cs]="_false";const ls=95256;e[e._in=ls]="_in";const us=96280;e[e._instanceof=us]="_instanceof";const ps=97936;e[e._typeof=ps]="_typeof";const hs=98960;e[e._void=hs]="_void";const R1=99984;e[e._delete=R1]="_delete";const L1=100880;e[e._async=L1]="_async";const D1=101904;e[e._get=D1]="_get";const O1=102928;e[e._set=O1]="_set";const M1=103952;e[e._declare=M1]="_declare";const j1=104976;e[e._readonly=j1]="_readonly";const F1=106e3;e[e._abstract=F1]="_abstract";const B1=107024;e[e._static=B1]="_static";const V1=107536;e[e._public=V1]="_public";const $1=108560;e[e._private=$1]="_private";const q1=109584;e[e._protected=q1]="_protected";const U1=110608;e[e._override=U1]="_override";const z1=112144;e[e._as=z1]="_as";const H1=113168;e[e._enum=H1]="_enum";const W1=114192;e[e._type=W1]="_type";const G1=115216;e[e._implements=G1]="_implements"})(n||(n={}));function cl(e){switch(e){case n.num:return"num";case n.bigint:return"bigint";case n.decimal:return"decimal";case n.regexp:return"regexp";case n.string:return"string";case n.name:return"name";case n.eof:return"eof";case n.bracketL:return"[";case n.bracketR:return"]";case n.braceL:return"{";case n.braceBarL:return"{|";case n.braceR:return"}";case n.braceBarR:return"|}";case n.parenL:return"(";case n.parenR:return")";case n.comma:return",";case n.semi:return";";case n.colon:return":";case n.doubleColon:return"::";case n.dot:return".";case n.question:return"?";case n.questionDot:return"?.";case n.arrow:return"=>";case n.template:return"template";case n.ellipsis:return"...";case n.backQuote:return"`";case n.dollarBraceL:return"${";case n.at:return"@";case n.hash:return"#";case n.eq:return"=";case n.assign:return"_=";case n.preIncDec:return"++/--";case n.postIncDec:return"++/--";case n.bang:return"!";case n.tilde:return"~";case n.pipeline:return"|>";case n.nullishCoalescing:return"??";case n.logicalOR:return"||";case n.logicalAND:return"&&";case n.bitwiseOR:return"|";case n.bitwiseXOR:return"^";case n.bitwiseAND:return"&";case n.equality:return"==/!=";case n.lessThan:return"<";case n.greaterThan:return">";case n.relationalOrEqual:return"<=/>=";case n.bitShiftL:return"<<";case n.bitShiftR:return">>/>>>";case n.plus:return"+";case n.minus:return"-";case n.modulo:return"%";case n.star:return"*";case n.slash:return"/";case n.exponent:return"**";case n.jsxName:return"jsxName";case n.jsxText:return"jsxText";case n.jsxEmptyText:return"jsxEmptyText";case n.jsxTagStart:return"jsxTagStart";case n.jsxTagEnd:return"jsxTagEnd";case n.typeParameterStart:return"typeParameterStart";case n.nonNullAssertion:return"nonNullAssertion";case n._break:return"break";case n._case:return"case";case n._catch:return"catch";case n._continue:return"continue";case n._debugger:return"debugger";case n._default:return"default";case n._do:return"do";case n._else:return"else";case n._finally:return"finally";case n._for:return"for";case n._function:return"function";case n._if:return"if";case n._return:return"return";case n._switch:return"switch";case n._throw:return"throw";case n._try:return"try";case n._var:return"var";case n._let:return"let";case n._const:return"const";case n._while:return"while";case n._with:return"with";case n._new:return"new";case n._this:return"this";case n._super:return"super";case n._class:return"class";case n._extends:return"extends";case n._export:return"export";case n._import:return"import";case n._yield:return"yield";case n._null:return"null";case n._true:return"true";case n._false:return"false";case n._in:return"in";case n._instanceof:return"instanceof";case n._typeof:return"typeof";case n._void:return"void";case n._delete:return"delete";case n._async:return"async";case n._get:return"get";case n._set:return"set";case n._declare:return"declare";case n._readonly:return"readonly";case n._abstract:return"abstract";case n._static:return"static";case n._public:return"public";case n._private:return"private";case n._protected:return"protected";case n._override:return"override";case n._as:return"as";case n._enum:return"enum";case n._type:return"type";case n._implements:return"implements";default:return""}}let St=class{constructor(t,r,s){this.startTokenIndex=t,this.endTokenIndex=r,this.isFunctionScope=s}};class ll{constructor(t,r,s,i,o,c,u,h,f,m,x,_,y){this.potentialArrowAt=t,this.noAnonFunctionType=r,this.inDisallowConditionalTypesContext=s,this.tokensLength=i,this.scopesLength=o,this.pos=c,this.type=u,this.contextualKeyword=h,this.start=f,this.end=m,this.isType=x,this.scopeDepth=_,this.error=y}}class We{constructor(){We.prototype.__init.call(this),We.prototype.__init2.call(this),We.prototype.__init3.call(this),We.prototype.__init4.call(this),We.prototype.__init5.call(this),We.prototype.__init6.call(this),We.prototype.__init7.call(this),We.prototype.__init8.call(this),We.prototype.__init9.call(this),We.prototype.__init10.call(this),We.prototype.__init11.call(this),We.prototype.__init12.call(this),We.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=n.eof}__init8(){this.contextualKeyword=d.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new ll(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}}var g;(function(e){e[e.backSpace=8]="backSpace";const r=10;e[e.lineFeed=r]="lineFeed";const s=9;e[e.tab=s]="tab";const i=13;e[e.carriageReturn=i]="carriageReturn";const o=14;e[e.shiftOut=o]="shiftOut";const c=32;e[e.space=c]="space";const u=33;e[e.exclamationMark=u]="exclamationMark";const h=34;e[e.quotationMark=h]="quotationMark";const f=35;e[e.numberSign=f]="numberSign";const m=36;e[e.dollarSign=m]="dollarSign";const x=37;e[e.percentSign=x]="percentSign";const _=38;e[e.ampersand=_]="ampersand";const y=39;e[e.apostrophe=y]="apostrophe";const L=40;e[e.leftParenthesis=L]="leftParenthesis";const j=41;e[e.rightParenthesis=j]="rightParenthesis";const F=42;e[e.asterisk=F]="asterisk";const ne=43;e[e.plusSign=ne]="plusSign";const P=44;e[e.comma=P]="comma";const M=45;e[e.dash=M]="dash";const O=46;e[e.dot=O]="dot";const U=47;e[e.slash=U]="slash";const H=48;e[e.digit0=H]="digit0";const G=49;e[e.digit1=G]="digit1";const A=50;e[e.digit2=A]="digit2";const z=51;e[e.digit3=z]="digit3";const B=52;e[e.digit4=B]="digit4";const ce=53;e[e.digit5=ce]="digit5";const Le=54;e[e.digit6=Le]="digit6";const $e=55;e[e.digit7=$e]="digit7";const Me=56;e[e.digit8=Me]="digit8";const W=57;e[e.digit9=W]="digit9";const oe=58;e[e.colon=oe]="colon";const Te=59;e[e.semicolon=Te]="semicolon";const he=60;e[e.lessThan=he]="lessThan";const _e=61;e[e.equalsTo=_e]="equalsTo";const be=62;e[e.greaterThan=be]="greaterThan";const Z=63;e[e.questionMark=Z]="questionMark";const ae=64;e[e.atSign=ae]="atSign";const de=65;e[e.uppercaseA=de]="uppercaseA";const ze=66;e[e.uppercaseB=ze]="uppercaseB";const b=67;e[e.uppercaseC=b]="uppercaseC";const I=68;e[e.uppercaseD=I]="uppercaseD";const T=69;e[e.uppercaseE=T]="uppercaseE";const C=70;e[e.uppercaseF=C]="uppercaseF";const D=71;e[e.uppercaseG=D]="uppercaseG";const Y=72;e[e.uppercaseH=Y]="uppercaseH";const Q=73;e[e.uppercaseI=Q]="uppercaseI";const le=74;e[e.uppercaseJ=le]="uppercaseJ";const ve=75;e[e.uppercaseK=ve]="uppercaseK";const me=76;e[e.uppercaseL=me]="uppercaseL";const je=77;e[e.uppercaseM=je]="uppercaseM";const we=78;e[e.uppercaseN=we]="uppercaseN";const Ie=79;e[e.uppercaseO=Ie]="uppercaseO";const Ee=80;e[e.uppercaseP=Ee]="uppercaseP";const De=81;e[e.uppercaseQ=De]="uppercaseQ";const At=82;e[e.uppercaseR=At]="uppercaseR";const gt=83;e[e.uppercaseS=gt]="uppercaseS";const xt=84;e[e.uppercaseT=xt]="uppercaseT";const Tr=85;e[e.uppercaseU=Tr]="uppercaseU";const lr=86;e[e.uppercaseV=lr]="uppercaseV";const ur=87;e[e.uppercaseW=ur]="uppercaseW";const pr=88;e[e.uppercaseX=pr]="uppercaseX";const lt=89;e[e.uppercaseY=lt]="uppercaseY";const Fe=90;e[e.uppercaseZ=Fe]="uppercaseZ";const Pt=91;e[e.leftSquareBracket=Pt]="leftSquareBracket";const Ze=92;e[e.backslash=Ze]="backslash";const hr=93;e[e.rightSquareBracket=hr]="rightSquareBracket";const Mt=94;e[e.caret=Mt]="caret";const jt=95;e[e.underscore=jt]="underscore";const Ar=96;e[e.graveAccent=Ar]="graveAccent";const Ft=97;e[e.lowercaseA=Ft]="lowercaseA";const Pr=98;e[e.lowercaseB=Pr]="lowercaseB";const fr=99;e[e.lowercaseC=fr]="lowercaseC";const dr=100;e[e.lowercaseD=dr]="lowercaseD";const mr=101;e[e.lowercaseE=mr]="lowercaseE";const Nr=102;e[e.lowercaseF=Nr]="lowercaseF";const Rr=103;e[e.lowercaseG=Rr]="lowercaseG";const Lr=104;e[e.lowercaseH=Lr]="lowercaseH";const Xt=105;e[e.lowercaseI=Xt]="lowercaseI";const gr=106;e[e.lowercaseJ=gr]="lowercaseJ";const kt=107;e[e.lowercaseK=kt]="lowercaseK";const Dr=108;e[e.lowercaseL=Dr]="lowercaseL";const Or=109;e[e.lowercaseM=Or]="lowercaseM";const Mr=110;e[e.lowercaseN=Mr]="lowercaseN";const Yt=111;e[e.lowercaseO=Yt]="lowercaseO";const jr=112;e[e.lowercaseP=jr]="lowercaseP";const Fr=113;e[e.lowercaseQ=Fr]="lowercaseQ";const K=114;e[e.lowercaseR=K]="lowercaseR";const Ae=115;e[e.lowercaseS=Ae]="lowercaseS";const Se=116;e[e.lowercaseT=Se]="lowercaseT";const ut=117;e[e.lowercaseU=ut]="lowercaseU";const bt=118;e[e.lowercaseV=bt]="lowercaseV";const xr=119;e[e.lowercaseW=xr]="lowercaseW";const Nt=120;e[e.lowercaseX=Nt]="lowercaseX";const ns=121;e[e.lowercaseY=ns]="lowercaseY";const ss=122;e[e.lowercaseZ=ss]="lowercaseZ";const is=123;e[e.leftCurlyBrace=is]="leftCurlyBrace";const as=124;e[e.verticalBar=as]="verticalBar";const os=125;e[e.rightCurlyBrace=os]="rightCurlyBrace";const cs=126;e[e.tilde=cs]="tilde";const ls=160;e[e.nonBreakingSpace=ls]="nonBreakingSpace";const us=5760;e[e.oghamSpaceMark=us]="oghamSpaceMark";const ps=8232;e[e.lineSeparator=ps]="lineSeparator";const hs=8233;e[e.paragraphSeparator=hs]="paragraphSeparator"})(g||(g={}));let Vn,ue,xe,a,N,va;function Kr(){return va++}function ul(e){if("pos"in e){const t=hl(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}class pl{constructor(t,r){this.line=t,this.column=r}}function hl(e){let t=1,r=1;for(let s=0;s<e;s++)N.charCodeAt(s)===g.lineFeed?(t++,r=1):r++;return new pl(t,r)}function fl(e,t,r,s){N=e,a=new We,va=1,Vn=t,ue=r,xe=s}function q(e){return a.contextualKeyword===e}function Ws(e){const t=an();return t.type===n.name&&t.contextualKeyword===e}function Be(e){return a.contextualKeyword===e&&k(n.name)}function Oe(e){Be(e)||te()}function tt(){return p(n.eof)||p(n.braceR)||Xe()}function Xe(){const e=a.tokens[a.tokens.length-1],t=e?e.end:0;for(let r=t;r<a.start;r++){const s=N.charCodeAt(r);if(s===g.lineFeed||s===g.carriageReturn||s===8232||s===8233)return!0}return!1}function wa(){const e=Gs();for(let t=a.end;t<e;t++){const r=N.charCodeAt(t);if(r===g.lineFeed||r===g.carriageReturn||r===8232||r===8233)return!0}return!1}function vt(){return k(n.semi)||tt()}function Ce(){vt()||te('Unexpected token, expected ";"')}function v(e){k(e)||te(`Unexpected token, expected "${cl(e)}"`)}function te(e="Unexpected token",t=a.start){if(a.error)return;const r=new SyntaxError(e);r.pos=t,a.error=r,a.pos=N.length,ee(n.eof)}const _a=[9,11,12,g.space,g.nonBreakingSpace,g.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],ji=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Sa=new Uint8Array(65536);for(const e of _a)Sa[e]=1;function dl(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const ft=new Uint8Array(65536);for(let e=0;e<128;e++)ft[e]=dl(e)?1:0;for(let e=128;e<65536;e++)ft[e]=1;for(const e of _a)ft[e]=0;ft[8232]=0;ft[8233]=0;const sn=ft.slice();for(let e=g.digit0;e<=g.digit9;e++)sn[e]=0;const Fi=new Int32Array([-1,27,783,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,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(n._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(n._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function ml(){let e=0,t=0,r=a.pos;for(;r<N.length&&(t=N.charCodeAt(r),!(t<g.lowercaseA||t>g.lowercaseZ));){const i=Fi[e+(t-g.lowercaseA)+1];if(i===-1)break;e=i,r++}const s=Fi[e];if(s>-1&&!ft[t]){a.pos=r,s&1?ee(s>>>1):ee(n.name,s>>>1);return}for(;r<N.length;){const i=N.charCodeAt(r);if(ft[i])r++;else if(i===g.backslash){if(r+=2,N.charCodeAt(r)===g.leftCurlyBrace){for(;r<N.length&&N.charCodeAt(r)!==g.rightCurlyBrace;)r++;r++}}else if(i===g.atSign&&N.charCodeAt(r+1)===g.atSign)r+=2;else break}a.pos=r,ee(n.name)}var X;(function(e){e[e.Access=0]="Access";const r=1;e[e.ExportAccess=r]="ExportAccess";const s=r+1;e[e.TopLevelDeclaration=s]="TopLevelDeclaration";const i=s+1;e[e.FunctionScopedDeclaration=i]="FunctionScopedDeclaration";const o=i+1;e[e.BlockScopedDeclaration=o]="BlockScopedDeclaration";const c=o+1;e[e.ObjectShorthandTopLevelDeclaration=c]="ObjectShorthandTopLevelDeclaration";const u=c+1;e[e.ObjectShorthandFunctionScopedDeclaration=u]="ObjectShorthandFunctionScopedDeclaration";const h=u+1;e[e.ObjectShorthandBlockScopedDeclaration=h]="ObjectShorthandBlockScopedDeclaration";const f=h+1;e[e.ObjectShorthand=f]="ObjectShorthand";const m=f+1;e[e.ImportDeclaration=m]="ImportDeclaration";const x=m+1;e[e.ObjectKey=x]="ObjectKey";const _=x+1;e[e.ImportAccess=_]="ImportAccess"})(X||(X={}));var ht;(function(e){e[e.NoChildren=0]="NoChildren";const r=1;e[e.OneChild=r]="OneChild";const s=r+1;e[e.StaticChildren=s]="StaticChildren";const i=s+1;e[e.KeyAfterPropSpread=i]="KeyAfterPropSpread"})(ht||(ht={}));function Ia(e){const t=e.identifierRole;return t===X.TopLevelDeclaration||t===X.FunctionScopedDeclaration||t===X.BlockScopedDeclaration||t===X.ObjectShorthandTopLevelDeclaration||t===X.ObjectShorthandFunctionScopedDeclaration||t===X.ObjectShorthandBlockScopedDeclaration}function gl(e){const t=e.identifierRole;return t===X.FunctionScopedDeclaration||t===X.BlockScopedDeclaration||t===X.ObjectShorthandFunctionScopedDeclaration||t===X.ObjectShorthandBlockScopedDeclaration}function Ea(e){const t=e.identifierRole;return t===X.TopLevelDeclaration||t===X.ObjectShorthandTopLevelDeclaration||t===X.ImportDeclaration}function xl(e){const t=e.identifierRole;return t===X.TopLevelDeclaration||t===X.BlockScopedDeclaration||t===X.ObjectShorthandTopLevelDeclaration||t===X.ObjectShorthandBlockScopedDeclaration}function kl(e){const t=e.identifierRole;return t===X.FunctionScopedDeclaration||t===X.ObjectShorthandFunctionScopedDeclaration}function bl(e){return e.identifierRole===X.ObjectShorthandTopLevelDeclaration||e.identifierRole===X.ObjectShorthandBlockScopedDeclaration||e.identifierRole===X.ObjectShorthandFunctionScopedDeclaration}let $n=class{constructor(){this.type=a.type,this.contextualKeyword=a.contextualKeyword,this.start=a.start,this.end=a.end,this.scopeDepth=a.scopeDepth,this.isType=a.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};function w(){a.tokens.push(new $n),Pa()}function Bt(){a.tokens.push(new $n),a.start=a.pos,Ml()}function yl(){a.type===n.assign&&--a.pos,Ll()}function ie(e){for(let r=a.tokens.length-e;r<a.tokens.length;r++)a.tokens[r].isType=!0;const t=a.isType;return a.isType=!0,t}function se(e){a.isType=e}function k(e){return p(e)?(w(),!0):!1}function Ca(e){const t=a.isType;a.isType=!0,k(e),a.isType=t}function p(e){return a.type===e}function Ne(){const e=a.snapshot();w();const t=a.type;return a.restoreFromSnapshot(e),t}class vl{constructor(t,r){this.type=t,this.contextualKeyword=r}}function an(){const e=a.snapshot();w();const t=a.type,r=a.contextualKeyword;return a.restoreFromSnapshot(e),new vl(t,r)}function Gs(){return Ta(a.pos)}function Ta(e){ji.lastIndex=e;const t=ji.exec(N);return e+t[0].length}function Aa(){return N.charCodeAt(Gs())}function Pa(){if(Ra(),a.start=a.pos,a.pos>=N.length){const e=a.tokens;e.length>=2&&e[e.length-1].start>=N.length&&e[e.length-2].start>=N.length&&te("Unexpectedly reached the end of input."),ee(n.eof);return}wl(N.charCodeAt(a.pos))}function wl(e){sn[e]||e===g.backslash||e===g.atSign&&N.charCodeAt(a.pos+1)===g.atSign?ml():Oa(e)}function _l(){for(;N.charCodeAt(a.pos)!==g.asterisk||N.charCodeAt(a.pos+1)!==g.slash;)if(a.pos++,a.pos>N.length){te("Unterminated comment",a.pos-2);return}a.pos+=2}function Na(e){let t=N.charCodeAt(a.pos+=e);if(a.pos<N.length)for(;t!==g.lineFeed&&t!==g.carriageReturn&&t!==g.lineSeparator&&t!==g.paragraphSeparator&&++a.pos<N.length;)t=N.charCodeAt(a.pos)}function Ra(){for(;a.pos<N.length;){const e=N.charCodeAt(a.pos);switch(e){case g.carriageReturn:N.charCodeAt(a.pos+1)===g.lineFeed&&++a.pos;case g.lineFeed:case g.lineSeparator:case g.paragraphSeparator:++a.pos;break;case g.slash:switch(N.charCodeAt(a.pos+1)){case g.asterisk:a.pos+=2,_l();break;case g.slash:Na(2);break;default:return}break;default:if(Sa[e])++a.pos;else return}}}function ee(e,t=d.NONE){a.end=a.pos,a.type=e,a.contextualKeyword=t}function Sl(){const e=N.charCodeAt(a.pos+1);if(e>=g.digit0&&e<=g.digit9){Ma(!0);return}e===g.dot&&N.charCodeAt(a.pos+2)===g.dot?(a.pos+=3,ee(n.ellipsis)):(++a.pos,ee(n.dot))}function Il(){N.charCodeAt(a.pos+1)===g.equalsTo?ke(n.assign,2):ke(n.slash,1)}function El(e){let t=e===g.asterisk?n.star:n.modulo,r=1,s=N.charCodeAt(a.pos+1);e===g.asterisk&&s===g.asterisk&&(r++,s=N.charCodeAt(a.pos+2),t=n.exponent),s===g.equalsTo&&N.charCodeAt(a.pos+2)!==g.greaterThan&&(r++,t=n.assign),ke(t,r)}function Cl(e){const t=N.charCodeAt(a.pos+1);if(t===e){N.charCodeAt(a.pos+2)===g.equalsTo?ke(n.assign,3):ke(e===g.verticalBar?n.logicalOR:n.logicalAND,2);return}if(e===g.verticalBar){if(t===g.greaterThan){ke(n.pipeline,2);return}else if(t===g.rightCurlyBrace&&xe){ke(n.braceBarR,2);return}}if(t===g.equalsTo){ke(n.assign,2);return}ke(e===g.verticalBar?n.bitwiseOR:n.bitwiseAND,1)}function Tl(){N.charCodeAt(a.pos+1)===g.equalsTo?ke(n.assign,2):ke(n.bitwiseXOR,1)}function Al(e){const t=N.charCodeAt(a.pos+1);if(t===e){ke(n.preIncDec,2);return}t===g.equalsTo?ke(n.assign,2):e===g.plusSign?ke(n.plus,1):ke(n.minus,1)}function Pl(){const e=N.charCodeAt(a.pos+1);if(e===g.lessThan){if(N.charCodeAt(a.pos+2)===g.equalsTo){ke(n.assign,3);return}a.isType?ke(n.lessThan,1):ke(n.bitShiftL,2);return}e===g.equalsTo?ke(n.relationalOrEqual,2):ke(n.lessThan,1)}function La(){if(a.isType){ke(n.greaterThan,1);return}const e=N.charCodeAt(a.pos+1);if(e===g.greaterThan){const t=N.charCodeAt(a.pos+2)===g.greaterThan?3:2;if(N.charCodeAt(a.pos+t)===g.equalsTo){ke(n.assign,t+1);return}ke(n.bitShiftR,t);return}e===g.equalsTo?ke(n.relationalOrEqual,2):ke(n.greaterThan,1)}function Da(){a.type===n.greaterThan&&(a.pos-=1,La())}function Nl(e){const t=N.charCodeAt(a.pos+1);if(t===g.equalsTo){ke(n.equality,N.charCodeAt(a.pos+2)===g.equalsTo?3:2);return}if(e===g.equalsTo&&t===g.greaterThan){a.pos+=2,ee(n.arrow);return}ke(e===g.equalsTo?n.eq:n.bang,1)}function Rl(){const e=N.charCodeAt(a.pos+1),t=N.charCodeAt(a.pos+2);e===g.questionMark&&!(xe&&a.isType)?t===g.equalsTo?ke(n.assign,3):ke(n.nullishCoalescing,2):e===g.dot&&!(t>=g.digit0&&t<=g.digit9)?(a.pos+=2,ee(n.questionDot)):(++a.pos,ee(n.question))}function Oa(e){switch(e){case g.numberSign:++a.pos,ee(n.hash);return;case g.dot:Sl();return;case g.leftParenthesis:++a.pos,ee(n.parenL);return;case g.rightParenthesis:++a.pos,ee(n.parenR);return;case g.semicolon:++a.pos,ee(n.semi);return;case g.comma:++a.pos,ee(n.comma);return;case g.leftSquareBracket:++a.pos,ee(n.bracketL);return;case g.rightSquareBracket:++a.pos,ee(n.bracketR);return;case g.leftCurlyBrace:xe&&N.charCodeAt(a.pos+1)===g.verticalBar?ke(n.braceBarL,2):(++a.pos,ee(n.braceL));return;case g.rightCurlyBrace:++a.pos,ee(n.braceR);return;case g.colon:N.charCodeAt(a.pos+1)===g.colon?ke(n.doubleColon,2):(++a.pos,ee(n.colon));return;case g.questionMark:Rl();return;case g.atSign:++a.pos,ee(n.at);return;case g.graveAccent:++a.pos,ee(n.backQuote);return;case g.digit0:{const t=N.charCodeAt(a.pos+1);if(t===g.lowercaseX||t===g.uppercaseX||t===g.lowercaseO||t===g.uppercaseO||t===g.lowercaseB||t===g.uppercaseB){Dl();return}}case g.digit1:case g.digit2:case g.digit3:case g.digit4:case g.digit5:case g.digit6:case g.digit7:case g.digit8:case g.digit9:Ma(!1);return;case g.quotationMark:case g.apostrophe:Ol(e);return;case g.slash:Il();return;case g.percentSign:case g.asterisk:El(e);return;case g.verticalBar:case g.ampersand:Cl(e);return;case g.caret:Tl();return;case g.plusSign:case g.dash:Al(e);return;case g.lessThan:Pl();return;case g.greaterThan:La();return;case g.equalsTo:case g.exclamationMark:Nl(e);return;case g.tilde:ke(n.tilde,1);return}te(`Unexpected character '${String.fromCharCode(e)}'`,a.pos)}function ke(e,t){a.pos+=t,ee(e)}function Ll(){const e=a.pos;let t=!1,r=!1;for(;;){if(a.pos>=N.length){te("Unterminated regular expression",e);return}const s=N.charCodeAt(a.pos);if(t)t=!1;else{if(s===g.leftSquareBracket)r=!0;else if(s===g.rightSquareBracket&&r)r=!1;else if(s===g.slash&&!r)break;t=s===g.backslash}++a.pos}++a.pos,jl(),ee(n.regexp)}function gs(){for(;;){const e=N.charCodeAt(a.pos);if(e>=g.digit0&&e<=g.digit9||e===g.underscore)a.pos++;else break}}function Dl(){for(a.pos+=2;;){const t=N.charCodeAt(a.pos);if(t>=g.digit0&&t<=g.digit9||t>=g.lowercaseA&&t<=g.lowercaseF||t>=g.uppercaseA&&t<=g.uppercaseF||t===g.underscore)a.pos++;else break}N.charCodeAt(a.pos)===g.lowercaseN?(++a.pos,ee(n.bigint)):ee(n.num)}function Ma(e){let t=!1,r=!1;e||gs();let s=N.charCodeAt(a.pos);if(s===g.dot&&(++a.pos,gs(),s=N.charCodeAt(a.pos)),(s===g.uppercaseE||s===g.lowercaseE)&&(s=N.charCodeAt(++a.pos),(s===g.plusSign||s===g.dash)&&++a.pos,gs(),s=N.charCodeAt(a.pos)),s===g.lowercaseN?(++a.pos,t=!0):s===g.lowercaseM&&(++a.pos,r=!0),t){ee(n.bigint);return}if(r){ee(n.decimal);return}ee(n.num)}function Ol(e){for(a.pos++;;){if(a.pos>=N.length){te("Unterminated string constant");return}const t=N.charCodeAt(a.pos);if(t===g.backslash)a.pos++;else if(t===e)break;a.pos++}a.pos++,ee(n.string)}function Ml(){for(;;){if(a.pos>=N.length){te("Unterminated template");return}const e=N.charCodeAt(a.pos);if(e===g.graveAccent||e===g.dollarSign&&N.charCodeAt(a.pos+1)===g.leftCurlyBrace){if(a.pos===a.start&&p(n.template))if(e===g.dollarSign){a.pos+=2,ee(n.dollarBraceL);return}else{++a.pos,ee(n.backQuote);return}ee(n.template);return}e===g.backslash&&a.pos++,a.pos++}}function jl(){for(;a.pos<N.length;){const e=N.charCodeAt(a.pos);if(ft[e])a.pos++;else if(e===g.backslash){if(a.pos+=2,N.charCodeAt(a.pos)===g.leftCurlyBrace){for(;a.pos<N.length&&N.charCodeAt(a.pos)!==g.rightCurlyBrace;)a.pos++;a.pos++}}else break}}function Qr(e,t=e.currentIndex()){let r=t+1;if(gn(e,r)){const s=e.identifierNameAtIndex(t);return{isType:!1,leftName:s,rightName:s,endIndex:r}}if(r++,gn(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};if(r++,gn(e,r))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:r};if(r++,gn(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};throw new Error(`Unexpected import/export specifier at ${t}`)}function gn(e,t){const r=e.tokens[t];return r.type===n.braceR||r.type===n.comma}const Fl=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp"," "],["iexcl","¡"],["cent","¢"],["pound","£"],["curren","¤"],["yen","¥"],["brvbar","¦"],["sect","§"],["uml","¨"],["copy","©"],["ordf","ª"],["laquo","«"],["not","¬"],["shy","­"],["reg","®"],["macr","¯"],["deg","°"],["plusmn","±"],["sup2","²"],["sup3","³"],["acute","´"],["micro","µ"],["para","¶"],["middot","·"],["cedil","¸"],["sup1","¹"],["ordm","º"],["raquo","»"],["frac14","¼"],["frac12","½"],["frac34","¾"],["iquest","¿"],["Agrave","À"],["Aacute","Á"],["Acirc","Â"],["Atilde","Ã"],["Auml","Ä"],["Aring","Å"],["AElig","Æ"],["Ccedil","Ç"],["Egrave","È"],["Eacute","É"],["Ecirc","Ê"],["Euml","Ë"],["Igrave","Ì"],["Iacute","Í"],["Icirc","Î"],["Iuml","Ï"],["ETH","Ð"],["Ntilde","Ñ"],["Ograve","Ò"],["Oacute","Ó"],["Ocirc","Ô"],["Otilde","Õ"],["Ouml","Ö"],["times","×"],["Oslash","Ø"],["Ugrave","Ù"],["Uacute","Ú"],["Ucirc","Û"],["Uuml","Ü"],["Yacute","Ý"],["THORN","Þ"],["szlig","ß"],["agrave","à"],["aacute","á"],["acirc","â"],["atilde","ã"],["auml","ä"],["aring","å"],["aelig","æ"],["ccedil","ç"],["egrave","è"],["eacute","é"],["ecirc","ê"],["euml","ë"],["igrave","ì"],["iacute","í"],["icirc","î"],["iuml","ï"],["eth","ð"],["ntilde","ñ"],["ograve","ò"],["oacute","ó"],["ocirc","ô"],["otilde","õ"],["ouml","ö"],["divide","÷"],["oslash","ø"],["ugrave","ù"],["uacute","ú"],["ucirc","û"],["uuml","ü"],["yacute","ý"],["thorn","þ"],["yuml","ÿ"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function ja(e){const[t,r]=Bi(e.jsxPragma||"React.createElement"),[s,i]=Bi(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:r,fragmentBase:s,fragmentSuffix:i}}function Bi(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}class dt{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class Kt extends dt{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,r,s,i,o){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=s,this.nameManager=i,this.options=o,Kt.prototype.__init.call(this),Kt.prototype.__init2.call(this),Kt.prototype.__init3.call(this),Kt.prototype.__init4.call(this),Kt.prototype.__init5.call(this),this.jsxPragmaInfo=ja(o),this.isAutomaticRuntime=o.jsxRuntime==="automatic",this.jsxImportSource=o.jsxImportSource||"react"}process(){return this.tokens.matches1(n.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[r,s]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${s} = require("${r}");`;else{const{createElement:r,...s}=this.esmAutomaticImportNameResolutions;r&&(t+=`import {createElement as ${r}} from "${this.jsxImportSource}";`);const i=Object.entries(s).map(([o,c])=>`${o} as ${c}`).join(", ");if(i){const o=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${i}} from "${o}";`}}return t}processJSXTag(){const{jsxRole:t,start:r}=this.tokens.currentToken(),s=this.options.production?null:this.getElementLocationCode(r);this.isAutomaticRuntime&&t!==ht.KeyAfterPropSpread?this.transformTagToJSXFunc(s,t):this.transformTagToCreateElement(s)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){const r=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<r.length;)r[this.lastIndex]===`
56
+ `,document.head.appendChild(e)}function al(e){return{tsx:"typescript",ts:"typescript",jsx:"javascript",js:"javascript",html:"html",css:"css",json:"json",md:"markdown",markdown:"markdown",mermaid:"markdown",mmd:"markdown",svg:"xml",csv:"plaintext",tsv:"plaintext",dot:"plaintext",gv:"plaintext",latex:"plaintext",tex:"plaintext",architecture:"xml",arch:"xml",drawio:"xml"}[e]||e}const ol={container:{width:"100%",height:"100%",overflow:"hidden"}};var d;(function(e){e[e.NONE=0]="NONE";const r=1;e[e._abstract=r]="_abstract";const s=r+1;e[e._accessor=s]="_accessor";const i=s+1;e[e._as=i]="_as";const o=i+1;e[e._assert=o]="_assert";const c=o+1;e[e._asserts=c]="_asserts";const u=c+1;e[e._async=u]="_async";const h=u+1;e[e._await=h]="_await";const f=h+1;e[e._checks=f]="_checks";const m=f+1;e[e._constructor=m]="_constructor";const x=m+1;e[e._declare=x]="_declare";const _=x+1;e[e._enum=_]="_enum";const y=_+1;e[e._exports=y]="_exports";const L=y+1;e[e._from=L]="_from";const j=L+1;e[e._get=j]="_get";const F=j+1;e[e._global=F]="_global";const ne=F+1;e[e._implements=ne]="_implements";const P=ne+1;e[e._infer=P]="_infer";const M=P+1;e[e._interface=M]="_interface";const O=M+1;e[e._is=O]="_is";const U=O+1;e[e._keyof=U]="_keyof";const H=U+1;e[e._mixins=H]="_mixins";const G=H+1;e[e._module=G]="_module";const A=G+1;e[e._namespace=A]="_namespace";const z=A+1;e[e._of=z]="_of";const B=z+1;e[e._opaque=B]="_opaque";const ce=B+1;e[e._out=ce]="_out";const Le=ce+1;e[e._override=Le]="_override";const $e=Le+1;e[e._private=$e]="_private";const Me=$e+1;e[e._protected=Me]="_protected";const W=Me+1;e[e._proto=W]="_proto";const oe=W+1;e[e._public=oe]="_public";const Te=oe+1;e[e._readonly=Te]="_readonly";const he=Te+1;e[e._require=he]="_require";const _e=he+1;e[e._satisfies=_e]="_satisfies";const be=_e+1;e[e._set=be]="_set";const Z=be+1;e[e._static=Z]="_static";const ae=Z+1;e[e._symbol=ae]="_symbol";const de=ae+1;e[e._type=de]="_type";const ze=de+1;e[e._unique=ze]="_unique";const b=ze+1;e[e._using=b]="_using"})(d||(d={}));var n;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";const r=16;e[e.IS_KEYWORD=r]="IS_KEYWORD";const s=32;e[e.IS_ASSIGN=s]="IS_ASSIGN";const i=64;e[e.IS_RIGHT_ASSOCIATIVE=i]="IS_RIGHT_ASSOCIATIVE";const o=128;e[e.IS_PREFIX=o]="IS_PREFIX";const c=256;e[e.IS_POSTFIX=c]="IS_POSTFIX";const u=512;e[e.IS_EXPRESSION_START=u]="IS_EXPRESSION_START";const h=512;e[e.num=h]="num";const f=1536;e[e.bigint=f]="bigint";const m=2560;e[e.decimal=m]="decimal";const x=3584;e[e.regexp=x]="regexp";const _=4608;e[e.string=_]="string";const y=5632;e[e.name=y]="name";const L=6144;e[e.eof=L]="eof";const j=7680;e[e.bracketL=j]="bracketL";const F=8192;e[e.bracketR=F]="bracketR";const ne=9728;e[e.braceL=ne]="braceL";const P=10752;e[e.braceBarL=P]="braceBarL";const M=11264;e[e.braceR=M]="braceR";const O=12288;e[e.braceBarR=O]="braceBarR";const U=13824;e[e.parenL=U]="parenL";const H=14336;e[e.parenR=H]="parenR";const G=15360;e[e.comma=G]="comma";const A=16384;e[e.semi=A]="semi";const z=17408;e[e.colon=z]="colon";const B=18432;e[e.doubleColon=B]="doubleColon";const ce=19456;e[e.dot=ce]="dot";const Le=20480;e[e.question=Le]="question";const $e=21504;e[e.questionDot=$e]="questionDot";const Me=22528;e[e.arrow=Me]="arrow";const W=23552;e[e.template=W]="template";const oe=24576;e[e.ellipsis=oe]="ellipsis";const Te=25600;e[e.backQuote=Te]="backQuote";const he=27136;e[e.dollarBraceL=he]="dollarBraceL";const _e=27648;e[e.at=_e]="at";const be=29184;e[e.hash=be]="hash";const Z=29728;e[e.eq=Z]="eq";const ae=30752;e[e.assign=ae]="assign";const de=32640;e[e.preIncDec=de]="preIncDec";const ze=33664;e[e.postIncDec=ze]="postIncDec";const b=34432;e[e.bang=b]="bang";const I=35456;e[e.tilde=I]="tilde";const T=35841;e[e.pipeline=T]="pipeline";const C=36866;e[e.nullishCoalescing=C]="nullishCoalescing";const D=37890;e[e.logicalOR=D]="logicalOR";const Y=38915;e[e.logicalAND=Y]="logicalAND";const Q=39940;e[e.bitwiseOR=Q]="bitwiseOR";const le=40965;e[e.bitwiseXOR=le]="bitwiseXOR";const ve=41990;e[e.bitwiseAND=ve]="bitwiseAND";const me=43015;e[e.equality=me]="equality";const je=44040;e[e.lessThan=je]="lessThan";const we=45064;e[e.greaterThan=we]="greaterThan";const Ie=46088;e[e.relationalOrEqual=Ie]="relationalOrEqual";const Ee=47113;e[e.bitShiftL=Ee]="bitShiftL";const De=48137;e[e.bitShiftR=De]="bitShiftR";const At=49802;e[e.plus=At]="plus";const gt=50826;e[e.minus=gt]="minus";const xt=51723;e[e.modulo=xt]="modulo";const Tr=52235;e[e.star=Tr]="star";const lr=53259;e[e.slash=lr]="slash";const ur=54348;e[e.exponent=ur]="exponent";const pr=55296;e[e.jsxName=pr]="jsxName";const lt=56320;e[e.jsxText=lt]="jsxText";const Fe=57344;e[e.jsxEmptyText=Fe]="jsxEmptyText";const Pt=58880;e[e.jsxTagStart=Pt]="jsxTagStart";const Ze=59392;e[e.jsxTagEnd=Ze]="jsxTagEnd";const hr=60928;e[e.typeParameterStart=hr]="typeParameterStart";const Mt=61440;e[e.nonNullAssertion=Mt]="nonNullAssertion";const jt=62480;e[e._break=jt]="_break";const Ar=63504;e[e._case=Ar]="_case";const Ft=64528;e[e._catch=Ft]="_catch";const Pr=65552;e[e._continue=Pr]="_continue";const fr=66576;e[e._debugger=fr]="_debugger";const dr=67600;e[e._default=dr]="_default";const mr=68624;e[e._do=mr]="_do";const Nr=69648;e[e._else=Nr]="_else";const Rr=70672;e[e._finally=Rr]="_finally";const Lr=71696;e[e._for=Lr]="_for";const Xt=73232;e[e._function=Xt]="_function";const gr=73744;e[e._if=gr]="_if";const kt=74768;e[e._return=kt]="_return";const Dr=75792;e[e._switch=Dr]="_switch";const Or=77456;e[e._throw=Or]="_throw";const Mr=77840;e[e._try=Mr]="_try";const Yt=78864;e[e._var=Yt]="_var";const jr=79888;e[e._let=jr]="_let";const Fr=80912;e[e._const=Fr]="_const";const K=81936;e[e._while=K]="_while";const Ae=82960;e[e._with=Ae]="_with";const Se=84496;e[e._new=Se]="_new";const ut=85520;e[e._this=ut]="_this";const bt=86544;e[e._super=bt]="_super";const xr=87568;e[e._class=xr]="_class";const Nt=88080;e[e._extends=Nt]="_extends";const ns=89104;e[e._export=ns]="_export";const ss=90640;e[e._import=ss]="_import";const is=91664;e[e._yield=is]="_yield";const as=92688;e[e._null=as]="_null";const os=93712;e[e._true=os]="_true";const cs=94736;e[e._false=cs]="_false";const ls=95256;e[e._in=ls]="_in";const us=96280;e[e._instanceof=us]="_instanceof";const ps=97936;e[e._typeof=ps]="_typeof";const hs=98960;e[e._void=hs]="_void";const Rc=99984;e[e._delete=Rc]="_delete";const Lc=100880;e[e._async=Lc]="_async";const Dc=101904;e[e._get=Dc]="_get";const Oc=102928;e[e._set=Oc]="_set";const Mc=103952;e[e._declare=Mc]="_declare";const jc=104976;e[e._readonly=jc]="_readonly";const Fc=106e3;e[e._abstract=Fc]="_abstract";const Bc=107024;e[e._static=Bc]="_static";const Vc=107536;e[e._public=Vc]="_public";const $c=108560;e[e._private=$c]="_private";const qc=109584;e[e._protected=qc]="_protected";const Uc=110608;e[e._override=Uc]="_override";const zc=112144;e[e._as=zc]="_as";const Hc=113168;e[e._enum=Hc]="_enum";const Wc=114192;e[e._type=Wc]="_type";const Gc=115216;e[e._implements=Gc]="_implements"})(n||(n={}));function cl(e){switch(e){case n.num:return"num";case n.bigint:return"bigint";case n.decimal:return"decimal";case n.regexp:return"regexp";case n.string:return"string";case n.name:return"name";case n.eof:return"eof";case n.bracketL:return"[";case n.bracketR:return"]";case n.braceL:return"{";case n.braceBarL:return"{|";case n.braceR:return"}";case n.braceBarR:return"|}";case n.parenL:return"(";case n.parenR:return")";case n.comma:return",";case n.semi:return";";case n.colon:return":";case n.doubleColon:return"::";case n.dot:return".";case n.question:return"?";case n.questionDot:return"?.";case n.arrow:return"=>";case n.template:return"template";case n.ellipsis:return"...";case n.backQuote:return"`";case n.dollarBraceL:return"${";case n.at:return"@";case n.hash:return"#";case n.eq:return"=";case n.assign:return"_=";case n.preIncDec:return"++/--";case n.postIncDec:return"++/--";case n.bang:return"!";case n.tilde:return"~";case n.pipeline:return"|>";case n.nullishCoalescing:return"??";case n.logicalOR:return"||";case n.logicalAND:return"&&";case n.bitwiseOR:return"|";case n.bitwiseXOR:return"^";case n.bitwiseAND:return"&";case n.equality:return"==/!=";case n.lessThan:return"<";case n.greaterThan:return">";case n.relationalOrEqual:return"<=/>=";case n.bitShiftL:return"<<";case n.bitShiftR:return">>/>>>";case n.plus:return"+";case n.minus:return"-";case n.modulo:return"%";case n.star:return"*";case n.slash:return"/";case n.exponent:return"**";case n.jsxName:return"jsxName";case n.jsxText:return"jsxText";case n.jsxEmptyText:return"jsxEmptyText";case n.jsxTagStart:return"jsxTagStart";case n.jsxTagEnd:return"jsxTagEnd";case n.typeParameterStart:return"typeParameterStart";case n.nonNullAssertion:return"nonNullAssertion";case n._break:return"break";case n._case:return"case";case n._catch:return"catch";case n._continue:return"continue";case n._debugger:return"debugger";case n._default:return"default";case n._do:return"do";case n._else:return"else";case n._finally:return"finally";case n._for:return"for";case n._function:return"function";case n._if:return"if";case n._return:return"return";case n._switch:return"switch";case n._throw:return"throw";case n._try:return"try";case n._var:return"var";case n._let:return"let";case n._const:return"const";case n._while:return"while";case n._with:return"with";case n._new:return"new";case n._this:return"this";case n._super:return"super";case n._class:return"class";case n._extends:return"extends";case n._export:return"export";case n._import:return"import";case n._yield:return"yield";case n._null:return"null";case n._true:return"true";case n._false:return"false";case n._in:return"in";case n._instanceof:return"instanceof";case n._typeof:return"typeof";case n._void:return"void";case n._delete:return"delete";case n._async:return"async";case n._get:return"get";case n._set:return"set";case n._declare:return"declare";case n._readonly:return"readonly";case n._abstract:return"abstract";case n._static:return"static";case n._public:return"public";case n._private:return"private";case n._protected:return"protected";case n._override:return"override";case n._as:return"as";case n._enum:return"enum";case n._type:return"type";case n._implements:return"implements";default:return""}}let St=class{constructor(t,r,s){this.startTokenIndex=t,this.endTokenIndex=r,this.isFunctionScope=s}};class ll{constructor(t,r,s,i,o,c,u,h,f,m,x,_,y){this.potentialArrowAt=t,this.noAnonFunctionType=r,this.inDisallowConditionalTypesContext=s,this.tokensLength=i,this.scopesLength=o,this.pos=c,this.type=u,this.contextualKeyword=h,this.start=f,this.end=m,this.isType=x,this.scopeDepth=_,this.error=y}}class We{constructor(){We.prototype.__init.call(this),We.prototype.__init2.call(this),We.prototype.__init3.call(this),We.prototype.__init4.call(this),We.prototype.__init5.call(this),We.prototype.__init6.call(this),We.prototype.__init7.call(this),We.prototype.__init8.call(this),We.prototype.__init9.call(this),We.prototype.__init10.call(this),We.prototype.__init11.call(this),We.prototype.__init12.call(this),We.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=n.eof}__init8(){this.contextualKeyword=d.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new ll(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}}var g;(function(e){e[e.backSpace=8]="backSpace";const r=10;e[e.lineFeed=r]="lineFeed";const s=9;e[e.tab=s]="tab";const i=13;e[e.carriageReturn=i]="carriageReturn";const o=14;e[e.shiftOut=o]="shiftOut";const c=32;e[e.space=c]="space";const u=33;e[e.exclamationMark=u]="exclamationMark";const h=34;e[e.quotationMark=h]="quotationMark";const f=35;e[e.numberSign=f]="numberSign";const m=36;e[e.dollarSign=m]="dollarSign";const x=37;e[e.percentSign=x]="percentSign";const _=38;e[e.ampersand=_]="ampersand";const y=39;e[e.apostrophe=y]="apostrophe";const L=40;e[e.leftParenthesis=L]="leftParenthesis";const j=41;e[e.rightParenthesis=j]="rightParenthesis";const F=42;e[e.asterisk=F]="asterisk";const ne=43;e[e.plusSign=ne]="plusSign";const P=44;e[e.comma=P]="comma";const M=45;e[e.dash=M]="dash";const O=46;e[e.dot=O]="dot";const U=47;e[e.slash=U]="slash";const H=48;e[e.digit0=H]="digit0";const G=49;e[e.digit1=G]="digit1";const A=50;e[e.digit2=A]="digit2";const z=51;e[e.digit3=z]="digit3";const B=52;e[e.digit4=B]="digit4";const ce=53;e[e.digit5=ce]="digit5";const Le=54;e[e.digit6=Le]="digit6";const $e=55;e[e.digit7=$e]="digit7";const Me=56;e[e.digit8=Me]="digit8";const W=57;e[e.digit9=W]="digit9";const oe=58;e[e.colon=oe]="colon";const Te=59;e[e.semicolon=Te]="semicolon";const he=60;e[e.lessThan=he]="lessThan";const _e=61;e[e.equalsTo=_e]="equalsTo";const be=62;e[e.greaterThan=be]="greaterThan";const Z=63;e[e.questionMark=Z]="questionMark";const ae=64;e[e.atSign=ae]="atSign";const de=65;e[e.uppercaseA=de]="uppercaseA";const ze=66;e[e.uppercaseB=ze]="uppercaseB";const b=67;e[e.uppercaseC=b]="uppercaseC";const I=68;e[e.uppercaseD=I]="uppercaseD";const T=69;e[e.uppercaseE=T]="uppercaseE";const C=70;e[e.uppercaseF=C]="uppercaseF";const D=71;e[e.uppercaseG=D]="uppercaseG";const Y=72;e[e.uppercaseH=Y]="uppercaseH";const Q=73;e[e.uppercaseI=Q]="uppercaseI";const le=74;e[e.uppercaseJ=le]="uppercaseJ";const ve=75;e[e.uppercaseK=ve]="uppercaseK";const me=76;e[e.uppercaseL=me]="uppercaseL";const je=77;e[e.uppercaseM=je]="uppercaseM";const we=78;e[e.uppercaseN=we]="uppercaseN";const Ie=79;e[e.uppercaseO=Ie]="uppercaseO";const Ee=80;e[e.uppercaseP=Ee]="uppercaseP";const De=81;e[e.uppercaseQ=De]="uppercaseQ";const At=82;e[e.uppercaseR=At]="uppercaseR";const gt=83;e[e.uppercaseS=gt]="uppercaseS";const xt=84;e[e.uppercaseT=xt]="uppercaseT";const Tr=85;e[e.uppercaseU=Tr]="uppercaseU";const lr=86;e[e.uppercaseV=lr]="uppercaseV";const ur=87;e[e.uppercaseW=ur]="uppercaseW";const pr=88;e[e.uppercaseX=pr]="uppercaseX";const lt=89;e[e.uppercaseY=lt]="uppercaseY";const Fe=90;e[e.uppercaseZ=Fe]="uppercaseZ";const Pt=91;e[e.leftSquareBracket=Pt]="leftSquareBracket";const Ze=92;e[e.backslash=Ze]="backslash";const hr=93;e[e.rightSquareBracket=hr]="rightSquareBracket";const Mt=94;e[e.caret=Mt]="caret";const jt=95;e[e.underscore=jt]="underscore";const Ar=96;e[e.graveAccent=Ar]="graveAccent";const Ft=97;e[e.lowercaseA=Ft]="lowercaseA";const Pr=98;e[e.lowercaseB=Pr]="lowercaseB";const fr=99;e[e.lowercaseC=fr]="lowercaseC";const dr=100;e[e.lowercaseD=dr]="lowercaseD";const mr=101;e[e.lowercaseE=mr]="lowercaseE";const Nr=102;e[e.lowercaseF=Nr]="lowercaseF";const Rr=103;e[e.lowercaseG=Rr]="lowercaseG";const Lr=104;e[e.lowercaseH=Lr]="lowercaseH";const Xt=105;e[e.lowercaseI=Xt]="lowercaseI";const gr=106;e[e.lowercaseJ=gr]="lowercaseJ";const kt=107;e[e.lowercaseK=kt]="lowercaseK";const Dr=108;e[e.lowercaseL=Dr]="lowercaseL";const Or=109;e[e.lowercaseM=Or]="lowercaseM";const Mr=110;e[e.lowercaseN=Mr]="lowercaseN";const Yt=111;e[e.lowercaseO=Yt]="lowercaseO";const jr=112;e[e.lowercaseP=jr]="lowercaseP";const Fr=113;e[e.lowercaseQ=Fr]="lowercaseQ";const K=114;e[e.lowercaseR=K]="lowercaseR";const Ae=115;e[e.lowercaseS=Ae]="lowercaseS";const Se=116;e[e.lowercaseT=Se]="lowercaseT";const ut=117;e[e.lowercaseU=ut]="lowercaseU";const bt=118;e[e.lowercaseV=bt]="lowercaseV";const xr=119;e[e.lowercaseW=xr]="lowercaseW";const Nt=120;e[e.lowercaseX=Nt]="lowercaseX";const ns=121;e[e.lowercaseY=ns]="lowercaseY";const ss=122;e[e.lowercaseZ=ss]="lowercaseZ";const is=123;e[e.leftCurlyBrace=is]="leftCurlyBrace";const as=124;e[e.verticalBar=as]="verticalBar";const os=125;e[e.rightCurlyBrace=os]="rightCurlyBrace";const cs=126;e[e.tilde=cs]="tilde";const ls=160;e[e.nonBreakingSpace=ls]="nonBreakingSpace";const us=5760;e[e.oghamSpaceMark=us]="oghamSpaceMark";const ps=8232;e[e.lineSeparator=ps]="lineSeparator";const hs=8233;e[e.paragraphSeparator=hs]="paragraphSeparator"})(g||(g={}));let Vn,ue,xe,a,N,va;function Kr(){return va++}function ul(e){if("pos"in e){const t=hl(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}class pl{constructor(t,r){this.line=t,this.column=r}}function hl(e){let t=1,r=1;for(let s=0;s<e;s++)N.charCodeAt(s)===g.lineFeed?(t++,r=1):r++;return new pl(t,r)}function fl(e,t,r,s){N=e,a=new We,va=1,Vn=t,ue=r,xe=s}function q(e){return a.contextualKeyword===e}function Ws(e){const t=an();return t.type===n.name&&t.contextualKeyword===e}function Be(e){return a.contextualKeyword===e&&k(n.name)}function Oe(e){Be(e)||te()}function tt(){return p(n.eof)||p(n.braceR)||Xe()}function Xe(){const e=a.tokens[a.tokens.length-1],t=e?e.end:0;for(let r=t;r<a.start;r++){const s=N.charCodeAt(r);if(s===g.lineFeed||s===g.carriageReturn||s===8232||s===8233)return!0}return!1}function wa(){const e=Gs();for(let t=a.end;t<e;t++){const r=N.charCodeAt(t);if(r===g.lineFeed||r===g.carriageReturn||r===8232||r===8233)return!0}return!1}function vt(){return k(n.semi)||tt()}function Ce(){vt()||te('Unexpected token, expected ";"')}function v(e){k(e)||te(`Unexpected token, expected "${cl(e)}"`)}function te(e="Unexpected token",t=a.start){if(a.error)return;const r=new SyntaxError(e);r.pos=t,a.error=r,a.pos=N.length,ee(n.eof)}const _a=[9,11,12,g.space,g.nonBreakingSpace,g.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],ji=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Sa=new Uint8Array(65536);for(const e of _a)Sa[e]=1;function dl(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const ft=new Uint8Array(65536);for(let e=0;e<128;e++)ft[e]=dl(e)?1:0;for(let e=128;e<65536;e++)ft[e]=1;for(const e of _a)ft[e]=0;ft[8232]=0;ft[8233]=0;const sn=ft.slice();for(let e=g.digit0;e<=g.digit9;e++)sn[e]=0;const Fi=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,d._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1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r++}const s=Fi[e];if(s>-1&&!ft[t]){a.pos=r,s&1?ee(s>>>1):ee(n.name,s>>>1);return}for(;r<N.length;){const i=N.charCodeAt(r);if(ft[i])r++;else if(i===g.backslash){if(r+=2,N.charCodeAt(r)===g.leftCurlyBrace){for(;r<N.length&&N.charCodeAt(r)!==g.rightCurlyBrace;)r++;r++}}else if(i===g.atSign&&N.charCodeAt(r+1)===g.atSign)r+=2;else break}a.pos=r,ee(n.name)}var X;(function(e){e[e.Access=0]="Access";const r=1;e[e.ExportAccess=r]="ExportAccess";const s=r+1;e[e.TopLevelDeclaration=s]="TopLevelDeclaration";const i=s+1;e[e.FunctionScopedDeclaration=i]="FunctionScopedDeclaration";const o=i+1;e[e.BlockScopedDeclaration=o]="BlockScopedDeclaration";const c=o+1;e[e.ObjectShorthandTopLevelDeclaration=c]="ObjectShorthandTopLevelDeclaration";const u=c+1;e[e.ObjectShorthandFunctionScopedDeclaration=u]="ObjectShorthandFunctionScopedDeclaration";const h=u+1;e[e.ObjectShorthandBlockScopedDeclaration=h]="ObjectShorthandBlockScopedDeclaration";const f=h+1;e[e.ObjectShorthand=f]="ObjectShorthand";const m=f+1;e[e.ImportDeclaration=m]="ImportDeclaration";const x=m+1;e[e.ObjectKey=x]="ObjectKey";const _=x+1;e[e.ImportAccess=_]="ImportAccess"})(X||(X={}));var ht;(function(e){e[e.NoChildren=0]="NoChildren";const r=1;e[e.OneChild=r]="OneChild";const s=r+1;e[e.StaticChildren=s]="StaticChildren";const i=s+1;e[e.KeyAfterPropSpread=i]="KeyAfterPropSpread"})(ht||(ht={}));function Ia(e){const t=e.identifierRole;return t===X.TopLevelDeclaration||t===X.FunctionScopedDeclaration||t===X.BlockScopedDeclaration||t===X.ObjectShorthandTopLevelDeclaration||t===X.ObjectShorthandFunctionScopedDeclaration||t===X.ObjectShorthandBlockScopedDeclaration}function gl(e){const t=e.identifierRole;return t===X.FunctionScopedDeclaration||t===X.BlockScopedDeclaration||t===X.ObjectShorthandFunctionScopedDeclaration||t===X.ObjectShorthandBlockScopedDeclaration}function Ea(e){const t=e.identifierRole;return t===X.TopLevelDeclaration||t===X.ObjectShorthandTopLevelDeclaration||t===X.ImportDeclaration}function xl(e){const t=e.identifierRole;return t===X.TopLevelDeclaration||t===X.BlockScopedDeclaration||t===X.ObjectShorthandTopLevelDeclaration||t===X.ObjectShorthandBlockScopedDeclaration}function kl(e){const t=e.identifierRole;return t===X.FunctionScopedDeclaration||t===X.ObjectShorthandFunctionScopedDeclaration}function bl(e){return e.identifierRole===X.ObjectShorthandTopLevelDeclaration||e.identifierRole===X.ObjectShorthandBlockScopedDeclaration||e.identifierRole===X.ObjectShorthandFunctionScopedDeclaration}let $n=class{constructor(){this.type=a.type,this.contextualKeyword=a.contextualKeyword,this.start=a.start,this.end=a.end,this.scopeDepth=a.scopeDepth,this.isType=a.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};function w(){a.tokens.push(new $n),Pa()}function Bt(){a.tokens.push(new $n),a.start=a.pos,Ml()}function yl(){a.type===n.assign&&--a.pos,Ll()}function ie(e){for(let r=a.tokens.length-e;r<a.tokens.length;r++)a.tokens[r].isType=!0;const t=a.isType;return a.isType=!0,t}function se(e){a.isType=e}function k(e){return p(e)?(w(),!0):!1}function Ca(e){const t=a.isType;a.isType=!0,k(e),a.isType=t}function p(e){return a.type===e}function Ne(){const e=a.snapshot();w();const t=a.type;return a.restoreFromSnapshot(e),t}class vl{constructor(t,r){this.type=t,this.contextualKeyword=r}}function an(){const e=a.snapshot();w();const t=a.type,r=a.contextualKeyword;return a.restoreFromSnapshot(e),new vl(t,r)}function Gs(){return Ta(a.pos)}function Ta(e){ji.lastIndex=e;const t=ji.exec(N);return e+t[0].length}function Aa(){return N.charCodeAt(Gs())}function Pa(){if(Ra(),a.start=a.pos,a.pos>=N.length){const e=a.tokens;e.length>=2&&e[e.length-1].start>=N.length&&e[e.length-2].start>=N.length&&te("Unexpectedly reached the end of input."),ee(n.eof);return}wl(N.charCodeAt(a.pos))}function wl(e){sn[e]||e===g.backslash||e===g.atSign&&N.charCodeAt(a.pos+1)===g.atSign?ml():Oa(e)}function _l(){for(;N.charCodeAt(a.pos)!==g.asterisk||N.charCodeAt(a.pos+1)!==g.slash;)if(a.pos++,a.pos>N.length){te("Unterminated comment",a.pos-2);return}a.pos+=2}function Na(e){let t=N.charCodeAt(a.pos+=e);if(a.pos<N.length)for(;t!==g.lineFeed&&t!==g.carriageReturn&&t!==g.lineSeparator&&t!==g.paragraphSeparator&&++a.pos<N.length;)t=N.charCodeAt(a.pos)}function Ra(){for(;a.pos<N.length;){const e=N.charCodeAt(a.pos);switch(e){case g.carriageReturn:N.charCodeAt(a.pos+1)===g.lineFeed&&++a.pos;case g.lineFeed:case g.lineSeparator:case g.paragraphSeparator:++a.pos;break;case g.slash:switch(N.charCodeAt(a.pos+1)){case g.asterisk:a.pos+=2,_l();break;case g.slash:Na(2);break;default:return}break;default:if(Sa[e])++a.pos;else return}}}function ee(e,t=d.NONE){a.end=a.pos,a.type=e,a.contextualKeyword=t}function Sl(){const e=N.charCodeAt(a.pos+1);if(e>=g.digit0&&e<=g.digit9){Ma(!0);return}e===g.dot&&N.charCodeAt(a.pos+2)===g.dot?(a.pos+=3,ee(n.ellipsis)):(++a.pos,ee(n.dot))}function Il(){N.charCodeAt(a.pos+1)===g.equalsTo?ke(n.assign,2):ke(n.slash,1)}function El(e){let t=e===g.asterisk?n.star:n.modulo,r=1,s=N.charCodeAt(a.pos+1);e===g.asterisk&&s===g.asterisk&&(r++,s=N.charCodeAt(a.pos+2),t=n.exponent),s===g.equalsTo&&N.charCodeAt(a.pos+2)!==g.greaterThan&&(r++,t=n.assign),ke(t,r)}function Cl(e){const t=N.charCodeAt(a.pos+1);if(t===e){N.charCodeAt(a.pos+2)===g.equalsTo?ke(n.assign,3):ke(e===g.verticalBar?n.logicalOR:n.logicalAND,2);return}if(e===g.verticalBar){if(t===g.greaterThan){ke(n.pipeline,2);return}else if(t===g.rightCurlyBrace&&xe){ke(n.braceBarR,2);return}}if(t===g.equalsTo){ke(n.assign,2);return}ke(e===g.verticalBar?n.bitwiseOR:n.bitwiseAND,1)}function Tl(){N.charCodeAt(a.pos+1)===g.equalsTo?ke(n.assign,2):ke(n.bitwiseXOR,1)}function Al(e){const t=N.charCodeAt(a.pos+1);if(t===e){ke(n.preIncDec,2);return}t===g.equalsTo?ke(n.assign,2):e===g.plusSign?ke(n.plus,1):ke(n.minus,1)}function Pl(){const e=N.charCodeAt(a.pos+1);if(e===g.lessThan){if(N.charCodeAt(a.pos+2)===g.equalsTo){ke(n.assign,3);return}a.isType?ke(n.lessThan,1):ke(n.bitShiftL,2);return}e===g.equalsTo?ke(n.relationalOrEqual,2):ke(n.lessThan,1)}function La(){if(a.isType){ke(n.greaterThan,1);return}const e=N.charCodeAt(a.pos+1);if(e===g.greaterThan){const t=N.charCodeAt(a.pos+2)===g.greaterThan?3:2;if(N.charCodeAt(a.pos+t)===g.equalsTo){ke(n.assign,t+1);return}ke(n.bitShiftR,t);return}e===g.equalsTo?ke(n.relationalOrEqual,2):ke(n.greaterThan,1)}function Da(){a.type===n.greaterThan&&(a.pos-=1,La())}function Nl(e){const t=N.charCodeAt(a.pos+1);if(t===g.equalsTo){ke(n.equality,N.charCodeAt(a.pos+2)===g.equalsTo?3:2);return}if(e===g.equalsTo&&t===g.greaterThan){a.pos+=2,ee(n.arrow);return}ke(e===g.equalsTo?n.eq:n.bang,1)}function Rl(){const e=N.charCodeAt(a.pos+1),t=N.charCodeAt(a.pos+2);e===g.questionMark&&!(xe&&a.isType)?t===g.equalsTo?ke(n.assign,3):ke(n.nullishCoalescing,2):e===g.dot&&!(t>=g.digit0&&t<=g.digit9)?(a.pos+=2,ee(n.questionDot)):(++a.pos,ee(n.question))}function Oa(e){switch(e){case g.numberSign:++a.pos,ee(n.hash);return;case g.dot:Sl();return;case g.leftParenthesis:++a.pos,ee(n.parenL);return;case g.rightParenthesis:++a.pos,ee(n.parenR);return;case g.semicolon:++a.pos,ee(n.semi);return;case g.comma:++a.pos,ee(n.comma);return;case g.leftSquareBracket:++a.pos,ee(n.bracketL);return;case g.rightSquareBracket:++a.pos,ee(n.bracketR);return;case g.leftCurlyBrace:xe&&N.charCodeAt(a.pos+1)===g.verticalBar?ke(n.braceBarL,2):(++a.pos,ee(n.braceL));return;case g.rightCurlyBrace:++a.pos,ee(n.braceR);return;case g.colon:N.charCodeAt(a.pos+1)===g.colon?ke(n.doubleColon,2):(++a.pos,ee(n.colon));return;case g.questionMark:Rl();return;case g.atSign:++a.pos,ee(n.at);return;case g.graveAccent:++a.pos,ee(n.backQuote);return;case g.digit0:{const t=N.charCodeAt(a.pos+1);if(t===g.lowercaseX||t===g.uppercaseX||t===g.lowercaseO||t===g.uppercaseO||t===g.lowercaseB||t===g.uppercaseB){Dl();return}}case g.digit1:case g.digit2:case g.digit3:case g.digit4:case g.digit5:case g.digit6:case g.digit7:case g.digit8:case g.digit9:Ma(!1);return;case g.quotationMark:case g.apostrophe:Ol(e);return;case g.slash:Il();return;case g.percentSign:case g.asterisk:El(e);return;case g.verticalBar:case g.ampersand:Cl(e);return;case g.caret:Tl();return;case g.plusSign:case g.dash:Al(e);return;case g.lessThan:Pl();return;case g.greaterThan:La();return;case g.equalsTo:case g.exclamationMark:Nl(e);return;case g.tilde:ke(n.tilde,1);return}te(`Unexpected character '${String.fromCharCode(e)}'`,a.pos)}function ke(e,t){a.pos+=t,ee(e)}function Ll(){const e=a.pos;let t=!1,r=!1;for(;;){if(a.pos>=N.length){te("Unterminated regular expression",e);return}const s=N.charCodeAt(a.pos);if(t)t=!1;else{if(s===g.leftSquareBracket)r=!0;else if(s===g.rightSquareBracket&&r)r=!1;else if(s===g.slash&&!r)break;t=s===g.backslash}++a.pos}++a.pos,jl(),ee(n.regexp)}function gs(){for(;;){const e=N.charCodeAt(a.pos);if(e>=g.digit0&&e<=g.digit9||e===g.underscore)a.pos++;else break}}function Dl(){for(a.pos+=2;;){const t=N.charCodeAt(a.pos);if(t>=g.digit0&&t<=g.digit9||t>=g.lowercaseA&&t<=g.lowercaseF||t>=g.uppercaseA&&t<=g.uppercaseF||t===g.underscore)a.pos++;else break}N.charCodeAt(a.pos)===g.lowercaseN?(++a.pos,ee(n.bigint)):ee(n.num)}function Ma(e){let t=!1,r=!1;e||gs();let s=N.charCodeAt(a.pos);if(s===g.dot&&(++a.pos,gs(),s=N.charCodeAt(a.pos)),(s===g.uppercaseE||s===g.lowercaseE)&&(s=N.charCodeAt(++a.pos),(s===g.plusSign||s===g.dash)&&++a.pos,gs(),s=N.charCodeAt(a.pos)),s===g.lowercaseN?(++a.pos,t=!0):s===g.lowercaseM&&(++a.pos,r=!0),t){ee(n.bigint);return}if(r){ee(n.decimal);return}ee(n.num)}function Ol(e){for(a.pos++;;){if(a.pos>=N.length){te("Unterminated string constant");return}const t=N.charCodeAt(a.pos);if(t===g.backslash)a.pos++;else if(t===e)break;a.pos++}a.pos++,ee(n.string)}function Ml(){for(;;){if(a.pos>=N.length){te("Unterminated template");return}const e=N.charCodeAt(a.pos);if(e===g.graveAccent||e===g.dollarSign&&N.charCodeAt(a.pos+1)===g.leftCurlyBrace){if(a.pos===a.start&&p(n.template))if(e===g.dollarSign){a.pos+=2,ee(n.dollarBraceL);return}else{++a.pos,ee(n.backQuote);return}ee(n.template);return}e===g.backslash&&a.pos++,a.pos++}}function jl(){for(;a.pos<N.length;){const e=N.charCodeAt(a.pos);if(ft[e])a.pos++;else if(e===g.backslash){if(a.pos+=2,N.charCodeAt(a.pos)===g.leftCurlyBrace){for(;a.pos<N.length&&N.charCodeAt(a.pos)!==g.rightCurlyBrace;)a.pos++;a.pos++}}else break}}function Qr(e,t=e.currentIndex()){let r=t+1;if(gn(e,r)){const s=e.identifierNameAtIndex(t);return{isType:!1,leftName:s,rightName:s,endIndex:r}}if(r++,gn(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};if(r++,gn(e,r))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:r};if(r++,gn(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};throw new Error(`Unexpected import/export specifier at ${t}`)}function gn(e,t){const r=e.tokens[t];return r.type===n.braceR||r.type===n.comma}const Fl=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp"," "],["iexcl","¡"],["cent","¢"],["pound","£"],["curren","¤"],["yen","¥"],["brvbar","¦"],["sect","§"],["uml","¨"],["copy","©"],["ordf","ª"],["laquo","«"],["not","¬"],["shy","­"],["reg","®"],["macr","¯"],["deg","°"],["plusmn","±"],["sup2","²"],["sup3","³"],["acute","´"],["micro","µ"],["para","¶"],["middot","·"],["cedil","¸"],["sup1","¹"],["ordm","º"],["raquo","»"],["frac14","¼"],["frac12","½"],["frac34","¾"],["iquest","¿"],["Agrave","À"],["Aacute","Á"],["Acirc","Â"],["Atilde","Ã"],["Auml","Ä"],["Aring","Å"],["AElig","Æ"],["Ccedil","Ç"],["Egrave","È"],["Eacute","É"],["Ecirc","Ê"],["Euml","Ë"],["Igrave","Ì"],["Iacute","Í"],["Icirc","Î"],["Iuml","Ï"],["ETH","Ð"],["Ntilde","Ñ"],["Ograve","Ò"],["Oacute","Ó"],["Ocirc","Ô"],["Otilde","Õ"],["Ouml","Ö"],["times","×"],["Oslash","Ø"],["Ugrave","Ù"],["Uacute","Ú"],["Ucirc","Û"],["Uuml","Ü"],["Yacute","Ý"],["THORN","Þ"],["szlig","ß"],["agrave","à"],["aacute","á"],["acirc","â"],["atilde","ã"],["auml","ä"],["aring","å"],["aelig","æ"],["ccedil","ç"],["egrave","è"],["eacute","é"],["ecirc","ê"],["euml","ë"],["igrave","ì"],["iacute","í"],["icirc","î"],["iuml","ï"],["eth","ð"],["ntilde","ñ"],["ograve","ò"],["oacute","ó"],["ocirc","ô"],["otilde","õ"],["ouml","ö"],["divide","÷"],["oslash","ø"],["ugrave","ù"],["uacute","ú"],["ucirc","û"],["uuml","ü"],["yacute","ý"],["thorn","þ"],["yuml","ÿ"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function ja(e){const[t,r]=Bi(e.jsxPragma||"React.createElement"),[s,i]=Bi(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:r,fragmentBase:s,fragmentSuffix:i}}function Bi(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}class dt{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class Kt extends dt{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,r,s,i,o){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=s,this.nameManager=i,this.options=o,Kt.prototype.__init.call(this),Kt.prototype.__init2.call(this),Kt.prototype.__init3.call(this),Kt.prototype.__init4.call(this),Kt.prototype.__init5.call(this),this.jsxPragmaInfo=ja(o),this.isAutomaticRuntime=o.jsxRuntime==="automatic",this.jsxImportSource=o.jsxImportSource||"react"}process(){return this.tokens.matches1(n.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[r,s]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${s} = require("${r}");`;else{const{createElement:r,...s}=this.esmAutomaticImportNameResolutions;r&&(t+=`import {createElement as ${r}} from "${this.jsxImportSource}";`);const i=Object.entries(s).map(([o,c])=>`${o} as ${c}`).join(", ");if(i){const o=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${i}} from "${o}";`}}return t}processJSXTag(){const{jsxRole:t,start:r}=this.tokens.currentToken(),s=this.options.production?null:this.getElementLocationCode(r);this.isAutomaticRuntime&&t!==ht.KeyAfterPropSpread?this.transformTagToJSXFunc(s,t):this.transformTagToCreateElement(s)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){const r=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<r.length;)r[this.lastIndex]===`
57
57
  `&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,r){const s=r===ht.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(s));let i=null;if(this.tokens.matches1(n.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(r);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),i=this.processProps(!0),this.tokens.matches2(n.slash,n.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(n.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(r);else throw new Error("Expected either /> or > at the end of the tag.");i&&this.tokens.appendCode(`, ${i}`)}for(this.options.production||(i===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${s}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(n.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(n.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(n.slash,n.jsxTagEnd))if(this.tokens.matches1(n.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(n.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,r){const s=this.claimAutoImportedName(t,r);return this.importProcessor?`${s}.call(void 0, `:`${s}(`}claimAutoImportedName(t,r){if(this.importProcessor){const s=this.jsxImportSource+r;return this.cjsAutomaticModuleNameResolutions[s]||(this.cjsAutomaticModuleNameResolutions[s]=this.importProcessor.getFreeIdentifierForPath(s)),`${this.cjsAutomaticModuleNameResolutions[s]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,n.jsxName,n.jsxName)&&!this.tokens.matches2AtIndex(t-1,n.greaterThan,n.jsxName)&&!this.tokens.matches1AtIndex(t,n.braceL)&&!this.tokens.matches1AtIndex(t,n.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,n.slash,n.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){const r=this.tokens.identifierName();Fa(r)&&this.tokens.replaceToken(`'${r}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){const r=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(n.jsxName)&&!this.tokens.matches1(n.braceL)){r?this.tokens.appendCode(`, {${r}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),r?this.tokens.appendCode(` ${r}}`):this.tokens.appendCode("}")}processProps(t){let r=null;for(;;){if(this.tokens.matches2(n.jsxName,n.eq)){const s=this.tokens.identifierName();if(t&&s==="key"){r!==null&&this.tokens.appendCode(r.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();const i=this.tokens.snapshot();this.processPropValue(),r=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(i);continue}else this.processPropName(s),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(n.jsxName)){const s=this.tokens.identifierName();this.processPropName(s),this.tokens.appendCode(": true")}else if(this.tokens.matches1(n.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return r}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(n.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(n.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){const t=this.tokens.currentToken(),r=this.tokens.code.slice(t.start+1,t.end-1),s=Vi(r),i=Vl(r);this.tokens.replaceToken(i+s)}processAutomaticChildrenAndEndProps(t){t===ht.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===ht.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let r=t;for(;;){if(this.tokens.matches2(n.jsxTagStart,n.slash))return;let s=!1;if(this.tokens.matches1(n.braceL))this.tokens.matches2(n.braceL,n.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(r?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),s=!0);else if(this.tokens.matches1(n.jsxTagStart))this.tokens.appendCode(r?", ":""),this.processJSXTag(),s=!0;else if(this.tokens.matches1(n.jsxText)||this.tokens.matches1(n.jsxEmptyText))s=this.processChildTextElement(r);else throw new Error("Unexpected token when processing JSX children.");s&&(r=!0)}}processChildTextElement(t){const r=this.tokens.currentToken(),s=this.tokens.code.slice(r.start,r.end),i=Vi(s),o=Bl(s);return o==='""'?(this.tokens.replaceToken(i),!1):(this.tokens.replaceToken(`${t?", ":""}${o}${i}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}}function Fa(e){const t=e.charCodeAt(0);return t>=g.lowercaseA&&t<=g.lowercaseZ}function Bl(e){let t="",r="",s=!1,i=!1;for(let o=0;o<e.length;o++){const c=e[o];if(c===" "||c===" "||c==="\r")s||(r+=c);else if(c===`
58
58
  `)r="",s=!0;else{if(i&&s&&(t+=" "),t+=r,r="",c==="&"){const{entity:u,newI:h}=Ba(e,o+1);o=h-1,t+=u}else t+=c;i=!0,s=!1}}return s||(t+=r),JSON.stringify(t)}function Vi(e){let t=0,r=0;for(const s of e)s===`
59
59
  `?(t++,r=0):s===" "&&r++;return`
@@ -191,22 +191,22 @@ ${r.map(({variableName:s,uniqueLocalName:i})=>` reactHotLoader.register(${s}, "
191
191
  Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),aa(t.onToken)){var s=t.onToken;t.onToken=function(i){return s.push(i)}}if(aa(t.onComment)&&(t.onComment=wd(t,t.onComment)),t.sourceType==="commonjs"&&t.allowAwaitOutsideFunction)throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return t}function wd(e,t){return function(r,s,i,o,c,u){var h={type:r?"Block":"Line",value:s,start:i,end:o};e.locations&&(h.loc=new Xn(this,c,u)),e.ranges&&(h.range=[i,o]),t.push(h)}}var nr=1,ar=2,vi=4,qo=8,wi=16,Uo=32,Yn=64,zo=128,or=256,pn=512,Ho=1024,Kn=nr|ar|or;function _i(e,t){return ar|(e?vi:0)|(t?qo:0)}var Ln=0,Si=1,Ot=2,Wo=3,Go=4,Xo=5,Ve=function(t,r,s){this.options=t=vd(t),this.sourceFile=t.sourceFile,this.keywords=Vt(dd[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=ws[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=Vt(i);var o=(i?i+" ":"")+ws.strict;this.reservedWordsStrict=Vt(o),this.reservedWordsStrictBind=Vt(o+" "+ws.strictBind),this.input=String(r),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(`
192
192
  `,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Je).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=l.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?ar:nr),this.regexpState=null,this.privateNameStack=[]},ot={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};Ve.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};ot.inFunction.get=function(){return(this.currentVarScope().flags&ar)>0};ot.inGenerator.get=function(){return(this.currentVarScope().flags&qo)>0};ot.inAsync.get=function(){return(this.currentVarScope().flags&vi)>0};ot.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(or|pn))return!1;if(r&ar)return(r&vi)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};ot.allowReturn.get=function(){return!!(this.inFunction||this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&nr)};ot.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&Yn)>0||this.options.allowSuperOutsideMethod};ot.allowDirectSuper.get=function(){return(this.currentThisScope().flags&zo)>0};ot.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ot.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(or|pn)||r&ar&&!(r&wi))return!0}return!1};ot.allowUsing.get=function(){var e=this.currentScope(),t=e.flags;return!(t&Ho||!this.inModule&&t&nr)};ot.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&or)>0};Ve.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var s=this,i=0;i<t.length;i++)s=t[i](s);return s};Ve.parse=function(t,r){return new this(r,t).parse()};Ve.parseExpressionAt=function(t,r,s){var i=new this(s,t,r);return i.nextToken(),i.parseExpression()};Ve.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(Ve.prototype,ot);var Ye=Ve.prototype,_d=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Ye.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){He.lastIndex=e,e+=He.exec(this.input)[0].length;var t=_d.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){He.lastIndex=e+t[0].length;var r=He.exec(this.input),s=r.index+r[0].length,i=this.input.charAt(s);return i===";"||i==="}"||Je.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length,He.lastIndex=e,e+=He.exec(this.input)[0].length,this.input[e]===";"&&e++}};Ye.eat=function(e){return this.type===e?(this.next(),!0):!1};Ye.isContextual=function(e){return this.type===l.name&&this.value===e&&!this.containsEsc};Ye.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};Ye.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};Ye.canInsertSemicolon=function(){return this.type===l.eof||this.type===l.braceR||Je.test(this.input.slice(this.lastTokEnd,this.start))};Ye.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};Ye.semicolon=function(){!this.eat(l.semi)&&!this.insertSemicolon()&&this.unexpected()};Ye.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};Ye.expect=function(e){this.eat(e)||this.unexpected()};Ye.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Qn=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Ye.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};Ye.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,s=e.doubleProto;if(!t)return r>=0||s>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")};Ye.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};Ye.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var $=Ve.prototype;$.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==l.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var s=0,i=Object.keys(this.undefinedExports);s<i.length;s+=1){var o=i[s];this.raiseRecoverable(this.undefinedExports[o].start,"Export '"+o+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(e,"Program")};var Ii={kind:"loop"},Sd={kind:"switch"};$.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;He.lastIndex=this.pos;var t=He.exec(this.input),r=this.pos+t[0].length,s=this.fullCharCodeAt(r);if(s===91||s===92)return!0;if(e)return!1;if(s===123)return!0;if(Et(s)){var i=r;do r+=s<=65535?1:2;while(Ht(s=this.fullCharCodeAt(r)));if(s===92)return!0;var o=this.input.slice(i,r);if(!jo.test(o))return!0}return!1};$.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;He.lastIndex=this.pos;var e=He.exec(this.input),t=this.pos+e[0].length,r;return!Je.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(Ht(r=this.fullCharCodeAt(t+8))||r===92))};$.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;He.lastIndex=this.pos;var r=He.exec(this.input),s=this.pos+r[0].length;if(Je.test(this.input.slice(this.pos,s)))return!1;if(e){var i=s+5,o;if(this.input.slice(s,i)!=="using"||i===this.input.length||Ht(o=this.fullCharCodeAt(i))||o===92)return!1;He.lastIndex=i;var c=He.exec(this.input);if(s=i+c[0].length,c&&Je.test(this.input.slice(i,s)))return!1}var u=this.fullCharCodeAt(s);if(!Et(u)&&u!==92)return!1;var h=s;do s+=u<=65535?1:2;while(Ht(u=this.fullCharCodeAt(s)));if(u===92)return!0;var f=this.input.slice(h,s);return!(jo.test(f)||t&&f==="of")};$.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};$.isUsing=function(e){return this.isUsingKeyword(!1,e)};$.parseStatement=function(e,t,r){var s=this.type,i=this.startNode(),o;switch(this.isLet(e)&&(s=l._var,o="let"),s){case l._break:case l._continue:return this.parseBreakContinueStatement(i,s.keyword);case l._debugger:return this.parseDebuggerStatement(i);case l._do:return this.parseDoStatement(i);case l._for:return this.parseForStatement(i);case l._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case l._class:return e&&this.unexpected(),this.parseClass(i,!0);case l._if:return this.parseIfStatement(i);case l._return:return this.parseReturnStatement(i);case l._switch:return this.parseSwitchStatement(i);case l._throw:return this.parseThrowStatement(i);case l._try:return this.parseTryStatement(i);case l._const:case l._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(i,o);case l._while:return this.parseWhileStatement(i);case l._with:return this.parseWithStatement(i);case l.braceL:return this.parseBlock(!0,i);case l.semi:return this.parseEmptyStatement(i);case l._export:case l._import:if(this.options.ecmaVersion>10&&s===l._import){He.lastIndex=this.pos;var c=He.exec(this.input),u=this.pos+c[0].length,h=this.input.charCodeAt(u);if(h===40||h===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===l._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var f=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(f)return this.allowUsing||this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"),f==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(i,!1,f),this.semicolon(),this.finishNode(i,"VariableDeclaration");var m=this.value,x=this.parseExpression();return s===l.name&&x.type==="Identifier"&&this.eat(l.colon)?this.parseLabeledStatement(i,m,x,e):this.parseExpressionStatement(i,x)}};$.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(l.semi)||this.insertSemicolon()?e.label=null:this.type!==l.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var s=0;s<this.labels.length;++s){var i=this.labels[s];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(r||i.kind==="loop")||e.label&&r))break}return s===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};$.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};$.parseDoStatement=function(e){return this.next(),this.labels.push(Ii),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(l._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(l.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};$.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ii),this.enterScope(0),this.expect(l.parenL),this.type===l.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===l._var||this.type===l._const||r){var s=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(s,!0,i),this.finishNode(s,"VariableDeclaration"),this.parseForAfterInit(e,s,t)}var o=this.isContextual("let"),c=!1,u=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(u){var h=this.startNode();return this.next(),u==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.parseVar(h,!0,u),this.finishNode(h,"VariableDeclaration"),this.parseForAfterInit(e,h,t)}var f=this.containsEsc,m=new Qn,x=this.start,_=t>-1?this.parseExprSubscripts(m,"await"):this.parseExpression(!0,m);return this.type===l._in||(c=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===l._in&&this.unexpected(t),e.await=!0):c&&this.options.ecmaVersion>=8&&(_.start===x&&!f&&_.type==="Identifier"&&_.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),o&&c&&this.raise(_.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(_,!1,m),this.checkLValPattern(_),this.parseForIn(e,_)):(this.checkExpressionErrors(m,!0),t>-1&&this.unexpected(t),this.parseFor(e,_))};$.parseForAfterInit=function(e,t,r){return(this.type===l._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===l._in?r>-1&&this.unexpected(r):e.await=r>-1),this.parseForIn(e,t)):(r>-1&&this.unexpected(r),this.parseFor(e,t))};$.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Wr|(r?0:qs),!1,t)};$.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(l._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};$.parseReturnStatement=function(e){return this.allowReturn||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(l.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};$.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(l.braceL),this.labels.push(Sd),this.enterScope(Ho);for(var t,r=!1;this.type!==l.braceR;)if(this.type===l._case||this.type===l._default){var s=this.type===l._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),s?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(l.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};$.parseThrowStatement=function(e){return this.next(),Je.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Id=[];$.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?Uo:0),this.checkLValPattern(e,t?Go:Ot),this.expect(l.parenR),e};$.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===l._catch){var t=this.startNode();this.next(),this.eat(l.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(l._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};$.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")};$.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ii),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};$.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};$.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};$.parseLabeledStatement=function(e,t,r,s){for(var i=0,o=this.labels;i<o.length;i+=1){var c=o[i];c.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===l._switch?"switch":null,h=this.labels.length-1;h>=0;h--){var f=this.labels[h];if(f.statementStart===e.start)f.statementStart=this.start,f.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};$.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};$.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(l.braceL),e&&this.enterScope(0);this.type!==l.braceR;){var s=this.parseStatement(null);t.body.push(s)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};$.parseFor=function(e,t){return e.init=t,this.expect(l.semi),e.test=this.type===l.semi?null:this.parseExpression(),this.expect(l.semi),e.update=this.type===l.parenR?null:this.parseExpression(),this.expect(l.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};$.parseForIn=function(e,t){var r=this.type===l._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(l.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};$.parseVar=function(e,t,r,s){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(l.eq)?i.init=this.parseMaybeAssign(t):!s&&r==="const"&&!(this.type===l._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!s&&(r==="using"||r==="await using")&&this.options.ecmaVersion>=17&&this.type!==l._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+r+" declaration"):!s&&i.id.type!=="Identifier"&&!(t&&(this.type===l._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(l.comma))break}return e};$.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Si:Ot,!1)};var Wr=1,qs=2,Yo=4;$.parseFunction=function(e,t,r,s,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===l.star&&t&qs&&this.unexpected(),e.generator=this.eat(l.star)),this.options.ecmaVersion>=8&&(e.async=!!s),t&Wr&&(e.id=t&Yo&&this.type!==l.name?null:this.parseIdent(),e.id&&!(t&qs)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Si:Ot:Wo));var o=this.yieldPos,c=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(_i(e.async,e.generator)),t&Wr||(e.id=this.type===l.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,i),this.yieldPos=o,this.awaitPos=c,this.awaitIdentPos=u,this.finishNode(e,t&Wr?"FunctionDeclaration":"FunctionExpression")};$.parseFunctionParams=function(e){this.expect(l.parenL),e.params=this.parseBindingList(l.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};$.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),i=this.startNode(),o=!1;for(i.body=[],this.expect(l.braceL);this.type!==l.braceR;){var c=this.parseClassElement(e.superClass!==null);c&&(i.body.push(c),c.type==="MethodDefinition"&&c.kind==="constructor"?(o&&this.raiseRecoverable(c.start,"Duplicate constructor in the same class"),o=!0):c.key&&c.key.type==="PrivateIdentifier"&&Ed(s,c)&&this.raiseRecoverable(c.key.start,"Identifier '#"+c.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};$.parseClassElement=function(e){if(this.eat(l.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),s="",i=!1,o=!1,c="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(l.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===l.star?u=!0:s="static"}if(r.static=u,!s&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===l.star)&&!this.canInsertSemicolon()?o=!0:s="async"),!s&&(t>=9||!o)&&this.eat(l.star)&&(i=!0),!s&&!o&&!i){var h=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?c=h:s=h)}if(s?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=s,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===l.parenL||c!=="method"||i||o){var f=!r.static&&Dn(r,"constructor"),m=f&&e;f&&c!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=f?"constructor":c,this.parseClassMethod(r,i,o,m)}else this.parseClassField(r);return r};$.isClassElementNameStart=function(){return this.type===l.name||this.type===l.privateId||this.type===l.num||this.type===l.string||this.type===l.bracketL||this.type.keyword};$.parseClassElementName=function(e){this.type===l.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};$.parseClassMethod=function(e,t,r,s){var i=e.key;e.kind==="constructor"?(t&&this.raise(i.start,"Constructor can't be a generator"),r&&this.raise(i.start,"Constructor can't be an async method")):e.static&&Dn(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var o=e.value=this.parseMethod(t,r,s);return e.kind==="get"&&o.params.length!==0&&this.raiseRecoverable(o.start,"getter should have no params"),e.kind==="set"&&o.params.length!==1&&this.raiseRecoverable(o.start,"setter should have exactly one param"),e.kind==="set"&&o.params[0].type==="RestElement"&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};$.parseClassField=function(e){return Dn(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Dn(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(l.eq)?(this.enterScope(pn|Yn),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};$.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(or|Yn);this.type!==l.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};$.parseClassId=function(e,t){this.type===l.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Ot,!1)):(t===!0&&this.unexpected(),e.id=null)};$.parseClassSuper=function(e){e.superClass=this.eat(l._extends)?this.parseExprSubscripts(null,!1):null};$.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};$.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var s=this.privateNameStack.length,i=s===0?null:this.privateNameStack[s-1],o=0;o<r.length;++o){var c=r[o];Er(t,c.name)||(i?i.used.push(c):this.raiseRecoverable(c.start,"Private field '#"+c.name+"' must be declared in an enclosing class"))}};function Ed(e,t){var r=t.key.name,s=e[r],i="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(i=(t.static?"s":"i")+t.kind),s==="iget"&&i==="iset"||s==="iset"&&i==="iget"||s==="sget"&&i==="sset"||s==="sset"&&i==="sget"?(e[r]="true",!1):s?!0:(e[r]=i,!1)}function Dn(e,t){var r=e.computed,s=e.key;return!r&&(s.type==="Identifier"&&s.name===t||s.type==="Literal"&&s.value===t)}$.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==l.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};$.parseExport=function(e,t){if(this.next(),this.eat(l.star))return this.parseExportAllDeclaration(e,t);if(this.eat(l._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==l.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,s=e.specifiers;r<s.length;r+=1){var i=s[r];this.checkUnreserved(i.local),this.checkLocalExport(i.local),i.local.type==="Literal"&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};$.parseExportDeclaration=function(e){return this.parseStatement(null)};$.parseExportDefaultDeclaration=function(){var e;if(this.type===l._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Wr|Yo,!1,e)}else if(this.type===l._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var s=this.parseMaybeAssign();return this.semicolon(),s}};$.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Er(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};$.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var s=0,i=t.properties;s<i.length;s+=1){var o=i[s];this.checkPatternExport(e,o)}else if(r==="ArrayPattern")for(var c=0,u=t.elements;c<u.length;c+=1){var h=u[c];h&&this.checkPatternExport(e,h)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)};$.checkVariableExport=function(e,t){if(e)for(var r=0,s=t;r<s.length;r+=1){var i=s[r];this.checkPatternExport(e,i.id)}};$.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};$.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};$.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(l.braceL);!this.eat(l.braceR);){if(r)r=!1;else if(this.expect(l.comma),this.afterTrailingComma(l.braceR))break;t.push(this.parseExportSpecifier(e))}return t};$.parseImport=function(e){return this.next(),this.type===l.string?(e.specifiers=Id,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===l.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};$.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,Ot),this.finishNode(e,"ImportSpecifier")};$.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,Ot),this.finishNode(e,"ImportDefaultSpecifier")};$.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,Ot),this.finishNode(e,"ImportNamespaceSpecifier")};$.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===l.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(l.comma)))return e;if(this.type===l.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(l.braceL);!this.eat(l.braceR);){if(t)t=!1;else if(this.expect(l.comma),this.afterTrailingComma(l.braceR))break;e.push(this.parseImportSpecifier())}return e};$.parseWithClause=function(){var e=[];if(!this.eat(l._with))return e;this.expect(l.braceL);for(var t={},r=!0;!this.eat(l.braceR);){if(r)r=!1;else if(this.expect(l.comma),this.afterTrailingComma(l.braceR))break;var s=this.parseImportAttribute(),i=s.key.type==="Identifier"?s.key.name:s.key.value;Er(t,i)&&this.raiseRecoverable(s.key.start,"Duplicate attribute key '"+i+"'"),t[i]=!0,e.push(s)}return e};$.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===l.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(l.colon),this.type!==l.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};$.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===l.string){var e=this.parseLiteral(this.value);return yd.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};$.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};$.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var ct=Ve.prototype;ct.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var s=0,i=e.properties;s<i.length;s+=1){var o=i[s];this.toAssignable(o,t),o.type==="RestElement"&&(o.argument.type==="ArrayPattern"||o.argument.type==="ObjectPattern")&&this.raise(o.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};ct.toAssignableList=function(e,t){for(var r=e.length,s=0;s<r;s++){var i=e[s];i&&this.toAssignable(i,t)}if(r){var o=e[r-1];this.options.ecmaVersion===6&&t&&o&&o.type==="RestElement"&&o.argument.type!=="Identifier"&&this.unexpected(o.argument.start)}return e};ct.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};ct.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==l.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};ct.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case l.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(l.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case l.braceL:return this.parseObj(!0)}return this.parseIdent()};ct.parseBindingList=function(e,t,r,s){for(var i=[],o=!0;!this.eat(e);)if(o?o=!1:this.expect(l.comma),t&&this.type===l.comma)i.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===l.ellipsis){var c=this.parseRestBinding();this.parseBindingListItem(c),i.push(c),this.type===l.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else i.push(this.parseAssignableListItem(s))}return i};ct.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};ct.parseBindingListItem=function(e){return e};ct.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(l.eq))return r;var s=this.startNodeAt(e,t);return s.left=r,s.right=this.parseMaybeAssign(),this.finishNode(s,"AssignmentPattern")};ct.checkLValSimple=function(e,t,r){t===void 0&&(t=Ln);var s=t!==Ln;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(s?"Binding ":"Assigning to ")+e.name+" in strict mode"),s&&(t===Ot&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Er(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==Xo&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":s&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return s&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(s?"Binding":"Assigning to")+" rvalue")}};ct.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=Ln),e.type){case"ObjectPattern":for(var s=0,i=e.properties;s<i.length;s+=1){var o=i[s];this.checkLValInnerPattern(o,t,r)}break;case"ArrayPattern":for(var c=0,u=e.elements;c<u.length;c+=1){var h=u[c];h&&this.checkLValInnerPattern(h,t,r)}break;default:this.checkLValSimple(e,t,r)}};ct.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=Ln),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var pt=function(t,r,s,i,o){this.token=t,this.isExpr=!!r,this.preserveSpace=!!s,this.override=i,this.generator=!!o},Pe={b_stat:new pt("{",!1),b_expr:new pt("{",!0),b_tmpl:new pt("${",!1),p_stat:new pt("(",!1),p_expr:new pt("(",!0),q_tmpl:new pt("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new pt("function",!1),f_expr:new pt("function",!0),f_expr_gen:new pt("function",!0,!1,null,!0),f_gen:new pt("function",!1,!1,null,!0)},Cr=Ve.prototype;Cr.initialContext=function(){return[Pe.b_stat]};Cr.curContext=function(){return this.context[this.context.length-1]};Cr.braceIsBlock=function(e){var t=this.curContext();return t===Pe.f_expr||t===Pe.f_stat?!0:e===l.colon&&(t===Pe.b_stat||t===Pe.b_expr)?!t.isExpr:e===l._return||e===l.name&&this.exprAllowed?Je.test(this.input.slice(this.lastTokEnd,this.start)):e===l._else||e===l.semi||e===l.eof||e===l.parenR||e===l.arrow?!0:e===l.braceL?t===Pe.b_stat:e===l._var||e===l._const||e===l.name?!1:!this.exprAllowed};Cr.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};Cr.updateContext=function(e){var t,r=this.type;r.keyword&&e===l.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};Cr.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};l.parenR.updateContext=l.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Pe.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};l.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Pe.b_stat:Pe.b_expr),this.exprAllowed=!0};l.dollarBraceL.updateContext=function(){this.context.push(Pe.b_tmpl),this.exprAllowed=!0};l.parenL.updateContext=function(e){var t=e===l._if||e===l._for||e===l._with||e===l._while;this.context.push(t?Pe.p_stat:Pe.p_expr),this.exprAllowed=!0};l.incDec.updateContext=function(){};l._function.updateContext=l._class.updateContext=function(e){e.beforeExpr&&e!==l._else&&!(e===l.semi&&this.curContext()!==Pe.p_stat)&&!(e===l._return&&Je.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===l.colon||e===l.braceL)&&this.curContext()===Pe.b_stat)?this.context.push(Pe.f_expr):this.context.push(Pe.f_stat),this.exprAllowed=!1};l.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};l.backQuote.updateContext=function(){this.curContext()===Pe.q_tmpl?this.context.pop():this.context.push(Pe.q_tmpl),this.exprAllowed=!1};l.star.updateContext=function(e){if(e===l._function){var t=this.context.length-1;this.context[t]===Pe.f_expr?this.context[t]=Pe.f_expr_gen:this.context[t]=Pe.f_gen}this.exprAllowed=!0};l.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==l.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var re=Ve.prototype;re.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var s=e.key,i;switch(s.type){case"Identifier":i=s.name;break;case"Literal":i=String(s.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&o==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var c=t[i];if(c){var u;o==="init"?u=this.strict&&c.init||c.get||c.set:u=c.init||c[o],u&&this.raiseRecoverable(s.start,"Redefinition of property")}else c=t[i]={init:!1,get:!1,set:!1};c[o]=!0}};re.parseExpression=function(e,t){var r=this.start,s=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===l.comma){var o=this.startNodeAt(r,s);for(o.expressions=[i];this.eat(l.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return i};re.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var s=!1,i=-1,o=-1,c=-1;t?(i=t.parenthesizedAssign,o=t.trailingComma,c=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Qn,s=!0);var u=this.start,h=this.startLoc;(this.type===l.parenL||this.type===l.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var f=this.parseMaybeConditional(e,t);if(r&&(f=r.call(this,f,u,h)),this.type.isAssign){var m=this.startNodeAt(u,h);return m.operator=this.value,this.type===l.eq&&(f=this.toAssignable(f,!1,t)),s||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=f.start&&(t.shorthandAssign=-1),this.type===l.eq?this.checkLValPattern(f):this.checkLValSimple(f),m.left=f,this.next(),m.right=this.parseMaybeAssign(e),c>-1&&(t.doubleProto=c),this.finishNode(m,"AssignmentExpression")}else s&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),o>-1&&(t.trailingComma=o),f};re.parseMaybeConditional=function(e,t){var r=this.start,s=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(l.question)){var o=this.startNodeAt(r,s);return o.test=i,o.consequent=this.parseMaybeAssign(),this.expect(l.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return i};re.parseExprOps=function(e,t){var r=this.start,s=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===r&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,r,s,-1,e)};re.parseExprOp=function(e,t,r,s,i){var o=this.type.binop;if(o!=null&&(!i||this.type!==l._in)&&o>s){var c=this.type===l.logicalOR||this.type===l.logicalAND,u=this.type===l.coalesce;u&&(o=l.logicalAND.binop);var h=this.value;this.next();var f=this.start,m=this.startLoc,x=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),f,m,o,i),_=this.buildBinary(t,r,e,x,h,c||u);return(c&&this.type===l.coalesce||u&&(this.type===l.logicalOR||this.type===l.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(_,t,r,s,i)}return e};re.buildBinary=function(e,t,r,s,i,o){s.type==="PrivateIdentifier"&&this.raise(s.start,"Private identifier can only be left side of binary expression");var c=this.startNodeAt(e,t);return c.left=r,c.operator=i,c.right=s,this.finishNode(c,o?"LogicalExpression":"BinaryExpression")};re.parseMaybeUnary=function(e,t,r,s){var i=this.start,o=this.startLoc,c;if(this.isContextual("await")&&this.canAwait)c=this.parseAwait(s),t=!0;else if(this.type.prefix){var u=this.startNode(),h=this.type===l.incDec;u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,h,s),this.checkExpressionErrors(e,!0),h?this.checkLValSimple(u.argument):this.strict&&u.operator==="delete"&&Ko(u.argument)?this.raiseRecoverable(u.start,"Deleting local variable in strict mode"):u.operator==="delete"&&Us(u.argument)?this.raiseRecoverable(u.start,"Private fields can not be deleted"):t=!0,c=this.finishNode(u,h?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===l.privateId)(s||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),c=this.parsePrivateIdent(),this.type!==l._in&&this.unexpected();else{if(c=this.parseExprSubscripts(e,s),this.checkExpressionErrors(e))return c;for(;this.type.postfix&&!this.canInsertSemicolon();){var f=this.startNodeAt(i,o);f.operator=this.value,f.prefix=!1,f.argument=c,this.checkLValSimple(c),this.next(),c=this.finishNode(f,"UpdateExpression")}}if(!r&&this.eat(l.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,o,c,this.parseMaybeUnary(null,!1,!1,s),"**",!1);else return c};function Ko(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&Ko(e.expression)}function Us(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&Us(e.expression)||e.type==="ParenthesizedExpression"&&Us(e.expression)}re.parseExprSubscripts=function(e,t){var r=this.start,s=this.startLoc,i=this.parseExprAtom(e,t);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var o=this.parseSubscripts(i,r,s,!1,t);return e&&o.type==="MemberExpression"&&(e.parenthesizedAssign>=o.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=o.start&&(e.parenthesizedBind=-1),e.trailingComma>=o.start&&(e.trailingComma=-1)),o};re.parseSubscripts=function(e,t,r,s,i){for(var o=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,c=!1;;){var u=this.parseSubscript(e,t,r,s,o,c,i);if(u.optional&&(c=!0),u===e||u.type==="ArrowFunctionExpression"){if(c){var h=this.startNodeAt(t,r);h.expression=u,u=this.finishNode(h,"ChainExpression")}return u}e=u}};re.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(l.arrow)};re.parseSubscriptAsyncArrow=function(e,t,r,s){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,s)};re.parseSubscript=function(e,t,r,s,i,o,c){var u=this.options.ecmaVersion>=11,h=u&&this.eat(l.questionDot);s&&h&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var f=this.eat(l.bracketL);if(f||h&&this.type!==l.parenL&&this.type!==l.backQuote||this.eat(l.dot)){var m=this.startNodeAt(t,r);m.object=e,f?(m.property=this.parseExpression(),this.expect(l.bracketR)):this.type===l.privateId&&e.type!=="Super"?m.property=this.parsePrivateIdent():m.property=this.parseIdent(this.options.allowReserved!=="never"),m.computed=!!f,u&&(m.optional=h),e=this.finishNode(m,"MemberExpression")}else if(!s&&this.eat(l.parenL)){var x=new Qn,_=this.yieldPos,y=this.awaitPos,L=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var j=this.parseExprList(l.parenR,this.options.ecmaVersion>=8,!1,x);if(i&&!h&&this.shouldParseAsyncArrow())return this.checkPatternErrors(x,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=_,this.awaitPos=y,this.awaitIdentPos=L,this.parseSubscriptAsyncArrow(t,r,j,c);this.checkExpressionErrors(x,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=y||this.awaitPos,this.awaitIdentPos=L||this.awaitIdentPos;var F=this.startNodeAt(t,r);F.callee=e,F.arguments=j,u&&(F.optional=h),e=this.finishNode(F,"CallExpression")}else if(this.type===l.backQuote){(h||o)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var ne=this.startNodeAt(t,r);ne.tag=e,ne.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(ne,"TaggedTemplateExpression")}return e};re.parseExprAtom=function(e,t,r){this.type===l.slash&&this.readRegexp();var s,i=this.potentialArrowAt===this.start;switch(this.type){case l._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),s=this.startNode(),this.next(),this.type===l.parenL&&!this.allowDirectSuper&&this.raise(s.start,"super() call outside constructor of a subclass"),this.type!==l.dot&&this.type!==l.bracketL&&this.type!==l.parenL&&this.unexpected(),this.finishNode(s,"Super");case l._this:return s=this.startNode(),this.next(),this.finishNode(s,"ThisExpression");case l.name:var o=this.start,c=this.startLoc,u=this.containsEsc,h=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&h.name==="async"&&!this.canInsertSemicolon()&&this.eat(l._function))return this.overrideContext(Pe.f_expr),this.parseFunction(this.startNodeAt(o,c),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(l.arrow))return this.parseArrowExpression(this.startNodeAt(o,c),[h],!1,t);if(this.options.ecmaVersion>=8&&h.name==="async"&&this.type===l.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return h=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(l.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(o,c),[h],!0,t)}return h;case l.regexp:var f=this.value;return s=this.parseLiteral(f.value),s.regex={pattern:f.pattern,flags:f.flags},s;case l.num:case l.string:return this.parseLiteral(this.value);case l._null:case l._true:case l._false:return s=this.startNode(),s.value=this.type===l._null?null:this.type===l._true,s.raw=this.type.keyword,this.next(),this.finishNode(s,"Literal");case l.parenL:var m=this.start,x=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(x)&&(e.parenthesizedAssign=m),e.parenthesizedBind<0&&(e.parenthesizedBind=m)),x;case l.bracketL:return s=this.startNode(),this.next(),s.elements=this.parseExprList(l.bracketR,!0,!0,e),this.finishNode(s,"ArrayExpression");case l.braceL:return this.overrideContext(Pe.b_expr),this.parseObj(!1,e);case l._function:return s=this.startNode(),this.next(),this.parseFunction(s,0);case l._class:return this.parseClass(this.startNode(),!1);case l._new:return this.parseNew();case l.backQuote:return this.parseTemplate();case l._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}};re.parseExprAtomDefault=function(){this.unexpected()};re.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===l.parenL&&!e)return this.parseDynamicImport(t);if(this.type===l.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};re.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(l.parenR)?e.options=null:(this.expect(l.comma),this.afterTrailingComma(l.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(l.parenR)||(this.expect(l.comma),this.afterTrailingComma(l.parenR)||this.unexpected())));else if(!this.eat(l.parenR)){var t=this.start;this.eat(l.comma)&&this.eat(l.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};re.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};re.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};re.parseParenExpression=function(){this.expect(l.parenL);var e=this.parseExpression();return this.expect(l.parenR),e};re.shouldParseArrow=function(e){return!this.canInsertSemicolon()};re.parseParenAndDistinguishExpression=function(e,t){var r=this.start,s=this.startLoc,i,o=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var c=this.start,u=this.startLoc,h=[],f=!0,m=!1,x=new Qn,_=this.yieldPos,y=this.awaitPos,L;for(this.yieldPos=0,this.awaitPos=0;this.type!==l.parenR;)if(f?f=!1:this.expect(l.comma),o&&this.afterTrailingComma(l.parenR,!0)){m=!0;break}else if(this.type===l.ellipsis){L=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===l.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else h.push(this.parseMaybeAssign(!1,x,this.parseParenItem));var j=this.lastTokEnd,F=this.lastTokEndLoc;if(this.expect(l.parenR),e&&this.shouldParseArrow(h)&&this.eat(l.arrow))return this.checkPatternErrors(x,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=_,this.awaitPos=y,this.parseParenArrowList(r,s,h,t);(!h.length||m)&&this.unexpected(this.lastTokStart),L&&this.unexpected(L),this.checkExpressionErrors(x,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=y||this.awaitPos,h.length>1?(i=this.startNodeAt(c,u),i.expressions=h,this.finishNodeAt(i,"SequenceExpression",j,F)):i=h[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var ne=this.startNodeAt(r,s);return ne.expression=i,this.finishNode(ne,"ParenthesizedExpression")}else return i};re.parseParenItem=function(e){return e};re.parseParenArrowList=function(e,t,r,s){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,s)};var Cd=[];re.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===l.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var s=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),s,i,!0,!1),this.eat(l.parenL)?e.arguments=this.parseExprList(l.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Cd,this.finishNode(e,"NewExpression")};re.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===l.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,`
193
193
  `),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
194
- `),cooked:this.value},this.next(),r.tail=this.type===l.backQuote,this.finishNode(r,"TemplateElement")};re.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var s=this.parseTemplateElement({isTagged:t});for(r.quasis=[s];!s.tail;)this.type===l.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(l.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(l.braceR),r.quasis.push(s=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};re.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===l.name||this.type===l.num||this.type===l.string||this.type===l.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===l.star)&&!Je.test(this.input.slice(this.lastTokEnd,this.start))};re.parseObj=function(e,t){var r=this.startNode(),s=!0,i={};for(r.properties=[],this.next();!this.eat(l.braceR);){if(s)s=!1;else if(this.expect(l.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(l.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};re.parseProperty=function(e,t){var r=this.startNode(),s,i,o,c;if(this.options.ecmaVersion>=9&&this.eat(l.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===l.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===l.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(o=this.start,c=this.startLoc),e||(s=this.eat(l.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(r)?(i=!0,s=this.options.ecmaVersion>=9&&this.eat(l.star),this.parsePropertyName(r)):i=!1,this.parsePropertyValue(r,e,s,i,o,c,t,u),this.finishNode(r,"Property")};re.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var s=e.value.start;e.kind==="get"?this.raiseRecoverable(s,"getter should have no params"):this.raiseRecoverable(s,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};re.parsePropertyValue=function(e,t,r,s,i,o,c,u){(r||s)&&this.type===l.colon&&this.unexpected(),this.eat(l.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,c),e.kind="init"):this.options.ecmaVersion>=6&&this.type===l.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,s),e.kind="init"):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==l.comma&&this.type!==l.braceR&&this.type!==l.eq?((r||s)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||s)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),t?e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key)):this.type===l.eq&&c?(c.shorthandAssign<0&&(c.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};re.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(l.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(l.bracketR),e.key;e.computed=!1}return e.key=this.type===l.num||this.type===l.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};re.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};re.parseMethod=function(e,t,r){var s=this.startNode(),i=this.yieldPos,o=this.awaitPos,c=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=e),this.options.ecmaVersion>=8&&(s.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(_i(t,s.generator)|Yn|(r?zo:0)),this.expect(l.parenL),s.params=this.parseBindingList(l.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=c,this.finishNode(s,"FunctionExpression")};re.parseArrowExpression=function(e,t,r,s){var i=this.yieldPos,o=this.awaitPos,c=this.awaitIdentPos;return this.enterScope(_i(r,!1)|wi),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,s),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=c,this.finishNode(e,"ArrowFunctionExpression")};re.parseFunctionBody=function(e,t,r,s){var i=t&&this.type!==l.braceL,o=this.strict,c=!1;if(i)e.body=this.parseMaybeAssign(s),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!o||u)&&(c=this.strictDirective(this.end),c&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var h=this.labels;this.labels=[],c&&(this.strict=!0),this.checkParams(e,!o&&!c&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,Xo),e.body=this.parseBlock(!1,void 0,c&&!o),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()};re.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var s=r[t];if(s.type!=="Identifier")return!1}return!0};re.checkParams=function(e,t){for(var r=Object.create(null),s=0,i=e.params;s<i.length;s+=1){var o=i[s];this.checkLValInnerPattern(o,Si,t?null:r)}};re.parseExprList=function(e,t,r,s){for(var i=[],o=!0;!this.eat(e);){if(o)o=!1;else if(this.expect(l.comma),t&&this.afterTrailingComma(e))break;var c=void 0;r&&this.type===l.comma?c=null:this.type===l.ellipsis?(c=this.parseSpread(s),s&&this.type===l.comma&&s.trailingComma<0&&(s.trailingComma=this.start)):c=this.parseMaybeAssign(!1,s),i.push(c)}return i};re.checkUnreserved=function(e){var t=e.start,r=e.end,s=e.name;if(this.inGenerator&&s==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&s==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&Kn)&&s==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(s==="arguments"||s==="await")&&this.raise(t,"Cannot use "+s+" in class static initialization block"),this.keywords.test(s)&&this.raise(t,"Unexpected keyword '"+s+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(s)&&(!this.inAsync&&s==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+s+"' is reserved"))}};re.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};re.parseIdentNode=function(){var e=this.startNode();return this.type===l.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=l.name):this.unexpected(),e};re.parsePrivateIdent=function(){var e=this.startNode();return this.type===l.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};re.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===l.semi||this.canInsertSemicolon()||this.type!==l.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(l.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};re.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var On=Ve.prototype;On.raise=function(e,t){var r=$o(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var s=new SyntaxError(t);throw s.pos=e,s.loc=r,s.raisedAt=this.pos,s};On.raiseRecoverable=On.raise;On.curPosition=function(){if(this.options.locations)return new rn(this.curLine,this.pos-this.lineStart)};var Gt=Ve.prototype,Td=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};Gt.enterScope=function(e){this.scopeStack.push(new Td(e))};Gt.exitScope=function(){this.scopeStack.pop()};Gt.treatFunctionsAsVarInScope=function(e){return e.flags&ar||!this.inModule&&e.flags&nr};Gt.declareName=function(e,t,r){var s=!1;if(t===Ot){var i=this.currentScope();s=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&nr&&delete this.undefinedExports[e]}else if(t===Go){var o=this.currentScope();o.lexical.push(e)}else if(t===Wo){var c=this.currentScope();this.treatFunctionsAsVar?s=c.lexical.indexOf(e)>-1:s=c.lexical.indexOf(e)>-1||c.var.indexOf(e)>-1,c.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var h=this.scopeStack[u];if(h.lexical.indexOf(e)>-1&&!(h.flags&Uo&&h.lexical[0]===e)||!this.treatFunctionsAsVarInScope(h)&&h.functions.indexOf(e)>-1){s=!0;break}if(h.var.push(e),this.inModule&&h.flags&nr&&delete this.undefinedExports[e],h.flags&Kn)break}s&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};Gt.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Gt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Gt.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(Kn|pn|or))return t}};Gt.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(Kn|pn|or)&&!(t.flags&wi))return t}};var Jn=function(t,r,s){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Xn(t,s)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},hn=Ve.prototype;hn.startNode=function(){return new Jn(this,this.start,this.startLoc)};hn.startNodeAt=function(e,t){return new Jn(this,e,t)};function Qo(e,t,r,s){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=s),this.options.ranges&&(e.range[1]=r),e}hn.finishNode=function(e,t){return Qo.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};hn.finishNodeAt=function(e,t,r,s){return Qo.call(this,e,t,r,s)};hn.copyNode=function(e){var t=new Jn(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var Ad="Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz",Jo="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Zo=Jo+" Extended_Pictographic",e1=Zo,t1=e1+" EBase EComp EMod EPres ExtPict",r1=t1,Pd=r1,Nd={9:Jo,10:Zo,11:e1,12:t1,13:r1,14:Pd},Rd="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Ld={9:"",10:"",11:"",12:"",13:"",14:Rd},la="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",n1="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",s1=n1+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",i1=s1+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",a1=i1+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",o1=a1+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Dd=o1+" "+Ad,Od={9:n1,10:s1,11:i1,12:a1,13:o1,14:Dd},c1={};function Md(e){var t=c1[e]={binary:Vt(Nd[e]+" "+la),binaryOfStrings:Vt(Ld[e]),nonBinary:{General_Category:Vt(la),Script:Vt(Od[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Ss=0,ua=[9,10,11,12,13,14];Ss<ua.length;Ss+=1){var jd=ua[Ss];Md(jd)}var V=Ve.prototype,Mn=function(t,r){this.parent=t,this.base=r||this};Mn.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var s=t;s;s=s.parent)if(r.base===s.base&&r!==s)return!0;return!1};Mn.prototype.sibling=function(){return new Mn(this.parent,this.base)};var Ct=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=c1[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Ct.prototype.reset=function(t,r,s){var i=s.indexOf("v")!==-1,o=s.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=s,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=o&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=o&&this.parser.options.ecmaVersion>=9)};Ct.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Ct.prototype.at=function(t,r){r===void 0&&(r=!1);var s=this.source,i=s.length;if(t>=i)return-1;var o=s.charCodeAt(t);if(!(r||this.switchU)||o<=55295||o>=57344||t+1>=i)return o;var c=s.charCodeAt(t+1);return c>=56320&&c<=57343?(o<<10)+c-56613888:o};Ct.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var s=this.source,i=s.length;if(t>=i)return i;var o=s.charCodeAt(t),c;return!(r||this.switchU)||o<=55295||o>=57344||t+1>=i||(c=s.charCodeAt(t+1))<56320||c>57343?t+1:t+2};Ct.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Ct.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Ct.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Ct.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};Ct.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var s=this.pos,i=0,o=t;i<o.length;i+=1){var c=o[i],u=this.at(s,r);if(u===-1||u!==c)return!1;s=this.nextIndex(s,r)}return this.pos=s,!0};V.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,s=!1,i=!1,o=0;o<r.length;o++){var c=r.charAt(o);t.indexOf(c)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(c,o+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),c==="u"&&(s=!0),c==="v"&&(i=!0)}this.options.ecmaVersion>=15&&s&&i&&this.raise(e.start,"Invalid regular expression flag")};function Fd(e){for(var t in e)return!0;return!1}V.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&Fd(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};V.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var s=r[t];e.groupNames[s]||e.raise("Invalid named capture referenced")}};V.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Mn(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};V.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};V.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};V.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};V.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};V.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};V.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var s=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<s&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};V.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};V.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};V.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),s=e.eat(45);if(r||s){for(var i=0;i<r.length;i++){var o=r.charAt(i);r.indexOf(o,i+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(s){var c=this.regexp_eatModifiers(e);!r&&!c&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var u=0;u<c.length;u++){var h=c.charAt(u);(c.indexOf(h,u+1)>-1||r.indexOf(h)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};V.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};V.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&Bd(r);)t+=Lt(r),e.advance();return t};function Bd(e){return e===105||e===109||e===115}V.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};V.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};V.regexp_eatSyntaxCharacter=function(e){var t=e.current();return l1(t)?(e.lastIntValue=t,e.advance(),!0):!1};function l1(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}V.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!l1(r);)e.advance();return e.pos!==t};V.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};V.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var s=0,i=r;s<i.length;s+=1){var o=i[s];o.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};V.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};V.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Lt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Lt(e.lastIntValue);return!0}return!1};V.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,s=e.current(r);return e.advance(r),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(s=e.lastIntValue),Vd(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Vd(e){return Et(e,!0)||e===36||e===95}V.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,s=e.current(r);return e.advance(r),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(s=e.lastIntValue),$d(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function $d(e){return Ht(e,!0)||e===36||e===95||e===8204||e===8205}V.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};V.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};V.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};V.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};V.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};V.regexp_eatZero=function(e){return e.current()===48&&!Zn(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};V.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};V.regexp_eatControlLetter=function(e){var t=e.current();return u1(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function u1(e){return e>=65&&e<=90||e>=97&&e<=122}V.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(s&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var c=e.lastIntValue;if(c>=56320&&c<=57343)return e.lastIntValue=(i-55296)*1024+(c-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&qd(e.lastIntValue))return!0;s&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function qd(e){return e>=0&&e<=1114111}V.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};V.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var p1=0,Dt=1,it=2;V.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Ud(t))return e.lastIntValue=-1,e.advance(),Dt;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var s;if(e.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&s===it&&e.raise("Invalid property name"),s;e.raise("Invalid property name")}return p1};function Ud(e){return e===100||e===68||e===115||e===83||e===119||e===87}V.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,s),Dt}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return p1};V.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Er(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};V.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Dt;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return it;e.raise("Invalid property name")};V.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";h1(t=e.current());)e.lastStringValue+=Lt(t),e.advance();return e.lastStringValue!==""};function h1(e){return u1(e)||e===95}V.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";zd(t=e.current());)e.lastStringValue+=Lt(t),e.advance();return e.lastStringValue!==""};function zd(e){return h1(e)||Zn(e)}V.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};V.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===it&&e.raise("Negated character class may contain strings"),!0}return!1};V.regexp_classContents=function(e){return e.current()===93?Dt:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Dt)};V.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};V.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||m1(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var s=e.current();return s!==93?(e.lastIntValue=s,e.advance(),!0):!1};V.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};V.regexp_classSetExpression=function(e){var t=Dt,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===it&&(t=it);for(var s=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==it&&(t=Dt);continue}e.raise("Invalid character in character class")}if(s!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(s!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===it&&(t=it)}};V.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var s=e.lastIntValue;return r!==-1&&s!==-1&&r>s&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};V.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Dt:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};V.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),s=this.regexp_classContents(e);if(e.eat(93))return r&&s===it&&e.raise("Negated character class may contain strings"),s;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null};V.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};V.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===it&&(t=it);return t};V.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Dt:it};V.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&Hd(r)||Wd(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function Hd(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function Wd(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}V.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return Gd(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Gd(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}V.regexp_eatClassControlLetter=function(e){var t=e.current();return Zn(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};V.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};V.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Zn(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Zn(e){return e>=48&&e<=57}V.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;f1(r=e.current());)e.lastIntValue=16*e.lastIntValue+d1(r),e.advance();return e.pos!==t};function f1(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function d1(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}V.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};V.regexp_eatOctalDigit=function(e){var t=e.current();return m1(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function m1(e){return e>=48&&e<=55}V.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var s=0;s<t;++s){var i=e.current();if(!f1(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+d1(i),e.advance()}return!0};var Ei=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Xn(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},pe=Ve.prototype;pe.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Ei(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};pe.getToken=function(){return this.next(),new Ei(this)};typeof Symbol<"u"&&(pe[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===l.eof,value:t}}}});pe.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(l.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};pe.readToken=function(e){return Et(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};pe.fullCharCodeAt=function(e){var t=this.input.charCodeAt(e);if(t<=55295||t>=56320)return t;var r=this.input.charCodeAt(e+1);return r<=56319||r>=57344?t:(t<<10)+r-56613888};pe.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)};pe.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var s=void 0,i=t;(s=Fo(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};pe.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ir(s);)s=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};pe.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Bo.test(String.fromCharCode(e)))++this.pos;else break e}}};pe.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};pe.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(l.ellipsis)):(++this.pos,this.finishToken(l.dot))};pe.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(l.assign,2):this.finishOp(l.slash,1)};pe.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,s=e===42?l.star:l.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,s=l.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(l.assign,r+1):this.finishOp(s,r)};pe.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(l.assign,3)}return this.finishOp(e===124?l.logicalOR:l.logicalAND,2)}return t===61?this.finishOp(l.assign,2):this.finishOp(e===124?l.bitwiseOR:l.bitwiseAND,1)};pe.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(l.assign,2):this.finishOp(l.bitwiseXOR,1)};pe.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Je.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(l.incDec,2):t===61?this.finishOp(l.assign,2):this.finishOp(l.plusMin,1)};pe.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(l.assign,r+1):this.finishOp(l.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(l.relational,r))};pe.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(l.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(l.arrow)):this.finishOp(e===61?l.eq:l.prefix,1)};pe.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(l.questionDot,2)}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(l.assign,3)}return this.finishOp(l.coalesce,2)}}return this.finishOp(l.question,1)};pe.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Et(t,!0)||t===92))return this.finishToken(l.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Lt(t)+"'")};pe.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(l.parenL);case 41:return++this.pos,this.finishToken(l.parenR);case 59:return++this.pos,this.finishToken(l.semi);case 44:return++this.pos,this.finishToken(l.comma);case 91:return++this.pos,this.finishToken(l.bracketL);case 93:return++this.pos,this.finishToken(l.bracketR);case 123:return++this.pos,this.finishToken(l.braceL);case 125:return++this.pos,this.finishToken(l.braceR);case 58:return++this.pos,this.finishToken(l.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(l.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(l.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Lt(e)+"'")};pe.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};pe.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(Je.test(s)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(s==="[")t=!0;else if(s==="]"&&t)t=!1;else if(s==="/"&&!t)break;e=s==="\\"}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var o=this.pos,c=this.readWord1();this.containsEsc&&this.unexpected(o);var u=this.regexpState||(this.regexpState=new Ct(this));u.reset(r,i,c),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var h=null;try{h=new RegExp(i,c)}catch{}return this.finishToken(l.regexp,{pattern:i,flags:c,value:h})};pe.readInt=function(e,t,r){for(var s=this.options.ecmaVersion>=12&&t===void 0,i=r&&this.input.charCodeAt(this.pos)===48,o=this.pos,c=0,u=0,h=0,f=t??1/0;h<f;++h,++this.pos){var m=this.input.charCodeAt(this.pos),x=void 0;if(s&&m===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),h===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=m;continue}if(m>=97?x=m-97+10:m>=65?x=m-65+10:m>=48&&m<=57?x=m-48:x=1/0,x>=e)break;u=m,c=c*e+x}return s&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:c};function Xd(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function g1(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}pe.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=g1(this.input.slice(t,this.pos)),++this.pos):Et(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(l.num,r)};pe.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&s===110){var i=g1(this.input.slice(t,this.pos));return++this.pos,Et(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(l.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),s===46&&!r&&(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),(s===69||s===101)&&!r&&(s=this.input.charCodeAt(++this.pos),(s===43||s===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Et(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=Xd(this.input.slice(t,this.pos),r);return this.finishToken(l.num,o)};pe.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};pe.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===e)break;s===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):s===8232||s===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Ir(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(l.string,t)};var x1={};pe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===x1)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};pe.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw x1;this.raise(e,t)};pe.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===l.template||this.type===l.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(l.dollarBraceL)):(++this.pos,this.finishToken(l.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(l.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ir(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
194
+ `),cooked:this.value},this.next(),r.tail=this.type===l.backQuote,this.finishNode(r,"TemplateElement")};re.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var s=this.parseTemplateElement({isTagged:t});for(r.quasis=[s];!s.tail;)this.type===l.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(l.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(l.braceR),r.quasis.push(s=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};re.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===l.name||this.type===l.num||this.type===l.string||this.type===l.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===l.star)&&!Je.test(this.input.slice(this.lastTokEnd,this.start))};re.parseObj=function(e,t){var r=this.startNode(),s=!0,i={};for(r.properties=[],this.next();!this.eat(l.braceR);){if(s)s=!1;else if(this.expect(l.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(l.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};re.parseProperty=function(e,t){var r=this.startNode(),s,i,o,c;if(this.options.ecmaVersion>=9&&this.eat(l.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===l.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===l.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(o=this.start,c=this.startLoc),e||(s=this.eat(l.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(r)?(i=!0,s=this.options.ecmaVersion>=9&&this.eat(l.star),this.parsePropertyName(r)):i=!1,this.parsePropertyValue(r,e,s,i,o,c,t,u),this.finishNode(r,"Property")};re.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var s=e.value.start;e.kind==="get"?this.raiseRecoverable(s,"getter should have no params"):this.raiseRecoverable(s,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};re.parsePropertyValue=function(e,t,r,s,i,o,c,u){(r||s)&&this.type===l.colon&&this.unexpected(),this.eat(l.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,c),e.kind="init"):this.options.ecmaVersion>=6&&this.type===l.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,s),e.kind="init"):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==l.comma&&this.type!==l.braceR&&this.type!==l.eq?((r||s)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||s)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),t?e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key)):this.type===l.eq&&c?(c.shorthandAssign<0&&(c.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};re.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(l.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(l.bracketR),e.key;e.computed=!1}return e.key=this.type===l.num||this.type===l.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};re.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};re.parseMethod=function(e,t,r){var s=this.startNode(),i=this.yieldPos,o=this.awaitPos,c=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=e),this.options.ecmaVersion>=8&&(s.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(_i(t,s.generator)|Yn|(r?zo:0)),this.expect(l.parenL),s.params=this.parseBindingList(l.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=c,this.finishNode(s,"FunctionExpression")};re.parseArrowExpression=function(e,t,r,s){var i=this.yieldPos,o=this.awaitPos,c=this.awaitIdentPos;return this.enterScope(_i(r,!1)|wi),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,s),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=c,this.finishNode(e,"ArrowFunctionExpression")};re.parseFunctionBody=function(e,t,r,s){var i=t&&this.type!==l.braceL,o=this.strict,c=!1;if(i)e.body=this.parseMaybeAssign(s),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!o||u)&&(c=this.strictDirective(this.end),c&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var h=this.labels;this.labels=[],c&&(this.strict=!0),this.checkParams(e,!o&&!c&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,Xo),e.body=this.parseBlock(!1,void 0,c&&!o),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()};re.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var s=r[t];if(s.type!=="Identifier")return!1}return!0};re.checkParams=function(e,t){for(var r=Object.create(null),s=0,i=e.params;s<i.length;s+=1){var o=i[s];this.checkLValInnerPattern(o,Si,t?null:r)}};re.parseExprList=function(e,t,r,s){for(var i=[],o=!0;!this.eat(e);){if(o)o=!1;else if(this.expect(l.comma),t&&this.afterTrailingComma(e))break;var c=void 0;r&&this.type===l.comma?c=null:this.type===l.ellipsis?(c=this.parseSpread(s),s&&this.type===l.comma&&s.trailingComma<0&&(s.trailingComma=this.start)):c=this.parseMaybeAssign(!1,s),i.push(c)}return i};re.checkUnreserved=function(e){var t=e.start,r=e.end,s=e.name;if(this.inGenerator&&s==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&s==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&Kn)&&s==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(s==="arguments"||s==="await")&&this.raise(t,"Cannot use "+s+" in class static initialization block"),this.keywords.test(s)&&this.raise(t,"Unexpected keyword '"+s+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(s)&&(!this.inAsync&&s==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+s+"' is reserved"))}};re.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};re.parseIdentNode=function(){var e=this.startNode();return this.type===l.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=l.name):this.unexpected(),e};re.parsePrivateIdent=function(){var e=this.startNode();return this.type===l.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};re.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===l.semi||this.canInsertSemicolon()||this.type!==l.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(l.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};re.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var On=Ve.prototype;On.raise=function(e,t){var r=$o(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var s=new SyntaxError(t);throw s.pos=e,s.loc=r,s.raisedAt=this.pos,s};On.raiseRecoverable=On.raise;On.curPosition=function(){if(this.options.locations)return new rn(this.curLine,this.pos-this.lineStart)};var Gt=Ve.prototype,Td=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};Gt.enterScope=function(e){this.scopeStack.push(new Td(e))};Gt.exitScope=function(){this.scopeStack.pop()};Gt.treatFunctionsAsVarInScope=function(e){return e.flags&ar||!this.inModule&&e.flags&nr};Gt.declareName=function(e,t,r){var s=!1;if(t===Ot){var i=this.currentScope();s=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&nr&&delete this.undefinedExports[e]}else if(t===Go){var o=this.currentScope();o.lexical.push(e)}else if(t===Wo){var c=this.currentScope();this.treatFunctionsAsVar?s=c.lexical.indexOf(e)>-1:s=c.lexical.indexOf(e)>-1||c.var.indexOf(e)>-1,c.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var h=this.scopeStack[u];if(h.lexical.indexOf(e)>-1&&!(h.flags&Uo&&h.lexical[0]===e)||!this.treatFunctionsAsVarInScope(h)&&h.functions.indexOf(e)>-1){s=!0;break}if(h.var.push(e),this.inModule&&h.flags&nr&&delete this.undefinedExports[e],h.flags&Kn)break}s&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};Gt.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Gt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Gt.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(Kn|pn|or))return t}};Gt.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(Kn|pn|or)&&!(t.flags&wi))return t}};var Jn=function(t,r,s){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Xn(t,s)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},hn=Ve.prototype;hn.startNode=function(){return new Jn(this,this.start,this.startLoc)};hn.startNodeAt=function(e,t){return new Jn(this,e,t)};function Qo(e,t,r,s){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=s),this.options.ranges&&(e.range[1]=r),e}hn.finishNode=function(e,t){return Qo.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};hn.finishNodeAt=function(e,t,r,s){return Qo.call(this,e,t,r,s)};hn.copyNode=function(e){var t=new Jn(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var Ad="Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz",Jo="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Zo=Jo+" Extended_Pictographic",ec=Zo,tc=ec+" EBase EComp EMod EPres ExtPict",rc=tc,Pd=rc,Nd={9:Jo,10:Zo,11:ec,12:tc,13:rc,14:Pd},Rd="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Ld={9:"",10:"",11:"",12:"",13:"",14:Rd},la="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",nc="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",sc=nc+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ic=sc+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ac=ic+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",oc=ac+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Dd=oc+" "+Ad,Od={9:nc,10:sc,11:ic,12:ac,13:oc,14:Dd},cc={};function Md(e){var t=cc[e]={binary:Vt(Nd[e]+" "+la),binaryOfStrings:Vt(Ld[e]),nonBinary:{General_Category:Vt(la),Script:Vt(Od[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Ss=0,ua=[9,10,11,12,13,14];Ss<ua.length;Ss+=1){var jd=ua[Ss];Md(jd)}var V=Ve.prototype,Mn=function(t,r){this.parent=t,this.base=r||this};Mn.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var s=t;s;s=s.parent)if(r.base===s.base&&r!==s)return!0;return!1};Mn.prototype.sibling=function(){return new Mn(this.parent,this.base)};var Ct=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=cc[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Ct.prototype.reset=function(t,r,s){var i=s.indexOf("v")!==-1,o=s.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=s,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=o&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=o&&this.parser.options.ecmaVersion>=9)};Ct.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Ct.prototype.at=function(t,r){r===void 0&&(r=!1);var s=this.source,i=s.length;if(t>=i)return-1;var o=s.charCodeAt(t);if(!(r||this.switchU)||o<=55295||o>=57344||t+1>=i)return o;var c=s.charCodeAt(t+1);return c>=56320&&c<=57343?(o<<10)+c-56613888:o};Ct.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var s=this.source,i=s.length;if(t>=i)return i;var o=s.charCodeAt(t),c;return!(r||this.switchU)||o<=55295||o>=57344||t+1>=i||(c=s.charCodeAt(t+1))<56320||c>57343?t+1:t+2};Ct.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Ct.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Ct.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Ct.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};Ct.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var s=this.pos,i=0,o=t;i<o.length;i+=1){var c=o[i],u=this.at(s,r);if(u===-1||u!==c)return!1;s=this.nextIndex(s,r)}return this.pos=s,!0};V.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,s=!1,i=!1,o=0;o<r.length;o++){var c=r.charAt(o);t.indexOf(c)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(c,o+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),c==="u"&&(s=!0),c==="v"&&(i=!0)}this.options.ecmaVersion>=15&&s&&i&&this.raise(e.start,"Invalid regular expression flag")};function Fd(e){for(var t in e)return!0;return!1}V.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&Fd(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};V.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var s=r[t];e.groupNames[s]||e.raise("Invalid named capture referenced")}};V.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Mn(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};V.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};V.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};V.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};V.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};V.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};V.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var s=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<s&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};V.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};V.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};V.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),s=e.eat(45);if(r||s){for(var i=0;i<r.length;i++){var o=r.charAt(i);r.indexOf(o,i+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(s){var c=this.regexp_eatModifiers(e);!r&&!c&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var u=0;u<c.length;u++){var h=c.charAt(u);(c.indexOf(h,u+1)>-1||r.indexOf(h)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};V.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};V.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&Bd(r);)t+=Lt(r),e.advance();return t};function Bd(e){return e===105||e===109||e===115}V.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};V.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};V.regexp_eatSyntaxCharacter=function(e){var t=e.current();return lc(t)?(e.lastIntValue=t,e.advance(),!0):!1};function lc(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}V.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!lc(r);)e.advance();return e.pos!==t};V.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};V.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var s=0,i=r;s<i.length;s+=1){var o=i[s];o.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};V.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};V.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Lt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Lt(e.lastIntValue);return!0}return!1};V.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,s=e.current(r);return e.advance(r),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(s=e.lastIntValue),Vd(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Vd(e){return Et(e,!0)||e===36||e===95}V.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,s=e.current(r);return e.advance(r),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(s=e.lastIntValue),$d(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function $d(e){return Ht(e,!0)||e===36||e===95||e===8204||e===8205}V.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};V.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};V.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};V.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};V.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};V.regexp_eatZero=function(e){return e.current()===48&&!Zn(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};V.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};V.regexp_eatControlLetter=function(e){var t=e.current();return uc(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function uc(e){return e>=65&&e<=90||e>=97&&e<=122}V.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(s&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var c=e.lastIntValue;if(c>=56320&&c<=57343)return e.lastIntValue=(i-55296)*1024+(c-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&qd(e.lastIntValue))return!0;s&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function qd(e){return e>=0&&e<=1114111}V.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};V.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var pc=0,Dt=1,it=2;V.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Ud(t))return e.lastIntValue=-1,e.advance(),Dt;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var s;if(e.eat(123)&&(s=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&s===it&&e.raise("Invalid property name"),s;e.raise("Invalid property name")}return pc};function Ud(e){return e===100||e===68||e===115||e===83||e===119||e===87}V.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,s),Dt}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return pc};V.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Er(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};V.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Dt;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return it;e.raise("Invalid property name")};V.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";hc(t=e.current());)e.lastStringValue+=Lt(t),e.advance();return e.lastStringValue!==""};function hc(e){return uc(e)||e===95}V.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";zd(t=e.current());)e.lastStringValue+=Lt(t),e.advance();return e.lastStringValue!==""};function zd(e){return hc(e)||Zn(e)}V.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};V.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===it&&e.raise("Negated character class may contain strings"),!0}return!1};V.regexp_classContents=function(e){return e.current()===93?Dt:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Dt)};V.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};V.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||mc(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var s=e.current();return s!==93?(e.lastIntValue=s,e.advance(),!0):!1};V.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};V.regexp_classSetExpression=function(e){var t=Dt,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===it&&(t=it);for(var s=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==it&&(t=Dt);continue}e.raise("Invalid character in character class")}if(s!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(s!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===it&&(t=it)}};V.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var s=e.lastIntValue;return r!==-1&&s!==-1&&r>s&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};V.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Dt:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};V.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),s=this.regexp_classContents(e);if(e.eat(93))return r&&s===it&&e.raise("Negated character class may contain strings"),s;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null};V.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};V.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===it&&(t=it);return t};V.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Dt:it};V.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&Hd(r)||Wd(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function Hd(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function Wd(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}V.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return Gd(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Gd(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}V.regexp_eatClassControlLetter=function(e){var t=e.current();return Zn(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};V.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};V.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Zn(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Zn(e){return e>=48&&e<=57}V.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;fc(r=e.current());)e.lastIntValue=16*e.lastIntValue+dc(r),e.advance();return e.pos!==t};function fc(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function dc(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}V.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};V.regexp_eatOctalDigit=function(e){var t=e.current();return mc(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function mc(e){return e>=48&&e<=55}V.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var s=0;s<t;++s){var i=e.current();if(!fc(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+dc(i),e.advance()}return!0};var Ei=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Xn(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},pe=Ve.prototype;pe.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Ei(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};pe.getToken=function(){return this.next(),new Ei(this)};typeof Symbol<"u"&&(pe[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===l.eof,value:t}}}});pe.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(l.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};pe.readToken=function(e){return Et(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};pe.fullCharCodeAt=function(e){var t=this.input.charCodeAt(e);if(t<=55295||t>=56320)return t;var r=this.input.charCodeAt(e+1);return r<=56319||r>=57344?t:(t<<10)+r-56613888};pe.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)};pe.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var s=void 0,i=t;(s=Fo(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};pe.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ir(s);)s=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};pe.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Bo.test(String.fromCharCode(e)))++this.pos;else break e}}};pe.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};pe.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(l.ellipsis)):(++this.pos,this.finishToken(l.dot))};pe.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(l.assign,2):this.finishOp(l.slash,1)};pe.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,s=e===42?l.star:l.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,s=l.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(l.assign,r+1):this.finishOp(s,r)};pe.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(l.assign,3)}return this.finishOp(e===124?l.logicalOR:l.logicalAND,2)}return t===61?this.finishOp(l.assign,2):this.finishOp(e===124?l.bitwiseOR:l.bitwiseAND,1)};pe.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(l.assign,2):this.finishOp(l.bitwiseXOR,1)};pe.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Je.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(l.incDec,2):t===61?this.finishOp(l.assign,2):this.finishOp(l.plusMin,1)};pe.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(l.assign,r+1):this.finishOp(l.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(l.relational,r))};pe.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(l.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(l.arrow)):this.finishOp(e===61?l.eq:l.prefix,1)};pe.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(l.questionDot,2)}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(l.assign,3)}return this.finishOp(l.coalesce,2)}}return this.finishOp(l.question,1)};pe.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Et(t,!0)||t===92))return this.finishToken(l.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Lt(t)+"'")};pe.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(l.parenL);case 41:return++this.pos,this.finishToken(l.parenR);case 59:return++this.pos,this.finishToken(l.semi);case 44:return++this.pos,this.finishToken(l.comma);case 91:return++this.pos,this.finishToken(l.bracketL);case 93:return++this.pos,this.finishToken(l.bracketR);case 123:return++this.pos,this.finishToken(l.braceL);case 125:return++this.pos,this.finishToken(l.braceR);case 58:return++this.pos,this.finishToken(l.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(l.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(l.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Lt(e)+"'")};pe.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};pe.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(Je.test(s)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(s==="[")t=!0;else if(s==="]"&&t)t=!1;else if(s==="/"&&!t)break;e=s==="\\"}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var o=this.pos,c=this.readWord1();this.containsEsc&&this.unexpected(o);var u=this.regexpState||(this.regexpState=new Ct(this));u.reset(r,i,c),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var h=null;try{h=new RegExp(i,c)}catch{}return this.finishToken(l.regexp,{pattern:i,flags:c,value:h})};pe.readInt=function(e,t,r){for(var s=this.options.ecmaVersion>=12&&t===void 0,i=r&&this.input.charCodeAt(this.pos)===48,o=this.pos,c=0,u=0,h=0,f=t??1/0;h<f;++h,++this.pos){var m=this.input.charCodeAt(this.pos),x=void 0;if(s&&m===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),h===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=m;continue}if(m>=97?x=m-97+10:m>=65?x=m-65+10:m>=48&&m<=57?x=m-48:x=1/0,x>=e)break;u=m,c=c*e+x}return s&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:c};function Xd(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function gc(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}pe.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=gc(this.input.slice(t,this.pos)),++this.pos):Et(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(l.num,r)};pe.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&s===110){var i=gc(this.input.slice(t,this.pos));return++this.pos,Et(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(l.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),s===46&&!r&&(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),(s===69||s===101)&&!r&&(s=this.input.charCodeAt(++this.pos),(s===43||s===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Et(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=Xd(this.input.slice(t,this.pos),r);return this.finishToken(l.num,o)};pe.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};pe.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===e)break;s===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):s===8232||s===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Ir(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(l.string,t)};var xc={};pe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===xc)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};pe.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw xc;this.raise(e,t)};pe.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===l.template||this.type===l.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(l.dollarBraceL)):(++this.pos,this.finishToken(l.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(l.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ir(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
195
195
  `;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};pe.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(l.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
196
196
  `&&++this.pos;case`
197
197
  `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};pe.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
198
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Lt(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(s,8);return i>255&&(s=s.slice(0,-1),i=parseInt(s,8)),this.pos+=s.length-1,t=this.input.charCodeAt(this.pos),(s!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return Ir(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};pe.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};pe.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,s=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(Ht(i,s))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var o=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var c=this.readCodePoint();(t?Et:Ht)(c,s)||this.invalidStringToken(o,"Invalid Unicode escape"),e+=Lt(c),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};pe.readWord=function(){var e=this.readWord1(),t=l.name;return this.keywords.test(e)&&(t=yi[e]),this.finishToken(t,e)};var Yd="8.16.0";Ve.acorn={Parser:Ve,version:Yd,defaultOptions:$s,Position:rn,SourceLocation:Xn,getLineInfo:$o,Node:Jn,TokenType:ge,tokTypes:l,keywordTypes:yi,TokContext:pt,tokContexts:Pe,isIdentifierChar:Ht,isIdentifierStart:Et,Token:Ei,isNewLine:Ir,lineBreak:Je,lineBreakG:xd,nonASCIIwhitespace:Bo};function k1(e,t){return Ve.parse(e,t)}function Is(e,t,r,s,i){r||(r=R),function o(c,u,h){var f=h||c.type;b1(r,f,c,u,o),t[f]&&t[f](c,u)}(e,s,i)}function Kd(e,t,r,s,i){var o=[];r||(r=R),function c(u,h,f){var m=f||u.type,x=u!==o[o.length-1];x&&o.push(u),b1(r,m,u,h,c),t[m]&&t[m](u,h||o,o),x&&o.pop()}(e,s,i)}function Ci(e,t,r){r(e,t)}function cr(e,t,r){}function b1(e,t,r,s,i){if(e[t]==null)throw new Error("No walker function defined for node type "+t);e[t](r,s,i)}var R={};R.Program=R.BlockStatement=R.StaticBlock=function(e,t,r){for(var s=0,i=e.body;s<i.length;s+=1){var o=i[s];r(o,t,"Statement")}};R.Statement=Ci;R.EmptyStatement=cr;R.ExpressionStatement=R.ParenthesizedExpression=R.ChainExpression=function(e,t,r){return r(e.expression,t,"Expression")};R.IfStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Statement"),e.alternate&&r(e.alternate,t,"Statement")};R.LabeledStatement=function(e,t,r){return r(e.body,t,"Statement")};R.BreakStatement=R.ContinueStatement=cr;R.WithStatement=function(e,t,r){r(e.object,t,"Expression"),r(e.body,t,"Statement")};R.SwitchStatement=function(e,t,r){r(e.discriminant,t,"Expression");for(var s=0,i=e.cases;s<i.length;s+=1){var o=i[s];r(o,t)}};R.SwitchCase=function(e,t,r){e.test&&r(e.test,t,"Expression");for(var s=0,i=e.consequent;s<i.length;s+=1){var o=i[s];r(o,t,"Statement")}};R.ReturnStatement=R.YieldExpression=R.AwaitExpression=function(e,t,r){e.argument&&r(e.argument,t,"Expression")};R.ThrowStatement=R.SpreadElement=function(e,t,r){return r(e.argument,t,"Expression")};R.TryStatement=function(e,t,r){r(e.block,t,"Statement"),e.handler&&r(e.handler,t),e.finalizer&&r(e.finalizer,t,"Statement")};R.CatchClause=function(e,t,r){e.param&&r(e.param,t,"Pattern"),r(e.body,t,"Statement")};R.WhileStatement=R.DoWhileStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.body,t,"Statement")};R.ForStatement=function(e,t,r){e.init&&r(e.init,t,"ForInit"),e.test&&r(e.test,t,"Expression"),e.update&&r(e.update,t,"Expression"),r(e.body,t,"Statement")};R.ForInStatement=R.ForOfStatement=function(e,t,r){r(e.left,t,"ForInit"),r(e.right,t,"Expression"),r(e.body,t,"Statement")};R.ForInit=function(e,t,r){e.type==="VariableDeclaration"?r(e,t):r(e,t,"Expression")};R.DebuggerStatement=cr;R.FunctionDeclaration=function(e,t,r){return r(e,t,"Function")};R.VariableDeclaration=function(e,t,r){for(var s=0,i=e.declarations;s<i.length;s+=1){var o=i[s];r(o,t)}};R.VariableDeclarator=function(e,t,r){r(e.id,t,"Pattern"),e.init&&r(e.init,t,"Expression")};R.Function=function(e,t,r){e.id&&r(e.id,t,"Pattern");for(var s=0,i=e.params;s<i.length;s+=1){var o=i[s];r(o,t,"Pattern")}r(e.body,t,e.expression?"Expression":"Statement")};R.Pattern=function(e,t,r){e.type==="Identifier"?r(e,t,"VariablePattern"):e.type==="MemberExpression"?r(e,t,"MemberPattern"):r(e,t)};R.VariablePattern=cr;R.MemberPattern=Ci;R.RestElement=function(e,t,r){return r(e.argument,t,"Pattern")};R.ArrayPattern=function(e,t,r){for(var s=0,i=e.elements;s<i.length;s+=1){var o=i[s];o&&r(o,t,"Pattern")}};R.ObjectPattern=function(e,t,r){for(var s=0,i=e.properties;s<i.length;s+=1){var o=i[s];o.type==="Property"?(o.computed&&r(o.key,t,"Expression"),r(o.value,t,"Pattern")):o.type==="RestElement"&&r(o.argument,t,"Pattern")}};R.Expression=Ci;R.ThisExpression=R.Super=R.MetaProperty=cr;R.ArrayExpression=function(e,t,r){for(var s=0,i=e.elements;s<i.length;s+=1){var o=i[s];o&&r(o,t,"Expression")}};R.ObjectExpression=function(e,t,r){for(var s=0,i=e.properties;s<i.length;s+=1){var o=i[s];r(o,t)}};R.FunctionExpression=R.ArrowFunctionExpression=R.FunctionDeclaration;R.SequenceExpression=function(e,t,r){for(var s=0,i=e.expressions;s<i.length;s+=1){var o=i[s];r(o,t,"Expression")}};R.TemplateLiteral=function(e,t,r){for(var s=0,i=e.quasis;s<i.length;s+=1){var o=i[s];r(o,t)}for(var c=0,u=e.expressions;c<u.length;c+=1){var h=u[c];r(h,t,"Expression")}};R.TemplateElement=cr;R.UnaryExpression=R.UpdateExpression=function(e,t,r){r(e.argument,t,"Expression")};R.BinaryExpression=R.LogicalExpression=function(e,t,r){r(e.left,t,"Expression"),r(e.right,t,"Expression")};R.AssignmentExpression=R.AssignmentPattern=function(e,t,r){r(e.left,t,"Pattern"),r(e.right,t,"Expression")};R.ConditionalExpression=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Expression"),r(e.alternate,t,"Expression")};R.NewExpression=R.CallExpression=function(e,t,r){if(r(e.callee,t,"Expression"),e.arguments)for(var s=0,i=e.arguments;s<i.length;s+=1){var o=i[s];r(o,t,"Expression")}};R.MemberExpression=function(e,t,r){r(e.object,t,"Expression"),e.computed&&r(e.property,t,"Expression")};R.ExportNamedDeclaration=R.ExportDefaultDeclaration=function(e,t,r){if(e.declaration&&r(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression"),e.source&&r(e.source,t,"Expression"),e.attributes)for(var s=0,i=e.attributes;s<i.length;s+=1){var o=i[s];r(o,t)}};R.ExportAllDeclaration=function(e,t,r){if(e.exported&&r(e.exported,t),r(e.source,t,"Expression"),e.attributes)for(var s=0,i=e.attributes;s<i.length;s+=1){var o=i[s];r(o,t)}};R.ImportAttribute=function(e,t,r){r(e.value,t,"Expression")};R.ImportDeclaration=function(e,t,r){for(var s=0,i=e.specifiers;s<i.length;s+=1){var o=i[s];r(o,t)}if(r(e.source,t,"Expression"),e.attributes)for(var c=0,u=e.attributes;c<u.length;c+=1){var h=u[c];r(h,t)}};R.ImportExpression=function(e,t,r){r(e.source,t,"Expression"),e.options&&r(e.options,t,"Expression")};R.ImportSpecifier=R.ImportDefaultSpecifier=R.ImportNamespaceSpecifier=R.Identifier=R.PrivateIdentifier=R.Literal=cr;R.TaggedTemplateExpression=function(e,t,r){r(e.tag,t,"Expression"),r(e.quasi,t,"Expression")};R.ClassDeclaration=R.ClassExpression=function(e,t,r){return r(e,t,"Class")};R.Class=function(e,t,r){e.id&&r(e.id,t,"Pattern"),e.superClass&&r(e.superClass,t,"Expression"),r(e.body,t)};R.ClassBody=function(e,t,r){for(var s=0,i=e.body;s<i.length;s+=1){var o=i[s];r(o,t)}};R.MethodDefinition=R.PropertyDefinition=R.Property=function(e,t,r){e.computed&&r(e.key,t,"Expression"),e.value&&r(e.value,t,"Expression")};let Gr=0;const y1=new Set(["React","Fragment","window","document","navigator","location","history","localStorage","sessionStorage","console","fetch","URL","URLSearchParams","FormData","Headers","Request","Response","Blob","File","FileReader","FileList","AbortController","AbortSignal","Event","CustomEvent","EventTarget","MutationObserver","IntersectionObserver","ResizeObserver","requestAnimationFrame","cancelAnimationFrame","setTimeout","setInterval","clearTimeout","clearInterval","HTMLElement","SVGElement","Element","Node","NodeList","Math","Date","JSON","Array","Object","String","Number","Boolean","BigInt","Symbol","RegExp","Promise","Set","Map","WeakSet","WeakMap","Proxy","Reflect","Error","TypeError","ReferenceError","RangeError","SyntaxError","URIError","parseInt","parseFloat","isNaN","isFinite","NaN","Infinity","undefined","encodeURIComponent","decodeURIComponent","encodeURI","decodeURI","btoa","atob","structuredClone","queueMicrotask","Record","Partial","Required","Readonly","Pick","Omit","Exclude","Extract","require","module","exports","globalThis","self","_jsxDEV","_jsxs","_jsx","_Fragment","DataTable","MetricCard","StatusBadge","DetailCard","StepWizard","Logo","Avatar","cn"]);function Qd(e){const t=new Set(y1),r=/import\s*\{([^}]+)\}\s*from\s*['"][^'"]+['"]/g;let s;for(;s=r.exec(e);)for(const L of s[1].split(",")){const j=L.trim();if(!j)continue;const F=j.split(/\s+as\s+/);t.add(F[F.length-1].trim())}const i=/import\s+([A-Z]\w*)\s+from\s*['"][^'"]+['"]/g;for(;s=i.exec(e);)t.add(s[1]);const o=/import\s*\*\s*as\s+(\w+)\s+from\s*['"][^'"]+['"]/g;for(;s=o.exec(e);)t.add(s[1]);const c=/(?:const|let|var)\s+(\w+)/g;for(;s=c.exec(e);)t.add(s[1]);const u=/function\s+(\w+)/g;for(;s=u.exec(e);)t.add(s[1]);const h=/class\s+(\w+)/g;for(;s=h.exec(e);)t.add(s[1]);const f=/enum\s+(\w+)/g;for(;s=f.exec(e);)t.add(s[1]);const m=/(?:type|interface)\s+(\w+)/g;for(;s=m.exec(e);)t.add(s[1]);const x=/<([A-Z]\w*)/g,_=[],y=new Set;for(;s=x.exec(e);){const L=s[1];if(t.has(L)||y.has(L))continue;y.add(L);const F=e.substring(0,s.index).split(`
199
- `).length;_.push({name:L,line:F})}return _}function Jd(e,t){let r;try{r=k1(e,{ecmaVersion:"latest",sourceType:"module",locations:!0})}catch{return[]}const s=new Set(y1);Is(r,{ImportDeclaration(c){for(const u of c.specifiers)s.add(u.local.name)},VariableDeclarator(c){yt(c.id,s)},FunctionDeclaration(c){c.id&&s.add(c.id.name)},ClassDeclaration(c){c.id&&s.add(c.id.name)}}),Is(r,{FunctionDeclaration(c){Es(c.params,s)},FunctionExpression(c){Es(c.params,s)},ArrowFunctionExpression(c){Es(c.params,s)},CatchClause(c){c.param&&yt(c.param,s)},ForInStatement(c){if(c.left.type==="VariableDeclaration")for(const u of c.left.declarations)yt(u.id,s)},ForOfStatement(c){if(c.left.type==="VariableDeclaration")for(const u of c.left.declarations)yt(u.id,s)}});const i=[],o=new Set;return Is(r,{Identifier(c){const u=c.name;s.has(u)||o.has(u)}}),Kd(r,{Identifier(c,u,h){var y,L;const f=c.name;if(s.has(f)||o.has(f))return;const m=h[h.length-2];if(!m||m.type==="MemberExpression"&&m.property===c&&!m.computed||m.type==="Property"&&m.key===c&&!m.computed||m.type==="ImportSpecifier"||m.type==="ImportDefaultSpecifier"||m.type==="ImportNamespaceSpecifier"||m.type==="VariableDeclarator"&&m.id===c||m.type==="FunctionDeclaration"&&m.id===c||m.type==="ClassDeclaration"&&m.id===c||m.type==="LabeledStatement"&&m.label===c||(m.type==="BreakStatement"||m.type==="ContinueStatement")&&m.label===c||m.type==="MethodDefinition"&&m.key===c||m.type==="JSXAttribute"&&m.name===c||m.type==="JSXOpeningElement"&&m.name===c||m.type==="JSXClosingElement"&&m.name===c)return;o.add(f);const x=((L=(y=c.loc)==null?void 0:y.start)==null?void 0:L.line)??1,_=Math.min(x,t);i.push({name:f,line:_})}}),i}function yt(e,t){if(e)switch(e.type){case"Identifier":t.add(e.name);break;case"ObjectPattern":for(const r of e.properties)r.type==="RestElement"?yt(r.argument,t):yt(r.value,t);break;case"ArrayPattern":for(const r of e.elements)r&&yt(r,t);break;case"RestElement":yt(e.argument,t);break;case"AssignmentPattern":yt(e.left,t);break}}function Es(e,t){for(const r of e)yt(r,t)}function jn(e,t){const r=e.split(`
198
+ `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Lt(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(s,8);return i>255&&(s=s.slice(0,-1),i=parseInt(s,8)),this.pos+=s.length-1,t=this.input.charCodeAt(this.pos),(s!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return Ir(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};pe.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};pe.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,s=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(Ht(i,s))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var o=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var c=this.readCodePoint();(t?Et:Ht)(c,s)||this.invalidStringToken(o,"Invalid Unicode escape"),e+=Lt(c),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};pe.readWord=function(){var e=this.readWord1(),t=l.name;return this.keywords.test(e)&&(t=yi[e]),this.finishToken(t,e)};var Yd="8.16.0";Ve.acorn={Parser:Ve,version:Yd,defaultOptions:$s,Position:rn,SourceLocation:Xn,getLineInfo:$o,Node:Jn,TokenType:ge,tokTypes:l,keywordTypes:yi,TokContext:pt,tokContexts:Pe,isIdentifierChar:Ht,isIdentifierStart:Et,Token:Ei,isNewLine:Ir,lineBreak:Je,lineBreakG:xd,nonASCIIwhitespace:Bo};function kc(e,t){return Ve.parse(e,t)}function Is(e,t,r,s,i){r||(r=R),function o(c,u,h){var f=h||c.type;bc(r,f,c,u,o),t[f]&&t[f](c,u)}(e,s,i)}function Kd(e,t,r,s,i){var o=[];r||(r=R),function c(u,h,f){var m=f||u.type,x=u!==o[o.length-1];x&&o.push(u),bc(r,m,u,h,c),t[m]&&t[m](u,h||o,o),x&&o.pop()}(e,s,i)}function Ci(e,t,r){r(e,t)}function cr(e,t,r){}function bc(e,t,r,s,i){if(e[t]==null)throw new Error("No walker function defined for node type "+t);e[t](r,s,i)}var R={};R.Program=R.BlockStatement=R.StaticBlock=function(e,t,r){for(var s=0,i=e.body;s<i.length;s+=1){var o=i[s];r(o,t,"Statement")}};R.Statement=Ci;R.EmptyStatement=cr;R.ExpressionStatement=R.ParenthesizedExpression=R.ChainExpression=function(e,t,r){return r(e.expression,t,"Expression")};R.IfStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Statement"),e.alternate&&r(e.alternate,t,"Statement")};R.LabeledStatement=function(e,t,r){return r(e.body,t,"Statement")};R.BreakStatement=R.ContinueStatement=cr;R.WithStatement=function(e,t,r){r(e.object,t,"Expression"),r(e.body,t,"Statement")};R.SwitchStatement=function(e,t,r){r(e.discriminant,t,"Expression");for(var s=0,i=e.cases;s<i.length;s+=1){var o=i[s];r(o,t)}};R.SwitchCase=function(e,t,r){e.test&&r(e.test,t,"Expression");for(var s=0,i=e.consequent;s<i.length;s+=1){var o=i[s];r(o,t,"Statement")}};R.ReturnStatement=R.YieldExpression=R.AwaitExpression=function(e,t,r){e.argument&&r(e.argument,t,"Expression")};R.ThrowStatement=R.SpreadElement=function(e,t,r){return r(e.argument,t,"Expression")};R.TryStatement=function(e,t,r){r(e.block,t,"Statement"),e.handler&&r(e.handler,t),e.finalizer&&r(e.finalizer,t,"Statement")};R.CatchClause=function(e,t,r){e.param&&r(e.param,t,"Pattern"),r(e.body,t,"Statement")};R.WhileStatement=R.DoWhileStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.body,t,"Statement")};R.ForStatement=function(e,t,r){e.init&&r(e.init,t,"ForInit"),e.test&&r(e.test,t,"Expression"),e.update&&r(e.update,t,"Expression"),r(e.body,t,"Statement")};R.ForInStatement=R.ForOfStatement=function(e,t,r){r(e.left,t,"ForInit"),r(e.right,t,"Expression"),r(e.body,t,"Statement")};R.ForInit=function(e,t,r){e.type==="VariableDeclaration"?r(e,t):r(e,t,"Expression")};R.DebuggerStatement=cr;R.FunctionDeclaration=function(e,t,r){return r(e,t,"Function")};R.VariableDeclaration=function(e,t,r){for(var s=0,i=e.declarations;s<i.length;s+=1){var o=i[s];r(o,t)}};R.VariableDeclarator=function(e,t,r){r(e.id,t,"Pattern"),e.init&&r(e.init,t,"Expression")};R.Function=function(e,t,r){e.id&&r(e.id,t,"Pattern");for(var s=0,i=e.params;s<i.length;s+=1){var o=i[s];r(o,t,"Pattern")}r(e.body,t,e.expression?"Expression":"Statement")};R.Pattern=function(e,t,r){e.type==="Identifier"?r(e,t,"VariablePattern"):e.type==="MemberExpression"?r(e,t,"MemberPattern"):r(e,t)};R.VariablePattern=cr;R.MemberPattern=Ci;R.RestElement=function(e,t,r){return r(e.argument,t,"Pattern")};R.ArrayPattern=function(e,t,r){for(var s=0,i=e.elements;s<i.length;s+=1){var o=i[s];o&&r(o,t,"Pattern")}};R.ObjectPattern=function(e,t,r){for(var s=0,i=e.properties;s<i.length;s+=1){var o=i[s];o.type==="Property"?(o.computed&&r(o.key,t,"Expression"),r(o.value,t,"Pattern")):o.type==="RestElement"&&r(o.argument,t,"Pattern")}};R.Expression=Ci;R.ThisExpression=R.Super=R.MetaProperty=cr;R.ArrayExpression=function(e,t,r){for(var s=0,i=e.elements;s<i.length;s+=1){var o=i[s];o&&r(o,t,"Expression")}};R.ObjectExpression=function(e,t,r){for(var s=0,i=e.properties;s<i.length;s+=1){var o=i[s];r(o,t)}};R.FunctionExpression=R.ArrowFunctionExpression=R.FunctionDeclaration;R.SequenceExpression=function(e,t,r){for(var s=0,i=e.expressions;s<i.length;s+=1){var o=i[s];r(o,t,"Expression")}};R.TemplateLiteral=function(e,t,r){for(var s=0,i=e.quasis;s<i.length;s+=1){var o=i[s];r(o,t)}for(var c=0,u=e.expressions;c<u.length;c+=1){var h=u[c];r(h,t,"Expression")}};R.TemplateElement=cr;R.UnaryExpression=R.UpdateExpression=function(e,t,r){r(e.argument,t,"Expression")};R.BinaryExpression=R.LogicalExpression=function(e,t,r){r(e.left,t,"Expression"),r(e.right,t,"Expression")};R.AssignmentExpression=R.AssignmentPattern=function(e,t,r){r(e.left,t,"Pattern"),r(e.right,t,"Expression")};R.ConditionalExpression=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Expression"),r(e.alternate,t,"Expression")};R.NewExpression=R.CallExpression=function(e,t,r){if(r(e.callee,t,"Expression"),e.arguments)for(var s=0,i=e.arguments;s<i.length;s+=1){var o=i[s];r(o,t,"Expression")}};R.MemberExpression=function(e,t,r){r(e.object,t,"Expression"),e.computed&&r(e.property,t,"Expression")};R.ExportNamedDeclaration=R.ExportDefaultDeclaration=function(e,t,r){if(e.declaration&&r(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression"),e.source&&r(e.source,t,"Expression"),e.attributes)for(var s=0,i=e.attributes;s<i.length;s+=1){var o=i[s];r(o,t)}};R.ExportAllDeclaration=function(e,t,r){if(e.exported&&r(e.exported,t),r(e.source,t,"Expression"),e.attributes)for(var s=0,i=e.attributes;s<i.length;s+=1){var o=i[s];r(o,t)}};R.ImportAttribute=function(e,t,r){r(e.value,t,"Expression")};R.ImportDeclaration=function(e,t,r){for(var s=0,i=e.specifiers;s<i.length;s+=1){var o=i[s];r(o,t)}if(r(e.source,t,"Expression"),e.attributes)for(var c=0,u=e.attributes;c<u.length;c+=1){var h=u[c];r(h,t)}};R.ImportExpression=function(e,t,r){r(e.source,t,"Expression"),e.options&&r(e.options,t,"Expression")};R.ImportSpecifier=R.ImportDefaultSpecifier=R.ImportNamespaceSpecifier=R.Identifier=R.PrivateIdentifier=R.Literal=cr;R.TaggedTemplateExpression=function(e,t,r){r(e.tag,t,"Expression"),r(e.quasi,t,"Expression")};R.ClassDeclaration=R.ClassExpression=function(e,t,r){return r(e,t,"Class")};R.Class=function(e,t,r){e.id&&r(e.id,t,"Pattern"),e.superClass&&r(e.superClass,t,"Expression"),r(e.body,t)};R.ClassBody=function(e,t,r){for(var s=0,i=e.body;s<i.length;s+=1){var o=i[s];r(o,t)}};R.MethodDefinition=R.PropertyDefinition=R.Property=function(e,t,r){e.computed&&r(e.key,t,"Expression"),e.value&&r(e.value,t,"Expression")};let Gr=0;const yc=new Set(["React","Fragment","window","document","navigator","location","history","localStorage","sessionStorage","console","fetch","URL","URLSearchParams","FormData","Headers","Request","Response","Blob","File","FileReader","FileList","AbortController","AbortSignal","Event","CustomEvent","EventTarget","MutationObserver","IntersectionObserver","ResizeObserver","requestAnimationFrame","cancelAnimationFrame","setTimeout","setInterval","clearTimeout","clearInterval","HTMLElement","SVGElement","Element","Node","NodeList","Math","Date","JSON","Array","Object","String","Number","Boolean","BigInt","Symbol","RegExp","Promise","Set","Map","WeakSet","WeakMap","Proxy","Reflect","Error","TypeError","ReferenceError","RangeError","SyntaxError","URIError","parseInt","parseFloat","isNaN","isFinite","NaN","Infinity","undefined","encodeURIComponent","decodeURIComponent","encodeURI","decodeURI","btoa","atob","structuredClone","queueMicrotask","Record","Partial","Required","Readonly","Pick","Omit","Exclude","Extract","require","module","exports","globalThis","self","_jsxDEV","_jsxs","_jsx","_Fragment","DataTable","MetricCard","StatusBadge","DetailCard","StepWizard","Logo","Avatar","cn"]);function Qd(e){const t=new Set(yc),r=/import\s*\{([^}]+)\}\s*from\s*['"][^'"]+['"]/g;let s;for(;s=r.exec(e);)for(const L of s[1].split(",")){const j=L.trim();if(!j)continue;const F=j.split(/\s+as\s+/);t.add(F[F.length-1].trim())}const i=/import\s+([A-Z]\w*)\s+from\s*['"][^'"]+['"]/g;for(;s=i.exec(e);)t.add(s[1]);const o=/import\s*\*\s*as\s+(\w+)\s+from\s*['"][^'"]+['"]/g;for(;s=o.exec(e);)t.add(s[1]);const c=/(?:const|let|var)\s+(\w+)/g;for(;s=c.exec(e);)t.add(s[1]);const u=/function\s+(\w+)/g;for(;s=u.exec(e);)t.add(s[1]);const h=/class\s+(\w+)/g;for(;s=h.exec(e);)t.add(s[1]);const f=/enum\s+(\w+)/g;for(;s=f.exec(e);)t.add(s[1]);const m=/(?:type|interface)\s+(\w+)/g;for(;s=m.exec(e);)t.add(s[1]);const x=/<([A-Z]\w*)/g,_=[],y=new Set;for(;s=x.exec(e);){const L=s[1];if(t.has(L)||y.has(L))continue;y.add(L);const F=e.substring(0,s.index).split(`
199
+ `).length;_.push({name:L,line:F})}return _}function Jd(e,t){let r;try{r=kc(e,{ecmaVersion:"latest",sourceType:"module",locations:!0})}catch{return[]}const s=new Set(yc);Is(r,{ImportDeclaration(c){for(const u of c.specifiers)s.add(u.local.name)},VariableDeclarator(c){yt(c.id,s)},FunctionDeclaration(c){c.id&&s.add(c.id.name)},ClassDeclaration(c){c.id&&s.add(c.id.name)}}),Is(r,{FunctionDeclaration(c){Es(c.params,s)},FunctionExpression(c){Es(c.params,s)},ArrowFunctionExpression(c){Es(c.params,s)},CatchClause(c){c.param&&yt(c.param,s)},ForInStatement(c){if(c.left.type==="VariableDeclaration")for(const u of c.left.declarations)yt(u.id,s)},ForOfStatement(c){if(c.left.type==="VariableDeclaration")for(const u of c.left.declarations)yt(u.id,s)}});const i=[],o=new Set;return Is(r,{Identifier(c){const u=c.name;s.has(u)||o.has(u)}}),Kd(r,{Identifier(c,u,h){var y,L;const f=c.name;if(s.has(f)||o.has(f))return;const m=h[h.length-2];if(!m||m.type==="MemberExpression"&&m.property===c&&!m.computed||m.type==="Property"&&m.key===c&&!m.computed||m.type==="ImportSpecifier"||m.type==="ImportDefaultSpecifier"||m.type==="ImportNamespaceSpecifier"||m.type==="VariableDeclarator"&&m.id===c||m.type==="FunctionDeclaration"&&m.id===c||m.type==="ClassDeclaration"&&m.id===c||m.type==="LabeledStatement"&&m.label===c||(m.type==="BreakStatement"||m.type==="ContinueStatement")&&m.label===c||m.type==="MethodDefinition"&&m.key===c||m.type==="JSXAttribute"&&m.name===c||m.type==="JSXOpeningElement"&&m.name===c||m.type==="JSXClosingElement"&&m.name===c)return;o.add(f);const x=((L=(y=c.loc)==null?void 0:y.start)==null?void 0:L.line)??1,_=Math.min(x,t);i.push({name:f,line:_})}}),i}function yt(e,t){if(e)switch(e.type){case"Identifier":t.add(e.name);break;case"ObjectPattern":for(const r of e.properties)r.type==="RestElement"?yt(r.argument,t):yt(r.value,t);break;case"ArrayPattern":for(const r of e.elements)r&&yt(r,t);break;case"RestElement":yt(e.argument,t);break;case"AssignmentPattern":yt(e.left,t);break}}function Es(e,t){for(const r of e)yt(r,t)}function jn(e,t){const r=e.split(`
200
200
  `),s=[];let i=null,o=null,c=0;if(t>0&&t<=r.length){const h=r[t-1].match(/^(\s*)/);c=h?h[1].length:0}for(let u=Math.min(t-1,r.length-1);u>=0;u--){const h=r[u];if(!i){const f=h.match(/^(\s*)(export\s+default\s+)?function\s+(\w+)/);f&&(i={name:f[3],line:u+1});const m=h.match(/^(\s*)(export\s+default\s+)?const\s+(\w+)\s*=\s*(\([^)]*\)|[^=])*=>/);m&&(i={name:m[3],line:u+1})}if(!o){const f=h.match(/activePage\s*===\s*['"](\w+)['"]/);f&&(o={page:f[1],line:u+1})}if(i&&o)break}return i&&s.push(`inside function ${i.name} (line ${i.line})`),o&&s.push(`inside activePage === '${o.page}' block (line ${o.line})`),s.length===0&&s.push(`at indent level ${c} spaces`),s.join(", ")}function Zd(e){const t=e.split(`
201
201
  `),r=[],s=/\{?\/\*\s*@section:\s*(.+?)\s*\*\/\}?/;for(let i=0;i<t.length;i++){const o=t[i].match(s);o&&r.push({name:o[1].trim(),startLine:i+1,endLine:t.length})}for(let i=0;i<r.length;i++)if(i+1<r.length)r[i].endLine=r[i+1].startLine-1;else{let o=t.length;for(let c=r[i].startLine;c<t.length;c++)if(t[c].includes("</main>")||t[c].match(/^\s*<\/div>\s*$/)){o=c;break}r[i].endLine=o}return r}function Fn(e,t){const r=e.split(`
202
202
  `),s=Math.max(0,t-6),i=Math.min(r.length,t+5);return r.slice(s,i).map((o,c)=>{const u=s+c+1;return`${u===t?">>>":" "} ${u}: ${o}`}).join(`
203
- `)}function es(e,t={}){var m;const{filename:r="App.tsx",isTypeScript:s,isJSX:i}=t,o=((m=r.split(".").pop())==null?void 0:m.toLowerCase())??"",c=[];(s??(o==="tsx"||o==="ts"))&&c.push("typescript"),(i??(o==="tsx"||o==="jsx"))&&c.push("jsx");const u=[],h=Zd(e);let f="";try{f=ud(e,{transforms:c,jsxRuntime:"automatic",production:!1,filePath:r}).code}catch(x){const _=tm(x,e);return u.push(_),{code:"",error:_,errors:u,sections:h}}try{k1(f,{ecmaVersion:"latest",sourceType:"module"})}catch(x){const _=(x.message||"").toLowerCase();if(_.includes("export")||_.includes("import")){const y=em(x,e);u.push(y)}}if((o==="tsx"||o==="jsx")&&!/export\s+default\s/.test(e)&&!/module\.exports/.test(e)&&u.push({id:`struct-${++Gr}`,category:"transpilation",severity:"error",message:'Missing "export default" — component will not render in preview',timestamp:new Date().toISOString()}),o==="tsx"||o==="jsx"){const x=Qd(e);for(const{name:_,line:y}of x)u.push({id:`scope-${++Gr}`,category:"runtime",severity:"error",message:`"${_}" is used in JSX but not imported or declared — will cause ReferenceError at runtime`,line:y,sourceContext:Fn(e,y),location:jn(e,y),timestamp:new Date().toISOString()})}if(o==="tsx"||o==="jsx"||o==="ts"||o==="js"){const x=e.split(`
203
+ `)}function es(e,t={}){var m;const{filename:r="App.tsx",isTypeScript:s,isJSX:i}=t,o=((m=r.split(".").pop())==null?void 0:m.toLowerCase())??"",c=[];(s??(o==="tsx"||o==="ts"))&&c.push("typescript"),(i??(o==="tsx"||o==="jsx"))&&c.push("jsx");const u=[],h=Zd(e);let f="";try{f=ud(e,{transforms:c,jsxRuntime:"automatic",production:!1,filePath:r}).code}catch(x){const _=tm(x,e);return u.push(_),{code:"",error:_,errors:u,sections:h}}try{kc(f,{ecmaVersion:"latest",sourceType:"module"})}catch(x){const _=(x.message||"").toLowerCase();if(_.includes("export")||_.includes("import")){const y=em(x,e);u.push(y)}}if((o==="tsx"||o==="jsx")&&!/export\s+default\s/.test(e)&&!/module\.exports/.test(e)&&u.push({id:`struct-${++Gr}`,category:"transpilation",severity:"error",message:'Missing "export default" — component will not render in preview',timestamp:new Date().toISOString()}),o==="tsx"||o==="jsx"){const x=Qd(e);for(const{name:_,line:y}of x)u.push({id:`scope-${++Gr}`,category:"runtime",severity:"error",message:`"${_}" is used in JSX but not imported or declared — will cause ReferenceError at runtime`,line:y,sourceContext:Fn(e,y),location:jn(e,y),timestamp:new Date().toISOString()})}if(o==="tsx"||o==="jsx"||o==="ts"||o==="js"){const x=e.split(`
204
204
  `).length,_=Jd(f,x);for(const{name:y,line:L}of _)u.some(j=>j.message.includes(`"${y}"`))||u.push({id:`scope-${++Gr}`,category:"runtime",severity:"error",message:`"${y}" is not defined — will cause ReferenceError at runtime. Check spelling or add import/declaration.`,line:L,sourceContext:Fn(e,L),location:jn(e,L),timestamp:new Date().toISOString()})}return{code:f,error:u.length>0?u[0]:null,errors:u,sections:h}}function em(e,t,r){const s=e.message||"Module validation failed";let i,o;e.loc&&(i=e.loc.line,o=e.loc.column+1);const c=i?Fn(t,i):void 0,u=i?jn(t,i):void 0,h=s.replace(/\s*\(\d+:\d+\)\s*$/,"");return{id:`module-${++Gr}`,category:"transpilation",severity:"error",message:h,line:i,column:o,sourceContext:c,location:u,timestamp:new Date().toISOString()}}function tm(e,t){var f,m;const r=e.message||"Transpilation failed";let s,i;const o=r.match(/\((\d+):(\d+)\)/);if(o&&(s=parseInt(o[1],10),i=parseInt(o[2],10)),!s&&typeof e.pos=="number"){const x=t.substring(0,e.pos).split(`
205
205
  `);s=x.length,i=(((f=x[x.length-1])==null?void 0:f.length)??0)+1}const c=s?Fn(t,s):void 0,u=s?jn(t,s):void 0;let h="";if(s&&(r.includes("Unexpected token")||r.includes("Unterminated"))){const x=t.split(`
206
206
  `).length,_=rm(t),y=((m=t.split(`
207
207
  `).reverse().find(F=>F.trim()))==null?void 0:m.trim())??"",L=/^[}\])\s;]*$/.test(y)||y.endsWith("};");if(x>20&&_>=2&&!L)h=` — FILE APPEARS TRUNCATED (${_} unclosed brackets/tags at end of file). The code was cut off mid-generation. Do NOT try to fix syntax — instead, use content_tool edit to add the missing closing code from where it was cut off.`;else{const F=nm(t);if(F){const ne=F.char==="{"?"brace":F.char==="("?"parenthesis":"bracket";h=` — likely caused by unclosed '${F.char}' (${ne}) on line ${F.line}. Read lines ${Math.max(1,F.line-2)}–${F.line+10} to find where the closing '${F.char==="{"?"}":F.char==="("?")":"]"}' is missing, then add it with content_tool edit.`}}}return{id:`transpile-${++Gr}`,category:"transpilation",severity:"error",message:sm(r)+h,line:s,column:i,sourceContext:c,location:u,timestamp:new Date().toISOString()}}function rm(e){const t={"(":")","[":"]","{":"}"},r=new Set([")","]","}"]),s=[];let i=!1,o="",c=!1,u=!1,h=!1;for(let f=0;f<e.length;f++){const m=e[f],x=e[f+1];if(m===`
208
208
  `){u=!1;continue}if(!u){if(h){m==="*"&&x==="/"&&(h=!1,f++);continue}if(i){if(m==="\\"){f++;continue}m===o&&(i=!1);continue}if(c){if(m==="\\"){f++;continue}m==="`"&&(c=!1);continue}if(m==="/"&&x==="/"){u=!0,f++;continue}if(m==="/"&&x==="*"){h=!0,f++;continue}if(m==="'"||m==='"'){i=!0,o=m;continue}if(m==="`"){c=!0;continue}t[m]?s.push(m):r.has(m)&&s.length>0&&s.pop()}}return s.length}function nm(e,t){const r={"(":")","[":"]","{":"}"},s={")":"(","]":"[","}":"{"},i=[];let o=!1,c="",u=!1,h=!1,f=!1,m=1,x=null;for(let _=0;_<e.length;_++){const y=e[_],L=e[_+1];if(y===`
209
- `){m++,h=!1;continue}if(!h){if(f){y==="*"&&L==="/"&&(f=!1,_++);continue}if(o){if(y==="\\"){_++;continue}y===c&&(o=!1);continue}if(u){if(y==="\\"){_++;continue}y==="`"&&(u=!1);continue}if(y==="/"&&L==="/"){h=!0,_++;continue}if(y==="/"&&L==="*"){f=!0,_++;continue}if(y==="'"||y==='"'){o=!0,c=y;continue}if(y==="`"){u=!0;continue}r[y]?i.push({char:y,line:m}):s[y]&&(i.length>0&&i[i.length-1].char===s[y]?i.pop():x||(x=i.length>0?i[i.length-1]:{char:y,line:m}))}}return x||(i.length>0?i[0]:null)}function sm(e){return e.replace(/^\/[^:]+:\s*/,"").replace(/^Error:\s*/,"")}function im(e){const t={};for(const[r,s]of Object.entries(e))t[r]=es(s,{filename:r});return t}const am="https://esm.sh";function Ti(e={}){var h,f;const t=e.cdnBase||am,r="18.2.0",s="?external=react,react-dom",i={react:`${t}/react@${r}?dev`,"react/":`${t}/react@${r}&dev/`,"react-dom":`${t}/react-dom@${r}?dev`,"react-dom/":`${t}/react-dom@${r}&dev/`,"react/jsx-runtime":`${t}/react@${r}/jsx-runtime?dev`,"react/jsx-dev-runtime":`${t}/react@${r}/jsx-dev-runtime?dev`,"class-variance-authority":`${t}/class-variance-authority@0.7.1`,clsx:`${t}/clsx@2.1.1`,"tailwind-merge":`${t}/tailwind-merge@2.6.0`,"lucide-react":`${t}/lucide-react@0.468.0${s}`,"react-icons/":`${t}/react-icons@5.4.0/`,"date-fns":`${t}/date-fns@4.1.0`,"date-fns/":`${t}/date-fns@4.1.0/`,"chart.js":`${t}/chart.js@4.4.8/auto`,"chart.js/auto":`${t}/chart.js@4.4.8/auto`,"chart.js/":`${t}/chart.js@4.4.8/`,"react-chartjs-2":`${t}/react-chartjs-2@5.3.0${s}`,recharts:`${t}/recharts@2.15.0${s}`,"recharts/":`${t}/recharts@2.15.0&external=react,react-dom/`,"framer-motion":`${t}/framer-motion@11.18.0${s}`,"framer-motion/":`${t}/framer-motion@11.18.0&external=react,react-dom/`,"react-hook-form":`${t}/react-hook-form@7.54.2${s}`,zod:`${t}/zod@3.24.1`,"@hookform/resolvers":`${t}/@hookform/resolvers@3.9.1${s}`,"@hookform/resolvers/":`${t}/@hookform/resolvers@3.9.1&external=react,react-dom/`,"@tanstack/react-table":`${t}/@tanstack/react-table@8.21.2${s}`,zustand:`${t}/zustand@5.0.3${s}`,"zustand/":`${t}/zustand@5.0.3&external=react,react-dom/`,"react-router-dom":`${t}/react-router-dom@6.28.2${s}`,"react-router-dom/":`${t}/react-router-dom@6.28.2&external=react,react-dom/`,sonner:`${t}/sonner@1.7.3${s}`,cmdk:`${t}/cmdk@1.0.4${s}`,"@dnd-kit/core":`${t}/@dnd-kit/core@6.3.1${s}`,"@dnd-kit/sortable":`${t}/@dnd-kit/sortable@10.0.0${s}`,"@dnd-kit/utilities":`${t}/@dnd-kit/utilities@3.2.2`,axios:`${t}/axios@1.7.9`,"axios/":`${t}/axios@1.7.9/`,"lodash-es":`${t}/lodash-es@4.17.21`,"lodash-es/":`${t}/lodash-es@4.17.21/`,nanoid:`${t}/nanoid@5.0.9`,uuid:`${t}/uuid@11.0.5`,"react-markdown":`${t}/react-markdown@9.0.3${s}`,"remark-gfm":`${t}/remark-gfm@4.0.0`,"react-syntax-highlighter":`${t}/react-syntax-highlighter@15.6.1${s}`,"react-syntax-highlighter/":`${t}/react-syntax-highlighter@15.6.1&external=react,react-dom/`,"react-leaflet":`${t}/react-leaflet@4.2.1${s}`,"react-leaflet/":`${t}/react-leaflet@4.2.1&external=react,react-dom/`,leaflet:`${t}/leaflet@1.9.4`,"leaflet/":`${t}/leaflet@1.9.4/`,"react-player":`${t}/react-player@2.16.0${s}`,"react-player/":`${t}/react-player@2.16.0&external=react,react-dom/`,"usehooks-ts":`${t}/usehooks-ts@3.1.0${s}`,"react-colorful":`${t}/react-colorful@5.6.1${s}`,"@radix-ui/react-slot":`${t}/@radix-ui/react-slot@1.1.1${s}`,"@radix-ui/react-accordion":`${t}/@radix-ui/react-accordion@1.2.2${s}`,"@radix-ui/react-alert-dialog":`${t}/@radix-ui/react-alert-dialog@1.1.4${s}`,"@radix-ui/react-aspect-ratio":`${t}/@radix-ui/react-aspect-ratio@1.1.1${s}`,"@radix-ui/react-avatar":`${t}/@radix-ui/react-avatar@1.1.2${s}`,"@radix-ui/react-checkbox":`${t}/@radix-ui/react-checkbox@1.1.3${s}`,"@radix-ui/react-collapsible":`${t}/@radix-ui/react-collapsible@1.1.2${s}`,"@radix-ui/react-context-menu":`${t}/@radix-ui/react-context-menu@2.2.4${s}`,"@radix-ui/react-dialog":`${t}/@radix-ui/react-dialog@1.1.4${s}`,"@radix-ui/react-dropdown-menu":`${t}/@radix-ui/react-dropdown-menu@2.1.4${s}`,"@radix-ui/react-hover-card":`${t}/@radix-ui/react-hover-card@1.1.4${s}`,"@radix-ui/react-label":`${t}/@radix-ui/react-label@2.1.1${s}`,"@radix-ui/react-menubar":`${t}/@radix-ui/react-menubar@1.1.4${s}`,"@radix-ui/react-navigation-menu":`${t}/@radix-ui/react-navigation-menu@1.2.3${s}`,"@radix-ui/react-popover":`${t}/@radix-ui/react-popover@1.1.4${s}`,"@radix-ui/react-progress":`${t}/@radix-ui/react-progress@1.1.1${s}`,"@radix-ui/react-radio-group":`${t}/@radix-ui/react-radio-group@1.2.2${s}`,"@radix-ui/react-scroll-area":`${t}/@radix-ui/react-scroll-area@1.2.2${s}`,"@radix-ui/react-select":`${t}/@radix-ui/react-select@2.1.4${s}`,"@radix-ui/react-separator":`${t}/@radix-ui/react-separator@1.1.1${s}`,"@radix-ui/react-slider":`${t}/@radix-ui/react-slider@1.2.2${s}`,"@radix-ui/react-switch":`${t}/@radix-ui/react-switch@1.1.2${s}`,"@radix-ui/react-tabs":`${t}/@radix-ui/react-tabs@1.1.2${s}`,"@radix-ui/react-toast":`${t}/@radix-ui/react-toast@1.2.4${s}`,"@radix-ui/react-toggle":`${t}/@radix-ui/react-toggle@1.1.1${s}`,"@radix-ui/react-toggle-group":`${t}/@radix-ui/react-toggle-group@1.1.1${s}`,"@radix-ui/react-tooltip":`${t}/@radix-ui/react-tooltip@1.1.6${s}`,"@radix-ui/react-portal":`${t}/@radix-ui/react-portal@1.1.3${s}`,"@radix-ui/react-visually-hidden":`${t}/@radix-ui/react-visually-hidden@1.1.1${s}`,"@radix-ui/react-collection":`${t}/@radix-ui/react-collection@1.1.1${s}`,"@radix-ui/react-context":`${t}/@radix-ui/react-context@1.1.1${s}`,"embla-carousel-react":`${t}/embla-carousel-react@8.5.1${s}`,"embla-carousel-autoplay":`${t}/embla-carousel-autoplay@8.5.1`,vaul:`${t}/vaul@1.1.2${s}`,"resize-observer-polyfill":`${t}/resize-observer-polyfill@1.5.1`,"react-resizable-panels":`${t}/react-resizable-panels@2.1.7${s}`,"react-day-picker":`${t}/react-day-picker@9.4.4${s}`,"input-otp":`${t}/input-otp@1.4.1${s}`,"react-dropzone":`${t}/react-dropzone@14.3.5${s}`,"qrcode.react":`${t}/qrcode.react@4.2.0${s}`},o=["esm.sh","cdn.jsdelivr.net","unpkg.com","cdn.skypack.dev","cdnjs.cloudflare.com"];if(e.dependencies)for(const[m,x]of Object.entries(e.dependencies))if(x.startsWith("http")){try{const _=new URL(x);if(!o.some(y=>_.hostname===y||_.hostname.endsWith("."+y))){console.warn(`[codeviz] Blocked untrusted CDN URL for "${m}": ${x}`);continue}}catch{console.warn(`[codeviz] Invalid URL for "${m}": ${x}`);continue}i[m]=x}else i[m]=`${t}/${m}@${x}${s}`;const c={...i,...((h=e.overrides)==null?void 0:h.imports)||{}},u={react:`${t}/react@${r}?dev`,"react/":`${t}/react@${r}&dev/`,"react-dom":`${t}/react-dom@${r}?dev`,"react-dom/":`${t}/react-dom@${r}&dev/`,"react/jsx-runtime":`${t}/react@${r}/jsx-runtime?dev`,"react/jsx-dev-runtime":`${t}/react@${r}/jsx-dev-runtime?dev`};return{imports:c,scopes:{[`${t}/`]:u,...((f=e.overrides)==null?void 0:f.scopes)||{}}}}function Ai(e){return`<script type="importmap">${JSON.stringify(e,null,2)}<\/script>`}function v1(){return`Available packages (just import, no install needed):
209
+ `){m++,h=!1;continue}if(!h){if(f){y==="*"&&L==="/"&&(f=!1,_++);continue}if(o){if(y==="\\"){_++;continue}y===c&&(o=!1);continue}if(u){if(y==="\\"){_++;continue}y==="`"&&(u=!1);continue}if(y==="/"&&L==="/"){h=!0,_++;continue}if(y==="/"&&L==="*"){f=!0,_++;continue}if(y==="'"||y==='"'){o=!0,c=y;continue}if(y==="`"){u=!0;continue}r[y]?i.push({char:y,line:m}):s[y]&&(i.length>0&&i[i.length-1].char===s[y]?i.pop():x||(x=i.length>0?i[i.length-1]:{char:y,line:m}))}}return x||(i.length>0?i[0]:null)}function sm(e){return e.replace(/^\/[^:]+:\s*/,"").replace(/^Error:\s*/,"")}function im(e){const t={};for(const[r,s]of Object.entries(e))t[r]=es(s,{filename:r});return t}const am="https://esm.sh";function Ti(e={}){var h,f;const t=e.cdnBase||am,r="18.2.0",s="?external=react,react-dom",i={react:`${t}/react@${r}?dev`,"react/":`${t}/react@${r}&dev/`,"react-dom":`${t}/react-dom@${r}?dev`,"react-dom/":`${t}/react-dom@${r}&dev/`,"react/jsx-runtime":`${t}/react@${r}/jsx-runtime?dev`,"react/jsx-dev-runtime":`${t}/react@${r}/jsx-dev-runtime?dev`,"class-variance-authority":`${t}/class-variance-authority@0.7.1`,clsx:`${t}/clsx@2.1.1`,"tailwind-merge":`${t}/tailwind-merge@2.6.0`,"lucide-react":`${t}/lucide-react@0.468.0${s}`,"react-icons/":`${t}/react-icons@5.4.0/`,"date-fns":`${t}/date-fns@4.1.0`,"date-fns/":`${t}/date-fns@4.1.0/`,"chart.js":`${t}/chart.js@4.4.8/auto`,"chart.js/auto":`${t}/chart.js@4.4.8/auto`,"chart.js/":`${t}/chart.js@4.4.8/`,"react-chartjs-2":`${t}/react-chartjs-2@5.3.0${s}`,recharts:`${t}/recharts@2.15.0${s}`,"recharts/":`${t}/recharts@2.15.0&external=react,react-dom/`,"framer-motion":`${t}/framer-motion@11.18.0${s}`,"framer-motion/":`${t}/framer-motion@11.18.0&external=react,react-dom/`,"react-hook-form":`${t}/react-hook-form@7.54.2${s}`,zod:`${t}/zod@3.24.1`,"@hookform/resolvers":`${t}/@hookform/resolvers@3.9.1${s}`,"@hookform/resolvers/":`${t}/@hookform/resolvers@3.9.1&external=react,react-dom/`,"@tanstack/react-table":`${t}/@tanstack/react-table@8.21.2${s}`,zustand:`${t}/zustand@5.0.3${s}`,"zustand/":`${t}/zustand@5.0.3&external=react,react-dom/`,"react-router-dom":`${t}/react-router-dom@6.28.2${s}`,"react-router-dom/":`${t}/react-router-dom@6.28.2&external=react,react-dom/`,sonner:`${t}/sonner@1.7.3${s}`,cmdk:`${t}/cmdk@1.0.4${s}`,"@dnd-kit/core":`${t}/@dnd-kit/core@6.3.1${s}`,"@dnd-kit/sortable":`${t}/@dnd-kit/sortable@10.0.0${s}`,"@dnd-kit/utilities":`${t}/@dnd-kit/utilities@3.2.2`,axios:`${t}/axios@1.7.9`,"axios/":`${t}/axios@1.7.9/`,"lodash-es":`${t}/lodash-es@4.17.21`,"lodash-es/":`${t}/lodash-es@4.17.21/`,nanoid:`${t}/nanoid@5.0.9`,uuid:`${t}/uuid@11.0.5`,"react-markdown":`${t}/react-markdown@9.0.3${s}`,"remark-gfm":`${t}/remark-gfm@4.0.0`,"react-syntax-highlighter":`${t}/react-syntax-highlighter@15.6.1${s}`,"react-syntax-highlighter/":`${t}/react-syntax-highlighter@15.6.1&external=react,react-dom/`,"react-leaflet":`${t}/react-leaflet@4.2.1${s}`,"react-leaflet/":`${t}/react-leaflet@4.2.1&external=react,react-dom/`,leaflet:`${t}/leaflet@1.9.4`,"leaflet/":`${t}/leaflet@1.9.4/`,"react-player":`${t}/react-player@2.16.0${s}`,"react-player/":`${t}/react-player@2.16.0&external=react,react-dom/`,"usehooks-ts":`${t}/usehooks-ts@3.1.0${s}`,"react-colorful":`${t}/react-colorful@5.6.1${s}`,"@radix-ui/react-slot":`${t}/@radix-ui/react-slot@1.1.1${s}`,"@radix-ui/react-accordion":`${t}/@radix-ui/react-accordion@1.2.2${s}`,"@radix-ui/react-alert-dialog":`${t}/@radix-ui/react-alert-dialog@1.1.4${s}`,"@radix-ui/react-aspect-ratio":`${t}/@radix-ui/react-aspect-ratio@1.1.1${s}`,"@radix-ui/react-avatar":`${t}/@radix-ui/react-avatar@1.1.2${s}`,"@radix-ui/react-checkbox":`${t}/@radix-ui/react-checkbox@1.1.3${s}`,"@radix-ui/react-collapsible":`${t}/@radix-ui/react-collapsible@1.1.2${s}`,"@radix-ui/react-context-menu":`${t}/@radix-ui/react-context-menu@2.2.4${s}`,"@radix-ui/react-dialog":`${t}/@radix-ui/react-dialog@1.1.4${s}`,"@radix-ui/react-dropdown-menu":`${t}/@radix-ui/react-dropdown-menu@2.1.4${s}`,"@radix-ui/react-hover-card":`${t}/@radix-ui/react-hover-card@1.1.4${s}`,"@radix-ui/react-label":`${t}/@radix-ui/react-label@2.1.1${s}`,"@radix-ui/react-menubar":`${t}/@radix-ui/react-menubar@1.1.4${s}`,"@radix-ui/react-navigation-menu":`${t}/@radix-ui/react-navigation-menu@1.2.3${s}`,"@radix-ui/react-popover":`${t}/@radix-ui/react-popover@1.1.4${s}`,"@radix-ui/react-progress":`${t}/@radix-ui/react-progress@1.1.1${s}`,"@radix-ui/react-radio-group":`${t}/@radix-ui/react-radio-group@1.2.2${s}`,"@radix-ui/react-scroll-area":`${t}/@radix-ui/react-scroll-area@1.2.2${s}`,"@radix-ui/react-select":`${t}/@radix-ui/react-select@2.1.4${s}`,"@radix-ui/react-separator":`${t}/@radix-ui/react-separator@1.1.1${s}`,"@radix-ui/react-slider":`${t}/@radix-ui/react-slider@1.2.2${s}`,"@radix-ui/react-switch":`${t}/@radix-ui/react-switch@1.1.2${s}`,"@radix-ui/react-tabs":`${t}/@radix-ui/react-tabs@1.1.2${s}`,"@radix-ui/react-toast":`${t}/@radix-ui/react-toast@1.2.4${s}`,"@radix-ui/react-toggle":`${t}/@radix-ui/react-toggle@1.1.1${s}`,"@radix-ui/react-toggle-group":`${t}/@radix-ui/react-toggle-group@1.1.1${s}`,"@radix-ui/react-tooltip":`${t}/@radix-ui/react-tooltip@1.1.6${s}`,"@radix-ui/react-portal":`${t}/@radix-ui/react-portal@1.1.3${s}`,"@radix-ui/react-visually-hidden":`${t}/@radix-ui/react-visually-hidden@1.1.1${s}`,"@radix-ui/react-collection":`${t}/@radix-ui/react-collection@1.1.1${s}`,"@radix-ui/react-context":`${t}/@radix-ui/react-context@1.1.1${s}`,"embla-carousel-react":`${t}/embla-carousel-react@8.5.1${s}`,"embla-carousel-autoplay":`${t}/embla-carousel-autoplay@8.5.1`,vaul:`${t}/vaul@1.1.2${s}`,"resize-observer-polyfill":`${t}/resize-observer-polyfill@1.5.1`,"react-resizable-panels":`${t}/react-resizable-panels@2.1.7${s}`,"react-day-picker":`${t}/react-day-picker@9.4.4${s}`,"input-otp":`${t}/input-otp@1.4.1${s}`,"react-dropzone":`${t}/react-dropzone@14.3.5${s}`,"qrcode.react":`${t}/qrcode.react@4.2.0${s}`},o=["esm.sh","cdn.jsdelivr.net","unpkg.com","cdn.skypack.dev","cdnjs.cloudflare.com"];if(e.dependencies)for(const[m,x]of Object.entries(e.dependencies))if(x.startsWith("http")){try{const _=new URL(x);if(!o.some(y=>_.hostname===y||_.hostname.endsWith("."+y))){console.warn(`[codeviz] Blocked untrusted CDN URL for "${m}": ${x}`);continue}}catch{console.warn(`[codeviz] Invalid URL for "${m}": ${x}`);continue}i[m]=x}else i[m]=`${t}/${m}@${x}${s}`;const c={...i,...((h=e.overrides)==null?void 0:h.imports)||{}},u={react:`${t}/react@${r}?dev`,"react/":`${t}/react@${r}&dev/`,"react-dom":`${t}/react-dom@${r}?dev`,"react-dom/":`${t}/react-dom@${r}&dev/`,"react/jsx-runtime":`${t}/react@${r}/jsx-runtime?dev`,"react/jsx-dev-runtime":`${t}/react@${r}/jsx-dev-runtime?dev`};return{imports:c,scopes:{[`${t}/`]:u,...((f=e.overrides)==null?void 0:f.scopes)||{}}}}function Ai(e){return`<script type="importmap">${JSON.stringify(e,null,2)}<\/script>`}function vc(){return`Available packages (just import, no install needed):
210
210
 
211
211
  STYLING: clsx, class-variance-authority, tailwind-merge
212
212
  ICONS: lucide-react (1400+ icons), react-icons/* (40k+ icons from fa/md/hi/etc)
@@ -1208,10 +1208,10 @@ ${bm(m)}
1208
1208
  payload: { message: msg, level: 'error' }
1209
1209
  }, '*');
1210
1210
  };
1211
- <\/script>`}let ym=0;function pa(e,t,r){return{id:`preview-${++ym}`,category:e,severity:"error",message:t,timestamp:new Date().toISOString(),...r}}const w1=S.memo(function({code:t,template:r,importMap:s,dependencies:i,cdnBase:o,tailwindCdn:c,externalResources:u,files:h,onError:f,onLoad:m,theme:x="dark",showLoader:_=!0,loader:y,themeCSS:L,componentsPreamble:j}){const F=S.useRef(null),[ne,P]=S.useState(!0),M=S.useRef(f),O=S.useRef(m);S.useEffect(()=>{M.current=f,O.current=m},[f,m]);const U=S.useMemo(()=>Ti({cdnBase:o,dependencies:i,overrides:s}),[o,i,s]);S.useEffect(()=>{const z=B=>{var Le,$e,Me,W,oe,Te,he,_e;if(B.origin!=="null"&&B.origin!==window.location.origin)return;const ce=B.data;if((ce==null?void 0:ce.type)==="codeviz"){if(ce.action==="ready")P(!1),(Le=O.current)==null||Le.call(O);else if(ce.action==="error"){const be=(($e=ce.payload)==null?void 0:$e.message)||"Unknown error";P(!1);const Z=be.includes("Failed to resolve")||be.includes("does not provide an export")?"import":"runtime";(Te=M.current)==null||Te.call(M,pa(Z,be,{stack:(Me=ce.payload)==null?void 0:Me.stack,line:(W=ce.payload)==null?void 0:W.line,column:(oe=ce.payload)==null?void 0:oe.column}))}else if(ce.action==="console"&&((he=ce.payload)==null?void 0:he.level)==="error"){const be=(ce.payload.message||"").trim();be&&be!=="{}"&&be!=="[]"&&be!=="undefined"&&be!=="null"&&!be.includes("Warning:")&&!be.includes("ReactDOM.render")&&!be.includes("Each child in a list")&&!be.includes("validateDOMNesting")&&((_e=M.current)==null||_e.call(M,pa("console-error",be)))}}};return window.addEventListener("message",z),()=>window.removeEventListener("message",z)},[]);const H=S.useMemo(()=>{var B;if(r==="html"||r==="markdown"||r==="mermaid"||r==="svg"||r==="csv"||r==="json"||r==="dot"||r==="latex"||r==="architecture")return wn({transpiledCode:t,template:r,importMap:U,tailwindCdn:c,externalResources:u});const z=es(t,{filename:r==="react"?"App.jsx":"App.tsx"});return z.error?((B=M.current)==null||B.call(M,z.error),wn({transpiledCode:vm(z.error),template:"html",importMap:U,tailwindCdn:!1})):wn({transpiledCode:z.code,template:r,importMap:U,tailwindCdn:c,externalResources:u,themeCSS:L,componentsPreamble:j})},[t,r,U,c,u,L,j]),G=S.useRef(H);S.useEffect(()=>{H!==G.current&&(P(!0),G.current=H)},[H]);const A=x==="dark"?"#09090b":"#ffffff";return E.jsxs("div",{style:{...Ts.container,backgroundColor:A},children:[_&&ne&&E.jsx("div",{style:{...Ts.overlay,backgroundColor:A},children:y||E.jsx(Hs,{size:"lg",label:"Building preview..."})}),E.jsx("iframe",{ref:F,srcDoc:H,sandbox:"allow-scripts allow-modals allow-popups",style:Ts.iframe,title:"Preview"})]})});function vm(e){const t=[`<div style="padding:20px;color:#fca5a5;font-family:'SF Mono',Menlo,monospace;font-size:13px;line-height:1.6;background:#18181b;min-height:100vh;">`,'<div style="color:#ef4444;font-weight:600;font-size:14px;margin-bottom:8px;">Transpilation Error</div>',`<div style="color:#fca5a5;margin-bottom:12px;">${Cs(e.message)}</div>`];if(e.line&&t.push(`<div style="color:#71717a;font-size:11px;margin-bottom:8px;">Line ${e.line}${e.column?`:${e.column}`:""}</div>`),e.sourceContext){t.push('<pre style="background:#0f0f0f;border-radius:8px;padding:12px;overflow-x:auto;font-size:12px;border:1px solid #27272a;">');for(const r of e.sourceContext.split(`
1211
+ <\/script>`}let ym=0;function pa(e,t,r){return{id:`preview-${++ym}`,category:e,severity:"error",message:t,timestamp:new Date().toISOString(),...r}}const wc=S.memo(function({code:t,template:r,importMap:s,dependencies:i,cdnBase:o,tailwindCdn:c,externalResources:u,files:h,onError:f,onLoad:m,theme:x="dark",showLoader:_=!0,loader:y,themeCSS:L,componentsPreamble:j}){const F=S.useRef(null),[ne,P]=S.useState(!0),M=S.useRef(f),O=S.useRef(m);S.useEffect(()=>{M.current=f,O.current=m},[f,m]);const U=S.useMemo(()=>Ti({cdnBase:o,dependencies:i,overrides:s}),[o,i,s]);S.useEffect(()=>{const z=B=>{var Le,$e,Me,W,oe,Te,he,_e;if(B.origin!=="null"&&B.origin!==window.location.origin)return;const ce=B.data;if((ce==null?void 0:ce.type)==="codeviz"){if(ce.action==="ready")P(!1),(Le=O.current)==null||Le.call(O);else if(ce.action==="error"){const be=(($e=ce.payload)==null?void 0:$e.message)||"Unknown error";P(!1);const Z=be.includes("Failed to resolve")||be.includes("does not provide an export")?"import":"runtime";(Te=M.current)==null||Te.call(M,pa(Z,be,{stack:(Me=ce.payload)==null?void 0:Me.stack,line:(W=ce.payload)==null?void 0:W.line,column:(oe=ce.payload)==null?void 0:oe.column}))}else if(ce.action==="console"&&((he=ce.payload)==null?void 0:he.level)==="error"){const be=(ce.payload.message||"").trim();be&&be!=="{}"&&be!=="[]"&&be!=="undefined"&&be!=="null"&&!be.includes("Warning:")&&!be.includes("ReactDOM.render")&&!be.includes("Each child in a list")&&!be.includes("validateDOMNesting")&&((_e=M.current)==null||_e.call(M,pa("console-error",be)))}}};return window.addEventListener("message",z),()=>window.removeEventListener("message",z)},[]);const H=S.useMemo(()=>{var B;if(r==="html"||r==="markdown"||r==="mermaid"||r==="svg"||r==="csv"||r==="json"||r==="dot"||r==="latex"||r==="architecture")return wn({transpiledCode:t,template:r,importMap:U,tailwindCdn:c,externalResources:u});const z=es(t,{filename:r==="react"?"App.jsx":"App.tsx"});return z.error?((B=M.current)==null||B.call(M,z.error),wn({transpiledCode:vm(z.error),template:"html",importMap:U,tailwindCdn:!1})):wn({transpiledCode:z.code,template:r,importMap:U,tailwindCdn:c,externalResources:u,themeCSS:L,componentsPreamble:j})},[t,r,U,c,u,L,j]),G=S.useRef(H);S.useEffect(()=>{H!==G.current&&(P(!0),G.current=H)},[H]);const A=x==="dark"?"#09090b":"#ffffff";return E.jsxs("div",{style:{...Ts.container,backgroundColor:A},children:[_&&ne&&E.jsx("div",{style:{...Ts.overlay,backgroundColor:A},children:y||E.jsx(Hs,{size:"lg",label:"Building preview..."})}),E.jsx("iframe",{ref:F,srcDoc:H,sandbox:"allow-scripts allow-modals allow-popups",style:Ts.iframe,title:"Preview"})]})});function vm(e){const t=[`<div style="padding:20px;color:#fca5a5;font-family:'SF Mono',Menlo,monospace;font-size:13px;line-height:1.6;background:#18181b;min-height:100vh;">`,'<div style="color:#ef4444;font-weight:600;font-size:14px;margin-bottom:8px;">Transpilation Error</div>',`<div style="color:#fca5a5;margin-bottom:12px;">${Cs(e.message)}</div>`];if(e.line&&t.push(`<div style="color:#71717a;font-size:11px;margin-bottom:8px;">Line ${e.line}${e.column?`:${e.column}`:""}</div>`),e.sourceContext){t.push('<pre style="background:#0f0f0f;border-radius:8px;padding:12px;overflow-x:auto;font-size:12px;border:1px solid #27272a;">');for(const r of e.sourceContext.split(`
1212
1212
  `)){const i=parseInt(r)===e.line;t.push(i?`<span style="color:#ef4444;background:rgba(239,68,68,0.1);display:block;padding:0 4px;">${Cs(r)}</span>`:`<span style="color:#52525b;">${Cs(r)}</span>`)}t.push("</pre>")}return t.push("</div>"),t.join(`
1213
- `)}function Cs(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const Ts={container:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},overlay:{position:"absolute",inset:0,zIndex:10,display:"flex",alignItems:"center",justifyContent:"center"},iframe:{width:"100%",height:"100%",border:"none",display:"block"}},_1=new Set(["react","react-ts","html","markdown","mermaid","svg","csv","json","dot","latex","architecture"]),Xr={EDITOR_DEBOUNCE_MS:400,PREVIEW_SWITCH_DELAY_MS:800,COPY_CONFIRMATION_MS:2e3},zs=768,S1=S.memo(function({view:t,onViewChange:r,onRefresh:s,isLoading:i,theme:o,isStreaming:c=!1,isFullscreen:u=!1,onFullscreenToggle:h,onDownload:f,downloadOptions:m,onClose:x,hideSplit:_=!1}){const y=o==="dark",[L,j]=S.useState(()=>typeof window<"u"?window.innerWidth>=zs:!1);S.useEffect(()=>{const A=window.matchMedia(`(min-width: ${zs}px)`),z=B=>j(B.matches);return z(A),A.addEventListener("change",z),()=>A.removeEventListener("change",z)},[]);const F=!_&&(L||u),[ne,P]=S.useState(!1);S.useEffect(()=>{t==="split"&&!F&&r("code")},[F,t,r]);const M=F?["code","split","preview"]:["code","preview"],O={display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,borderRadius:4,border:"none",cursor:"pointer",backgroundColor:"transparent",color:y?"#71717a":"#a1a1aa",transition:"all 0.15s",padding:0},U=(A,z)=>{A.currentTarget.style.backgroundColor=z?y?"#27272a":"#e4e4e7":"transparent",A.currentTarget.style.color=z?y?"#d4d4d8":"#52525b":y?"#71717a":"#a1a1aa"},H=(A,z)=>{A.currentTarget.style.backgroundColor=z?"rgba(239,68,68,0.15)":"transparent",A.currentTarget.style.color=z?"#ef4444":y?"#71717a":"#a1a1aa"},G=S.useCallback((A,z)=>{switch(A){case"code":return E.jsxs("span",{style:{display:"flex",alignItems:"center",gap:3},children:[E.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("polyline",{points:"5 4 1 8 5 12"}),E.jsx("polyline",{points:"11 4 15 8 11 12"})]}),"Code"]});case"split":return E.jsxs("span",{style:{display:"flex",alignItems:"center",gap:3},children:[E.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:[E.jsx("rect",{x:"1",y:"2",width:"14",height:"12",rx:"1.5"}),E.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"14"})]}),"Split"]});case"preview":return E.jsxs("span",{style:{display:"flex",alignItems:"center",gap:3},children:[E.jsx("svg",{width:"10",height:"10",viewBox:"0 0 16 16",fill:z?"#22c55e":"currentColor",stroke:"none",children:E.jsx("path",{d:"M4 2.5v11l9-5.5z"})}),"Preview"]})}},[]);return E.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",height:32,padding:"0 6px 0 8px",backgroundColor:y?"#18181b":"#fafafa",borderBottom:`1px solid ${y?"#27272a":"#e4e4e7"}`,flexShrink:0,userSelect:"none"},children:[E.jsx("div",{style:{display:"flex",alignItems:"center",gap:1,padding:1,borderRadius:5,backgroundColor:y?"#27272a":"#e4e4e7"},children:M.map(A=>{const B=c&&(A==="preview"||A==="split");return E.jsx("button",{onClick:()=>!B&&r(A),disabled:B,style:{display:"flex",alignItems:"center",padding:"2px 8px",borderRadius:4,border:"none",cursor:B?"not-allowed":"pointer",fontSize:11,fontWeight:500,fontFamily:"inherit",letterSpacing:.2,lineHeight:1,opacity:B?.4:1,backgroundColor:t===A?y?"#3f3f46":"#ffffff":"transparent",color:t===A?y?"#fafafa":"#18181b":y?"#71717a":"#a1a1aa",boxShadow:t===A?"0 1px 2px rgba(0,0,0,0.08)":"none",transition:"all 0.15s"},children:G(A,t===A)},A)})}),E.jsx("div",{}),E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:1},children:[E.jsx("button",{onClick:s,title:"Refresh preview",style:O,onMouseEnter:A=>U(A,!0),onMouseLeave:A=>U(A,!1),children:E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:[E.jsx("path",{d:"M2 8a6 6 0 0 1 10.3-4.2M14 2v4h-4"}),E.jsx("path",{d:"M14 8a6 6 0 0 1-10.3 4.2M2 14v-4h4"})]})}),(f||m&&m.length>0)&&E.jsxs("div",{style:{position:"relative"},children:[E.jsx("button",{onClick:()=>{m&&m.length>0?P(!ne):f==null||f()},title:"Download",style:O,onMouseEnter:A=>U(A,!0),onMouseLeave:A=>U(A,!1),children:E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("path",{d:"M8 2v8m0 0l-3-3m3 3l3-3"}),E.jsx("path",{d:"M2 12v1.5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V12"})]})}),ne&&m&&m.length>0&&E.jsx("div",{style:{position:"absolute",top:"100%",right:0,marginTop:4,minWidth:160,padding:"4px 0",borderRadius:8,border:`1px solid ${y?"#30363d":"#d0d7de"}`,backgroundColor:y?"#161b22":"#ffffff",boxShadow:"0 8px 24px rgba(0,0,0,0.2)",zIndex:100},children:m.map((A,z)=>E.jsx("button",{onClick:()=>{A.action(),P(!1)},style:{display:"block",width:"100%",padding:"6px 12px",border:"none",background:"none",color:y?"#e6edf3":"#24292f",fontSize:12,textAlign:"left",cursor:"pointer",fontFamily:"inherit"},onMouseEnter:B=>{B.currentTarget.style.backgroundColor=y?"#21262d":"#f3f4f6"},onMouseLeave:B=>{B.currentTarget.style.backgroundColor="transparent"},children:A.label},z))})]}),h&&E.jsx("button",{onClick:h,title:u?"Exit fullscreen":"Fullscreen",style:O,onMouseEnter:A=>U(A,!0),onMouseLeave:A=>U(A,!1),children:u?E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("polyline",{points:"4 14 4 10 0 10"}),E.jsx("polyline",{points:"12 2 12 6 16 6"}),E.jsx("line",{x1:"0",y1:"16",x2:"4",y2:"10"}),E.jsx("line",{x1:"16",y1:"0",x2:"12",y2:"6"})]}):E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("polyline",{points:"10 2 14 2 14 6"}),E.jsx("polyline",{points:"6 14 2 14 2 10"}),E.jsx("line",{x1:"14",y1:"2",x2:"10",y2:"6"}),E.jsx("line",{x1:"2",y1:"14",x2:"6",y2:"10"})]})}),x&&E.jsxs(E.Fragment,{children:[E.jsx("div",{style:{width:1,height:14,backgroundColor:y?"#27272a":"#e4e4e7",margin:"0 2px"}}),E.jsx("button",{onClick:x,title:"Close preview",style:O,onMouseEnter:A=>H(A,!0),onMouseLeave:A=>H(A,!1),children:E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:[E.jsx("line",{x1:"4",y1:"4",x2:"12",y2:"12"}),E.jsx("line",{x1:"12",y1:"4",x2:"4",y2:"12"})]})})]})]})]})}),I1=S.memo(function({errors:t,isLoading:r,isStreaming:s,language:i,theme:o,filename:c,footerSlot:u,view:h}){const f=o==="dark",m=t.filter(A=>A.severity==="error").length,x=t.filter(A=>A.severity==="warning").length,_=h==="preview"||h==="split",[y,L]=S.useState(!1),[j,F]=S.useState(!1),ne=S.useRef(),P=S.useRef(null);S.useEffect(()=>()=>{clearTimeout(ne.current)},[]),S.useEffect(()=>{if(!j)return;const A=z=>{P.current&&!P.current.contains(z.target)&&F(!1)};return document.addEventListener("mousedown",A),()=>document.removeEventListener("mousedown",A)},[j]);let M="Ready",O=f?"#71717a":"#a1a1aa";s?(M="⟳ Streaming...",O="#818cf8"):m>0?(M=`✕ ${m} error${m>1?"s":""}`,O="#ef4444"):r&&_&&(M="◌ Building...",O="#f59e0b");const U=S.useCallback(()=>{const A=new CustomEvent("codeviz:copy-request");window.dispatchEvent(A),L(!0),clearTimeout(ne.current),ne.current=setTimeout(()=>L(!1),Xr.COPY_CONFIRMATION_MS)},[]),H=f?"#52525b":"#a1a1aa",G=f?"#a1a1aa":"#71717a";return E.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",height:24,padding:"0 8px",backgroundColor:f?"#18181b":"#f4f4f5",borderTop:`1px solid ${f?"#27272a":"#e4e4e7"}`,fontSize:11,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace',flexShrink:0,userSelect:"none",position:"relative"},children:[E.jsxs("div",{ref:P,style:{display:"flex",alignItems:"center",gap:8,minWidth:0,flex:"0 0 auto",position:"relative"},children:[E.jsx("span",{style:{color:O,fontWeight:500,cursor:m>0?"pointer":"default"},onClick:m>0?()=>F(A=>!A):void 0,title:m>0?"Click to view errors":void 0,children:M}),x>0&&E.jsxs("span",{style:{color:"#f59e0b"},children:["⚠ ",x]}),j&&t.length>0&&E.jsx("div",{style:{position:"absolute",bottom:"100%",right:0,marginBottom:2,width:320,maxHeight:180,overflowY:"auto",backgroundColor:f?"#1e1e2e":"#ffffff",border:`1px solid ${f?"#3f3f50":"#d4d4d8"}`,borderRadius:4,boxShadow:f?"0 2px 8px rgba(0,0,0,0.4)":"0 2px 8px rgba(0,0,0,0.1)",zIndex:50,padding:0},children:t.map((A,z)=>E.jsxs("div",{style:{padding:"3px 8px",borderBottom:z<t.length-1?`1px solid ${f?"#27272a":"#f4f4f5"}`:"none",fontSize:10,lineHeight:1.4,display:"flex",alignItems:"baseline",gap:4},children:[E.jsx("span",{style:{color:A.severity==="error"?"#ef4444":"#f59e0b",fontWeight:600,fontSize:9,textTransform:"uppercase",flexShrink:0},children:A.category}),A.line&&E.jsxs("span",{style:{color:f?"#71717a":"#a1a1aa",fontSize:9,flexShrink:0},children:["L",A.line]}),E.jsx("span",{style:{color:f?"#d4d4d8":"#3f3f46",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontFamily:'"SF Mono", Menlo, monospace',fontSize:9},children:A.message.length>120?A.message.slice(0,120)+"…":A.message})]},A.id))})]}),c&&E.jsxs("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",gap:5,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",color:f?"#71717a":"#a1a1aa",padding:"0 8px"},children:[s&&E.jsx("div",{style:{width:5,height:5,borderRadius:"50%",backgroundColor:"#f59e0b",flexShrink:0,animation:"codevizPulse 1s infinite"}}),c]}),E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,flex:"0 0 auto"},children:[E.jsx("button",{onClick:U,title:y?"Copied!":"Copy code",style:{display:"flex",alignItems:"center",gap:3,border:"none",background:"none",cursor:"pointer",padding:"0 2px",color:y?"#22c55e":H,fontSize:11,fontFamily:"inherit",transition:"color 0.15s"},onMouseEnter:A=>{y||(A.currentTarget.style.color=G)},onMouseLeave:A=>{y||(A.currentTarget.style.color=H)},children:y?E.jsxs(E.Fragment,{children:[E.jsx("svg",{width:"11",height:"11",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:E.jsx("polyline",{points:"3 8 7 12 13 4"})}),"Copied"]}):E.jsxs(E.Fragment,{children:[E.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("rect",{x:"5",y:"5",width:"9",height:"9",rx:"1.5"}),E.jsx("path",{d:"M3 11V3a1.5 1.5 0 011.5-1.5H11"})]}),"Copy"]})}),E.jsx("span",{style:{color:H},children:i.toUpperCase()}),u]})]})}),E1=S.memo(function({errors:t,theme:r}){const s=r==="dark",i=t.filter(c=>c.severity==="error").length,o=t.filter(c=>c.severity==="warning").length;return E.jsxs("div",{style:{width:"100%",height:"100%",overflow:"auto",backgroundColor:s?"#09090b":"#ffffff",padding:"24px 20px",fontFamily:'"SF Mono", Menlo, Consolas, monospace'},children:[E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:16,paddingBottom:12,borderBottom:`1px solid ${s?"#27272a":"#e4e4e7"}`},children:[E.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[E.jsx("circle",{cx:"8",cy:"8",r:"7",stroke:"#ef4444",strokeWidth:"1.5"}),E.jsx("line",{x1:"8",y1:"4.5",x2:"8",y2:"8.5",stroke:"#ef4444",strokeWidth:"1.5",strokeLinecap:"round"}),E.jsx("circle",{cx:"8",cy:"11",r:"0.75",fill:"#ef4444"})]}),E.jsxs("span",{style:{color:"#ef4444",fontWeight:600,fontSize:13},children:[i," error",i!==1?"s":""]}),o>0&&E.jsxs("span",{style:{color:"#f59e0b",fontSize:12},children:[o," warning",o!==1?"s":""]})]}),t.map(c=>E.jsxs("div",{style:{marginBottom:8,padding:"8px 10px",borderRadius:6,backgroundColor:s?c.severity==="error"?"rgba(239,68,68,0.08)":"rgba(245,158,11,0.08)":c.severity==="error"?"rgba(239,68,68,0.05)":"rgba(245,158,11,0.05)",border:`1px solid ${s?c.severity==="error"?"rgba(239,68,68,0.2)":"rgba(245,158,11,0.2)":c.severity==="error"?"rgba(239,68,68,0.15)":"rgba(245,158,11,0.15)"}`},children:[E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:3},children:[E.jsx("span",{style:{color:c.severity==="error"?"#ef4444":"#f59e0b",fontWeight:600,fontSize:10,textTransform:"uppercase",letterSpacing:.5},children:c.category}),c.line&&E.jsxs("span",{style:{color:s?"#71717a":"#a1a1aa",fontSize:10},children:["Line ",c.line,c.column?`:${c.column}`:""]})]}),E.jsx("div",{style:{color:s?"#d4d4d8":"#3f3f46",fontSize:11,lineHeight:1.5,wordBreak:"break-word"},children:c.message}),c.sourceContext&&E.jsx("pre",{style:{marginTop:6,padding:"6px 8px",borderRadius:4,backgroundColor:s?"#0f0f0f":"#f9fafb",border:`1px solid ${s?"#1e1e1e":"#e5e7eb"}`,fontSize:10,lineHeight:1.4,overflow:"auto",color:s?"#a1a1aa":"#6b7280",whiteSpace:"pre-wrap"},children:c.sourceContext})]},c.id))]})}),Ge={};function wm(e){Ge[e.id]=e}function _m(e){for(const t of e)Ge[t.id]=t}function Sm(e){delete Ge[e]}function Im(){for(const e of Object.keys(Ge))delete Ge[e]}function Em(e){return Ge[e]}function Cm(){return Object.keys(Ge)}function Tm(){return Object.values(Ge)}function C1(){const e=Object.values(Ge);return e.length===0?"_No templates registered._":e.map(t=>`- **${t.id}**: ${t.description} [keywords: ${t.keywords.join(", ")}]`).join(`
1214
- `)}function Am(e,t){const r=e.toLowerCase(),s=Object.keys(Ge);let o=t??s[0]??"",c=0;for(const[u,h]of Object.entries(Ge)){let f=0;for(const m of h.keywords)r.includes(m)&&(f+=m.length);f>c&&(c=f,o=u)}return o}function T1(e){return _1.has(e)}function A1(e){switch(e.toLowerCase().replace(/^\./,"")){case"html":case"htm":return"html";case"md":case"markdown":case"mdx":return"markdown";case"mermaid":case"mmd":return"mermaid";case"svg":return"svg";case"csv":case"tsv":return"csv";case"json":case"jsonl":return"json";case"dot":case"gv":case"graphviz":return"dot";case"latex":case"tex":case"katex":return"latex";case"architecture":case"arch":case"drawio":return"architecture";case"jsx":case"js":case"javascript":return"react";case"tsx":case"ts":case"typescript":default:return"react-ts"}}function P1(e,t,r,s,i,o){const c=(u,h)=>s?`${s.replace(/\.[^.]+$/,"")}${h}`:u;switch(t){case"html":return{filename:s||"preview.html",content:e,mime:"text/html"};case"markdown":return{filename:s||"document.md",content:e,mime:"text/markdown"};case"dot":return{filename:s||"diagram.dot",content:e,mime:"text/vnd.graphviz"};case"latex":return{filename:s||"document.tex",content:e,mime:"application/x-latex"};case"architecture":return{filename:s||"architecture.drawio",content:e,mime:"application/xml"};case"mermaid":return{filename:s||"diagram.mermaid",content:e,mime:"text/plain"};case"svg":return{filename:s||"image.svg",content:e,mime:"image/svg+xml"};case"csv":return{filename:s||"data.csv",content:e,mime:"text/csv"};case"json":return{filename:s||"data.json",content:e,mime:"application/json"};case"react":case"react-ts":{const u=es(e,{filename:t==="react"?"App.jsx":"App.tsx"});if(u.error)return{filename:`component.${r==="jsx"||r==="js"?"jsx":"tsx"}`,content:e,mime:"text/plain"};const h=Ti({}),m=(i?i+`
1213
+ `)}function Cs(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const Ts={container:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},overlay:{position:"absolute",inset:0,zIndex:10,display:"flex",alignItems:"center",justifyContent:"center"},iframe:{width:"100%",height:"100%",border:"none",display:"block"}},_c=new Set(["react","react-ts","html","markdown","mermaid","svg","csv","json","dot","latex","architecture"]),Xr={EDITOR_DEBOUNCE_MS:400,PREVIEW_SWITCH_DELAY_MS:800,COPY_CONFIRMATION_MS:2e3},zs=768,Sc=S.memo(function({view:t,onViewChange:r,onRefresh:s,isLoading:i,theme:o,isStreaming:c=!1,isFullscreen:u=!1,onFullscreenToggle:h,onDownload:f,downloadOptions:m,onClose:x,hideSplit:_=!1}){const y=o==="dark",[L,j]=S.useState(()=>typeof window<"u"?window.innerWidth>=zs:!1);S.useEffect(()=>{const A=window.matchMedia(`(min-width: ${zs}px)`),z=B=>j(B.matches);return z(A),A.addEventListener("change",z),()=>A.removeEventListener("change",z)},[]);const F=!_&&(L||u),[ne,P]=S.useState(!1);S.useEffect(()=>{t==="split"&&!F&&r("code")},[F,t,r]);const M=F?["code","split","preview"]:["code","preview"],O={display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,borderRadius:4,border:"none",cursor:"pointer",backgroundColor:"transparent",color:y?"#71717a":"#a1a1aa",transition:"all 0.15s",padding:0},U=(A,z)=>{A.currentTarget.style.backgroundColor=z?y?"#27272a":"#e4e4e7":"transparent",A.currentTarget.style.color=z?y?"#d4d4d8":"#52525b":y?"#71717a":"#a1a1aa"},H=(A,z)=>{A.currentTarget.style.backgroundColor=z?"rgba(239,68,68,0.15)":"transparent",A.currentTarget.style.color=z?"#ef4444":y?"#71717a":"#a1a1aa"},G=S.useCallback((A,z)=>{switch(A){case"code":return E.jsxs("span",{style:{display:"flex",alignItems:"center",gap:3},children:[E.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("polyline",{points:"5 4 1 8 5 12"}),E.jsx("polyline",{points:"11 4 15 8 11 12"})]}),"Code"]});case"split":return E.jsxs("span",{style:{display:"flex",alignItems:"center",gap:3},children:[E.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:[E.jsx("rect",{x:"1",y:"2",width:"14",height:"12",rx:"1.5"}),E.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"14"})]}),"Split"]});case"preview":return E.jsxs("span",{style:{display:"flex",alignItems:"center",gap:3},children:[E.jsx("svg",{width:"10",height:"10",viewBox:"0 0 16 16",fill:z?"#22c55e":"currentColor",stroke:"none",children:E.jsx("path",{d:"M4 2.5v11l9-5.5z"})}),"Preview"]})}},[]);return E.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",height:32,padding:"0 6px 0 8px",backgroundColor:y?"#18181b":"#fafafa",borderBottom:`1px solid ${y?"#27272a":"#e4e4e7"}`,flexShrink:0,userSelect:"none"},children:[E.jsx("div",{style:{display:"flex",alignItems:"center",gap:1,padding:1,borderRadius:5,backgroundColor:y?"#27272a":"#e4e4e7"},children:M.map(A=>{const B=c&&(A==="preview"||A==="split");return E.jsx("button",{onClick:()=>!B&&r(A),disabled:B,style:{display:"flex",alignItems:"center",padding:"2px 8px",borderRadius:4,border:"none",cursor:B?"not-allowed":"pointer",fontSize:11,fontWeight:500,fontFamily:"inherit",letterSpacing:.2,lineHeight:1,opacity:B?.4:1,backgroundColor:t===A?y?"#3f3f46":"#ffffff":"transparent",color:t===A?y?"#fafafa":"#18181b":y?"#71717a":"#a1a1aa",boxShadow:t===A?"0 1px 2px rgba(0,0,0,0.08)":"none",transition:"all 0.15s"},children:G(A,t===A)},A)})}),E.jsx("div",{}),E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:1},children:[E.jsx("button",{onClick:s,title:"Refresh preview",style:O,onMouseEnter:A=>U(A,!0),onMouseLeave:A=>U(A,!1),children:E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:[E.jsx("path",{d:"M2 8a6 6 0 0 1 10.3-4.2M14 2v4h-4"}),E.jsx("path",{d:"M14 8a6 6 0 0 1-10.3 4.2M2 14v-4h4"})]})}),(f||m&&m.length>0)&&E.jsxs("div",{style:{position:"relative"},children:[E.jsx("button",{onClick:()=>{m&&m.length>0?P(!ne):f==null||f()},title:"Download",style:O,onMouseEnter:A=>U(A,!0),onMouseLeave:A=>U(A,!1),children:E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("path",{d:"M8 2v8m0 0l-3-3m3 3l3-3"}),E.jsx("path",{d:"M2 12v1.5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V12"})]})}),ne&&m&&m.length>0&&E.jsx("div",{style:{position:"absolute",top:"100%",right:0,marginTop:4,minWidth:160,padding:"4px 0",borderRadius:8,border:`1px solid ${y?"#30363d":"#d0d7de"}`,backgroundColor:y?"#161b22":"#ffffff",boxShadow:"0 8px 24px rgba(0,0,0,0.2)",zIndex:100},children:m.map((A,z)=>E.jsx("button",{onClick:()=>{A.action(),P(!1)},style:{display:"block",width:"100%",padding:"6px 12px",border:"none",background:"none",color:y?"#e6edf3":"#24292f",fontSize:12,textAlign:"left",cursor:"pointer",fontFamily:"inherit"},onMouseEnter:B=>{B.currentTarget.style.backgroundColor=y?"#21262d":"#f3f4f6"},onMouseLeave:B=>{B.currentTarget.style.backgroundColor="transparent"},children:A.label},z))})]}),h&&E.jsx("button",{onClick:h,title:u?"Exit fullscreen":"Fullscreen",style:O,onMouseEnter:A=>U(A,!0),onMouseLeave:A=>U(A,!1),children:u?E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("polyline",{points:"4 14 4 10 0 10"}),E.jsx("polyline",{points:"12 2 12 6 16 6"}),E.jsx("line",{x1:"0",y1:"16",x2:"4",y2:"10"}),E.jsx("line",{x1:"16",y1:"0",x2:"12",y2:"6"})]}):E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("polyline",{points:"10 2 14 2 14 6"}),E.jsx("polyline",{points:"6 14 2 14 2 10"}),E.jsx("line",{x1:"14",y1:"2",x2:"10",y2:"6"}),E.jsx("line",{x1:"2",y1:"14",x2:"6",y2:"10"})]})}),x&&E.jsxs(E.Fragment,{children:[E.jsx("div",{style:{width:1,height:14,backgroundColor:y?"#27272a":"#e4e4e7",margin:"0 2px"}}),E.jsx("button",{onClick:x,title:"Close preview",style:O,onMouseEnter:A=>H(A,!0),onMouseLeave:A=>H(A,!1),children:E.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:[E.jsx("line",{x1:"4",y1:"4",x2:"12",y2:"12"}),E.jsx("line",{x1:"12",y1:"4",x2:"4",y2:"12"})]})})]})]})]})}),Ic=S.memo(function({errors:t,isLoading:r,isStreaming:s,language:i,theme:o,filename:c,footerSlot:u,view:h}){const f=o==="dark",m=t.filter(A=>A.severity==="error").length,x=t.filter(A=>A.severity==="warning").length,_=h==="preview"||h==="split",[y,L]=S.useState(!1),[j,F]=S.useState(!1),ne=S.useRef(),P=S.useRef(null);S.useEffect(()=>()=>{clearTimeout(ne.current)},[]),S.useEffect(()=>{if(!j)return;const A=z=>{P.current&&!P.current.contains(z.target)&&F(!1)};return document.addEventListener("mousedown",A),()=>document.removeEventListener("mousedown",A)},[j]);let M="Ready",O=f?"#71717a":"#a1a1aa";s?(M="⟳ Streaming...",O="#818cf8"):m>0?(M=`✕ ${m} error${m>1?"s":""}`,O="#ef4444"):r&&_&&(M="◌ Building...",O="#f59e0b");const U=S.useCallback(()=>{const A=new CustomEvent("codeviz:copy-request");window.dispatchEvent(A),L(!0),clearTimeout(ne.current),ne.current=setTimeout(()=>L(!1),Xr.COPY_CONFIRMATION_MS)},[]),H=f?"#52525b":"#a1a1aa",G=f?"#a1a1aa":"#71717a";return E.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",height:24,padding:"0 8px",backgroundColor:f?"#18181b":"#f4f4f5",borderTop:`1px solid ${f?"#27272a":"#e4e4e7"}`,fontSize:11,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace',flexShrink:0,userSelect:"none",position:"relative"},children:[E.jsxs("div",{ref:P,style:{display:"flex",alignItems:"center",gap:8,minWidth:0,flex:"0 0 auto",position:"relative"},children:[E.jsx("span",{style:{color:O,fontWeight:500,cursor:m>0?"pointer":"default"},onClick:m>0?()=>F(A=>!A):void 0,title:m>0?"Click to view errors":void 0,children:M}),x>0&&E.jsxs("span",{style:{color:"#f59e0b"},children:["⚠ ",x]}),j&&t.length>0&&E.jsx("div",{style:{position:"absolute",bottom:"100%",right:0,marginBottom:2,width:320,maxHeight:180,overflowY:"auto",backgroundColor:f?"#1e1e2e":"#ffffff",border:`1px solid ${f?"#3f3f50":"#d4d4d8"}`,borderRadius:4,boxShadow:f?"0 2px 8px rgba(0,0,0,0.4)":"0 2px 8px rgba(0,0,0,0.1)",zIndex:50,padding:0},children:t.map((A,z)=>E.jsxs("div",{style:{padding:"3px 8px",borderBottom:z<t.length-1?`1px solid ${f?"#27272a":"#f4f4f5"}`:"none",fontSize:10,lineHeight:1.4,display:"flex",alignItems:"baseline",gap:4},children:[E.jsx("span",{style:{color:A.severity==="error"?"#ef4444":"#f59e0b",fontWeight:600,fontSize:9,textTransform:"uppercase",flexShrink:0},children:A.category}),A.line&&E.jsxs("span",{style:{color:f?"#71717a":"#a1a1aa",fontSize:9,flexShrink:0},children:["L",A.line]}),E.jsx("span",{style:{color:f?"#d4d4d8":"#3f3f46",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontFamily:'"SF Mono", Menlo, monospace',fontSize:9},children:A.message.length>120?A.message.slice(0,120)+"…":A.message})]},A.id))})]}),c&&E.jsxs("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",gap:5,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",color:f?"#71717a":"#a1a1aa",padding:"0 8px"},children:[s&&E.jsx("div",{style:{width:5,height:5,borderRadius:"50%",backgroundColor:"#f59e0b",flexShrink:0,animation:"codevizPulse 1s infinite"}}),c]}),E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,flex:"0 0 auto"},children:[E.jsx("button",{onClick:U,title:y?"Copied!":"Copy code",style:{display:"flex",alignItems:"center",gap:3,border:"none",background:"none",cursor:"pointer",padding:"0 2px",color:y?"#22c55e":H,fontSize:11,fontFamily:"inherit",transition:"color 0.15s"},onMouseEnter:A=>{y||(A.currentTarget.style.color=G)},onMouseLeave:A=>{y||(A.currentTarget.style.color=H)},children:y?E.jsxs(E.Fragment,{children:[E.jsx("svg",{width:"11",height:"11",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:E.jsx("polyline",{points:"3 8 7 12 13 4"})}),"Copied"]}):E.jsxs(E.Fragment,{children:[E.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[E.jsx("rect",{x:"5",y:"5",width:"9",height:"9",rx:"1.5"}),E.jsx("path",{d:"M3 11V3a1.5 1.5 0 011.5-1.5H11"})]}),"Copy"]})}),E.jsx("span",{style:{color:H},children:i.toUpperCase()}),u]})]})}),Ec=S.memo(function({errors:t,theme:r}){const s=r==="dark",i=t.filter(c=>c.severity==="error").length,o=t.filter(c=>c.severity==="warning").length;return E.jsxs("div",{style:{width:"100%",height:"100%",overflow:"auto",backgroundColor:s?"#09090b":"#ffffff",padding:"24px 20px",fontFamily:'"SF Mono", Menlo, Consolas, monospace'},children:[E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:16,paddingBottom:12,borderBottom:`1px solid ${s?"#27272a":"#e4e4e7"}`},children:[E.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[E.jsx("circle",{cx:"8",cy:"8",r:"7",stroke:"#ef4444",strokeWidth:"1.5"}),E.jsx("line",{x1:"8",y1:"4.5",x2:"8",y2:"8.5",stroke:"#ef4444",strokeWidth:"1.5",strokeLinecap:"round"}),E.jsx("circle",{cx:"8",cy:"11",r:"0.75",fill:"#ef4444"})]}),E.jsxs("span",{style:{color:"#ef4444",fontWeight:600,fontSize:13},children:[i," error",i!==1?"s":""]}),o>0&&E.jsxs("span",{style:{color:"#f59e0b",fontSize:12},children:[o," warning",o!==1?"s":""]})]}),t.map(c=>E.jsxs("div",{style:{marginBottom:8,padding:"8px 10px",borderRadius:6,backgroundColor:s?c.severity==="error"?"rgba(239,68,68,0.08)":"rgba(245,158,11,0.08)":c.severity==="error"?"rgba(239,68,68,0.05)":"rgba(245,158,11,0.05)",border:`1px solid ${s?c.severity==="error"?"rgba(239,68,68,0.2)":"rgba(245,158,11,0.2)":c.severity==="error"?"rgba(239,68,68,0.15)":"rgba(245,158,11,0.15)"}`},children:[E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:3},children:[E.jsx("span",{style:{color:c.severity==="error"?"#ef4444":"#f59e0b",fontWeight:600,fontSize:10,textTransform:"uppercase",letterSpacing:.5},children:c.category}),c.line&&E.jsxs("span",{style:{color:s?"#71717a":"#a1a1aa",fontSize:10},children:["Line ",c.line,c.column?`:${c.column}`:""]})]}),E.jsx("div",{style:{color:s?"#d4d4d8":"#3f3f46",fontSize:11,lineHeight:1.5,wordBreak:"break-word"},children:c.message}),c.sourceContext&&E.jsx("pre",{style:{marginTop:6,padding:"6px 8px",borderRadius:4,backgroundColor:s?"#0f0f0f":"#f9fafb",border:`1px solid ${s?"#1e1e1e":"#e5e7eb"}`,fontSize:10,lineHeight:1.4,overflow:"auto",color:s?"#a1a1aa":"#6b7280",whiteSpace:"pre-wrap"},children:c.sourceContext})]},c.id))]})}),Ge={};function wm(e){Ge[e.id]=e}function _m(e){for(const t of e)Ge[t.id]=t}function Sm(e){delete Ge[e]}function Im(){for(const e of Object.keys(Ge))delete Ge[e]}function Em(e){return Ge[e]}function Cm(){return Object.keys(Ge)}function Tm(){return Object.values(Ge)}function Cc(){const e=Object.values(Ge);return e.length===0?"_No templates registered._":e.map(t=>`- **${t.id}**: ${t.description} [keywords: ${t.keywords.join(", ")}]`).join(`
1214
+ `)}function Am(e,t){const r=e.toLowerCase(),s=Object.keys(Ge);let o=t??s[0]??"",c=0;for(const[u,h]of Object.entries(Ge)){let f=0;for(const m of h.keywords)r.includes(m)&&(f+=m.length);f>c&&(c=f,o=u)}return o}function Tc(e){return _c.has(e)}function Ac(e){switch(e.toLowerCase().replace(/^\./,"")){case"html":case"htm":return"html";case"md":case"markdown":case"mdx":return"markdown";case"mermaid":case"mmd":return"mermaid";case"svg":return"svg";case"csv":case"tsv":return"csv";case"json":case"jsonl":return"json";case"dot":case"gv":case"graphviz":return"dot";case"latex":case"tex":case"katex":return"latex";case"architecture":case"arch":case"drawio":return"architecture";case"jsx":case"js":case"javascript":return"react";case"tsx":case"ts":case"typescript":default:return"react-ts"}}function Pc(e,t,r,s,i,o){const c=(u,h)=>s?`${s.replace(/\.[^.]+$/,"")}${h}`:u;switch(t){case"html":return{filename:s||"preview.html",content:e,mime:"text/html"};case"markdown":return{filename:s||"document.md",content:e,mime:"text/markdown"};case"dot":return{filename:s||"diagram.dot",content:e,mime:"text/vnd.graphviz"};case"latex":return{filename:s||"document.tex",content:e,mime:"application/x-latex"};case"architecture":return{filename:s||"architecture.drawio",content:e,mime:"application/xml"};case"mermaid":return{filename:s||"diagram.mermaid",content:e,mime:"text/plain"};case"svg":return{filename:s||"image.svg",content:e,mime:"image/svg+xml"};case"csv":return{filename:s||"data.csv",content:e,mime:"text/csv"};case"json":return{filename:s||"data.json",content:e,mime:"application/json"};case"react":case"react-ts":{const u=es(e,{filename:t==="react"?"App.jsx":"App.tsx"});if(u.error)return{filename:`component.${r==="jsx"||r==="js"?"jsx":"tsx"}`,content:e,mime:"text/plain"};const h=Ti({}),m=(i?i+`
1215
1215
  `+u.code:u.code).replace(/\\/g,"\\\\").replace(/`/g,"\\`").replace(/\$\{/g,"\\${"),x=o?`<style data-theme>${o}</style>`:"",y=`<!DOCTYPE html>
1216
1216
  <html lang="en">
1217
1217
  <head>
@@ -1250,7 +1250,7 @@ ${bm(m)}
1250
1250
  </div>
1251
1251
  </div>
1252
1252
  );
1253
- }`,Nm=S.memo(S.forwardRef(function({code:t,language:r="tsx",template:s="react-ts",templateId:i,importMap:o,dependencies:c,cdnBase:u,externalResources:h,tailwindCdn:f,onChange:m,onError:x,onLoad:_,onClose:y,onFullscreenChange:L,showEditor:j=!0,showPreview:F,defaultView:ne="split",editorOptions:P,className:M,height:O="100%",width:U="100%",theme:H="dark",readOnly:G=!1,showLoader:A=!0,loader:z,showToolbar:B=!0,showStatusBar:ce=!0,filename:Le,hideSplit:$e=!1,footerSlot:Me,isStreaming:W,themeCSS:oe,componentsPreamble:Te},he){const _e=i?Ge[i]:null,be=(_e==null?void 0:_e.code)??t??Pm,Z=(_e==null?void 0:_e.language)??r,ae=(_e==null?void 0:_e.type)??s??A1(Z),de=F??T1(ae),[ze,b]=S.useState(be),[I,T]=S.useState([]),[C,D]=S.useState(j?de?ne:"code":"preview"),[Y,Q]=S.useState(!0),[le,ve]=S.useState(!1),[me,je]=S.useState(!1),we=le||(W??!1),Ie=S.useRef(W),Ee=S.useRef(!1),De=S.useRef(),At=S.useRef(null),gt=S.useRef(null),xt=S.useRef(0),[Tr,lr]=S.useState(0),ur=S.useRef(),[pr,lt]=S.useState(be),Fe=S.useRef(be),Pt=S.useRef(t),Ze=S.useRef(!1);S.useEffect(()=>{t!=null&&t!==Pt.current&&t!==Fe.current&&(Pt.current=t,Fe.current=t,Ze.current=!0,b(t),we||lt(t),queueMicrotask(()=>{Ze.current=!1}))},[t,we]),S.useEffect(()=>{const K=Ie.current;if(Ie.current=W,K&&!W&&!le&&de){const Ae=Fe.current;lt(Ae),T([]),Q(!0),Ee.current=!0,clearTimeout(De.current),De.current=setTimeout(()=>{Ee.current&&(Ee.current=!1,D("preview"))},Xr.PREVIEW_SWITCH_DELAY_MS)}},[W,le,de]),S.useEffect(()=>{we&&(C==="preview"||C==="split")&&D("code")},[we,C]);const[hr,Mt]=S.useState(null),jt=S.useRef(null);S.useEffect(()=>{const K=()=>{const Ae=Fe.current;Ae&&navigator.clipboard.writeText(Ae).catch(()=>{const Se=document.createElement("textarea");Se.value=Ae,Se.style.position="fixed",Se.style.opacity="0",document.body.appendChild(Se),Se.select(),document.execCommand("copy"),document.body.removeChild(Se)})};return window.addEventListener("codeviz:copy-request",K),()=>window.removeEventListener("codeviz:copy-request",K)},[]),S.useEffect(()=>{const K=()=>{const Ae=document.fullscreenElement===gt.current;je(Ae),L==null||L(Ae),Ae?D(Se=>(jt.current=Se,de?"preview":"code")):jt.current!=null&&(D(jt.current),jt.current=null)};return document.addEventListener("fullscreenchange",K),()=>document.removeEventListener("fullscreenchange",K)},[L,de]);const Ar=S.useCallback(()=>{const K=gt.current;K&&(document.fullscreenElement===K?document.exitFullscreen():K.requestFullscreen())},[]),Ft=S.useCallback((K,Ae,Se)=>{const ut=K.replace(/[^a-zA-Z0-9\-_.]/g,"_"),bt=new Blob([Ae],{type:Se}),xr=URL.createObjectURL(bt),Nt=document.createElement("a");Nt.href=xr,Nt.download=ut,document.body.appendChild(Nt),Nt.click(),document.body.removeChild(Nt),URL.revokeObjectURL(xr)},[]),Pr=S.useCallback(()=>{const K=Fe.current,{filename:Ae,content:Se,mime:ut}=P1(K,ae,Z,Le,Te,oe);Ft(Ae,Se,ut)},[ae,Z,Le,Te,oe,Ft]),fr=S.useCallback(()=>{Ft("document.md",Fe.current,"text/markdown")},[Ft]),dr=S.useCallback(()=>{const K=Fe.current,Ae=`<!DOCTYPE html>
1253
+ }`,Nm=S.memo(S.forwardRef(function({code:t,language:r="tsx",template:s="react-ts",templateId:i,importMap:o,dependencies:c,cdnBase:u,externalResources:h,tailwindCdn:f,onChange:m,onError:x,onLoad:_,onClose:y,onFullscreenChange:L,showEditor:j=!0,showPreview:F,defaultView:ne="split",editorOptions:P,className:M,height:O="100%",width:U="100%",theme:H="dark",readOnly:G=!1,showLoader:A=!0,loader:z,showToolbar:B=!0,showStatusBar:ce=!0,filename:Le,hideSplit:$e=!1,footerSlot:Me,isStreaming:W,themeCSS:oe,componentsPreamble:Te},he){const _e=i?Ge[i]:null,be=(_e==null?void 0:_e.code)??t??Pm,Z=(_e==null?void 0:_e.language)??r,ae=(_e==null?void 0:_e.type)??s??Ac(Z),de=F??Tc(ae),[ze,b]=S.useState(be),[I,T]=S.useState([]),[C,D]=S.useState(j?de?ne:"code":"preview"),[Y,Q]=S.useState(!0),[le,ve]=S.useState(!1),[me,je]=S.useState(!1),we=le||(W??!1),Ie=S.useRef(W),Ee=S.useRef(!1),De=S.useRef(),At=S.useRef(null),gt=S.useRef(null),xt=S.useRef(0),[Tr,lr]=S.useState(0),ur=S.useRef(),[pr,lt]=S.useState(be),Fe=S.useRef(be),Pt=S.useRef(t),Ze=S.useRef(!1);S.useEffect(()=>{t!=null&&t!==Pt.current&&t!==Fe.current&&(Pt.current=t,Fe.current=t,Ze.current=!0,b(t),we||lt(t),queueMicrotask(()=>{Ze.current=!1}))},[t,we]),S.useEffect(()=>{const K=Ie.current;if(Ie.current=W,K&&!W&&!le&&de){const Ae=Fe.current;lt(Ae),T([]),Q(!0),Ee.current=!0,clearTimeout(De.current),De.current=setTimeout(()=>{Ee.current&&(Ee.current=!1,D("preview"))},Xr.PREVIEW_SWITCH_DELAY_MS)}},[W,le,de]),S.useEffect(()=>{we&&(C==="preview"||C==="split")&&D("code")},[we,C]);const[hr,Mt]=S.useState(null),jt=S.useRef(null);S.useEffect(()=>{const K=()=>{const Ae=Fe.current;Ae&&navigator.clipboard.writeText(Ae).catch(()=>{const Se=document.createElement("textarea");Se.value=Ae,Se.style.position="fixed",Se.style.opacity="0",document.body.appendChild(Se),Se.select(),document.execCommand("copy"),document.body.removeChild(Se)})};return window.addEventListener("codeviz:copy-request",K),()=>window.removeEventListener("codeviz:copy-request",K)},[]),S.useEffect(()=>{const K=()=>{const Ae=document.fullscreenElement===gt.current;je(Ae),L==null||L(Ae),Ae?D(Se=>(jt.current=Se,de?"preview":"code")):jt.current!=null&&(D(jt.current),jt.current=null)};return document.addEventListener("fullscreenchange",K),()=>document.removeEventListener("fullscreenchange",K)},[L,de]);const Ar=S.useCallback(()=>{const K=gt.current;K&&(document.fullscreenElement===K?document.exitFullscreen():K.requestFullscreen())},[]),Ft=S.useCallback((K,Ae,Se)=>{const ut=K.replace(/[^a-zA-Z0-9\-_.]/g,"_"),bt=new Blob([Ae],{type:Se}),xr=URL.createObjectURL(bt),Nt=document.createElement("a");Nt.href=xr,Nt.download=ut,document.body.appendChild(Nt),Nt.click(),document.body.removeChild(Nt),URL.revokeObjectURL(xr)},[]),Pr=S.useCallback(()=>{const K=Fe.current,{filename:Ae,content:Se,mime:ut}=Pc(K,ae,Z,Le,Te,oe);Ft(Ae,Se,ut)},[ae,Z,Le,Te,oe,Ft]),fr=S.useCallback(()=>{Ft("document.md",Fe.current,"text/markdown")},[Ft]),dr=S.useCallback(()=>{const K=Fe.current,Ae=`<!DOCTYPE html>
1254
1254
  <html><head>
1255
1255
  <meta charset="UTF-8">
1256
1256
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5/github-markdown.min.css">
@@ -1267,7 +1267,7 @@ ${bm(m)}
1267
1267
  document.getElementById('content').innerHTML = marked.parse(${JSON.stringify(K)});
1268
1268
  setTimeout(() => { window.print(); }, 500);
1269
1269
  <\/script>
1270
- </body></html>`,Se=window.open("","_blank");Se&&(Se.document.write(Ae),Se.document.close())},[]),mr=S.useMemo(()=>{if(ae==="markdown")return[{label:"Download as Markdown (.md)",action:fr},{label:"Download as PDF (Print)",action:dr}]},[ae,fr,dr]),Nr=S.useCallback(K=>{b(K),Fe.current=K,Ze.current||(m==null||m(K),clearTimeout(ur.current),ur.current=setTimeout(()=>{lt(K)},Xr.EDITOR_DEBOUNCE_MS))},[m]),Rr=S.useCallback(K=>{Ee.current&&(Ee.current=!1,clearTimeout(De.current),D("code")),T(Ae=>Ae.some(Se=>Se.message===K.message)?Ae:[...Ae.slice(-9),K]),x==null||x(K)},[x]),Lr=S.useCallback(()=>{Q(!1);const K=Ie.current??!1;!we&&!K&&de&&C==="code"&&!Ee.current&&D("preview"),_==null||_()},[_,we,de,C]);S.useImperativeHandle(he,()=>({getCode:()=>Fe.current,setCode:K=>{Ze.current=!0,Mt(ze),b(K),lt(K),Fe.current=K,Pt.current=K,T([]),queueMicrotask(()=>{Ze.current=!1})},streamCode:K=>{Ze.current=!0,le||(Mt(Fe.current),ve(!0),D("code")),Fe.current=K,Pt.current=K,b(K),queueMicrotask(()=>{Ze.current=!1})},commitCode:()=>{ve(!1);const K=Fe.current;b(K),lt(K),T([]),Q(!0),de&&W==null&&(Ee.current=!0,clearTimeout(De.current),De.current=setTimeout(()=>{Ee.current&&(Ee.current=!1,D("preview"))},Xr.PREVIEW_SWITCH_DELAY_MS))},editCode:(K,Ae)=>{const Se=Fe.current,ut=Se.indexOf(K);if(ut===-1)return!1;Ze.current=!0,hr==null&&Mt(Se);const bt=Se.slice(0,ut)+Ae+Se.slice(ut+K.length);return b(bt),lt(bt),Fe.current=bt,Pt.current=bt,queueMicrotask(()=>{Ze.current=!1}),!0},refresh:()=>{xt.current+=1,lr(xt.current),T([])},setView:K=>D(K),getErrors:()=>I,clearErrors:()=>T([]),isLoading:()=>Y})),S.useEffect(()=>{if(i&&Ge[i]){const K=Ge[i];b(K.code),lt(K.code),Fe.current=K.code,Mt(null)}},[i]);const Xt=H==="dark",gr=C==="split"||C==="code",kt=C==="split"||C==="preview",Dr=de&&pr!==be&&!we,Or={display:"flex",flexDirection:"column",width:me?"100vw":typeof U=="number"?`${U}px`:U,height:me?"100vh":typeof O=="number"?`${O}px`:O,overflow:"hidden",borderRadius:me?0:10,border:me?"none":`1px solid ${Xt?"#27272a":"#e4e4e7"}`,backgroundColor:Xt?"#09090b":"#ffffff",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},Mr={display:"flex",flexDirection:"row",flex:1,minHeight:0,overflow:"hidden"},Yt={flex:1,minWidth:0,minHeight:0,overflow:"hidden"},jr={flexShrink:0,width:1,backgroundColor:Xt?"#27272a":"#e4e4e7"},Fr=ae==="react-ts"?"react-ts":ae;return E.jsxs("div",{ref:gt,className:M,style:Or,children:[B&&E.jsx(S1,{view:C,onViewChange:D,onRefresh:()=>{xt.current+=1,lr(xt.current),T([])},isLoading:Y,theme:H,isStreaming:we,isFullscreen:me,onFullscreenToggle:Ar,onDownload:mr?void 0:Pr,downloadOptions:mr,onClose:y,hideSplit:$e}),E.jsxs("div",{style:Mr,children:[gr&&E.jsx("div",{style:Yt,children:E.jsx(ya,{code:ze,language:Z,onChange:Nr,theme:H,readOnly:G||we,options:P,editorRef:At,baseCode:hr})}),gr&&kt&&E.jsx("div",{style:jr}),kt&&!we&&I.length>0&&E.jsx("div",{style:Yt,children:E.jsx(E1,{errors:I,theme:H})}),(kt||Dr&&!kt)&&E.jsx("div",{style:{...Yt,...kt&&!(I.length>0&&!we)?{}:{position:"absolute",width:1,height:1,overflow:"hidden",opacity:0,pointerEvents:"none"}},children:E.jsx(w1,{code:pr,template:Fr,importMap:o,dependencies:c,cdnBase:u,tailwindCdn:f,externalResources:h,files:void 0,onError:Rr,onLoad:Lr,theme:H,showLoader:A&&kt&&!(I.length>0&&!we),loader:z,themeCSS:oe,componentsPreamble:Te})},Tr)]}),ce&&E.jsx(I1,{errors:I,isLoading:Y,isStreaming:we,language:Z,theme:H,view:C,filename:Le,footerSlot:Me})]})})),N1={"application/vnd.react":{description:"React TSX component (single file, default export)",extension:".tsx",template:"react-ts",example:"export default function App() { return <h1>Hello</h1>; }"},"text/html":{description:"Static HTML (rendered directly, Tailwind CSS available)",extension:".html",template:"html",example:'<div class="p-4"><h1 class="text-2xl font-bold">Hello</h1></div>'},"text/markdown":{description:"Markdown with Mermaid diagram support (GFM, rendered with github-markdown-css)",extension:".md",template:"markdown",example:`# Hello
1270
+ </body></html>`,Se=window.open("","_blank");Se&&(Se.document.write(Ae),Se.document.close())},[]),mr=S.useMemo(()=>{if(ae==="markdown")return[{label:"Download as Markdown (.md)",action:fr},{label:"Download as PDF (Print)",action:dr}]},[ae,fr,dr]),Nr=S.useCallback(K=>{b(K),Fe.current=K,Ze.current||(m==null||m(K),clearTimeout(ur.current),ur.current=setTimeout(()=>{lt(K)},Xr.EDITOR_DEBOUNCE_MS))},[m]),Rr=S.useCallback(K=>{Ee.current&&(Ee.current=!1,clearTimeout(De.current),D("code")),T(Ae=>Ae.some(Se=>Se.message===K.message)?Ae:[...Ae.slice(-9),K]),x==null||x(K)},[x]),Lr=S.useCallback(()=>{Q(!1);const K=Ie.current??!1;!we&&!K&&de&&C==="code"&&!Ee.current&&D("preview"),_==null||_()},[_,we,de,C]);S.useImperativeHandle(he,()=>({getCode:()=>Fe.current,setCode:K=>{Ze.current=!0,Mt(ze),b(K),lt(K),Fe.current=K,Pt.current=K,T([]),queueMicrotask(()=>{Ze.current=!1})},streamCode:K=>{Ze.current=!0,le||(Mt(Fe.current),ve(!0),D("code")),Fe.current=K,Pt.current=K,b(K),queueMicrotask(()=>{Ze.current=!1})},commitCode:()=>{ve(!1);const K=Fe.current;b(K),lt(K),T([]),Q(!0),de&&W==null&&(Ee.current=!0,clearTimeout(De.current),De.current=setTimeout(()=>{Ee.current&&(Ee.current=!1,D("preview"))},Xr.PREVIEW_SWITCH_DELAY_MS))},editCode:(K,Ae)=>{const Se=Fe.current,ut=Se.indexOf(K);if(ut===-1)return!1;Ze.current=!0,hr==null&&Mt(Se);const bt=Se.slice(0,ut)+Ae+Se.slice(ut+K.length);return b(bt),lt(bt),Fe.current=bt,Pt.current=bt,queueMicrotask(()=>{Ze.current=!1}),!0},refresh:()=>{xt.current+=1,lr(xt.current),T([])},setView:K=>D(K),getErrors:()=>I,clearErrors:()=>T([]),isLoading:()=>Y})),S.useEffect(()=>{if(i&&Ge[i]){const K=Ge[i];b(K.code),lt(K.code),Fe.current=K.code,Mt(null)}},[i]);const Xt=H==="dark",gr=C==="split"||C==="code",kt=C==="split"||C==="preview",Dr=de&&pr!==be&&!we,Or={display:"flex",flexDirection:"column",width:me?"100vw":typeof U=="number"?`${U}px`:U,height:me?"100vh":typeof O=="number"?`${O}px`:O,overflow:"hidden",borderRadius:me?0:10,border:me?"none":`1px solid ${Xt?"#27272a":"#e4e4e7"}`,backgroundColor:Xt?"#09090b":"#ffffff",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'},Mr={display:"flex",flexDirection:"row",flex:1,minHeight:0,overflow:"hidden"},Yt={flex:1,minWidth:0,minHeight:0,overflow:"hidden"},jr={flexShrink:0,width:1,backgroundColor:Xt?"#27272a":"#e4e4e7"},Fr=ae==="react-ts"?"react-ts":ae;return E.jsxs("div",{ref:gt,className:M,style:Or,children:[B&&E.jsx(Sc,{view:C,onViewChange:D,onRefresh:()=>{xt.current+=1,lr(xt.current),T([])},isLoading:Y,theme:H,isStreaming:we,isFullscreen:me,onFullscreenToggle:Ar,onDownload:mr?void 0:Pr,downloadOptions:mr,onClose:y,hideSplit:$e}),E.jsxs("div",{style:Mr,children:[gr&&E.jsx("div",{style:Yt,children:E.jsx(ya,{code:ze,language:Z,onChange:Nr,theme:H,readOnly:G||we,options:P,editorRef:At,baseCode:hr})}),gr&&kt&&E.jsx("div",{style:jr}),kt&&!we&&I.length>0&&E.jsx("div",{style:Yt,children:E.jsx(Ec,{errors:I,theme:H})}),(kt||Dr&&!kt)&&E.jsx("div",{style:{...Yt,...kt&&!(I.length>0&&!we)?{}:{position:"absolute",width:1,height:1,overflow:"hidden",opacity:0,pointerEvents:"none"}},children:E.jsx(wc,{code:pr,template:Fr,importMap:o,dependencies:c,cdnBase:u,tailwindCdn:f,externalResources:h,files:void 0,onError:Rr,onLoad:Lr,theme:H,showLoader:A&&kt&&!(I.length>0&&!we),loader:z,themeCSS:oe,componentsPreamble:Te})},Tr)]}),ce&&E.jsx(Ic,{errors:I,isLoading:Y,isStreaming:we,language:Z,theme:H,view:C,filename:Le,footerSlot:Me})]})})),Nc={"application/vnd.react":{description:"React TSX component (single file, default export)",extension:".tsx",template:"react-ts",example:"export default function App() { return <h1>Hello</h1>; }"},"text/html":{description:"Static HTML (rendered directly, Tailwind CSS available)",extension:".html",template:"html",example:'<div class="p-4"><h1 class="text-2xl font-bold">Hello</h1></div>'},"text/markdown":{description:"Markdown with Mermaid diagram support (GFM, rendered with github-markdown-css)",extension:".md",template:"markdown",example:`# Hello
1271
1271
 
1272
1272
  Some text
1273
1273
 
@@ -1282,7 +1282,7 @@ Alice,30,NYC
1282
1282
  Bob,25,LA`},"application/json":{description:"JSON data with collapsible tree view and syntax highlighting",extension:".json",template:"json",example:'{"users": [{"name": "Alice", "role": "admin"}]}'},"text/vnd.graphviz":{description:"Graphviz DOT diagram with zoom/pan viewer (digraph, subgraph, clusters)",extension:".dot",template:"dot",example:`digraph G {
1283
1283
  A -> B -> C;
1284
1284
  B -> D;
1285
- }`},"application/x-latex":{description:"LaTeX math equations rendered with KaTeX (inline $...$ and display $$...$$)",extension:".tex",template:"latex",example:"The quadratic formula: $$x = \\frac{-b \\pm \\sqrt{b^2 - 4ac}}{2a}$$"},"application/vnd.architecture":{description:"Architecture diagram using Draw.io XML (mxGraphModel). Supports AWS, GCP, Azure, K8s shapes and all draw.io stencils.",extension:".drawio",template:"architecture",example:'<mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/></root></mxGraphModel>'}};function Rm(){return N1}function Lm(){return`## Artifact Preview (CodeViz)
1285
+ }`},"application/x-latex":{description:"LaTeX math equations rendered with KaTeX (inline $...$ and display $$...$$)",extension:".tex",template:"latex",example:"The quadratic formula: $$x = \\frac{-b \\pm \\sqrt{b^2 - 4ac}}{2a}$$"},"application/vnd.architecture":{description:"Architecture diagram using Draw.io XML (mxGraphModel). Supports AWS, GCP, Azure, K8s shapes and all draw.io stencils.",extension:".drawio",template:"architecture",example:'<mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/></root></mxGraphModel>'}};function Rm(){return Nc}function Lm(){return`## Artifact Preview (CodeViz)
1286
1286
 
1287
1287
  You can create interactive React or HTML artifacts that render in a live preview.
1288
1288
 
@@ -1306,7 +1306,7 @@ You can create interactive React or HTML artifacts that render in a live preview
1306
1306
  5. **Pick a template**: Start from the closest matching template to save tokens. Edit the template body — don't rewrite imports.
1307
1307
 
1308
1308
  ### Available Templates
1309
- ${C1()}
1309
+ ${Cc()}
1310
1310
 
1311
1311
  ### Template Selection
1312
1312
  Pick the template whose keywords best match the user's request. If unsure, use **singlepage**.
@@ -1319,7 +1319,7 @@ Templates use a **skeleton-first** approach to save tokens. Each template provid
1319
1319
 
1320
1320
  **How to extend:** Pick a template, then replace placeholder components with real content. Keep the layout structure — only modify the body.
1321
1321
 
1322
- ${v1()}
1322
+ ${vc()}
1323
1323
 
1324
1324
  ### Error Handling
1325
1325
  If you receive an error from the preview, fix it by:
@@ -1371,10 +1371,12 @@ Format: **Draw.io XML** (mxGraphModel). The renderer includes ALL draw.io shape
1371
1371
  /* ── Banking Theme: CSS Custom Properties ── */
1372
1372
  .theme-light {
1373
1373
  --surface-primary: #ffffff;
1374
+ --surface-primary-alt: #efefef;
1374
1375
  --surface-secondary: #f7f7f8;
1375
1376
  --surface-tertiary: #ececec;
1376
1377
  --surface-left-nav: #ededee;
1377
1378
  --surface-active: #e3e3e3;
1379
+ --surface-hover: #e3e3e3;
1378
1380
  --text-primary: #212121;
1379
1381
  --text-secondary: #424242;
1380
1382
  --text-tertiary: #595959;
@@ -1388,10 +1390,12 @@ Format: **Draw.io XML** (mxGraphModel). The renderer includes ALL draw.io shape
1388
1390
  }
1389
1391
  .theme-dark {
1390
1392
  --surface-primary: #0d0d0d;
1393
+ --surface-primary-alt: #171717;
1391
1394
  --surface-secondary: #212121;
1392
1395
  --surface-tertiary: #2f2f2f;
1393
1396
  --surface-left-nav: #1a1a1b;
1394
1397
  --surface-active: #595959;
1398
+ --surface-hover: #424242;
1395
1399
  --text-primary: #ececec;
1396
1400
  --text-secondary: #cdcdcd;
1397
1401
  --text-tertiary: #595959;
@@ -1417,8 +1421,10 @@ Format: **Draw.io XML** (mxGraphModel). The renderer includes ALL draw.io shape
1417
1421
  .text-accent-navy { color: var(--accent-navy); }
1418
1422
  .bg-accent-cyan { background-color: var(--accent-cyan); }
1419
1423
  .bg-accent-navy { background-color: var(--accent-navy); }
1424
+ .bg-surface-primary-alt { background-color: var(--surface-primary-alt); }
1420
1425
  .bg-surface-left-nav { background-color: var(--surface-left-nav); }
1421
1426
  .bg-surface-active { background-color: var(--surface-active); }
1427
+ .bg-surface-hover { background-color: var(--surface-hover); }
1422
1428
  .text-status-positive { color: var(--status-positive); }
1423
1429
  .text-status-negative { color: var(--status-negative); }
1424
1430
  .text-status-warning { color: var(--status-warning); }
@@ -1478,7 +1484,7 @@ function DataTable({ columns = [], data = [], searchable = true, pageSize = 10,
1478
1484
  };
1479
1485
 
1480
1486
  return (
1481
- <div className="bg-surface-secondary border border-border-light rounded-lg overflow-hidden">
1487
+ <div className="bg-surface-secondary border border-border-light rounded-xl overflow-hidden">
1482
1488
  {searchable && (
1483
1489
  <div className="px-4 py-3 border-b border-border-light">
1484
1490
  <input
@@ -1493,13 +1499,13 @@ function DataTable({ columns = [], data = [], searchable = true, pageSize = 10,
1493
1499
  <div className="overflow-x-auto">
1494
1500
  <table className="w-full">
1495
1501
  <thead>
1496
- <tr className="bg-surface-tertiary">
1502
+ <tr className="bg-surface-primary-alt border-b border-border-medium">
1497
1503
  {columns.map(col => (
1498
1504
  <th
1499
1505
  key={col.key}
1500
1506
  onClick={() => col.sortable !== false && handleSort(col.key)}
1501
1507
  className={cn(
1502
- 'px-4 py-2.5 text-xs font-semibold text-text-secondary whitespace-nowrap',
1508
+ 'px-4 py-3 text-xs font-semibold uppercase tracking-wider text-text-secondary whitespace-nowrap',
1503
1509
  col.align === 'right' ? 'text-right' : 'text-left',
1504
1510
  col.sortable !== false && 'cursor-pointer hover:text-text-primary select-none'
1505
1511
  )}
@@ -1519,13 +1525,13 @@ function DataTable({ columns = [], data = [], searchable = true, pageSize = 10,
1519
1525
  <tr
1520
1526
  key={idx}
1521
1527
  onClick={() => onRowClick && onRowClick(row, idx)}
1522
- className={cn('transition-colors', onRowClick && 'cursor-pointer', 'hover:bg-surface-tertiary')}
1528
+ className={cn('border-b border-border-light last:border-b-0 transition-colors', onRowClick && 'cursor-pointer hover:bg-surface-hover')}
1523
1529
  >
1524
1530
  {columns.map(col => (
1525
1531
  <td
1526
1532
  key={col.key}
1527
1533
  className={cn(
1528
- 'px-4 py-2.5 text-sm',
1534
+ 'px-4 py-3 text-sm',
1529
1535
  col.align === 'right' ? 'text-right tabular-nums' : 'text-left',
1530
1536
  'text-text-primary'
1531
1537
  )}
@@ -1588,15 +1594,19 @@ function MetricCard({ label, value, trend, trendLabel, icon, iconColor = '#00C1D
1588
1594
  const IconComp = icon;
1589
1595
 
1590
1596
  return (
1591
- <div className="bg-surface-secondary border border-border-light rounded-lg p-3">
1592
- <div className="flex items-center justify-between mb-1.5">
1593
- <p className="text-text-secondary text-xs font-medium uppercase tracking-wide">{label}</p>
1594
- {IconComp && <IconComp className="w-4 h-4" style={{ color: iconColor }} />}
1597
+ <div className="bg-surface-secondary border border-border-light rounded-xl p-4 transition-all">
1598
+ <div className="flex items-center justify-between mb-1">
1599
+ <p className="text-text-secondary text-xs font-medium">{label}</p>
1600
+ {IconComp && (
1601
+ <div className="flex items-center justify-center w-8 h-8 rounded-lg bg-surface-tertiary">
1602
+ <IconComp className="w-4 h-4" style={{ color: iconColor }} />
1603
+ </div>
1604
+ )}
1595
1605
  </div>
1596
1606
  <p className="text-xl font-bold text-text-primary tabular-nums">{value}</p>
1597
1607
  {trend && (
1598
- <div className="flex items-center gap-1.5 mt-2">
1599
- <span className={cn('text-xs font-semibold', isPositive && 'text-status-positive', isNegative && 'text-status-negative')}>
1608
+ <div className="flex items-center gap-1.5 mt-1.5">
1609
+ <span className={cn('text-xs font-medium', isPositive && 'text-status-positive', isNegative && 'text-status-negative')}>
1600
1610
  {isPositive && '▲'}{isNegative && '▼'} {trend}
1601
1611
  </span>
1602
1612
  {trendLabel && <span className="text-text-tertiary text-xs">{trendLabel}</span>}
@@ -1643,11 +1653,11 @@ function DetailCard({ title, subtitle, status, fields = [], tabs, children }) {
1643
1653
  const [activeTab, setActiveTab] = useState(tabs?.[0]?.id || '');
1644
1654
 
1645
1655
  return (
1646
- <div className="bg-surface-secondary border border-border-light rounded-lg overflow-hidden">
1647
- <div className="p-3 border-b border-border-light">
1656
+ <div className="bg-surface-secondary border border-border-light rounded-xl overflow-hidden">
1657
+ <div className="p-4 border-b border-border-light">
1648
1658
  <div className="flex items-start justify-between mb-2">
1649
1659
  <div>
1650
- <h2 className="text-base font-bold text-text-primary">{title}</h2>
1660
+ <h2 className="text-base font-semibold text-text-primary">{title}</h2>
1651
1661
  {subtitle && <p className="text-text-secondary text-sm mt-0.5">{subtitle}</p>}
1652
1662
  </div>
1653
1663
  {status && <StatusBadge status={status.status} label={status.label} />}
@@ -1711,8 +1721,8 @@ function StepWizard({ steps = [], onComplete }) {
1711
1721
  const prev = () => setCurrent(c => Math.max(0, c - 1));
1712
1722
 
1713
1723
  return (
1714
- <div className="bg-surface-secondary border border-border-light rounded-lg overflow-hidden">
1715
- <div className="flex items-center px-3 py-2.5 border-b border-border-light gap-2">
1724
+ <div className="bg-surface-secondary border border-border-light rounded-xl overflow-hidden">
1725
+ <div className="flex items-center px-4 py-3 border-b border-border-light gap-2">
1716
1726
  {steps.map((step, i) => (
1717
1727
  <div key={step.id} className="flex items-center gap-2">
1718
1728
  <div className={cn(
@@ -1801,5 +1811,5 @@ function Avatar({ initials = 'RA', dark }) {
1801
1811
  }
1802
1812
 
1803
1813
  // ── End built-in components ─────────────────────────────────────────────────
1804
- `,Mm=["DataTable","MetricCard","StatusBadge","DetailCard","StepWizard","Logo","Avatar"];exports.BANKING_THEME_CSS=Dm;exports.BUILTIN_COMPONENTS_TSX=Om;exports.BUILTIN_COMPONENT_NAMES=Mm;exports.CodeViz=Nm;exports.EditorPane=ya;exports.ErrorPanel=E1;exports.Loader=Hs;exports.PREVIEW_TEMPLATES=_1;exports.PreviewPane=w1;exports.RENDERABLE_TYPES=N1;exports.SPLIT_BREAKPOINT=zs;exports.StatusBar=I1;exports.TIMINGS=Xr;exports.Toolbar=S1;exports.buildDownload=P1;exports.buildImportMap=Ti;exports.buildPreviewHtml=wn;exports.clearTemplates=Im;exports.getAgentSystemPrompt=Lm;exports.getAvailablePackages=v1;exports.getRenderableTypes=Rm;exports.getTemplate=Em;exports.getTemplateIds=Cm;exports.getTemplateSummary=C1;exports.getTemplates=Tm;exports.hasPreviewSupport=T1;exports.importMapToScript=Ai;exports.inferTemplate=A1;exports.pickTemplate=Am;exports.registerTemplate=wm;exports.registerTemplates=_m;exports.templates=Ge;exports.transpile=es;exports.transpileFiles=im;exports.unregisterTemplate=Sm;
1814
+ `,Mm=["DataTable","MetricCard","StatusBadge","DetailCard","StepWizard","Logo","Avatar"];exports.BANKING_THEME_CSS=Dm;exports.BUILTIN_COMPONENTS_TSX=Om;exports.BUILTIN_COMPONENT_NAMES=Mm;exports.CodeViz=Nm;exports.EditorPane=ya;exports.ErrorPanel=Ec;exports.Loader=Hs;exports.PREVIEW_TEMPLATES=_c;exports.PreviewPane=wc;exports.RENDERABLE_TYPES=Nc;exports.SPLIT_BREAKPOINT=zs;exports.StatusBar=Ic;exports.TIMINGS=Xr;exports.Toolbar=Sc;exports.buildDownload=Pc;exports.buildImportMap=Ti;exports.buildPreviewHtml=wn;exports.clearTemplates=Im;exports.getAgentSystemPrompt=Lm;exports.getAvailablePackages=vc;exports.getRenderableTypes=Rm;exports.getTemplate=Em;exports.getTemplateIds=Cm;exports.getTemplateSummary=Cc;exports.getTemplates=Tm;exports.hasPreviewSupport=Tc;exports.importMapToScript=Ai;exports.inferTemplate=Ac;exports.pickTemplate=Am;exports.registerTemplate=wm;exports.registerTemplates=_m;exports.templates=Ge;exports.transpile=es;exports.transpileFiles=im;exports.unregisterTemplate=Sm;
1805
1815
  //# sourceMappingURL=index.cjs.map