openadminjs 0.1.15 → 0.1.17
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/create-project.js +4 -1
- package/dist/index.js +127 -0
- package/package.json +2 -2
- package/template/apps/admin/.storybook/main.ts +12 -0
- package/template/apps/admin/.storybook/preview.ts +10 -0
- package/template/apps/admin/app/dashboard/page.tsx +357 -277
- package/template/apps/admin/app/layout.tsx +5 -1
- package/template/apps/admin/app/login/page.tsx +38 -0
- package/template/apps/admin/app/resources/[resource]/page.tsx +15 -1
- package/template/apps/admin/app/settings/page.tsx +40 -2
- package/template/apps/admin/app/system-logs/page.tsx +212 -0
- package/template/apps/admin/components/api-error-banner.tsx +26 -0
- package/template/apps/admin/components/app-shell.tsx +92 -18
- package/template/apps/admin/components/logo.stories.tsx +24 -0
- package/template/apps/admin/components/resource-form.tsx +47 -0
- package/template/apps/admin/components/resource-table.tsx +417 -44
- package/template/apps/admin/lib/api.ts +44 -1
- package/template/apps/admin/lib/resource-table-prefs.ts +57 -0
- package/template/apps/admin/package.json +6 -0
- package/template/apps/admin/storybook-static/370.e922f076.iframe.bundle.js +9 -0
- package/template/apps/admin/storybook-static/389.c0dd6bde.iframe.bundle.js +818 -0
- package/template/apps/admin/storybook-static/990.36428b6c.iframe.bundle.js +25 -0
- package/template/apps/admin/storybook-static/favicon-wrapper.svg +46 -0
- package/template/apps/admin/storybook-static/favicon.svg +1 -0
- package/template/apps/admin/storybook-static/iframe.html +560 -0
- package/template/apps/admin/storybook-static/index.html +139 -0
- package/template/apps/admin/storybook-static/index.json +1 -0
- package/template/apps/admin/storybook-static/logo-stories.c470fc8c.iframe.bundle.js +1 -0
- package/template/apps/admin/storybook-static/main.743ea6f2.iframe.bundle.js +2550 -0
- package/template/apps/admin/storybook-static/mocker-runtime-injected.js +2 -0
- package/template/apps/admin/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/template/apps/admin/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/template/apps/admin/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/template/apps/admin/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/template/apps/admin/storybook-static/project.json +1 -0
- package/template/apps/admin/storybook-static/runtime~main.6f822e3b.iframe.bundle.js +2 -0
- package/template/apps/admin/storybook-static/sb-addons/onboarding-1/manager-bundle.js +97 -0
- package/template/apps/admin/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +630 -0
- package/template/apps/admin/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
- package/template/apps/admin/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/template/apps/admin/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/template/apps/admin/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/template/apps/admin/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/template/apps/admin/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/template/apps/admin/storybook-static/sb-manager/globals-runtime.js +76309 -0
- package/template/apps/admin/storybook-static/sb-manager/globals.js +24 -0
- package/template/apps/admin/storybook-static/sb-manager/manager-stores.js +23 -0
- package/template/apps/admin/storybook-static/sb-manager/runtime.js +26078 -0
- package/template/apps/admin/storybook-static/sb-preview/globals.js +20 -0
- package/template/apps/admin/storybook-static/sb-preview/runtime.js +35472 -0
- package/template/apps/api/package.json +13 -2
- package/template/apps/api/plugins.manifest.example.json +12 -0
- package/template/apps/api/src/admin/admin-logs.controller.ts +31 -0
- package/template/apps/api/src/admin/admin-plugins.controller.ts +5 -0
- package/template/apps/api/src/admin/admin-plugins.service.ts +11 -0
- package/template/apps/api/src/admin/admin-resource.service.ts +235 -1
- package/template/apps/api/src/admin/admin.controller.ts +35 -0
- package/template/apps/api/src/admin/admin.module.ts +6 -3
- package/template/apps/api/src/admin/dto/resource-bulk.dto.ts +17 -0
- package/template/apps/api/src/admin/dto/resource-reorder.dto.ts +17 -0
- package/template/apps/api/src/admin/dto/resource-upload.dto.ts +20 -0
- package/template/apps/api/src/app.module.ts +45 -5
- package/template/apps/api/src/auth/auth.module.ts +5 -3
- package/template/apps/api/src/auth/auth.service.test.ts +6 -3
- package/template/apps/api/src/auth/auth.service.ts +84 -0
- package/template/apps/api/src/auth/sso-oidc.controller.ts +78 -0
- package/template/apps/api/src/auth/sso-oidc.service.test.ts +84 -0
- package/template/apps/api/src/auth/sso-oidc.service.ts +281 -0
- package/template/apps/api/src/common/app-logger.service.ts +138 -0
- package/template/apps/api/src/common/auth.guard.test.ts +1 -0
- package/template/apps/api/src/common/auth.guard.ts +15 -1
- package/template/apps/api/src/common/current-user.decorator.ts +6 -2
- package/template/apps/api/src/common/logging.module.ts +10 -0
- package/template/apps/api/src/common/request-logging.interceptor.ts +70 -0
- package/template/apps/api/src/graphql/admin-resources.resolver.test.ts +44 -0
- package/template/apps/api/src/graphql/admin-resources.resolver.ts +65 -0
- package/template/apps/api/src/graphql/graphql.module.ts +26 -0
- package/template/apps/api/src/main.ts +2 -0
- package/template/apps/api/src/plugins/bundled/registry.ts +3 -1
- package/template/apps/api/src/plugins/bundled/webhook.plugin.ts +64 -0
- package/template/apps/api/src/resources/categories.resource.ts +1 -0
- package/template/apps/api/src/resources/system.resource.ts +1 -0
- package/template/packages/core/src/index.ts +5 -0
- package/template/packages/core/vitest.config.ts +9 -0
- package/template/packages/resource/package.json +11 -0
- package/template/packages/resource/src/index.test.ts +45 -0
- package/template/packages/resource/src/index.ts +63 -0
- package/template/prisma/schema.prisma +5 -0
- package/template/packages/core/src/index.js +0 -1
- package/template/packages/permissions/src/blueprints.js +0 -57
- package/template/packages/permissions/src/index.js +0 -11
- package/template/packages/resource/src/index.js +0 -177
|
@@ -0,0 +1,818 @@
|
|
|
1
|
+
(self.webpackChunk_openadminjs_admin=self.webpackChunk_openadminjs_admin||[]).push([[389],{"../../node_modules/.pnpm/@storybook+nextjs@10.3.6_esbuild@0.27.7_next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_reac_k6hz37wkm3ngjnb5ruiqj2kuxa/node_modules/@storybook/nextjs/dist/config/preview.js":((ee,i,u)=>{"use strict";u.r(i);var p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/config.js"),w=u.n(p);(0,p.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:{}})}),"../../node_modules/.pnpm/@storybook+nextjs@10.3.6_esbuild@0.27.7_next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_reac_k6hz37wkm3ngjnb5ruiqj2kuxa/node_modules/@storybook/nextjs/dist/preview.js":((ee,i,u)=>{"use strict";u.r(i),u.d(i,{decorators:()=>ue,loaders:()=>j,parameters:()=>Ee});var p=Object.create,w=Object.defineProperty,v=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,E=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,g=(ye=>u("../../node_modules/.pnpm/@storybook+nextjs@10.3.6_esbuild@0.27.7_next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_reac_k6hz37wkm3ngjnb5ruiqj2kuxa/node_modules/@storybook/nextjs/dist/_browser-chunks sync recursive"))(function(ye){return u("../../node_modules/.pnpm/@storybook+nextjs@10.3.6_esbuild@0.27.7_next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_reac_k6hz37wkm3ngjnb5ruiqj2kuxa/node_modules/@storybook/nextjs/dist/_browser-chunks sync recursive").apply(this,arguments)}),l=(ye,$e)=>function(){return $e||(0,ye[h(ye)[0]])(($e={exports:{}}).exports,$e),$e.exports},B=(ye,$e)=>{for(var Ce in $e)w(ye,Ce,{get:$e[Ce],enumerable:!0})},M=(ye,$e,Ce,Ye)=>{if($e&&typeof $e=="object"||typeof $e=="function")for(let J of h($e))!f.call(ye,J)&&J!==Ce&&w(ye,J,{get:()=>$e[J],enumerable:!(Ye=v($e,J))||Ye.enumerable});return ye},k=(ye,$e,Ce)=>(Ce=ye!=null?p(E(ye)):{},M($e||!ye||!ye.__esModule?w(Ce,"default",{value:ye,enumerable:!0}):Ce,ye)),W=u("storybook/internal/preview-errors"),L=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/navigation.js"),G=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-status-code.js"),U=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect.js"),S=u("storybook/test"),Y,N=ye=>{let $e={push:(0,S.fn)().mockName("next/navigation::useRouter().push"),replace:(0,S.fn)().mockName("next/navigation::useRouter().replace"),forward:(0,S.fn)().mockName("next/navigation::useRouter().forward"),back:(0,S.fn)().mockName("next/navigation::useRouter().back"),prefetch:(0,S.fn)().mockName("next/navigation::useRouter().prefetch"),refresh:(0,S.fn)().mockName("next/navigation::useRouter().refresh")};return ye&&Object.keys($e).forEach(Ce=>{Ce in ye&&($e[Ce]=(0,S.fn)((...Ye)=>ye[Ce](...Ye)).mockName(`useRouter().${Ce}`))}),Y=$e,Y},$=()=>{if(!Y)throw new W.NextjsRouterMocksNotAvailable({importType:"next/navigation"});return Y},ae=(0,S.fn)((ye,$e=L.RedirectType.push)=>{throw(0,U.getRedirectError)(ye,$e,G.RedirectStatusCode.SeeOther)}).mockName("next/navigation::redirect"),ne=(0,S.fn)((ye,$e=L.RedirectType.push)=>{throw(0,U.getRedirectError)(ye,$e,G.RedirectStatusCode.SeeOther)}).mockName("next/navigation::permanentRedirect"),P=(0,S.fn)(L.useSearchParams).mockName("next/navigation::useSearchParams"),V=(0,S.fn)(L.usePathname).mockName("next/navigation::usePathname"),X=(0,S.fn)(L.useSelectedLayoutSegment).mockName("next/navigation::useSelectedLayoutSegment"),me=(0,S.fn)(L.useSelectedLayoutSegments).mockName("next/navigation::useSelectedLayoutSegments"),we=(0,S.fn)(()=>{if(!Y)throw new W.NextjsRouterMocksNotAvailable({importType:"next/navigation"});return Y}).mockName("next/navigation::useRouter"),Re=(0,S.fn)(L.useServerInsertedHTML).mockName("next/navigation::useServerInsertedHTML"),Ae=(0,S.fn)(L.notFound).mockName("next/navigation::notFound"),te=(0,S.fn)(L.useParams).mockName("next/navigation::useParams"),Se=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/router.js"),Te=u.n(Se),Ue={route:"/",asPath:"/",basePath:"/",pathname:"/",query:{},isFallback:!1,isLocaleDomain:!1,isReady:!0,isPreview:!1},ft,ut=ye=>{let $e={push:(0,S.fn)((...Ye)=>Promise.resolve(!0)).mockName("next/router::useRouter().push"),replace:(0,S.fn)((...Ye)=>Promise.resolve(!0)).mockName("next/router::useRouter().replace"),reload:(0,S.fn)((...Ye)=>{}).mockName("next/router::useRouter().reload"),back:(0,S.fn)((...Ye)=>{}).mockName("next/router::useRouter().back"),forward:(0,S.fn)(()=>{}).mockName("next/router::useRouter().forward"),prefetch:(0,S.fn)((...Ye)=>Promise.resolve()).mockName("next/router::useRouter().prefetch"),beforePopState:(0,S.fn)((...Ye)=>{}).mockName("next/router::useRouter().beforePopState")},Ce={on:(0,S.fn)((...Ye)=>{}).mockName("next/router::useRouter().events.on"),off:(0,S.fn)((...Ye)=>{}).mockName("next/router::useRouter().events.off"),emit:(0,S.fn)((...Ye)=>{}).mockName("next/router::useRouter().events.emit")};return ye&&Object.keys($e).forEach(Ye=>{Ye in ye&&($e[Ye]=(0,S.fn)((...J)=>ye[Ye](...J)).mockName(`useRouter().${Ye}`))}),ye?.events&&Object.keys(Ce).forEach(Ye=>{Ye in Ce&&(Ce[Ye]=(0,S.fn)((...J)=>ye.events[Ye](...J)).mockName(`useRouter().events.${Ye}`))}),ft={...Ue,...ye,...$e,events:Ce},Te().router=ft,Te().readyCallbacks.forEach(Ye=>Ye()),Te().readyCallbacks=[],ft},Ft=()=>{if(!ft)throw new W.NextjsRouterMocksNotAvailable({importType:"next/router"});return ft},kt=Te(),ht=(0,S.fn)(Se.useRouter).mockName("next/router::useRouter"),se=(0,S.fn)(Se.withRouter).mockName("next/router::withRouter"),He=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/is-next-router-error.js"),ge=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js"),je=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/head-manager.js"),nt=u.n(je),Rt=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js"),Bt=(0,ge.createContext)({}),Me=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-boundary.js"),xe=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js"),rt=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js"),_t=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/segment.js"),Pt=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router-context.shared-runtime.js"),fe=u("../../node_modules/.pnpm/styled-jsx@5.1.6_@babel+core@7.29.0_react@19.2.5/node_modules/styled-jsx/index.js"),pe=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js"),yt={};B(yt,{decorators:()=>ue,loaders:()=>j,parameters:()=>Ee});var F=({children:ye})=>{let $e=(0,ge.useMemo)(nt(),[]);return $e.getIsSsr=()=>!1,ge.createElement(Rt.HeadManagerContext.Provider,{value:$e},ye)},c=F,s=ye=>ge.createElement(c,null,ge.createElement(ye,null)),R=Bt,oe=(ye,{parameters:$e})=>$e.nextjs?.image?ge.createElement(R.Provider,{value:$e.nextjs.image},ge.createElement(ye,null)):ge.createElement(ye,null),Ne=ye=>{let $e=ye.shift();return $e?[$e,{children:Ne(ye)}]:[]},tt=({children:ye,routeParams:$e})=>{let{pathname:Ce,query:Ye,segments:J=[]}=$e,Ct=[Ce,{children:Ne([...J])}],lr=(0,ge.useMemo)(()=>{let at={},wt=$e.segments;if(wt){if(Array.isArray(wt)){for(let ce of wt)if(Array.isArray(ce)&&ce.length===2&&typeof ce[0]=="string"){let ze=ce[0],dt=ce[1];at[ze]=dt}}else if(typeof wt=="object"&&!Array.isArray(wt)){let ce=wt;for(let ze in ce)Object.prototype.hasOwnProperty.call(ce,ze)&&(at[ze]=ce[ze])}}return at},[$e.segments]),D={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null};return ge.createElement(rt.PathParamsContext.Provider,{value:lr},ge.createElement(rt.PathnameContext.Provider,{value:Ce},ge.createElement(rt.SearchParamsContext.Provider,{value:new URLSearchParams(Ye)},ge.createElement(xe.GlobalLayoutRouterContext.Provider,{value:{changeByServerResponse(){},buildId:"storybook",tree:Ct,focusAndScrollRef:{apply:!1,hashFragment:null,segmentPaths:[Ct],onlyHashChange:!1},nextUrl:Ce}},ge.createElement(xe.AppRouterContext.Provider,{value:$()},ge.createElement(xe.LayoutRouterContext.Provider,{value:{childNodes:new Map,tree:Ct,parentTree:Ct,parentCacheNode:D,url:Ce,loading:null}},ye))))))},It=({children:ye})=>ge.createElement(Pt.RouterContext.Provider,{value:Ft()},ye),zt={pathname:"/",query:{}},De=(ye,{parameters:$e})=>$e.nextjs?.appDirectory??!1?tt?ge.createElement(tt,{routeParams:{...zt,...$e.nextjs?.navigation}},ge.createElement(Me.RedirectBoundary,null,ge.createElement(ye,null))):null:ge.createElement(It,null,ge.createElement(ye,null)),Qe=ye=>ge.createElement(fe.StyleRegistry,null,ge.createElement(ye,null));function H(){let ye=document.createElement("meta");ye.name="next-head-count",ye.content="0",document.head.appendChild(ye)}function y(ye){return typeof ye=="string"&&(ye.includes("Only Server Components can be async at the moment.")||ye.includes("A component was suspended by an uncached promise.")||ye.includes("async/await is not yet supported in Client Components"))}H();var A=globalThis.console.error;globalThis.console.error=(...ye)=>{let $e=ye[0];(0,He.isNextRouterError)($e)||y($e)||A.apply(globalThis.console,ye)},globalThis.addEventListener("error",ye=>{if((0,He.isNextRouterError)(ye.error)||y(ye.error)){ye.preventDefault();return}});var ue=[Qe,oe,De,s],j=async({globals:ye,parameters:$e})=>{let{router:Ce,appDirectory:Ye}=$e.nextjs??{};Ye?N(Ce):ut({locale:ye.locale,...Ce})},Ee={docs:{source:{excludeDecorators:!0}},react:{rootOptions:{onCaughtError(ye){(0,He.isNextRouterError)(ye)||pe.error(ye)}}}}}),"../../node_modules/.pnpm/@storybook+react@10.3.6_react-dom@19.2.5_react@19.2.5__react@19.2.5_storybook@10.3.6_@testing_26sxzcnkjk5ugnuppmt6svgqze/node_modules/@storybook/react/dist/entry-preview.js":((ee,i,u)=>{"use strict";u.r(i),u.d(i,{applyDecorators:()=>h,beforeAll:()=>me,decorators:()=>V,mount:()=>P,parameters:()=>X,render:()=>G,renderToCanvas:()=>ne});var p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js"),w=u.t(p,2),v=u("storybook/preview-api"),h=(Re,Ae)=>(0,v.defaultDecorateStory)(te=>p.createElement(Re,te),Ae),E=u("../../node_modules/.pnpm/@storybook+react@10.3.6_react-dom@19.2.5_react@19.2.5__react@19.2.5_storybook@10.3.6_@testing_26sxzcnkjk5ugnuppmt6svgqze/node_modules/@storybook/react/dist/_browser-chunks/chunk-SL3VIQZ3.js"),f=u("@storybook/global"),g=u("storybook/test"),l={};(0,E.__export)(l,{applyDecorators:()=>h,beforeAll:()=>me,decorators:()=>V,mount:()=>P,parameters:()=>X,render:()=>G,renderToCanvas:()=>ne});var B={...w};function M(Re){globalThis.IS_REACT_ACT_ENVIRONMENT=Re}function k(){return globalThis.IS_REACT_ACT_ENVIRONMENT}function W(Re){return Ae=>{let te=k();M(!0);try{let Se=!1,Te=Re(()=>{let Ue=Ae();return Ue!==null&&typeof Ue=="object"&&typeof Ue.then=="function"&&(Se=!0),Ue});if(Se){let Ue=Te;return{then:(ft,ut)=>{Ue.then(Ft=>{M(te),ft(Ft)},Ft=>{M(te),ut(Ft)})}}}else return M(te),Te}catch(Se){throw M(te),Se}}}var L=async({disableAct:Re=!1}={})=>te=>te(),G=(Re,Ae)=>{let{id:te,component:Se}=Ae;if(!Se)throw new Error(`Unable to render story ${te} as the component annotation is missing from the default export`);return p.createElement(Se,{...Re})},{FRAMEWORK_OPTIONS:U}=f.global,S=class extends p.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:Re}=this.state,{showMain:Ae}=this.props;Re||Ae()}componentDidCatch(Re){let{showException:Ae}=this.props;Ae(Re)}render(){let{hasError:Re}=this.state,{children:Ae}=this.props;return Re?null:Ae}},Y=U?.strictMode?p.StrictMode:p.Fragment,N=[],$=!1,ae=async()=>{if($||N.length===0)return;$=!0;let Re=N.shift();Re&&await Re(),$=!1,ae()};async function ne({storyContext:Re,unboundStoryFn:Ae,showMain:te,showException:Se,forceRemount:Te},Ue){let{renderElement:ft,unmountElement:ut}=await u.e(990).then(u.bind(u,"../../node_modules/.pnpm/@storybook+react-dom-shim@10.3.6_react-dom@19.2.5_react@19.2.5__react@19.2.5_storybook@10.3.6_qdy3zxc5posz2ivdvwvdnry6fy/node_modules/@storybook/react-dom-shim/dist/react-18.js")),Ft=Ae,kt=Re.parameters.__isPortableStory?p.createElement(Ft,{...Re}):p.createElement(S,{key:Re.id,showMain:te,showException:Se},p.createElement(Ft,{...Re})),ht=Y?p.createElement(Y,null,kt):kt;Te&&ut(Ue);let se=await L({disableAct:Re.viewMode==="docs"});return await new Promise(async(He,ge)=>{N.push(async()=>{try{await se(async()=>{await ft(ht,Ue,Re?.parameters?.react?.rootOptions)}),He()}catch(je){ge(je)}}),ae()}),async()=>{await se(()=>{ut(Ue)})}}var P=Re=>async Ae=>(Ae!=null&&(Re.originalStoryFn=()=>Ae),await Re.renderToCanvas(),Re.canvas),V=[(Re,Ae)=>{if(!Ae.parameters?.react?.rsc)return Re();let[te,Se]=p.version.split(".").map(Te=>parseInt(Te,10));if(!Number.isInteger(te)||!Number.isInteger(Se))throw new Error("Unable to parse React version");if(te<18||te===18&&Se<3)throw new Error("React Server Components require React >= 18.3");return p.createElement(p.Suspense,null,Re())},(Re,Ae)=>{if(Ae.tags?.includes(v.Tag.TEST_FN)&&!f.global.FEATURES?.experimentalTestSyntax)throw new Error("To use the experimental test function, you must enable the experimentalTestSyntax feature flag. See https://storybook.js.org/docs/api/main-config/main-config-features#experimentaltestsyntax");return Re()}],X={renderer:"react"},me=async()=>{try{let Re=await L();(0,g.configure)({unstable_advanceTimersWrapper:Ae=>Re(Ae),asyncWrapper:async Ae=>{let te=k();M(!1);try{let Se=await Ae();return await new Promise(Te=>{setTimeout(()=>{Te()},0),we()&&jest.advanceTimersByTime(0)}),Se}finally{M(te)}},eventWrapper:Ae=>{let te;return Re(()=>(te=Ae(),te)),te}})}catch{}};function we(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}}),"../../node_modules/.pnpm/@storybook+react@10.3.6_react-dom@19.2.5_react@19.2.5__react@19.2.5_storybook@10.3.6_@testing_26sxzcnkjk5ugnuppmt6svgqze/node_modules/@storybook/react/dist/_browser-chunks/chunk-SL3VIQZ3.js":((ee,i,u)=>{"use strict";u.r(i),u.d(i,{__commonJS:()=>g,__export:()=>l,__toESM:()=>M});var p=Object.create,w=Object.defineProperty,v=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,E=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,g=(k,W)=>function(){return W||(0,k[h(k)[0]])((W={exports:{}}).exports,W),W.exports},l=(k,W)=>{for(var L in W)w(k,L,{get:W[L],enumerable:!0})},B=(k,W,L,G)=>{if(W&&typeof W=="object"||typeof W=="function")for(let U of h(W))!f.call(k,U)&&U!==L&&w(k,U,{get:()=>W[U],enumerable:!(G=v(W,U))||G.enumerable});return k},M=(k,W,L)=>(L=k!=null?p(E(k)):{},B(W||!k||!k.__esModule?w(L,"default",{value:k,enumerable:!0}):L,k))}),"../../node_modules/.pnpm/@storybook+react@10.3.6_react-dom@19.2.5_react@19.2.5__react@19.2.5_storybook@10.3.6_@testing_26sxzcnkjk5ugnuppmt6svgqze/node_modules/@storybook/react/dist/entry-preview-argtypes.js":((ee,i,u)=>{"use strict";u.r(i),u.d(i,{argTypesEnhancers:()=>Ai,parameters:()=>Ei});var p=u("../../node_modules/.pnpm/@storybook+react@10.3.6_react-dom@19.2.5_react@19.2.5__react@19.2.5_storybook@10.3.6_@testing_26sxzcnkjk5ugnuppmt6svgqze/node_modules/@storybook/react/dist/_browser-chunks/chunk-SL3VIQZ3.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js"),v=(0,p.__commonJS)({"../../../node_modules/@base2/pretty-print-object/dist/index.js"(_){"use strict";var O=_&&_.__assign||function(){return O=Object.assign||function(Pe){for(var Xe,Ke=1,Et=arguments.length;Ke<Et;Ke++){Xe=arguments[Ke];for(var st in Xe)Object.prototype.hasOwnProperty.call(Xe,st)&&(Pe[st]=Xe[st])}return Pe},O.apply(this,arguments)},x=_&&_.__spreadArrays||function(){for(var Pe=0,Xe=0,Ke=arguments.length;Xe<Ke;Xe++)Pe+=arguments[Xe].length;for(var Et=Array(Pe),st=0,Xe=0;Xe<Ke;Xe++)for(var it=arguments[Xe],Le=0,ot=it.length;Le<ot;Le++,st++)Et[st]=it[Le];return Et};Object.defineProperty(_,"__esModule",{value:!0});var _e=[];function Ie(Pe){var Xe=typeof Pe;return Pe!==null&&(Xe==="object"||Xe==="function")}function Je(Pe){return Object.prototype.toString.call(Pe)==="[object RegExp]"}function Oe(Pe){return Object.getOwnPropertySymbols(Pe).filter(function(Xe){return Object.prototype.propertyIsEnumerable.call(Pe,Xe)})}function Be(Pe,Xe,Ke){Ke===void 0&&(Ke="");var Et={indent:" ",singleQuotes:!0},st=O(O({},Et),Xe),it;st.inlineCharacterLimit===void 0?it={newLine:`
|
|
2
|
+
`,newLineOrSpace:`
|
|
3
|
+
`,pad:Ke,indent:Ke+st.indent}:it={newLine:"@@__PRETTY_PRINT_NEW_LINE__@@",newLineOrSpace:"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@",pad:"@@__PRETTY_PRINT_PAD__@@",indent:"@@__PRETTY_PRINT_INDENT__@@"};var Le=function(vt){if(st.inlineCharacterLimit===void 0)return vt;var bt=vt.replace(new RegExp(it.newLine,"g"),"").replace(new RegExp(it.newLineOrSpace,"g")," ").replace(new RegExp(it.pad+"|"+it.indent,"g"),"");return bt.length<=st.inlineCharacterLimit?bt:vt.replace(new RegExp(it.newLine+"|"+it.newLineOrSpace,"g"),`
|
|
4
|
+
`).replace(new RegExp(it.pad,"g"),Ke).replace(new RegExp(it.indent,"g"),Ke+st.indent)};if(_e.indexOf(Pe)!==-1)return'"[Circular]"';if(Pe==null||typeof Pe=="number"||typeof Pe=="boolean"||typeof Pe=="function"||typeof Pe=="symbol"||Je(Pe))return String(Pe);if(Pe instanceof Date)return"new Date('"+Pe.toISOString()+"')";if(Array.isArray(Pe)){if(Pe.length===0)return"[]";_e.push(Pe);var ot="["+it.newLine+Pe.map(function(vt,bt){var nr=Pe.length-1===bt?it.newLine:","+it.newLineOrSpace,At=Be(vt,st,Ke+st.indent);return st.transform&&(At=st.transform(Pe,bt,At)),it.indent+At+nr}).join("")+it.pad+"]";return _e.pop(),Le(ot)}if(Ie(Pe)){var St=x(Object.keys(Pe),Oe(Pe));if(st.filter&&(St=St.filter(function(bt){return st.filter&&st.filter(Pe,bt)})),St.length===0)return"{}";_e.push(Pe);var ot="{"+it.newLine+St.map(function(bt,nr){var At=St.length-1===nr?it.newLine:","+it.newLineOrSpace,et=typeof bt=="symbol",o=!et&&/^[a-z$_][a-z$_0-9]*$/i.test(bt.toString()),T=et||o?bt:Be(bt,st),Q=Be(Pe[bt],st,Ke+st.indent);return st.transform&&(Q=st.transform(Pe,bt,Q)),it.indent+String(T)+": "+Q+At}).join("")+it.pad+"}";return _e.pop(),Le(ot)}return Pe=String(Pe).replace(/[\r\n]/g,function(vt){return vt===`
|
|
5
|
+
`?"\\n":"\\r"}),st.singleQuotes?(Pe=Pe.replace(/\\?'/g,"\\'"),"'"+Pe+"'"):(Pe=Pe.replace(/"/g,'\\"'),'"'+Pe+'"')}_.prettyPrint=Be}}),h=(0,p.__commonJS)({"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js"(_){"use strict";var O=Symbol.for("react.element"),x=Symbol.for("react.portal"),_e=Symbol.for("react.fragment"),Ie=Symbol.for("react.strict_mode"),Je=Symbol.for("react.profiler"),Oe=Symbol.for("react.provider"),Be=Symbol.for("react.context"),Pe=Symbol.for("react.server_context"),Xe=Symbol.for("react.forward_ref"),Ke=Symbol.for("react.suspense"),Et=Symbol.for("react.suspense_list"),st=Symbol.for("react.memo"),it=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),ot;ot=Symbol.for("react.module.reference");function St(vt){if(typeof vt=="object"&&vt!==null){var bt=vt.$$typeof;switch(bt){case O:switch(vt=vt.type,vt){case _e:case Je:case Ie:case Ke:case Et:return vt;default:switch(vt=vt&&vt.$$typeof,vt){case Pe:case Be:case Xe:case it:case st:case Oe:return vt;default:return bt}}case x:return bt}}}_.ContextConsumer=Be,_.ContextProvider=Oe,_.Element=O,_.ForwardRef=Xe,_.Fragment=_e,_.Lazy=it,_.Memo=st,_.Portal=x,_.Profiler=Je,_.StrictMode=Ie,_.Suspense=Ke,_.SuspenseList=Et,_.isAsyncMode=function(){return!1},_.isConcurrentMode=function(){return!1},_.isContextConsumer=function(vt){return St(vt)===Be},_.isContextProvider=function(vt){return St(vt)===Oe},_.isElement=function(vt){return typeof vt=="object"&&vt!==null&&vt.$$typeof===O},_.isForwardRef=function(vt){return St(vt)===Xe},_.isFragment=function(vt){return St(vt)===_e},_.isLazy=function(vt){return St(vt)===it},_.isMemo=function(vt){return St(vt)===st},_.isPortal=function(vt){return St(vt)===x},_.isProfiler=function(vt){return St(vt)===Je},_.isStrictMode=function(vt){return St(vt)===Ie},_.isSuspense=function(vt){return St(vt)===Ke},_.isSuspenseList=function(vt){return St(vt)===Et},_.isValidElementType=function(vt){return typeof vt=="string"||typeof vt=="function"||vt===_e||vt===Je||vt===Ie||vt===Ke||vt===Et||vt===Le||typeof vt=="object"&&vt!==null&&(vt.$$typeof===it||vt.$$typeof===st||vt.$$typeof===Oe||vt.$$typeof===Be||vt.$$typeof===Xe||vt.$$typeof===ot||vt.getModuleId!==void 0)},_.typeOf=St}}),E=(0,p.__commonJS)({"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.development.js"(_){"use strict"}}),f=(0,p.__commonJS)({"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"(_,O){"use strict";O.exports=h()}}),g=_=>_.$$typeof===Symbol.for("react.memo"),l=_=>_.$$typeof===Symbol.for("react.forward_ref");function B(_){return Object.prototype.toString.call(_)==="[object Object]"}function M(_){var O,x;return B(_)===!1?!1:(O=_.constructor,O===void 0?!0:(x=O.prototype,!(B(x)===!1||x.hasOwnProperty("isPrototypeOf")===!1)))}var k=(0,p.__toESM)(v()),W=(0,p.__toESM)(f()),L=(function(_,O){return _===0?"":new Array(_*O).fill(" ").join("")});function G(_,O){(O==null||O>_.length)&&(O=_.length);for(var x=0,_e=Array(O);x<O;x++)_e[x]=_[x];return _e}function U(_){if(Array.isArray(_))return G(_)}function S(_,O,x){return(O=V(O))in _?Object.defineProperty(_,O,{value:x,enumerable:!0,configurable:!0,writable:!0}):_[O]=x,_}function Y(_){if(typeof Symbol<"u"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function N(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $(_,O){var x=Object.keys(_);if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols(_);O&&(_e=_e.filter(function(Ie){return Object.getOwnPropertyDescriptor(_,Ie).enumerable})),x.push.apply(x,_e)}return x}function ae(_){for(var O=1;O<arguments.length;O++){var x=arguments[O]!=null?arguments[O]:{};O%2?$(Object(x),!0).forEach(function(_e){S(_,_e,x[_e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(x)):$(Object(x)).forEach(function(_e){Object.defineProperty(_,_e,Object.getOwnPropertyDescriptor(x,_e))})}return _}function ne(_){return U(_)||Y(_)||me(_)||N()}function P(_,O){if(typeof _!="object"||!_)return _;var x=_[Symbol.toPrimitive];if(x!==void 0){var _e=x.call(_,O||"default");if(typeof _e!="object")return _e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(O==="string"?String:Number)(_)}function V(_){var O=P(_,"string");return typeof O=="symbol"?O:O+""}function X(_){"@babel/helpers - typeof";return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},X(_)}function me(_,O){if(_){if(typeof _=="string")return G(_,O);var x={}.toString.call(_).slice(8,-1);return x==="Object"&&_.constructor&&(x=_.constructor.name),x==="Map"||x==="Set"?Array.from(_):x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x)?G(_,O):void 0}}function we(_,O){if(_===null||X(_)!=="object"||_ instanceof Date||_ instanceof RegExp)return _;if(w.isValidElement(_)){var x=ae({},_);return delete x._owner,x}return O.add(_),Array.isArray(_)?_.map(function(_e){return we(_e,O)}):Object.keys(_).sort().reduce(function(_e,Ie){return Ie==="current"||O.has(_[Ie])?_e[Ie]="[Circular]":_e[Ie]=we(_[Ie],O),_e},{})}function Re(_){return we(_,new WeakSet)}var Ae=function(_){return{type:"string",value:_}},te=function(_){return{type:"number",value:_}},Se=function(_,O,x,_e){return{type:"ReactElement",displayName:_,props:O,defaultProps:x,childrens:_e}},Te=function(_,O){return{type:"ReactFragment",key:_,childrens:O}},Ue=!!w.Fragment,ft=function(_){return!_.name||_.name==="_default"?"No Display Name":_.name},ut=function(_){switch(!0){case!!_.displayName:return _.displayName;case _.$$typeof===W.Memo:return ut(_.type);case _.$$typeof===W.ForwardRef:return ut(_.render);default:return ft(_)}},Ft=function(_){switch(!0){case typeof _.type=="string":return _.type;case typeof _.type=="function":return _.type.displayName?_.type.displayName:ft(_.type);case(0,W.isForwardRef)(_):case(0,W.isMemo)(_):return ut(_.type);case(0,W.isContextConsumer)(_):return"".concat(_.type._context.displayName||"Context",".Consumer");case(0,W.isContextProvider)(_):return"".concat(_.type._context.displayName||"Context",".Provider");case(0,W.isLazy)(_):return"Lazy";case(0,W.isProfiler)(_):return"Profiler";case(0,W.isStrictMode)(_):return"StrictMode";case(0,W.isSuspense)(_):return"Suspense";default:return"UnknownElementType"}},kt=function(_,O){return O!=="children"},ht=function(_){return _!==!0&&_!==!1&&_!==null&&_!==""},se=function(_,O){var x={};return Object.keys(_).filter(function(_e){return O(_[_e],_e)}).forEach(function(_e){return x[_e]=_[_e]}),x},He=function(_,O){var x=O.displayName,_e=x===void 0?Ft:x;if(typeof _=="string")return Ae(_);if(typeof _=="number")return te(_);if(!w.isValidElement(_))throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(X(_),"`"));var Ie=_e(_),Je=se(_.props,kt);_.ref!==null&&(Je.ref=_.ref);var Oe=_.key;typeof Oe=="string"&&Oe.search(/^\./)&&(Je.key=Oe);var Be=se(_.type.defaultProps||{},kt),Pe=w.Children.toArray(_.props.children).filter(ht).map(function(Xe){return He(Xe,O)});return Ue&&_.type===w.Fragment?Te(Oe,Pe):Se(Ie,Je,Be,Pe)};function ge(){}var je=function(_){return _.toString().split(`
|
|
7
|
+
`).map(function(O){return O.trim()}).join("")},nt=je,Rt=(function(_,O){var x=O.functionValue,_e=x===void 0?nt:x,Ie=O.showFunctions;return _e(!Ie&&_e===nt?ge:_)}),Bt=(function(_,O,x,_e){var Ie=Re(_),Je=(0,k.prettyPrint)(Ie,{transform:function(Oe,Be,Pe){var Xe=Oe[Be];return Xe&&(0,w.isValidElement)(Xe)?j(He(Xe,_e),!0,x,_e):typeof Xe=="function"?Rt(Xe,_e):Pe}});return O?Je.replace(/\s+/g," ").replace(/{ /g,"{").replace(/ }/g,"}").replace(/\[ /g,"[").replace(/ ]/g,"]"):Je.replace(/\t/g,L(1,_e.tabStop)).replace(/\n([^$])/g,`
|
|
8
|
+
`.concat(L(x+1,_e.tabStop),"$1"))}),Me=function(_){return _.replace(/"/g,""")},xe=function(_,O,x,_e){if(typeof _=="number")return"{".concat(String(_),"}");if(typeof _=="string")return'"'.concat(Me(_),'"');if(X(_)==="symbol"){var Ie=_.valueOf().toString().replace(/Symbol\((.*)\)/,"$1");return Ie?"{Symbol('".concat(Ie,"')}"):"{Symbol()}"}return typeof _=="function"?"{".concat(Rt(_,_e),"}"):(0,w.isValidElement)(_)?"{".concat(j(He(_,_e),!0,x,_e),"}"):_ instanceof Date?isNaN(_.valueOf())?"{new Date(NaN)}":'{new Date("'.concat(_.toISOString(),'")}'):M(_)||Array.isArray(_)?"{".concat(Bt(_,O,x,_e),"}"):"{".concat(String(_),"}")},rt=(function(_,O,x,_e,Ie,Je,Oe,Be){if(!O&&!_e)throw new Error('The prop "'.concat(_,'" has no value and no default: could not be formatted'));var Pe=O?x:Ie,Xe=Be.useBooleanShorthandSyntax,Ke=Be.tabStop,Et=xe(Pe,Je,Oe,Be),st=" ",it=`
|
|
9
|
+
`.concat(L(Oe+1,Ke)),Le=Et.includes(`
|
|
10
|
+
`);return Xe&&Et==="{false}"&&!_e?(st="",it=""):Xe&&Et==="{true}"?(st+="".concat(_),it+="".concat(_)):(st+="".concat(_,"=").concat(Et),it+="".concat(_,"=").concat(Et)),{attributeFormattedInline:st,attributeFormattedMultiline:it,isMultilineAttribute:Le}}),_t=(function(_,O){var x=_.slice(0,_.length>0?_.length-1:0),_e=_[_.length-1];return _e&&(O.type==="string"||O.type==="number")&&(_e.type==="string"||_e.type==="number")?x.push(Ae(String(_e.value)+String(O.value))):(_e&&x.push(_e),x.push(O)),x}),Pt=function(_){return["key","ref"].includes(_)},fe=(function(_){return function(O){var x=O.includes("key"),_e=O.includes("ref"),Ie=O.filter(function(Oe){return!Pt(Oe)}),Je=ne(_?Ie.sort():Ie);return _e&&Je.unshift("ref"),x&&Je.unshift("key"),Je}});function pe(_,O){return Array.isArray(O)?function(x){return O.indexOf(x)===-1}:function(x){return O(_[x],x)}}var yt=function(_,O,x,_e,Ie){var Je=Ie.tabStop;return _.type==="string"?O.split(`
|
|
11
|
+
`).map(function(Oe,Be){return Be===0?Oe:"".concat(L(_e,Je)).concat(Oe)}).join(`
|
|
12
|
+
`):O},F=function(_,O,x){return function(_e){return yt(_e,j(_e,_,O,x),_,O,x)}},c=function(_,O){return function(x){var _e=Object.keys(_).includes(x);return!_e||_e&&_[x]!==O[x]}},s=function(_,O,x,_e,Ie){return Ie?L(x,_e).length+O.length>Ie:_.length>1},R=function(_,O,x,_e,Ie,Je,Oe){return(s(_,O,Ie,Je,Oe)||x)&&!_e},oe=(function(_,O,x,_e){var Ie=_.type,Je=_.displayName,Oe=Je===void 0?"":Je,Be=_.childrens,Pe=_.props,Xe=Pe===void 0?{}:Pe,Ke=_.defaultProps,Et=Ke===void 0?{}:Ke;if(Ie!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(Ie));var st=_e.filterProps,it=_e.maxInlineAttributesLineLength,Le=_e.showDefaultProps,ot=_e.sortProps,St=_e.tabStop,vt="<".concat(Oe),bt=vt,nr=vt,At=!1,et=[],o=pe(Xe,st);Object.keys(Xe).filter(o).filter(c(Et,Xe)).forEach(function(ke){return et.push(ke)}),Object.keys(Et).filter(o).filter(function(){return Le}).filter(function(ke){return!et.includes(ke)}).forEach(function(ke){return et.push(ke)});var T=fe(ot)(et);if(T.forEach(function(ke){var Tt=rt(ke,Object.keys(Xe).includes(ke),Xe[ke],Object.keys(Et).includes(ke),Et[ke],O,x,_e),Lt=Tt.attributeFormattedInline,Wt=Tt.attributeFormattedMultiline,sr=Tt.isMultilineAttribute;sr&&(At=!0),bt+=Lt,nr+=Wt}),nr+=`
|
|
13
|
+
`.concat(L(x,St)),R(T,bt,At,O,x,St,it)?vt=nr:vt=bt,Be&&Be.length>0){var Q=x+1;vt+=">",O||(vt+=`
|
|
14
|
+
`,vt+=L(Q,St)),vt+=Be.reduce(_t,[]).map(F(O,Q,_e)).join(O?"":`
|
|
15
|
+
`.concat(L(Q,St))),O||(vt+=`
|
|
16
|
+
`,vt+=L(Q-1,St)),vt+="</".concat(Oe,">")}else s(T,bt,x,St,it)||(vt+=" "),vt+="/>";return vt}),Ne="",tt="React.Fragment",It=function(_,O,x){var _e={};return O&&(_e={key:O}),{type:"ReactElement",displayName:_,props:_e,defaultProps:{},childrens:x}},zt=function(_){var O=_.key;return!!O},De=function(_){var O=_.childrens;return O.length===0},Qe=(function(_,O,x,_e){var Ie=_.type,Je=_.key,Oe=_.childrens;if(Ie!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(Ie));var Be=_e.useFragmentShortSyntax,Pe;return Be?De(_)||zt(_)?Pe=tt:Pe=Ne:Pe=tt,oe(It(Pe,Je,Oe),O,x,_e)}),H=["<",">","{","}"],y=function(_){return H.some(function(O){return _.includes(O)})},A=function(_){return y(_)?"{`".concat(_,"`}"):_},ue=function(_){var O=_;return O.endsWith(" ")&&(O=O.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),O.startsWith(" ")&&(O=O.replace(/^(\s+)(.*)$/,"{'$1'}$2")),O},j=(function(_,O,x,_e){if(_.type==="number")return String(_.value);if(_.type==="string")return _.value?"".concat(ue(A(String(_.value)))):"";if(_.type==="ReactElement")return oe(_,O,x,_e);if(_.type==="ReactFragment")return Qe(_,O,x,_e);throw new TypeError('Unknow format type "'.concat(_.type,'"'))}),Ee=(function(_,O){return j(_,!1,0,O)}),ye=function(_){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=O.filterProps,_e=x===void 0?[]:x,Ie=O.showDefaultProps,Je=Ie===void 0?!0:Ie,Oe=O.showFunctions,Be=Oe===void 0?!1:Oe,Pe=O.functionValue,Xe=O.tabStop,Ke=Xe===void 0?2:Xe,Et=O.useBooleanShorthandSyntax,st=Et===void 0?!0:Et,it=O.useFragmentShortSyntax,Le=it===void 0?!0:it,ot=O.sortProps,St=ot===void 0?!0:ot,vt=O.maxInlineAttributesLineLength,bt=O.displayName;if(!_)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var nr={filterProps:_e,showDefaultProps:Je,showFunctions:Be,functionValue:Pe,tabStop:Ke,useBooleanShorthandSyntax:st,useFragmentShortSyntax:Le,sortProps:St,maxInlineAttributesLineLength:vt,displayName:bt};return Ee(He(_,nr),nr)},$e=u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-SI6AKD4S.js"),Ce=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js"),Ye=(0,p.__commonJS)({"../../../node_modules/estraverse/estraverse.js"(_){(function O(x){"use strict";var _e,Ie,Je,Oe,Be,Pe;function Xe(et){var o={},T,Q;for(T in et)et.hasOwnProperty(T)&&(Q=et[T],typeof Q=="object"&&Q!==null?o[T]=Xe(Q):o[T]=Q);return o}function Ke(et,o){var T,Q,ke,Tt;for(Q=et.length,ke=0;Q;)T=Q>>>1,Tt=ke+T,o(et[Tt])?Q=T:(ke=Tt+1,Q-=T+1);return ke}_e={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},Je={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},Oe={},Be={},Pe={},Ie={Break:Oe,Skip:Be,Remove:Pe};function Et(et,o){this.parent=et,this.key=o}Et.prototype.replace=function(et){this.parent[this.key]=et},Et.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function st(et,o,T,Q){this.node=et,this.path=o,this.wrap=T,this.ref=Q}function it(){}it.prototype.path=function(){var et,o,T,Q,ke,Tt;function Lt(Wt,sr){if(Array.isArray(sr))for(T=0,Q=sr.length;T<Q;++T)Wt.push(sr[T]);else Wt.push(sr)}if(!this.__current.path)return null;for(ke=[],et=2,o=this.__leavelist.length;et<o;++et)Tt=this.__leavelist[et],Lt(ke,Tt.path);return Lt(ke,this.__current.path),ke},it.prototype.type=function(){var et=this.current();return et.type||this.__current.wrap},it.prototype.parents=function(){var et,o,T;for(T=[],et=1,o=this.__leavelist.length;et<o;++et)T.push(this.__leavelist[et].node);return T},it.prototype.current=function(){return this.__current.node},it.prototype.__execute=function(et,o){var T,Q;return Q=void 0,T=this.__current,this.__current=o,this.__state=null,et&&(Q=et.call(this,o.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=T,Q},it.prototype.notify=function(et){this.__state=et},it.prototype.skip=function(){this.notify(Be)},it.prototype.break=function(){this.notify(Oe)},it.prototype.remove=function(){this.notify(Pe)},it.prototype.__initialize=function(et,o){this.visitor=o,this.root=et,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,o.fallback==="iteration"?this.__fallback=Object.keys:typeof o.fallback=="function"&&(this.__fallback=o.fallback),this.__keys=Je,o.keys&&(this.__keys=Object.assign(Object.create(this.__keys),o.keys))};function Le(et){return et==null?!1:typeof et=="object"&&typeof et.type=="string"}function ot(et,o){return(et===_e.ObjectExpression||et===_e.ObjectPattern)&&o==="properties"}function St(et,o){for(var T=et.length-1;T>=0;--T)if(et[T].node===o)return!0;return!1}it.prototype.traverse=function(et,o){var T,Q,ke,Tt,Lt,Wt,sr,br,Sr,Nr,Or,jr;for(this.__initialize(et,o),jr={},T=this.__worklist,Q=this.__leavelist,T.push(new st(et,null,null,null)),Q.push(new st(null,null,null,null));T.length;){if(ke=T.pop(),ke===jr){if(ke=Q.pop(),Wt=this.__execute(o.leave,ke),this.__state===Oe||Wt===Oe)return;continue}if(ke.node){if(Wt=this.__execute(o.enter,ke),this.__state===Oe||Wt===Oe)return;if(T.push(jr),Q.push(ke),this.__state===Be||Wt===Be)continue;if(Tt=ke.node,Lt=Tt.type||ke.wrap,Nr=this.__keys[Lt],!Nr)if(this.__fallback)Nr=this.__fallback(Tt);else throw new Error("Unknown node type "+Lt+".");for(br=Nr.length;(br-=1)>=0;)if(sr=Nr[br],Or=Tt[sr],!!Or){if(Array.isArray(Or)){for(Sr=Or.length;(Sr-=1)>=0;)if(Or[Sr]&&!St(Q,Or[Sr])){if(ot(Lt,Nr[br]))ke=new st(Or[Sr],[sr,Sr],"Property",null);else if(Le(Or[Sr]))ke=new st(Or[Sr],[sr,Sr],null,null);else continue;T.push(ke)}}else if(Le(Or)){if(St(Q,Or))continue;T.push(new st(Or,sr,null,null))}}}}},it.prototype.replace=function(et,o){var T,Q,ke,Tt,Lt,Wt,sr,br,Sr,Nr,Or,jr,wn;function Sn(Gn){var fr,jo,Ln,Yn;if(Gn.ref.remove()){for(jo=Gn.ref.key,Yn=Gn.ref.parent,fr=T.length;fr--;)if(Ln=T[fr],Ln.ref&&Ln.ref.parent===Yn){if(Ln.ref.key<jo)break;--Ln.ref.key}}}for(this.__initialize(et,o),Or={},T=this.__worklist,Q=this.__leavelist,jr={root:et},Wt=new st(et,null,null,new Et(jr,"root")),T.push(Wt),Q.push(Wt);T.length;){if(Wt=T.pop(),Wt===Or){if(Wt=Q.pop(),Lt=this.__execute(o.leave,Wt),Lt!==void 0&&Lt!==Oe&&Lt!==Be&&Lt!==Pe&&Wt.ref.replace(Lt),(this.__state===Pe||Lt===Pe)&&Sn(Wt),this.__state===Oe||Lt===Oe)return jr.root;continue}if(Lt=this.__execute(o.enter,Wt),Lt!==void 0&&Lt!==Oe&&Lt!==Be&&Lt!==Pe&&(Wt.ref.replace(Lt),Wt.node=Lt),(this.__state===Pe||Lt===Pe)&&(Sn(Wt),Wt.node=null),this.__state===Oe||Lt===Oe)return jr.root;if(ke=Wt.node,!!ke&&(T.push(Or),Q.push(Wt),!(this.__state===Be||Lt===Be))){if(Tt=ke.type||Wt.wrap,Sr=this.__keys[Tt],!Sr)if(this.__fallback)Sr=this.__fallback(ke);else throw new Error("Unknown node type "+Tt+".");for(sr=Sr.length;(sr-=1)>=0;)if(wn=Sr[sr],Nr=ke[wn],!!Nr)if(Array.isArray(Nr)){for(br=Nr.length;(br-=1)>=0;)if(Nr[br]){if(ot(Tt,Sr[sr]))Wt=new st(Nr[br],[wn,br],"Property",new Et(Nr,br));else if(Le(Nr[br]))Wt=new st(Nr[br],[wn,br],null,new Et(Nr,br));else continue;T.push(Wt)}}else Le(Nr)&&T.push(new st(Nr,wn,null,new Et(ke,wn)))}}return jr.root};function vt(et,o){var T=new it;return T.traverse(et,o)}function bt(et,o){var T=new it;return T.replace(et,o)}function nr(et,o){var T;return T=Ke(o,function(Q){return Q.range[0]>et.range[0]}),et.extendedRange=[et.range[0],et.range[1]],T!==o.length&&(et.extendedRange[1]=o[T].range[0]),T-=1,T>=0&&(et.extendedRange[0]=o[T].range[1]),et}function At(et,o,T){var Q=[],ke,Tt,Lt,Wt;if(!et.range)throw new Error("attachComments needs range information");if(!T.length){if(o.length){for(Lt=0,Tt=o.length;Lt<Tt;Lt+=1)ke=Xe(o[Lt]),ke.extendedRange=[0,et.range[0]],Q.push(ke);et.leadingComments=Q}return et}for(Lt=0,Tt=o.length;Lt<Tt;Lt+=1)Q.push(nr(Xe(o[Lt]),T));return Wt=0,vt(et,{enter:function(sr){for(var br;Wt<Q.length&&(br=Q[Wt],!(br.extendedRange[1]>sr.range[0]));)br.extendedRange[1]===sr.range[0]?(sr.leadingComments||(sr.leadingComments=[]),sr.leadingComments.push(br),Q.splice(Wt,1)):Wt+=1;if(Wt===Q.length)return Ie.Break;if(Q[Wt].extendedRange[0]>sr.range[1])return Ie.Skip}}),Wt=0,vt(et,{leave:function(sr){for(var br;Wt<Q.length&&(br=Q[Wt],!(sr.range[1]<br.extendedRange[0]));)sr.range[1]===br.extendedRange[0]?(sr.trailingComments||(sr.trailingComments=[]),sr.trailingComments.push(br),Q.splice(Wt,1)):Wt+=1;if(Wt===Q.length)return Ie.Break;if(Q[Wt].extendedRange[0]>sr.range[1])return Ie.Skip}}),et}return x.Syntax=_e,x.traverse=vt,x.replace=bt,x.attachComments=At,x.VisitorKeys=Je,x.VisitorOption=Ie,x.Controller=it,x.cloneEnvironment=function(){return O({})},x})(_)}}),J=(0,p.__commonJS)({"../../../node_modules/esutils/lib/ast.js"(_,O){(function(){"use strict";function x(Pe){if(Pe==null)return!1;switch(Pe.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function _e(Pe){if(Pe==null)return!1;switch(Pe.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function Ie(Pe){if(Pe==null)return!1;switch(Pe.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function Je(Pe){return Ie(Pe)||Pe!=null&&Pe.type==="FunctionDeclaration"}function Oe(Pe){switch(Pe.type){case"IfStatement":return Pe.alternate!=null?Pe.alternate:Pe.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return Pe.body}return null}function Be(Pe){var Xe;if(Pe.type!=="IfStatement"||Pe.alternate==null)return!1;Xe=Pe.consequent;do{if(Xe.type==="IfStatement"&&Xe.alternate==null)return!0;Xe=Oe(Xe)}while(Xe);return!1}O.exports={isExpression:x,isStatement:Ie,isIterationStatement:_e,isSourceElement:Je,isProblematicIfStatement:Be,trailingStatement:Oe}})()}}),Ct=(0,p.__commonJS)({"../../../node_modules/esutils/lib/code.js"(_,O){(function(){"use strict";var x,_e,Ie,Je,Oe,Be;_e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},x={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function Pe(bt){return 48<=bt&&bt<=57}function Xe(bt){return 48<=bt&&bt<=57||97<=bt&&bt<=102||65<=bt&&bt<=70}function Ke(bt){return bt>=48&&bt<=55}Ie=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function Et(bt){return bt===32||bt===9||bt===11||bt===12||bt===160||bt>=5760&&Ie.indexOf(bt)>=0}function st(bt){return bt===10||bt===13||bt===8232||bt===8233}function it(bt){if(bt<=65535)return String.fromCharCode(bt);var nr=String.fromCharCode(Math.floor((bt-65536)/1024)+55296),At=String.fromCharCode((bt-65536)%1024+56320);return nr+At}for(Je=new Array(128),Be=0;Be<128;++Be)Je[Be]=Be>=97&&Be<=122||Be>=65&&Be<=90||Be===36||Be===95;for(Oe=new Array(128),Be=0;Be<128;++Be)Oe[Be]=Be>=97&&Be<=122||Be>=65&&Be<=90||Be>=48&&Be<=57||Be===36||Be===95;function Le(bt){return bt<128?Je[bt]:_e.NonAsciiIdentifierStart.test(it(bt))}function ot(bt){return bt<128?Oe[bt]:_e.NonAsciiIdentifierPart.test(it(bt))}function St(bt){return bt<128?Je[bt]:x.NonAsciiIdentifierStart.test(it(bt))}function vt(bt){return bt<128?Oe[bt]:x.NonAsciiIdentifierPart.test(it(bt))}O.exports={isDecimalDigit:Pe,isHexDigit:Xe,isOctalDigit:Ke,isWhiteSpace:Et,isLineTerminator:st,isIdentifierStartES5:Le,isIdentifierPartES5:ot,isIdentifierStartES6:St,isIdentifierPartES6:vt}})()}}),lr=(0,p.__commonJS)({"../../../node_modules/esutils/lib/keyword.js"(_,O){(function(){"use strict";var x=Ct();function _e(Le){switch(Le){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function Ie(Le,ot){return!ot&&Le==="yield"?!1:Je(Le,ot)}function Je(Le,ot){if(ot&&_e(Le))return!0;switch(Le.length){case 2:return Le==="if"||Le==="in"||Le==="do";case 3:return Le==="var"||Le==="for"||Le==="new"||Le==="try";case 4:return Le==="this"||Le==="else"||Le==="case"||Le==="void"||Le==="with"||Le==="enum";case 5:return Le==="while"||Le==="break"||Le==="catch"||Le==="throw"||Le==="const"||Le==="yield"||Le==="class"||Le==="super";case 6:return Le==="return"||Le==="typeof"||Le==="delete"||Le==="switch"||Le==="export"||Le==="import";case 7:return Le==="default"||Le==="finally"||Le==="extends";case 8:return Le==="function"||Le==="continue"||Le==="debugger";case 10:return Le==="instanceof";default:return!1}}function Oe(Le,ot){return Le==="null"||Le==="true"||Le==="false"||Ie(Le,ot)}function Be(Le,ot){return Le==="null"||Le==="true"||Le==="false"||Je(Le,ot)}function Pe(Le){return Le==="eval"||Le==="arguments"}function Xe(Le){var ot,St,vt;if(Le.length===0||(vt=Le.charCodeAt(0),!x.isIdentifierStartES5(vt)))return!1;for(ot=1,St=Le.length;ot<St;++ot)if(vt=Le.charCodeAt(ot),!x.isIdentifierPartES5(vt))return!1;return!0}function Ke(Le,ot){return(Le-55296)*1024+(ot-56320)+65536}function Et(Le){var ot,St,vt,bt,nr;if(Le.length===0)return!1;for(nr=x.isIdentifierStartES6,ot=0,St=Le.length;ot<St;++ot){if(vt=Le.charCodeAt(ot),55296<=vt&&vt<=56319){if(++ot,ot>=St||(bt=Le.charCodeAt(ot),!(56320<=bt&&bt<=57343)))return!1;vt=Ke(vt,bt)}if(!nr(vt))return!1;nr=x.isIdentifierPartES6}return!0}function st(Le,ot){return Xe(Le)&&!Oe(Le,ot)}function it(Le,ot){return Et(Le)&&!Be(Le,ot)}O.exports={isKeywordES5:Ie,isKeywordES6:Je,isReservedWordES5:Oe,isReservedWordES6:Be,isRestrictedWord:Pe,isIdentifierNameES5:Xe,isIdentifierNameES6:Et,isIdentifierES5:st,isIdentifierES6:it}})()}}),D=(0,p.__commonJS)({"../../../node_modules/esutils/lib/utils.js"(_){(function(){"use strict";_.ast=J(),_.code=Ct(),_.keyword=lr()})()}}),at=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(_){var O="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");_.encode=function(x){if(0<=x&&x<O.length)return O[x];throw new TypeError("Must be between 0 and 63: "+x)},_.decode=function(x){var _e=65,Ie=90,Je=97,Oe=122,Be=48,Pe=57,Xe=43,Ke=47,Et=26,st=52;return _e<=x&&x<=Ie?x-_e:Je<=x&&x<=Oe?x-Je+Et:Be<=x&&x<=Pe?x-Be+st:x==Xe?62:x==Ke?63:-1}}}),wt=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(_){var O=at(),x=5,_e=1<<x,Ie=_e-1,Je=_e;function Oe(Pe){return Pe<0?(-Pe<<1)+1:(Pe<<1)+0}function Be(Pe){var Xe=(Pe&1)===1,Ke=Pe>>1;return Xe?-Ke:Ke}_.encode=function(Pe){var Xe="",Ke,Et=Oe(Pe);do Ke=Et&Ie,Et>>>=x,Et>0&&(Ke|=Je),Xe+=O.encode(Ke);while(Et>0);return Xe},_.decode=function(Pe,Xe,Ke){var Et=Pe.length,st=0,it=0,Le,ot;do{if(Xe>=Et)throw new Error("Expected more digits in base 64 VLQ value.");if(ot=O.decode(Pe.charCodeAt(Xe++)),ot===-1)throw new Error("Invalid base64 digit: "+Pe.charAt(Xe-1));Le=!!(ot&Je),ot&=Ie,st=st+(ot<<it),it+=x}while(Le);Ke.value=Be(st),Ke.rest=Xe}}}),ce=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/util.js"(_){function O(At,et,o){if(et in At)return At[et];if(arguments.length===3)return o;throw new Error('"'+et+'" is a required argument.')}_.getArg=O;var x=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,_e=/^data:.+\,.+$/;function Ie(At){var et=At.match(x);return et?{scheme:et[1],auth:et[2],host:et[3],port:et[4],path:et[5]}:null}_.urlParse=Ie;function Je(At){var et="";return At.scheme&&(et+=At.scheme+":"),et+="//",At.auth&&(et+=At.auth+"@"),At.host&&(et+=At.host),At.port&&(et+=":"+At.port),At.path&&(et+=At.path),et}_.urlGenerate=Je;function Oe(At){var et=At,o=Ie(At);if(o){if(!o.path)return At;et=o.path}for(var T=_.isAbsolute(et),Q=et.split(/\/+/),ke,Tt=0,Lt=Q.length-1;Lt>=0;Lt--)ke=Q[Lt],ke==="."?Q.splice(Lt,1):ke===".."?Tt++:Tt>0&&(ke===""?(Q.splice(Lt+1,Tt),Tt=0):(Q.splice(Lt,2),Tt--));return et=Q.join("/"),et===""&&(et=T?"/":"."),o?(o.path=et,Je(o)):et}_.normalize=Oe;function Be(At,et){At===""&&(At="."),et===""&&(et=".");var o=Ie(et),T=Ie(At);if(T&&(At=T.path||"/"),o&&!o.scheme)return T&&(o.scheme=T.scheme),Je(o);if(o||et.match(_e))return et;if(T&&!T.host&&!T.path)return T.host=et,Je(T);var Q=et.charAt(0)==="/"?et:Oe(At.replace(/\/+$/,"")+"/"+et);return T?(T.path=Q,Je(T)):Q}_.join=Be,_.isAbsolute=function(At){return At.charAt(0)==="/"||x.test(At)};function Pe(At,et){At===""&&(At="."),At=At.replace(/\/$/,"");for(var o=0;et.indexOf(At+"/")!==0;){var T=At.lastIndexOf("/");if(T<0||(At=At.slice(0,T),At.match(/^([^\/]+:\/)?\/*$/)))return et;++o}return Array(o+1).join("../")+et.substr(At.length+1)}_.relative=Pe;var Xe=(function(){var At=Object.create(null);return!("__proto__"in At)})();function Ke(At){return At}function Et(At){return it(At)?"$"+At:At}_.toSetString=Xe?Ke:Et;function st(At){return it(At)?At.slice(1):At}_.fromSetString=Xe?Ke:st;function it(At){if(!At)return!1;var et=At.length;if(et<9||At.charCodeAt(et-1)!==95||At.charCodeAt(et-2)!==95||At.charCodeAt(et-3)!==111||At.charCodeAt(et-4)!==116||At.charCodeAt(et-5)!==111||At.charCodeAt(et-6)!==114||At.charCodeAt(et-7)!==112||At.charCodeAt(et-8)!==95||At.charCodeAt(et-9)!==95)return!1;for(var o=et-10;o>=0;o--)if(At.charCodeAt(o)!==36)return!1;return!0}function Le(At,et,o){var T=St(At.source,et.source);return T!==0||(T=At.originalLine-et.originalLine,T!==0)||(T=At.originalColumn-et.originalColumn,T!==0||o)||(T=At.generatedColumn-et.generatedColumn,T!==0)||(T=At.generatedLine-et.generatedLine,T!==0)?T:St(At.name,et.name)}_.compareByOriginalPositions=Le;function ot(At,et,o){var T=At.generatedLine-et.generatedLine;return T!==0||(T=At.generatedColumn-et.generatedColumn,T!==0||o)||(T=St(At.source,et.source),T!==0)||(T=At.originalLine-et.originalLine,T!==0)||(T=At.originalColumn-et.originalColumn,T!==0)?T:St(At.name,et.name)}_.compareByGeneratedPositionsDeflated=ot;function St(At,et){return At===et?0:At===null?1:et===null?-1:At>et?1:-1}function vt(At,et){var o=At.generatedLine-et.generatedLine;return o!==0||(o=At.generatedColumn-et.generatedColumn,o!==0)||(o=St(At.source,et.source),o!==0)||(o=At.originalLine-et.originalLine,o!==0)||(o=At.originalColumn-et.originalColumn,o!==0)?o:St(At.name,et.name)}_.compareByGeneratedPositionsInflated=vt;function bt(At){return JSON.parse(At.replace(/^\)]}'[^\n]*\n/,""))}_.parseSourceMapInput=bt;function nr(At,et,o){if(et=et||"",At&&(At[At.length-1]!=="/"&&et[0]!=="/"&&(At+="/"),et=At+et),o){var T=Ie(o);if(!T)throw new Error("sourceMapURL could not be parsed");if(T.path){var Q=T.path.lastIndexOf("/");Q>=0&&(T.path=T.path.substring(0,Q+1))}et=Be(Je(T),et)}return Oe(et)}_.computeSourceURL=nr}}),ze=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(_){var O=ce(),x=Object.prototype.hasOwnProperty,_e=typeof Map<"u";function Ie(){this._array=[],this._set=_e?new Map:Object.create(null)}Ie.fromArray=function(Je,Oe){for(var Be=new Ie,Pe=0,Xe=Je.length;Pe<Xe;Pe++)Be.add(Je[Pe],Oe);return Be},Ie.prototype.size=function(){return _e?this._set.size:Object.getOwnPropertyNames(this._set).length},Ie.prototype.add=function(Je,Oe){var Be=_e?Je:O.toSetString(Je),Pe=_e?this.has(Je):x.call(this._set,Be),Xe=this._array.length;(!Pe||Oe)&&this._array.push(Je),Pe||(_e?this._set.set(Je,Xe):this._set[Be]=Xe)},Ie.prototype.has=function(Je){if(_e)return this._set.has(Je);var Oe=O.toSetString(Je);return x.call(this._set,Oe)},Ie.prototype.indexOf=function(Je){if(_e){var Oe=this._set.get(Je);if(Oe>=0)return Oe}else{var Be=O.toSetString(Je);if(x.call(this._set,Be))return this._set[Be]}throw new Error('"'+Je+'" is not in the set.')},Ie.prototype.at=function(Je){if(Je>=0&&Je<this._array.length)return this._array[Je];throw new Error("No element indexed by "+Je)},Ie.prototype.toArray=function(){return this._array.slice()},_.ArraySet=Ie}}),dt=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(_){var O=ce();function x(Ie,Je){var Oe=Ie.generatedLine,Be=Je.generatedLine,Pe=Ie.generatedColumn,Xe=Je.generatedColumn;return Be>Oe||Be==Oe&&Xe>=Pe||O.compareByGeneratedPositionsInflated(Ie,Je)<=0}function _e(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}_e.prototype.unsortedForEach=function(Ie,Je){this._array.forEach(Ie,Je)},_e.prototype.add=function(Ie){x(this._last,Ie)?(this._last=Ie,this._array.push(Ie)):(this._sorted=!1,this._array.push(Ie))},_e.prototype.toArray=function(){return this._sorted||(this._array.sort(O.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},_.MappingList=_e}}),pr=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(_){var O=wt(),x=ce(),_e=ze().ArraySet,Ie=dt().MappingList;function Je(Oe){Oe||(Oe={}),this._file=x.getArg(Oe,"file",null),this._sourceRoot=x.getArg(Oe,"sourceRoot",null),this._skipValidation=x.getArg(Oe,"skipValidation",!1),this._sources=new _e,this._names=new _e,this._mappings=new Ie,this._sourcesContents=null}Je.prototype._version=3,Je.fromSourceMap=function(Oe){var Be=Oe.sourceRoot,Pe=new Je({file:Oe.file,sourceRoot:Be});return Oe.eachMapping(function(Xe){var Ke={generated:{line:Xe.generatedLine,column:Xe.generatedColumn}};Xe.source!=null&&(Ke.source=Xe.source,Be!=null&&(Ke.source=x.relative(Be,Ke.source)),Ke.original={line:Xe.originalLine,column:Xe.originalColumn},Xe.name!=null&&(Ke.name=Xe.name)),Pe.addMapping(Ke)}),Oe.sources.forEach(function(Xe){var Ke=Xe;Be!==null&&(Ke=x.relative(Be,Xe)),Pe._sources.has(Ke)||Pe._sources.add(Ke);var Et=Oe.sourceContentFor(Xe);Et!=null&&Pe.setSourceContent(Xe,Et)}),Pe},Je.prototype.addMapping=function(Oe){var Be=x.getArg(Oe,"generated"),Pe=x.getArg(Oe,"original",null),Xe=x.getArg(Oe,"source",null),Ke=x.getArg(Oe,"name",null);this._skipValidation||this._validateMapping(Be,Pe,Xe,Ke),Xe!=null&&(Xe=String(Xe),this._sources.has(Xe)||this._sources.add(Xe)),Ke!=null&&(Ke=String(Ke),this._names.has(Ke)||this._names.add(Ke)),this._mappings.add({generatedLine:Be.line,generatedColumn:Be.column,originalLine:Pe!=null&&Pe.line,originalColumn:Pe!=null&&Pe.column,source:Xe,name:Ke})},Je.prototype.setSourceContent=function(Oe,Be){var Pe=Oe;this._sourceRoot!=null&&(Pe=x.relative(this._sourceRoot,Pe)),Be!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[x.toSetString(Pe)]=Be):this._sourcesContents&&(delete this._sourcesContents[x.toSetString(Pe)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},Je.prototype.applySourceMap=function(Oe,Be,Pe){var Xe=Be;if(Be==null){if(Oe.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);Xe=Oe.file}var Ke=this._sourceRoot;Ke!=null&&(Xe=x.relative(Ke,Xe));var Et=new _e,st=new _e;this._mappings.unsortedForEach(function(it){if(it.source===Xe&&it.originalLine!=null){var Le=Oe.originalPositionFor({line:it.originalLine,column:it.originalColumn});Le.source!=null&&(it.source=Le.source,Pe!=null&&(it.source=x.join(Pe,it.source)),Ke!=null&&(it.source=x.relative(Ke,it.source)),it.originalLine=Le.line,it.originalColumn=Le.column,Le.name!=null&&(it.name=Le.name))}var ot=it.source;ot!=null&&!Et.has(ot)&&Et.add(ot);var St=it.name;St!=null&&!st.has(St)&&st.add(St)},this),this._sources=Et,this._names=st,Oe.sources.forEach(function(it){var Le=Oe.sourceContentFor(it);Le!=null&&(Pe!=null&&(it=x.join(Pe,it)),Ke!=null&&(it=x.relative(Ke,it)),this.setSourceContent(it,Le))},this)},Je.prototype._validateMapping=function(Oe,Be,Pe,Xe){if(Be&&typeof Be.line!="number"&&typeof Be.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(Oe&&"line"in Oe&&"column"in Oe&&Oe.line>0&&Oe.column>=0&&!Be&&!Pe&&!Xe)){if(Oe&&"line"in Oe&&"column"in Oe&&Be&&"line"in Be&&"column"in Be&&Oe.line>0&&Oe.column>=0&&Be.line>0&&Be.column>=0&&Pe)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:Oe,source:Pe,original:Be,name:Xe}))}},Je.prototype._serializeMappings=function(){for(var Oe=0,Be=1,Pe=0,Xe=0,Ke=0,Et=0,st="",it,Le,ot,St,vt=this._mappings.toArray(),bt=0,nr=vt.length;bt<nr;bt++){if(Le=vt[bt],it="",Le.generatedLine!==Be)for(Oe=0;Le.generatedLine!==Be;)it+=";",Be++;else if(bt>0){if(!x.compareByGeneratedPositionsInflated(Le,vt[bt-1]))continue;it+=","}it+=O.encode(Le.generatedColumn-Oe),Oe=Le.generatedColumn,Le.source!=null&&(St=this._sources.indexOf(Le.source),it+=O.encode(St-Et),Et=St,it+=O.encode(Le.originalLine-1-Xe),Xe=Le.originalLine-1,it+=O.encode(Le.originalColumn-Pe),Pe=Le.originalColumn,Le.name!=null&&(ot=this._names.indexOf(Le.name),it+=O.encode(ot-Ke),Ke=ot)),st+=it}return st},Je.prototype._generateSourcesContent=function(Oe,Be){return Oe.map(function(Pe){if(!this._sourcesContents)return null;Be!=null&&(Pe=x.relative(Be,Pe));var Xe=x.toSetString(Pe);return Object.prototype.hasOwnProperty.call(this._sourcesContents,Xe)?this._sourcesContents[Xe]:null},this)},Je.prototype.toJSON=function(){var Oe={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(Oe.file=this._file),this._sourceRoot!=null&&(Oe.sourceRoot=this._sourceRoot),this._sourcesContents&&(Oe.sourcesContent=this._generateSourcesContent(Oe.sources,Oe.sourceRoot)),Oe},Je.prototype.toString=function(){return JSON.stringify(this.toJSON())},_.SourceMapGenerator=Je}}),er=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(_){_.GREATEST_LOWER_BOUND=1,_.LEAST_UPPER_BOUND=2;function O(x,_e,Ie,Je,Oe,Be){var Pe=Math.floor((_e-x)/2)+x,Xe=Oe(Ie,Je[Pe],!0);return Xe===0?Pe:Xe>0?_e-Pe>1?O(Pe,_e,Ie,Je,Oe,Be):Be==_.LEAST_UPPER_BOUND?_e<Je.length?_e:-1:Pe:Pe-x>1?O(x,Pe,Ie,Je,Oe,Be):Be==_.LEAST_UPPER_BOUND?Pe:x<0?-1:x}_.search=function(x,_e,Ie,Je){if(_e.length===0)return-1;var Oe=O(-1,_e.length,x,_e,Ie,Je||_.GREATEST_LOWER_BOUND);if(Oe<0)return-1;for(;Oe-1>=0&&Ie(_e[Oe],_e[Oe-1],!0)===0;)--Oe;return Oe}}}),ur=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(_){function O(Ie,Je,Oe){var Be=Ie[Je];Ie[Je]=Ie[Oe],Ie[Oe]=Be}function x(Ie,Je){return Math.round(Ie+Math.random()*(Je-Ie))}function _e(Ie,Je,Oe,Be){if(Oe<Be){var Pe=x(Oe,Be),Xe=Oe-1;O(Ie,Pe,Be);for(var Ke=Ie[Be],Et=Oe;Et<Be;Et++)Je(Ie[Et],Ke)<=0&&(Xe+=1,O(Ie,Xe,Et));O(Ie,Xe+1,Et);var st=Xe+1;_e(Ie,Je,Oe,st-1),_e(Ie,Je,st+1,Be)}}_.quickSort=function(Ie,Je){_e(Ie,Je,0,Ie.length-1)}}}),Tr=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(_){var O=ce(),x=er(),_e=ze().ArraySet,Ie=wt(),Je=ur().quickSort;function Oe(Ke,Et){var st=Ke;return typeof Ke=="string"&&(st=O.parseSourceMapInput(Ke)),st.sections!=null?new Xe(st,Et):new Be(st,Et)}Oe.fromSourceMap=function(Ke,Et){return Be.fromSourceMap(Ke,Et)},Oe.prototype._version=3,Oe.prototype.__generatedMappings=null,Object.defineProperty(Oe.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),Oe.prototype.__originalMappings=null,Object.defineProperty(Oe.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),Oe.prototype._charIsMappingSeparator=function(Ke,Et){var st=Ke.charAt(Et);return st===";"||st===","},Oe.prototype._parseMappings=function(Ke,Et){throw new Error("Subclasses must implement _parseMappings")},Oe.GENERATED_ORDER=1,Oe.ORIGINAL_ORDER=2,Oe.GREATEST_LOWER_BOUND=1,Oe.LEAST_UPPER_BOUND=2,Oe.prototype.eachMapping=function(Ke,Et,st){var it=Et||null,Le=st||Oe.GENERATED_ORDER,ot;switch(Le){case Oe.GENERATED_ORDER:ot=this._generatedMappings;break;case Oe.ORIGINAL_ORDER:ot=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var St=this.sourceRoot;ot.map(function(vt){var bt=vt.source===null?null:this._sources.at(vt.source);return bt=O.computeSourceURL(St,bt,this._sourceMapURL),{source:bt,generatedLine:vt.generatedLine,generatedColumn:vt.generatedColumn,originalLine:vt.originalLine,originalColumn:vt.originalColumn,name:vt.name===null?null:this._names.at(vt.name)}},this).forEach(Ke,it)},Oe.prototype.allGeneratedPositionsFor=function(Ke){var Et=O.getArg(Ke,"line"),st={source:O.getArg(Ke,"source"),originalLine:Et,originalColumn:O.getArg(Ke,"column",0)};if(st.source=this._findSourceIndex(st.source),st.source<0)return[];var it=[],Le=this._findMapping(st,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,x.LEAST_UPPER_BOUND);if(Le>=0){var ot=this._originalMappings[Le];if(Ke.column===void 0)for(var St=ot.originalLine;ot&&ot.originalLine===St;)it.push({line:O.getArg(ot,"generatedLine",null),column:O.getArg(ot,"generatedColumn",null),lastColumn:O.getArg(ot,"lastGeneratedColumn",null)}),ot=this._originalMappings[++Le];else for(var vt=ot.originalColumn;ot&&ot.originalLine===Et&&ot.originalColumn==vt;)it.push({line:O.getArg(ot,"generatedLine",null),column:O.getArg(ot,"generatedColumn",null),lastColumn:O.getArg(ot,"lastGeneratedColumn",null)}),ot=this._originalMappings[++Le]}return it},_.SourceMapConsumer=Oe;function Be(Ke,Et){var st=Ke;typeof Ke=="string"&&(st=O.parseSourceMapInput(Ke));var it=O.getArg(st,"version"),Le=O.getArg(st,"sources"),ot=O.getArg(st,"names",[]),St=O.getArg(st,"sourceRoot",null),vt=O.getArg(st,"sourcesContent",null),bt=O.getArg(st,"mappings"),nr=O.getArg(st,"file",null);if(it!=this._version)throw new Error("Unsupported version: "+it);St&&(St=O.normalize(St)),Le=Le.map(String).map(O.normalize).map(function(At){return St&&O.isAbsolute(St)&&O.isAbsolute(At)?O.relative(St,At):At}),this._names=_e.fromArray(ot.map(String),!0),this._sources=_e.fromArray(Le,!0),this._absoluteSources=this._sources.toArray().map(function(At){return O.computeSourceURL(St,At,Et)}),this.sourceRoot=St,this.sourcesContent=vt,this._mappings=bt,this._sourceMapURL=Et,this.file=nr}Be.prototype=Object.create(Oe.prototype),Be.prototype.consumer=Oe,Be.prototype._findSourceIndex=function(Ke){var Et=Ke;if(this.sourceRoot!=null&&(Et=O.relative(this.sourceRoot,Et)),this._sources.has(Et))return this._sources.indexOf(Et);var st;for(st=0;st<this._absoluteSources.length;++st)if(this._absoluteSources[st]==Ke)return st;return-1},Be.fromSourceMap=function(Ke,Et){var st=Object.create(Be.prototype),it=st._names=_e.fromArray(Ke._names.toArray(),!0),Le=st._sources=_e.fromArray(Ke._sources.toArray(),!0);st.sourceRoot=Ke._sourceRoot,st.sourcesContent=Ke._generateSourcesContent(st._sources.toArray(),st.sourceRoot),st.file=Ke._file,st._sourceMapURL=Et,st._absoluteSources=st._sources.toArray().map(function(o){return O.computeSourceURL(st.sourceRoot,o,Et)});for(var ot=Ke._mappings.toArray().slice(),St=st.__generatedMappings=[],vt=st.__originalMappings=[],bt=0,nr=ot.length;bt<nr;bt++){var At=ot[bt],et=new Pe;et.generatedLine=At.generatedLine,et.generatedColumn=At.generatedColumn,At.source&&(et.source=Le.indexOf(At.source),et.originalLine=At.originalLine,et.originalColumn=At.originalColumn,At.name&&(et.name=it.indexOf(At.name)),vt.push(et)),St.push(et)}return Je(st.__originalMappings,O.compareByOriginalPositions),st},Be.prototype._version=3,Object.defineProperty(Be.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Pe(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Be.prototype._parseMappings=function(Ke,Et){for(var st=1,it=0,Le=0,ot=0,St=0,vt=0,bt=Ke.length,nr=0,At={},et={},o=[],T=[],Q,ke,Tt,Lt,Wt;nr<bt;)if(Ke.charAt(nr)===";")st++,nr++,it=0;else if(Ke.charAt(nr)===",")nr++;else{for(Q=new Pe,Q.generatedLine=st,Lt=nr;Lt<bt&&!this._charIsMappingSeparator(Ke,Lt);Lt++);if(ke=Ke.slice(nr,Lt),Tt=At[ke],Tt)nr+=ke.length;else{for(Tt=[];nr<Lt;)Ie.decode(Ke,nr,et),Wt=et.value,nr=et.rest,Tt.push(Wt);if(Tt.length===2)throw new Error("Found a source, but no line and column");if(Tt.length===3)throw new Error("Found a source and line, but no column");At[ke]=Tt}Q.generatedColumn=it+Tt[0],it=Q.generatedColumn,Tt.length>1&&(Q.source=St+Tt[1],St+=Tt[1],Q.originalLine=Le+Tt[2],Le=Q.originalLine,Q.originalLine+=1,Q.originalColumn=ot+Tt[3],ot=Q.originalColumn,Tt.length>4&&(Q.name=vt+Tt[4],vt+=Tt[4])),T.push(Q),typeof Q.originalLine=="number"&&o.push(Q)}Je(T,O.compareByGeneratedPositionsDeflated),this.__generatedMappings=T,Je(o,O.compareByOriginalPositions),this.__originalMappings=o},Be.prototype._findMapping=function(Ke,Et,st,it,Le,ot){if(Ke[st]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+Ke[st]);if(Ke[it]<0)throw new TypeError("Column must be greater than or equal to 0, got "+Ke[it]);return x.search(Ke,Et,Le,ot)},Be.prototype.computeColumnSpans=function(){for(var Ke=0;Ke<this._generatedMappings.length;++Ke){var Et=this._generatedMappings[Ke];if(Ke+1<this._generatedMappings.length){var st=this._generatedMappings[Ke+1];if(Et.generatedLine===st.generatedLine){Et.lastGeneratedColumn=st.generatedColumn-1;continue}}Et.lastGeneratedColumn=1/0}},Be.prototype.originalPositionFor=function(Ke){var Et={generatedLine:O.getArg(Ke,"line"),generatedColumn:O.getArg(Ke,"column")},st=this._findMapping(Et,this._generatedMappings,"generatedLine","generatedColumn",O.compareByGeneratedPositionsDeflated,O.getArg(Ke,"bias",Oe.GREATEST_LOWER_BOUND));if(st>=0){var it=this._generatedMappings[st];if(it.generatedLine===Et.generatedLine){var Le=O.getArg(it,"source",null);Le!==null&&(Le=this._sources.at(Le),Le=O.computeSourceURL(this.sourceRoot,Le,this._sourceMapURL));var ot=O.getArg(it,"name",null);return ot!==null&&(ot=this._names.at(ot)),{source:Le,line:O.getArg(it,"originalLine",null),column:O.getArg(it,"originalColumn",null),name:ot}}}return{source:null,line:null,column:null,name:null}},Be.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(Ke){return Ke==null}):!1},Be.prototype.sourceContentFor=function(Ke,Et){if(!this.sourcesContent)return null;var st=this._findSourceIndex(Ke);if(st>=0)return this.sourcesContent[st];var it=Ke;this.sourceRoot!=null&&(it=O.relative(this.sourceRoot,it));var Le;if(this.sourceRoot!=null&&(Le=O.urlParse(this.sourceRoot))){var ot=it.replace(/^file:\/\//,"");if(Le.scheme=="file"&&this._sources.has(ot))return this.sourcesContent[this._sources.indexOf(ot)];if((!Le.path||Le.path=="/")&&this._sources.has("/"+it))return this.sourcesContent[this._sources.indexOf("/"+it)]}if(Et)return null;throw new Error('"'+it+'" is not in the SourceMap.')},Be.prototype.generatedPositionFor=function(Ke){var Et=O.getArg(Ke,"source");if(Et=this._findSourceIndex(Et),Et<0)return{line:null,column:null,lastColumn:null};var st={source:Et,originalLine:O.getArg(Ke,"line"),originalColumn:O.getArg(Ke,"column")},it=this._findMapping(st,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,O.getArg(Ke,"bias",Oe.GREATEST_LOWER_BOUND));if(it>=0){var Le=this._originalMappings[it];if(Le.source===st.source)return{line:O.getArg(Le,"generatedLine",null),column:O.getArg(Le,"generatedColumn",null),lastColumn:O.getArg(Le,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},_.BasicSourceMapConsumer=Be;function Xe(Ke,Et){var st=Ke;typeof Ke=="string"&&(st=O.parseSourceMapInput(Ke));var it=O.getArg(st,"version"),Le=O.getArg(st,"sections");if(it!=this._version)throw new Error("Unsupported version: "+it);this._sources=new _e,this._names=new _e;var ot={line:-1,column:0};this._sections=Le.map(function(St){if(St.url)throw new Error("Support for url field in sections not implemented.");var vt=O.getArg(St,"offset"),bt=O.getArg(vt,"line"),nr=O.getArg(vt,"column");if(bt<ot.line||bt===ot.line&&nr<ot.column)throw new Error("Section offsets must be ordered and non-overlapping.");return ot=vt,{generatedOffset:{generatedLine:bt+1,generatedColumn:nr+1},consumer:new Oe(O.getArg(St,"map"),Et)}})}Xe.prototype=Object.create(Oe.prototype),Xe.prototype.constructor=Oe,Xe.prototype._version=3,Object.defineProperty(Xe.prototype,"sources",{get:function(){for(var Ke=[],Et=0;Et<this._sections.length;Et++)for(var st=0;st<this._sections[Et].consumer.sources.length;st++)Ke.push(this._sections[Et].consumer.sources[st]);return Ke}}),Xe.prototype.originalPositionFor=function(Ke){var Et={generatedLine:O.getArg(Ke,"line"),generatedColumn:O.getArg(Ke,"column")},st=x.search(Et,this._sections,function(Le,ot){var St=Le.generatedLine-ot.generatedOffset.generatedLine;return St||Le.generatedColumn-ot.generatedOffset.generatedColumn}),it=this._sections[st];return it?it.consumer.originalPositionFor({line:Et.generatedLine-(it.generatedOffset.generatedLine-1),column:Et.generatedColumn-(it.generatedOffset.generatedLine===Et.generatedLine?it.generatedOffset.generatedColumn-1:0),bias:Ke.bias}):{source:null,line:null,column:null,name:null}},Xe.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(Ke){return Ke.consumer.hasContentsOfAllSources()})},Xe.prototype.sourceContentFor=function(Ke,Et){for(var st=0;st<this._sections.length;st++){var it=this._sections[st],Le=it.consumer.sourceContentFor(Ke,!0);if(Le)return Le}if(Et)return null;throw new Error('"'+Ke+'" is not in the SourceMap.')},Xe.prototype.generatedPositionFor=function(Ke){for(var Et=0;Et<this._sections.length;Et++){var st=this._sections[Et];if(st.consumer._findSourceIndex(O.getArg(Ke,"source"))!==-1){var it=st.consumer.generatedPositionFor(Ke);if(it){var Le={line:it.line+(st.generatedOffset.generatedLine-1),column:it.column+(st.generatedOffset.generatedLine===it.line?st.generatedOffset.generatedColumn-1:0)};return Le}}}return{line:null,column:null}},Xe.prototype._parseMappings=function(Ke,Et){this.__generatedMappings=[],this.__originalMappings=[];for(var st=0;st<this._sections.length;st++)for(var it=this._sections[st],Le=it.consumer._generatedMappings,ot=0;ot<Le.length;ot++){var St=Le[ot],vt=it.consumer._sources.at(St.source);vt=O.computeSourceURL(it.consumer.sourceRoot,vt,this._sourceMapURL),this._sources.add(vt),vt=this._sources.indexOf(vt);var bt=null;St.name&&(bt=it.consumer._names.at(St.name),this._names.add(bt),bt=this._names.indexOf(bt));var nr={source:vt,generatedLine:St.generatedLine+(it.generatedOffset.generatedLine-1),generatedColumn:St.generatedColumn+(it.generatedOffset.generatedLine===St.generatedLine?it.generatedOffset.generatedColumn-1:0),originalLine:St.originalLine,originalColumn:St.originalColumn,name:bt};this.__generatedMappings.push(nr),typeof nr.originalLine=="number"&&this.__originalMappings.push(nr)}Je(this.__generatedMappings,O.compareByGeneratedPositionsDeflated),Je(this.__originalMappings,O.compareByOriginalPositions)},_.IndexedSourceMapConsumer=Xe}}),Bn=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"(_){var O=pr().SourceMapGenerator,x=ce(),_e=/(\r?\n)/,Ie=10,Je="$$$isSourceNode$$$";function Oe(Be,Pe,Xe,Ke,Et){this.children=[],this.sourceContents={},this.line=Be??null,this.column=Pe??null,this.source=Xe??null,this.name=Et??null,this[Je]=!0,Ke!=null&&this.add(Ke)}Oe.fromStringWithSourceMap=function(Be,Pe,Xe){var Ke=new Oe,Et=Be.split(_e),st=0,it=function(){var bt=At(),nr=At()||"";return bt+nr;function At(){return st<Et.length?Et[st++]:void 0}},Le=1,ot=0,St=null;return Pe.eachMapping(function(bt){if(St!==null)if(Le<bt.generatedLine)vt(St,it()),Le++,ot=0;else{var nr=Et[st]||"",At=nr.substr(0,bt.generatedColumn-ot);Et[st]=nr.substr(bt.generatedColumn-ot),ot=bt.generatedColumn,vt(St,At),St=bt;return}for(;Le<bt.generatedLine;)Ke.add(it()),Le++;if(ot<bt.generatedColumn){var nr=Et[st]||"";Ke.add(nr.substr(0,bt.generatedColumn)),Et[st]=nr.substr(bt.generatedColumn),ot=bt.generatedColumn}St=bt},this),st<Et.length&&(St&&vt(St,it()),Ke.add(Et.splice(st).join(""))),Pe.sources.forEach(function(bt){var nr=Pe.sourceContentFor(bt);nr!=null&&(Xe!=null&&(bt=x.join(Xe,bt)),Ke.setSourceContent(bt,nr))}),Ke;function vt(bt,nr){if(bt===null||bt.source===void 0)Ke.add(nr);else{var At=Xe?x.join(Xe,bt.source):bt.source;Ke.add(new Oe(bt.originalLine,bt.originalColumn,At,nr,bt.name))}}},Oe.prototype.add=function(Be){if(Array.isArray(Be))Be.forEach(function(Pe){this.add(Pe)},this);else if(Be[Je]||typeof Be=="string")Be&&this.children.push(Be);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+Be);return this},Oe.prototype.prepend=function(Be){if(Array.isArray(Be))for(var Pe=Be.length-1;Pe>=0;Pe--)this.prepend(Be[Pe]);else if(Be[Je]||typeof Be=="string")this.children.unshift(Be);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+Be);return this},Oe.prototype.walk=function(Be){for(var Pe,Xe=0,Ke=this.children.length;Xe<Ke;Xe++)Pe=this.children[Xe],Pe[Je]?Pe.walk(Be):Pe!==""&&Be(Pe,{source:this.source,line:this.line,column:this.column,name:this.name})},Oe.prototype.join=function(Be){var Pe,Xe,Ke=this.children.length;if(Ke>0){for(Pe=[],Xe=0;Xe<Ke-1;Xe++)Pe.push(this.children[Xe]),Pe.push(Be);Pe.push(this.children[Xe]),this.children=Pe}return this},Oe.prototype.replaceRight=function(Be,Pe){var Xe=this.children[this.children.length-1];return Xe[Je]?Xe.replaceRight(Be,Pe):typeof Xe=="string"?this.children[this.children.length-1]=Xe.replace(Be,Pe):this.children.push("".replace(Be,Pe)),this},Oe.prototype.setSourceContent=function(Be,Pe){this.sourceContents[x.toSetString(Be)]=Pe},Oe.prototype.walkSourceContents=function(Be){for(var Pe=0,Xe=this.children.length;Pe<Xe;Pe++)this.children[Pe][Je]&&this.children[Pe].walkSourceContents(Be);for(var Ke=Object.keys(this.sourceContents),Pe=0,Xe=Ke.length;Pe<Xe;Pe++)Be(x.fromSetString(Ke[Pe]),this.sourceContents[Ke[Pe]])},Oe.prototype.toString=function(){var Be="";return this.walk(function(Pe){Be+=Pe}),Be},Oe.prototype.toStringWithSourceMap=function(Be){var Pe={code:"",line:1,column:0},Xe=new O(Be),Ke=!1,Et=null,st=null,it=null,Le=null;return this.walk(function(ot,St){Pe.code+=ot,St.source!==null&&St.line!==null&&St.column!==null?((Et!==St.source||st!==St.line||it!==St.column||Le!==St.name)&&Xe.addMapping({source:St.source,original:{line:St.line,column:St.column},generated:{line:Pe.line,column:Pe.column},name:St.name}),Et=St.source,st=St.line,it=St.column,Le=St.name,Ke=!0):Ke&&(Xe.addMapping({generated:{line:Pe.line,column:Pe.column}}),Et=null,Ke=!1);for(var vt=0,bt=ot.length;vt<bt;vt++)ot.charCodeAt(vt)===Ie?(Pe.line++,Pe.column=0,vt+1===bt?(Et=null,Ke=!1):Ke&&Xe.addMapping({source:St.source,original:{line:St.line,column:St.column},generated:{line:Pe.line,column:Pe.column},name:St.name})):Pe.column++}),this.walkSourceContents(function(ot,St){Xe.setSourceContent(ot,St)}),{code:Pe.code,map:Xe}},_.SourceNode=Oe}}),Ur=(0,p.__commonJS)({"../../../node_modules/escodegen/node_modules/source-map/source-map.js"(_){_.SourceMapGenerator=pr().SourceMapGenerator,_.SourceMapConsumer=Tr().SourceMapConsumer,_.SourceNode=Bn().SourceNode}}),Dr=(0,p.__commonJS)({"../../../node_modules/escodegen/package.json"(_,O){O.exports={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/estools/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},files:["LICENSE.BSD","README.md","bin","escodegen.js","package.json"],version:"2.1.0",engines:{node:">=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),Jr=(0,p.__commonJS)({"../../../node_modules/escodegen/escodegen.js"(_){(function(){"use strict";var O,x,_e,Ie,Je,Oe,Be,Pe,Xe,Ke,Et,st,it,Le,ot,St,vt,bt,nr,At,et,o,T,Q,ke,Tt;Je=Ye(),Oe=D(),O=Je.Syntax;function Lt(C){return nn.Expression.hasOwnProperty(C.type)}function Wt(C){return nn.Statement.hasOwnProperty(C.type)}x={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},_e={"??":x.Coalesce,"||":x.LogicalOR,"&&":x.LogicalAND,"|":x.BitwiseOR,"^":x.BitwiseXOR,"&":x.BitwiseAND,"==":x.Equality,"!=":x.Equality,"===":x.Equality,"!==":x.Equality,is:x.Equality,isnt:x.Equality,"<":x.Relational,">":x.Relational,"<=":x.Relational,">=":x.Relational,in:x.Relational,instanceof:x.Relational,"<<":x.BitwiseSHIFT,">>":x.BitwiseSHIFT,">>>":x.BitwiseSHIFT,"+":x.Additive,"-":x.Additive,"*":x.Multiplicative,"%":x.Multiplicative,"/":x.Multiplicative,"**":x.Exponentiation};var sr=1,br=2,Sr=4,Nr=8,Or=16,jr=32,wn=64,Sn=br|Sr,Gn=sr|br,fr=sr|br|Sr,jo=sr,Ln=Sr,Yn=sr|Sr,Yr=sr,jn=sr|jr,Yo=0,vi=sr|Or,Gi=sr|Nr;function Wi(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:`
|
|
17
|
+
`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function so(C,le){var re="";for(le|=0;le>0;le>>>=1,C+=C)le&1&&(re+=C);return re}function Wn(C){return/[\r\n]/g.test(C)}function Xr(C){var le=C.length;return le&&Oe.code.isLineTerminator(C.charCodeAt(le-1))}function Xo(C,le){var re;for(re in le)le.hasOwnProperty(re)&&(C[re]=le[re]);return C}function Pn(C,le){var re,de;function Fe(Nt){return typeof Nt=="object"&&Nt instanceof Object&&!(Nt instanceof RegExp)}for(re in le)le.hasOwnProperty(re)&&(de=le[re],Fe(de)?Fe(C[re])?Pn(C[re],de):C[re]=Pn({},de):C[re]=de);return C}function Po(C){var le,re,de,Fe,Nt;if(C!==C)throw new Error("Numeric literal whose value is NaN");if(C<0||C===0&&1/C<0)throw new Error("Numeric literal whose value is negative");if(C===1/0)return Xe?"null":Ke?"1e400":"1e+400";if(le=""+C,!Ke||le.length<3)return le;for(re=le.indexOf("."),!Xe&&le.charCodeAt(0)===48&&re===1&&(re=0,le=le.slice(1)),de=le,le=le.replace("e+","e"),Fe=0,(Nt=de.indexOf("e"))>0&&(Fe=+de.slice(Nt+1),de=de.slice(0,Nt)),re>=0&&(Fe-=de.length-re-1,de=+(de.slice(0,re)+de.slice(re+1))+""),Nt=0;de.charCodeAt(de.length+Nt-1)===48;)--Nt;return Nt!==0&&(Fe-=Nt,de=de.slice(0,Nt)),Fe!==0&&(de+="e"+Fe),(de.length<le.length||Et&&C>1e12&&Math.floor(C)===C&&(de="0x"+C.toString(16)).length<le.length)&&+de===C&&(le=de),le}function wi(C,le){return(C&-2)===8232?(le?"u":"\\u")+(C===8232?"2028":"2029"):C===10||C===13?(le?"":"\\")+(C===10?"n":"r"):String.fromCharCode(C)}function Si(C){var le,re,de,Fe,Nt,Vt,Xt,hr;if(re=C.toString(),C.source){if(le=re.match(/\/([^/]*)$/),!le)return re;for(de=le[1],re="",Xt=!1,hr=!1,Fe=0,Nt=C.source.length;Fe<Nt;++Fe)Vt=C.source.charCodeAt(Fe),hr?(re+=wi(Vt,hr),hr=!1):(Xt?Vt===93&&(Xt=!1):Vt===47?re+="\\":Vt===91&&(Xt=!0),re+=wi(Vt,hr),hr=Vt===92);return"/"+re+"/"+de}return re}function Kr(C,le){var re;return C===8?"\\b":C===12?"\\f":C===9?"\\t":(re=C.toString(16).toUpperCase(),Xe||C>255?"\\u"+"0000".slice(re.length)+re:C===0&&!Oe.code.isDecimalDigit(le)?"\\0":C===11?"\\x0B":"\\x"+"00".slice(re.length)+re)}function Eo(C){if(C===92)return"\\\\";if(C===10)return"\\n";if(C===13)return"\\r";if(C===8232)return"\\u2028";if(C===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function Dn(C){var le,re,de,Fe;for(Fe=st==="double"?'"':"'",le=0,re=C.length;le<re;++le)if(de=C.charCodeAt(le),de===39){Fe='"';break}else if(de===34){Fe="'";break}else de===92&&++le;return Fe+C+Fe}function gs(C){var le="",re,de,Fe,Nt=0,Vt=0,Xt,hr;for(re=0,de=C.length;re<de;++re){if(Fe=C.charCodeAt(re),Fe===39)++Nt;else if(Fe===34)++Vt;else if(Fe===47&&Xe)le+="\\";else if(Oe.code.isLineTerminator(Fe)||Fe===92){le+=Eo(Fe);continue}else if(!Oe.code.isIdentifierPartES5(Fe)&&(Xe&&Fe<32||!Xe&&!it&&(Fe<32||Fe>126))){le+=Kr(Fe,C.charCodeAt(re+1));continue}le+=String.fromCharCode(Fe)}if(Xt=!(st==="double"||st==="auto"&&Vt<Nt),hr=Xt?"'":'"',!(Xt?Nt:Vt))return hr+le+hr;for(C=le,le=hr,re=0,de=C.length;re<de;++re)Fe=C.charCodeAt(re),(Fe===39&&Xt||Fe===34&&!Xt)&&(le+="\\"),le+=String.fromCharCode(Fe);return le+hr}function In(C){var le,re,de,Fe="";for(le=0,re=C.length;le<re;++le)de=C[le],Fe+=Array.isArray(de)?In(de):de;return Fe}function cr(C,le){if(!o)return Array.isArray(C)?In(C):C;if(le==null){if(C instanceof Ie)return C;le={}}return le.loc==null?new Ie(null,null,o,C,le.name||null):new Ie(le.loc.start.line,le.loc.start.column,o===!0?le.loc.source||null:o,C,le.name||null)}function hn(){return ot||" "}function vr(C,le){var re,de,Fe,Nt;return re=cr(C).toString(),re.length===0?[le]:(de=cr(le).toString(),de.length===0?[C]:(Fe=re.charCodeAt(re.length-1),Nt=de.charCodeAt(0),(Fe===43||Fe===45)&&Fe===Nt||Oe.code.isIdentifierPartES5(Fe)&&Oe.code.isIdentifierPartES5(Nt)||Fe===47&&Nt===105?[C,hn(),le]:Oe.code.isWhiteSpace(Fe)||Oe.code.isLineTerminator(Fe)||Oe.code.isWhiteSpace(Nt)||Oe.code.isLineTerminator(Nt)?[C,le]:[C,ot,le]))}function yn(C){return[Be,C]}function zr(C){var le;le=Be,Be+=Pe,C(Be),Be=le}function Bo(C){var le;for(le=C.length-1;le>=0&&!Oe.code.isLineTerminator(C.charCodeAt(le));--le);return C.length-1-le}function Ji(C,le){var re,de,Fe,Nt,Vt,Xt,hr,Fr;for(re=C.split(/\r\n|[\r\n]/),Xt=Number.MAX_VALUE,de=1,Fe=re.length;de<Fe;++de){for(Nt=re[de],Vt=0;Vt<Nt.length&&Oe.code.isWhiteSpace(Nt.charCodeAt(Vt));)++Vt;Xt>Vt&&(Xt=Vt)}for(typeof le<"u"?(hr=Be,re[1][Xt]==="*"&&(le+=" "),Be=le):(Xt&1&&--Xt,hr=Be),de=1,Fe=re.length;de<Fe;++de)Fr=cr(yn(re[de].slice(Xt))),re[de]=o?Fr.join(""):Fr;return Be=hr,re.join(`
|
|
18
|
+
`)}function mn(C,le){if(C.type==="Line"){if(Xr(C.value))return"//"+C.value;var re="//"+C.value;return Q||(re+=`
|
|
19
|
+
`),re}return At.format.indent.adjustMultilineComment&&/[\n\r]/.test(C.value)?Ji("/*"+C.value+"*/",le):"/*"+C.value+"*/"}function Cr(C,le){var re,de,Fe,Nt,Vt,Xt,hr,Fr,dr,Cn,Kn,xi,Yi,Jn;if(C.leadingComments&&C.leadingComments.length>0){if(Nt=le,Q){for(Fe=C.leadingComments[0],le=[],Fr=Fe.extendedRange,dr=Fe.range,Kn=T.substring(Fr[0],dr[0]),Jn=(Kn.match(/\n/g)||[]).length,Jn>0?(le.push(so(`
|
|
20
|
+
`,Jn)),le.push(yn(mn(Fe)))):(le.push(Kn),le.push(mn(Fe))),Cn=dr,re=1,de=C.leadingComments.length;re<de;re++)Fe=C.leadingComments[re],dr=Fe.range,xi=T.substring(Cn[1],dr[0]),Jn=(xi.match(/\n/g)||[]).length,le.push(so(`
|
|
21
|
+
`,Jn)),le.push(yn(mn(Fe))),Cn=dr;Yi=T.substring(dr[1],Fr[1]),Jn=(Yi.match(/\n/g)||[]).length,le.push(so(`
|
|
22
|
+
`,Jn))}else for(Fe=C.leadingComments[0],le=[],bt&&C.type===O.Program&&C.body.length===0&&le.push(`
|
|
23
|
+
`),le.push(mn(Fe)),Xr(cr(le).toString())||le.push(`
|
|
24
|
+
`),re=1,de=C.leadingComments.length;re<de;++re)Fe=C.leadingComments[re],hr=[mn(Fe)],Xr(cr(hr).toString())||hr.push(`
|
|
25
|
+
`),le.push(yn(hr));le.push(yn(Nt))}if(C.trailingComments)if(Q)Fe=C.trailingComments[0],Fr=Fe.extendedRange,dr=Fe.range,Kn=T.substring(Fr[0],dr[0]),Jn=(Kn.match(/\n/g)||[]).length,Jn>0?(le.push(so(`
|
|
26
|
+
`,Jn)),le.push(yn(mn(Fe)))):(le.push(Kn),le.push(mn(Fe)));else for(Vt=!Xr(cr(le).toString()),Xt=so(" ",Bo(cr([Be,le,Pe]).toString())),re=0,de=C.trailingComments.length;re<de;++re)Fe=C.trailingComments[re],Vt?(re===0?le=[le,Pe]:le=[le,Xt],le.push(mn(Fe,Xt))):le=[le,yn(mn(Fe))],re!==de-1&&!Xr(cr(le).toString())&&(le=[le,`
|
|
27
|
+
`]);return le}function Ao(C,le,re){var de,Fe=0;for(de=C;de<le;de++)T[de]===`
|
|
28
|
+
`&&Fe++;for(de=1;de<Fe;de++)re.push(Le)}function an(C,le,re){return le<re?["(",C,")"]:C}function Xn(C){var le,re,de;for(de=C.split(/\r\n|\n/),le=1,re=de.length;le<re;le++)de[le]=Le+Be+de[le];return de}function qi(C,le){var re,de,Fe;return re=C[At.verbatim],typeof re=="string"?de=an(Xn(re),x.Sequence,le):(de=Xn(re.content),Fe=re.precedence!=null?re.precedence:x.Sequence,de=an(de,Fe,le)),cr(de,C)}function nn(){}nn.prototype.maybeBlock=function(C,le){var re,de,Fe=this;return de=!At.comment||!C.leadingComments,C.type===O.BlockStatement&&de?[ot,this.generateStatement(C,le)]:C.type===O.EmptyStatement&&de?";":(zr(function(){re=[Le,yn(Fe.generateStatement(C,le))]}),re)},nn.prototype.maybeBlockSuffix=function(C,le){var re=Xr(cr(le).toString());return C.type===O.BlockStatement&&(!At.comment||!C.leadingComments)&&!re?[le,ot]:re?[le,Be]:[le,Le,Be]};function bn(C){return cr(C.name,C)}function vo(C,le){return C.async?"async"+(le?hn():ot):""}function xn(C){var le=C.generator&&!At.moz.starlessGenerator;return le?"*"+ot:""}function on(C){var le=C.value,re="";return le.async&&(re+=vo(le,!C.computed)),le.generator&&(re+=xn(le)?"*":""),re}nn.prototype.generatePattern=function(C,le,re){return C.type===O.Identifier?bn(C):this.generateExpression(C,le,re)},nn.prototype.generateFunctionParams=function(C){var le,re,de,Fe;if(Fe=!1,C.type===O.ArrowFunctionExpression&&!C.rest&&(!C.defaults||C.defaults.length===0)&&C.params.length===1&&C.params[0].type===O.Identifier)de=[vo(C,!0),bn(C.params[0])];else{for(de=C.type===O.ArrowFunctionExpression?[vo(C,!1)]:[],de.push("("),C.defaults&&(Fe=!0),le=0,re=C.params.length;le<re;++le)Fe&&C.defaults[le]?de.push(this.generateAssignment(C.params[le],C.defaults[le],"=",x.Assignment,fr)):de.push(this.generatePattern(C.params[le],x.Assignment,fr)),le+1<re&&de.push(","+ot);C.rest&&(C.params.length&&de.push(","+ot),de.push("..."),de.push(bn(C.rest))),de.push(")")}return de},nn.prototype.generateFunctionBody=function(C){var le,re;return le=this.generateFunctionParams(C),C.type===O.ArrowFunctionExpression&&(le.push(ot),le.push("=>")),C.expression?(le.push(ot),re=this.generateExpression(C.body,x.Assignment,fr),re.toString().charAt(0)==="{"&&(re=["(",re,")"]),le.push(re)):le.push(this.maybeBlock(C.body,Gi)),le},nn.prototype.generateIterationForStatement=function(C,le,re){var de=["for"+(le.await?hn()+"await":"")+ot+"("],Fe=this;return zr(function(){le.left.type===O.VariableDeclaration?zr(function(){de.push(le.left.kind+hn()),de.push(Fe.generateStatement(le.left.declarations[0],Yo))}):de.push(Fe.generateExpression(le.left,x.Call,fr)),de=vr(de,C),de=[vr(de,Fe.generateExpression(le.right,x.Assignment,fr)),")"]}),de.push(this.maybeBlock(le.body,re)),de},nn.prototype.generatePropertyKey=function(C,le){var re=[];return le&&re.push("["),re.push(this.generateExpression(C,x.Assignment,fr)),le&&re.push("]"),re},nn.prototype.generateAssignment=function(C,le,re,de,Fe){return x.Assignment<de&&(Fe|=sr),an([this.generateExpression(C,x.Call,Fe),ot+re+ot,this.generateExpression(le,x.Assignment,Fe)],x.Assignment,de)},nn.prototype.semicolon=function(C){return!vt&&C&jr?"":";"},nn.Statement={BlockStatement:function(C,le){var re,de,Fe=["{",Le],Nt=this;return zr(function(){C.body.length===0&&Q&&(re=C.range,re[1]-re[0]>2&&(de=T.substring(re[0]+1,re[1]-1),de[0]===`
|
|
29
|
+
`&&(Fe=["{"]),Fe.push(de)));var Vt,Xt,hr,Fr;for(Fr=Yr,le&Nr&&(Fr|=Or),Vt=0,Xt=C.body.length;Vt<Xt;++Vt)Q&&(Vt===0&&(C.body[0].leadingComments&&(re=C.body[0].leadingComments[0].extendedRange,de=T.substring(re[0],re[1]),de[0]===`
|
|
30
|
+
`&&(Fe=["{"])),C.body[0].leadingComments||Ao(C.range[0],C.body[0].range[0],Fe)),Vt>0&&!C.body[Vt-1].trailingComments&&!C.body[Vt].leadingComments&&Ao(C.body[Vt-1].range[1],C.body[Vt].range[0],Fe)),Vt===Xt-1&&(Fr|=jr),C.body[Vt].leadingComments&&Q?hr=Nt.generateStatement(C.body[Vt],Fr):hr=yn(Nt.generateStatement(C.body[Vt],Fr)),Fe.push(hr),Xr(cr(hr).toString())||Q&&Vt<Xt-1&&C.body[Vt+1].leadingComments||Fe.push(Le),Q&&Vt===Xt-1&&(C.body[Vt].trailingComments||Ao(C.body[Vt].range[1],C.range[1],Fe))}),Fe.push(yn("}")),Fe},BreakStatement:function(C,le){return C.label?"break "+C.label.name+this.semicolon(le):"break"+this.semicolon(le)},ContinueStatement:function(C,le){return C.label?"continue "+C.label.name+this.semicolon(le):"continue"+this.semicolon(le)},ClassBody:function(C,le){var re=["{",Le],de=this;return zr(function(Fe){var Nt,Vt;for(Nt=0,Vt=C.body.length;Nt<Vt;++Nt)re.push(Fe),re.push(de.generateExpression(C.body[Nt],x.Sequence,fr)),Nt+1<Vt&&re.push(Le)}),Xr(cr(re).toString())||re.push(Le),re.push(Be),re.push("}"),re},ClassDeclaration:function(C,le){var re,de;return re=["class"],C.id&&(re=vr(re,this.generateExpression(C.id,x.Sequence,fr))),C.superClass&&(de=vr("extends",this.generateExpression(C.superClass,x.Unary,fr)),re=vr(re,de)),re.push(ot),re.push(this.generateStatement(C.body,jn)),re},DirectiveStatement:function(C,le){return At.raw&&C.raw?C.raw+this.semicolon(le):Dn(C.directive)+this.semicolon(le)},DoWhileStatement:function(C,le){var re=vr("do",this.maybeBlock(C.body,Yr));return re=this.maybeBlockSuffix(C.body,re),vr(re,["while"+ot+"(",this.generateExpression(C.test,x.Sequence,fr),")"+this.semicolon(le)])},CatchClause:function(C,le){var re,de=this;return zr(function(){var Fe;C.param?(re=["catch"+ot+"(",de.generateExpression(C.param,x.Sequence,fr),")"],C.guard&&(Fe=de.generateExpression(C.guard,x.Sequence,fr),re.splice(2,0," if ",Fe))):re=["catch"]}),re.push(this.maybeBlock(C.body,Yr)),re},DebuggerStatement:function(C,le){return"debugger"+this.semicolon(le)},EmptyStatement:function(C,le){return";"},ExportDefaultDeclaration:function(C,le){var re=["export"],de;return de=le&jr?jn:Yr,re=vr(re,"default"),Wt(C.declaration)?re=vr(re,this.generateStatement(C.declaration,de)):re=vr(re,this.generateExpression(C.declaration,x.Assignment,fr)+this.semicolon(le)),re},ExportNamedDeclaration:function(C,le){var re=["export"],de,Fe=this;return de=le&jr?jn:Yr,C.declaration?vr(re,this.generateStatement(C.declaration,de)):(C.specifiers&&(C.specifiers.length===0?re=vr(re,"{"+ot+"}"):C.specifiers[0].type===O.ExportBatchSpecifier?re=vr(re,this.generateExpression(C.specifiers[0],x.Sequence,fr)):(re=vr(re,"{"),zr(function(Nt){var Vt,Xt;for(re.push(Le),Vt=0,Xt=C.specifiers.length;Vt<Xt;++Vt)re.push(Nt),re.push(Fe.generateExpression(C.specifiers[Vt],x.Sequence,fr)),Vt+1<Xt&&re.push(","+Le)}),Xr(cr(re).toString())||re.push(Le),re.push(Be+"}")),C.source?re=vr(re,["from"+ot,this.generateExpression(C.source,x.Sequence,fr),this.semicolon(le)]):re.push(this.semicolon(le))),re)},ExportAllDeclaration:function(C,le){return["export"+ot,"*"+ot,"from"+ot,this.generateExpression(C.source,x.Sequence,fr),this.semicolon(le)]},ExpressionStatement:function(C,le){var re,de;function Fe(Xt){var hr;return Xt.slice(0,5)!=="class"?!1:(hr=Xt.charCodeAt(5),hr===123||Oe.code.isWhiteSpace(hr)||Oe.code.isLineTerminator(hr))}function Nt(Xt){var hr;return Xt.slice(0,8)!=="function"?!1:(hr=Xt.charCodeAt(8),hr===40||Oe.code.isWhiteSpace(hr)||hr===42||Oe.code.isLineTerminator(hr))}function Vt(Xt){var hr,Fr,dr;if(Xt.slice(0,5)!=="async"||!Oe.code.isWhiteSpace(Xt.charCodeAt(5)))return!1;for(Fr=6,dr=Xt.length;Fr<dr&&Oe.code.isWhiteSpace(Xt.charCodeAt(Fr));++Fr);return Fr===dr||Xt.slice(Fr,Fr+8)!=="function"?!1:(hr=Xt.charCodeAt(Fr+8),hr===40||Oe.code.isWhiteSpace(hr)||hr===42||Oe.code.isLineTerminator(hr))}return re=[this.generateExpression(C.expression,x.Sequence,fr)],de=cr(re).toString(),de.charCodeAt(0)===123||Fe(de)||Nt(de)||Vt(de)||nr&&le&Or&&C.expression.type===O.Literal&&typeof C.expression.value=="string"?re=["(",re,")"+this.semicolon(le)]:re.push(this.semicolon(le)),re},ImportDeclaration:function(C,le){var re,de,Fe=this;return C.specifiers.length===0?["import",ot,this.generateExpression(C.source,x.Sequence,fr),this.semicolon(le)]:(re=["import"],de=0,C.specifiers[de].type===O.ImportDefaultSpecifier&&(re=vr(re,[this.generateExpression(C.specifiers[de],x.Sequence,fr)]),++de),C.specifiers[de]&&(de!==0&&re.push(","),C.specifiers[de].type===O.ImportNamespaceSpecifier?re=vr(re,[ot,this.generateExpression(C.specifiers[de],x.Sequence,fr)]):(re.push(ot+"{"),C.specifiers.length-de===1?(re.push(ot),re.push(this.generateExpression(C.specifiers[de],x.Sequence,fr)),re.push(ot+"}"+ot)):(zr(function(Nt){var Vt,Xt;for(re.push(Le),Vt=de,Xt=C.specifiers.length;Vt<Xt;++Vt)re.push(Nt),re.push(Fe.generateExpression(C.specifiers[Vt],x.Sequence,fr)),Vt+1<Xt&&re.push(","+Le)}),Xr(cr(re).toString())||re.push(Le),re.push(Be+"}"+ot)))),re=vr(re,["from"+ot,this.generateExpression(C.source,x.Sequence,fr),this.semicolon(le)]),re)},VariableDeclarator:function(C,le){var re=le&sr?fr:Sn;return C.init?[this.generateExpression(C.id,x.Assignment,re),ot,"=",ot,this.generateExpression(C.init,x.Assignment,re)]:this.generatePattern(C.id,x.Assignment,re)},VariableDeclaration:function(C,le){var re,de,Fe,Nt,Vt,Xt=this;re=[C.kind],Vt=le&sr?Yr:Yo;function hr(){for(Nt=C.declarations[0],At.comment&&Nt.leadingComments?(re.push(`
|
|
31
|
+
`),re.push(yn(Xt.generateStatement(Nt,Vt)))):(re.push(hn()),re.push(Xt.generateStatement(Nt,Vt))),de=1,Fe=C.declarations.length;de<Fe;++de)Nt=C.declarations[de],At.comment&&Nt.leadingComments?(re.push(","+Le),re.push(yn(Xt.generateStatement(Nt,Vt)))):(re.push(","+ot),re.push(Xt.generateStatement(Nt,Vt)))}return C.declarations.length>1?zr(hr):hr(),re.push(this.semicolon(le)),re},ThrowStatement:function(C,le){return[vr("throw",this.generateExpression(C.argument,x.Sequence,fr)),this.semicolon(le)]},TryStatement:function(C,le){var re,de,Fe,Nt;if(re=["try",this.maybeBlock(C.block,Yr)],re=this.maybeBlockSuffix(C.block,re),C.handlers)for(de=0,Fe=C.handlers.length;de<Fe;++de)re=vr(re,this.generateStatement(C.handlers[de],Yr)),(C.finalizer||de+1!==Fe)&&(re=this.maybeBlockSuffix(C.handlers[de].body,re));else{for(Nt=C.guardedHandlers||[],de=0,Fe=Nt.length;de<Fe;++de)re=vr(re,this.generateStatement(Nt[de],Yr)),(C.finalizer||de+1!==Fe)&&(re=this.maybeBlockSuffix(Nt[de].body,re));if(C.handler)if(Array.isArray(C.handler))for(de=0,Fe=C.handler.length;de<Fe;++de)re=vr(re,this.generateStatement(C.handler[de],Yr)),(C.finalizer||de+1!==Fe)&&(re=this.maybeBlockSuffix(C.handler[de].body,re));else re=vr(re,this.generateStatement(C.handler,Yr)),C.finalizer&&(re=this.maybeBlockSuffix(C.handler.body,re))}return C.finalizer&&(re=vr(re,["finally",this.maybeBlock(C.finalizer,Yr)])),re},SwitchStatement:function(C,le){var re,de,Fe,Nt,Vt,Xt=this;if(zr(function(){re=["switch"+ot+"(",Xt.generateExpression(C.discriminant,x.Sequence,fr),")"+ot+"{"+Le]}),C.cases)for(Vt=Yr,Fe=0,Nt=C.cases.length;Fe<Nt;++Fe)Fe===Nt-1&&(Vt|=jr),de=yn(this.generateStatement(C.cases[Fe],Vt)),re.push(de),Xr(cr(de).toString())||re.push(Le);return re.push(yn("}")),re},SwitchCase:function(C,le){var re,de,Fe,Nt,Vt,Xt=this;return zr(function(){for(C.test?re=[vr("case",Xt.generateExpression(C.test,x.Sequence,fr)),":"]:re=["default:"],Fe=0,Nt=C.consequent.length,Nt&&C.consequent[0].type===O.BlockStatement&&(de=Xt.maybeBlock(C.consequent[0],Yr),re.push(de),Fe=1),Fe!==Nt&&!Xr(cr(re).toString())&&re.push(Le),Vt=Yr;Fe<Nt;++Fe)Fe===Nt-1&&le&jr&&(Vt|=jr),de=yn(Xt.generateStatement(C.consequent[Fe],Vt)),re.push(de),Fe+1!==Nt&&!Xr(cr(de).toString())&&re.push(Le)}),re},IfStatement:function(C,le){var re,de,Fe,Nt=this;return zr(function(){re=["if"+ot+"(",Nt.generateExpression(C.test,x.Sequence,fr),")"]}),Fe=le&jr,de=Yr,Fe&&(de|=jr),C.alternate?(re.push(this.maybeBlock(C.consequent,Yr)),re=this.maybeBlockSuffix(C.consequent,re),C.alternate.type===O.IfStatement?re=vr(re,["else ",this.generateStatement(C.alternate,de)]):re=vr(re,vr("else",this.maybeBlock(C.alternate,de)))):re.push(this.maybeBlock(C.consequent,de)),re},ForStatement:function(C,le){var re,de=this;return zr(function(){re=["for"+ot+"("],C.init?C.init.type===O.VariableDeclaration?re.push(de.generateStatement(C.init,Yo)):(re.push(de.generateExpression(C.init,x.Sequence,Sn)),re.push(";")):re.push(";"),C.test&&(re.push(ot),re.push(de.generateExpression(C.test,x.Sequence,fr))),re.push(";"),C.update&&(re.push(ot),re.push(de.generateExpression(C.update,x.Sequence,fr))),re.push(")")}),re.push(this.maybeBlock(C.body,le&jr?jn:Yr)),re},ForInStatement:function(C,le){return this.generateIterationForStatement("in",C,le&jr?jn:Yr)},ForOfStatement:function(C,le){return this.generateIterationForStatement("of",C,le&jr?jn:Yr)},LabeledStatement:function(C,le){return[C.label.name+":",this.maybeBlock(C.body,le&jr?jn:Yr)]},Program:function(C,le){var re,de,Fe,Nt,Vt;for(Nt=C.body.length,re=[bt&&Nt>0?`
|
|
32
|
+
`:""],Vt=vi,Fe=0;Fe<Nt;++Fe)!bt&&Fe===Nt-1&&(Vt|=jr),Q&&(Fe===0&&(C.body[0].leadingComments||Ao(C.range[0],C.body[Fe].range[0],re)),Fe>0&&!C.body[Fe-1].trailingComments&&!C.body[Fe].leadingComments&&Ao(C.body[Fe-1].range[1],C.body[Fe].range[0],re)),de=yn(this.generateStatement(C.body[Fe],Vt)),re.push(de),Fe+1<Nt&&!Xr(cr(de).toString())&&(Q&&C.body[Fe+1].leadingComments||re.push(Le)),Q&&Fe===Nt-1&&(C.body[Fe].trailingComments||Ao(C.body[Fe].range[1],C.range[1],re));return re},FunctionDeclaration:function(C,le){return[vo(C,!0),"function",xn(C)||hn(),C.id?bn(C.id):"",this.generateFunctionBody(C)]},ReturnStatement:function(C,le){return C.argument?[vr("return",this.generateExpression(C.argument,x.Sequence,fr)),this.semicolon(le)]:["return"+this.semicolon(le)]},WhileStatement:function(C,le){var re,de=this;return zr(function(){re=["while"+ot+"(",de.generateExpression(C.test,x.Sequence,fr),")"]}),re.push(this.maybeBlock(C.body,le&jr?jn:Yr)),re},WithStatement:function(C,le){var re,de=this;return zr(function(){re=["with"+ot+"(",de.generateExpression(C.object,x.Sequence,fr),")"]}),re.push(this.maybeBlock(C.body,le&jr?jn:Yr)),re}},Xo(nn.prototype,nn.Statement),nn.Expression={SequenceExpression:function(C,le,re){var de,Fe,Nt;for(x.Sequence<le&&(re|=sr),de=[],Fe=0,Nt=C.expressions.length;Fe<Nt;++Fe)de.push(this.generateExpression(C.expressions[Fe],x.Assignment,re)),Fe+1<Nt&&de.push(","+ot);return an(de,x.Sequence,le)},AssignmentExpression:function(C,le,re){return this.generateAssignment(C.left,C.right,C.operator,le,re)},ArrowFunctionExpression:function(C,le,re){return an(this.generateFunctionBody(C),x.ArrowFunction,le)},ConditionalExpression:function(C,le,re){return x.Conditional<le&&(re|=sr),an([this.generateExpression(C.test,x.Coalesce,re),ot+"?"+ot,this.generateExpression(C.consequent,x.Assignment,re),ot+":"+ot,this.generateExpression(C.alternate,x.Assignment,re)],x.Conditional,le)},LogicalExpression:function(C,le,re){return C.operator==="??"&&(re|=wn),this.BinaryExpression(C,le,re)},BinaryExpression:function(C,le,re){var de,Fe,Nt,Vt,Xt,hr;return Vt=_e[C.operator],Fe=C.operator==="**"?x.Postfix:Vt,Nt=C.operator==="**"?Vt:Vt+1,Vt<le&&(re|=sr),Xt=this.generateExpression(C.left,Fe,re),hr=Xt.toString(),hr.charCodeAt(hr.length-1)===47&&Oe.code.isIdentifierPartES5(C.operator.charCodeAt(0))?de=[Xt,hn(),C.operator]:de=vr(Xt,C.operator),Xt=this.generateExpression(C.right,Nt,re),C.operator==="/"&&Xt.toString().charAt(0)==="/"||C.operator.slice(-1)==="<"&&Xt.toString().slice(0,3)==="!--"?(de.push(hn()),de.push(Xt)):de=vr(de,Xt),C.operator==="in"&&!(re&sr)?["(",de,")"]:(C.operator==="||"||C.operator==="&&")&&re&wn?["(",de,")"]:an(de,Vt,le)},CallExpression:function(C,le,re){var de,Fe,Nt;for(de=[this.generateExpression(C.callee,x.Call,Gn)],C.optional&&de.push("?."),de.push("("),Fe=0,Nt=C.arguments.length;Fe<Nt;++Fe)de.push(this.generateExpression(C.arguments[Fe],x.Assignment,fr)),Fe+1<Nt&&de.push(","+ot);return de.push(")"),re&br?an(de,x.Call,le):["(",de,")"]},ChainExpression:function(C,le,re){x.OptionalChaining<le&&(re|=br);var de=this.generateExpression(C.expression,x.OptionalChaining,re);return an(de,x.OptionalChaining,le)},NewExpression:function(C,le,re){var de,Fe,Nt,Vt,Xt;if(Fe=C.arguments.length,Xt=re&Sr&&!St&&Fe===0?Yn:jo,de=vr("new",this.generateExpression(C.callee,x.New,Xt)),!(re&Sr)||St||Fe>0){for(de.push("("),Nt=0,Vt=Fe;Nt<Vt;++Nt)de.push(this.generateExpression(C.arguments[Nt],x.Assignment,fr)),Nt+1<Vt&&de.push(","+ot);de.push(")")}return an(de,x.New,le)},MemberExpression:function(C,le,re){var de,Fe;return de=[this.generateExpression(C.object,x.Call,re&br?Gn:jo)],C.computed?(C.optional&&de.push("?."),de.push("["),de.push(this.generateExpression(C.property,x.Sequence,re&br?fr:Yn)),de.push("]")):(!C.optional&&C.object.type===O.Literal&&typeof C.object.value=="number"&&(Fe=cr(de).toString(),Fe.indexOf(".")<0&&!/[eExX]/.test(Fe)&&Oe.code.isDecimalDigit(Fe.charCodeAt(Fe.length-1))&&!(Fe.length>=2&&Fe.charCodeAt(0)===48)&&de.push(" ")),de.push(C.optional?"?.":"."),de.push(bn(C.property))),an(de,x.Member,le)},MetaProperty:function(C,le,re){var de;return de=[],de.push(typeof C.meta=="string"?C.meta:bn(C.meta)),de.push("."),de.push(typeof C.property=="string"?C.property:bn(C.property)),an(de,x.Member,le)},UnaryExpression:function(C,le,re){var de,Fe,Nt,Vt,Xt;return Fe=this.generateExpression(C.argument,x.Unary,fr),ot===""?de=vr(C.operator,Fe):(de=[C.operator],C.operator.length>2?de=vr(de,Fe):(Vt=cr(de).toString(),Xt=Vt.charCodeAt(Vt.length-1),Nt=Fe.toString().charCodeAt(0),((Xt===43||Xt===45)&&Xt===Nt||Oe.code.isIdentifierPartES5(Xt)&&Oe.code.isIdentifierPartES5(Nt))&&de.push(hn()),de.push(Fe))),an(de,x.Unary,le)},YieldExpression:function(C,le,re){var de;return C.delegate?de="yield*":de="yield",C.argument&&(de=vr(de,this.generateExpression(C.argument,x.Yield,fr))),an(de,x.Yield,le)},AwaitExpression:function(C,le,re){var de=vr(C.all?"await*":"await",this.generateExpression(C.argument,x.Await,fr));return an(de,x.Await,le)},UpdateExpression:function(C,le,re){return C.prefix?an([C.operator,this.generateExpression(C.argument,x.Unary,fr)],x.Unary,le):an([this.generateExpression(C.argument,x.Postfix,fr),C.operator],x.Postfix,le)},FunctionExpression:function(C,le,re){var de=[vo(C,!0),"function"];return C.id?(de.push(xn(C)||hn()),de.push(bn(C.id))):de.push(xn(C)||ot),de.push(this.generateFunctionBody(C)),de},ArrayPattern:function(C,le,re){return this.ArrayExpression(C,le,re,!0)},ArrayExpression:function(C,le,re,de){var Fe,Nt,Vt=this;return C.elements.length?(Nt=de?!1:C.elements.length>1,Fe=["[",Nt?Le:""],zr(function(Xt){var hr,Fr;for(hr=0,Fr=C.elements.length;hr<Fr;++hr)C.elements[hr]?(Fe.push(Nt?Xt:""),Fe.push(Vt.generateExpression(C.elements[hr],x.Assignment,fr))):(Nt&&Fe.push(Xt),hr+1===Fr&&Fe.push(",")),hr+1<Fr&&Fe.push(","+(Nt?Le:ot))}),Nt&&!Xr(cr(Fe).toString())&&Fe.push(Le),Fe.push(Nt?Be:""),Fe.push("]"),Fe):"[]"},RestElement:function(C,le,re){return"..."+this.generatePattern(C.argument)},ClassExpression:function(C,le,re){var de,Fe;return de=["class"],C.id&&(de=vr(de,this.generateExpression(C.id,x.Sequence,fr))),C.superClass&&(Fe=vr("extends",this.generateExpression(C.superClass,x.Unary,fr)),de=vr(de,Fe)),de.push(ot),de.push(this.generateStatement(C.body,jn)),de},MethodDefinition:function(C,le,re){var de,Fe;return C.static?de=["static"+ot]:de=[],C.kind==="get"||C.kind==="set"?Fe=[vr(C.kind,this.generatePropertyKey(C.key,C.computed)),this.generateFunctionBody(C.value)]:Fe=[on(C),this.generatePropertyKey(C.key,C.computed),this.generateFunctionBody(C.value)],vr(de,Fe)},Property:function(C,le,re){return C.kind==="get"||C.kind==="set"?[C.kind,hn(),this.generatePropertyKey(C.key,C.computed),this.generateFunctionBody(C.value)]:C.shorthand?C.value.type==="AssignmentPattern"?this.AssignmentPattern(C.value,x.Sequence,fr):this.generatePropertyKey(C.key,C.computed):C.method?[on(C),this.generatePropertyKey(C.key,C.computed),this.generateFunctionBody(C.value)]:[this.generatePropertyKey(C.key,C.computed),":"+ot,this.generateExpression(C.value,x.Assignment,fr)]},ObjectExpression:function(C,le,re){var de,Fe,Nt,Vt=this;return C.properties.length?(de=C.properties.length>1,zr(function(){Nt=Vt.generateExpression(C.properties[0],x.Sequence,fr)}),!de&&!Wn(cr(Nt).toString())?["{",ot,Nt,ot,"}"]:(zr(function(Xt){var hr,Fr;if(Fe=["{",Le,Xt,Nt],de)for(Fe.push(","+Le),hr=1,Fr=C.properties.length;hr<Fr;++hr)Fe.push(Xt),Fe.push(Vt.generateExpression(C.properties[hr],x.Sequence,fr)),hr+1<Fr&&Fe.push(","+Le)}),Xr(cr(Fe).toString())||Fe.push(Le),Fe.push(Be),Fe.push("}"),Fe)):"{}"},AssignmentPattern:function(C,le,re){return this.generateAssignment(C.left,C.right,"=",le,re)},ObjectPattern:function(C,le,re){var de,Fe,Nt,Vt,Xt,hr=this;if(!C.properties.length)return"{}";if(Vt=!1,C.properties.length===1)Xt=C.properties[0],Xt.type===O.Property&&Xt.value.type!==O.Identifier&&(Vt=!0);else for(Fe=0,Nt=C.properties.length;Fe<Nt;++Fe)if(Xt=C.properties[Fe],Xt.type===O.Property&&!Xt.shorthand){Vt=!0;break}return de=["{",Vt?Le:""],zr(function(Fr){var dr,Cn;for(dr=0,Cn=C.properties.length;dr<Cn;++dr)de.push(Vt?Fr:""),de.push(hr.generateExpression(C.properties[dr],x.Sequence,fr)),dr+1<Cn&&de.push(","+(Vt?Le:ot))}),Vt&&!Xr(cr(de).toString())&&de.push(Le),de.push(Vt?Be:""),de.push("}"),de},ThisExpression:function(C,le,re){return"this"},Super:function(C,le,re){return"super"},Identifier:function(C,le,re){return bn(C)},ImportDefaultSpecifier:function(C,le,re){return bn(C.id||C.local)},ImportNamespaceSpecifier:function(C,le,re){var de=["*"],Fe=C.id||C.local;return Fe&&de.push(ot+"as"+hn()+bn(Fe)),de},ImportSpecifier:function(C,le,re){var de=C.imported,Fe=[de.name],Nt=C.local;return Nt&&Nt.name!==de.name&&Fe.push(hn()+"as"+hn()+bn(Nt)),Fe},ExportSpecifier:function(C,le,re){var de=C.local,Fe=[de.name],Nt=C.exported;return Nt&&Nt.name!==de.name&&Fe.push(hn()+"as"+hn()+bn(Nt)),Fe},Literal:function(C,le,re){var de;if(C.hasOwnProperty("raw")&&et&&At.raw)try{if(de=et(C.raw).body[0].expression,de.type===O.Literal&&de.value===C.value)return C.raw}catch{}return C.regex?"/"+C.regex.pattern+"/"+C.regex.flags:typeof C.value=="bigint"?C.value.toString()+"n":C.bigint?C.bigint+"n":C.value===null?"null":typeof C.value=="string"?gs(C.value):typeof C.value=="number"?Po(C.value):typeof C.value=="boolean"?C.value?"true":"false":Si(C.value)},GeneratorExpression:function(C,le,re){return this.ComprehensionExpression(C,le,re)},ComprehensionExpression:function(C,le,re){var de,Fe,Nt,Vt,Xt=this;return de=C.type===O.GeneratorExpression?["("]:["["],At.moz.comprehensionExpressionStartsWithAssignment&&(Vt=this.generateExpression(C.body,x.Assignment,fr),de.push(Vt)),C.blocks&&zr(function(){for(Fe=0,Nt=C.blocks.length;Fe<Nt;++Fe)Vt=Xt.generateExpression(C.blocks[Fe],x.Sequence,fr),Fe>0||At.moz.comprehensionExpressionStartsWithAssignment?de=vr(de,Vt):de.push(Vt)}),C.filter&&(de=vr(de,"if"+ot),Vt=this.generateExpression(C.filter,x.Sequence,fr),de=vr(de,["(",Vt,")"])),At.moz.comprehensionExpressionStartsWithAssignment||(Vt=this.generateExpression(C.body,x.Assignment,fr),de=vr(de,Vt)),de.push(C.type===O.GeneratorExpression?")":"]"),de},ComprehensionBlock:function(C,le,re){var de;return C.left.type===O.VariableDeclaration?de=[C.left.kind,hn(),this.generateStatement(C.left.declarations[0],Yo)]:de=this.generateExpression(C.left,x.Call,fr),de=vr(de,C.of?"of":"in"),de=vr(de,this.generateExpression(C.right,x.Sequence,fr)),["for"+ot+"(",de,")"]},SpreadElement:function(C,le,re){return["...",this.generateExpression(C.argument,x.Assignment,fr)]},TaggedTemplateExpression:function(C,le,re){var de=Gn;re&br||(de=jo);var Fe=[this.generateExpression(C.tag,x.Call,de),this.generateExpression(C.quasi,x.Primary,Ln)];return an(Fe,x.TaggedTemplate,le)},TemplateElement:function(C,le,re){return C.value.raw},TemplateLiteral:function(C,le,re){var de,Fe,Nt;for(de=["`"],Fe=0,Nt=C.quasis.length;Fe<Nt;++Fe)de.push(this.generateExpression(C.quasis[Fe],x.Primary,fr)),Fe+1<Nt&&(de.push("${"+ot),de.push(this.generateExpression(C.expressions[Fe],x.Sequence,fr)),de.push(ot+"}"));return de.push("`"),de},ModuleSpecifier:function(C,le,re){return this.Literal(C,le,re)},ImportExpression:function(C,le,re){return an(["import(",this.generateExpression(C.source,x.Assignment,fr),")"],x.Call,le)}},Xo(nn.prototype,nn.Expression),nn.prototype.generateExpression=function(C,le,re){var de,Fe;return Fe=C.type||O.Property,At.verbatim&&C.hasOwnProperty(At.verbatim)?qi(C,le):(de=this[Fe](C,le,re),At.comment&&(de=Cr(C,de)),cr(de,C))},nn.prototype.generateStatement=function(C,le){var re,de;return re=this[C.type](C,le),At.comment&&(re=Cr(C,re)),de=cr(re).toString(),C.type===O.Program&&!bt&&Le===""&&de.charAt(de.length-1)===`
|
|
33
|
+
`&&(re=o?cr(re).replaceRight(/\s+$/,""):de.replace(/\s+$/,"")),cr(re,C)};function Ko(C){var le;if(le=new nn,Wt(C))return le.generateStatement(C,Yr);if(Lt(C))return le.generateExpression(C,x.Sequence,fr);throw new Error("Unknown node type: "+C.type)}function Di(C,le){var re=Wi(),de,Fe;return le!=null?(typeof le.indent=="string"&&(re.format.indent.style=le.indent),typeof le.base=="number"&&(re.format.indent.base=le.base),le=Pn(re,le),Pe=le.format.indent.style,typeof le.base=="string"?Be=le.base:Be=so(Pe,le.format.indent.base)):(le=re,Pe=le.format.indent.style,Be=so(Pe,le.format.indent.base)),Xe=le.format.json,Ke=le.format.renumber,Et=Xe?!1:le.format.hexadecimal,st=Xe?"double":le.format.quotes,it=le.format.escapeless,Le=le.format.newline,ot=le.format.space,le.format.compact&&(Le=ot=Pe=Be=""),St=le.format.parentheses,vt=le.format.semicolons,bt=le.format.safeConcatenation,nr=le.directive,et=Xe?null:le.parse,o=le.sourceMap,T=le.sourceCode,Q=le.format.preserveBlankLines&&T!==null,At=le,o&&(_.browser?Ie=u.g.sourceMap.SourceNode:Ie=Ur().SourceNode),de=Ko(C),o?(Fe=de.toStringWithSourceMap({file:le.file,sourceRoot:le.sourceMapRoot}),le.sourceContent&&Fe.map.setSourceContent(le.sourceMap,le.sourceContent),le.sourceMapWithCode?Fe:Fe.map.toString()):(Fe={code:de.toString(),map:null},le.sourceMapWithCode?Fe:Fe.code)}ke={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},Tt=Wi().format,_.version=Dr().version,_.generate=Di,_.attachComments=Je.attachComments,_.Precedence=Pn({},x),_.browser=!1,_.FORMAT_MINIFY=ke,_.FORMAT_DEFAULTS=Tt})()}}),tn=(0,p.__commonJS)({"../../../node_modules/acorn/dist/acorn.js"(_,O){(function(x,_e){typeof _=="object"&&typeof O<"u"?_e(_):typeof define=="function"&&u.amdO?define(["exports"],_e):(x=x||self,_e(x.acorn={}))})(_,(function(x){"use strict";var _e={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Ie="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Je={5:Ie,"5module":Ie+" export import",6:Ie+" const class extends export import super"},Oe=/^in(stanceof)?$/,Be="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Pe="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Xe=new RegExp("["+Be+"]"),Ke=new RegExp("["+Be+Pe+"]");Be=Pe=null;var Et=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],st=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function it(r,b){for(var K=65536,be=0;be<b.length;be+=2){if(K+=b[be],K>r)return!1;if(K+=b[be+1],K>=r)return!0}}function Le(r,b){return r<65?r===36:r<91?!0:r<97?r===95:r<123?!0:r<=65535?r>=170&&Xe.test(String.fromCharCode(r)):b===!1?!1:it(r,Et)}function ot(r,b){return r<48?r===36:r<58?!0:r<65?!1:r<91?!0:r<97?r===95:r<123?!0:r<=65535?r>=170&&Ke.test(String.fromCharCode(r)):b===!1?!1:it(r,Et)||it(r,st)}var St=function(r,b){b===void 0&&(b={}),this.label=r,this.keyword=b.keyword,this.beforeExpr=!!b.beforeExpr,this.startsExpr=!!b.startsExpr,this.isLoop=!!b.isLoop,this.isAssign=!!b.isAssign,this.prefix=!!b.prefix,this.postfix=!!b.postfix,this.binop=b.binop||null,this.updateContext=null};function vt(r,b){return new St(r,{beforeExpr:!0,binop:b})}var bt={beforeExpr:!0},nr={startsExpr:!0},At={};function et(r,b){return b===void 0&&(b={}),b.keyword=r,At[r]=new St(r,b)}var o={num:new St("num",nr),regexp:new St("regexp",nr),string:new St("string",nr),name:new St("name",nr),eof:new St("eof"),bracketL:new St("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new St("]"),braceL:new St("{",{beforeExpr:!0,startsExpr:!0}),braceR:new St("}"),parenL:new St("(",{beforeExpr:!0,startsExpr:!0}),parenR:new St(")"),comma:new St(",",bt),semi:new St(";",bt),colon:new St(":",bt),dot:new St("."),question:new St("?",bt),questionDot:new St("?."),arrow:new St("=>",bt),template:new St("template"),invalidTemplate:new St("invalidTemplate"),ellipsis:new St("...",bt),backQuote:new St("`",nr),dollarBraceL:new St("${",{beforeExpr:!0,startsExpr:!0}),eq:new St("=",{beforeExpr:!0,isAssign:!0}),assign:new St("_=",{beforeExpr:!0,isAssign:!0}),incDec:new St("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new St("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:vt("||",1),logicalAND:vt("&&",2),bitwiseOR:vt("|",3),bitwiseXOR:vt("^",4),bitwiseAND:vt("&",5),equality:vt("==/!=/===/!==",6),relational:vt("</>/<=/>=",7),bitShift:vt("<</>>/>>>",8),plusMin:new St("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:vt("%",10),star:vt("*",10),slash:vt("/",10),starstar:new St("**",{beforeExpr:!0}),coalesce:vt("??",1),_break:et("break"),_case:et("case",bt),_catch:et("catch"),_continue:et("continue"),_debugger:et("debugger"),_default:et("default",bt),_do:et("do",{isLoop:!0,beforeExpr:!0}),_else:et("else",bt),_finally:et("finally"),_for:et("for",{isLoop:!0}),_function:et("function",nr),_if:et("if"),_return:et("return",bt),_switch:et("switch"),_throw:et("throw",bt),_try:et("try"),_var:et("var"),_const:et("const"),_while:et("while",{isLoop:!0}),_with:et("with"),_new:et("new",{beforeExpr:!0,startsExpr:!0}),_this:et("this",nr),_super:et("super",nr),_class:et("class",nr),_extends:et("extends",bt),_export:et("export"),_import:et("import",nr),_null:et("null",nr),_true:et("true",nr),_false:et("false",nr),_in:et("in",{beforeExpr:!0,binop:7}),_instanceof:et("instanceof",{beforeExpr:!0,binop:7}),_typeof:et("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:et("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:et("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},T=/\r\n?|\n|\u2028|\u2029/,Q=new RegExp(T.source,"g");function ke(r,b){return r===10||r===13||!b&&(r===8232||r===8233)}var Tt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Lt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Wt=Object.prototype,sr=Wt.hasOwnProperty,br=Wt.toString;function Sr(r,b){return sr.call(r,b)}var Nr=Array.isArray||(function(r){return br.call(r)==="[object Array]"});function Or(r){return new RegExp("^(?:"+r.replace(/ /g,"|")+")$")}var jr=function(r,b){this.line=r,this.column=b};jr.prototype.offset=function(r){return new jr(this.line,this.column+r)};var wn=function(r,b,K){this.start=b,this.end=K,r.sourceFile!==null&&(this.source=r.sourceFile)};function Sn(r,b){for(var K=1,be=0;;){Q.lastIndex=be;var Ze=Q.exec(r);if(Ze&&Ze.index<b)++K,be=Ze.index+Ze[0].length;else return new jr(K,b-be)}}var Gn={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function fr(r){var b={};for(var K in Gn)b[K]=r&&Sr(r,K)?r[K]:Gn[K];if(b.ecmaVersion>=2015&&(b.ecmaVersion-=2009),b.allowReserved==null&&(b.allowReserved=b.ecmaVersion<5),Nr(b.onToken)){var be=b.onToken;b.onToken=function(Ze){return be.push(Ze)}}return Nr(b.onComment)&&(b.onComment=jo(b,b.onComment)),b}function jo(r,b){return function(K,be,Ze,jt,$t,Jt){var Er={type:K?"Block":"Line",value:be,start:Ze,end:jt};r.locations&&(Er.loc=new wn(this,$t,Jt)),r.ranges&&(Er.range=[Ze,jt]),b.push(Er)}}var Ln=1,Yn=2,Yr=Ln|Yn,jn=4,Yo=8,vi=16,Gi=32,Wi=64,so=128;function Wn(r,b){return Yn|(r?jn:0)|(b?Yo:0)}var Xr=0,Xo=1,Pn=2,Po=3,wi=4,Si=5,Kr=function(r,b,K){this.options=r=fr(r),this.sourceFile=r.sourceFile,this.keywords=Or(Je[r.ecmaVersion>=6?6:r.sourceType==="module"?"5module":5]);var be="";if(r.allowReserved!==!0){for(var Ze=r.ecmaVersion;!(be=_e[Ze]);Ze--);r.sourceType==="module"&&(be+=" await")}this.reservedWords=Or(be);var jt=(be?be+" ":"")+_e.strict;this.reservedWordsStrict=Or(jt),this.reservedWordsStrictBind=Or(jt+" "+_e.strictBind),this.input=String(b),this.containsEsc=!1,K?(this.pos=K,this.lineStart=this.input.lastIndexOf(`
|
|
34
|
+
`,K-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(T).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=o.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=r.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&r.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Ln),this.regexpState=null},Eo={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Kr.prototype.parse=function(){var r=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(r)},Eo.inFunction.get=function(){return(this.currentVarScope().flags&Yn)>0},Eo.inGenerator.get=function(){return(this.currentVarScope().flags&Yo)>0},Eo.inAsync.get=function(){return(this.currentVarScope().flags&jn)>0},Eo.allowSuper.get=function(){return(this.currentThisScope().flags&Wi)>0},Eo.allowDirectSuper.get=function(){return(this.currentThisScope().flags&so)>0},Eo.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Kr.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Yn)>0},Kr.extend=function(){for(var r=[],b=arguments.length;b--;)r[b]=arguments[b];for(var K=this,be=0;be<r.length;be++)K=r[be](K);return K},Kr.parse=function(r,b){return new this(b,r).parse()},Kr.parseExpressionAt=function(r,b,K){var be=new this(K,r,b);return be.nextToken(),be.parseExpression()},Kr.tokenizer=function(r,b){return new this(b,r)},Object.defineProperties(Kr.prototype,Eo);var Dn=Kr.prototype,gs=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Dn.strictDirective=function(r){for(;;){Lt.lastIndex=r,r+=Lt.exec(this.input)[0].length;var b=gs.exec(this.input.slice(r));if(!b)return!1;if((b[1]||b[2])==="use strict"){Lt.lastIndex=r+b[0].length;var K=Lt.exec(this.input),be=K.index+K[0].length,Ze=this.input.charAt(be);return Ze===";"||Ze==="}"||T.test(K[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(Ze)||Ze==="!"&&this.input.charAt(be+1)==="=")}r+=b[0].length,Lt.lastIndex=r,r+=Lt.exec(this.input)[0].length,this.input[r]===";"&&r++}},Dn.eat=function(r){return this.type===r?(this.next(),!0):!1},Dn.isContextual=function(r){return this.type===o.name&&this.value===r&&!this.containsEsc},Dn.eatContextual=function(r){return this.isContextual(r)?(this.next(),!0):!1},Dn.expectContextual=function(r){this.eatContextual(r)||this.unexpected()},Dn.canInsertSemicolon=function(){return this.type===o.eof||this.type===o.braceR||T.test(this.input.slice(this.lastTokEnd,this.start))},Dn.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Dn.semicolon=function(){!this.eat(o.semi)&&!this.insertSemicolon()&&this.unexpected()},Dn.afterTrailingComma=function(r,b){if(this.type===r)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),b||this.next(),!0},Dn.expect=function(r){this.eat(r)||this.unexpected()},Dn.unexpected=function(r){this.raise(r??this.start,"Unexpected token")};function In(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Dn.checkPatternErrors=function(r,b){if(r){r.trailingComma>-1&&this.raiseRecoverable(r.trailingComma,"Comma is not permitted after the rest element");var K=b?r.parenthesizedAssign:r.parenthesizedBind;K>-1&&this.raiseRecoverable(K,"Parenthesized pattern")}},Dn.checkExpressionErrors=function(r,b){if(!r)return!1;var K=r.shorthandAssign,be=r.doubleProto;if(!b)return K>=0||be>=0;K>=0&&this.raise(K,"Shorthand property assignments are valid only in destructuring patterns"),be>=0&&this.raiseRecoverable(be,"Redefinition of __proto__ property")},Dn.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")},Dn.isSimpleAssignTarget=function(r){return r.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(r.expression):r.type==="Identifier"||r.type==="MemberExpression"};var cr=Kr.prototype;cr.parseTopLevel=function(r){var b={};for(r.body||(r.body=[]);this.type!==o.eof;){var K=this.parseStatement(null,!0,b);r.body.push(K)}if(this.inModule)for(var be=0,Ze=Object.keys(this.undefinedExports);be<Ze.length;be+=1){var jt=Ze[be];this.raiseRecoverable(this.undefinedExports[jt].start,"Export '"+jt+"' is not defined")}return this.adaptDirectivePrologue(r.body),this.next(),r.sourceType=this.options.sourceType,this.finishNode(r,"Program")};var hn={kind:"loop"},vr={kind:"switch"};cr.isLet=function(r){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Lt.lastIndex=this.pos;var b=Lt.exec(this.input),K=this.pos+b[0].length,be=this.input.charCodeAt(K);if(be===91)return!0;if(r)return!1;if(be===123)return!0;if(Le(be,!0)){for(var Ze=K+1;ot(this.input.charCodeAt(Ze),!0);)++Ze;var jt=this.input.slice(K,Ze);if(!Oe.test(jt))return!0}return!1},cr.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Lt.lastIndex=this.pos;var r=Lt.exec(this.input),b=this.pos+r[0].length;return!T.test(this.input.slice(this.pos,b))&&this.input.slice(b,b+8)==="function"&&(b+8===this.input.length||!ot(this.input.charAt(b+8)))},cr.parseStatement=function(r,b,K){var be=this.type,Ze=this.startNode(),jt;switch(this.isLet(r)&&(be=o._var,jt="let"),be){case o._break:case o._continue:return this.parseBreakContinueStatement(Ze,be.keyword);case o._debugger:return this.parseDebuggerStatement(Ze);case o._do:return this.parseDoStatement(Ze);case o._for:return this.parseForStatement(Ze);case o._function:return r&&(this.strict||r!=="if"&&r!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(Ze,!1,!r);case o._class:return r&&this.unexpected(),this.parseClass(Ze,!0);case o._if:return this.parseIfStatement(Ze);case o._return:return this.parseReturnStatement(Ze);case o._switch:return this.parseSwitchStatement(Ze);case o._throw:return this.parseThrowStatement(Ze);case o._try:return this.parseTryStatement(Ze);case o._const:case o._var:return jt=jt||this.value,r&&jt!=="var"&&this.unexpected(),this.parseVarStatement(Ze,jt);case o._while:return this.parseWhileStatement(Ze);case o._with:return this.parseWithStatement(Ze);case o.braceL:return this.parseBlock(!0,Ze);case o.semi:return this.parseEmptyStatement(Ze);case o._export:case o._import:if(this.options.ecmaVersion>10&&be===o._import){Lt.lastIndex=this.pos;var $t=Lt.exec(this.input),Jt=this.pos+$t[0].length,Er=this.input.charCodeAt(Jt);if(Er===40||Er===46)return this.parseExpressionStatement(Ze,this.parseExpression())}return this.options.allowImportExportEverywhere||(b||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'")),be===o._import?this.parseImport(Ze):this.parseExport(Ze,K);default:if(this.isAsyncFunction())return r&&this.unexpected(),this.next(),this.parseFunctionStatement(Ze,!0,!r);var kr=this.value,en=this.parseExpression();return be===o.name&&en.type==="Identifier"&&this.eat(o.colon)?this.parseLabeledStatement(Ze,kr,en,r):this.parseExpressionStatement(Ze,en)}},cr.parseBreakContinueStatement=function(r,b){var K=b==="break";this.next(),this.eat(o.semi)||this.insertSemicolon()?r.label=null:this.type!==o.name?this.unexpected():(r.label=this.parseIdent(),this.semicolon());for(var be=0;be<this.labels.length;++be){var Ze=this.labels[be];if((r.label==null||Ze.name===r.label.name)&&(Ze.kind!=null&&(K||Ze.kind==="loop")||r.label&&K))break}return be===this.labels.length&&this.raise(r.start,"Unsyntactic "+b),this.finishNode(r,K?"BreakStatement":"ContinueStatement")},cr.parseDebuggerStatement=function(r){return this.next(),this.semicolon(),this.finishNode(r,"DebuggerStatement")},cr.parseDoStatement=function(r){return this.next(),this.labels.push(hn),r.body=this.parseStatement("do"),this.labels.pop(),this.expect(o._while),r.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(o.semi):this.semicolon(),this.finishNode(r,"DoWhileStatement")},cr.parseForStatement=function(r){this.next();var b=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(hn),this.enterScope(0),this.expect(o.parenL),this.type===o.semi)return b>-1&&this.unexpected(b),this.parseFor(r,null);var K=this.isLet();if(this.type===o._var||this.type===o._const||K){var be=this.startNode(),Ze=K?"let":this.value;return this.next(),this.parseVar(be,!0,Ze),this.finishNode(be,"VariableDeclaration"),(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&be.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===o._in?b>-1&&this.unexpected(b):r.await=b>-1),this.parseForIn(r,be)):(b>-1&&this.unexpected(b),this.parseFor(r,be))}var jt=new In,$t=this.parseExpression(!0,jt);return this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===o._in?b>-1&&this.unexpected(b):r.await=b>-1),this.toAssignable($t,!1,jt),this.checkLVal($t),this.parseForIn(r,$t)):(this.checkExpressionErrors(jt,!0),b>-1&&this.unexpected(b),this.parseFor(r,$t))},cr.parseFunctionStatement=function(r,b,K){return this.next(),this.parseFunction(r,zr|(K?0:Bo),!1,b)},cr.parseIfStatement=function(r){return this.next(),r.test=this.parseParenExpression(),r.consequent=this.parseStatement("if"),r.alternate=this.eat(o._else)?this.parseStatement("if"):null,this.finishNode(r,"IfStatement")},cr.parseReturnStatement=function(r){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(o.semi)||this.insertSemicolon()?r.argument=null:(r.argument=this.parseExpression(),this.semicolon()),this.finishNode(r,"ReturnStatement")},cr.parseSwitchStatement=function(r){this.next(),r.discriminant=this.parseParenExpression(),r.cases=[],this.expect(o.braceL),this.labels.push(vr),this.enterScope(0);for(var b,K=!1;this.type!==o.braceR;)if(this.type===o._case||this.type===o._default){var be=this.type===o._case;b&&this.finishNode(b,"SwitchCase"),r.cases.push(b=this.startNode()),b.consequent=[],this.next(),be?b.test=this.parseExpression():(K&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),K=!0,b.test=null),this.expect(o.colon)}else b||this.unexpected(),b.consequent.push(this.parseStatement(null));return this.exitScope(),b&&this.finishNode(b,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(r,"SwitchStatement")},cr.parseThrowStatement=function(r){return this.next(),T.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),r.argument=this.parseExpression(),this.semicolon(),this.finishNode(r,"ThrowStatement")};var yn=[];cr.parseTryStatement=function(r){if(this.next(),r.block=this.parseBlock(),r.handler=null,this.type===o._catch){var b=this.startNode();if(this.next(),this.eat(o.parenL)){b.param=this.parseBindingAtom();var K=b.param.type==="Identifier";this.enterScope(K?Gi:0),this.checkLVal(b.param,K?wi:Pn),this.expect(o.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),b.param=null,this.enterScope(0);b.body=this.parseBlock(!1),this.exitScope(),r.handler=this.finishNode(b,"CatchClause")}return r.finalizer=this.eat(o._finally)?this.parseBlock():null,!r.handler&&!r.finalizer&&this.raise(r.start,"Missing catch or finally clause"),this.finishNode(r,"TryStatement")},cr.parseVarStatement=function(r,b){return this.next(),this.parseVar(r,!1,b),this.semicolon(),this.finishNode(r,"VariableDeclaration")},cr.parseWhileStatement=function(r){return this.next(),r.test=this.parseParenExpression(),this.labels.push(hn),r.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(r,"WhileStatement")},cr.parseWithStatement=function(r){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),r.object=this.parseParenExpression(),r.body=this.parseStatement("with"),this.finishNode(r,"WithStatement")},cr.parseEmptyStatement=function(r){return this.next(),this.finishNode(r,"EmptyStatement")},cr.parseLabeledStatement=function(r,b,K,be){for(var Ze=0,jt=this.labels;Ze<jt.length;Ze+=1){var $t=jt[Ze];$t.name===b&&this.raise(K.start,"Label '"+b+"' is already declared")}for(var Jt=this.type.isLoop?"loop":this.type===o._switch?"switch":null,Er=this.labels.length-1;Er>=0;Er--){var kr=this.labels[Er];if(kr.statementStart===r.start)kr.statementStart=this.start,kr.kind=Jt;else break}return this.labels.push({name:b,kind:Jt,statementStart:this.start}),r.body=this.parseStatement(be?be.indexOf("label")===-1?be+"label":be:"label"),this.labels.pop(),r.label=K,this.finishNode(r,"LabeledStatement")},cr.parseExpressionStatement=function(r,b){return r.expression=b,this.semicolon(),this.finishNode(r,"ExpressionStatement")},cr.parseBlock=function(r,b,K){for(r===void 0&&(r=!0),b===void 0&&(b=this.startNode()),b.body=[],this.expect(o.braceL),r&&this.enterScope(0);this.type!==o.braceR;){var be=this.parseStatement(null);b.body.push(be)}return K&&(this.strict=!1),this.next(),r&&this.exitScope(),this.finishNode(b,"BlockStatement")},cr.parseFor=function(r,b){return r.init=b,this.expect(o.semi),r.test=this.type===o.semi?null:this.parseExpression(),this.expect(o.semi),r.update=this.type===o.parenR?null:this.parseExpression(),this.expect(o.parenR),r.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(r,"ForStatement")},cr.parseForIn=function(r,b){var K=this.type===o._in;return this.next(),b.type==="VariableDeclaration"&&b.declarations[0].init!=null&&(!K||this.options.ecmaVersion<8||this.strict||b.kind!=="var"||b.declarations[0].id.type!=="Identifier")?this.raise(b.start,(K?"for-in":"for-of")+" loop variable declaration may not have an initializer"):b.type==="AssignmentPattern"&&this.raise(b.start,"Invalid left-hand side in for-loop"),r.left=b,r.right=K?this.parseExpression():this.parseMaybeAssign(),this.expect(o.parenR),r.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(r,K?"ForInStatement":"ForOfStatement")},cr.parseVar=function(r,b,K){for(r.declarations=[],r.kind=K;;){var be=this.startNode();if(this.parseVarId(be,K),this.eat(o.eq)?be.init=this.parseMaybeAssign(b):K==="const"&&!(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():be.id.type!=="Identifier"&&!(b&&(this.type===o._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):be.init=null,r.declarations.push(this.finishNode(be,"VariableDeclarator")),!this.eat(o.comma))break}return r},cr.parseVarId=function(r,b){r.id=this.parseBindingAtom(),this.checkLVal(r.id,b==="var"?Xo:Pn,!1)};var zr=1,Bo=2,Ji=4;cr.parseFunction=function(r,b,K,be){this.initFunction(r),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!be)&&(this.type===o.star&&b&Bo&&this.unexpected(),r.generator=this.eat(o.star)),this.options.ecmaVersion>=8&&(r.async=!!be),b&zr&&(r.id=b&Ji&&this.type!==o.name?null:this.parseIdent(),r.id&&!(b&Bo)&&this.checkLVal(r.id,this.strict||r.generator||r.async?this.treatFunctionsAsVar?Xo:Pn:Po));var Ze=this.yieldPos,jt=this.awaitPos,$t=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Wn(r.async,r.generator)),b&zr||(r.id=this.type===o.name?this.parseIdent():null),this.parseFunctionParams(r),this.parseFunctionBody(r,K,!1),this.yieldPos=Ze,this.awaitPos=jt,this.awaitIdentPos=$t,this.finishNode(r,b&zr?"FunctionDeclaration":"FunctionExpression")},cr.parseFunctionParams=function(r){this.expect(o.parenL),r.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},cr.parseClass=function(r,b){this.next();var K=this.strict;this.strict=!0,this.parseClassId(r,b),this.parseClassSuper(r);var be=this.startNode(),Ze=!1;for(be.body=[],this.expect(o.braceL);this.type!==o.braceR;){var jt=this.parseClassElement(r.superClass!==null);jt&&(be.body.push(jt),jt.type==="MethodDefinition"&&jt.kind==="constructor"&&(Ze&&this.raise(jt.start,"Duplicate constructor in the same class"),Ze=!0))}return this.strict=K,this.next(),r.body=this.finishNode(be,"ClassBody"),this.finishNode(r,b?"ClassDeclaration":"ClassExpression")},cr.parseClassElement=function(r){var b=this;if(this.eat(o.semi))return null;var K=this.startNode(),be=function(Er,kr){kr===void 0&&(kr=!1);var en=b.start,Tn=b.startLoc;return b.eatContextual(Er)?b.type!==o.parenL&&(!kr||!b.canInsertSemicolon())?!0:(K.key&&b.unexpected(),K.computed=!1,K.key=b.startNodeAt(en,Tn),K.key.name=Er,b.finishNode(K.key,"Identifier"),!1):!1};K.kind="method",K.static=be("static");var Ze=this.eat(o.star),jt=!1;Ze||(this.options.ecmaVersion>=8&&be("async",!0)?(jt=!0,Ze=this.options.ecmaVersion>=9&&this.eat(o.star)):be("get")?K.kind="get":be("set")&&(K.kind="set")),K.key||this.parsePropertyName(K);var $t=K.key,Jt=!1;return!K.computed&&!K.static&&($t.type==="Identifier"&&$t.name==="constructor"||$t.type==="Literal"&&$t.value==="constructor")?(K.kind!=="method"&&this.raise($t.start,"Constructor can't have get/set modifier"),Ze&&this.raise($t.start,"Constructor can't be a generator"),jt&&this.raise($t.start,"Constructor can't be an async method"),K.kind="constructor",Jt=r):K.static&&$t.type==="Identifier"&&$t.name==="prototype"&&this.raise($t.start,"Classes may not have a static property named prototype"),this.parseClassMethod(K,Ze,jt,Jt),K.kind==="get"&&K.value.params.length!==0&&this.raiseRecoverable(K.value.start,"getter should have no params"),K.kind==="set"&&K.value.params.length!==1&&this.raiseRecoverable(K.value.start,"setter should have exactly one param"),K.kind==="set"&&K.value.params[0].type==="RestElement"&&this.raiseRecoverable(K.value.params[0].start,"Setter cannot use rest params"),K},cr.parseClassMethod=function(r,b,K,be){return r.value=this.parseMethod(b,K,be),this.finishNode(r,"MethodDefinition")},cr.parseClassId=function(r,b){this.type===o.name?(r.id=this.parseIdent(),b&&this.checkLVal(r.id,Pn,!1)):(b===!0&&this.unexpected(),r.id=null)},cr.parseClassSuper=function(r){r.superClass=this.eat(o._extends)?this.parseExprSubscripts():null},cr.parseExport=function(r,b){if(this.next(),this.eat(o.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(r.exported=this.parseIdent(!0),this.checkExport(b,r.exported.name,this.lastTokStart)):r.exported=null),this.expectContextual("from"),this.type!==o.string&&this.unexpected(),r.source=this.parseExprAtom(),this.semicolon(),this.finishNode(r,"ExportAllDeclaration");if(this.eat(o._default)){this.checkExport(b,"default",this.lastTokStart);var K;if(this.type===o._function||(K=this.isAsyncFunction())){var be=this.startNode();this.next(),K&&this.next(),r.declaration=this.parseFunction(be,zr|Ji,!1,K)}else if(this.type===o._class){var Ze=this.startNode();r.declaration=this.parseClass(Ze,"nullableID")}else r.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(r,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())r.declaration=this.parseStatement(null),r.declaration.type==="VariableDeclaration"?this.checkVariableExport(b,r.declaration.declarations):this.checkExport(b,r.declaration.id.name,r.declaration.id.start),r.specifiers=[],r.source=null;else{if(r.declaration=null,r.specifiers=this.parseExportSpecifiers(b),this.eatContextual("from"))this.type!==o.string&&this.unexpected(),r.source=this.parseExprAtom();else{for(var jt=0,$t=r.specifiers;jt<$t.length;jt+=1){var Jt=$t[jt];this.checkUnreserved(Jt.local),this.checkLocalExport(Jt.local)}r.source=null}this.semicolon()}return this.finishNode(r,"ExportNamedDeclaration")},cr.checkExport=function(r,b,K){r&&(Sr(r,b)&&this.raiseRecoverable(K,"Duplicate export '"+b+"'"),r[b]=!0)},cr.checkPatternExport=function(r,b){var K=b.type;if(K==="Identifier")this.checkExport(r,b.name,b.start);else if(K==="ObjectPattern")for(var be=0,Ze=b.properties;be<Ze.length;be+=1){var jt=Ze[be];this.checkPatternExport(r,jt)}else if(K==="ArrayPattern")for(var $t=0,Jt=b.elements;$t<Jt.length;$t+=1){var Er=Jt[$t];Er&&this.checkPatternExport(r,Er)}else K==="Property"?this.checkPatternExport(r,b.value):K==="AssignmentPattern"?this.checkPatternExport(r,b.left):K==="RestElement"?this.checkPatternExport(r,b.argument):K==="ParenthesizedExpression"&&this.checkPatternExport(r,b.expression)},cr.checkVariableExport=function(r,b){if(r)for(var K=0,be=b;K<be.length;K+=1){var Ze=be[K];this.checkPatternExport(r,Ze.id)}},cr.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},cr.parseExportSpecifiers=function(r){var b=[],K=!0;for(this.expect(o.braceL);!this.eat(o.braceR);){if(K)K=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;var be=this.startNode();be.local=this.parseIdent(!0),be.exported=this.eatContextual("as")?this.parseIdent(!0):be.local,this.checkExport(r,be.exported.name,be.exported.start),b.push(this.finishNode(be,"ExportSpecifier"))}return b},cr.parseImport=function(r){return this.next(),this.type===o.string?(r.specifiers=yn,r.source=this.parseExprAtom()):(r.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),r.source=this.type===o.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(r,"ImportDeclaration")},cr.parseImportSpecifiers=function(){var r=[],b=!0;if(this.type===o.name){var K=this.startNode();if(K.local=this.parseIdent(),this.checkLVal(K.local,Pn),r.push(this.finishNode(K,"ImportDefaultSpecifier")),!this.eat(o.comma))return r}if(this.type===o.star){var be=this.startNode();return this.next(),this.expectContextual("as"),be.local=this.parseIdent(),this.checkLVal(be.local,Pn),r.push(this.finishNode(be,"ImportNamespaceSpecifier")),r}for(this.expect(o.braceL);!this.eat(o.braceR);){if(b)b=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;var Ze=this.startNode();Ze.imported=this.parseIdent(!0),this.eatContextual("as")?Ze.local=this.parseIdent():(this.checkUnreserved(Ze.imported),Ze.local=Ze.imported),this.checkLVal(Ze.local,Pn),r.push(this.finishNode(Ze,"ImportSpecifier"))}return r},cr.adaptDirectivePrologue=function(r){for(var b=0;b<r.length&&this.isDirectiveCandidate(r[b]);++b)r[b].directive=r[b].expression.raw.slice(1,-1)},cr.isDirectiveCandidate=function(r){return r.type==="ExpressionStatement"&&r.expression.type==="Literal"&&typeof r.expression.value=="string"&&(this.input[r.start]==='"'||this.input[r.start]==="'")};var mn=Kr.prototype;mn.toAssignable=function(r,b,K){if(this.options.ecmaVersion>=6&&r)switch(r.type){case"Identifier":this.inAsync&&r.name==="await"&&this.raise(r.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":r.type="ObjectPattern",K&&this.checkPatternErrors(K,!0);for(var be=0,Ze=r.properties;be<Ze.length;be+=1){var jt=Ze[be];this.toAssignable(jt,b),jt.type==="RestElement"&&(jt.argument.type==="ArrayPattern"||jt.argument.type==="ObjectPattern")&&this.raise(jt.argument.start,"Unexpected token")}break;case"Property":r.kind!=="init"&&this.raise(r.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(r.value,b);break;case"ArrayExpression":r.type="ArrayPattern",K&&this.checkPatternErrors(K,!0),this.toAssignableList(r.elements,b);break;case"SpreadElement":r.type="RestElement",this.toAssignable(r.argument,b),r.argument.type==="AssignmentPattern"&&this.raise(r.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":r.operator!=="="&&this.raise(r.left.end,"Only '=' operator can be used for specifying default value."),r.type="AssignmentPattern",delete r.operator,this.toAssignable(r.left,b);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(r.expression,b,K);break;case"ChainExpression":this.raiseRecoverable(r.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!b)break;default:this.raise(r.start,"Assigning to rvalue")}else K&&this.checkPatternErrors(K,!0);return r},mn.toAssignableList=function(r,b){for(var K=r.length,be=0;be<K;be++){var Ze=r[be];Ze&&this.toAssignable(Ze,b)}if(K){var jt=r[K-1];this.options.ecmaVersion===6&&b&&jt&&jt.type==="RestElement"&&jt.argument.type!=="Identifier"&&this.unexpected(jt.argument.start)}return r},mn.parseSpread=function(r){var b=this.startNode();return this.next(),b.argument=this.parseMaybeAssign(!1,r),this.finishNode(b,"SpreadElement")},mn.parseRestBinding=function(){var r=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==o.name&&this.unexpected(),r.argument=this.parseBindingAtom(),this.finishNode(r,"RestElement")},mn.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case o.bracketL:var r=this.startNode();return this.next(),r.elements=this.parseBindingList(o.bracketR,!0,!0),this.finishNode(r,"ArrayPattern");case o.braceL:return this.parseObj(!0)}return this.parseIdent()},mn.parseBindingList=function(r,b,K){for(var be=[],Ze=!0;!this.eat(r);)if(Ze?Ze=!1:this.expect(o.comma),b&&this.type===o.comma)be.push(null);else{if(K&&this.afterTrailingComma(r))break;if(this.type===o.ellipsis){var jt=this.parseRestBinding();this.parseBindingListItem(jt),be.push(jt),this.type===o.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(r);break}else{var $t=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem($t),be.push($t)}}return be},mn.parseBindingListItem=function(r){return r},mn.parseMaybeDefault=function(r,b,K){if(K=K||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(o.eq))return K;var be=this.startNodeAt(r,b);return be.left=K,be.right=this.parseMaybeAssign(),this.finishNode(be,"AssignmentPattern")},mn.checkLVal=function(r,b,K){switch(b===void 0&&(b=Xr),r.type){case"Identifier":b===Pn&&r.name==="let"&&this.raiseRecoverable(r.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(r.name)&&this.raiseRecoverable(r.start,(b?"Binding ":"Assigning to ")+r.name+" in strict mode"),K&&(Sr(K,r.name)&&this.raiseRecoverable(r.start,"Argument name clash"),K[r.name]=!0),b!==Xr&&b!==Si&&this.declareName(r.name,b,r.start);break;case"ChainExpression":this.raiseRecoverable(r.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":b&&this.raiseRecoverable(r.start,"Binding member expression");break;case"ObjectPattern":for(var be=0,Ze=r.properties;be<Ze.length;be+=1){var jt=Ze[be];this.checkLVal(jt,b,K)}break;case"Property":this.checkLVal(r.value,b,K);break;case"ArrayPattern":for(var $t=0,Jt=r.elements;$t<Jt.length;$t+=1){var Er=Jt[$t];Er&&this.checkLVal(Er,b,K)}break;case"AssignmentPattern":this.checkLVal(r.left,b,K);break;case"RestElement":this.checkLVal(r.argument,b,K);break;case"ParenthesizedExpression":this.checkLVal(r.expression,b,K);break;default:this.raise(r.start,(b?"Binding":"Assigning to")+" rvalue")}};var Cr=Kr.prototype;Cr.checkPropClash=function(r,b,K){if(!(this.options.ecmaVersion>=9&&r.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(r.computed||r.method||r.shorthand))){var be=r.key,Ze;switch(be.type){case"Identifier":Ze=be.name;break;case"Literal":Ze=String(be.value);break;default:return}var jt=r.kind;if(this.options.ecmaVersion>=6){Ze==="__proto__"&&jt==="init"&&(b.proto&&(K?K.doubleProto<0&&(K.doubleProto=be.start):this.raiseRecoverable(be.start,"Redefinition of __proto__ property")),b.proto=!0);return}Ze="$"+Ze;var $t=b[Ze];if($t){var Jt;jt==="init"?Jt=this.strict&&$t.init||$t.get||$t.set:Jt=$t.init||$t[jt],Jt&&this.raiseRecoverable(be.start,"Redefinition of property")}else $t=b[Ze]={init:!1,get:!1,set:!1};$t[jt]=!0}},Cr.parseExpression=function(r,b){var K=this.start,be=this.startLoc,Ze=this.parseMaybeAssign(r,b);if(this.type===o.comma){var jt=this.startNodeAt(K,be);for(jt.expressions=[Ze];this.eat(o.comma);)jt.expressions.push(this.parseMaybeAssign(r,b));return this.finishNode(jt,"SequenceExpression")}return Ze},Cr.parseMaybeAssign=function(r,b,K){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(r);this.exprAllowed=!1}var be=!1,Ze=-1,jt=-1;b?(Ze=b.parenthesizedAssign,jt=b.trailingComma,b.parenthesizedAssign=b.trailingComma=-1):(b=new In,be=!0);var $t=this.start,Jt=this.startLoc;(this.type===o.parenL||this.type===o.name)&&(this.potentialArrowAt=this.start);var Er=this.parseMaybeConditional(r,b);if(K&&(Er=K.call(this,Er,$t,Jt)),this.type.isAssign){var kr=this.startNodeAt($t,Jt);return kr.operator=this.value,kr.left=this.type===o.eq?this.toAssignable(Er,!1,b):Er,be||(b.parenthesizedAssign=b.trailingComma=b.doubleProto=-1),b.shorthandAssign>=kr.left.start&&(b.shorthandAssign=-1),this.checkLVal(Er),this.next(),kr.right=this.parseMaybeAssign(r),this.finishNode(kr,"AssignmentExpression")}else be&&this.checkExpressionErrors(b,!0);return Ze>-1&&(b.parenthesizedAssign=Ze),jt>-1&&(b.trailingComma=jt),Er},Cr.parseMaybeConditional=function(r,b){var K=this.start,be=this.startLoc,Ze=this.parseExprOps(r,b);if(this.checkExpressionErrors(b))return Ze;if(this.eat(o.question)){var jt=this.startNodeAt(K,be);return jt.test=Ze,jt.consequent=this.parseMaybeAssign(),this.expect(o.colon),jt.alternate=this.parseMaybeAssign(r),this.finishNode(jt,"ConditionalExpression")}return Ze},Cr.parseExprOps=function(r,b){var K=this.start,be=this.startLoc,Ze=this.parseMaybeUnary(b,!1);return this.checkExpressionErrors(b)||Ze.start===K&&Ze.type==="ArrowFunctionExpression"?Ze:this.parseExprOp(Ze,K,be,-1,r)},Cr.parseExprOp=function(r,b,K,be,Ze){var jt=this.type.binop;if(jt!=null&&(!Ze||this.type!==o._in)&&jt>be){var $t=this.type===o.logicalOR||this.type===o.logicalAND,Jt=this.type===o.coalesce;Jt&&(jt=o.logicalAND.binop);var Er=this.value;this.next();var kr=this.start,en=this.startLoc,Tn=this.parseExprOp(this.parseMaybeUnary(null,!1),kr,en,jt,Ze),ei=this.buildBinary(b,K,r,Tn,Er,$t||Jt);return($t&&this.type===o.coalesce||Jt&&(this.type===o.logicalOR||this.type===o.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(ei,b,K,be,Ze)}return r},Cr.buildBinary=function(r,b,K,be,Ze,jt){var $t=this.startNodeAt(r,b);return $t.left=K,$t.operator=Ze,$t.right=be,this.finishNode($t,jt?"LogicalExpression":"BinaryExpression")},Cr.parseMaybeUnary=function(r,b){var K=this.start,be=this.startLoc,Ze;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))Ze=this.parseAwait(),b=!0;else if(this.type.prefix){var jt=this.startNode(),$t=this.type===o.incDec;jt.operator=this.value,jt.prefix=!0,this.next(),jt.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(r,!0),$t?this.checkLVal(jt.argument):this.strict&&jt.operator==="delete"&&jt.argument.type==="Identifier"?this.raiseRecoverable(jt.start,"Deleting local variable in strict mode"):b=!0,Ze=this.finishNode(jt,$t?"UpdateExpression":"UnaryExpression")}else{if(Ze=this.parseExprSubscripts(r),this.checkExpressionErrors(r))return Ze;for(;this.type.postfix&&!this.canInsertSemicolon();){var Jt=this.startNodeAt(K,be);Jt.operator=this.value,Jt.prefix=!1,Jt.argument=Ze,this.checkLVal(Ze),this.next(),Ze=this.finishNode(Jt,"UpdateExpression")}}return!b&&this.eat(o.starstar)?this.buildBinary(K,be,Ze,this.parseMaybeUnary(null,!1),"**",!1):Ze},Cr.parseExprSubscripts=function(r){var b=this.start,K=this.startLoc,be=this.parseExprAtom(r);if(be.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return be;var Ze=this.parseSubscripts(be,b,K);return r&&Ze.type==="MemberExpression"&&(r.parenthesizedAssign>=Ze.start&&(r.parenthesizedAssign=-1),r.parenthesizedBind>=Ze.start&&(r.parenthesizedBind=-1)),Ze},Cr.parseSubscripts=function(r,b,K,be){for(var Ze=this.options.ecmaVersion>=8&&r.type==="Identifier"&&r.name==="async"&&this.lastTokEnd===r.end&&!this.canInsertSemicolon()&&r.end-r.start===5&&this.potentialArrowAt===r.start,jt=!1;;){var $t=this.parseSubscript(r,b,K,be,Ze,jt);if($t.optional&&(jt=!0),$t===r||$t.type==="ArrowFunctionExpression"){if(jt){var Jt=this.startNodeAt(b,K);Jt.expression=$t,$t=this.finishNode(Jt,"ChainExpression")}return $t}r=$t}},Cr.parseSubscript=function(r,b,K,be,Ze,jt){var $t=this.options.ecmaVersion>=11,Jt=$t&&this.eat(o.questionDot);be&&Jt&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Er=this.eat(o.bracketL);if(Er||Jt&&this.type!==o.parenL&&this.type!==o.backQuote||this.eat(o.dot)){var kr=this.startNodeAt(b,K);kr.object=r,kr.property=Er?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),kr.computed=!!Er,Er&&this.expect(o.bracketR),$t&&(kr.optional=Jt),r=this.finishNode(kr,"MemberExpression")}else if(!be&&this.eat(o.parenL)){var en=new In,Tn=this.yieldPos,ei=this.awaitPos,No=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Qi=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1,en);if(Ze&&!Jt&&!this.canInsertSemicolon()&&this.eat(o.arrow))return this.checkPatternErrors(en,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Tn,this.awaitPos=ei,this.awaitIdentPos=No,this.parseArrowExpression(this.startNodeAt(b,K),Qi,!0);this.checkExpressionErrors(en,!0),this.yieldPos=Tn||this.yieldPos,this.awaitPos=ei||this.awaitPos,this.awaitIdentPos=No||this.awaitIdentPos;var ko=this.startNodeAt(b,K);ko.callee=r,ko.arguments=Qi,$t&&(ko.optional=Jt),r=this.finishNode(ko,"CallExpression")}else if(this.type===o.backQuote){(Jt||jt)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var ti=this.startNodeAt(b,K);ti.tag=r,ti.quasi=this.parseTemplate({isTagged:!0}),r=this.finishNode(ti,"TaggedTemplateExpression")}return r},Cr.parseExprAtom=function(r){this.type===o.slash&&this.readRegexp();var b,K=this.potentialArrowAt===this.start;switch(this.type){case o._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),b=this.startNode(),this.next(),this.type===o.parenL&&!this.allowDirectSuper&&this.raise(b.start,"super() call outside constructor of a subclass"),this.type!==o.dot&&this.type!==o.bracketL&&this.type!==o.parenL&&this.unexpected(),this.finishNode(b,"Super");case o._this:return b=this.startNode(),this.next(),this.finishNode(b,"ThisExpression");case o.name:var be=this.start,Ze=this.startLoc,jt=this.containsEsc,$t=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!jt&&$t.name==="async"&&!this.canInsertSemicolon()&&this.eat(o._function))return this.parseFunction(this.startNodeAt(be,Ze),0,!1,!0);if(K&&!this.canInsertSemicolon()){if(this.eat(o.arrow))return this.parseArrowExpression(this.startNodeAt(be,Ze),[$t],!1);if(this.options.ecmaVersion>=8&&$t.name==="async"&&this.type===o.name&&!jt)return $t=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(o.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(be,Ze),[$t],!0)}return $t;case o.regexp:var Jt=this.value;return b=this.parseLiteral(Jt.value),b.regex={pattern:Jt.pattern,flags:Jt.flags},b;case o.num:case o.string:return this.parseLiteral(this.value);case o._null:case o._true:case o._false:return b=this.startNode(),b.value=this.type===o._null?null:this.type===o._true,b.raw=this.type.keyword,this.next(),this.finishNode(b,"Literal");case o.parenL:var Er=this.start,kr=this.parseParenAndDistinguishExpression(K);return r&&(r.parenthesizedAssign<0&&!this.isSimpleAssignTarget(kr)&&(r.parenthesizedAssign=Er),r.parenthesizedBind<0&&(r.parenthesizedBind=Er)),kr;case o.bracketL:return b=this.startNode(),this.next(),b.elements=this.parseExprList(o.bracketR,!0,!0,r),this.finishNode(b,"ArrayExpression");case o.braceL:return this.parseObj(!1,r);case o._function:return b=this.startNode(),this.next(),this.parseFunction(b,0);case o._class:return this.parseClass(this.startNode(),!1);case o._new:return this.parseNew();case o.backQuote:return this.parseTemplate();case o._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Cr.parseExprImport=function(){var r=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var b=this.parseIdent(!0);switch(this.type){case o.parenL:return this.parseDynamicImport(r);case o.dot:return r.meta=b,this.parseImportMeta(r);default:this.unexpected()}},Cr.parseDynamicImport=function(r){if(this.next(),r.source=this.parseMaybeAssign(),!this.eat(o.parenR)){var b=this.start;this.eat(o.comma)&&this.eat(o.parenR)?this.raiseRecoverable(b,"Trailing comma is not allowed in import()"):this.unexpected(b)}return this.finishNode(r,"ImportExpression")},Cr.parseImportMeta=function(r){this.next();var b=this.containsEsc;return r.property=this.parseIdent(!0),r.property.name!=="meta"&&this.raiseRecoverable(r.property.start,"The only valid meta property for import is 'import.meta'"),b&&this.raiseRecoverable(r.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(r.start,"Cannot use 'import.meta' outside a module"),this.finishNode(r,"MetaProperty")},Cr.parseLiteral=function(r){var b=this.startNode();return b.value=r,b.raw=this.input.slice(this.start,this.end),b.raw.charCodeAt(b.raw.length-1)===110&&(b.bigint=b.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(b,"Literal")},Cr.parseParenExpression=function(){this.expect(o.parenL);var r=this.parseExpression();return this.expect(o.parenR),r},Cr.parseParenAndDistinguishExpression=function(r){var b=this.start,K=this.startLoc,be,Ze=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var jt=this.start,$t=this.startLoc,Jt=[],Er=!0,kr=!1,en=new In,Tn=this.yieldPos,ei=this.awaitPos,No;for(this.yieldPos=0,this.awaitPos=0;this.type!==o.parenR;)if(Er?Er=!1:this.expect(o.comma),Ze&&this.afterTrailingComma(o.parenR,!0)){kr=!0;break}else if(this.type===o.ellipsis){No=this.start,Jt.push(this.parseParenItem(this.parseRestBinding())),this.type===o.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else Jt.push(this.parseMaybeAssign(!1,en,this.parseParenItem));var Qi=this.start,ko=this.startLoc;if(this.expect(o.parenR),r&&!this.canInsertSemicolon()&&this.eat(o.arrow))return this.checkPatternErrors(en,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Tn,this.awaitPos=ei,this.parseParenArrowList(b,K,Jt);(!Jt.length||kr)&&this.unexpected(this.lastTokStart),No&&this.unexpected(No),this.checkExpressionErrors(en,!0),this.yieldPos=Tn||this.yieldPos,this.awaitPos=ei||this.awaitPos,Jt.length>1?(be=this.startNodeAt(jt,$t),be.expressions=Jt,this.finishNodeAt(be,"SequenceExpression",Qi,ko)):be=Jt[0]}else be=this.parseParenExpression();if(this.options.preserveParens){var ti=this.startNodeAt(b,K);return ti.expression=be,this.finishNode(ti,"ParenthesizedExpression")}else return be},Cr.parseParenItem=function(r){return r},Cr.parseParenArrowList=function(r,b,K){return this.parseArrowExpression(this.startNodeAt(r,b),K)};var Ao=[];Cr.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var r=this.startNode(),b=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(o.dot)){r.meta=b;var K=this.containsEsc;return r.property=this.parseIdent(!0),r.property.name!=="target"&&this.raiseRecoverable(r.property.start,"The only valid meta property for new is 'new.target'"),K&&this.raiseRecoverable(r.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(r.start,"'new.target' can only be used in functions"),this.finishNode(r,"MetaProperty")}var be=this.start,Ze=this.startLoc,jt=this.type===o._import;return r.callee=this.parseSubscripts(this.parseExprAtom(),be,Ze,!0),jt&&r.callee.type==="ImportExpression"&&this.raise(be,"Cannot use new with import()"),this.eat(o.parenL)?r.arguments=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1):r.arguments=Ao,this.finishNode(r,"NewExpression")},Cr.parseTemplateElement=function(r){var b=r.isTagged,K=this.startNode();return this.type===o.invalidTemplate?(b||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),K.value={raw:this.value,cooked:null}):K.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
35
|
+
`),cooked:this.value},this.next(),K.tail=this.type===o.backQuote,this.finishNode(K,"TemplateElement")},Cr.parseTemplate=function(r){r===void 0&&(r={});var b=r.isTagged;b===void 0&&(b=!1);var K=this.startNode();this.next(),K.expressions=[];var be=this.parseTemplateElement({isTagged:b});for(K.quasis=[be];!be.tail;)this.type===o.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(o.dollarBraceL),K.expressions.push(this.parseExpression()),this.expect(o.braceR),K.quasis.push(be=this.parseTemplateElement({isTagged:b}));return this.next(),this.finishNode(K,"TemplateLiteral")},Cr.isAsyncProp=function(r){return!r.computed&&r.key.type==="Identifier"&&r.key.name==="async"&&(this.type===o.name||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===o.star)&&!T.test(this.input.slice(this.lastTokEnd,this.start))},Cr.parseObj=function(r,b){var K=this.startNode(),be=!0,Ze={};for(K.properties=[],this.next();!this.eat(o.braceR);){if(be)be=!1;else if(this.expect(o.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(o.braceR))break;var jt=this.parseProperty(r,b);r||this.checkPropClash(jt,Ze,b),K.properties.push(jt)}return this.finishNode(K,r?"ObjectPattern":"ObjectExpression")},Cr.parseProperty=function(r,b){var K=this.startNode(),be,Ze,jt,$t;if(this.options.ecmaVersion>=9&&this.eat(o.ellipsis))return r?(K.argument=this.parseIdent(!1),this.type===o.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(K,"RestElement")):(this.type===o.parenL&&b&&(b.parenthesizedAssign<0&&(b.parenthesizedAssign=this.start),b.parenthesizedBind<0&&(b.parenthesizedBind=this.start)),K.argument=this.parseMaybeAssign(!1,b),this.type===o.comma&&b&&b.trailingComma<0&&(b.trailingComma=this.start),this.finishNode(K,"SpreadElement"));this.options.ecmaVersion>=6&&(K.method=!1,K.shorthand=!1,(r||b)&&(jt=this.start,$t=this.startLoc),r||(be=this.eat(o.star)));var Jt=this.containsEsc;return this.parsePropertyName(K),!r&&!Jt&&this.options.ecmaVersion>=8&&!be&&this.isAsyncProp(K)?(Ze=!0,be=this.options.ecmaVersion>=9&&this.eat(o.star),this.parsePropertyName(K,b)):Ze=!1,this.parsePropertyValue(K,r,be,Ze,jt,$t,b,Jt),this.finishNode(K,"Property")},Cr.parsePropertyValue=function(r,b,K,be,Ze,jt,$t,Jt){if((K||be)&&this.type===o.colon&&this.unexpected(),this.eat(o.colon))r.value=b?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,$t),r.kind="init";else if(this.options.ecmaVersion>=6&&this.type===o.parenL)b&&this.unexpected(),r.kind="init",r.method=!0,r.value=this.parseMethod(K,be);else if(!b&&!Jt&&this.options.ecmaVersion>=5&&!r.computed&&r.key.type==="Identifier"&&(r.key.name==="get"||r.key.name==="set")&&this.type!==o.comma&&this.type!==o.braceR&&this.type!==o.eq){(K||be)&&this.unexpected(),r.kind=r.key.name,this.parsePropertyName(r),r.value=this.parseMethod(!1);var Er=r.kind==="get"?0:1;if(r.value.params.length!==Er){var kr=r.value.start;r.kind==="get"?this.raiseRecoverable(kr,"getter should have no params"):this.raiseRecoverable(kr,"setter should have exactly one param")}else r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!r.computed&&r.key.type==="Identifier"?((K||be)&&this.unexpected(),this.checkUnreserved(r.key),r.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=Ze),r.kind="init",b?r.value=this.parseMaybeDefault(Ze,jt,r.key):this.type===o.eq&&$t?($t.shorthandAssign<0&&($t.shorthandAssign=this.start),r.value=this.parseMaybeDefault(Ze,jt,r.key)):r.value=r.key,r.shorthand=!0):this.unexpected()},Cr.parsePropertyName=function(r){if(this.options.ecmaVersion>=6){if(this.eat(o.bracketL))return r.computed=!0,r.key=this.parseMaybeAssign(),this.expect(o.bracketR),r.key;r.computed=!1}return r.key=this.type===o.num||this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Cr.initFunction=function(r){r.id=null,this.options.ecmaVersion>=6&&(r.generator=r.expression=!1),this.options.ecmaVersion>=8&&(r.async=!1)},Cr.parseMethod=function(r,b,K){var be=this.startNode(),Ze=this.yieldPos,jt=this.awaitPos,$t=this.awaitIdentPos;return this.initFunction(be),this.options.ecmaVersion>=6&&(be.generator=r),this.options.ecmaVersion>=8&&(be.async=!!b),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Wn(b,be.generator)|Wi|(K?so:0)),this.expect(o.parenL),be.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(be,!1,!0),this.yieldPos=Ze,this.awaitPos=jt,this.awaitIdentPos=$t,this.finishNode(be,"FunctionExpression")},Cr.parseArrowExpression=function(r,b,K){var be=this.yieldPos,Ze=this.awaitPos,jt=this.awaitIdentPos;return this.enterScope(Wn(K,!1)|vi),this.initFunction(r),this.options.ecmaVersion>=8&&(r.async=!!K),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,r.params=this.toAssignableList(b,!0),this.parseFunctionBody(r,!0,!1),this.yieldPos=be,this.awaitPos=Ze,this.awaitIdentPos=jt,this.finishNode(r,"ArrowFunctionExpression")},Cr.parseFunctionBody=function(r,b,K){var be=b&&this.type!==o.braceL,Ze=this.strict,jt=!1;if(be)r.body=this.parseMaybeAssign(),r.expression=!0,this.checkParams(r,!1);else{var $t=this.options.ecmaVersion>=7&&!this.isSimpleParamList(r.params);(!Ze||$t)&&(jt=this.strictDirective(this.end),jt&&$t&&this.raiseRecoverable(r.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var Jt=this.labels;this.labels=[],jt&&(this.strict=!0),this.checkParams(r,!Ze&&!jt&&!b&&!K&&this.isSimpleParamList(r.params)),this.strict&&r.id&&this.checkLVal(r.id,Si),r.body=this.parseBlock(!1,void 0,jt&&!Ze),r.expression=!1,this.adaptDirectivePrologue(r.body.body),this.labels=Jt}this.exitScope()},Cr.isSimpleParamList=function(r){for(var b=0,K=r;b<K.length;b+=1){var be=K[b];if(be.type!=="Identifier")return!1}return!0},Cr.checkParams=function(r,b){for(var K={},be=0,Ze=r.params;be<Ze.length;be+=1){var jt=Ze[be];this.checkLVal(jt,Xo,b?null:K)}},Cr.parseExprList=function(r,b,K,be){for(var Ze=[],jt=!0;!this.eat(r);){if(jt)jt=!1;else if(this.expect(o.comma),b&&this.afterTrailingComma(r))break;var $t=void 0;K&&this.type===o.comma?$t=null:this.type===o.ellipsis?($t=this.parseSpread(be),be&&this.type===o.comma&&be.trailingComma<0&&(be.trailingComma=this.start)):$t=this.parseMaybeAssign(!1,be),Ze.push($t)}return Ze},Cr.checkUnreserved=function(r){var b=r.start,K=r.end,be=r.name;if(this.inGenerator&&be==="yield"&&this.raiseRecoverable(b,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&be==="await"&&this.raiseRecoverable(b,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(be)&&this.raise(b,"Unexpected keyword '"+be+"'"),!(this.options.ecmaVersion<6&&this.input.slice(b,K).indexOf("\\")!==-1)){var Ze=this.strict?this.reservedWordsStrict:this.reservedWords;Ze.test(be)&&(!this.inAsync&&be==="await"&&this.raiseRecoverable(b,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(b,"The keyword '"+be+"' is reserved"))}},Cr.parseIdent=function(r,b){var K=this.startNode();return this.type===o.name?K.name=this.value:this.type.keyword?(K.name=this.type.keyword,(K.name==="class"||K.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!r),this.finishNode(K,"Identifier"),r||(this.checkUnreserved(K),K.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=K.start)),K},Cr.parseYield=function(r){this.yieldPos||(this.yieldPos=this.start);var b=this.startNode();return this.next(),this.type===o.semi||this.canInsertSemicolon()||this.type!==o.star&&!this.type.startsExpr?(b.delegate=!1,b.argument=null):(b.delegate=this.eat(o.star),b.argument=this.parseMaybeAssign(r)),this.finishNode(b,"YieldExpression")},Cr.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var r=this.startNode();return this.next(),r.argument=this.parseMaybeUnary(null,!1),this.finishNode(r,"AwaitExpression")};var an=Kr.prototype;an.raise=function(r,b){var K=Sn(this.input,r);b+=" ("+K.line+":"+K.column+")";var be=new SyntaxError(b);throw be.pos=r,be.loc=K,be.raisedAt=this.pos,be},an.raiseRecoverable=an.raise,an.curPosition=function(){if(this.options.locations)return new jr(this.curLine,this.pos-this.lineStart)};var Xn=Kr.prototype,qi=function(r){this.flags=r,this.var=[],this.lexical=[],this.functions=[]};Xn.enterScope=function(r){this.scopeStack.push(new qi(r))},Xn.exitScope=function(){this.scopeStack.pop()},Xn.treatFunctionsAsVarInScope=function(r){return r.flags&Yn||!this.inModule&&r.flags&Ln},Xn.declareName=function(r,b,K){var be=!1;if(b===Pn){var Ze=this.currentScope();be=Ze.lexical.indexOf(r)>-1||Ze.functions.indexOf(r)>-1||Ze.var.indexOf(r)>-1,Ze.lexical.push(r),this.inModule&&Ze.flags&Ln&&delete this.undefinedExports[r]}else if(b===wi){var jt=this.currentScope();jt.lexical.push(r)}else if(b===Po){var $t=this.currentScope();this.treatFunctionsAsVar?be=$t.lexical.indexOf(r)>-1:be=$t.lexical.indexOf(r)>-1||$t.var.indexOf(r)>-1,$t.functions.push(r)}else for(var Jt=this.scopeStack.length-1;Jt>=0;--Jt){var Er=this.scopeStack[Jt];if(Er.lexical.indexOf(r)>-1&&!(Er.flags&Gi&&Er.lexical[0]===r)||!this.treatFunctionsAsVarInScope(Er)&&Er.functions.indexOf(r)>-1){be=!0;break}if(Er.var.push(r),this.inModule&&Er.flags&Ln&&delete this.undefinedExports[r],Er.flags&Yr)break}be&&this.raiseRecoverable(K,"Identifier '"+r+"' has already been declared")},Xn.checkLocalExport=function(r){this.scopeStack[0].lexical.indexOf(r.name)===-1&&this.scopeStack[0].var.indexOf(r.name)===-1&&(this.undefinedExports[r.name]=r)},Xn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Xn.currentVarScope=function(){for(var r=this.scopeStack.length-1;;r--){var b=this.scopeStack[r];if(b.flags&Yr)return b}},Xn.currentThisScope=function(){for(var r=this.scopeStack.length-1;;r--){var b=this.scopeStack[r];if(b.flags&Yr&&!(b.flags&vi))return b}};var nn=function(r,b,K){this.type="",this.start=b,this.end=0,r.options.locations&&(this.loc=new wn(r,K)),r.options.directSourceFile&&(this.sourceFile=r.options.directSourceFile),r.options.ranges&&(this.range=[b,0])},bn=Kr.prototype;bn.startNode=function(){return new nn(this,this.start,this.startLoc)},bn.startNodeAt=function(r,b){return new nn(this,r,b)};function vo(r,b,K,be){return r.type=b,r.end=K,this.options.locations&&(r.loc.end=be),this.options.ranges&&(r.range[1]=K),r}bn.finishNode=function(r,b){return vo.call(this,r,b,this.lastTokEnd,this.lastTokEndLoc)},bn.finishNodeAt=function(r,b,K,be){return vo.call(this,r,b,K,be)};var xn=function(r,b,K,be,Ze){this.token=r,this.isExpr=!!b,this.preserveSpace=!!K,this.override=be,this.generator=!!Ze},on={b_stat:new xn("{",!1),b_expr:new xn("{",!0),b_tmpl:new xn("${",!1),p_stat:new xn("(",!1),p_expr:new xn("(",!0),q_tmpl:new xn("`",!0,!0,function(r){return r.tryReadTemplateToken()}),f_stat:new xn("function",!1),f_expr:new xn("function",!0),f_expr_gen:new xn("function",!0,!1,null,!0),f_gen:new xn("function",!1,!1,null,!0)},Ko=Kr.prototype;Ko.initialContext=function(){return[on.b_stat]},Ko.braceIsBlock=function(r){var b=this.curContext();return b===on.f_expr||b===on.f_stat?!0:r===o.colon&&(b===on.b_stat||b===on.b_expr)?!b.isExpr:r===o._return||r===o.name&&this.exprAllowed?T.test(this.input.slice(this.lastTokEnd,this.start)):r===o._else||r===o.semi||r===o.eof||r===o.parenR||r===o.arrow?!0:r===o.braceL?b===on.b_stat:r===o._var||r===o._const||r===o.name?!1:!this.exprAllowed},Ko.inGeneratorContext=function(){for(var r=this.context.length-1;r>=1;r--){var b=this.context[r];if(b.token==="function")return b.generator}return!1},Ko.updateContext=function(r){var b,K=this.type;K.keyword&&r===o.dot?this.exprAllowed=!1:(b=K.updateContext)?b.call(this,r):this.exprAllowed=K.beforeExpr},o.parenR.updateContext=o.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var r=this.context.pop();r===on.b_stat&&this.curContext().token==="function"&&(r=this.context.pop()),this.exprAllowed=!r.isExpr},o.braceL.updateContext=function(r){this.context.push(this.braceIsBlock(r)?on.b_stat:on.b_expr),this.exprAllowed=!0},o.dollarBraceL.updateContext=function(){this.context.push(on.b_tmpl),this.exprAllowed=!0},o.parenL.updateContext=function(r){var b=r===o._if||r===o._for||r===o._with||r===o._while;this.context.push(b?on.p_stat:on.p_expr),this.exprAllowed=!0},o.incDec.updateContext=function(){},o._function.updateContext=o._class.updateContext=function(r){r.beforeExpr&&r!==o.semi&&r!==o._else&&!(r===o._return&&T.test(this.input.slice(this.lastTokEnd,this.start)))&&!((r===o.colon||r===o.braceL)&&this.curContext()===on.b_stat)?this.context.push(on.f_expr):this.context.push(on.f_stat),this.exprAllowed=!1},o.backQuote.updateContext=function(){this.curContext()===on.q_tmpl?this.context.pop():this.context.push(on.q_tmpl),this.exprAllowed=!1},o.star.updateContext=function(r){if(r===o._function){var b=this.context.length-1;this.context[b]===on.f_expr?this.context[b]=on.f_expr_gen:this.context[b]=on.f_gen}this.exprAllowed=!0},o.name.updateContext=function(r){var b=!1;this.options.ecmaVersion>=6&&r!==o.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(b=!0),this.exprAllowed=b};var Di="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",C=Di+" Extended_Pictographic",le=C,re={9:Di,10:C,11:le},de="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",Fe="Adlam Adlm Ahom 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 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",Nt=Fe+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Vt=Nt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Xt={9:Fe,10:Nt,11:Vt},hr={};function Fr(r){var b=hr[r]={binary:Or(re[r]+" "+de),nonBinary:{General_Category:Or(de),Script:Or(Xt[r])}};b.nonBinary.Script_Extensions=b.nonBinary.Script,b.nonBinary.gc=b.nonBinary.General_Category,b.nonBinary.sc=b.nonBinary.Script,b.nonBinary.scx=b.nonBinary.Script_Extensions}Fr(9),Fr(10),Fr(11);var dr=Kr.prototype,Cn=function(r){this.parser=r,this.validFlags="gim"+(r.options.ecmaVersion>=6?"uy":"")+(r.options.ecmaVersion>=9?"s":""),this.unicodeProperties=hr[r.options.ecmaVersion>=11?11:r.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Cn.prototype.reset=function(r,b,K){var be=K.indexOf("u")!==-1;this.start=r|0,this.source=b+"",this.flags=K,this.switchU=be&&this.parser.options.ecmaVersion>=6,this.switchN=be&&this.parser.options.ecmaVersion>=9},Cn.prototype.raise=function(r){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+r)},Cn.prototype.at=function(r,b){b===void 0&&(b=!1);var K=this.source,be=K.length;if(r>=be)return-1;var Ze=K.charCodeAt(r);if(!(b||this.switchU)||Ze<=55295||Ze>=57344||r+1>=be)return Ze;var jt=K.charCodeAt(r+1);return jt>=56320&&jt<=57343?(Ze<<10)+jt-56613888:Ze},Cn.prototype.nextIndex=function(r,b){b===void 0&&(b=!1);var K=this.source,be=K.length;if(r>=be)return be;var Ze=K.charCodeAt(r),jt;return!(b||this.switchU)||Ze<=55295||Ze>=57344||r+1>=be||(jt=K.charCodeAt(r+1))<56320||jt>57343?r+1:r+2},Cn.prototype.current=function(r){return r===void 0&&(r=!1),this.at(this.pos,r)},Cn.prototype.lookahead=function(r){return r===void 0&&(r=!1),this.at(this.nextIndex(this.pos,r),r)},Cn.prototype.advance=function(r){r===void 0&&(r=!1),this.pos=this.nextIndex(this.pos,r)},Cn.prototype.eat=function(r,b){return b===void 0&&(b=!1),this.current(b)===r?(this.advance(b),!0):!1};function Kn(r){return r<=65535?String.fromCharCode(r):(r-=65536,String.fromCharCode((r>>10)+55296,(r&1023)+56320))}dr.validateRegExpFlags=function(r){for(var b=r.validFlags,K=r.flags,be=0;be<K.length;be++){var Ze=K.charAt(be);b.indexOf(Ze)===-1&&this.raise(r.start,"Invalid regular expression flag"),K.indexOf(Ze,be+1)>-1&&this.raise(r.start,"Duplicate regular expression flag")}},dr.validateRegExpPattern=function(r){this.regexp_pattern(r),!r.switchN&&this.options.ecmaVersion>=9&&r.groupNames.length>0&&(r.switchN=!0,this.regexp_pattern(r))},dr.regexp_pattern=function(r){r.pos=0,r.lastIntValue=0,r.lastStringValue="",r.lastAssertionIsQuantifiable=!1,r.numCapturingParens=0,r.maxBackReference=0,r.groupNames.length=0,r.backReferenceNames.length=0,this.regexp_disjunction(r),r.pos!==r.source.length&&(r.eat(41)&&r.raise("Unmatched ')'"),(r.eat(93)||r.eat(125))&&r.raise("Lone quantifier brackets")),r.maxBackReference>r.numCapturingParens&&r.raise("Invalid escape");for(var b=0,K=r.backReferenceNames;b<K.length;b+=1){var be=K[b];r.groupNames.indexOf(be)===-1&&r.raise("Invalid named capture referenced")}},dr.regexp_disjunction=function(r){for(this.regexp_alternative(r);r.eat(124);)this.regexp_alternative(r);this.regexp_eatQuantifier(r,!0)&&r.raise("Nothing to repeat"),r.eat(123)&&r.raise("Lone quantifier brackets")},dr.regexp_alternative=function(r){for(;r.pos<r.source.length&&this.regexp_eatTerm(r););},dr.regexp_eatTerm=function(r){return this.regexp_eatAssertion(r)?(r.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(r)&&r.switchU&&r.raise("Invalid quantifier"),!0):(r.switchU?this.regexp_eatAtom(r):this.regexp_eatExtendedAtom(r))?(this.regexp_eatQuantifier(r),!0):!1},dr.regexp_eatAssertion=function(r){var b=r.pos;if(r.lastAssertionIsQuantifiable=!1,r.eat(94)||r.eat(36))return!0;if(r.eat(92)){if(r.eat(66)||r.eat(98))return!0;r.pos=b}if(r.eat(40)&&r.eat(63)){var K=!1;if(this.options.ecmaVersion>=9&&(K=r.eat(60)),r.eat(61)||r.eat(33))return this.regexp_disjunction(r),r.eat(41)||r.raise("Unterminated group"),r.lastAssertionIsQuantifiable=!K,!0}return r.pos=b,!1},dr.regexp_eatQuantifier=function(r,b){return b===void 0&&(b=!1),this.regexp_eatQuantifierPrefix(r,b)?(r.eat(63),!0):!1},dr.regexp_eatQuantifierPrefix=function(r,b){return r.eat(42)||r.eat(43)||r.eat(63)||this.regexp_eatBracedQuantifier(r,b)},dr.regexp_eatBracedQuantifier=function(r,b){var K=r.pos;if(r.eat(123)){var be=0,Ze=-1;if(this.regexp_eatDecimalDigits(r)&&(be=r.lastIntValue,r.eat(44)&&this.regexp_eatDecimalDigits(r)&&(Ze=r.lastIntValue),r.eat(125)))return Ze!==-1&&Ze<be&&!b&&r.raise("numbers out of order in {} quantifier"),!0;r.switchU&&!b&&r.raise("Incomplete quantifier"),r.pos=K}return!1},dr.regexp_eatAtom=function(r){return this.regexp_eatPatternCharacters(r)||r.eat(46)||this.regexp_eatReverseSolidusAtomEscape(r)||this.regexp_eatCharacterClass(r)||this.regexp_eatUncapturingGroup(r)||this.regexp_eatCapturingGroup(r)},dr.regexp_eatReverseSolidusAtomEscape=function(r){var b=r.pos;if(r.eat(92)){if(this.regexp_eatAtomEscape(r))return!0;r.pos=b}return!1},dr.regexp_eatUncapturingGroup=function(r){var b=r.pos;if(r.eat(40)){if(r.eat(63)&&r.eat(58)){if(this.regexp_disjunction(r),r.eat(41))return!0;r.raise("Unterminated group")}r.pos=b}return!1},dr.regexp_eatCapturingGroup=function(r){if(r.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(r):r.current()===63&&r.raise("Invalid group"),this.regexp_disjunction(r),r.eat(41))return r.numCapturingParens+=1,!0;r.raise("Unterminated group")}return!1},dr.regexp_eatExtendedAtom=function(r){return r.eat(46)||this.regexp_eatReverseSolidusAtomEscape(r)||this.regexp_eatCharacterClass(r)||this.regexp_eatUncapturingGroup(r)||this.regexp_eatCapturingGroup(r)||this.regexp_eatInvalidBracedQuantifier(r)||this.regexp_eatExtendedPatternCharacter(r)},dr.regexp_eatInvalidBracedQuantifier=function(r){return this.regexp_eatBracedQuantifier(r,!0)&&r.raise("Nothing to repeat"),!1},dr.regexp_eatSyntaxCharacter=function(r){var b=r.current();return xi(b)?(r.lastIntValue=b,r.advance(),!0):!1};function xi(r){return r===36||r>=40&&r<=43||r===46||r===63||r>=91&&r<=94||r>=123&&r<=125}dr.regexp_eatPatternCharacters=function(r){for(var b=r.pos,K=0;(K=r.current())!==-1&&!xi(K);)r.advance();return r.pos!==b},dr.regexp_eatExtendedPatternCharacter=function(r){var b=r.current();return b!==-1&&b!==36&&!(b>=40&&b<=43)&&b!==46&&b!==63&&b!==91&&b!==94&&b!==124?(r.advance(),!0):!1},dr.regexp_groupSpecifier=function(r){if(r.eat(63)){if(this.regexp_eatGroupName(r)){r.groupNames.indexOf(r.lastStringValue)!==-1&&r.raise("Duplicate capture group name"),r.groupNames.push(r.lastStringValue);return}r.raise("Invalid group")}},dr.regexp_eatGroupName=function(r){if(r.lastStringValue="",r.eat(60)){if(this.regexp_eatRegExpIdentifierName(r)&&r.eat(62))return!0;r.raise("Invalid capture group name")}return!1},dr.regexp_eatRegExpIdentifierName=function(r){if(r.lastStringValue="",this.regexp_eatRegExpIdentifierStart(r)){for(r.lastStringValue+=Kn(r.lastIntValue);this.regexp_eatRegExpIdentifierPart(r);)r.lastStringValue+=Kn(r.lastIntValue);return!0}return!1},dr.regexp_eatRegExpIdentifierStart=function(r){var b=r.pos,K=this.options.ecmaVersion>=11,be=r.current(K);return r.advance(K),be===92&&this.regexp_eatRegExpUnicodeEscapeSequence(r,K)&&(be=r.lastIntValue),Yi(be)?(r.lastIntValue=be,!0):(r.pos=b,!1)};function Yi(r){return Le(r,!0)||r===36||r===95}dr.regexp_eatRegExpIdentifierPart=function(r){var b=r.pos,K=this.options.ecmaVersion>=11,be=r.current(K);return r.advance(K),be===92&&this.regexp_eatRegExpUnicodeEscapeSequence(r,K)&&(be=r.lastIntValue),Jn(be)?(r.lastIntValue=be,!0):(r.pos=b,!1)};function Jn(r){return ot(r,!0)||r===36||r===95||r===8204||r===8205}dr.regexp_eatAtomEscape=function(r){return this.regexp_eatBackReference(r)||this.regexp_eatCharacterClassEscape(r)||this.regexp_eatCharacterEscape(r)||r.switchN&&this.regexp_eatKGroupName(r)?!0:(r.switchU&&(r.current()===99&&r.raise("Invalid unicode escape"),r.raise("Invalid escape")),!1)},dr.regexp_eatBackReference=function(r){var b=r.pos;if(this.regexp_eatDecimalEscape(r)){var K=r.lastIntValue;if(r.switchU)return K>r.maxBackReference&&(r.maxBackReference=K),!0;if(K<=r.numCapturingParens)return!0;r.pos=b}return!1},dr.regexp_eatKGroupName=function(r){if(r.eat(107)){if(this.regexp_eatGroupName(r))return r.backReferenceNames.push(r.lastStringValue),!0;r.raise("Invalid named reference")}return!1},dr.regexp_eatCharacterEscape=function(r){return this.regexp_eatControlEscape(r)||this.regexp_eatCControlLetter(r)||this.regexp_eatZero(r)||this.regexp_eatHexEscapeSequence(r)||this.regexp_eatRegExpUnicodeEscapeSequence(r,!1)||!r.switchU&&this.regexp_eatLegacyOctalEscapeSequence(r)||this.regexp_eatIdentityEscape(r)},dr.regexp_eatCControlLetter=function(r){var b=r.pos;if(r.eat(99)){if(this.regexp_eatControlLetter(r))return!0;r.pos=b}return!1},dr.regexp_eatZero=function(r){return r.current()===48&&!Ki(r.lookahead())?(r.lastIntValue=0,r.advance(),!0):!1},dr.regexp_eatControlEscape=function(r){var b=r.current();return b===116?(r.lastIntValue=9,r.advance(),!0):b===110?(r.lastIntValue=10,r.advance(),!0):b===118?(r.lastIntValue=11,r.advance(),!0):b===102?(r.lastIntValue=12,r.advance(),!0):b===114?(r.lastIntValue=13,r.advance(),!0):!1},dr.regexp_eatControlLetter=function(r){var b=r.current();return Xi(b)?(r.lastIntValue=b%32,r.advance(),!0):!1};function Xi(r){return r>=65&&r<=90||r>=97&&r<=122}dr.regexp_eatRegExpUnicodeEscapeSequence=function(r,b){b===void 0&&(b=!1);var K=r.pos,be=b||r.switchU;if(r.eat(117)){if(this.regexp_eatFixedHexDigits(r,4)){var Ze=r.lastIntValue;if(be&&Ze>=55296&&Ze<=56319){var jt=r.pos;if(r.eat(92)&&r.eat(117)&&this.regexp_eatFixedHexDigits(r,4)){var $t=r.lastIntValue;if($t>=56320&&$t<=57343)return r.lastIntValue=(Ze-55296)*1024+($t-56320)+65536,!0}r.pos=jt,r.lastIntValue=Ze}return!0}if(be&&r.eat(123)&&this.regexp_eatHexDigits(r)&&r.eat(125)&&Gs(r.lastIntValue))return!0;be&&r.raise("Invalid unicode escape"),r.pos=K}return!1};function Gs(r){return r>=0&&r<=1114111}dr.regexp_eatIdentityEscape=function(r){if(r.switchU)return this.regexp_eatSyntaxCharacter(r)?!0:r.eat(47)?(r.lastIntValue=47,!0):!1;var b=r.current();return b!==99&&(!r.switchN||b!==107)?(r.lastIntValue=b,r.advance(),!0):!1},dr.regexp_eatDecimalEscape=function(r){r.lastIntValue=0;var b=r.current();if(b>=49&&b<=57){do r.lastIntValue=10*r.lastIntValue+(b-48),r.advance();while((b=r.current())>=48&&b<=57);return!0}return!1},dr.regexp_eatCharacterClassEscape=function(r){var b=r.current();if(Ws(b))return r.lastIntValue=-1,r.advance(),!0;if(r.switchU&&this.options.ecmaVersion>=9&&(b===80||b===112)){if(r.lastIntValue=-1,r.advance(),r.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(r)&&r.eat(125))return!0;r.raise("Invalid property name")}return!1};function Ws(r){return r===100||r===68||r===115||r===83||r===119||r===87}dr.regexp_eatUnicodePropertyValueExpression=function(r){var b=r.pos;if(this.regexp_eatUnicodePropertyName(r)&&r.eat(61)){var K=r.lastStringValue;if(this.regexp_eatUnicodePropertyValue(r)){var be=r.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(r,K,be),!0}}if(r.pos=b,this.regexp_eatLoneUnicodePropertyNameOrValue(r)){var Ze=r.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(r,Ze),!0}return!1},dr.regexp_validateUnicodePropertyNameAndValue=function(r,b,K){Sr(r.unicodeProperties.nonBinary,b)||r.raise("Invalid property name"),r.unicodeProperties.nonBinary[b].test(K)||r.raise("Invalid property value")},dr.regexp_validateUnicodePropertyNameOrValue=function(r,b){r.unicodeProperties.binary.test(b)||r.raise("Invalid property name")},dr.regexp_eatUnicodePropertyName=function(r){var b=0;for(r.lastStringValue="";Rs(b=r.current());)r.lastStringValue+=Kn(b),r.advance();return r.lastStringValue!==""};function Rs(r){return Xi(r)||r===95}dr.regexp_eatUnicodePropertyValue=function(r){var b=0;for(r.lastStringValue="";Js(b=r.current());)r.lastStringValue+=Kn(b),r.advance();return r.lastStringValue!==""};function Js(r){return Rs(r)||Ki(r)}dr.regexp_eatLoneUnicodePropertyNameOrValue=function(r){return this.regexp_eatUnicodePropertyValue(r)},dr.regexp_eatCharacterClass=function(r){if(r.eat(91)){if(r.eat(94),this.regexp_classRanges(r),r.eat(93))return!0;r.raise("Unterminated character class")}return!1},dr.regexp_classRanges=function(r){for(;this.regexp_eatClassAtom(r);){var b=r.lastIntValue;if(r.eat(45)&&this.regexp_eatClassAtom(r)){var K=r.lastIntValue;r.switchU&&(b===-1||K===-1)&&r.raise("Invalid character class"),b!==-1&&K!==-1&&b>K&&r.raise("Range out of order in character class")}}},dr.regexp_eatClassAtom=function(r){var b=r.pos;if(r.eat(92)){if(this.regexp_eatClassEscape(r))return!0;if(r.switchU){var K=r.current();(K===99||Fs(K))&&r.raise("Invalid class escape"),r.raise("Invalid escape")}r.pos=b}var be=r.current();return be!==93?(r.lastIntValue=be,r.advance(),!0):!1},dr.regexp_eatClassEscape=function(r){var b=r.pos;if(r.eat(98))return r.lastIntValue=8,!0;if(r.switchU&&r.eat(45))return r.lastIntValue=45,!0;if(!r.switchU&&r.eat(99)){if(this.regexp_eatClassControlLetter(r))return!0;r.pos=b}return this.regexp_eatCharacterClassEscape(r)||this.regexp_eatCharacterEscape(r)},dr.regexp_eatClassControlLetter=function(r){var b=r.current();return Ki(b)||b===95?(r.lastIntValue=b%32,r.advance(),!0):!1},dr.regexp_eatHexEscapeSequence=function(r){var b=r.pos;if(r.eat(120)){if(this.regexp_eatFixedHexDigits(r,2))return!0;r.switchU&&r.raise("Invalid escape"),r.pos=b}return!1},dr.regexp_eatDecimalDigits=function(r){var b=r.pos,K=0;for(r.lastIntValue=0;Ki(K=r.current());)r.lastIntValue=10*r.lastIntValue+(K-48),r.advance();return r.pos!==b};function Ki(r){return r>=48&&r<=57}dr.regexp_eatHexDigits=function(r){var b=r.pos,K=0;for(r.lastIntValue=0;Os(K=r.current());)r.lastIntValue=16*r.lastIntValue+bs(K),r.advance();return r.pos!==b};function Os(r){return r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102}function bs(r){return r>=65&&r<=70?10+(r-65):r>=97&&r<=102?10+(r-97):r-48}dr.regexp_eatLegacyOctalEscapeSequence=function(r){if(this.regexp_eatOctalDigit(r)){var b=r.lastIntValue;if(this.regexp_eatOctalDigit(r)){var K=r.lastIntValue;b<=3&&this.regexp_eatOctalDigit(r)?r.lastIntValue=b*64+K*8+r.lastIntValue:r.lastIntValue=b*8+K}else r.lastIntValue=b;return!0}return!1},dr.regexp_eatOctalDigit=function(r){var b=r.current();return Fs(b)?(r.lastIntValue=b-48,r.advance(),!0):(r.lastIntValue=0,!1)};function Fs(r){return r>=48&&r<=55}dr.regexp_eatFixedHexDigits=function(r,b){var K=r.pos;r.lastIntValue=0;for(var be=0;be<b;++be){var Ze=r.current();if(!Os(Ze))return r.pos=K,!1;r.lastIntValue=16*r.lastIntValue+bs(Ze),r.advance()}return!0};var Zi=function(r){this.type=r.type,this.value=r.value,this.start=r.start,this.end=r.end,r.options.locations&&(this.loc=new wn(r,r.startLoc,r.endLoc)),r.options.ranges&&(this.range=[r.start,r.end])},Ir=Kr.prototype;Ir.next=function(r){!r&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Zi(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ir.getToken=function(){return this.next(),new Zi(this)},typeof Symbol<"u"&&(Ir[Symbol.iterator]=function(){var r=this;return{next:function(){var b=r.getToken();return{done:b.type===o.eof,value:b}}}}),Ir.curContext=function(){return this.context[this.context.length-1]},Ir.nextToken=function(){var r=this.curContext();if((!r||!r.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(o.eof);if(r.override)return r.override(this);this.readToken(this.fullCharCodeAtPos())},Ir.readToken=function(r){return Le(r,this.options.ecmaVersion>=6)||r===92?this.readWord():this.getTokenFromCode(r)},Ir.fullCharCodeAtPos=function(){var r=this.input.charCodeAt(this.pos);if(r<=55295||r>=57344)return r;var b=this.input.charCodeAt(this.pos+1);return(r<<10)+b-56613888},Ir.skipBlockComment=function(){var r=this.options.onComment&&this.curPosition(),b=this.pos,K=this.input.indexOf("*/",this.pos+=2);if(K===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=K+2,this.options.locations){Q.lastIndex=b;for(var be;(be=Q.exec(this.input))&&be.index<this.pos;)++this.curLine,this.lineStart=be.index+be[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(b+2,K),b,this.pos,r,this.curPosition())},Ir.skipLineComment=function(r){for(var b=this.pos,K=this.options.onComment&&this.curPosition(),be=this.input.charCodeAt(this.pos+=r);this.pos<this.input.length&&!ke(be);)be=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(b+r,this.pos),b,this.pos,K,this.curPosition())},Ir.skipSpace=function(){e:for(;this.pos<this.input.length;){var r=this.input.charCodeAt(this.pos);switch(r){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(r>8&&r<14||r>=5760&&Tt.test(String.fromCharCode(r)))++this.pos;else break e}}},Ir.finishToken=function(r,b){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var K=this.type;this.type=r,this.value=b,this.updateContext(K)},Ir.readToken_dot=function(){var r=this.input.charCodeAt(this.pos+1);if(r>=48&&r<=57)return this.readNumber(!0);var b=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&r===46&&b===46?(this.pos+=3,this.finishToken(o.ellipsis)):(++this.pos,this.finishToken(o.dot))},Ir.readToken_slash=function(){var r=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):r===61?this.finishOp(o.assign,2):this.finishOp(o.slash,1)},Ir.readToken_mult_modulo_exp=function(r){var b=this.input.charCodeAt(this.pos+1),K=1,be=r===42?o.star:o.modulo;return this.options.ecmaVersion>=7&&r===42&&b===42&&(++K,be=o.starstar,b=this.input.charCodeAt(this.pos+2)),b===61?this.finishOp(o.assign,K+1):this.finishOp(be,K)},Ir.readToken_pipe_amp=function(r){var b=this.input.charCodeAt(this.pos+1);if(b===r){if(this.options.ecmaVersion>=12){var K=this.input.charCodeAt(this.pos+2);if(K===61)return this.finishOp(o.assign,3)}return this.finishOp(r===124?o.logicalOR:o.logicalAND,2)}return b===61?this.finishOp(o.assign,2):this.finishOp(r===124?o.bitwiseOR:o.bitwiseAND,1)},Ir.readToken_caret=function(){var r=this.input.charCodeAt(this.pos+1);return r===61?this.finishOp(o.assign,2):this.finishOp(o.bitwiseXOR,1)},Ir.readToken_plus_min=function(r){var b=this.input.charCodeAt(this.pos+1);return b===r?b===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||T.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(o.incDec,2):b===61?this.finishOp(o.assign,2):this.finishOp(o.plusMin,1)},Ir.readToken_lt_gt=function(r){var b=this.input.charCodeAt(this.pos+1),K=1;return b===r?(K=r===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+K)===61?this.finishOp(o.assign,K+1):this.finishOp(o.bitShift,K)):b===33&&r===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(b===61&&(K=2),this.finishOp(o.relational,K))},Ir.readToken_eq_excl=function(r){var b=this.input.charCodeAt(this.pos+1);return b===61?this.finishOp(o.equality,this.input.charCodeAt(this.pos+2)===61?3:2):r===61&&b===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(o.arrow)):this.finishOp(r===61?o.eq:o.prefix,1)},Ir.readToken_question=function(){var r=this.options.ecmaVersion;if(r>=11){var b=this.input.charCodeAt(this.pos+1);if(b===46){var K=this.input.charCodeAt(this.pos+2);if(K<48||K>57)return this.finishOp(o.questionDot,2)}if(b===63){if(r>=12){var be=this.input.charCodeAt(this.pos+2);if(be===61)return this.finishOp(o.assign,3)}return this.finishOp(o.coalesce,2)}}return this.finishOp(o.question,1)},Ir.getTokenFromCode=function(r){switch(r){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(o.parenL);case 41:return++this.pos,this.finishToken(o.parenR);case 59:return++this.pos,this.finishToken(o.semi);case 44:return++this.pos,this.finishToken(o.comma);case 91:return++this.pos,this.finishToken(o.bracketL);case 93:return++this.pos,this.finishToken(o.bracketR);case 123:return++this.pos,this.finishToken(o.braceL);case 125:return++this.pos,this.finishToken(o.braceR);case 58:return++this.pos,this.finishToken(o.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(o.backQuote);case 48:var b=this.input.charCodeAt(this.pos+1);if(b===120||b===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(b===111||b===79)return this.readRadixNumber(8);if(b===98||b===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(r);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(r);case 124:case 38:return this.readToken_pipe_amp(r);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(r);case 60:case 62:return this.readToken_lt_gt(r);case 61:case 33:return this.readToken_eq_excl(r);case 63:return this.readToken_question();case 126:return this.finishOp(o.prefix,1)}this.raise(this.pos,"Unexpected character '"+Zo(r)+"'")},Ir.finishOp=function(r,b){var K=this.input.slice(this.pos,this.pos+b);return this.pos+=b,this.finishToken(r,K)},Ir.readRegexp=function(){for(var r,b,K=this.pos;;){this.pos>=this.input.length&&this.raise(K,"Unterminated regular expression");var be=this.input.charAt(this.pos);if(T.test(be)&&this.raise(K,"Unterminated regular expression"),r)r=!1;else{if(be==="[")b=!0;else if(be==="]"&&b)b=!1;else if(be==="/"&&!b)break;r=be==="\\"}++this.pos}var Ze=this.input.slice(K,this.pos);++this.pos;var jt=this.pos,$t=this.readWord1();this.containsEsc&&this.unexpected(jt);var Jt=this.regexpState||(this.regexpState=new Cn(this));Jt.reset(K,Ze,$t),this.validateRegExpFlags(Jt),this.validateRegExpPattern(Jt);var Er=null;try{Er=new RegExp(Ze,$t)}catch{}return this.finishToken(o.regexp,{pattern:Ze,flags:$t,value:Er})},Ir.readInt=function(r,b,K){for(var be=this.options.ecmaVersion>=12&&b===void 0,Ze=K&&this.input.charCodeAt(this.pos)===48,jt=this.pos,$t=0,Jt=0,Er=0,kr=b??1/0;Er<kr;++Er,++this.pos){var en=this.input.charCodeAt(this.pos),Tn=void 0;if(be&&en===95){Ze&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Jt===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Er===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Jt=en;continue}if(en>=97?Tn=en-97+10:en>=65?Tn=en-65+10:en>=48&&en<=57?Tn=en-48:Tn=1/0,Tn>=r)break;Jt=en,$t=$t*r+Tn}return be&&Jt===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===jt||b!=null&&this.pos-jt!==b?null:$t};function qs(r,b){return b?parseInt(r,8):parseFloat(r.replace(/_/g,""))}function Io(r){return typeof BigInt!="function"?null:BigInt(r.replace(/_/g,""))}Ir.readRadixNumber=function(r){var b=this.pos;this.pos+=2;var K=this.readInt(r);return K==null&&this.raise(this.start+2,"Expected number in radix "+r),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(K=Io(this.input.slice(b,this.pos)),++this.pos):Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,K)},Ir.readNumber=function(r){var b=this.pos;!r&&this.readInt(10,void 0,!0)===null&&this.raise(b,"Invalid number");var K=this.pos-b>=2&&this.input.charCodeAt(b)===48;K&&this.strict&&this.raise(b,"Invalid number");var be=this.input.charCodeAt(this.pos);if(!K&&!r&&this.options.ecmaVersion>=11&&be===110){var Ze=Io(this.input.slice(b,this.pos));return++this.pos,Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,Ze)}K&&/[89]/.test(this.input.slice(b,this.pos))&&(K=!1),be===46&&!K&&(++this.pos,this.readInt(10),be=this.input.charCodeAt(this.pos)),(be===69||be===101)&&!K&&(be=this.input.charCodeAt(++this.pos),(be===43||be===45)&&++this.pos,this.readInt(10)===null&&this.raise(b,"Invalid number")),Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var jt=qs(this.input.slice(b,this.pos),K);return this.finishToken(o.num,jt)},Ir.readCodePoint=function(){var r=this.input.charCodeAt(this.pos),b;if(r===123){this.options.ecmaVersion<6&&this.unexpected();var K=++this.pos;b=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,b>1114111&&this.invalidStringToken(K,"Code point out of bounds")}else b=this.readHexChar(4);return b};function Zo(r){return r<=65535?String.fromCharCode(r):(r-=65536,String.fromCharCode((r>>10)+55296,(r&1023)+56320))}Ir.readString=function(r){for(var b="",K=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var be=this.input.charCodeAt(this.pos);if(be===r)break;be===92?(b+=this.input.slice(K,this.pos),b+=this.readEscapedChar(!1),K=this.pos):(ke(be,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return b+=this.input.slice(K,this.pos++),this.finishToken(o.string,b)};var Qo={};Ir.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(r){if(r===Qo)this.readInvalidTemplateToken();else throw r}this.inTemplateElement=!1},Ir.invalidStringToken=function(r,b){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Qo;this.raise(r,b)},Ir.readTmplToken=function(){for(var r="",b=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var K=this.input.charCodeAt(this.pos);if(K===96||K===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===o.template||this.type===o.invalidTemplate)?K===36?(this.pos+=2,this.finishToken(o.dollarBraceL)):(++this.pos,this.finishToken(o.backQuote)):(r+=this.input.slice(b,this.pos),this.finishToken(o.template,r));if(K===92)r+=this.input.slice(b,this.pos),r+=this.readEscapedChar(!0),b=this.pos;else if(ke(K)){switch(r+=this.input.slice(b,this.pos),++this.pos,K){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:r+=`
|
|
36
|
+
`;break;default:r+=String.fromCharCode(K);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),b=this.pos}else++this.pos}},Ir.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(o.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Ir.readEscapedChar=function(r){var b=this.input.charCodeAt(++this.pos);switch(++this.pos,b){case 110:return`
|
|
37
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Zo(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(r){var K=this.pos-1;return this.invalidStringToken(K,"Invalid escape sequence in template string"),null}default:if(b>=48&&b<=55){var be=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],Ze=parseInt(be,8);return Ze>255&&(be=be.slice(0,-1),Ze=parseInt(be,8)),this.pos+=be.length-1,b=this.input.charCodeAt(this.pos),(be!=="0"||b===56||b===57)&&(this.strict||r)&&this.invalidStringToken(this.pos-1-be.length,r?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(Ze)}return ke(b)?"":String.fromCharCode(b)}},Ir.readHexChar=function(r){var b=this.pos,K=this.readInt(16,r);return K===null&&this.invalidStringToken(b,"Bad character escape sequence"),K},Ir.readWord1=function(){this.containsEsc=!1;for(var r="",b=!0,K=this.pos,be=this.options.ecmaVersion>=6;this.pos<this.input.length;){var Ze=this.fullCharCodeAtPos();if(ot(Ze,be))this.pos+=Ze<=65535?1:2;else if(Ze===92){this.containsEsc=!0,r+=this.input.slice(K,this.pos);var jt=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var $t=this.readCodePoint();(b?Le:ot)($t,be)||this.invalidStringToken(jt,"Invalid Unicode escape"),r+=Zo($t),K=this.pos}else break;b=!1}return r+this.input.slice(K,this.pos)},Ir.readWord=function(){var r=this.readWord1(),b=o.name;return this.keywords.test(r)&&(b=At[r]),this.finishToken(b,r)};var Es="7.4.1";Kr.acorn={Parser:Kr,version:Es,defaultOptions:Gn,Position:jr,SourceLocation:wn,getLineInfo:Sn,Node:nn,TokenType:St,tokTypes:o,keywordTypes:At,TokContext:xn,tokContexts:on,isIdentifierChar:ot,isIdentifierStart:Le,Token:Zi,isNewLine:ke,lineBreak:T,lineBreakG:Q,nonASCIIwhitespace:Tt};function Ys(r,b){return Kr.parse(r,b)}function Xs(r,b,K){return Kr.parseExpressionAt(r,b,K)}function Ks(r,b){return Kr.tokenizer(r,b)}x.Node=nn,x.Parser=Kr,x.Position=jr,x.SourceLocation=wn,x.TokContext=xn,x.Token=Zi,x.TokenType=St,x.defaultOptions=Gn,x.getLineInfo=Sn,x.isIdentifierChar=ot,x.isIdentifierStart=Le,x.isNewLine=ke,x.keywordTypes=At,x.lineBreak=T,x.lineBreakG=Q,x.nonASCIIwhitespace=Tt,x.parse=Ys,x.parseExpressionAt=Xs,x.tokContexts=on,x.tokTypes=o,x.tokenizer=Ks,x.version=Es,Object.defineProperty(x,"__esModule",{value:!0})}))}}),tr=(0,p.__commonJS)({"../../../node_modules/acorn-jsx/xhtml.js"(_,O){O.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}}}),dn=(0,p.__commonJS)({"../../../node_modules/acorn-jsx/index.js"(_,O){"use strict";var x=tr(),_e=/^[\da-fA-F]+$/,Ie=/^\d+$/,Je=new WeakMap;function Oe(Xe){Xe=Xe.Parser.acorn||Xe;let Ke=Je.get(Xe);if(!Ke){let Et=Xe.tokTypes,st=Xe.TokContext,it=Xe.TokenType,Le=new st("<tag",!1),ot=new st("</tag",!1),St=new st("<tag>...</tag>",!0,!0),vt={tc_oTag:Le,tc_cTag:ot,tc_expr:St},bt={jsxName:new it("jsxName"),jsxText:new it("jsxText",{beforeExpr:!0}),jsxTagStart:new it("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new it("jsxTagEnd")};bt.jsxTagStart.updateContext=function(){this.context.push(St),this.context.push(Le),this.exprAllowed=!1},bt.jsxTagEnd.updateContext=function(nr){let At=this.context.pop();At===Le&&nr===Et.slash||At===ot?(this.context.pop(),this.exprAllowed=this.curContext()===St):this.exprAllowed=!0},Ke={tokContexts:vt,tokTypes:bt},Je.set(Xe,Ke)}return Ke}function Be(Xe){if(!Xe)return Xe;if(Xe.type==="JSXIdentifier")return Xe.name;if(Xe.type==="JSXNamespacedName")return Xe.namespace.name+":"+Xe.name.name;if(Xe.type==="JSXMemberExpression")return Be(Xe.object)+"."+Be(Xe.property)}O.exports=function(Xe){return Xe=Xe||{},function(Ke){return Pe({allowNamespaces:Xe.allowNamespaces!==!1,allowNamespacedObjects:!!Xe.allowNamespacedObjects},Ke)}},Object.defineProperty(O.exports,"tokTypes",{get:function(){return Oe(tn()).tokTypes},configurable:!0,enumerable:!0});function Pe(Xe,Ke){let Et=Ke.acorn||tn(),st=Oe(Et),it=Et.tokTypes,Le=st.tokTypes,ot=Et.tokContexts,St=st.tokContexts.tc_oTag,vt=st.tokContexts.tc_cTag,bt=st.tokContexts.tc_expr,nr=Et.isNewLine,At=Et.isIdentifierStart,et=Et.isIdentifierChar;return class extends Ke{static get acornJsx(){return st}jsx_readToken(){let o="",T=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let Q=this.input.charCodeAt(this.pos);switch(Q){case 60:case 123:return this.pos===this.start?Q===60&&this.exprAllowed?(++this.pos,this.finishToken(Le.jsxTagStart)):this.getTokenFromCode(Q):(o+=this.input.slice(T,this.pos),this.finishToken(Le.jsxText,o));case 38:o+=this.input.slice(T,this.pos),o+=this.jsx_readEntity(),T=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(Q===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:nr(Q)?(o+=this.input.slice(T,this.pos),o+=this.jsx_readNewLine(!0),T=this.pos):++this.pos}}}jsx_readNewLine(o){let T=this.input.charCodeAt(this.pos),Q;return++this.pos,T===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,Q=o?`
|
|
38
|
+
`:`\r
|
|
39
|
+
`):Q=String.fromCharCode(T),this.options.locations&&(++this.curLine,this.lineStart=this.pos),Q}jsx_readString(o){let T="",Q=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let ke=this.input.charCodeAt(this.pos);if(ke===o)break;ke===38?(T+=this.input.slice(Q,this.pos),T+=this.jsx_readEntity(),Q=this.pos):nr(ke)?(T+=this.input.slice(Q,this.pos),T+=this.jsx_readNewLine(!1),Q=this.pos):++this.pos}return T+=this.input.slice(Q,this.pos++),this.finishToken(it.string,T)}jsx_readEntity(){let o="",T=0,Q,ke=this.input[this.pos];ke!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let Tt=++this.pos;for(;this.pos<this.input.length&&T++<10;){if(ke=this.input[this.pos++],ke===";"){o[0]==="#"?o[1]==="x"?(o=o.substr(2),_e.test(o)&&(Q=String.fromCharCode(parseInt(o,16)))):(o=o.substr(1),Ie.test(o)&&(Q=String.fromCharCode(parseInt(o,10)))):Q=x[o];break}o+=ke}return Q||(this.pos=Tt,"&")}jsx_readWord(){let o,T=this.pos;do o=this.input.charCodeAt(++this.pos);while(et(o)||o===45);return this.finishToken(Le.jsxName,this.input.slice(T,this.pos))}jsx_parseIdentifier(){let o=this.startNode();return this.type===Le.jsxName?o.name=this.value:this.type.keyword?o.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(o,"JSXIdentifier")}jsx_parseNamespacedName(){let o=this.start,T=this.startLoc,Q=this.jsx_parseIdentifier();if(!Xe.allowNamespaces||!this.eat(it.colon))return Q;var ke=this.startNodeAt(o,T);return ke.namespace=Q,ke.name=this.jsx_parseIdentifier(),this.finishNode(ke,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===Le.jsxTagEnd)return"";let o=this.start,T=this.startLoc,Q=this.jsx_parseNamespacedName();for(this.type===it.dot&&Q.type==="JSXNamespacedName"&&!Xe.allowNamespacedObjects&&this.unexpected();this.eat(it.dot);){let ke=this.startNodeAt(o,T);ke.object=Q,ke.property=this.jsx_parseIdentifier(),Q=this.finishNode(ke,"JSXMemberExpression")}return Q}jsx_parseAttributeValue(){switch(this.type){case it.braceL:let o=this.jsx_parseExpressionContainer();return o.expression.type==="JSXEmptyExpression"&&this.raise(o.start,"JSX attributes must only be assigned a non-empty expression"),o;case Le.jsxTagStart:case it.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let o=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(o,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let o=this.startNode();return this.next(),o.expression=this.type===it.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(it.braceR),this.finishNode(o,"JSXExpressionContainer")}jsx_parseAttribute(){let o=this.startNode();return this.eat(it.braceL)?(this.expect(it.ellipsis),o.argument=this.parseMaybeAssign(),this.expect(it.braceR),this.finishNode(o,"JSXSpreadAttribute")):(o.name=this.jsx_parseNamespacedName(),o.value=this.eat(it.eq)?this.jsx_parseAttributeValue():null,this.finishNode(o,"JSXAttribute"))}jsx_parseOpeningElementAt(o,T){let Q=this.startNodeAt(o,T);Q.attributes=[];let ke=this.jsx_parseElementName();for(ke&&(Q.name=ke);this.type!==it.slash&&this.type!==Le.jsxTagEnd;)Q.attributes.push(this.jsx_parseAttribute());return Q.selfClosing=this.eat(it.slash),this.expect(Le.jsxTagEnd),this.finishNode(Q,ke?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(o,T){let Q=this.startNodeAt(o,T),ke=this.jsx_parseElementName();return ke&&(Q.name=ke),this.expect(Le.jsxTagEnd),this.finishNode(Q,ke?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(o,T){let Q=this.startNodeAt(o,T),ke=[],Tt=this.jsx_parseOpeningElementAt(o,T),Lt=null;if(!Tt.selfClosing){e:for(;;)switch(this.type){case Le.jsxTagStart:if(o=this.start,T=this.startLoc,this.next(),this.eat(it.slash)){Lt=this.jsx_parseClosingElementAt(o,T);break e}ke.push(this.jsx_parseElementAt(o,T));break;case Le.jsxText:ke.push(this.parseExprAtom());break;case it.braceL:ke.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}Be(Lt.name)!==Be(Tt.name)&&this.raise(Lt.start,"Expected corresponding JSX closing tag for <"+Be(Tt.name)+">")}let Wt=Tt.name?"Element":"Fragment";return Q["opening"+Wt]=Tt,Q["closing"+Wt]=Lt,Q.children=ke,this.type===it.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(Q,"JSX"+Wt)}jsx_parseText(){let o=this.parseLiteral(this.value);return o.type="JSXText",o}jsx_parseElement(){let o=this.start,T=this.startLoc;return this.next(),this.jsx_parseElementAt(o,T)}parseExprAtom(o){return this.type===Le.jsxText?this.jsx_parseText():this.type===Le.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(o)}readToken(o){let T=this.curContext();if(T===bt)return this.jsx_readToken();if(T===St||T===vt){if(At(o))return this.jsx_readWord();if(o==62)return++this.pos,this.finishToken(Le.jsxTagEnd);if((o===34||o===39)&&T==St)return this.jsx_readString(o)}return o===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(Le.jsxTagStart)):super.readToken(o)}updateContext(o){if(this.type==it.braceL){var T=this.curContext();T==St?this.context.push(ot.b_expr):T==bt?this.context.push(ot.b_tmpl):super.updateContext(o),this.exprAllowed=!0}else if(this.type===it.slash&&o===Le.jsxTagStart)this.context.length-=2,this.context.push(vt),this.exprAllowed=!1;else return super.updateContext(o)}}}}}),un=(0,p.__commonJS)({"../../../node_modules/html-tags/html-tags.json"(_,O){O.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),xr=(0,p.__commonJS)({"../../../node_modules/html-tags/index.js"(_,O){"use strict";O.exports=un()}}),rn={};(0,p.__export)(rn,{argTypesEnhancers:()=>Ai,parameters:()=>Ei});var $r="custom",sn="object",En="array",qr="class",Qr="func",An="element",So=(0,p.__toESM)(Jr(),1);function Ho(_){for(var O=[],x=1;x<arguments.length;x++)O[x-1]=arguments[x];var _e=Array.from(typeof _=="string"?[_]:_);_e[_e.length-1]=_e[_e.length-1].replace(/\r?\n([\t ]*)$/,"");var Ie=_e.reduce(function(Be,Pe){var Xe=Pe.match(/\n([\t ]+|(?!\s).)/g);return Xe?Be.concat(Xe.map(function(Ke){var Et,st;return(st=(Et=Ke.match(/[\t ]/g))===null||Et===void 0?void 0:Et.length)!==null&&st!==void 0?st:0})):Be},[]);if(Ie.length){var Je=new RegExp(`
|
|
40
|
+
[ ]{`+Math.min.apply(Math,Ie)+"}","g");_e=_e.map(function(Be){return Be.replace(Je,`
|
|
41
|
+
`)})}_e[0]=_e[0].replace(/^\r?\n/,"");var Oe=_e[0];return O.forEach(function(Be,Pe){var Xe=Oe.match(/(?:^|\n)( *)$/),Ke=Xe?Xe[1]:"",Et=Be;typeof Be=="string"&&Be.includes(`
|
|
42
|
+
`)&&(Et=String(Be).split(`
|
|
43
|
+
`).map(function(st,it){return it===0?st:""+Ke+st}).join(`
|
|
44
|
+
`)),Oe+=Et+_e[Pe+1]}),Oe}var Do={format:{indent:{style:" "},semicolons:!1}},Oi={...Do,format:{newline:""}},Fi={...Do};function Un(_,O=!1){return(0,So.generate)(_,O?Oi:Fi)}function Br(_,O=!1){return O?is(_):Un(_)}function is(_){let O=Un(_,!0);return O.endsWith(" }")||(O=`${O.slice(0,-1)} }`),O}function fo(_,O=!1){return O?ai(_):si(_)}function si(_){let O=Un(_);return O.endsWith(" }]")&&(O=Ho(O)),O}function ai(_){let O=Un(_,!0);return O.startsWith("[ ")&&(O=O.replace("[ ","[")),O}var ss=(0,p.__toESM)(tn(),1),ho=(0,p.__toESM)(dn(),1);function ji(_,O,x,_e,Ie){x||(x=Z),(function Je(Oe,Be,Pe){var Xe=Pe||Oe.type,Ke=O[Xe];x[Xe](Oe,Be,Je),Ke&&Ke(Oe,Be)})(_,_e,Ie)}function ui(_,O,x,_e,Ie){var Je=[];x||(x=Z),(function Oe(Be,Pe,Xe){var Ke=Xe||Be.type,Et=O[Ke],st=Be!==Je[Je.length-1];st&&Je.push(Be),x[Ke](Be,Pe,Oe),Et&&Et(Be,Pe||Je,Je),st&&Je.pop()})(_,_e,Ie)}function li(_,O,x){x(_,O)}function qn(_,O,x){}var Z={};Z.Program=Z.BlockStatement=function(_,O,x){for(var _e=0,Ie=_.body;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O,"Statement")}},Z.Statement=li,Z.EmptyStatement=qn,Z.ExpressionStatement=Z.ParenthesizedExpression=Z.ChainExpression=function(_,O,x){return x(_.expression,O,"Expression")},Z.IfStatement=function(_,O,x){x(_.test,O,"Expression"),x(_.consequent,O,"Statement"),_.alternate&&x(_.alternate,O,"Statement")},Z.LabeledStatement=function(_,O,x){return x(_.body,O,"Statement")},Z.BreakStatement=Z.ContinueStatement=qn,Z.WithStatement=function(_,O,x){x(_.object,O,"Expression"),x(_.body,O,"Statement")},Z.SwitchStatement=function(_,O,x){x(_.discriminant,O,"Expression");for(var _e=0,Ie=_.cases;_e<Ie.length;_e+=1){var Je=Ie[_e];Je.test&&x(Je.test,O,"Expression");for(var Oe=0,Be=Je.consequent;Oe<Be.length;Oe+=1){var Pe=Be[Oe];x(Pe,O,"Statement")}}},Z.SwitchCase=function(_,O,x){_.test&&x(_.test,O,"Expression");for(var _e=0,Ie=_.consequent;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O,"Statement")}},Z.ReturnStatement=Z.YieldExpression=Z.AwaitExpression=function(_,O,x){_.argument&&x(_.argument,O,"Expression")},Z.ThrowStatement=Z.SpreadElement=function(_,O,x){return x(_.argument,O,"Expression")},Z.TryStatement=function(_,O,x){x(_.block,O,"Statement"),_.handler&&x(_.handler,O),_.finalizer&&x(_.finalizer,O,"Statement")},Z.CatchClause=function(_,O,x){_.param&&x(_.param,O,"Pattern"),x(_.body,O,"Statement")},Z.WhileStatement=Z.DoWhileStatement=function(_,O,x){x(_.test,O,"Expression"),x(_.body,O,"Statement")},Z.ForStatement=function(_,O,x){_.init&&x(_.init,O,"ForInit"),_.test&&x(_.test,O,"Expression"),_.update&&x(_.update,O,"Expression"),x(_.body,O,"Statement")},Z.ForInStatement=Z.ForOfStatement=function(_,O,x){x(_.left,O,"ForInit"),x(_.right,O,"Expression"),x(_.body,O,"Statement")},Z.ForInit=function(_,O,x){_.type==="VariableDeclaration"?x(_,O):x(_,O,"Expression")},Z.DebuggerStatement=qn,Z.FunctionDeclaration=function(_,O,x){return x(_,O,"Function")},Z.VariableDeclaration=function(_,O,x){for(var _e=0,Ie=_.declarations;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O)}},Z.VariableDeclarator=function(_,O,x){x(_.id,O,"Pattern"),_.init&&x(_.init,O,"Expression")},Z.Function=function(_,O,x){_.id&&x(_.id,O,"Pattern");for(var _e=0,Ie=_.params;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O,"Pattern")}x(_.body,O,_.expression?"Expression":"Statement")},Z.Pattern=function(_,O,x){_.type==="Identifier"?x(_,O,"VariablePattern"):_.type==="MemberExpression"?x(_,O,"MemberPattern"):x(_,O)},Z.VariablePattern=qn,Z.MemberPattern=li,Z.RestElement=function(_,O,x){return x(_.argument,O,"Pattern")},Z.ArrayPattern=function(_,O,x){for(var _e=0,Ie=_.elements;_e<Ie.length;_e+=1){var Je=Ie[_e];Je&&x(Je,O,"Pattern")}},Z.ObjectPattern=function(_,O,x){for(var _e=0,Ie=_.properties;_e<Ie.length;_e+=1){var Je=Ie[_e];Je.type==="Property"?(Je.computed&&x(Je.key,O,"Expression"),x(Je.value,O,"Pattern")):Je.type==="RestElement"&&x(Je.argument,O,"Pattern")}},Z.Expression=li,Z.ThisExpression=Z.Super=Z.MetaProperty=qn,Z.ArrayExpression=function(_,O,x){for(var _e=0,Ie=_.elements;_e<Ie.length;_e+=1){var Je=Ie[_e];Je&&x(Je,O,"Expression")}},Z.ObjectExpression=function(_,O,x){for(var _e=0,Ie=_.properties;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O)}},Z.FunctionExpression=Z.ArrowFunctionExpression=Z.FunctionDeclaration,Z.SequenceExpression=function(_,O,x){for(var _e=0,Ie=_.expressions;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O,"Expression")}},Z.TemplateLiteral=function(_,O,x){for(var _e=0,Ie=_.quasis;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O)}for(var Oe=0,Be=_.expressions;Oe<Be.length;Oe+=1){var Pe=Be[Oe];x(Pe,O,"Expression")}},Z.TemplateElement=qn,Z.UnaryExpression=Z.UpdateExpression=function(_,O,x){x(_.argument,O,"Expression")},Z.BinaryExpression=Z.LogicalExpression=function(_,O,x){x(_.left,O,"Expression"),x(_.right,O,"Expression")},Z.AssignmentExpression=Z.AssignmentPattern=function(_,O,x){x(_.left,O,"Pattern"),x(_.right,O,"Expression")},Z.ConditionalExpression=function(_,O,x){x(_.test,O,"Expression"),x(_.consequent,O,"Expression"),x(_.alternate,O,"Expression")},Z.NewExpression=Z.CallExpression=function(_,O,x){if(x(_.callee,O,"Expression"),_.arguments)for(var _e=0,Ie=_.arguments;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O,"Expression")}},Z.MemberExpression=function(_,O,x){x(_.object,O,"Expression"),_.computed&&x(_.property,O,"Expression")},Z.ExportNamedDeclaration=Z.ExportDefaultDeclaration=function(_,O,x){_.declaration&&x(_.declaration,O,_.type==="ExportNamedDeclaration"||_.declaration.id?"Statement":"Expression"),_.source&&x(_.source,O,"Expression")},Z.ExportAllDeclaration=function(_,O,x){_.exported&&x(_.exported,O),x(_.source,O,"Expression")},Z.ImportDeclaration=function(_,O,x){for(var _e=0,Ie=_.specifiers;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O)}x(_.source,O,"Expression")},Z.ImportExpression=function(_,O,x){x(_.source,O,"Expression")},Z.ImportSpecifier=Z.ImportDefaultSpecifier=Z.ImportNamespaceSpecifier=Z.Identifier=Z.Literal=qn,Z.TaggedTemplateExpression=function(_,O,x){x(_.tag,O,"Expression"),x(_.quasi,O,"Expression")},Z.ClassDeclaration=Z.ClassExpression=function(_,O,x){return x(_,O,"Class")},Z.Class=function(_,O,x){_.id&&x(_.id,O,"Pattern"),_.superClass&&x(_.superClass,O,"Expression"),x(_.body,O)},Z.ClassBody=function(_,O,x){for(var _e=0,Ie=_.body;_e<Ie.length;_e+=1){var Je=Ie[_e];x(Je,O)}},Z.MethodDefinition=Z.Property=function(_,O,x){_.computed&&x(_.key,O,"Expression"),x(_.value,O,"Expression")};var qe={...Z,JSXElement:()=>{}},Dt=ss.Parser.extend((0,ho.default)());function Ut(_){return _!=null?_.name:null}function Qt(_){return _.filter(O=>O.type==="ObjectExpression"||O.type==="ArrayExpression")}function rr(_){let O=[];return ui(_,{ObjectExpression(x,_e){O.push(Qt(_e).length)},ArrayExpression(x,_e){O.push(Qt(_e).length)}},qe),Math.max(...O)}function _r(_){return{inferredType:{type:"Identifier",identifier:Ut(_)},ast:_}}function Ar(_){return{inferredType:{type:"Literal"},ast:_}}function Rr(_){let O;ji(_.body,{JSXElement(Ie){O=Ie}},qe);let x={type:O!=null?"Element":"Function",params:_.params,hasParams:_.params.length!==0},_e=Ut(_.id);return _e!=null&&(x.identifier=_e),{inferredType:x,ast:_}}function vn(_){let O;return ji(_.body,{JSXElement(x){O=x}},qe),{inferredType:{type:O!=null?"Element":"Class",identifier:Ut(_.id)},ast:_}}function ln(_){let O={type:"Element"},x=Ut(_.openingElement.name);return x!=null&&(O.identifier=x),{inferredType:O,ast:_}}function ci(_){let O=_.callee.type==="MemberExpression"?_.callee.property:_.callee;return Ut(O)==="shape"?mo(_.arguments[0]):null}function mo(_){return{inferredType:{type:"Object",depth:rr(_)},ast:_}}function xo(_){return{inferredType:{type:"Array",depth:rr(_)},ast:_}}function io(_){switch(_.type){case"Identifier":return _r(_);case"Literal":return Ar(_);case"FunctionExpression":case"ArrowFunctionExpression":return Rr(_);case"ClassExpression":return vn(_);case"JSXElement":return ln(_);case"CallExpression":return ci(_);case"ObjectExpression":return mo(_);case"ArrayExpression":return xo(_);default:return null}}function fn(_){let O=Dt.parse(`(${_})`,{ecmaVersion:2020}),x={inferredType:{type:"Unknown"},ast:O};if(O.body[0]!=null){let _e=O.body[0];if(_e.type==="ExpressionStatement"){let Ie=io(_e.expression);Ie!=null&&(x=Ie)}}return x}function Hn(_){try{return{...fn(_)}}catch{}return{inferredType:{type:"Unknown"}}}var Co=(0,p.__toESM)(xr(),1);function Vn(_){return Co.default.includes(_.toLowerCase())}function To({inferredType:_,ast:O}){let{depth:x}=_;if(x<=2){let _e=fo(O,!0);if(!(0,$e.isTooLongForDefaultValueSummary)(_e))return(0,$e.createSummaryValue)(_e)}return(0,$e.createSummaryValue)(En,fo(O))}function _o({inferredType:_,ast:O}){let{depth:x}=_;if(x===1){let _e=Br(O,!0);if(!(0,$e.isTooLongForDefaultValueSummary)(_e))return(0,$e.createSummaryValue)(_e)}return(0,$e.createSummaryValue)(sn,Br(O))}function kn(_,O){return O?`${_}( ... )`:`${_}()`}function Vr(_){return`<${_} />`}function Vo(_){let{type:O,identifier:x}=_;switch(O){case"Function":return kn(x,_.hasParams);case"Element":return Vr(x);default:return x}}function Ts({inferredType:_,ast:O}){let{identifier:x}=_;if(x!=null)return(0,$e.createSummaryValue)(Vo(_),Un(O));let _e=Un(O,!0);return(0,$e.isTooLongForDefaultValueSummary)(_e)?(0,$e.createSummaryValue)(Qr,Un(O)):(0,$e.createSummaryValue)(_e)}function zo(_,O){let{inferredType:x}=O,{identifier:_e}=x;if(_e!=null&&!Vn(_e)){let Ie=Vo(x);return(0,$e.createSummaryValue)(Ie,_)}return(0,$e.isTooLongForDefaultValueSummary)(_)?(0,$e.createSummaryValue)(An,_):(0,$e.createSummaryValue)(_)}function Pi(_){try{let O=Hn(_);switch(O.inferredType.type){case"Object":return _o(O);case"Function":return Ts(O);case"Element":return zo(_,O);case"Array":return To(O);default:return null}}catch(O){Ce.error(O)}return null}function as(_){if(!_||typeof _!="object")return!1;let O=Object.getPrototypeOf(_);return O===null||O===Object.prototype||Object.getPrototypeOf(O)===null?Object.prototype.toString.call(_)==="[object Object]":!1}function di(_){return typeof _=="function"}function yr(_){return typeof _=="string"}var eo=ye;function pi(_){return _.$$typeof!=null}function fi(_,O){let{name:x}=_;return x!==""&&x!=="anonymous"&&x!==O?x:null}var Lr=_=>(0,$e.createSummaryValue)(JSON.stringify(_));function Go(_){let{type:O}=_,{displayName:x}=O,_e=eo(_,{});if(x!=null){let Ie=Vr(x);return(0,$e.createSummaryValue)(Ie,_e)}if(yr(O)&&Vn(O)){let Ie=eo(_,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!(0,$e.isTooLongForDefaultValueSummary)(Ie))return(0,$e.createSummaryValue)(Ie)}return(0,$e.createSummaryValue)(An,_e)}var Ro=_=>{if(pi(_)&&_.type!=null)return Go(_);if(as(_)){let O=Hn(JSON.stringify(_));return _o(O)}if(Array.isArray(_)){let O=Hn(JSON.stringify(_));return To(O)}return(0,$e.createSummaryValue)(sn)},us=(_,O)=>{let x=!1,_e;if(di(_.render))x=!0;else if(_.prototype!=null&&di(_.prototype.render))x=!0;else{let Je;try{_e=Hn(_.toString());let{hasParams:Oe,params:Be}=_e.inferredType;Oe?Be.length===1&&Be[0].type==="ObjectPattern"&&(Je=_({})):Je=_(),Je!=null&&pi(Je)&&(x=!0)}catch{}}let Ie=fi(_,O.name);if(Ie!=null){if(x)return(0,$e.createSummaryValue)(Vr(Ie));_e!=null&&(_e=Hn(_.toString()));let{hasParams:Je}=_e.inferredType;return(0,$e.createSummaryValue)(kn(Ie,Je))}return(0,$e.createSummaryValue)(x?An:Qr)},ls=_=>(0,$e.createSummaryValue)(_.toString()),Bi={string:Lr,object:Ro,function:us,default:ls};function cs(_={}){return{...Bi,..._}}function hi(_,O,x=Bi){try{switch(typeof _){case"string":return x.string(_,O);case"object":return x.object(_,O);case"function":return x.function(_,O);default:return x.default(_,O)}}catch(_e){Ce.error(_e)}return null}function ds(_,O){let x=_!=null,_e=O!=null;if(!x&&!_e)return"";let Ie=[];if(x){let Je=_.map(Oe=>{let Be=Oe.getPrettyName(),Pe=Oe.getTypeName();return Pe!=null?`${Be}: ${Pe}`:Be});Ie.push(`(${Je.join(", ")})`)}else Ie.push("()");return _e&&Ie.push(`=> ${O.getTypeName()}`),Ie.join(" ")}function Ii(_,O){let x=_!=null,_e=O!=null;if(!x&&!_e)return"";let Ie=[];return x?Ie.push("( ... )"):Ie.push("()"),_e&&Ie.push(`=> ${O.getTypeName()}`),Ie.join(" ")}function Oo(_){return _.replace(/,/g,`,\r
|
|
45
|
+
`)}var to=150;function pn({name:_,short:O,compact:x,full:_e,inferredType:Ie}){return{name:_,short:O,compact:x,full:_e??O,inferredType:Ie}}function Wo(_){return _.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function yo(_){return _.split(/\r?\n/)}function zn(_,O=!1){return Wo(Br(_,O))}function Fo(_,O=!1){return Wo(Un(_,O))}function mi(_){switch(_){case"Object":return sn;case"Array":return En;case"Class":return qr;case"Function":return Qr;case"Element":return An;default:return $r}}function Jo(_,O){let{inferredType:x,ast:_e}=Hn(_),{type:Ie}=x,Je,Oe,Be;switch(Ie){case"Identifier":case"Literal":Je=_,Oe=_;break;case"Object":{let{depth:Pe}=x;Je=sn,Oe=Pe===1?zn(_e,!0):null,Be=zn(_e);break}case"Element":{let{identifier:Pe}=x;Je=Pe!=null&&!Vn(Pe)?Pe:An,Oe=yo(_).length===1?_:null,Be=_;break}case"Array":{let{depth:Pe}=x;Je=En,Oe=Pe<=2?Fo(_e,!0):null,Be=Fo(_e);break}default:Je=mi(Ie),Oe=yo(_).length===1?_:null,Be=_;break}return pn({name:O,short:Je,compact:Oe,full:Be,inferredType:Ie})}function _i({raw:_}){return _!=null?Jo(_,"custom"):pn({name:"custom",short:$r,compact:$r})}function Ni(_){let{jsDocTags:O}=_;return O!=null&&(O.params!=null||O.returns!=null)?pn({name:"func",short:Ii(O.params,O.returns),compact:null,full:ds(O.params,O.returns)}):pn({name:"func",short:Qr,compact:Qr})}function yi(_,O){let x=Object.keys(_.value).map(Oe=>`${Oe}: ${ro(_.value[Oe],O).full}`).join(", "),{inferredType:_e,ast:Ie}=Hn(`{ ${x} }`),{depth:Je}=_e;return pn({name:"shape",short:sn,compact:Je===1&&Ie?zn(Ie,!0):null,full:Ie?zn(Ie):null})}function go(_){return`objectOf(${_})`}function qo(_,O){let{short:x,compact:_e,full:Ie}=ro(_.value,O);return pn({name:"objectOf",short:go(x),compact:_e!=null?go(_e):null,full:Ie&&go(Ie)})}function gi(_,O){if(Array.isArray(_.value)){let x=_.value.reduce((_e,Ie)=>{let{short:Je,compact:Oe,full:Be}=ro(Ie,O);return _e.short.push(Je),_e.compact.push(Oe),_e.full.push(Be),_e},{short:[],compact:[],full:[]});return pn({name:"union",short:x.short.join(" | "),compact:x.compact.every(_e=>_e!=null)?x.compact.join(" | "):null,full:x.full.join(" | ")})}return pn({name:"union",short:_.value,compact:null})}function ki({value:_,computed:O}){return O?Jo(_,"enumvalue"):pn({name:"enumvalue",short:_,compact:_})}function ps(_){if(Array.isArray(_.value)){let O=_.value.reduce((x,_e)=>{let{short:Ie,compact:Je,full:Oe}=ki(_e);return x.short.push(Ie),x.compact.push(Je),x.full.push(Oe),x},{short:[],compact:[],full:[]});return pn({name:"enum",short:O.short.join(" | "),compact:O.compact.every(x=>x!=null)?O.compact.join(" | "):null,full:O.full.join(" | ")})}return pn({name:"enum",short:_.value,compact:_.value})}function bo(_){return`${_}[]`}function Li(_){return`[${_}]`}function Mi(_,O,x){return pn({name:"arrayOf",short:bo(_),compact:O!=null?Li(O):null,full:x&&Li(x)})}function fs(_,O){let{name:x,short:_e,compact:Ie,full:Je,inferredType:Oe}=ro(_.value,O);if(x==="custom"){if(Oe==="Object")return Mi(_e,Ie,Je)}else if(x==="shape")return Mi(_e,Ie,Je);return pn({name:"arrayOf",short:bo(_e),compact:bo(_e)})}function ro(_,O){try{switch(_.name){case"custom":return _i(_);case"func":return Ni(O);case"shape":return yi(_,O);case"instanceOf":return pn({name:"instanceOf",short:_.value,compact:_.value});case"objectOf":return qo(_,O);case"union":return gi(_,O);case"enum":return ps(_);case"arrayOf":return fs(_,O);default:return pn({name:_.name,short:_.name,compact:_.name})}}catch(x){Ce.error(x)}return pn({name:"unknown",short:"unknown",compact:"unknown"})}function hs(_){let{type:O}=_.docgenInfo;if(O==null)return null;try{switch(O.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:x,compact:_e,full:Ie}=ro(O,_);return _e!=null&&!(0,$e.isTooLongForTypeSummary)(_e)?(0,$e.createSummaryValue)(_e):Ie?(0,$e.createSummaryValue)(x,Ie):(0,$e.createSummaryValue)(x)}case"func":{let{short:x,full:_e}=ro(O,_),Ie=x,Je;return _e&&_e.length<to?Ie=_e:_e&&(Je=Oo(_e)),(0,$e.createSummaryValue)(Ie,Je)}default:return null}}catch(x){Ce.error(x)}return null}var Ui=(_,{name:O,type:x})=>{let _e=x?.summary==="element"||x?.summary==="elementType",Ie=fi(_,O);if(Ie!=null){if(_e)return(0,$e.createSummaryValue)(Vr(Ie));let{hasParams:Je}=Hn(_.toString()).inferredType;return(0,$e.createSummaryValue)(kn(Ie,Je))}return(0,$e.createSummaryValue)(_e?An:Qr)},$i=cs({function:Ui});function ms(_,O){let{propTypes:x}=O;return x!=null?Object.keys(x).map(_e=>_.find(Ie=>Ie.name===_e)).filter(Boolean):_}function Hi(_,O){let{propDef:x}=_,_e=hs(_);_e!=null&&(x.type=_e);let{defaultValue:Ie}=_.docgenInfo;if(Ie!=null&&Ie.value!=null){let Je=Pi(Ie.value);Je!=null&&(x.defaultValue=Je)}else if(O!=null){let Je=hi(O,x,$i);Je!=null&&(x.defaultValue=Je)}return x}function bi(_,O){let x=O.defaultProps!=null?O.defaultProps:{},_e=_.map(Ie=>Hi(Ie,x[Ie.propDef.name]));return ms(_e,O)}function _s(_,O){let{propDef:x}=_,{defaultValue:_e}=_.docgenInfo;if(_e!=null&&_e.value!=null){let Ie=Pi(_e.value);Ie!=null&&(x.defaultValue=Ie)}else if(O!=null){let Ie=hi(O,x);Ie!=null&&(x.defaultValue=Ie)}return x}function Vi(_){return _.map(O=>_s(O))}function zi(_,O){let x=_;!(0,$e.hasDocgen)(_)&&!_.propTypes&&g(_)&&(x=_.type);let _e=(0,$e.extractComponentProps)(x,O);if(_e.length===0)return[];switch(_e[0].typeSystem){case $e.TypeSystem.JAVASCRIPT:return bi(_e,_);case $e.TypeSystem.TYPESCRIPT:return Vi(_e);default:return _e.map(Ie=>Ie.propDef)}}var no=_=>({rows:zi(_,"props")}),ys=_=>{if(_){let{rows:O}=no(_);if(O)return O.reduce((x,_e)=>{let{name:Ie,description:Je,type:Oe,sbType:Be,defaultValue:Pe,jsDocTags:Xe,required:Ke}=_e;return x[Ie]={name:Ie,description:Je,type:{required:Ke,...Be},table:{type:Oe??void 0,jsDocTags:Xe,defaultValue:Pe??void 0}},x},{})}return null},Ei={docs:{extractArgTypes:ys,extractComponentDescription:$e.extractComponentDescription}},Ai=[$e.enhanceArgTypes]}),"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),w=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");function v(F){"@babel/helpers - typeof";return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},v(F)}function h(F,c){for(var s=0;s<c.length;s++){var R=c[s];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(F,f(R.key),R)}}function E(F,c,s){return c&&h(F.prototype,c),s&&h(F,s),Object.defineProperty(F,"prototype",{writable:!1}),F}function f(F){var c=g(F,"string");return v(c)==="symbol"?c:String(c)}function g(F,c){if(v(F)!=="object"||F===null)return F;var s=F[Symbol.toPrimitive];if(s!==void 0){var R=s.call(F,c||"default");if(v(R)!=="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(F)}function l(F,c){if(!(F instanceof c))throw new TypeError("Cannot call a class as a function")}var B=u("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/errors.js"),M=B.codes,k=M.ERR_AMBIGUOUS_ARGUMENT,W=M.ERR_INVALID_ARG_TYPE,L=M.ERR_INVALID_ARG_VALUE,G=M.ERR_INVALID_RETURN_VALUE,U=M.ERR_MISSING_ARGS,S=u("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/assert/assertion_error.js"),Y=u("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"),N=Y.inspect,$=u("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js").types,ae=$.isPromise,ne=$.isRegExp,P=u("../../node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/polyfill.js")(),V=u("../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/polyfill.js")(),X=u("../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/callBound.js")("RegExp.prototype.test"),me=new Map,we,Re,Ae,te,Se;function Te(){var F=u("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/util/comparisons.js");we=F.isDeepEqual,Re=F.isDeepStrictEqual}var Ue=/[\x00-\x08\x0b\x0c\x0e-\x1f]/g,ft=null,ut=function(c){return ft[c.charCodeAt(0)]},Ft=!1,kt=ee.exports=je,ht={};function se(F){throw F.message instanceof Error?F.message:new S(F)}function He(F,c,s,R,oe){var Ne=arguments.length,tt;if(Ne===0)tt="Failed";else if(Ne===1)s=F,F=void 0;else{if(Ft===!1){Ft=!0;var It=p.emitWarning?p.emitWarning:w.warn.bind(w);It("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}Ne===2&&(R="!=")}if(s instanceof Error)throw s;var zt={actual:F,expected:c,operator:R===void 0?"fail":R,stackStartFn:oe||He};s!==void 0&&(zt.message=s);var De=new S(zt);throw tt&&(De.message=tt,De.generatedMessage=!0),De}kt.fail=He,kt.AssertionError=S;function ge(F,c,s,R){if(!s){var oe=!1;if(c===0)oe=!0,R="No value argument passed to `assert.ok()`";else if(R instanceof Error)throw R;var Ne=new S({actual:s,expected:!0,message:R,operator:"==",stackStartFn:F});throw Ne.generatedMessage=oe,Ne}}function je(){for(var F=arguments.length,c=new Array(F),s=0;s<F;s++)c[s]=arguments[s];ge.apply(void 0,[je,c.length].concat(c))}kt.ok=je,kt.equal=function F(c,s,R){if(arguments.length<2)throw new U("actual","expected");c!=s&&se({actual:c,expected:s,message:R,operator:"==",stackStartFn:F})},kt.notEqual=function F(c,s,R){if(arguments.length<2)throw new U("actual","expected");c==s&&se({actual:c,expected:s,message:R,operator:"!=",stackStartFn:F})},kt.deepEqual=function F(c,s,R){if(arguments.length<2)throw new U("actual","expected");we===void 0&&Te(),we(c,s)||se({actual:c,expected:s,message:R,operator:"deepEqual",stackStartFn:F})},kt.notDeepEqual=function F(c,s,R){if(arguments.length<2)throw new U("actual","expected");we===void 0&&Te(),we(c,s)&&se({actual:c,expected:s,message:R,operator:"notDeepEqual",stackStartFn:F})},kt.deepStrictEqual=function F(c,s,R){if(arguments.length<2)throw new U("actual","expected");we===void 0&&Te(),Re(c,s)||se({actual:c,expected:s,message:R,operator:"deepStrictEqual",stackStartFn:F})},kt.notDeepStrictEqual=nt;function nt(F,c,s){if(arguments.length<2)throw new U("actual","expected");we===void 0&&Te(),Re(F,c)&&se({actual:F,expected:c,message:s,operator:"notDeepStrictEqual",stackStartFn:nt})}kt.strictEqual=function F(c,s,R){if(arguments.length<2)throw new U("actual","expected");V(c,s)||se({actual:c,expected:s,message:R,operator:"strictEqual",stackStartFn:F})},kt.notStrictEqual=function F(c,s,R){if(arguments.length<2)throw new U("actual","expected");V(c,s)&&se({actual:c,expected:s,message:R,operator:"notStrictEqual",stackStartFn:F})};var Rt=E(function F(c,s,R){var oe=this;l(this,F),s.forEach(function(Ne){Ne in c&&(R!==void 0&&typeof R[Ne]=="string"&&ne(c[Ne])&&X(c[Ne],R[Ne])?oe[Ne]=R[Ne]:oe[Ne]=c[Ne])})});function Bt(F,c,s,R,oe,Ne){if(!(s in F)||!Re(F[s],c[s])){if(!R){var tt=new Rt(F,oe),It=new Rt(c,oe,F),zt=new S({actual:tt,expected:It,operator:"deepStrictEqual",stackStartFn:Ne});throw zt.actual=F,zt.expected=c,zt.operator=Ne.name,zt}se({actual:F,expected:c,message:R,operator:Ne.name,stackStartFn:Ne})}}function Me(F,c,s,R){if(typeof c!="function"){if(ne(c))return X(c,F);if(arguments.length===2)throw new W("expected",["Function","RegExp"],c);if(v(F)!=="object"||F===null){var oe=new S({actual:F,expected:c,message:s,operator:"deepStrictEqual",stackStartFn:R});throw oe.operator=R.name,oe}var Ne=Object.keys(c);if(c instanceof Error)Ne.push("name","message");else if(Ne.length===0)throw new L("error",c,"may not be an empty object");return we===void 0&&Te(),Ne.forEach(function(tt){typeof F[tt]=="string"&&ne(c[tt])&&X(c[tt],F[tt])||Bt(F,c,tt,s,Ne,R)}),!0}return c.prototype!==void 0&&F instanceof c?!0:Error.isPrototypeOf(c)?!1:c.call({},F)===!0}function xe(F){if(typeof F!="function")throw new W("fn","Function",F);try{F()}catch(c){return c}return ht}function rt(F){return ae(F)||F!==null&&v(F)==="object"&&typeof F.then=="function"&&typeof F.catch=="function"}function _t(F){return Promise.resolve().then(function(){var c;if(typeof F=="function"){if(c=F(),!rt(c))throw new G("instance of Promise","promiseFn",c)}else if(rt(F))c=F;else throw new W("promiseFn",["Function","Promise"],F);return Promise.resolve().then(function(){return c}).then(function(){return ht}).catch(function(s){return s})})}function Pt(F,c,s,R){if(typeof s=="string"){if(arguments.length===4)throw new W("error",["Object","Error","Function","RegExp"],s);if(v(c)==="object"&&c!==null){if(c.message===s)throw new k("error/message",'The error message "'.concat(c.message,'" is identical to the message.'))}else if(c===s)throw new k("error/message",'The error "'.concat(c,'" is identical to the message.'));R=s,s=void 0}else if(s!=null&&v(s)!=="object"&&typeof s!="function")throw new W("error",["Object","Error","Function","RegExp"],s);if(c===ht){var oe="";s&&s.name&&(oe+=" (".concat(s.name,")")),oe+=R?": ".concat(R):".";var Ne=F.name==="rejects"?"rejection":"exception";se({actual:void 0,expected:s,operator:F.name,message:"Missing expected ".concat(Ne).concat(oe),stackStartFn:F})}if(s&&!Me(c,s,R,F))throw c}function fe(F,c,s,R){if(c!==ht){if(typeof s=="string"&&(R=s,s=void 0),!s||Me(c,s)){var oe=R?": ".concat(R):".",Ne=F.name==="doesNotReject"?"rejection":"exception";se({actual:c,expected:s,operator:F.name,message:"Got unwanted ".concat(Ne).concat(oe,`
|
|
46
|
+
`)+'Actual message: "'.concat(c&&c.message,'"'),stackStartFn:F})}throw c}}kt.throws=function F(c){for(var s=arguments.length,R=new Array(s>1?s-1:0),oe=1;oe<s;oe++)R[oe-1]=arguments[oe];Pt.apply(void 0,[F,xe(c)].concat(R))},kt.rejects=function F(c){for(var s=arguments.length,R=new Array(s>1?s-1:0),oe=1;oe<s;oe++)R[oe-1]=arguments[oe];return _t(c).then(function(Ne){return Pt.apply(void 0,[F,Ne].concat(R))})},kt.doesNotThrow=function F(c){for(var s=arguments.length,R=new Array(s>1?s-1:0),oe=1;oe<s;oe++)R[oe-1]=arguments[oe];fe.apply(void 0,[F,xe(c)].concat(R))},kt.doesNotReject=function F(c){for(var s=arguments.length,R=new Array(s>1?s-1:0),oe=1;oe<s;oe++)R[oe-1]=arguments[oe];return _t(c).then(function(Ne){return fe.apply(void 0,[F,Ne].concat(R))})},kt.ifError=function F(c){if(c!=null){var s="ifError got unwanted exception: ";v(c)==="object"&&typeof c.message=="string"?c.message.length===0&&c.constructor?s+=c.constructor.name:s+=c.message:s+=N(c);var R=new S({actual:c,expected:null,operator:"ifError",message:s,stackStartFn:F}),oe=c.stack;if(typeof oe=="string"){var Ne=oe.split(`
|
|
47
|
+
`);Ne.shift();for(var tt=R.stack.split(`
|
|
48
|
+
`),It=0;It<Ne.length;It++){var zt=tt.indexOf(Ne[It]);if(zt!==-1){tt=tt.slice(0,zt);break}}R.stack="".concat(tt.join(`
|
|
49
|
+
`),`
|
|
50
|
+
`).concat(Ne.join(`
|
|
51
|
+
`))}throw R}};function pe(F,c,s,R,oe){if(!ne(c))throw new W("regexp","RegExp",c);var Ne=oe==="match";if(typeof F!="string"||X(c,F)!==Ne){if(s instanceof Error)throw s;var tt=!s;s=s||(typeof F!="string"?'The "string" argument must be of type string. Received type '+"".concat(v(F)," (").concat(N(F),")"):(Ne?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(N(c),`. Input:
|
|
52
|
+
|
|
53
|
+
`).concat(N(F),`
|
|
54
|
+
`));var It=new S({actual:F,expected:c,message:s,operator:oe,stackStartFn:R});throw It.generatedMessage=tt,It}}kt.match=function F(c,s,R){pe(c,s,R,F,"match")},kt.doesNotMatch=function F(c,s,R){pe(c,s,R,F,"doesNotMatch")};function yt(){for(var F=arguments.length,c=new Array(F),s=0;s<F;s++)c[s]=arguments[s];ge.apply(void 0,[yt,c.length].concat(c))}kt.strict=P(yt,kt,{equal:kt.strictEqual,deepEqual:kt.deepStrictEqual,notEqual:kt.notStrictEqual,notDeepEqual:kt.notDeepStrictEqual}),kt.strict.strict=kt.strict}),"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/assert/assertion_error.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");function w(ht,se){var He=Object.keys(ht);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(ht);se&&(ge=ge.filter(function(je){return Object.getOwnPropertyDescriptor(ht,je).enumerable})),He.push.apply(He,ge)}return He}function v(ht){for(var se=1;se<arguments.length;se++){var He=arguments[se]!=null?arguments[se]:{};se%2?w(Object(He),!0).forEach(function(ge){h(ht,ge,He[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ht,Object.getOwnPropertyDescriptors(He)):w(Object(He)).forEach(function(ge){Object.defineProperty(ht,ge,Object.getOwnPropertyDescriptor(He,ge))})}return ht}function h(ht,se,He){return se=l(se),se in ht?Object.defineProperty(ht,se,{value:He,enumerable:!0,configurable:!0,writable:!0}):ht[se]=He,ht}function E(ht,se){if(!(ht instanceof se))throw new TypeError("Cannot call a class as a function")}function f(ht,se){for(var He=0;He<se.length;He++){var ge=se[He];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(ht,l(ge.key),ge)}}function g(ht,se,He){return se&&f(ht.prototype,se),He&&f(ht,He),Object.defineProperty(ht,"prototype",{writable:!1}),ht}function l(ht){var se=B(ht,"string");return ae(se)==="symbol"?se:String(se)}function B(ht,se){if(ae(ht)!=="object"||ht===null)return ht;var He=ht[Symbol.toPrimitive];if(He!==void 0){var ge=He.call(ht,se||"default");if(ae(ge)!=="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return(se==="string"?String:Number)(ht)}function M(ht,se){if(typeof se!="function"&&se!==null)throw new TypeError("Super expression must either be null or a function");ht.prototype=Object.create(se&&se.prototype,{constructor:{value:ht,writable:!0,configurable:!0}}),Object.defineProperty(ht,"prototype",{writable:!1}),se&&N(ht,se)}function k(ht){var se=S();return function(){var ge=$(ht),je;if(se){var nt=$(this).constructor;je=Reflect.construct(ge,arguments,nt)}else je=ge.apply(this,arguments);return W(this,je)}}function W(ht,se){if(se&&(ae(se)==="object"||typeof se=="function"))return se;if(se!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return L(ht)}function L(ht){if(ht===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ht}function G(ht){var se=typeof Map=="function"?new Map:void 0;return G=function(ge){if(ge===null||!Y(ge))return ge;if(typeof ge!="function")throw new TypeError("Super expression must either be null or a function");if(typeof se<"u"){if(se.has(ge))return se.get(ge);se.set(ge,je)}function je(){return U(ge,arguments,$(this).constructor)}return je.prototype=Object.create(ge.prototype,{constructor:{value:je,enumerable:!1,writable:!0,configurable:!0}}),N(je,ge)},G(ht)}function U(ht,se,He){return S()?U=Reflect.construct.bind():U=function(je,nt,Rt){var Bt=[null];Bt.push.apply(Bt,nt);var Me=Function.bind.apply(je,Bt),xe=new Me;return Rt&&N(xe,Rt.prototype),xe},U.apply(null,arguments)}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Y(ht){return Function.toString.call(ht).indexOf("[native code]")!==-1}function N(ht,se){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ge,je){return ge.__proto__=je,ge},N(ht,se)}function $(ht){return $=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(He){return He.__proto__||Object.getPrototypeOf(He)},$(ht)}function ae(ht){"@babel/helpers - typeof";return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},ae(ht)}var ne=u("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"),P=ne.inspect,V=u("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/errors.js"),X=V.codes.ERR_INVALID_ARG_TYPE;function me(ht,se,He){return(He===void 0||He>ht.length)&&(He=ht.length),ht.substring(He-se.length,He)===se}function we(ht,se){if(se=Math.floor(se),ht.length==0||se==0)return"";var He=ht.length*se;for(se=Math.floor(Math.log(se)/Math.log(2));se;)ht+=ht,se--;return ht+=ht.substring(0,He-ht.length),ht}var Re="",Ae="",te="",Se="",Te={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},Ue=10;function ft(ht){var se=Object.keys(ht),He=Object.create(Object.getPrototypeOf(ht));return se.forEach(function(ge){He[ge]=ht[ge]}),Object.defineProperty(He,"message",{value:ht.message}),He}function ut(ht){return P(ht,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Ft(ht,se,He){var ge="",je="",nt=0,Rt="",Bt=!1,Me=ut(ht),xe=Me.split(`
|
|
55
|
+
`),rt=ut(se).split(`
|
|
56
|
+
`),_t=0,Pt="";if(He==="strictEqual"&&ae(ht)==="object"&&ae(se)==="object"&&ht!==null&&se!==null&&(He="strictEqualObject"),xe.length===1&&rt.length===1&&xe[0]!==rt[0]){var fe=xe[0].length+rt[0].length;if(fe<=Ue){if((ae(ht)!=="object"||ht===null)&&(ae(se)!=="object"||se===null)&&(ht!==0||se!==0))return"".concat(Te[He],`
|
|
57
|
+
|
|
58
|
+
`)+"".concat(xe[0]," !== ").concat(rt[0],`
|
|
59
|
+
`)}else if(He!=="strictEqualObject"){var pe=p.stderr&&p.stderr.isTTY?p.stderr.columns:80;if(fe<pe){for(;xe[0][_t]===rt[0][_t];)_t++;_t>2&&(Pt=`
|
|
60
|
+
`.concat(we(" ",_t),"^"),_t=0)}}}for(var yt=xe[xe.length-1],F=rt[rt.length-1];yt===F&&(_t++<2?Rt=`
|
|
61
|
+
`.concat(yt).concat(Rt):ge=yt,xe.pop(),rt.pop(),!(xe.length===0||rt.length===0));)yt=xe[xe.length-1],F=rt[rt.length-1];var c=Math.max(xe.length,rt.length);if(c===0){var s=Me.split(`
|
|
62
|
+
`);if(s.length>30)for(s[26]="".concat(Re,"...").concat(Se);s.length>27;)s.pop();return"".concat(Te.notIdentical,`
|
|
63
|
+
|
|
64
|
+
`).concat(s.join(`
|
|
65
|
+
`),`
|
|
66
|
+
`)}_t>3&&(Rt=`
|
|
67
|
+
`.concat(Re,"...").concat(Se).concat(Rt),Bt=!0),ge!==""&&(Rt=`
|
|
68
|
+
`.concat(ge).concat(Rt),ge="");var R=0,oe=Te[He]+`
|
|
69
|
+
`.concat(Ae,"+ actual").concat(Se," ").concat(te,"- expected").concat(Se),Ne=" ".concat(Re,"...").concat(Se," Lines skipped");for(_t=0;_t<c;_t++){var tt=_t-nt;if(xe.length<_t+1)tt>1&&_t>2&&(tt>4?(je+=`
|
|
70
|
+
`.concat(Re,"...").concat(Se),Bt=!0):tt>3&&(je+=`
|
|
71
|
+
`.concat(rt[_t-2]),R++),je+=`
|
|
72
|
+
`.concat(rt[_t-1]),R++),nt=_t,ge+=`
|
|
73
|
+
`.concat(te,"-").concat(Se," ").concat(rt[_t]),R++;else if(rt.length<_t+1)tt>1&&_t>2&&(tt>4?(je+=`
|
|
74
|
+
`.concat(Re,"...").concat(Se),Bt=!0):tt>3&&(je+=`
|
|
75
|
+
`.concat(xe[_t-2]),R++),je+=`
|
|
76
|
+
`.concat(xe[_t-1]),R++),nt=_t,je+=`
|
|
77
|
+
`.concat(Ae,"+").concat(Se," ").concat(xe[_t]),R++;else{var It=rt[_t],zt=xe[_t],De=zt!==It&&(!me(zt,",")||zt.slice(0,-1)!==It);De&&me(It,",")&&It.slice(0,-1)===zt&&(De=!1,zt+=","),De?(tt>1&&_t>2&&(tt>4?(je+=`
|
|
78
|
+
`.concat(Re,"...").concat(Se),Bt=!0):tt>3&&(je+=`
|
|
79
|
+
`.concat(xe[_t-2]),R++),je+=`
|
|
80
|
+
`.concat(xe[_t-1]),R++),nt=_t,je+=`
|
|
81
|
+
`.concat(Ae,"+").concat(Se," ").concat(zt),ge+=`
|
|
82
|
+
`.concat(te,"-").concat(Se," ").concat(It),R+=2):(je+=ge,ge="",(tt===1||_t===0)&&(je+=`
|
|
83
|
+
`.concat(zt),R++))}if(R>20&&_t<c-2)return"".concat(oe).concat(Ne,`
|
|
84
|
+
`).concat(je,`
|
|
85
|
+
`).concat(Re,"...").concat(Se).concat(ge,`
|
|
86
|
+
`)+"".concat(Re,"...").concat(Se)}return"".concat(oe).concat(Bt?Ne:"",`
|
|
87
|
+
`).concat(je).concat(ge).concat(Rt).concat(Pt)}var kt=(function(ht,se){M(ge,ht);var He=k(ge);function ge(je){var nt;if(E(this,ge),ae(je)!=="object"||je===null)throw new X("options","Object",je);var Rt=je.message,Bt=je.operator,Me=je.stackStartFn,xe=je.actual,rt=je.expected,_t=Error.stackTraceLimit;if(Error.stackTraceLimit=0,Rt!=null)nt=He.call(this,String(Rt));else if(p.stderr&&p.stderr.isTTY&&(p.stderr&&p.stderr.getColorDepth&&p.stderr.getColorDepth()!==1?(Re="\x1B[34m",Ae="\x1B[32m",Se="\x1B[39m",te="\x1B[31m"):(Re="",Ae="",Se="",te="")),ae(xe)==="object"&&xe!==null&&ae(rt)==="object"&&rt!==null&&"stack"in xe&&xe instanceof Error&&"stack"in rt&&rt instanceof Error&&(xe=ft(xe),rt=ft(rt)),Bt==="deepStrictEqual"||Bt==="strictEqual")nt=He.call(this,Ft(xe,rt,Bt));else if(Bt==="notDeepStrictEqual"||Bt==="notStrictEqual"){var Pt=Te[Bt],fe=ut(xe).split(`
|
|
88
|
+
`);if(Bt==="notStrictEqual"&&ae(xe)==="object"&&xe!==null&&(Pt=Te.notStrictEqualObject),fe.length>30)for(fe[26]="".concat(Re,"...").concat(Se);fe.length>27;)fe.pop();fe.length===1?nt=He.call(this,"".concat(Pt," ").concat(fe[0])):nt=He.call(this,"".concat(Pt,`
|
|
89
|
+
|
|
90
|
+
`).concat(fe.join(`
|
|
91
|
+
`),`
|
|
92
|
+
`))}else{var pe=ut(xe),yt="",F=Te[Bt];Bt==="notDeepEqual"||Bt==="notEqual"?(pe="".concat(Te[Bt],`
|
|
93
|
+
|
|
94
|
+
`).concat(pe),pe.length>1024&&(pe="".concat(pe.slice(0,1021),"..."))):(yt="".concat(ut(rt)),pe.length>512&&(pe="".concat(pe.slice(0,509),"...")),yt.length>512&&(yt="".concat(yt.slice(0,509),"...")),Bt==="deepEqual"||Bt==="equal"?pe="".concat(F,`
|
|
95
|
+
|
|
96
|
+
`).concat(pe,`
|
|
97
|
+
|
|
98
|
+
should equal
|
|
99
|
+
|
|
100
|
+
`):yt=" ".concat(Bt," ").concat(yt)),nt=He.call(this,"".concat(pe).concat(yt))}return Error.stackTraceLimit=_t,nt.generatedMessage=!Rt,Object.defineProperty(L(nt),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),nt.code="ERR_ASSERTION",nt.actual=xe,nt.expected=rt,nt.operator=Bt,Error.captureStackTrace&&Error.captureStackTrace(L(nt),Me),nt.stack,nt.name="AssertionError",W(nt)}return g(ge,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:se,value:function(nt,Rt){return P(this,v(v({},Rt),{},{customInspect:!1,depth:0}))}}]),ge})(G(Error),P.custom);ee.exports=kt}),"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/errors.js":((ee,i,u)=>{"use strict";function p(P){"@babel/helpers - typeof";return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},p(P)}function w(P,V){for(var X=0;X<V.length;X++){var me=V[X];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(P,h(me.key),me)}}function v(P,V,X){return V&&w(P.prototype,V),X&&w(P,X),Object.defineProperty(P,"prototype",{writable:!1}),P}function h(P){var V=E(P,"string");return p(V)==="symbol"?V:String(V)}function E(P,V){if(p(P)!=="object"||P===null)return P;var X=P[Symbol.toPrimitive];if(X!==void 0){var me=X.call(P,V||"default");if(p(me)!=="object")return me;throw new TypeError("@@toPrimitive must return a primitive value.")}return(V==="string"?String:Number)(P)}function f(P,V){if(!(P instanceof V))throw new TypeError("Cannot call a class as a function")}function g(P,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(V&&V.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),Object.defineProperty(P,"prototype",{writable:!1}),V&&l(P,V)}function l(P,V){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(me,we){return me.__proto__=we,me},l(P,V)}function B(P){var V=W();return function(){var me=L(P),we;if(V){var Re=L(this).constructor;we=Reflect.construct(me,arguments,Re)}else we=me.apply(this,arguments);return M(this,we)}}function M(P,V){if(V&&(p(V)==="object"||typeof V=="function"))return V;if(V!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k(P)}function k(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function W(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function L(P){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(X){return X.__proto__||Object.getPrototypeOf(X)},L(P)}var G={},U,S;function Y(P,V,X){X||(X=Error);function me(Re,Ae,te){return typeof V=="string"?V:V(Re,Ae,te)}var we=(function(Re){g(te,Re);var Ae=B(te);function te(Se,Te,Ue){var ft;return f(this,te),ft=Ae.call(this,me(Se,Te,Ue)),ft.code=P,ft}return v(te)})(X);G[P]=we}function N(P,V){if(Array.isArray(P)){var X=P.length;return P=P.map(function(me){return String(me)}),X>2?"one of ".concat(V," ").concat(P.slice(0,X-1).join(", "),", or ")+P[X-1]:X===2?"one of ".concat(V," ").concat(P[0]," or ").concat(P[1]):"of ".concat(V," ").concat(P[0])}else return"of ".concat(V," ").concat(String(P))}function $(P,V,X){return P.substr(!X||X<0?0:+X,V.length)===V}function ae(P,V,X){return(X===void 0||X>P.length)&&(X=P.length),P.substring(X-V.length,X)===V}function ne(P,V,X){return typeof X!="number"&&(X=0),X+V.length>P.length?!1:P.indexOf(V,X)!==-1}Y("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),Y("ERR_INVALID_ARG_TYPE",function(P,V,X){U===void 0&&(U=u("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js")),U(typeof P=="string","'name' must be a string");var me;typeof V=="string"&&$(V,"not ")?(me="must not be",V=V.replace(/^not /,"")):me="must be";var we;if(ae(P," argument"))we="The ".concat(P," ").concat(me," ").concat(N(V,"type"));else{var Re=ne(P,".")?"property":"argument";we='The "'.concat(P,'" ').concat(Re," ").concat(me," ").concat(N(V,"type"))}return we+=". Received type ".concat(p(X)),we},TypeError),Y("ERR_INVALID_ARG_VALUE",function(P,V){var X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";S===void 0&&(S=u("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"));var me=S.inspect(V);return me.length>128&&(me="".concat(me.slice(0,128),"...")),"The argument '".concat(P,"' ").concat(X,". Received ").concat(me)},TypeError,RangeError),Y("ERR_INVALID_RETURN_VALUE",function(P,V,X){var me;return X&&X.constructor&&X.constructor.name?me="instance of ".concat(X.constructor.name):me="type ".concat(p(X)),"Expected ".concat(P,' to be returned from the "').concat(V,'"')+" function but got ".concat(me,".")},TypeError),Y("ERR_MISSING_ARGS",function(){for(var P=arguments.length,V=new Array(P),X=0;X<P;X++)V[X]=arguments[X];U===void 0&&(U=u("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js")),U(V.length>0,"At least one arg needs to be specified");var me="The ",we=V.length;switch(V=V.map(function(Re){return'"'.concat(Re,'"')}),we){case 1:me+="".concat(V[0]," argument");break;case 2:me+="".concat(V[0]," and ").concat(V[1]," arguments");break;default:me+=V.slice(0,we-1).join(", "),me+=", and ".concat(V[we-1]," arguments");break}return"".concat(me," must be specified")},TypeError),ee.exports.codes=G}),"../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/util/comparisons.js":((ee,i,u)=>{"use strict";function p(De,Qe){return f(De)||E(De,Qe)||v(De,Qe)||w()}function w(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
101
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v(De,Qe){if(De){if(typeof De=="string")return h(De,Qe);var H=Object.prototype.toString.call(De).slice(8,-1);if(H==="Object"&&De.constructor&&(H=De.constructor.name),H==="Map"||H==="Set")return Array.from(De);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return h(De,Qe)}}function h(De,Qe){(Qe==null||Qe>De.length)&&(Qe=De.length);for(var H=0,y=new Array(Qe);H<Qe;H++)y[H]=De[H];return y}function E(De,Qe){var H=De==null?null:typeof Symbol<"u"&&De[Symbol.iterator]||De["@@iterator"];if(H!=null){var y,A,ue,j,Ee=[],ye=!0,$e=!1;try{if(ue=(H=H.call(De)).next,Qe===0){if(Object(H)!==H)return;ye=!1}else for(;!(ye=(y=ue.call(H)).done)&&(Ee.push(y.value),Ee.length!==Qe);ye=!0);}catch(Ce){$e=!0,A=Ce}finally{try{if(!ye&&H.return!=null&&(j=H.return(),Object(j)!==j))return}finally{if($e)throw A}}return Ee}}function f(De){if(Array.isArray(De))return De}function g(De){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Qe){return typeof Qe}:function(Qe){return Qe&&typeof Symbol=="function"&&Qe.constructor===Symbol&&Qe!==Symbol.prototype?"symbol":typeof Qe},g(De)}var l=/a/g.flags!==void 0,B=function(Qe){var H=[];return Qe.forEach(function(y){return H.push(y)}),H},M=function(Qe){var H=[];return Qe.forEach(function(y,A){return H.push([A,y])}),H},k=Object.is?Object.is:u("../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/index.js"),W=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},L=Number.isNaN?Number.isNaN:u("../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/index.js");function G(De){return De.call.bind(De)}var U=G(Object.prototype.hasOwnProperty),S=G(Object.prototype.propertyIsEnumerable),Y=G(Object.prototype.toString),N=u("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js").types,$=N.isAnyArrayBuffer,ae=N.isArrayBufferView,ne=N.isDate,P=N.isMap,V=N.isRegExp,X=N.isSet,me=N.isNativeError,we=N.isBoxedPrimitive,Re=N.isNumberObject,Ae=N.isStringObject,te=N.isBooleanObject,Se=N.isBigIntObject,Te=N.isSymbolObject,Ue=N.isFloat32Array,ft=N.isFloat64Array;function ut(De){if(De.length===0||De.length>10)return!0;for(var Qe=0;Qe<De.length;Qe++){var H=De.charCodeAt(Qe);if(H<48||H>57)return!0}return De.length===10&&De>=Math.pow(2,32)}function Ft(De){return Object.keys(De).filter(ut).concat(W(De).filter(Object.prototype.propertyIsEnumerable.bind(De)))}/*!
|
|
102
|
+
* The buffer module from node.js, for the browser.
|
|
103
|
+
*
|
|
104
|
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
105
|
+
* @license MIT
|
|
106
|
+
*/function kt(De,Qe){if(De===Qe)return 0;for(var H=De.length,y=Qe.length,A=0,ue=Math.min(H,y);A<ue;++A)if(De[A]!==Qe[A]){H=De[A],y=Qe[A];break}return H<y?-1:y<H?1:0}var ht=void 0,se=!0,He=!1,ge=0,je=1,nt=2,Rt=3;function Bt(De,Qe){return l?De.source===Qe.source&&De.flags===Qe.flags:RegExp.prototype.toString.call(De)===RegExp.prototype.toString.call(Qe)}function Me(De,Qe){if(De.byteLength!==Qe.byteLength)return!1;for(var H=0;H<De.byteLength;H++)if(De[H]!==Qe[H])return!1;return!0}function xe(De,Qe){return De.byteLength!==Qe.byteLength?!1:kt(new Uint8Array(De.buffer,De.byteOffset,De.byteLength),new Uint8Array(Qe.buffer,Qe.byteOffset,Qe.byteLength))===0}function rt(De,Qe){return De.byteLength===Qe.byteLength&&kt(new Uint8Array(De),new Uint8Array(Qe))===0}function _t(De,Qe){return Re(De)?Re(Qe)&&k(Number.prototype.valueOf.call(De),Number.prototype.valueOf.call(Qe)):Ae(De)?Ae(Qe)&&String.prototype.valueOf.call(De)===String.prototype.valueOf.call(Qe):te(De)?te(Qe)&&Boolean.prototype.valueOf.call(De)===Boolean.prototype.valueOf.call(Qe):Se(De)?Se(Qe)&&BigInt.prototype.valueOf.call(De)===BigInt.prototype.valueOf.call(Qe):Te(Qe)&&Symbol.prototype.valueOf.call(De)===Symbol.prototype.valueOf.call(Qe)}function Pt(De,Qe,H,y){if(De===Qe)return De!==0?!0:H?k(De,Qe):!0;if(H){if(g(De)!=="object")return typeof De=="number"&&L(De)&&L(Qe);if(g(Qe)!=="object"||De===null||Qe===null||Object.getPrototypeOf(De)!==Object.getPrototypeOf(Qe))return!1}else{if(De===null||g(De)!=="object")return Qe===null||g(Qe)!=="object"?De==Qe:!1;if(Qe===null||g(Qe)!=="object")return!1}var A=Y(De),ue=Y(Qe);if(A!==ue)return!1;if(Array.isArray(De)){if(De.length!==Qe.length)return!1;var j=Ft(De,ht),Ee=Ft(Qe,ht);return j.length!==Ee.length?!1:pe(De,Qe,H,y,je,j)}if(A==="[object Object]"&&(!P(De)&&P(Qe)||!X(De)&&X(Qe)))return!1;if(ne(De)){if(!ne(Qe)||Date.prototype.getTime.call(De)!==Date.prototype.getTime.call(Qe))return!1}else if(V(De)){if(!V(Qe)||!Bt(De,Qe))return!1}else if(me(De)||De instanceof Error){if(De.message!==Qe.message||De.name!==Qe.name)return!1}else if(ae(De)){if(!H&&(Ue(De)||ft(De))){if(!Me(De,Qe))return!1}else if(!xe(De,Qe))return!1;var ye=Ft(De,ht),$e=Ft(Qe,ht);return ye.length!==$e.length?!1:pe(De,Qe,H,y,ge,ye)}else{if(X(De))return!X(Qe)||De.size!==Qe.size?!1:pe(De,Qe,H,y,nt);if(P(De))return!P(Qe)||De.size!==Qe.size?!1:pe(De,Qe,H,y,Rt);if($(De)){if(!rt(De,Qe))return!1}else if(we(De)&&!_t(De,Qe))return!1}return pe(De,Qe,H,y,ge)}function fe(De,Qe){return Qe.filter(function(H){return S(De,H)})}function pe(De,Qe,H,y,A,ue){if(arguments.length===5){ue=Object.keys(De);var j=Object.keys(Qe);if(ue.length!==j.length)return!1}for(var Ee=0;Ee<ue.length;Ee++)if(!U(Qe,ue[Ee]))return!1;if(H&&arguments.length===5){var ye=W(De);if(ye.length!==0){var $e=0;for(Ee=0;Ee<ye.length;Ee++){var Ce=ye[Ee];if(S(De,Ce)){if(!S(Qe,Ce))return!1;ue.push(Ce),$e++}else if(S(Qe,Ce))return!1}var Ye=W(Qe);if(ye.length!==Ye.length&&fe(Qe,Ye).length!==$e)return!1}else{var J=W(Qe);if(J.length!==0&&fe(Qe,J).length!==0)return!1}}if(ue.length===0&&(A===ge||A===je&&De.length===0||De.size===0))return!0;if(y===void 0)y={val1:new Map,val2:new Map,position:0};else{var Ct=y.val1.get(De);if(Ct!==void 0){var lr=y.val2.get(Qe);if(lr!==void 0)return Ct===lr}y.position++}y.val1.set(De,y.position),y.val2.set(Qe,y.position);var D=tt(De,Qe,H,ue,y,A);return y.val1.delete(De),y.val2.delete(Qe),D}function yt(De,Qe,H,y){for(var A=B(De),ue=0;ue<A.length;ue++){var j=A[ue];if(Pt(Qe,j,H,y))return De.delete(j),!0}return!1}function F(De){switch(g(De)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":De=+De;case"number":if(L(De))return!1}return!0}function c(De,Qe,H){var y=F(H);return y??(Qe.has(y)&&!De.has(y))}function s(De,Qe,H,y,A){var ue=F(H);if(ue!=null)return ue;var j=Qe.get(ue);return j===void 0&&!Qe.has(ue)||!Pt(y,j,!1,A)?!1:!De.has(ue)&&Pt(y,j,!1,A)}function R(De,Qe,H,y){for(var A=null,ue=B(De),j=0;j<ue.length;j++){var Ee=ue[j];if(g(Ee)==="object"&&Ee!==null)A===null&&(A=new Set),A.add(Ee);else if(!Qe.has(Ee)){if(H||!c(De,Qe,Ee))return!1;A===null&&(A=new Set),A.add(Ee)}}if(A!==null){for(var ye=B(Qe),$e=0;$e<ye.length;$e++){var Ce=ye[$e];if(g(Ce)==="object"&&Ce!==null){if(!yt(A,Ce,H,y))return!1}else if(!H&&!De.has(Ce)&&!yt(A,Ce,H,y))return!1}return A.size===0}return!0}function oe(De,Qe,H,y,A,ue){for(var j=B(De),Ee=0;Ee<j.length;Ee++){var ye=j[Ee];if(Pt(H,ye,A,ue)&&Pt(y,Qe.get(ye),A,ue))return De.delete(ye),!0}return!1}function Ne(De,Qe,H,y){for(var A=null,ue=M(De),j=0;j<ue.length;j++){var Ee=p(ue[j],2),ye=Ee[0],$e=Ee[1];if(g(ye)==="object"&&ye!==null)A===null&&(A=new Set),A.add(ye);else{var Ce=Qe.get(ye);if(Ce===void 0&&!Qe.has(ye)||!Pt($e,Ce,H,y)){if(H||!s(De,Qe,ye,$e,y))return!1;A===null&&(A=new Set),A.add(ye)}}}if(A!==null){for(var Ye=M(Qe),J=0;J<Ye.length;J++){var Ct=p(Ye[J],2),lr=Ct[0],D=Ct[1];if(g(lr)==="object"&&lr!==null){if(!oe(A,De,lr,D,H,y))return!1}else if(!H&&(!De.has(lr)||!Pt(De.get(lr),D,!1,y))&&!oe(A,De,lr,D,!1,y))return!1}return A.size===0}return!0}function tt(De,Qe,H,y,A,ue){var j=0;if(ue===nt){if(!R(De,Qe,H,A))return!1}else if(ue===Rt){if(!Ne(De,Qe,H,A))return!1}else if(ue===je)for(;j<De.length;j++)if(U(De,j)){if(!U(Qe,j)||!Pt(De[j],Qe[j],H,A))return!1}else{if(U(Qe,j))return!1;for(var Ee=Object.keys(De);j<Ee.length;j++){var ye=Ee[j];if(!U(Qe,ye)||!Pt(De[ye],Qe[ye],H,A))return!1}return Ee.length===Object.keys(Qe).length}for(j=0;j<y.length;j++){var $e=y[j];if(!Pt(De[$e],Qe[$e],H,A))return!1}return!0}function It(De,Qe){return Pt(De,Qe,He)}function zt(De,Qe){return Pt(De,Qe,se)}ee.exports={isDeepEqual:It,isDeepStrictEqual:zt}}),"../../node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js"),w=typeof globalThis>"u"?u.g:globalThis;ee.exports=function(){for(var h=[],E=0;E<p.length;E++)typeof w[p[E]]=="function"&&(h[h.length]=p[E]);return h}}),"../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js":((ee,i)=>{"use strict";i.byteLength=g,i.toByteArray=B,i.fromByteArray=W;for(var u=[],p=[],w=typeof Uint8Array<"u"?Uint8Array:Array,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,E=v.length;h<E;++h)u[h]=v[h],p[v.charCodeAt(h)]=h;p[45]=62,p[95]=63;function f(L){var G=L.length;if(G%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var U=L.indexOf("=");U===-1&&(U=G);var S=U===G?0:4-U%4;return[U,S]}function g(L){var G=f(L),U=G[0],S=G[1];return(U+S)*3/4-S}function l(L,G,U){return(G+U)*3/4-U}function B(L){var G,U=f(L),S=U[0],Y=U[1],N=new w(l(L,S,Y)),$=0,ae=Y>0?S-4:S,ne;for(ne=0;ne<ae;ne+=4)G=p[L.charCodeAt(ne)]<<18|p[L.charCodeAt(ne+1)]<<12|p[L.charCodeAt(ne+2)]<<6|p[L.charCodeAt(ne+3)],N[$++]=G>>16&255,N[$++]=G>>8&255,N[$++]=G&255;return Y===2&&(G=p[L.charCodeAt(ne)]<<2|p[L.charCodeAt(ne+1)]>>4,N[$++]=G&255),Y===1&&(G=p[L.charCodeAt(ne)]<<10|p[L.charCodeAt(ne+1)]<<4|p[L.charCodeAt(ne+2)]>>2,N[$++]=G>>8&255,N[$++]=G&255),N}function M(L){return u[L>>18&63]+u[L>>12&63]+u[L>>6&63]+u[L&63]}function k(L,G,U){for(var S,Y=[],N=G;N<U;N+=3)S=(L[N]<<16&16711680)+(L[N+1]<<8&65280)+(L[N+2]&255),Y.push(M(S));return Y.join("")}function W(L){for(var G,U=L.length,S=U%3,Y=[],N=16383,$=0,ae=U-S;$<ae;$+=N)Y.push(k(L,$,$+N>ae?ae:$+N));return S===1?(G=L[U-1],Y.push(u[G>>2]+u[G<<4&63]+"==")):S===2&&(G=(L[U-2]<<8)+L[U-1],Y.push(u[G>>10]+u[G>>4&63]+u[G<<2&63]+"=")),Y.join("")}}),"../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/binding.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js").Buffer,w=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),v=u("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js"),h=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/zstream.js"),E=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/deflate.js"),f=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inflate.js"),g=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/constants.js");for(var l in g)i[l]=g[l];i.NONE=0,i.DEFLATE=1,i.INFLATE=2,i.GZIP=3,i.GUNZIP=4,i.DEFLATERAW=5,i.INFLATERAW=6,i.UNZIP=7;var B=31,M=139;function k(W){if(typeof W!="number"||W<i.DEFLATE||W>i.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=W,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}k.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,v(this.init_done,"close before init"),v(this.mode<=i.UNZIP),this.mode===i.DEFLATE||this.mode===i.GZIP||this.mode===i.DEFLATERAW?E.deflateEnd(this.strm):(this.mode===i.INFLATE||this.mode===i.GUNZIP||this.mode===i.INFLATERAW||this.mode===i.UNZIP)&&f.inflateEnd(this.strm),this.mode=i.NONE,this.dictionary=null},k.prototype.write=function(W,L,G,U,S,Y,N){return this._write(!0,W,L,G,U,S,Y,N)},k.prototype.writeSync=function(W,L,G,U,S,Y,N){return this._write(!1,W,L,G,U,S,Y,N)},k.prototype._write=function(W,L,G,U,S,Y,N,$){if(v.equal(arguments.length,8),v(this.init_done,"write before init"),v(this.mode!==i.NONE,"already finalized"),v.equal(!1,this.write_in_progress,"write already in progress"),v.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,v.equal(!1,L===void 0,"must provide flush value"),this.write_in_progress=!0,L!==i.Z_NO_FLUSH&&L!==i.Z_PARTIAL_FLUSH&&L!==i.Z_SYNC_FLUSH&&L!==i.Z_FULL_FLUSH&&L!==i.Z_FINISH&&L!==i.Z_BLOCK)throw new Error("Invalid flush value");if(G==null&&(G=p.alloc(0),S=0,U=0),this.strm.avail_in=S,this.strm.input=G,this.strm.next_in=U,this.strm.avail_out=$,this.strm.output=Y,this.strm.next_out=N,this.flush=L,!W)return this._process(),this._checkError()?this._afterSync():void 0;var ae=this;return w.nextTick(function(){ae._process(),ae._after()}),this},k.prototype._afterSync=function(){var W=this.strm.avail_out,L=this.strm.avail_in;return this.write_in_progress=!1,[L,W]},k.prototype._process=function(){var W=null;switch(this.mode){case i.DEFLATE:case i.GZIP:case i.DEFLATERAW:this.err=E.deflate(this.strm,this.flush);break;case i.UNZIP:switch(this.strm.avail_in>0&&(W=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(W===null)break;if(this.strm.input[W]===B){if(this.gzip_id_bytes_read=1,W++,this.strm.avail_in===1)break}else{this.mode=i.INFLATE;break}case 1:if(W===null)break;this.strm.input[W]===M?(this.gzip_id_bytes_read=2,this.mode=i.GUNZIP):this.mode=i.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case i.INFLATE:case i.GUNZIP:case i.INFLATERAW:for(this.err=f.inflate(this.strm,this.flush),this.err===i.Z_NEED_DICT&&this.dictionary&&(this.err=f.inflateSetDictionary(this.strm,this.dictionary),this.err===i.Z_OK?this.err=f.inflate(this.strm,this.flush):this.err===i.Z_DATA_ERROR&&(this.err=i.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===i.GUNZIP&&this.err===i.Z_STREAM_END&&this.strm.next_in[0]!==0;)this.reset(),this.err=f.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},k.prototype._checkError=function(){switch(this.err){case i.Z_OK:case i.Z_BUF_ERROR:if(this.strm.avail_out!==0&&this.flush===i.Z_FINISH)return this._error("unexpected end of file"),!1;break;case i.Z_STREAM_END:break;case i.Z_NEED_DICT:return this.dictionary==null?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},k.prototype._after=function(){if(this._checkError()){var W=this.strm.avail_out,L=this.strm.avail_in;this.write_in_progress=!1,this.callback(L,W),this.pending_close&&this.close()}},k.prototype._error=function(W){this.strm.msg&&(W=this.strm.msg),this.onerror(W,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},k.prototype.init=function(W,L,G,U,S){v(arguments.length===4||arguments.length===5,"init(windowBits, level, memLevel, strategy, [dictionary])"),v(W>=8&&W<=15,"invalid windowBits"),v(L>=-1&&L<=9,"invalid compression level"),v(G>=1&&G<=9,"invalid memlevel"),v(U===i.Z_FILTERED||U===i.Z_HUFFMAN_ONLY||U===i.Z_RLE||U===i.Z_FIXED||U===i.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(L,W,G,U,S),this._setDictionary()},k.prototype.params=function(){throw new Error("deflateParams Not supported")},k.prototype.reset=function(){this._reset(),this._setDictionary()},k.prototype._init=function(W,L,G,U,S){switch(this.level=W,this.windowBits=L,this.memLevel=G,this.strategy=U,this.flush=i.Z_NO_FLUSH,this.err=i.Z_OK,(this.mode===i.GZIP||this.mode===i.GUNZIP)&&(this.windowBits+=16),this.mode===i.UNZIP&&(this.windowBits+=32),(this.mode===i.DEFLATERAW||this.mode===i.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new h,this.mode){case i.DEFLATE:case i.GZIP:case i.DEFLATERAW:this.err=E.deflateInit2(this.strm,this.level,i.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case i.INFLATE:case i.GUNZIP:case i.INFLATERAW:case i.UNZIP:this.err=f.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==i.Z_OK&&this._error("Init error"),this.dictionary=S,this.write_in_progress=!1,this.init_done=!0},k.prototype._setDictionary=function(){if(this.dictionary!=null){switch(this.err=i.Z_OK,this.mode){case i.DEFLATE:case i.DEFLATERAW:this.err=E.deflateSetDictionary(this.strm,this.dictionary);break;default:break}this.err!==i.Z_OK&&this._error("Failed to set dictionary")}},k.prototype._reset=function(){switch(this.err=i.Z_OK,this.mode){case i.DEFLATE:case i.DEFLATERAW:case i.GZIP:this.err=E.deflateReset(this.strm);break;case i.INFLATE:case i.INFLATERAW:case i.GUNZIP:this.err=f.inflateReset(this.strm);break;default:break}this.err!==i.Z_OK&&this._error("Failed to reset stream")},i.Zlib=k}),"../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),w=u("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer,v=u("../../node_modules/.pnpm/stream-browserify@3.0.0/node_modules/stream-browserify/index.js").Transform,h=u("../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/binding.js"),E=u("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"),f=u("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js").ok,g=u("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").kMaxLength,l="Cannot create final Buffer. It would be larger than 0x"+g.toString(16)+" bytes";h.Z_MIN_WINDOWBITS=8,h.Z_MAX_WINDOWBITS=15,h.Z_DEFAULT_WINDOWBITS=15,h.Z_MIN_CHUNK=64,h.Z_MAX_CHUNK=1/0,h.Z_DEFAULT_CHUNK=16*1024,h.Z_MIN_MEMLEVEL=1,h.Z_MAX_MEMLEVEL=9,h.Z_DEFAULT_MEMLEVEL=8,h.Z_MIN_LEVEL=-1,h.Z_MAX_LEVEL=9,h.Z_DEFAULT_LEVEL=h.Z_DEFAULT_COMPRESSION;for(var B=Object.keys(h),M=0;M<B.length;M++){var k=B[M];k.match(/^Z/)&&Object.defineProperty(i,k,{enumerable:!0,value:h[k],writable:!1})}for(var W={Z_OK:h.Z_OK,Z_STREAM_END:h.Z_STREAM_END,Z_NEED_DICT:h.Z_NEED_DICT,Z_ERRNO:h.Z_ERRNO,Z_STREAM_ERROR:h.Z_STREAM_ERROR,Z_DATA_ERROR:h.Z_DATA_ERROR,Z_MEM_ERROR:h.Z_MEM_ERROR,Z_BUF_ERROR:h.Z_BUF_ERROR,Z_VERSION_ERROR:h.Z_VERSION_ERROR},L=Object.keys(W),G=0;G<L.length;G++){var U=L[G];W[W[U]]=U}Object.defineProperty(i,"codes",{enumerable:!0,value:Object.freeze(W),writable:!1}),i.Deflate=N,i.Inflate=$,i.Gzip=ae,i.Gunzip=ne,i.DeflateRaw=P,i.InflateRaw=V,i.Unzip=X,i.createDeflate=function(te){return new N(te)},i.createInflate=function(te){return new $(te)},i.createDeflateRaw=function(te){return new P(te)},i.createInflateRaw=function(te){return new V(te)},i.createGzip=function(te){return new ae(te)},i.createGunzip=function(te){return new ne(te)},i.createUnzip=function(te){return new X(te)},i.deflate=function(te,Se,Te){return typeof Se=="function"&&(Te=Se,Se={}),S(new N(Se),te,Te)},i.deflateSync=function(te,Se){return Y(new N(Se),te)},i.gzip=function(te,Se,Te){return typeof Se=="function"&&(Te=Se,Se={}),S(new ae(Se),te,Te)},i.gzipSync=function(te,Se){return Y(new ae(Se),te)},i.deflateRaw=function(te,Se,Te){return typeof Se=="function"&&(Te=Se,Se={}),S(new P(Se),te,Te)},i.deflateRawSync=function(te,Se){return Y(new P(Se),te)},i.unzip=function(te,Se,Te){return typeof Se=="function"&&(Te=Se,Se={}),S(new X(Se),te,Te)},i.unzipSync=function(te,Se){return Y(new X(Se),te)},i.inflate=function(te,Se,Te){return typeof Se=="function"&&(Te=Se,Se={}),S(new $(Se),te,Te)},i.inflateSync=function(te,Se){return Y(new $(Se),te)},i.gunzip=function(te,Se,Te){return typeof Se=="function"&&(Te=Se,Se={}),S(new ne(Se),te,Te)},i.gunzipSync=function(te,Se){return Y(new ne(Se),te)},i.inflateRaw=function(te,Se,Te){return typeof Se=="function"&&(Te=Se,Se={}),S(new V(Se),te,Te)},i.inflateRawSync=function(te,Se){return Y(new V(Se),te)};function S(te,Se,Te){var Ue=[],ft=0;te.on("error",Ft),te.on("end",kt),te.end(Se),ut();function ut(){for(var ht;(ht=te.read())!==null;)Ue.push(ht),ft+=ht.length;te.once("readable",ut)}function Ft(ht){te.removeListener("end",kt),te.removeListener("readable",ut),Te(ht)}function kt(){var ht,se=null;ft>=g?se=new RangeError(l):ht=w.concat(Ue,ft),Ue=[],te.close(),Te(se,ht)}}function Y(te,Se){if(typeof Se=="string"&&(Se=w.from(Se)),!w.isBuffer(Se))throw new TypeError("Not a string or buffer");var Te=te._finishFlushFlag;return te._processChunk(Se,Te)}function N(te){if(!(this instanceof N))return new N(te);we.call(this,te,h.DEFLATE)}function $(te){if(!(this instanceof $))return new $(te);we.call(this,te,h.INFLATE)}function ae(te){if(!(this instanceof ae))return new ae(te);we.call(this,te,h.GZIP)}function ne(te){if(!(this instanceof ne))return new ne(te);we.call(this,te,h.GUNZIP)}function P(te){if(!(this instanceof P))return new P(te);we.call(this,te,h.DEFLATERAW)}function V(te){if(!(this instanceof V))return new V(te);we.call(this,te,h.INFLATERAW)}function X(te){if(!(this instanceof X))return new X(te);we.call(this,te,h.UNZIP)}function me(te){return te===h.Z_NO_FLUSH||te===h.Z_PARTIAL_FLUSH||te===h.Z_SYNC_FLUSH||te===h.Z_FULL_FLUSH||te===h.Z_FINISH||te===h.Z_BLOCK}function we(te,Se){var Te=this;if(this._opts=te=te||{},this._chunkSize=te.chunkSize||i.Z_DEFAULT_CHUNK,v.call(this,te),te.flush&&!me(te.flush))throw new Error("Invalid flush flag: "+te.flush);if(te.finishFlush&&!me(te.finishFlush))throw new Error("Invalid flush flag: "+te.finishFlush);if(this._flushFlag=te.flush||h.Z_NO_FLUSH,this._finishFlushFlag=typeof te.finishFlush<"u"?te.finishFlush:h.Z_FINISH,te.chunkSize&&(te.chunkSize<i.Z_MIN_CHUNK||te.chunkSize>i.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+te.chunkSize);if(te.windowBits&&(te.windowBits<i.Z_MIN_WINDOWBITS||te.windowBits>i.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+te.windowBits);if(te.level&&(te.level<i.Z_MIN_LEVEL||te.level>i.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+te.level);if(te.memLevel&&(te.memLevel<i.Z_MIN_MEMLEVEL||te.memLevel>i.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+te.memLevel);if(te.strategy&&te.strategy!=i.Z_FILTERED&&te.strategy!=i.Z_HUFFMAN_ONLY&&te.strategy!=i.Z_RLE&&te.strategy!=i.Z_FIXED&&te.strategy!=i.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+te.strategy);if(te.dictionary&&!w.isBuffer(te.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new h.Zlib(Se);var Ue=this;this._hadError=!1,this._handle.onerror=function(Ft,kt){Re(Ue),Ue._hadError=!0;var ht=new Error(Ft);ht.errno=kt,ht.code=i.codes[kt],Ue.emit("error",ht)};var ft=i.Z_DEFAULT_COMPRESSION;typeof te.level=="number"&&(ft=te.level);var ut=i.Z_DEFAULT_STRATEGY;typeof te.strategy=="number"&&(ut=te.strategy),this._handle.init(te.windowBits||i.Z_DEFAULT_WINDOWBITS,ft,te.memLevel||i.Z_DEFAULT_MEMLEVEL,ut,te.dictionary),this._buffer=w.allocUnsafe(this._chunkSize),this._offset=0,this._level=ft,this._strategy=ut,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!Te._handle},configurable:!0,enumerable:!0})}E.inherits(we,v),we.prototype.params=function(te,Se,Te){if(te<i.Z_MIN_LEVEL||te>i.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+te);if(Se!=i.Z_FILTERED&&Se!=i.Z_HUFFMAN_ONLY&&Se!=i.Z_RLE&&Se!=i.Z_FIXED&&Se!=i.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+Se);if(this._level!==te||this._strategy!==Se){var Ue=this;this.flush(h.Z_SYNC_FLUSH,function(){f(Ue._handle,"zlib binding closed"),Ue._handle.params(te,Se),Ue._hadError||(Ue._level=te,Ue._strategy=Se,Te&&Te())})}else p.nextTick(Te)},we.prototype.reset=function(){return f(this._handle,"zlib binding closed"),this._handle.reset()},we.prototype._flush=function(te){this._transform(w.alloc(0),"",te)},we.prototype.flush=function(te,Se){var Te=this,Ue=this._writableState;(typeof te=="function"||te===void 0&&!Se)&&(Se=te,te=h.Z_FULL_FLUSH),Ue.ended?Se&&p.nextTick(Se):Ue.ending?Se&&this.once("end",Se):Ue.needDrain?Se&&this.once("drain",function(){return Te.flush(te,Se)}):(this._flushFlag=te,this.write(w.alloc(0),"",Se))},we.prototype.close=function(te){Re(this,te),p.nextTick(Ae,this)};function Re(te,Se){Se&&p.nextTick(Se),te._handle&&(te._handle.close(),te._handle=null)}function Ae(te){te.emit("close")}we.prototype._transform=function(te,Se,Te){var Ue,ft=this._writableState,ut=ft.ending||ft.ended,Ft=ut&&(!te||ft.length===te.length);if(te!==null&&!w.isBuffer(te))return Te(new Error("invalid input"));if(!this._handle)return Te(new Error("zlib binding closed"));Ft?Ue=this._finishFlushFlag:(Ue=this._flushFlag,te.length>=ft.length&&(this._flushFlag=this._opts.flush||h.Z_NO_FLUSH)),this._processChunk(te,Ue,Te)},we.prototype._processChunk=function(te,Se,Te){var Ue=te&&te.length,ft=this._chunkSize-this._offset,ut=0,Ft=this,kt=typeof Te=="function";if(!kt){var ht=[],se=0,He;this.on("error",function(Bt){He=Bt}),f(this._handle,"zlib binding closed");do var ge=this._handle.writeSync(Se,te,ut,Ue,this._buffer,this._offset,ft);while(!this._hadError&&Rt(ge[0],ge[1]));if(this._hadError)throw He;if(se>=g)throw Re(this),new RangeError(l);var je=w.concat(ht,se);return Re(this),je}f(this._handle,"zlib binding closed");var nt=this._handle.write(Se,te,ut,Ue,this._buffer,this._offset,ft);nt.buffer=te,nt.callback=Rt;function Rt(Bt,Me){if(this&&(this.buffer=null,this.callback=null),!Ft._hadError){var xe=ft-Me;if(f(xe>=0,"have should not go down"),xe>0){var rt=Ft._buffer.slice(Ft._offset,Ft._offset+xe);Ft._offset+=xe,kt?Ft.push(rt):(ht.push(rt),se+=rt.length)}if((Me===0||Ft._offset>=Ft._chunkSize)&&(ft=Ft._chunkSize,Ft._offset=0,Ft._buffer=w.allocUnsafe(Ft._chunkSize)),Me===0){if(ut+=Ue-Bt,Ue=Bt,!kt)return!0;var _t=Ft._handle.write(Se,te,ut,Ue,Ft._buffer,Ft._offset,Ft._chunkSize);_t.callback=Rt,_t.buffer=te;return}if(!kt)return!1;Te()}}},E.inherits(N,we),E.inherits($,we),E.inherits(ae,we),E.inherits(ne,we),E.inherits(P,we),E.inherits(V,we),E.inherits(X,we)}),"../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");/*!
|
|
107
|
+
* The buffer module from node.js, for the browser.
|
|
108
|
+
*
|
|
109
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
110
|
+
* @license MIT
|
|
111
|
+
*/var w=u("../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js"),v=u("../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js"),h=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;i.Buffer=l,i.SlowBuffer=$,i.INSPECT_MAX_BYTES=50;var E=2147483647;i.kMaxLength=E,l.TYPED_ARRAY_SUPPORT=f(),!l.TYPED_ARRAY_SUPPORT&&typeof p<"u"&&typeof p.error=="function"&&p.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function f(){try{var F=new Uint8Array(1),c={foo:function(){return 42}};return Object.setPrototypeOf(c,Uint8Array.prototype),Object.setPrototypeOf(F,c),F.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function g(F){if(F>E)throw new RangeError('The value "'+F+'" is invalid for option "size"');var c=new Uint8Array(F);return Object.setPrototypeOf(c,l.prototype),c}function l(F,c,s){if(typeof F=="number"){if(typeof c=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return W(F)}return B(F,c,s)}l.poolSize=8192;function B(F,c,s){if(typeof F=="string")return L(F,c);if(ArrayBuffer.isView(F))return U(F);if(F==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F);if(fe(F,ArrayBuffer)||F&&fe(F.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(fe(F,SharedArrayBuffer)||F&&fe(F.buffer,SharedArrayBuffer)))return S(F,c,s);if(typeof F=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var R=F.valueOf&&F.valueOf();if(R!=null&&R!==F)return l.from(R,c,s);var oe=Y(F);if(oe)return oe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof F[Symbol.toPrimitive]=="function")return l.from(F[Symbol.toPrimitive]("string"),c,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F)}l.from=function(F,c,s){return B(F,c,s)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function M(F){if(typeof F!="number")throw new TypeError('"size" argument must be of type number');if(F<0)throw new RangeError('The value "'+F+'" is invalid for option "size"')}function k(F,c,s){return M(F),F<=0?g(F):c!==void 0?typeof s=="string"?g(F).fill(c,s):g(F).fill(c):g(F)}l.alloc=function(F,c,s){return k(F,c,s)};function W(F){return M(F),g(F<0?0:N(F)|0)}l.allocUnsafe=function(F){return W(F)},l.allocUnsafeSlow=function(F){return W(F)};function L(F,c){if((typeof c!="string"||c==="")&&(c="utf8"),!l.isEncoding(c))throw new TypeError("Unknown encoding: "+c);var s=ae(F,c)|0,R=g(s),oe=R.write(F,c);return oe!==s&&(R=R.slice(0,oe)),R}function G(F){for(var c=F.length<0?0:N(F.length)|0,s=g(c),R=0;R<c;R+=1)s[R]=F[R]&255;return s}function U(F){if(fe(F,Uint8Array)){var c=new Uint8Array(F);return S(c.buffer,c.byteOffset,c.byteLength)}return G(F)}function S(F,c,s){if(c<0||F.byteLength<c)throw new RangeError('"offset" is outside of buffer bounds');if(F.byteLength<c+(s||0))throw new RangeError('"length" is outside of buffer bounds');var R;return c===void 0&&s===void 0?R=new Uint8Array(F):s===void 0?R=new Uint8Array(F,c):R=new Uint8Array(F,c,s),Object.setPrototypeOf(R,l.prototype),R}function Y(F){if(l.isBuffer(F)){var c=N(F.length)|0,s=g(c);return s.length===0||F.copy(s,0,0,c),s}if(F.length!==void 0)return typeof F.length!="number"||pe(F.length)?g(0):G(F);if(F.type==="Buffer"&&Array.isArray(F.data))return G(F.data)}function N(F){if(F>=E)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+E.toString(16)+" bytes");return F|0}function $(F){return+F!=F&&(F=0),l.alloc(+F)}l.isBuffer=function(c){return c!=null&&c._isBuffer===!0&&c!==l.prototype},l.compare=function(c,s){if(fe(c,Uint8Array)&&(c=l.from(c,c.offset,c.byteLength)),fe(s,Uint8Array)&&(s=l.from(s,s.offset,s.byteLength)),!l.isBuffer(c)||!l.isBuffer(s))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(c===s)return 0;for(var R=c.length,oe=s.length,Ne=0,tt=Math.min(R,oe);Ne<tt;++Ne)if(c[Ne]!==s[Ne]){R=c[Ne],oe=s[Ne];break}return R<oe?-1:oe<R?1:0},l.isEncoding=function(c){switch(String(c).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(c,s){if(!Array.isArray(c))throw new TypeError('"list" argument must be an Array of Buffers');if(c.length===0)return l.alloc(0);var R;if(s===void 0)for(s=0,R=0;R<c.length;++R)s+=c[R].length;var oe=l.allocUnsafe(s),Ne=0;for(R=0;R<c.length;++R){var tt=c[R];if(fe(tt,Uint8Array))Ne+tt.length>oe.length?l.from(tt).copy(oe,Ne):Uint8Array.prototype.set.call(oe,tt,Ne);else if(l.isBuffer(tt))tt.copy(oe,Ne);else throw new TypeError('"list" argument must be an Array of Buffers');Ne+=tt.length}return oe};function ae(F,c){if(l.isBuffer(F))return F.length;if(ArrayBuffer.isView(F)||fe(F,ArrayBuffer))return F.byteLength;if(typeof F!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof F);var s=F.length,R=arguments.length>2&&arguments[2]===!0;if(!R&&s===0)return 0;for(var oe=!1;;)switch(c){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return Me(F).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s*2;case"hex":return s>>>1;case"base64":return _t(F).length;default:if(oe)return R?-1:Me(F).length;c=(""+c).toLowerCase(),oe=!0}}l.byteLength=ae;function ne(F,c,s){var R=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((s===void 0||s>this.length)&&(s=this.length),s<=0)||(s>>>=0,c>>>=0,s<=c))return"";for(F||(F="utf8");;)switch(F){case"hex":return kt(this,c,s);case"utf8":case"utf-8":return Te(this,c,s);case"ascii":return ut(this,c,s);case"latin1":case"binary":return Ft(this,c,s);case"base64":return Se(this,c,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ht(this,c,s);default:if(R)throw new TypeError("Unknown encoding: "+F);F=(F+"").toLowerCase(),R=!0}}l.prototype._isBuffer=!0;function P(F,c,s){var R=F[c];F[c]=F[s],F[s]=R}l.prototype.swap16=function(){var c=this.length;if(c%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var s=0;s<c;s+=2)P(this,s,s+1);return this},l.prototype.swap32=function(){var c=this.length;if(c%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var s=0;s<c;s+=4)P(this,s,s+3),P(this,s+1,s+2);return this},l.prototype.swap64=function(){var c=this.length;if(c%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var s=0;s<c;s+=8)P(this,s,s+7),P(this,s+1,s+6),P(this,s+2,s+5),P(this,s+3,s+4);return this},l.prototype.toString=function(){var c=this.length;return c===0?"":arguments.length===0?Te(this,0,c):ne.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(c){if(!l.isBuffer(c))throw new TypeError("Argument must be a Buffer");return this===c?!0:l.compare(this,c)===0},l.prototype.inspect=function(){var c="",s=i.INSPECT_MAX_BYTES;return c=this.toString("hex",0,s).replace(/(.{2})/g,"$1 ").trim(),this.length>s&&(c+=" ... "),"<Buffer "+c+">"},h&&(l.prototype[h]=l.prototype.inspect),l.prototype.compare=function(c,s,R,oe,Ne){if(fe(c,Uint8Array)&&(c=l.from(c,c.offset,c.byteLength)),!l.isBuffer(c))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof c);if(s===void 0&&(s=0),R===void 0&&(R=c?c.length:0),oe===void 0&&(oe=0),Ne===void 0&&(Ne=this.length),s<0||R>c.length||oe<0||Ne>this.length)throw new RangeError("out of range index");if(oe>=Ne&&s>=R)return 0;if(oe>=Ne)return-1;if(s>=R)return 1;if(s>>>=0,R>>>=0,oe>>>=0,Ne>>>=0,this===c)return 0;for(var tt=Ne-oe,It=R-s,zt=Math.min(tt,It),De=this.slice(oe,Ne),Qe=c.slice(s,R),H=0;H<zt;++H)if(De[H]!==Qe[H]){tt=De[H],It=Qe[H];break}return tt<It?-1:It<tt?1:0};function V(F,c,s,R,oe){if(F.length===0)return-1;if(typeof s=="string"?(R=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,pe(s)&&(s=oe?0:F.length-1),s<0&&(s=F.length+s),s>=F.length){if(oe)return-1;s=F.length-1}else if(s<0)if(oe)s=0;else return-1;if(typeof c=="string"&&(c=l.from(c,R)),l.isBuffer(c))return c.length===0?-1:X(F,c,s,R,oe);if(typeof c=="number")return c=c&255,typeof Uint8Array.prototype.indexOf=="function"?oe?Uint8Array.prototype.indexOf.call(F,c,s):Uint8Array.prototype.lastIndexOf.call(F,c,s):X(F,[c],s,R,oe);throw new TypeError("val must be string, number or Buffer")}function X(F,c,s,R,oe){var Ne=1,tt=F.length,It=c.length;if(R!==void 0&&(R=String(R).toLowerCase(),R==="ucs2"||R==="ucs-2"||R==="utf16le"||R==="utf-16le")){if(F.length<2||c.length<2)return-1;Ne=2,tt/=2,It/=2,s/=2}function zt(A,ue){return Ne===1?A[ue]:A.readUInt16BE(ue*Ne)}var De;if(oe){var Qe=-1;for(De=s;De<tt;De++)if(zt(F,De)===zt(c,Qe===-1?0:De-Qe)){if(Qe===-1&&(Qe=De),De-Qe+1===It)return Qe*Ne}else Qe!==-1&&(De-=De-Qe),Qe=-1}else for(s+It>tt&&(s=tt-It),De=s;De>=0;De--){for(var H=!0,y=0;y<It;y++)if(zt(F,De+y)!==zt(c,y)){H=!1;break}if(H)return De}return-1}l.prototype.includes=function(c,s,R){return this.indexOf(c,s,R)!==-1},l.prototype.indexOf=function(c,s,R){return V(this,c,s,R,!0)},l.prototype.lastIndexOf=function(c,s,R){return V(this,c,s,R,!1)};function me(F,c,s,R){s=Number(s)||0;var oe=F.length-s;R?(R=Number(R),R>oe&&(R=oe)):R=oe;var Ne=c.length;R>Ne/2&&(R=Ne/2);for(var tt=0;tt<R;++tt){var It=parseInt(c.substr(tt*2,2),16);if(pe(It))return tt;F[s+tt]=It}return tt}function we(F,c,s,R){return Pt(Me(c,F.length-s),F,s,R)}function Re(F,c,s,R){return Pt(xe(c),F,s,R)}function Ae(F,c,s,R){return Pt(_t(c),F,s,R)}function te(F,c,s,R){return Pt(rt(c,F.length-s),F,s,R)}l.prototype.write=function(c,s,R,oe){if(s===void 0)oe="utf8",R=this.length,s=0;else if(R===void 0&&typeof s=="string")oe=s,R=this.length,s=0;else if(isFinite(s))s=s>>>0,isFinite(R)?(R=R>>>0,oe===void 0&&(oe="utf8")):(oe=R,R=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ne=this.length-s;if((R===void 0||R>Ne)&&(R=Ne),c.length>0&&(R<0||s<0)||s>this.length)throw new RangeError("Attempt to write outside buffer bounds");oe||(oe="utf8");for(var tt=!1;;)switch(oe){case"hex":return me(this,c,s,R);case"utf8":case"utf-8":return we(this,c,s,R);case"ascii":case"latin1":case"binary":return Re(this,c,s,R);case"base64":return Ae(this,c,s,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,c,s,R);default:if(tt)throw new TypeError("Unknown encoding: "+oe);oe=(""+oe).toLowerCase(),tt=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Se(F,c,s){return c===0&&s===F.length?w.fromByteArray(F):w.fromByteArray(F.slice(c,s))}function Te(F,c,s){s=Math.min(F.length,s);for(var R=[],oe=c;oe<s;){var Ne=F[oe],tt=null,It=Ne>239?4:Ne>223?3:Ne>191?2:1;if(oe+It<=s){var zt,De,Qe,H;switch(It){case 1:Ne<128&&(tt=Ne);break;case 2:zt=F[oe+1],(zt&192)===128&&(H=(Ne&31)<<6|zt&63,H>127&&(tt=H));break;case 3:zt=F[oe+1],De=F[oe+2],(zt&192)===128&&(De&192)===128&&(H=(Ne&15)<<12|(zt&63)<<6|De&63,H>2047&&(H<55296||H>57343)&&(tt=H));break;case 4:zt=F[oe+1],De=F[oe+2],Qe=F[oe+3],(zt&192)===128&&(De&192)===128&&(Qe&192)===128&&(H=(Ne&15)<<18|(zt&63)<<12|(De&63)<<6|Qe&63,H>65535&&H<1114112&&(tt=H))}}tt===null?(tt=65533,It=1):tt>65535&&(tt-=65536,R.push(tt>>>10&1023|55296),tt=56320|tt&1023),R.push(tt),oe+=It}return ft(R)}var Ue=4096;function ft(F){var c=F.length;if(c<=Ue)return String.fromCharCode.apply(String,F);for(var s="",R=0;R<c;)s+=String.fromCharCode.apply(String,F.slice(R,R+=Ue));return s}function ut(F,c,s){var R="";s=Math.min(F.length,s);for(var oe=c;oe<s;++oe)R+=String.fromCharCode(F[oe]&127);return R}function Ft(F,c,s){var R="";s=Math.min(F.length,s);for(var oe=c;oe<s;++oe)R+=String.fromCharCode(F[oe]);return R}function kt(F,c,s){var R=F.length;(!c||c<0)&&(c=0),(!s||s<0||s>R)&&(s=R);for(var oe="",Ne=c;Ne<s;++Ne)oe+=yt[F[Ne]];return oe}function ht(F,c,s){for(var R=F.slice(c,s),oe="",Ne=0;Ne<R.length-1;Ne+=2)oe+=String.fromCharCode(R[Ne]+R[Ne+1]*256);return oe}l.prototype.slice=function(c,s){var R=this.length;c=~~c,s=s===void 0?R:~~s,c<0?(c+=R,c<0&&(c=0)):c>R&&(c=R),s<0?(s+=R,s<0&&(s=0)):s>R&&(s=R),s<c&&(s=c);var oe=this.subarray(c,s);return Object.setPrototypeOf(oe,l.prototype),oe};function se(F,c,s){if(F%1!==0||F<0)throw new RangeError("offset is not uint");if(F+c>s)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(c,s,R){c=c>>>0,s=s>>>0,R||se(c,s,this.length);for(var oe=this[c],Ne=1,tt=0;++tt<s&&(Ne*=256);)oe+=this[c+tt]*Ne;return oe},l.prototype.readUintBE=l.prototype.readUIntBE=function(c,s,R){c=c>>>0,s=s>>>0,R||se(c,s,this.length);for(var oe=this[c+--s],Ne=1;s>0&&(Ne*=256);)oe+=this[c+--s]*Ne;return oe},l.prototype.readUint8=l.prototype.readUInt8=function(c,s){return c=c>>>0,s||se(c,1,this.length),this[c]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(c,s){return c=c>>>0,s||se(c,2,this.length),this[c]|this[c+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(c,s){return c=c>>>0,s||se(c,2,this.length),this[c]<<8|this[c+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(c,s){return c=c>>>0,s||se(c,4,this.length),(this[c]|this[c+1]<<8|this[c+2]<<16)+this[c+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(c,s){return c=c>>>0,s||se(c,4,this.length),this[c]*16777216+(this[c+1]<<16|this[c+2]<<8|this[c+3])},l.prototype.readIntLE=function(c,s,R){c=c>>>0,s=s>>>0,R||se(c,s,this.length);for(var oe=this[c],Ne=1,tt=0;++tt<s&&(Ne*=256);)oe+=this[c+tt]*Ne;return Ne*=128,oe>=Ne&&(oe-=Math.pow(2,8*s)),oe},l.prototype.readIntBE=function(c,s,R){c=c>>>0,s=s>>>0,R||se(c,s,this.length);for(var oe=s,Ne=1,tt=this[c+--oe];oe>0&&(Ne*=256);)tt+=this[c+--oe]*Ne;return Ne*=128,tt>=Ne&&(tt-=Math.pow(2,8*s)),tt},l.prototype.readInt8=function(c,s){return c=c>>>0,s||se(c,1,this.length),this[c]&128?(255-this[c]+1)*-1:this[c]},l.prototype.readInt16LE=function(c,s){c=c>>>0,s||se(c,2,this.length);var R=this[c]|this[c+1]<<8;return R&32768?R|4294901760:R},l.prototype.readInt16BE=function(c,s){c=c>>>0,s||se(c,2,this.length);var R=this[c+1]|this[c]<<8;return R&32768?R|4294901760:R},l.prototype.readInt32LE=function(c,s){return c=c>>>0,s||se(c,4,this.length),this[c]|this[c+1]<<8|this[c+2]<<16|this[c+3]<<24},l.prototype.readInt32BE=function(c,s){return c=c>>>0,s||se(c,4,this.length),this[c]<<24|this[c+1]<<16|this[c+2]<<8|this[c+3]},l.prototype.readFloatLE=function(c,s){return c=c>>>0,s||se(c,4,this.length),v.read(this,c,!0,23,4)},l.prototype.readFloatBE=function(c,s){return c=c>>>0,s||se(c,4,this.length),v.read(this,c,!1,23,4)},l.prototype.readDoubleLE=function(c,s){return c=c>>>0,s||se(c,8,this.length),v.read(this,c,!0,52,8)},l.prototype.readDoubleBE=function(c,s){return c=c>>>0,s||se(c,8,this.length),v.read(this,c,!1,52,8)};function He(F,c,s,R,oe,Ne){if(!l.isBuffer(F))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>oe||c<Ne)throw new RangeError('"value" argument is out of bounds');if(s+R>F.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(c,s,R,oe){if(c=+c,s=s>>>0,R=R>>>0,!oe){var Ne=Math.pow(2,8*R)-1;He(this,c,s,R,Ne,0)}var tt=1,It=0;for(this[s]=c&255;++It<R&&(tt*=256);)this[s+It]=c/tt&255;return s+R},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(c,s,R,oe){if(c=+c,s=s>>>0,R=R>>>0,!oe){var Ne=Math.pow(2,8*R)-1;He(this,c,s,R,Ne,0)}var tt=R-1,It=1;for(this[s+tt]=c&255;--tt>=0&&(It*=256);)this[s+tt]=c/It&255;return s+R},l.prototype.writeUint8=l.prototype.writeUInt8=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,1,255,0),this[s]=c&255,s+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,2,65535,0),this[s]=c&255,this[s+1]=c>>>8,s+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,2,65535,0),this[s]=c>>>8,this[s+1]=c&255,s+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,4,4294967295,0),this[s+3]=c>>>24,this[s+2]=c>>>16,this[s+1]=c>>>8,this[s]=c&255,s+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,4,4294967295,0),this[s]=c>>>24,this[s+1]=c>>>16,this[s+2]=c>>>8,this[s+3]=c&255,s+4},l.prototype.writeIntLE=function(c,s,R,oe){if(c=+c,s=s>>>0,!oe){var Ne=Math.pow(2,8*R-1);He(this,c,s,R,Ne-1,-Ne)}var tt=0,It=1,zt=0;for(this[s]=c&255;++tt<R&&(It*=256);)c<0&&zt===0&&this[s+tt-1]!==0&&(zt=1),this[s+tt]=(c/It>>0)-zt&255;return s+R},l.prototype.writeIntBE=function(c,s,R,oe){if(c=+c,s=s>>>0,!oe){var Ne=Math.pow(2,8*R-1);He(this,c,s,R,Ne-1,-Ne)}var tt=R-1,It=1,zt=0;for(this[s+tt]=c&255;--tt>=0&&(It*=256);)c<0&&zt===0&&this[s+tt+1]!==0&&(zt=1),this[s+tt]=(c/It>>0)-zt&255;return s+R},l.prototype.writeInt8=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,1,127,-128),c<0&&(c=255+c+1),this[s]=c&255,s+1},l.prototype.writeInt16LE=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,2,32767,-32768),this[s]=c&255,this[s+1]=c>>>8,s+2},l.prototype.writeInt16BE=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,2,32767,-32768),this[s]=c>>>8,this[s+1]=c&255,s+2},l.prototype.writeInt32LE=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,4,2147483647,-2147483648),this[s]=c&255,this[s+1]=c>>>8,this[s+2]=c>>>16,this[s+3]=c>>>24,s+4},l.prototype.writeInt32BE=function(c,s,R){return c=+c,s=s>>>0,R||He(this,c,s,4,2147483647,-2147483648),c<0&&(c=4294967295+c+1),this[s]=c>>>24,this[s+1]=c>>>16,this[s+2]=c>>>8,this[s+3]=c&255,s+4};function ge(F,c,s,R,oe,Ne){if(s+R>F.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function je(F,c,s,R,oe){return c=+c,s=s>>>0,oe||ge(F,c,s,4,34028234663852886e22,-34028234663852886e22),v.write(F,c,s,R,23,4),s+4}l.prototype.writeFloatLE=function(c,s,R){return je(this,c,s,!0,R)},l.prototype.writeFloatBE=function(c,s,R){return je(this,c,s,!1,R)};function nt(F,c,s,R,oe){return c=+c,s=s>>>0,oe||ge(F,c,s,8,17976931348623157e292,-17976931348623157e292),v.write(F,c,s,R,52,8),s+8}l.prototype.writeDoubleLE=function(c,s,R){return nt(this,c,s,!0,R)},l.prototype.writeDoubleBE=function(c,s,R){return nt(this,c,s,!1,R)},l.prototype.copy=function(c,s,R,oe){if(!l.isBuffer(c))throw new TypeError("argument should be a Buffer");if(R||(R=0),!oe&&oe!==0&&(oe=this.length),s>=c.length&&(s=c.length),s||(s=0),oe>0&&oe<R&&(oe=R),oe===R||c.length===0||this.length===0)return 0;if(s<0)throw new RangeError("targetStart out of bounds");if(R<0||R>=this.length)throw new RangeError("Index out of range");if(oe<0)throw new RangeError("sourceEnd out of bounds");oe>this.length&&(oe=this.length),c.length-s<oe-R&&(oe=c.length-s+R);var Ne=oe-R;return this===c&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(s,R,oe):Uint8Array.prototype.set.call(c,this.subarray(R,oe),s),Ne},l.prototype.fill=function(c,s,R,oe){if(typeof c=="string"){if(typeof s=="string"?(oe=s,s=0,R=this.length):typeof R=="string"&&(oe=R,R=this.length),oe!==void 0&&typeof oe!="string")throw new TypeError("encoding must be a string");if(typeof oe=="string"&&!l.isEncoding(oe))throw new TypeError("Unknown encoding: "+oe);if(c.length===1){var Ne=c.charCodeAt(0);(oe==="utf8"&&Ne<128||oe==="latin1")&&(c=Ne)}}else typeof c=="number"?c=c&255:typeof c=="boolean"&&(c=Number(c));if(s<0||this.length<s||this.length<R)throw new RangeError("Out of range index");if(R<=s)return this;s=s>>>0,R=R===void 0?this.length:R>>>0,c||(c=0);var tt;if(typeof c=="number")for(tt=s;tt<R;++tt)this[tt]=c;else{var It=l.isBuffer(c)?c:l.from(c,oe),zt=It.length;if(zt===0)throw new TypeError('The value "'+c+'" is invalid for argument "value"');for(tt=0;tt<R-s;++tt)this[tt+s]=It[tt%zt]}return this};var Rt=/[^+/0-9A-Za-z-_]/g;function Bt(F){if(F=F.split("=")[0],F=F.trim().replace(Rt,""),F.length<2)return"";for(;F.length%4!==0;)F=F+"=";return F}function Me(F,c){c=c||1/0;for(var s,R=F.length,oe=null,Ne=[],tt=0;tt<R;++tt){if(s=F.charCodeAt(tt),s>55295&&s<57344){if(!oe){if(s>56319){(c-=3)>-1&&Ne.push(239,191,189);continue}else if(tt+1===R){(c-=3)>-1&&Ne.push(239,191,189);continue}oe=s;continue}if(s<56320){(c-=3)>-1&&Ne.push(239,191,189),oe=s;continue}s=(oe-55296<<10|s-56320)+65536}else oe&&(c-=3)>-1&&Ne.push(239,191,189);if(oe=null,s<128){if((c-=1)<0)break;Ne.push(s)}else if(s<2048){if((c-=2)<0)break;Ne.push(s>>6|192,s&63|128)}else if(s<65536){if((c-=3)<0)break;Ne.push(s>>12|224,s>>6&63|128,s&63|128)}else if(s<1114112){if((c-=4)<0)break;Ne.push(s>>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else throw new Error("Invalid code point")}return Ne}function xe(F){for(var c=[],s=0;s<F.length;++s)c.push(F.charCodeAt(s)&255);return c}function rt(F,c){for(var s,R,oe,Ne=[],tt=0;tt<F.length&&!((c-=2)<0);++tt)s=F.charCodeAt(tt),R=s>>8,oe=s%256,Ne.push(oe),Ne.push(R);return Ne}function _t(F){return w.toByteArray(Bt(F))}function Pt(F,c,s,R){for(var oe=0;oe<R&&!(oe+s>=c.length||oe>=F.length);++oe)c[oe+s]=F[oe];return oe}function fe(F,c){return F instanceof c||F!=null&&F.constructor!=null&&F.constructor.name!=null&&F.constructor.name===c.name}function pe(F){return F!==F}var yt=(function(){for(var F="0123456789abcdef",c=new Array(256),s=0;s<16;++s)for(var R=s*16,oe=0;oe<16;++oe)c[R+oe]=F[s]+F[oe];return c})()}),"../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");/*!
|
|
112
|
+
* The buffer module from node.js, for the browser.
|
|
113
|
+
*
|
|
114
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
115
|
+
* @license MIT
|
|
116
|
+
*/const w=u("../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js"),v=u("../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js"),h=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;i.Buffer=l,i.SlowBuffer=$,i.INSPECT_MAX_BYTES=50;const E=2147483647;i.kMaxLength=E,l.TYPED_ARRAY_SUPPORT=f(),!l.TYPED_ARRAY_SUPPORT&&typeof p<"u"&&typeof p.error=="function"&&p.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function f(){try{const H=new Uint8Array(1),y={foo:function(){return 42}};return Object.setPrototypeOf(y,Uint8Array.prototype),Object.setPrototypeOf(H,y),H.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function g(H){if(H>E)throw new RangeError('The value "'+H+'" is invalid for option "size"');const y=new Uint8Array(H);return Object.setPrototypeOf(y,l.prototype),y}function l(H,y,A){if(typeof H=="number"){if(typeof y=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return W(H)}return B(H,y,A)}l.poolSize=8192;function B(H,y,A){if(typeof H=="string")return L(H,y);if(ArrayBuffer.isView(H))return U(H);if(H==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof H);if(tt(H,ArrayBuffer)||H&&tt(H.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(tt(H,SharedArrayBuffer)||H&&tt(H.buffer,SharedArrayBuffer)))return S(H,y,A);if(typeof H=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ue=H.valueOf&&H.valueOf();if(ue!=null&&ue!==H)return l.from(ue,y,A);const j=Y(H);if(j)return j;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof H[Symbol.toPrimitive]=="function")return l.from(H[Symbol.toPrimitive]("string"),y,A);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof H)}l.from=function(H,y,A){return B(H,y,A)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function M(H){if(typeof H!="number")throw new TypeError('"size" argument must be of type number');if(H<0)throw new RangeError('The value "'+H+'" is invalid for option "size"')}function k(H,y,A){return M(H),H<=0?g(H):y!==void 0?typeof A=="string"?g(H).fill(y,A):g(H).fill(y):g(H)}l.alloc=function(H,y,A){return k(H,y,A)};function W(H){return M(H),g(H<0?0:N(H)|0)}l.allocUnsafe=function(H){return W(H)},l.allocUnsafeSlow=function(H){return W(H)};function L(H,y){if((typeof y!="string"||y==="")&&(y="utf8"),!l.isEncoding(y))throw new TypeError("Unknown encoding: "+y);const A=ae(H,y)|0;let ue=g(A);const j=ue.write(H,y);return j!==A&&(ue=ue.slice(0,j)),ue}function G(H){const y=H.length<0?0:N(H.length)|0,A=g(y);for(let ue=0;ue<y;ue+=1)A[ue]=H[ue]&255;return A}function U(H){if(tt(H,Uint8Array)){const y=new Uint8Array(H);return S(y.buffer,y.byteOffset,y.byteLength)}return G(H)}function S(H,y,A){if(y<0||H.byteLength<y)throw new RangeError('"offset" is outside of buffer bounds');if(H.byteLength<y+(A||0))throw new RangeError('"length" is outside of buffer bounds');let ue;return y===void 0&&A===void 0?ue=new Uint8Array(H):A===void 0?ue=new Uint8Array(H,y):ue=new Uint8Array(H,y,A),Object.setPrototypeOf(ue,l.prototype),ue}function Y(H){if(l.isBuffer(H)){const y=N(H.length)|0,A=g(y);return A.length===0||H.copy(A,0,0,y),A}if(H.length!==void 0)return typeof H.length!="number"||It(H.length)?g(0):G(H);if(H.type==="Buffer"&&Array.isArray(H.data))return G(H.data)}function N(H){if(H>=E)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+E.toString(16)+" bytes");return H|0}function $(H){return+H!=H&&(H=0),l.alloc(+H)}l.isBuffer=function(y){return y!=null&&y._isBuffer===!0&&y!==l.prototype},l.compare=function(y,A){if(tt(y,Uint8Array)&&(y=l.from(y,y.offset,y.byteLength)),tt(A,Uint8Array)&&(A=l.from(A,A.offset,A.byteLength)),!l.isBuffer(y)||!l.isBuffer(A))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(y===A)return 0;let ue=y.length,j=A.length;for(let Ee=0,ye=Math.min(ue,j);Ee<ye;++Ee)if(y[Ee]!==A[Ee]){ue=y[Ee],j=A[Ee];break}return ue<j?-1:j<ue?1:0},l.isEncoding=function(y){switch(String(y).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(y,A){if(!Array.isArray(y))throw new TypeError('"list" argument must be an Array of Buffers');if(y.length===0)return l.alloc(0);let ue;if(A===void 0)for(A=0,ue=0;ue<y.length;++ue)A+=y[ue].length;const j=l.allocUnsafe(A);let Ee=0;for(ue=0;ue<y.length;++ue){let ye=y[ue];if(tt(ye,Uint8Array))Ee+ye.length>j.length?(l.isBuffer(ye)||(ye=l.from(ye)),ye.copy(j,Ee)):Uint8Array.prototype.set.call(j,ye,Ee);else if(l.isBuffer(ye))ye.copy(j,Ee);else throw new TypeError('"list" argument must be an Array of Buffers');Ee+=ye.length}return j};function ae(H,y){if(l.isBuffer(H))return H.length;if(ArrayBuffer.isView(H)||tt(H,ArrayBuffer))return H.byteLength;if(typeof H!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof H);const A=H.length,ue=arguments.length>2&&arguments[2]===!0;if(!ue&&A===0)return 0;let j=!1;for(;;)switch(y){case"ascii":case"latin1":case"binary":return A;case"utf8":case"utf-8":return c(H).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A*2;case"hex":return A>>>1;case"base64":return oe(H).length;default:if(j)return ue?-1:c(H).length;y=(""+y).toLowerCase(),j=!0}}l.byteLength=ae;function ne(H,y,A){let ue=!1;if((y===void 0||y<0)&&(y=0),y>this.length||((A===void 0||A>this.length)&&(A=this.length),A<=0)||(A>>>=0,y>>>=0,A<=y))return"";for(H||(H="utf8");;)switch(H){case"hex":return kt(this,y,A);case"utf8":case"utf-8":return Te(this,y,A);case"ascii":return ut(this,y,A);case"latin1":case"binary":return Ft(this,y,A);case"base64":return Se(this,y,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ht(this,y,A);default:if(ue)throw new TypeError("Unknown encoding: "+H);H=(H+"").toLowerCase(),ue=!0}}l.prototype._isBuffer=!0;function P(H,y,A){const ue=H[y];H[y]=H[A],H[A]=ue}l.prototype.swap16=function(){const y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let A=0;A<y;A+=2)P(this,A,A+1);return this},l.prototype.swap32=function(){const y=this.length;if(y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let A=0;A<y;A+=4)P(this,A,A+3),P(this,A+1,A+2);return this},l.prototype.swap64=function(){const y=this.length;if(y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let A=0;A<y;A+=8)P(this,A,A+7),P(this,A+1,A+6),P(this,A+2,A+5),P(this,A+3,A+4);return this},l.prototype.toString=function(){const y=this.length;return y===0?"":arguments.length===0?Te(this,0,y):ne.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(y){if(!l.isBuffer(y))throw new TypeError("Argument must be a Buffer");return this===y?!0:l.compare(this,y)===0},l.prototype.inspect=function(){let y="";const A=i.INSPECT_MAX_BYTES;return y=this.toString("hex",0,A).replace(/(.{2})/g,"$1 ").trim(),this.length>A&&(y+=" ... "),"<Buffer "+y+">"},h&&(l.prototype[h]=l.prototype.inspect),l.prototype.compare=function(y,A,ue,j,Ee){if(tt(y,Uint8Array)&&(y=l.from(y,y.offset,y.byteLength)),!l.isBuffer(y))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof y);if(A===void 0&&(A=0),ue===void 0&&(ue=y?y.length:0),j===void 0&&(j=0),Ee===void 0&&(Ee=this.length),A<0||ue>y.length||j<0||Ee>this.length)throw new RangeError("out of range index");if(j>=Ee&&A>=ue)return 0;if(j>=Ee)return-1;if(A>=ue)return 1;if(A>>>=0,ue>>>=0,j>>>=0,Ee>>>=0,this===y)return 0;let ye=Ee-j,$e=ue-A;const Ce=Math.min(ye,$e),Ye=this.slice(j,Ee),J=y.slice(A,ue);for(let Ct=0;Ct<Ce;++Ct)if(Ye[Ct]!==J[Ct]){ye=Ye[Ct],$e=J[Ct];break}return ye<$e?-1:$e<ye?1:0};function V(H,y,A,ue,j){if(H.length===0)return-1;if(typeof A=="string"?(ue=A,A=0):A>2147483647?A=2147483647:A<-2147483648&&(A=-2147483648),A=+A,It(A)&&(A=j?0:H.length-1),A<0&&(A=H.length+A),A>=H.length){if(j)return-1;A=H.length-1}else if(A<0)if(j)A=0;else return-1;if(typeof y=="string"&&(y=l.from(y,ue)),l.isBuffer(y))return y.length===0?-1:X(H,y,A,ue,j);if(typeof y=="number")return y=y&255,typeof Uint8Array.prototype.indexOf=="function"?j?Uint8Array.prototype.indexOf.call(H,y,A):Uint8Array.prototype.lastIndexOf.call(H,y,A):X(H,[y],A,ue,j);throw new TypeError("val must be string, number or Buffer")}function X(H,y,A,ue,j){let Ee=1,ye=H.length,$e=y.length;if(ue!==void 0&&(ue=String(ue).toLowerCase(),ue==="ucs2"||ue==="ucs-2"||ue==="utf16le"||ue==="utf-16le")){if(H.length<2||y.length<2)return-1;Ee=2,ye/=2,$e/=2,A/=2}function Ce(J,Ct){return Ee===1?J[Ct]:J.readUInt16BE(Ct*Ee)}let Ye;if(j){let J=-1;for(Ye=A;Ye<ye;Ye++)if(Ce(H,Ye)===Ce(y,J===-1?0:Ye-J)){if(J===-1&&(J=Ye),Ye-J+1===$e)return J*Ee}else J!==-1&&(Ye-=Ye-J),J=-1}else for(A+$e>ye&&(A=ye-$e),Ye=A;Ye>=0;Ye--){let J=!0;for(let Ct=0;Ct<$e;Ct++)if(Ce(H,Ye+Ct)!==Ce(y,Ct)){J=!1;break}if(J)return Ye}return-1}l.prototype.includes=function(y,A,ue){return this.indexOf(y,A,ue)!==-1},l.prototype.indexOf=function(y,A,ue){return V(this,y,A,ue,!0)},l.prototype.lastIndexOf=function(y,A,ue){return V(this,y,A,ue,!1)};function me(H,y,A,ue){A=Number(A)||0;const j=H.length-A;ue?(ue=Number(ue),ue>j&&(ue=j)):ue=j;const Ee=y.length;ue>Ee/2&&(ue=Ee/2);let ye;for(ye=0;ye<ue;++ye){const $e=parseInt(y.substr(ye*2,2),16);if(It($e))return ye;H[A+ye]=$e}return ye}function we(H,y,A,ue){return Ne(c(y,H.length-A),H,A,ue)}function Re(H,y,A,ue){return Ne(s(y),H,A,ue)}function Ae(H,y,A,ue){return Ne(oe(y),H,A,ue)}function te(H,y,A,ue){return Ne(R(y,H.length-A),H,A,ue)}l.prototype.write=function(y,A,ue,j){if(A===void 0)j="utf8",ue=this.length,A=0;else if(ue===void 0&&typeof A=="string")j=A,ue=this.length,A=0;else if(isFinite(A))A=A>>>0,isFinite(ue)?(ue=ue>>>0,j===void 0&&(j="utf8")):(j=ue,ue=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Ee=this.length-A;if((ue===void 0||ue>Ee)&&(ue=Ee),y.length>0&&(ue<0||A<0)||A>this.length)throw new RangeError("Attempt to write outside buffer bounds");j||(j="utf8");let ye=!1;for(;;)switch(j){case"hex":return me(this,y,A,ue);case"utf8":case"utf-8":return we(this,y,A,ue);case"ascii":case"latin1":case"binary":return Re(this,y,A,ue);case"base64":return Ae(this,y,A,ue);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,y,A,ue);default:if(ye)throw new TypeError("Unknown encoding: "+j);j=(""+j).toLowerCase(),ye=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Se(H,y,A){return y===0&&A===H.length?w.fromByteArray(H):w.fromByteArray(H.slice(y,A))}function Te(H,y,A){A=Math.min(H.length,A);const ue=[];let j=y;for(;j<A;){const Ee=H[j];let ye=null,$e=Ee>239?4:Ee>223?3:Ee>191?2:1;if(j+$e<=A){let Ce,Ye,J,Ct;switch($e){case 1:Ee<128&&(ye=Ee);break;case 2:Ce=H[j+1],(Ce&192)===128&&(Ct=(Ee&31)<<6|Ce&63,Ct>127&&(ye=Ct));break;case 3:Ce=H[j+1],Ye=H[j+2],(Ce&192)===128&&(Ye&192)===128&&(Ct=(Ee&15)<<12|(Ce&63)<<6|Ye&63,Ct>2047&&(Ct<55296||Ct>57343)&&(ye=Ct));break;case 4:Ce=H[j+1],Ye=H[j+2],J=H[j+3],(Ce&192)===128&&(Ye&192)===128&&(J&192)===128&&(Ct=(Ee&15)<<18|(Ce&63)<<12|(Ye&63)<<6|J&63,Ct>65535&&Ct<1114112&&(ye=Ct))}}ye===null?(ye=65533,$e=1):ye>65535&&(ye-=65536,ue.push(ye>>>10&1023|55296),ye=56320|ye&1023),ue.push(ye),j+=$e}return ft(ue)}const Ue=4096;function ft(H){const y=H.length;if(y<=Ue)return String.fromCharCode.apply(String,H);let A="",ue=0;for(;ue<y;)A+=String.fromCharCode.apply(String,H.slice(ue,ue+=Ue));return A}function ut(H,y,A){let ue="";A=Math.min(H.length,A);for(let j=y;j<A;++j)ue+=String.fromCharCode(H[j]&127);return ue}function Ft(H,y,A){let ue="";A=Math.min(H.length,A);for(let j=y;j<A;++j)ue+=String.fromCharCode(H[j]);return ue}function kt(H,y,A){const ue=H.length;(!y||y<0)&&(y=0),(!A||A<0||A>ue)&&(A=ue);let j="";for(let Ee=y;Ee<A;++Ee)j+=zt[H[Ee]];return j}function ht(H,y,A){const ue=H.slice(y,A);let j="";for(let Ee=0;Ee<ue.length-1;Ee+=2)j+=String.fromCharCode(ue[Ee]+ue[Ee+1]*256);return j}l.prototype.slice=function(y,A){const ue=this.length;y=~~y,A=A===void 0?ue:~~A,y<0?(y+=ue,y<0&&(y=0)):y>ue&&(y=ue),A<0?(A+=ue,A<0&&(A=0)):A>ue&&(A=ue),A<y&&(A=y);const j=this.subarray(y,A);return Object.setPrototypeOf(j,l.prototype),j};function se(H,y,A){if(H%1!==0||H<0)throw new RangeError("offset is not uint");if(H+y>A)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(y,A,ue){y=y>>>0,A=A>>>0,ue||se(y,A,this.length);let j=this[y],Ee=1,ye=0;for(;++ye<A&&(Ee*=256);)j+=this[y+ye]*Ee;return j},l.prototype.readUintBE=l.prototype.readUIntBE=function(y,A,ue){y=y>>>0,A=A>>>0,ue||se(y,A,this.length);let j=this[y+--A],Ee=1;for(;A>0&&(Ee*=256);)j+=this[y+--A]*Ee;return j},l.prototype.readUint8=l.prototype.readUInt8=function(y,A){return y=y>>>0,A||se(y,1,this.length),this[y]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(y,A){return y=y>>>0,A||se(y,2,this.length),this[y]|this[y+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(y,A){return y=y>>>0,A||se(y,2,this.length),this[y]<<8|this[y+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(y,A){return y=y>>>0,A||se(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(y,A){return y=y>>>0,A||se(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},l.prototype.readBigUInt64LE=De(function(y){y=y>>>0,fe(y,"offset");const A=this[y],ue=this[y+7];(A===void 0||ue===void 0)&&pe(y,this.length-8);const j=A+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24,Ee=this[++y]+this[++y]*2**8+this[++y]*2**16+ue*2**24;return BigInt(j)+(BigInt(Ee)<<BigInt(32))}),l.prototype.readBigUInt64BE=De(function(y){y=y>>>0,fe(y,"offset");const A=this[y],ue=this[y+7];(A===void 0||ue===void 0)&&pe(y,this.length-8);const j=A*2**24+this[++y]*2**16+this[++y]*2**8+this[++y],Ee=this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+ue;return(BigInt(j)<<BigInt(32))+BigInt(Ee)}),l.prototype.readIntLE=function(y,A,ue){y=y>>>0,A=A>>>0,ue||se(y,A,this.length);let j=this[y],Ee=1,ye=0;for(;++ye<A&&(Ee*=256);)j+=this[y+ye]*Ee;return Ee*=128,j>=Ee&&(j-=Math.pow(2,8*A)),j},l.prototype.readIntBE=function(y,A,ue){y=y>>>0,A=A>>>0,ue||se(y,A,this.length);let j=A,Ee=1,ye=this[y+--j];for(;j>0&&(Ee*=256);)ye+=this[y+--j]*Ee;return Ee*=128,ye>=Ee&&(ye-=Math.pow(2,8*A)),ye},l.prototype.readInt8=function(y,A){return y=y>>>0,A||se(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},l.prototype.readInt16LE=function(y,A){y=y>>>0,A||se(y,2,this.length);const ue=this[y]|this[y+1]<<8;return ue&32768?ue|4294901760:ue},l.prototype.readInt16BE=function(y,A){y=y>>>0,A||se(y,2,this.length);const ue=this[y+1]|this[y]<<8;return ue&32768?ue|4294901760:ue},l.prototype.readInt32LE=function(y,A){return y=y>>>0,A||se(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},l.prototype.readInt32BE=function(y,A){return y=y>>>0,A||se(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},l.prototype.readBigInt64LE=De(function(y){y=y>>>0,fe(y,"offset");const A=this[y],ue=this[y+7];(A===void 0||ue===void 0)&&pe(y,this.length-8);const j=this[y+4]+this[y+5]*2**8+this[y+6]*2**16+(ue<<24);return(BigInt(j)<<BigInt(32))+BigInt(A+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24)}),l.prototype.readBigInt64BE=De(function(y){y=y>>>0,fe(y,"offset");const A=this[y],ue=this[y+7];(A===void 0||ue===void 0)&&pe(y,this.length-8);const j=(A<<24)+this[++y]*2**16+this[++y]*2**8+this[++y];return(BigInt(j)<<BigInt(32))+BigInt(this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+ue)}),l.prototype.readFloatLE=function(y,A){return y=y>>>0,A||se(y,4,this.length),v.read(this,y,!0,23,4)},l.prototype.readFloatBE=function(y,A){return y=y>>>0,A||se(y,4,this.length),v.read(this,y,!1,23,4)},l.prototype.readDoubleLE=function(y,A){return y=y>>>0,A||se(y,8,this.length),v.read(this,y,!0,52,8)},l.prototype.readDoubleBE=function(y,A){return y=y>>>0,A||se(y,8,this.length),v.read(this,y,!1,52,8)};function He(H,y,A,ue,j,Ee){if(!l.isBuffer(H))throw new TypeError('"buffer" argument must be a Buffer instance');if(y>j||y<Ee)throw new RangeError('"value" argument is out of bounds');if(A+ue>H.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(y,A,ue,j){if(y=+y,A=A>>>0,ue=ue>>>0,!j){const $e=Math.pow(2,8*ue)-1;He(this,y,A,ue,$e,0)}let Ee=1,ye=0;for(this[A]=y&255;++ye<ue&&(Ee*=256);)this[A+ye]=y/Ee&255;return A+ue},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(y,A,ue,j){if(y=+y,A=A>>>0,ue=ue>>>0,!j){const $e=Math.pow(2,8*ue)-1;He(this,y,A,ue,$e,0)}let Ee=ue-1,ye=1;for(this[A+Ee]=y&255;--Ee>=0&&(ye*=256);)this[A+Ee]=y/ye&255;return A+ue},l.prototype.writeUint8=l.prototype.writeUInt8=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,1,255,0),this[A]=y&255,A+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,2,65535,0),this[A]=y&255,this[A+1]=y>>>8,A+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,2,65535,0),this[A]=y>>>8,this[A+1]=y&255,A+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,4,4294967295,0),this[A+3]=y>>>24,this[A+2]=y>>>16,this[A+1]=y>>>8,this[A]=y&255,A+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,4,4294967295,0),this[A]=y>>>24,this[A+1]=y>>>16,this[A+2]=y>>>8,this[A+3]=y&255,A+4};function ge(H,y,A,ue,j){Pt(y,ue,j,H,A,7);let Ee=Number(y&BigInt(4294967295));H[A++]=Ee,Ee=Ee>>8,H[A++]=Ee,Ee=Ee>>8,H[A++]=Ee,Ee=Ee>>8,H[A++]=Ee;let ye=Number(y>>BigInt(32)&BigInt(4294967295));return H[A++]=ye,ye=ye>>8,H[A++]=ye,ye=ye>>8,H[A++]=ye,ye=ye>>8,H[A++]=ye,A}function je(H,y,A,ue,j){Pt(y,ue,j,H,A,7);let Ee=Number(y&BigInt(4294967295));H[A+7]=Ee,Ee=Ee>>8,H[A+6]=Ee,Ee=Ee>>8,H[A+5]=Ee,Ee=Ee>>8,H[A+4]=Ee;let ye=Number(y>>BigInt(32)&BigInt(4294967295));return H[A+3]=ye,ye=ye>>8,H[A+2]=ye,ye=ye>>8,H[A+1]=ye,ye=ye>>8,H[A]=ye,A+8}l.prototype.writeBigUInt64LE=De(function(y,A=0){return ge(this,y,A,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=De(function(y,A=0){return je(this,y,A,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(y,A,ue,j){if(y=+y,A=A>>>0,!j){const Ce=Math.pow(2,8*ue-1);He(this,y,A,ue,Ce-1,-Ce)}let Ee=0,ye=1,$e=0;for(this[A]=y&255;++Ee<ue&&(ye*=256);)y<0&&$e===0&&this[A+Ee-1]!==0&&($e=1),this[A+Ee]=(y/ye>>0)-$e&255;return A+ue},l.prototype.writeIntBE=function(y,A,ue,j){if(y=+y,A=A>>>0,!j){const Ce=Math.pow(2,8*ue-1);He(this,y,A,ue,Ce-1,-Ce)}let Ee=ue-1,ye=1,$e=0;for(this[A+Ee]=y&255;--Ee>=0&&(ye*=256);)y<0&&$e===0&&this[A+Ee+1]!==0&&($e=1),this[A+Ee]=(y/ye>>0)-$e&255;return A+ue},l.prototype.writeInt8=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,1,127,-128),y<0&&(y=255+y+1),this[A]=y&255,A+1},l.prototype.writeInt16LE=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,2,32767,-32768),this[A]=y&255,this[A+1]=y>>>8,A+2},l.prototype.writeInt16BE=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,2,32767,-32768),this[A]=y>>>8,this[A+1]=y&255,A+2},l.prototype.writeInt32LE=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,4,2147483647,-2147483648),this[A]=y&255,this[A+1]=y>>>8,this[A+2]=y>>>16,this[A+3]=y>>>24,A+4},l.prototype.writeInt32BE=function(y,A,ue){return y=+y,A=A>>>0,ue||He(this,y,A,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),this[A]=y>>>24,this[A+1]=y>>>16,this[A+2]=y>>>8,this[A+3]=y&255,A+4},l.prototype.writeBigInt64LE=De(function(y,A=0){return ge(this,y,A,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=De(function(y,A=0){return je(this,y,A,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function nt(H,y,A,ue,j,Ee){if(A+ue>H.length)throw new RangeError("Index out of range");if(A<0)throw new RangeError("Index out of range")}function Rt(H,y,A,ue,j){return y=+y,A=A>>>0,j||nt(H,y,A,4,34028234663852886e22,-34028234663852886e22),v.write(H,y,A,ue,23,4),A+4}l.prototype.writeFloatLE=function(y,A,ue){return Rt(this,y,A,!0,ue)},l.prototype.writeFloatBE=function(y,A,ue){return Rt(this,y,A,!1,ue)};function Bt(H,y,A,ue,j){return y=+y,A=A>>>0,j||nt(H,y,A,8,17976931348623157e292,-17976931348623157e292),v.write(H,y,A,ue,52,8),A+8}l.prototype.writeDoubleLE=function(y,A,ue){return Bt(this,y,A,!0,ue)},l.prototype.writeDoubleBE=function(y,A,ue){return Bt(this,y,A,!1,ue)},l.prototype.copy=function(y,A,ue,j){if(!l.isBuffer(y))throw new TypeError("argument should be a Buffer");if(ue||(ue=0),!j&&j!==0&&(j=this.length),A>=y.length&&(A=y.length),A||(A=0),j>0&&j<ue&&(j=ue),j===ue||y.length===0||this.length===0)return 0;if(A<0)throw new RangeError("targetStart out of bounds");if(ue<0||ue>=this.length)throw new RangeError("Index out of range");if(j<0)throw new RangeError("sourceEnd out of bounds");j>this.length&&(j=this.length),y.length-A<j-ue&&(j=y.length-A+ue);const Ee=j-ue;return this===y&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(A,ue,j):Uint8Array.prototype.set.call(y,this.subarray(ue,j),A),Ee},l.prototype.fill=function(y,A,ue,j){if(typeof y=="string"){if(typeof A=="string"?(j=A,A=0,ue=this.length):typeof ue=="string"&&(j=ue,ue=this.length),j!==void 0&&typeof j!="string")throw new TypeError("encoding must be a string");if(typeof j=="string"&&!l.isEncoding(j))throw new TypeError("Unknown encoding: "+j);if(y.length===1){const ye=y.charCodeAt(0);(j==="utf8"&&ye<128||j==="latin1")&&(y=ye)}}else typeof y=="number"?y=y&255:typeof y=="boolean"&&(y=Number(y));if(A<0||this.length<A||this.length<ue)throw new RangeError("Out of range index");if(ue<=A)return this;A=A>>>0,ue=ue===void 0?this.length:ue>>>0,y||(y=0);let Ee;if(typeof y=="number")for(Ee=A;Ee<ue;++Ee)this[Ee]=y;else{const ye=l.isBuffer(y)?y:l.from(y,j),$e=ye.length;if($e===0)throw new TypeError('The value "'+y+'" is invalid for argument "value"');for(Ee=0;Ee<ue-A;++Ee)this[Ee+A]=ye[Ee%$e]}return this};const Me={};function xe(H,y,A){Me[H]=class extends A{constructor(){super(),Object.defineProperty(this,"message",{value:y.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${H}]`,this.stack,delete this.name}get code(){return H}set code(j){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:j,writable:!0})}toString(){return`${this.name} [${H}]: ${this.message}`}}}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(H){return H?`${H} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(H,y){return`The "${H}" argument must be of type number. Received type ${typeof y}`},TypeError),xe("ERR_OUT_OF_RANGE",function(H,y,A){let ue=`The value of "${H}" is out of range.`,j=A;return Number.isInteger(A)&&Math.abs(A)>2**32?j=rt(String(A)):typeof A=="bigint"&&(j=String(A),(A>BigInt(2)**BigInt(32)||A<-(BigInt(2)**BigInt(32)))&&(j=rt(j)),j+="n"),ue+=` It must be ${y}. Received ${j}`,ue},RangeError);function rt(H){let y="",A=H.length;const ue=H[0]==="-"?1:0;for(;A>=ue+4;A-=3)y=`_${H.slice(A-3,A)}${y}`;return`${H.slice(0,A)}${y}`}function _t(H,y,A){fe(y,"offset"),(H[y]===void 0||H[y+A]===void 0)&&pe(y,H.length-(A+1))}function Pt(H,y,A,ue,j,Ee){if(H>A||H<y){const ye=typeof y=="bigint"?"n":"";let $e;throw Ee>3?y===0||y===BigInt(0)?$e=`>= 0${ye} and < 2${ye} ** ${(Ee+1)*8}${ye}`:$e=`>= -(2${ye} ** ${(Ee+1)*8-1}${ye}) and < 2 ** ${(Ee+1)*8-1}${ye}`:$e=`>= ${y}${ye} and <= ${A}${ye}`,new Me.ERR_OUT_OF_RANGE("value",$e,H)}_t(ue,j,Ee)}function fe(H,y){if(typeof H!="number")throw new Me.ERR_INVALID_ARG_TYPE(y,"number",H)}function pe(H,y,A){throw Math.floor(H)!==H?(fe(H,A),new Me.ERR_OUT_OF_RANGE(A||"offset","an integer",H)):y<0?new Me.ERR_BUFFER_OUT_OF_BOUNDS:new Me.ERR_OUT_OF_RANGE(A||"offset",`>= ${A?1:0} and <= ${y}`,H)}const yt=/[^+/0-9A-Za-z-_]/g;function F(H){if(H=H.split("=")[0],H=H.trim().replace(yt,""),H.length<2)return"";for(;H.length%4!==0;)H=H+"=";return H}function c(H,y){y=y||1/0;let A;const ue=H.length;let j=null;const Ee=[];for(let ye=0;ye<ue;++ye){if(A=H.charCodeAt(ye),A>55295&&A<57344){if(!j){if(A>56319){(y-=3)>-1&&Ee.push(239,191,189);continue}else if(ye+1===ue){(y-=3)>-1&&Ee.push(239,191,189);continue}j=A;continue}if(A<56320){(y-=3)>-1&&Ee.push(239,191,189),j=A;continue}A=(j-55296<<10|A-56320)+65536}else j&&(y-=3)>-1&&Ee.push(239,191,189);if(j=null,A<128){if((y-=1)<0)break;Ee.push(A)}else if(A<2048){if((y-=2)<0)break;Ee.push(A>>6|192,A&63|128)}else if(A<65536){if((y-=3)<0)break;Ee.push(A>>12|224,A>>6&63|128,A&63|128)}else if(A<1114112){if((y-=4)<0)break;Ee.push(A>>18|240,A>>12&63|128,A>>6&63|128,A&63|128)}else throw new Error("Invalid code point")}return Ee}function s(H){const y=[];for(let A=0;A<H.length;++A)y.push(H.charCodeAt(A)&255);return y}function R(H,y){let A,ue,j;const Ee=[];for(let ye=0;ye<H.length&&!((y-=2)<0);++ye)A=H.charCodeAt(ye),ue=A>>8,j=A%256,Ee.push(j),Ee.push(ue);return Ee}function oe(H){return w.toByteArray(F(H))}function Ne(H,y,A,ue){let j;for(j=0;j<ue&&!(j+A>=y.length||j>=H.length);++j)y[j+A]=H[j];return j}function tt(H,y){return H instanceof y||H!=null&&H.constructor!=null&&H.constructor.name!=null&&H.constructor.name===y.name}function It(H){return H!==H}const zt=(function(){const H="0123456789abcdef",y=new Array(256);for(let A=0;A<16;++A){const ue=A*16;for(let j=0;j<16;++j)y[ue+j]=H[A]+H[j]}return y})();function De(H){return typeof BigInt>"u"?Qe:H}function Qe(){throw new Error("BigInt not supported")}}),"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"),w=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"),v=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"),h=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js");ee.exports=h||p.call(v,w)}),"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"),w=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"),v=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js");ee.exports=function(){return v(p,w,arguments)}}),"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js":(ee=>{"use strict";ee.exports=Function.prototype.apply}),"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js":(ee=>{"use strict";ee.exports=Function.prototype.call}),"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"),w=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"),v=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"),h=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js");ee.exports=function(f){if(f.length<1||typeof f[0]!="function")throw new w("a function is required");return h(p,v,f)}}),"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js":(ee=>{"use strict";ee.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),"../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/callBound.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"),w=u("../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/index.js"),v=w(p("String.prototype.indexOf"));ee.exports=function(E,f){var g=p(E,!!f);return typeof g=="function"&&v(E,".prototype.")>-1?w(g):g}}),"../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js"),w=u("../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"),v=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"),h=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js");ee.exports=function(f){var g=v(arguments),l=1+f.length-(arguments.length-1);return p(g,l>0?l:0,!0)},w?w(ee.exports,"apply",{value:h}):ee.exports.apply=h}),"../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"),w=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"),v=w([p("%String.prototype.indexOf%")]);ee.exports=function(E,f){var g=p(E,!!f);return typeof g=="function"&&v(E,".prototype.")>-1?w([g]):g}}),"../../node_modules/.pnpm/client-only@0.0.1/node_modules/client-only/index.js":(()=>{}),"../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js":((ee,i,u)=>{var p=u("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"),w=u("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js");function v(){return new Date().getTime()}var h=Array.prototype.slice,E,f={};typeof u.g<"u"&&u.g.console?E=u.g.console:typeof window<"u"&&window.console?E=window.console:E={};for(var g=[[W,"log"],[L,"info"],[G,"warn"],[U,"error"],[S,"time"],[Y,"timeEnd"],[N,"trace"],[$,"dir"],[ae,"assert"]],l=0;l<g.length;l++){var B=g[l],M=B[0],k=B[1];E[k]||(E[k]=M)}ee.exports=E;function W(){}function L(){E.log.apply(E,arguments)}function G(){E.log.apply(E,arguments)}function U(){E.warn.apply(E,arguments)}function S(ne){f[ne]=v()}function Y(ne){var P=f[ne];if(!P)throw new Error("No such label: "+ne);delete f[ne];var V=v()-P;E.log(ne+": "+V+"ms")}function N(){var ne=new Error;ne.name="Trace",ne.message=p.format.apply(null,arguments),E.error(ne.stack)}function $(ne){E.log(p.inspect(ne)+`
|
|
117
|
+
`)}function ae(ne){if(!ne){var P=h.call(arguments,1);w.ok(!1,p.format.apply(null,P))}}}),"../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1_esbuild@0.27.7_/node_modules/css-loader/dist/runtime/api.js":(ee=>{"use strict";ee.exports=function(i){var u=[];return u.toString=function(){return this.map(function(w){var v="",h=typeof w[5]<"u";return w[4]&&(v+="@supports (".concat(w[4],") {")),w[2]&&(v+="@media ".concat(w[2]," {")),h&&(v+="@layer".concat(w[5].length>0?" ".concat(w[5]):""," {")),v+=i(w),h&&(v+="}"),w[2]&&(v+="}"),w[4]&&(v+="}"),v}).join("")},u.i=function(w,v,h,E,f){typeof w=="string"&&(w=[[null,w,void 0]]);var g={};if(h)for(var l=0;l<this.length;l++){var B=this[l][0];B!=null&&(g[B]=!0)}for(var M=0;M<w.length;M++){var k=[].concat(w[M]);h&&g[k[0]]||(typeof f<"u"&&(typeof k[5]>"u"||(k[1]="@layer".concat(k[5].length>0?" ".concat(k[5]):""," {").concat(k[1],"}")),k[5]=f),v&&(k[2]&&(k[1]="@media ".concat(k[2]," {").concat(k[1],"}")),k[2]=v),E&&(k[4]?(k[1]="@supports (".concat(k[4],") {").concat(k[1],"}"),k[4]=E):k[4]="".concat(E)),u.push(k))}},u}}),"../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1_esbuild@0.27.7_/node_modules/css-loader/dist/runtime/noSourceMaps.js":(ee=>{"use strict";ee.exports=function(i){return i[1]}}),"../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"),w=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"),v=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"),h=u("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js");ee.exports=function(f,g,l){if(!f||typeof f!="object"&&typeof f!="function")throw new v("`obj` must be an object or a function`");if(typeof g!="string"&&typeof g!="symbol")throw new v("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new v("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new v("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new v("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new v("`loose`, if provided, must be a boolean");var B=arguments.length>3?arguments[3]:null,M=arguments.length>4?arguments[4]:null,k=arguments.length>5?arguments[5]:null,W=arguments.length>6?arguments[6]:!1,L=!!h&&h(f,g);if(p)p(f,g,{configurable:k===null&&L?L.configurable:!k,enumerable:B===null&&L?L.enumerable:!B,value:l,writable:M===null&&L?L.writable:!M});else if(W||!B&&!M&&!k)f[g]=l;else throw new w("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),"../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js"),w=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",v=Object.prototype.toString,h=Array.prototype.concat,E=u("../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js"),f=function(M){return typeof M=="function"&&v.call(M)==="[object Function]"},g=u("../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js")(),l=function(M,k,W,L){if(k in M){if(L===!0){if(M[k]===W)return}else if(!f(L)||!L())return}g?E(M,k,W,!0):E(M,k,W)},B=function(M,k){var W=arguments.length>2?arguments[2]:{},L=p(k);w&&(L=h.call(L,Object.getOwnPropertySymbols(k)));for(var G=0;G<L.length;G+=1)l(M,L[G],k[L[G]],W[L[G]])};B.supportsDescriptors=!!g,ee.exports=B}),"../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"),w=u("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"),v;try{v=[].__proto__===Array.prototype}catch(g){if(!g||typeof g!="object"||!("code"in g)||g.code!=="ERR_PROTO_ACCESS")throw g}var h=!!v&&w&&w(Object.prototype,"__proto__"),E=Object,f=E.getPrototypeOf;ee.exports=h&&typeof h.get=="function"?p([h.get]):typeof f=="function"?function(l){return f(l==null?l:E(l))}:!1}),"../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js":(ee=>{"use strict";var i=Object.defineProperty||!1;if(i)try{i({},"a",{value:1})}catch{i=!1}ee.exports=i}),"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js":(ee=>{"use strict";ee.exports=EvalError}),"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js":(ee=>{"use strict";ee.exports=Error}),"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js":(ee=>{"use strict";ee.exports=RangeError}),"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js":(ee=>{"use strict";ee.exports=ReferenceError}),"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js":(ee=>{"use strict";ee.exports=SyntaxError}),"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js":(ee=>{"use strict";ee.exports=TypeError}),"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js":(ee=>{"use strict";ee.exports=URIError}),"../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js":(ee=>{"use strict";ee.exports=Object}),"../../node_modules/.pnpm/events@3.3.0/node_modules/events/events.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js"),w=typeof Reflect=="object"?Reflect:null,v=w&&typeof w.apply=="function"?w.apply:function(V,X,me){return Function.prototype.apply.call(V,X,me)},h;w&&typeof w.ownKeys=="function"?h=w.ownKeys:Object.getOwnPropertySymbols?h=function(V){return Object.getOwnPropertyNames(V).concat(Object.getOwnPropertySymbols(V))}:h=function(V){return Object.getOwnPropertyNames(V)};function E(P){p&&p.warn&&p.warn(P)}var f=Number.isNaN||function(V){return V!==V};function g(){g.init.call(this)}ee.exports=g,ee.exports.once=$,g.EventEmitter=g,g.prototype._events=void 0,g.prototype._eventsCount=0,g.prototype._maxListeners=void 0;var l=10;function B(P){if(typeof P!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof P)}Object.defineProperty(g,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(P){if(typeof P!="number"||P<0||f(P))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+P+".");l=P}}),g.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},g.prototype.setMaxListeners=function(V){if(typeof V!="number"||V<0||f(V))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+V+".");return this._maxListeners=V,this};function M(P){return P._maxListeners===void 0?g.defaultMaxListeners:P._maxListeners}g.prototype.getMaxListeners=function(){return M(this)},g.prototype.emit=function(V){for(var X=[],me=1;me<arguments.length;me++)X.push(arguments[me]);var we=V==="error",Re=this._events;if(Re!==void 0)we=we&&Re.error===void 0;else if(!we)return!1;if(we){var Ae;if(X.length>0&&(Ae=X[0]),Ae instanceof Error)throw Ae;var te=new Error("Unhandled error."+(Ae?" ("+Ae.message+")":""));throw te.context=Ae,te}var Se=Re[V];if(Se===void 0)return!1;if(typeof Se=="function")v(Se,this,X);else for(var Te=Se.length,Ue=S(Se,Te),me=0;me<Te;++me)v(Ue[me],this,X);return!0};function k(P,V,X,me){var we,Re,Ae;if(B(X),Re=P._events,Re===void 0?(Re=P._events=Object.create(null),P._eventsCount=0):(Re.newListener!==void 0&&(P.emit("newListener",V,X.listener?X.listener:X),Re=P._events),Ae=Re[V]),Ae===void 0)Ae=Re[V]=X,++P._eventsCount;else if(typeof Ae=="function"?Ae=Re[V]=me?[X,Ae]:[Ae,X]:me?Ae.unshift(X):Ae.push(X),we=M(P),we>0&&Ae.length>we&&!Ae.warned){Ae.warned=!0;var te=new Error("Possible EventEmitter memory leak detected. "+Ae.length+" "+String(V)+" listeners added. Use emitter.setMaxListeners() to increase limit");te.name="MaxListenersExceededWarning",te.emitter=P,te.type=V,te.count=Ae.length,E(te)}return P}g.prototype.addListener=function(V,X){return k(this,V,X,!1)},g.prototype.on=g.prototype.addListener,g.prototype.prependListener=function(V,X){return k(this,V,X,!0)};function W(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function L(P,V,X){var me={fired:!1,wrapFn:void 0,target:P,type:V,listener:X},we=W.bind(me);return we.listener=X,me.wrapFn=we,we}g.prototype.once=function(V,X){return B(X),this.on(V,L(this,V,X)),this},g.prototype.prependOnceListener=function(V,X){return B(X),this.prependListener(V,L(this,V,X)),this},g.prototype.removeListener=function(V,X){var me,we,Re,Ae,te;if(B(X),we=this._events,we===void 0)return this;if(me=we[V],me===void 0)return this;if(me===X||me.listener===X)--this._eventsCount===0?this._events=Object.create(null):(delete we[V],we.removeListener&&this.emit("removeListener",V,me.listener||X));else if(typeof me!="function"){for(Re=-1,Ae=me.length-1;Ae>=0;Ae--)if(me[Ae]===X||me[Ae].listener===X){te=me[Ae].listener,Re=Ae;break}if(Re<0)return this;Re===0?me.shift():Y(me,Re),me.length===1&&(we[V]=me[0]),we.removeListener!==void 0&&this.emit("removeListener",V,te||X)}return this},g.prototype.off=g.prototype.removeListener,g.prototype.removeAllListeners=function(V){var X,me,we;if(me=this._events,me===void 0)return this;if(me.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):me[V]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete me[V]),this;if(arguments.length===0){var Re=Object.keys(me),Ae;for(we=0;we<Re.length;++we)Ae=Re[we],Ae!=="removeListener"&&this.removeAllListeners(Ae);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(X=me[V],typeof X=="function")this.removeListener(V,X);else if(X!==void 0)for(we=X.length-1;we>=0;we--)this.removeListener(V,X[we]);return this};function G(P,V,X){var me=P._events;if(me===void 0)return[];var we=me[V];return we===void 0?[]:typeof we=="function"?X?[we.listener||we]:[we]:X?N(we):S(we,we.length)}g.prototype.listeners=function(V){return G(this,V,!0)},g.prototype.rawListeners=function(V){return G(this,V,!1)},g.listenerCount=function(P,V){return typeof P.listenerCount=="function"?P.listenerCount(V):U.call(P,V)},g.prototype.listenerCount=U;function U(P){var V=this._events;if(V!==void 0){var X=V[P];if(typeof X=="function")return 1;if(X!==void 0)return X.length}return 0}g.prototype.eventNames=function(){return this._eventsCount>0?h(this._events):[]};function S(P,V){for(var X=new Array(V),me=0;me<V;++me)X[me]=P[me];return X}function Y(P,V){for(;V+1<P.length;V++)P[V]=P[V+1];P.pop()}function N(P){for(var V=new Array(P.length),X=0;X<V.length;++X)V[X]=P[X].listener||P[X];return V}function $(P,V){return new Promise(function(X,me){function we(Ae){P.removeListener(V,Re),me(Ae)}function Re(){typeof P.removeListener=="function"&&P.removeListener("error",we),X([].slice.call(arguments))}ne(P,V,Re,{once:!0}),V!=="error"&&ae(P,we,{once:!0})})}function ae(P,V,X){typeof P.on=="function"&&ne(P,"error",V,X)}function ne(P,V,X,me){if(typeof P.on=="function")me.once?P.once(V,X):P.on(V,X);else if(typeof P.addEventListener=="function")P.addEventListener(V,function we(Re){me.once&&P.removeEventListener(V,we),X(Re)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof P)}}),"../../node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js"),w=Object.prototype.toString,v=Object.prototype.hasOwnProperty,h=function(B,M,k){for(var W=0,L=B.length;W<L;W++)v.call(B,W)&&(k==null?M(B[W],W,B):M.call(k,B[W],W,B))},E=function(B,M,k){for(var W=0,L=B.length;W<L;W++)k==null?M(B.charAt(W),W,B):M.call(k,B.charAt(W),W,B)},f=function(B,M,k){for(var W in B)v.call(B,W)&&(k==null?M(B[W],W,B):M.call(k,B[W],W,B))};function g(l){return w.call(l)==="[object Array]"}ee.exports=function(B,M,k){if(!p(M))throw new TypeError("iterator must be a function");var W;arguments.length>=3&&(W=k),g(B)?h(B,M,W):typeof B=="string"?E(B,M,W):f(B,M,W)}}),"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js":(ee=>{"use strict";var i="Function.prototype.bind called on incompatible ",u=Object.prototype.toString,p=Math.max,w="[object Function]",v=function(g,l){for(var B=[],M=0;M<g.length;M+=1)B[M]=g[M];for(var k=0;k<l.length;k+=1)B[k+g.length]=l[k];return B},h=function(g,l){for(var B=[],M=l||0,k=0;M<g.length;M+=1,k+=1)B[k]=g[M];return B},E=function(f,g){for(var l="",B=0;B<f.length;B+=1)l+=f[B],B+1<f.length&&(l+=g);return l};ee.exports=function(g){var l=this;if(typeof l!="function"||u.apply(l)!==w)throw new TypeError(i+l);for(var B=h(arguments,1),M,k=function(){if(this instanceof M){var S=l.apply(this,v(B,arguments));return Object(S)===S?S:this}return l.apply(g,v(B,arguments))},W=p(0,l.length-B.length),L=[],G=0;G<W;G++)L[G]="$"+G;if(M=Function("binder","return function ("+E(L,",")+"){ return binder.apply(this,arguments); }")(k),l.prototype){var U=function(){};U.prototype=l.prototype,M.prototype=new U,U.prototype=null}return M}}),"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js");ee.exports=Function.prototype.bind||p}),"../../node_modules/.pnpm/generator-function@2.0.1/node_modules/generator-function/index.js":(ee=>{"use strict";const i=function*(){}.constructor;ee.exports=()=>i}),"../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js":((ee,i,u)=>{"use strict";var p,w=u("../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"),v=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"),h=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"),E=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"),f=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"),g=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"),l=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"),B=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"),M=u("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"),k=u("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"),W=u("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"),L=u("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"),G=u("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"),U=u("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"),S=u("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"),Y=Function,N=function(xe){try{return Y('"use strict"; return ('+xe+").constructor;")()}catch{}},$=u("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"),ae=u("../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"),ne=function(){throw new l},P=$?(function(){try{return arguments.callee,ne}catch{try{return $(arguments,"callee").get}catch{return ne}}})():ne,V=u("../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js")(),X=u("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"),me=u("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"),we=u("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"),Re=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"),Ae=u("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"),te={},Se=typeof Uint8Array>"u"||!X?p:X(Uint8Array),Te={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?p:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?p:ArrayBuffer,"%ArrayIteratorPrototype%":V&&X?X([][Symbol.iterator]()):p,"%AsyncFromSyncIteratorPrototype%":p,"%AsyncFunction%":te,"%AsyncGenerator%":te,"%AsyncGeneratorFunction%":te,"%AsyncIteratorPrototype%":te,"%Atomics%":typeof Atomics>"u"?p:Atomics,"%BigInt%":typeof BigInt>"u"?p:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?p:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?p:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?p:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":v,"%eval%":eval,"%EvalError%":h,"%Float16Array%":typeof Float16Array>"u"?p:Float16Array,"%Float32Array%":typeof Float32Array>"u"?p:Float32Array,"%Float64Array%":typeof Float64Array>"u"?p:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?p:FinalizationRegistry,"%Function%":Y,"%GeneratorFunction%":te,"%Int8Array%":typeof Int8Array>"u"?p:Int8Array,"%Int16Array%":typeof Int16Array>"u"?p:Int16Array,"%Int32Array%":typeof Int32Array>"u"?p:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":V&&X?X(X([][Symbol.iterator]())):p,"%JSON%":typeof JSON=="object"?JSON:p,"%Map%":typeof Map>"u"?p:Map,"%MapIteratorPrototype%":typeof Map>"u"||!V||!X?p:X(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":w,"%Object.getOwnPropertyDescriptor%":$,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?p:Promise,"%Proxy%":typeof Proxy>"u"?p:Proxy,"%RangeError%":E,"%ReferenceError%":f,"%Reflect%":typeof Reflect>"u"?p:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?p:Set,"%SetIteratorPrototype%":typeof Set>"u"||!V||!X?p:X(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?p:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":V&&X?X(""[Symbol.iterator]()):p,"%Symbol%":V?Symbol:p,"%SyntaxError%":g,"%ThrowTypeError%":P,"%TypedArray%":Se,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?p:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?p:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?p:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?p:Uint32Array,"%URIError%":B,"%WeakMap%":typeof WeakMap>"u"?p:WeakMap,"%WeakRef%":typeof WeakRef>"u"?p:WeakRef,"%WeakSet%":typeof WeakSet>"u"?p:WeakSet,"%Function.prototype.call%":Ae,"%Function.prototype.apply%":Re,"%Object.defineProperty%":ae,"%Object.getPrototypeOf%":me,"%Math.abs%":M,"%Math.floor%":k,"%Math.max%":W,"%Math.min%":L,"%Math.pow%":G,"%Math.round%":U,"%Math.sign%":S,"%Reflect.getPrototypeOf%":we};if(X)try{null.error}catch(xe){var Ue=X(X(xe));Te["%Error.prototype%"]=Ue}var ft=function xe(rt){var _t;if(rt==="%AsyncFunction%")_t=N("async function () {}");else if(rt==="%GeneratorFunction%")_t=N("function* () {}");else if(rt==="%AsyncGeneratorFunction%")_t=N("async function* () {}");else if(rt==="%AsyncGenerator%"){var Pt=xe("%AsyncGeneratorFunction%");Pt&&(_t=Pt.prototype)}else if(rt==="%AsyncIteratorPrototype%"){var fe=xe("%AsyncGenerator%");fe&&X&&(_t=X(fe.prototype))}return Te[rt]=_t,_t},ut={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ft=u("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"),kt=u("../../node_modules/.pnpm/hasown@2.0.3/node_modules/hasown/index.js"),ht=Ft.call(Ae,Array.prototype.concat),se=Ft.call(Re,Array.prototype.splice),He=Ft.call(Ae,String.prototype.replace),ge=Ft.call(Ae,String.prototype.slice),je=Ft.call(Ae,RegExp.prototype.exec),nt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rt=/\\(\\)?/g,Bt=function(rt){var _t=ge(rt,0,1),Pt=ge(rt,-1);if(_t==="%"&&Pt!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(Pt==="%"&&_t!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var fe=[];return He(rt,nt,function(pe,yt,F,c){fe[fe.length]=F?He(c,Rt,"$1"):yt||pe}),fe},Me=function(rt,_t){var Pt=rt,fe;if(kt(ut,Pt)&&(fe=ut[Pt],Pt="%"+fe[0]+"%"),kt(Te,Pt)){var pe=Te[Pt];if(pe===te&&(pe=ft(Pt)),typeof pe>"u"&&!_t)throw new l("intrinsic "+rt+" exists, but is not available. Please file an issue!");return{alias:fe,name:Pt,value:pe}}throw new g("intrinsic "+rt+" does not exist!")};ee.exports=function(rt,_t){if(typeof rt!="string"||rt.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof _t!="boolean")throw new l('"allowMissing" argument must be a boolean');if(je(/^%?[^%]*%?$/,rt)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Pt=Bt(rt),fe=Pt.length>0?Pt[0]:"",pe=Me("%"+fe+"%",_t),yt=pe.name,F=pe.value,c=!1,s=pe.alias;s&&(fe=s[0],se(Pt,ht([0,1],s)));for(var R=1,oe=!0;R<Pt.length;R+=1){var Ne=Pt[R],tt=ge(Ne,0,1),It=ge(Ne,-1);if((tt==='"'||tt==="'"||tt==="`"||It==='"'||It==="'"||It==="`")&&tt!==It)throw new g("property names with quotes must have matching quotes");if((Ne==="constructor"||!oe)&&(c=!0),fe+="."+Ne,yt="%"+fe+"%",kt(Te,yt))F=Te[yt];else if(F!=null){if(!(Ne in F)){if(!_t)throw new l("base intrinsic for "+rt+" exists, but the property is not available.");return}if($&&R+1>=Pt.length){var zt=$(F,Ne);oe=!!zt,oe&&"get"in zt&&!("originalValue"in zt.get)?F=zt.get:F=F[Ne]}else oe=kt(F,Ne),F=F[Ne];oe&&!c&&(Te[yt]=F)}}return F}}),"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js");ee.exports=p.getPrototypeOf||null}),"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js":(ee=>{"use strict";ee.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"),w=u("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"),v=u("../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js");ee.exports=p?function(E){return p(E)}:w?function(E){if(!E||typeof E!="object"&&typeof E!="function")throw new TypeError("getProto: not an object");return w(E)}:v?function(E){return v(E)}:null}),"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js":(ee=>{"use strict";ee.exports=Object.getOwnPropertyDescriptor}),"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js");if(p)try{p([],"length")}catch{p=null}ee.exports=p}),"../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"),w=function(){return!!p};w.hasArrayLengthDefineBug=function(){if(!p)return null;try{return p([],"length",{value:1}).length!==1}catch{return!0}},ee.exports=w}),"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js":((ee,i,u)=>{"use strict";var p=typeof Symbol<"u"&&Symbol,w=u("../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js");ee.exports=function(){return typeof p!="function"||typeof Symbol!="function"||typeof p("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:w()}}),"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js":(ee=>{"use strict";ee.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var u={},p=Symbol("test"),w=Object(p);if(typeof p=="string"||Object.prototype.toString.call(p)!=="[object Symbol]"||Object.prototype.toString.call(w)!=="[object Symbol]")return!1;var v=42;u[p]=v;for(var h in u)return!1;if(typeof Object.keys=="function"&&Object.keys(u).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(u).length!==0)return!1;var E=Object.getOwnPropertySymbols(u);if(E.length!==1||E[0]!==p||!Object.prototype.propertyIsEnumerable.call(u,p))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(u,p);if(f.value!==v||f.enumerable!==!0)return!1}return!0}}),"../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js");ee.exports=function(){return p()&&!!Symbol.toStringTag}}),"../../node_modules/.pnpm/hasown@2.0.3/node_modules/hasown/index.js":((ee,i,u)=>{"use strict";var p=Function.prototype.call,w=Object.prototype.hasOwnProperty,v=u("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js");ee.exports=v.call(p,w)}),"../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js":((ee,i)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */i.read=function(u,p,w,v,h){var E,f,g=h*8-v-1,l=(1<<g)-1,B=l>>1,M=-7,k=w?h-1:0,W=w?-1:1,L=u[p+k];for(k+=W,E=L&(1<<-M)-1,L>>=-M,M+=g;M>0;E=E*256+u[p+k],k+=W,M-=8);for(f=E&(1<<-M)-1,E>>=-M,M+=v;M>0;f=f*256+u[p+k],k+=W,M-=8);if(E===0)E=1-B;else{if(E===l)return f?NaN:(L?-1:1)*(1/0);f=f+Math.pow(2,v),E=E-B}return(L?-1:1)*f*Math.pow(2,E-v)},i.write=function(u,p,w,v,h,E){var f,g,l,B=E*8-h-1,M=(1<<B)-1,k=M>>1,W=h===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=v?0:E-1,G=v?1:-1,U=p<0||p===0&&1/p<0?1:0;for(p=Math.abs(p),isNaN(p)||p===1/0?(g=isNaN(p)?1:0,f=M):(f=Math.floor(Math.log(p)/Math.LN2),p*(l=Math.pow(2,-f))<1&&(f--,l*=2),f+k>=1?p+=W/l:p+=W*Math.pow(2,1-k),p*l>=2&&(f++,l/=2),f+k>=M?(g=0,f=M):f+k>=1?(g=(p*l-1)*Math.pow(2,h),f=f+k):(g=p*Math.pow(2,k-1)*Math.pow(2,h),f=0));h>=8;u[w+L]=g&255,L+=G,g/=256,h-=8);for(f=f<<h|g,B+=h;B>0;u[w+L]=f&255,L+=G,f/=256,B-=8);u[w+L-G]|=U*128}}),"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js":(ee=>{typeof Object.create=="function"?ee.exports=function(u,p){p&&(u.super_=p,u.prototype=Object.create(p.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}))}:ee.exports=function(u,p){if(p){u.super_=p;var w=function(){};w.prototype=p.prototype,u.prototype=new w,u.prototype.constructor=u}}}),"../../node_modules/.pnpm/is-arguments@1.2.0/node_modules/is-arguments/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js")(),w=u("../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"),v=w("Object.prototype.toString"),h=function(l){return p&&l&&typeof l=="object"&&Symbol.toStringTag in l?!1:v(l)==="[object Arguments]"},E=function(l){return h(l)?!0:l!==null&&typeof l=="object"&&"length"in l&&typeof l.length=="number"&&l.length>=0&&v(l)!=="[object Array]"&&"callee"in l&&v(l.callee)==="[object Function]"},f=(function(){return h(arguments)})();h.isLegacyArguments=E,ee.exports=f?h:E}),"../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js":(ee=>{"use strict";var i=Function.prototype.toString,u=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,p,w;if(typeof u=="function"&&typeof Object.defineProperty=="function")try{p=Object.defineProperty({},"length",{get:function(){throw w}}),w={},u(function(){throw 42},null,p)}catch(Y){Y!==w&&(u=null)}else u=null;var v=/^\s*class\b/,h=function(N){try{var $=i.call(N);return v.test($)}catch{return!1}},E=function(N){try{return h(N)?!1:(i.call(N),!0)}catch{return!1}},f=Object.prototype.toString,g="[object Object]",l="[object Function]",B="[object GeneratorFunction]",M="[object HTMLAllCollection]",k="[object HTML document.all class]",W="[object HTMLCollection]",L=typeof Symbol=="function"&&!!Symbol.toStringTag,G=!(0 in[,]),U=function(){return!1};if(typeof document=="object"){var S=document.all;f.call(S)===f.call(document.all)&&(U=function(N){if((G||!N)&&(typeof N>"u"||typeof N=="object"))try{var $=f.call(N);return($===M||$===k||$===W||$===g)&&N("")==null}catch{}return!1})}ee.exports=u?function(N){if(U(N))return!0;if(!N||typeof N!="function"&&typeof N!="object")return!1;try{u(N,null,p)}catch($){if($!==w)return!1}return!h(N)&&E(N)}:function(N){if(U(N))return!0;if(!N||typeof N!="function"&&typeof N!="object")return!1;if(L)return E(N);if(h(N))return!1;var $=f.call(N);return $!==l&&$!==B&&!/^\[object HTML/.test($)?!1:E(N)}}),"../../node_modules/.pnpm/is-generator-function@1.1.2/node_modules/is-generator-function/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"),w=u("../../node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"),v=w(/^\s*(?:function)?\*/),h=u("../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js")(),E=u("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"),f=p("Object.prototype.toString"),g=p("Function.prototype.toString"),l=u("../../node_modules/.pnpm/generator-function@2.0.1/node_modules/generator-function/index.js");ee.exports=function(M){if(typeof M!="function")return!1;if(v(g(M)))return!0;if(!h){var k=f(M);return k==="[object GeneratorFunction]"}if(!E)return!1;var W=l();return W&&E(M)===W.prototype}}),"../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js":(ee=>{"use strict";ee.exports=function(u){return u!==u}}),"../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/index.js"),w=u("../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js"),v=u("../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js"),h=u("../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js"),E=u("../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/shim.js"),f=p(h(),Number);w(f,{getPolyfill:h,implementation:v,shim:E}),ee.exports=f}),"../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js");ee.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:p}}),"../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/shim.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js"),w=u("../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js");ee.exports=function(){var h=w();return p(Number,{isNaN:h},{isNaN:function(){return Number.isNaN!==h}}),h}}),"../../node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"),w=u("../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js")(),v=u("../../node_modules/.pnpm/hasown@2.0.3/node_modules/hasown/index.js"),h=u("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"),E;if(w){var f=p("RegExp.prototype.exec"),g={},l=function(){throw g},B={toString:l,valueOf:l};typeof Symbol.toPrimitive=="symbol"&&(B[Symbol.toPrimitive]=l),E=function(L){if(!L||typeof L!="object")return!1;var G=h(L,"lastIndex"),U=G&&v(G,"value");if(!U)return!1;try{f(L,B)}catch(S){return S===g}}}else{var M=p("Object.prototype.toString"),k="[object RegExp]";E=function(L){return!L||typeof L!="object"&&typeof L!="function"?!1:M(L)===k}}ee.exports=E}),"../../node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/which-typed-array@1.1.20/node_modules/which-typed-array/index.js");ee.exports=function(v){return!!p(v)}}),"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js":(ee=>{"use strict";ee.exports=Math.abs}),"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js":(ee=>{"use strict";ee.exports=Math.floor}),"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js":(ee=>{"use strict";ee.exports=Number.isNaN||function(u){return u!==u}}),"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js":(ee=>{"use strict";ee.exports=Math.max}),"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js":(ee=>{"use strict";ee.exports=Math.min}),"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js":(ee=>{"use strict";ee.exports=Math.pow}),"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js":(ee=>{"use strict";ee.exports=Math.round}),"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js");ee.exports=function(v){return p(v)||v===0?v:v<0?-1:1}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/config.js":((ee,i,u)=>{var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");let w=!1;ee.exports=(w||(p.warn(' \x1B[33m\x1B[1m\u26A0\x1B[22m\x1B[39m Runtime config is deprecated and will be removed in Next.js 16. Please remove the usage of "next/config" from your project.'),w=!0),u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/runtime-config.external.js"))}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/deployment-id.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return u}});function u(){return{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.NEXT_DEPLOYMENT_ID?`?dpl=${{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.NEXT_DEPLOYMENT_ID}`:""}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/add-base-path.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"addBasePath",{enumerable:!0,get:function(){return h}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/normalize-trailing-slash.js"),v={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_ROUTER_BASEPATH||"";function h(E,f){return(0,w.normalizePathTrailingSlash)({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_MANUAL_CLIENT_BASE_PATH&&!f?E:(0,p.addPathPrefix)(E,v))}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/add-locale.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"addLocale",{enumerable:!0,get:function(){return w}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/normalize-trailing-slash.js"),w=function(v){for(var h=arguments.length,E=new Array(h>1?h-1:0),f=1;f<h;f++)E[f-1]=arguments[f];return{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT?(0,p.normalizePathTrailingSlash)(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/add-locale.js").addLocale(v,...E)):v};(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/app-router-headers.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(N,$){for(var ae in $)Object.defineProperty(N,ae,{enumerable:!0,get:$[ae]})}u(i,{ACTION_HEADER:function(){return w},FLIGHT_HEADERS:function(){return M},NEXT_ACTION_NOT_FOUND_HEADER:function(){return Y},NEXT_DID_POSTPONE_HEADER:function(){return L},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return g},NEXT_HMR_REFRESH_HEADER:function(){return f},NEXT_IS_PRERENDER_HEADER:function(){return S},NEXT_REWRITTEN_PATH_HEADER:function(){return G},NEXT_REWRITTEN_QUERY_HEADER:function(){return U},NEXT_ROUTER_PREFETCH_HEADER:function(){return h},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return E},NEXT_ROUTER_STALE_TIME_HEADER:function(){return W},NEXT_ROUTER_STATE_TREE_HEADER:function(){return v},NEXT_RSC_UNION_QUERY:function(){return k},NEXT_URL:function(){return l},RSC_CONTENT_TYPE_HEADER:function(){return B},RSC_HEADER:function(){return p}});const p="rsc",w="next-action",v="next-router-state-tree",h="next-router-prefetch",E="next-router-segment-prefetch",f="next-hmr-refresh",g="__next_hmr_refresh_hash__",l="next-url",B="text/x-component",M=[p,v,h,f,E],k="_rsc",W="x-nextjs-stale-time",L="x-nextjs-postponed",G="x-nextjs-rewritten-path",U="x-nextjs-rewritten-query",S="x-nextjs-prerender",Y="x-nextjs-action-not-found";(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/bailout-to-client-rendering.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"bailoutToClientRendering",{enumerable:!0,get:function(){return h}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-async-storage.external.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js");function h(E){const f=w.workAsyncStorage.getStore();if(f?.forceStatic)return;const g=v.workUnitAsyncStorage.getStore();if(g)switch(g.type){case"prerender":case"prerender-runtime":case"prerender-client":case"prerender-ppr":case"prerender-legacy":throw Object.defineProperty(new p.BailoutToCSRError(E),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"request":case"cache":case"private-cache":case"unstable-cache":break;default:}}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/forbidden.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"forbidden",{enumerable:!0,get:function(){return v}});const w=""+u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js").HTTP_ERROR_FALLBACK_ERROR_CODE+";403";function v(){if(!{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)throw Object.defineProperty(new Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0});const h=Object.defineProperty(new Error(w),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw h.digest=w,h}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/hooks-server-context.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(h,E){for(var f in E)Object.defineProperty(h,f,{enumerable:!0,get:E[f]})}u(i,{DynamicServerError:function(){return w},isDynamicServerError:function(){return v}});const p="DYNAMIC_SERVER_USAGE";class w extends Error{constructor(E){super("Dynamic server usage: "+E),this.description=E,this.digest=p}}function v(h){return typeof h!="object"||h===null||!("digest"in h)||typeof h.digest!="string"?!1:h.digest===p}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(g,l){for(var B in l)Object.defineProperty(g,B,{enumerable:!0,get:l[B]})}u(i,{HTTPAccessErrorStatus:function(){return p},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return v},getAccessFallbackErrorTypeByStatus:function(){return f},getAccessFallbackHTTPStatus:function(){return E},isHTTPAccessFallbackError:function(){return h}});const p={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},w=new Set(Object.values(p)),v="NEXT_HTTP_ERROR_FALLBACK";function h(g){if(typeof g!="object"||g===null||!("digest"in g)||typeof g.digest!="string")return!1;const[l,B]=g.digest.split(";");return l===v&&w.has(Number(B))}function E(g){const l=g.digest.split(";")[1];return Number(l)}function f(g){switch(g){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/is-next-router-error.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isNextRouterError",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-error.js");function v(h){return(0,w.isRedirectError)(h)||(0,p.isHTTPAccessFallbackError)(h)}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/navigation.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(N,$){for(var ae in $)Object.defineProperty(N,ae,{enumerable:!0,get:$[ae]})}p(i,{ReadonlyURLSearchParams:function(){return g.ReadonlyURLSearchParams},RedirectType:function(){return g.RedirectType},ServerInsertedHTMLContext:function(){return l.ServerInsertedHTMLContext},forbidden:function(){return g.forbidden},notFound:function(){return g.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return g.unauthorized},unstable_isUnrecognizedActionError:function(){return B.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return g.unstable_rethrow},useParams:function(){return G},usePathname:function(){return W},useRouter:function(){return L},useSearchParams:function(){return k},useSelectedLayoutSegment:function(){return Y},useSelectedLayoutSegments:function(){return S},useServerInsertedHTML:function(){return l.useServerInsertedHTML}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/segment.js"),g=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/navigation.react-server.js"),l=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js"),B=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unrecognized-action-error.js"),M=typeof window>"u"?u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/dynamic-rendering.js").useDynamicRouteParams:void 0;function k(){const N=(0,w.useContext)(h.SearchParamsContext),$=(0,w.useMemo)(()=>N?new g.ReadonlyURLSearchParams(N):null,[N]);if(typeof window>"u"){const{bailoutToClientRendering:ae}=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/bailout-to-client-rendering.js");ae("useSearchParams()")}return $}function W(){return M?.("usePathname()"),(0,w.useContext)(h.PathnameContext)}function L(){const N=(0,w.useContext)(v.AppRouterContext);if(N===null)throw Object.defineProperty(new Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return N}function G(){return M?.("useParams()"),(0,w.useContext)(h.PathParamsContext)}function U(N,$,ae,ne){ae===void 0&&(ae=!0),ne===void 0&&(ne=[]);let P;if(ae)P=N[1][$];else{const we=N[1];var V;P=(V=we.children)!=null?V:Object.values(we)[0]}if(!P)return ne;const X=P[0];let me=(0,E.getSegmentValue)(X);return!me||me.startsWith(f.PAGE_SEGMENT_KEY)?ne:(ne.push(me),U(P,$,!1,ne))}function S(N){N===void 0&&(N="children"),M?.("useSelectedLayoutSegments()");const $=(0,w.useContext)(v.LayoutRouterContext);return $?U($.parentTree,N):null}function Y(N){N===void 0&&(N="children"),M?.("useSelectedLayoutSegment()");const $=S(N);if(!$||$.length===0)return null;const ae=N==="children"?$[0]:$[$.length-1];return ae===f.DEFAULT_SEGMENT_KEY?null:ae}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/navigation.react-server.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(k,W){for(var L in W)Object.defineProperty(k,L,{enumerable:!0,get:W[L]})}p(i,{ReadonlyURLSearchParams:function(){return B},RedirectType:function(){return v.RedirectType},forbidden:function(){return E.forbidden},notFound:function(){return h.notFound},permanentRedirect:function(){return w.permanentRedirect},redirect:function(){return w.redirect},unauthorized:function(){return f.unauthorized},unstable_isUnrecognizedActionError:function(){return M},unstable_rethrow:function(){return g.unstable_rethrow}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-error.js"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/not-found.js"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/forbidden.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unauthorized.js"),g=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unstable-rethrow.js");class l extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class B extends URLSearchParams{append(){throw new l}delete(){throw new l}set(){throw new l}sort(){throw new l}}function M(){throw Object.defineProperty(new Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/not-found.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"notFound",{enumerable:!0,get:function(){return v}});const w=""+u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js").HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function v(){const h=Object.defineProperty(new Error(w),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw h.digest=w,h}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-boundary.js":((ee,i,u)=>{"use client";"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(k,W){for(var L in W)Object.defineProperty(k,L,{enumerable:!0,get:W[L]})}p(i,{RedirectBoundary:function(){return M},RedirectErrorBoundary:function(){return B}});const w=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/jsx-runtime.js"),h=w._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js")),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/navigation.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect.js"),g=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-error.js");function l(k){let{redirect:W,reset:L,redirectType:G}=k;const U=(0,E.useRouter)();return(0,h.useEffect)(()=>{h.default.startTransition(()=>{G===g.RedirectType.push?U.push(W,{}):U.replace(W,{}),L()})},[W,G,L,U]),null}class B extends h.default.Component{static getDerivedStateFromError(W){if((0,g.isRedirectError)(W)){const L=(0,f.getURLFromRedirectError)(W),G=(0,f.getRedirectTypeFromError)(W);return{redirect:L,redirectType:G}}throw W}render(){const{redirect:W,redirectType:L}=this.state;return W!==null&&L!==null?(0,v.jsx)(l,{redirect:W,redirectType:L,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(W){super(W),this.state={redirect:null,redirectType:null}}}function M(k){let{children:W}=k;const L=(0,E.useRouter)();return(0,v.jsx)(B,{router:L,children:W})}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-error.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(f,g){for(var l in g)Object.defineProperty(f,l,{enumerable:!0,get:g[l]})}p(i,{REDIRECT_ERROR_CODE:function(){return v},RedirectType:function(){return h},isRedirectError:function(){return E}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-status-code.js"),v="NEXT_REDIRECT";var h=(function(f){return f.push="push",f.replace="replace",f})({});function E(f){if(typeof f!="object"||f===null||!("digest"in f)||typeof f.digest!="string")return!1;const g=f.digest.split(";"),[l,B]=g,M=g.slice(2,-2).join(";"),k=g.at(-2),W=Number(k);return l===v&&(B==="replace"||B==="push")&&typeof M=="string"&&!isNaN(W)&&W in w.RedirectStatusCode}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-status-code.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RedirectStatusCode",{enumerable:!0,get:function(){return u}});var u=(function(p){return p[p.SeeOther=303]="SeeOther",p[p.TemporaryRedirect=307]="TemporaryRedirect",p[p.PermanentRedirect=308]="PermanentRedirect",p})({});(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(k,W){for(var L in W)Object.defineProperty(k,L,{enumerable:!0,get:W[L]})}p(i,{getRedirectError:function(){return E},getRedirectStatusCodeFromError:function(){return M},getRedirectTypeFromError:function(){return B},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return g},redirect:function(){return f}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-status-code.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/redirect-error.js"),h=typeof window>"u"?u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/action-async-storage.external.js").actionAsyncStorage:void 0;function E(k,W,L){L===void 0&&(L=w.RedirectStatusCode.TemporaryRedirect);const G=Object.defineProperty(new Error(v.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return G.digest=v.REDIRECT_ERROR_CODE+";"+W+";"+k+";"+L+";",G}function f(k,W){var L;throw W??(W=!(h==null||(L=h.getStore())==null)&&L.isAction?v.RedirectType.push:v.RedirectType.replace),E(k,W,w.RedirectStatusCode.TemporaryRedirect)}function g(k,W){throw W===void 0&&(W=v.RedirectType.replace),E(k,W,w.RedirectStatusCode.PermanentRedirect)}function l(k){return(0,v.isRedirectError)(k)?k.digest.split(";").slice(2,-2).join(";"):null}function B(k){if(!(0,v.isRedirectError)(k))throw Object.defineProperty(new Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return k.digest.split(";",2)[1]}function M(k){if(!(0,v.isRedirectError)(k))throw Object.defineProperty(new Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(k.digest.split(";").at(-2))}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getSegmentValue",{enumerable:!0,get:function(){return u}});function u(p){return Array.isArray(p)?p[1]:p}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/static-generation-bailout.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(h,E){for(var f in E)Object.defineProperty(h,f,{enumerable:!0,get:E[f]})}u(i,{StaticGenBailoutError:function(){return w},isStaticGenBailoutError:function(){return v}});const p="NEXT_STATIC_GEN_BAILOUT";class w extends Error{constructor(...E){super(...E),this.code=p}}function v(h){return typeof h!="object"||h===null||!("code"in h)?!1:h.code===p}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unauthorized.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"unauthorized",{enumerable:!0,get:function(){return v}});const w=""+u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js").HTTP_ERROR_FALLBACK_ERROR_CODE+";401";function v(){if(!{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS)throw Object.defineProperty(new Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0});const h=Object.defineProperty(new Error(w),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw h.digest=w,h}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unrecognized-action-error.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(v,h){for(var E in h)Object.defineProperty(v,E,{enumerable:!0,get:h[E]})}u(i,{UnrecognizedActionError:function(){return p},unstable_isUnrecognizedActionError:function(){return w}});class p extends Error{constructor(...h){super(...h),this.name="UnrecognizedActionError"}}function w(v){return!!(v&&typeof v=="object"&&v instanceof p)}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unstable-rethrow.browser.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"unstable_rethrow",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/is-next-router-error.js");function v(h){if((0,w.isNextRouterError)(h)||(0,p.isBailoutToCSRError)(h))throw h;h instanceof Error&&"cause"in h&&v(h.cause)}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unstable-rethrow.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"unstable_rethrow",{enumerable:!0,get:function(){return p}});const p=typeof window>"u"?u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unstable-rethrow.server.js").unstable_rethrow:u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unstable-rethrow.browser.js").unstable_rethrow;(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/unstable-rethrow.server.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"unstable_rethrow",{enumerable:!0,get:function(){return g}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/dynamic-rendering-utils.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/lib/router-utils/is-postpone.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/is-next-router-error.js"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/dynamic-rendering.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/hooks-server-context.js");function g(l){if((0,h.isNextRouterError)(l)||(0,v.isBailoutToCSRError)(l)||(0,f.isDynamicServerError)(l)||(0,E.isDynamicPostpone)(l)||(0,w.isPostpone)(l)||(0,p.isHangingPromiseRejectionError)(l))throw l;l instanceof Error&&"cause"in l&&g(l.cause)}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/detect-domain-locale.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"detectDomainLocale",{enumerable:!0,get:function(){return p}});const p=function(){for(var w=arguments.length,v=new Array(w),h=0;h<w;h++)v[h]=arguments[h];if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT)return u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js").detectDomainLocale(...v)};(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/has-base-path.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"hasBasePath",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js"),w={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_ROUTER_BASEPATH||"";function v(h){return(0,p.pathHasPrefix)(h,w)}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/head-manager.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(g,l){for(var B in l)Object.defineProperty(g,B,{enumerable:!0,get:l[B]})}p(i,{default:function(){return f},isEqualNode:function(){return h}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/set-attributes-from-props.js");function v(g){let{type:l,props:B}=g;const M=document.createElement(l);(0,w.setAttributesFromProps)(M,B);const{children:k,dangerouslySetInnerHTML:W}=B;return W?M.innerHTML=W.__html||"":k&&(M.textContent=typeof k=="string"?k:Array.isArray(k)?k.join(""):""),M}function h(g,l){if(g instanceof HTMLElement&&l instanceof HTMLElement){const B=l.getAttribute("nonce");if(B&&!g.getAttribute("nonce")){const M=l.cloneNode(!0);return M.setAttribute("nonce",""),M.nonce=B,B===g.nonce&&g.isEqualNode(M)}}return g.isEqualNode(l)}function E(g,l){const B=document.querySelector("head");if(!B)return;const M=new Set(B.querySelectorAll(""+g+"[data-next-head]"));if(g==="meta"){const L=B.querySelector("meta[charset]");L!==null&&M.add(L)}const k=[];for(let L=0;L<l.length;L++){const G=l[L],U=v(G);U.setAttribute("data-next-head","");let S=!0;for(const Y of M)if(h(Y,U)){M.delete(Y),S=!1;break}S&&k.push(U)}for(const L of M){var W;(W=L.parentNode)==null||W.removeChild(L)}for(const L of k)L.tagName.toLowerCase()==="meta"&&L.getAttribute("charset")!==null&&B.prepend(L),B.appendChild(L)}function f(){return{mountedInstances:new Set,updateHead:g=>{const l={};g.forEach(k=>{if(k.type==="link"&&k.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+k.props["data-href"]+'"]'))return;k.props.href=k.props["data-href"],k.props["data-href"]=void 0}const W=l[k.type]||[];W.push(k),l[k.type]=W});const B=l.title?l.title[0]:null;let M="";if(B){const{children:k}=B.props;M=typeof k=="string"?k:Array.isArray(k)?k.join(""):""}M!==document.title&&(document.title=M),["meta","base","link","style","script"].forEach(k=>{E(k,l[k]||[])})}}}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/normalize-trailing-slash.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-path.js"),v=h=>{if(!h.startsWith("/")||{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_MANUAL_TRAILING_SLASH)return h;const{pathname:E,query:f,hash:g}=(0,w.parsePath)(h);return{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(E)?""+(0,p.removeTrailingSlash)(E)+f+g:E.endsWith("/")?""+E+f+g:E+"/"+f+g:""+(0,p.removeTrailingSlash)(E)+f+g};(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/remove-base-path.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"removeBasePath",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/has-base-path.js"),w={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_ROUTER_BASEPATH||"";function v(h){return{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_MANUAL_CLIENT_BASE_PATH&&!(0,p.hasBasePath)(h)||w.length===0||(h=h.slice(w.length),h.startsWith("/")||(h="/"+h)),h}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/remove-locale.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"removeLocale",{enumerable:!0,get:function(){return w}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-path.js");function w(v,h){if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT){const{pathname:E}=(0,p.parsePath)(v),f=E.toLowerCase(),g=h?.toLowerCase();return h&&(f.startsWith("/"+g+"/")||f==="/"+g)?(E.length===h.length+1?"/":"")+v.slice(h.length+1):v}return v}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/request-idle-callback.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(v,h){for(var E in h)Object.defineProperty(v,E,{enumerable:!0,get:h[E]})}u(i,{cancelIdleCallback:function(){return w},requestIdleCallback:function(){return p}});const p=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(v){let h=Date.now();return self.setTimeout(function(){v({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-h))}})},1)},w=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(v){return clearTimeout(v)};(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/resolve-href.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"resolveHref",{enumerable:!0,get:function(){return W}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/querystring.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/format-url.js"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/omit.js"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/utils.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/normalize-trailing-slash.js"),g=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/is-local-url.js"),l=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/index.js"),B=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js"),M=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-regex.js"),k=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-matcher.js");function W(L,G,U){let S,Y=typeof G=="string"?G:(0,v.formatWithValidation)(G);const N=Y.match(/^[a-z][a-z0-9+.-]*:\/\//i),$=N?Y.slice(N[0].length):Y;if(($.split("?",1)[0]||"").match(/(\/\/|\\)/)){p.error("Invalid href '"+Y+"' passed to next/router in page: '"+L.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const ne=(0,E.normalizeRepeatedSlashes)($);Y=(N?N[0]:"")+ne}if(!(0,g.isLocalURL)(Y))return U?[Y]:Y;try{let ne=Y.startsWith("#")?L.asPath:L.pathname;if(Y.startsWith("?")&&(ne=L.asPath,(0,l.isDynamicRoute)(L.pathname))){ne=L.pathname;const P=(0,M.getRouteRegex)(L.pathname);(0,k.getRouteMatcher)(P)(L.asPath)||(ne=L.asPath)}S=new URL(ne,"http://n")}catch{S=new URL("/","http://n")}try{const ne=new URL(Y,S);ne.pathname=(0,f.normalizePathTrailingSlash)(ne.pathname);let P="";if((0,l.isDynamicRoute)(ne.pathname)&&ne.searchParams&&U){const X=(0,w.searchParamsToUrlQuery)(ne.searchParams),{result:me,params:we}=(0,B.interpolateAs)(ne.pathname,ne.pathname,X);me&&(P=(0,v.formatWithValidation)({pathname:me,hash:ne.hash,query:(0,h.omit)(X,we)}))}const V=ne.origin===S.origin?ne.href.slice(ne.origin.length):ne.href;return U?[V,P||V]:V}catch{return U?[Y]:Y}}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/route-loader.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(V,X){for(var me in X)Object.defineProperty(V,me,{enumerable:!0,get:X[me]})}p(i,{createRouteLoader:function(){return P},getClientBuildManifest:function(){return ae},isAssetError:function(){return W},markAssetError:function(){return k}});const v=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs")._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js")),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/trusted-types.js"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/request-idle-callback.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/deployment-id.js"),g=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/encode-uri-path.js"),l=3800;function B(V,X,me){let we=X.get(V);if(we)return"future"in we?we.future:Promise.resolve(we);let Re;const Ae=new Promise(te=>{Re=te});return X.set(V,{resolve:Re,future:Ae}),me?me().then(te=>(Re(te),te)).catch(te=>{throw X.delete(V),te}):Ae}const M=Symbol("ASSET_LOAD_ERROR");function k(V){return Object.defineProperty(V,M,{})}function W(V){return V&&M in V}function L(V){try{return V=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||V.relList.supports("prefetch")}catch{return!1}}const G=L(),U=()=>(0,f.getDeploymentIdQueryOrEmptyString)();function S(V,X,me){return new Promise((we,Re)=>{const Ae=`
|
|
118
|
+
link[rel="prefetch"][href^="`+V+`"],
|
|
119
|
+
link[rel="preload"][href^="`+V+`"],
|
|
120
|
+
script[src^="`+V+'"]';if(document.querySelector(Ae))return we();me=document.createElement("link"),X&&(me.as=X),me.rel="prefetch",me.crossOrigin={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_CROSS_ORIGIN,me.onload=we,me.onerror=()=>Re(k(Object.defineProperty(new Error("Failed to prefetch: "+V),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),me.href=V,document.head.appendChild(me)})}function Y(V,X){return new Promise((me,we)=>{X=document.createElement("script"),X.onload=me,X.onerror=()=>we(k(Object.defineProperty(new Error("Failed to load script: "+V),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),X.crossOrigin={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_CROSS_ORIGIN,X.src=V,document.body.appendChild(X)})}let N;function $(V,X,me){return new Promise((we,Re)=>{let Ae=!1;V.then(te=>{Ae=!0,we(te)}).catch(Re),(0,E.requestIdleCallback)(()=>setTimeout(()=>{Ae||Re(me)},X))})}function ae(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);const V=new Promise(X=>{const me=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{X(self.__BUILD_MANIFEST),me&&me()}});return $(V,l,k(Object.defineProperty(new Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})))}function ne(V,X){return ae().then(me=>{if(!(X in me))throw k(Object.defineProperty(new Error("Failed to lookup route: "+X),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));const we=me[X].map(Re=>V+"/_next/"+(0,g.encodeURIPath)(Re));return{scripts:we.filter(Re=>Re.endsWith(".js")).map(Re=>(0,h.__unsafeCreateTrustedScriptURL)(Re)+U()),css:we.filter(Re=>Re.endsWith(".css")).map(Re=>Re+U())}})}function P(V){const X=new Map,me=new Map,we=new Map,Re=new Map;function Ae(Se){{let Te=me.get(Se.toString());return Te||(document.querySelector('script[src^="'+Se+'"]')?Promise.resolve():(me.set(Se.toString(),Te=Y(Se)),Te))}}function te(Se){let Te=we.get(Se);return Te||(we.set(Se,Te=fetch(Se,{credentials:"same-origin"}).then(Ue=>{if(!Ue.ok)throw Object.defineProperty(new Error("Failed to load stylesheet: "+Se),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return Ue.text().then(ft=>({href:Se,content:ft}))}).catch(Ue=>{throw k(Ue)})),Te)}return{whenEntrypoint(Se){return B(Se,X)},onEntrypoint(Se,Te){(Te?Promise.resolve().then(()=>Te()).then(Ue=>({component:Ue&&Ue.default||Ue,exports:Ue}),Ue=>({error:Ue})):Promise.resolve(void 0)).then(Ue=>{const ft=X.get(Se);ft&&"resolve"in ft?Ue&&(X.set(Se,Ue),ft.resolve(Ue)):(Ue?X.set(Se,Ue):X.delete(Se),Re.delete(Se))})},loadRoute(Se,Te){return B(Se,Re,()=>{let Ue;return $(ne(V,Se).then(ft=>{let{scripts:ut,css:Ft}=ft;return Promise.all([X.has(Se)?[]:Promise.all(ut.map(Ae)),Promise.all(Ft.map(te))])}).then(ft=>this.whenEntrypoint(Se).then(ut=>({entrypoint:ut,styles:ft[1]}))),l,k(Object.defineProperty(new Error("Route did not complete loading: "+Se),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0}))).then(ft=>{let{entrypoint:ut,styles:Ft}=ft;const kt=Object.assign({styles:Ft},ut);return"error"in ut?ut:kt}).catch(ft=>{if(Te)throw ft;return{error:ft}}).finally(()=>Ue?.())})},prefetch(Se){let Te;return(Te=navigator.connection)&&(Te.saveData||/2g/.test(Te.effectiveType))?Promise.resolve():ne(V,Se).then(Ue=>Promise.all(G?Ue.scripts.map(ft=>S(ft.toString(),"script")):[])).then(()=>{(0,E.requestIdleCallback)(()=>this.loadRoute(Se,!0).catch(()=>{}))}).catch(()=>{})}}}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/router.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");Object.defineProperty(i,"__esModule",{value:!0});function w(N,$){for(var ae in $)Object.defineProperty(N,ae,{enumerable:!0,get:$[ae]})}w(i,{Router:function(){return E.default},createRouter:function(){return S},default:function(){return G},makePublicRouterInstance:function(){return Y},useRouter:function(){return U},withRouter:function(){return l.default}});const v=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs"),h=v._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js")),E=v._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/router.js")),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router-context.shared-runtime.js"),g=v._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/is-error.js")),l=v._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/with-router.js")),B={router:null,readyCallbacks:[],ready(N){if(this.router)return N();typeof window<"u"&&this.readyCallbacks.push(N)}},M=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],k=["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"],W=["push","replace","reload","back","prefetch","beforePopState"];Object.defineProperty(B,"events",{get(){return E.default.events}});function L(){if(!B.router){const N=`No router instance found.
|
|
121
|
+
You should only use "next/router" on the client side of your app.
|
|
122
|
+
`;throw Object.defineProperty(new Error(N),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}return B.router}M.forEach(N=>{Object.defineProperty(B,N,{get(){return L()[N]}})}),W.forEach(N=>{B[N]=function(){for(var $=arguments.length,ae=new Array($),ne=0;ne<$;ne++)ae[ne]=arguments[ne];return L()[N](...ae)}}),k.forEach(N=>{B.ready(()=>{E.default.events.on(N,function(){for(var $=arguments.length,ae=new Array($),ne=0;ne<$;ne++)ae[ne]=arguments[ne];const P="on"+N.charAt(0).toUpperCase()+N.substring(1),V=B;if(V[P])try{V[P](...ae)}catch(X){p.error("Error when running the Router event: "+P),p.error((0,g.default)(X)?X.message+`
|
|
123
|
+
`+X.stack:X+"")}})})});const G=B;function U(){const N=h.default.useContext(f.RouterContext);if(!N)throw Object.defineProperty(new Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return N}function S(){for(var N=arguments.length,$=new Array(N),ae=0;ae<N;ae++)$[ae]=arguments[ae];return B.router=new E.default(...$),B.readyCallbacks.forEach(ne=>ne()),B.readyCallbacks=[],B.router}function Y(N){const $=N,ae={};for(const ne of M){if(typeof $[ne]=="object"){ae[ne]=Object.assign(Array.isArray($[ne])?[]:{},$[ne]);continue}ae[ne]=$[ne]}return ae.events=E.default.events,W.forEach(ne=>{ae[ne]=function(){for(var P=arguments.length,V=new Array(P),X=0;X<P;X++)V[X]=arguments[X];return $[ne](...V)}}),ae}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/script.js":((ee,i,u)=>{"use client";"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(ae,ne){for(var P in ne)Object.defineProperty(ae,P,{enumerable:!0,get:ne[P]})}p(i,{default:function(){return $},handleClientScriptLoad:function(){return G},initScriptLoader:function(){return Y}});const w=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs"),v=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/jsx-runtime.js"),E=w._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react-dom/index.js")),f=v._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js")),g=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js"),l=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/set-attributes-from-props.js"),B=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/request-idle-callback.js"),M=new Map,k=new Set,W=ae=>{if(E.default.preinit){ae.forEach(ne=>{E.default.preinit(ne,{as:"style"})});return}if(typeof window<"u"){let ne=document.head;ae.forEach(P=>{let V=document.createElement("link");V.type="text/css",V.rel="stylesheet",V.href=P,ne.appendChild(V)})}},L=ae=>{const{src:ne,id:P,onLoad:V=()=>{},onReady:X=null,dangerouslySetInnerHTML:me,children:we="",strategy:Re="afterInteractive",onError:Ae,stylesheets:te}=ae,Se=P||ne;if(Se&&k.has(Se))return;if(M.has(ne)){k.add(Se),M.get(ne).then(V,Ae);return}const Te=()=>{X&&X(),k.add(Se)},Ue=document.createElement("script"),ft=new Promise((ut,Ft)=>{Ue.addEventListener("load",function(kt){ut(),V&&V.call(this,kt),Te()}),Ue.addEventListener("error",function(kt){Ft(kt)})}).catch(function(ut){Ae&&Ae(ut)});me?(Ue.innerHTML=me.__html||"",Te()):we?(Ue.textContent=typeof we=="string"?we:Array.isArray(we)?we.join(""):"",Te()):ne&&(Ue.src=ne,M.set(ne,ft)),(0,l.setAttributesFromProps)(Ue,ae),Re==="worker"&&Ue.setAttribute("type","text/partytown"),Ue.setAttribute("data-nscript",Re),te&&W(te),document.body.appendChild(Ue)};function G(ae){const{strategy:ne="afterInteractive"}=ae;ne==="lazyOnload"?window.addEventListener("load",()=>{(0,B.requestIdleCallback)(()=>L(ae))}):L(ae)}function U(ae){document.readyState==="complete"?(0,B.requestIdleCallback)(()=>L(ae)):window.addEventListener("load",()=>{(0,B.requestIdleCallback)(()=>L(ae))})}function S(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(ne=>{const P=ne.id||ne.getAttribute("src");k.add(P)})}function Y(ae){ae.forEach(G),S()}function N(ae){const{id:ne,src:P="",onLoad:V=()=>{},onReady:X=null,strategy:me="afterInteractive",onError:we,stylesheets:Re,...Ae}=ae;let{updateScripts:te,scripts:Se,getIsSsr:Te,appDir:Ue,nonce:ft}=(0,f.useContext)(g.HeadManagerContext);ft=Ae.nonce||ft;const ut=(0,f.useRef)(!1);(0,f.useEffect)(()=>{const kt=ne||P;ut.current||(X&&kt&&k.has(kt)&&X(),ut.current=!0)},[X,ne,P]);const Ft=(0,f.useRef)(!1);if((0,f.useEffect)(()=>{Ft.current||(me==="afterInteractive"?L(ae):me==="lazyOnload"&&U(ae),Ft.current=!0)},[ae,me]),(me==="beforeInteractive"||me==="worker")&&(te?(Se[me]=(Se[me]||[]).concat([{id:ne,src:P,onLoad:V,onReady:X,onError:we,...Ae,nonce:ft}]),te(Se)):Te&&Te()?k.add(ne||P):Te&&!Te()&&L({...ae,nonce:ft})),Ue){if(Re&&Re.forEach(kt=>{E.default.preinit(kt,{as:"style"})}),me==="beforeInteractive")return P?(E.default.preload(P,Ae.integrity?{as:"script",integrity:Ae.integrity,nonce:ft,crossOrigin:Ae.crossOrigin}:{as:"script",nonce:ft,crossOrigin:Ae.crossOrigin}),(0,h.jsx)("script",{nonce:ft,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([P,{...Ae,id:ne}])+")"}})):(Ae.dangerouslySetInnerHTML&&(Ae.children=Ae.dangerouslySetInnerHTML.__html,delete Ae.dangerouslySetInnerHTML),(0,h.jsx)("script",{nonce:ft,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...Ae,id:ne}])+")"}}));me==="afterInteractive"&&P&&E.default.preload(P,Ae.integrity?{as:"script",integrity:Ae.integrity,nonce:ft,crossOrigin:Ae.crossOrigin}:{as:"script",nonce:ft,crossOrigin:Ae.crossOrigin})}return null}Object.defineProperty(N,"__nextScript",{value:!0});const $=N;(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/set-attributes-from-props.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"setAttributesFromProps",{enumerable:!0,get:function(){return v}});const u={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},p=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function w(h){return["async","defer","noModule"].includes(h)}function v(h,E){for(const[f,g]of Object.entries(E)){if(!E.hasOwnProperty(f)||p.includes(f)||g===void 0)continue;const l=u[f]||f.toLowerCase();h.tagName==="SCRIPT"&&w(l)?h[l]=!!g:h.setAttribute(l,String(g)),(g===!1||h.tagName==="SCRIPT"&&w(l)&&(!g||g==="false"))&&(h.setAttribute(l,""),h.removeAttribute(l))}}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/trusted-types.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return w}});let u;function p(){if(typeof u>"u"&&typeof window<"u"){var v;u=((v=window.trustedTypes)==null?void 0:v.createPolicy("nextjs",{createHTML:h=>h,createScript:h=>h,createScriptURL:h=>h}))||null}return u}function w(v){var h;return((h=p())==null?void 0:h.createScriptURL(v))||v}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/with-router.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return E}});const p=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/jsx-runtime.js"),v=p._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js")),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/router.js");function E(f){function g(l){return(0,w.jsx)(f,{router:(0,h.useRouter)(),...l})}return g.getInitialProps=f.getInitialProps,g.origGetInitialProps=f.origGetInitialProps,g}(typeof i.default=="function"||typeof i.default=="object"&&i.default!==null)&&typeof i.default.__esModule>"u"&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),ee.exports=i.default)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/cookie/index.js":(ee=>{var i="/";(()=>{"use strict";typeof __nccwpck_require__<"u"&&(__nccwpck_require__.ab=i+"/");var u={};(()=>{var p=u;/*!
|
|
124
|
+
* cookie
|
|
125
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
126
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
127
|
+
* MIT Licensed
|
|
128
|
+
*/p.parse=f,p.serialize=g;var w=decodeURIComponent,v=encodeURIComponent,h=/; */,E=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function f(B,M){if(typeof B!="string")throw new TypeError("argument str must be a string");for(var k={},W=M||{},L=B.split(h),G=W.decode||w,U=0;U<L.length;U++){var S=L[U],Y=S.indexOf("=");if(!(Y<0)){var N=S.substr(0,Y).trim(),$=S.substr(++Y,S.length).trim();$[0]=='"'&&($=$.slice(1,-1)),k[N]==null&&(k[N]=l($,G))}}return k}function g(B,M,k){var W=k||{},L=W.encode||v;if(typeof L!="function")throw new TypeError("option encode is invalid");if(!E.test(B))throw new TypeError("argument name is invalid");var G=L(M);if(G&&!E.test(G))throw new TypeError("argument val is invalid");var U=B+"="+G;if(W.maxAge!=null){var S=W.maxAge-0;if(isNaN(S)||!isFinite(S))throw new TypeError("option maxAge is invalid");U+="; Max-Age="+Math.floor(S)}if(W.domain){if(!E.test(W.domain))throw new TypeError("option domain is invalid");U+="; Domain="+W.domain}if(W.path){if(!E.test(W.path))throw new TypeError("option path is invalid");U+="; Path="+W.path}if(W.expires){if(typeof W.expires.toUTCString!="function")throw new TypeError("option expires is invalid");U+="; Expires="+W.expires.toUTCString()}if(W.httpOnly&&(U+="; HttpOnly"),W.secure&&(U+="; Secure"),W.sameSite){var Y=typeof W.sameSite=="string"?W.sameSite.toLowerCase():W.sameSite;switch(Y){case!0:U+="; SameSite=Strict";break;case"lax":U+="; SameSite=Lax";break;case"strict":U+="; SameSite=Strict";break;case"none":U+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return U}function l(B,M){try{return M(B)}catch{return B}}})(),ee.exports=u})()}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/gzip-size/index.js":((ee,i,u)=>{var p="/";(()=>{var w={154:(f,g,l)=>{var B=l(781),M=["write","end","destroy"],k=["resume","pause"],W=["data","close"],L=Array.prototype.slice;f.exports=U;function G(S,Y){if(S.forEach)return S.forEach(Y);for(var N=0;N<S.length;N++)Y(S[N],N)}function U(S,Y){var N=new B,$=!1;return G(M,ae),G(k,ne),G(W,P),Y.on("end",V),S.on("drain",(function(){N.emit("drain")})),S.on("error",X),Y.on("error",X),N.writable=S.writable,N.readable=Y.readable,N;function ae(me){N[me]=we;function we(){return S[me].apply(S,arguments)}}function ne(me){N[me]=we;function we(){N.emit(me);var Re=Y[me];if(Re)return Re.apply(Y,arguments);Y.emit(me)}}function P(me){Y.on(me,we);function we(){var Re=L.call(arguments);Re.unshift(me),N.emit.apply(N,Re)}}function V(){if(!$){$=!0;var me=L.call(arguments);me.unshift("end"),N.emit.apply(N,me)}}function X(me){N.emit("error",me)}}},349:(f,g,l)=>{"use strict";const B=l(147),M=l(781),k=l(796),W=l(154),L=l(530),G=U=>Object.assign({level:9},U);f.exports=(U,S)=>U?L(k.gzip)(U,G(S)).then((Y=>Y.length)).catch((Y=>0)):Promise.resolve(0),f.exports.sync=(U,S)=>k.gzipSync(U,G(S)).length,f.exports.stream=U=>{const S=new M.PassThrough,Y=new M.PassThrough,N=W(S,Y);let $=0;const ae=k.createGzip(G(U)).on("data",(ne=>{$+=ne.length})).on("error",(()=>{N.gzipSize=0})).on("end",(()=>{N.gzipSize=$,N.emit("gzip-size",$),Y.end()}));return S.pipe(ae),S.pipe(Y,{end:!1}),N},f.exports.file=(U,S)=>new Promise(((Y,N)=>{const $=B.createReadStream(U);$.on("error",N);const ae=$.pipe(f.exports.stream(S));ae.on("error",N),ae.on("gzip-size",Y)})),f.exports.fileSync=(U,S)=>f.exports.sync(B.readFileSync(U),S)},530:f=>{"use strict";const g=(l,B)=>function(...M){const k=B.promiseModule;return new k(((W,L)=>{B.multiArgs?M.push(((...G)=>{B.errorFirst?G[0]?L(G):(G.shift(),W(G)):W(G)})):B.errorFirst?M.push(((G,U)=>{G?L(G):W(U)})):M.push(W),l.apply(this,M)}))};f.exports=(l,B)=>{B=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},B);const M=typeof l;if(!(l!==null&&(M==="object"||M==="function")))throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${l===null?"null":M}\``);const k=L=>{const G=U=>typeof U=="string"?L===U:U.test(L);return B.include?B.include.some(G):!B.exclude.some(G)};let W;M==="function"?W=function(...L){return B.excludeMain?l(...L):g(l,B).apply(this,L)}:W=Object.create(Object.getPrototypeOf(l));for(const L in l){const G=l[L];W[L]=typeof G=="function"&&k(L)?g(G,B):G}return W}},147:f=>{"use strict";f.exports=u("?98d2")},781:f=>{"use strict";f.exports=u("../../node_modules/.pnpm/stream-browserify@3.0.0/node_modules/stream-browserify/index.js")},796:f=>{"use strict";f.exports=u("../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/index.js")}},v={};function h(f){var g=v[f];if(g!==void 0)return g.exports;var l=v[f]={exports:{}},B=!0;try{w[f](l,l.exports,h),B=!1}finally{B&&delete v[f]}return l.exports}typeof h<"u"&&(h.ab=p+"/");var E=h(349);ee.exports=E})()}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/path-to-regexp/index.js":(ee=>{var i="/";(()=>{"use strict";typeof __nccwpck_require__<"u"&&(__nccwpck_require__.ab=i+"/");var u={};(()=>{var p=u;Object.defineProperty(p,"__esModule",{value:!0}),p.pathToRegexp=p.tokensToRegexp=p.regexpToFunction=p.match=p.tokensToFunction=p.compile=p.parse=void 0;function w(U){for(var S=[],Y=0;Y<U.length;){var N=U[Y];if(N==="*"||N==="+"||N==="?"){S.push({type:"MODIFIER",index:Y,value:U[Y++]});continue}if(N==="\\"){S.push({type:"ESCAPED_CHAR",index:Y++,value:U[Y++]});continue}if(N==="{"){S.push({type:"OPEN",index:Y,value:U[Y++]});continue}if(N==="}"){S.push({type:"CLOSE",index:Y,value:U[Y++]});continue}if(N===":"){for(var $="",ae=Y+1;ae<U.length;){var ne=U.charCodeAt(ae);if(ne>=48&&ne<=57||ne>=65&&ne<=90||ne>=97&&ne<=122||ne===95){$+=U[ae++];continue}break}if(!$)throw new TypeError("Missing parameter name at ".concat(Y));S.push({type:"NAME",index:Y,value:$}),Y=ae;continue}if(N==="("){var P=1,V="",ae=Y+1;if(U[ae]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(ae));for(;ae<U.length;){if(U[ae]==="\\"){V+=U[ae++]+U[ae++];continue}if(U[ae]===")"){if(P--,P===0){ae++;break}}else if(U[ae]==="("&&(P++,U[ae+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(ae));V+=U[ae++]}if(P)throw new TypeError("Unbalanced pattern at ".concat(Y));if(!V)throw new TypeError("Missing pattern at ".concat(Y));S.push({type:"PATTERN",index:Y,value:V}),Y=ae;continue}S.push({type:"CHAR",index:Y,value:U[Y++]})}return S.push({type:"END",index:Y,value:""}),S}function v(U,S){S===void 0&&(S={});for(var Y=w(U),N=S.prefixes,$=N===void 0?"./":N,ae=S.delimiter,ne=ae===void 0?"/#?":ae,P=[],V=0,X=0,me="",we=function(ge){if(X<Y.length&&Y[X].type===ge)return Y[X++].value},Re=function(ge){var je=we(ge);if(je!==void 0)return je;var nt=Y[X],Rt=nt.type,Bt=nt.index;throw new TypeError("Unexpected ".concat(Rt," at ").concat(Bt,", expected ").concat(ge))},Ae=function(){for(var ge="",je;je=we("CHAR")||we("ESCAPED_CHAR");)ge+=je;return ge},te=function(ge){for(var je=0,nt=ne;je<nt.length;je++){var Rt=nt[je];if(ge.indexOf(Rt)>-1)return!0}return!1},Se=function(ge){var je=P[P.length-1],nt=ge||(je&&typeof je=="string"?je:"");if(je&&!nt)throw new TypeError('Must have text between two parameters, missing text after "'.concat(je.name,'"'));return!nt||te(nt)?"[^".concat(l(ne),"]+?"):"(?:(?!".concat(l(nt),")[^").concat(l(ne),"])+?")};X<Y.length;){var Te=we("CHAR"),Ue=we("NAME"),ft=we("PATTERN");if(Ue||ft){var ut=Te||"";$.indexOf(ut)===-1&&(me+=ut,ut=""),me&&(P.push(me),me=""),P.push({name:Ue||V++,prefix:ut,suffix:"",pattern:ft||Se(ut),modifier:we("MODIFIER")||""});continue}var Ft=Te||we("ESCAPED_CHAR");if(Ft){me+=Ft;continue}me&&(P.push(me),me="");var kt=we("OPEN");if(kt){var ut=Ae(),ht=we("NAME")||"",se=we("PATTERN")||"",He=Ae();Re("CLOSE"),P.push({name:ht||(se?V++:""),pattern:ht&&!se?Se(ut):se,prefix:ut,suffix:He,modifier:we("MODIFIER")||""});continue}Re("END")}return P}p.parse=v;function h(U,S){return E(v(U,S),S)}p.compile=h;function E(U,S){S===void 0&&(S={});var Y=B(S),N=S.encode,$=N===void 0?function(V){return V}:N,ae=S.validate,ne=ae===void 0?!0:ae,P=U.map((function(V){if(typeof V=="object")return new RegExp("^(?:".concat(V.pattern,")$"),Y)}));return function(V){for(var X="",me=0;me<U.length;me++){var we=U[me];if(typeof we=="string"){X+=we;continue}var Re=V?V[we.name]:void 0,Ae=we.modifier==="?"||we.modifier==="*",te=we.modifier==="*"||we.modifier==="+";if(Array.isArray(Re)){if(!te)throw new TypeError('Expected "'.concat(we.name,'" to not repeat, but got an array'));if(Re.length===0){if(Ae)continue;throw new TypeError('Expected "'.concat(we.name,'" to not be empty'))}for(var Se=0;Se<Re.length;Se++){var Te=$(Re[Se],we);if(ne&&!P[me].test(Te))throw new TypeError('Expected all "'.concat(we.name,'" to match "').concat(we.pattern,'", but got "').concat(Te,'"'));X+=we.prefix+Te+we.suffix}continue}if(typeof Re=="string"||typeof Re=="number"){var Te=$(String(Re),we);if(ne&&!P[me].test(Te))throw new TypeError('Expected "'.concat(we.name,'" to match "').concat(we.pattern,'", but got "').concat(Te,'"'));X+=we.prefix+Te+we.suffix;continue}if(!Ae){var Ue=te?"an array":"a string";throw new TypeError('Expected "'.concat(we.name,'" to be ').concat(Ue))}}return X}}p.tokensToFunction=E;function f(U,S){var Y=[],N=G(U,Y,S);return g(N,Y,S)}p.match=f;function g(U,S,Y){Y===void 0&&(Y={});var N=Y.decode,$=N===void 0?function(ae){return ae}:N;return function(ae){var ne=U.exec(ae);if(!ne)return!1;for(var P=ne[0],V=ne.index,X=Object.create(null),me=function(Re){if(ne[Re]===void 0)return"continue";var Ae=S[Re-1];Ae.modifier==="*"||Ae.modifier==="+"?X[Ae.name]=ne[Re].split(Ae.prefix+Ae.suffix).map((function(te){return $(te,Ae)})):X[Ae.name]=$(ne[Re],Ae)},we=1;we<ne.length;we++)me(we);return{path:P,index:V,params:X}}}p.regexpToFunction=g;function l(U){return U.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function B(U){return U&&U.sensitive?"":"i"}function M(U,S){if(!S)return U;for(var Y=/\((?:\?<(.*?)>)?(?!\?)/g,N=0,$=Y.exec(U.source);$;)S.push({name:$[1]||N++,prefix:"",suffix:"",modifier:"",pattern:""}),$=Y.exec(U.source);return U}function k(U,S,Y){var N=U.map((function($){return G($,S,Y).source}));return new RegExp("(?:".concat(N.join("|"),")"),B(Y))}function W(U,S,Y){return L(v(U,Y),S,Y)}function L(U,S,Y){Y===void 0&&(Y={});for(var N=Y.strict,$=N===void 0?!1:N,ae=Y.start,ne=ae===void 0?!0:ae,P=Y.end,V=P===void 0?!0:P,X=Y.encode,me=X===void 0?function(je){return je}:X,we=Y.delimiter,Re=we===void 0?"/#?":we,Ae=Y.endsWith,te=Ae===void 0?"":Ae,Se="[".concat(l(te),"]|$"),Te="[".concat(l(Re),"]"),Ue=ne?"^":"",ft=0,ut=U;ft<ut.length;ft++){var Ft=ut[ft];if(typeof Ft=="string")Ue+=l(me(Ft));else{var kt=l(me(Ft.prefix)),ht=l(me(Ft.suffix));if(Ft.pattern)if(S&&S.push(Ft),kt||ht)if(Ft.modifier==="+"||Ft.modifier==="*"){var se=Ft.modifier==="*"?"?":"";Ue+="(?:".concat(kt,"((?:").concat(Ft.pattern,")(?:").concat(ht).concat(kt,"(?:").concat(Ft.pattern,"))*)").concat(ht,")").concat(se)}else Ue+="(?:".concat(kt,"(").concat(Ft.pattern,")").concat(ht,")").concat(Ft.modifier);else{if(Ft.modifier==="+"||Ft.modifier==="*")throw new TypeError('Can not repeat "'.concat(Ft.name,'" without a prefix and suffix'));Ue+="(".concat(Ft.pattern,")").concat(Ft.modifier)}else Ue+="(?:".concat(kt).concat(ht,")").concat(Ft.modifier)}}if(V)$||(Ue+="".concat(Te,"?")),Ue+=Y.endsWith?"(?=".concat(Se,")"):"$";else{var He=U[U.length-1],ge=typeof He=="string"?Te.indexOf(He[He.length-1])>-1:He===void 0;$||(Ue+="(?:".concat(Te,"(?=").concat(Se,"))?")),ge||(Ue+="(?=".concat(Te,"|").concat(Se,")"))}return new RegExp(Ue,B(Y))}p.tokensToRegexp=L;function G(U,S,Y){return U instanceof RegExp?M(U,S):Array.isArray(U)?k(U,S,Y):W(U,S,Y)}p.pathToRegexp=G})(),ee.exports=u})()}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react-dom/cjs/react-dom.production.js":((ee,i,u)=>{"use strict";/**
|
|
129
|
+
* @license React
|
|
130
|
+
* react-dom.production.js
|
|
131
|
+
*
|
|
132
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
133
|
+
*
|
|
134
|
+
* This source code is licensed under the MIT license found in the
|
|
135
|
+
* LICENSE file in the root directory of this source tree.
|
|
136
|
+
*/var p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js");function w(B){var M="https://react.dev/errors/"+B;if(1<arguments.length){M+="?args[]="+encodeURIComponent(arguments[1]);for(var k=2;k<arguments.length;k++)M+="&args[]="+encodeURIComponent(arguments[k])}return"Minified React error #"+B+"; visit "+M+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v(){}var h={d:{f:v,r:function(){throw Error(w(522))},D:v,C:v,L:v,m:v,X:v,S:v,M:v},p:0,findDOMNode:null},E=Symbol.for("react.portal");function f(B,M,k){var W=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:E,key:W==null?null:""+W,children:B,containerInfo:M,implementation:k}}var g=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(B,M){if(B==="font")return"";if(typeof M=="string")return M==="use-credentials"?M:""}i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h,i.createPortal=function(B,M){var k=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)throw Error(w(299));return f(B,M,null,k)},i.flushSync=function(B){var M=g.T,k=h.p;try{if(g.T=null,h.p=2,B)return B()}finally{g.T=M,h.p=k,h.d.f()}},i.preconnect=function(B,M){typeof B=="string"&&(M?(M=M.crossOrigin,M=typeof M=="string"?M==="use-credentials"?M:"":void 0):M=null,h.d.C(B,M))},i.prefetchDNS=function(B){typeof B=="string"&&h.d.D(B)},i.preinit=function(B,M){if(typeof B=="string"&&M&&typeof M.as=="string"){var k=M.as,W=l(k,M.crossOrigin),L=typeof M.integrity=="string"?M.integrity:void 0,G=typeof M.fetchPriority=="string"?M.fetchPriority:void 0;k==="style"?h.d.S(B,typeof M.precedence=="string"?M.precedence:void 0,{crossOrigin:W,integrity:L,fetchPriority:G}):k==="script"&&h.d.X(B,{crossOrigin:W,integrity:L,fetchPriority:G,nonce:typeof M.nonce=="string"?M.nonce:void 0})}},i.preinitModule=function(B,M){if(typeof B=="string")if(typeof M=="object"&&M!==null){if(M.as==null||M.as==="script"){var k=l(M.as,M.crossOrigin);h.d.M(B,{crossOrigin:k,integrity:typeof M.integrity=="string"?M.integrity:void 0,nonce:typeof M.nonce=="string"?M.nonce:void 0})}}else M==null&&h.d.M(B)},i.preload=function(B,M){if(typeof B=="string"&&typeof M=="object"&&M!==null&&typeof M.as=="string"){var k=M.as,W=l(k,M.crossOrigin);h.d.L(B,k,{crossOrigin:W,integrity:typeof M.integrity=="string"?M.integrity:void 0,nonce:typeof M.nonce=="string"?M.nonce:void 0,type:typeof M.type=="string"?M.type:void 0,fetchPriority:typeof M.fetchPriority=="string"?M.fetchPriority:void 0,referrerPolicy:typeof M.referrerPolicy=="string"?M.referrerPolicy:void 0,imageSrcSet:typeof M.imageSrcSet=="string"?M.imageSrcSet:void 0,imageSizes:typeof M.imageSizes=="string"?M.imageSizes:void 0,media:typeof M.media=="string"?M.media:void 0})}},i.preloadModule=function(B,M){if(typeof B=="string")if(M){var k=l(M.as,M.crossOrigin);h.d.m(B,{as:typeof M.as=="string"&&M.as!=="script"?M.as:void 0,crossOrigin:k,integrity:typeof M.integrity=="string"?M.integrity:void 0})}else h.d.m(B)},i.requestFormReset=function(B){h.d.r(B)},i.unstable_batchedUpdates=function(B,M){return B(M)},i.useFormState=function(B,M,k){return g.H.useFormState(B,M,k)},i.useFormStatus=function(){return g.H.useHostTransitionStatus()},i.version="19.2.0-canary-0bdb9206-20250818"}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react-dom/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");function w(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(w)}catch(v){p.error(v)}}w(),ee.exports=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react-dom/cjs/react-dom.production.js")}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/cjs/react-jsx-runtime.production.js":((ee,i)=>{"use strict";/**
|
|
137
|
+
* @license React
|
|
138
|
+
* react-jsx-runtime.production.js
|
|
139
|
+
*
|
|
140
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
141
|
+
*
|
|
142
|
+
* This source code is licensed under the MIT license found in the
|
|
143
|
+
* LICENSE file in the root directory of this source tree.
|
|
144
|
+
*/var u=Symbol.for("react.transitional.element"),p=Symbol.for("react.fragment");function w(v,h,E){var f=null;if(E!==void 0&&(f=""+E),h.key!==void 0&&(f=""+h.key),"key"in h){E={};for(var g in h)g!=="key"&&(E[g]=h[g])}else E=h;return h=E.ref,{$$typeof:u,type:v,key:f,ref:h!==void 0?h:null,props:E}}i.Fragment=p,i.jsx=w,i.jsxs=w}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/cjs/react.production.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),w=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");/**
|
|
145
|
+
* @license React
|
|
146
|
+
* react.production.js
|
|
147
|
+
*
|
|
148
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
149
|
+
*
|
|
150
|
+
* This source code is licensed under the MIT license found in the
|
|
151
|
+
* LICENSE file in the root directory of this source tree.
|
|
152
|
+
*/var v=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),B=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),W=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),G=Symbol.iterator;function U(se){return se===null||typeof se!="object"?null:(se=G&&se[G]||se["@@iterator"],typeof se=="function"?se:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,N={};function $(se,He,ge){this.props=se,this.context=He,this.refs=N,this.updater=ge||S}$.prototype.isReactComponent={},$.prototype.setState=function(se,He){if(typeof se!="object"&&typeof se!="function"&&se!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,se,He,"setState")},$.prototype.forceUpdate=function(se){this.updater.enqueueForceUpdate(this,se,"forceUpdate")};function ae(){}ae.prototype=$.prototype;function ne(se,He,ge){this.props=se,this.context=He,this.refs=N,this.updater=ge||S}var P=ne.prototype=new ae;P.constructor=ne,Y(P,$.prototype),P.isPureReactComponent=!0;var V=Array.isArray;function X(){}var me={H:null,A:null,T:null,S:null},we=Object.prototype.hasOwnProperty;function Re(se,He,ge){var je=ge.ref;return{$$typeof:v,type:se,key:He,ref:je!==void 0?je:null,props:ge}}function Ae(se,He){return Re(se.type,He,se.props)}function te(se){return typeof se=="object"&&se!==null&&se.$$typeof===v}function Se(se){var He={"=":"=0",":":"=2"};return"$"+se.replace(/[=:]/g,function(ge){return He[ge]})}var Te=/\/+/g;function Ue(se,He){return typeof se=="object"&&se!==null&&se.key!=null?Se(""+se.key):He.toString(36)}function ft(se){switch(se.status){case"fulfilled":return se.value;case"rejected":throw se.reason;default:switch(typeof se.status=="string"?se.then(X,X):(se.status="pending",se.then(function(He){se.status==="pending"&&(se.status="fulfilled",se.value=He)},function(He){se.status==="pending"&&(se.status="rejected",se.reason=He)})),se.status){case"fulfilled":return se.value;case"rejected":throw se.reason}}throw se}function ut(se,He,ge,je,nt){var Rt=typeof se;(Rt==="undefined"||Rt==="boolean")&&(se=null);var Bt=!1;if(se===null)Bt=!0;else switch(Rt){case"bigint":case"string":case"number":Bt=!0;break;case"object":switch(se.$$typeof){case v:case h:Bt=!0;break;case L:return Bt=se._init,ut(Bt(se._payload),He,ge,je,nt)}}if(Bt)return nt=nt(se),Bt=je===""?"."+Ue(se,0):je,V(nt)?(ge="",Bt!=null&&(ge=Bt.replace(Te,"$&/")+"/"),ut(nt,He,ge,"",function(rt){return rt})):nt!=null&&(te(nt)&&(nt=Ae(nt,ge+(nt.key==null||se&&se.key===nt.key?"":(""+nt.key).replace(Te,"$&/")+"/")+Bt)),He.push(nt)),1;Bt=0;var Me=je===""?".":je+":";if(V(se))for(var xe=0;xe<se.length;xe++)je=se[xe],Rt=Me+Ue(je,xe),Bt+=ut(je,He,ge,Rt,nt);else if(xe=U(se),typeof xe=="function")for(se=xe.call(se),xe=0;!(je=se.next()).done;)je=je.value,Rt=Me+Ue(je,xe++),Bt+=ut(je,He,ge,Rt,nt);else if(Rt==="object"){if(typeof se.then=="function")return ut(ft(se),He,ge,je,nt);throw He=String(se),Error("Objects are not valid as a React child (found: "+(He==="[object Object]"?"object with keys {"+Object.keys(se).join(", ")+"}":He)+"). If you meant to render a collection of children, use an array instead.")}return Bt}function Ft(se,He,ge){if(se==null)return se;var je=[],nt=0;return ut(se,je,"","",function(Rt){return He.call(ge,Rt,nt++)}),je}function kt(se){if(se._status===-1){var He=se._result;He=He(),He.then(function(ge){(se._status===0||se._status===-1)&&(se._status=1,se._result=ge)},function(ge){(se._status===0||se._status===-1)&&(se._status=2,se._result=ge)}),se._status===-1&&(se._status=0,se._result=He)}if(se._status===1)return se._result.default;throw se._result}var ht=typeof reportError=="function"?reportError:function(se){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var He=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof se=="object"&&se!==null&&typeof se.message=="string"?String(se.message):String(se),error:se});if(!window.dispatchEvent(He))return}else if(typeof p=="object"&&typeof p.emit=="function"){p.emit("uncaughtException",se);return}w.error(se)};i.Children={map:Ft,forEach:function(se,He,ge){Ft(se,function(){He.apply(this,arguments)},ge)},count:function(se){var He=0;return Ft(se,function(){He++}),He},toArray:function(se){return Ft(se,function(He){return He})||[]},only:function(se){if(!te(se))throw Error("React.Children.only expected to receive a single React element child.");return se}},i.Component=$,i.Fragment=E,i.Profiler=g,i.PureComponent=ne,i.StrictMode=f,i.Suspense=k,i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=me,i.__COMPILER_RUNTIME={__proto__:null,c:function(se){return me.H.useMemoCache(se)}},i.cache=function(se){return function(){return se.apply(null,arguments)}},i.cacheSignal=function(){return null},i.cloneElement=function(se,He,ge){if(se==null)throw Error("The argument must be a React element, but you passed "+se+".");var je=Y({},se.props),nt=se.key;if(He!=null)for(Rt in He.key!==void 0&&(nt=""+He.key),He)!we.call(He,Rt)||Rt==="key"||Rt==="__self"||Rt==="__source"||Rt==="ref"&&He.ref===void 0||(je[Rt]=He[Rt]);var Rt=arguments.length-2;if(Rt===1)je.children=ge;else if(1<Rt){for(var Bt=Array(Rt),Me=0;Me<Rt;Me++)Bt[Me]=arguments[Me+2];je.children=Bt}return Re(se.type,nt,je)},i.createContext=function(se){return se={$$typeof:B,_currentValue:se,_currentValue2:se,_threadCount:0,Provider:null,Consumer:null},se.Provider=se,se.Consumer={$$typeof:l,_context:se},se},i.createElement=function(se,He,ge){var je,nt={},Rt=null;if(He!=null)for(je in He.key!==void 0&&(Rt=""+He.key),He)we.call(He,je)&&je!=="key"&&je!=="__self"&&je!=="__source"&&(nt[je]=He[je]);var Bt=arguments.length-2;if(Bt===1)nt.children=ge;else if(1<Bt){for(var Me=Array(Bt),xe=0;xe<Bt;xe++)Me[xe]=arguments[xe+2];nt.children=Me}if(se&&se.defaultProps)for(je in Bt=se.defaultProps,Bt)nt[je]===void 0&&(nt[je]=Bt[je]);return Re(se,Rt,nt)},i.createRef=function(){return{current:null}},i.forwardRef=function(se){return{$$typeof:M,render:se}},i.isValidElement=te,i.lazy=function(se){return{$$typeof:L,_payload:{_status:-1,_result:se},_init:kt}},i.memo=function(se,He){return{$$typeof:W,type:se,compare:He===void 0?null:He}},i.startTransition=function(se){var He=me.T,ge={};me.T=ge;try{var je=se(),nt=me.S;nt!==null&&nt(ge,je),typeof je=="object"&&je!==null&&typeof je.then=="function"&&je.then(X,ht)}catch(Rt){ht(Rt)}finally{He!==null&&ge.types!==null&&(He.types=ge.types),me.T=He}},i.unstable_useCacheRefresh=function(){return me.H.useCacheRefresh()},i.use=function(se){return me.H.use(se)},i.useActionState=function(se,He,ge){return me.H.useActionState(se,He,ge)},i.useCallback=function(se,He){return me.H.useCallback(se,He)},i.useContext=function(se){return me.H.useContext(se)},i.useDebugValue=function(){},i.useDeferredValue=function(se,He){return me.H.useDeferredValue(se,He)},i.useEffect=function(se,He){return me.H.useEffect(se,He)},i.useId=function(){return me.H.useId()},i.useImperativeHandle=function(se,He,ge){return me.H.useImperativeHandle(se,He,ge)},i.useInsertionEffect=function(se,He){return me.H.useInsertionEffect(se,He)},i.useLayoutEffect=function(se,He){return me.H.useLayoutEffect(se,He)},i.useMemo=function(se,He){return me.H.useMemo(se,He)},i.useOptimistic=function(se,He){return me.H.useOptimistic(se,He)},i.useReducer=function(se,He,ge){return me.H.useReducer(se,He,ge)},i.useRef=function(se){return me.H.useRef(se)},i.useState=function(se){return me.H.useState(se)},i.useSyncExternalStore=function(se,He,ge){return me.H.useSyncExternalStore(se,He,ge)},i.useTransition=function(){return me.H.useTransition()},i.version="19.2.0-canary-0bdb9206-20250818"}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js":((ee,i,u)=>{"use strict";ee.exports=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/cjs/react.production.js")}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/jsx-runtime.js":((ee,i,u)=>{"use strict";ee.exports=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/cjs/react-jsx-runtime.production.js")}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/constants.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(Ne,tt){for(var It in tt)Object.defineProperty(Ne,It,{enumerable:!0,get:tt[It]})}u(i,{ACTION_SUFFIX:function(){return L},APP_DIR_ALIAS:function(){return ft},CACHE_ONE_YEAR:function(){return me},DOT_NEXT_ALIAS:function(){return Te},ESLINT_DEFAULT_DIRS:function(){return F},GSP_NO_RETURNED_VALUE:function(){return rt},GSSP_COMPONENT_MEMBER_ERROR:function(){return fe},GSSP_NO_RETURNED_VALUE:function(){return _t},HTML_CONTENT_TYPE_HEADER:function(){return w},INFINITE_CACHE:function(){return we},INSTRUMENTATION_HOOK_FILENAME:function(){return te},JSON_CONTENT_TYPE_HEADER:function(){return v},MATCHED_PATH_HEADER:function(){return f},MIDDLEWARE_FILENAME:function(){return Re},MIDDLEWARE_LOCATION_REGEXP:function(){return Ae},NEXT_BODY_SUFFIX:function(){return S},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return X},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return N},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return $},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return V},NEXT_CACHE_TAGS_HEADER:function(){return Y},NEXT_CACHE_TAG_MAX_ITEMS:function(){return ne},NEXT_CACHE_TAG_MAX_LENGTH:function(){return P},NEXT_DATA_SUFFIX:function(){return G},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return E},NEXT_META_SUFFIX:function(){return U},NEXT_QUERY_PARAM_PREFIX:function(){return h},NEXT_RESUME_HEADER:function(){return ae},NON_STANDARD_NODE_ENV:function(){return pe},PAGES_DIR_ALIAS:function(){return Se},PRERENDER_REVALIDATE_HEADER:function(){return g},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return l},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return je},ROOT_DIR_ALIAS:function(){return Ue},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return ge},RSC_ACTION_ENCRYPTION_ALIAS:function(){return He},RSC_ACTION_PROXY_ALIAS:function(){return kt},RSC_ACTION_VALIDATE_ALIAS:function(){return Ft},RSC_CACHE_WRAPPER_ALIAS:function(){return ht},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return se},RSC_MOD_REF_PROXY_ALIAS:function(){return ut},RSC_PREFETCH_SUFFIX:function(){return B},RSC_SEGMENTS_DIR_SUFFIX:function(){return M},RSC_SEGMENT_SUFFIX:function(){return k},RSC_SUFFIX:function(){return W},SERVER_PROPS_EXPORT_ERROR:function(){return xe},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return Rt},SERVER_PROPS_SSG_CONFLICT:function(){return Bt},SERVER_RUNTIME:function(){return c},SSG_FALLBACK_EXPORT_ERROR:function(){return yt},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return nt},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return Me},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return p},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return Pt},WEBPACK_LAYERS:function(){return R},WEBPACK_RESOURCE_QUERIES:function(){return oe}});const p="text/plain",w="text/html; charset=utf-8",v="application/json; charset=utf-8",h="nxtP",E="nxtI",f="x-matched-path",g="x-prerender-revalidate",l="x-prerender-revalidate-if-generated",B=".prefetch.rsc",M=".segments",k=".segment.rsc",W=".rsc",L=".action",G=".json",U=".meta",S=".body",Y="x-next-cache-tags",N="x-next-revalidated-tags",$="x-next-revalidate-tag-token",ae="next-resume",ne=128,P=256,V=1024,X="_N_T_",me=31536e3,we=4294967294,Re="middleware",Ae=`(?:src/)?${Re}`,te="instrumentation",Se="private-next-pages",Te="private-dot-next",Ue="private-next-root-dir",ft="private-next-app-dir",ut="private-next-rsc-mod-ref-proxy",Ft="private-next-rsc-action-validate",kt="private-next-rsc-server-reference",ht="private-next-rsc-cache-wrapper",se="private-next-rsc-track-dynamic-import",He="private-next-rsc-action-encryption",ge="private-next-rsc-action-client-wrapper",je="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",nt="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",Rt="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",Bt="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",Me="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",xe="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",rt="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",_t="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",Pt="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",fe="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",pe='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',yt="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",F=["app","pages","components","lib","src"],c={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},s={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},R={...s,GROUP:{builtinReact:[s.reactServerComponents,s.actionBrowser],serverOnly:[s.reactServerComponents,s.actionBrowser,s.instrument,s.middleware],neutralTarget:[s.apiNode,s.apiEdge],clientOnly:[s.serverSideRendering,s.appPagesBrowser],bundled:[s.reactServerComponents,s.actionBrowser,s.serverSideRendering,s.appPagesBrowser,s.shared,s.instrument,s.middleware],appPages:[s.reactServerComponents,s.serverSideRendering,s.appPagesBrowser,s.actionBrowser]}},oe={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/framework/boundary-constants.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(E,f){for(var g in f)Object.defineProperty(E,g,{enumerable:!0,get:f[g]})}u(i,{METADATA_BOUNDARY_NAME:function(){return p},OUTLET_BOUNDARY_NAME:function(){return v},ROOT_LAYOUT_BOUNDARY_NAME:function(){return h},VIEWPORT_BOUNDARY_NAME:function(){return w}});const p="__next_metadata_boundary__",w="__next_viewport_boundary__",v="__next_outlet_boundary__",h="__next_root_layout_boundary__"}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/is-api-route.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isAPIRoute",{enumerable:!0,get:function(){return u}});function u(p){return p==="/api"||!!p?.startsWith("/api/")}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/is-error.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(f,g){for(var l in g)Object.defineProperty(f,l,{enumerable:!0,get:g[l]})}p(i,{default:function(){return v},getProperError:function(){return E}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/is-plain-object.js");function v(f){return typeof f=="object"&&f!==null&&"name"in f&&"message"in f}function h(f){const g=new WeakSet;return JSON.stringify(f,(l,B)=>{if(typeof B=="object"&&B!==null){if(g.has(B))return"[Circular]";g.add(B)}return B})}function E(f){return v(f)?f:Object.defineProperty(new Error((0,w.isPlainObject)(f)?h(f):f+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/route-pattern-normalizer.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(f,g){for(var l in g)Object.defineProperty(f,l,{enumerable:!0,get:g[l]})}u(i,{hasAdjacentParameterIssues:function(){return w},normalizeAdjacentParameters:function(){return v},normalizeTokensForRegexp:function(){return h},stripParameterSeparators:function(){return E}});const p="_NEXTSEP_";function w(f){return typeof f!="string"?!1:!!(/\/\(\.{1,3}\):[^/\s]+/.test(f)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(f))}function v(f){let g=f;return g=g.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${p}:$2`),g=g.replace(/:([^:/\s)]+)(?=:)/g,`:$1${p}`),g}function h(f){return f.map(g=>typeof g=="object"&&g!==null&&"modifier"in g&&(g.modifier==="*"||g.modifier==="+")&&"prefix"in g&&"suffix"in g&&g.prefix===""&&g.suffix===""?{...g,prefix:"/"}:g)}function E(f){const g={};for(const[l,B]of Object.entries(f))typeof B=="string"?g[l]=B.replace(new RegExp(`^${p}`),""):Array.isArray(B)?g[l]=B.map(M=>typeof M=="string"?M.replace(new RegExp(`^${p}`),""):M):g[l]=B;return g}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/scheduler.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");Object.defineProperty(i,"__esModule",{value:!0});function w(g,l){for(var B in l)Object.defineProperty(g,B,{enumerable:!0,get:l[B]})}w(i,{atLeastOneTask:function(){return E},scheduleImmediate:function(){return h},scheduleOnNextTick:function(){return v},waitAtLeastOneReactRenderTask:function(){return f}});const v=g=>{Promise.resolve().then(()=>{({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}).NEXT_RUNTIME==="edge"?setTimeout(g,0):p.nextTick(g)})},h=g=>{({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}).NEXT_RUNTIME==="edge"?setTimeout(g,0):setImmediate(g)};function E(){return new Promise(g=>h(g))}function f(){return{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.NEXT_RUNTIME==="edge"?new Promise(g=>setTimeout(g,0)):new Promise(g=>setImmediate(g))}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/api-utils/get-cookie-parser.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getCookieParser",{enumerable:!0,get:function(){return p}});function p(w){return function(){const{cookie:h}=w;if(!h)return{};const{parse:E}=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/cookie/index.js");return E(Array.isArray(h)?h.join("; "):h)}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/action-async-storage-instance.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"actionAsyncStorageInstance",{enumerable:!0,get:function(){return w}});const w=(0,u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/async-local-storage.js").createAsyncLocalStorage)()}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/action-async-storage.external.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"actionAsyncStorage",{enumerable:!0,get:function(){return p.actionAsyncStorageInstance}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/action-async-storage-instance.js")}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/async-local-storage.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(g,l){for(var B in l)Object.defineProperty(g,B,{enumerable:!0,get:l[B]})}u(i,{bindSnapshot:function(){return E},createAsyncLocalStorage:function(){return h},createSnapshot:function(){return f}});const p=Object.defineProperty(new Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class w{disable(){throw p}getStore(){}run(){throw p}exit(){throw p}enterWith(){throw p}static bind(l){return l}}const v=typeof globalThis<"u"&&globalThis.AsyncLocalStorage;function h(){return v?new v:new w}function E(g){return v?v.bind(g):w.bind(g)}function f(){return v?v.snapshot():function(g,...l){return g(...l)}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/dynamic-rendering.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");Object.defineProperty(i,"__esModule",{value:!0});function w(s,R){for(var oe in R)Object.defineProperty(s,oe,{enumerable:!0,get:R[oe]})}w(i,{Postpone:function(){return Re},PreludeState:function(){return pe},abortAndThrowOnSynchronousRequestDataAccess:function(){return X},abortOnSynchronousPlatformIOAccess:function(){return P},accessedDynamicData:function(){return Ft},annotateDynamicAccess:function(){return je},consumeDynamicAccess:function(){return kt},createDynamicTrackingState:function(){return U},createDynamicValidationState:function(){return S},createHangingInputAbortSignal:function(){return ge},createRenderInBrowserAbortSignal:function(){return He},delayUntilRuntimeStage:function(){return c},formatDynamicAPIAccesses:function(){return ht},getFirstDynamicReason:function(){return Y},isDynamicPostpone:function(){return Se},isPrerenderInterruptedError:function(){return ut},logDisallowedDynamicError:function(){return yt},markCurrentScopeAsDynamic:function(){return N},postponeWithTracking:function(){return Ae},throwIfDisallowedDynamic:function(){return F},throwToInterruptStaticGeneration:function(){return $},trackAllowedDynamicAccess:function(){return Pt},trackDynamicDataInDynamicRender:function(){return ae},trackSynchronousPlatformIOAccessInDev:function(){return V},trackSynchronousRequestDataAccessInDev:function(){return we},useDynamicRouteParams:function(){return nt},warnOnSyncDynamicError:function(){return me}});const v=L(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js")),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/hooks-server-context.js"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/static-generation-bailout.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js"),g=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-async-storage.external.js"),l=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/dynamic-rendering-utils.js"),B=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/framework/boundary-constants.js"),M=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/scheduler.js"),k=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js"),W=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/invariant-error.js");function L(s){return s&&s.__esModule?s:{default:s}}const G=typeof v.default.unstable_postpone=="function";function U(s){return{isDebugDynamicAccesses:s,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function S(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function Y(s){var R;return(R=s.dynamicAccesses[0])==null?void 0:R.expression}function N(s,R,oe){if(R)switch(R.type){case"cache":case"unstable-cache":return;case"private-cache":return;case"prerender-legacy":case"prerender-ppr":case"request":break;default:}if(!(s.forceDynamic||s.forceStatic)){if(s.dynamicShouldError)throw Object.defineProperty(new E.StaticGenBailoutError(`Route ${s.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${oe}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(R)switch(R.type){case"prerender-ppr":return Ae(s.route,oe,R.dynamicTracking);case"prerender-legacy":R.revalidate=0;const Ne=Object.defineProperty(new h.DynamicServerError(`Route ${s.route} couldn't be rendered statically because it used ${oe}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw s.dynamicUsageDescription=oe,s.dynamicUsageStack=Ne.stack,Ne;case"request":break;default:}}}function $(s,R,oe){const Ne=Object.defineProperty(new h.DynamicServerError(`Route ${R.route} couldn't be rendered statically because it used \`${s}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw oe.revalidate=0,R.dynamicUsageDescription=s,R.dynamicUsageStack=Ne.stack,Ne}function ae(s){switch(s.type){case"cache":case"unstable-cache":return;case"private-cache":return;case"prerender":case"prerender-runtime":case"prerender-legacy":case"prerender-ppr":case"prerender-client":break;case"request":break;default:}}function ne(s,R,oe){const Ne=`Route ${s} needs to bail out of prerendering at this point because it used ${R}.`,tt=ft(Ne);oe.controller.abort(tt);const It=oe.dynamicTracking;It&&It.dynamicAccesses.push({stack:It.isDebugDynamicAccesses?new Error().stack:void 0,expression:R})}function P(s,R,oe,Ne){const tt=Ne.dynamicTracking;ne(s,R,Ne),tt&&tt.syncDynamicErrorWithStack===null&&(tt.syncDynamicErrorWithStack=oe)}function V(s){s.prerenderPhase=!1}function X(s,R,oe,Ne){if(Ne.controller.signal.aborted===!1){ne(s,R,Ne);const It=Ne.dynamicTracking;It&&It.syncDynamicErrorWithStack===null&&(It.syncDynamicErrorWithStack=oe)}throw ft(`Route ${s} needs to bail out of prerendering at this point because it used ${R}.`)}function me(s){s.syncDynamicErrorWithStack&&p.error(s.syncDynamicErrorWithStack)}const we=V;function Re({reason:s,route:R}){const oe=f.workUnitAsyncStorage.getStore(),Ne=oe&&oe.type==="prerender-ppr"?oe.dynamicTracking:null;Ae(R,s,Ne)}function Ae(s,R,oe){se(),oe&&oe.dynamicAccesses.push({stack:oe.isDebugDynamicAccesses?new Error().stack:void 0,expression:R}),v.default.unstable_postpone(te(s,R))}function te(s,R){return`Route ${s} needs to bail out of prerendering at this point because it used ${R}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function Se(s){return typeof s=="object"&&s!==null&&typeof s.message=="string"?Te(s.message):!1}function Te(s){return s.includes("needs to bail out of prerendering at this point because it used")&&s.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(Te(te("%%%","^^^"))===!1)throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});const Ue="NEXT_PRERENDER_INTERRUPTED";function ft(s){const R=Object.defineProperty(new Error(s),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return R.digest=Ue,R}function ut(s){return typeof s=="object"&&s!==null&&s.digest===Ue&&"name"in s&&"message"in s&&s instanceof Error}function Ft(s){return s.length>0}function kt(s,R){return s.dynamicAccesses.push(...R.dynamicAccesses),s.dynamicAccesses}function ht(s){return s.filter(R=>typeof R.stack=="string"&&R.stack.length>0).map(({expression:R,stack:oe})=>(oe=oe.split(`
|
|
153
|
+
`).slice(4).filter(Ne=>!(Ne.includes("node_modules/next/")||Ne.includes(" (<anonymous>)")||Ne.includes(" (node:"))).join(`
|
|
154
|
+
`),`Dynamic API Usage Debug - ${R}:
|
|
155
|
+
${oe}`))}function se(){if(!G)throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})}function He(){const s=new AbortController;return s.abort(Object.defineProperty(new k.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),s.signal}function ge(s){switch(s.type){case"prerender":case"prerender-runtime":const R=new AbortController;if(s.cacheSignal)s.cacheSignal.inputReady().then(()=>{R.abort()});else{const oe=(0,f.getRuntimeStagePromise)(s);oe?oe.then(()=>(0,M.scheduleOnNextTick)(()=>R.abort())):(0,M.scheduleOnNextTick)(()=>R.abort())}return R.signal;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return;default:}}function je(s,R){const oe=R.dynamicTracking;oe&&oe.dynamicAccesses.push({stack:oe.isDebugDynamicAccesses?new Error().stack:void 0,expression:s})}function nt(s){const R=g.workAsyncStorage.getStore(),oe=f.workUnitAsyncStorage.getStore();if(R&&oe)switch(oe.type){case"prerender-client":case"prerender":{const Ne=oe.fallbackRouteParams;Ne&&Ne.size>0&&v.default.use((0,l.makeHangingPromise)(oe.renderSignal,R.route,s));break}case"prerender-ppr":{const Ne=oe.fallbackRouteParams;if(Ne&&Ne.size>0)return Ae(R.route,s,oe.dynamicTracking);break}case"prerender-runtime":throw Object.defineProperty(new W.InvariantError(`\`${s}\` was called during a runtime prerender. Next.js should be preventing ${s} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new W.InvariantError(`\`${s}\` was called inside a cache scope. Next.js should be preventing ${s} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"prerender-legacy":case"request":case"unstable-cache":break;default:}}const Rt=/\n\s+at Suspense \(<anonymous>\)/,Bt="body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6",Me=new RegExp(`\\n\\s+at Suspense \\(<anonymous>\\)(?:(?!\\n\\s+at (?:${Bt}) \\(<anonymous>\\))[\\s\\S])*?\\n\\s+at ${B.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),xe=new RegExp(`\\n\\s+at ${B.METADATA_BOUNDARY_NAME}[\\n\\s]`),rt=new RegExp(`\\n\\s+at ${B.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),_t=new RegExp(`\\n\\s+at ${B.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function Pt(s,R,oe,Ne){if(!_t.test(R))if(xe.test(R)){oe.hasDynamicMetadata=!0;return}else if(rt.test(R)){oe.hasDynamicViewport=!0;return}else if(Me.test(R)){oe.hasAllowedDynamic=!0,oe.hasSuspenseAboveBody=!0;return}else if(Rt.test(R)){oe.hasAllowedDynamic=!0;return}else if(Ne.syncDynamicErrorWithStack){oe.dynamicErrors.push(Ne.syncDynamicErrorWithStack);return}else{const tt=`Route "${s.route}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,It=fe(tt,R);oe.dynamicErrors.push(It);return}}function fe(s,R){const Ne=Object.defineProperty(new Error(s),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return Ne.stack=Ne.name+": "+s+R,Ne}var pe=(function(s){return s[s.Full=0]="Full",s[s.Empty=1]="Empty",s[s.Errored=2]="Errored",s})({});function yt(s,R){p.error(R),s.dev||(s.hasReadableErrorStacks?p.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \`next dev\`, then open "${s.route}" in your browser to investigate the error.`):p.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:
|
|
156
|
+
- Start the app in development mode by running \`next dev\`, then open "${s.route}" in your browser to investigate the error.
|
|
157
|
+
- Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`))}function F(s,R,oe,Ne){if(R!==0){if(oe.hasSuspenseAboveBody)return;if(Ne.syncDynamicErrorWithStack)throw yt(s,Ne.syncDynamicErrorWithStack),new E.StaticGenBailoutError;const tt=oe.dynamicErrors;if(tt.length>0){for(let It=0;It<tt.length;It++)yt(s,tt[It]);throw new E.StaticGenBailoutError}if(oe.hasDynamicViewport)throw p.error(`Route "${s.route}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),new E.StaticGenBailoutError;if(R===1)throw p.error(`Route "${s.route}" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`),new E.StaticGenBailoutError}else if(oe.hasAllowedDynamic===!1&&oe.hasDynamicMetadata)throw p.error(`Route "${s.route}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),new E.StaticGenBailoutError}function c(s,R){return s.runtimeStagePromise?s.runtimeStagePromise.then(()=>R):R}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-async-storage-instance.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"workAsyncStorageInstance",{enumerable:!0,get:function(){return w}});const w=(0,u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/async-local-storage.js").createAsyncLocalStorage)()}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-async-storage.external.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"workAsyncStorage",{enumerable:!0,get:function(){return p.workAsyncStorageInstance}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-async-storage-instance.js")}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return w}});const w=(0,u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/async-local-storage.js").createAsyncLocalStorage)()}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(U,S){for(var Y in S)Object.defineProperty(U,Y,{enumerable:!0,get:S[Y]})}p(i,{getCacheSignal:function(){return L},getDraftModeProviderForCacheScope:function(){return W},getHmrRefreshHash:function(){return B},getPrerenderResumeDataCache:function(){return g},getRenderResumeDataCache:function(){return l},getRuntimeStagePromise:function(){return G},getServerComponentsHmrCache:function(){return k},isHmrRefresh:function(){return M},throwForMissingRequestStore:function(){return E},throwInvariantForMissingStore:function(){return f},workUnitAsyncStorage:function(){return w.workUnitAsyncStorageInstance}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/app-router-headers.js"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/invariant-error.js");function E(U){throw Object.defineProperty(new Error(`\`${U}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function f(){throw Object.defineProperty(new h.InvariantError("Expected workUnitAsyncStorage to have a store."),"__NEXT_ERROR_CODE",{value:"E696",enumerable:!1,configurable:!0})}function g(U){switch(U.type){case"prerender":case"prerender-runtime":case"prerender-ppr":return U.prerenderResumeDataCache;case"prerender-client":return U.prerenderResumeDataCache;case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return null;default:return U}}function l(U){switch(U.type){case"request":return U.renderResumeDataCache;case"prerender":case"prerender-runtime":case"prerender-client":if(U.renderResumeDataCache)return U.renderResumeDataCache;case"prerender-ppr":return U.prerenderResumeDataCache;case"cache":case"private-cache":case"unstable-cache":case"prerender-legacy":return null;default:return U}}function B(U,S){if(U.dev)switch(S.type){case"cache":case"private-cache":case"prerender":case"prerender-runtime":return S.hmrRefreshHash;case"request":var Y;return(Y=S.cookies.get(v.NEXT_HMR_REFRESH_HASH_COOKIE))==null?void 0:Y.value;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"unstable-cache":break;default:}}function M(U,S){if(U.dev)switch(S.type){case"cache":case"private-cache":case"request":return S.isHmrRefresh??!1;case"prerender":case"prerender-client":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":case"unstable-cache":break;default:}return!1}function k(U,S){if(U.dev)switch(S.type){case"cache":case"private-cache":case"request":return S.serverComponentsHmrCache;case"prerender":case"prerender-client":case"prerender-runtime":case"prerender-ppr":case"prerender-legacy":case"unstable-cache":break;default:}}function W(U,S){if(U.isDraftMode)switch(S.type){case"cache":case"private-cache":case"unstable-cache":case"prerender-runtime":case"request":return S.draftMode;case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":break;default:}}function L(U){switch(U.type){case"prerender":case"prerender-client":case"prerender-runtime":return U.cacheSignal;case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return null;default:return U}}function G(U){switch(U.type){case"prerender-runtime":case"private-cache":return U.runtimeStagePromise;case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"unstable-cache":return null;default:return U}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/dynamic-rendering-utils.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(l,B){for(var M in B)Object.defineProperty(l,M,{enumerable:!0,get:B[M]})}u(i,{isHangingPromiseRejectionError:function(){return p},makeDevtoolsIOAwarePromise:function(){return g},makeHangingPromise:function(){return E}});function p(l){return typeof l!="object"||l===null||!("digest"in l)?!1:l.digest===w}const w="HANGING_PROMISE_REJECTION";class v extends Error{constructor(B,M){super(`During prerendering, ${M} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${M} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${B}".`),this.route=B,this.expression=M,this.digest=w}}const h=new WeakMap;function E(l,B,M){if(l.aborted)return Promise.reject(new v(B,M));{const k=new Promise((W,L)=>{const G=L.bind(null,new v(B,M));let U=h.get(l);if(U)U.push(G);else{const S=[G];h.set(l,S),l.addEventListener("abort",()=>{for(let Y=0;Y<S.length;Y++)S[Y]()},{once:!0})}});return k.catch(f),k}}function f(){}function g(l){return new Promise(B=>{setTimeout(()=>{B(l)},0)})}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/lib/router-utils/is-postpone.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isPostpone",{enumerable:!0,get:function(){return p}});const u=Symbol.for("react.postpone");function p(w){return typeof w=="object"&&w!==null&&w.$$typeof===u}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js":((ee,i,u)=>{"use client";"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(B,M){for(var k in M)Object.defineProperty(B,k,{enumerable:!0,get:M[k]})}p(i,{AppRouterContext:function(){return h},GlobalLayoutRouterContext:function(){return f},LayoutRouterContext:function(){return E},MissingSlotContext:function(){return l},TemplateContext:function(){return g}});const v=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs")._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js")),h=v.default.createContext(null),E=v.default.createContext(null),f=v.default.createContext(null),g=v.default.createContext(null),l=v.default.createContext(new Set)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/bloom-filter.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"BloomFilter",{enumerable:!0,get:function(){return h}});function w(E){let f=0;for(let g=0;g<E.length;g++){const l=E.charCodeAt(g);f=Math.imul(f^l,1540483477),f^=f>>>13,f=Math.imul(f,1540483477)}return f>>>0}const v=1e-4;class h{static from(f,g){g===void 0&&(g=v);const l=new h(f.length,g);for(const B of f)l.add(B);return l}export(){const f={numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray};if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.NEXT_RUNTIME==="nodejs"&&this.errorRate<v){const g=JSON.stringify(f),l=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/gzip-size/index.js").sync(g);l>1024&&p.warn("Creating filter with error rate less than 0.1% (0.001) can increase the size dramatically proceed with caution. Received error rate "+this.errorRate+" resulted in size "+g.length+" bytes, "+l+" bytes (gzip)")}return f}import(f){this.numItems=f.numItems,this.errorRate=f.errorRate,this.numBits=f.numBits,this.numHashes=f.numHashes,this.bitArray=f.bitArray}add(f){this.getHashValues(f).forEach(l=>{this.bitArray[l]=1})}contains(f){return this.getHashValues(f).every(l=>this.bitArray[l])}getHashValues(f){const g=[];for(let l=1;l<=this.numHashes;l++){const B=w(""+f+l)%this.numBits;g.push(B)}return g}constructor(f,g=v){this.numItems=f,this.errorRate=g,this.numBits=Math.ceil(-(f*Math.log(g))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/f*Math.log(2)),this.bitArray=new Array(this.numBits).fill(0)}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/encode-uri-path.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"encodeURIPath",{enumerable:!0,get:function(){return u}});function u(p){return p.split("/").map(w=>encodeURIComponent(w)).join("/")}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/escape-regexp.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"escapeStringRegexp",{enumerable:!0,get:function(){return w}});const u=/[|\\{}()[\]^$+*?.-]/,p=/[|\\{}()[\]^$+*?.-]/g;function w(v){return u.test(v)?v.replace(p,"\\$&"):v}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"HeadManagerContext",{enumerable:!0,get:function(){return v}});const v=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs")._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js")).default.createContext({})}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js":((ee,i,u)=>{"use client";"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(f,g){for(var l in g)Object.defineProperty(f,l,{enumerable:!0,get:g[l]})}p(i,{PathParamsContext:function(){return E},PathnameContext:function(){return h},SearchParamsContext:function(){return v}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js"),v=(0,w.createContext)(null),h=(0,w.createContext)(null),E=(0,w.createContext)(null)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"detectDomainLocale",{enumerable:!0,get:function(){return u}});function u(p,w,v){if(p){v&&(v=v.toLowerCase());for(const f of p){var h,E;const g=(h=f.domain)==null?void 0:h.split(":",1)[0].toLowerCase();if(w===g||v===f.defaultLocale.toLowerCase()||(E=f.locales)!=null&&E.some(l=>l.toLowerCase()===v))return f}}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"normalizeLocalePath",{enumerable:!0,get:function(){return p}});const u=new WeakMap;function p(w,v){if(!v)return{pathname:w};let h=u.get(v);h||(h=v.map(B=>B.toLowerCase()),u.set(v,h));let E;const f=w.split("/",2);if(!f[1])return{pathname:w};const g=f[1].toLowerCase(),l=h.indexOf(g);return l<0?{pathname:w}:(E=v[l],w=w.slice(E.length+1)||"/",{pathname:w,detectedLocale:E})}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/invariant-error.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"InvariantError",{enumerable:!0,get:function(){return u}});class u extends Error{constructor(w,v){super("Invariant: "+(w.endsWith(".")?w:w+".")+" This is a bug in Next.js.",v),this.name="InvariantError"}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/is-plain-object.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(v,h){for(var E in h)Object.defineProperty(v,E,{enumerable:!0,get:h[E]})}u(i,{getObjectClassLabel:function(){return p},isPlainObject:function(){return w}});function p(v){return Object.prototype.toString.call(v)}function w(v){if(p(v)!=="[object Object]")return!1;const h=Object.getPrototypeOf(v);return h===null||h.hasOwnProperty("isPrototypeOf")}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(h,E){for(var f in E)Object.defineProperty(h,f,{enumerable:!0,get:E[f]})}u(i,{BailoutToCSRError:function(){return w},isBailoutToCSRError:function(){return v}});const p="BAILOUT_TO_CLIENT_SIDE_RENDERING";class w extends Error{constructor(E){super("Bail out to client-side rendering: "+E),this.reason=E,this.digest=p}}function v(h){return typeof h!="object"||h===null||!("digest"in h)?!1:h.digest===p}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/mitt.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return u}});function u(){const p=Object.create(null);return{on(w,v){(p[w]||(p[w]=[])).push(v)},off(w,v){p[w]&&p[w].splice(p[w].indexOf(v)>>>0,1)},emit(w){for(var v=arguments.length,h=new Array(v>1?v-1:0),E=1;E<v;E++)h[E-1]=arguments[E];(p[w]||[]).slice().map(f=>{f(...h)})}}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"denormalizePagePath",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/index.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js");function v(h){let E=(0,w.normalizePathSep)(h);return E.startsWith("/index/")&&!(0,p.isDynamicRoute)(E)?E.slice(6):E!=="/index"?E:"/"}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ensureLeadingSlash",{enumerable:!0,get:function(){return u}});function u(p){return p.startsWith("/")?p:"/"+p}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"normalizePathSep",{enumerable:!0,get:function(){return u}});function u(p){return p.replace(/\\/g,"/")}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router-context.shared-runtime.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return v}});const v=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs")._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js")).default.createContext(null)}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/router.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");Object.defineProperty(i,"__esModule",{value:!0});function w(F,c){for(var s in c)Object.defineProperty(F,s,{enumerable:!0,get:c[s]})}w(i,{createKey:function(){return Pt},default:function(){return yt},matchesMiddleware:function(){return se}});const v=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs"),h=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/route-loader.js"),g=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/script.js"),l=h._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/is-error.js")),B=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js"),M=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js"),k=v._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/mitt.js")),W=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/utils.js"),L=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js"),G=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js"),U=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-matcher.js"),S=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-regex.js"),Y=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/format-url.js"),N=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/detect-domain-locale.js"),$=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-path.js"),ae=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/add-locale.js"),ne=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/remove-locale.js"),P=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/remove-base-path.js"),V=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/add-base-path.js"),X=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/has-base-path.js"),me=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/resolve-href.js"),we=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/is-api-route.js"),Re=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js"),Ae=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js"),te=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/compare-states.js"),Se=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/is-local-url.js"),Te=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/is-bot.js"),Ue=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/omit.js"),ft=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js"),ut=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js"),Ft=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/constants.js");let kt;({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}).__NEXT_HAS_REWRITES&&(kt=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.js").default);function ht(){return Object.assign(Object.defineProperty(new Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function se(F){const c=await Promise.resolve(F.router.pageLoader.getMiddleware());if(!c)return!1;const{pathname:s}=(0,$.parsePath)(F.asPath),R=(0,X.hasBasePath)(s)?(0,P.removeBasePath)(s):s,oe=(0,V.addBasePath)((0,ae.addLocale)(R,F.locale));return c.some(Ne=>new RegExp(Ne.regexp).test(oe))}function He(F){const c=(0,W.getLocationOrigin)();return F.startsWith(c)?F.substring(c.length):F}function ge(F,c,s){let[R,oe]=(0,me.resolveHref)(F,c,!0);const Ne=(0,W.getLocationOrigin)(),tt=R.startsWith(Ne),It=oe&&oe.startsWith(Ne);R=He(R),oe=oe&&He(oe);const zt=tt?R:(0,V.addBasePath)(R),De=s?He((0,me.resolveHref)(F,s)):oe||R;return{url:zt,as:It?De:(0,V.addBasePath)(De)}}function je(F,c){const s=(0,E.removeTrailingSlash)((0,B.denormalizePagePath)(F));return s==="/404"||s==="/_error"?F:(c.includes(s)||c.some(R=>{if((0,L.isDynamicRoute)(R)&&(0,S.getRouteRegex)(R).re.test(s))return F=R,!0}),(0,E.removeTrailingSlash)(F))}function nt(F,c,s){const R={basePath:s.router.basePath,i18n:{locales:s.router.locales},trailingSlash:!!{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_TRAILING_SLASH},oe=c.headers.get("x-nextjs-rewrite");let Ne=oe||c.headers.get("x-nextjs-matched-path");const tt=c.headers.get(Ft.MATCHED_PATH_HEADER);if(tt&&!Ne&&!tt.includes("__next_data_catchall")&&!tt.includes("/_error")&&!tt.includes("/404")&&(Ne=tt),Ne){if(Ne.startsWith("/")||{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_EXTERNAL_MIDDLEWARE_REWRITE_RESOLVE){const Qe=(0,G.parseRelativeUrl)(Ne),H=(0,Re.getNextPathnameInfo)(Qe.pathname,{nextConfig:R,parseData:!0});let y=(0,E.removeTrailingSlash)(H.pathname);return Promise.all([s.router.pageLoader.getPageList(),(0,f.getClientBuildManifest)()]).then(A=>{let[ue,{__rewrites:j}]=A,Ee=(0,ae.addLocale)(H.pathname,H.locale);if((0,L.isDynamicRoute)(Ee)||!oe&&ue.includes((0,M.normalizeLocalePath)((0,P.removeBasePath)(Ee),s.router.locales).pathname)){const $e=(0,Re.getNextPathnameInfo)((0,G.parseRelativeUrl)(F).pathname,{nextConfig:{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_HAS_REWRITES?void 0:R,parseData:!0});Ee=(0,V.addBasePath)($e.pathname),Qe.pathname=Ee}if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_HAS_REWRITES){const $e=kt(Ee,ue,j,Qe.query,Ce=>je(Ce,ue),s.router.locales);$e.matchedPage&&(Qe.pathname=$e.parsedAs.pathname,Ee=Qe.pathname,Object.assign(Qe.query,$e.parsedAs.query))}else if(!ue.includes(y)){const $e=je(y,ue);$e!==y&&(y=$e)}const ye=ue.includes(y)?y:je((0,M.normalizeLocalePath)((0,P.removeBasePath)(Qe.pathname),s.router.locales).pathname,ue);if((0,L.isDynamicRoute)(ye)){const $e=(0,U.getRouteMatcher)((0,S.getRouteRegex)(ye))(Ee);Object.assign(Qe.query,$e||{})}return{type:"rewrite",parsedAs:Qe,resolvedHref:ye}})}const zt=(0,$.parsePath)(F),De=(0,Ae.formatNextPathnameInfo)({...(0,Re.getNextPathnameInfo)(zt.pathname,{nextConfig:R,parseData:!0}),defaultLocale:s.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+De+zt.query+zt.hash})}const It=c.headers.get("x-nextjs-redirect");if(It){if(It.startsWith("/")){const zt=(0,$.parsePath)(It),De=(0,Ae.formatNextPathnameInfo)({...(0,Re.getNextPathnameInfo)(zt.pathname,{nextConfig:R,parseData:!0}),defaultLocale:s.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+De+zt.query+zt.hash,newUrl:""+De+zt.query+zt.hash})}return Promise.resolve({type:"redirect-external",destination:It})}return Promise.resolve({type:"next"})}async function Rt(F){if(!await se(F)||!F.fetchData)return null;const s=await F.fetchData(),R=await nt(s.dataHref,s.response,F);return{dataHref:s.dataHref,json:s.json,response:s.response,text:s.text,cacheKey:s.cacheKey,effect:R}}const Bt={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_SCROLL_RESTORATION&&typeof window<"u"&&"scrollRestoration"in window.history&&!!(function(){try{let F="__next";return sessionStorage.setItem(F,F),sessionStorage.removeItem(F),!0}catch{}})(),Me=Symbol("SSG_DATA_NOT_FOUND");function xe(F,c,s){return fetch(F,{credentials:"same-origin",method:s.method||"GET",headers:Object.assign({},s.headers,{"x-nextjs-data":"1"})}).then(R=>!R.ok&&c>1&&R.status>=500?xe(F,c-1,s):R)}function rt(F){try{return JSON.parse(F)}catch{return null}}function _t(F){let{dataHref:c,inflightCache:s,isPrefetch:R,hasMiddleware:oe,isServerRender:Ne,parseJSON:tt,persistCache:It,isBackground:zt,unstable_skipClientCache:De}=F;const{href:Qe}=new URL(c,window.location.href),H=y=>{var A;return xe(c,Ne?3:1,{headers:Object.assign({},R?{purpose:"prefetch"}:{},R&&oe?{"x-middleware-prefetch":"1"}:{},{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.NEXT_DEPLOYMENT_ID?{"x-deployment-id":{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.NEXT_DEPLOYMENT_ID}:{}),method:(A=y?.method)!=null?A:"GET"}).then(ue=>ue.ok&&y?.method==="HEAD"?{dataHref:c,response:ue,text:"",json:{},cacheKey:Qe}:ue.text().then(j=>{if(!ue.ok){if(oe&&[301,302,307,308].includes(ue.status))return{dataHref:c,response:ue,text:j,json:{},cacheKey:Qe};if(ue.status===404){var Ee;if((Ee=rt(j))!=null&&Ee.notFound)return{dataHref:c,json:{notFound:Me},response:ue,text:j,cacheKey:Qe}}const ye=Object.defineProperty(new Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw Ne||(0,f.markAssetError)(ye),ye}return{dataHref:c,json:tt?rt(j):null,response:ue,text:j,cacheKey:Qe}})).then(ue=>((!It||ue.response.headers.get("x-middleware-cache")==="no-cache")&&delete s[Qe],ue)).catch(ue=>{throw De||delete s[Qe],(ue.message==="Failed to fetch"||ue.message==="NetworkError when attempting to fetch resource."||ue.message==="Load failed")&&(0,f.markAssetError)(ue),ue})};return De&&It?H({}).then(y=>(y.response.headers.get("x-middleware-cache")!=="no-cache"&&(s[Qe]=Promise.resolve(y)),y)):s[Qe]!==void 0?s[Qe]:s[Qe]=H(zt?{method:"HEAD"}:{})}function Pt(){return Math.random().toString(36).slice(2,10)}function fe(F){let{url:c,router:s}=F;if(c===(0,V.addBasePath)((0,ae.addLocale)(s.asPath,s.locale)))throw Object.defineProperty(new Error("Invariant: attempted to hard navigate to the same URL "+c+" "+location.href),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=c}const pe=F=>{let{route:c,router:s}=F,R=!1;const oe=s.clc=()=>{R=!0};return()=>{if(R){const tt=Object.defineProperty(new Error('Abort fetching component for route: "'+c+'"'),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw tt.cancelled=!0,tt}oe===s.clc&&(s.clc=null)}};class yt{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(c,s,R){if(R===void 0&&(R={}),{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_SCROLL_RESTORATION&&Bt)try{sessionStorage.setItem("__next_scroll_"+this._key,JSON.stringify({x:self.pageXOffset,y:self.pageYOffset}))}catch{}return{url:c,as:s}=ge(this,c,s),this.change("pushState",c,s,R)}replace(c,s,R){return R===void 0&&(R={}),{url:c,as:s}=ge(this,c,s),this.change("replaceState",c,s,R)}async _bfl(c,s,R,oe){if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_CLIENT_ROUTER_FILTER_ENABLED){if(!this._bfl_s&&!this._bfl_d){const{BloomFilter:H}=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/bloom-filter.js");let y,A;try{({__routerFilterStatic:y,__routerFilterDynamic:A}=await(0,f.getClientBuildManifest)())}catch(Ee){return p.error(Ee),oe?!0:(fe({url:(0,V.addBasePath)((0,ae.addLocale)(c,R||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{}))}const ue={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_CLIENT_ROUTER_S_FILTER;!y&&ue&&(y=ue||void 0);const j={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_CLIENT_ROUTER_D_FILTER;!A&&j&&(A=j||void 0),y?.numHashes&&(this._bfl_s=new H(y.numItems,y.errorRate),this._bfl_s.import(y)),A?.numHashes&&(this._bfl_d=new H(A.numItems,A.errorRate),this._bfl_d.import(A))}let zt=!1,De=!1;const Qe=[{as:c},{as:s}];for(const{as:H,allowMatchCurrent:y}of Qe)if(H){const A=(0,E.removeTrailingSlash)(new URL(H,"http://n").pathname),ue=(0,V.addBasePath)((0,ae.addLocale)(A,R||this.locale));if(y||A!==(0,E.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var Ne,tt;zt=zt||!!((Ne=this._bfl_s)!=null&&Ne.contains(A))||!!((tt=this._bfl_s)!=null&&tt.contains(ue));for(const j of[A,ue]){const Ee=j.split("/");for(let ye=0;!De&&ye<Ee.length+1;ye++){var It;const $e=Ee.slice(0,ye).join("/");if($e&&((It=this._bfl_d)!=null&&It.contains($e))){De=!0;break}}}if(zt||De)return oe?!0:(fe({url:(0,V.addBasePath)((0,ae.addLocale)(c,R||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{}))}}}return!1}async change(c,s,R,oe,Ne){var tt;if(!(0,Se.isLocalURL)(s))return fe({url:s,router:this}),!1;const It=oe._h===1;!It&&!oe.shallow&&await this._bfl(R,void 0,oe.locale);let zt=It||oe._shouldResolveHref||(0,$.parsePath)(s).pathname===(0,$.parsePath)(R).pathname;const De={...this.state},Qe=this.isReady!==!0;this.isReady=!0;const H=this.isSsr;if(It||(this.isSsr=!1),It&&this.clc)return!1;const y=De.locale;if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT){De.locale=oe.locale===!1?this.defaultLocale:oe.locale||De.locale,typeof oe.locale>"u"&&(oe.locale=De.locale);const tr=(0,G.parseRelativeUrl)((0,X.hasBasePath)(R)?(0,P.removeBasePath)(R):R),dn=(0,M.normalizeLocalePath)(tr.pathname,this.locales);dn.detectedLocale&&(De.locale=dn.detectedLocale,tr.pathname=(0,V.addBasePath)(tr.pathname),R=(0,Y.formatWithValidation)(tr),s=(0,V.addBasePath)((0,M.normalizeLocalePath)((0,X.hasBasePath)(s)?(0,P.removeBasePath)(s):s,this.locales).pathname));let un=!1;if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT){var A;(A=this.locales)!=null&&A.includes(De.locale)||(tr.pathname=(0,ae.addLocale)(tr.pathname,De.locale),fe({url:(0,Y.formatWithValidation)(tr),router:this}),un=!0)}const xr=(0,N.detectDomainLocale)(this.domainLocales,void 0,De.locale);if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT&&!un&&xr&&this.isLocaleDomain&&self.location.hostname!==xr.domain){const rn=(0,P.removeBasePath)(R);fe({url:"http"+(xr.http?"":"s")+"://"+xr.domain+(0,V.addBasePath)((De.locale===xr.defaultLocale?"":"/"+De.locale)+(rn==="/"?"":rn)||"/"),router:this}),un=!0}if(un)return new Promise(()=>{})}W.ST&&performance.mark("routeChange");const{shallow:ue=!1,scroll:j=!0}=oe,Ee={shallow:ue};this._inFlightRoute&&this.clc&&(H||yt.events.emit("routeChangeError",ht(),this._inFlightRoute,Ee),this.clc(),this.clc=null),R=(0,V.addBasePath)((0,ae.addLocale)((0,X.hasBasePath)(R)?(0,P.removeBasePath)(R):R,oe.locale,this.defaultLocale));const ye=(0,ne.removeLocale)((0,X.hasBasePath)(R)?(0,P.removeBasePath)(R):R,De.locale);this._inFlightRoute=R;const $e=y!==De.locale;if(!It&&this.onlyAHashChange(ye)&&!$e){De.asPath=ye,yt.events.emit("hashChangeStart",R,Ee),this.changeState(c,s,R,{...oe,scroll:!1}),j&&this.scrollToHash(ye);try{await this.set(De,this.components[De.route],null)}catch(tr){throw(0,l.default)(tr)&&tr.cancelled&&yt.events.emit("routeChangeError",tr,ye,Ee),tr}return yt.events.emit("hashChangeComplete",R,Ee),!0}let Ce=(0,G.parseRelativeUrl)(s),{pathname:Ye,query:J}=Ce,Ct,lr;try{[Ct,{__rewrites:lr}]=await Promise.all([this.pageLoader.getPageList(),(0,f.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch{return fe({url:R,router:this}),!1}!this.urlIsNew(ye)&&!$e&&(c="replaceState");let D=R;Ye=Ye&&(0,E.removeTrailingSlash)((0,P.removeBasePath)(Ye));let at=(0,E.removeTrailingSlash)(Ye);const wt=R.startsWith("/")&&(0,G.parseRelativeUrl)(R).pathname;if((tt=this.components[Ye])!=null&&tt.__appRouter)return fe({url:R,router:this}),new Promise(()=>{});const ce=!!(wt&&at!==wt&&(!(0,L.isDynamicRoute)(at)||!(0,U.getRouteMatcher)((0,S.getRouteRegex)(at))(wt))),ze=!oe.shallow&&await se({asPath:R,locale:De.locale,router:this});if(It&&ze&&(zt=!1),zt&&Ye!=="/_error")if(oe._shouldResolveHref=!0,{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_HAS_REWRITES&&R.startsWith("/")){const tr=kt((0,V.addBasePath)((0,ae.addLocale)(ye,De.locale),!0),Ct,lr,J,dn=>je(dn,Ct),this.locales);if(tr.externalDest)return fe({url:R,router:this}),!0;ze||(D=tr.asPath),tr.matchedPage&&tr.resolvedHref&&(Ye=tr.resolvedHref,Ce.pathname=(0,V.addBasePath)(Ye),ze||(s=(0,Y.formatWithValidation)(Ce)))}else Ce.pathname=je(Ye,Ct),Ce.pathname!==Ye&&(Ye=Ce.pathname,Ce.pathname=(0,V.addBasePath)(Ye),ze||(s=(0,Y.formatWithValidation)(Ce)));if(!(0,Se.isLocalURL)(R))return fe({url:R,router:this}),!1;D=(0,ne.removeLocale)((0,P.removeBasePath)(D),De.locale),at=(0,E.removeTrailingSlash)(Ye);let dt=!1;if((0,L.isDynamicRoute)(at)){const tr=(0,G.parseRelativeUrl)(D),dn=tr.pathname,un=(0,S.getRouteRegex)(at);dt=(0,U.getRouteMatcher)(un)(dn);const xr=at===dn,rn=xr?(0,ft.interpolateAs)(at,dn,J):{};if(!dt||xr&&!rn.result){const $r=Object.keys(un.groups).filter(sn=>!J[sn]&&!un.groups[sn].optional);if($r.length>0&&!ze)throw Object.defineProperty(new Error((xr?"The provided `href` ("+s+") value is missing query values ("+$r.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+dn+") is incompatible with the `href` value ("+at+"). ")+("Read more: https://nextjs.org/docs/messages/"+(xr?"href-interpolation-failed":"incompatible-href-as"))),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}else xr?R=(0,Y.formatWithValidation)(Object.assign({},tr,{pathname:rn.result,query:(0,Ue.omit)(J,rn.params)})):Object.assign(J,dt)}It||yt.events.emit("routeChangeStart",R,Ee);const pr=this.pathname==="/404"||this.pathname==="/_error";try{var er,ur,Tr;let tr=await this.getRouteInfo({route:at,pathname:Ye,query:J,as:R,resolvedAs:D,routeProps:Ee,locale:De.locale,isPreview:De.isPreview,hasMiddleware:ze,unstable_skipClientCache:oe.unstable_skipClientCache,isQueryUpdating:It&&!this.isFallback,isMiddlewareRewrite:ce});if(!It&&!oe.shallow&&await this._bfl(R,"resolvedAs"in tr?tr.resolvedAs:void 0,De.locale),"route"in tr&&ze){Ye=tr.route||at,at=Ye,Ee.shallow||(J=Object.assign({},tr.query||{},J));const qr=(0,X.hasBasePath)(Ce.pathname)?(0,P.removeBasePath)(Ce.pathname):Ce.pathname;if(dt&&Ye!==qr&&Object.keys(dt).forEach(Qr=>{dt&&J[Qr]===dt[Qr]&&delete J[Qr]}),(0,L.isDynamicRoute)(Ye)){let An=!Ee.shallow&&tr.resolvedAs?tr.resolvedAs:(0,V.addBasePath)((0,ae.addLocale)(new URL(R,location.href).pathname,De.locale),!0);if((0,X.hasBasePath)(An)&&(An=(0,P.removeBasePath)(An)),{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT){const Do=(0,M.normalizeLocalePath)(An,this.locales);De.locale=Do.detectedLocale||De.locale,An=Do.pathname}const So=(0,S.getRouteRegex)(Ye),Ho=(0,U.getRouteMatcher)(So)(new URL(An,location.href).pathname);Ho&&Object.assign(J,Ho)}}if("type"in tr)return tr.type==="redirect-internal"?this.change(c,tr.newUrl,tr.newAs,oe):(fe({url:tr.destination,router:this}),new Promise(()=>{}));const dn=tr.Component;if(dn&&dn.unstable_scriptLoader&&[].concat(dn.unstable_scriptLoader()).forEach(Qr=>{(0,g.handleClientScriptLoad)(Qr.props)}),(tr.__N_SSG||tr.__N_SSP)&&tr.props){if(tr.props.pageProps&&tr.props.pageProps.__N_REDIRECT){oe.locale=!1;const qr=tr.props.pageProps.__N_REDIRECT;if(qr.startsWith("/")&&tr.props.pageProps.__N_REDIRECT_BASE_PATH!==!1){const Qr=(0,G.parseRelativeUrl)(qr);Qr.pathname=je(Qr.pathname,Ct);const{url:An,as:So}=ge(this,qr,qr);return this.change(c,An,So,oe)}return fe({url:qr,router:this}),new Promise(()=>{})}if(De.isPreview=!!tr.props.__N_PREVIEW,tr.props.notFound===Me){let qr;try{await this.fetchComponent("/404"),qr="/404"}catch{qr="/_error"}if(tr=await this.getRouteInfo({route:qr,pathname:qr,query:J,as:R,resolvedAs:D,routeProps:{shallow:!1},locale:De.locale,isPreview:De.isPreview,isNotFound:!0}),"type"in tr)throw Object.defineProperty(new Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}It&&this.pathname==="/_error"&&((ur=self.__NEXT_DATA__.props)==null||(er=ur.pageProps)==null?void 0:er.statusCode)===500&&((Tr=tr.props)!=null&&Tr.pageProps)&&(tr.props.pageProps.statusCode=500);var Bn;const un=oe.shallow&&De.route===((Bn=tr.route)!=null?Bn:at);var Ur;const xr=(Ur=oe.scroll)!=null?Ur:!It&&!un,$r=Ne??(xr?{x:0,y:0}:null),sn={...De,route:at,pathname:Ye,query:J,asPath:ye,isFallback:!1};if(It&&pr){var Dr,Jr,tn;if(tr=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:J,as:R,resolvedAs:D,routeProps:{shallow:!1},locale:De.locale,isPreview:De.isPreview,isQueryUpdating:It&&!this.isFallback}),"type"in tr)throw Object.defineProperty(new Error("Unexpected middleware effect on "+this.pathname),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});this.pathname==="/_error"&&((Jr=self.__NEXT_DATA__.props)==null||(Dr=Jr.pageProps)==null?void 0:Dr.statusCode)===500&&((tn=tr.props)!=null&&tn.pageProps)&&(tr.props.pageProps.statusCode=500);try{await this.set(sn,tr,$r)}catch(qr){throw(0,l.default)(qr)&&qr.cancelled&&yt.events.emit("routeChangeError",qr,ye,Ee),qr}return!0}if(yt.events.emit("beforeHistoryChange",R,Ee),this.changeState(c,s,R,oe),!(It&&!$r&&!Qe&&!$e&&(0,te.compareRouterStates)(sn,this.state))){try{await this.set(sn,tr,$r)}catch(Qr){if(Qr.cancelled)tr.error=tr.error||Qr;else throw Qr}if(tr.error)throw It||yt.events.emit("routeChangeError",tr.error,ye,Ee),tr.error;({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}).__NEXT_I18N_SUPPORT&&De.locale&&(document.documentElement.lang=De.locale),It||yt.events.emit("routeChangeComplete",R,Ee),xr&&/#.+$/.test(R)&&this.scrollToHash(R)}return!0}catch(tr){if((0,l.default)(tr)&&tr.cancelled)return!1;throw tr}}changeState(c,s,R,oe){oe===void 0&&(oe={}),(c!=="pushState"||(0,W.getURL)()!==R)&&(this._shallow=oe.shallow,window.history[c]({url:s,as:R,options:oe,__N:!0,key:this._key=c!=="pushState"?this._key:Pt()},"",R))}async handleRouteInfoError(c,s,R,oe,Ne,tt){if(c.cancelled)throw c;if((0,f.isAssetError)(c)||tt)throw yt.events.emit("routeChangeError",c,oe,Ne),fe({url:oe,router:this}),ht();p.error(c);try{let It;const{page:zt,styleSheets:De}=await this.fetchComponent("/_error"),Qe={props:It,Component:zt,styleSheets:De,err:c,error:c};if(!Qe.props)try{Qe.props=await this.getInitialProps(zt,{err:c,pathname:s,query:R})}catch(H){p.error("Error in error page `getInitialProps`: ",H),Qe.props={}}return Qe}catch(It){return this.handleRouteInfoError((0,l.default)(It)?It:Object.defineProperty(new Error(It+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),s,R,oe,Ne,!0)}}async getRouteInfo(c){let{route:s,pathname:R,query:oe,as:Ne,resolvedAs:tt,routeProps:It,locale:zt,hasMiddleware:De,isPreview:Qe,unstable_skipClientCache:H,isQueryUpdating:y,isMiddlewareRewrite:A,isNotFound:ue}=c,j=s;try{var Ee,ye,$e,Ce;let Ye=this.components[j];if(It.shallow&&Ye&&this.route===j)return Ye;const J=pe({route:j,router:this});De&&(Ye=void 0);let Ct=Ye&&!("initial"in Ye)?Ye:void 0;const lr=y,D={dataHref:this.pageLoader.getDataHref({href:(0,Y.formatWithValidation)({pathname:R,query:oe}),skipInterpolation:!0,asPath:ue?"/404":tt,locale:zt}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:lr?this.sbc:this.sdc,persistCache:!Qe,isPrefetch:!1,unstable_skipClientCache:H,isBackground:lr};let at=y&&!A?null:await Rt({fetchData:()=>_t(D),asPath:ue?"/404":tt,locale:zt,router:this}).catch(er=>{if(y)return null;throw er});if(at&&(R==="/_error"||R==="/404")&&(at.effect=void 0),y&&(at?at.json=self.__NEXT_DATA__.props:at={json:self.__NEXT_DATA__.props}),J(),(at==null||(Ee=at.effect)==null?void 0:Ee.type)==="redirect-internal"||(at==null||(ye=at.effect)==null?void 0:ye.type)==="redirect-external")return at.effect;if((at==null||($e=at.effect)==null?void 0:$e.type)==="rewrite"){const er=(0,E.removeTrailingSlash)(at.effect.resolvedHref),ur=await this.pageLoader.getPageList();if((!y||ur.includes(er))&&(j=er,R=at.effect.resolvedHref,oe={...oe,...at.effect.parsedAs.query},tt=(0,P.removeBasePath)((0,M.normalizeLocalePath)(at.effect.parsedAs.pathname,this.locales).pathname),Ye=this.components[j],It.shallow&&Ye&&this.route===j&&!De))return{...Ye,route:j}}if((0,we.isAPIRoute)(j))return fe({url:Ne,router:this}),new Promise(()=>{});const wt=Ct||await this.fetchComponent(j).then(er=>({Component:er.page,styleSheets:er.styleSheets,__N_SSG:er.mod.__N_SSG,__N_SSP:er.mod.__N_SSP})),ce=at==null||(Ce=at.response)==null?void 0:Ce.headers.get("x-middleware-skip"),ze=wt.__N_SSG||wt.__N_SSP;ce&&at?.dataHref&&delete this.sdc[at.dataHref];const{props:dt,cacheKey:pr}=await this._getData(async()=>{if(ze){if(at?.json&&!ce)return{cacheKey:at.cacheKey,props:at.json};const er=at?.dataHref?at.dataHref:this.pageLoader.getDataHref({href:(0,Y.formatWithValidation)({pathname:R,query:oe}),asPath:tt,locale:zt}),ur=await _t({dataHref:er,isServerRender:this.isSsr,parseJSON:!0,inflightCache:ce?{}:this.sdc,persistCache:!Qe,isPrefetch:!1,unstable_skipClientCache:H});return{cacheKey:ur.cacheKey,props:ur.json||{}}}return{headers:{},props:await this.getInitialProps(wt.Component,{pathname:R,query:oe,asPath:Ne,locale:zt,locales:this.locales,defaultLocale:this.defaultLocale})}});return wt.__N_SSP&&D.dataHref&&pr&&delete this.sdc[pr],!this.isPreview&&wt.__N_SSG&&!y&&_t(Object.assign({},D,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),dt.pageProps=Object.assign({},dt.pageProps),wt.props=dt,wt.route=j,wt.query=oe,wt.resolvedAs=tt,this.components[j]=wt,wt}catch(Ye){return this.handleRouteInfoError((0,l.getProperError)(Ye),R,oe,Ne,It)}}set(c,s,R){return this.state=c,this.sub(s,this.components["/_app"].Component,R)}beforePopState(c){this._bps=c}onlyAHashChange(c){if(!this.asPath)return!1;const[s,R]=this.asPath.split("#",2),[oe,Ne]=c.split("#",2);return Ne&&s===oe&&R===Ne?!0:s!==oe?!1:R!==Ne}scrollToHash(c){const[,s=""]=c.split("#",2);(0,ut.disableSmoothScrollDuringRouteTransition)(()=>{if(s===""||s==="top"){window.scrollTo(0,0);return}const R=decodeURIComponent(s),oe=document.getElementById(R);if(oe){oe.scrollIntoView();return}const Ne=document.getElementsByName(R)[0];Ne&&Ne.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(c)})}urlIsNew(c){return this.asPath!==c}async prefetch(c,s,R){if(s===void 0&&(s=c),R===void 0&&(R={}),typeof window<"u"&&(0,Te.isBot)(window.navigator.userAgent))return;let oe=(0,G.parseRelativeUrl)(c);const Ne=oe.pathname;let{pathname:tt,query:It}=oe;const zt=tt;if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT&&R.locale===!1){tt=(0,M.normalizeLocalePath)(tt,this.locales).pathname,oe.pathname=tt,c=(0,Y.formatWithValidation)(oe);let j=(0,G.parseRelativeUrl)(s);const Ee=(0,M.normalizeLocalePath)(j.pathname,this.locales);j.pathname=Ee.pathname,R.locale=Ee.detectedLocale||this.defaultLocale,s=(0,Y.formatWithValidation)(j)}const De=await this.pageLoader.getPageList();let Qe=s;const H=typeof R.locale<"u"?R.locale||void 0:this.locale,y=await se({asPath:s,locale:H,router:this});if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_HAS_REWRITES&&s.startsWith("/")){let j;({__rewrites:j}=await(0,f.getClientBuildManifest)());const Ee=kt((0,V.addBasePath)((0,ae.addLocale)(s,this.locale),!0),De,j,oe.query,ye=>je(ye,De),this.locales);if(Ee.externalDest)return;y||(Qe=(0,ne.removeLocale)((0,P.removeBasePath)(Ee.asPath),this.locale)),Ee.matchedPage&&Ee.resolvedHref&&(tt=Ee.resolvedHref,oe.pathname=tt,y||(c=(0,Y.formatWithValidation)(oe)))}oe.pathname=je(oe.pathname,De),(0,L.isDynamicRoute)(oe.pathname)&&(tt=oe.pathname,oe.pathname=tt,Object.assign(It,(0,U.getRouteMatcher)((0,S.getRouteRegex)(oe.pathname))((0,$.parsePath)(s).pathname)||{}),y||(c=(0,Y.formatWithValidation)(oe)));const A={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_MIDDLEWARE_PREFETCH==="strict"?null:await Rt({fetchData:()=>_t({dataHref:this.pageLoader.getDataHref({href:(0,Y.formatWithValidation)({pathname:zt,query:It}),skipInterpolation:!0,asPath:Qe,locale:H}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:s,locale:H,router:this});if(A?.effect.type==="rewrite"&&(oe.pathname=A.effect.resolvedHref,tt=A.effect.resolvedHref,It={...It,...A.effect.parsedAs.query},Qe=A.effect.parsedAs.pathname,c=(0,Y.formatWithValidation)(oe)),A?.effect.type==="redirect-external")return;const ue=(0,E.removeTrailingSlash)(tt);await this._bfl(s,Qe,R.locale,!0)&&(this.components[Ne]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(ue).then(j=>j?_t({dataHref:A?.json?A?.dataHref:this.pageLoader.getDataHref({href:c,asPath:Qe,locale:H}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:R.unstable_skipClientCache||R.priority&&!!{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_OPTIMISTIC_CLIENT_CACHE}).then(()=>!1).catch(()=>!1):!1),this.pageLoader[R.priority?"loadPage":"prefetch"](ue)])}async fetchComponent(c){const s=pe({route:c,router:this});try{const R=await this.pageLoader.loadPage(c);return s(),R}catch(R){throw s(),R}}_getData(c){let s=!1;const R=()=>{s=!0};return this.clc=R,c().then(oe=>{if(R===this.clc&&(this.clc=null),s){const Ne=Object.defineProperty(new Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw Ne.cancelled=!0,Ne}return oe})}getInitialProps(c,s){const{Component:R}=this.components["/_app"],oe=this._wrapApp(R);return s.AppTree=oe,(0,W.loadGetInitialProps)(R,{AppTree:oe,Component:c,router:this,ctx:s})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(c,s,R,{initialProps:oe,pageLoader:Ne,App:tt,wrapApp:It,Component:zt,err:De,subscription:Qe,isFallback:H,locale:y,locales:A,defaultLocale:ue,domainLocales:j,isPreview:Ee}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Pt(),this.onPopState=Ce=>{const{isFirstPopStateEvent:Ye}=this;this.isFirstPopStateEvent=!1;const J=Ce.state;if(!J){const{pathname:ze,query:dt}=this;this.changeState("replaceState",(0,Y.formatWithValidation)({pathname:(0,V.addBasePath)(ze),query:dt}),(0,W.getURL)());return}if(J.__NA){window.location.reload();return}if(!J.__N||Ye&&this.locale===J.options.locale&&J.as===this.asPath)return;let Ct;const{url:lr,as:D,options:at,key:wt}=J;if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_SCROLL_RESTORATION&&Bt&&this._key!==wt){try{sessionStorage.setItem("__next_scroll_"+this._key,JSON.stringify({x:self.pageXOffset,y:self.pageYOffset}))}catch{}try{const ze=sessionStorage.getItem("__next_scroll_"+wt);Ct=JSON.parse(ze)}catch{Ct={x:0,y:0}}}this._key=wt;const{pathname:ce}=(0,G.parseRelativeUrl)(lr);this.isSsr&&D===(0,V.addBasePath)(this.asPath)&&ce===(0,V.addBasePath)(this.pathname)||this._bps&&!this._bps(J)||this.change("replaceState",lr,D,Object.assign({},at,{shallow:at.shallow&&this._shallow,locale:at.locale||this.defaultLocale,_h:0}),Ct)};const ye=(0,E.removeTrailingSlash)(c);this.components={},c!=="/_error"&&(this.components[ye]={Component:zt,initial:!0,props:oe,err:De,__N_SSG:oe&&oe.__N_SSG,__N_SSP:oe&&oe.__N_SSP}),this.components["/_app"]={Component:tt,styleSheets:[]},this.events=yt.events,this.pageLoader=Ne;const $e=(0,L.isDynamicRoute)(c)&&self.__NEXT_DATA__.autoExport;if(this.basePath={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_ROUTER_BASEPATH||"",this.sub=Qe,this.clc=null,this._wrapApp=It,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!$e&&!self.location.search&&!{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_HAS_REWRITES),{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT&&(this.locales=A,this.defaultLocale=ue,this.domainLocales=j,this.isLocaleDomain=!!(0,N.detectDomainLocale)(j,self.location.hostname)),this.state={route:ye,pathname:c,query:s,asPath:$e?c:R,isPreview:!!Ee,locale:{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_I18N_SUPPORT?y:void 0,isFallback:H},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),typeof window<"u"){if(!R.startsWith("//")){const Ce={locale:y},Ye=(0,W.getURL)();this._initialMatchesMiddlewarePromise=se({router:this,locale:y,asPath:Ye}).then(J=>(Ce._shouldResolveHref=R!==c,this.changeState("replaceState",J?Ye:(0,Y.formatWithValidation)({pathname:(0,V.addBasePath)(c),query:s}),Ye,Ce),J))}window.addEventListener("popstate",this.onPopState),{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_SCROLL_RESTORATION&&Bt&&(window.history.scrollRestoration="manual")}}}yt.events=(0,k.default)()}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/add-locale.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"addLocale",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js");function v(h,E,f,g){if(!E||E===f)return h;const l=h.toLowerCase();return!g&&((0,w.pathHasPrefix)(l,"/api")||(0,w.pathHasPrefix)(l,"/"+E.toLowerCase()))?h:(0,p.addPathPrefix)(h,"/"+E)}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"addPathPrefix",{enumerable:!0,get:function(){return w}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-path.js");function w(v,h){if(!v.startsWith("/")||!h)return v;const{pathname:E,query:f,hash:g}=(0,p.parsePath)(v);return""+h+E+f+g}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"addPathSuffix",{enumerable:!0,get:function(){return w}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-path.js");function w(v,h){if(!v.startsWith("/")||!h)return v;const{pathname:E,query:f,hash:g}=(0,p.parsePath)(v);return""+E+h+f+g}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/app-paths.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(f,g){for(var l in g)Object.defineProperty(f,l,{enumerable:!0,get:g[l]})}p(i,{normalizeAppPath:function(){return h},normalizeRscURL:function(){return E}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/segment.js");function h(f){return(0,w.ensureLeadingSlash)(f.split("/").reduce((g,l,B,M)=>!l||(0,v.isGroupSegment)(l)||l[0]==="@"||(l==="page"||l==="route")&&B===M.length-1?g:g+"/"+l,""))}function E(f){return f.replace(/\.rsc($|\?)/,"$1")}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/compare-states.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"compareRouterStates",{enumerable:!0,get:function(){return u}});function u(p,w){const v=Object.keys(p);if(v.length!==Object.keys(w).length)return!1;for(let h=v.length;h--;){const E=v[h];if(E==="query"){const f=Object.keys(p.query);if(f.length!==Object.keys(w.query).length)return!1;for(let g=f.length;g--;){const l=f[g];if(!w.query.hasOwnProperty(l)||p.query[l]!==w.query[l])return!1}}else if(!w.hasOwnProperty(E)||p[E]!==w[E])return!1}return!0}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return w}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/utils/warn-once.js");function w(v,h){if(h===void 0&&(h={}),h.onlyHashChange){v();return}const E=document.documentElement,f=E.dataset.scrollBehavior==="smooth";if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_OPTIMIZE_ROUTER_SCROLL&&!f){v();return}const g=E.style.scrollBehavior;E.style.scrollBehavior="auto",h.dontForceLayout||E.getClientRects(),v(),E.style.scrollBehavior=g}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"formatNextPathnameInfo",{enumerable:!0,get:function(){return E}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/add-locale.js");function E(f){let g=(0,h.addLocale)(f.pathname,f.locale,f.buildId?void 0:f.defaultLocale,f.ignorePrefix);return(f.buildId||!f.trailingSlash)&&(g=(0,p.removeTrailingSlash)(g)),f.buildId&&(g=(0,v.addPathSuffix)((0,w.addPathPrefix)(g,"/_next/data/"+f.buildId),f.pathname==="/"?"index.json":".json")),g=(0,w.addPathPrefix)(g,f.basePath),!f.buildId&&f.trailingSlash?g.endsWith("/")?g:(0,v.addPathSuffix)(g,"/"):(0,p.removeTrailingSlash)(g)}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/format-url.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(l,B){for(var M in B)Object.defineProperty(l,M,{enumerable:!0,get:B[M]})}p(i,{formatUrl:function(){return E},formatWithValidation:function(){return g},urlObjectKeys:function(){return f}});const v=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs")._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/querystring.js")),h=/https?|ftp|gopher|file/;function E(l){let{auth:B,hostname:M}=l,k=l.protocol||"",W=l.pathname||"",L=l.hash||"",G=l.query||"",U=!1;B=B?encodeURIComponent(B).replace(/%3A/i,":")+"@":"",l.host?U=B+l.host:M&&(U=B+(~M.indexOf(":")?"["+M+"]":M),l.port&&(U+=":"+l.port)),G&&typeof G=="object"&&(G=String(v.urlQueryToSearchParams(G)));let S=l.search||G&&"?"+G||"";return k&&!k.endsWith(":")&&(k+=":"),l.slashes||(!k||h.test(k))&&U!==!1?(U="//"+(U||""),W&&W[0]!=="/"&&(W="/"+W)):U||(U=""),L&&L[0]!=="#"&&(L="#"+L),S&&S[0]!=="?"&&(S="?"+S),W=W.replace(/[?#]/g,encodeURIComponent),S=S.replace("#","%23"),""+k+U+W+S+L}const f=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function g(l){return E(l)}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return u}});function u(p,w){return w===void 0&&(w=""),(p==="/"?"/index":/^\/index(\/|$)/.test(p)?"/index"+p:p)+w}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(E,f){for(var g in f)Object.defineProperty(E,g,{enumerable:!0,get:f[g]})}u(i,{PARAMETER_PATTERN:function(){return w},getDynamicParam:function(){return p},parseMatchedParameter:function(){return h},parseParameter:function(){return v}});function p(E,f,g,l,B){let M=E[f];if(B&&B.has(f)?M=B.get(f):Array.isArray(M)?M=M.map(k=>encodeURIComponent(k)):typeof M=="string"&&(M=encodeURIComponent(M)),!M){const k=g==="c",W=g==="oc";if(k||W)return W?{param:f,value:null,type:g,treeSegment:[f,"",g]}:(M=l.split("/").slice(1).flatMap(L=>{const G=v(L);var U;return(U=E[G.key])!=null?U:G.key}),{param:f,value:M,type:g,treeSegment:[f,M.join("/"),g]})}return{param:f,value:M,treeSegment:[f,Array.isArray(M)?M.join("/"):M,g],type:g}}const w=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function v(E){const f=E.match(w);return h(f?f[2]:E)}function h(E){const f=E.startsWith("[")&&E.endsWith("]");f&&(E=E.slice(1,-1));const g=E.startsWith("...");return g&&(E=E.slice(3)),{key:E,repeat:g,optional:f}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getNextPathnameInfo",{enumerable:!0,get:function(){return h}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js");function h(E,f){var g;const{basePath:l,i18n:B,trailingSlash:M}=(g=f.nextConfig)!=null?g:{},k={pathname:E,trailingSlash:E!=="/"?E.endsWith("/"):M};l&&(0,v.pathHasPrefix)(k.pathname,l)&&(k.pathname=(0,w.removePathPrefix)(k.pathname,l),k.basePath=l);let W=k.pathname;if(k.pathname.startsWith("/_next/data/")&&k.pathname.endsWith(".json")){const G=k.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),U=G[0];k.buildId=U,W=G[1]!=="index"?"/"+G.slice(1).join("/"):"/",f.parseData===!0&&(k.pathname=W)}if(B){let G=f.i18nProvider?f.i18nProvider.analyze(k.pathname):(0,p.normalizeLocalePath)(k.pathname,B.locales);k.locale=G.detectedLocale;var L;k.pathname=(L=G.pathname)!=null?L:k.pathname,!G.detectedLocale&&k.buildId&&(G=f.i18nProvider?f.i18nProvider.analyze(W):(0,p.normalizeLocalePath)(W,B.locales),G.detectedLocale&&(k.locale=G.detectedLocale))}return k}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/html-bots.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return u}});const u=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/index.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(h,E){for(var f in E)Object.defineProperty(h,f,{enumerable:!0,get:E[f]})}p(i,{getSortedRouteObjects:function(){return w.getSortedRouteObjects},getSortedRoutes:function(){return w.getSortedRoutes},isDynamicRoute:function(){return v.isDynamicRoute}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js")}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/interception-routes.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(f,g){for(var l in g)Object.defineProperty(f,l,{enumerable:!0,get:g[l]})}p(i,{INTERCEPTION_ROUTE_MARKERS:function(){return v},extractInterceptionRouteInformation:function(){return E},isInterceptionRouteAppPath:function(){return h}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/app-paths.js"),v=["(..)(..)","(.)","(..)","(...)"];function h(f){return f.split("/").find(g=>v.find(l=>g.startsWith(l)))!==void 0}function E(f){let g,l,B;for(const M of f.split("/"))if(l=v.find(k=>M.startsWith(k)),l){[g,B]=f.split(l,2);break}if(!g||!l||!B)throw Object.defineProperty(new Error("Invalid interception route: "+f+". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(g=(0,w.normalizeAppPath)(g),l){case"(.)":g==="/"?B="/"+B:B=g+"/"+B;break;case"(..)":if(g==="/")throw Object.defineProperty(new Error("Invalid interception route: "+f+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});B=g.split("/").slice(0,-1).concat(B).join("/");break;case"(...)":B="/"+B;break;case"(..)(..)":const M=g.split("/");if(M.length<=2)throw Object.defineProperty(new Error("Invalid interception route: "+f+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});B=M.slice(0,-2).concat(B).join("/");break;default:throw Object.defineProperty(new Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:g,interceptedRoute:B}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"interpolateAs",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-matcher.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-regex.js");function v(h,E,f){let g="";const l=(0,w.getRouteRegex)(h),B=l.groups,M=(E!==h?(0,p.getRouteMatcher)(l)(E):"")||f;g=h;const k=Object.keys(B);return k.every(W=>{let L=M[W]||"";const{repeat:G,optional:U}=B[W];let S="["+(G?"...":"")+W+"]";return U&&(S=(L?"":"/")+"["+S+"]"),G&&!Array.isArray(L)&&(L=[L]),(U||W in M)&&(g=g.replace(S,G?L.map(Y=>encodeURIComponent(Y)).join("/"):encodeURIComponent(L))||"/")})||(g=""),{params:k,result:g}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/is-bot.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(B,M){for(var k in M)Object.defineProperty(B,k,{enumerable:!0,get:M[k]})}p(i,{HTML_LIMITED_BOT_UA_RE:function(){return w.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return h},getBotType:function(){return l},isBot:function(){return g}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/html-bots.js"),v=/Googlebot(?!-)|Googlebot$/i,h=w.HTML_LIMITED_BOT_UA_RE.source;function E(B){return v.test(B)}function f(B){return w.HTML_LIMITED_BOT_UA_RE.test(B)}function g(B){return E(B)||f(B)}function l(B){if(E(B))return"dom";if(f(B))return"html"}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isDynamicRoute",{enumerable:!0,get:function(){return h}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/interception-routes.js"),w=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,v=/\/\[[^/]+\](?=\/|$)/;function h(E,f){return f===void 0&&(f=!0),(0,p.isInterceptionRouteAppPath)(E)&&(E=(0,p.extractInterceptionRouteInformation)(E).interceptedRoute),f?v.test(E):w.test(E)}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/is-local-url.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/utils.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/has-base-path.js");function v(h){if(!(0,p.isAbsoluteUrl)(h))return!0;try{const E=(0,p.getLocationOrigin)(),f=new URL(h,E);return f.origin===E&&(0,w.hasBasePath)(f.pathname)}catch{return!1}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/omit.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"omit",{enumerable:!0,get:function(){return u}});function u(p,w){const v={};return Object.keys(p).forEach(h=>{w.includes(h)||(v[h]=p[h])}),v}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-path.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"parsePath",{enumerable:!0,get:function(){return u}});function u(p){const w=p.indexOf("#"),v=p.indexOf("?"),h=v>-1&&(w<0||v<w);return h||w>-1?{pathname:p.substring(0,h?v:w),query:h?p.substring(v,w>-1?w:void 0):"",hash:w>-1?p.slice(w):""}:{pathname:p,query:"",hash:""}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"parseRelativeUrl",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/utils.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/querystring.js");function v(h,E,f){f===void 0&&(f=!0);const g=new URL(typeof window>"u"?"http://n":(0,p.getLocationOrigin)()),l=E?new URL(E,g):h.startsWith(".")?new URL(typeof window>"u"?"http://n":window.location.href):g,{pathname:B,searchParams:M,search:k,hash:W,href:L,origin:G}=new URL(h,l);if(G!==g.origin)throw Object.defineProperty(new Error("invariant: invalid relative URL, router received "+h),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{pathname:B,query:f?(0,w.searchParamsToUrlQuery)(M):void 0,search:k,hash:W,href:L.slice(G.length),slashes:void 0}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-url.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"parseUrl",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/querystring.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js");function v(h){if(h.startsWith("/"))return(0,w.parseRelativeUrl)(h);const E=new URL(h);return{hash:E.hash,hostname:E.hostname,href:E.href,pathname:E.pathname,port:E.port,protocol:E.protocol,query:(0,p.searchParamsToUrlQuery)(E.searchParams),search:E.search,slashes:E.href.slice(E.protocol.length,E.protocol.length+2)==="//"}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"pathHasPrefix",{enumerable:!0,get:function(){return w}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-path.js");function w(v,h){if(typeof v!="string")return!1;const{pathname:E}=(0,p.parsePath)(v);return E===h||E.startsWith(h+"/")}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/path-match.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getPathMatch",{enumerable:!0,get:function(){return w}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/path-to-regexp/index.js");function w(v,h){const E=[],f=(0,p.pathToRegexp)(v,E,{delimiter:"/",sensitive:typeof h?.sensitive=="boolean"?h.sensitive:!1,strict:h?.strict}),g=(0,p.regexpToFunction)(h?.regexModifier?new RegExp(h.regexModifier(f.source),f.flags):f,E);return(l,B)=>{if(typeof l!="string")return!1;const M=g(l);if(!M)return!1;if(h?.removeUnnamedParams)for(const k of E)typeof k.name=="number"&&delete M.params[k.name];return{...B,...M.params}}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(G,U){for(var S in U)Object.defineProperty(G,S,{enumerable:!0,get:U[S]})}p(i,{compileNonPath:function(){return k},matchHas:function(){return M},parseDestination:function(){return W},prepareDestination:function(){return L}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/escape-regexp.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-url.js"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/interception-routes.js"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/server/api-utils/get-cookie-parser.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js");function g(G){let U="";for(let S=0;S<G.length;S++){const Y=G.charCodeAt(S);(Y>64&&Y<91||Y>96&&Y<123)&&(U+=G[S])}return U}function l(G,U){return G.replace(new RegExp(":"+(0,w.escapeStringRegexp)(U),"g"),"__ESC_COLON_"+U)}function B(G){return G.replace(/__ESC_COLON_/gi,":")}function M(G,U,S,Y){S===void 0&&(S=[]),Y===void 0&&(Y=[]);const N={},$=ne=>{let P,V=ne.key;switch(ne.type){case"header":{V=V.toLowerCase(),P=G.headers[V];break}case"cookie":{"cookies"in G?P=G.cookies[ne.key]:P=(0,E.getCookieParser)(G.headers)()[ne.key];break}case"query":{P=U[V];break}case"host":{const{host:X}=G?.headers||{};P=X?.split(":",1)[0].toLowerCase();break}default:break}if(!ne.value&&P)return N[g(V)]=P,!0;if(P){const X=new RegExp("^"+ne.value+"$"),me=Array.isArray(P)?P.slice(-1)[0].match(X):P.match(X);if(me)return Array.isArray(me)&&(me.groups?Object.keys(me.groups).forEach(we=>{N[we]=me.groups[we]}):ne.type==="host"&&me[0]&&(N.host=me[0])),!0}return!1};return S.every(ne=>$(ne))&&!Y.some(ne=>$(ne))?N:!1}function k(G,U){if(!G.includes(":"))return G;for(const S of Object.keys(U))G.includes(":"+S)&&(G=G.replace(new RegExp(":"+S+"\\*","g"),":"+S+"--ESCAPED_PARAM_ASTERISKS").replace(new RegExp(":"+S+"\\?","g"),":"+S+"--ESCAPED_PARAM_QUESTION").replace(new RegExp(":"+S+"\\+","g"),":"+S+"--ESCAPED_PARAM_PLUS").replace(new RegExp(":"+S+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+S));return G=G.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,f.safeCompile)("/"+G,{validate:!1})(U).slice(1)}function W(G){let U=G.destination;for(const P of Object.keys({...G.params,...G.query}))P&&(U=l(U,P));const S=(0,v.parseUrl)(U);let Y=S.pathname;Y&&(Y=B(Y));let N=S.href;N&&(N=B(N));let $=S.hostname;$&&($=B($));let ae=S.hash;ae&&(ae=B(ae));let ne=S.search;return ne&&(ne=B(ne)),{...S,pathname:Y,hostname:$,href:N,hash:ae,search:ne}}function L(G){const U=W(G),{hostname:S,query:Y,search:N}=U;let $=U.pathname;U.hash&&($=""+$+U.hash);const ae=[],ne=[];(0,f.safePathToRegexp)($,ne);for(const we of ne)ae.push(we.name);if(S){const we=[];(0,f.safePathToRegexp)(S,we);for(const Re of we)ae.push(Re.name)}const P=(0,f.safeCompile)($,{validate:!1});let V;S&&(V=(0,f.safeCompile)(S,{validate:!1}));for(const[we,Re]of Object.entries(Y))Array.isArray(Re)?Y[we]=Re.map(Ae=>k(B(Ae),G.params)):typeof Re=="string"&&(Y[we]=k(B(Re),G.params));let X=Object.keys(G.params).filter(we=>we!=="nextInternalLocale");if(G.appendParamsToQuery&&!X.some(we=>ae.includes(we)))for(const we of X)we in Y||(Y[we]=G.params[we]);let me;if((0,h.isInterceptionRouteAppPath)($))for(const we of $.split("/")){const Re=h.INTERCEPTION_ROUTE_MARKERS.find(Ae=>we.startsWith(Ae));if(Re){Re==="(..)(..)"?(G.params[0]="(..)",G.params[1]="(..)"):G.params[0]=Re;break}}try{me=P(G.params);const[we,Re]=me.split("#",2);V&&(U.hostname=V(G.params)),U.pathname=we,U.hash=(Re?"#":"")+(Re||""),U.search=N?k(N,G.params):""}catch(we){throw we.message.match(/Expected .*? to not repeat, but got an array/)?Object.defineProperty(new Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,configurable:!0}):we}return U.query={...G.query,...U.query},{newUrl:me,destQuery:Y,parsedDestination:U}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/querystring.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(E,f){for(var g in f)Object.defineProperty(E,g,{enumerable:!0,get:f[g]})}u(i,{assign:function(){return h},searchParamsToUrlQuery:function(){return p},urlQueryToSearchParams:function(){return v}});function p(E){const f={};for(const[g,l]of E.entries()){const B=f[g];typeof B>"u"?f[g]=l:Array.isArray(B)?B.push(l):f[g]=[B,l]}return f}function w(E){return typeof E=="string"?E:typeof E=="number"&&!isNaN(E)||typeof E=="boolean"?String(E):""}function v(E){const f=new URLSearchParams;for(const[g,l]of Object.entries(E))if(Array.isArray(l))for(const B of l)f.append(g,w(B));else f.set(g,w(l));return f}function h(E){for(var f=arguments.length,g=new Array(f>1?f-1:0),l=1;l<f;l++)g[l-1]=arguments[l];for(const B of g){for(const M of B.keys())E.delete(M);for(const[M,k]of B.entries())E.append(M,k)}return E}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"removePathPrefix",{enumerable:!0,get:function(){return w}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js");function w(v,h){if(!(0,p.pathHasPrefix)(v,h))return v;const E=v.slice(h.length);return E.startsWith("/")?E:"/"+E}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"removeTrailingSlash",{enumerable:!0,get:function(){return u}});function u(p){return p.replace(/\/$/,"")||"/"}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/resolve-rewrites.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return g}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/path-match.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/remove-base-path.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js");function g(l,B,M,k,W,L){let G=!1,U=!1,S=(0,f.parseRelativeUrl)(l),Y=(0,v.removeTrailingSlash)((0,h.normalizeLocalePath)((0,E.removeBasePath)(S.pathname),L).pathname),N;const $=ne=>{let V=(0,p.getPathMatch)(ne.source+({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.__NEXT_TRAILING_SLASH?"(/)?":""),{removeUnnamedParams:!0,strict:!0})(S.pathname);if((ne.has||ne.missing)&&V){const X=(0,w.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((me,we)=>{const[Re,...Ae]=we.split("=");return me[Re]=Ae.join("="),me},{})},S.query,ne.has,ne.missing);X?Object.assign(V,X):V=!1}if(V){if(!ne.destination)return U=!0,!0;const X=(0,w.prepareDestination)({appendParamsToQuery:!0,destination:ne.destination,params:V,query:k});if(S=X.parsedDestination,l=X.newUrl,Object.assign(k,X.parsedDestination.query),Y=(0,v.removeTrailingSlash)((0,h.normalizeLocalePath)((0,E.removeBasePath)(l),L).pathname),B.includes(Y))return G=!0,N=Y,!0;if(N=W(Y),N!==l&&B.includes(N))return G=!0,!0}};let ae=!1;for(let ne=0;ne<M.beforeFiles.length;ne++)$(M.beforeFiles[ne]);if(G=B.includes(Y),!G){if(!ae){for(let ne=0;ne<M.afterFiles.length;ne++)if($(M.afterFiles[ne])){ae=!0;break}}if(ae||(N=W(Y),G=B.includes(N),ae=G),!ae){for(let ne=0;ne<M.fallback.length;ne++)if($(M.fallback[ne])){ae=!0;break}}}return{asPath:l,parsedAs:S,matchedPage:G,resolvedHref:N,externalDest:U}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(l,B){for(var M in B)Object.defineProperty(l,M,{enumerable:!0,get:B[M]})}p(i,{safeCompile:function(){return E},safePathToRegexp:function(){return h},safeRegexpToFunction:function(){return f},safeRouteMatcher:function(){return g}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/path-to-regexp/index.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/route-pattern-normalizer.js");function h(l,B,M){if(typeof l!="string")return(0,w.pathToRegexp)(l,B,M);const k=(0,v.hasAdjacentParameterIssues)(l),W=k?(0,v.normalizeAdjacentParameters)(l):l;try{return(0,w.pathToRegexp)(W,B,M)}catch(L){if(!k)try{const G=(0,v.normalizeAdjacentParameters)(l);return(0,w.pathToRegexp)(G,B,M)}catch{throw L}throw L}}function E(l,B){const M=(0,v.hasAdjacentParameterIssues)(l),k=M?(0,v.normalizeAdjacentParameters)(l):l;try{return(0,w.compile)(k,B)}catch(W){if(!M)try{const L=(0,v.normalizeAdjacentParameters)(l);return(0,w.compile)(L,B)}catch{throw W}throw W}}function f(l,B){const M=(0,w.regexpToFunction)(l,B||[]);return k=>{const W=M(k);return W?{...W,params:(0,v.stripParameterSeparators)(W.params)}:!1}}function g(l){return B=>{const M=l(B);return M?(0,v.stripParameterSeparators)(M):!1}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-matcher.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getRouteMatcher",{enumerable:!0,get:function(){return v}});const p=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/utils.js"),w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js");function v(h){let{re:E,groups:f}=h;const g=l=>{const B=E.exec(l);if(!B)return!1;const M=W=>{try{return decodeURIComponent(W)}catch{throw Object.defineProperty(new p.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},k={};for(const[W,L]of Object.entries(f)){const G=B[L.pos];G!==void 0&&(L.repeat?k[W]=G.split("/").map(U=>M(U)):k[W]=M(G))}return k};return(0,w.safeRouteMatcher)(g)}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/route-regex.js":((ee,i,u)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(G,U){for(var S in U)Object.defineProperty(G,S,{enumerable:!0,get:U[S]})}p(i,{getNamedMiddlewareRegex:function(){return L},getNamedRouteRegex:function(){return W},getRouteRegex:function(){return l}});const w=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/lib/constants.js"),v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/interception-routes.js"),h=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/escape-regexp.js"),E=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js"),f=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js");function g(G,U,S){const Y={};let N=1;const $=[];for(const ae of(0,E.removeTrailingSlash)(G).slice(1).split("/")){const ne=v.INTERCEPTION_ROUTE_MARKERS.find(V=>ae.startsWith(V)),P=ae.match(f.PARAMETER_PATTERN);if(ne&&P&&P[2]){const{key:V,optional:X,repeat:me}=(0,f.parseMatchedParameter)(P[2]);Y[V]={pos:N++,repeat:me,optional:X},$.push("/"+(0,h.escapeStringRegexp)(ne)+"([^/]+?)")}else if(P&&P[2]){const{key:V,repeat:X,optional:me}=(0,f.parseMatchedParameter)(P[2]);Y[V]={pos:N++,repeat:X,optional:me},S&&P[1]&&$.push("/"+(0,h.escapeStringRegexp)(P[1]));let we=X?me?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";S&&P[1]&&(we=we.substring(1)),$.push(we)}else $.push("/"+(0,h.escapeStringRegexp)(ae));U&&P&&P[3]&&$.push((0,h.escapeStringRegexp)(P[3]))}return{parameterizedRoute:$.join(""),groups:Y}}function l(G,U){let{includeSuffix:S=!1,includePrefix:Y=!1,excludeOptionalTrailingSlash:N=!1}=U===void 0?{}:U;const{parameterizedRoute:$,groups:ae}=g(G,S,Y);let ne=$;return N||(ne+="(?:/)?"),{re:new RegExp("^"+ne+"$"),groups:ae}}function B(){let G=0;return()=>{let U="",S=++G;for(;S>0;)U+=String.fromCharCode(97+(S-1)%26),S=Math.floor((S-1)/26);return U}}function M(G){let{interceptionMarker:U,getSafeRouteKey:S,segment:Y,routeKeys:N,keyPrefix:$,backreferenceDuplicateKeys:ae}=G;const{key:ne,optional:P,repeat:V}=(0,f.parseMatchedParameter)(Y);let X=ne.replace(/\W/g,"");$&&(X=""+$+X);let me=!1;(X.length===0||X.length>30)&&(me=!0),isNaN(parseInt(X.slice(0,1)))||(me=!0),me&&(X=S());const we=X in N;$?N[X]=""+$+ne:N[X]=ne;const Re=U?(0,h.escapeStringRegexp)(U):"";let Ae;return we&&ae?Ae="\\k<"+X+">":V?Ae="(?<"+X+">.+?)":Ae="(?<"+X+">[^/]+?)",P?"(?:/"+Re+Ae+")?":"/"+Re+Ae}function k(G,U,S,Y,N){const $=B(),ae={},ne=[];for(const P of(0,E.removeTrailingSlash)(G).slice(1).split("/")){const V=v.INTERCEPTION_ROUTE_MARKERS.some(me=>P.startsWith(me)),X=P.match(f.PARAMETER_PATTERN);if(V&&X&&X[2])ne.push(M({getSafeRouteKey:$,interceptionMarker:X[1],segment:X[2],routeKeys:ae,keyPrefix:U?w.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:N}));else if(X&&X[2]){Y&&X[1]&&ne.push("/"+(0,h.escapeStringRegexp)(X[1]));let me=M({getSafeRouteKey:$,segment:X[2],routeKeys:ae,keyPrefix:U?w.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:N});Y&&X[1]&&(me=me.substring(1)),ne.push(me)}else ne.push("/"+(0,h.escapeStringRegexp)(P));S&&X&&X[3]&&ne.push((0,h.escapeStringRegexp)(X[3]))}return{namedParameterizedRoute:ne.join(""),routeKeys:ae}}function W(G,U){var S,Y,N;const $=k(G,U.prefixRouteKeys,(S=U.includeSuffix)!=null?S:!1,(Y=U.includePrefix)!=null?Y:!1,(N=U.backreferenceDuplicateKeys)!=null?N:!1);let ae=$.namedParameterizedRoute;return U.excludeOptionalTrailingSlash||(ae+="(?:/)?"),{...l(G,U),namedRegex:"^"+ae+"$",routeKeys:$.routeKeys}}function L(G,U){const{parameterizedRoute:S}=g(G,!1,!1),{catchAll:Y=!0}=U;if(S==="/")return{namedRegex:"^/"+(Y?".*":"")+"$"};const{namedParameterizedRoute:N}=k(G,!1,!1,!1,!1);let $=Y?"(?:(/.*)?)":"";return{namedRegex:"^"+N+$+"$"}}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(h,E){for(var f in E)Object.defineProperty(h,f,{enumerable:!0,get:E[f]})}u(i,{getSortedRouteObjects:function(){return v},getSortedRoutes:function(){return w}});class p{insert(E){this._insert(E.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(E){E===void 0&&(E="/");const f=[...this.children.keys()].sort();this.slugName!==null&&f.splice(f.indexOf("[]"),1),this.restSlugName!==null&&f.splice(f.indexOf("[...]"),1),this.optionalRestSlugName!==null&&f.splice(f.indexOf("[[...]]"),1);const g=f.map(l=>this.children.get(l)._smoosh(""+E+l+"/")).reduce((l,B)=>[...l,...B],[]);if(this.slugName!==null&&g.push(...this.children.get("[]")._smoosh(E+"["+this.slugName+"]/")),!this.placeholder){const l=E==="/"?"/":E.slice(0,-1);if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error('You cannot define a route with the same specificity as a optional catch-all route ("'+l+'" and "'+l+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});g.unshift(l)}return this.restSlugName!==null&&g.push(...this.children.get("[...]")._smoosh(E+"[..."+this.restSlugName+"]/")),this.optionalRestSlugName!==null&&g.push(...this.children.get("[[...]]")._smoosh(E+"[[..."+this.optionalRestSlugName+"]]/")),g}_insert(E,f,g){if(E.length===0){this.placeholder=!1;return}if(g)throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let l=E[0];if(l.startsWith("[")&&l.endsWith("]")){let k=function(W,L){if(W!==null&&W!==L)throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('"+W+"' !== '"+L+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});f.forEach(G=>{if(G===L)throw Object.defineProperty(new Error('You cannot have the same slug name "'+L+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(G.replace(/\W/g,"")===l.replace(/\W/g,""))throw Object.defineProperty(new Error('You cannot have the slug names "'+G+'" and "'+L+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),f.push(L)},B=l.slice(1,-1),M=!1;if(B.startsWith("[")&&B.endsWith("]")&&(B=B.slice(1,-1),M=!0),B.startsWith("\u2026"))throw Object.defineProperty(new Error("Detected a three-dot character ('\u2026') at ('"+B+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(B.startsWith("...")&&(B=B.substring(3),g=!0),B.startsWith("[")||B.endsWith("]"))throw Object.defineProperty(new Error("Segment names may not start or end with extra brackets ('"+B+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(B.startsWith("."))throw Object.defineProperty(new Error("Segment names may not start with erroneous periods ('"+B+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});if(g)if(M){if(this.restSlugName!=null)throw Object.defineProperty(new Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+E[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});k(this.optionalRestSlugName,B),this.optionalRestSlugName=B,l="[[...]]"}else{if(this.optionalRestSlugName!=null)throw Object.defineProperty(new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+E[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});k(this.restSlugName,B),this.restSlugName=B,l="[...]"}else{if(M)throw Object.defineProperty(new Error('Optional route parameters are not yet supported ("'+E[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});k(this.slugName,B),this.slugName=B,l="[]"}}this.children.has(l)||this.children.set(l,new p),this.children.get(l)._insert(E.slice(1),f,g)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function w(h){const E=new p;return h.forEach(f=>E.insert(f)),E.smoosh()}function v(h,E){const f={},g=[];for(let B=0;B<h.length;B++){const M=E(h[B]);f[M]=B,g[B]=M}return w(g).map(B=>h[f[B]])}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/runtime-config.external.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(h,E){for(var f in E)Object.defineProperty(h,f,{enumerable:!0,get:E[f]})}u(i,{default:function(){return w},setConfig:function(){return v}});let p;const w=()=>p;function v(h){p=h}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/segment.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u(f,g){for(var l in g)Object.defineProperty(f,l,{enumerable:!0,get:g[l]})}u(i,{DEFAULT_SEGMENT_KEY:function(){return E},PAGE_SEGMENT_KEY:function(){return h},addSearchParamsIfPageSegment:function(){return v},isGroupSegment:function(){return p},isParallelRouteSegment:function(){return w}});function p(f){return f[0]==="("&&f.endsWith(")")}function w(f){return f.startsWith("@")&&f!=="@children"}function v(f,g){if(f.includes(h)){const B=JSON.stringify(g);return B!=="{}"?h+"?"+B:h}return f}const h="__PAGE__",E="__DEFAULT__"}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js":((ee,i,u)=>{"use client";"use strict";Object.defineProperty(i,"__esModule",{value:!0});function p(f,g){for(var l in g)Object.defineProperty(f,l,{enumerable:!0,get:g[l]})}p(i,{ServerInsertedHTMLContext:function(){return h},useServerInsertedHTML:function(){return E}});const v=u("../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs")._(u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js")),h=v.default.createContext(null);function E(f){const g=(0,v.useContext)(h);g&&g(f)}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/utils.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});function u($,ae){for(var ne in ae)Object.defineProperty($,ne,{enumerable:!0,get:ae[ne]})}u(i,{DecodeError:function(){return L},MiddlewareNotFoundError:function(){return Y},MissingStaticPage:function(){return S},NormalizeError:function(){return G},PageNotFoundError:function(){return U},SP:function(){return k},ST:function(){return W},WEB_VITALS:function(){return p},execOnce:function(){return w},getDisplayName:function(){return g},getLocationOrigin:function(){return E},getURL:function(){return f},isAbsoluteUrl:function(){return h},isResSent:function(){return l},loadGetInitialProps:function(){return M},normalizeRepeatedSlashes:function(){return B},stringifyError:function(){return N}});const p=["CLS","FCP","FID","INP","LCP","TTFB"];function w($){let ae=!1,ne;return function(){for(var P=arguments.length,V=new Array(P),X=0;X<P;X++)V[X]=arguments[X];return ae||(ae=!0,ne=$(...V)),ne}}const v=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,h=$=>v.test($);function E(){const{protocol:$,hostname:ae,port:ne}=window.location;return $+"//"+ae+(ne?":"+ne:"")}function f(){const{href:$}=window.location,ae=E();return $.substring(ae.length)}function g($){return typeof $=="string"?$:$.displayName||$.name||"Unknown"}function l($){return $.finished||$.headersSent}function B($){const ae=$.split("?");return ae[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(ae[1]?"?"+ae.slice(1).join("?"):"")}async function M($,ae){if(0)var ne;const P=ae.res||ae.ctx&&ae.ctx.res;if(!$.getInitialProps)return ae.ctx&&ae.Component?{pageProps:await M(ae.Component,ae.ctx)}:{};const V=await $.getInitialProps(ae);if(P&&l(P))return V;if(!V){const X='"'+g($)+'.getInitialProps()" should resolve to an object. But found "'+V+'" instead.';throw Object.defineProperty(new Error(X),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}return V}const k=typeof performance<"u",W=k&&["mark","measure","getEntriesByName"].every($=>typeof performance[$]=="function");class L extends Error{}class G extends Error{}class U extends Error{constructor(ae){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+ae}}class S extends Error{constructor(ae,ne){super(),this.message="Failed to load static file for page: "+ae+" "+ne}}class Y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function N($){return JSON.stringify({message:$.message,stack:$.stack})}}),"../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/shared/lib/utils/warn-once.js":((ee,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"warnOnce",{enumerable:!0,get:function(){return u}});let u=p=>{}}),"../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/implementation.js":(ee=>{"use strict";var i=function(u){return u!==u};ee.exports=function(p,w){return p===0&&w===0?1/p===1/w:!!(p===w||i(p)&&i(w))}}),"../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js"),w=u("../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/index.js"),v=u("../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/implementation.js"),h=u("../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/polyfill.js"),E=u("../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/shim.js"),f=w(h(),Object);p(f,{getPolyfill:h,implementation:v,shim:E}),ee.exports=f}),"../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/polyfill.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/implementation.js");ee.exports=function(){return typeof Object.is=="function"?Object.is:p}}),"../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/shim.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/polyfill.js"),w=u("../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js");ee.exports=function(){var h=p();return w(Object,{is:h},{is:function(){return Object.is!==h}}),h}}),"../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js":((ee,i,u)=>{"use strict";var p;if(!Object.keys){var w=Object.prototype.hasOwnProperty,v=Object.prototype.toString,h=u("../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js"),E=Object.prototype.propertyIsEnumerable,f=!E.call({toString:null},"toString"),g=E.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],B=function(L){var G=L.constructor;return G&&G.prototype===L},M={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},k=(function(){if(typeof window>"u")return!1;for(var L in window)try{if(!M["$"+L]&&w.call(window,L)&&window[L]!==null&&typeof window[L]=="object")try{B(window[L])}catch{return!0}}catch{return!0}return!1})(),W=function(L){if(typeof window>"u"||!k)return B(L);try{return B(L)}catch{return!1}};p=function(G){var U=G!==null&&typeof G=="object",S=v.call(G)==="[object Function]",Y=h(G),N=U&&v.call(G)==="[object String]",$=[];if(!U&&!S&&!Y)throw new TypeError("Object.keys called on a non-object");var ae=g&&S;if(N&&G.length>0&&!w.call(G,0))for(var ne=0;ne<G.length;++ne)$.push(String(ne));if(Y&&G.length>0)for(var P=0;P<G.length;++P)$.push(String(P));else for(var V in G)!(ae&&V==="prototype")&&w.call(G,V)&&$.push(String(V));if(f)for(var X=W(G),me=0;me<l.length;++me)!(X&&l[me]==="constructor")&&w.call(G,l[me])&&$.push(l[me]);return $}}ee.exports=p}),"../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js":((ee,i,u)=>{"use strict";var p=Array.prototype.slice,w=u("../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js"),v=Object.keys,h=v?function(g){return v(g)}:u("../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js"),E=Object.keys;h.shim=function(){if(Object.keys){var g=(function(){var l=Object.keys(arguments);return l&&l.length===arguments.length})(1,2);g||(Object.keys=function(B){return w(B)?E(p.call(B)):E(B)})}else Object.keys=h;return Object.keys||h},ee.exports=h}),"../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js":(ee=>{"use strict";var i=Object.prototype.toString;ee.exports=function(p){var w=i.call(p),v=w==="[object Arguments]";return v||(v=w!=="[object Array]"&&p!==null&&typeof p=="object"&&typeof p.length=="number"&&p.length>=0&&i.call(p.callee)==="[object Function]"),v}}),"../../node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/implementation.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js"),w=u("../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js")(),v=u("../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"),h=u("../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"),E=v("Array.prototype.push"),f=v("Object.prototype.propertyIsEnumerable"),g=w?h.getOwnPropertySymbols:null;ee.exports=function(B,M){if(B==null)throw new TypeError("target must be an object");var k=h(B);if(arguments.length===1)return k;for(var W=1;W<arguments.length;++W){var L=h(arguments[W]),G=p(L),U=w&&(h.getOwnPropertySymbols||g);if(U)for(var S=U(L),Y=0;Y<S.length;++Y){var N=S[Y];f(L,N)&&E(G,N)}for(var $=0;$<G.length;++$){var ae=G[$];if(f(L,ae)){var ne=L[ae];k[ae]=ne}}}return k}}),"../../node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/polyfill.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/implementation.js"),w=function(){if(!Object.assign)return!1;for(var h="abcdefghijklmnopqrst",E=h.split(""),f={},g=0;g<E.length;++g)f[E[g]]=E[g];var l=Object.assign({},f),B="";for(var M in l)B+=M;return h!==B},v=function(){if(!Object.assign||!Object.preventExtensions)return!1;var h=Object.preventExtensions({1:2});try{Object.assign(h,"xy")}catch{return h[1]==="y"}return!1};ee.exports=function(){return!Object.assign||w()||v()?p:Object.assign}}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/utils/common.js":((ee,i)=>{"use strict";var u=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function p(h,E){return Object.prototype.hasOwnProperty.call(h,E)}i.assign=function(h){for(var E=Array.prototype.slice.call(arguments,1);E.length;){var f=E.shift();if(f){if(typeof f!="object")throw new TypeError(f+"must be non-object");for(var g in f)p(f,g)&&(h[g]=f[g])}}return h},i.shrinkBuf=function(h,E){return h.length===E?h:h.subarray?h.subarray(0,E):(h.length=E,h)};var w={arraySet:function(h,E,f,g,l){if(E.subarray&&h.subarray){h.set(E.subarray(f,f+g),l);return}for(var B=0;B<g;B++)h[l+B]=E[f+B]},flattenChunks:function(h){var E,f,g,l,B,M;for(g=0,E=0,f=h.length;E<f;E++)g+=h[E].length;for(M=new Uint8Array(g),l=0,E=0,f=h.length;E<f;E++)B=h[E],M.set(B,l),l+=B.length;return M}},v={arraySet:function(h,E,f,g,l){for(var B=0;B<g;B++)h[l+B]=E[f+B]},flattenChunks:function(h){return[].concat.apply([],h)}};i.setTyped=function(h){h?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,w)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,v))},i.setTyped(u)}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/adler32.js":(ee=>{"use strict";function i(u,p,w,v){for(var h=u&65535|0,E=u>>>16&65535|0,f=0;w!==0;){f=w>2e3?2e3:w,w-=f;do h=h+p[v++]|0,E=E+h|0;while(--f);h%=65521,E%=65521}return h|E<<16|0}ee.exports=i}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/constants.js":(ee=>{"use strict";ee.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/crc32.js":(ee=>{"use strict";function i(){for(var w,v=[],h=0;h<256;h++){w=h;for(var E=0;E<8;E++)w=w&1?3988292384^w>>>1:w>>>1;v[h]=w}return v}var u=i();function p(w,v,h,E){var f=u,g=E+h;w^=-1;for(var l=E;l<g;l++)w=w>>>8^f[(w^v[l])&255];return w^-1}ee.exports=p}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/deflate.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/utils/common.js"),w=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/trees.js"),v=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/adler32.js"),h=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/crc32.js"),E=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/messages.js"),f=0,g=1,l=3,B=4,M=5,k=0,W=1,L=-2,G=-3,U=-5,S=-1,Y=1,N=2,$=3,ae=4,ne=0,P=2,V=8,X=9,me=15,we=8,Re=29,Ae=256,te=Ae+1+Re,Se=30,Te=19,Ue=2*te+1,ft=15,ut=3,Ft=258,kt=Ft+ut+1,ht=32,se=42,He=69,ge=73,je=91,nt=103,Rt=113,Bt=666,Me=1,xe=2,rt=3,_t=4,Pt=3;function fe(D,at){return D.msg=E[at],at}function pe(D){return(D<<1)-(D>4?9:0)}function yt(D){for(var at=D.length;--at>=0;)D[at]=0}function F(D){var at=D.state,wt=at.pending;wt>D.avail_out&&(wt=D.avail_out),wt!==0&&(p.arraySet(D.output,at.pending_buf,at.pending_out,wt,D.next_out),D.next_out+=wt,at.pending_out+=wt,D.total_out+=wt,D.avail_out-=wt,at.pending-=wt,at.pending===0&&(at.pending_out=0))}function c(D,at){w._tr_flush_block(D,D.block_start>=0?D.block_start:-1,D.strstart-D.block_start,at),D.block_start=D.strstart,F(D.strm)}function s(D,at){D.pending_buf[D.pending++]=at}function R(D,at){D.pending_buf[D.pending++]=at>>>8&255,D.pending_buf[D.pending++]=at&255}function oe(D,at,wt,ce){var ze=D.avail_in;return ze>ce&&(ze=ce),ze===0?0:(D.avail_in-=ze,p.arraySet(at,D.input,D.next_in,ze,wt),D.state.wrap===1?D.adler=v(D.adler,at,ze,wt):D.state.wrap===2&&(D.adler=h(D.adler,at,ze,wt)),D.next_in+=ze,D.total_in+=ze,ze)}function Ne(D,at){var wt=D.max_chain_length,ce=D.strstart,ze,dt,pr=D.prev_length,er=D.nice_match,ur=D.strstart>D.w_size-kt?D.strstart-(D.w_size-kt):0,Tr=D.window,Bn=D.w_mask,Ur=D.prev,Dr=D.strstart+Ft,Jr=Tr[ce+pr-1],tn=Tr[ce+pr];D.prev_length>=D.good_match&&(wt>>=2),er>D.lookahead&&(er=D.lookahead);do if(ze=at,!(Tr[ze+pr]!==tn||Tr[ze+pr-1]!==Jr||Tr[ze]!==Tr[ce]||Tr[++ze]!==Tr[ce+1])){ce+=2,ze++;do;while(Tr[++ce]===Tr[++ze]&&Tr[++ce]===Tr[++ze]&&Tr[++ce]===Tr[++ze]&&Tr[++ce]===Tr[++ze]&&Tr[++ce]===Tr[++ze]&&Tr[++ce]===Tr[++ze]&&Tr[++ce]===Tr[++ze]&&Tr[++ce]===Tr[++ze]&&ce<Dr);if(dt=Ft-(Dr-ce),ce=Dr-Ft,dt>pr){if(D.match_start=at,pr=dt,dt>=er)break;Jr=Tr[ce+pr-1],tn=Tr[ce+pr]}}while((at=Ur[at&Bn])>ur&&--wt!==0);return pr<=D.lookahead?pr:D.lookahead}function tt(D){var at=D.w_size,wt,ce,ze,dt,pr;do{if(dt=D.window_size-D.lookahead-D.strstart,D.strstart>=at+(at-kt)){p.arraySet(D.window,D.window,at,at,0),D.match_start-=at,D.strstart-=at,D.block_start-=at,ce=D.hash_size,wt=ce;do ze=D.head[--wt],D.head[wt]=ze>=at?ze-at:0;while(--ce);ce=at,wt=ce;do ze=D.prev[--wt],D.prev[wt]=ze>=at?ze-at:0;while(--ce);dt+=at}if(D.strm.avail_in===0)break;if(ce=oe(D.strm,D.window,D.strstart+D.lookahead,dt),D.lookahead+=ce,D.lookahead+D.insert>=ut)for(pr=D.strstart-D.insert,D.ins_h=D.window[pr],D.ins_h=(D.ins_h<<D.hash_shift^D.window[pr+1])&D.hash_mask;D.insert&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[pr+ut-1])&D.hash_mask,D.prev[pr&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=pr,pr++,D.insert--,!(D.lookahead+D.insert<ut)););}while(D.lookahead<kt&&D.strm.avail_in!==0)}function It(D,at){var wt=65535;for(wt>D.pending_buf_size-5&&(wt=D.pending_buf_size-5);;){if(D.lookahead<=1){if(tt(D),D.lookahead===0&&at===f)return Me;if(D.lookahead===0)break}D.strstart+=D.lookahead,D.lookahead=0;var ce=D.block_start+wt;if((D.strstart===0||D.strstart>=ce)&&(D.lookahead=D.strstart-ce,D.strstart=ce,c(D,!1),D.strm.avail_out===0)||D.strstart-D.block_start>=D.w_size-kt&&(c(D,!1),D.strm.avail_out===0))return Me}return D.insert=0,at===B?(c(D,!0),D.strm.avail_out===0?rt:_t):(D.strstart>D.block_start&&(c(D,!1),D.strm.avail_out===0),Me)}function zt(D,at){for(var wt,ce;;){if(D.lookahead<kt){if(tt(D),D.lookahead<kt&&at===f)return Me;if(D.lookahead===0)break}if(wt=0,D.lookahead>=ut&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+ut-1])&D.hash_mask,wt=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),wt!==0&&D.strstart-wt<=D.w_size-kt&&(D.match_length=Ne(D,wt)),D.match_length>=ut)if(ce=w._tr_tally(D,D.strstart-D.match_start,D.match_length-ut),D.lookahead-=D.match_length,D.match_length<=D.max_lazy_match&&D.lookahead>=ut){D.match_length--;do D.strstart++,D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+ut-1])&D.hash_mask,wt=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart;while(--D.match_length!==0);D.strstart++}else D.strstart+=D.match_length,D.match_length=0,D.ins_h=D.window[D.strstart],D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+1])&D.hash_mask;else ce=w._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++;if(ce&&(c(D,!1),D.strm.avail_out===0))return Me}return D.insert=D.strstart<ut-1?D.strstart:ut-1,at===B?(c(D,!0),D.strm.avail_out===0?rt:_t):D.last_lit&&(c(D,!1),D.strm.avail_out===0)?Me:xe}function De(D,at){for(var wt,ce,ze;;){if(D.lookahead<kt){if(tt(D),D.lookahead<kt&&at===f)return Me;if(D.lookahead===0)break}if(wt=0,D.lookahead>=ut&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+ut-1])&D.hash_mask,wt=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),D.prev_length=D.match_length,D.prev_match=D.match_start,D.match_length=ut-1,wt!==0&&D.prev_length<D.max_lazy_match&&D.strstart-wt<=D.w_size-kt&&(D.match_length=Ne(D,wt),D.match_length<=5&&(D.strategy===Y||D.match_length===ut&&D.strstart-D.match_start>4096)&&(D.match_length=ut-1)),D.prev_length>=ut&&D.match_length<=D.prev_length){ze=D.strstart+D.lookahead-ut,ce=w._tr_tally(D,D.strstart-1-D.prev_match,D.prev_length-ut),D.lookahead-=D.prev_length-1,D.prev_length-=2;do++D.strstart<=ze&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+ut-1])&D.hash_mask,wt=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart);while(--D.prev_length!==0);if(D.match_available=0,D.match_length=ut-1,D.strstart++,ce&&(c(D,!1),D.strm.avail_out===0))return Me}else if(D.match_available){if(ce=w._tr_tally(D,0,D.window[D.strstart-1]),ce&&c(D,!1),D.strstart++,D.lookahead--,D.strm.avail_out===0)return Me}else D.match_available=1,D.strstart++,D.lookahead--}return D.match_available&&(ce=w._tr_tally(D,0,D.window[D.strstart-1]),D.match_available=0),D.insert=D.strstart<ut-1?D.strstart:ut-1,at===B?(c(D,!0),D.strm.avail_out===0?rt:_t):D.last_lit&&(c(D,!1),D.strm.avail_out===0)?Me:xe}function Qe(D,at){for(var wt,ce,ze,dt,pr=D.window;;){if(D.lookahead<=Ft){if(tt(D),D.lookahead<=Ft&&at===f)return Me;if(D.lookahead===0)break}if(D.match_length=0,D.lookahead>=ut&&D.strstart>0&&(ze=D.strstart-1,ce=pr[ze],ce===pr[++ze]&&ce===pr[++ze]&&ce===pr[++ze])){dt=D.strstart+Ft;do;while(ce===pr[++ze]&&ce===pr[++ze]&&ce===pr[++ze]&&ce===pr[++ze]&&ce===pr[++ze]&&ce===pr[++ze]&&ce===pr[++ze]&&ce===pr[++ze]&&ze<dt);D.match_length=Ft-(dt-ze),D.match_length>D.lookahead&&(D.match_length=D.lookahead)}if(D.match_length>=ut?(wt=w._tr_tally(D,1,D.match_length-ut),D.lookahead-=D.match_length,D.strstart+=D.match_length,D.match_length=0):(wt=w._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++),wt&&(c(D,!1),D.strm.avail_out===0))return Me}return D.insert=0,at===B?(c(D,!0),D.strm.avail_out===0?rt:_t):D.last_lit&&(c(D,!1),D.strm.avail_out===0)?Me:xe}function H(D,at){for(var wt;;){if(D.lookahead===0&&(tt(D),D.lookahead===0)){if(at===f)return Me;break}if(D.match_length=0,wt=w._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++,wt&&(c(D,!1),D.strm.avail_out===0))return Me}return D.insert=0,at===B?(c(D,!0),D.strm.avail_out===0?rt:_t):D.last_lit&&(c(D,!1),D.strm.avail_out===0)?Me:xe}function y(D,at,wt,ce,ze){this.good_length=D,this.max_lazy=at,this.nice_length=wt,this.max_chain=ce,this.func=ze}var A;A=[new y(0,0,0,0,It),new y(4,4,8,4,zt),new y(4,5,16,8,zt),new y(4,6,32,32,zt),new y(4,4,16,16,De),new y(8,16,32,32,De),new y(8,16,128,128,De),new y(8,32,128,256,De),new y(32,128,258,1024,De),new y(32,258,258,4096,De)];function ue(D){D.window_size=2*D.w_size,yt(D.head),D.max_lazy_match=A[D.level].max_lazy,D.good_match=A[D.level].good_length,D.nice_match=A[D.level].nice_length,D.max_chain_length=A[D.level].max_chain,D.strstart=0,D.block_start=0,D.lookahead=0,D.insert=0,D.match_length=D.prev_length=ut-1,D.match_available=0,D.ins_h=0}function j(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=V,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new p.Buf16(Ue*2),this.dyn_dtree=new p.Buf16((2*Se+1)*2),this.bl_tree=new p.Buf16((2*Te+1)*2),yt(this.dyn_ltree),yt(this.dyn_dtree),yt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new p.Buf16(ft+1),this.heap=new p.Buf16(2*te+1),yt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new p.Buf16(2*te+1),yt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Ee(D){var at;return!D||!D.state?fe(D,L):(D.total_in=D.total_out=0,D.data_type=P,at=D.state,at.pending=0,at.pending_out=0,at.wrap<0&&(at.wrap=-at.wrap),at.status=at.wrap?se:Rt,D.adler=at.wrap===2?0:1,at.last_flush=f,w._tr_init(at),k)}function ye(D){var at=Ee(D);return at===k&&ue(D.state),at}function $e(D,at){return!D||!D.state||D.state.wrap!==2?L:(D.state.gzhead=at,k)}function Ce(D,at,wt,ce,ze,dt){if(!D)return L;var pr=1;if(at===S&&(at=6),ce<0?(pr=0,ce=-ce):ce>15&&(pr=2,ce-=16),ze<1||ze>X||wt!==V||ce<8||ce>15||at<0||at>9||dt<0||dt>ae)return fe(D,L);ce===8&&(ce=9);var er=new j;return D.state=er,er.strm=D,er.wrap=pr,er.gzhead=null,er.w_bits=ce,er.w_size=1<<er.w_bits,er.w_mask=er.w_size-1,er.hash_bits=ze+7,er.hash_size=1<<er.hash_bits,er.hash_mask=er.hash_size-1,er.hash_shift=~~((er.hash_bits+ut-1)/ut),er.window=new p.Buf8(er.w_size*2),er.head=new p.Buf16(er.hash_size),er.prev=new p.Buf16(er.w_size),er.lit_bufsize=1<<ze+6,er.pending_buf_size=er.lit_bufsize*4,er.pending_buf=new p.Buf8(er.pending_buf_size),er.d_buf=1*er.lit_bufsize,er.l_buf=3*er.lit_bufsize,er.level=at,er.strategy=dt,er.method=wt,ye(D)}function Ye(D,at){return Ce(D,at,V,me,we,ne)}function J(D,at){var wt,ce,ze,dt;if(!D||!D.state||at>M||at<0)return D?fe(D,L):L;if(ce=D.state,!D.output||!D.input&&D.avail_in!==0||ce.status===Bt&&at!==B)return fe(D,D.avail_out===0?U:L);if(ce.strm=D,wt=ce.last_flush,ce.last_flush=at,ce.status===se)if(ce.wrap===2)D.adler=0,s(ce,31),s(ce,139),s(ce,8),ce.gzhead?(s(ce,(ce.gzhead.text?1:0)+(ce.gzhead.hcrc?2:0)+(ce.gzhead.extra?4:0)+(ce.gzhead.name?8:0)+(ce.gzhead.comment?16:0)),s(ce,ce.gzhead.time&255),s(ce,ce.gzhead.time>>8&255),s(ce,ce.gzhead.time>>16&255),s(ce,ce.gzhead.time>>24&255),s(ce,ce.level===9?2:ce.strategy>=N||ce.level<2?4:0),s(ce,ce.gzhead.os&255),ce.gzhead.extra&&ce.gzhead.extra.length&&(s(ce,ce.gzhead.extra.length&255),s(ce,ce.gzhead.extra.length>>8&255)),ce.gzhead.hcrc&&(D.adler=h(D.adler,ce.pending_buf,ce.pending,0)),ce.gzindex=0,ce.status=He):(s(ce,0),s(ce,0),s(ce,0),s(ce,0),s(ce,0),s(ce,ce.level===9?2:ce.strategy>=N||ce.level<2?4:0),s(ce,Pt),ce.status=Rt);else{var pr=V+(ce.w_bits-8<<4)<<8,er=-1;ce.strategy>=N||ce.level<2?er=0:ce.level<6?er=1:ce.level===6?er=2:er=3,pr|=er<<6,ce.strstart!==0&&(pr|=ht),pr+=31-pr%31,ce.status=Rt,R(ce,pr),ce.strstart!==0&&(R(ce,D.adler>>>16),R(ce,D.adler&65535)),D.adler=1}if(ce.status===He)if(ce.gzhead.extra){for(ze=ce.pending;ce.gzindex<(ce.gzhead.extra.length&65535)&&!(ce.pending===ce.pending_buf_size&&(ce.gzhead.hcrc&&ce.pending>ze&&(D.adler=h(D.adler,ce.pending_buf,ce.pending-ze,ze)),F(D),ze=ce.pending,ce.pending===ce.pending_buf_size));)s(ce,ce.gzhead.extra[ce.gzindex]&255),ce.gzindex++;ce.gzhead.hcrc&&ce.pending>ze&&(D.adler=h(D.adler,ce.pending_buf,ce.pending-ze,ze)),ce.gzindex===ce.gzhead.extra.length&&(ce.gzindex=0,ce.status=ge)}else ce.status=ge;if(ce.status===ge)if(ce.gzhead.name){ze=ce.pending;do{if(ce.pending===ce.pending_buf_size&&(ce.gzhead.hcrc&&ce.pending>ze&&(D.adler=h(D.adler,ce.pending_buf,ce.pending-ze,ze)),F(D),ze=ce.pending,ce.pending===ce.pending_buf_size)){dt=1;break}ce.gzindex<ce.gzhead.name.length?dt=ce.gzhead.name.charCodeAt(ce.gzindex++)&255:dt=0,s(ce,dt)}while(dt!==0);ce.gzhead.hcrc&&ce.pending>ze&&(D.adler=h(D.adler,ce.pending_buf,ce.pending-ze,ze)),dt===0&&(ce.gzindex=0,ce.status=je)}else ce.status=je;if(ce.status===je)if(ce.gzhead.comment){ze=ce.pending;do{if(ce.pending===ce.pending_buf_size&&(ce.gzhead.hcrc&&ce.pending>ze&&(D.adler=h(D.adler,ce.pending_buf,ce.pending-ze,ze)),F(D),ze=ce.pending,ce.pending===ce.pending_buf_size)){dt=1;break}ce.gzindex<ce.gzhead.comment.length?dt=ce.gzhead.comment.charCodeAt(ce.gzindex++)&255:dt=0,s(ce,dt)}while(dt!==0);ce.gzhead.hcrc&&ce.pending>ze&&(D.adler=h(D.adler,ce.pending_buf,ce.pending-ze,ze)),dt===0&&(ce.status=nt)}else ce.status=nt;if(ce.status===nt&&(ce.gzhead.hcrc?(ce.pending+2>ce.pending_buf_size&&F(D),ce.pending+2<=ce.pending_buf_size&&(s(ce,D.adler&255),s(ce,D.adler>>8&255),D.adler=0,ce.status=Rt)):ce.status=Rt),ce.pending!==0){if(F(D),D.avail_out===0)return ce.last_flush=-1,k}else if(D.avail_in===0&&pe(at)<=pe(wt)&&at!==B)return fe(D,U);if(ce.status===Bt&&D.avail_in!==0)return fe(D,U);if(D.avail_in!==0||ce.lookahead!==0||at!==f&&ce.status!==Bt){var ur=ce.strategy===N?H(ce,at):ce.strategy===$?Qe(ce,at):A[ce.level].func(ce,at);if((ur===rt||ur===_t)&&(ce.status=Bt),ur===Me||ur===rt)return D.avail_out===0&&(ce.last_flush=-1),k;if(ur===xe&&(at===g?w._tr_align(ce):at!==M&&(w._tr_stored_block(ce,0,0,!1),at===l&&(yt(ce.head),ce.lookahead===0&&(ce.strstart=0,ce.block_start=0,ce.insert=0))),F(D),D.avail_out===0))return ce.last_flush=-1,k}return at!==B?k:ce.wrap<=0?W:(ce.wrap===2?(s(ce,D.adler&255),s(ce,D.adler>>8&255),s(ce,D.adler>>16&255),s(ce,D.adler>>24&255),s(ce,D.total_in&255),s(ce,D.total_in>>8&255),s(ce,D.total_in>>16&255),s(ce,D.total_in>>24&255)):(R(ce,D.adler>>>16),R(ce,D.adler&65535)),F(D),ce.wrap>0&&(ce.wrap=-ce.wrap),ce.pending!==0?k:W)}function Ct(D){var at;return!D||!D.state?L:(at=D.state.status,at!==se&&at!==He&&at!==ge&&at!==je&&at!==nt&&at!==Rt&&at!==Bt?fe(D,L):(D.state=null,at===Rt?fe(D,G):k))}function lr(D,at){var wt=at.length,ce,ze,dt,pr,er,ur,Tr,Bn;if(!D||!D.state||(ce=D.state,pr=ce.wrap,pr===2||pr===1&&ce.status!==se||ce.lookahead))return L;for(pr===1&&(D.adler=v(D.adler,at,wt,0)),ce.wrap=0,wt>=ce.w_size&&(pr===0&&(yt(ce.head),ce.strstart=0,ce.block_start=0,ce.insert=0),Bn=new p.Buf8(ce.w_size),p.arraySet(Bn,at,wt-ce.w_size,ce.w_size,0),at=Bn,wt=ce.w_size),er=D.avail_in,ur=D.next_in,Tr=D.input,D.avail_in=wt,D.next_in=0,D.input=at,tt(ce);ce.lookahead>=ut;){ze=ce.strstart,dt=ce.lookahead-(ut-1);do ce.ins_h=(ce.ins_h<<ce.hash_shift^ce.window[ze+ut-1])&ce.hash_mask,ce.prev[ze&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=ze,ze++;while(--dt);ce.strstart=ze,ce.lookahead=ut-1,tt(ce)}return ce.strstart+=ce.lookahead,ce.block_start=ce.strstart,ce.insert=ce.lookahead,ce.lookahead=0,ce.match_length=ce.prev_length=ut-1,ce.match_available=0,D.next_in=ur,D.input=Tr,D.avail_in=er,ce.wrap=pr,k}i.deflateInit=Ye,i.deflateInit2=Ce,i.deflateReset=ye,i.deflateResetKeep=Ee,i.deflateSetHeader=$e,i.deflate=J,i.deflateEnd=Ct,i.deflateSetDictionary=lr,i.deflateInfo="pako deflate (from Nodeca project)"}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inffast.js":(ee=>{"use strict";var i=30,u=12;ee.exports=function(w,v){var h,E,f,g,l,B,M,k,W,L,G,U,S,Y,N,$,ae,ne,P,V,X,me,we,Re,Ae;h=w.state,E=w.next_in,Re=w.input,f=E+(w.avail_in-5),g=w.next_out,Ae=w.output,l=g-(v-w.avail_out),B=g+(w.avail_out-257),M=h.dmax,k=h.wsize,W=h.whave,L=h.wnext,G=h.window,U=h.hold,S=h.bits,Y=h.lencode,N=h.distcode,$=(1<<h.lenbits)-1,ae=(1<<h.distbits)-1;e:do{S<15&&(U+=Re[E++]<<S,S+=8,U+=Re[E++]<<S,S+=8),ne=Y[U&$];t:for(;;){if(P=ne>>>24,U>>>=P,S-=P,P=ne>>>16&255,P===0)Ae[g++]=ne&65535;else if(P&16){V=ne&65535,P&=15,P&&(S<P&&(U+=Re[E++]<<S,S+=8),V+=U&(1<<P)-1,U>>>=P,S-=P),S<15&&(U+=Re[E++]<<S,S+=8,U+=Re[E++]<<S,S+=8),ne=N[U&ae];r:for(;;){if(P=ne>>>24,U>>>=P,S-=P,P=ne>>>16&255,P&16){if(X=ne&65535,P&=15,S<P&&(U+=Re[E++]<<S,S+=8,S<P&&(U+=Re[E++]<<S,S+=8)),X+=U&(1<<P)-1,X>M){w.msg="invalid distance too far back",h.mode=i;break e}if(U>>>=P,S-=P,P=g-l,X>P){if(P=X-P,P>W&&h.sane){w.msg="invalid distance too far back",h.mode=i;break e}if(me=0,we=G,L===0){if(me+=k-P,P<V){V-=P;do Ae[g++]=G[me++];while(--P);me=g-X,we=Ae}}else if(L<P){if(me+=k+L-P,P-=L,P<V){V-=P;do Ae[g++]=G[me++];while(--P);if(me=0,L<V){P=L,V-=P;do Ae[g++]=G[me++];while(--P);me=g-X,we=Ae}}}else if(me+=L-P,P<V){V-=P;do Ae[g++]=G[me++];while(--P);me=g-X,we=Ae}for(;V>2;)Ae[g++]=we[me++],Ae[g++]=we[me++],Ae[g++]=we[me++],V-=3;V&&(Ae[g++]=we[me++],V>1&&(Ae[g++]=we[me++]))}else{me=g-X;do Ae[g++]=Ae[me++],Ae[g++]=Ae[me++],Ae[g++]=Ae[me++],V-=3;while(V>2);V&&(Ae[g++]=Ae[me++],V>1&&(Ae[g++]=Ae[me++]))}}else if((P&64)===0){ne=N[(ne&65535)+(U&(1<<P)-1)];continue r}else{w.msg="invalid distance code",h.mode=i;break e}break}}else if((P&64)===0){ne=Y[(ne&65535)+(U&(1<<P)-1)];continue t}else if(P&32){h.mode=u;break e}else{w.msg="invalid literal/length code",h.mode=i;break e}break}}while(E<f&&g<B);V=S>>3,E-=V,S-=V<<3,U&=(1<<S)-1,w.next_in=E,w.next_out=g,w.avail_in=E<f?5+(f-E):5-(E-f),w.avail_out=g<B?257+(B-g):257-(g-B),h.hold=U,h.bits=S}}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inflate.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/utils/common.js"),w=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/adler32.js"),v=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/crc32.js"),h=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inffast.js"),E=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inftrees.js"),f=0,g=1,l=2,B=4,M=5,k=6,W=0,L=1,G=2,U=-2,S=-3,Y=-4,N=-5,$=8,ae=1,ne=2,P=3,V=4,X=5,me=6,we=7,Re=8,Ae=9,te=10,Se=11,Te=12,Ue=13,ft=14,ut=15,Ft=16,kt=17,ht=18,se=19,He=20,ge=21,je=22,nt=23,Rt=24,Bt=25,Me=26,xe=27,rt=28,_t=29,Pt=30,fe=31,pe=32,yt=852,F=592,c=15,s=c;function R(Ce){return(Ce>>>24&255)+(Ce>>>8&65280)+((Ce&65280)<<8)+((Ce&255)<<24)}function oe(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new p.Buf16(320),this.work=new p.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Ne(Ce){var Ye;return!Ce||!Ce.state?U:(Ye=Ce.state,Ce.total_in=Ce.total_out=Ye.total=0,Ce.msg="",Ye.wrap&&(Ce.adler=Ye.wrap&1),Ye.mode=ae,Ye.last=0,Ye.havedict=0,Ye.dmax=32768,Ye.head=null,Ye.hold=0,Ye.bits=0,Ye.lencode=Ye.lendyn=new p.Buf32(yt),Ye.distcode=Ye.distdyn=new p.Buf32(F),Ye.sane=1,Ye.back=-1,W)}function tt(Ce){var Ye;return!Ce||!Ce.state?U:(Ye=Ce.state,Ye.wsize=0,Ye.whave=0,Ye.wnext=0,Ne(Ce))}function It(Ce,Ye){var J,Ct;return!Ce||!Ce.state||(Ct=Ce.state,Ye<0?(J=0,Ye=-Ye):(J=(Ye>>4)+1,Ye<48&&(Ye&=15)),Ye&&(Ye<8||Ye>15))?U:(Ct.window!==null&&Ct.wbits!==Ye&&(Ct.window=null),Ct.wrap=J,Ct.wbits=Ye,tt(Ce))}function zt(Ce,Ye){var J,Ct;return Ce?(Ct=new oe,Ce.state=Ct,Ct.window=null,J=It(Ce,Ye),J!==W&&(Ce.state=null),J):U}function De(Ce){return zt(Ce,s)}var Qe=!0,H,y;function A(Ce){if(Qe){var Ye;for(H=new p.Buf32(512),y=new p.Buf32(32),Ye=0;Ye<144;)Ce.lens[Ye++]=8;for(;Ye<256;)Ce.lens[Ye++]=9;for(;Ye<280;)Ce.lens[Ye++]=7;for(;Ye<288;)Ce.lens[Ye++]=8;for(E(g,Ce.lens,0,288,H,0,Ce.work,{bits:9}),Ye=0;Ye<32;)Ce.lens[Ye++]=5;E(l,Ce.lens,0,32,y,0,Ce.work,{bits:5}),Qe=!1}Ce.lencode=H,Ce.lenbits=9,Ce.distcode=y,Ce.distbits=5}function ue(Ce,Ye,J,Ct){var lr,D=Ce.state;return D.window===null&&(D.wsize=1<<D.wbits,D.wnext=0,D.whave=0,D.window=new p.Buf8(D.wsize)),Ct>=D.wsize?(p.arraySet(D.window,Ye,J-D.wsize,D.wsize,0),D.wnext=0,D.whave=D.wsize):(lr=D.wsize-D.wnext,lr>Ct&&(lr=Ct),p.arraySet(D.window,Ye,J-Ct,lr,D.wnext),Ct-=lr,Ct?(p.arraySet(D.window,Ye,J-Ct,Ct,0),D.wnext=Ct,D.whave=D.wsize):(D.wnext+=lr,D.wnext===D.wsize&&(D.wnext=0),D.whave<D.wsize&&(D.whave+=lr))),0}function j(Ce,Ye){var J,Ct,lr,D,at,wt,ce,ze,dt,pr,er,ur,Tr,Bn,Ur=0,Dr,Jr,tn,tr,dn,un,xr,rn,$r=new p.Buf8(4),sn,En,qr=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Ce||!Ce.state||!Ce.output||!Ce.input&&Ce.avail_in!==0)return U;J=Ce.state,J.mode===Te&&(J.mode=Ue),at=Ce.next_out,lr=Ce.output,ce=Ce.avail_out,D=Ce.next_in,Ct=Ce.input,wt=Ce.avail_in,ze=J.hold,dt=J.bits,pr=wt,er=ce,rn=W;e:for(;;)switch(J.mode){case ae:if(J.wrap===0){J.mode=Ue;break}for(;dt<16;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if(J.wrap&2&&ze===35615){J.check=0,$r[0]=ze&255,$r[1]=ze>>>8&255,J.check=v(J.check,$r,2,0),ze=0,dt=0,J.mode=ne;break}if(J.flags=0,J.head&&(J.head.done=!1),!(J.wrap&1)||(((ze&255)<<8)+(ze>>8))%31){Ce.msg="incorrect header check",J.mode=Pt;break}if((ze&15)!==$){Ce.msg="unknown compression method",J.mode=Pt;break}if(ze>>>=4,dt-=4,xr=(ze&15)+8,J.wbits===0)J.wbits=xr;else if(xr>J.wbits){Ce.msg="invalid window size",J.mode=Pt;break}J.dmax=1<<xr,Ce.adler=J.check=1,J.mode=ze&512?te:Te,ze=0,dt=0;break;case ne:for(;dt<16;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if(J.flags=ze,(J.flags&255)!==$){Ce.msg="unknown compression method",J.mode=Pt;break}if(J.flags&57344){Ce.msg="unknown header flags set",J.mode=Pt;break}J.head&&(J.head.text=ze>>8&1),J.flags&512&&($r[0]=ze&255,$r[1]=ze>>>8&255,J.check=v(J.check,$r,2,0)),ze=0,dt=0,J.mode=P;case P:for(;dt<32;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}J.head&&(J.head.time=ze),J.flags&512&&($r[0]=ze&255,$r[1]=ze>>>8&255,$r[2]=ze>>>16&255,$r[3]=ze>>>24&255,J.check=v(J.check,$r,4,0)),ze=0,dt=0,J.mode=V;case V:for(;dt<16;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}J.head&&(J.head.xflags=ze&255,J.head.os=ze>>8),J.flags&512&&($r[0]=ze&255,$r[1]=ze>>>8&255,J.check=v(J.check,$r,2,0)),ze=0,dt=0,J.mode=X;case X:if(J.flags&1024){for(;dt<16;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}J.length=ze,J.head&&(J.head.extra_len=ze),J.flags&512&&($r[0]=ze&255,$r[1]=ze>>>8&255,J.check=v(J.check,$r,2,0)),ze=0,dt=0}else J.head&&(J.head.extra=null);J.mode=me;case me:if(J.flags&1024&&(ur=J.length,ur>wt&&(ur=wt),ur&&(J.head&&(xr=J.head.extra_len-J.length,J.head.extra||(J.head.extra=new Array(J.head.extra_len)),p.arraySet(J.head.extra,Ct,D,ur,xr)),J.flags&512&&(J.check=v(J.check,Ct,ur,D)),wt-=ur,D+=ur,J.length-=ur),J.length))break e;J.length=0,J.mode=we;case we:if(J.flags&2048){if(wt===0)break e;ur=0;do xr=Ct[D+ur++],J.head&&xr&&J.length<65536&&(J.head.name+=String.fromCharCode(xr));while(xr&&ur<wt);if(J.flags&512&&(J.check=v(J.check,Ct,ur,D)),wt-=ur,D+=ur,xr)break e}else J.head&&(J.head.name=null);J.length=0,J.mode=Re;case Re:if(J.flags&4096){if(wt===0)break e;ur=0;do xr=Ct[D+ur++],J.head&&xr&&J.length<65536&&(J.head.comment+=String.fromCharCode(xr));while(xr&&ur<wt);if(J.flags&512&&(J.check=v(J.check,Ct,ur,D)),wt-=ur,D+=ur,xr)break e}else J.head&&(J.head.comment=null);J.mode=Ae;case Ae:if(J.flags&512){for(;dt<16;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if(ze!==(J.check&65535)){Ce.msg="header crc mismatch",J.mode=Pt;break}ze=0,dt=0}J.head&&(J.head.hcrc=J.flags>>9&1,J.head.done=!0),Ce.adler=J.check=0,J.mode=Te;break;case te:for(;dt<32;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}Ce.adler=J.check=R(ze),ze=0,dt=0,J.mode=Se;case Se:if(J.havedict===0)return Ce.next_out=at,Ce.avail_out=ce,Ce.next_in=D,Ce.avail_in=wt,J.hold=ze,J.bits=dt,G;Ce.adler=J.check=1,J.mode=Te;case Te:if(Ye===M||Ye===k)break e;case Ue:if(J.last){ze>>>=dt&7,dt-=dt&7,J.mode=xe;break}for(;dt<3;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}switch(J.last=ze&1,ze>>>=1,dt-=1,ze&3){case 0:J.mode=ft;break;case 1:if(A(J),J.mode=He,Ye===k){ze>>>=2,dt-=2;break e}break;case 2:J.mode=kt;break;case 3:Ce.msg="invalid block type",J.mode=Pt}ze>>>=2,dt-=2;break;case ft:for(ze>>>=dt&7,dt-=dt&7;dt<32;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if((ze&65535)!==(ze>>>16^65535)){Ce.msg="invalid stored block lengths",J.mode=Pt;break}if(J.length=ze&65535,ze=0,dt=0,J.mode=ut,Ye===k)break e;case ut:J.mode=Ft;case Ft:if(ur=J.length,ur){if(ur>wt&&(ur=wt),ur>ce&&(ur=ce),ur===0)break e;p.arraySet(lr,Ct,D,ur,at),wt-=ur,D+=ur,ce-=ur,at+=ur,J.length-=ur;break}J.mode=Te;break;case kt:for(;dt<14;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if(J.nlen=(ze&31)+257,ze>>>=5,dt-=5,J.ndist=(ze&31)+1,ze>>>=5,dt-=5,J.ncode=(ze&15)+4,ze>>>=4,dt-=4,J.nlen>286||J.ndist>30){Ce.msg="too many length or distance symbols",J.mode=Pt;break}J.have=0,J.mode=ht;case ht:for(;J.have<J.ncode;){for(;dt<3;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}J.lens[qr[J.have++]]=ze&7,ze>>>=3,dt-=3}for(;J.have<19;)J.lens[qr[J.have++]]=0;if(J.lencode=J.lendyn,J.lenbits=7,sn={bits:J.lenbits},rn=E(f,J.lens,0,19,J.lencode,0,J.work,sn),J.lenbits=sn.bits,rn){Ce.msg="invalid code lengths set",J.mode=Pt;break}J.have=0,J.mode=se;case se:for(;J.have<J.nlen+J.ndist;){for(;Ur=J.lencode[ze&(1<<J.lenbits)-1],Dr=Ur>>>24,Jr=Ur>>>16&255,tn=Ur&65535,!(Dr<=dt);){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if(tn<16)ze>>>=Dr,dt-=Dr,J.lens[J.have++]=tn;else{if(tn===16){for(En=Dr+2;dt<En;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if(ze>>>=Dr,dt-=Dr,J.have===0){Ce.msg="invalid bit length repeat",J.mode=Pt;break}xr=J.lens[J.have-1],ur=3+(ze&3),ze>>>=2,dt-=2}else if(tn===17){for(En=Dr+3;dt<En;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}ze>>>=Dr,dt-=Dr,xr=0,ur=3+(ze&7),ze>>>=3,dt-=3}else{for(En=Dr+7;dt<En;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}ze>>>=Dr,dt-=Dr,xr=0,ur=11+(ze&127),ze>>>=7,dt-=7}if(J.have+ur>J.nlen+J.ndist){Ce.msg="invalid bit length repeat",J.mode=Pt;break}for(;ur--;)J.lens[J.have++]=xr}}if(J.mode===Pt)break;if(J.lens[256]===0){Ce.msg="invalid code -- missing end-of-block",J.mode=Pt;break}if(J.lenbits=9,sn={bits:J.lenbits},rn=E(g,J.lens,0,J.nlen,J.lencode,0,J.work,sn),J.lenbits=sn.bits,rn){Ce.msg="invalid literal/lengths set",J.mode=Pt;break}if(J.distbits=6,J.distcode=J.distdyn,sn={bits:J.distbits},rn=E(l,J.lens,J.nlen,J.ndist,J.distcode,0,J.work,sn),J.distbits=sn.bits,rn){Ce.msg="invalid distances set",J.mode=Pt;break}if(J.mode=He,Ye===k)break e;case He:J.mode=ge;case ge:if(wt>=6&&ce>=258){Ce.next_out=at,Ce.avail_out=ce,Ce.next_in=D,Ce.avail_in=wt,J.hold=ze,J.bits=dt,h(Ce,er),at=Ce.next_out,lr=Ce.output,ce=Ce.avail_out,D=Ce.next_in,Ct=Ce.input,wt=Ce.avail_in,ze=J.hold,dt=J.bits,J.mode===Te&&(J.back=-1);break}for(J.back=0;Ur=J.lencode[ze&(1<<J.lenbits)-1],Dr=Ur>>>24,Jr=Ur>>>16&255,tn=Ur&65535,!(Dr<=dt);){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if(Jr&&(Jr&240)===0){for(tr=Dr,dn=Jr,un=tn;Ur=J.lencode[un+((ze&(1<<tr+dn)-1)>>tr)],Dr=Ur>>>24,Jr=Ur>>>16&255,tn=Ur&65535,!(tr+Dr<=dt);){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}ze>>>=tr,dt-=tr,J.back+=tr}if(ze>>>=Dr,dt-=Dr,J.back+=Dr,J.length=tn,Jr===0){J.mode=Me;break}if(Jr&32){J.back=-1,J.mode=Te;break}if(Jr&64){Ce.msg="invalid literal/length code",J.mode=Pt;break}J.extra=Jr&15,J.mode=je;case je:if(J.extra){for(En=J.extra;dt<En;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}J.length+=ze&(1<<J.extra)-1,ze>>>=J.extra,dt-=J.extra,J.back+=J.extra}J.was=J.length,J.mode=nt;case nt:for(;Ur=J.distcode[ze&(1<<J.distbits)-1],Dr=Ur>>>24,Jr=Ur>>>16&255,tn=Ur&65535,!(Dr<=dt);){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if((Jr&240)===0){for(tr=Dr,dn=Jr,un=tn;Ur=J.distcode[un+((ze&(1<<tr+dn)-1)>>tr)],Dr=Ur>>>24,Jr=Ur>>>16&255,tn=Ur&65535,!(tr+Dr<=dt);){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}ze>>>=tr,dt-=tr,J.back+=tr}if(ze>>>=Dr,dt-=Dr,J.back+=Dr,Jr&64){Ce.msg="invalid distance code",J.mode=Pt;break}J.offset=tn,J.extra=Jr&15,J.mode=Rt;case Rt:if(J.extra){for(En=J.extra;dt<En;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}J.offset+=ze&(1<<J.extra)-1,ze>>>=J.extra,dt-=J.extra,J.back+=J.extra}if(J.offset>J.dmax){Ce.msg="invalid distance too far back",J.mode=Pt;break}J.mode=Bt;case Bt:if(ce===0)break e;if(ur=er-ce,J.offset>ur){if(ur=J.offset-ur,ur>J.whave&&J.sane){Ce.msg="invalid distance too far back",J.mode=Pt;break}ur>J.wnext?(ur-=J.wnext,Tr=J.wsize-ur):Tr=J.wnext-ur,ur>J.length&&(ur=J.length),Bn=J.window}else Bn=lr,Tr=at-J.offset,ur=J.length;ur>ce&&(ur=ce),ce-=ur,J.length-=ur;do lr[at++]=Bn[Tr++];while(--ur);J.length===0&&(J.mode=ge);break;case Me:if(ce===0)break e;lr[at++]=J.length,ce--,J.mode=ge;break;case xe:if(J.wrap){for(;dt<32;){if(wt===0)break e;wt--,ze|=Ct[D++]<<dt,dt+=8}if(er-=ce,Ce.total_out+=er,J.total+=er,er&&(Ce.adler=J.check=J.flags?v(J.check,lr,er,at-er):w(J.check,lr,er,at-er)),er=ce,(J.flags?ze:R(ze))!==J.check){Ce.msg="incorrect data check",J.mode=Pt;break}ze=0,dt=0}J.mode=rt;case rt:if(J.wrap&&J.flags){for(;dt<32;){if(wt===0)break e;wt--,ze+=Ct[D++]<<dt,dt+=8}if(ze!==(J.total&4294967295)){Ce.msg="incorrect length check",J.mode=Pt;break}ze=0,dt=0}J.mode=_t;case _t:rn=L;break e;case Pt:rn=S;break e;case fe:return Y;case pe:default:return U}return Ce.next_out=at,Ce.avail_out=ce,Ce.next_in=D,Ce.avail_in=wt,J.hold=ze,J.bits=dt,(J.wsize||er!==Ce.avail_out&&J.mode<Pt&&(J.mode<xe||Ye!==B))&&ue(Ce,Ce.output,Ce.next_out,er-Ce.avail_out)?(J.mode=fe,Y):(pr-=Ce.avail_in,er-=Ce.avail_out,Ce.total_in+=pr,Ce.total_out+=er,J.total+=er,J.wrap&&er&&(Ce.adler=J.check=J.flags?v(J.check,lr,er,Ce.next_out-er):w(J.check,lr,er,Ce.next_out-er)),Ce.data_type=J.bits+(J.last?64:0)+(J.mode===Te?128:0)+(J.mode===He||J.mode===ut?256:0),(pr===0&&er===0||Ye===B)&&rn===W&&(rn=N),rn)}function Ee(Ce){if(!Ce||!Ce.state)return U;var Ye=Ce.state;return Ye.window&&(Ye.window=null),Ce.state=null,W}function ye(Ce,Ye){var J;return!Ce||!Ce.state||(J=Ce.state,(J.wrap&2)===0)?U:(J.head=Ye,Ye.done=!1,W)}function $e(Ce,Ye){var J=Ye.length,Ct,lr,D;return!Ce||!Ce.state||(Ct=Ce.state,Ct.wrap!==0&&Ct.mode!==Se)?U:Ct.mode===Se&&(lr=1,lr=w(lr,Ye,J,0),lr!==Ct.check)?S:(D=ue(Ce,Ye,J,J),D?(Ct.mode=fe,Y):(Ct.havedict=1,W))}i.inflateReset=tt,i.inflateReset2=It,i.inflateResetKeep=Ne,i.inflateInit=De,i.inflateInit2=zt,i.inflate=j,i.inflateEnd=Ee,i.inflateGetHeader=ye,i.inflateSetDictionary=$e,i.inflateInfo="pako inflate (from Nodeca project)"}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inftrees.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/utils/common.js"),w=15,v=852,h=592,E=0,f=1,g=2,l=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],B=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],M=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],k=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];ee.exports=function(L,G,U,S,Y,N,$,ae){var ne=ae.bits,P=0,V=0,X=0,me=0,we=0,Re=0,Ae=0,te=0,Se=0,Te=0,Ue,ft,ut,Ft,kt,ht=null,se=0,He,ge=new p.Buf16(w+1),je=new p.Buf16(w+1),nt=null,Rt=0,Bt,Me,xe;for(P=0;P<=w;P++)ge[P]=0;for(V=0;V<S;V++)ge[G[U+V]]++;for(we=ne,me=w;me>=1&&ge[me]===0;me--);if(we>me&&(we=me),me===0)return Y[N++]=1<<24|64<<16|0,Y[N++]=1<<24|64<<16|0,ae.bits=1,0;for(X=1;X<me&&ge[X]===0;X++);for(we<X&&(we=X),te=1,P=1;P<=w;P++)if(te<<=1,te-=ge[P],te<0)return-1;if(te>0&&(L===E||me!==1))return-1;for(je[1]=0,P=1;P<w;P++)je[P+1]=je[P]+ge[P];for(V=0;V<S;V++)G[U+V]!==0&&($[je[G[U+V]]++]=V);if(L===E?(ht=nt=$,He=19):L===f?(ht=l,se-=257,nt=B,Rt-=257,He=256):(ht=M,nt=k,He=-1),Te=0,V=0,P=X,kt=N,Re=we,Ae=0,ut=-1,Se=1<<we,Ft=Se-1,L===f&&Se>v||L===g&&Se>h)return 1;for(;;){Bt=P-Ae,$[V]<He?(Me=0,xe=$[V]):$[V]>He?(Me=nt[Rt+$[V]],xe=ht[se+$[V]]):(Me=96,xe=0),Ue=1<<P-Ae,ft=1<<Re,X=ft;do ft-=Ue,Y[kt+(Te>>Ae)+ft]=Bt<<24|Me<<16|xe|0;while(ft!==0);for(Ue=1<<P-1;Te&Ue;)Ue>>=1;if(Ue!==0?(Te&=Ue-1,Te+=Ue):Te=0,V++,--ge[P]===0){if(P===me)break;P=G[U+$[V]]}if(P>we&&(Te&Ft)!==ut){for(Ae===0&&(Ae=we),kt+=X,Re=P-Ae,te=1<<Re;Re+Ae<me&&(te-=ge[Re+Ae],!(te<=0));)Re++,te<<=1;if(Se+=1<<Re,L===f&&Se>v||L===g&&Se>h)return 1;ut=Te&Ft,Y[ut]=we<<24|Re<<16|kt-N|0}}return Te!==0&&(Y[kt+Te]=P-Ae<<24|64<<16|0),ae.bits=we,0}}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/messages.js":(ee=>{"use strict";ee.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/trees.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/utils/common.js"),w=4,v=0,h=1,E=2;function f(j){for(var Ee=j.length;--Ee>=0;)j[Ee]=0}var g=0,l=1,B=2,M=3,k=258,W=29,L=256,G=L+1+W,U=30,S=19,Y=2*G+1,N=15,$=16,ae=7,ne=256,P=16,V=17,X=18,me=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],we=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Re=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],te=512,Se=new Array((G+2)*2);f(Se);var Te=new Array(U*2);f(Te);var Ue=new Array(te);f(Ue);var ft=new Array(k-M+1);f(ft);var ut=new Array(W);f(ut);var Ft=new Array(U);f(Ft);function kt(j,Ee,ye,$e,Ce){this.static_tree=j,this.extra_bits=Ee,this.extra_base=ye,this.elems=$e,this.max_length=Ce,this.has_stree=j&&j.length}var ht,se,He;function ge(j,Ee){this.dyn_tree=j,this.max_code=0,this.stat_desc=Ee}function je(j){return j<256?Ue[j]:Ue[256+(j>>>7)]}function nt(j,Ee){j.pending_buf[j.pending++]=Ee&255,j.pending_buf[j.pending++]=Ee>>>8&255}function Rt(j,Ee,ye){j.bi_valid>$-ye?(j.bi_buf|=Ee<<j.bi_valid&65535,nt(j,j.bi_buf),j.bi_buf=Ee>>$-j.bi_valid,j.bi_valid+=ye-$):(j.bi_buf|=Ee<<j.bi_valid&65535,j.bi_valid+=ye)}function Bt(j,Ee,ye){Rt(j,ye[Ee*2],ye[Ee*2+1])}function Me(j,Ee){var ye=0;do ye|=j&1,j>>>=1,ye<<=1;while(--Ee>0);return ye>>>1}function xe(j){j.bi_valid===16?(nt(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):j.bi_valid>=8&&(j.pending_buf[j.pending++]=j.bi_buf&255,j.bi_buf>>=8,j.bi_valid-=8)}function rt(j,Ee){var ye=Ee.dyn_tree,$e=Ee.max_code,Ce=Ee.stat_desc.static_tree,Ye=Ee.stat_desc.has_stree,J=Ee.stat_desc.extra_bits,Ct=Ee.stat_desc.extra_base,lr=Ee.stat_desc.max_length,D,at,wt,ce,ze,dt,pr=0;for(ce=0;ce<=N;ce++)j.bl_count[ce]=0;for(ye[j.heap[j.heap_max]*2+1]=0,D=j.heap_max+1;D<Y;D++)at=j.heap[D],ce=ye[ye[at*2+1]*2+1]+1,ce>lr&&(ce=lr,pr++),ye[at*2+1]=ce,!(at>$e)&&(j.bl_count[ce]++,ze=0,at>=Ct&&(ze=J[at-Ct]),dt=ye[at*2],j.opt_len+=dt*(ce+ze),Ye&&(j.static_len+=dt*(Ce[at*2+1]+ze)));if(pr!==0){do{for(ce=lr-1;j.bl_count[ce]===0;)ce--;j.bl_count[ce]--,j.bl_count[ce+1]+=2,j.bl_count[lr]--,pr-=2}while(pr>0);for(ce=lr;ce!==0;ce--)for(at=j.bl_count[ce];at!==0;)wt=j.heap[--D],!(wt>$e)&&(ye[wt*2+1]!==ce&&(j.opt_len+=(ce-ye[wt*2+1])*ye[wt*2],ye[wt*2+1]=ce),at--)}}function _t(j,Ee,ye){var $e=new Array(N+1),Ce=0,Ye,J;for(Ye=1;Ye<=N;Ye++)$e[Ye]=Ce=Ce+ye[Ye-1]<<1;for(J=0;J<=Ee;J++){var Ct=j[J*2+1];Ct!==0&&(j[J*2]=Me($e[Ct]++,Ct))}}function Pt(){var j,Ee,ye,$e,Ce,Ye=new Array(N+1);for(ye=0,$e=0;$e<W-1;$e++)for(ut[$e]=ye,j=0;j<1<<me[$e];j++)ft[ye++]=$e;for(ft[ye-1]=$e,Ce=0,$e=0;$e<16;$e++)for(Ft[$e]=Ce,j=0;j<1<<we[$e];j++)Ue[Ce++]=$e;for(Ce>>=7;$e<U;$e++)for(Ft[$e]=Ce<<7,j=0;j<1<<we[$e]-7;j++)Ue[256+Ce++]=$e;for(Ee=0;Ee<=N;Ee++)Ye[Ee]=0;for(j=0;j<=143;)Se[j*2+1]=8,j++,Ye[8]++;for(;j<=255;)Se[j*2+1]=9,j++,Ye[9]++;for(;j<=279;)Se[j*2+1]=7,j++,Ye[7]++;for(;j<=287;)Se[j*2+1]=8,j++,Ye[8]++;for(_t(Se,G+1,Ye),j=0;j<U;j++)Te[j*2+1]=5,Te[j*2]=Me(j,5);ht=new kt(Se,me,L+1,G,N),se=new kt(Te,we,0,U,N),He=new kt(new Array(0),Re,0,S,ae)}function fe(j){var Ee;for(Ee=0;Ee<G;Ee++)j.dyn_ltree[Ee*2]=0;for(Ee=0;Ee<U;Ee++)j.dyn_dtree[Ee*2]=0;for(Ee=0;Ee<S;Ee++)j.bl_tree[Ee*2]=0;j.dyn_ltree[ne*2]=1,j.opt_len=j.static_len=0,j.last_lit=j.matches=0}function pe(j){j.bi_valid>8?nt(j,j.bi_buf):j.bi_valid>0&&(j.pending_buf[j.pending++]=j.bi_buf),j.bi_buf=0,j.bi_valid=0}function yt(j,Ee,ye,$e){pe(j),$e&&(nt(j,ye),nt(j,~ye)),p.arraySet(j.pending_buf,j.window,Ee,ye,j.pending),j.pending+=ye}function F(j,Ee,ye,$e){var Ce=Ee*2,Ye=ye*2;return j[Ce]<j[Ye]||j[Ce]===j[Ye]&&$e[Ee]<=$e[ye]}function c(j,Ee,ye){for(var $e=j.heap[ye],Ce=ye<<1;Ce<=j.heap_len&&(Ce<j.heap_len&&F(Ee,j.heap[Ce+1],j.heap[Ce],j.depth)&&Ce++,!F(Ee,$e,j.heap[Ce],j.depth));)j.heap[ye]=j.heap[Ce],ye=Ce,Ce<<=1;j.heap[ye]=$e}function s(j,Ee,ye){var $e,Ce,Ye=0,J,Ct;if(j.last_lit!==0)do $e=j.pending_buf[j.d_buf+Ye*2]<<8|j.pending_buf[j.d_buf+Ye*2+1],Ce=j.pending_buf[j.l_buf+Ye],Ye++,$e===0?Bt(j,Ce,Ee):(J=ft[Ce],Bt(j,J+L+1,Ee),Ct=me[J],Ct!==0&&(Ce-=ut[J],Rt(j,Ce,Ct)),$e--,J=je($e),Bt(j,J,ye),Ct=we[J],Ct!==0&&($e-=Ft[J],Rt(j,$e,Ct)));while(Ye<j.last_lit);Bt(j,ne,Ee)}function R(j,Ee){var ye=Ee.dyn_tree,$e=Ee.stat_desc.static_tree,Ce=Ee.stat_desc.has_stree,Ye=Ee.stat_desc.elems,J,Ct,lr=-1,D;for(j.heap_len=0,j.heap_max=Y,J=0;J<Ye;J++)ye[J*2]!==0?(j.heap[++j.heap_len]=lr=J,j.depth[J]=0):ye[J*2+1]=0;for(;j.heap_len<2;)D=j.heap[++j.heap_len]=lr<2?++lr:0,ye[D*2]=1,j.depth[D]=0,j.opt_len--,Ce&&(j.static_len-=$e[D*2+1]);for(Ee.max_code=lr,J=j.heap_len>>1;J>=1;J--)c(j,ye,J);D=Ye;do J=j.heap[1],j.heap[1]=j.heap[j.heap_len--],c(j,ye,1),Ct=j.heap[1],j.heap[--j.heap_max]=J,j.heap[--j.heap_max]=Ct,ye[D*2]=ye[J*2]+ye[Ct*2],j.depth[D]=(j.depth[J]>=j.depth[Ct]?j.depth[J]:j.depth[Ct])+1,ye[J*2+1]=ye[Ct*2+1]=D,j.heap[1]=D++,c(j,ye,1);while(j.heap_len>=2);j.heap[--j.heap_max]=j.heap[1],rt(j,Ee),_t(ye,lr,j.bl_count)}function oe(j,Ee,ye){var $e,Ce=-1,Ye,J=Ee[1],Ct=0,lr=7,D=4;for(J===0&&(lr=138,D=3),Ee[(ye+1)*2+1]=65535,$e=0;$e<=ye;$e++)Ye=J,J=Ee[($e+1)*2+1],!(++Ct<lr&&Ye===J)&&(Ct<D?j.bl_tree[Ye*2]+=Ct:Ye!==0?(Ye!==Ce&&j.bl_tree[Ye*2]++,j.bl_tree[P*2]++):Ct<=10?j.bl_tree[V*2]++:j.bl_tree[X*2]++,Ct=0,Ce=Ye,J===0?(lr=138,D=3):Ye===J?(lr=6,D=3):(lr=7,D=4))}function Ne(j,Ee,ye){var $e,Ce=-1,Ye,J=Ee[1],Ct=0,lr=7,D=4;for(J===0&&(lr=138,D=3),$e=0;$e<=ye;$e++)if(Ye=J,J=Ee[($e+1)*2+1],!(++Ct<lr&&Ye===J)){if(Ct<D)do Bt(j,Ye,j.bl_tree);while(--Ct!==0);else Ye!==0?(Ye!==Ce&&(Bt(j,Ye,j.bl_tree),Ct--),Bt(j,P,j.bl_tree),Rt(j,Ct-3,2)):Ct<=10?(Bt(j,V,j.bl_tree),Rt(j,Ct-3,3)):(Bt(j,X,j.bl_tree),Rt(j,Ct-11,7));Ct=0,Ce=Ye,J===0?(lr=138,D=3):Ye===J?(lr=6,D=3):(lr=7,D=4)}}function tt(j){var Ee;for(oe(j,j.dyn_ltree,j.l_desc.max_code),oe(j,j.dyn_dtree,j.d_desc.max_code),R(j,j.bl_desc),Ee=S-1;Ee>=3&&j.bl_tree[Ae[Ee]*2+1]===0;Ee--);return j.opt_len+=3*(Ee+1)+5+5+4,Ee}function It(j,Ee,ye,$e){var Ce;for(Rt(j,Ee-257,5),Rt(j,ye-1,5),Rt(j,$e-4,4),Ce=0;Ce<$e;Ce++)Rt(j,j.bl_tree[Ae[Ce]*2+1],3);Ne(j,j.dyn_ltree,Ee-1),Ne(j,j.dyn_dtree,ye-1)}function zt(j){var Ee=4093624447,ye;for(ye=0;ye<=31;ye++,Ee>>>=1)if(Ee&1&&j.dyn_ltree[ye*2]!==0)return v;if(j.dyn_ltree[18]!==0||j.dyn_ltree[20]!==0||j.dyn_ltree[26]!==0)return h;for(ye=32;ye<L;ye++)if(j.dyn_ltree[ye*2]!==0)return h;return v}var De=!1;function Qe(j){De||(Pt(),De=!0),j.l_desc=new ge(j.dyn_ltree,ht),j.d_desc=new ge(j.dyn_dtree,se),j.bl_desc=new ge(j.bl_tree,He),j.bi_buf=0,j.bi_valid=0,fe(j)}function H(j,Ee,ye,$e){Rt(j,(g<<1)+($e?1:0),3),yt(j,Ee,ye,!0)}function y(j){Rt(j,l<<1,3),Bt(j,ne,Se),xe(j)}function A(j,Ee,ye,$e){var Ce,Ye,J=0;j.level>0?(j.strm.data_type===E&&(j.strm.data_type=zt(j)),R(j,j.l_desc),R(j,j.d_desc),J=tt(j),Ce=j.opt_len+3+7>>>3,Ye=j.static_len+3+7>>>3,Ye<=Ce&&(Ce=Ye)):Ce=Ye=ye+5,ye+4<=Ce&&Ee!==-1?H(j,Ee,ye,$e):j.strategy===w||Ye===Ce?(Rt(j,(l<<1)+($e?1:0),3),s(j,Se,Te)):(Rt(j,(B<<1)+($e?1:0),3),It(j,j.l_desc.max_code+1,j.d_desc.max_code+1,J+1),s(j,j.dyn_ltree,j.dyn_dtree)),fe(j),$e&&pe(j)}function ue(j,Ee,ye){return j.pending_buf[j.d_buf+j.last_lit*2]=Ee>>>8&255,j.pending_buf[j.d_buf+j.last_lit*2+1]=Ee&255,j.pending_buf[j.l_buf+j.last_lit]=ye&255,j.last_lit++,Ee===0?j.dyn_ltree[ye*2]++:(j.matches++,Ee--,j.dyn_ltree[(ft[ye]+L+1)*2]++,j.dyn_dtree[je(Ee)*2]++),j.last_lit===j.lit_bufsize-1}i._tr_init=Qe,i._tr_stored_block=H,i._tr_flush_block=A,i._tr_tally=ue,i._tr_align=y}),"../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/zstream.js":(ee=>{"use strict";function i(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}ee.exports=i}),"../../node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js":(ee=>{"use strict";ee.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),"../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js":(ee=>{var i=ee.exports={},u,p;function w(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?u=setTimeout:u=w}catch{u=w}try{typeof clearTimeout=="function"?p=clearTimeout:p=v}catch{p=v}})();function h(G){if(u===setTimeout)return setTimeout(G,0);if((u===w||!u)&&setTimeout)return u=setTimeout,setTimeout(G,0);try{return u(G,0)}catch{try{return u.call(null,G,0)}catch{return u.call(this,G,0)}}}function E(G){if(p===clearTimeout)return clearTimeout(G);if((p===v||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(G);try{return p(G)}catch{try{return p.call(null,G)}catch{return p.call(this,G)}}}var f=[],g=!1,l,B=-1;function M(){!g||!l||(g=!1,l.length?f=l.concat(f):B=-1,f.length&&k())}function k(){if(!g){var G=h(M);g=!0;for(var U=f.length;U;){for(l=f,f=[];++B<U;)l&&l[B].run();B=-1,U=f.length}l=null,g=!1,E(G)}}i.nextTick=function(G){var U=new Array(arguments.length-1);if(arguments.length>1)for(var S=1;S<arguments.length;S++)U[S-1]=arguments[S];f.push(new W(G,U)),f.length===1&&!g&&h(k)};function W(G,U){this.fun=G,this.array=U}W.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={};function L(){}i.on=L,i.addListener=L,i.once=L,i.off=L,i.removeListener=L,i.removeAllListeners=L,i.emit=L,i.prependListener=L,i.prependOnceListener=L,i.listeners=function(G){return[]},i.binding=function(G){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(G){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js":(ee=>{"use strict";function i(f,g){f.prototype=Object.create(g.prototype),f.prototype.constructor=f,f.__proto__=g}var u={};function p(f,g,l){l||(l=Error);function B(k,W,L){return typeof g=="string"?g:g(k,W,L)}var M=(function(k){i(W,k);function W(L,G,U){return k.call(this,B(L,G,U))||this}return W})(l);M.prototype.name=l.name,M.prototype.code=f,u[f]=M}function w(f,g){if(Array.isArray(f)){var l=f.length;return f=f.map(function(B){return String(B)}),l>2?"one of ".concat(g," ").concat(f.slice(0,l-1).join(", "),", or ")+f[l-1]:l===2?"one of ".concat(g," ").concat(f[0]," or ").concat(f[1]):"of ".concat(g," ").concat(f[0])}else return"of ".concat(g," ").concat(String(f))}function v(f,g,l){return f.substr(!l||l<0?0:+l,g.length)===g}function h(f,g,l){return(l===void 0||l>f.length)&&(l=f.length),f.substring(l-g.length,l)===g}function E(f,g,l){return typeof l!="number"&&(l=0),l+g.length>f.length?!1:f.indexOf(g,l)!==-1}p("ERR_INVALID_OPT_VALUE",function(f,g){return'The value "'+g+'" is invalid for option "'+f+'"'},TypeError),p("ERR_INVALID_ARG_TYPE",function(f,g,l){var B;typeof g=="string"&&v(g,"not ")?(B="must not be",g=g.replace(/^not /,"")):B="must be";var M;if(h(f," argument"))M="The ".concat(f," ").concat(B," ").concat(w(g,"type"));else{var k=E(f,".")?"property":"argument";M='The "'.concat(f,'" ').concat(k," ").concat(B," ").concat(w(g,"type"))}return M+=". Received type ".concat(typeof l),M},TypeError),p("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),p("ERR_METHOD_NOT_IMPLEMENTED",function(f){return"The "+f+" method is not implemented"}),p("ERR_STREAM_PREMATURE_CLOSE","Premature close"),p("ERR_STREAM_DESTROYED",function(f){return"Cannot call "+f+" after a stream was destroyed"}),p("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),p("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),p("ERR_STREAM_WRITE_AFTER_END","write after end"),p("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),p("ERR_UNKNOWN_ENCODING",function(f){return"Unknown encoding: "+f},TypeError),p("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ee.exports.codes=u}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),w=Object.keys||function(k){var W=[];for(var L in k)W.push(L);return W};ee.exports=l;var v=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_readable.js"),h=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_writable.js");u("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js")(l,v);for(var E=w(h.prototype),f=0;f<E.length;f++){var g=E[f];l.prototype[g]||(l.prototype[g]=h.prototype[g])}function l(k){if(!(this instanceof l))return new l(k);v.call(this,k),h.call(this,k),this.allowHalfOpen=!0,k&&(k.readable===!1&&(this.readable=!1),k.writable===!1&&(this.writable=!1),k.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",B)))}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function B(){this._writableState.ended||p.nextTick(M,this)}function M(k){k.end()}Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(W){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=W,this._writableState.destroyed=W)}})}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_passthrough.js":((ee,i,u)=>{"use strict";ee.exports=w;var p=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_transform.js");u("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js")(w,p);function w(v){if(!(this instanceof w))return new w(v);p.call(this,v)}w.prototype._transform=function(v,h,E){E(null,v)}}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_readable.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");ee.exports=Ae;var w;Ae.ReadableState=Re;var v=u("../../node_modules/.pnpm/events@3.3.0/node_modules/events/events.js").EventEmitter,h=function(pe,yt){return pe.listeners(yt).length},E=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/stream-browser.js"),f=u("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer,g=(typeof u.g<"u"?u.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function l(fe){return f.from(fe)}function B(fe){return f.isBuffer(fe)||fe instanceof g}var M=u("?0685"),k;M&&M.debuglog?k=M.debuglog("stream"):k=function(){};var W=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/buffer_list.js"),L=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/destroy.js"),G=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/state.js"),U=G.getHighWaterMark,S=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js").codes,Y=S.ERR_INVALID_ARG_TYPE,N=S.ERR_STREAM_PUSH_AFTER_EOF,$=S.ERR_METHOD_NOT_IMPLEMENTED,ae=S.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ne,P,V;u("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js")(Ae,E);var X=L.errorOrDestroy,me=["error","close","destroy","pause","resume"];function we(fe,pe,yt){if(typeof fe.prependListener=="function")return fe.prependListener(pe,yt);!fe._events||!fe._events[pe]?fe.on(pe,yt):Array.isArray(fe._events[pe])?fe._events[pe].unshift(yt):fe._events[pe]=[yt,fe._events[pe]]}function Re(fe,pe,yt){w=w||u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js"),fe=fe||{},typeof yt!="boolean"&&(yt=pe instanceof w),this.objectMode=!!fe.objectMode,yt&&(this.objectMode=this.objectMode||!!fe.readableObjectMode),this.highWaterMark=U(this,fe,"readableHighWaterMark",yt),this.buffer=new W,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=fe.emitClose!==!1,this.autoDestroy=!!fe.autoDestroy,this.destroyed=!1,this.defaultEncoding=fe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,fe.encoding&&(ne||(ne=u("../../node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/lib/string_decoder.js").StringDecoder),this.decoder=new ne(fe.encoding),this.encoding=fe.encoding)}function Ae(fe){if(w=w||u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js"),!(this instanceof Ae))return new Ae(fe);var pe=this instanceof w;this._readableState=new Re(fe,this,pe),this.readable=!0,fe&&(typeof fe.read=="function"&&(this._read=fe.read),typeof fe.destroy=="function"&&(this._destroy=fe.destroy)),E.call(this)}Object.defineProperty(Ae.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(pe){this._readableState&&(this._readableState.destroyed=pe)}}),Ae.prototype.destroy=L.destroy,Ae.prototype._undestroy=L.undestroy,Ae.prototype._destroy=function(fe,pe){pe(fe)},Ae.prototype.push=function(fe,pe){var yt=this._readableState,F;return yt.objectMode?F=!0:typeof fe=="string"&&(pe=pe||yt.defaultEncoding,pe!==yt.encoding&&(fe=f.from(fe,pe),pe=""),F=!0),te(this,fe,pe,!1,F)},Ae.prototype.unshift=function(fe){return te(this,fe,null,!0,!1)};function te(fe,pe,yt,F,c){k("readableAddChunk",pe);var s=fe._readableState;if(pe===null)s.reading=!1,Ft(fe,s);else{var R;if(c||(R=Te(s,pe)),R)X(fe,R);else if(s.objectMode||pe&&pe.length>0)if(typeof pe!="string"&&!s.objectMode&&Object.getPrototypeOf(pe)!==f.prototype&&(pe=l(pe)),F)s.endEmitted?X(fe,new ae):Se(fe,s,pe,!0);else if(s.ended)X(fe,new N);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!yt?(pe=s.decoder.write(pe),s.objectMode||pe.length!==0?Se(fe,s,pe,!1):se(fe,s)):Se(fe,s,pe,!1)}else F||(s.reading=!1,se(fe,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function Se(fe,pe,yt,F){pe.flowing&&pe.length===0&&!pe.sync?(pe.awaitDrain=0,fe.emit("data",yt)):(pe.length+=pe.objectMode?1:yt.length,F?pe.buffer.unshift(yt):pe.buffer.push(yt),pe.needReadable&&kt(fe)),se(fe,pe)}function Te(fe,pe){var yt;return!B(pe)&&typeof pe!="string"&&pe!==void 0&&!fe.objectMode&&(yt=new Y("chunk",["string","Buffer","Uint8Array"],pe)),yt}Ae.prototype.isPaused=function(){return this._readableState.flowing===!1},Ae.prototype.setEncoding=function(fe){ne||(ne=u("../../node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/lib/string_decoder.js").StringDecoder);var pe=new ne(fe);this._readableState.decoder=pe,this._readableState.encoding=this._readableState.decoder.encoding;for(var yt=this._readableState.buffer.head,F="";yt!==null;)F+=pe.write(yt.data),yt=yt.next;return this._readableState.buffer.clear(),F!==""&&this._readableState.buffer.push(F),this._readableState.length=F.length,this};var Ue=1073741824;function ft(fe){return fe>=Ue?fe=Ue:(fe--,fe|=fe>>>1,fe|=fe>>>2,fe|=fe>>>4,fe|=fe>>>8,fe|=fe>>>16,fe++),fe}function ut(fe,pe){return fe<=0||pe.length===0&&pe.ended?0:pe.objectMode?1:fe!==fe?pe.flowing&&pe.length?pe.buffer.head.data.length:pe.length:(fe>pe.highWaterMark&&(pe.highWaterMark=ft(fe)),fe<=pe.length?fe:pe.ended?pe.length:(pe.needReadable=!0,0))}Ae.prototype.read=function(fe){k("read",fe),fe=parseInt(fe,10);var pe=this._readableState,yt=fe;if(fe!==0&&(pe.emittedReadable=!1),fe===0&&pe.needReadable&&((pe.highWaterMark!==0?pe.length>=pe.highWaterMark:pe.length>0)||pe.ended))return k("read: emitReadable",pe.length,pe.ended),pe.length===0&&pe.ended?rt(this):kt(this),null;if(fe=ut(fe,pe),fe===0&&pe.ended)return pe.length===0&&rt(this),null;var F=pe.needReadable;k("need readable",F),(pe.length===0||pe.length-fe<pe.highWaterMark)&&(F=!0,k("length less than watermark",F)),pe.ended||pe.reading?(F=!1,k("reading or ended",F)):F&&(k("do read"),pe.reading=!0,pe.sync=!0,pe.length===0&&(pe.needReadable=!0),this._read(pe.highWaterMark),pe.sync=!1,pe.reading||(fe=ut(yt,pe)));var c;return fe>0?c=xe(fe,pe):c=null,c===null?(pe.needReadable=pe.length<=pe.highWaterMark,fe=0):(pe.length-=fe,pe.awaitDrain=0),pe.length===0&&(pe.ended||(pe.needReadable=!0),yt!==fe&&pe.ended&&rt(this)),c!==null&&this.emit("data",c),c};function Ft(fe,pe){if(k("onEofChunk"),!pe.ended){if(pe.decoder){var yt=pe.decoder.end();yt&&yt.length&&(pe.buffer.push(yt),pe.length+=pe.objectMode?1:yt.length)}pe.ended=!0,pe.sync?kt(fe):(pe.needReadable=!1,pe.emittedReadable||(pe.emittedReadable=!0,ht(fe)))}}function kt(fe){var pe=fe._readableState;k("emitReadable",pe.needReadable,pe.emittedReadable),pe.needReadable=!1,pe.emittedReadable||(k("emitReadable",pe.flowing),pe.emittedReadable=!0,p.nextTick(ht,fe))}function ht(fe){var pe=fe._readableState;k("emitReadable_",pe.destroyed,pe.length,pe.ended),!pe.destroyed&&(pe.length||pe.ended)&&(fe.emit("readable"),pe.emittedReadable=!1),pe.needReadable=!pe.flowing&&!pe.ended&&pe.length<=pe.highWaterMark,Me(fe)}function se(fe,pe){pe.readingMore||(pe.readingMore=!0,p.nextTick(He,fe,pe))}function He(fe,pe){for(;!pe.reading&&!pe.ended&&(pe.length<pe.highWaterMark||pe.flowing&&pe.length===0);){var yt=pe.length;if(k("maybeReadMore read 0"),fe.read(0),yt===pe.length)break}pe.readingMore=!1}Ae.prototype._read=function(fe){X(this,new $("_read()"))},Ae.prototype.pipe=function(fe,pe){var yt=this,F=this._readableState;switch(F.pipesCount){case 0:F.pipes=fe;break;case 1:F.pipes=[F.pipes,fe];break;default:F.pipes.push(fe);break}F.pipesCount+=1,k("pipe count=%d opts=%j",F.pipesCount,pe);var c=(!pe||pe.end!==!1)&&fe!==p.stdout&&fe!==p.stderr,s=c?oe:y;F.endEmitted?p.nextTick(s):yt.once("end",s),fe.on("unpipe",R);function R(A,ue){k("onunpipe"),A===yt&&ue&&ue.hasUnpiped===!1&&(ue.hasUnpiped=!0,It())}function oe(){k("onend"),fe.end()}var Ne=ge(yt);fe.on("drain",Ne);var tt=!1;function It(){k("cleanup"),fe.removeListener("close",Qe),fe.removeListener("finish",H),fe.removeListener("drain",Ne),fe.removeListener("error",De),fe.removeListener("unpipe",R),yt.removeListener("end",oe),yt.removeListener("end",y),yt.removeListener("data",zt),tt=!0,F.awaitDrain&&(!fe._writableState||fe._writableState.needDrain)&&Ne()}yt.on("data",zt);function zt(A){k("ondata");var ue=fe.write(A);k("dest.write",ue),ue===!1&&((F.pipesCount===1&&F.pipes===fe||F.pipesCount>1&&Pt(F.pipes,fe)!==-1)&&!tt&&(k("false write response, pause",F.awaitDrain),F.awaitDrain++),yt.pause())}function De(A){k("onerror",A),y(),fe.removeListener("error",De),h(fe,"error")===0&&X(fe,A)}we(fe,"error",De);function Qe(){fe.removeListener("finish",H),y()}fe.once("close",Qe);function H(){k("onfinish"),fe.removeListener("close",Qe),y()}fe.once("finish",H);function y(){k("unpipe"),yt.unpipe(fe)}return fe.emit("pipe",yt),F.flowing||(k("pipe resume"),yt.resume()),fe};function ge(fe){return function(){var yt=fe._readableState;k("pipeOnDrain",yt.awaitDrain),yt.awaitDrain&&yt.awaitDrain--,yt.awaitDrain===0&&h(fe,"data")&&(yt.flowing=!0,Me(fe))}}Ae.prototype.unpipe=function(fe){var pe=this._readableState,yt={hasUnpiped:!1};if(pe.pipesCount===0)return this;if(pe.pipesCount===1)return fe&&fe!==pe.pipes?this:(fe||(fe=pe.pipes),pe.pipes=null,pe.pipesCount=0,pe.flowing=!1,fe&&fe.emit("unpipe",this,yt),this);if(!fe){var F=pe.pipes,c=pe.pipesCount;pe.pipes=null,pe.pipesCount=0,pe.flowing=!1;for(var s=0;s<c;s++)F[s].emit("unpipe",this,{hasUnpiped:!1});return this}var R=Pt(pe.pipes,fe);return R===-1?this:(pe.pipes.splice(R,1),pe.pipesCount-=1,pe.pipesCount===1&&(pe.pipes=pe.pipes[0]),fe.emit("unpipe",this,yt),this)},Ae.prototype.on=function(fe,pe){var yt=E.prototype.on.call(this,fe,pe),F=this._readableState;return fe==="data"?(F.readableListening=this.listenerCount("readable")>0,F.flowing!==!1&&this.resume()):fe==="readable"&&!F.endEmitted&&!F.readableListening&&(F.readableListening=F.needReadable=!0,F.flowing=!1,F.emittedReadable=!1,k("on readable",F.length,F.reading),F.length?kt(this):F.reading||p.nextTick(nt,this)),yt},Ae.prototype.addListener=Ae.prototype.on,Ae.prototype.removeListener=function(fe,pe){var yt=E.prototype.removeListener.call(this,fe,pe);return fe==="readable"&&p.nextTick(je,this),yt},Ae.prototype.removeAllListeners=function(fe){var pe=E.prototype.removeAllListeners.apply(this,arguments);return(fe==="readable"||fe===void 0)&&p.nextTick(je,this),pe};function je(fe){var pe=fe._readableState;pe.readableListening=fe.listenerCount("readable")>0,pe.resumeScheduled&&!pe.paused?pe.flowing=!0:fe.listenerCount("data")>0&&fe.resume()}function nt(fe){k("readable nexttick read 0"),fe.read(0)}Ae.prototype.resume=function(){var fe=this._readableState;return fe.flowing||(k("resume"),fe.flowing=!fe.readableListening,Rt(this,fe)),fe.paused=!1,this};function Rt(fe,pe){pe.resumeScheduled||(pe.resumeScheduled=!0,p.nextTick(Bt,fe,pe))}function Bt(fe,pe){k("resume",pe.reading),pe.reading||fe.read(0),pe.resumeScheduled=!1,fe.emit("resume"),Me(fe),pe.flowing&&!pe.reading&&fe.read(0)}Ae.prototype.pause=function(){return k("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(k("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Me(fe){var pe=fe._readableState;for(k("flow",pe.flowing);pe.flowing&&fe.read()!==null;);}Ae.prototype.wrap=function(fe){var pe=this,yt=this._readableState,F=!1;fe.on("end",function(){if(k("wrapped end"),yt.decoder&&!yt.ended){var R=yt.decoder.end();R&&R.length&&pe.push(R)}pe.push(null)}),fe.on("data",function(R){if(k("wrapped data"),yt.decoder&&(R=yt.decoder.write(R)),!(yt.objectMode&&R==null)&&!(!yt.objectMode&&(!R||!R.length))){var oe=pe.push(R);oe||(F=!0,fe.pause())}});for(var c in fe)this[c]===void 0&&typeof fe[c]=="function"&&(this[c]=(function(oe){return function(){return fe[oe].apply(fe,arguments)}})(c));for(var s=0;s<me.length;s++)fe.on(me[s],this.emit.bind(this,me[s]));return this._read=function(R){k("wrapped _read",R),F&&(F=!1,fe.resume())},this},typeof Symbol=="function"&&(Ae.prototype[Symbol.asyncIterator]=function(){return P===void 0&&(P=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/async_iterator.js")),P(this)}),Object.defineProperty(Ae.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Ae.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Ae.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(pe){this._readableState&&(this._readableState.flowing=pe)}}),Ae._fromList=xe,Object.defineProperty(Ae.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function xe(fe,pe){if(pe.length===0)return null;var yt;return pe.objectMode?yt=pe.buffer.shift():!fe||fe>=pe.length?(pe.decoder?yt=pe.buffer.join(""):pe.buffer.length===1?yt=pe.buffer.first():yt=pe.buffer.concat(pe.length),pe.buffer.clear()):yt=pe.buffer.consume(fe,pe.decoder),yt}function rt(fe){var pe=fe._readableState;k("endReadable",pe.endEmitted),pe.endEmitted||(pe.ended=!0,p.nextTick(_t,pe,fe))}function _t(fe,pe){if(k("endReadableNT",fe.endEmitted,fe.length),!fe.endEmitted&&fe.length===0&&(fe.endEmitted=!0,pe.readable=!1,pe.emit("end"),fe.autoDestroy)){var yt=pe._writableState;(!yt||yt.autoDestroy&&yt.finished)&&pe.destroy()}}typeof Symbol=="function"&&(Ae.from=function(fe,pe){return V===void 0&&(V=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/from-browser.js")),V(Ae,fe,pe)});function Pt(fe,pe){for(var yt=0,F=fe.length;yt<F;yt++)if(fe[yt]===pe)return yt;return-1}}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_transform.js":((ee,i,u)=>{"use strict";ee.exports=l;var p=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js").codes,w=p.ERR_METHOD_NOT_IMPLEMENTED,v=p.ERR_MULTIPLE_CALLBACK,h=p.ERR_TRANSFORM_ALREADY_TRANSFORMING,E=p.ERR_TRANSFORM_WITH_LENGTH_0,f=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js");u("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js")(l,f);function g(k,W){var L=this._transformState;L.transforming=!1;var G=L.writecb;if(G===null)return this.emit("error",new v);L.writechunk=null,L.writecb=null,W!=null&&this.push(W),G(k);var U=this._readableState;U.reading=!1,(U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}function l(k){if(!(this instanceof l))return new l(k);f.call(this,k),this._transformState={afterTransform:g.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,k&&(typeof k.transform=="function"&&(this._transform=k.transform),typeof k.flush=="function"&&(this._flush=k.flush)),this.on("prefinish",B)}function B(){var k=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(W,L){M(k,W,L)}):M(this,null,null)}l.prototype.push=function(k,W){return this._transformState.needTransform=!1,f.prototype.push.call(this,k,W)},l.prototype._transform=function(k,W,L){L(new w("_transform()"))},l.prototype._write=function(k,W,L){var G=this._transformState;if(G.writecb=L,G.writechunk=k,G.writeencoding=W,!G.transforming){var U=this._readableState;(G.needTransform||U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}},l.prototype._read=function(k){var W=this._transformState;W.writechunk!==null&&!W.transforming?(W.transforming=!0,this._transform(W.writechunk,W.writeencoding,W.afterTransform)):W.needTransform=!0},l.prototype._destroy=function(k,W){f.prototype._destroy.call(this,k,function(L){W(L)})};function M(k,W,L){if(W)return k.emit("error",W);if(L!=null&&k.push(L),k._writableState.length)throw new E;if(k._transformState.transforming)throw new h;return k.push(null)}}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_writable.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");ee.exports=Re;function w(Me,xe,rt){this.chunk=Me,this.encoding=xe,this.callback=rt,this.next=null}function v(Me){var xe=this;this.next=null,this.entry=null,this.finish=function(){Bt(xe,Me)}}var h;Re.WritableState=me;var E={deprecate:u("../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js")},f=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/stream-browser.js"),g=u("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer,l=(typeof u.g<"u"?u.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function B(Me){return g.from(Me)}function M(Me){return g.isBuffer(Me)||Me instanceof l}var k=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/destroy.js"),W=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/state.js"),L=W.getHighWaterMark,G=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js").codes,U=G.ERR_INVALID_ARG_TYPE,S=G.ERR_METHOD_NOT_IMPLEMENTED,Y=G.ERR_MULTIPLE_CALLBACK,N=G.ERR_STREAM_CANNOT_PIPE,$=G.ERR_STREAM_DESTROYED,ae=G.ERR_STREAM_NULL_VALUES,ne=G.ERR_STREAM_WRITE_AFTER_END,P=G.ERR_UNKNOWN_ENCODING,V=k.errorOrDestroy;u("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js")(Re,f);function X(){}function me(Me,xe,rt){h=h||u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js"),Me=Me||{},typeof rt!="boolean"&&(rt=xe instanceof h),this.objectMode=!!Me.objectMode,rt&&(this.objectMode=this.objectMode||!!Me.writableObjectMode),this.highWaterMark=L(this,Me,"writableHighWaterMark",rt),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var _t=Me.decodeStrings===!1;this.decodeStrings=!_t,this.defaultEncoding=Me.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Pt){Ft(xe,Pt)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Me.emitClose!==!1,this.autoDestroy=!!Me.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new v(this)}me.prototype.getBuffer=function(){for(var xe=this.bufferedRequest,rt=[];xe;)rt.push(xe),xe=xe.next;return rt},(function(){try{Object.defineProperty(me.prototype,"buffer",{get:E.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var we;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(we=Function.prototype[Symbol.hasInstance],Object.defineProperty(Re,Symbol.hasInstance,{value:function(xe){return we.call(this,xe)?!0:this!==Re?!1:xe&&xe._writableState instanceof me}})):we=function(xe){return xe instanceof this};function Re(Me){h=h||u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js");var xe=this instanceof h;if(!xe&&!we.call(Re,this))return new Re(Me);this._writableState=new me(Me,this,xe),this.writable=!0,Me&&(typeof Me.write=="function"&&(this._write=Me.write),typeof Me.writev=="function"&&(this._writev=Me.writev),typeof Me.destroy=="function"&&(this._destroy=Me.destroy),typeof Me.final=="function"&&(this._final=Me.final)),f.call(this)}Re.prototype.pipe=function(){V(this,new N)};function Ae(Me,xe){var rt=new ne;V(Me,rt),p.nextTick(xe,rt)}function te(Me,xe,rt,_t){var Pt;return rt===null?Pt=new ae:typeof rt!="string"&&!xe.objectMode&&(Pt=new U("chunk",["string","Buffer"],rt)),Pt?(V(Me,Pt),p.nextTick(_t,Pt),!1):!0}Re.prototype.write=function(Me,xe,rt){var _t=this._writableState,Pt=!1,fe=!_t.objectMode&&M(Me);return fe&&!g.isBuffer(Me)&&(Me=B(Me)),typeof xe=="function"&&(rt=xe,xe=null),fe?xe="buffer":xe||(xe=_t.defaultEncoding),typeof rt!="function"&&(rt=X),_t.ending?Ae(this,rt):(fe||te(this,_t,Me,rt))&&(_t.pendingcb++,Pt=Te(this,_t,fe,Me,xe,rt)),Pt},Re.prototype.cork=function(){this._writableState.corked++},Re.prototype.uncork=function(){var Me=this._writableState;Me.corked&&(Me.corked--,!Me.writing&&!Me.corked&&!Me.bufferProcessing&&Me.bufferedRequest&&se(this,Me))},Re.prototype.setDefaultEncoding=function(xe){if(typeof xe=="string"&&(xe=xe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((xe+"").toLowerCase())>-1))throw new P(xe);return this._writableState.defaultEncoding=xe,this},Object.defineProperty(Re.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Se(Me,xe,rt){return!Me.objectMode&&Me.decodeStrings!==!1&&typeof xe=="string"&&(xe=g.from(xe,rt)),xe}Object.defineProperty(Re.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Te(Me,xe,rt,_t,Pt,fe){if(!rt){var pe=Se(xe,_t,Pt);_t!==pe&&(rt=!0,Pt="buffer",_t=pe)}var yt=xe.objectMode?1:_t.length;xe.length+=yt;var F=xe.length<xe.highWaterMark;if(F||(xe.needDrain=!0),xe.writing||xe.corked){var c=xe.lastBufferedRequest;xe.lastBufferedRequest={chunk:_t,encoding:Pt,isBuf:rt,callback:fe,next:null},c?c.next=xe.lastBufferedRequest:xe.bufferedRequest=xe.lastBufferedRequest,xe.bufferedRequestCount+=1}else Ue(Me,xe,!1,yt,_t,Pt,fe);return F}function Ue(Me,xe,rt,_t,Pt,fe,pe){xe.writelen=_t,xe.writecb=pe,xe.writing=!0,xe.sync=!0,xe.destroyed?xe.onwrite(new $("write")):rt?Me._writev(Pt,xe.onwrite):Me._write(Pt,fe,xe.onwrite),xe.sync=!1}function ft(Me,xe,rt,_t,Pt){--xe.pendingcb,rt?(p.nextTick(Pt,_t),p.nextTick(nt,Me,xe),Me._writableState.errorEmitted=!0,V(Me,_t)):(Pt(_t),Me._writableState.errorEmitted=!0,V(Me,_t),nt(Me,xe))}function ut(Me){Me.writing=!1,Me.writecb=null,Me.length-=Me.writelen,Me.writelen=0}function Ft(Me,xe){var rt=Me._writableState,_t=rt.sync,Pt=rt.writecb;if(typeof Pt!="function")throw new Y;if(ut(rt),xe)ft(Me,rt,_t,xe,Pt);else{var fe=He(rt)||Me.destroyed;!fe&&!rt.corked&&!rt.bufferProcessing&&rt.bufferedRequest&&se(Me,rt),_t?p.nextTick(kt,Me,rt,fe,Pt):kt(Me,rt,fe,Pt)}}function kt(Me,xe,rt,_t){rt||ht(Me,xe),xe.pendingcb--,_t(),nt(Me,xe)}function ht(Me,xe){xe.length===0&&xe.needDrain&&(xe.needDrain=!1,Me.emit("drain"))}function se(Me,xe){xe.bufferProcessing=!0;var rt=xe.bufferedRequest;if(Me._writev&&rt&&rt.next){var _t=xe.bufferedRequestCount,Pt=new Array(_t),fe=xe.corkedRequestsFree;fe.entry=rt;for(var pe=0,yt=!0;rt;)Pt[pe]=rt,rt.isBuf||(yt=!1),rt=rt.next,pe+=1;Pt.allBuffers=yt,Ue(Me,xe,!0,xe.length,Pt,"",fe.finish),xe.pendingcb++,xe.lastBufferedRequest=null,fe.next?(xe.corkedRequestsFree=fe.next,fe.next=null):xe.corkedRequestsFree=new v(xe),xe.bufferedRequestCount=0}else{for(;rt;){var F=rt.chunk,c=rt.encoding,s=rt.callback,R=xe.objectMode?1:F.length;if(Ue(Me,xe,!1,R,F,c,s),rt=rt.next,xe.bufferedRequestCount--,xe.writing)break}rt===null&&(xe.lastBufferedRequest=null)}xe.bufferedRequest=rt,xe.bufferProcessing=!1}Re.prototype._write=function(Me,xe,rt){rt(new S("_write()"))},Re.prototype._writev=null,Re.prototype.end=function(Me,xe,rt){var _t=this._writableState;return typeof Me=="function"?(rt=Me,Me=null,xe=null):typeof xe=="function"&&(rt=xe,xe=null),Me!=null&&this.write(Me,xe),_t.corked&&(_t.corked=1,this.uncork()),_t.ending||Rt(this,_t,rt),this},Object.defineProperty(Re.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function He(Me){return Me.ending&&Me.length===0&&Me.bufferedRequest===null&&!Me.finished&&!Me.writing}function ge(Me,xe){Me._final(function(rt){xe.pendingcb--,rt&&V(Me,rt),xe.prefinished=!0,Me.emit("prefinish"),nt(Me,xe)})}function je(Me,xe){!xe.prefinished&&!xe.finalCalled&&(typeof Me._final=="function"&&!xe.destroyed?(xe.pendingcb++,xe.finalCalled=!0,p.nextTick(ge,Me,xe)):(xe.prefinished=!0,Me.emit("prefinish")))}function nt(Me,xe){var rt=He(xe);if(rt&&(je(Me,xe),xe.pendingcb===0&&(xe.finished=!0,Me.emit("finish"),xe.autoDestroy))){var _t=Me._readableState;(!_t||_t.autoDestroy&&_t.endEmitted)&&Me.destroy()}return rt}function Rt(Me,xe,rt){xe.ending=!0,nt(Me,xe),rt&&(xe.finished?p.nextTick(rt):Me.once("finish",rt)),xe.ended=!0,Me.writable=!1}function Bt(Me,xe,rt){var _t=Me.entry;for(Me.entry=null;_t;){var Pt=_t.callback;xe.pendingcb--,Pt(rt),_t=_t.next}xe.corkedRequestsFree.next=Me}Object.defineProperty(Re.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(xe){this._writableState&&(this._writableState.destroyed=xe)}}),Re.prototype.destroy=k.destroy,Re.prototype._undestroy=k.undestroy,Re.prototype._destroy=function(Me,xe){xe(Me)}}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/async_iterator.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),w;function v(ne,P,V){return P=h(P),P in ne?Object.defineProperty(ne,P,{value:V,enumerable:!0,configurable:!0,writable:!0}):ne[P]=V,ne}function h(ne){var P=E(ne,"string");return typeof P=="symbol"?P:String(P)}function E(ne,P){if(typeof ne!="object"||ne===null)return ne;var V=ne[Symbol.toPrimitive];if(V!==void 0){var X=V.call(ne,P||"default");if(typeof X!="object")return X;throw new TypeError("@@toPrimitive must return a primitive value.")}return(P==="string"?String:Number)(ne)}var f=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"),g=Symbol("lastResolve"),l=Symbol("lastReject"),B=Symbol("error"),M=Symbol("ended"),k=Symbol("lastPromise"),W=Symbol("handlePromise"),L=Symbol("stream");function G(ne,P){return{value:ne,done:P}}function U(ne){var P=ne[g];if(P!==null){var V=ne[L].read();V!==null&&(ne[k]=null,ne[g]=null,ne[l]=null,P(G(V,!1)))}}function S(ne){p.nextTick(U,ne)}function Y(ne,P){return function(V,X){ne.then(function(){if(P[M]){V(G(void 0,!0));return}P[W](V,X)},X)}}var N=Object.getPrototypeOf(function(){}),$=Object.setPrototypeOf((w={get stream(){return this[L]},next:function(){var P=this,V=this[B];if(V!==null)return Promise.reject(V);if(this[M])return Promise.resolve(G(void 0,!0));if(this[L].destroyed)return new Promise(function(Re,Ae){p.nextTick(function(){P[B]?Ae(P[B]):Re(G(void 0,!0))})});var X=this[k],me;if(X)me=new Promise(Y(X,this));else{var we=this[L].read();if(we!==null)return Promise.resolve(G(we,!1));me=new Promise(this[W])}return this[k]=me,me}},v(w,Symbol.asyncIterator,function(){return this}),v(w,"return",function(){var P=this;return new Promise(function(V,X){P[L].destroy(null,function(me){if(me){X(me);return}V(G(void 0,!0))})})}),w),N),ae=function(P){var V,X=Object.create($,(V={},v(V,L,{value:P,writable:!0}),v(V,g,{value:null,writable:!0}),v(V,l,{value:null,writable:!0}),v(V,B,{value:null,writable:!0}),v(V,M,{value:P._readableState.endEmitted,writable:!0}),v(V,W,{value:function(we,Re){var Ae=X[L].read();Ae?(X[k]=null,X[g]=null,X[l]=null,we(G(Ae,!1))):(X[g]=we,X[l]=Re)},writable:!0}),V));return X[k]=null,f(P,function(me){if(me&&me.code!=="ERR_STREAM_PREMATURE_CLOSE"){var we=X[l];we!==null&&(X[k]=null,X[g]=null,X[l]=null,we(me)),X[B]=me;return}var Re=X[g];Re!==null&&(X[k]=null,X[g]=null,X[l]=null,Re(G(void 0,!0))),X[M]=!0}),P.on("readable",S.bind(null,X)),X};ee.exports=ae}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/buffer_list.js":((ee,i,u)=>{"use strict";function p(U,S){var Y=Object.keys(U);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(U);S&&(N=N.filter(function($){return Object.getOwnPropertyDescriptor(U,$).enumerable})),Y.push.apply(Y,N)}return Y}function w(U){for(var S=1;S<arguments.length;S++){var Y=arguments[S]!=null?arguments[S]:{};S%2?p(Object(Y),!0).forEach(function(N){v(U,N,Y[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(Y)):p(Object(Y)).forEach(function(N){Object.defineProperty(U,N,Object.getOwnPropertyDescriptor(Y,N))})}return U}function v(U,S,Y){return S=g(S),S in U?Object.defineProperty(U,S,{value:Y,enumerable:!0,configurable:!0,writable:!0}):U[S]=Y,U}function h(U,S){if(!(U instanceof S))throw new TypeError("Cannot call a class as a function")}function E(U,S){for(var Y=0;Y<S.length;Y++){var N=S[Y];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(U,g(N.key),N)}}function f(U,S,Y){return S&&E(U.prototype,S),Y&&E(U,Y),Object.defineProperty(U,"prototype",{writable:!1}),U}function g(U){var S=l(U,"string");return typeof S=="symbol"?S:String(S)}function l(U,S){if(typeof U!="object"||U===null)return U;var Y=U[Symbol.toPrimitive];if(Y!==void 0){var N=Y.call(U,S||"default");if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(S==="string"?String:Number)(U)}var B=u("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js"),M=B.Buffer,k=u("?2e0d"),W=k.inspect,L=W&&W.custom||"inspect";function G(U,S,Y){M.prototype.copy.call(U,S,Y)}ee.exports=(function(){function U(){h(this,U),this.head=null,this.tail=null,this.length=0}return f(U,[{key:"push",value:function(Y){var N={data:Y,next:null};this.length>0?this.tail.next=N:this.head=N,this.tail=N,++this.length}},{key:"unshift",value:function(Y){var N={data:Y,next:this.head};this.length===0&&(this.tail=N),this.head=N,++this.length}},{key:"shift",value:function(){if(this.length!==0){var Y=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Y}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Y){if(this.length===0)return"";for(var N=this.head,$=""+N.data;N=N.next;)$+=Y+N.data;return $}},{key:"concat",value:function(Y){if(this.length===0)return M.alloc(0);for(var N=M.allocUnsafe(Y>>>0),$=this.head,ae=0;$;)G($.data,N,ae),ae+=$.data.length,$=$.next;return N}},{key:"consume",value:function(Y,N){var $;return Y<this.head.data.length?($=this.head.data.slice(0,Y),this.head.data=this.head.data.slice(Y)):Y===this.head.data.length?$=this.shift():$=N?this._getString(Y):this._getBuffer(Y),$}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(Y){var N=this.head,$=1,ae=N.data;for(Y-=ae.length;N=N.next;){var ne=N.data,P=Y>ne.length?ne.length:Y;if(P===ne.length?ae+=ne:ae+=ne.slice(0,Y),Y-=P,Y===0){P===ne.length?(++$,N.next?this.head=N.next:this.head=this.tail=null):(this.head=N,N.data=ne.slice(P));break}++$}return this.length-=$,ae}},{key:"_getBuffer",value:function(Y){var N=M.allocUnsafe(Y),$=this.head,ae=1;for($.data.copy(N),Y-=$.data.length;$=$.next;){var ne=$.data,P=Y>ne.length?ne.length:Y;if(ne.copy(N,N.length-Y,0,P),Y-=P,Y===0){P===ne.length?(++ae,$.next?this.head=$.next:this.head=this.tail=null):(this.head=$,$.data=ne.slice(P));break}++ae}return this.length-=ae,N}},{key:L,value:function(Y,N){return W(this,w(w({},N),{},{depth:0,customInspect:!1}))}}]),U})()}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/destroy.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");function w(l,B){var M=this,k=this._readableState&&this._readableState.destroyed,W=this._writableState&&this._writableState.destroyed;return k||W?(B?B(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,p.nextTick(f,this,l)):p.nextTick(f,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(L){!B&&L?M._writableState?M._writableState.errorEmitted?p.nextTick(h,M):(M._writableState.errorEmitted=!0,p.nextTick(v,M,L)):p.nextTick(v,M,L):B?(p.nextTick(h,M),B(L)):p.nextTick(h,M)}),this)}function v(l,B){f(l,B),h(l)}function h(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function E(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function f(l,B){l.emit("error",B)}function g(l,B){var M=l._readableState,k=l._writableState;M&&M.autoDestroy||k&&k.autoDestroy?l.destroy(B):l.emit("error",B)}ee.exports={destroy:w,undestroy:E,errorOrDestroy:g}}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/end-of-stream.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js").codes.ERR_STREAM_PREMATURE_CLOSE;function w(f){var g=!1;return function(){if(!g){g=!0;for(var l=arguments.length,B=new Array(l),M=0;M<l;M++)B[M]=arguments[M];f.apply(this,B)}}}function v(){}function h(f){return f.setHeader&&typeof f.abort=="function"}function E(f,g,l){if(typeof g=="function")return E(f,null,g);g||(g={}),l=w(l||v);var B=g.readable||g.readable!==!1&&f.readable,M=g.writable||g.writable!==!1&&f.writable,k=function(){f.writable||L()},W=f._writableState&&f._writableState.finished,L=function(){M=!1,W=!0,B||l.call(f)},G=f._readableState&&f._readableState.endEmitted,U=function(){B=!1,G=!0,M||l.call(f)},S=function(ae){l.call(f,ae)},Y=function(){var ae;if(B&&!G)return(!f._readableState||!f._readableState.ended)&&(ae=new p),l.call(f,ae);if(M&&!W)return(!f._writableState||!f._writableState.ended)&&(ae=new p),l.call(f,ae)},N=function(){f.req.on("finish",L)};return h(f)?(f.on("complete",L),f.on("abort",Y),f.req?N():f.on("request",N)):M&&!f._writableState&&(f.on("end",k),f.on("close",k)),f.on("end",U),f.on("finish",L),g.error!==!1&&f.on("error",S),f.on("close",Y),function(){f.removeListener("complete",L),f.removeListener("abort",Y),f.removeListener("request",N),f.req&&f.req.removeListener("finish",L),f.removeListener("end",k),f.removeListener("close",k),f.removeListener("finish",L),f.removeListener("end",U),f.removeListener("error",S),f.removeListener("close",Y)}}ee.exports=E}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/from-browser.js":(ee=>{ee.exports=function(){throw new Error("Readable.from is not available in the browser")}}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/pipeline.js":((ee,i,u)=>{"use strict";var p;function w(L){var G=!1;return function(){G||(G=!0,L.apply(void 0,arguments))}}var v=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js").codes,h=v.ERR_MISSING_ARGS,E=v.ERR_STREAM_DESTROYED;function f(L){if(L)throw L}function g(L){return L.setHeader&&typeof L.abort=="function"}function l(L,G,U,S){S=w(S);var Y=!1;L.on("close",function(){Y=!0}),p===void 0&&(p=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/end-of-stream.js")),p(L,{readable:G,writable:U},function($){if($)return S($);Y=!0,S()});var N=!1;return function($){if(!Y&&!N){if(N=!0,g(L))return L.abort();if(typeof L.destroy=="function")return L.destroy();S($||new E("pipe"))}}}function B(L){L()}function M(L,G){return L.pipe(G)}function k(L){return!L.length||typeof L[L.length-1]!="function"?f:L.pop()}function W(){for(var L=arguments.length,G=new Array(L),U=0;U<L;U++)G[U]=arguments[U];var S=k(G);if(Array.isArray(G[0])&&(G=G[0]),G.length<2)throw new h("streams");var Y,N=G.map(function($,ae){var ne=ae<G.length-1,P=ae>0;return l($,ne,P,function(V){Y||(Y=V),V&&N.forEach(B),!ne&&(N.forEach(B),S(Y))})});return G.reduce(M)}ee.exports=W}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/state.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js").codes.ERR_INVALID_OPT_VALUE;function w(h,E,f){return h.highWaterMark!=null?h.highWaterMark:E?h[f]:null}function v(h,E,f,g){var l=w(E,g,f);if(l!=null){if(!(isFinite(l)&&Math.floor(l)===l)||l<0){var B=g?f:"highWaterMark";throw new p(B,l)}return Math.floor(l)}return h.objectMode?16:16*1024}ee.exports={getHighWaterMark:v}}),"../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/stream-browser.js":((ee,i,u)=>{ee.exports=u("../../node_modules/.pnpm/events@3.3.0/node_modules/events/events.js").EventEmitter}),"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js":((ee,i,u)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var p=u("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js"),w=p.Buffer;function v(E,f){for(var g in E)f[g]=E[g]}w.from&&w.alloc&&w.allocUnsafe&&w.allocUnsafeSlow?ee.exports=p:(v(p,i),i.Buffer=h);function h(E,f,g){return w(E,f,g)}h.prototype=Object.create(w.prototype),v(w,h),h.from=function(E,f,g){if(typeof E=="number")throw new TypeError("Argument must not be a number");return w(E,f,g)},h.alloc=function(E,f,g){if(typeof E!="number")throw new TypeError("Argument must be a number");var l=w(E);return f!==void 0?typeof g=="string"?l.fill(f,g):l.fill(f):l.fill(0),l},h.allocUnsafe=function(E){if(typeof E!="number")throw new TypeError("Argument must be a number");return w(E)},h.allocUnsafeSlow=function(E){if(typeof E!="number")throw new TypeError("Argument must be a number");return p.SlowBuffer(E)}}),"../../node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"),w=u("../../node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"),v=p("RegExp.prototype.exec"),h=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js");ee.exports=function(f){if(!w(f))throw new h("`regex` must be a RegExp");return function(l){return v(f,l)!==null}}}),"../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"),w=u("../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js"),v=u("../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js")(),h=u("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"),E=u("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"),f=p("%Math.floor%");ee.exports=function(l,B){if(typeof l!="function")throw new E("`fn` is not a function");if(typeof B!="number"||B<0||B>4294967295||f(B)!==B)throw new E("`length` must be a positive 32-bit integer");var M=arguments.length>2&&!!arguments[2],k=!0,W=!0;if("length"in l&&h){var L=h(l,"length");L&&!L.configurable&&(k=!1),L&&!L.writable&&(W=!1)}return(k||W||!M)&&(v?w(l,"length",B,!0,!0):w(l,"length",B)),l}}),"../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-A242L54C.js":((ee,i,u)=>{"use strict";u.r(i),u.d(i,{__commonJS:()=>l,__export:()=>B,__require:()=>g,__toESM:()=>k});var p=Object.create,w=Object.defineProperty,v=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,E=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,g=(W=>u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks sync recursive"))(function(W){return u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks sync recursive").apply(this,arguments)}),l=(W,L)=>function(){return L||(0,W[h(W)[0]])((L={exports:{}}).exports,L),L.exports},B=(W,L)=>{for(var G in L)w(W,G,{get:L[G],enumerable:!0})},M=(W,L,G,U)=>{if(L&&typeof L=="object"||typeof L=="function")for(let S of h(L))!f.call(W,S)&&S!==G&&w(W,S,{get:()=>L[S],enumerable:!(U=v(L,S))||U.enumerable});return W},k=(W,L,G)=>(G=W!=null?p(E(W)):{},M(L||!W||!W.__esModule?w(G,"default",{value:W,enumerable:!0}):G,W))}),"../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-LCHBOIHN.js":((ee,i,u)=>{"use strict";u.r(i),u.d(i,{argumentsTag:()=>M,arrayBufferTag:()=>Y,arrayTag:()=>U,bigInt64ArrayTag:()=>te,bigUint64ArrayTag:()=>me,booleanTag:()=>B,dataViewTag:()=>ae,dateTag:()=>W,errorTag:()=>$,float32ArrayTag:()=>Se,float64ArrayTag:()=>Te,functionTag:()=>S,getSymbols:()=>h,getTag:()=>E,int16ArrayTag:()=>Re,int32ArrayTag:()=>Ae,int8ArrayTag:()=>we,isPlainObject:()=>p,isPrimitive:()=>w,isTypedArray:()=>v,mapTag:()=>L,numberTag:()=>l,objectTag:()=>N,regexpTag:()=>f,setTag:()=>G,stringTag:()=>g,symbolTag:()=>k,uint16ArrayTag:()=>V,uint32ArrayTag:()=>X,uint8ArrayTag:()=>ne,uint8ClampedArrayTag:()=>P});function p(Ue){if(!Ue||typeof Ue!="object")return!1;let ft=Object.getPrototypeOf(Ue);return ft===null||ft===Object.prototype||Object.getPrototypeOf(ft)===null?Object.prototype.toString.call(Ue)==="[object Object]":!1}function w(Ue){return Ue==null||typeof Ue!="object"&&typeof Ue!="function"}function v(Ue){return ArrayBuffer.isView(Ue)&&!(Ue instanceof DataView)}function h(Ue){return Object.getOwnPropertySymbols(Ue).filter(ft=>Object.prototype.propertyIsEnumerable.call(Ue,ft))}function E(Ue){return Ue==null?Ue===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(Ue)}var f="[object RegExp]",g="[object String]",l="[object Number]",B="[object Boolean]",M="[object Arguments]",k="[object Symbol]",W="[object Date]",L="[object Map]",G="[object Set]",U="[object Array]",S="[object Function]",Y="[object ArrayBuffer]",N="[object Object]",$="[object Error]",ae="[object DataView]",ne="[object Uint8Array]",P="[object Uint8ClampedArray]",V="[object Uint16Array]",X="[object Uint32Array]",me="[object BigUint64Array]",we="[object Int8Array]",Re="[object Int16Array]",Ae="[object Int32Array]",te="[object BigInt64Array]",Se="[object Float32Array]",Te="[object Float64Array]"}),"../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-SI6AKD4S.js":((ee,i,u)=>{"use strict";u.r(i),u.d(i,{ADDON_ID:()=>ho,MAX_DEFAULT_VALUE_SUMMARY_LENGTH:()=>wt,MAX_TYPE_SUMMARY_LENGTH:()=>at,PANEL_ID:()=>ji,PARAM_KEY:()=>ui,SNIPPET_RENDERED:()=>li,SourceType:()=>qn,TypeSystem:()=>V,combineParameters:()=>ai,convert:()=>P,createSummaryValue:()=>dt,enhanceArgTypes:()=>ss,extractComponentDescription:()=>si,extractComponentProps:()=>is,extractComponentSectionArray:()=>Un,extractComponentSectionObject:()=>Br,getDocgenDescription:()=>Se,getDocgenSection:()=>te,hasDocgen:()=>Re,isDefaultValueBlacklisted:()=>me,isTooLongForDefaultValueSummary:()=>ze,isTooLongForTypeSummary:()=>ce,isValidDocgenSection:()=>Ae,normalizeNewlines:()=>pr,parseJsDoc:()=>A,str:()=>we});var p=u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-YK43Z22A.js"),w=u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-LCHBOIHN.js"),v=u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-A242L54C.js"),h=u("storybook/internal/preview-errors"),E=u.n(h),f=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js"),g=(0,v.__commonJS)({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(Z,qe){(function(Dt,Ut){typeof Z=="object"&&typeof qe<"u"?Ut(Z):typeof define=="function"&&u.amdO?define(["exports"],Ut):(Dt=typeof globalThis<"u"?globalThis:Dt||self,Ut(Dt.jtpp={}))})(Z,(function(Dt){"use strict";function Ut(o){return o.text!==void 0&&o.text!==""?`'${o.type}' with value '${o.text}'`:`'${o.type}'`}class Qt extends Error{constructor(T){super(`No parslet found for token: ${Ut(T)}`),this.token=T,Object.setPrototypeOf(this,Qt.prototype)}getToken(){return this.token}}class rr extends Error{constructor(T){super(`The parsing ended early. The next token was: ${Ut(T)}`),this.token=T,Object.setPrototypeOf(this,rr.prototype)}getToken(){return this.token}}class _r extends Error{constructor(T,Q){let ke=`Unexpected type: '${T.type}'.`;Q!==void 0&&(ke+=` Message: ${Q}`),super(ke),Object.setPrototypeOf(this,_r.prototype)}}function Ar(o){return T=>T.startsWith(o)?{type:o,text:o}:null}function Rr(o){let T=0,Q,ke=o[0],Tt=!1;if(ke!=="'"&&ke!=='"')return null;for(;T<o.length;){if(T++,Q=o[T],!Tt&&Q===ke){T++;break}Tt=!Tt&&Q==="\\"}if(Q!==ke)throw new Error("Unterminated String");return o.slice(0,T)}let vn=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),ln=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function ci(o){let T=o[0];if(!vn.test(T))return null;let Q=1;do{if(T=o[Q],!ln.test(T))break;Q++}while(Q<o.length);return o.slice(0,Q)}let mo=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function xo(o){var T,Q;return(Q=(T=mo.exec(o))===null||T===void 0?void 0:T[0])!==null&&Q!==void 0?Q:null}let io=o=>{let T=ci(o);return T==null?null:{type:"Identifier",text:T}};function fn(o){return T=>{if(!T.startsWith(o))return null;let Q=T[o.length];return Q!==void 0&&ln.test(Q)?null:{type:o,text:o}}}let Hn=o=>{let T=Rr(o);return T==null?null:{type:"StringValue",text:T}},Co=o=>o.length>0?null:{type:"EOF",text:""},Vn=o=>{let T=xo(o);return T===null?null:{type:"Number",text:T}},To=[Co,Ar("=>"),Ar("("),Ar(")"),Ar("{"),Ar("}"),Ar("["),Ar("]"),Ar("|"),Ar("&"),Ar("<"),Ar(">"),Ar(","),Ar(";"),Ar("*"),Ar("?"),Ar("!"),Ar("="),Ar(":"),Ar("..."),Ar("."),Ar("#"),Ar("~"),Ar("/"),Ar("@"),fn("undefined"),fn("null"),fn("function"),fn("this"),fn("new"),fn("module"),fn("event"),fn("extends"),fn("external"),fn("infer"),fn("typeof"),fn("keyof"),fn("readonly"),fn("import"),fn("is"),fn("in"),fn("asserts"),Vn,io,Hn],_o=/^\s*\n\s*/;class kn{static create(T){let Q=this.read(T);T=Q.text;let ke=this.read(T);return T=ke.text,new kn(T,void 0,Q.token,ke.token)}constructor(T,Q,ke,Tt){this.text="",this.text=T,this.previous=Q,this.current=ke,this.next=Tt}static read(T,Q=!1){Q=Q||_o.test(T),T=T.trim();for(let ke of To){let Tt=ke(T);if(Tt!==null){let Lt=Object.assign(Object.assign({},Tt),{startOfLine:Q});return T=T.slice(Lt.text.length),{text:T,token:Lt}}}throw new Error("Unexpected Token "+T)}advance(){let T=kn.read(this.text);return new kn(T.text,this.current,this.next,T.token)}}function Vr(o){if(o===void 0)throw new Error("Unexpected undefined");if(o.type==="JsdocTypeKeyValue"||o.type==="JsdocTypeParameterList"||o.type==="JsdocTypeProperty"||o.type==="JsdocTypeReadonlyProperty"||o.type==="JsdocTypeObjectField"||o.type==="JsdocTypeJsdocObjectField"||o.type==="JsdocTypeIndexSignature"||o.type==="JsdocTypeMappedType"||o.type==="JsdocTypeTypeParameter")throw new _r(o);return o}function Vo(o){return o.type==="JsdocTypeKeyValue"?zo(o):Vr(o)}function Ts(o){return o.type==="JsdocTypeName"?o:zo(o)}function zo(o){if(o.type!=="JsdocTypeKeyValue")throw new _r(o);return o}function Pi(o){var T;if(o.type==="JsdocTypeVariadic"){if(((T=o.element)===null||T===void 0?void 0:T.type)==="JsdocTypeName")return o;throw new _r(o)}if(o.type!=="JsdocTypeNumber"&&o.type!=="JsdocTypeName")throw new _r(o);return o}function as(o){if(o.type==="JsdocTypeTuple"||o.type==="JsdocTypeGeneric"&&o.meta.brackets==="square")return o;throw new _r(o)}function di(o){return o.type==="JsdocTypeIndexSignature"||o.type==="JsdocTypeMappedType"}var yr;(function(o){o[o.ALL=0]="ALL",o[o.PARAMETER_LIST=1]="PARAMETER_LIST",o[o.OBJECT=2]="OBJECT",o[o.KEY_VALUE=3]="KEY_VALUE",o[o.INDEX_BRACKETS=4]="INDEX_BRACKETS",o[o.UNION=5]="UNION",o[o.INTERSECTION=6]="INTERSECTION",o[o.PREFIX=7]="PREFIX",o[o.INFIX=8]="INFIX",o[o.TUPLE=9]="TUPLE",o[o.SYMBOL=10]="SYMBOL",o[o.OPTIONAL=11]="OPTIONAL",o[o.NULLABLE=12]="NULLABLE",o[o.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",o[o.FUNCTION=14]="FUNCTION",o[o.ARROW=15]="ARROW",o[o.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",o[o.GENERIC=17]="GENERIC",o[o.NAME_PATH=18]="NAME_PATH",o[o.PARENTHESIS=19]="PARENTHESIS",o[o.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(yr||(yr={}));class eo{constructor(T,Q,ke){this.grammar=T,typeof Q=="string"?this._lexer=kn.create(Q):this._lexer=Q,this.baseParser=ke}get lexer(){return this._lexer}parse(){let T=this.parseType(yr.ALL);if(this.lexer.current.type!=="EOF")throw new rr(this.lexer.current);return T}parseType(T){return Vr(this.parseIntermediateType(T))}parseIntermediateType(T){let Q=this.tryParslets(null,T);if(Q===null)throw new Qt(this.lexer.current);return this.parseInfixIntermediateType(Q,T)}parseInfixIntermediateType(T,Q){let ke=this.tryParslets(T,Q);for(;ke!==null;)T=ke,ke=this.tryParslets(T,Q);return T}tryParslets(T,Q){for(let ke of this.grammar){let Tt=ke(this,Q,T);if(Tt!==null)return Tt}return null}consume(T){return Array.isArray(T)||(T=[T]),T.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(T){this._lexer=T.lexer}}function pi(o){return o==="}"||o==="EOF"||o==="|"||o===","||o===")"||o===">"}let fi=(o,T,Q)=>{let ke=o.lexer.current.type,Tt=o.lexer.next.type;return Q==null&&ke==="?"&&!pi(Tt)||Q!=null&&ke==="?"?(o.consume("?"),Q==null?{type:"JsdocTypeNullable",element:o.parseType(yr.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:Vr(Q),meta:{position:"suffix"}}):null};function Lr(o){let T=(Q,ke,Tt)=>{let Lt=Q.lexer.current.type,Wt=Q.lexer.next.type;if(Tt===null){if("parsePrefix"in o&&o.accept(Lt,Wt))return o.parsePrefix(Q)}else if("parseInfix"in o&&o.precedence>ke&&o.accept(Lt,Wt))return o.parseInfix(Q,Tt);return null};return Object.defineProperty(T,"name",{value:o.name}),T}let Go=Lr({name:"optionalParslet",accept:o=>o==="=",precedence:yr.OPTIONAL,parsePrefix:o=>(o.consume("="),{type:"JsdocTypeOptional",element:o.parseType(yr.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(o,T)=>(o.consume("="),{type:"JsdocTypeOptional",element:Vr(T),meta:{position:"suffix"}})}),Ro=Lr({name:"numberParslet",accept:o=>o==="Number",parsePrefix:o=>{let T=parseFloat(o.lexer.current.text);return o.consume("Number"),{type:"JsdocTypeNumber",value:T}}}),us=Lr({name:"parenthesisParslet",accept:o=>o==="(",parsePrefix:o=>{if(o.consume("("),o.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let T=o.parseIntermediateType(yr.ALL);if(!o.consume(")"))throw new Error("Unterminated parenthesis");return T.type==="JsdocTypeParameterList"?T:T.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[T]}:{type:"JsdocTypeParenthesis",element:Vr(T)}}}),ls=Lr({name:"specialTypesParslet",accept:(o,T)=>o==="?"&&pi(T)||o==="null"||o==="undefined"||o==="*",parsePrefix:o=>{if(o.consume("null"))return{type:"JsdocTypeNull"};if(o.consume("undefined"))return{type:"JsdocTypeUndefined"};if(o.consume("*"))return{type:"JsdocTypeAny"};if(o.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+o.lexer.current.text)}}),Bi=Lr({name:"notNullableParslet",accept:o=>o==="!",precedence:yr.NULLABLE,parsePrefix:o=>(o.consume("!"),{type:"JsdocTypeNotNullable",element:o.parseType(yr.NULLABLE),meta:{position:"prefix"}}),parseInfix:(o,T)=>(o.consume("!"),{type:"JsdocTypeNotNullable",element:Vr(T),meta:{position:"suffix"}})});function cs({allowTrailingComma:o}){return Lr({name:"parameterListParslet",accept:T=>T===",",precedence:yr.PARAMETER_LIST,parseInfix:(T,Q)=>{let ke=[Vo(Q)];T.consume(",");do try{let Tt=T.parseIntermediateType(yr.PARAMETER_LIST);ke.push(Vo(Tt))}catch(Tt){if(Tt instanceof Qt)break;throw Tt}while(T.consume(","));if(ke.length>0&&ke.slice(0,-1).some(Tt=>Tt.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:ke}}})}let hi=Lr({name:"genericParslet",accept:(o,T)=>o==="<"||o==="."&&T==="<",precedence:yr.GENERIC,parseInfix:(o,T)=>{let Q=o.consume(".");o.consume("<");let ke=[],Tt=!1;if(o.consume("infer")){Tt=!0;let Lt=o.parseIntermediateType(yr.SYMBOL);if(Lt.type!=="JsdocTypeName")throw new _r(Lt,"A typescript asserts always has to have a name on the left side.");ke.push(Lt)}else do ke.push(o.parseType(yr.PARAMETER_LIST));while(o.consume(","));if(!o.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:Vr(T),elements:ke},Tt?{infer:!0}:{}),{meta:{brackets:"angle",dot:Q}})}}),ds=Lr({name:"unionParslet",accept:o=>o==="|",precedence:yr.UNION,parseInfix:(o,T)=>{o.consume("|");let Q=[];do Q.push(o.parseType(yr.UNION));while(o.consume("|"));return{type:"JsdocTypeUnion",elements:[Vr(T),...Q]}}}),Ii=[fi,Go,Ro,us,ls,Bi,cs({allowTrailingComma:!0}),hi,ds,Go];function Oo({allowSquareBracketsOnAnyType:o,allowJsdocNamePaths:T,pathGrammar:Q}){return function(ke,Tt,Lt){if(Lt==null||Tt>=yr.NAME_PATH)return null;let Wt=ke.lexer.current.type,sr=ke.lexer.next.type;if(!(Wt==="."&&sr!=="<"||Wt==="["&&(o||Lt.type==="JsdocTypeName")||T&&(Wt==="~"||Wt==="#")))return null;let br,Sr=!1;ke.consume(".")?br="property":ke.consume("[")?(br="property-brackets",Sr=!0):ke.consume("~")?br="inner":(ke.consume("#"),br="instance");let Nr=Q!==null?new eo(Q,ke.lexer,ke):ke,Or=Nr.parseIntermediateType(yr.NAME_PATH);ke.acceptLexerState(Nr);let jr;switch(Or.type){case"JsdocTypeName":jr={type:"JsdocTypeProperty",value:Or.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":jr={type:"JsdocTypeProperty",value:Or.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":jr={type:"JsdocTypeProperty",value:Or.value,meta:{quote:Or.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Or.specialType==="event")jr=Or;else throw new _r(Or,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new _r(Or,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Sr&&!ke.consume("]")){let wn=ke.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${wn.type}' with text '${wn.text}'`)}return{type:"JsdocTypeNamePath",left:Vr(Lt),right:jr,pathType:br}}}function to({allowedAdditionalTokens:o}){return Lr({name:"nameParslet",accept:T=>T==="Identifier"||T==="this"||T==="new"||o.includes(T),parsePrefix:T=>{let{type:Q,text:ke}=T.lexer.current;return T.consume(Q),{type:"JsdocTypeName",value:ke}}})}let pn=Lr({name:"stringValueParslet",accept:o=>o==="StringValue",parsePrefix:o=>{let T=o.lexer.current.text;return o.consume("StringValue"),{type:"JsdocTypeStringValue",value:T.slice(1,-1),meta:{quote:T[0]==="'"?"single":"double"}}}});function Wo({pathGrammar:o,allowedTypes:T}){return Lr({name:"specialNamePathParslet",accept:Q=>T.includes(Q),parsePrefix:Q=>{let ke=Q.lexer.current.type;if(Q.consume(ke),!Q.consume(":"))return{type:"JsdocTypeName",value:ke};let Tt,Lt=Q.lexer.current;if(Q.consume("StringValue"))Tt={type:"JsdocTypeSpecialNamePath",value:Lt.text.slice(1,-1),specialType:ke,meta:{quote:Lt.text[0]==="'"?"single":"double"}};else{let br="",Sr=["Identifier","@","/"];for(;Sr.some(Nr=>Q.consume(Nr));)br+=Lt.text,Lt=Q.lexer.current;Tt={type:"JsdocTypeSpecialNamePath",value:br,specialType:ke,meta:{quote:void 0}}}let Wt=new eo(o,Q.lexer,Q),sr=Wt.parseInfixIntermediateType(Tt,yr.ALL);return Q.acceptLexerState(Wt),Vr(sr)}})}let yo=[to({allowedAdditionalTokens:["external","module"]}),pn,Ro,Oo({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],zn=[...yo,Wo({allowedTypes:["event"],pathGrammar:yo})];function Fo(o){let T;if(o.type==="JsdocTypeParameterList")T=o.elements;else if(o.type==="JsdocTypeParenthesis")T=[o.element];else throw new _r(o);return T.map(Q=>Vo(Q))}function mi(o){let T=Fo(o);if(T.some(Q=>Q.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return T}function Jo({allowNamedParameters:o,allowNoReturnType:T,allowWithoutParenthesis:Q,allowNewAsFunctionKeyword:ke}){return Lr({name:"functionParslet",accept:(Tt,Lt)=>Tt==="function"||ke&&Tt==="new"&&Lt==="(",parsePrefix:Tt=>{let Lt=Tt.consume("new");Tt.consume("function");let Wt=Tt.lexer.current.type==="(";if(!Wt){if(!Q)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let sr={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:Lt,parenthesis:Wt},br=Tt.parseIntermediateType(yr.FUNCTION);if(o===void 0)sr.parameters=mi(br);else{if(Lt&&br.type==="JsdocTypeFunction"&&br.arrow)return sr=br,sr.constructor=!0,sr;sr.parameters=Fo(br);for(let Sr of sr.parameters)if(Sr.type==="JsdocTypeKeyValue"&&!o.includes(Sr.key))throw new Error(`only allowed named parameters are ${o.join(", ")} but got ${Sr.type}`)}if(Tt.consume(":"))sr.returnType=Tt.parseType(yr.PREFIX);else if(!T)throw new Error("function is missing return type");return sr}})}function _i({allowPostfix:o,allowEnclosingBrackets:T}){return Lr({name:"variadicParslet",accept:Q=>Q==="...",precedence:yr.PREFIX,parsePrefix:Q=>{Q.consume("...");let ke=T&&Q.consume("[");try{let Tt=Q.parseType(yr.PREFIX);if(ke&&!Q.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:Vr(Tt),meta:{position:"prefix",squareBrackets:ke}}}catch(Tt){if(Tt instanceof Qt){if(ke)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw Tt}},parseInfix:o?(Q,ke)=>(Q.consume("..."),{type:"JsdocTypeVariadic",element:Vr(ke),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Ni=Lr({name:"symbolParslet",accept:o=>o==="(",precedence:yr.SYMBOL,parseInfix:(o,T)=>{if(T.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");o.consume("(");let Q={type:"JsdocTypeSymbol",value:T.value};if(!o.consume(")")){let ke=o.parseIntermediateType(yr.SYMBOL);if(Q.element=Pi(ke),!o.consume(")"))throw new Error("Symbol does not end after value")}return Q}}),yi=Lr({name:"arrayBracketsParslet",precedence:yr.ARRAY_BRACKETS,accept:(o,T)=>o==="["&&T==="]",parseInfix:(o,T)=>(o.consume("["),o.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[Vr(T)],meta:{brackets:"square",dot:!1}})});function go({objectFieldGrammar:o,allowKeyTypes:T}){return Lr({name:"objectParslet",accept:Q=>Q==="{",parsePrefix:Q=>{Q.consume("{");let ke={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!Q.consume("}")){let Tt,Lt=new eo(o,Q.lexer,Q);for(;;){Lt.acceptLexerState(Q);let Wt=Lt.parseIntermediateType(yr.OBJECT);Q.acceptLexerState(Lt),Wt===void 0&&T&&(Wt=Q.parseIntermediateType(yr.OBJECT));let sr=!1;if(Wt.type==="JsdocTypeNullable"&&(sr=!0,Wt=Wt.element),Wt.type==="JsdocTypeNumber"||Wt.type==="JsdocTypeName"||Wt.type==="JsdocTypeStringValue"){let br;Wt.type==="JsdocTypeStringValue"&&(br=Wt.meta.quote),ke.elements.push({type:"JsdocTypeObjectField",key:Wt.value.toString(),right:void 0,optional:sr,readonly:!1,meta:{quote:br}})}else if(Wt.type==="JsdocTypeObjectField"||Wt.type==="JsdocTypeJsdocObjectField")ke.elements.push(Wt);else throw new _r(Wt);if(Q.lexer.current.startOfLine)Tt="linebreak",Q.consume(",")||Q.consume(";");else if(Q.consume(","))Tt="comma";else if(Q.consume(";"))Tt="semicolon";else break;if(Q.lexer.current.type==="}")break}if(ke.meta.separator=Tt??"comma",Tt==="linebreak"&&(ke.meta.propertyIndent=" "),!Q.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return ke}})}function qo({allowSquaredProperties:o,allowKeyTypes:T,allowReadonly:Q,allowOptional:ke}){return Lr({name:"objectFieldParslet",precedence:yr.KEY_VALUE,accept:Tt=>Tt===":",parseInfix:(Tt,Lt)=>{var Wt;let sr=!1,br=!1;ke&&Lt.type==="JsdocTypeNullable"&&(sr=!0,Lt=Lt.element),Q&&Lt.type==="JsdocTypeReadonlyProperty"&&(br=!0,Lt=Lt.element);let Sr=(Wt=Tt.baseParser)!==null&&Wt!==void 0?Wt:Tt;if(Sr.acceptLexerState(Tt),Lt.type==="JsdocTypeNumber"||Lt.type==="JsdocTypeName"||Lt.type==="JsdocTypeStringValue"||di(Lt)){if(di(Lt)&&!o)throw new _r(Lt);Sr.consume(":");let Nr;Lt.type==="JsdocTypeStringValue"&&(Nr=Lt.meta.quote);let Or=Sr.parseType(yr.KEY_VALUE);return Tt.acceptLexerState(Sr),{type:"JsdocTypeObjectField",key:di(Lt)?Lt:Lt.value.toString(),right:Or,optional:sr,readonly:br,meta:{quote:Nr}}}else{if(!T)throw new _r(Lt);Sr.consume(":");let Nr=Sr.parseType(yr.KEY_VALUE);return Tt.acceptLexerState(Sr),{type:"JsdocTypeJsdocObjectField",left:Vr(Lt),right:Nr}}}})}function gi({allowOptional:o,allowVariadic:T}){return Lr({name:"keyValueParslet",precedence:yr.KEY_VALUE,accept:Q=>Q===":",parseInfix:(Q,ke)=>{let Tt=!1,Lt=!1;if(o&&ke.type==="JsdocTypeNullable"&&(Tt=!0,ke=ke.element),T&&ke.type==="JsdocTypeVariadic"&&ke.element!==void 0&&(Lt=!0,ke=ke.element),ke.type!=="JsdocTypeName")throw new _r(ke);Q.consume(":");let Wt=Q.parseType(yr.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:ke.value,right:Wt,optional:Tt,variadic:Lt}}})}let ki=[...Ii,Jo({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),pn,Wo({allowedTypes:["module","external","event"],pathGrammar:zn}),_i({allowEnclosingBrackets:!0,allowPostfix:!0}),to({allowedAdditionalTokens:["keyof"]}),Ni,yi,Oo({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:zn})],ps=[...ki,go({objectFieldGrammar:[to({allowedAdditionalTokens:["typeof","module","in"]}),qo({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...ki],allowKeyTypes:!0}),gi({allowOptional:!0,allowVariadic:!0})],bo=Lr({name:"typeOfParslet",accept:o=>o==="typeof",parsePrefix:o=>(o.consume("typeof"),{type:"JsdocTypeTypeof",element:o.parseType(yr.KEY_OF_TYPE_OF)})}),Li=[to({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),fi,Go,pn,Ro,qo({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Mi=[...Ii,go({allowKeyTypes:!1,objectFieldGrammar:Li}),to({allowedAdditionalTokens:["event","external","in"]}),bo,Jo({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),_i({allowEnclosingBrackets:!1,allowPostfix:!1}),to({allowedAdditionalTokens:["keyof"]}),Wo({allowedTypes:["module"],pathGrammar:zn}),Oo({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:zn}),gi({allowOptional:!1,allowVariadic:!1}),Ni],fs=Lr({name:"assertsParslet",accept:o=>o==="asserts",parsePrefix:o=>{o.consume("asserts");let T=o.parseIntermediateType(yr.SYMBOL);if(T.type!=="JsdocTypeName")throw new _r(T,"A typescript asserts always has to have a name on the left side.");return o.consume("is")?{type:"JsdocTypeAsserts",left:T,right:Vr(o.parseIntermediateType(yr.INFIX))}:{type:"JsdocTypeAssertsPlain",element:T}}});function ro({allowQuestionMark:o}){return Lr({name:"tupleParslet",accept:T=>T==="[",parsePrefix:T=>{T.consume("[");let Q={type:"JsdocTypeTuple",elements:[]};if(T.consume("]"))return Q;let ke=T.parseIntermediateType(yr.ALL);if(ke.type==="JsdocTypeParameterList"?ke.elements[0].type==="JsdocTypeKeyValue"?Q.elements=ke.elements.map(zo):Q.elements=ke.elements.map(Vr):ke.type==="JsdocTypeKeyValue"?Q.elements=[zo(ke)]:Q.elements=[Vr(ke)],!T.consume("]"))throw new Error("Unterminated '['");if(Q.elements.some(Tt=>Tt.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return Q}})}let hs=Lr({name:"keyOfParslet",accept:o=>o==="keyof",parsePrefix:o=>(o.consume("keyof"),{type:"JsdocTypeKeyof",element:Vr(o.parseType(yr.KEY_OF_TYPE_OF))})}),Ui=Lr({name:"importParslet",accept:o=>o==="import",parsePrefix:o=>{if(o.consume("import"),!o.consume("("))throw new Error("Missing parenthesis after import keyword");let T=o.parseType(yr.PREFIX);if(T.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!o.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:T}}}),$i=Lr({name:"readonlyPropertyParslet",accept:o=>o==="readonly",parsePrefix:o=>(o.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:o.parseIntermediateType(yr.KEY_VALUE)})}),ms=Lr({name:"arrowFunctionParslet",precedence:yr.ARROW,accept:o=>o==="=>",parseInfix:(o,T)=>(o.consume("=>"),{type:"JsdocTypeFunction",parameters:Fo(T).map(Ts),arrow:!0,constructor:!1,parenthesis:!0,returnType:o.parseType(yr.OBJECT)})}),Hi=Lr({name:"genericArrowFunctionParslet",accept:o=>o==="<",parsePrefix:o=>{let T=[];o.consume("<");do{let ke,Tt=o.parseIntermediateType(yr.SYMBOL);if(Tt.type==="JsdocTypeOptional"&&(Tt=Tt.element,ke=o.parseType(yr.SYMBOL)),Tt.type!=="JsdocTypeName")throw new _r(Tt);let Lt;o.consume("extends")&&(Lt=o.parseType(yr.SYMBOL),Lt.type==="JsdocTypeOptional"&&(Lt=Lt.element,ke=o.parseType(yr.SYMBOL)));let Wt={type:"JsdocTypeTypeParameter",name:Tt};if(Lt!==void 0&&(Wt.constraint=Lt),ke!==void 0&&(Wt.defaultValue=ke),T.push(Wt),o.consume(">"))break}while(o.consume(","));let Q=o.parseIntermediateType(yr.SYMBOL);return Q.typeParameters=T,Q}}),bi=Lr({name:"intersectionParslet",accept:o=>o==="&",precedence:yr.INTERSECTION,parseInfix:(o,T)=>{o.consume("&");let Q=[];do Q.push(o.parseType(yr.INTERSECTION));while(o.consume("&"));return{type:"JsdocTypeIntersection",elements:[Vr(T),...Q]}}}),_s=Lr({name:"predicateParslet",precedence:yr.INFIX,accept:o=>o==="is",parseInfix:(o,T)=>{if(T.type!=="JsdocTypeName")throw new _r(T,"A typescript predicate always has to have a name on the left side.");return o.consume("is"),{type:"JsdocTypePredicate",left:T,right:Vr(o.parseIntermediateType(yr.INFIX))}}}),Vi=Lr({name:"objectSquareBracketPropertyParslet",accept:o=>o==="[",parsePrefix:o=>{if(o.baseParser===void 0)throw new Error("Only allowed inside object grammar");o.consume("[");let T=o.lexer.current.text;o.consume("Identifier");let Q;if(o.consume(":")){let ke=o.baseParser;ke.acceptLexerState(o),Q={type:"JsdocTypeIndexSignature",key:T,right:ke.parseType(yr.INDEX_BRACKETS)},o.acceptLexerState(ke)}else if(o.consume("in")){let ke=o.baseParser;ke.acceptLexerState(o),Q={type:"JsdocTypeMappedType",key:T,right:ke.parseType(yr.ARRAY_BRACKETS)},o.acceptLexerState(ke)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!o.consume("]"))throw new Error("Unterminated square brackets");return Q}}),zi=Lr({name:"readonlyArrayParslet",accept:o=>o==="readonly",parsePrefix:o=>(o.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:as(o.parseIntermediateType(yr.ALL))})}),no=Lr({name:"conditionalParslet",precedence:yr.INFIX,accept:o=>o==="extends",parseInfix:(o,T)=>{o.consume("extends");let Q=o.parseType(yr.KEY_OF_TYPE_OF).element,ke=o.parseType(yr.INFIX);return o.consume(":"),{type:"JsdocTypeConditional",checksType:Vr(T),extendsType:Q,trueType:ke,falseType:o.parseType(yr.INFIX)}}}),ys=[$i,to({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),fi,Go,pn,Ro,qo({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Vi],Ei=[...Ii,go({allowKeyTypes:!1,objectFieldGrammar:ys}),zi,bo,hs,Ui,pn,Jo({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),ro({allowQuestionMark:!1}),_i({allowEnclosingBrackets:!1,allowPostfix:!1}),fs,no,to({allowedAdditionalTokens:["event","external","in"]}),Wo({allowedTypes:["module"],pathGrammar:zn}),yi,ms,Hi,Oo({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:zn}),bi,_s,gi({allowVariadic:!0,allowOptional:!0})];function Ai(o,T){switch(T){case"closure":return new eo(Mi,o).parse();case"jsdoc":return new eo(ps,o).parse();case"typescript":return new eo(Ei,o).parse()}}function _(o,T=["typescript","closure","jsdoc"]){let Q;for(let ke of T)try{return Ai(o,ke)}catch(Tt){Q=Tt}throw Q}function O(o,T){let Q=o[T.type];if(Q===void 0)throw new Error(`In this set of transform rules exists no rule for type ${T.type}.`);return Q(T,ke=>O(o,ke))}function x(o){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function _e(o){let T={params:[]};for(let Q of o.parameters)Q.type==="JsdocTypeKeyValue"?Q.key==="this"?T.this=Q.right:Q.key==="new"?T.new=Q.right:T.params.push(Q):T.params.push(Q);return T}function Ie(o,T,Q){return o==="prefix"?Q+T:T+Q}function Je(o,T){switch(T){case"double":return`"${o}"`;case"single":return`'${o}'`;case void 0:return o}}function Oe(){return{JsdocTypeParenthesis:(o,T)=>`(${o.element!==void 0?T(o.element):""})`,JsdocTypeKeyof:(o,T)=>`keyof ${T(o.element)}`,JsdocTypeFunction:(o,T)=>{var Q;if(o.arrow){if(o.returnType===void 0)throw new Error("Arrow function needs a return type.");let ke=`${o.typeParameters!==void 0?`<${(Q=o.typeParameters.map(T).join(", "))!==null&&Q!==void 0?Q:""}>`:""}(${o.parameters.map(T).join(", ")}) => ${T(o.returnType)}`;return o.constructor&&(ke="new "+ke),ke}else{let ke=o.constructor?"new":"function";return o.parenthesis&&(ke+=`(${o.parameters.map(T).join(", ")})`,o.returnType!==void 0&&(ke+=`: ${T(o.returnType)}`)),ke}},JsdocTypeName:o=>o.value,JsdocTypeTuple:(o,T)=>`[${o.elements.map(T).join(", ")}]`,JsdocTypeVariadic:(o,T)=>o.meta.position===void 0?"...":Ie(o.meta.position,T(o.element),"..."),JsdocTypeNamePath:(o,T)=>{let Q=T(o.left),ke=T(o.right);switch(o.pathType){case"inner":return`${Q}~${ke}`;case"instance":return`${Q}#${ke}`;case"property":return`${Q}.${ke}`;case"property-brackets":return`${Q}[${ke}]`}},JsdocTypeStringValue:o=>Je(o.value,o.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(o,T)=>{if(o.meta.brackets==="square"){let Q=o.elements[0],ke=T(Q);return Q.type==="JsdocTypeUnion"||Q.type==="JsdocTypeIntersection"?`(${ke})[]`:`${ke}[]`}else return`${T(o.left)}${o.meta.dot?".":""}<${o.infer===!0?"infer ":""}${o.elements.map(T).join(", ")}>`},JsdocTypeImport:(o,T)=>`import(${T(o.element)})`,JsdocTypeObjectField:(o,T)=>{let Q="";return o.readonly&&(Q+="readonly "),typeof o.key=="string"?Q+=Je(o.key,o.meta.quote):Q+=T(o.key),o.optional&&(Q+="?"),o.right===void 0?Q:Q+`: ${T(o.right)}`},JsdocTypeJsdocObjectField:(o,T)=>`${T(o.left)}: ${T(o.right)}`,JsdocTypeKeyValue:(o,T)=>{let Q=o.key;return o.optional&&(Q+="?"),o.variadic&&(Q="..."+Q),o.right===void 0?Q:Q+`: ${T(o.right)}`},JsdocTypeSpecialNamePath:o=>`${o.specialType}:${Je(o.value,o.meta.quote)}`,JsdocTypeNotNullable:(o,T)=>Ie(o.meta.position,T(o.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(o,T)=>Ie(o.meta.position,T(o.element),"?"),JsdocTypeNumber:o=>o.value.toString(),JsdocTypeObject:(o,T)=>{var Q,ke;return`{${(o.meta.separator==="linebreak"&&o.elements.length>1?`
|
|
158
|
+
`+((Q=o.meta.propertyIndent)!==null&&Q!==void 0?Q:""):"")+o.elements.map(T).join(o.meta.separator==="comma"?", ":o.meta.separator==="linebreak"?`
|
|
159
|
+
`+((ke=o.meta.propertyIndent)!==null&&ke!==void 0?ke:""):"; ")+(o.meta.separator==="linebreak"&&o.elements.length>1?`
|
|
160
|
+
`:"")}}`},JsdocTypeOptional:(o,T)=>Ie(o.meta.position,T(o.element),"="),JsdocTypeSymbol:(o,T)=>`${o.value}(${o.element!==void 0?T(o.element):""})`,JsdocTypeTypeof:(o,T)=>`typeof ${T(o.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(o,T)=>o.elements.map(T).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(o,T)=>o.elements.map(T).join(" & "),JsdocTypeProperty:o=>Je(o.value,o.meta.quote),JsdocTypePredicate:(o,T)=>`${T(o.left)} is ${T(o.right)}`,JsdocTypeIndexSignature:(o,T)=>`[${o.key}: ${T(o.right)}]`,JsdocTypeMappedType:(o,T)=>`[${o.key} in ${T(o.right)}]`,JsdocTypeAsserts:(o,T)=>`asserts ${T(o.left)} is ${T(o.right)}`,JsdocTypeReadonlyArray:(o,T)=>`readonly ${T(o.element)}`,JsdocTypeAssertsPlain:(o,T)=>`asserts ${T(o.element)}`,JsdocTypeConditional:(o,T)=>`${T(o.checksType)} extends ${T(o.extendsType)} ? ${T(o.trueType)} : ${T(o.falseType)}`,JsdocTypeTypeParameter:(o,T)=>`${T(o.name)}${o.constraint!==void 0?` extends ${T(o.constraint)}`:""}${o.defaultValue!==void 0?` = ${T(o.defaultValue)}`:""}`}}let Be=Oe();function Pe(o){return O(Be,o)}let Xe=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Ke(o){let T={type:"NameExpression",name:o};return Xe.includes(o)&&(T.reservedWord=!0),T}let Et={JsdocTypeOptional:(o,T)=>{let Q=T(o.element);return Q.optional=!0,Q},JsdocTypeNullable:(o,T)=>{let Q=T(o.element);return Q.nullable=!0,Q},JsdocTypeNotNullable:(o,T)=>{let Q=T(o.element);return Q.nullable=!1,Q},JsdocTypeVariadic:(o,T)=>{if(o.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let Q=T(o.element);return Q.repeatable=!0,Q},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:o=>Ke(Je(o.value,o.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(o,T)=>{let Q=_e(o),ke={type:"FunctionType",params:Q.params.map(T)};return Q.this!==void 0&&(ke.this=T(Q.this)),Q.new!==void 0&&(ke.new=T(Q.new)),o.returnType!==void 0&&(ke.result=T(o.returnType)),ke},JsdocTypeGeneric:(o,T)=>({type:"TypeApplication",applications:o.elements.map(Q=>T(Q)),expression:T(o.left)}),JsdocTypeSpecialNamePath:o=>Ke(o.specialType+":"+Je(o.value,o.meta.quote)),JsdocTypeName:o=>o.value!=="function"?Ke(o.value):{type:"FunctionType",params:[]},JsdocTypeNumber:o=>Ke(o.value.toString()),JsdocTypeObject:(o,T)=>{let Q={type:"RecordType",fields:[]};for(let ke of o.elements)ke.type!=="JsdocTypeObjectField"&&ke.type!=="JsdocTypeJsdocObjectField"?Q.fields.push({type:"FieldType",key:T(ke),value:void 0}):Q.fields.push(T(ke));return Q},JsdocTypeObjectField:(o,T)=>{if(typeof o.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Ke(Je(o.key,o.meta.quote)),value:o.right===void 0?void 0:T(o.right)}},JsdocTypeJsdocObjectField:(o,T)=>({type:"FieldType",key:T(o.left),value:T(o.right)}),JsdocTypeUnion:(o,T)=>({type:"TypeUnion",elements:o.elements.map(Q=>T(Q))}),JsdocTypeKeyValue:(o,T)=>({type:"FieldType",key:Ke(o.key),value:o.right===void 0?void 0:T(o.right)}),JsdocTypeNamePath:(o,T)=>{let Q=T(o.left),ke;o.right.type==="JsdocTypeSpecialNamePath"?ke=T(o.right).name:ke=Je(o.right.value,o.right.meta.quote);let Tt=o.pathType==="inner"?"~":o.pathType==="instance"?"#":".";return Ke(`${Q.name}${Tt}${ke}`)},JsdocTypeSymbol:o=>{let T="",Q=o.element,ke=!1;return Q?.type==="JsdocTypeVariadic"&&(Q.meta.position==="prefix"?T="...":ke=!0,Q=Q.element),Q?.type==="JsdocTypeName"?T+=Q.value:Q?.type==="JsdocTypeNumber"&&(T+=Q.value.toString()),ke&&(T+="..."),Ke(`${o.value}(${T})`)},JsdocTypeParenthesis:(o,T)=>T(Vr(o.element)),JsdocTypeMappedType:x,JsdocTypeIndexSignature:x,JsdocTypeImport:x,JsdocTypeKeyof:x,JsdocTypeTuple:x,JsdocTypeTypeof:x,JsdocTypeIntersection:x,JsdocTypeProperty:x,JsdocTypePredicate:x,JsdocTypeAsserts:x,JsdocTypeReadonlyArray:x,JsdocTypeAssertsPlain:x,JsdocTypeConditional:x,JsdocTypeTypeParameter:x};function st(o){return O(Et,o)}function it(o){switch(o){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Le(o){switch(o){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function ot(o,T){return T.length===2?{type:o,left:T[0],right:T[1]}:{type:o,left:T[0],right:ot(o,T.slice(1))}}let St={JsdocTypeOptional:(o,T)=>({type:"OPTIONAL",value:T(o.element),meta:{syntax:o.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(o,T)=>({type:"NULLABLE",value:T(o.element),meta:{syntax:o.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(o,T)=>({type:"NOT_NULLABLE",value:T(o.element),meta:{syntax:o.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(o,T)=>{let Q={type:"VARIADIC",meta:{syntax:o.meta.position==="prefix"?"PREFIX_DOTS":o.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return o.element!==void 0&&(Q.value=T(o.element)),Q},JsdocTypeName:o=>({type:"NAME",name:o.value}),JsdocTypeTypeof:(o,T)=>({type:"TYPE_QUERY",name:T(o.element)}),JsdocTypeTuple:(o,T)=>({type:"TUPLE",entries:o.elements.map(T)}),JsdocTypeKeyof:(o,T)=>({type:"KEY_QUERY",value:T(o.element)}),JsdocTypeImport:o=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:it(o.element.meta.quote),string:o.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(o,T)=>{let Q=_e(o),ke={type:o.arrow?"ARROW":"FUNCTION",params:Q.params.map(Tt=>{if(Tt.type==="JsdocTypeKeyValue"){if(Tt.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:Tt.key,typeName:T(Tt.right)}}else return T(Tt)}),new:null,returns:null};return Q.this!==void 0?ke.this=T(Q.this):o.arrow||(ke.this=null),Q.new!==void 0&&(ke.new=T(Q.new)),o.returnType!==void 0&&(ke.returns=T(o.returnType)),ke},JsdocTypeGeneric:(o,T)=>{let Q={type:"GENERIC",subject:T(o.left),objects:o.elements.map(T),meta:{syntax:o.meta.brackets==="square"?"SQUARE_BRACKET":o.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return o.meta.brackets==="square"&&o.elements[0].type==="JsdocTypeFunction"&&!o.elements[0].parenthesis&&(Q.objects[0]={type:"NAME",name:"function"}),Q},JsdocTypeObjectField:(o,T)=>{if(typeof o.key!="string")throw new Error("Index signatures and mapped types are not supported");if(o.right===void 0)return{type:"RECORD_ENTRY",key:o.key,quoteStyle:it(o.meta.quote),value:null,readonly:!1};let Q=T(o.right);return o.optional&&(Q={type:"OPTIONAL",value:Q,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:o.key.toString(),quoteStyle:it(o.meta.quote),value:Q,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(o,T)=>{if(o.right===void 0)return{type:"RECORD_ENTRY",key:o.key,quoteStyle:"none",value:null,readonly:!1};let Q=T(o.right);return o.optional&&(Q={type:"OPTIONAL",value:Q,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:o.key,quoteStyle:"none",value:Q,readonly:!1}},JsdocTypeObject:(o,T)=>{let Q=[];for(let ke of o.elements)(ke.type==="JsdocTypeObjectField"||ke.type==="JsdocTypeJsdocObjectField")&&Q.push(T(ke));return{type:"RECORD",entries:Q}},JsdocTypeSpecialNamePath:o=>{if(o.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${o.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:it(o.meta.quote),path:o.value}}},JsdocTypeNamePath:(o,T)=>{let Q=!1,ke,Tt;o.right.type==="JsdocTypeSpecialNamePath"&&o.right.specialType==="event"?(Q=!0,ke=o.right.value,Tt=it(o.right.meta.quote)):(ke=o.right.value,Tt=it(o.right.meta.quote));let Lt={type:Le(o.pathType),owner:T(o.left),name:ke,quoteStyle:Tt,hasEventPrefix:Q};if(Lt.owner.type==="MODULE"){let Wt=Lt.owner;return Lt.owner=Lt.owner.value,Wt.value=Lt,Wt}else return Lt},JsdocTypeUnion:(o,T)=>ot("UNION",o.elements.map(T)),JsdocTypeParenthesis:(o,T)=>({type:"PARENTHESIS",value:T(Vr(o.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:o=>({type:"STRING_VALUE",quoteStyle:it(o.meta.quote),string:o.value}),JsdocTypeIntersection:(o,T)=>ot("INTERSECTION",o.elements.map(T)),JsdocTypeNumber:o=>({type:"NUMBER_VALUE",number:o.value.toString()}),JsdocTypeSymbol:x,JsdocTypeProperty:x,JsdocTypePredicate:x,JsdocTypeMappedType:x,JsdocTypeIndexSignature:x,JsdocTypeAsserts:x,JsdocTypeReadonlyArray:x,JsdocTypeAssertsPlain:x,JsdocTypeConditional:x,JsdocTypeTypeParameter:x};function vt(o){return O(St,o)}function bt(){return{JsdocTypeIntersection:(o,T)=>({type:"JsdocTypeIntersection",elements:o.elements.map(T)}),JsdocTypeGeneric:(o,T)=>({type:"JsdocTypeGeneric",left:T(o.left),elements:o.elements.map(T),meta:{dot:o.meta.dot,brackets:o.meta.brackets}}),JsdocTypeNullable:o=>o,JsdocTypeUnion:(o,T)=>({type:"JsdocTypeUnion",elements:o.elements.map(T)}),JsdocTypeUnknown:o=>o,JsdocTypeUndefined:o=>o,JsdocTypeTypeof:(o,T)=>({type:"JsdocTypeTypeof",element:T(o.element)}),JsdocTypeSymbol:(o,T)=>{let Q={type:"JsdocTypeSymbol",value:o.value};return o.element!==void 0&&(Q.element=T(o.element)),Q},JsdocTypeOptional:(o,T)=>({type:"JsdocTypeOptional",element:T(o.element),meta:{position:o.meta.position}}),JsdocTypeObject:(o,T)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:o.elements.map(T)}),JsdocTypeNumber:o=>o,JsdocTypeNull:o=>o,JsdocTypeNotNullable:(o,T)=>({type:"JsdocTypeNotNullable",element:T(o.element),meta:{position:o.meta.position}}),JsdocTypeSpecialNamePath:o=>o,JsdocTypeObjectField:(o,T)=>({type:"JsdocTypeObjectField",key:o.key,right:o.right===void 0?void 0:T(o.right),optional:o.optional,readonly:o.readonly,meta:o.meta}),JsdocTypeJsdocObjectField:(o,T)=>({type:"JsdocTypeJsdocObjectField",left:T(o.left),right:T(o.right)}),JsdocTypeKeyValue:(o,T)=>({type:"JsdocTypeKeyValue",key:o.key,right:o.right===void 0?void 0:T(o.right),optional:o.optional,variadic:o.variadic}),JsdocTypeImport:(o,T)=>({type:"JsdocTypeImport",element:T(o.element)}),JsdocTypeAny:o=>o,JsdocTypeStringValue:o=>o,JsdocTypeNamePath:o=>o,JsdocTypeVariadic:(o,T)=>{let Q={type:"JsdocTypeVariadic",meta:{position:o.meta.position,squareBrackets:o.meta.squareBrackets}};return o.element!==void 0&&(Q.element=T(o.element)),Q},JsdocTypeTuple:(o,T)=>({type:"JsdocTypeTuple",elements:o.elements.map(T)}),JsdocTypeName:o=>o,JsdocTypeFunction:(o,T)=>{let Q={type:"JsdocTypeFunction",arrow:o.arrow,parameters:o.parameters.map(T),constructor:o.constructor,parenthesis:o.parenthesis};return o.returnType!==void 0&&(Q.returnType=T(o.returnType)),Q},JsdocTypeKeyof:(o,T)=>({type:"JsdocTypeKeyof",element:T(o.element)}),JsdocTypeParenthesis:(o,T)=>({type:"JsdocTypeParenthesis",element:T(o.element)}),JsdocTypeProperty:o=>o,JsdocTypePredicate:(o,T)=>({type:"JsdocTypePredicate",left:T(o.left),right:T(o.right)}),JsdocTypeIndexSignature:(o,T)=>({type:"JsdocTypeIndexSignature",key:o.key,right:T(o.right)}),JsdocTypeMappedType:(o,T)=>({type:"JsdocTypeMappedType",key:o.key,right:T(o.right)}),JsdocTypeAsserts:(o,T)=>({type:"JsdocTypeAsserts",left:T(o.left),right:T(o.right)}),JsdocTypeReadonlyArray:(o,T)=>({type:"JsdocTypeReadonlyArray",element:T(o.element)}),JsdocTypeAssertsPlain:(o,T)=>({type:"JsdocTypeAssertsPlain",element:T(o.element)}),JsdocTypeConditional:(o,T)=>({type:"JsdocTypeConditional",checksType:T(o.checksType),extendsType:T(o.extendsType),trueType:T(o.trueType),falseType:T(o.falseType)}),JsdocTypeTypeParameter:(o,T)=>({type:"JsdocTypeTypeParameter",name:T(o.name),constraint:o.constraint!==void 0?T(o.constraint):void 0,defaultValue:o.defaultValue!==void 0?T(o.defaultValue):void 0})}}let nr={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function At(o,T,Q,ke,Tt){ke?.(o,T,Q);let Lt=nr[o.type];for(let Wt of Lt){let sr=o[Wt];if(sr!==void 0)if(Array.isArray(sr))for(let br of sr)At(br,o,Wt,ke,Tt);else At(sr,o,Wt,ke,Tt)}Tt?.(o,T,Q)}function et(o,T,Q){At(o,void 0,void 0,T,Q)}Dt.catharsisTransform=st,Dt.identityTransformRules=bt,Dt.jtpTransform=vt,Dt.parse=Ai,Dt.stringify=Pe,Dt.stringifyRules=Oe,Dt.transform=O,Dt.traverse=et,Dt.tryParse=_,Dt.visitorKeys=nr}))}}),l=Z=>Z.name==="literal",B=Z=>Z.value.replace(/['|"]/g,""),M=Z=>{switch(Z.type){case"function":return{name:"function"};case"object":let qe={};return Z.signature.properties.forEach(Dt=>{qe[Dt.key]=k(Dt.value)}),{name:"object",value:qe};default:throw new h.UnknownArgTypesError({type:Z,language:"Flow"})}},k=Z=>{let{name:qe,raw:Dt}=Z,Ut={};switch(typeof Dt<"u"&&(Ut.raw=Dt),Z.name){case"literal":return{...Ut,name:"other",value:Z.value};case"string":case"number":case"symbol":case"boolean":return{...Ut,name:qe};case"Array":return{...Ut,name:"array",value:Z.elements.map(k)};case"signature":return{...Ut,...M(Z)};case"union":return Z.elements?.every(l)?{...Ut,name:"enum",value:Z.elements?.map(B)}:{...Ut,name:qe,value:Z.elements?.map(k)};case"intersection":return{...Ut,name:qe,value:Z.elements?.map(k)};default:return{...Ut,name:"other",value:qe}}},W=/^['"]|['"]$/g,L=Z=>Z.replace(W,""),G=Z=>W.test(Z),U=Z=>{let qe=L(Z);return G(Z)||Number.isNaN(Number(qe))?qe:Number(qe)},S=/^\(.*\) => /,Y=Z=>{let{name:qe,raw:Dt,computed:Ut,value:Qt}=Z,rr={};switch(typeof Dt<"u"&&(rr.raw=Dt),qe){case"enum":{let Ar=Ut?Qt:Qt.map(Rr=>U(Rr.value));return{...rr,name:qe,value:Ar}}case"string":case"number":case"symbol":return{...rr,name:qe};case"func":return{...rr,name:"function"};case"bool":case"boolean":return{...rr,name:"boolean"};case"arrayOf":case"array":return{...rr,name:"array",value:Qt&&Y(Qt)};case"object":return{...rr,name:qe};case"objectOf":return{...rr,name:qe,value:Y(Qt)};case"shape":case"exact":let _r=(0,p.mapValues)(Qt,Ar=>Y(Ar));return{...rr,name:"object",value:_r};case"union":return{...rr,name:"union",value:Qt.map(Ar=>Y(Ar))};default:{if(qe?.indexOf("|")>0)try{let vn=qe.split("|").map(ln=>JSON.parse(ln));return{...rr,name:"enum",value:vn}}catch{}let Ar=Qt?`${qe}(${Qt})`:qe,Rr=S.test(qe)?"function":"other";return{...rr,name:Rr,value:Ar}}}},N=Z=>Z.name==="literal",$=Z=>Z.name==="undefined",ae=Z=>{switch(Z.type){case"function":return{name:"function"};case"object":let qe={};return Z.signature.properties.forEach(Dt=>{qe[Dt.key]=ne(Dt.value)}),{name:"object",value:qe};default:throw new h.UnknownArgTypesError({type:Z,language:"Typescript"})}},ne=Z=>{let{name:qe,raw:Dt}=Z,Ut={};switch(typeof Dt<"u"&&(Ut.raw=Dt),Z.name){case"string":case"number":case"symbol":case"boolean":return{...Ut,name:qe};case"Array":return{...Ut,name:"array",value:Z.elements.map(ne)};case"signature":return{...Ut,...ae(Z)};case"union":{let Qt=Z.elements.filter(rr=>!$(rr));if(Qt.length>0&&Qt.every(N)){let rr=Qt.filter(N);return{...Ut,name:"enum",value:rr.map(_r=>U(_r.value))}}return{...Ut,name:qe,value:Z.elements.map(ne)}}case"intersection":return{...Ut,name:qe,value:Z.elements.map(ne)};default:return{...Ut,name:"other",value:qe}}},P=Z=>{let{type:qe,tsType:Dt,flowType:Ut}=Z;try{if(qe!=null)return Y(qe);if(Dt!=null)return ne(Dt);if(Ut!=null)return k(Ut)}catch(Qt){f.error(Qt)}return null},V=(Z=>(Z.JAVASCRIPT="JavaScript",Z.FLOW="Flow",Z.TYPESCRIPT="TypeScript",Z.UNKNOWN="Unknown",Z))(V||{}),X=["null","undefined"];function me(Z){return X.some(qe=>qe===Z)}var we=Z=>{if(!Z)return"";if(typeof Z=="string")return Z;throw new Error(`Description: expected string, got: ${JSON.stringify(Z)}`)};function Re(Z){return!!Z.__docgenInfo}function Ae(Z){return Z!=null&&Object.keys(Z).length>0}function te(Z,qe){return Re(Z)?Z.__docgenInfo[qe]:null}function Se(Z){return Re(Z)?we(Z.__docgenInfo.description):""}var Te;(function(Z){Z.start="/**",Z.nostart="/***",Z.delim="*",Z.end="*/"})(Te=Te||(Te={}));function Ue(Z){return/^\s+$/.test(Z)}function ft(Z){let qe=Z.match(/\r+$/);return qe==null?["",Z]:[Z.slice(-qe[0].length),Z.slice(0,-qe[0].length)]}function ut(Z){let qe=Z.match(/^\s+/);return qe==null?["",Z]:[Z.slice(0,qe[0].length),Z.slice(qe[0].length)]}function Ft(Z){return Z.split(/\n/)}function kt(Z={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},Z)}function ht(Z={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},Z)}var se=/^@\S+/;function He({fence:Z="```"}={}){let qe=ge(Z),Dt=(Ut,Qt)=>qe(Ut)?!Qt:Qt;return function(Ut){let Qt=[[]],rr=!1;for(let _r of Ut)se.test(_r.tokens.description)&&!rr?Qt.push([_r]):Qt[Qt.length-1].push(_r),rr=Dt(_r.tokens.description,rr);return Qt}}function ge(Z){return typeof Z=="string"?qe=>qe.split(Z).length%2===0:Z}function je({startLine:Z=0,markers:qe=Te}={}){let Dt=null,Ut=Z;return function(Qt){let rr=Qt,_r=ht();if([_r.lineEnd,rr]=ft(rr),[_r.start,rr]=ut(rr),Dt===null&&rr.startsWith(qe.start)&&!rr.startsWith(qe.nostart)&&(Dt=[],_r.delimiter=rr.slice(0,qe.start.length),rr=rr.slice(qe.start.length),[_r.postDelimiter,rr]=ut(rr)),Dt===null)return Ut++,null;let Ar=rr.trimRight().endsWith(qe.end);if(_r.delimiter===""&&rr.startsWith(qe.delim)&&!rr.startsWith(qe.end)&&(_r.delimiter=qe.delim,rr=rr.slice(qe.delim.length),[_r.postDelimiter,rr]=ut(rr)),Ar){let Rr=rr.trimRight();_r.end=rr.slice(Rr.length-qe.end.length),rr=Rr.slice(0,-qe.end.length)}if(_r.description=rr,Dt.push({number:Ut,source:Qt,tokens:_r}),Ut++,Ar){let Rr=Dt.slice();return Dt=null,Rr}return null}}function nt({tokenizers:Z}){return function(qe){var Dt;let Ut=kt({source:qe});for(let Qt of Z)if(Ut=Qt(Ut),!((Dt=Ut.problems[Ut.problems.length-1])===null||Dt===void 0)&&Dt.critical)break;return Ut}}function Rt(){return Z=>{let{tokens:qe}=Z.source[0],Dt=qe.description.match(/\s*(@(\S+))(\s*)/);return Dt===null?(Z.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:Z.source[0].number,critical:!0}),Z):(qe.tag=Dt[1],qe.postTag=Dt[3],qe.description=qe.description.slice(Dt[0].length),Z.tag=Dt[2],Z)}}function Bt(Z="compact"){let qe=xe(Z);return Dt=>{let Ut=0,Qt=[];for(let[Ar,{tokens:Rr}]of Dt.source.entries()){let vn="";if(Ar===0&&Rr.description[0]!=="{")return Dt;for(let ln of Rr.description)if(ln==="{"&&Ut++,ln==="}"&&Ut--,vn+=ln,Ut===0)break;if(Qt.push([Rr,vn]),Ut===0)break}if(Ut!==0)return Dt.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:Dt.source[0].number,critical:!0}),Dt;let rr=[],_r=Qt[0][0].postDelimiter.length;for(let[Ar,[Rr,vn]]of Qt.entries())Rr.type=vn,Ar>0&&(Rr.type=Rr.postDelimiter.slice(_r)+vn,Rr.postDelimiter=Rr.postDelimiter.slice(0,_r)),[Rr.postType,Rr.description]=ut(Rr.description.slice(vn.length)),rr.push(Rr.type);return rr[0]=rr[0].slice(1),rr[rr.length-1]=rr[rr.length-1].slice(0,-1),Dt.type=qe(rr),Dt}}var Me=Z=>Z.trim();function xe(Z){return Z==="compact"?qe=>qe.map(Me).join(""):Z==="preserve"?qe=>qe.join(`
|
|
161
|
+
`):Z}var rt=Z=>Z&&Z.startsWith('"')&&Z.endsWith('"');function _t(){let Z=(qe,{tokens:Dt},Ut)=>Dt.type===""?qe:Ut;return qe=>{let{tokens:Dt}=qe.source[qe.source.reduce(Z,0)],Ut=Dt.description.trimLeft(),Qt=Ut.split('"');if(Qt.length>1&&Qt[0]===""&&Qt.length%2===1)return qe.name=Qt[1],Dt.name=`"${Qt[1]}"`,[Dt.postName,Dt.description]=ut(Ut.slice(Dt.name.length)),qe;let rr=0,_r="",Ar=!1,Rr;for(let ln of Ut){if(rr===0&&Ue(ln))break;ln==="["&&rr++,ln==="]"&&rr--,_r+=ln}if(rr!==0)return qe.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:qe.source[0].number,critical:!0}),qe;let vn=_r;if(_r[0]==="["&&_r[_r.length-1]==="]"){Ar=!0,_r=_r.slice(1,-1);let ln=_r.split("=");if(_r=ln[0].trim(),ln[1]!==void 0&&(Rr=ln.slice(1).join("=").trim()),_r==="")return qe.problems.push({code:"spec:name:empty-name",message:"empty name",line:qe.source[0].number,critical:!0}),qe;if(Rr==="")return qe.problems.push({code:"spec:name:empty-default",message:"empty default value",line:qe.source[0].number,critical:!0}),qe;if(!rt(Rr)&&/=(?!>)/.test(Rr))return qe.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:qe.source[0].number,critical:!0}),qe}return qe.optional=Ar,qe.name=_r,Dt.name=vn,Rr!==void 0&&(qe.default=Rr),[Dt.postName,Dt.description]=ut(Ut.slice(Dt.name.length)),qe}}function Pt(Z="compact",qe=Te){let Dt=fe(Z);return Ut=>(Ut.description=Dt(Ut.source,qe),Ut)}function fe(Z){return Z==="compact"?pe:Z==="preserve"?c:Z}function pe(Z,qe=Te){return Z.map(({tokens:{description:Dt}})=>Dt.trim()).filter(Dt=>Dt!=="").join(" ")}var yt=(Z,{tokens:qe},Dt)=>qe.type===""?Z:Dt,F=({tokens:Z})=>(Z.delimiter===""?Z.start:Z.postDelimiter.slice(1))+Z.description;function c(Z,qe=Te){if(Z.length===0)return"";Z[0].tokens.description===""&&Z[0].tokens.delimiter===qe.start&&(Z=Z.slice(1));let Dt=Z[Z.length-1];return Dt!==void 0&&Dt.tokens.description===""&&Dt.tokens.end.endsWith(qe.end)&&(Z=Z.slice(0,-1)),Z=Z.slice(Z.reduce(yt,0)),Z.map(F).join(`
|
|
162
|
+
`)}function s({startLine:Z=0,fence:qe="```",spacing:Dt="compact",markers:Ut=Te,tokenizers:Qt=[Rt(),Bt(Dt),_t(),Pt(Dt)]}={}){if(Z<0||Z%1>0)throw new Error("Invalid startLine");let rr=je({startLine:Z,markers:Ut}),_r=He({fence:qe}),Ar=nt({tokenizers:Qt}),Rr=fe(Dt);return function(vn){let ln=[];for(let ci of Ft(vn)){let mo=rr(ci);if(mo===null)continue;let xo=_r(mo),io=xo.slice(1).map(Ar);ln.push({description:Rr(xo[0],Ut),tags:io,source:mo,problems:io.reduce((fn,Hn)=>fn.concat(Hn.problems),[])})}return ln}}function R(Z){return Z.start+Z.delimiter+Z.postDelimiter+Z.tag+Z.postTag+Z.type+Z.postType+Z.name+Z.postName+Z.description+Z.end+Z.lineEnd}function oe(){return Z=>Z.source.map(({tokens:qe})=>R(qe)).join(`
|
|
163
|
+
`)}var Ne={line:0,start:0,delimiter:0,postDelimiter:0,tag:0,postTag:0,name:0,postName:0,type:0,postType:0,description:0,end:0,lineEnd:0},tt=Object.keys(Ne);function It(Z,qe={}){return s(qe)(Z)}var zt=oe(),De=(0,v.__toESM)(g(),1);function Qe(Z){return Z!=null&&Z.includes("@")}function H(Z){let qe=`/**
|
|
164
|
+
`+(Z??"").split(`
|
|
165
|
+
`).map(Ut=>` * ${Ut}`).join(`
|
|
166
|
+
`)+`
|
|
167
|
+
*/`,Dt=It(qe,{spacing:"preserve"});if(!Dt||Dt.length===0)throw new Error("Cannot parse JSDoc tags.");return Dt[0]}var y={tags:["param","arg","argument","returns","ignore","deprecated"]},A=(Z,qe=y)=>{if(!Qe(Z))return{includesJsDoc:!1,ignore:!1};let Dt=H(Z),Ut=ue(Dt,qe.tags);return Ut.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:Dt.description.trim(),extractedTags:Ut}};function ue(Z,qe){let Dt={params:null,deprecated:null,returns:null,ignore:!1};for(let Ut of Z.tags)if(!(qe!==void 0&&!qe.includes(Ut.tag)))if(Ut.tag==="ignore"){Dt.ignore=!0;break}else switch(Ut.tag){case"param":case"arg":case"argument":{let Qt=Ee(Ut);Qt!=null&&(Dt.params==null&&(Dt.params=[]),Dt.params.push(Qt));break}case"deprecated":{let Qt=ye(Ut);Qt!=null&&(Dt.deprecated=Qt);break}case"returns":{let Qt=Ye(Ut);Qt!=null&&(Dt.returns=Qt);break}default:break}return Dt}function j(Z){return Z.replace(/[\.-]$/,"")}function Ee(Z){if(!Z.name||Z.name==="-")return null;let qe=lr(Z.type);return{name:Z.name,type:qe,description:Ce(Z.description),getPrettyName:()=>j(Z.name),getTypeName:()=>qe?D(qe):null}}function ye(Z){return Z.name?$e(Z.name,Z.description):null}function $e(Z,qe){let Dt=Z===""?qe:`${Z} ${qe}`;return Ce(Dt)}function Ce(Z){let qe=Z.replace(/^- /g,"").trim();return qe===""?null:qe}function Ye(Z){let qe=lr(Z.type);return qe?{type:qe,description:$e(Z.name,Z.description),getTypeName:()=>D(qe)}:null}var J=(0,De.stringifyRules)(),Ct=J.JsdocTypeObject;J.JsdocTypeAny=()=>"any",J.JsdocTypeObject=(Z,qe)=>`(${Ct(Z,qe)})`,J.JsdocTypeOptional=(Z,qe)=>qe(Z.element),J.JsdocTypeNullable=(Z,qe)=>qe(Z.element),J.JsdocTypeNotNullable=(Z,qe)=>qe(Z.element),J.JsdocTypeUnion=(Z,qe)=>Z.elements.map(qe).join("|");function lr(Z){try{return(0,De.parse)(Z,"typescript")}catch{return null}}function D(Z){return(0,De.transform)(J,Z)}var at=90,wt=50;function ce(Z){return Z.length>90}function ze(Z){return Z.length>50}function dt(Z,qe){return Z===qe?{summary:Z}:{summary:Z,detail:qe}}var pr=Z=>Z.replace(/\\r\\n/g,"\\n");function er(Z,qe){if(Z!=null){let{value:Dt}=Z;if(!me(Dt))return ze(Dt)?dt(qe?.name,Dt):dt(Dt)}return null}function ur({name:Z,value:qe,elements:Dt,raw:Ut}){return qe??(Dt!=null?Dt.map(ur).join(" | "):Ut??Z)}function Tr({name:Z,raw:qe,elements:Dt}){return Dt!=null?dt(Dt.map(ur).join(" | ")):qe!=null?dt(qe.replace(/^\|\s*/,"")):dt(Z)}function Bn({type:Z,raw:qe}){return qe!=null?dt(qe):dt(Z)}function Ur({type:Z,raw:qe}){return qe!=null?ce(qe)?dt(Z,qe):dt(qe):dt(Z)}function Dr(Z){let{type:qe}=Z;return qe==="object"?Ur(Z):Bn(Z)}function Jr({name:Z,raw:qe}){return qe!=null?ce(qe)?dt(Z,qe):dt(qe):dt(Z)}function tn(Z){if(Z==null)return null;switch(Z.name){case"union":return Tr(Z);case"signature":return Dr(Z);default:return Jr(Z)}}var tr=(Z,qe)=>{let{flowType:Dt,description:Ut,required:Qt,defaultValue:rr}=qe;return{name:Z,type:tn(Dt),required:Qt,description:Ut,defaultValue:er(rr??null,Dt??null)}};function dn({defaultValue:Z}){if(Z!=null){let{value:qe}=Z;if(!me(qe))return dt(qe)}return null}function un({tsType:Z,required:qe}){if(Z==null)return null;let Dt=Z.name;return qe||(Dt=Dt.replace(" | undefined","")),dt(["Array","Record","signature"].includes(Z.name)?Z.raw:Dt)}var xr=(Z,qe)=>{let{description:Dt,required:Ut}=qe;return{name:Z,type:un(qe),required:Ut,description:Dt,defaultValue:dn(qe)}};function rn(Z){return Z!=null?dt(Z.name):null}function $r(Z){let{computed:qe,func:Dt}=Z;return typeof qe>"u"&&typeof Dt>"u"}function sn(Z){return Z?Z.name==="string"?!0:Z.name==="enum"?Array.isArray(Z.value)&&Z.value.every(({value:qe})=>typeof qe=="string"&&qe[0]==='"'&&qe[qe.length-1]==='"'):!1:!1}function En(Z,qe){if(Z!=null){let{value:Dt}=Z;if(!me(Dt))return $r(Z)&&sn(qe)?dt(JSON.stringify(Dt)):dt(Dt)}return null}function qr(Z,qe,Dt){let{description:Ut,required:Qt,defaultValue:rr}=Dt;return{name:Z,type:rn(qe),required:Qt,description:Ut,defaultValue:En(rr,qe)}}function Qr(Z,qe){if(qe?.includesJsDoc){let{description:Dt,extractedTags:Ut}=qe;Dt!=null&&(Z.description=qe.description);let Qt={...Ut,params:Ut?.params?.map(rr=>({name:rr.getPrettyName(),description:rr.description}))};Object.values(Qt).filter(Boolean).length>0&&(Z.jsDocTags=Qt)}return Z}var An=(Z,qe,Dt)=>{let Ut=qr(Z,qe.type,qe);return Ut.sbType=P(qe),Qr(Ut,Dt)},So=(Z,qe,Dt)=>{let Ut=xr(Z,qe);return Ut.sbType=P(qe),Qr(Ut,Dt)},Ho=(Z,qe,Dt)=>{let Ut=tr(Z,qe);return Ut.sbType=P(qe),Qr(Ut,Dt)},Do=(Z,qe,Dt)=>{let Ut=qr(Z,{name:"unknown"},qe);return Qr(Ut,Dt)},Oi=Z=>{switch(Z){case"JavaScript":return An;case"TypeScript":return So;case"Flow":return Ho;default:return Do}},Fi=Z=>Z.type!=null?"JavaScript":Z.flowType!=null?"Flow":Z.tsType!=null?"TypeScript":"Unknown",Un=Z=>{let qe=Fi(Z[0]),Dt=Oi(qe);return Z.map(Ut=>{let Qt=Ut;return Ut.type?.elements&&(Qt={...Ut,type:{...Ut.type,value:Ut.type.elements}}),fo(Qt.name,Qt,qe,Dt)})},Br=Z=>{let qe=Object.keys(Z),Dt=Fi(Z[qe[0]]),Ut=Oi(Dt);return qe.map(Qt=>{let rr=Z[Qt];return rr!=null?fo(Qt,rr,Dt,Ut):null}).filter(Boolean)},is=(Z,qe)=>{let Dt=te(Z,qe);return Ae(Dt)?Array.isArray(Dt)?Un(Dt):Br(Dt):[]};function fo(Z,qe,Dt,Ut){let Qt=A(qe.description);return Qt.includesJsDoc&&Qt.ignore?null:{propDef:Ut(Z,qe,Qt),jsDocTags:Qt.extractedTags,docgenInfo:qe,typeSystem:Dt}}function si(Z){return Z!=null?Se(Z):""}var ai=(...Z)=>{let qe={},Dt=Z.filter(Boolean),Ut=Dt.reduce((Qt,rr)=>(Object.entries(rr).forEach(([_r,Ar])=>{let Rr=Qt[_r];Array.isArray(Ar)||typeof Rr>"u"?Qt[_r]=Ar:(0,w.isPlainObject)(Ar)&&(0,w.isPlainObject)(Rr)?qe[_r]=!0:typeof Ar<"u"&&(Qt[_r]=Ar)}),Qt),{});return Object.keys(qe).forEach(Qt=>{let rr=Dt.filter(Boolean).map(_r=>_r[Qt]).filter(_r=>typeof _r<"u");rr.every(_r=>(0,w.isPlainObject)(_r))?Ut[Qt]=ai(...rr):Ut[Qt]=rr[rr.length-1]}),Ut},ss=Z=>{let{component:qe,argTypes:Dt,parameters:{docs:Ut={}}}=Z,{extractArgTypes:Qt}=Ut;if(!Qt||!qe)return Dt;let rr=Qt(qe);return rr?ai(rr,Dt):Dt},ho="storybook/docs",ji=`${ho}/panel`,ui="docs",li=`${ho}/snippet-rendered`,qn=(Z=>(Z.AUTO="auto",Z.CODE="code",Z.DYNAMIC="dynamic",Z))(qn||{})}),"../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-YK43Z22A.js":((ee,i,u)=>{"use strict";u.r(i),u.d(i,{cloneDeep:()=>W,mapValues:()=>v,mergeWith:()=>E,omit:()=>L,pick:()=>f,pickBy:()=>g,toMerged:()=>U});var p=u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-LCHBOIHN.js"),w=u("../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js").Buffer;function v(S,Y){let N={},$=Object.keys(S);for(let ae=0;ae<$.length;ae++){let ne=$[ae],P=S[ne];N[ne]=Y(P,ne,S)}return N}function h(S){return S==="__proto__"}function E(S,Y,N){let $=Object.keys(Y);for(let ae=0;ae<$.length;ae++){let ne=$[ae];if(h(ne))continue;let P=Y[ne],V=S[ne],X=N(V,P,ne,S,Y);X!==void 0?S[ne]=X:Array.isArray(P)?Array.isArray(V)?S[ne]=E(V,P,N):S[ne]=E([],P,N):(0,p.isPlainObject)(P)?(0,p.isPlainObject)(V)?S[ne]=E(V,P,N):S[ne]=E({},P,N):(V===void 0||P!==void 0)&&(S[ne]=P)}return S}function f(S,Y){let N={};for(let $=0;$<Y.length;$++){let ae=Y[$];Object.hasOwn(S,ae)&&(N[ae]=S[ae])}return N}function g(S,Y){let N={},$=Object.keys(S);for(let ae=0;ae<$.length;ae++){let ne=$[ae],P=S[ne];Y(P,ne)&&(N[ne]=P)}return N}function l(S){if((0,p.isPrimitive)(S))return S;if(Array.isArray(S)||(0,p.isTypedArray)(S)||S instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&S instanceof SharedArrayBuffer)return S.slice(0);let Y=Object.getPrototypeOf(S),N=Y.constructor;if(S instanceof Date||S instanceof Map||S instanceof Set)return new N(S);if(S instanceof RegExp){let $=new N(S);return $.lastIndex=S.lastIndex,$}if(S instanceof DataView)return new N(S.buffer.slice(0));if(S instanceof Error){let $=new N(S.message);return $.stack=S.stack,$.name=S.name,$.cause=S.cause,$}if(typeof File<"u"&&S instanceof File)return new N([S],S.name,{type:S.type,lastModified:S.lastModified});if(typeof S=="object"){let $=Object.create(Y);return Object.assign($,S)}return S}function B(S,Y,N,$=new Map,ae=void 0){let ne=ae?.(S,Y,N,$);if(ne!==void 0)return ne;if((0,p.isPrimitive)(S))return S;if($.has(S))return $.get(S);if(Array.isArray(S)){let P=new Array(S.length);$.set(S,P);for(let V=0;V<S.length;V++)P[V]=B(S[V],V,N,$,ae);return Object.hasOwn(S,"index")&&(P.index=S.index),Object.hasOwn(S,"input")&&(P.input=S.input),P}if(S instanceof Date)return new Date(S.getTime());if(S instanceof RegExp){let P=new RegExp(S.source,S.flags);return P.lastIndex=S.lastIndex,P}if(S instanceof Map){let P=new Map;$.set(S,P);for(let[V,X]of S)P.set(V,B(X,V,N,$,ae));return P}if(S instanceof Set){let P=new Set;$.set(S,P);for(let V of S)P.add(B(V,void 0,N,$,ae));return P}if(typeof w<"u"&&w.isBuffer(S))return S.subarray();if((0,p.isTypedArray)(S)){let P=new(Object.getPrototypeOf(S)).constructor(S.length);$.set(S,P);for(let V=0;V<S.length;V++)P[V]=B(S[V],V,N,$,ae);return P}if(S instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&S instanceof SharedArrayBuffer)return S.slice(0);if(S instanceof DataView){let P=new DataView(S.buffer.slice(0),S.byteOffset,S.byteLength);return $.set(S,P),M(P,S,N,$,ae),P}if(typeof File<"u"&&S instanceof File){let P=new File([S],S.name,{type:S.type});return $.set(S,P),M(P,S,N,$,ae),P}if(typeof Blob<"u"&&S instanceof Blob){let P=new Blob([S],{type:S.type});return $.set(S,P),M(P,S,N,$,ae),P}if(S instanceof Error){let P=new S.constructor;return $.set(S,P),P.message=S.message,P.name=S.name,P.stack=S.stack,P.cause=S.cause,M(P,S,N,$,ae),P}if(S instanceof Boolean){let P=new Boolean(S.valueOf());return $.set(S,P),M(P,S,N,$,ae),P}if(S instanceof Number){let P=new Number(S.valueOf());return $.set(S,P),M(P,S,N,$,ae),P}if(S instanceof String){let P=new String(S.valueOf());return $.set(S,P),M(P,S,N,$,ae),P}if(typeof S=="object"&&k(S)){let P=Object.create(Object.getPrototypeOf(S));return $.set(S,P),M(P,S,N,$,ae),P}return S}function M(S,Y,N=S,$,ae){let ne=[...Object.keys(Y),...(0,p.getSymbols)(Y)];for(let P=0;P<ne.length;P++){let V=ne[P],X=Object.getOwnPropertyDescriptor(S,V);(X==null||X.writable)&&(S[V]=B(Y[V],V,N,$,ae))}}function k(S){switch((0,p.getTag)(S)){case p.argumentsTag:case p.arrayTag:case p.arrayBufferTag:case p.dataViewTag:case p.booleanTag:case p.dateTag:case p.float32ArrayTag:case p.float64ArrayTag:case p.int8ArrayTag:case p.int16ArrayTag:case p.int32ArrayTag:case p.mapTag:case p.numberTag:case p.objectTag:case p.regexpTag:case p.setTag:case p.stringTag:case p.symbolTag:case p.uint8ArrayTag:case p.uint8ClampedArrayTag:case p.uint16ArrayTag:case p.uint32ArrayTag:return!0;default:return!1}}function W(S){return B(S,void 0,S,new Map,void 0)}function L(S,Y){let N={...S};for(let $=0;$<Y.length;$++){let ae=Y[$];delete N[ae]}return N}var G=new RegExp("\\p{Lu}?\\p{Ll}+|[0-9]+|\\p{Lu}+(?!\\p{Ll})|\\p{Emoji_Presentation}|\\p{Extended_Pictographic}|\\p{L}+","gu");function U(S,Y){return E(l(S),Y,function N($,ae){if(Array.isArray(ae))return Array.isArray($)?E(l($),ae,N):E([],ae,N);if((0,p.isPlainObject)(ae))return(0,p.isPlainObject)($)?E(l($),ae,N):E({},ae,N)})}}),"../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/csf/index.js":((ee,i,u)=>{"use strict";u.r(i),u.d(i,{combineTags:()=>Aa,definePreview:()=>ef,definePreviewAddon:()=>tf,getCoreAnnotations:()=>Hs,getStoryChildren:()=>Sl,includeConditionalArg:()=>Vu,isExportStory:()=>Vs,isMeta:()=>vl,isPreview:()=>rf,isStory:()=>xs,parseKind:()=>of,sanitize:()=>ba,storyNameFromExport:()=>Cl,toId:()=>Dl,toTestId:()=>xl});var p="storybook/background",w="backgrounds",v={UPDATE:`${p}/update`},h="storybook/measure-addon",E=`${h}/tool`,f="measureEnabled",g={RESULT:`${h}/result`,REQUEST:`${h}/request`,CLEAR:`${h}/clear`},l="storybook/outline",B="outline",M={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}};function k(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}function W(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
|
|
168
|
+
animation: none !important;
|
|
169
|
+
}`,document.head.appendChild(t);let n=document.createElement("style");return n.textContent=`*, *:before, *:after {
|
|
170
|
+
animation-delay: 0s !important;
|
|
171
|
+
animation-direction: ${e?"reverse":"normal"} !important;
|
|
172
|
+
animation-play-state: paused !important;
|
|
173
|
+
transition: none !important;
|
|
174
|
+
}`,document.head.appendChild(n),document.body.clientHeight,document.head.removeChild(t),()=>{n.parentNode?.removeChild(n)}}async function L(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(n=>{setTimeout(()=>{let a=[globalThis.document,...G(globalThis.document)],d=async()=>{if(t||e?.aborted)return;let m=a.flatMap(I=>I?.getAnimations?.()||[]).filter(I=>I.playState==="running"&&!U(I));m.length>0&&(await Promise.allSettled(m.map(async I=>I.finished)),await d())};d().then(n)},100)}),new Promise(n=>setTimeout(()=>{t=!0,n(void 0)},5e3))])}function G(e){return[e,...e.querySelectorAll("*")].reduce((t,n)=>("shadowRoot"in n&&n.shadowRoot&&t.push(n.shadowRoot,...G(n.shadowRoot)),t),[])}function U(e){if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let t=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=t.animationName?.split(", ").indexOf(e.animationName);return t.animationIterationCount.split(", ")[n]==="infinite"}return!1}var S={AUTODOCS:"autodocs",ATTACHED_MDX:"attached-mdx",UNATTACHED_MDX:"unattached-mdx",PLAY_FN:"play-fn",TEST_FN:"test-fn",DEV:"dev",TEST:"test",MANIFEST:"manifest"},Y={_docs:(e,t)=>t?e.type!=="docs":e.type==="docs",_play:(e,t)=>t?e.type!=="story"||!e.tags?.includes(S.PLAY_FN):e.type==="story"&&!!e.tags?.includes(S.PLAY_FN),_test:(e,t)=>t?e.type!=="story"||e.subtype!=="test":e.type==="story"&&e.subtype==="test"},N=e=>(t,n)=>n?!t.tags?.includes(e):!!t.tags?.includes(e),$=u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-A242L54C.js"),ae=(0,$.__commonJS)({"../../node_modules/picoquery/lib/string-util.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=a;var t=Array.from({length:256},(d,m)=>"%"+((m<16?"0":"")+m.toString(16)).toUpperCase()),n=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,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,0,0,0,0,1,0,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,0,0,0,1,0]);function a(d){let m=d.length;if(m===0)return"";let I="",z=0,q=0;e:for(;q<m;q++){let ie=d.charCodeAt(q);for(;ie<128;){if(n[ie]!==1&&(z<q&&(I+=d.slice(z,q)),z=q+1,I+=t[ie]),++q===m)break e;ie=d.charCodeAt(q)}if(z<q&&(I+=d.slice(z,q)),ie<2048){z=q+1,I+=t[192|ie>>6]+t[128|ie&63];continue}if(ie<55296||ie>=57344){z=q+1,I+=t[224|ie>>12]+t[128|ie>>6&63]+t[128|ie&63];continue}if(++q,q>=m)throw new Error("URI malformed");let he=d.charCodeAt(q)&1023;z=q+1,ie=65536+((ie&1023)<<10|he),I+=t[240|ie>>18]+t[128|ie>>12&63]+t[128|ie>>6&63]+t[128|ie&63]}return z===0?d:z<m?I+d.slice(z):I}}}),ne=(0,$.__commonJS)({"../../node_modules/picoquery/lib/shared.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=ae(),n=m=>{switch(typeof m){case"string":return(0,t.encodeString)(m);case"bigint":case"boolean":return""+m;case"number":if(Number.isFinite(m))return m<1e21?""+m:(0,t.encodeString)(""+m);break}return m instanceof Date?(0,t.encodeString)(m.toISOString()):""};e.defaultValueSerializer=n;var a=m=>m instanceof Date;e.defaultShouldSerializeObject=a;var d=m=>m;e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:d,valueSerializer:e.defaultValueSerializer,keyDeserializer:d,shouldSerializeObject:e.defaultShouldSerializeObject}}}),P=(0,$.__commonJS)({"../../node_modules/picoquery/lib/object-util.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=d,e.stringifyObject=he;var t=ne(),n=ae();function a(ve){return ve==="__proto__"||ve==="constructor"||ve==="prototype"}function d(ve,Ge,Ve,ct,We){if(a(Ge))return ve;let lt=ve[Ge];return typeof lt=="object"&<!==null?lt:!ct&&(We||typeof Ve=="number"||typeof Ve=="string"&&Ve*0===0&&Ve.indexOf(".")===-1)?ve[Ge]=[]:ve[Ge]={}}var m=20,I="[]",z="[",q="]",ie=".";function he(ve,Ge,Ve=0,ct,We){let{nestingSyntax:lt=t.defaultOptions.nestingSyntax,arrayRepeat:Ot=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:gt=t.defaultOptions.arrayRepeatSyntax,nesting:Kt=t.defaultOptions.nesting,delimiter:Mt=t.defaultOptions.delimiter,valueSerializer:or=t.defaultOptions.valueSerializer,shouldSerializeObject:qt=t.defaultOptions.shouldSerializeObject}=Ge,xt=typeof Mt=="number"?String.fromCharCode(Mt):Mt,Ht=We===!0&&Ot,Yt=lt==="dot"||lt==="js"&&!We;if(Ve>m)return"";let ir="",Zt=!0,ar=!1;for(let gr in ve){let mt=ve[gr];if(mt===void 0)continue;let pt;ct?(pt=ct,Ht?gt==="bracket"&&(pt+=I):Yt?(pt+=ie,pt+=gr):(pt+=z,pt+=gr,pt+=q)):pt=gr,Zt||(ir+=xt),typeof mt=="object"&&mt!==null&&!qt(mt)?(ar=mt.pop!==void 0,(Kt||Ot&&ar)&&(ir+=he(mt,Ge,Ve+1,pt,ar))):(ir+=(0,n.encodeString)(pt),ir+="=",ir+=or(mt,gr)),Zt&&(Zt=!1)}return ir}}}),V=(0,$.__commonJS)({"../../node_modules/picoquery/lib/decode-uri-component.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeURIComponent=d;var t=12,n=0,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function d(z){let q=z.indexOf("%");if(q===-1)return z;let ie=z.length,he="",ve=0,Ge=0,Ve=q,ct=t;for(;q>-1&&q<ie;){let We=I(z[q+1],4),lt=I(z[q+2],0),Ot=We|lt,gt=a[Ot];if(ct=a[256+ct+gt],Ge=Ge<<6|Ot&a[364+gt],ct===t)he+=z.slice(ve,Ve),he+=Ge<=65535?String.fromCharCode(Ge):String.fromCharCode(55232+(Ge>>10),56320+(Ge&1023)),Ge=0,ve=q+3,q=Ve=z.indexOf("%",ve);else{if(ct===n)return null;if(q+=3,q<ie&&z.charCodeAt(q)===37)continue;return null}}return he+z.slice(ve)}var m={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function I(z,q){let ie=m[z];return ie===void 0?255:ie<<q}}}),X=(0,$.__commonJS)({"../../node_modules/picoquery/lib/parse.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=ie;var t=P(),n=ne(),a=V(),d=he=>{let ve=Number(he);return Number.isNaN(ve)?he:ve};e.numberKeyDeserializer=d;var m=he=>{let ve=Number(he);return Number.isNaN(ve)?he:ve};e.numberValueDeserializer=m;var I=/\+/g,z=function(){};z.prototype=Object.create(null);function q(he,ve,Ge,Ve,ct){let We=he.substring(ve,Ge);return Ve&&(We=We.replace(I," ")),ct&&(We=(0,a.decodeURIComponent)(We)||We),We}function ie(he,ve){let{valueDeserializer:Ge=n.defaultOptions.valueDeserializer,keyDeserializer:Ve=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:ct=n.defaultOptions.arrayRepeatSyntax,nesting:We=n.defaultOptions.nesting,arrayRepeat:lt=n.defaultOptions.arrayRepeat,nestingSyntax:Ot=n.defaultOptions.nestingSyntax,delimiter:gt=n.defaultOptions.delimiter}=ve??{},Kt=typeof gt=="string"?gt.charCodeAt(0):gt,Mt=Ot==="js",or=new z;if(typeof he!="string")return or;let qt=he.length,xt="",Ht=-1,Yt=-1,ir=-1,Zt=or,ar,gr="",mt="",pt=!1,Gt=!1,mr=!1,wr=!1,Pr=!1,Gr=!1,Mr=0,Wr=-1,$n=-1,Zn=-1;for(let Hr=0;Hr<qt+1;Hr++){if(Mr=Hr!==qt?he.charCodeAt(Hr):Kt,Mr===Kt){if(Gr=Yt>Ht,Gr||(Yt=Hr),ir!==Yt-1&&(mt=q(he,ir+1,Wr>-1?Wr:Yt,mr,pt),gr=Ve(mt),ar!==void 0&&(Zt=(0,t.getDeepObject)(Zt,ar,gr,Mt&&Pr,void 0))),Gr||gr!==""){Gr&&(xt=he.slice(Yt+1,Hr),wr&&(xt=xt.replace(I," ")),Gt&&(xt=(0,a.decodeURIComponent)(xt)||xt));let Fn=Ge(xt,gr);if(lt){let Qn=Zt[gr];Qn===void 0?Wr>-1?Zt[gr]=[Fn]:Zt[gr]=Fn:Qn.pop?Qn.push(Fn):Zt[gr]=[Qn,Fn]}else Zt[gr]=Fn}xt="",Ht=Hr,Yt=Hr,pt=!1,Gt=!1,mr=!1,wr=!1,Pr=!1,Wr=-1,ir=Hr,Zt=or,ar=void 0,gr=""}else Mr===93?(lt&&ct==="bracket"&&Zn===91&&(Wr=$n),We&&(Ot==="index"||Mt)&&Yt<=Ht&&(ir!==$n&&(mt=q(he,ir+1,Hr,mr,pt),gr=Ve(mt),ar!==void 0&&(Zt=(0,t.getDeepObject)(Zt,ar,gr,void 0,void 0)),ar=gr,mr=!1,pt=!1),ir=Hr,Pr=!1)):Mr===46?We&&(Ot==="dot"||Mt)&&Yt<=Ht&&(ir!==$n&&(mt=q(he,ir+1,Hr,mr,pt),gr=Ve(mt),ar!==void 0&&(Zt=(0,t.getDeepObject)(Zt,ar,gr,Mt)),ar=gr,mr=!1,pt=!1),Pr=!0,ir=Hr):Mr===91?We&&(Ot==="index"||Mt)&&Yt<=Ht&&(ir!==$n&&(mt=q(he,ir+1,Hr,mr,pt),gr=Ve(mt),Mt&&ar!==void 0&&(Zt=(0,t.getDeepObject)(Zt,ar,gr,Mt)),ar=gr,mr=!1,pt=!1,Pr=!1),ir=Hr):Mr===61?Yt<=Ht?Yt=Hr:Gt=!0:Mr===43?Yt>Ht?wr=!0:mr=!0:Mr===37&&(Yt>Ht?Gt=!0:pt=!0);$n=Hr,Zn=Mr}return or}}}),me=(0,$.__commonJS)({"../../node_modules/picoquery/lib/stringify.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=n;var t=P();function n(a,d){if(a===null||typeof a!="object")return"";let m=d??{};return(0,t.stringifyObject)(a,m)}}}),we=(0,$.__commonJS)({"../../node_modules/picoquery/lib/main.js"(e){"use strict";var t=e&&e.__createBinding||(Object.create?(function(m,I,z,q){q===void 0&&(q=z);var ie=Object.getOwnPropertyDescriptor(I,z);(!ie||("get"in ie?!I.__esModule:ie.writable||ie.configurable))&&(ie={enumerable:!0,get:function(){return I[z]}}),Object.defineProperty(m,q,ie)}):(function(m,I,z,q){q===void 0&&(q=z),m[q]=I[z]})),n=e&&e.__exportStar||function(m,I){for(var z in m)z!=="default"&&!Object.prototype.hasOwnProperty.call(I,z)&&t(I,m,z)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var a=X();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return a.parse}});var d=me();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return d.stringify}}),n(ne(),e)}}),Re=u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-SI6AKD4S.js");function Ae(){}var te=u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-LCHBOIHN.js"),Se=u("../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js").Buffer;function Te(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function Ue(e,t,n){return ft(e,t,void 0,void 0,void 0,void 0,n)}function ft(e,t,n,a,d,m,I){let z=I(e,t,n,a,d,m);if(z!==void 0)return z;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return ut(e,t,m,I)}return ut(e,t,m,I)}function ut(e,t,n,a){if(Object.is(e,t))return!0;let d=(0,te.getTag)(e),m=(0,te.getTag)(t);if(d===te.argumentsTag&&(d=te.objectTag),m===te.argumentsTag&&(m=te.objectTag),d!==m)return!1;switch(d){case te.stringTag:return e.toString()===t.toString();case te.numberTag:{let q=e.valueOf(),ie=t.valueOf();return Te(q,ie)}case te.booleanTag:case te.dateTag:case te.symbolTag:return Object.is(e.valueOf(),t.valueOf());case te.regexpTag:return e.source===t.source&&e.flags===t.flags;case te.functionTag:return e===t}n=n??new Map;let I=n.get(e),z=n.get(t);if(I!=null&&z!=null)return I===t;n.set(e,t),n.set(t,e);try{switch(d){case te.mapTag:{if(e.size!==t.size)return!1;for(let[q,ie]of e.entries())if(!t.has(q)||!ft(ie,t.get(q),q,e,t,n,a))return!1;return!0}case te.setTag:{if(e.size!==t.size)return!1;let q=Array.from(e.values()),ie=Array.from(t.values());for(let he=0;he<q.length;he++){let ve=q[he],Ge=ie.findIndex(Ve=>ft(ve,Ve,void 0,e,t,n,a));if(Ge===-1)return!1;ie.splice(Ge,1)}return!0}case te.arrayTag:case te.uint8ArrayTag:case te.uint8ClampedArrayTag:case te.uint16ArrayTag:case te.uint32ArrayTag:case te.bigUint64ArrayTag:case te.int8ArrayTag:case te.int16ArrayTag:case te.int32ArrayTag:case te.bigInt64ArrayTag:case te.float32ArrayTag:case te.float64ArrayTag:{if(typeof Se<"u"&&Se.isBuffer(e)!==Se.isBuffer(t)||e.length!==t.length)return!1;for(let q=0;q<e.length;q++)if(!ft(e[q],t[q],q,e,t,n,a))return!1;return!0}case te.arrayBufferTag:return e.byteLength!==t.byteLength?!1:ut(new Uint8Array(e),new Uint8Array(t),n,a);case te.dataViewTag:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:ut(new Uint8Array(e),new Uint8Array(t),n,a);case te.errorTag:return e.name===t.name&&e.message===t.message;case te.objectTag:{if(!(ut(e.constructor,t.constructor,n,a)||(0,te.isPlainObject)(e)&&(0,te.isPlainObject)(t)))return!1;let q=[...Object.keys(e),...(0,te.getSymbols)(e)],ie=[...Object.keys(t),...(0,te.getSymbols)(t)];if(q.length!==ie.length)return!1;for(let he=0;he<q.length;he++){let ve=q[he],Ge=e[ve];if(!Object.hasOwn(t,ve))return!1;let Ve=t[ve];if(!ft(Ge,Ve,ve,e,t,n,a))return!1}return!0}default:return!1}}finally{n.delete(e),n.delete(t)}}function Ft(e,t){return Ue(e,t,Ae)}var kt=!0,ht="Invariant failed";function se(e,t){if(!e){if(kt)throw new Error(ht);var n=typeof t=="function"?t():t,a=n?"".concat(ht,": ").concat(n):ht;throw new Error(a)}}var He=(0,$.__commonJS)({"../../node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
175
|
+
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),ge=(0,$.__commonJS)({"../../node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}}),je=(0,$.__commonJS)({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),nt=(0,$.__commonJS)({"../../node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),Rt=(0,$.__commonJS)({"../../node_modules/entities/lib/decode_codepoint.js"(e){"use strict";var t=e&&e.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(e,"__esModule",{value:!0});var n=t(nt()),a=String.fromCodePoint||function(m){var I="";return m>65535&&(m-=65536,I+=String.fromCharCode(m>>>10&1023|55296),m=56320|m&1023),I+=String.fromCharCode(m),I};function d(m){return m>=55296&&m<=57343||m>1114111?"\uFFFD":(m in n.default&&(m=n.default[m]),a(m))}e.default=d}}),Bt=(0,$.__commonJS)({"../../node_modules/entities/lib/decode.js"(e){"use strict";var t=e&&e.__importDefault||function(he){return he&&he.__esModule?he:{default:he}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var n=t(He()),a=t(ge()),d=t(je()),m=t(Rt()),I=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=z(d.default),e.decodeHTMLStrict=z(n.default);function z(he){var ve=ie(he);return function(Ge){return String(Ge).replace(I,ve)}}var q=function(he,ve){return he<ve?1:-1};e.decodeHTML=(function(){for(var he=Object.keys(a.default).sort(q),ve=Object.keys(n.default).sort(q),Ge=0,Ve=0;Ge<ve.length;Ge++)he[Ve]===ve[Ge]?(ve[Ge]+=";?",Ve++):ve[Ge]+=";";var ct=new RegExp("&(?:"+ve.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),We=ie(n.default);function lt(Ot){return Ot.substr(-1)!==";"&&(Ot+=";"),We(Ot)}return function(Ot){return String(Ot).replace(ct,lt)}})();function ie(he){return function(ve){if(ve.charAt(1)==="#"){var Ge=ve.charAt(2);return Ge==="X"||Ge==="x"?m.default(parseInt(ve.substr(3),16)):m.default(parseInt(ve.substr(2),10))}return he[ve.slice(1,-1)]||ve}}}}),Me=(0,$.__commonJS)({"../../node_modules/entities/lib/encode.js"(e){"use strict";var t=e&&e.__importDefault||function(gt){return gt&>.__esModule?gt:{default:gt}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var n=t(je()),a=q(n.default),d=ie(a);e.encodeXML=Ot(a);var m=t(He()),I=q(m.default),z=ie(I);e.encodeHTML=Ve(I,z),e.encodeNonAsciiHTML=Ot(I);function q(gt){return Object.keys(gt).sort().reduce(function(Kt,Mt){return Kt[gt[Mt]]="&"+Mt+";",Kt},{})}function ie(gt){for(var Kt=[],Mt=[],or=0,qt=Object.keys(gt);or<qt.length;or++){var xt=qt[or];xt.length===1?Kt.push("\\"+xt):Mt.push(xt)}Kt.sort();for(var Ht=0;Ht<Kt.length-1;Ht++){for(var Yt=Ht;Yt<Kt.length-1&&Kt[Yt].charCodeAt(1)+1===Kt[Yt+1].charCodeAt(1);)Yt+=1;var ir=1+Yt-Ht;ir<3||Kt.splice(Ht,ir,Kt[Ht]+"-"+Kt[Yt])}return Mt.unshift("["+Kt.join("")+"]"),new RegExp(Mt.join("|"),"g")}var he=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,ve=String.prototype.codePointAt!=null?(function(gt){return gt.codePointAt(0)}):(function(gt){return(gt.charCodeAt(0)-55296)*1024+gt.charCodeAt(1)-56320+65536});function Ge(gt){return"&#x"+(gt.length>1?ve(gt):gt.charCodeAt(0)).toString(16).toUpperCase()+";"}function Ve(gt,Kt){return function(Mt){return Mt.replace(Kt,function(or){return gt[or]}).replace(he,Ge)}}var ct=new RegExp(d.source+"|"+he.source,"g");function We(gt){return gt.replace(ct,Ge)}e.escape=We;function lt(gt){return gt.replace(d,Ge)}e.escapeUTF8=lt;function Ot(gt){return function(Kt){return Kt.replace(ct,function(Mt){return gt[Mt]||Ge(Mt)})}}}}),xe=(0,$.__commonJS)({"../../node_modules/entities/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=Bt(),n=Me();function a(q,ie){return(!ie||ie<=0?t.decodeXML:t.decodeHTML)(q)}e.decode=a;function d(q,ie){return(!ie||ie<=0?t.decodeXML:t.decodeHTMLStrict)(q)}e.decodeStrict=d;function m(q,ie){return(!ie||ie<=0?n.encodeXML:n.encodeHTML)(q)}e.encode=m;var I=Me();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return I.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return I.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return I.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return I.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return I.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return I.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return I.encodeHTML}});var z=Bt();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return z.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return z.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return z.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return z.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return z.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return z.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return z.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return z.decodeXML}})}}),rt=(0,$.__commonJS)({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){"use strict";function n(mt,pt){if(!(mt instanceof pt))throw new TypeError("Cannot call a class as a function")}function a(mt,pt){for(var Gt=0;Gt<pt.length;Gt++){var mr=pt[Gt];mr.enumerable=mr.enumerable||!1,mr.configurable=!0,"value"in mr&&(mr.writable=!0),Object.defineProperty(mt,mr.key,mr)}}function d(mt,pt,Gt){return pt&&a(mt.prototype,pt),Gt&&a(mt,Gt),mt}function m(mt,pt){var Gt=typeof Symbol<"u"&&mt[Symbol.iterator]||mt["@@iterator"];if(!Gt){if(Array.isArray(mt)||(Gt=I(mt))||pt&&mt&&typeof mt.length=="number"){Gt&&(mt=Gt);var mr=0,wr=function(){};return{s:wr,n:function(){return mr>=mt.length?{done:!0}:{done:!1,value:mt[mr++]}},e:function(Wr){throw Wr},f:wr}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
176
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Pr=!0,Gr=!1,Mr;return{s:function(){Gt=Gt.call(mt)},n:function(){var Wr=Gt.next();return Pr=Wr.done,Wr},e:function(Wr){Gr=!0,Mr=Wr},f:function(){try{!Pr&&Gt.return!=null&&Gt.return()}finally{if(Gr)throw Mr}}}}function I(mt,pt){if(mt){if(typeof mt=="string")return z(mt,pt);var Gt=Object.prototype.toString.call(mt).slice(8,-1);if(Gt==="Object"&&mt.constructor&&(Gt=mt.constructor.name),Gt==="Map"||Gt==="Set")return Array.from(mt);if(Gt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Gt))return z(mt,pt)}}function z(mt,pt){(pt==null||pt>mt.length)&&(pt=mt.length);for(var Gt=0,mr=new Array(pt);Gt<pt;Gt++)mr[Gt]=mt[Gt];return mr}var q=xe(),ie={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:he()};function he(){var mt={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return gt(0,5).forEach(function(pt){gt(0,5).forEach(function(Gt){gt(0,5).forEach(function(mr){return ve(pt,Gt,mr,mt)})})}),gt(0,23).forEach(function(pt){var Gt=pt+232,mr=Ge(pt*10+8);mt[Gt]="#"+mr+mr+mr}),mt}function ve(mt,pt,Gt,mr){var wr=16+mt*36+pt*6+Gt,Pr=mt>0?mt*40+55:0,Gr=pt>0?pt*40+55:0,Mr=Gt>0?Gt*40+55:0;mr[wr]=Ve([Pr,Gr,Mr])}function Ge(mt){for(var pt=mt.toString(16);pt.length<2;)pt="0"+pt;return pt}function Ve(mt){var pt=[],Gt=m(mt),mr;try{for(Gt.s();!(mr=Gt.n()).done;){var wr=mr.value;pt.push(Ge(wr))}}catch(Pr){Gt.e(Pr)}finally{Gt.f()}return"#"+pt.join("")}function ct(mt,pt,Gt,mr){var wr;return pt==="text"?wr=or(Gt,mr):pt==="display"?wr=lt(mt,Gt,mr):pt==="xterm256Foreground"?wr=Ht(mt,mr.colors[Gt]):pt==="xterm256Background"?wr=Yt(mt,mr.colors[Gt]):pt==="rgb"&&(wr=We(mt,Gt)),wr}function We(mt,pt){pt=pt.substring(2).slice(0,-1);var Gt=+pt.substr(0,2),mr=pt.substring(5).split(";"),wr=mr.map(function(Pr){return("0"+Number(Pr).toString(16)).substr(-2)}).join("");return xt(mt,(Gt===38?"color:#":"background-color:#")+wr)}function lt(mt,pt,Gt){pt=parseInt(pt,10);var mr={"-1":function(){return"<br/>"},0:function(){return mt.length&&Ot(mt)},1:function(){return qt(mt,"b")},3:function(){return qt(mt,"i")},4:function(){return qt(mt,"u")},8:function(){return xt(mt,"display:none")},9:function(){return qt(mt,"strike")},22:function(){return xt(mt,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return ir(mt,"i")},24:function(){return ir(mt,"u")},39:function(){return Ht(mt,Gt.fg)},49:function(){return Yt(mt,Gt.bg)},53:function(){return xt(mt,"text-decoration:overline")}},wr;return mr[pt]?wr=mr[pt]():4<pt&&pt<7?wr=qt(mt,"blink"):29<pt&&pt<38?wr=Ht(mt,Gt.colors[pt-30]):39<pt&&pt<48?wr=Yt(mt,Gt.colors[pt-40]):89<pt&&pt<98?wr=Ht(mt,Gt.colors[8+(pt-90)]):99<pt&&pt<108&&(wr=Yt(mt,Gt.colors[8+(pt-100)])),wr}function Ot(mt){var pt=mt.slice(0);return mt.length=0,pt.reverse().map(function(Gt){return"</"+Gt+">"}).join("")}function gt(mt,pt){for(var Gt=[],mr=mt;mr<=pt;mr++)Gt.push(mr);return Gt}function Kt(mt){return function(pt){return(mt===null||pt.category!==mt)&&mt!=="all"}}function Mt(mt){mt=parseInt(mt,10);var pt=null;return mt===0?pt="all":mt===1?pt="bold":2<mt&&mt<5?pt="underline":4<mt&&mt<7?pt="blink":mt===8?pt="hide":mt===9?pt="strike":29<mt&&mt<38||mt===39||89<mt&&mt<98?pt="foreground-color":(39<mt&&mt<48||mt===49||99<mt&&mt<108)&&(pt="background-color"),pt}function or(mt,pt){return pt.escapeXML?q.encodeXML(mt):mt}function qt(mt,pt,Gt){return Gt||(Gt=""),mt.push(pt),"<".concat(pt).concat(Gt?' style="'.concat(Gt,'"'):"",">")}function xt(mt,pt){return qt(mt,"span",pt)}function Ht(mt,pt){return qt(mt,"span","color:"+pt)}function Yt(mt,pt){return qt(mt,"span","background-color:"+pt)}function ir(mt,pt){var Gt;if(mt.slice(-1)[0]===pt&&(Gt=mt.pop()),Gt)return"</"+pt+">"}function Zt(mt,pt,Gt){var mr=!1,wr=3;function Pr(){return""}function Gr(co,po){return Gt("xterm256Foreground",po),""}function Mr(co,po){return Gt("xterm256Background",po),""}function Wr(co){return pt.newline?Gt("display",-1):Gt("text",co),""}function $n(co,po){mr=!0,po.trim().length===0&&(po="0"),po=po.trimRight(";").split(";");var zs=m(po),Ol;try{for(zs.s();!(Ol=zs.n()).done;){var uf=Ol.value;Gt("display",uf)}}catch(lf){zs.e(lf)}finally{zs.f()}return""}function Zn(co){return Gt("text",co),""}function Hr(co){return Gt("rgb",co),""}var Fn=[{pattern:/^\x08+/,sub:Pr},{pattern:/^\x1b\[[012]?K/,sub:Pr},{pattern:/^\x1b\[\(B/,sub:Pr},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:Hr},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Gr},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Mr},{pattern:/^\n/,sub:Wr},{pattern:/^\r+\n/,sub:Wr},{pattern:/^\r/,sub:Wr},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:$n},{pattern:/^\x1b\[\d?J/,sub:Pr},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Pr},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Pr},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Zn}];function Qn(co,po){po>wr&&mr||(mr=!1,mt=mt.replace(co.pattern,co.sub))}var $o=[],Cs=mt,ii=Cs.length;e:for(;ii>0;){for(var os=0,Rl=0,sf=Fn.length;Rl<sf;os=++Rl){var af=Fn[os];if(Qn(af,os),mt.length!==ii){ii=mt.length;continue e}}if(mt.length===ii)break;$o.push(0),ii=mt.length}return $o}function ar(mt,pt,Gt){return pt!=="text"&&(mt=mt.filter(Kt(Mt(Gt))),mt.push({token:pt,data:Gt,category:Mt(Gt)})),mt}var gr=(function(){function mt(pt){n(this,mt),pt=pt||{},pt.colors&&(pt.colors=Object.assign({},ie.colors,pt.colors)),this.options=Object.assign({},ie,pt),this.stack=[],this.stickyStack=[]}return d(mt,[{key:"toHtml",value:function(pt){var Gt=this;pt=typeof pt=="string"?[pt]:pt;var mr=this.stack,wr=this.options,Pr=[];return this.stickyStack.forEach(function(Gr){var Mr=ct(mr,Gr.token,Gr.data,wr);Mr&&Pr.push(Mr)}),Zt(pt.join(""),wr,function(Gr,Mr){var Wr=ct(mr,Gr,Mr,wr);Wr&&Pr.push(Wr),wr.stream&&(Gt.stickyStack=ar(Gt.stickyStack,Gr,Mr))}),mr.length&&Pr.push(Ot(mr)),Pr.join("")}}]),mt})();t.exports=gr}}),_t=u("../../node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/_browser-chunks/chunk-YK43Z22A.js"),Pt=(0,$.__commonJS)({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(n){if(typeof e=="object"&&typeof t<"u")t.exports=n();else if(typeof define=="function"&&u.amdO)define([],n);else{var a;typeof window<"u"?a=window:typeof u.g<"u"?a=u.g:typeof self<"u"?a=self:a=this,a.memoizerific=n()}})(function(){var n,a,d;return(function m(I,z,q){function ie(Ge,Ve){if(!z[Ge]){if(!I[Ge]){var ct=typeof $.__require=="function"&&$.__require;if(!Ve&&ct)return ct(Ge,!0);if(he)return he(Ge,!0);var We=new Error("Cannot find module '"+Ge+"'");throw We.code="MODULE_NOT_FOUND",We}var lt=z[Ge]={exports:{}};I[Ge][0].call(lt.exports,function(Ot){var gt=I[Ge][1][Ot];return ie(gt||Ot)},lt,lt.exports,m,I,z,q)}return z[Ge].exports}for(var he=typeof $.__require=="function"&&$.__require,ve=0;ve<q.length;ve++)ie(q[ve]);return ie})({1:[function(m,I,z){I.exports=function(q){if(typeof Map!="function"||q){var ie=m("./similar");return new ie}else return new Map}},{"./similar":2}],2:[function(m,I,z){function q(){return this.list=[],this.lastItem=void 0,this.size=0,this}q.prototype.get=function(ie){var he;if(this.lastItem&&this.isEqual(this.lastItem.key,ie))return this.lastItem.val;if(he=this.indexOf(ie),he>=0)return this.lastItem=this.list[he],this.list[he].val},q.prototype.set=function(ie,he){var ve;return this.lastItem&&this.isEqual(this.lastItem.key,ie)?(this.lastItem.val=he,this):(ve=this.indexOf(ie),ve>=0?(this.lastItem=this.list[ve],this.list[ve].val=he,this):(this.lastItem={key:ie,val:he},this.list.push(this.lastItem),this.size++,this))},q.prototype.delete=function(ie){var he;if(this.lastItem&&this.isEqual(this.lastItem.key,ie)&&(this.lastItem=void 0),he=this.indexOf(ie),he>=0)return this.size--,this.list.splice(he,1)[0]},q.prototype.has=function(ie){var he;return this.lastItem&&this.isEqual(this.lastItem.key,ie)?!0:(he=this.indexOf(ie),he>=0?(this.lastItem=this.list[he],!0):!1)},q.prototype.forEach=function(ie,he){var ve;for(ve=0;ve<this.size;ve++)ie.call(he||this,this.list[ve].val,this.list[ve].key,this)},q.prototype.indexOf=function(ie){var he;for(he=0;he<this.size;he++)if(this.isEqual(this.list[he].key,ie))return he;return-1},q.prototype.isEqual=function(ie,he){return ie===he||ie!==ie&&he!==he},I.exports=q},{}],3:[function(m,I,z){var q=m("map-or-similar");I.exports=function(Ge){var Ve=new q(!1),ct=[];return function(We){var lt=function(){var Ot=Ve,gt,Kt,Mt=arguments.length-1,or=Array(Mt+1),qt=!0,xt;if((lt.numArgs||lt.numArgs===0)&<.numArgs!==Mt+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(xt=0;xt<Mt;xt++){if(or[xt]={cacheItem:Ot,arg:arguments[xt]},Ot.has(arguments[xt])){Ot=Ot.get(arguments[xt]);continue}qt=!1,gt=new q(!1),Ot.set(arguments[xt],gt),Ot=gt}return qt&&(Ot.has(arguments[Mt])?Kt=Ot.get(arguments[Mt]):qt=!1),qt||(Kt=We.apply(null,arguments),Ot.set(arguments[Mt],Kt)),Ge>0&&(or[Mt]={cacheItem:Ot,arg:arguments[Mt]},qt?ie(ct,or):ct.push(or),ct.length>Ge&&he(ct.shift())),lt.wasMemoized=qt,lt.numArgs=Mt+1,Kt};return lt.limit=Ge,lt.wasMemoized=!1,lt.cache=Ve,lt.lru=ct,lt}};function ie(Ge,Ve){var ct=Ge.length,We=Ve.length,lt,Ot,gt;for(Ot=0;Ot<ct;Ot++){for(lt=!0,gt=0;gt<We;gt++)if(!ve(Ge[Ot][gt].arg,Ve[gt].arg)){lt=!1;break}if(lt)break}Ge.push(Ge.splice(Ot,1)[0])}function he(Ge){var Ve=Ge.length,ct=Ge[Ve-1],We,lt;for(ct.cacheItem.delete(ct.arg),lt=Ve-2;lt>=0&&(ct=Ge[lt],We=ct.cacheItem.get(ct.arg),!We||!We.size);lt--)ct.cacheItem.delete(ct.arg)}function ve(Ge,Ve){return Ge===Ve||Ge!==Ge&&Ve!==Ve}},{"map-or-similar":1}]},{},[3])(3)})}});function fe(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var a=Array.from(typeof e=="string"?[e]:e);a[a.length-1]=a[a.length-1].replace(/\r?\n([\t ]*)$/,"");var d=a.reduce(function(z,q){var ie=q.match(/\n([\t ]+|(?!\s).)/g);return ie?z.concat(ie.map(function(he){var ve,Ge;return(Ge=(ve=he.match(/[\t ]/g))===null||ve===void 0?void 0:ve.length)!==null&&Ge!==void 0?Ge:0})):z},[]);if(d.length){var m=new RegExp(`
|
|
177
|
+
[ ]{`+Math.min.apply(Math,d)+"}","g");a=a.map(function(z){return z.replace(m,`
|
|
178
|
+
`)})}a[0]=a[0].replace(/^\r?\n/,"");var I=a[0];return t.forEach(function(z,q){var ie=I.match(/(?:^|\n)( *)$/),he=ie?ie[1]:"",ve=z;typeof z=="string"&&z.includes(`
|
|
179
|
+
`)&&(ve=String(z).split(`
|
|
180
|
+
`).map(function(Ge,Ve){return Ve===0?Ge:""+he+Ge}).join(`
|
|
181
|
+
`)),I+=ve+a[q+1]}),I}var pe=u("@storybook/global"),yt=u("storybook/internal/channels"),F=u("storybook/internal/client-logger"),c=u("storybook/internal/core-events"),s=u("storybook/internal/preview-errors"),R=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");function oe(){let e={setHandler:()=>{},send:()=>{}};return new yt.Channel({transport:e})}var Ne=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=oe();return this.setChannel(e),e}return this.channel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.setChannel=e=>{this.channel=e,this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},tt="__STORYBOOK_ADDONS_PREVIEW";function It(){return pe.global[tt]||(pe.global[tt]=new Ne),pe.global[tt]}var zt=It(),De=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=e=>{e===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),zt.getChannel().on(c.STORY_RENDERED,this.renderListener)}removeRenderListeners(){zt.getChannel().removeListener(c.STORY_RENDERED,this.renderListener)}};function Qe(e){let t=(...n)=>{let{hooks:a}=typeof n[0]=="function"?n[1]:n[0],d=a.currentPhase,m=a.currentHooks,I=a.nextHookIndex,z=a.currentDecoratorName;a.currentDecoratorName=e.name,a.prevMountedDecorators.has(e)?(a.currentPhase="UPDATE",a.currentHooks=a.hookListsMap.get(e)||[]):(a.currentPhase="MOUNT",a.currentHooks=[],a.hookListsMap.set(e,a.currentHooks),a.prevMountedDecorators.add(e)),a.nextHookIndex=0;let q=pe.global.STORYBOOK_HOOKS_CONTEXT;pe.global.STORYBOOK_HOOKS_CONTEXT=a;let ie=e(...n);if(pe.global.STORYBOOK_HOOKS_CONTEXT=q,a.currentPhase==="UPDATE"&&a.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return a.currentPhase=d,a.currentHooks=m,a.nextHookIndex=I,a.currentDecoratorName=z,ie};return t.originalFn=e,t}var H=0,y=25,A=e=>(t,n)=>{let a=e(Qe(t),n.map(d=>Qe(d)));return d=>{let{hooks:m}=d;m.prevMountedDecorators??=new Set,m.mountedDecorators=new Set([t,...n]),m.currentContext=d,m.hasUpdates=!1;let I=a(d);for(H=1;m.hasUpdates;)if(m.hasUpdates=!1,m.currentEffects=[],I=a(d),H+=1,H>y)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return m.addRenderListeners(),I}},ue=(e,t)=>e.length===t.length&&e.every((n,a)=>n===t[a]),j=()=>new Error(`Storybook preview hooks can only be called inside decorators and story functions.
|
|
182
|
+
|
|
183
|
+
When combining Storybook hooks (e.g. useArgs) with framework hooks (e.g. React's useState, useEffect, useRef) in the same render function, use Storybook's equivalents from 'storybook/preview-api' instead: useState, useEffect, useRef, useMemo, useCallback, useReducer.`);function Ee(){return pe.global.STORYBOOK_HOOKS_CONTEXT||null}function ye(){let e=Ee();if(e==null)throw j();return e}function $e(e,t,n){let a=ye();if(a.currentPhase==="MOUNT"){n!=null&&!Array.isArray(n)&&F.logger.warn(`${e} received a final argument that is not an array (instead, received ${n}). When specified, the final argument must be an array.`);let d={name:e,deps:n};return a.currentHooks.push(d),t(d),d}if(a.currentPhase==="UPDATE"){let d=a.getNextHook();if(d==null)throw new Error("Rendered more hooks than during the previous render.");return d.name!==e&&F.logger.warn(`Storybook has detected a change in the order of Hooks${a.currentDecoratorName?` called by ${a.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),n!=null&&d.deps==null&&F.logger.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),n!=null&&d.deps!=null&&n.length!==d.deps.length&&F.logger.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
184
|
+
Previous: ${d.deps}
|
|
185
|
+
Incoming: ${n}`),(n==null||d.deps==null||!ue(n,d.deps))&&(t(d),d.deps=n),d}throw j()}function Ce(e,t,n){let{memoizedState:a}=$e(e,d=>{d.memoizedState=t()},n);return a}function Ye(e,t){return Ce("useMemo",e,t)}function J(e,t){return Ce("useCallback",()=>e,t)}function Ct(e,t){return Ce(e,()=>({current:t}),[])}function lr(e){return Ct("useRef",e)}function D(){let e=Ee();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{zt.getChannel().emit(c.FORCE_RE_RENDER)}catch{F.logger.warn("State updates of Storybook preview hooks work only in browser")}}function at(e,t){let n=Ct(e,typeof t=="function"?t():t),a=d=>{n.current=typeof d=="function"?d(n.current):d,D()};return[n.current,a]}function wt(e){return at("useState",e)}function ce(e,t,n){let a=n!=null?()=>n(t):t,[d,m]=at("useReducer",a);return[d,I=>m(z=>e(z,I))]}function ze(e,t){let n=ye(),a=Ce("useEffect",()=>({create:e}),t);n.currentEffects.includes(a)||n.currentEffects.push(a)}function dt(e,t=[]){let n=zt.getChannel();return ze(()=>(Object.entries(e).forEach(([a,d])=>n.on(a,d)),()=>{Object.entries(e).forEach(([a,d])=>n.removeListener(a,d))}),[...Object.keys(e),...t]),J(n.emit.bind(n),[n])}function pr(){let{currentContext:e}=ye();if(e==null)throw j();return e}function er(e,t){let{parameters:n}=pr();if(e)return n[e]??t}function ur(){let e=zt.getChannel(),{id:t,args:n}=pr(),a=J(m=>e.emit(c.UPDATE_STORY_ARGS,{storyId:t,updatedArgs:m}),[e,t]),d=J(m=>e.emit(c.RESET_STORY_ARGS,{storyId:t,argNames:m}),[e,t]);return[n,a,d]}function Tr(){let e=zt.getChannel(),{globals:t}=pr(),n=J(a=>e.emit(c.UPDATE_GLOBALS,{globals:a}),[e]);return[t,n]}var Bn=({name:e,parameterName:t,wrapper:n,skipIfNoParametersOrOptions:a=!1})=>{let d=m=>(I,z)=>{let q=z.parameters&&z.parameters[t];return q&&q.disable||a&&!m&&!q?I(z):n(I,z,{options:m,parameters:q})};return(...m)=>typeof m[0]=="function"?d()(...m):(...I)=>{if(I.length>1)return m.length>1?d(m)(...I):d(...m)(...I);throw new Error(`Passing stories directly into ${e}() is not allowed,
|
|
186
|
+
instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},Ur=(0,$.__toESM)(Pt(),1),Dr=Symbol("incompatible"),Jr=(e,t)=>{let n=t.type;if(e==null||!n||t.mapping)return e;switch(n.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!n.value||!Array.isArray(e)?Dr:e.reduce((a,d,m)=>{let I=Jr(d,{type:n.value});return I!==Dr&&(a[m]=I),a},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!n.value||typeof e!="object"?Dr:Object.entries(e).reduce((a,[d,m])=>{let I=Jr(m,{type:n.value[d]});return I===Dr?a:Object.assign(a,{[d]:I})},{});case"other":{let a=typeof e=="string"||typeof e=="number"||typeof e=="boolean";return n.value==="ReactNode"&&a?e:Dr}default:return Dr}},tn=(e,t)=>Object.entries(e).reduce((n,[a,d])=>{if(!t[a])return n;let m=Jr(d,t[a]);return m===Dr?n:Object.assign(n,{[a]:m})},{}),tr=(e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((n,a,d)=>(n[d]=tr(e[d],t[d]),n),[...e]).filter(n=>n!==void 0):!(0,te.isPlainObject)(e)||!(0,te.isPlainObject)(t)?t:Object.keys({...e,...t}).reduce((n,a)=>{if(a in t){let d=tr(e[a],t[a]);d!==void 0&&(n[a]=d)}else n[a]=e[a];return n},{}),dn=(e,t)=>Object.entries(t).reduce((n,[a,{options:d}])=>{function m(){return a in e&&(n[a]=e[a]),n}if(!d)return m();if(!Array.isArray(d))return F.once.error(fe`
|
|
187
|
+
Invalid argType: '${a}.options' should be an array.
|
|
188
|
+
|
|
189
|
+
More info: https://storybook.js.org/docs/api/arg-types?ref=error
|
|
190
|
+
`),m();if(d.some(ve=>ve&&["object","function"].includes(typeof ve)))return F.once.error(fe`
|
|
191
|
+
Invalid argType: '${a}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
192
|
+
|
|
193
|
+
More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
|
|
194
|
+
`),m();let I=Array.isArray(e[a]),z=I&&e[a].findIndex(ve=>!d.includes(ve)),q=I&&z===-1;if(e[a]===void 0||d.includes(e[a])||q)return m();let ie=I?`${a}[${z}]`:a,he=d.map(ve=>typeof ve=="string"?`'${ve}'`:String(ve)).join(", ");return F.once.warn(`Received illegal value for '${ie}'. Supported options: ${he}`),n},{}),un=Symbol("Deeply equal"),xr=(e,t)=>{if(typeof e!=typeof t)return t;if(Ft(e,t))return un;if(Array.isArray(e)&&Array.isArray(t)){let n=t.reduce((a,d,m)=>{let I=xr(e[m],d);return I!==un&&(a[m]=I),a},new Array(t.length));return t.length>=e.length?n:n.concat(new Array(e.length-t.length).fill(void 0))}return(0,te.isPlainObject)(e)&&(0,te.isPlainObject)(t)?Object.keys({...e,...t}).reduce((n,a)=>{let d=xr(e?.[a],t?.[a]);return d===un?n:Object.assign(n,{[a]:d})},{}):t},rn="UNTARGETED";function $r({args:e,argTypes:t}){let n={};return Object.entries(e).forEach(([a,d])=>{let{target:m=rn}=t[a]||{};n[m]=n[m]||{},n[m][a]=d}),n}function sn(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}var En=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let t=xr(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==un&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let n=dn(t,e.argTypes);this.argsByStoryId[e.id]=tr(this.argsByStoryId[e.id],n)}updateFromPersisted(e,t){let n=tn(t,e.argTypes);return this.updateFromDelta(e,n)}update(e,t){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=sn({...this.argsByStoryId[e],...t})}},qr=(e={})=>Object.entries(e).reduce((t,[n,{defaultValue:a}])=>(typeof a<"u"&&(t[n]=a),t),{}),Qr=class{constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let n=this.initialGlobals&&xr(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]);let a=qr(t);this.initialGlobals={...a,...e},this.globals=this.initialGlobals,n&&n!==un&&this.updateFromPersisted(n)}filterAllowedGlobals(e){return Object.entries(e).reduce((t,[n,a])=>(this.allowedGlobalNames.has(n)?t[n]=a:F.logger.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),t),{})}updateFromPersisted(e){let t=this.filterAllowedGlobals(e);this.globals={...this.globals,...t}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)};for(let t in e)e[t]===void 0&&(this.globals[t]=this.initialGlobals[t])}},An=(0,$.__toESM)(Pt(),1),So=(0,An.default)(1)(e=>Object.values(e).reduce((t,n)=>(t[n.importPath]=t[n.importPath]||n,t),{})),Ho=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let t=Object.values(this.entries);if(e==="*")return t[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:t.find(d=>d.id.startsWith(e));let{name:n,title:a}=e;return t.find(d=>d.name===n&&d.title===a)}storyIdToEntry(e){let t=this.entries[e];if(!t)throw new s.MissingStoryAfterHmrError({storyId:e});return t}importPathToEntry(e){return So(this.entries)[e]}},Do=e=>typeof e=="string"?{name:e}:e,Oi=e=>typeof e=="string"?{type:e,disable:!1}:e&&typeof e=="object"&&"type"in e&&!("disable"in e)?{...e,disable:!1}:e,Fi=(e,t)=>{let{type:n,control:a,...d}=e,m={name:t,...d};return n&&(m.type=Do(n)),a?m.control=Oi(a):a===!1&&(m.control={disable:!0}),m},Un=e=>(0,_t.mapValues)(e,Fi),Br=e=>Array.isArray(e)?e:e?[e]:[],is=fe`
|
|
195
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
|
196
|
+
- StoryFn.story.name => StoryFn.storyName
|
|
197
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
198
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
199
|
+
`;function fo(e,t,n){let a=t,d=typeof t=="function"?t:null,{story:m}=a;m&&(F.logger.debug("deprecated story",m),(0,F.deprecate)(is));let I=Cl(e),z=typeof a!="function"&&a.name||a.storyName||m?.name||I,q=[...Br(a.decorators),...Br(m?.decorators)],ie={...m?.parameters,...a.parameters},he={...m?.args,...a.args},ve={...m?.argTypes,...a.argTypes},Ge=[...Br(a.loaders),...Br(m?.loaders)],Ve=[...Br(a.beforeEach),...Br(m?.beforeEach)],ct=[...Br(a.afterEach),...Br(m?.afterEach)],{render:We,play:lt,tags:Ot=[],globals:gt={}}=a,Kt=ie.__id||Dl(n.id,I);return{moduleExport:t,id:Kt,name:z,tags:Ot,decorators:q,parameters:ie,args:he,argTypes:Un(ve),loaders:Ge,beforeEach:Ve,afterEach:ct,globals:gt,...We&&{render:We},...d&&{userStoryFn:d},...lt&&{play:lt}}}function si(e,t=e.title,n){let{id:a,argTypes:d}=e;return{id:ba(a||t),...e,title:t,...d&&{argTypes:Un(d)},parameters:{fileName:n,...e.parameters}}}var ai=e=>{let{globals:t,globalTypes:n}=e;(t||n)&&F.logger.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:n}))},ss=e=>{let{options:t}=e;t?.storySort&&F.logger.error("The storySort option parameter can only be set globally")},ho=e=>{e&&(ai(e),ss(e))};function ji(e,t,n){let{default:a,__namedExportsOrder:d,...m}=e,I=Object.values(m).find(ie=>xs(ie));if(I){let ie=si(I.meta.input,n,t);ho(ie.parameters);let he={meta:ie,stories:{},moduleExports:e};return Object.keys(m).forEach(ve=>{if(Vs(ve,ie)&&xs(m[ve])){let Ge=m[ve],Ve=fo(ve,Ge.input,ie);ho(Ve.parameters),he.stories[Ve.id]=Ve,Sl(Ge).forEach(ct=>{let We=ct.input.name,lt=xl(Ve.id,We);ct.input.parameters??={},ct.input.parameters.__id=lt,he.stories[lt]=fo(We,ct.input,ie)})}}),he.projectAnnotations=I.meta.preview.composed,he}let z=si(a,n,t);ho(z.parameters);let q={meta:z,stories:{},moduleExports:e};return Object.keys(m).forEach(ie=>{if(Vs(ie,z)){let he=fo(ie,m[ie],z);ho(he.parameters),q.stories[he.id]=he}}),q}function ui(e){return e!=null&&li(e).includes("mount")}function li(e){let[,t,n]=e.toString().match(/[^(]*\(([^)]+)\)(?:.*{([^]+)})?/)||[];if(!t)return[];let[a]=Z(t);if(!a)return[];let[,d]=a.match(/^{([^]+)}$/)||[];if(d)return Z(qn(d)).map(z=>z.replace(/:.*|=.*/g,"").trim());if(!a.match(/^[a-z_$][0-9a-z_$]*$/i))return[];let m=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),[,I]=n?.trim()?.match(new RegExp(`^(?:const|let|var)\\s*{([^}]+)}\\s*=\\s*${m};`))||[];return I?Z(qn(I)).map(z=>z.replace(/:.*|=.*/g,"").trim()):[]}function qn(e){return e=e.replace(/\/\/.*$/gm,""),e=e.replace(/\/\*[\s\S]*?\*\//g,""),e}function Z(e){let t=[],n=[],a=0;for(let m=0;m<e.length;m++)if(e[m]==="{"||e[m]==="[")n.push(e[m]==="{"?"}":"]");else if(e[m]===n[n.length-1])n.pop();else if(!n.length&&e[m]===","){let I=e.substring(a,m).trim();I&&t.push(I),a=m+1}let d=e.substring(a).trim();return d&&t.push(d),t}function qe(e,t,n){let a=n(e);return d=>t(a,d)}function Dt({componentId:e,title:t,kind:n,id:a,name:d,story:m,parameters:I,initialArgs:z,argTypes:q,...ie}={}){return ie}function Ut(e,t){let n={},a=m=>I=>{if(!n.value)throw new Error("Decorated function called without init");return n.value={...n.value,...Dt(I)},m(n.value)},d=t.reduce((m,I)=>qe(m,I,a),e);return m=>(n.value=m,d(m))}function Qt(e,t,n){let{moduleExport:a,id:d,name:m}=e||{},I=_r(e,t,n),z=async qt=>{let xt={};for(let Ht of[Br(n.loaders),Br(t.loaders),Br(e.loaders)]){if(qt.abortSignal.aborted)return xt;let Yt=await Promise.all(Ht.map(ir=>ir(qt)));Object.assign(xt,...Yt)}return xt},q=async qt=>{let xt=new Array;for(let Ht of[...Br(n.beforeEach),...Br(t.beforeEach),...Br(e.beforeEach)]){if(qt.abortSignal.aborted)return xt;let Yt=await Ht(qt);Yt&&xt.push(Yt)}return xt},ie=async qt=>{let xt=[...Br(n.afterEach),...Br(t.afterEach),...Br(e.afterEach)].reverse();for(let Ht of xt){if(qt.abortSignal.aborted)return;await Ht(qt)}},he=qt=>qt.originalStoryFn(qt.args,qt),{applyDecorators:ve=Ut,runStep:Ge}=n,Ve=[...Br(e?.decorators),...Br(t?.decorators),...Br(n?.decorators)],ct=e?.userStoryFn||e?.render||t.render||n.render,We=A(ve)(he,Ve),lt=qt=>We(qt),Ot=e?.play??t?.play,gt=ui(Ot);if(!ct&&!gt)throw new s.NoRenderFunctionError({id:d});let Kt=qt=>async()=>(await qt.renderToCanvas(),qt.canvas),Mt=e.mount??t.mount??n.mount??Kt,or=n.testingLibraryRender;return{storyGlobals:{},...I,moduleExport:a,id:d,name:m,story:m,originalStoryFn:ct,undecoratedStoryFn:he,unboundStoryFn:lt,applyLoaders:z,applyBeforeEach:q,applyAfterEach:ie,playFunction:Ot,runStep:Ge,mount:Mt,testingLibraryRender:or,renderToCanvas:n.renderToCanvas,usesMount:gt}}function rr(e,t,n){return{..._r(void 0,e,t),moduleExport:n}}function _r(e,t,n){let a=[S.DEV,S.TEST],d=pe.global.DOCS_OPTIONS?.autodocs===!0?[S.AUTODOCS]:[],m=e?.tags?.includes(S.TEST_FN)?[`!${S.AUTODOCS}`]:[],I=Aa(...a,...d,...n.tags??[],...t.tags??[],...m,...e?.tags??[]),z=(0,Re.combineParameters)(n.parameters,t.parameters,e?.parameters),{argTypesEnhancers:q=[],argsEnhancers:ie=[]}=n,he=(0,Re.combineParameters)(n.argTypes,t.argTypes,e?.argTypes);if(e){let gt=e?.userStoryFn||e?.render||t.render||n.render;z.__isArgsStory=gt&>.length>0}let ve={...n.args,...t.args,...e?.args},Ge={...t.globals,...e?.globals},Ve={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:I,parameters:z,initialArgs:ve,argTypes:he,storyGlobals:Ge};Ve.argTypes=q.reduce((gt,Kt)=>Kt({...Ve,argTypes:gt}),Ve.argTypes);let ct={...ve};Ve.initialArgs=[...ie].reduce((gt,Kt)=>({...gt,...Kt({...Ve,initialArgs:gt})}),ct);let{name:We,story:lt,...Ot}=Ve;return Ot}function Ar(e){let{args:t}=e,n={...e,allArgs:void 0,argsByTarget:void 0};if(pe.global.FEATURES?.argTypeTargetsV7){let m=$r(e);n={...e,allArgs:e.args,argsByTarget:m,args:m[rn]||{}}}let a=Object.entries(n.args).reduce((m,[I,z])=>{if(!n.argTypes[I]?.mapping)return m[I]=z,m;let q=ie=>{let he=n.argTypes[I].mapping;return he&&ie in he?he[ie]:ie};return m[I]=Array.isArray(z)?z.map(q):q(z),m},{}),d=Object.entries(a).reduce((m,[I,z])=>{let q=n.argTypes[I]||{};return Vu(q,a,n.globals)&&(m[I]=z),m},{});return{...n,unmappedArgs:t,args:d}}var Rr=(e,t,n,a)=>{let d=typeof e;switch(d){case"boolean":case"string":case"number":case"function":case"symbol":return{name:d};default:break}if(e){if(a.has(e))return a.get(e);if(n.has(e))return F.logger.warn(fe`
|
|
200
|
+
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
201
|
+
|
|
202
|
+
Consider using the mapping feature or fully custom args:
|
|
203
|
+
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
204
|
+
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
205
|
+
`),{name:"other",value:"cyclic object"};n.add(e);let m;return Array.isArray(e)?m={name:"array",value:e.length>0?Rr(e[0],t,n,a):{name:"other",value:"unknown"}}:m={name:"object",value:(0,_t.mapValues)(e,I=>Rr(I,t,n,a))},n.delete(e),a.set(e,m),m}return{name:"object",value:{}}},vn=e=>{let{id:t,argTypes:n={},initialArgs:a={}}=e,d=new Map,m=(0,_t.mapValues)(a,(z,q)=>({name:q,type:Rr(z,`${t}.${q}`,new Set,d)})),I=(0,_t.mapValues)(n,(z,q)=>({name:q}));return(0,Re.combineParameters)(m,I,n)};vn.secondPass=!0;var ln=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),ci=(e,t,n)=>!t&&!n?e:e&&(0,_t.pickBy)(e,(a,d)=>{let m=a.name||d.toString();return!!(!t||ln(m,t))&&(!n||!ln(m,n))}),mo=(e,t,n)=>{let{type:a,options:d}=e;if(a){if(n.color&&n.color.test(t)){let m=a.name;if(m==="string")return{control:{type:"color"}};m!=="enum"&&F.logger.warn(`Addon controls: Control of type color only supports string, received "${m}" instead`)}if(n.date&&n.date.test(t))return{control:{type:"date"}};switch(a.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:m}=a;return{control:{type:m?.length<=5?"radio":"select"},options:m}}case"function":case"symbol":return null;default:return{control:{type:d?"select":"object"}}}}},xo=e=>{let{argTypes:t,parameters:{__isArgsStory:n,controls:{include:a=null,exclude:d=null,matchers:m={}}={}}}=e;if(!n)return t;let I=ci(t,a,d),z=(0,_t.mapValues)(I,(q,ie)=>q?.type&&mo(q,ie.toString(),m));return(0,Re.combineParameters)(z,I)};xo.secondPass=!0;function io({argTypes:e,argTypesEnhancers:t,decorators:n,loaders:a,beforeEach:d,afterEach:m,initialGlobals:I,...z}){return{...e&&{argTypes:Un(e)},decorators:Br(n),loaders:Br(a),beforeEach:Br(d),afterEach:Br(m),argTypesEnhancers:[...t||[],vn,xo],initialGlobals:I,...z}}var fn=e=>async()=>{let t=[];for(let n of e){let a=await n();a&&t.unshift(a)}return async()=>{for(let n of t)await n()}};function Hn(e){return async(t,n,a)=>{await e.reduceRight((d,m)=>async()=>m(t,d,a),async()=>n(a))()}}function Co(e,t){return e.map(n=>n.default?.[t]??n[t]).filter(Boolean)}function Vn(e,t,n={}){return Co(e,t).reduce((a,d)=>{let m=Br(d);return n.reverseFileOrder?[...m,...a]:[...a,...m]},[])}function To(e,t){return Object.assign({},...Co(e,t))}function _o(e,t){return Co(e,t).pop()}function kn(e){let t=Vn(e,"argTypesEnhancers"),n=Co(e,"runStep"),a=Vn(e,"beforeAll");return{parameters:(0,Re.combineParameters)(...Co(e,"parameters")),decorators:Vn(e,"decorators",{reverseFileOrder:!(pe.global.FEATURES?.legacyDecoratorFileOrder??!1)}),args:To(e,"args"),argsEnhancers:Vn(e,"argsEnhancers"),argTypes:To(e,"argTypes"),argTypesEnhancers:[...t.filter(d=>!d.secondPass),...t.filter(d=>d.secondPass)],initialGlobals:To(e,"initialGlobals"),globalTypes:To(e,"globalTypes"),loaders:Vn(e,"loaders"),beforeAll:fn(a),beforeEach:Vn(e,"beforeEach"),afterEach:Vn(e,"afterEach"),render:_o(e,"render"),renderToCanvas:_o(e,"renderToCanvas"),applyDecorators:_o(e,"applyDecorators"),runStep:Hn(n),tags:Vn(e,"tags"),mount:_o(e,"mount"),testingLibraryRender:_o(e,"testingLibraryRender")}}var Vr=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};function Vo(e,t,n){return xs(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:vl(t)?t.input:t,preview:n}}function Ts(e){globalThis.defaultProjectAnnotations=e}var zo="ComposedStory",Pi="Unnamed Story";function as(e){return e?kn([e]):{}}function di(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=kn([...Hs(),globalThis.defaultProjectAnnotations??{},kn(t.map(as))]),globalThis.globalProjectAnnotations??{}}var yr=[];function eo(e,t,n,a,d){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??zo;let m=si(t),I=d||e.storyName||e.story?.name||e.name||Pi,z=fo(I,e,m),q=io(kn([a??globalThis.globalProjectAnnotations??{},n??{}])),ie=Qt(z,m,q),he={...qr(q.globalTypes),...q.initialGlobals,...ie.storyGlobals},ve=new Vr,Ge=()=>{let Ot=Ar({hooks:new De,globals:he,args:{...ie.initialArgs},viewMode:"story",reporting:ve,loaded:{},abortSignal:new AbortController().signal,step:(gt,Kt)=>ie.runStep(gt,Kt,Ot),canvasElement:null,canvas:{},userEvent:{},globalTypes:q.globalTypes,...ie,context:null,mount:null});return Ot.parameters.__isPortableStory=!0,Ot.context=Ot,ie.renderToCanvas&&(Ot.renderToCanvas=async()=>{let gt=await ie.renderToCanvas?.({componentId:ie.componentId,title:ie.title,id:ie.id,name:ie.name,tags:ie.tags,showMain:()=>{},showError:Kt=>{throw new Error(`${Kt.title}
|
|
206
|
+
${Kt.description}`)},showException:Kt=>{throw Kt},forceRemount:!0,storyContext:Ot,storyFn:()=>ie.unboundStoryFn(Ot),unboundStoryFn:ie.unboundStoryFn},Ot.canvasElement);gt&&yr.push(gt)}),Ot.mount=ie.mount(Ot),Ot},Ve,ct=async Ot=>{let gt=Ge();return gt.canvasElement??=globalThis?.document?.body,Ve&&(gt.loaded=Ve.loaded),Object.assign(gt,Ot),ie.playFunction(gt)},We=Ot=>{let gt=Ge();return Object.assign(gt,Ot),Go(ie,gt)},lt=ie.playFunction?ct:void 0;return Object.assign(function(Ot){let gt=Ge();return Ve&&(gt.loaded=Ve.loaded),gt.args={...gt.initialArgs,...Ot},ie.unboundStoryFn(gt)},{id:ie.id,storyName:I,load:async()=>{for(let gt of[...yr].reverse())await gt();yr.length=0;let Ot=Ge();Ot.loaded=await ie.applyLoaders(Ot),yr.push(...(await ie.applyBeforeEach(Ot)).filter(Boolean)),Ve=Ot},globals:he,args:ie.initialArgs,parameters:ie.parameters,argTypes:ie.argTypes,play:lt,run:We,reporting:ve,tags:ie.tags})}var pi=(e,t,n,a)=>eo(e,t,n,{},a);function fi(e,t,n=pi){let{default:a,__esModule:d,__namedExportsOrder:m,...I}=e,z=a;return Object.entries(I).reduce((q,[ie,he])=>{let{story:ve,meta:Ge}=Vo(he);return!z&&Ge&&(z=Ge),Vs(ie,z)?Object.assign(q,{[ie]:n(ve,z,t,ie)}):q},{})}function Lr(e){return e.extend({mount:async({mount:t,page:n},a)=>{await a(async(d,...m)=>{if(!("__pw_type"in d)||"__pw_type"in d&&d.__pw_type!=="jsx")throw new Error(fe`
|
|
207
|
+
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
208
|
+
Please use JSX format for your components such as:
|
|
209
|
+
|
|
210
|
+
instead of:
|
|
211
|
+
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
212
|
+
|
|
213
|
+
do:
|
|
214
|
+
await mount(<MyComponent foo="bar"/>)
|
|
215
|
+
|
|
216
|
+
More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
|
|
217
|
+
`);let{props:I,...z}=d;await n.evaluate(async ie=>{let he=await globalThis.__pwUnwrapObject?.(ie);return("__pw_type"in he?he.type:he)?.load?.()},z);let q=await t(d,...m);return await n.evaluate(async ie=>{let he=await globalThis.__pwUnwrapObject?.(ie),ve="__pw_type"in he?he.type:he,Ge=document.querySelector("#root");return ve?.play?.({canvasElement:Ge})},z),q})}})}async function Go(e,t){for(let m of[...yr].reverse())await m();if(yr.length=0,!t.canvasElement){let m=document.createElement("div");globalThis?.document?.body?.appendChild(m),t.canvasElement=m,yr.push(()=>{globalThis?.document?.body?.contains(m)&&globalThis?.document?.body?.removeChild(m)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;yr.push(...(await e.applyBeforeEach(t)).filter(Boolean));let n=e.playFunction,a=e.usesMount;if(a||await t.mount(),t.abortSignal.aborted)return;n&&(a||(t.mount=async()=>{throw new s.MountMustBeDestructuredError({playFunction:n.toString()})}),await n(t));let d;k()?d=W():await L(t.abortSignal),await e.applyAfterEach(t),await d?.()}var Ro=1e3,us=1e4,ls=class{constructor(e,t,n){this.importFn=t,this.storyIndex=new Ho(e),this.projectAnnotations=io(kn([...Hs(),n]));let{initialGlobals:a,globalTypes:d}=this.projectAnnotations;this.args=new En,this.userGlobals=new Qr({globals:a,globalTypes:d}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ur.default)(Ro)(ji),this.prepareMetaWithCache=(0,Ur.default)(Ro)(rr),this.prepareStoryWithCache=(0,Ur.default)(us)(Qt)}setProjectAnnotations(e){this.projectAnnotations=io(e);let{initialGlobals:t,globalTypes:n}=e;this.userGlobals.set({globals:t,globalTypes:n})}async onStoriesChanged({importFn:e,storyIndex:t}){e&&(this.importFn=e),t&&(this.storyIndex.entries=t.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:t,title:n}=this.storyIndex.storyIdToEntry(e),a=await this.importFn(t);return this.processCSFFileWithCache(a,t,n)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([t,{importPath:n}])=>{e[n]=t}),(await Promise.all(Object.entries(e).map(async([t,n])=>({importPath:t,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((t,{importPath:n,csfFile:a})=>(t[n]=a,t),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let t=e.meta;return this.prepareMetaWithCache(t,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let t=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:t})}storyFromCSFFile({storyId:e,csfFile:t}){let n=t.stories[e];if(!n)throw new s.MissingStoryFromCsfFileError({storyId:e});let a=t.meta,d=this.prepareStoryWithCache(n,a,t.projectAnnotations??this.projectAnnotations);return this.args.setInitial(d),this.hooks[d.id]=this.hooks[d.id]||new De,d}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(t=>!!e.stories[t]).map(t=>this.storyFromCSFFile({storyId:t,csfFile:e}))}async loadEntry(e){let t=await this.storyIdToEntry(e),n=t.type==="docs"?t.storiesImports:[],[a,...d]=await Promise.all([this.importFn(t.importPath),...n.map(m=>{let I=this.storyIndex.importPathToEntry(m);return this.loadCSFFileByStoryId(I.id)})]);return{entryExports:a,csfFiles:d}}getStoryContext(e,{forceInitialArgs:t=!1}={}){let n=this.userGlobals.get(),{initialGlobals:a}=this.userGlobals,d=new Vr;return Ar({...e,args:t?e.initialArgs:this.args.get(e.id),initialGlobals:a,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:d,globals:{...n,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,...t){this.cleanupCallbacks[e.id]=(this.cleanupCallbacks[e.id]||[]).concat(t)}async cleanupStory(e){this.hooks[e.id].clean();let t=this.cleanupCallbacks[e.id];if(t)for(let n of[...t].reverse())await n();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:t}=this;if(R.log("extract: extracting stories",t),!t)throw new s.CalledExtractOnStoreError;let n=Object.entries(this.storyIndex.entries).reduce((a,[d,m])=>{if(m.type==="docs")return a;let I=t[m.importPath],z=this.storyFromCSFFile({storyId:d,csfFile:I});return!e.includeDocsOnly&&z.parameters.docsOnly||(a[d]=Object.entries(z).reduce((q,[ie,he])=>ie==="story"&&m.subtype==="test"?{...q,story:m.parentName}:ie==="moduleExport"||typeof he=="function"?q:Array.isArray(he)?Object.assign(q,{[ie]:he.slice().sort()}):Object.assign(q,{[ie]:he}),{args:z.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...z.storyGlobals},storyId:m.parent?m.parent:d})),a},{});return R.log("extract: stories",n),n}};function Bi(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}var cs=e=>{if(e.length===0)return e;let t=e[e.length-1],n=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[n];let a=e[e.length-2];return n&&a&&n.toLowerCase()===a.toLowerCase()?[...e.slice(0,-2),n]:n&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(n))?e.slice(0,-1):[...e.slice(0,-1),n]};function hi(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}var ds=(e,t,n)=>{let{directory:a,importPathMatcher:d,titlePrefix:m=""}=t||{};typeof e=="number"&&F.once.warn(fe`
|
|
218
|
+
CSF Auto-title received a numeric fileName. This typically happens when
|
|
219
|
+
webpack is mis-configured in production mode. To force webpack to produce
|
|
220
|
+
filenames, set optimization.moduleIds = "named" in your webpack config.
|
|
221
|
+
`);let I=Bi(String(e));if(d.exec(I)){if(!n){let z=I.replace(a,""),q=hi([m,z]).split("/");return q=cs(q),q.join("/")}return m?hi([m,n]):n}},Ii=(e,t,n)=>{for(let a=0;a<t.length;a+=1){let d=ds(e,t[a],n);if(d)return d}return n||void 0},Oo=/\s*\/\s*/,to=(e={})=>(t,n)=>{if(t.title===n.title&&!e.includeNames)return 0;let a=e.method||"configure",d=e.order||[],m=t.title.trim().split(Oo),I=n.title.trim().split(Oo);e.includeNames&&(m.push(t.name),I.push(n.name));let z=0;for(;m[z]||I[z];){if(!m[z])return-1;if(!I[z])return 1;let q=m[z],ie=I[z];if(q!==ie){let ve=d.indexOf(q),Ge=d.indexOf(ie),Ve=d.indexOf("*");return ve!==-1||Ge!==-1?(ve===-1&&(Ve!==-1?ve=Ve:ve=d.length),Ge===-1&&(Ve!==-1?Ge=Ve:Ge=d.length),ve-Ge):a==="configure"?0:q.localeCompare(ie,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let he=d.indexOf(q);he===-1&&(he=d.indexOf("*")),d=he!==-1&&Array.isArray(d[he+1])?d[he+1]:[],z+=1}return 0},pn=(e,t,n)=>{if(t){let a;typeof t=="function"?a=t:a=to(t),e.sort(a)}else e.sort((a,d)=>n.indexOf(a.importPath)-n.indexOf(d.importPath));return e},Wo=(e,t,n)=>{try{return pn(e,t,n)}catch(a){throw new Error(fe`
|
|
222
|
+
Error sorting stories with sort parameter ${t}:
|
|
223
|
+
|
|
224
|
+
> ${a.message}
|
|
225
|
+
|
|
226
|
+
Are you using a V6-style sort function in V7 mode?
|
|
227
|
+
|
|
228
|
+
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
|
|
229
|
+
`)}},yo=new Error("prepareAborted"),{AbortController:zn}=globalThis;function Fo(e){try{let{name:t="Error",message:n=String(e),stack:a}=e;return{name:t,message:n,stack:a}}catch{return{name:"Error",message:String(e)}}}var mi=class{constructor(e,t,n,a,d,m,I={autoplay:!0,forceInitialArgs:!1},z){this.channel=e,this.store=t,this.renderToScreen=n,this.callbacks=a,this.id=d,this.viewMode=m,this.renderOptions=I,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=()=>{},this.torndown=!1,this.abortController=new zn,this.renderId=Date.now(),z&&(this.story=z,this.phase="preparing")}async runPhase(e,t,n){this.phase=t,this.channel.emit(c.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),n&&(await n(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted&&!["finished","aborted","errored"].includes(this.phase)&&(this.phase="aborted",this.channel.emit(c.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,renderId:this.renderId,storyId:this.id})),e.aborted}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),yo}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:t=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let a=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:d,componentId:m,title:I,name:z,tags:q,applyLoaders:ie,applyBeforeEach:he,applyAfterEach:ve,unboundStoryFn:Ge,playFunction:Ve,runStep:ct}=a;t&&!e&&(this.cancelRender(),this.abortController=new zn);let We=this.abortController.signal,lt=!1,Ot=a.usesMount;try{let gt={...this.storyContext(),viewMode:this.viewMode,abortSignal:We,canvasElement:n,loaded:{},step:(ar,gr)=>ct(ar,gr,gt),context:null,canvas:{},userEvent:{},renderToCanvas:async()=>{let ar=await this.renderToScreen(Kt,n);this.teardownRender=ar||(()=>{}),lt=!0},mount:async(...ar)=>{this.callbacks.showStoryDuringRender?.();let gr=null;return await this.runPhase(We,"rendering",async()=>{gr=await a.mount(gt)(...ar)}),Ot&&await this.runPhase(We,"playing"),gr}};gt.context=gt;let Kt={componentId:m,title:I,kind:I,id:d,name:z,story:z,tags:q,...this.callbacks,showError:ar=>(this.phase="errored",this.callbacks.showError(ar)),showException:ar=>(this.phase="errored",this.callbacks.showException(ar)),forceRemount:t||this.notYetRendered,storyContext:gt,storyFn:()=>Ge(gt),unboundStoryFn:Ge};if(await this.runPhase(We,"loading",async()=>{gt.loaded=await ie(gt)}),We.aborted)return;let Mt=await he(gt);if(this.store.addCleanupCallbacks(a,...Mt),this.checkIfAborted(We)||(!lt&&!Ot&&await gt.mount(),this.notYetRendered=!1,We.aborted))return;let or=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,qt=new Set,xt=ar=>{ar.error&&qt.add(ar.error)},Ht=ar=>{ar.reason&&qt.add(ar.reason)};if(this.renderOptions.autoplay&&t&&Ve&&this.phase!=="errored"){window?.addEventListener?.("error",xt),window?.addEventListener?.("unhandledrejection",Ht),this.disableKeyListeners=!0;try{if(Ot?await Ve(gt):(gt.mount=async()=>{throw new s.MountMustBeDestructuredError({playFunction:Ve.toString()})},await this.runPhase(We,"playing",async()=>Ve(gt))),!lt)throw new s.NoStoryMountedError;this.checkIfAborted(We),!or&&qt.size>0?await this.runPhase(We,"errored"):await this.runPhase(We,"played")}catch(ar){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(We,"errored",async()=>{this.channel.emit(c.PLAY_FUNCTION_THREW_EXCEPTION,Fo(ar))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw ar;R.error(ar)}if(!or&&qt.size>0&&this.channel.emit(c.UNHANDLED_ERRORS_WHILE_PLAYING,Array.from(qt).map(Fo)),this.disableKeyListeners=!1,window?.removeEventListener?.("unhandledrejection",Ht),window?.removeEventListener?.("error",xt),We.aborted)return}await this.runPhase(We,"completing",async()=>{k()?this.store.addCleanupCallbacks(a,W()):await L(We)}),await this.runPhase(We,"completed",async()=>{this.channel.emit(c.STORY_RENDERED,d)}),this.phase!=="errored"&&await this.runPhase(We,"afterEach",async()=>{await ve(gt)});let Yt=!or&&qt.size>0,ir=gt.reporting.reports.some(ar=>ar.status==="failed"),Zt=Yt||ir;await this.runPhase(We,"finished",async()=>this.channel.emit(c.STORY_FINISHED,{storyId:d,status:Zt?"error":"success",reporters:gt.reporting.reports}))}catch(gt){this.phase="errored",this.callbacks.showException(gt),await this.runPhase(We,"finished",async()=>this.channel.emit(c.STORY_FINISHED,{storyId:d,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(t=>setTimeout(t,0))}window?.location?.reload?.(),await new Promise(()=>{})}},{fetch:Jo}=pe.global,_i="./index.json",Ni=class{constructor(e,t,n=zt.getChannel(),a=!0){this.importFn=e,this.getProjectAnnotations=t,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((d,m)=>{this.resolveStoreInitializationPromise=d,this.rejectStoreInitializationPromise=m}),a&&this.initialize()}get storyStore(){return new Proxy({},{get:(e,t)=>{if(this.storyStoreValue)return(0,F.deprecate)("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[t];throw new s.StoryStoreAccessedBeforeInitializationError}})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e);let t=globalThis?.navigator?.userAgent;await this.channel.emit(c.PREVIEW_INITIALIZED,{userAgent:t})}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(c.STORY_INDEX_INVALIDATED,this.onStoryIndexChanged.bind(this)),this.channel.on(c.UPDATE_GLOBALS,this.onUpdateGlobals.bind(this)),this.channel.on(c.UPDATE_STORY_ARGS,this.onUpdateArgs.bind(this)),this.channel.on(c.ARGTYPES_INFO_REQUEST,this.onRequestArgTypesInfo.bind(this)),this.channel.on(c.RESET_STORY_ARGS,this.onResetArgs.bind(this)),this.channel.on(c.FORCE_RE_RENDER,this.onForceReRender.bind(this)),this.channel.on(c.FORCE_REMOUNT,this.onForceRemount.bind(this)),this.channel.on(c.STORY_HOT_UPDATED,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new s.MissingRenderToCanvasError;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let t=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(t)}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async runBeforeAllHook(e){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await e.beforeAll?.()}catch(t){throw this.renderPreviewEntryError("Error in beforeAll hook:",t),t}}async getStoryIndexFromServer(){let e=await Jo(_i);if(e.status===200)return e.json();throw new s.StoryIndexFetchError({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new ls(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(c.SET_GLOBALS,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let t=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(t),!this.storyStoreValue){await this.initializeWithProjectAnnotations(t);return}this.storyStoreValue.setProjectAnnotations(t),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:t}){if(!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:t})}async onUpdateGlobals({globals:e,currentStory:t}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),t){let{initialGlobals:n,storyGlobals:a,userGlobals:d,globals:m}=this.storyStoreValue.getStoryContext(t);this.channel.emit(c.GLOBALS_UPDATED,{initialGlobals:n,userGlobals:d,storyGlobals:a,globals:m})}else{let{initialGlobals:n,globals:a}=this.storyStoreValue.userGlobals;this.channel.emit(c.GLOBALS_UPDATED,{initialGlobals:n,userGlobals:a,storyGlobals:{},globals:a})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:t}){if(!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,t),await Promise.all(this.storyRenders.filter(n=>n.id===e&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(c.STORY_ARGS_UPDATED,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:t}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(t);this.channel.emit(c.ARGTYPES_INFO_RESPONSE,{id:e,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(c.ARGTYPES_INFO_RESPONSE,{id:e,success:!1,error:n?.message})}}async onResetArgs({storyId:e,argNames:t}){if(!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"onResetArgs"});let n=this.storyRenders.find(d=>d.id===e)?.story||await this.storyStoreValue.loadStory({storyId:e}),a=(t||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((d,m)=>(d[m]=n.initialArgs[m],d),{});await this.onUpdateArgs({storyId:e,updatedArgs:a})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(t=>t.id===e).map(t=>t.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(e=>e.cancelPlayFunction()))}renderStoryToElement(e,t,n,a){if(!this.renderToCanvas||!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"renderStoryToElement"});let d=new mi(this.channel,this.storyStoreValue,this.renderToCanvas,n,e.id,"docs",a,e);return d.renderToElement(t),this.storyRenders.push(d),async()=>{await this.teardownRender(d)}}async teardownRender(e,{viewModeChanged:t}={}){this.storyRenders=this.storyRenders.filter(n=>n!==e),await e?.teardown?.({viewModeChanged:t})}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,F.logger.error(e),F.logger.error(t),this.channel.emit(c.CONFIG_ERROR,t)}},yi=class{constructor(e,t,n,a){this.channel=e,this.store=t,this.renderStoryToElement=n,this.storyIdByName=d=>{let m=this.nameToStoryId.get(d);if(m)return m;throw new Error(`No story found with that name: ${d}`)},this.componentStories=()=>this.componentStoriesValue,this.componentStoriesFromCSFFile=d=>this.store.componentStoriesFromCSFFile({csfFile:d}),this.storyById=d=>{if(!d){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let m=this.storyIdToCSFFile.get(d);if(!m)throw new Error(`Called \`storyById\` for story that was never loaded: ${d}`);return this.store.storyFromCSFFile({storyId:d,csfFile:m})},this.getStoryContext=d=>({...this.store.getStoryContext(d),loaded:{},viewMode:"docs"}),this.loadStory=d=>this.store.loadStory({storyId:d}),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,a.forEach((d,m)=>{this.referenceCSFFile(d)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{let n=e.stories[t.id];this.storyIdToCSFFile.set(n.id,e),this.exportToStory.set(n.moduleExport,t)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{this.nameToStoryId.set(t.name,t.id),this.componentStoriesValue.push(t),this.primaryStory||(this.primaryStory=t)}))}referenceMeta(e,t){let n=this.resolveModuleExport(e);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");t&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let t=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:t};let{component:n}=t.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(e){let t=this.exportsToCSFFile.get(e);if(!t&&e&&typeof e=="object"&&"default"in e&&(t=this.exportsToCSFFile.get(e.default)),t)return{type:"meta",csfFile:t};let n=this.exportToStory.get(xs(e)?e.input:e);return n?{type:"story",story:n}:{type:"component",component:e}}resolveOf(e,t=[]){let n;if(["component","meta","story"].includes(e)){let a=e;n=this.resolveAttachedModuleExportType(a)}else n=this.resolveModuleExport(e);if(t.length&&!t.includes(n.type)){let a=n.type==="component"?"component or unknown":n.type;throw new Error(fe`Invalid value passed to the 'of' prop. The value was resolved to a '${a}' type but the only types for this block are: ${t.join(", ")}.
|
|
230
|
+
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
231
|
+
- ... or vice versa?
|
|
232
|
+
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};default:return n}}},go=class{constructor(e,t,n,a){this.channel=e,this.store=t,this.entry=n,this.callbacks=a,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw yo;let{importPath:n,title:a}=this.entry,d=this.store.processCSFFileWithCache(e,n,a),m=Object.keys(d.stories)[0];this.story=this.store.storyFromCSFFile({storyId:m,csfFile:d}),this.csfFiles=[d,...t],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new yi(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(n=>t.attachCSFFile(n)),t}async renderToElement(e,t){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(t),{docs:a}=this.story.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let d=await a.renderer(),{render:m}=d,I=async()=>{try{await m(n,a,e),this.channel.emit(c.DOCS_RENDERED,this.id)}catch(z){this.callbacks.showException(z)}};return this.rerender=async()=>I(),this.teardownRender=async({viewModeChanged:z})=>{!z||!e||d.unmount(e)},I()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},qo=class{constructor(e,t,n,a){this.channel=e,this.store=t,this.entry=n,this.callbacks=a,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw yo;if(this.csfFiles=t,this.exports=e,this.attachedCsfFile=void 0,this.attachedStory=void 0,this.entry.tags?.includes(S.ATTACHED_MDX)){this.attachedCsfFile=t[0];let n=this.attachedCsfFile&&Object.keys(this.attachedCsfFile.stories)[0];this.attachedCsfFile&&n&&(this.attachedStory=this.store.storyFromCSFFile({storyId:n,csfFile:this.attachedCsfFile}))}this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new yi(this.channel,this.store,e,this.csfFiles);return this.attachedCsfFile&&t.attachCSFFile(this.attachedCsfFile),t}async renderToElement(e,t){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(t),{docs:a}=this.store.projectAnnotations.parameters??{},d=this.attachedStory?.parameters?.docs??a;if(!d)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let m={...d,page:this.exports.default},I=await d.renderer(),{render:z}=I,q=async()=>{try{await z(n,m,e),this.channel.emit(c.DOCS_RENDERED,this.id)}catch(ie){this.callbacks.showException(ie)}};return this.rerender=async()=>q(),this.teardownRender=async({viewModeChanged:ie}={})=>{!ie||!e||(I.unmount(e),this.torndown=!0)},q()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},gi=globalThis;function ki(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}function ps({tags:e}){return e?.includes(S.UNATTACHED_MDX)||e?.includes(S.ATTACHED_MDX)}function bo(e){return e.type==="story"}function Li(e){return e.type==="docs"}function Mi(e){return Li(e)&&e.subtype==="csf"}var fs=class extends Ni{constructor(e,t,n,a){super(e,t,void 0,!1),this.importFn=e,this.getProjectAnnotations=t,this.selectionStore=n,this.view=a,this.initialize()}setupListeners(){super.setupListeners(),gi.onkeydown=this.onKeydown.bind(this),this.channel.on(c.SET_CURRENT_STORY,this.onSetCurrentStory.bind(this)),this.channel.on(c.UPDATE_QUERY_PARAMS,this.onUpdateQueryParams.bind(this)),this.channel.on(c.PRELOAD_ENTRIES,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:t}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!n){e==="*"?this.renderStoryLoadingException(e,new s.EmptyIndexError):this.renderStoryLoadingException(e,new s.NoStoryMatchError({storySpecifier:e.toString()}));return}let{id:a,type:d}=n;this.selectionStore.setSelection({storyId:a,viewMode:d}),this.channel.emit(c.STORY_SPECIFIED,this.selectionStore.selection),this.channel.emit(c.CURRENT_STORY_WAS_SET,this.selectionStore.selection),await this.renderSelection({persistedArgs:t})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:t}){await super.onStoriesChanged({importFn:e,storyIndex:t}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(t=>t.disableKeyListeners)&&!ki(e)){let{altKey:t,ctrlKey:n,metaKey:a,shiftKey:d,key:m,code:I,keyCode:z}=e;this.channel.emit(c.PREVIEW_KEYDOWN,{event:{altKey:t,ctrlKey:n,metaKey:a,shiftKey:d,key:m,code:I,keyCode:z}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(c.CURRENT_STORY_WAS_SET,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let t=this.currentRender instanceof mi&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof qo||this.currentRender instanceof go)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:e,updatedArgs:t}){super.onUpdateArgs({storyId:e,updatedArgs:t})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(t=>this.storyStoreValue?.loadEntry(t)))}async renderSelection({persistedArgs:e}={}){let{renderToCanvas:t}=this;if(!this.storyStoreValue||!t)throw new s.CalledPreviewMethodBeforeInitializationError({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:a}=n,d;try{d=await this.storyStoreValue.storyIdToEntry(a)}catch(ve){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(a,ve);return}let m=this.currentSelection?.storyId!==a,I=this.currentRender?.type!==d.type;d.type==="story"?this.view.showPreparingStory({immediate:I}):this.view.showPreparingDocs({immediate:I}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let z;d.type==="story"?z=new mi(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(a),a,"story"):ps(d)?z=new qo(this.channel,this.storyStoreValue,d,this.mainStoryCallbacks(a)):z=new go(this.channel,this.storyStoreValue,d,this.mainStoryCallbacks(a));let q=this.currentSelection;this.currentSelection=n;let ie=this.currentRender;this.currentRender=z;try{await z.prepare()}catch(ve){ie&&await this.teardownRender(ie),ve!==yo&&this.renderStoryLoadingException(a,ve);return}let he=!m&&ie&&!z.isEqual(ie);if(e&&bo(z)&&(se(!!z.story),this.storyStoreValue.args.updateFromPersisted(z.story,e)),ie&&!ie.torndown&&!m&&!he&&!I){this.currentRender=ie,this.channel.emit(c.STORY_UNCHANGED,a),this.view.showMain();return}if(ie&&await this.teardownRender(ie,{viewModeChanged:I}),q&&(m||I)&&this.channel.emit(c.STORY_CHANGED,a),bo(z)){se(!!z.story);let{parameters:ve,initialArgs:Ge,argTypes:Ve,unmappedArgs:ct,initialGlobals:We,userGlobals:lt,storyGlobals:Ot,globals:gt}=this.storyStoreValue.getStoryContext(z.story);this.channel.emit(c.STORY_PREPARED,{id:a,parameters:ve,initialArgs:Ge,argTypes:Ve,args:ct}),this.channel.emit(c.GLOBALS_UPDATED,{userGlobals:lt,storyGlobals:Ot,globals:gt,initialGlobals:We})}else{let{parameters:ve}=this.storyStoreValue.projectAnnotations,{initialGlobals:Ge,globals:Ve}=this.storyStoreValue.userGlobals;if(this.channel.emit(c.GLOBALS_UPDATED,{globals:Ve,initialGlobals:Ge,storyGlobals:{},userGlobals:Ve}),Mi(z)||z.entry.tags?.includes(S.ATTACHED_MDX)){if(!z.csfFiles)throw new s.MdxFileWithNoCsfReferencesError({storyId:a});({parameters:ve}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:z.csfFiles[0]}))}this.channel.emit(c.DOCS_PREPARED,{id:a,parameters:ve})}bo(z)?(se(!!z.story),this.storyRenders.push(z),this.currentRender.renderToElement(this.view.prepareForStory(z.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:t=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==e),await e?.teardown?.({viewModeChanged:t})}mainStoryCallbacks(e){return{showStoryDuringRender:()=>this.view.showStoryDuringRender(),showMain:()=>this.view.showMain(),showError:t=>this.renderError(e,t),showException:t=>this.renderException(e,t)}}renderPreviewEntryError(e,t){super.renderPreviewEntryError(e,t),this.view.showErrorDisplay(t)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(c.STORY_MISSING)}renderStoryLoadingException(e,t){F.logger.error(t),this.view.showErrorDisplay(t),this.channel.emit(c.STORY_MISSING,e)}renderException(e,t){let{name:n="Error",message:a=String(t),stack:d}=t,m=this.currentRender?.renderId;this.channel.emit(c.STORY_THREW_EXCEPTION,{name:n,message:a,stack:d}),this.channel.emit(c.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",renderId:m,storyId:e}),this.view.showErrorDisplay(t),F.logger.error(`Error rendering story '${e}':`),F.logger.error(t)}renderError(e,{title:t,description:n}){let a=this.currentRender?.renderId;this.channel.emit(c.STORY_ERRORED,{title:t,description:n}),this.channel.emit(c.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",renderId:a,storyId:e}),this.view.showErrorDisplay({message:t,stack:n}),F.logger.error(`Error rendering story ${t}: ${n}`)}},ro=(0,$.__toESM)(we(),1),hs=(0,$.__toESM)(we(),1),Ui=/^[a-zA-Z0-9 _-]*$/,$i=/^-?[0-9]+(\.[0-9]+)?$/,ms=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Hi=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,bi=(e="",t)=>e===null||e===""||!Ui.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Ui.test(t)||$i.test(t)||ms.test(t)||Hi.test(t):Array.isArray(t)?t.every(n=>bi(e,n)):(0,te.isPlainObject)(t)?Object.entries(t).every(([n,a])=>bi(n,a)):!1,_s={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(Hi);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return $i.test(e)?Number(e):e}},Vi=e=>{let t=e.split(";").map(n=>n.replace("=","~").replace(":","="));return Object.entries((0,hs.parse)(t.join(";"),_s)).reduce((n,[a,d])=>bi(a,d)?Object.assign(n,{[a]:d}):(F.once.warn(fe`
|
|
233
|
+
Omitted potentially unsafe URL args.
|
|
234
|
+
|
|
235
|
+
More info: https://storybook.js.org/docs/writing-stories/args?ref=error#setting-args-through-the-url
|
|
236
|
+
`),n),{})},{history:zi,document:no}=pe.global;function ys(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}var Ei=({selection:e,extraParams:t})=>{let n=no?.location.search.slice(1),{path:a,selectedKind:d,selectedStory:m,...I}=(0,ro.parse)(n);return`?${(0,ro.stringify)({...I,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},Ai=e=>{if(!e)return;let t=Ei({selection:e}),{hash:n=""}=no.location;no.title=e.storyId,zi.replaceState({},"",`${no.location.pathname}${t}${n}`)},_=e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,O=e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return O(e[0]);if(_(e))return O(Object.values(e).filter(Boolean))}},x=()=>{if(typeof no<"u"){let e=no.location.search.slice(1),t=(0,ro.parse)(e),n=typeof t.args=="string"?Vi(t.args):void 0,a=typeof t.globals=="string"?Vi(t.globals):void 0,d=O(t.viewMode);if(typeof d!="string"||!d)d="story";else if(!d.match(/docs|story/))return null;let m=O(t.path),I=m?ys(m):O(t.id);if(I)return{storySpecifier:I,args:n,globals:a,viewMode:d}}return null},_e=class{constructor(){this.selectionSpecifier=x()}setSelection(e){this.selection=e,Ai(this.selection)}setQueryParams(e){let t=Ei({extraParams:e}),{hash:n=""}=no.location;zi.replaceState({},"",`${no.location.pathname}${t}${n}`)}},Ie=(0,$.__toESM)(rt(),1),Je=(0,$.__toESM)(we(),1),{document:Oe}=pe.global,Be=100,Pe=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(Pe||{}),Xe={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Ke={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Et=new Ie.default({escapeXML:!0}),st=class{constructor(){if(this.testing=!1,typeof Oe<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,Je.parse)(Oe.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),Oe.documentElement.scrollTop=0,Oe.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Oe.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Oe.documentElement.scrollTop=0,Oe.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Oe.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){Oe.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=Ke[e];Oe.body.classList.remove(this.currentLayoutClass),Oe.body.classList.add(t),this.currentLayoutClass=t}checkIfLayoutExists(e){Ke[e]||F.logger.warn(fe`
|
|
237
|
+
The desired layout: ${e} is not a valid option.
|
|
238
|
+
The possible options are: ${Object.keys(Ke).join(", ")}, none.
|
|
239
|
+
`)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(Pe).forEach(t=>{t===e?Oe.body.classList.add(Xe[t]):Oe.body.classList.remove(Xe[t])})}showErrorDisplay({message:e="",stack:t=""}){let n=e,a=t,d=e.split(`
|
|
240
|
+
`);d.length>1&&([n]=d,a=d.slice(1).join(`
|
|
241
|
+
`).replace(/^\n/,"")),Oe.getElementById("error-message").innerHTML=Et.toHtml(n),Oe.getElementById("error-stack").innerHTML=Et.toHtml(a),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Be)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Be)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){Oe.body.classList.add(Xe.MAIN)}},it=class extends fs{constructor(e,t){super(e,t,new _e,new st),this.importFn=e,this.getProjectAnnotations=t,pe.global.__STORYBOOK_PREVIEW__=this}},{document:Le}=pe.global,ot=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],St="script",vt="scripts-root";function bt(){let e=Le.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Le.dispatchEvent(e)}function nr(e,t,n){let a=Le.createElement("script");a.type=e.type==="module"?"module":"text/javascript",e.src?(a.onload=t,a.onerror=t,a.src=e.src):a.textContent=e.innerText,n?n.appendChild(a):Le.head.appendChild(a),e.parentNode.removeChild(e),e.src||t()}function At(e,t,n=0){e[n](()=>{n++,n===e.length?t():At(e,t,n)})}function et(e){let t=Le.getElementById(vt);t?t.innerHTML="":(t=Le.createElement("div"),t.id=vt,Le.body.appendChild(t));let n=Array.from(e.querySelectorAll(St));if(n.length){let a=[];n.forEach(d=>{let m=d.getAttribute("type");(!m||ot.includes(m))&&a.push(I=>nr(d,I,t))}),a.length&&At(a,bt,void 0)}else bt()}async function o(e,t){let n=t.parameters?.docs?.source?.transform,{id:a,unmappedArgs:d}=t,m=n&&e?n?.(e,t):e,I=m?await m:void 0;zt.getChannel().emit(Re.SNIPPET_RENDERED,{id:a,source:I,args:d})}var T="storybook/highlight",Q=`${T}/add`,ke=`${T}/remove`,Tt=`${T}/reset`,Lt=`${T}/scroll-into-view`,Wt=2147483647,sr=28,br="actions",Sr="storybook/actions",Nr=`${Sr}/panel`,Or=`${Sr}/action-event`,jr=`${Sr}/action-clear`,wn="$___storybook.isCyclic",Sn=u("storybook/preview-api"),Gn=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js"),fr={depth:10,clearOnStoryChange:!0,limit:50},jo=(e={})=>{Object.assign(fr,e)},Ln=(e,t)=>{let n=Object.getPrototypeOf(e);return!n||t(n)?n:Ln(n,t)},Yn=e=>!!(typeof e=="object"&&e&&Ln(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),Yr=e=>{if(Yn(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let n=Object.getOwnPropertyDescriptor(t,"view"),a=n?.value;return typeof a=="object"&&a?.constructor.name==="Window"&&Object.defineProperty(t,"view",{...n,value:Object.create(a.constructor.prototype)}),t}return e};function jn(e,t={}){let n={...fr,...t},a=function(...d){if(t.implicit){let ve=("__STORYBOOK_PREVIEW__"in pe.global?pe.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(Ge=>Ge.phase==="playing"||Ge.phase==="rendering");if(ve){let Ge=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,Ve=new s.ImplicitActionsDuringRendering({phase:ve.phase,name:e,deprecated:Ge});if(Ge)Gn.warn(Ve);else throw Ve}}let m=Sn.addons.getChannel(),I=Date.now().toString(36)+Math.random().toString(36).substring(2),z=5,q=d.map(Yr),ie=d.length>1?q:q[0],he={id:I,count:0,data:{name:e,args:ie},options:{...n,maxDepth:z+(n.depth||3)}};m.emit(Or,he)};return a.isAction=!0,a.implicit=t.implicit,a}var Yo=(...e)=>{let t=fr,n=e;n.length===1&&Array.isArray(n[0])&&([n]=n),n.length!==1&&typeof n[n.length-1]!="string"&&(t={...fr,...n.pop()});let a=n[0];(n.length!==1||typeof a=="string")&&(a={},n.forEach(m=>{a[m]=m}));let d={};return Object.keys(a).forEach(m=>{d[m]=jn(a[m],t)}),d},vi="storybook/viewport",Gi="viewport",Wi=`${vi}/panel`,so=`${vi}/tool`,Wn=u("storybook/test"),Xr={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},Xo=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(Xo||{}),Pn=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),Po=u("../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js").Buffer,wi={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},Si=Object.entries(wi);function Kr(e){return String(e)}Kr.open="",Kr.close="";var Eo=Si.reduce((e,[t])=>(e[t]=Kr,e),{isColorSupported:!1});function Dn(e=!1){let t=typeof Pn<"u"?Pn:void 0,n=t?.env||{},a=t?.argv||[];return!("NO_COLOR"in n||a.includes("--no-color"))&&("FORCE_COLOR"in n||a.includes("--color")||t?.platform==="win32"||e&&n.TERM!=="dumb"||"CI"in n)||typeof window<"u"&&!!window.chrome}function gs(e=!1){let t=Dn(e),n=(I,z,q,ie)=>{let he="",ve=0;do he+=I.substring(ve,ie)+q,ve=ie+z.length,ie=I.indexOf(z,ve);while(~ie);return he+I.substring(ve)},a=(I,z,q=I)=>{let ie=he=>{let ve=String(he),Ge=ve.indexOf(z,I.length);return~Ge?I+n(ve,z,q,Ge)+z:I+ve+z};return ie.open=I,ie.close=z,ie},d={isColorSupported:t},m=I=>`\x1B[${I}m`;for(let[I,z]of Si)d[I]=t?a(m(z[0]),m(z[1]),z[2]):Kr;return d}var In=gs();function cr(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(a){if(a!=="default"&&!(a in e)){var d=Object.getOwnPropertyDescriptor(n,a);Object.defineProperty(e,a,d.get?d:{enumerable:!0,get:function(){return n[a]}})}})}),Object.freeze(e)}function hn(e,t){let n=Object.keys(e),a=t===null?n:n.sort(t);if(Object.getOwnPropertySymbols)for(let d of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,d).enumerable&&a.push(d);return a}function vr(e,t,n,a,d,m,I=": "){let z="",q=0,ie=e.next();if(!ie.done){z+=t.spacingOuter;let he=n+t.indent;for(;!ie.done;){if(z+=he,q++===t.maxWidth){z+="\u2026";break}let ve=m(ie.value[0],t,he,a,d),Ge=m(ie.value[1],t,he,a,d);z+=ve+I+Ge,ie=e.next(),ie.done?t.min||(z+=","):z+=`,${t.spacingInner}`}z+=t.spacingOuter+n}return z}function yn(e,t,n,a,d,m){let I="",z=0,q=e.next();if(!q.done){I+=t.spacingOuter;let ie=n+t.indent;for(;!q.done;){if(I+=ie,z++===t.maxWidth){I+="\u2026";break}I+=m(q.value,t,ie,a,d),q=e.next(),q.done?t.min||(I+=","):I+=`,${t.spacingInner}`}I+=t.spacingOuter+n}return I}function zr(e,t,n,a,d,m){let I="";e=e instanceof ArrayBuffer?new DataView(e):e;let z=ie=>ie instanceof DataView,q=z(e)?e.byteLength:e.length;if(q>0){I+=t.spacingOuter;let ie=n+t.indent;for(let he=0;he<q;he++){if(I+=ie,he===t.maxWidth){I+="\u2026";break}(z(e)||he in e)&&(I+=m(z(e)?e.getInt8(he):e[he],t,ie,a,d)),he<q-1?I+=`,${t.spacingInner}`:t.min||(I+=",")}I+=t.spacingOuter+n}return I}function Bo(e,t,n,a,d,m){let I="",z=hn(e,t.compareKeys);if(z.length>0){I+=t.spacingOuter;let q=n+t.indent;for(let ie=0;ie<z.length;ie++){let he=z[ie],ve=m(he,t,q,a,d),Ge=m(e[he],t,q,a,d);I+=`${q+ve}: ${Ge}`,ie<z.length-1?I+=`,${t.spacingInner}`:t.min||(I+=",")}I+=t.spacingOuter+n}return I}var Ji=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,mn=" ",Cr=(e,t,n,a,d,m)=>{let I=e.toString();if(I==="ArrayContaining"||I==="ArrayNotContaining")return++a>t.maxDepth?`[${I}]`:`${I+mn}[${zr(e.sample,t,n,a,d,m)}]`;if(I==="ObjectContaining"||I==="ObjectNotContaining")return++a>t.maxDepth?`[${I}]`:`${I+mn}{${Bo(e.sample,t,n,a,d,m)}}`;if(I==="StringMatching"||I==="StringNotMatching"||I==="StringContaining"||I==="StringNotContaining")return I+mn+m(e.sample,t,n,a,d);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},Ao=e=>e&&e.$$typeof===Ji,an={serialize:Cr,test:Ao},Xn=" ",qi=new Set(["DOMStringMap","NamedNodeMap"]),nn=/^(?:HTML\w*Collection|NodeList)$/;function bn(e){return qi.has(e)||nn.test(e)}var vo=e=>e&&e.constructor&&!!e.constructor.name&&bn(e.constructor.name);function xn(e){return e.constructor.name==="NamedNodeMap"}var on=(e,t,n,a,d,m)=>{let I=e.constructor.name;return++a>t.maxDepth?`[${I}]`:(t.min?"":I+Xn)+(qi.has(I)?`{${Bo(xn(e)?[...e].reduce((z,q)=>(z[q.name]=q.value,z),{}):{...e},t,n,a,d,m)}}`:`[${zr([...e],t,n,a,d,m)}]`)},Ko={serialize:on,test:vo};function Di(e){return e.replaceAll("<","<").replaceAll(">",">")}function C(e,t,n,a,d,m,I){let z=a+n.indent,q=n.colors;return e.map(ie=>{let he=t[ie],ve=I(he,n,z,d,m);return typeof he!="string"&&(ve.includes(`
|
|
242
|
+
`)&&(ve=n.spacingOuter+z+ve+n.spacingOuter+a),ve=`{${ve}}`),`${n.spacingInner+a+q.prop.open+ie+q.prop.close}=${q.value.open}${ve}${q.value.close}`}).join("")}function le(e,t,n,a,d,m){return e.map(I=>t.spacingOuter+n+(typeof I=="string"?re(I,t):m(I,t,n,a,d))).join("")}function re(e,t){let n=t.colors.content;return n.open+Di(e)+n.close}function de(e,t){let n=t.colors.comment;return`${n.open}<!--${Di(e)}-->${n.close}`}function Fe(e,t,n,a,d){let m=a.colors.tag;return`${m.open}<${e}${t&&m.close+t+a.spacingOuter+d+m.open}${n?`>${m.close}${n}${a.spacingOuter}${d}${m.open}</${e}`:`${t&&!a.min?"":" "}/`}>${m.close}`}function Nt(e,t){let n=t.colors.tag;return`${n.open}<${e}${n.close} \u2026${n.open} />${n.close}`}var Vt=1,Xt=3,hr=8,Fr=11,dr=/^(?:(?:HTML|SVG)\w*)?Element$/;function Cn(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function Kn(e){let t=e.constructor.name,{nodeType:n,tagName:a}=e,d=typeof a=="string"&&a.includes("-")||Cn(e);return n===Vt&&(dr.test(t)||d)||n===Xt&&t==="Text"||n===hr&&t==="Comment"||n===Fr&&t==="DocumentFragment"}var xi=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&Kn(e)};function Yi(e){return e.nodeType===Xt}function Jn(e){return e.nodeType===hr}function Xi(e){return e.nodeType===Fr}var Gs=(e,t,n,a,d,m)=>{if(Yi(e))return re(e.data,t);if(Jn(e))return de(e.data,t);let I=Xi(e)?"DocumentFragment":e.tagName.toLowerCase();return++a>t.maxDepth?Nt(I,t):Fe(I,C(Xi(e)?[]:Array.from(e.attributes,z=>z.name).sort(),Xi(e)?{}:[...e.attributes].reduce((z,q)=>(z[q.name]=q.value,z),{}),t,n+t.indent,a,d,m),le(Array.prototype.slice.call(e.childNodes||e.children),t,n+t.indent,a,d,m),t,n)},Ws={serialize:Gs,test:xi},Rs="@@__IMMUTABLE_ITERABLE__@@",Js="@@__IMMUTABLE_LIST__@@",Ki="@@__IMMUTABLE_KEYED__@@",Os="@@__IMMUTABLE_MAP__@@",bs="@@__IMMUTABLE_ORDERED__@@",Fs="@@__IMMUTABLE_RECORD__@@",Zi="@@__IMMUTABLE_SEQ__@@",Ir="@@__IMMUTABLE_SET__@@",qs="@@__IMMUTABLE_STACK__@@",Io=e=>`Immutable.${e}`,Zo=e=>`[${e}]`,Qo=" ",Es="\u2026";function Ys(e,t,n,a,d,m,I){return++a>t.maxDepth?Zo(Io(I)):`${Io(I)+Qo}{${vr(e.entries(),t,n,a,d,m)}}`}function Xs(e){let t=0;return{next(){if(t<e._keys.length){let n=e._keys[t++];return{done:!1,value:[n,e.get(n)]}}return{done:!0,value:void 0}}}}function Ks(e,t,n,a,d,m){let I=Io(e._name||"Record");return++a>t.maxDepth?Zo(I):`${I+Qo}{${vr(Xs(e),t,n,a,d,m)}}`}function r(e,t,n,a,d,m){let I=Io("Seq");return++a>t.maxDepth?Zo(I):e[Ki]?`${I+Qo}{${e._iter||e._object?vr(e.entries(),t,n,a,d,m):Es}}`:`${I+Qo}[${e._iter||e._array||e._collection||e._iterable?yn(e.values(),t,n,a,d,m):Es}]`}function b(e,t,n,a,d,m,I){return++a>t.maxDepth?Zo(Io(I)):`${Io(I)+Qo}[${yn(e.values(),t,n,a,d,m)}]`}var K=(e,t,n,a,d,m)=>e[Os]?Ys(e,t,n,a,d,m,e[bs]?"OrderedMap":"Map"):e[Js]?b(e,t,n,a,d,m,"List"):e[Ir]?b(e,t,n,a,d,m,e[bs]?"OrderedSet":"Set"):e[qs]?b(e,t,n,a,d,m,"Stack"):e[Zi]?r(e,t,n,a,d,m):Ks(e,t,n,a,d,m),be=e=>e&&(e[Rs]===!0||e[Fs]===!0),Ze={serialize:K,test:be};function jt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $t={exports:{}},Jt={},Er;function kr(){if(Er)return Jt;Er=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),I=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),he=Symbol.for("react.memo"),ve=Symbol.for("react.lazy"),Ge=Symbol.for("react.view_transition"),Ve=Symbol.for("react.client.reference");function ct(We){if(typeof We=="object"&&We!==null){var lt=We.$$typeof;switch(lt){case e:switch(We=We.type,We){case n:case d:case a:case q:case ie:case Ge:return We;default:switch(We=We&&We.$$typeof,We){case I:case z:case ve:case he:return We;case m:return We;default:return lt}}case t:return lt}}}return Jt.ContextConsumer=m,Jt.ContextProvider=I,Jt.Element=e,Jt.ForwardRef=z,Jt.Fragment=n,Jt.Lazy=ve,Jt.Memo=he,Jt.Portal=t,Jt.Profiler=d,Jt.StrictMode=a,Jt.Suspense=q,Jt.SuspenseList=ie,Jt.isContextConsumer=function(We){return ct(We)===m},Jt.isContextProvider=function(We){return ct(We)===I},Jt.isElement=function(We){return typeof We=="object"&&We!==null&&We.$$typeof===e},Jt.isForwardRef=function(We){return ct(We)===z},Jt.isFragment=function(We){return ct(We)===n},Jt.isLazy=function(We){return ct(We)===ve},Jt.isMemo=function(We){return ct(We)===he},Jt.isPortal=function(We){return ct(We)===t},Jt.isProfiler=function(We){return ct(We)===d},Jt.isStrictMode=function(We){return ct(We)===a},Jt.isSuspense=function(We){return ct(We)===q},Jt.isSuspenseList=function(We){return ct(We)===ie},Jt.isValidElementType=function(We){return typeof We=="string"||typeof We=="function"||We===n||We===d||We===a||We===q||We===ie||typeof We=="object"&&We!==null&&(We.$$typeof===ve||We.$$typeof===he||We.$$typeof===I||We.$$typeof===m||We.$$typeof===z||We.$$typeof===Ve||We.getModuleId!==void 0)},Jt.typeOf=ct,Jt}var en={},Tn;function ei(){return Tn||(Tn=1),en}var No;function Qi(){return No||(No=1,$t.exports=kr()),$t.exports}var ko=Qi(),ti=jt(ko),Fl=cr({__proto__:null,default:ti},[ko]),va={exports:{}},Zr={},wa;function jl(){if(wa)return Zr;wa=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),I=Symbol.for("react.context"),z=Symbol.for("react.server_context"),q=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),ve=Symbol.for("react.memo"),Ge=Symbol.for("react.lazy"),Ve=Symbol.for("react.offscreen"),ct;ct=Symbol.for("react.module.reference");function We(lt){if(typeof lt=="object"&<!==null){var Ot=lt.$$typeof;switch(Ot){case e:switch(lt=lt.type,lt){case n:case d:case a:case ie:case he:return lt;default:switch(lt=lt&<.$$typeof,lt){case z:case I:case q:case Ge:case ve:case m:return lt;default:return Ot}}case t:return Ot}}}return Zr.ContextConsumer=I,Zr.ContextProvider=m,Zr.Element=e,Zr.ForwardRef=q,Zr.Fragment=n,Zr.Lazy=Ge,Zr.Memo=ve,Zr.Portal=t,Zr.Profiler=d,Zr.StrictMode=a,Zr.Suspense=ie,Zr.SuspenseList=he,Zr.isAsyncMode=function(){return!1},Zr.isConcurrentMode=function(){return!1},Zr.isContextConsumer=function(lt){return We(lt)===I},Zr.isContextProvider=function(lt){return We(lt)===m},Zr.isElement=function(lt){return typeof lt=="object"&<!==null&<.$$typeof===e},Zr.isForwardRef=function(lt){return We(lt)===q},Zr.isFragment=function(lt){return We(lt)===n},Zr.isLazy=function(lt){return We(lt)===Ge},Zr.isMemo=function(lt){return We(lt)===ve},Zr.isPortal=function(lt){return We(lt)===t},Zr.isProfiler=function(lt){return We(lt)===d},Zr.isStrictMode=function(lt){return We(lt)===a},Zr.isSuspense=function(lt){return We(lt)===ie},Zr.isSuspenseList=function(lt){return We(lt)===he},Zr.isValidElementType=function(lt){return typeof lt=="string"||typeof lt=="function"||lt===n||lt===d||lt===a||lt===ie||lt===he||lt===Ve||typeof lt=="object"&<!==null&&(lt.$$typeof===Ge||lt.$$typeof===ve||lt.$$typeof===m||lt.$$typeof===I||lt.$$typeof===q||lt.$$typeof===ct||lt.getModuleId!==void 0)},Zr.typeOf=We,Zr}var Pl={},Sa;function cf(){return Sa||(Sa=1),Pl}var Da;function Bl(){return Da||(Da=1,va.exports=jl()),va.exports}var xa=Bl(),Il=jt(xa),Nl=cr({__proto__:null,default:Il},[xa]),kl=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],Ci=Object.fromEntries(kl.map(e=>[e,t=>Nl[e](t)||Fl[e](t)]));function Ca(e,t=[]){if(Array.isArray(e))for(let n of e)Ca(n,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Ta(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ci.isFragment(e))return"React.Fragment";if(Ci.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ci.isContextProvider(e))return"Context.Provider";if(Ci.isContextConsumer(e))return"Context.Consumer";if(Ci.isForwardRef(e)){if(t.displayName)return t.displayName;let n=t.render.displayName||t.render.name||"";return n===""?"ForwardRef":`ForwardRef(${n})`}if(Ci.isMemo(e)){let n=t.displayName||t.type.displayName||t.type.name||"";return n===""?"Memo":`Memo(${n})`}}return"UNDEFINED"}function Ll(e){let{props:t}=e;return Object.keys(t).filter(n=>n!=="children"&&t[n]!==void 0).sort()}var Ml=(e,t,n,a,d,m)=>++a>t.maxDepth?Nt(Ta(e),t):Fe(Ta(e),C(Ll(e),e.props,t,n+t.indent,a,d,m),le(Ca(e.props.children),t,n+t.indent,a,d,m),t,n),Ul=e=>e!=null&&Ci.isElement(e),$l={serialize:Ml,test:Ul},Hl=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Vl(e){let{props:t}=e;return t?Object.keys(t).filter(n=>t[n]!==void 0).sort():[]}var zl=(e,t,n,a,d,m)=>++a>t.maxDepth?Nt(e.type,t):Fe(e.type,e.props?C(Vl(e),e.props,t,n+t.indent,a,d,m):"",e.children?le(e.children,t,n+t.indent,a,d,m):"",t,n),Gl=e=>e&&e.$$typeof===Hl,Wl={serialize:zl,test:Gl},Ra=Object.prototype.toString,Jl=Date.prototype.toISOString,ql=Error.prototype.toString,Oa=RegExp.prototype.toString;function js(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function Yl(e){return typeof window<"u"&&e===window}var Xl=/^Symbol\((.*)\)(.*)$/,Kl=/\n/g,Fa=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function Zl(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function Ql(e){return Object.is(e,-0)?"-0":String(e)}function ec(e){return`${e}n`}function ja(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Pa(e){return String(e).replace(Xl,"Symbol($1)")}function Ba(e){return`[${ql.call(e)}]`}function Ia(e,t,n,a){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let d=typeof e;if(d==="number")return Ql(e);if(d==="bigint")return ec(e);if(d==="string")return a?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(d==="function")return ja(e,t);if(d==="symbol")return Pa(e);let m=Ra.call(e);return m==="[object WeakMap]"?"WeakMap {}":m==="[object WeakSet]"?"WeakSet {}":m==="[object Function]"||m==="[object GeneratorFunction]"?ja(e,t):m==="[object Symbol]"?Pa(e):m==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Jl.call(e):m==="[object Error]"?Ba(e):m==="[object RegExp]"?n?Oa.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Oa.call(e):e instanceof Error?Ba(e):null}function Na(e,t,n,a,d,m){if(d.includes(e))return"[Circular]";d=[...d],d.push(e);let I=++a>t.maxDepth,z=t.min;if(t.callToJSON&&!I&&e.toJSON&&typeof e.toJSON=="function"&&!m)return ri(e.toJSON(),t,n,a,d,!0);let q=Ra.call(e);return q==="[object Arguments]"?I?"[Arguments]":`${z?"":"Arguments "}[${zr(e,t,n,a,d,ri)}]`:Zl(q)?I?`[${e.constructor.name}]`:`${z||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${zr(e,t,n,a,d,ri)}]`:q==="[object Map]"?I?"[Map]":`Map {${vr(e.entries(),t,n,a,d,ri," => ")}}`:q==="[object Set]"?I?"[Set]":`Set {${yn(e.values(),t,n,a,d,ri)}}`:I||Yl(e)?`[${js(e)}]`:`${z||!t.printBasicPrototype&&js(e)==="Object"?"":`${js(e)} `}{${Bo(e,t,n,a,d,ri)}}`}var tc={test:e=>e&&e instanceof Error,serialize(e,t,n,a,d,m){if(d.includes(e))return"[Circular]";d=[...d,e];let I=++a>t.maxDepth,{message:z,cause:q,...ie}=e,he={message:z,...typeof q<"u"?{cause:q}:{},...e instanceof AggregateError?{errors:e.errors}:{},...ie},ve=e.name!=="Error"?e.name:js(e);return I?`[${ve}]`:`${ve} {${vr(Object.entries(he).values(),t,n,a,d,m)}}`}};function rc(e){return e.serialize!=null}function ka(e,t,n,a,d,m){let I;try{I=rc(e)?e.serialize(t,n,a,d,m,ri):e.print(t,z=>ri(z,n,a,d,m),z=>{let q=a+n.indent;return q+z.replaceAll(Kl,`
|
|
243
|
+
${q}`)},{edgeSpacing:n.spacingOuter,min:n.min,spacing:n.spacingInner},n.colors)}catch(z){throw new Fa(z.message,z.stack)}if(typeof I!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof I}".`);return I}function La(e,t){for(let n of e)try{if(n.test(t))return n}catch(a){throw new Fa(a.message,a.stack)}return null}function ri(e,t,n,a,d,m){let I=La(t.plugins,e);if(I!==null)return ka(I,e,t,n,a,d);let z=Ia(e,t.printFunctionName,t.escapeRegex,t.escapeString);return z!==null?z:Na(e,t,n,a,d,m)}var Zs={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Ma=Object.keys(Zs),ao={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Zs};function nc(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(ao,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function oc(){return Ma.reduce((e,t)=>{let n=Zs[t],a=n&&In[n];if(a&&typeof a.close=="string"&&typeof a.open=="string")e[t]=a;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${n}" is undefined in ansi-styles.`);return e},Object.create(null))}function ic(){return Ma.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Ua(e){return e?.printFunctionName??ao.printFunctionName}function $a(e){return e?.escapeRegex??ao.escapeRegex}function Ha(e){return e?.escapeString??ao.escapeString}function Va(e){return{callToJSON:e?.callToJSON??ao.callToJSON,colors:e?.highlight?oc():ic(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:ao.compareKeys,escapeRegex:$a(e),escapeString:Ha(e),indent:e?.min?"":sc(e?.indent??ao.indent),maxDepth:e?.maxDepth??ao.maxDepth,maxWidth:e?.maxWidth??ao.maxWidth,min:e?.min??ao.min,plugins:e?.plugins??ao.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:Ua(e),spacingInner:e?.min?" ":`
|
|
244
|
+
`,spacingOuter:e?.min?"":`
|
|
245
|
+
`}}function sc(e){return Array.from({length:e+1}).join(" ")}function wo(e,t){if(t&&(nc(t),t.plugins)){let a=La(t.plugins,e);if(a!==null)return ka(a,e,Va(t),"",0,[])}let n=Ia(e,Ua(t),$a(t),Ha(t));return n!==null?n:Na(e,Va(t),"",0,[])}var Qs={AsymmetricMatcher:an,DOMCollection:Ko,DOMElement:Ws,Immutable:Ze,ReactElement:$l,ReactTestComponent:Wl,Error:tc},za={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},ac={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},es="\u2026";function uc(e,t){let n=za[ac[t]]||za[t]||"";return n?`\x1B[${n[0]}m${String(e)}\x1B[${n[1]}m`:String(e)}function lc({showHidden:e=!1,depth:t=2,colors:n=!1,customInspect:a=!0,showProxy:d=!1,maxArrayLength:m=1/0,breakLength:I=1/0,seen:z=[],truncate:q=1/0,stylize:ie=String}={},he){let ve={showHidden:!!e,depth:Number(t),colors:!!n,customInspect:!!a,showProxy:!!d,maxArrayLength:Number(m),breakLength:Number(I),truncate:Number(q),seen:z,inspect:he,stylize:ie};return ve.colors&&(ve.stylize=uc),ve}function cc(e){return e>="\uD800"&&e<="\uDBFF"}function ni(e,t,n=es){e=String(e);let a=n.length,d=e.length;if(a>t&&d>a)return n;if(d>t&&d>a){let m=t-a;return m>0&&cc(e[m-1])&&(m=m-1),`${e.slice(0,m)}${n}`}return e}function uo(e,t,n,a=", "){n=n||t.inspect;let d=e.length;if(d===0)return"";let m=t.truncate,I="",z="",q="";for(let ie=0;ie<d;ie+=1){let he=ie+1===e.length,ve=ie+2===e.length;q=`${es}(${e.length-ie})`;let Ge=e[ie];t.truncate=m-I.length-(he?0:a.length);let Ve=z||n(Ge,t)+(he?"":a),ct=I.length+Ve.length,We=ct+q.length;if(he&&ct>m&&I.length+q.length<=m||!he&&!ve&&We>m||(z=he?"":n(e[ie+1],t)+(ve?"":a),!he&&ve&&We>m&&ct+z.length>m))break;if(I+=Ve,!he&&!ve&&ct+z.length>=m){q=`${es}(${e.length-ie-1})`;break}q=""}return`${I}${q}`}function dc(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function As([e,t],n){return n.truncate-=2,typeof e=="string"?e=dc(e):typeof e!="number"&&(e=`[${n.inspect(e,n)}]`),n.truncate-=e.length,t=n.inspect(t,n),`${e}: ${t}`}function pc(e,t){let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return"[]";t.truncate-=4;let a=uo(e,t);t.truncate-=a.length;let d="";return n.length&&(d=uo(n.map(m=>[m,e[m]]),t,As)),`[ ${a}${d?`, ${d}`:""} ]`}var fc=e=>typeof Po=="function"&&e instanceof Po?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Lo(e,t){let n=fc(e);t.truncate-=n.length+4;let a=Object.keys(e).slice(e.length);if(!e.length&&!a.length)return`${n}[]`;let d="";for(let I=0;I<e.length;I++){let z=`${t.stylize(ni(e[I],t.truncate),"number")}${I===e.length-1?"":", "}`;if(t.truncate-=z.length,e[I]!==e.length&&t.truncate<=3){d+=`${es}(${e.length-e[I]+1})`;break}d+=z}let m="";return a.length&&(m=uo(a.map(I=>[I,e[I]]),t,As)),`${n}[ ${d}${m?`, ${m}`:""} ]`}function hc(e,t){let n=e.toJSON();if(n===null)return"Invalid Date";let a=n.split("T"),d=a[0];return t.stylize(`${d}T${ni(a[1],t.truncate-d.length-1)}`,"date")}function Ga(e,t){let n=e[Symbol.toStringTag]||"Function",a=e.name;return a?t.stylize(`[${n} ${ni(a,t.truncate-11)}]`,"special"):t.stylize(`[${n}]`,"special")}function mc([e,t],n){return n.truncate-=4,e=n.inspect(e,n),n.truncate-=e.length,t=n.inspect(t,n),`${e} => ${t}`}function _c(e){let t=[];return e.forEach((n,a)=>{t.push([a,n])}),t}function yc(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${uo(_c(e),t,mc)} }`)}var gc=Number.isNaN||(e=>e!==e);function Wa(e,t){return gc(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(ni(String(e),t.truncate),"number")}function Ja(e,t){let n=ni(e.toString(),t.truncate-1);return n!==es&&(n+="n"),t.stylize(n,"bigint")}function bc(e,t){let n=e.toString().split("/")[2],a=t.truncate-(2+n.length),d=e.source;return t.stylize(`/${ni(d,a)}/${n}`,"regexp")}function Ec(e){let t=[];return e.forEach(n=>{t.push(n)}),t}function Ac(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${uo(Ec(e),t)} }`)}var qa=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),vc={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},wc=16,Sc=4;function Dc(e){return vc[e]||`\\u${`0000${e.charCodeAt(0).toString(wc)}`.slice(-Sc)}`}function Ya(e,t){return qa.test(e)&&(e=e.replace(qa,Dc)),t.stylize(`'${ni(e,t.truncate-2)}'`,"string")}function Xa(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Ka=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:n}=Pn.binding("util");Array.isArray(e(Promise.resolve()))&&(Ka=(a,d)=>{let[m,I]=e(a);return m===t?"Promise{<pending>}":`Promise${m===n?"!":""}{${d.inspect(I,d)}}`})}catch{}var xc=Ka;function Ps(e,t){let n=Object.getOwnPropertyNames(e),a=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(n.length===0&&a.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let d=uo(n.map(z=>[z,e[z]]),t,As),m=uo(a.map(z=>[z,e[z]]),t,As);t.seen.pop();let I="";return d&&m&&(I=", "),`{ ${d}${I}${m} }`}var ea=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Cc(e,t){let n="";return ea&&ea in e&&(n=e[ea]),n=n||e.constructor.name,(!n||n==="_class")&&(n="<Anonymous Class>"),t.truncate-=n.length,`${n}${Ps(e,t)}`}function Tc(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${uo(e,t)} ]`)}var Rc=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Oc(e,t){let n=Object.getOwnPropertyNames(e).filter(I=>Rc.indexOf(I)===-1),a=e.name;t.truncate-=a.length;let d="";if(typeof e.message=="string"?d=ni(e.message,t.truncate):n.unshift("message"),d=d?`: ${d}`:"",t.truncate-=d.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let m=uo(n.map(I=>[I,e[I]]),t,As);return`${a}${d}${m?` { ${m} }`:""}`}function Fc([e,t],n){return n.truncate-=3,t?`${n.stylize(String(e),"yellow")}=${n.stylize(`"${t}"`,"string")}`:`${n.stylize(String(e),"yellow")}`}function ta(e,t){return uo(e,t,jc,`
|
|
246
|
+
`)}function jc(e,t){switch(e.nodeType){case 1:return Za(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function Za(e,t){let n=e.getAttributeNames(),a=e.tagName.toLowerCase(),d=t.stylize(`<${a}`,"special"),m=t.stylize(">","special"),I=t.stylize(`</${a}>`,"special");t.truncate-=a.length*2+5;let z="";n.length>0&&(z+=" ",z+=uo(n.map(he=>[he,e.getAttribute(he)]),t,Fc," ")),t.truncate-=z.length;let q=t.truncate,ie=ta(e.children,t);return ie&&ie.length>q&&(ie=`${es}(${e.children.length})`),`${d}${z}${m}${ie}${I}`}var Pc=typeof Symbol=="function"&&typeof Symbol.for=="function",ra=Pc?Symbol.for("chai/inspect"):"@@chai/inspect",na=Symbol.for("nodejs.util.inspect.custom"),Qa=new WeakMap,eu={},tu={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Wa,Number:Wa,bigint:Ja,BigInt:Ja,string:Ya,String:Ya,function:Ga,Function:Ga,symbol:Xa,Symbol:Xa,Array:pc,Date:hc,Map:yc,Set:Ac,RegExp:bc,Promise:xc,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:Tc,Int8Array:Lo,Uint8Array:Lo,Uint8ClampedArray:Lo,Int16Array:Lo,Uint16Array:Lo,Int32Array:Lo,Uint32Array:Lo,Float32Array:Lo,Float64Array:Lo,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Oc,HTMLCollection:ta,NodeList:ta},Bc=(e,t,n)=>ra in e&&typeof e[ra]=="function"?e[ra](t):na in e&&typeof e[na]=="function"?e[na](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Qa.has(e.constructor)?Qa.get(e.constructor)(e,t):eu[n]?eu[n](e,t):"",Ic=Object.prototype.toString;function oa(e,t={}){let n=lc(t,oa),{customInspect:a}=n,d=e===null?"null":typeof e;if(d==="object"&&(d=Ic.call(e).slice(8,-1)),d in tu)return tu[d](e,n);if(a&&e){let I=Bc(e,n,d);if(I)return typeof I=="string"?I:oa(I,n)}let m=e?Object.getPrototypeOf(e):!1;return m===Object.prototype||m===null?Ps(e,n):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Za(e,n):"constructor"in e?e.constructor!==Object?Cc(e,n):Ps(e,n):e===Object(e)?Ps(e,n):n.stylize(String(e),d)}var{AsymmetricMatcher:Nc,DOMCollection:kc,DOMElement:Lc,Immutable:Mc,ReactElement:Uc,ReactTestComponent:$c}=Qs,ru=[$c,Uc,Lc,kc,Mc,Nc];function vs(e,t=10,{maxLength:n,...a}={}){let d=n??1e4,m;try{m=wo(e,{maxDepth:t,escapeString:!1,plugins:ru,...a})}catch{m=wo(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:ru,...a})}return m.length>=d&&t>1?vs(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:n,...a}):m}var Hc=/%[sdjifoOc%]/g;function Vc(...e){if(typeof e[0]!="string"){let m=[];for(let I=0;I<e.length;I++)m.push(ws(e[I],{depth:0,colors:!1}));return m.join(" ")}let t=e.length,n=1,a=e[0],d=String(a).replace(Hc,m=>{if(m==="%%")return"%";if(n>=t)return m;switch(m){case"%s":{let I=e[n++];return typeof I=="bigint"?`${I.toString()}n`:typeof I=="number"&&I===0&&1/I<0?"-0":typeof I=="object"&&I!==null?typeof I.toString=="function"&&I.toString!==Object.prototype.toString?I.toString():ws(I,{depth:0,colors:!1}):String(I)}case"%d":{let I=e[n++];return typeof I=="bigint"?`${I.toString()}n`:Number(I).toString()}case"%i":{let I=e[n++];return typeof I=="bigint"?`${I.toString()}n`:Number.parseInt(String(I)).toString()}case"%f":return Number.parseFloat(String(e[n++])).toString();case"%o":return ws(e[n++],{showHidden:!0,showProxy:!0});case"%O":return ws(e[n++]);case"%c":return n++,"";case"%j":try{return JSON.stringify(e[n++])}catch(I){let z=I.message;if(z.includes("circular structure")||z.includes("cyclic structures")||z.includes("cyclic object"))return"[Circular]";throw I}default:return m}});for(let m=e[n];n<t;m=e[++n])m===null||typeof m!="object"?d+=` ${m}`:d+=` ${ws(m)}`;return d}function ws(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),oa(e,t)}function zc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function df(e,t,n){let a=typeof e;if(!n.includes(a))throw new TypeError(`${t} value must be ${n.join(" or ")}, received "${a}"`)}function pf(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function Gc(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function ia(e){return Object.prototype.toString.apply(e).slice(8,-1)}function Wc(e,t){let n=typeof t=="function"?t:a=>t.add(a);Object.getOwnPropertyNames(e).forEach(n),Object.getOwnPropertySymbols(e).forEach(n)}function nu(e){let t=new Set;return Gc(e)?[]:(Wc(e,t),Array.from(t))}var ou={forceWritable:!1};function iu(e,t=ou){return sa(e,new WeakMap,t)}function sa(e,t,n=ou){let a,d;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(d=Array.from({length:a=e.length}),t.set(e,d);a--;)d[a]=sa(e[a],t,n);return d}if(Object.prototype.toString.call(e)==="[object Object]"){d=Object.create(Object.getPrototypeOf(e)),t.set(e,d);let m=nu(e);for(let I of m){let z=Object.getOwnPropertyDescriptor(e,I);if(!z)continue;let q=sa(e[I],t,n);n.forceWritable?Object.defineProperty(d,I,{enumerable:z.enumerable,configurable:!0,writable:!0,value:q}):"get"in z?Object.defineProperty(d,I,{...z,get(){return q}}):Object.defineProperty(d,I,{...z,value:q})}return d}return e}function ff(){}var Mn=-1,Nn=1,gn=0,_n=class{0;1;constructor(e,t){this[0]=e,this[1]=t}};function Jc(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let n=0,a=Math.min(e.length,t.length),d=a,m=0;for(;n<d;)e.substring(m,d)===t.substring(m,d)?(n=d,m=n):a=d,d=Math.floor((a-n)/2+n);return d}function su(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let n=0,a=Math.min(e.length,t.length),d=a,m=0;for(;n<d;)e.substring(e.length-d,e.length-m)===t.substring(t.length-d,t.length-m)?(n=d,m=n):a=d,d=Math.floor((a-n)/2+n);return d}function au(e,t){let n=e.length,a=t.length;if(n===0||a===0)return 0;n>a?e=e.substring(n-a):n<a&&(t=t.substring(0,n));let d=Math.min(n,a);if(e===t)return d;let m=0,I=1;for(;;){let z=e.substring(d-I),q=t.indexOf(z);if(q===-1)return m;I+=q,(q===0||e.substring(d-I)===t.substring(0,I))&&(m=I,I++)}}function qc(e){let t=!1,n=[],a=0,d=null,m=0,I=0,z=0,q=0,ie=0;for(;m<e.length;)e[m][0]===gn?(n[a++]=m,I=q,z=ie,q=0,ie=0,d=e[m][1]):(e[m][0]===Nn?q+=e[m][1].length:ie+=e[m][1].length,d&&d.length<=Math.max(I,z)&&d.length<=Math.max(q,ie)&&(e.splice(n[a-1],0,new _n(Mn,d)),e[n[a-1]+1][0]=Nn,a--,a--,m=a>0?n[a-1]:-1,I=0,z=0,q=0,ie=0,d=null,t=!0)),m++;for(t&&du(e),Kc(e),m=1;m<e.length;){if(e[m-1][0]===Mn&&e[m][0]===Nn){let he=e[m-1][1],ve=e[m][1],Ge=au(he,ve),Ve=au(ve,he);Ge>=Ve?(Ge>=he.length/2||Ge>=ve.length/2)&&(e.splice(m,0,new _n(gn,ve.substring(0,Ge))),e[m-1][1]=he.substring(0,he.length-Ge),e[m+1][1]=ve.substring(Ge),m++):(Ve>=he.length/2||Ve>=ve.length/2)&&(e.splice(m,0,new _n(gn,he.substring(0,Ve))),e[m-1][0]=Nn,e[m-1][1]=ve.substring(0,ve.length-Ve),e[m+1][0]=Mn,e[m+1][1]=he.substring(Ve),m++),m++}m++}}var uu=/[^a-z0-9]/i,lu=/\s/,cu=/[\r\n]/,Yc=/\n\r?\n$/,Xc=/^\r?\n\r?\n/;function Kc(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===gn&&e[t+1][0]===gn){let n=e[t-1][1],a=e[t][1],d=e[t+1][1],m=su(n,a);if(m){let he=a.substring(a.length-m);n=n.substring(0,n.length-m),a=he+a.substring(0,a.length-m),d=he+d}let I=n,z=a,q=d,ie=Bs(n,a)+Bs(a,d);for(;a.charAt(0)===d.charAt(0);){n+=a.charAt(0),a=a.substring(1)+d.charAt(0),d=d.substring(1);let he=Bs(n,a)+Bs(a,d);he>=ie&&(ie=he,I=n,z=a,q=d)}e[t-1][1]!==I&&(I?e[t-1][1]=I:(e.splice(t-1,1),t--),e[t][1]=z,q?e[t+1][1]=q:(e.splice(t+1,1),t--))}t++}}function du(e){e.push(new _n(gn,""));let t=0,n=0,a=0,d="",m="",I;for(;t<e.length;)switch(e[t][0]){case Nn:a++,m+=e[t][1],t++;break;case Mn:n++,d+=e[t][1],t++;break;case gn:n+a>1?(n!==0&&a!==0&&(I=Jc(m,d),I!==0&&(t-n-a>0&&e[t-n-a-1][0]===gn?e[t-n-a-1][1]+=m.substring(0,I):(e.splice(0,0,new _n(gn,m.substring(0,I))),t++),m=m.substring(I),d=d.substring(I)),I=su(m,d),I!==0&&(e[t][1]=m.substring(m.length-I)+e[t][1],m=m.substring(0,m.length-I),d=d.substring(0,d.length-I))),t-=n+a,e.splice(t,n+a),d.length&&(e.splice(t,0,new _n(Mn,d)),t++),m.length&&(e.splice(t,0,new _n(Nn,m)),t++),t++):t!==0&&e[t-1][0]===gn?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,a=0,n=0,d="",m="";break}e[e.length-1][1]===""&&e.pop();let z=!1;for(t=1;t<e.length-1;)e[t-1][0]===gn&&e[t+1][0]===gn&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),z=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),z=!0)),t++;z&&du(e)}function Bs(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),a=t.charAt(0),d=n.match(uu),m=a.match(uu),I=d&&n.match(lu),z=m&&a.match(lu),q=I&&n.match(cu),ie=z&&a.match(cu),he=q&&e.match(Yc),ve=ie&&t.match(Xc);return he||ve?5:q||ie?4:d&&!I&&z?3:I||z?2:d||m?1:0}var pu="Compared values have no visual difference.",Zc="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Is={},fu;function Qc(){if(fu)return Is;fu=1,Object.defineProperty(Is,"__esModule",{value:!0}),Is.default=Ge;let e="diff-sequences",t=0,n=(Ve,ct,We,lt,Ot)=>{let gt=0;for(;Ve<ct&&We<lt&&Ot(Ve,We);)Ve+=1,We+=1,gt+=1;return gt},a=(Ve,ct,We,lt,Ot)=>{let gt=0;for(;Ve<=ct&&We<=lt&&Ot(ct,lt);)ct-=1,lt-=1,gt+=1;return gt},d=(Ve,ct,We,lt,Ot,gt,Kt)=>{let Mt=0,or=-Ve,qt=gt[Mt],xt=qt;gt[Mt]+=n(qt+1,ct,lt+qt-or+1,We,Ot);let Ht=Ve<Kt?Ve:Kt;for(Mt+=1,or+=2;Mt<=Ht;Mt+=1,or+=2){if(Mt!==Ve&&xt<gt[Mt])qt=gt[Mt];else if(qt=xt+1,ct<=qt)return Mt-1;xt=gt[Mt],gt[Mt]=qt+n(qt+1,ct,lt+qt-or+1,We,Ot)}return Kt},m=(Ve,ct,We,lt,Ot,gt,Kt)=>{let Mt=0,or=Ve,qt=gt[Mt],xt=qt;gt[Mt]-=a(ct,qt-1,We,lt+qt-or-1,Ot);let Ht=Ve<Kt?Ve:Kt;for(Mt+=1,or-=2;Mt<=Ht;Mt+=1,or-=2){if(Mt!==Ve&>[Mt]<xt)qt=gt[Mt];else if(qt=xt-1,qt<ct)return Mt-1;xt=gt[Mt],gt[Mt]=qt-a(ct,qt-1,We,lt+qt-or-1,Ot)}return Kt},I=(Ve,ct,We,lt,Ot,gt,Kt,Mt,or,qt,xt)=>{let Ht=lt-ct,Yt=We-ct,ir=Ot-lt-Yt,Zt=-ir-(Ve-1),ar=-ir+(Ve-1),gr=t,mt=Ve<Mt?Ve:Mt;for(let pt=0,Gt=-Ve;pt<=mt;pt+=1,Gt+=2){let mr=pt===0||pt!==Ve&&gr<Kt[pt],wr=mr?Kt[pt]:gr,Pr=mr?wr:wr+1,Gr=Ht+Pr-Gt,Mr=n(Pr+1,We,Gr+1,Ot,gt),Wr=Pr+Mr;if(gr=Kt[pt],Kt[pt]=Wr,Zt<=Gt&&Gt<=ar){let $n=(Ve-1-(Gt+ir))/2;if($n<=qt&&or[$n]-1<=Wr){let Zn=Ht+wr-(mr?Gt+1:Gt-1),Hr=a(ct,wr,lt,Zn,gt),Fn=wr-Hr,Qn=Zn-Hr,$o=Fn+1,Cs=Qn+1;xt.nChangePreceding=Ve-1,Ve-1===$o+Cs-ct-lt?(xt.aEndPreceding=ct,xt.bEndPreceding=lt):(xt.aEndPreceding=$o,xt.bEndPreceding=Cs),xt.nCommonPreceding=Hr,Hr!==0&&(xt.aCommonPreceding=$o,xt.bCommonPreceding=Cs),xt.nCommonFollowing=Mr,Mr!==0&&(xt.aCommonFollowing=Pr+1,xt.bCommonFollowing=Gr+1);let ii=Wr+1,os=Gr+Mr+1;return xt.nChangeFollowing=Ve-1,Ve-1===We+Ot-ii-os?(xt.aStartFollowing=We,xt.bStartFollowing=Ot):(xt.aStartFollowing=ii,xt.bStartFollowing=os),!0}}}return!1},z=(Ve,ct,We,lt,Ot,gt,Kt,Mt,or,qt,xt)=>{let Ht=Ot-We,Yt=We-ct,ir=Ot-lt-Yt,Zt=ir-Ve,ar=ir+Ve,gr=t,mt=Ve<qt?Ve:qt;for(let pt=0,Gt=Ve;pt<=mt;pt+=1,Gt-=2){let mr=pt===0||pt!==Ve&&or[pt]<gr,wr=mr?or[pt]:gr,Pr=mr?wr:wr-1,Gr=Ht+Pr-Gt,Mr=a(ct,Pr-1,lt,Gr-1,gt),Wr=Pr-Mr;if(gr=or[pt],or[pt]=Wr,Zt<=Gt&&Gt<=ar){let $n=(Ve+(Gt-ir))/2;if($n<=Mt&&Wr-1<=Kt[$n]){let Zn=Gr-Mr;if(xt.nChangePreceding=Ve,Ve===Wr+Zn-ct-lt?(xt.aEndPreceding=ct,xt.bEndPreceding=lt):(xt.aEndPreceding=Wr,xt.bEndPreceding=Zn),xt.nCommonPreceding=Mr,Mr!==0&&(xt.aCommonPreceding=Wr,xt.bCommonPreceding=Zn),xt.nChangeFollowing=Ve-1,Ve===1)xt.nCommonFollowing=0,xt.aStartFollowing=We,xt.bStartFollowing=Ot;else{let Hr=Ht+wr-(mr?Gt-1:Gt+1),Fn=n(wr,We,Hr,Ot,gt);xt.nCommonFollowing=Fn,Fn!==0&&(xt.aCommonFollowing=wr,xt.bCommonFollowing=Hr);let Qn=wr+Fn,$o=Hr+Fn;Ve-1===We+Ot-Qn-$o?(xt.aStartFollowing=We,xt.bStartFollowing=Ot):(xt.aStartFollowing=Qn,xt.bStartFollowing=$o)}return!0}}}return!1},q=(Ve,ct,We,lt,Ot,gt,Kt,Mt,or)=>{let qt=lt-ct,xt=Ot-We,Ht=We-ct,Yt=Ot-lt,ir=Yt-Ht,Zt=Ht,ar=Ht;if(Kt[0]=ct-1,Mt[0]=We,ir%2===0){let gr=(Ve||ir)/2,mt=(Ht+Yt)/2;for(let pt=1;pt<=mt;pt+=1)if(Zt=d(pt,We,Ot,qt,gt,Kt,Zt),pt<gr)ar=m(pt,ct,lt,xt,gt,Mt,ar);else if(z(pt,ct,We,lt,Ot,gt,Kt,Zt,Mt,ar,or))return}else{let gr=((Ve||ir)+1)/2,mt=(Ht+Yt+1)/2,pt=1;for(Zt=d(pt,We,Ot,qt,gt,Kt,Zt),pt+=1;pt<=mt;pt+=1)if(ar=m(pt-1,ct,lt,xt,gt,Mt,ar),pt<gr)Zt=d(pt,We,Ot,qt,gt,Kt,Zt);else if(I(pt,ct,We,lt,Ot,gt,Kt,Zt,Mt,ar,or))return}throw new Error(`${e}: no overlap aStart=${ct} aEnd=${We} bStart=${lt} bEnd=${Ot}`)},ie=(Ve,ct,We,lt,Ot,gt,Kt,Mt,or,qt)=>{if(Ot-lt<We-ct){if(gt=!gt,gt&&Kt.length===1){let{foundSubsequence:$n,isCommon:Zn}=Kt[0];Kt[1]={foundSubsequence:(Hr,Fn,Qn)=>{$n(Hr,Qn,Fn)},isCommon:(Hr,Fn)=>Zn(Fn,Hr)}}let Mr=ct,Wr=We;ct=lt,We=Ot,lt=Mr,Ot=Wr}let{foundSubsequence:xt,isCommon:Ht}=Kt[gt?1:0];q(Ve,ct,We,lt,Ot,Ht,Mt,or,qt);let{nChangePreceding:Yt,aEndPreceding:ir,bEndPreceding:Zt,nCommonPreceding:ar,aCommonPreceding:gr,bCommonPreceding:mt,nCommonFollowing:pt,aCommonFollowing:Gt,bCommonFollowing:mr,nChangeFollowing:wr,aStartFollowing:Pr,bStartFollowing:Gr}=qt;ct<ir&<<Zt&&ie(Yt,ct,ir,lt,Zt,gt,Kt,Mt,or,qt),ar!==0&&xt(ar,gr,mt),pt!==0&&xt(pt,Gt,mr),Pr<We&&Gr<Ot&&ie(wr,Pr,We,Gr,Ot,gt,Kt,Mt,or,qt)},he=(Ve,ct)=>{if(typeof ct!="number")throw new TypeError(`${e}: ${Ve} typeof ${typeof ct} is not a number`);if(!Number.isSafeInteger(ct))throw new RangeError(`${e}: ${Ve} value ${ct} is not a safe integer`);if(ct<0)throw new RangeError(`${e}: ${Ve} value ${ct} is a negative integer`)},ve=(Ve,ct)=>{let We=typeof ct;if(We!=="function")throw new TypeError(`${e}: ${Ve} typeof ${We} is not a function`)};function Ge(Ve,ct,We,lt){he("aLength",Ve),he("bLength",ct),ve("isCommon",We),ve("foundSubsequence",lt);let Ot=n(0,Ve,0,ct,We);if(Ot!==0&<(Ot,0,0),Ve!==Ot||ct!==Ot){let gt=Ot,Kt=Ot,Mt=a(gt,Ve-1,Kt,ct-1,We),or=Ve-Mt,qt=ct-Mt,xt=Ot+Mt;Ve!==xt&&ct!==xt&&ie(0,gt,or,Kt,qt,!1,[{foundSubsequence:lt,isCommon:We}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),Mt!==0&<(Mt,or,qt)}}return Is}var ed=Qc(),hu=zc(ed);function td(e,t){return e.replace(/\s+$/,n=>t(n))}function aa(e,t,n,a,d,m){return e.length!==0?n(`${a} ${td(e,d)}`):a!==" "?n(a):t&&m.length!==0?n(`${a} ${m}`):""}function mu(e,t,{aColor:n,aIndicator:a,changeLineTrailingSpaceColor:d,emptyFirstOrLastLinePlaceholder:m}){return aa(e,t,n,a,d,m)}function _u(e,t,{bColor:n,bIndicator:a,changeLineTrailingSpaceColor:d,emptyFirstOrLastLinePlaceholder:m}){return aa(e,t,n,a,d,m)}function yu(e,t,{commonColor:n,commonIndicator:a,commonLineTrailingSpaceColor:d,emptyFirstOrLastLinePlaceholder:m}){return aa(e,t,n,a,d,m)}function gu(e,t,n,a,{patchColor:d}){return d(`@@ -${e+1},${t-e} +${n+1},${a-n} @@`)}function rd(e,t){let n=e.length,a=t.contextLines,d=a+a,m=n,I=!1,z=0,q=0;for(;q!==n;){let Mt=q;for(;q!==n&&e[q][0]===gn;)q+=1;if(Mt!==q)if(Mt===0)q>a&&(m-=q-a,I=!0);else if(q===n){let or=q-Mt;or>a&&(m-=or-a,I=!0)}else{let or=q-Mt;or>d&&(m-=or-d,z+=1)}for(;q!==n&&e[q][0]!==gn;)q+=1}let ie=z!==0||I;z!==0?m+=z+1:I&&(m+=1);let he=m-1,ve=[],Ge=0;ie&&ve.push("");let Ve=0,ct=0,We=0,lt=0,Ot=Mt=>{let or=ve.length;ve.push(yu(Mt,or===0||or===he,t)),We+=1,lt+=1},gt=Mt=>{let or=ve.length;ve.push(mu(Mt,or===0||or===he,t)),We+=1},Kt=Mt=>{let or=ve.length;ve.push(_u(Mt,or===0||or===he,t)),lt+=1};for(q=0;q!==n;){let Mt=q;for(;q!==n&&e[q][0]===gn;)q+=1;if(Mt!==q)if(Mt===0){q>a&&(Mt=q-a,Ve=Mt,ct=Mt,We=Ve,lt=ct);for(let or=Mt;or!==q;or+=1)Ot(e[or][1])}else if(q===n){let or=q-Mt>a?Mt+a:q;for(let qt=Mt;qt!==or;qt+=1)Ot(e[qt][1])}else{let or=q-Mt;if(or>d){let qt=Mt+a;for(let Ht=Mt;Ht!==qt;Ht+=1)Ot(e[Ht][1]);ve[Ge]=gu(Ve,We,ct,lt,t),Ge=ve.length,ve.push("");let xt=or-d;Ve=We+xt,ct=lt+xt,We=Ve,lt=ct;for(let Ht=q-a;Ht!==q;Ht+=1)Ot(e[Ht][1])}else for(let qt=Mt;qt!==q;qt+=1)Ot(e[qt][1])}for(;q!==n&&e[q][0]===Mn;)gt(e[q][1]),q+=1;for(;q!==n&&e[q][0]===Nn;)Kt(e[q][1]),q+=1}return ie&&(ve[Ge]=gu(Ve,We,ct,lt,t)),ve.join(`
|
|
247
|
+
`)}function nd(e,t){return e.map((n,a,d)=>{let m=n[1],I=a===0||a===d.length-1;switch(n[0]){case Mn:return mu(m,I,t);case Nn:return _u(m,I,t);default:return yu(m,I,t)}}).join(`
|
|
248
|
+
`)}var ua=e=>e,bu=5,od=0;function id(){return{aAnnotation:"Expected",aColor:In.green,aIndicator:"-",bAnnotation:"Received",bColor:In.red,bIndicator:"+",changeColor:In.inverse,changeLineTrailingSpaceColor:ua,commonColor:In.dim,commonIndicator:" ",commonLineTrailingSpaceColor:ua,compareKeys:void 0,contextLines:bu,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:In.yellow,printBasicPrototype:!1,truncateThreshold:od,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:ua}}function sd(e){return e&&typeof e=="function"?e:void 0}function ad(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:bu}function Ti(e={}){return{...id(),...e,compareKeys:sd(e.compareKeys),contextLines:ad(e.contextLines)}}function ts(e){return e.length===1&&e[0].length===0}function ud(e){let t=0,n=0;return e.forEach(a=>{switch(a[0]){case Mn:t+=1;break;case Nn:n+=1;break}}),{a:t,b:n}}function ld({aAnnotation:e,aColor:t,aIndicator:n,bAnnotation:a,bColor:d,bIndicator:m,includeChangeCounts:I,omitAnnotationLines:z},q){if(z)return"";let ie="",he="";if(I){let Ve=String(q.a),ct=String(q.b),We=a.length-e.length,lt=" ".repeat(Math.max(0,We)),Ot=" ".repeat(Math.max(0,-We)),gt=ct.length-Ve.length,Kt=" ".repeat(Math.max(0,gt)),Mt=" ".repeat(Math.max(0,-gt));ie=`${lt} ${n} ${Kt}${Ve}`,he=`${Ot} ${m} ${Mt}${ct}`}let ve=`${n} ${e}${ie}`,Ge=`${m} ${a}${he}`;return`${t(ve)}
|
|
249
|
+
${d(Ge)}
|
|
250
|
+
|
|
251
|
+
`}function la(e,t,n){return ld(n,ud(e))+(n.expand?nd(e,n):rd(e,n))+(t?n.truncateAnnotationColor(`
|
|
252
|
+
${n.truncateAnnotation}`):"")}function Ns(e,t,n){let a=Ti(n),[d,m]=Eu(ts(e)?[]:e,ts(t)?[]:t,a);return la(d,m,a)}function cd(e,t,n,a,d){if(ts(e)&&ts(n)&&(e=[],n=[]),ts(t)&&ts(a)&&(t=[],a=[]),e.length!==n.length||t.length!==a.length)return Ns(e,t,d);let[m,I]=Eu(n,a,d),z=0,q=0;return m.forEach(ie=>{switch(ie[0]){case Mn:ie[1]=e[z],z+=1;break;case Nn:ie[1]=t[q],q+=1;break;default:ie[1]=t[q],z+=1,q+=1}}),la(m,I,Ti(d))}function Eu(e,t,n){let a=n?.truncateThreshold??!1,d=Math.max(Math.floor(n?.truncateThreshold??0),0),m=a?Math.min(e.length,d):e.length,I=a?Math.min(t.length,d):t.length,z=m!==e.length||I!==t.length,q=(Ge,Ve)=>e[Ge]===t[Ve],ie=[],he=0,ve=0;for(hu(m,I,q,(Ge,Ve,ct)=>{for(;he!==Ve;he+=1)ie.push(new _n(Mn,e[he]));for(;ve!==ct;ve+=1)ie.push(new _n(Nn,t[ve]));for(;Ge!==0;Ge-=1,he+=1,ve+=1)ie.push(new _n(gn,t[ve]))});he!==m;he+=1)ie.push(new _n(Mn,e[he]));for(;ve!==I;ve+=1)ie.push(new _n(Nn,t[ve]));return[ie,z]}function Au(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}function vu(e){return e.includes(`\r
|
|
253
|
+
`)?`\r
|
|
254
|
+
`:`
|
|
255
|
+
`}function dd(e,t,n){let a=n?.truncateThreshold??!1,d=Math.max(Math.floor(n?.truncateThreshold??0),0),m=e.length,I=t.length;if(a){let Ge=e.includes(`
|
|
256
|
+
`),Ve=t.includes(`
|
|
257
|
+
`),ct=vu(e),We=vu(t),lt=Ge?`${e.split(ct,d).join(ct)}
|
|
258
|
+
`:e,Ot=Ve?`${t.split(We,d).join(We)}
|
|
259
|
+
`:t;m=lt.length,I=Ot.length}let z=m!==e.length||I!==t.length,q=(Ge,Ve)=>e[Ge]===t[Ve],ie=0,he=0,ve=[];return hu(m,I,q,(Ge,Ve,ct)=>{ie!==Ve&&ve.push(new _n(Mn,e.slice(ie,Ve))),he!==ct&&ve.push(new _n(Nn,t.slice(he,ct))),ie=Ve+Ge,he=ct+Ge,ve.push(new _n(gn,t.slice(ct,he)))}),ie!==m&&ve.push(new _n(Mn,e.slice(ie))),he!==I&&ve.push(new _n(Nn,t.slice(he))),[ve,z]}function pd(e,t,n){return t.reduce((a,d)=>a+(d[0]===gn?d[1]:d[0]===e&&d[1].length!==0?n(d[1]):""),"")}var wu=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new _n(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new _n(this.op,pd(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new _n(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
260
|
+
`)){let n=t.split(`
|
|
261
|
+
`),a=n.length-1;n.forEach((d,m)=>{m<a?(this.pushSubstring(d),this.pushLine()):d.length!==0&&this.pushSubstring(d)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},fd=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],n=e[1];if(n.includes(`
|
|
262
|
+
`)){let a=n.split(`
|
|
263
|
+
`),d=a.length-1;a.forEach((m,I)=>{if(I===0){let z=new _n(t,m);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(z)):(this.pushDiffChangeLines(z),this.flushChangeLines())}else I<d?this.pushDiffCommonLine(new _n(t,m)):m.length!==0&&this.pushDiffChangeLines(new _n(t,m))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function hd(e,t){let n=new wu(Mn,t),a=new wu(Nn,t),d=new fd(n,a);return e.forEach(m=>{switch(m[0]){case Mn:n.align(m);break;case Nn:a.align(m);break;default:d.align(m)}}),d.getLines()}function md(e,t){if(t){let n=e.length-1;return e.some((a,d)=>a[0]===gn&&(d!==n||a[1]!==`
|
|
264
|
+
`))}return e.some(n=>n[0]===gn)}function _d(e,t,n){if(e!==t&&e.length!==0&&t.length!==0){let a=e.includes(`
|
|
265
|
+
`)||t.includes(`
|
|
266
|
+
`),[d,m]=Su(a?`${e}
|
|
267
|
+
`:e,a?`${t}
|
|
268
|
+
`:t,!0,n);if(md(d,a)){let I=Ti(n),z=hd(d,I.changeColor);return la(z,m,I)}}return Ns(e.split(`
|
|
269
|
+
`),t.split(`
|
|
270
|
+
`),n)}function Su(e,t,n,a){let[d,m]=dd(e,t,a);return n&&qc(d),[d,m]}function ca(e,t){let{commonColor:n}=Ti(t);return n(e)}var{AsymmetricMatcher:yd,DOMCollection:gd,DOMElement:bd,Immutable:Ed,ReactElement:Ad,ReactTestComponent:vd}=Qs,Du=[vd,Ad,bd,gd,Ed,yd,Qs.Error],da={maxDepth:20,plugins:Du},xu={callToJSON:!1,maxDepth:8,plugins:Du};function wd(e,t,n){if(Object.is(e,t))return"";let a=Au(e),d=a,m=!1;if(a==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;d=e.getExpectedType(),m=d==="string"}if(d!==Au(t)){let I=function(Kt){return Kt.length<=lt?Kt:`${Kt.slice(0,lt)}...`},{aAnnotation:z,aColor:q,aIndicator:ie,bAnnotation:he,bColor:ve,bIndicator:Ge}=Ti(n),Ve=fa(xu,n),ct=wo(e,Ve),We=wo(t,Ve),lt=1e5;ct=I(ct),We=I(We);let Ot=`${q(`${ie} ${z}:`)}
|
|
271
|
+
${ct}`,gt=`${ve(`${Ge} ${he}:`)}
|
|
272
|
+
${We}`;return`${Ot}
|
|
273
|
+
|
|
274
|
+
${gt}`}if(!m)switch(a){case"string":return Ns(e.split(`
|
|
275
|
+
`),t.split(`
|
|
276
|
+
`),n);case"boolean":case"number":return Sd(e,t,n);case"map":return pa(Cu(e),Cu(t),n);case"set":return pa(Tu(e),Tu(t),n);default:return pa(e,t,n)}}function Sd(e,t,n){let a=wo(e,da),d=wo(t,da);return a===d?"":Ns(a.split(`
|
|
277
|
+
`),d.split(`
|
|
278
|
+
`),n)}function Cu(e){return new Map(Array.from(e.entries()).sort())}function Tu(e){return new Set(Array.from(e.values()).sort())}function pa(e,t,n){let a,d=!1;try{let I=fa(da,n);a=Ru(e,t,I,n)}catch{d=!0}let m=ca(pu,n);if(a===void 0||a===m){let I=fa(xu,n);a=Ru(e,t,I,n),a!==m&&!d&&(a=`${ca(Zc,n)}
|
|
279
|
+
|
|
280
|
+
${a}`)}return a}function fa(e,t){let{compareKeys:n,printBasicPrototype:a,maxDepth:d}=Ti(t);return{...e,compareKeys:n,printBasicPrototype:a,maxDepth:d??e.maxDepth}}function Ru(e,t,n,a){let d={...n,indent:0},m=wo(e,d),I=wo(t,d);if(m===I)return ca(pu,a);{let z=wo(e,n),q=wo(t,n);return cd(z.split(`
|
|
281
|
+
`),q.split(`
|
|
282
|
+
`),m.split(`
|
|
283
|
+
`),I.split(`
|
|
284
|
+
`),a)}}var Ou=2e4;function Fu(e){return ia(e)==="Object"&&typeof e.asymmetricMatch=="function"}function ju(e,t){let n=ia(e),a=ia(t);return n===a&&(n==="Object"||n==="Array")}function Dd(e,t,n){let{aAnnotation:a,bAnnotation:d}=Ti(n);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Ou&&e.length<=Ou&&t!==e){if(t.includes(`
|
|
285
|
+
`)||e.includes(`
|
|
286
|
+
`))return _d(t,e,n);let[ie]=Su(t,e,!0),he=ie.some(ct=>ct[0]===gn),ve=xd(a,d),Ge=ve(a)+Rd(Iu(ie,Mn,he)),Ve=ve(d)+Td(Iu(ie,Nn,he));return`${Ge}
|
|
287
|
+
${Ve}`}let m=iu(t,{forceWritable:!0}),I=iu(e,{forceWritable:!0}),{replacedExpected:z,replacedActual:q}=Pu(I,m);return wd(z,q,n)}function Pu(e,t,n=new WeakSet,a=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):ju(e,t)?n.has(e)||a.has(t)?{replacedActual:e,replacedExpected:t}:(n.add(e),a.add(t),nu(t).forEach(d=>{let m=t[d],I=e[d];if(Fu(m))m.asymmetricMatch(I)&&(e[d]=m);else if(Fu(I))I.asymmetricMatch(m)&&(t[d]=I);else if(ju(I,m)){let z=Pu(I,m,n,a);e[d]=z.replacedActual,t[d]=z.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function xd(...e){let t=e.reduce((n,a)=>a.length>n?a.length:n,0);return n=>`${n}: ${" ".repeat(t-n.length)}`}var Cd="\xB7";function Bu(e){return e.replace(/\s+$/gm,t=>Cd.repeat(t.length))}function Td(e){return In.red(Bu(vs(e)))}function Rd(e){return In.green(Bu(vs(e)))}function Iu(e,t,n){return e.reduce((a,d)=>a+(d[0]===gn?d[1]:d[0]===t?n?In.inverse(d[1]):d[1]:""),"")}var Od="@@__IMMUTABLE_RECORD__@@",Fd="@@__IMMUTABLE_ITERABLE__@@";function jd(e){return e&&(e[Fd]||e[Od])}var Pd=Object.getPrototypeOf({});function Nu(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function oi(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let n=e.toJSON();return n&&n!==e&&typeof n=="object"&&(typeof e.message=="string"&&ks(()=>n.message??(n.message=e.message)),typeof e.stack=="string"&&ks(()=>n.stack??(n.stack=e.stack)),typeof e.name=="string"&&ks(()=>n.name??(n.name=e.name)),e.cause!=null&&ks(()=>n.cause??(n.cause=oi(e.cause,t)))),oi(n,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Po<"u"&&e instanceof Po)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(jd(e))return oi(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${Vc(e.sample)}`;if(typeof e.toJSON=="function")return oi(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let n=new Array(e.length);return t.set(e,n),e.forEach((a,d)=>{try{n[d]=oi(a,t)}catch(m){n[d]=Nu(m)}}),n}else{let n=Object.create(null);t.set(e,n);let a=e;for(;a&&a!==Pd;)Object.getOwnPropertyNames(a).forEach(d=>{if(!(d in n))try{n[d]=oi(e[d],t)}catch(m){delete n[d],n[d]=Nu(m)}}),a=Object.getPrototypeOf(a);return n}}function ks(e){try{return e()}catch{}}function Bd(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function ku(e,t,n=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let a=e;(a.showDiff||a.showDiff===void 0&&a.expected!==void 0&&a.actual!==void 0)&&(a.diff=Dd(a.actual,a.expected,{...t,...a.diffOptions})),"expected"in a&&typeof a.expected!="string"&&(a.expected=vs(a.expected,10)),"actual"in a&&typeof a.actual!="string"&&(a.actual=vs(a.actual,10));try{typeof a.message=="string"&&(a.message=Bd(a.message))}catch{}try{!n.has(a)&&typeof a.cause=="object"&&(n.add(a),a.cause=ku(a.cause,t,n))}catch{}try{return oi(a)}catch(d){return oi(new Error(`Failed to fully serialize error: ${d?.message}
|
|
288
|
+
Inner error message: ${a?.message}`))}}var ha=globalThis.__STORYBOOK_ADDONS_PREVIEW,Id=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Lu=e=>Object.prototype.toString.call(e)==="[object Object]",Nd=e=>Object.prototype.toString.call(e)==="[object Module]",kd=e=>{if(!Lu(e)&&!Nd(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Lu(t)},Ld=e=>{try{return new e.constructor}catch{return{}}},ma=()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),Mu=(e,t=!1)=>{let n=(t?e.shadowCalls:e.calls).filter(d=>d.retain);if(!n.length)return;let a=new Map(Array.from(e.callRefsByResult.entries()).filter(([,d])=>d.retain));return{cursor:n.length,calls:n,callRefsByResult:a}},Md=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{try{this.state=pe.global.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{pe.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:z,renderPhase:q,isPlaying:ie=!0,isDebugging:he=!1})=>{let ve=this.getState(z);this.setState(z,{...ma(),...Mu(ve,he),renderPhase:q||ve.renderPhase,shadowCalls:he?ve.shadowCalls:[],chainedCallIds:he?ve.chainedCallIds:new Set,playUntil:he?ve.playUntil:void 0,isPlaying:ie,isDebugging:he}),this.sync(z)},t=z=>({storyId:q,playUntil:ie})=>{this.getState(q).isDebugging||this.setState(q,({calls:ve})=>({calls:[],shadowCalls:ve.map(Ge=>({...Ge,status:"waiting"})),isDebugging:!0}));let he=this.getLog(q);this.setState(q,({shadowCalls:ve})=>{if(ie||!he.length)return{playUntil:ie};let Ge=ve.findIndex(Ve=>Ve.id===he[0].callId);return{playUntil:ve.slice(0,Ge).filter(Ve=>Ve.interceptable&&!Ve.ancestors?.length).slice(-1)[0]?.id}}),z.emit(c.FORCE_REMOUNT,{storyId:q,isDebugging:!0})},n=z=>({storyId:q})=>{let ie=this.getLog(q).filter(ve=>!ve.ancestors?.length),he=ie.reduceRight((ve,Ge,Ve)=>ve>=0||Ge.status==="waiting"?ve:Ve,-1);t(z)({storyId:q,playUntil:ie[he-1]?.callId})},a=z=>({storyId:q,callId:ie})=>{let{calls:he,shadowCalls:ve,resolvers:Ge}=this.getState(q),Ve=he.find(({id:We})=>We===ie),ct=ve.find(({id:We})=>We===ie);if(!Ve&&ct&&Object.values(Ge).length>0){let We=this.getLog(q).find(lt=>lt.status==="waiting")?.callId;ct.id!==We&&this.setState(q,{playUntil:ct.id}),Object.values(Ge).forEach(lt=>lt())}else t(z)({storyId:q,playUntil:ie})},d=z=>({storyId:q})=>{let{resolvers:ie}=this.getState(q);if(Object.values(ie).length>0)Object.values(ie).forEach(he=>he());else{let he=this.getLog(q).find(ve=>ve.status==="waiting")?.callId;he?t(z)({storyId:q,playUntil:he}):m({storyId:q})}},m=({storyId:z})=>{this.setState(z,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(z).resolvers).forEach(q=>q())},I=({storyId:z,newPhase:q})=>{let{isDebugging:ie}=this.getState(z);if(q==="preparing"&&ie)return e({storyId:z,renderPhase:q,isDebugging:ie});if(q==="playing")return e({storyId:z,renderPhase:q,isDebugging:ie});q==="played"?this.setState(z,{renderPhase:q,isLocked:!1,isPlaying:!1,isDebugging:!1}):q==="errored"?this.setState(z,{renderPhase:q,isLocked:!1,isPlaying:!1}):q==="aborted"?this.setState(z,{renderPhase:q,isLocked:!0,isPlaying:!1}):this.setState(z,{renderPhase:q}),this.sync(z)};ha&&ha.ready().then(()=>{this.channel=ha.getChannel(),this.channel.on(c.FORCE_REMOUNT,e),this.channel.on(c.STORY_RENDER_PHASE_CHANGED,I),this.channel.on(c.SET_CURRENT_STORY,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(Xr.START,t(this.channel)),this.channel.on(Xr.BACK,n(this.channel)),this.channel.on(Xr.GOTO,a(this.channel)),this.channel.on(Xr.NEXT,d(this.channel)),this.channel.on(Xr.END,m)})}getState(e){return this.state[e]||ma()}setState(e,t){if(e){let n=this.getState(e),a=typeof t=="function"?t(n):t;this.state={...this.state,[e]:{...n,...a}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((t,[n,a])=>{let d=Mu(a);return d&&(t[n]=Object.assign(ma(),d)),t},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(Xr.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:n}=this.getState(e),a=[...n];t.forEach((m,I)=>{a[I]=m});let d=new Set;return a.reduceRight((m,I)=>(I.args.forEach(z=>{z?.__callId__&&d.add(z.__callId__)}),I.path.forEach(z=>{z.__callId__&&d.add(z.__callId__)}),(I.interceptable||I.exception)&&!d.has(I.id)&&(m.unshift({callId:I.id,status:I.status,ancestors:I.ancestors}),d.add(I.id)),m),[])}instrument(e,t,n=0){if(!kd(e))return e;let{mutate:a=!1,path:d=[]}=t,m=t.getKeys?t.getKeys(e,n):Object.keys(e);return n+=1,m.reduce((I,z)=>{let q=Ud(e,z);if(typeof q?.get=="function"){if(q.configurable){let he=()=>q?.get?.bind(e)?.();Object.defineProperty(I,z,{get:()=>this.instrument(he(),{...t,path:d.concat(z)},n)})}return I}let ie=e[z];return typeof ie!="function"?(I[z]=this.instrument(ie,{...t,path:d.concat(z)},n),I):"__originalFn__"in ie&&typeof ie.__originalFn__=="function"?(I[z]=ie,I):(I[z]=(...he)=>this.track(z,ie,e,he,t),I[z].__originalFn__=ie,Object.defineProperty(I[z],"name",{value:z,writable:!1}),Object.keys(ie).length>0&&Object.assign(I[z],this.instrument({...ie},{...t,path:d.concat(z)},n)),I)},a?e:Ld(e))}track(e,t,n,a,d){let m=a?.[0]?.__storyId__||pe.global.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:I,ancestors:z}=this.getState(m);this.setState(m,{cursor:I+1});let q=`${z.slice(-1)[0]||m} [${I}] ${e}`,{path:ie=[],intercept:he=!1,retain:ve=!1}=d,Ge=typeof he=="function"?he(e,ie):he,Ve={id:q,cursor:I,storyId:m,ancestors:z,path:ie,method:e,args:a,interceptable:Ge,retain:ve},ct=(Ge&&!z.length?this.intercept:this.invoke).call(this,t,n,Ve,d);return this.instrument(ct,{...d,mutate:!0,path:[{__callId__:Ve.id}]})}intercept(e,t,n,a){let{chainedCallIds:d,isDebugging:m,playUntil:I}=this.getState(n.storyId),z=d.has(n.id);return!m||z||I?(I===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(e,t,n,a)):new Promise(q=>{this.setState(n.storyId,({resolvers:ie})=>({isLocked:!1,resolvers:{...ie,[n.id]:q}}))}).then(()=>(this.setState(n.storyId,q=>{let{[n.id]:ie,...he}=q.resolvers;return{isLocked:!0,resolvers:he}}),this.invoke(e,t,n,a)))}invoke(e,t,n,a){let{callRefsByResult:d,renderPhase:m}=this.getState(n.storyId),I=25,z=(he,ve,Ge)=>{if(Ge.includes(he))return"[Circular]";if(Ge=[...Ge,he],ve>I)return"...";if(d.has(he))return d.get(he);if(he instanceof Array)return he.map(Ve=>z(Ve,++ve,Ge));if(he instanceof Date)return{__date__:{value:he.toISOString()}};if(he instanceof Error){let{name:Ve,message:ct,stack:We}=he;return{__error__:{name:Ve,message:ct,stack:We}}}if(he instanceof RegExp){let{flags:Ve,source:ct}=he;return{__regexp__:{flags:Ve,source:ct}}}if(he instanceof pe.global.window?.HTMLElement){let{prefix:Ve,localName:ct,id:We,classList:lt,innerText:Ot}=he,gt=Array.from(lt);return{__element__:{prefix:Ve,localName:ct,id:We,classNames:gt,innerText:Ot}}}return typeof he=="function"?{__function__:{name:"getMockName"in he?he.getMockName():he.name}}:typeof he=="symbol"?{__symbol__:{description:he.description}}:typeof he=="object"&&he?.constructor?.name&&he?.constructor?.name!=="Object"?{__class__:{name:he.constructor.name}}:Object.prototype.toString.call(he)==="[object Object]"?Object.fromEntries(Object.entries(he).map(([Ve,ct])=>[Ve,z(ct,++ve,Ge)])):he},q={...n,args:n.args.map(he=>z(he,0,[]))};n.path.forEach(he=>{he?.__callId__&&this.setState(n.storyId,({chainedCallIds:ve})=>({chainedCallIds:new Set(Array.from(ve).concat(he.__callId__))}))});let ie=he=>{if(he instanceof Error){let{name:ve,message:Ge,stack:Ve,callId:ct=n.id}=he,{showDiff:We=void 0,diff:lt=void 0,actual:Ot=void 0,expected:gt=void 0}=he.name==="AssertionError"?ku(he):he,Kt={name:ve,message:Ge,stack:Ve,callId:ct,showDiff:We,diff:lt,actual:Ot,expected:gt};if(this.update({...q,status:"error",exception:Kt}),this.setState(n.storyId,Mt=>({callRefsByResult:new Map([...Array.from(Mt.callRefsByResult.entries()),[he,{__callId__:n.id,retain:n.retain}]])})),n.ancestors?.length)throw Object.prototype.hasOwnProperty.call(he,"callId")||Object.defineProperty(he,"callId",{value:n.id}),he}throw he};try{if(m==="played"&&!n.retain)throw Id;let he=(a.getArgs?a.getArgs(n,this.getState(n.storyId)):n.args).map(Ge=>typeof Ge!="function"||$d(Ge)||Object.keys(Ge).length?Ge:(...Ve)=>{let{cursor:ct,ancestors:We}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...We,n.id]});let lt=()=>this.setState(n.storyId,{cursor:ct,ancestors:We}),Ot=!1;try{let gt=Ge(...Ve);return gt instanceof Promise?(Ot=!0,gt.finally(lt)):gt}finally{Ot||lt()}}),ve=e.apply(t,he);return ve&&["object","function","symbol"].includes(typeof ve)&&this.setState(n.storyId,Ge=>({callRefsByResult:new Map([...Array.from(Ge.callRefsByResult.entries()),[ve,{__callId__:n.id,retain:n.retain}]])})),this.update({...q,status:ve instanceof Promise?"active":"done"}),ve instanceof Promise?ve.then(Ge=>(this.update({...q,status:"done"}),Ge),ie):ve}catch(he){return ie(he)}}update(e){this.channel?.emit(Xr.CALL,e),this.setState(e.storyId,({calls:t})=>{let n=t.concat(e).reduce((a,d)=>Object.assign(a,{[d.id]:d}),{});return{calls:Object.values(n).sort((a,d)=>a.id.localeCompare(d.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:n,isPlaying:a}=this.getState(e),d=this.getLog(e),m=d.filter(({ancestors:ie})=>!ie.length).find(ie=>ie.status==="waiting")?.callId,I=d.some(ie=>ie.status==="active");if(this.detached||n||I||d.length===0){let ie={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:d};this.channel?.emit(Xr.SYNC,ie);return}let z=d.some(ie=>ie.status==="done"||ie.status==="error"),q={controlStates:{detached:this.detached,start:z,back:z,goto:!0,next:a,end:a},logItems:d,pausedAt:m};this.channel?.emit(Xr.SYNC,q)};this.setState(e,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(t,0)}))}};function Uu(e,t={}){try{let n=!1,a=!1;return pe.global.window?.location?.search?.includes("instrument=true")?n=!0:pe.global.window?.location?.search?.includes("instrument=false")&&(a=!0),pe.global.window?.parent===pe.global.window&&!n||a?e:(pe.global.window&&!pe.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(pe.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new Md),(pe.global.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(n){return F.once.warn(n),e}}function Ud(e,t){let n=e;for(;n!=null;){let a=Object.getOwnPropertyDescriptor(n,t);if(a)return a;n=Object.getPrototypeOf(n)}}function $d(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}var Hd=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js"),Vd=(0,$.__commonJS)({"../../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,n=Object.getPrototypeOf,a=Object.getOwnPropertySymbols?function(d){return Object.keys(d).concat(Object.getOwnPropertySymbols(d))}:Object.keys;return function(d,m){return(function I(z,q,ie){var he,ve,Ge,Ve=t.call(z),ct=t.call(q);if(z===q)return!0;if(z==null||q==null)return!1;if(ie.indexOf(z)>-1&&ie.indexOf(q)>-1)return!0;if(ie.push(z,q),Ve!=ct||(he=a(z),ve=a(q),he.length!=ve.length||he.some(function(We){return!I(z[We],q[We],ie)})))return!1;switch(Ve.slice(8,-1)){case"Symbol":return z.valueOf()==q.valueOf();case"Date":case"Number":return+z==+q||+z!=+z&&+q!=+q;case"RegExp":case"Function":case"String":case"Boolean":return""+z==""+q;case"Set":case"Map":he=z.entries(),ve=q.entries();do if(!I((Ge=he.next()).value,ve.next().value,ie))return!1;while(!Ge.done);return!0;case"ArrayBuffer":z=new Uint8Array(z),q=new Uint8Array(q);case"DataView":z=new Uint8Array(z.buffer),q=new Uint8Array(q.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(z.length!=q.length)return!1;for(Ge=0;Ge<z.length;Ge++)if((Ge in z||Ge in q)&&(Ge in z!=Ge in q||!I(z[Ge],q[Ge],ie)))return!1;return!0;case"Object":return I(n(z),n(q),ie);default:return!1}})(d,m,[])}})()}});function zd(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,n,a,d)=>`${n} ${a}${d}`).replace(/([a-z])([A-Z])/g,(t,n,a)=>`${n} ${a}`).replace(/([a-z])([0-9])/gi,(t,n,a)=>`${n} ${a}`).replace(/([0-9])([a-z])/gi,(t,n,a)=>`${n} ${a}`).replace(/(\s|^)(\w)/g,(t,n,a)=>`${n}${a.toUpperCase()}`).replace(/ +/g," ").trim()}var $u=(0,$.__toESM)(Vd(),1),Hu=e=>e.map(t=>typeof t<"u").filter(Boolean).length,Gd=(e,t)=>{let{exists:n,eq:a,neq:d,truthy:m}=e;if(Hu([n,a,d,m])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:n,eq:a,neq:d})}`);if(typeof a<"u")return(0,$u.isEqual)(t,a);if(typeof d<"u")return!(0,$u.isEqual)(t,d);if(typeof n<"u"){let I=typeof t<"u";return n?I:!I}return typeof m>"u"||m?!!t:!t},Vu=(e,t,n)=>{if(!e.if)return!0;let{arg:a,global:d}=e.if;if(Hu([a,d])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:a,global:d})}`);let m=a?t[a]:n[d];return Gd(e.if,m)},zu={};(0,$.__export)(zu,{argsEnhancers:()=>qd});var Gu=(e,t)=>typeof t[e]>"u"&&!(e in t),Wd=e=>{let{initialArgs:t,argTypes:n,id:a,parameters:{actions:d}}=e;if(!d||d.disable||!d.argTypesRegex||!n)return{};let m=new RegExp(d.argTypesRegex);return Object.entries(n).filter(([I])=>!!m.test(I)).reduce((I,[z,q])=>(Gu(z,t)&&(I[z]=jn(z,{implicit:!0,id:a})),I),{})},Jd=e=>{let{initialArgs:t,argTypes:n,parameters:{actions:a}}=e;return a?.disable||!n?{}:Object.entries(n).filter(([d,m])=>!!m.action).reduce((d,[m,I])=>(Gu(m,t)&&(d[m]=jn(typeof I.action=="string"?I.action:m)),d),{})},qd=[Jd,Wd],Wu={};(0,$.__export)(Wu,{loaders:()=>Xd});var Ju=!1,Yd=e=>{let{parameters:t}=e;t?.actions?.disable||Ju||((0,Wn.onMockCall)((n,a)=>{let d=n.getMockName();d!=="spy"&&d!=="vi.fn()"&&(!/^next\/.*::/.test(d)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(m=>d.startsWith(m)))&&jn(d)(a)}),Ju=!0)},Xd=[Yd],qu=()=>({...zu,...Wu}),{document:lo}=globalThis,Kd=()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,Yu=e=>{(Array.isArray(e)?e:[e]).forEach(Zd)},Zd=e=>{if(!lo)return;let t=lo.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},Qd=(e,t)=>{if(!lo)return;let n=lo.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let a=lo.createElement("style");a.setAttribute("id",e),a.innerHTML=t,lo.head.appendChild(a)}},ep=(e,t,n)=>{if(!lo)return;let a=lo.getElementById(e);if(a)a.innerHTML!==t&&(a.innerHTML=t);else{let d=lo.createElement("style");d.setAttribute("id",e),d.innerHTML=t;let m=`addon-backgrounds-grid${n?`-docs-${n}`:""}`,I=lo.getElementById(m);I?I.parentElement?.insertBefore(d,I):lo.head.appendChild(d)}},tp={cellSize:100,cellAmount:10,opacity:.8},Xu="addon-backgrounds",Ku="addon-backgrounds-grid",rp=Kd()?"":"transition: background-color 0.3s;",np=(e,t)=>{let{globals:n={},parameters:a={},viewMode:d,id:m}=t,{options:I=M,disable:z,grid:q=tp}=a[w]||{},ie=n[w]||{},he=typeof ie=="string"?ie:ie?.value,ve=he?I[he]:void 0,Ge=typeof ve=="string"?ve:ve?.value||"transparent",Ve=typeof ie=="string"?!1:ie.grid||!1,ct=!!ve&&!z,We=d==="docs"?`#anchor--${m} .docs-story, #anchor--primary--${m} .docs-story`:".sb-show-main",lt=d==="docs"?`#anchor--${m} .docs-story, #anchor--primary--${m} .docs-story`:".sb-show-main",Ot=a.layout===void 0||a.layout==="padded",gt=d==="docs"?20:Ot?16:0,{cellAmount:Kt,cellSize:Mt,opacity:or,offsetX:qt=gt,offsetY:xt=gt}=q,Ht=d==="docs"?`${Xu}-docs-${m}`:`${Xu}-color`,Yt=d==="docs"?m:null;(0,Sn.useEffect)(()=>{let Zt=`
|
|
289
|
+
${We} {
|
|
290
|
+
background: ${Ge} !important;
|
|
291
|
+
${rp}
|
|
292
|
+
}`;if(!ct){Yu(Ht);return}ep(Ht,Zt,Yt)},[We,Ht,Yt,ct,Ge]);let ir=d==="docs"?`${Ku}-docs-${m}`:`${Ku}`;return(0,Sn.useEffect)(()=>{if(!Ve){Yu(ir);return}let Zt=[`${Mt*Kt}px ${Mt*Kt}px`,`${Mt*Kt}px ${Mt*Kt}px`,`${Mt}px ${Mt}px`,`${Mt}px ${Mt}px`].join(", "),ar=`
|
|
293
|
+
${lt} {
|
|
294
|
+
background-size: ${Zt} !important;
|
|
295
|
+
background-position: ${qt}px ${xt}px, ${qt}px ${xt}px, ${qt}px ${xt}px, ${qt}px ${xt}px !important;
|
|
296
|
+
background-blend-mode: difference !important;
|
|
297
|
+
background-image: linear-gradient(rgba(130, 130, 130, ${or}) 1px, transparent 1px),
|
|
298
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${or}) 1px, transparent 1px),
|
|
299
|
+
linear-gradient(rgba(130, 130, 130, ${or/2}) 1px, transparent 1px),
|
|
300
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${or/2}) 1px, transparent 1px) !important;
|
|
301
|
+
}
|
|
302
|
+
`;Qd(ir,ar)},[Kt,Mt,lt,ir,Ve,qt,xt,or]),e()},op=globalThis.FEATURES?.backgrounds?[np]:[],ip={[w]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},sp={[w]:{value:void 0,grid:!1}},Zu=()=>({decorators:op,parameters:ip,initialGlobals:sp}),{step:ap}=Uu({step:async(e,t,n)=>t(n)},{intercept:!0}),Qu=()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:ap}),up=e=>{let t=getComputedStyle(e),n=e.getBoundingClientRect();return!(n.width>0&&n.height>0&&t.visibility!=="hidden"&&Number(t.opacity)>0&&t.display!=="none")},lp=async({reporting:e,canvasElement:t,globals:n})=>{try{if(!n.ghostStories)return;let a=up(t.firstElementChild??t);a&&e.addReport({type:"render-analysis",version:1,result:{emptyRender:a},status:"warning"})}catch{}},el=()=>({afterEach:lp}),tl={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},cp="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),Rn=(e,t={},n)=>{let a=cp.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([d,m])=>{/[A-Z]/.test(d)?(d==="onClick"&&(a.addEventListener("click",m),a.addEventListener("keydown",I=>{(I.key==="Enter"||I.key===" ")&&(I.preventDefault(),m())})),d==="onMouseEnter"&&a.addEventListener("mouseenter",m),d==="onMouseLeave"&&a.addEventListener("mouseleave",m)):a.setAttribute(d,m)}),n?.forEach(d=>{if(!(d==null||d===!1))try{a.appendChild(d)}catch{a.appendChild(document.createTextNode(String(d)))}}),a},Ls=e=>tl[e]&&Rn("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},tl[e].map(t=>Rn("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),dp=e=>{if("elements"in e){let{elements:a,color:d,style:m}=e;return{id:void 0,priority:0,selectors:a,styles:{outline:`2px ${m} ${d}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...n}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...n,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},pp=e=>e instanceof Function,Ss=new Map,Ri=new Map,Ms=new Map,Mo=e=>{let t=Symbol();return Ri.set(t,[]),Ss.set(t,e),{get:()=>Ss.get(t),set:n=>{let a=Ss.get(t),d=pp(n)?n(a):n;d!==a&&(Ss.set(t,d),Ri.get(t)?.forEach(m=>{Ms.get(m)?.(),Ms.set(m,m(d))}))},subscribe:n=>(Ri.get(t)?.push(n),()=>{let a=Ri.get(t);a&&Ri.set(t,a.filter(d=>d!==n))}),teardown:()=>{Ri.get(t)?.forEach(n=>{Ms.get(n)?.(),Ms.delete(n)}),Ri.delete(t),Ss.delete(t)}}},rl=e=>{let t=document.getElementById("storybook-root"),n=new Map;for(let a of e){let{priority:d=0}=a;for(let m of a.selectors){let I=[...document.querySelectorAll(`:is(${m}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(m)||[]];for(let z of I){let q=n.get(z);(!q||q.priority<=d)&&n.set(z,{...a,priority:d,selectors:Array.from(new Set((q?.selectors||[]).concat(m)))})}}}return n},fp=e=>Array.from(e.entries()).map(([t,{selectors:n,styles:a,hoverStyles:d,focusStyles:m,menu:I}])=>{let{top:z,left:q,width:ie,height:he}=t.getBoundingClientRect(),{position:ve}=getComputedStyle(t);return{element:t,selectors:n,styles:a,hoverStyles:d,focusStyles:m,menu:I,top:ve==="fixed"?z:z+window.scrollY,left:ve==="fixed"?q:q+window.scrollX,width:ie,height:he}}).sort((t,n)=>n.width*n.height-t.width*t.height),nl=(e,t)=>{let n=e.getBoundingClientRect(),{x:a,y:d}=t;return n?.top&&n?.left&&a>=n.left&&a<=n.left+n.width&&d>=n.top&&d<=n.top+n.height},ol=(e,t,n)=>{if(!t||!n)return!1;let{left:a,top:d,width:m,height:I}=e;I<sr&&(d=d-Math.round((sr-I)/2),I=sr),m<sr&&(a=a-Math.round((sr-m)/2),m=sr),t.style.position==="fixed"&&(a+=window.scrollX,d+=window.scrollY);let{x:z,y:q}=n;return z>=a&&z<=a+m&&q>=d&&q<=d+I},hp=(e,t,n={})=>{let{x:a,y:d}=t,{margin:m=5,topOffset:I=0,centered:z=!1}=n,{scrollX:q,scrollY:ie,innerHeight:he,innerWidth:ve}=window,Ge=Math.min(e.style.position==="fixed"?d-ie:d,he-e.clientHeight-m-I+ie),Ve=z?e.clientWidth/2:0,ct=e.style.position==="fixed"?Math.max(Math.min(a-q,ve-Ve-m),Ve+m):Math.max(Math.min(a,ve-Ve-m+q),Ve+m+q);Object.assign(e.style,{...ct!==a&&{left:`${ct}px`},...Ge!==d&&{top:`${Ge}px`}})},il=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},mp=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},_p=e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),cn="storybook-highlights-menu",sl="storybook-highlights-root",yp="storybook-root",gp=e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,n=Mo([]),a=Mo(new Map),d=Mo([]),m=Mo(),I=Mo(),z=Mo([]),q=Mo([]),ie=Mo(),he=Mo(),ve=t.getElementById(sl);n.subscribe(()=>{ve||(ve=Rn("div",{id:sl}),t.body.appendChild(ve))}),n.subscribe(xt=>{let Ht=t.getElementById(yp);if(!Ht)return;a.set(rl(xt));let Yt=new MutationObserver(()=>a.set(rl(xt)));return Yt.observe(Ht,{subtree:!0,childList:!0}),()=>{Yt.disconnect()}}),a.subscribe(xt=>{let Ht=()=>requestAnimationFrame(()=>d.set(fp(xt))),Yt=new ResizeObserver(Ht);Yt.observe(t.body),Array.from(xt.keys()).forEach(Zt=>Yt.observe(Zt));let ir=Array.from(t.body.querySelectorAll("*")).filter(Zt=>{let{overflow:ar,overflowX:gr,overflowY:mt}=window.getComputedStyle(Zt);return["auto","scroll"].some(pt=>[ar,gr,mt].includes(pt))});return ir.forEach(Zt=>Zt.addEventListener("scroll",Ht)),()=>{Yt.disconnect(),ir.forEach(Zt=>Zt.removeEventListener("scroll",Ht))}}),a.subscribe(xt=>{let Ht=Array.from(xt.keys()).filter(({style:ir})=>ir.position==="sticky"),Yt=()=>requestAnimationFrame(()=>{d.set(ir=>ir.map(Zt=>{if(Ht.includes(Zt.element)){let{top:ar,left:gr}=Zt.element.getBoundingClientRect();return{...Zt,top:ar+window.scrollY,left:gr+window.scrollX}}return Zt}))});return t.addEventListener("scroll",Yt),()=>t.removeEventListener("scroll",Yt)}),a.subscribe(xt=>{z.set(Ht=>Ht.filter(({element:Yt})=>xt.has(Yt)))}),z.subscribe(xt=>{xt.length?(he.set(Ht=>xt.some(Yt=>Yt.element===Ht?.element)?Ht:void 0),ie.set(Ht=>xt.some(Yt=>Yt.element===Ht?.element)?Ht:void 0)):(he.set(void 0),ie.set(void 0),m.set(void 0))});let Ge=new Map(new Map);n.subscribe(xt=>{xt.forEach(({keyframes:Ht})=>{if(Ht){let Yt=Ge.get(Ht);Yt||(Yt=t.createElement("style"),Yt.setAttribute("data-highlight","keyframes"),Ge.set(Ht,Yt),t.head.appendChild(Yt)),Yt.innerHTML=Ht}}),Ge.forEach((Ht,Yt)=>{xt.some(ir=>ir.keyframes===Yt)||(Ht.remove(),Ge.delete(Yt))})});let Ve=new Map(new Map);d.subscribe(xt=>{xt.forEach(Ht=>{let Yt=Ve.get(Ht.element);if(ve&&!Yt){let ir={popover:"manual","data-highlight-dimensions":`w${Ht.width.toFixed(0)}h${Ht.height.toFixed(0)}`,"data-highlight-coordinates":`x${Ht.left.toFixed(0)}y${Ht.top.toFixed(0)}`};Yt=ve.appendChild(Rn("div",ir,[Rn("div")])),Ve.set(Ht.element,Yt)}}),Ve.forEach((Ht,Yt)=>{xt.some(({element:ir})=>ir===Yt)||(Ht.remove(),Ve.delete(Yt))})}),d.subscribe(xt=>{let Ht=xt.filter(ir=>ir.menu);if(!Ht.length)return;let Yt=ir=>{requestAnimationFrame(()=>{let Zt=t.getElementById(cn),ar={x:ir.pageX,y:ir.pageY};if(Zt&&!nl(Zt,ar)){let gr=Ht.filter(mt=>{let pt=Ve.get(mt.element);return ol(mt,pt,ar)});m.set(gr.length?ar:void 0),z.set(gr)}})};return t.addEventListener("click",Yt),()=>t.removeEventListener("click",Yt)});let ct=()=>{let xt=t.getElementById(cn),Ht=I.get();!Ht||xt&&nl(xt,Ht)||q.set(Yt=>{let ir=d.get().filter(mt=>{let pt=Ve.get(mt.element);return ol(mt,pt,Ht)}),Zt=Yt.filter(mt=>ir.includes(mt)),ar=ir.filter(mt=>!Yt.includes(mt)),gr=Yt.length-Zt.length;return ar.length||gr?[...Zt,...ar]:Yt})};I.subscribe(ct),d.subscribe(ct);let We=()=>{let xt=he.get(),Ht=xt?[xt]:z.get(),Yt=Ht.length===1?Ht[0]:ie.get(),ir=m.get()!==void 0;d.get().forEach(Zt=>{let ar=Ve.get(Zt.element);if(ar){let gr=Yt===Zt,mt=ir?Yt?gr:Ht.includes(Zt):q.get()?.includes(Zt);Object.assign(ar.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...Zt.styles,...mt?Zt.hoverStyles:{},...gr?Zt.focusStyles:{},position:getComputedStyle(Zt.element).position==="fixed"?"fixed":"absolute",zIndex:Wt-10,top:`${Zt.top}px`,left:`${Zt.left}px`,width:`${Zt.width}px`,height:`${Zt.height}px`,margin:0,padding:0,cursor:Zt.menu&&mt?"pointer":"default",pointerEvents:Zt.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(ar.children[0].style,{width:"100%",height:"100%",minHeight:`${sr}px`,minWidth:`${sr}px`,boxSizing:"content-box",padding:ar.style.outlineWidth||"0px"}),il(ar)}})};d.subscribe(We),z.subscribe(We),q.subscribe(We),ie.subscribe(We),he.subscribe(We);let lt=()=>{if(!ve)return;let xt=t.getElementById(cn);if(xt)xt.innerHTML="";else{let Zt={id:cn,popover:"manual"};xt=ve.appendChild(Rn("div",Zt)),ve.appendChild(Rn("style",{},[`
|
|
303
|
+
#${cn} {
|
|
304
|
+
position: absolute;
|
|
305
|
+
z-index: ${Wt};
|
|
306
|
+
width: 300px;
|
|
307
|
+
padding: 0px;
|
|
308
|
+
margin: 15px 0 0 0;
|
|
309
|
+
transform: translateX(-50%);
|
|
310
|
+
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
311
|
+
font-size: 12px;
|
|
312
|
+
background: white;
|
|
313
|
+
border: none;
|
|
314
|
+
border-radius: 6px;
|
|
315
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
|
|
316
|
+
color: #2E3438;
|
|
317
|
+
}
|
|
318
|
+
#${cn} ul {
|
|
319
|
+
list-style: none;
|
|
320
|
+
margin: 0;
|
|
321
|
+
padding: 0;
|
|
322
|
+
}
|
|
323
|
+
#${cn} > ul {
|
|
324
|
+
max-height: 300px;
|
|
325
|
+
overflow-y: auto;
|
|
326
|
+
padding: 4px 0;
|
|
327
|
+
}
|
|
328
|
+
#${cn} li {
|
|
329
|
+
padding: 0 4px;
|
|
330
|
+
margin: 0;
|
|
331
|
+
}
|
|
332
|
+
#${cn} li > :not(ul) {
|
|
333
|
+
display: flex;
|
|
334
|
+
padding: 8px;
|
|
335
|
+
margin: 0;
|
|
336
|
+
align-items: center;
|
|
337
|
+
gap: 8px;
|
|
338
|
+
border-radius: 4px;
|
|
339
|
+
}
|
|
340
|
+
#${cn} button {
|
|
341
|
+
width: 100%;
|
|
342
|
+
border: 0;
|
|
343
|
+
background: transparent;
|
|
344
|
+
color: inherit;
|
|
345
|
+
text-align: left;
|
|
346
|
+
font-family: inherit;
|
|
347
|
+
font-size: inherit;
|
|
348
|
+
}
|
|
349
|
+
#${cn} button:focus-visible {
|
|
350
|
+
outline-color: #029CFD;
|
|
351
|
+
}
|
|
352
|
+
#${cn} button:hover {
|
|
353
|
+
background: rgba(2, 156, 253, 0.07);
|
|
354
|
+
color: #029CFD;
|
|
355
|
+
cursor: pointer;
|
|
356
|
+
}
|
|
357
|
+
#${cn} li code {
|
|
358
|
+
white-space: nowrap;
|
|
359
|
+
overflow: hidden;
|
|
360
|
+
text-overflow: ellipsis;
|
|
361
|
+
line-height: 16px;
|
|
362
|
+
font-size: 11px;
|
|
363
|
+
}
|
|
364
|
+
#${cn} li svg {
|
|
365
|
+
flex-shrink: 0;
|
|
366
|
+
margin: 1px;
|
|
367
|
+
color: #73828C;
|
|
368
|
+
}
|
|
369
|
+
#${cn} li > button:hover svg, #${cn} li > button:focus-visible svg {
|
|
370
|
+
color: #029CFD;
|
|
371
|
+
}
|
|
372
|
+
#${cn} .element-list li svg {
|
|
373
|
+
display: none;
|
|
374
|
+
}
|
|
375
|
+
#${cn} li.selectable svg, #${cn} li.selected svg {
|
|
376
|
+
display: block;
|
|
377
|
+
}
|
|
378
|
+
#${cn} .menu-list {
|
|
379
|
+
border-top: 1px solid rgba(38, 85, 115, 0.15);
|
|
380
|
+
}
|
|
381
|
+
#${cn} .menu-list > li:not(:last-child) {
|
|
382
|
+
padding-bottom: 4px;
|
|
383
|
+
margin-bottom: 4px;
|
|
384
|
+
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
|
|
385
|
+
}
|
|
386
|
+
#${cn} .menu-items, #${cn} .menu-items li {
|
|
387
|
+
padding: 0;
|
|
388
|
+
}
|
|
389
|
+
#${cn} .menu-item {
|
|
390
|
+
display: flex;
|
|
391
|
+
}
|
|
392
|
+
#${cn} .menu-item-content {
|
|
393
|
+
display: flex;
|
|
394
|
+
flex-direction: column;
|
|
395
|
+
flex-grow: 1;
|
|
396
|
+
}
|
|
397
|
+
`]))}let Ht=he.get(),Yt=Ht?[Ht]:z.get();if(Yt.length&&(xt.style.position=getComputedStyle(Yt[0].element).position==="fixed"?"fixed":"absolute",xt.appendChild(Rn("ul",{class:"element-list"},Yt.map(Zt=>{let ar=Yt.length>1&&!!Zt.menu?.some(pt=>pt.some(Gt=>!Gt.selectors||Gt.selectors.some(mr=>Zt.selectors.includes(mr)))),gr=ar?{class:"selectable",onClick:()=>he.set(Zt),onMouseEnter:()=>ie.set(Zt),onMouseLeave:()=>ie.set(void 0)}:Ht?{class:"selected",onClick:()=>he.set(void 0)}:{},mt=ar||Ht;return Rn("li",gr,[Rn(mt?"button":"div",mt?{type:"button"}:{},[Ht?Ls("chevronLeft"):null,Rn("code",{},[Zt.element.outerHTML]),ar?Ls("chevronRight"):null])])})))),he.get()||z.get().length===1){let Zt=he.get()||z.get()[0],ar=Zt.menu?.filter(gr=>gr.some(mt=>!mt.selectors||mt.selectors.some(pt=>Zt.selectors.includes(pt))));ar?.length&&xt.appendChild(Rn("ul",{class:"menu-list"},ar.map(gr=>Rn("li",{},[Rn("ul",{class:"menu-items"},gr.map(({id:mt,title:pt,description:Gt,iconLeft:mr,iconRight:wr,clickEvent:Pr})=>{let Gr=Pr&&(()=>e.emit(Pr,mt,_p(Zt)));return Rn("li",{},[Rn(Gr?"button":"div",Gr?{class:"menu-item",type:"button",onClick:Gr}:{class:"menu-item"},[mr?Ls(mr):null,Rn("div",{class:"menu-item-content"},[Rn(Gt?"strong":"span",{},[pt]),Gt&&Rn("span",{},[Gt])]),wr?Ls(wr):null])])}))]))))}let ir=m.get();ir?(Object.assign(xt.style,{display:"block",left:`${xt.style.position==="fixed"?ir.x-window.scrollX:ir.x}px`,top:`${xt.style.position==="fixed"?ir.y-window.scrollY:ir.y}px`}),il(xt),requestAnimationFrame(()=>hp(xt,ir,{topOffset:15,centered:!0}))):(mp(xt),Object.assign(xt.style,{display:"none"}))};z.subscribe(lt),he.subscribe(lt);let Ot=xt=>{let Ht=dp(xt);n.set(Yt=>{let ir=Ht.id?Yt.filter(Zt=>Zt.id!==Ht.id):Yt;return Ht.selectors?.length?[...ir,Ht]:ir})},gt=xt=>{xt&&n.set(Ht=>Ht.filter(Yt=>Yt.id!==xt))},Kt=()=>{n.set([]),a.set(new Map),d.set([]),m.set(void 0),I.set(void 0),z.set([]),q.set([]),ie.set(void 0),he.set(void 0)},Mt,or=(xt,Ht)=>{let Yt="scrollIntoView-highlight";clearTimeout(Mt),gt(Yt);let ir=t.querySelector(xt);if(!ir){Hd.warn(`Cannot scroll into view: ${xt} not found`);return}ir.scrollIntoView({behavior:"smooth",block:"center",...Ht});let Zt=`kf-${Math.random().toString(36).substring(2,15)}`;n.set(ar=>[...ar,{id:Yt,priority:1e3,selectors:[xt],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${Zt} 3s linear forwards`},keyframes:`@keyframes ${Zt} {
|
|
398
|
+
0% { outline: 2px solid #1EA7FD; }
|
|
399
|
+
20% { outline: 2px solid #1EA7FD00; }
|
|
400
|
+
40% { outline: 2px solid #1EA7FD; }
|
|
401
|
+
60% { outline: 2px solid #1EA7FD00; }
|
|
402
|
+
80% { outline: 2px solid #1EA7FD; }
|
|
403
|
+
100% { outline: 2px solid #1EA7FD00; }
|
|
404
|
+
}`}]),Mt=setTimeout(()=>gt(Yt),3500)},qt=xt=>{requestAnimationFrame(()=>I.set({x:xt.pageX,y:xt.pageY}))};t.body.addEventListener("mousemove",qt),e.on(Q,Ot),e.on(ke,gt),e.on(Tt,Kt),e.on(Lt,or),e.on(c.STORY_RENDER_PHASE_CHANGED,({newPhase:xt})=>{xt==="loading"&&Kt()})};globalThis?.FEATURES?.highlight&&Sn.addons?.ready&&Sn.addons.ready().then(gp);var al=()=>({});function ul(){let e=pe.global.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function bp(){let e=pe.global.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");se(t!=null);let{width:n,height:a}=ul();return _a(e,t,{width:n,height:a}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",pe.global.document.body.appendChild(e),{canvas:e,context:t,width:n,height:a}}function _a(e,t,{width:n,height:a}){e.style.width=`${n}px`,e.style.height=`${a}px`;let d=pe.global.window.devicePixelRatio;e.width=Math.floor(n*d),e.height=Math.floor(a*d),t.scale(d,d)}var On={};function Ep(){On.canvas||(On=bp())}function ll(){On.context&&On.context.clearRect(0,0,On.width??0,On.height??0)}function Ap(e){ll(),e(On.context)}function vp(){se(On.canvas,"Canvas should exist in the state."),se(On.context,"Context should exist in the state."),_a(On.canvas,On.context,{width:0,height:0});let{width:e,height:t}=ul();_a(On.canvas,On.context,{width:e,height:t}),On.width=e,On.height=t}function wp(){On.canvas&&(ll(),On.canvas.parentNode?.removeChild(On.canvas),On={})}var rs={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},Uo=6;function cl(e,{x:t,y:n,w:a,h:d,r:m}){t=t-a/2,n=n-d/2,a<2*m&&(m=a/2),d<2*m&&(m=d/2),e.beginPath(),e.moveTo(t+m,n),e.arcTo(t+a,n,t+a,n+d,m),e.arcTo(t+a,n+d,t,n+d,m),e.arcTo(t,n+d,t,n,m),e.arcTo(t,n,t+a,n,m),e.closePath()}function Sp(e,{padding:t,border:n,width:a,height:d,top:m,left:I}){let z=a-n.left-n.right-t.left-t.right,q=d-t.top-t.bottom-n.top-n.bottom,ie=I+n.left+t.left,he=m+n.top+t.top;return e==="top"?ie+=z/2:e==="right"?(ie+=z,he+=q/2):e==="bottom"?(ie+=z/2,he+=q):e==="left"?he+=q/2:e==="center"&&(ie+=z/2,he+=q/2),{x:ie,y:he}}function Dp(e,t,{margin:n,border:a,padding:d},m,I){let z=Ge=>0,q=0,ie=0,he=I?1:.5,ve=I?m*2:0;return e==="padding"?z=Ge=>d[Ge]*he+ve:e==="border"?z=Ge=>d[Ge]+a[Ge]*he+ve:e==="margin"&&(z=Ge=>d[Ge]+a[Ge]+n[Ge]*he+ve),t==="top"?ie=-z("top"):t==="right"?q=z("right"):t==="bottom"?ie=z("bottom"):t==="left"&&(q=-z("left")),{offsetX:q,offsetY:ie}}function xp(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}function Cp(e,t,n){return e==="top"?t.y=n.y-n.h-Uo:e==="right"?t.x=n.x+n.w/2+Uo+t.w/2:e==="bottom"?t.y=n.y+n.h+Uo:e==="left"&&(t.x=n.x-n.w/2-Uo-t.w/2),{x:t.x,y:t.y}}function dl(e,t,{x:n,y:a,w:d,h:m},I){return cl(e,{x:n,y:a,w:d,h:m,r:3}),e.fillStyle=`${rs[t]}dd`,e.fill(),e.strokeStyle=rs[t],e.stroke(),e.fillStyle=rs.text,e.fillText(I,n,a),cl(e,{x:n,y:a,w:d,h:m,r:3}),e.fillStyle=`${rs[t]}dd`,e.fill(),e.strokeStyle=rs[t],e.stroke(),e.fillStyle=rs.text,e.fillText(I,n,a),{x:n,y:a,w:d,h:m}}function pl(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let n=e.measureText(t),a=n.actualBoundingBoxAscent+n.actualBoundingBoxDescent,d=n.width+Uo*2,m=a+Uo*2;return{w:d,h:m}}function Tp(e,t,{type:n,position:a="center",text:d},m,I=!1){let{x:z,y:q}=Sp(a,t),{offsetX:ie,offsetY:he}=Dp(n,a,t,Uo+1,I);z+=ie,q+=he;let{w:ve,h:Ge}=pl(e,d);if(m&&xp({x:z,y:q,w:ve,h:Ge},m)){let Ve=Cp(a,{x:z,y:q,w:ve,h:Ge},m);z=Ve.x,q=Ve.y}return dl(e,n,{x:z,y:q,w:ve,h:Ge},d)}function Rp(e,{w:t,h:n}){let a=t*.5+Uo,d=n*.5+Uo;return{offsetX:(e.x==="left"?-1:1)*a,offsetY:(e.y==="top"?-1:1)*d}}function Op(e,t,{type:n,text:a}){let{floatingAlignment:d,extremities:m}=t,I=m[d.x],z=m[d.y],{w:q,h:ie}=pl(e,a),{offsetX:he,offsetY:ve}=Rp(d,{w:q,h:ie});return I+=he,z+=ve,dl(e,n,{x:I,y:z,w:q,h:ie},a)}function Ds(e,t,n,a){let d=[];n.forEach((m,I)=>{let z=a&&m.position==="center"?Op(e,t,m):Tp(e,t,m,d[I-1],a);d[I]=z})}function Fp(e,t,n,a){let d=n.reduce((m,I)=>(Object.prototype.hasOwnProperty.call(m,I.position)||(m[I.position]=[]),m[I.position]?.push(I),m),{});d.top&&Ds(e,t,d.top,a),d.right&&Ds(e,t,d.right,a),d.bottom&&Ds(e,t,d.bottom,a),d.left&&Ds(e,t,d.left,a),d.center&&Ds(e,t,d.center,a)}var Us={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},fl=30;function oo(e){return parseInt(e.replace("px",""),10)}function ns(e){return Number.isInteger(e)?e:e.toFixed(2)}function ya(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function jp(e){let t={top:pe.global.window.scrollY,bottom:pe.global.window.scrollY+pe.global.window.innerHeight,left:pe.global.window.scrollX,right:pe.global.window.scrollX+pe.global.window.innerWidth},n={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:n.left>n.right?"left":"right",y:n.top>n.bottom?"top":"bottom"}}function Pp(e){let t=pe.global.getComputedStyle(e),{top:n,left:a,right:d,bottom:m,width:I,height:z}=e.getBoundingClientRect(),{marginTop:q,marginBottom:ie,marginLeft:he,marginRight:ve,paddingTop:Ge,paddingBottom:Ve,paddingLeft:ct,paddingRight:We,borderBottomWidth:lt,borderTopWidth:Ot,borderLeftWidth:gt,borderRightWidth:Kt}=t;n=n+pe.global.window.scrollY,a=a+pe.global.window.scrollX,m=m+pe.global.window.scrollY,d=d+pe.global.window.scrollX;let Mt={top:oo(q),bottom:oo(ie),left:oo(he),right:oo(ve)},or={top:oo(Ge),bottom:oo(Ve),left:oo(ct),right:oo(We)},qt={top:oo(Ot),bottom:oo(lt),left:oo(gt),right:oo(Kt)},xt={top:n-Mt.top,bottom:m+Mt.bottom,left:a-Mt.left,right:d+Mt.right};return{margin:Mt,padding:or,border:qt,top:n,left:a,bottom:m,right:d,width:I,height:z,extremities:xt,floatingAlignment:jp(xt)}}function Bp(e,{margin:t,width:n,height:a,top:d,left:m,bottom:I,right:z}){let q=a+t.bottom+t.top;e.fillStyle=Us.margin,e.fillRect(m,d-t.top,n,t.top),e.fillRect(z,d-t.top,t.right,q),e.fillRect(m,I,n,t.bottom),e.fillRect(m-t.left,d-t.top,t.left,q);let ie=[{type:"margin",text:ns(t.top),position:"top"},{type:"margin",text:ns(t.right),position:"right"},{type:"margin",text:ns(t.bottom),position:"bottom"},{type:"margin",text:ns(t.left),position:"left"}];return ya(ie)}function Ip(e,{padding:t,border:n,width:a,height:d,top:m,left:I,bottom:z,right:q}){let ie=a-n.left-n.right,he=d-t.top-t.bottom-n.top-n.bottom;e.fillStyle=Us.padding,e.fillRect(I+n.left,m+n.top,ie,t.top),e.fillRect(q-t.right-n.right,m+t.top+n.top,t.right,he),e.fillRect(I+n.left,z-t.bottom-n.bottom,ie,t.bottom),e.fillRect(I+n.left,m+t.top+n.top,t.left,he);let ve=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return ya(ve)}function Np(e,{border:t,width:n,height:a,top:d,left:m,bottom:I,right:z}){let q=a-t.top-t.bottom;e.fillStyle=Us.border,e.fillRect(m,d,n,t.top),e.fillRect(m,I-t.bottom,n,t.bottom),e.fillRect(m,d+t.top,t.left,q),e.fillRect(z-t.right,d+t.top,t.right,q);let ie=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return ya(ie)}function kp(e,{padding:t,border:n,width:a,height:d,top:m,left:I}){let z=a-n.left-n.right-t.left-t.right,q=d-t.top-t.bottom-n.top-n.bottom;return e.fillStyle=Us.content,e.fillRect(I+n.left+t.left,m+n.top+t.top,z,q),[{type:"content",position:"center",text:`${ns(z)} x ${ns(q)}`}]}function Lp(e){return t=>{if(e&&t){let n=Pp(e),a=Bp(t,n),d=Ip(t,n),m=Np(t,n),I=kp(t,n),z=n.width<=fl*3||n.height<=fl;Fp(t,n,[...I,...d,...m,...a],z)}}}function Mp(e){Ap(Lp(e))}var Up=(e,t)=>{let n=pe.global.document.elementFromPoint(e,t),a=d=>{if(d&&d.shadowRoot){let m=d.shadowRoot.elementFromPoint(e,t);return d.isEqualNode(m)?d:m.shadowRoot?a(m):m}return d};return a(n)||n},hl,$s={x:0,y:0};function ml(e,t){hl=Up(e,t),Mp(hl)}var $p=(e,t)=>{let{measureEnabled:n}=t.globals||{};return(0,Sn.useEffect)(()=>{if(typeof globalThis.document>"u")return;let a=d=>{window.requestAnimationFrame(()=>{d.stopPropagation(),$s.x=d.clientX,$s.y=d.clientY})};return globalThis.document.addEventListener("pointermove",a),()=>{globalThis.document.removeEventListener("pointermove",a)}},[]),(0,Sn.useEffect)(()=>{let a=m=>{window.requestAnimationFrame(()=>{m.stopPropagation(),ml(m.clientX,m.clientY)})},d=()=>{window.requestAnimationFrame(()=>{vp()})};return t.viewMode==="story"&&n&&(globalThis.document.addEventListener("pointerover",a),Ep(),globalThis.window.addEventListener("resize",d),ml($s.x,$s.y)),()=>{globalThis.window.removeEventListener("resize",d),wp()}},[n,t.viewMode]),e()},Hp=globalThis.FEATURES?.measure?[$p]:[],Vp={[f]:!1},_l=()=>({decorators:Hp,initialGlobals:Vp}),yl=e=>{(Array.isArray(e)?e:[e]).forEach(zp)},zp=e=>{let t=typeof e=="string"?e:e.join(""),n=pe.global.document.getElementById(t);n&&n.parentElement&&n.parentElement.removeChild(n)},Gp=(e,t)=>{let n=pe.global.document.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let a=pe.global.document.createElement("style");a.setAttribute("id",e),a.innerHTML=t,pe.global.document.head.appendChild(a)}};function Wp(e){return fe`
|
|
405
|
+
${e} body {
|
|
406
|
+
outline: 1px solid #2980b9 !important;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
${e} article {
|
|
410
|
+
outline: 1px solid #3498db !important;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
${e} nav {
|
|
414
|
+
outline: 1px solid #0088c3 !important;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
${e} aside {
|
|
418
|
+
outline: 1px solid #33a0ce !important;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
${e} section {
|
|
422
|
+
outline: 1px solid #66b8da !important;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
${e} header {
|
|
426
|
+
outline: 1px solid #99cfe7 !important;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
${e} footer {
|
|
430
|
+
outline: 1px solid #cce7f3 !important;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
${e} h1 {
|
|
434
|
+
outline: 1px solid #162544 !important;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
${e} h2 {
|
|
438
|
+
outline: 1px solid #314e6e !important;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
${e} h3 {
|
|
442
|
+
outline: 1px solid #3e5e85 !important;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
${e} h4 {
|
|
446
|
+
outline: 1px solid #449baf !important;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
${e} h5 {
|
|
450
|
+
outline: 1px solid #c7d1cb !important;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
${e} h6 {
|
|
454
|
+
outline: 1px solid #4371d0 !important;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
${e} main {
|
|
458
|
+
outline: 1px solid #2f4f90 !important;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
${e} address {
|
|
462
|
+
outline: 1px solid #1a2c51 !important;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
${e} div {
|
|
466
|
+
outline: 1px solid #036cdb !important;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
${e} p {
|
|
470
|
+
outline: 1px solid #ac050b !important;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
${e} hr {
|
|
474
|
+
outline: 1px solid #ff063f !important;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
${e} pre {
|
|
478
|
+
outline: 1px solid #850440 !important;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
${e} blockquote {
|
|
482
|
+
outline: 1px solid #f1b8e7 !important;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
${e} ol {
|
|
486
|
+
outline: 1px solid #ff050c !important;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
${e} ul {
|
|
490
|
+
outline: 1px solid #d90416 !important;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
${e} li {
|
|
494
|
+
outline: 1px solid #d90416 !important;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
${e} dl {
|
|
498
|
+
outline: 1px solid #fd3427 !important;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
${e} dt {
|
|
502
|
+
outline: 1px solid #ff0043 !important;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
${e} dd {
|
|
506
|
+
outline: 1px solid #e80174 !important;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
${e} figure {
|
|
510
|
+
outline: 1px solid #ff00bb !important;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
${e} figcaption {
|
|
514
|
+
outline: 1px solid #bf0032 !important;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
${e} table {
|
|
518
|
+
outline: 1px solid #00cc99 !important;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
${e} caption {
|
|
522
|
+
outline: 1px solid #37ffc4 !important;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
${e} thead {
|
|
526
|
+
outline: 1px solid #98daca !important;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
${e} tbody {
|
|
530
|
+
outline: 1px solid #64a7a0 !important;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
${e} tfoot {
|
|
534
|
+
outline: 1px solid #22746b !important;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
${e} tr {
|
|
538
|
+
outline: 1px solid #86c0b2 !important;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
${e} th {
|
|
542
|
+
outline: 1px solid #a1e7d6 !important;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
${e} td {
|
|
546
|
+
outline: 1px solid #3f5a54 !important;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
${e} col {
|
|
550
|
+
outline: 1px solid #6c9a8f !important;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
${e} colgroup {
|
|
554
|
+
outline: 1px solid #6c9a9d !important;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
${e} button {
|
|
558
|
+
outline: 1px solid #da8301 !important;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
${e} datalist {
|
|
562
|
+
outline: 1px solid #c06000 !important;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
${e} fieldset {
|
|
566
|
+
outline: 1px solid #d95100 !important;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
${e} form {
|
|
570
|
+
outline: 1px solid #d23600 !important;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
${e} input {
|
|
574
|
+
outline: 1px solid #fca600 !important;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
${e} keygen {
|
|
578
|
+
outline: 1px solid #b31e00 !important;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
${e} label {
|
|
582
|
+
outline: 1px solid #ee8900 !important;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
${e} legend {
|
|
586
|
+
outline: 1px solid #de6d00 !important;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
${e} meter {
|
|
590
|
+
outline: 1px solid #e8630c !important;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
${e} optgroup {
|
|
594
|
+
outline: 1px solid #b33600 !important;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
${e} option {
|
|
598
|
+
outline: 1px solid #ff8a00 !important;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
${e} output {
|
|
602
|
+
outline: 1px solid #ff9619 !important;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
${e} progress {
|
|
606
|
+
outline: 1px solid #e57c00 !important;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
${e} select {
|
|
610
|
+
outline: 1px solid #e26e0f !important;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
${e} textarea {
|
|
614
|
+
outline: 1px solid #cc5400 !important;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
${e} details {
|
|
618
|
+
outline: 1px solid #33848f !important;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
${e} summary {
|
|
622
|
+
outline: 1px solid #60a1a6 !important;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
${e} command {
|
|
626
|
+
outline: 1px solid #438da1 !important;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
${e} menu {
|
|
630
|
+
outline: 1px solid #449da6 !important;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
${e} del {
|
|
634
|
+
outline: 1px solid #bf0000 !important;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
${e} ins {
|
|
638
|
+
outline: 1px solid #400000 !important;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
${e} img {
|
|
642
|
+
outline: 1px solid #22746b !important;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
${e} iframe {
|
|
646
|
+
outline: 1px solid #64a7a0 !important;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
${e} embed {
|
|
650
|
+
outline: 1px solid #98daca !important;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
${e} object {
|
|
654
|
+
outline: 1px solid #00cc99 !important;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
${e} param {
|
|
658
|
+
outline: 1px solid #37ffc4 !important;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
${e} video {
|
|
662
|
+
outline: 1px solid #6ee866 !important;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
${e} audio {
|
|
666
|
+
outline: 1px solid #027353 !important;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
${e} source {
|
|
670
|
+
outline: 1px solid #012426 !important;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
${e} canvas {
|
|
674
|
+
outline: 1px solid #a2f570 !important;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
${e} track {
|
|
678
|
+
outline: 1px solid #59a600 !important;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
${e} map {
|
|
682
|
+
outline: 1px solid #7be500 !important;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
${e} area {
|
|
686
|
+
outline: 1px solid #305900 !important;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
${e} a {
|
|
690
|
+
outline: 1px solid #ff62ab !important;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
${e} em {
|
|
694
|
+
outline: 1px solid #800b41 !important;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
${e} strong {
|
|
698
|
+
outline: 1px solid #ff1583 !important;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
${e} i {
|
|
702
|
+
outline: 1px solid #803156 !important;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
${e} b {
|
|
706
|
+
outline: 1px solid #cc1169 !important;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
${e} u {
|
|
710
|
+
outline: 1px solid #ff0430 !important;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
${e} s {
|
|
714
|
+
outline: 1px solid #f805e3 !important;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
${e} small {
|
|
718
|
+
outline: 1px solid #d107b2 !important;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
${e} abbr {
|
|
722
|
+
outline: 1px solid #4a0263 !important;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
${e} q {
|
|
726
|
+
outline: 1px solid #240018 !important;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
${e} cite {
|
|
730
|
+
outline: 1px solid #64003c !important;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
${e} dfn {
|
|
734
|
+
outline: 1px solid #b4005a !important;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
${e} sub {
|
|
738
|
+
outline: 1px solid #dba0c8 !important;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
${e} sup {
|
|
742
|
+
outline: 1px solid #cc0256 !important;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
${e} time {
|
|
746
|
+
outline: 1px solid #d6606d !important;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
${e} code {
|
|
750
|
+
outline: 1px solid #e04251 !important;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
${e} kbd {
|
|
754
|
+
outline: 1px solid #5e001f !important;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
${e} samp {
|
|
758
|
+
outline: 1px solid #9c0033 !important;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
${e} var {
|
|
762
|
+
outline: 1px solid #d90047 !important;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
${e} mark {
|
|
766
|
+
outline: 1px solid #ff0053 !important;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
${e} bdi {
|
|
770
|
+
outline: 1px solid #bf3668 !important;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
${e} bdo {
|
|
774
|
+
outline: 1px solid #6f1400 !important;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
${e} ruby {
|
|
778
|
+
outline: 1px solid #ff7b93 !important;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
${e} rt {
|
|
782
|
+
outline: 1px solid #ff2f54 !important;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
${e} rp {
|
|
786
|
+
outline: 1px solid #803e49 !important;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
${e} span {
|
|
790
|
+
outline: 1px solid #cc2643 !important;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
${e} br {
|
|
794
|
+
outline: 1px solid #db687d !important;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
${e} wbr {
|
|
798
|
+
outline: 1px solid #db175b !important;
|
|
799
|
+
}`}var Jp=(e,t)=>{let n=t.globals||{},a=[!0,"true"].includes(n[B]),d=t.viewMode==="docs",m=(0,Sn.useMemo)(()=>Wp(d?'[data-story-block="true"]':".sb-show-main"),[t]);return(0,Sn.useEffect)(()=>{let I=d?`addon-outline-docs-${t.id}`:"addon-outline";return a?Gp(I,m):yl(I),()=>{yl(I)}},[a,m,t]),e()},qp=globalThis.FEATURES?.outline?[Jp]:[],Yp={[B]:!1},gl=()=>({decorators:qp,initialGlobals:Yp}),Xp=({parameters:e})=>{e?.test?.mockReset===!0?(0,Wn.resetAllMocks)():e?.test?.clearMocks===!0?(0,Wn.clearAllMocks)():e?.test?.restoreMocks!==!1&&(0,Wn.restoreAllMocks)()},ga=(e,t=0,n)=>{if(t>5||e==null)return e;if((0,Wn.isMockFunction)(e))return n&&e.mockName(n),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let a=(0,Wn.fn)(e);return n&&a.mockName(n),a}if(Array.isArray(e)){t++;for(let a=0;a<e.length;a++)Object.getOwnPropertyDescriptor(e,a)?.writable&&(e[a]=ga(e[a],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[a,d]of Object.entries(e))Object.getOwnPropertyDescriptor(e,a)?.writable&&(e[a]=ga(d,t,a));return e}return e},Kp=({initialArgs:e})=>{ga(e)},bl=!1,Zp=async e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=(0,Wn.within)(e.canvasElement));try{let t=globalThis.window?.navigator?.clipboard;if(t&&(e.userEvent=Uu({userEvent:Wn.uninstrumentedUserEvent.setup()},{intercept:!0,getKeys:n=>Object.keys(n).filter(a=>a!=="eventWrapper")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:()=>t,configurable:!0}),!bl)){let n=HTMLElement.prototype.focus,a=HTMLElement.prototype.focus,d=new Set;Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:m=>{a=m},get(){return d.has(this)?n:(d.add(this),setTimeout(()=>d.delete(this),0),a)}}}),bl=!0}}catch{}},El=()=>({loaders:[Xp,Kp,Zp]}),Qp={[Gi]:{value:void 0,isRotated:!1}},Al=()=>({initialGlobals:Qp});function Hs(){return[(_l.default??_l)(),(Zu.default??Zu)(),(al.default??al)(),(gl.default??gl)(),(Al.default??Al)(),(qu.default??qu)(),(Qu.default??Qu)(),(El.default??El)(),(el.default??el)()]}function ef(e){let t,n={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:a,...d}=e;return t=io(kn([...Hs(),...a??[],d])),t},type(){return this},meta(a){return nf(a,this)}};return globalThis.globalProjectAnnotations=n.composed,n}function tf(e){return e}function rf(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Preview"}function vl(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}function nf(e,t){return{_tag:"Meta",input:{...e,parameters:{...e.parameters,csfFactory:!0}},preview:t,story(n={}){return wl(typeof n=="function"?{render:n}:n,this)}}}function xs(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}function wl(e,t){let n,a=()=>(n||(n=eo(e,t.input,void 0,t.preview.composed)),n),d=[];return{_tag:"Story",input:e,meta:t,__compose:a,__children:d,get composed(){let m=a(),{args:I,argTypes:z,parameters:q,id:ie,tags:he,globals:ve,storyName:Ge}=m;return{args:I,argTypes:z,parameters:q,id:ie,tags:he,name:Ge,globals:ve}},get play(){return e.play??t.input?.play??(async()=>{})},async run(m){await a().run(m)},test(m,I,z){let q=typeof I!="function"?I:{},ie=typeof I!="function"?z:I,he=ui(this.play)||ui(ie)?(async({mount:Ge,context:Ve})=>{await this.play?.(Ve),await ie(Ve)}):async Ge=>{await this.play?.(Ge),await ie(Ge)},ve=this.extend({...q,name:m,tags:[S.TEST_FN,`!${S.AUTODOCS}`,...q.tags??[]],play:he});return d.push(ve),ve},extend(m){return wl({...this.input,...m,args:{...this.input.args||{},...m.args},argTypes:(0,Re.combineParameters)(this.input.argTypes,m.argTypes),afterEach:[...Br(this.input?.afterEach??[]),...Br(m.afterEach??[])],beforeEach:[...Br(this.input?.beforeEach??[]),...Br(m.beforeEach??[])],decorators:[...Br(this.input?.decorators??[]),...Br(m.decorators??[])],globals:{...this.input.globals,...m.globals},loaders:[...Br(this.input?.loaders??[]),...Br(m.loaders??[])],parameters:(0,Re.combineParameters)(this.input.parameters,m.parameters),tags:Aa(...this.input.tags??[],...m.tags??[])},this.meta)}}}function Sl(e){return"__children"in e?e.__children:[]}var ba=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Ea=(e,t)=>{let n=ba(e);if(n==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return n},Dl=(e,t)=>`${Ea(e,"kind")}${t?`--${Ea(t,"name")}`:""}`,xl=(e,t)=>`${e}:${Ea(t,"test")}`,Cl=e=>zd(e);function Tl(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Vs(e,{includeStories:t,excludeStories:n}){return e!=="__esModule"&&(!t||Tl(e,t))&&(!n||!Tl(e,n))}var of=(e,{rootSeparator:t,groupSeparator:n})=>{let[a,d]=e.split(t,2),m=(d||e).split(n).filter(I=>!!I);return{root:d?a:null,groups:m}},Aa=(...e)=>{let t=e.reduce((n,a)=>(a.startsWith("!")?n.delete(a.slice(1)):n.add(a),n),new Set);return Array.from(t)}}),"../../node_modules/.pnpm/stream-browserify@3.0.0/node_modules/stream-browserify/index.js":((ee,i,u)=>{ee.exports=v;var p=u("../../node_modules/.pnpm/events@3.3.0/node_modules/events/events.js").EventEmitter,w=u("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js");w(v,p),v.Readable=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_readable.js"),v.Writable=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_writable.js"),v.Duplex=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js"),v.Transform=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_transform.js"),v.PassThrough=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_passthrough.js"),v.finished=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"),v.pipeline=u("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/pipeline.js"),v.Stream=v;function v(){p.call(this)}v.prototype.pipe=function(h,E){var f=this;function g(G){h.writable&&h.write(G)===!1&&f.pause&&f.pause()}f.on("data",g);function l(){f.readable&&f.resume&&f.resume()}h.on("drain",l),!h._isStdio&&(!E||E.end!==!1)&&(f.on("end",M),f.on("close",k));var B=!1;function M(){B||(B=!0,h.end())}function k(){B||(B=!0,typeof h.destroy=="function"&&h.destroy())}function W(G){if(L(),p.listenerCount(this,"error")===0)throw G}f.on("error",W),h.on("error",W);function L(){f.removeListener("data",g),h.removeListener("drain",l),f.removeListener("end",M),f.removeListener("close",k),f.removeListener("error",W),h.removeListener("error",W),f.removeListener("end",L),f.removeListener("close",L),h.removeListener("close",L)}return f.on("end",L),f.on("close",L),h.on("close",L),h.emit("pipe",f),h}}),"../../node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/lib/string_decoder.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js").Buffer,w=p.isEncoding||function(N){switch(N=""+N,N&&N.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function v(N){if(!N)return"utf8";for(var $;;)switch(N){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return N;default:if($)return;N=(""+N).toLowerCase(),$=!0}}function h(N){var $=v(N);if(typeof $!="string"&&(p.isEncoding===w||!w(N)))throw new Error("Unknown encoding: "+N);return $||N}i.StringDecoder=E;function E(N){this.encoding=h(N);var $;switch(this.encoding){case"utf16le":this.text=W,this.end=L,$=4;break;case"utf8":this.fillLast=B,$=4;break;case"base64":this.text=G,this.end=U,$=3;break;default:this.write=S,this.end=Y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=p.allocUnsafe($)}E.prototype.write=function(N){if(N.length===0)return"";var $,ae;if(this.lastNeed){if($=this.fillLast(N),$===void 0)return"";ae=this.lastNeed,this.lastNeed=0}else ae=0;return ae<N.length?$?$+this.text(N,ae):this.text(N,ae):$||""},E.prototype.end=k,E.prototype.text=M,E.prototype.fillLast=function(N){if(this.lastNeed<=N.length)return N.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);N.copy(this.lastChar,this.lastTotal-this.lastNeed,0,N.length),this.lastNeed-=N.length};function f(N){return N<=127?0:N>>5===6?2:N>>4===14?3:N>>3===30?4:N>>6===2?-1:-2}function g(N,$,ae){var ne=$.length-1;if(ne<ae)return 0;var P=f($[ne]);return P>=0?(P>0&&(N.lastNeed=P-1),P):--ne<ae||P===-2?0:(P=f($[ne]),P>=0?(P>0&&(N.lastNeed=P-2),P):--ne<ae||P===-2?0:(P=f($[ne]),P>=0?(P>0&&(P===2?P=0:N.lastNeed=P-3),P):0))}function l(N,$,ae){if(($[0]&192)!==128)return N.lastNeed=0,"\uFFFD";if(N.lastNeed>1&&$.length>1){if(($[1]&192)!==128)return N.lastNeed=1,"\uFFFD";if(N.lastNeed>2&&$.length>2&&($[2]&192)!==128)return N.lastNeed=2,"\uFFFD"}}function B(N){var $=this.lastTotal-this.lastNeed,ae=l(this,N,$);if(ae!==void 0)return ae;if(this.lastNeed<=N.length)return N.copy(this.lastChar,$,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);N.copy(this.lastChar,$,0,N.length),this.lastNeed-=N.length}function M(N,$){var ae=g(this,N,$);if(!this.lastNeed)return N.toString("utf8",$);this.lastTotal=ae;var ne=N.length-(ae-this.lastNeed);return N.copy(this.lastChar,0,ne),N.toString("utf8",$,ne)}function k(N){var $=N&&N.length?this.write(N):"";return this.lastNeed?$+"\uFFFD":$}function W(N,$){if((N.length-$)%2===0){var ae=N.toString("utf16le",$);if(ae){var ne=ae.charCodeAt(ae.length-1);if(ne>=55296&&ne<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=N[N.length-2],this.lastChar[1]=N[N.length-1],ae.slice(0,-1)}return ae}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=N[N.length-1],N.toString("utf16le",$,N.length-1)}function L(N){var $=N&&N.length?this.write(N):"";if(this.lastNeed){var ae=this.lastTotal-this.lastNeed;return $+this.lastChar.toString("utf16le",0,ae)}return $}function G(N,$){var ae=(N.length-$)%3;return ae===0?N.toString("base64",$):(this.lastNeed=3-ae,this.lastTotal=3,ae===1?this.lastChar[0]=N[N.length-1]:(this.lastChar[0]=N[N.length-2],this.lastChar[1]=N[N.length-1]),N.toString("base64",$,N.length-ae))}function U(N){var $=N&&N.length?this.write(N):"";return this.lastNeed?$+this.lastChar.toString("base64",0,3-this.lastNeed):$}function S(N){return N.toString(this.encoding)}function Y(N){return N&&N.length?this.write(N):""}}),"../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1_esbuild@0.27.7_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":(ee=>{"use strict";var i=[];function u(v){for(var h=-1,E=0;E<i.length;E++)if(i[E].identifier===v){h=E;break}return h}function p(v,h){for(var E={},f=[],g=0;g<v.length;g++){var l=v[g],B=h.base?l[0]+h.base:l[0],M=E[B]||0,k="".concat(B," ").concat(M);E[B]=M+1;var W=u(k),L={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(W!==-1)i[W].references++,i[W].updater(L);else{var G=w(L,h);h.byIndex=g,i.splice(g,0,{identifier:k,updater:G,references:1})}f.push(k)}return f}function w(v,h){var E=h.domAPI(h);E.update(v);var f=function(l){if(l){if(l.css===v.css&&l.media===v.media&&l.sourceMap===v.sourceMap&&l.supports===v.supports&&l.layer===v.layer)return;E.update(v=l)}else E.remove()};return f}ee.exports=function(v,h){h=h||{},v=v||[];var E=p(v,h);return function(g){g=g||[];for(var l=0;l<E.length;l++){var B=E[l],M=u(B);i[M].references--}for(var k=p(g,h),W=0;W<E.length;W++){var L=E[W],G=u(L);i[G].references===0&&(i[G].updater(),i.splice(G,1))}E=k}}}),"../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1_esbuild@0.27.7_/node_modules/style-loader/dist/runtime/insertBySelector.js":(ee=>{"use strict";var i={};function u(w){if(typeof i[w]>"u"){var v=document.querySelector(w);if(window.HTMLIFrameElement&&v instanceof window.HTMLIFrameElement)try{v=v.contentDocument.head}catch{v=null}i[w]=v}return i[w]}function p(w,v){var h=u(w);if(!h)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");h.appendChild(v)}ee.exports=p}),"../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1_esbuild@0.27.7_/node_modules/style-loader/dist/runtime/insertStyleElement.js":(ee=>{"use strict";function i(u){var p=document.createElement("style");return u.setAttributes(p,u.attributes),u.insert(p,u.options),p}ee.exports=i}),"../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1_esbuild@0.27.7_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js":((ee,i,u)=>{"use strict";function p(w){var v=u.nc;v&&w.setAttribute("nonce",v)}ee.exports=p}),"../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1_esbuild@0.27.7_/node_modules/style-loader/dist/runtime/styleDomAPI.js":(ee=>{"use strict";function i(w,v,h){var E="";h.supports&&(E+="@supports (".concat(h.supports,") {")),h.media&&(E+="@media ".concat(h.media," {"));var f=typeof h.layer<"u";f&&(E+="@layer".concat(h.layer.length>0?" ".concat(h.layer):""," {")),E+=h.css,f&&(E+="}"),h.media&&(E+="}"),h.supports&&(E+="}");var g=h.sourceMap;g&&typeof btoa<"u"&&(E+=`
|
|
800
|
+
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(g))))," */")),v.styleTagTransform(E,w,v.options)}function u(w){if(w.parentNode===null)return!1;w.parentNode.removeChild(w)}function p(w){if(typeof document>"u")return{update:function(){},remove:function(){}};var v=w.insertStyleElement(w);return{update:function(E){i(v,w,E)},remove:function(){u(v)}}}ee.exports=p}),"../../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1_esbuild@0.27.7_/node_modules/style-loader/dist/runtime/styleTagTransform.js":(ee=>{"use strict";function i(u,p){if(p.styleSheet)p.styleSheet.cssText=u;else{for(;p.firstChild;)p.removeChild(p.firstChild);p.appendChild(document.createTextNode(u))}}ee.exports=i}),"../../node_modules/.pnpm/styled-jsx@5.1.6_@babel+core@7.29.0_react@19.2.5/node_modules/styled-jsx/dist/index/index.js":((ee,i,u)=>{var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),w=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");u("../../node_modules/.pnpm/client-only@0.0.1/node_modules/client-only/index.js");var v=u("../../node_modules/.pnpm/next@15.5.15_@babel+core@7.29.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/compiled/react/index.js");function h(Ae){return Ae&&typeof Ae=="object"&&"default"in Ae?Ae:{default:Ae}}var E=h(v);function f(Ae,te){for(var Se=0;Se<te.length;Se++){var Te=te[Se];Te.enumerable=Te.enumerable||!1,Te.configurable=!0,"value"in Te&&(Te.writable=!0),Object.defineProperty(Ae,Te.key,Te)}}function g(Ae,te,Se){return te&&f(Ae.prototype,te),Se&&f(Ae,Se),Ae}var l=typeof p<"u"&&{NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}&&!0,B=function(Ae){return Object.prototype.toString.call(Ae)==="[object String]"},M=(function(){function Ae(Se){var Te=Se===void 0?{}:Se,Ue=Te.name,ft=Ue===void 0?"stylesheet":Ue,ut=Te.optimizeForSpeed,Ft=ut===void 0?l:ut;k(B(ft),"`name` must be a string"),this._name=ft,this._deletedRulePlaceholder="#"+ft+"-deleted-rule____{}",k(typeof Ft=="boolean","`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=Ft,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var kt=typeof window<"u"&&document.querySelector('meta[property="csp-nonce"]');this._nonce=kt?kt.getAttribute("content"):null}var te=Ae.prototype;return te.setOptimizeForSpeed=function(Te){k(typeof Te=="boolean","`setOptimizeForSpeed` accepts a boolean"),k(this._rulesCount===0,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=Te,this.inject()},te.isOptimizeForSpeed=function(){return this._optimizeForSpeed},te.inject=function(){var Te=this;if(k(!this._injected,"sheet already injected"),this._injected=!0,typeof window<"u"&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(l||w.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(Ue,ft){return typeof ft=="number"?Te._serverSheet.cssRules[ft]={cssText:Ue}:Te._serverSheet.cssRules.push({cssText:Ue}),ft},deleteRule:function(Ue){Te._serverSheet.cssRules[Ue]=null}}},te.getSheetForTag=function(Te){if(Te.sheet)return Te.sheet;for(var Ue=0;Ue<document.styleSheets.length;Ue++)if(document.styleSheets[Ue].ownerNode===Te)return document.styleSheets[Ue]},te.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},te.insertRule=function(Te,Ue){if(k(B(Te),"`insertRule` accepts only strings"),typeof window>"u")return typeof Ue!="number"&&(Ue=this._serverSheet.cssRules.length),this._serverSheet.insertRule(Te,Ue),this._rulesCount++;if(this._optimizeForSpeed){var ft=this.getSheet();typeof Ue!="number"&&(Ue=ft.cssRules.length);try{ft.insertRule(Te,Ue)}catch{return l||w.warn(`StyleSheet: illegal rule:
|
|
801
|
+
|
|
802
|
+
`+Te+`
|
|
803
|
+
|
|
804
|
+
See https://stackoverflow.com/q/20007992 for more info`),-1}}else{var ut=this._tags[Ue];this._tags.push(this.makeStyleTag(this._name,Te,ut))}return this._rulesCount++},te.replaceRule=function(Te,Ue){if(this._optimizeForSpeed||typeof window>"u"){var ft=typeof window<"u"?this.getSheet():this._serverSheet;if(Ue.trim()||(Ue=this._deletedRulePlaceholder),!ft.cssRules[Te])return Te;ft.deleteRule(Te);try{ft.insertRule(Ue,Te)}catch{l||w.warn(`StyleSheet: illegal rule:
|
|
805
|
+
|
|
806
|
+
`+Ue+`
|
|
807
|
+
|
|
808
|
+
See https://stackoverflow.com/q/20007992 for more info`),ft.insertRule(this._deletedRulePlaceholder,Te)}}else{var ut=this._tags[Te];k(ut,"old rule at index `"+Te+"` not found"),ut.textContent=Ue}return Te},te.deleteRule=function(Te){if(typeof window>"u"){this._serverSheet.deleteRule(Te);return}if(this._optimizeForSpeed)this.replaceRule(Te,"");else{var Ue=this._tags[Te];k(Ue,"rule at index `"+Te+"` not found"),Ue.parentNode.removeChild(Ue),this._tags[Te]=null}},te.flush=function(){this._injected=!1,this._rulesCount=0,typeof window<"u"?(this._tags.forEach(function(Te){return Te&&Te.parentNode.removeChild(Te)}),this._tags=[]):this._serverSheet.cssRules=[]},te.cssRules=function(){var Te=this;return typeof window>"u"?this._serverSheet.cssRules:this._tags.reduce(function(Ue,ft){return ft?Ue=Ue.concat(Array.prototype.map.call(Te.getSheetForTag(ft).cssRules,function(ut){return ut.cssText===Te._deletedRulePlaceholder?null:ut})):Ue.push(null),Ue},[])},te.makeStyleTag=function(Te,Ue,ft){Ue&&k(B(Ue),"makeStyleTag accepts only strings as second parameter");var ut=document.createElement("style");this._nonce&&ut.setAttribute("nonce",this._nonce),ut.type="text/css",ut.setAttribute("data-"+Te,""),Ue&&ut.appendChild(document.createTextNode(Ue));var Ft=document.head||document.getElementsByTagName("head")[0];return ft?Ft.insertBefore(ut,ft):Ft.appendChild(ut),ut},g(Ae,[{key:"length",get:function(){return this._rulesCount}}]),Ae})();function k(Ae,te){if(!Ae)throw new Error("StyleSheet: "+te+".")}function W(Ae){for(var te=5381,Se=Ae.length;Se;)te=te*33^Ae.charCodeAt(--Se);return te>>>0}var L=W,G=function(Ae){return Ae.replace(/\/style/gi,"\\/style")},U={};function S(Ae,te){if(!te)return"jsx-"+Ae;var Se=String(te),Te=Ae+Se;return U[Te]||(U[Te]="jsx-"+L(Ae+"-"+Se)),U[Te]}function Y(Ae,te){var Se=/__jsx-style-dynamic-selector/g;typeof window>"u"&&(te=G(te));var Te=Ae+te;return U[Te]||(U[Te]=te.replace(Se,Ae)),U[Te]}function N(Ae,te){return te===void 0&&(te={}),Ae.map(function(Se){var Te=Se[0],Ue=Se[1];return E.default.createElement("style",{id:"__"+Te,key:"__"+Te,nonce:te.nonce?te.nonce:void 0,dangerouslySetInnerHTML:{__html:Ue}})})}var $=(function(){function Ae(Se){var Te=Se===void 0?{}:Se,Ue=Te.styleSheet,ft=Ue===void 0?null:Ue,ut=Te.optimizeForSpeed,Ft=ut===void 0?!1:ut;this._sheet=ft||new M({name:"styled-jsx",optimizeForSpeed:Ft}),this._sheet.inject(),ft&&typeof Ft=="boolean"&&(this._sheet.setOptimizeForSpeed(Ft),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var te=Ae.prototype;return te.add=function(Te){var Ue=this;this._optimizeForSpeed===void 0&&(this._optimizeForSpeed=Array.isArray(Te.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),typeof window<"u"&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(ht,se){return ht[se]=0,ht},{}));var ft=this.getIdAndRules(Te),ut=ft.styleId,Ft=ft.rules;if(ut in this._instancesCounts){this._instancesCounts[ut]+=1;return}var kt=Ft.map(function(ht){return Ue._sheet.insertRule(ht)}).filter(function(ht){return ht!==-1});this._indices[ut]=kt,this._instancesCounts[ut]=1},te.remove=function(Te){var Ue=this,ft=this.getIdAndRules(Te).styleId;if(ae(ft in this._instancesCounts,"styleId: `"+ft+"` not found"),this._instancesCounts[ft]-=1,this._instancesCounts[ft]<1){var ut=this._fromServer&&this._fromServer[ft];ut?(ut.parentNode.removeChild(ut),delete this._fromServer[ft]):(this._indices[ft].forEach(function(Ft){return Ue._sheet.deleteRule(Ft)}),delete this._indices[ft]),delete this._instancesCounts[ft]}},te.update=function(Te,Ue){this.add(Ue),this.remove(Te)},te.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},te.cssRules=function(){var Te=this,Ue=this._fromServer?Object.keys(this._fromServer).map(function(ut){return[ut,Te._fromServer[ut]]}):[],ft=this._sheet.cssRules();return Ue.concat(Object.keys(this._indices).map(function(ut){return[ut,Te._indices[ut].map(function(Ft){return ft[Ft].cssText}).join(Te._optimizeForSpeed?"":`
|
|
809
|
+
`)]}).filter(function(ut){return!!ut[1]}))},te.styles=function(Te){return N(this.cssRules(),Te)},te.getIdAndRules=function(Te){var Ue=Te.children,ft=Te.dynamic,ut=Te.id;if(ft){var Ft=S(ut,ft);return{styleId:Ft,rules:Array.isArray(Ue)?Ue.map(function(kt){return Y(Ft,kt)}):[Y(Ft,Ue)]}}return{styleId:S(ut),rules:Array.isArray(Ue)?Ue:[Ue]}},te.selectFromServer=function(){var Te=Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]'));return Te.reduce(function(Ue,ft){var ut=ft.id.slice(2);return Ue[ut]=ft,Ue},{})},Ae})();function ae(Ae,te){if(!Ae)throw new Error("StyleSheetRegistry: "+te+".")}var ne=v.createContext(null);ne.displayName="StyleSheetContext";function P(){return new $}function V(Ae){var te=Ae.registry,Se=Ae.children,Te=v.useContext(ne),Ue=v.useState(function(){return Te||te||P()}),ft=Ue[0];return E.default.createElement(ne.Provider,{value:ft},Se)}function X(){return v.useContext(ne)}var me=E.default.useInsertionEffect||E.default.useLayoutEffect,we=typeof window<"u"?P():void 0;function Re(Ae){var te=we||X();return te?typeof window>"u"?(te.add(Ae),null):(me(function(){return te.add(Ae),function(){te.remove(Ae)}},[Ae.id,String(Ae.dynamic)]),null):null}Re.dynamic=function(Ae){return Ae.map(function(te){var Se=te[0],Te=te[1];return S(Se,Te)}).join(" ")},i.StyleRegistry=V,i.createStyleRegistry=P,i.style=Re,i.useStyleRegistry=X}),"../../node_modules/.pnpm/styled-jsx@5.1.6_@babel+core@7.29.0_react@19.2.5/node_modules/styled-jsx/index.js":((ee,i,u)=>{ee.exports=u("../../node_modules/.pnpm/styled-jsx@5.1.6_@babel+core@7.29.0_react@19.2.5/node_modules/styled-jsx/dist/index/index.js")}),"../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js":((ee,i,u)=>{var p=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js");ee.exports=w;function w(h,E){if(v("noDeprecation"))return h;var f=!1;function g(){if(!f){if(v("throwDeprecation"))throw new Error(E);v("traceDeprecation")?p.trace(E):p.warn(E),f=!0}return h.apply(this,arguments)}return g}function v(h){try{if(!u.g.localStorage)return!1}catch{return!1}var E=u.g.localStorage[h];return E==null?!1:String(E).toLowerCase()==="true"}}),"../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBufferBrowser.js":(ee=>{ee.exports=function(u){return u&&typeof u=="object"&&typeof u.copy=="function"&&typeof u.fill=="function"&&typeof u.readUInt8=="function"}}),"../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/is-arguments@1.2.0/node_modules/is-arguments/index.js"),w=u("../../node_modules/.pnpm/is-generator-function@1.1.2/node_modules/is-generator-function/index.js"),v=u("../../node_modules/.pnpm/which-typed-array@1.1.20/node_modules/which-typed-array/index.js"),h=u("../../node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js");function E(s){return s.call.bind(s)}var f=typeof BigInt<"u",g=typeof Symbol<"u",l=E(Object.prototype.toString),B=E(Number.prototype.valueOf),M=E(String.prototype.valueOf),k=E(Boolean.prototype.valueOf);if(f)var W=E(BigInt.prototype.valueOf);if(g)var L=E(Symbol.prototype.valueOf);function G(s,R){if(typeof s!="object")return!1;try{return R(s),!0}catch{return!1}}i.isArgumentsObject=p,i.isGeneratorFunction=w,i.isTypedArray=h;function U(s){return typeof Promise<"u"&&s instanceof Promise||s!==null&&typeof s=="object"&&typeof s.then=="function"&&typeof s.catch=="function"}i.isPromise=U;function S(s){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(s):h(s)||He(s)}i.isArrayBufferView=S;function Y(s){return v(s)==="Uint8Array"}i.isUint8Array=Y;function N(s){return v(s)==="Uint8ClampedArray"}i.isUint8ClampedArray=N;function $(s){return v(s)==="Uint16Array"}i.isUint16Array=$;function ae(s){return v(s)==="Uint32Array"}i.isUint32Array=ae;function ne(s){return v(s)==="Int8Array"}i.isInt8Array=ne;function P(s){return v(s)==="Int16Array"}i.isInt16Array=P;function V(s){return v(s)==="Int32Array"}i.isInt32Array=V;function X(s){return v(s)==="Float32Array"}i.isFloat32Array=X;function me(s){return v(s)==="Float64Array"}i.isFloat64Array=me;function we(s){return v(s)==="BigInt64Array"}i.isBigInt64Array=we;function Re(s){return v(s)==="BigUint64Array"}i.isBigUint64Array=Re;function Ae(s){return l(s)==="[object Map]"}Ae.working=typeof Map<"u"&&Ae(new Map);function te(s){return typeof Map>"u"?!1:Ae.working?Ae(s):s instanceof Map}i.isMap=te;function Se(s){return l(s)==="[object Set]"}Se.working=typeof Set<"u"&&Se(new Set);function Te(s){return typeof Set>"u"?!1:Se.working?Se(s):s instanceof Set}i.isSet=Te;function Ue(s){return l(s)==="[object WeakMap]"}Ue.working=typeof WeakMap<"u"&&Ue(new WeakMap);function ft(s){return typeof WeakMap>"u"?!1:Ue.working?Ue(s):s instanceof WeakMap}i.isWeakMap=ft;function ut(s){return l(s)==="[object WeakSet]"}ut.working=typeof WeakSet<"u"&&ut(new WeakSet);function Ft(s){return ut(s)}i.isWeakSet=Ft;function kt(s){return l(s)==="[object ArrayBuffer]"}kt.working=typeof ArrayBuffer<"u"&&kt(new ArrayBuffer);function ht(s){return typeof ArrayBuffer>"u"?!1:kt.working?kt(s):s instanceof ArrayBuffer}i.isArrayBuffer=ht;function se(s){return l(s)==="[object DataView]"}se.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&se(new DataView(new ArrayBuffer(1),0,1));function He(s){return typeof DataView>"u"?!1:se.working?se(s):s instanceof DataView}i.isDataView=He;var ge=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function je(s){return l(s)==="[object SharedArrayBuffer]"}function nt(s){return typeof ge>"u"?!1:(typeof je.working>"u"&&(je.working=je(new ge)),je.working?je(s):s instanceof ge)}i.isSharedArrayBuffer=nt;function Rt(s){return l(s)==="[object AsyncFunction]"}i.isAsyncFunction=Rt;function Bt(s){return l(s)==="[object Map Iterator]"}i.isMapIterator=Bt;function Me(s){return l(s)==="[object Set Iterator]"}i.isSetIterator=Me;function xe(s){return l(s)==="[object Generator]"}i.isGeneratorObject=xe;function rt(s){return l(s)==="[object WebAssembly.Module]"}i.isWebAssemblyCompiledModule=rt;function _t(s){return G(s,B)}i.isNumberObject=_t;function Pt(s){return G(s,M)}i.isStringObject=Pt;function fe(s){return G(s,k)}i.isBooleanObject=fe;function pe(s){return f&&G(s,W)}i.isBigIntObject=pe;function yt(s){return g&&G(s,L)}i.isSymbolObject=yt;function F(s){return _t(s)||Pt(s)||fe(s)||pe(s)||yt(s)}i.isBoxedPrimitive=F;function c(s){return typeof Uint8Array<"u"&&(ht(s)||nt(s))}i.isAnyArrayBuffer=c,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(s){Object.defineProperty(i,s,{enumerable:!1,value:function(){throw new Error(s+" is not supported in userland")}})})}),"../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js":((ee,i,u)=>{var p=u("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"),w=u("../../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js"),v=Object.getOwnPropertyDescriptors||function(je){for(var nt=Object.keys(je),Rt={},Bt=0;Bt<nt.length;Bt++)Rt[nt[Bt]]=Object.getOwnPropertyDescriptor(je,nt[Bt]);return Rt},h=/%[sdj%]/g;i.format=function(ge){if(!V(ge)){for(var je=[],nt=0;nt<arguments.length;nt++)je.push(l(arguments[nt]));return je.join(" ")}for(var nt=1,Rt=arguments,Bt=Rt.length,Me=String(ge).replace(h,function(rt){if(rt==="%%")return"%";if(nt>=Bt)return rt;switch(rt){case"%s":return String(Rt[nt++]);case"%d":return Number(Rt[nt++]);case"%j":try{return JSON.stringify(Rt[nt++])}catch{return"[Circular]"}default:return rt}}),xe=Rt[nt];nt<Bt;xe=Rt[++nt])ae(xe)||!Re(xe)?Me+=" "+xe:Me+=" "+l(xe);return Me},i.deprecate=function(ge,je){if(typeof p<"u"&&p.noDeprecation===!0)return ge;if(typeof p>"u")return function(){return i.deprecate(ge,je).apply(this,arguments)};var nt=!1;function Rt(){if(!nt){if(p.throwDeprecation)throw new Error(je);p.traceDeprecation?w.trace(je):w.error(je),nt=!0}return ge.apply(this,arguments)}return Rt};var E={},f=/^$/;if({NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.NODE_DEBUG){var g={NODE_ENV:"production",NODE_PATH:["/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/bin/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/dist/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/storybook/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/storybook@10.3.6_@testing-library+dom@10.4.1_prettier@3.8.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules","/Users/senpai/projects/open-admin-js/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}.NODE_DEBUG;g=g.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),f=new RegExp("^"+g+"$","i")}i.debuglog=function(ge){if(ge=ge.toUpperCase(),!E[ge])if(f.test(ge)){var je=p.pid;E[ge]=function(){var nt=i.format.apply(i,arguments);w.error("%s %d: %s",ge,je,nt)}}else E[ge]=function(){};return E[ge]};function l(ge,je){var nt={seen:[],stylize:M};return arguments.length>=3&&(nt.depth=arguments[2]),arguments.length>=4&&(nt.colors=arguments[3]),$(je)?nt.showHidden=je:je&&i._extend(nt,je),me(nt.showHidden)&&(nt.showHidden=!1),me(nt.depth)&&(nt.depth=2),me(nt.colors)&&(nt.colors=!1),me(nt.customInspect)&&(nt.customInspect=!0),nt.colors&&(nt.stylize=B),W(nt,ge,nt.depth)}i.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function B(ge,je){var nt=l.styles[je];return nt?"\x1B["+l.colors[nt][0]+"m"+ge+"\x1B["+l.colors[nt][1]+"m":ge}function M(ge,je){return ge}function k(ge){var je={};return ge.forEach(function(nt,Rt){je[nt]=!0}),je}function W(ge,je,nt){if(ge.customInspect&&je&&Se(je.inspect)&&je.inspect!==i.inspect&&!(je.constructor&&je.constructor.prototype===je)){var Rt=je.inspect(nt,ge);return V(Rt)||(Rt=W(ge,Rt,nt)),Rt}var Bt=L(ge,je);if(Bt)return Bt;var Me=Object.keys(je),xe=k(Me);if(ge.showHidden&&(Me=Object.getOwnPropertyNames(je)),te(je)&&(Me.indexOf("message")>=0||Me.indexOf("description")>=0))return G(je);if(Me.length===0){if(Se(je)){var rt=je.name?": "+je.name:"";return ge.stylize("[Function"+rt+"]","special")}if(we(je))return ge.stylize(RegExp.prototype.toString.call(je),"regexp");if(Ae(je))return ge.stylize(Date.prototype.toString.call(je),"date");if(te(je))return G(je)}var _t="",Pt=!1,fe=["{","}"];if(N(je)&&(Pt=!0,fe=["[","]"]),Se(je)){var pe=je.name?": "+je.name:"";_t=" [Function"+pe+"]"}if(we(je)&&(_t=" "+RegExp.prototype.toString.call(je)),Ae(je)&&(_t=" "+Date.prototype.toUTCString.call(je)),te(je)&&(_t=" "+G(je)),Me.length===0&&(!Pt||je.length==0))return fe[0]+_t+fe[1];if(nt<0)return we(je)?ge.stylize(RegExp.prototype.toString.call(je),"regexp"):ge.stylize("[Object]","special");ge.seen.push(je);var yt;return Pt?yt=U(ge,je,nt,xe,Me):yt=Me.map(function(F){return S(ge,je,nt,xe,F,Pt)}),ge.seen.pop(),Y(yt,_t,fe)}function L(ge,je){if(me(je))return ge.stylize("undefined","undefined");if(V(je)){var nt="'"+JSON.stringify(je).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ge.stylize(nt,"string")}if(P(je))return ge.stylize(""+je,"number");if($(je))return ge.stylize(""+je,"boolean");if(ae(je))return ge.stylize("null","null")}function G(ge){return"["+Error.prototype.toString.call(ge)+"]"}function U(ge,je,nt,Rt,Bt){for(var Me=[],xe=0,rt=je.length;xe<rt;++xe)kt(je,String(xe))?Me.push(S(ge,je,nt,Rt,String(xe),!0)):Me.push("");return Bt.forEach(function(_t){_t.match(/^\d+$/)||Me.push(S(ge,je,nt,Rt,_t,!0))}),Me}function S(ge,je,nt,Rt,Bt,Me){var xe,rt,_t;if(_t=Object.getOwnPropertyDescriptor(je,Bt)||{value:je[Bt]},_t.get?_t.set?rt=ge.stylize("[Getter/Setter]","special"):rt=ge.stylize("[Getter]","special"):_t.set&&(rt=ge.stylize("[Setter]","special")),kt(Rt,Bt)||(xe="["+Bt+"]"),rt||(ge.seen.indexOf(_t.value)<0?(ae(nt)?rt=W(ge,_t.value,null):rt=W(ge,_t.value,nt-1),rt.indexOf(`
|
|
810
|
+
`)>-1&&(Me?rt=rt.split(`
|
|
811
|
+
`).map(function(Pt){return" "+Pt}).join(`
|
|
812
|
+
`).slice(2):rt=`
|
|
813
|
+
`+rt.split(`
|
|
814
|
+
`).map(function(Pt){return" "+Pt}).join(`
|
|
815
|
+
`))):rt=ge.stylize("[Circular]","special")),me(xe)){if(Me&&Bt.match(/^\d+$/))return rt;xe=JSON.stringify(""+Bt),xe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(xe=xe.slice(1,-1),xe=ge.stylize(xe,"name")):(xe=xe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),xe=ge.stylize(xe,"string"))}return xe+": "+rt}function Y(ge,je,nt){var Rt=0,Bt=ge.reduce(function(Me,xe){return Rt++,xe.indexOf(`
|
|
816
|
+
`)>=0&&Rt++,Me+xe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Bt>60?nt[0]+(je===""?"":je+`
|
|
817
|
+
`)+" "+ge.join(`,
|
|
818
|
+
`)+" "+nt[1]:nt[0]+je+" "+ge.join(", ")+" "+nt[1]}i.types=u("../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js");function N(ge){return Array.isArray(ge)}i.isArray=N;function $(ge){return typeof ge=="boolean"}i.isBoolean=$;function ae(ge){return ge===null}i.isNull=ae;function ne(ge){return ge==null}i.isNullOrUndefined=ne;function P(ge){return typeof ge=="number"}i.isNumber=P;function V(ge){return typeof ge=="string"}i.isString=V;function X(ge){return typeof ge=="symbol"}i.isSymbol=X;function me(ge){return ge===void 0}i.isUndefined=me;function we(ge){return Re(ge)&&Ue(ge)==="[object RegExp]"}i.isRegExp=we,i.types.isRegExp=we;function Re(ge){return typeof ge=="object"&&ge!==null}i.isObject=Re;function Ae(ge){return Re(ge)&&Ue(ge)==="[object Date]"}i.isDate=Ae,i.types.isDate=Ae;function te(ge){return Re(ge)&&(Ue(ge)==="[object Error]"||ge instanceof Error)}i.isError=te,i.types.isNativeError=te;function Se(ge){return typeof ge=="function"}i.isFunction=Se;function Te(ge){return ge===null||typeof ge=="boolean"||typeof ge=="number"||typeof ge=="string"||typeof ge=="symbol"||typeof ge>"u"}i.isPrimitive=Te,i.isBuffer=u("../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBufferBrowser.js");function Ue(ge){return Object.prototype.toString.call(ge)}function ft(ge){return ge<10?"0"+ge.toString(10):ge.toString(10)}var ut=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ft(){var ge=new Date,je=[ft(ge.getHours()),ft(ge.getMinutes()),ft(ge.getSeconds())].join(":");return[ge.getDate(),ut[ge.getMonth()],je].join(" ")}i.log=function(){w.log("%s - %s",Ft(),i.format.apply(i,arguments))},i.inherits=u("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"),i._extend=function(ge,je){if(!je||!Re(je))return ge;for(var nt=Object.keys(je),Rt=nt.length;Rt--;)ge[nt[Rt]]=je[nt[Rt]];return ge};function kt(ge,je){return Object.prototype.hasOwnProperty.call(ge,je)}var ht=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;i.promisify=function(je){if(typeof je!="function")throw new TypeError('The "original" argument must be of type Function');if(ht&&je[ht]){var nt=je[ht];if(typeof nt!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(nt,ht,{value:nt,enumerable:!1,writable:!1,configurable:!0}),nt}function nt(){for(var Rt,Bt,Me=new Promise(function(_t,Pt){Rt=_t,Bt=Pt}),xe=[],rt=0;rt<arguments.length;rt++)xe.push(arguments[rt]);xe.push(function(_t,Pt){_t?Bt(_t):Rt(Pt)});try{je.apply(this,xe)}catch(_t){Bt(_t)}return Me}return Object.setPrototypeOf(nt,Object.getPrototypeOf(je)),ht&&Object.defineProperty(nt,ht,{value:nt,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(nt,v(je))},i.promisify.custom=ht;function se(ge,je){if(!ge){var nt=new Error("Promise was rejected with a falsy value");nt.reason=ge,ge=nt}return je(ge)}function He(ge){if(typeof ge!="function")throw new TypeError('The "original" argument must be of type Function');function je(){for(var nt=[],Rt=0;Rt<arguments.length;Rt++)nt.push(arguments[Rt]);var Bt=nt.pop();if(typeof Bt!="function")throw new TypeError("The last argument must be of type Function");var Me=this,xe=function(){return Bt.apply(Me,arguments)};ge.apply(this,nt).then(function(rt){p.nextTick(xe.bind(null,null,rt))},function(rt){p.nextTick(se.bind(null,rt,xe))})}return Object.setPrototypeOf(je,Object.getPrototypeOf(ge)),Object.defineProperties(je,v(ge)),je}i.callbackify=He}),"../../node_modules/.pnpm/which-typed-array@1.1.20/node_modules/which-typed-array/index.js":((ee,i,u)=>{"use strict";var p=u("../../node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js"),w=u("../../node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js"),v=u("../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/index.js"),h=u("../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"),E=u("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"),f=u("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"),g=h("Object.prototype.toString"),l=u("../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js")(),B=typeof globalThis>"u"?u.g:globalThis,M=w(),k=h("String.prototype.slice"),W=h("Array.prototype.indexOf",!0)||function(Y,N){for(var $=0;$<Y.length;$+=1)if(Y[$]===N)return $;return-1},L={__proto__:null};l&&E&&f?p(M,function(S){var Y=new B[S];if(Symbol.toStringTag in Y&&f){var N=f(Y),$=E(N,Symbol.toStringTag);if(!$&&N){var ae=f(N);$=E(ae,Symbol.toStringTag)}if($&&$.get){var ne=v($.get);L["$"+S]=ne}}}):p(M,function(S){var Y=new B[S],N=Y.slice||Y.set;if(N){var $=v(N);L["$"+S]=$}});var G=function(Y){var N=!1;return p(L,function($,ae){if(!N)try{"$"+$(Y)===ae&&(N=k(ae,1))}catch{}}),N},U=function(Y){var N=!1;return p(L,function($,ae){if(!N)try{$(Y),N=k(ae,1)}catch{}}),N};ee.exports=function(Y){if(!Y||typeof Y!="object")return!1;if(!l){var N=k(g(Y),8,-1);return W(M,N)>-1?N:N!=="Object"?!1:U(Y)}return E?G(Y):null}}),"../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_default.cjs":((ee,i)=>{"use strict";function u(p){return p&&p.__esModule?p:{default:p}}i._=u}),"../../node_modules/.pnpm/@swc+helpers@0.5.15/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs":((ee,i)=>{"use strict";function u(w){if(typeof WeakMap!="function")return null;var v=new WeakMap,h=new WeakMap;return(u=function(E){return E?h:v})(w)}function p(w,v){if(!v&&w&&w.__esModule)return w;if(w===null||typeof w!="object"&&typeof w!="function")return{default:w};var h=u(v);if(h&&h.has(w))return h.get(w);var E={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in w)if(g!=="default"&&Object.prototype.hasOwnProperty.call(w,g)){var l=f?Object.getOwnPropertyDescriptor(w,g):null;l&&(l.get||l.set)?Object.defineProperty(E,g,l):E[g]=w[g]}return E.default=w,h&&h.set(w,E),E}i._=p})}]);
|